From 9dfcc748ce30a5b97c538b7884f5b4afb75e1973 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Thu, 7 Apr 2022 10:34:46 +0200 Subject: [PATCH] compile --- package-lock.json | 2 +- public/app.js | 2 +- public/mix-manifest.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 428a53f6..e3a30a58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "laravel-horizon", + "name": "horizon", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/public/app.js b/public/app.js index ea830da6..c209b925 100644 --- a/public/app.js +++ b/public/app.js @@ -1,2 +1,2 @@ /*! For license information please see app.js.LICENSE.txt */ -(()=>{var t,e={9669:(t,e,n)=>{t.exports=n(1609)},5448:(t,e,n)=>{"use strict";var r=n(4867),i=n(6026),a=n(4372),o=n(5327),s=n(4097),c=n(4109),l=n(7985),u=n(5061);t.exports=function(t){return new Promise((function(e,n){var f=t.data,d=t.headers,p=t.responseType;r.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var M=t.auth.username||"",b=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";d.Authorization="Basic "+btoa(M+":"+b)}var v=s(t.baseURL,t.url);function m(){if(h){var r="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:t,request:h};i(e,n,a),h=null}}if(h.open(t.method.toUpperCase(),o(v,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,"onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(m)},h.onabort=function(){h&&(n(u("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(u("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var g=(t.withCredentials||l(v))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;g&&(d[t.xsrfHeaderName]=g)}"setRequestHeader"in h&&r.forEach(d,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete d[e]:h.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),p&&"json"!==p&&(h.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),n(t),h=null)})),f||(f=null),h.send(f)}))}},1609:(t,e,n)=>{"use strict";var r=n(4867),i=n(1849),a=n(321),o=n(7185);function s(t){var e=new a(t),n=i(a.prototype.request,e);return r.extend(n,a.prototype,e),r.extend(n,e),n}var c=s(n(5655));c.Axios=a,c.create=function(t){return s(o(c.defaults,t))},c.Cancel=n(5263),c.CancelToken=n(4972),c.isCancel=n(6502),c.all=function(t){return Promise.all(t)},c.spread=n(8713),c.isAxiosError=n(6268),t.exports=c,t.exports.default=c},5263:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},4972:(t,e,n)=>{"use strict";var r=n(5263);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},6502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:(t,e,n)=>{"use strict";var r=n(4867),i=n(5327),a=n(782),o=n(3572),s=n(7185),c=n(4875),l=c.validators;function u(t){this.defaults=t,this.interceptors={request:new a,response:new a}}u.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:l.transitional(l.boolean,"1.0.0"),forcedJSONParsing:l.transitional(l.boolean,"1.0.0"),clarifyTimeoutError:l.transitional(l.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!r){var u=[o,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(a),i=Promise.resolve(t);u.length;)i=i.then(u.shift(),u.shift());return i}for(var f=t;n.length;){var d=n.shift(),p=n.shift();try{f=d(f)}catch(t){p(t);break}}try{i=o(f)}catch(t){return Promise.reject(t)}for(;a.length;)i=i.then(a.shift(),a.shift());return i},u.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=u},782:(t,e,n)=>{"use strict";var r=n(4867);function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},4097:(t,e,n)=>{"use strict";var r=n(1793),i=n(7303);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},5061:(t,e,n)=>{"use strict";var r=n(481);t.exports=function(t,e,n,i,a){var o=new Error(t);return r(o,e,n,i,a)}},3572:(t,e,n)=>{"use strict";var r=n(4867),i=n(8527),a=n(6502),o=n(5655);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||o.adapter)(t).then((function(e){return s(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(s(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:t=>{"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},7185:(t,e,n)=>{"use strict";var r=n(4867);t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],a=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function l(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),r.forEach(a,l),r.forEach(o,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=c(void 0,t[i])):n[i]=c(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=c(t[r],e[r]):r in t&&(n[r]=c(void 0,t[r]))}));var u=i.concat(a).concat(o).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return r.forEach(f,l),n}},6026:(t,e,n)=>{"use strict";var r=n(5061);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8527:(t,e,n)=>{"use strict";var r=n(4867),i=n(5655);t.exports=function(t,e,n){var a=this||i;return r.forEach(n,(function(n){t=n.call(a,t,e)})),t}},5655:(t,e,n)=>{"use strict";var r=n(4155),i=n(4867),a=n(6016),o=n(481),s={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var l,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(l=n(5448)),l),transformRequest:[function(t,e){return a(e,"Accept"),a(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)||e&&"application/json"===e["Content-Type"]?(c(e,"application/json"),function(t,e,n){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw o(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],(function(t){u.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){u.headers[t]=i.merge(s)})),t.exports=u},1849:t=>{"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r{"use strict";var r=n(4867);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var o=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),o.push(i(e)+"="+i(t))})))})),a=o.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},7303:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:(t,e,n)=>{"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,a,o){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(a)&&s.push("domain="+a),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},6268:t=>{"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},7985:(t,e,n)=>{"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},6016:(t,e,n)=>{"use strict";var r=n(4867);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},4109:(t,e,n)=>{"use strict";var r=n(4867),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,a,o={};return t?(r.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=r.trim(t.substr(0,a)).toLowerCase(),n=r.trim(t.substr(a+1)),e){if(o[e]&&i.indexOf(e)>=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}},8713:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4875:(t,e,n)=>{"use strict";var r=n(8593),i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var a={},o=r.version.split(".");function s(t,e){for(var n=e?e.split("."):o,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]0;){var a=r[i],o=e[a];if(o){var s=t[a],c=void 0===s||o(s,a,t);if(!0!==c)throw new TypeError("option "+a+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+a)}},validators:i}},4867:(t,e,n)=>{"use strict";var r=n(1849),i=Object.prototype.toString;function a(t){return"[object Array]"===i.call(t)}function o(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function l(t){return"[object Function]"===i.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n{"use strict";var r=Object.freeze({});function i(t){return null==t}function a(t){return null!=t}function o(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return null!==t&&"object"==typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function f(t){return"[object RegExp]"===l.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return a(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function M(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function A(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var z=/-(\w)/g,O=_((function(t){return t.replace(z,(function(t,e){return e?e.toUpperCase():""}))})),w=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),x=/\B([A-Z])/g,L=_((function(t){return t.replace(x,"-$1").toLowerCase()}));var N=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function T(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function C(t,e){for(var n in e)t[n]=e[n];return t}function q(t){for(var e={},n=0;n0,et=Q&&Q.indexOf("edge/")>0,nt=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===K),rt=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),it={}.watch,at=!1;if(G)try{var ot={};Object.defineProperty(ot,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,ot)}catch(t){}var st=function(){return void 0===V&&(V=!G&&!J&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),V},ct=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,ft="undefined"!=typeof Symbol&<(Symbol)&&"undefined"!=typeof Reflect&<(Reflect.ownKeys);ut="undefined"!=typeof Set&<(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var dt=S,pt=0,ht=function(){this.id=pt++,this.subs=[]};ht.prototype.addSub=function(t){this.subs.push(t)},ht.prototype.removeSub=function(t){g(this.subs,t)},ht.prototype.depend=function(){ht.target&&ht.target.addDep(this)},ht.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(a&&!A(i,"default"))o=!1;else if(""===o||o===L(t)){var c=$t(String,i.type);(c<0||s0&&(Me((r=be(r,(e||"")+"_"+n))[0])&&Me(l)&&(u[c]=At(l.text+r[0].text),r.shift()),u.push.apply(u,r)):s(r)?Me(l)?u[c]=At(l.text+r):""!==r&&u.push(At(r)):Me(r)&&Me(l)?u[c]=At(l.text+r.text):(o(t._isVList)&&a(r.tag)&&i(r.key)&&a(e)&&(r.key="__vlist"+e+"_"+n+"__"),u.push(r)));return u}function ve(t,e){if(t){for(var n=Object.create(null),r=ft?Reflect.ownKeys(t):Object.keys(t),i=0;i0,o=t?!!t.$stable:!a,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(o&&n&&n!==r&&s===n.$key&&!a&&!n.$hasNormal)return n;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=Ae(e,c,t[c]))}else i={};for(var l in e)l in i||(i[l]=_e(e,l));return t&&Object.isExtensible(t)&&(t._normalized=i),H(i,"$stable",o),H(i,"$key",s),H(i,"$hasNormal",a),i}function Ae(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:he(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function _e(t,e){return function(){return t[e]}}function ze(t,e){var n,r,i,o,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;rdocument.createEvent("Event").timeStamp&&(bn=function(){return vn.now()})}function mn(){var t,e;for(Mn=bn(),pn=!0,ln.sort((function(t,e){return t.id-e.id})),hn=0;hnhn&&ln[n].id>t.id;)n--;ln.splice(n+1,0,t)}else ln.push(t);dn||(dn=!0,ae(mn))}}(this)},yn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Ut(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},yn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},yn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},yn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var An={enumerable:!0,configurable:!0,get:S,set:S};function _n(t,e,n){An.get=function(){return this[e][n]},An.set=function(t){this[e][n]=t},Object.defineProperty(t,n,An)}function zn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];t.$parent&&Lt(!1);var a=function(a){i.push(a);var o=It(a,e,n,t);Ct(r,a,o),a in t||_n(t,"_props",a)};for(var o in e)a(o);Lt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?S:N(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){bt();try{return t.call(e,e)}catch(t){return Ut(t,e,"data()"),{}}finally{vt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var a=n[i];0,r&&A(r,a)||F(a)||_n(t,"_data",a)}Tt(e,!0)}(t):Tt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=st();for(var i in e){var a=e[i],o="function"==typeof a?a:a.get;0,r||(n[i]=new yn(t,o||S,S,On)),i in t||wn(t,i,a)}}(t,e.computed),e.watch&&e.watch!==it&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Wn(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var a in n){var o=n[a];if(o){var s=kn(o.componentOptions);s&&!e(s)&&Bn(n,a,r,i)}}}function Bn(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,g(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Tn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Rt(Cn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&en(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=me(e._renderChildren,i),t.$scopedSlots=r,t._c=function(e,n,r,i){return $e(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return $e(t,e,n,r,i,!0)};var a=n&&n.data;Ct(t,"$attrs",a&&a.attrs||r,null,!0),Ct(t,"$listeners",e._parentListeners||r,null,!0)}(e),cn(e,"beforeCreate"),function(t){var e=ve(t.$options.inject,t);e&&(Lt(!1),Object.keys(e).forEach((function(n){Ct(t,n,e[n])})),Lt(!0))}(e),zn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),cn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(qn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=qt,t.prototype.$delete=St,t.prototype.$watch=function(t,e,n){var r=this;if(u(e))return Nn(r,t,e,n);(n=n||{}).user=!0;var i=new yn(r,t,e,n);if(n.immediate)try{e.call(r,i.value)}catch(t){Ut(t,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(qn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,a=t.length;i1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+t+'"',a=0,o=n.length;aparseInt(this.max)&&Bn(o,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return j}};Object.defineProperty(t,"config",e),t.util={warn:dt,extend:C,mergeOptions:Rt,defineReactive:Ct},t.set=qt,t.delete=St,t.nextTick=ae,t.observable=function(t){return Tt(t),t},t.options=Object.create(null),P.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,C(t.options.components,Xn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Rt(this.options,t),this}}(t),Sn(t),function(t){P.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(qn),Object.defineProperty(qn.prototype,"$isServer",{get:st}),Object.defineProperty(qn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(qn,"FunctionalRenderContext",{value:Xe}),qn.version="2.6.12";var Pn=b("style,class"),Rn=b("input,textarea,option,select,progress"),jn=function(t,e,n){return"value"===n&&Rn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},In=b("contenteditable,draggable,spellcheck"),Fn=b("events,caret,typing,plaintext-only"),Hn=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),$n="http://www.w3.org/1999/xlink",Un=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Vn=function(t){return Un(t)?t.slice(6,t.length):""},Yn=function(t){return null==t||!1===t};function Gn(t){for(var e=t.data,n=t,r=t;a(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Jn(r.data,e));for(;a(n=n.parent);)n&&n.data&&(e=Jn(e,n.data));return function(t,e){if(a(t)||a(e))return Kn(t,Qn(e));return""}(e.staticClass,e.class)}function Jn(t,e){return{staticClass:Kn(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Kn(t,e){return t?e?t+" "+e:t:e||""}function Qn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r-1?zr(t,e,n):Hn(e)?Yn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):In(e)?t.setAttribute(e,function(t,e){return Yn(e)||"false"===e?"false":"contenteditable"===t&&Fn(e)?e:"true"}(e,n)):Un(e)?Yn(n)?t.removeAttributeNS($n,Vn(e)):t.setAttributeNS($n,e,n):zr(t,e,n)}function zr(t,e,n){if(Yn(n))t.removeAttribute(e);else{if(Z&&!tt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Or={create:Ar,update:Ar};function wr(t,e){var n=e.elm,r=e.data,o=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=Gn(e),c=n._transitionClasses;a(c)&&(s=Kn(s,Qn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var xr,Lr,Nr,Tr,Cr,qr,Sr={create:wr,update:wr},kr=/[\w).+\-_$\]]/;function Er(t){var e,n,r,i,a,o=!1,s=!1,c=!1,l=!1,u=0,f=0,d=0,p=0;for(r=0;r=0&&" "===(M=t.charAt(h));h--);M&&kr.test(M)||(l=!0)}}else void 0===i?(p=r+1,i=t.slice(0,r).trim()):b();function b(){(a||(a=[])).push(t.slice(p,r).trim()),p=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==p&&b(),a)for(r=0;r-1?{exp:t.slice(0,Tr),key:'"'+t.slice(Tr+1)+'"'}:{exp:t,key:null};Lr=t,Tr=Cr=qr=0;for(;!Kr();)Qr(Nr=Jr())?ti(Nr):91===Nr&&Zr(Nr);return{exp:t.slice(0,Cr),key:t.slice(Cr+1,qr)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Jr(){return Lr.charCodeAt(++Tr)}function Kr(){return Tr>=xr}function Qr(t){return 34===t||39===t}function Zr(t){var e=1;for(Cr=Tr;!Kr();)if(Qr(t=Jr()))ti(t);else if(91===t&&e++,93===t&&e--,0===e){qr=Tr;break}}function ti(t){for(var e=t;!Kr()&&(t=Jr())!==e;);}var ei,ni="__r";function ri(t,e,n){var r=ei;return function i(){var a=e.apply(null,arguments);null!==a&&oi(t,i,n,r)}}var ii=Kt&&!(rt&&Number(rt[1])<=53);function ai(t,e,n,r){if(ii){var i=Mn,a=e;e=a._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return a.apply(this,arguments)}}ei.addEventListener(t,e,at?{capture:n,passive:r}:n)}function oi(t,e,n,r){(r||ei).removeEventListener(t,e._wrapper||e,n)}function si(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};ei=e.elm,function(t){if(a(t.__r)){var e=Z?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}a(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),fe(n,r,ai,oi,ri,e.context),ei=void 0}}var ci,li={create:si,update:si};function ui(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,o=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in a(c.__ob__)&&(c=e.data.domProps=C({},c)),s)n in c||(o[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=i(r)?"":String(r);fi(o,l)&&(o.value=l)}else if("innerHTML"===n&&er(o.tagName)&&i(o.innerHTML)){(ci=ci||document.createElement("div")).innerHTML=""+r+"";for(var u=ci.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;u.firstChild;)o.appendChild(u.firstChild)}else if(r!==s[n])try{o[n]=r}catch(t){}}}}function fi(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return M(n)!==M(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var di={create:ui,update:ui},pi=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function hi(t){var e=Mi(t.style);return t.staticStyle?C(t.staticStyle,e):e}function Mi(t){return Array.isArray(t)?q(t):"string"==typeof t?pi(t):t}var bi,vi=/^--/,mi=/\s*!important$/,gi=function(t,e,n){if(vi.test(e))t.style.setProperty(e,n);else if(mi.test(n))t.style.setProperty(L(e),n.replace(mi,""),"important");else{var r=Ai(e);if(Array.isArray(n))for(var i=0,a=n.length;i-1?e.split(Oi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function xi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Oi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Li(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&C(e,Ni(t.name||"v")),C(e,t),e}return"string"==typeof t?Ni(t):void 0}}var Ni=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Ti=G&&!tt,Ci="transition",qi="animation",Si="transition",ki="transitionend",Ei="animation",Wi="animationend";Ti&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Si="WebkitTransition",ki="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ei="WebkitAnimation",Wi="webkitAnimationEnd"));var Bi=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Di(t){Bi((function(){Bi(t)}))}function Xi(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),wi(t,e))}function Pi(t,e){t._transitionClasses&&g(t._transitionClasses,e),xi(t,e)}function Ri(t,e,n){var r=Ii(t,e),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===Ci?ki:Wi,c=0,l=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=o&&l()};setTimeout((function(){c0&&(n=Ci,u=o,f=a.length):e===qi?l>0&&(n=qi,u=l,f=c.length):f=(n=(u=Math.max(o,l))>0?o>l?Ci:qi:null)?n===Ci?a.length:c.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===Ci&&ji.test(r[Si+"Property"])}}function Fi(t,e){for(;t.length1}function Gi(t,e){!0!==e.data.show&&$i(e)}var Ji=function(t){var e,n,r={},c=t.modules,l=t.nodeOps;for(e=0;eh?g(t,i(n[v+1])?null:n[v+1].elm,n,p,v,r):p>v&&A(e,d,h)}(d,b,v,n,u):a(v)?(a(t.text)&&l.setTextContent(d,""),g(d,null,v,0,v.length-1,n)):a(b)?A(b,0,b.length-1):a(t.text)&&l.setTextContent(d,""):t.text!==e.text&&l.setTextContent(d,e.text),a(h)&&a(p=h.hook)&&a(p=p.postpatch)&&p(t,e)}}}function w(t,e,n){if(o(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,o.selected!==a&&(o.selected=a);else if(W(ea(o),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function ta(t,e){return e.every((function(e){return!W(e,t)}))}function ea(t){return"_value"in t?t._value:t.value}function na(t){t.target.composing=!0}function ra(t){t.target.composing&&(t.target.composing=!1,ia(t.target,"input"))}function ia(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function aa(t){return!t.componentInstance||t.data&&t.data.transition?t:aa(t.componentInstance._vnode)}var oa={bind:function(t,e,n){var r=e.value,i=(n=aa(n)).data&&n.data.transition,a=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,$i(n,(function(){t.style.display=a}))):t.style.display=r?a:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=aa(n)).data&&n.data.transition?(n.data.show=!0,r?$i(n,(function(){t.style.display=t.__vOriginalDisplay})):Ui(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},sa={model:Ki,show:oa},ca={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function la(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?la(Ke(e.children)):t}function ua(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var a in i)e[O(a)]=i[a];return e}function fa(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var da=function(t){return t.tag||Je(t)},pa=function(t){return"show"===t.name},ha={name:"transition",props:ca,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(da)).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var a=la(i);if(!a)return i;if(this._leaving)return fa(t,i);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:s(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var c=(a.data||(a.data={})).transition=ua(this),l=this._vnode,u=la(l);if(a.data.directives&&a.data.directives.some(pa)&&(a.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(a,u)&&!Je(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var f=u.data.transition=C({},c);if("out-in"===r)return this._leaving=!0,de(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),fa(t,i);if("in-out"===r){if(Je(a))return l;var d,p=function(){d()};de(c,"afterEnter",p),de(c,"enterCancelled",p),de(f,"delayLeave",(function(t){d=t}))}}return i}}},Ma=C({tag:String,moveClass:String},ca);delete Ma.mode;var ba={props:Ma,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=rn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=ua(this),s=0;s-1?ir[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ir[t]=/HTMLUnknownElement/.test(e.toString())},C(qn.options.directives,sa),C(qn.options.components,ya),qn.prototype.__patch__=G?Ji:S,qn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=yt),cn(t,"beforeMount"),r=function(){t._update(t._render(),n)},new yn(t,r,S,{before:function(){t._isMounted&&!t._isDestroyed&&cn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,cn(t,"mounted")),t}(this,t=t&&G?or(t):void 0,e)},G&&setTimeout((function(){j.devtools&&ct&&ct.emit("init",qn)}),0);var Aa=/\{\{((?:.|\r?\n)+?)\}\}/g,_a=/[-.*+?^${}()|[\]\/\\]/g,za=_((function(t){var e=t[0].replace(_a,"\\$&"),n=t[1].replace(_a,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var Oa={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=$r(t,"class");n&&(t.staticClass=JSON.stringify(n));var r=Hr(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var wa,xa={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=$r(t,"style");n&&(t.staticStyle=JSON.stringify(pi(n)));var r=Hr(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},La=function(t){return(wa=wa||document.createElement("div")).innerHTML=t,wa.textContent},Na=b("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ta=b("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ca=b("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),qa=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Sa=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ka="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+I.source+"]*",Ea="((?:"+ka+"\\:)?"+ka+")",Wa=new RegExp("^<"+Ea),Ba=/^\s*(\/?)>/,Da=new RegExp("^<\\/"+Ea+"[^>]*>"),Xa=/^]+>/i,Pa=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Ha=/&(?:lt|gt|quot|amp|#39);/g,$a=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ua=b("pre,textarea",!0),Va=function(t,e){return t&&Ua(t)&&"\n"===e[0]};function Ya(t,e){var n=e?$a:Ha;return t.replace(n,(function(t){return Fa[t]}))}var Ga,Ja,Ka,Qa,Za,to,eo,no,ro=/^@|^v-on:/,io=/^v-|^@|^:|^#/,ao=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,oo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,so=/^\(|\)$/g,co=/^\[.*\]$/,lo=/:(.*)$/,uo=/^:|^\.|^v-bind:/,fo=/\.[^.\]]+(?=[^\]]*$)/g,po=/^v-slot(:|$)|^#/,ho=/[\r\n]/,Mo=/\s+/g,bo=_(La),vo="_empty_";function mo(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:wo(e),rawAttrsMap:{},parent:n,children:[]}}function go(t,e){Ga=e.warn||Br,to=e.isPreTag||k,eo=e.mustUseProp||k,no=e.getTagNamespace||k;var n=e.isReservedTag||k;(function(t){return!!t.component||!n(t.tag)}),Ka=Dr(e.modules,"transformNode"),Qa=Dr(e.modules,"preTransformNode"),Za=Dr(e.modules,"postTransformNode"),Ja=e.delimiters;var r,i,a=[],o=!1!==e.preserveWhitespace,s=e.whitespace,c=!1,l=!1;function u(t){if(f(t),c||t.processed||(t=yo(t,e)),a.length||t===r||r.if&&(t.elseif||t.else)&&_o(r,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)o=t,s=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(i.children),s&&s.if&&_o(s,{exp:o.elseif,block:o});else{if(t.slotScope){var n=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=t}i.children.push(t),t.parent=i}var o,s;t.children=t.children.filter((function(t){return!t.slotScope})),f(t),t.pre&&(c=!1),to(t.tag)&&(l=!1);for(var u=0;u]*>)","i")),d=t.replace(f,(function(t,n,r){return l=r.length,ja(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),Va(u,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));c+=t.length-d.length,t=d,x(u,c-l,c)}else{var p=t.indexOf("<");if(0===p){if(Pa.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h),c,c+h+3),z(h+3);continue}}if(Ra.test(t)){var M=t.indexOf("]>");if(M>=0){z(M+2);continue}}var b=t.match(Xa);if(b){z(b[0].length);continue}var v=t.match(Da);if(v){var m=c;z(v[0].length),x(v[1],m,c);continue}var g=O();if(g){w(g),Va(g.tagName,t)&&z(1);continue}}var y=void 0,A=void 0,_=void 0;if(p>=0){for(A=t.slice(p);!(Da.test(A)||Wa.test(A)||Pa.test(A)||Ra.test(A)||(_=A.indexOf("<",1))<0);)p+=_,A=t.slice(p);y=t.substring(0,p)}p<0&&(y=t),y&&z(y.length),e.chars&&y&&e.chars(y,c-y.length,c)}if(t===n){e.chars&&e.chars(t);break}}function z(e){c+=e,t=t.substring(e)}function O(){var e=t.match(Wa);if(e){var n,r,i={tagName:e[1],attrs:[],start:c};for(z(e[0].length);!(n=t.match(Ba))&&(r=t.match(Sa)||t.match(qa));)r.start=c,z(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],z(n[0].length),i.end=c,i}}function w(t){var n=t.tagName,c=t.unarySlash;a&&("p"===r&&Ca(n)&&x(r),s(n)&&r===n&&x(n));for(var l=o(n)||!!c,u=t.attrs.length,f=new Array(u),d=0;d=0&&i[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var l=i.length-1;l>=o;l--)e.end&&e.end(i[l].tag,n,a);i.length=o,r=o&&i[o-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,a):"p"===s&&(e.start&&e.start(t,[],!1,n,a),e.end&&e.end(t,n,a))}x()}(t,{warn:Ga,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,o,s,f){var d=i&&i.ns||no(t);Z&&"svg"===d&&(n=function(t){for(var e=[],n=0;nc&&(s.push(a=t.slice(c,i)),o.push(JSON.stringify(a)));var l=Er(r[1].trim());o.push("_s("+l+")"),s.push({"@binding":l}),c=i+r[0].length}return c-1"+("true"===a?":("+e+")":":_q("+e+","+a+")")),Fr(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Gr(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Gr(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Gr(e,"$$c")+"}",null,!0)}(t,r,i);else if("input"===a&&"radio"===o)!function(t,e,n){var r=n&&n.number,i=Hr(t,"value")||"null";Xr(t,"checked","_q("+e+","+(i=r?"_n("+i+")":i)+")"),Fr(t,"change",Gr(e,i),null,!0)}(t,r,i);else if("input"===a||"textarea"===a)!function(t,e,n){var r=t.attrsMap.type;0;var i=n||{},a=i.lazy,o=i.number,s=i.trim,c=!a&&"range"!==r,l=a?"change":"range"===r?ni:"input",u="$event.target.value";s&&(u="$event.target.value.trim()");o&&(u="_n("+u+")");var f=Gr(e,u);c&&(f="if($event.target.composing)return;"+f);Xr(t,"value","("+e+")"),Fr(t,l,f,null,!0),(s||o)&&Fr(t,"blur","$forceUpdate()")}(t,r,i);else{if(!j.isReservedTag(a))return Yr(t,r,i),!1}return!0},text:function(t,e){e.value&&Xr(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Xr(t,"innerHTML","_s("+e.value+")",e)}},ko={expectHTML:!0,modules:To,directives:So,isPreTag:function(t){return"pre"===t},isUnaryTag:Na,mustUseProp:jn,canBeLeftOpenTag:Ta,isReservedTag:nr,getTagNamespace:rr,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(To)},Eo=_((function(t){return b("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function Wo(t,e){t&&(Co=Eo(e.staticKeys||""),qo=e.isReservedTag||k,Bo(t),Do(t,!1))}function Bo(t){if(t.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||v(t.tag)||!qo(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Co)))}(t),1===t.type){if(!qo(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e|^function(?:\s+[\w$]+)?\s*\(/,Po=/\([^)]*?\);*$/,Ro=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,jo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Io={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Fo=function(t){return"if("+t+")return null;"},Ho={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Fo("$event.target !== $event.currentTarget"),ctrl:Fo("!$event.ctrlKey"),shift:Fo("!$event.shiftKey"),alt:Fo("!$event.altKey"),meta:Fo("!$event.metaKey"),left:Fo("'button' in $event && $event.button !== 0"),middle:Fo("'button' in $event && $event.button !== 1"),right:Fo("'button' in $event && $event.button !== 2")};function $o(t,e){var n=e?"nativeOn:":"on:",r="",i="";for(var a in t){var o=Uo(t[a]);t[a]&&t[a].dynamic?i+=a+","+o+",":r+='"'+a+'":'+o+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Uo(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Uo(t)})).join(",")+"]";var e=Ro.test(t.value),n=Xo.test(t.value),r=Ro.test(t.value.replace(Po,""));if(t.modifiers){var i="",a="",o=[];for(var s in t.modifiers)if(Ho[s])a+=Ho[s],jo[s]&&o.push(s);else if("exact"===s){var c=t.modifiers;a+=Fo(["ctrl","shift","alt","meta"].filter((function(t){return!c[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else o.push(s);return o.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(Vo).join("&&")+")return null;"}(o)),a&&(i+=a),"function($event){"+i+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":r?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(r?"return "+t.value:t.value)+"}"}function Vo(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=jo[t],r=Io[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Yo={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:S},Go=function(t){this.options=t,this.warn=t.warn||Br,this.transforms=Dr(t.modules,"transformCode"),this.dataGenFns=Dr(t.modules,"genData"),this.directives=C(C({},Yo),t.directives);var e=t.isReservedTag||k;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Jo(t,e){var n=new Go(e);return{render:"with(this){return "+(t?Ko(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ko(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Qo(t,e);if(t.once&&!t.onceProcessed)return Zo(t,e);if(t.for&&!t.forProcessed)return ns(t,e);if(t.if&&!t.ifProcessed)return ts(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=os(t,e),i="_t("+n+(r?","+r:""),a=t.attrs||t.dynamicAttrs?ls((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:O(t.name),value:t.value,dynamic:t.dynamic}}))):null,o=t.attrsMap["v-bind"];!a&&!o||r||(i+=",null");a&&(i+=","+a);o&&(i+=(a?"":",null")+","+o);return i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:os(e,n,!0);return"_c("+t+","+rs(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r;(!t.plain||t.pre&&e.maybeComponent(t))&&(r=rs(t,e));var i=t.inlineTemplate?null:os(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var a=0;a>>0}(o):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var a=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var r=Jo(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);a&&(n+=a+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+ls(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function is(t){return 1===t.type&&("slot"===t.tag||t.children.some(is))}function as(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return ts(t,e,as,"null");if(t.for&&!t.forProcessed)return ns(t,e,as);var r=t.slotScope===vo?"":String(t.slotScope),i="function("+r+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(os(t,e)||"undefined")+":undefined":os(t,e)||"undefined":Ko(t,e))+"}",a=r?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+a+"}"}function os(t,e,n,r,i){var a=t.children;if(a.length){var o=a[0];if(1===a.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var s=n?e.maybeComponent(o)?",1":",0":"";return""+(r||Ko)(o,e)+s}var c=n?function(t,e){for(var n=0,r=0;r':'
',hs.innerHTML.indexOf(" ")>0}var gs=!!G&&ms(!1),ys=!!G&&ms(!0),As=_((function(t){var e=or(t);return e&&e.innerHTML})),_s=qn.prototype.$mount;qn.prototype.$mount=function(t,e){if((t=t&&or(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=As(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var i=vs(r,{outputSourceRange:!1,shouldDecodeNewlines:gs,shouldDecodeNewlinesForHref:ys,delimiters:n.delimiters,comments:n.comments},this),a=i.render,o=i.staticRenderFns;n.render=a,n.staticRenderFns=o}}return _s.call(this,t,e)},qn.compile=vs;const zs=qn;var Os=n(8),ws=n.n(Os);const xs={computed:{Horizon:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){return Horizon}))},methods:{formatDate:function(t){return ws()(1e3*t).add((new Date).getTimezoneOffset()/60)},formatDateIso:function(t){return ws()(t).add((new Date).getTimezoneOffset()/60)},jobBaseName:function(t){if(!t.includes("\\"))return t;var e=t.split("\\");return e[e.length-1]},autoLoadNewEntries:function(){this.$root.autoLoadsNewEntries?(this.$root.autoLoadsNewEntries=!1,localStorage.autoLoadsNewEntries=0):(this.$root.autoLoadsNewEntries=!0,localStorage.autoLoadsNewEntries=1)},readableTimestamp:function(t){return this.formatDate(t).format("YYYY-MM-DD HH:mm:ss")}}};var Ls=n(9669),Ns=n.n(Ls);const Ts=[{path:"/",redirect:"/dashboard"},{path:"/dashboard",name:"dashboard",component:n(5093).Z},{path:"/monitoring",name:"monitoring",component:n(7618).Z},{path:"/monitoring/:tag",component:n(4418).Z,children:[{path:"jobs",name:"monitoring-jobs",component:n(9934).Z,props:{type:"jobs"}},{path:"failed",name:"monitoring-failed",component:n(9934).Z,props:{type:"failed"}}]},{path:"/metrics",redirect:"/metrics/jobs"},{path:"/metrics/",component:n(1477).Z,children:[{path:"jobs",name:"metrics-jobs",component:n(4469).Z},{path:"queues",name:"metrics-queues",component:n(626).Z}]},{path:"/metrics/:type/:slug",name:"metrics-preview",component:n(2261).Z},{path:"/jobs/:type",name:"jobs",component:n(4248).Z},{path:"/jobs/pending/:jobId",name:"pending-jobs-preview",component:n(2668).Z},{path:"/jobs/completed/:jobId",name:"completed-jobs-preview",component:n(2668).Z},{path:"/failed",name:"failed-jobs",component:n(6744).Z},{path:"/failed/:jobId",name:"failed-jobs-preview",component:n(6222).Z},{path:"/batches",name:"batches",component:n(2343).Z},{path:"/batches/:batchId",name:"batches-preview",component:n(5213).Z}];function Cs(t,e){for(var n in e)t[n]=e[n];return t}var qs=/[!'()*]/g,Ss=function(t){return"%"+t.charCodeAt(0).toString(16)},ks=/%2C/g,Es=function(t){return encodeURIComponent(t).replace(qs,Ss).replace(ks,",")};function Ws(t){try{return decodeURIComponent(t)}catch(t){0}return t}var Bs=function(t){return null==t||"object"==typeof t?t:String(t)};function Ds(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=Ws(n.shift()),i=n.length>0?Ws(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function Xs(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Es(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(Es(e)):r.push(Es(e)+"="+Es(t)))})),r.join("&")}return Es(e)+"="+Es(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var Ps=/\/?$/;function Rs(t,e,n,r){var i=r&&r.options.stringifyQuery,a=e.query||{};try{a=js(a)}catch(t){}var o={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:a,params:e.params||{},fullPath:Hs(e,i),matched:t?Fs(t):[]};return n&&(o.redirectedFrom=Hs(n,i)),Object.freeze(o)}function js(t){if(Array.isArray(t))return t.map(js);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=js(t[n]);return e}return t}var Is=Rs(null,{path:"/"});function Fs(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function Hs(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;return void 0===i&&(i=""),(n||"/")+(e||Xs)(r)+i}function $s(t,e,n){return e===Is?t===e:!!e&&(t.path&&e.path?t.path.replace(Ps,"")===e.path.replace(Ps,"")&&(n||t.hash===e.hash&&Us(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&Us(t.query,e.query)&&Us(t.params,e.params))))}function Us(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,i){var a=t[n];if(r[i]!==n)return!1;var o=e[n];return null==a||null==o?a===o:"object"==typeof a&&"object"==typeof o?Us(a,o):String(a)===String(o)}))}function Vs(t){for(var e=0;e=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}(i.path||""),l=e&&e.path||"/",u=c.path?Js(c.path,l,n||i.append):l,f=function(t,e,n){void 0===e&&(e={});var r,i=n||Ds;try{r=i(t||"")}catch(t){r={}}for(var a in e){var o=e[a];r[a]=Array.isArray(o)?o.map(Bs):Bs(o)}return r}(c.query,i.query,r&&r.options.parseQuery),d=i.hash||c.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:u,query:f,hash:d}}var mc,gc=function(){},yc={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),a=i.location,o=i.route,s=i.href,c={},l=n.options.linkActiveClass,u=n.options.linkExactActiveClass,f=null==l?"router-link-active":l,d=null==u?"router-link-exact-active":u,p=null==this.activeClass?f:this.activeClass,h=null==this.exactActiveClass?d:this.exactActiveClass,M=o.redirectedFrom?Rs(null,vc(o.redirectedFrom),null,n):o;c[h]=$s(r,M,this.exactPath),c[p]=this.exact||this.exactPath?c[h]:function(t,e){return 0===t.path.replace(Ps,"/").indexOf(e.path.replace(Ps,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,M);var b=c[h]?this.ariaCurrentValue:null,v=function(t){Ac(t)&&(e.replace?n.replace(a,gc):n.push(a,gc))},m={click:Ac};Array.isArray(this.event)?this.event.forEach((function(t){m[t]=v})):m[this.event]=v;var g={class:c},y=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:s,route:o,navigate:v,isActive:c[p],isExactActive:c[h]});if(y){if(1===y.length)return y[0];if(y.length>1||!y.length)return 0===y.length?t():t("span",{},y)}if("a"===this.tag)g.on=m,g.attrs={href:s,"aria-current":b};else{var A=_c(this.$slots.default);if(A){A.isStatic=!1;var _=A.data=Cs({},A.data);for(var z in _.on=_.on||{},_.on){var O=_.on[z];z in m&&(_.on[z]=Array.isArray(O)?O:[O])}for(var w in m)w in _.on?_.on[w].push(m[w]):_.on[w]=v;var x=A.data.attrs=Cs({},A.data.attrs);x.href=s,x["aria-current"]=b}else g.on=m}return t(this.tag,g,this.$slots.default)}};function Ac(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function _c(t){if(t)for(var e,n=0;n-1&&(s.params[d]=n.params[d]);return s.path=bc(u.path,s.params),c(u,s,o)}if(s.path){s.params={};for(var p=0;p=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}var Gc={redirected:2,aborted:4,cancelled:8,duplicated:16};function Jc(t,e){return Qc(t,e,Gc.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Zc.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function Kc(t,e){return Qc(t,e,Gc.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Qc(t,e,n,r){var i=new Error(r);return i._isRouter=!0,i.from=t,i.to=e,i.type=n,i}var Zc=["params","query","hash"];function tl(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function el(t,e){return tl(t)&&t._isRouter&&(null==e||t.type===e)}function nl(t){return function(e,n,r){var i=!1,a=0,o=null;rl(t,(function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){i=!0,a++;var c,l=ol((function(e){var i;((i=e).__esModule||al&&"Module"===i[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:mc.extend(e),n.components[s]=e,--a<=0&&r()})),u=ol((function(t){var e="Failed to resolve async component "+s+": "+t;o||(o=tl(t)?t:new Error(e),r(o))}));try{c=t(l,u)}catch(t){u(t)}if(c)if("function"==typeof c.then)c.then(l,u);else{var f=c.component;f&&"function"==typeof f.then&&f.then(l,u)}}})),i||r()}}function rl(t,e){return il(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function il(t){return Array.prototype.concat.apply([],t)}var al="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function ol(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var sl=function(t,e){this.router=t,this.base=function(t){if(!t)if(zc){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=Is,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function cl(t,e,n,r){var i=rl(t,(function(t,r,i,a){var o=function(t,e){"function"!=typeof t&&(t=mc.extend(t));return t.options[e]}(t,e);if(o)return Array.isArray(o)?o.map((function(t){return n(t,r,i,a)})):n(o,r,i,a)}));return il(r?i.reverse():i)}function ll(t,e){if(e)return function(){return t.apply(e,arguments)}}sl.prototype.listen=function(t){this.cb=t},sl.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},sl.prototype.onError=function(t){this.errorCbs.push(t)},sl.prototype.transitionTo=function(t,e,n){var r,i=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var a=this.current;this.confirmTransition(r,(function(){i.updateRoute(r),e&&e(r),i.ensureURL(),i.router.afterHooks.forEach((function(t){t&&t(r,a)})),i.ready||(i.ready=!0,i.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!i.ready&&(el(t,Gc.redirected)&&a===Is||(i.ready=!0,i.readyErrorCbs.forEach((function(e){e(t)}))))}))},sl.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current;this.pending=t;var a,o,s=function(t){!el(t)&&tl(t)&&r.errorCbs.length&&r.errorCbs.forEach((function(e){e(t)})),n&&n(t)},c=t.matched.length-1,l=i.matched.length-1;if($s(t,i)&&c===l&&t.matched[c]===i.matched[l])return this.ensureURL(),s(((o=Qc(a=i,t,Gc.duplicated,'Avoided redundant navigation to current location: "'+a.fullPath+'".')).name="NavigationDuplicated",o));var u=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=$c&&n;r&&this.listeners.push(Wc());var i=function(){var n=t.current,i=fl(t.base);t.current===Is&&i===t._startLocation||t.transitionTo(i,(function(t){r&&Bc(e,t,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Uc(Ks(r.base+t.fullPath)),Bc(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){Vc(Ks(r.base+t.fullPath)),Bc(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(fl(this.base)!==this.current.fullPath){var e=Ks(this.base+this.current.fullPath);t?Uc(e):Vc(e)}},e.prototype.getCurrentLocation=function(){return fl(this.base)},e}(sl);function fl(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var dl=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=fl(t);if(!/^\/#/.test(e))return window.location.replace(Ks(t+"/#"+e)),!0}(this.base)||pl()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=$c&&e;n&&this.listeners.push(Wc());var r=function(){var e=t.current;pl()&&t.transitionTo(hl(),(function(r){n&&Bc(t.router,r,e,!0),$c||vl(r.fullPath)}))},i=$c?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push((function(){window.removeEventListener(i,r)}))}},e.prototype.push=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){bl(t.fullPath),Bc(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this.current;this.transitionTo(t,(function(t){vl(t.fullPath),Bc(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;hl()!==e&&(t?bl(e):vl(e))},e.prototype.getCurrentLocation=function(){return hl()},e}(sl);function pl(){var t=hl();return"/"===t.charAt(0)||(vl("/"+t),!1)}function hl(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Ml(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function bl(t){$c?Uc(Ml(t)):window.location.hash=t}function vl(t){$c?Vc(Ml(t)):window.location.replace(Ml(t))}var ml=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){el(t,Gc.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(sl),gl=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Lc(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!$c&&!1!==t.fallback,this.fallback&&(e="hash"),zc||(e="abstract"),this.mode=e,e){case"history":this.history=new ul(this,t.base);break;case"hash":this.history=new dl(this,t.base,this.fallback);break;case"abstract":this.history=new ml(this,t.base)}},yl={currentRoute:{configurable:!0}};function Al(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}gl.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},yl.currentRoute.get=function(){return this.history&&this.history.current},gl.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof ul||n instanceof dl){var r=function(t){n.setupListeners(),function(t){var r=n.current,i=e.options.scrollBehavior;$c&&i&&"fullPath"in t&&Bc(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},gl.prototype.beforeEach=function(t){return Al(this.beforeHooks,t)},gl.prototype.beforeResolve=function(t){return Al(this.resolveHooks,t)},gl.prototype.afterEach=function(t){return Al(this.afterHooks,t)},gl.prototype.onReady=function(t,e){this.history.onReady(t,e)},gl.prototype.onError=function(t){this.history.onError(t)},gl.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},gl.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},gl.prototype.go=function(t){this.history.go(t)},gl.prototype.back=function(){this.go(-1)},gl.prototype.forward=function(){this.go(1)},gl.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},gl.prototype.resolve=function(t,e,n){var r=vc(t,e=e||this.history.current,n,this),i=this.match(r,e),a=i.redirectedFrom||i.fullPath,o=function(t,e,n){var r="hash"===n?"#"+e:e;return t?Ks(t+"/"+r):r}(this.history.base,a,this.mode);return{location:r,route:i,href:o,normalizedTo:r,resolved:i}},gl.prototype.getRoutes=function(){return this.matcher.getRoutes()},gl.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==Is&&this.history.transitionTo(this.history.getCurrentLocation())},gl.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Is&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(gl.prototype,yl),gl.install=function t(e){if(!t.installed||mc!==e){t.installed=!0,mc=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",Ys),e.component("RouterLink",yc);var i=e.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},gl.version="3.5.1",gl.isNavigationFailure=el,gl.NavigationFailureType=Gc,gl.START_LOCATION=Is,zc&&window.Vue&&window.Vue.use(gl);const _l=gl;var zl=n(4566),Ol=n.n(zl);window.Popper=n(8981).default;try{window.$=window.jQuery=n(9755),n(3734)}catch(t){}var wl=document.head.querySelector('meta[name="csrf-token"]');Ns().defaults.headers.common["X-Requested-With"]="XMLHttpRequest",wl&&(Ns().defaults.headers.common["X-CSRF-TOKEN"]=wl.content),zs.use(_l),zs.prototype.$http=Ns().create(),window.Horizon.basePath="/"+window.Horizon.path;var xl=window.Horizon.basePath+"/";""!==window.Horizon.path&&"/"!==window.Horizon.path||(xl="/",window.Horizon.basePath="");var Ll=new _l({routes:Ts,mode:"history",base:xl});zs.component("vue-json-pretty",Ol()),zs.component("alert",n(2254).Z);var Nl=zs.component("app",n(4367).Z),Tl=document.getElementById("horizon");zs.mixin(xs),zs.directive("tooltip",(function(t,e){$(t).tooltip({title:e.value,placement:e.arg,trigger:"hover"})})),new zs({el:Tl,router:Ll,render:function(t){return t(Nl,{props:{appName:Tl.dataset.appName,assetsAreCurrent:Tl.dataset.assetsAreCurrent,isDownForMaintenance:Tl.dataset.isDownForMaintenance}})},data:function(){return{alert:{type:null,autoClose:0,message:"",confirmationProceed:null,confirmationCancel:null},autoLoadsNewEntries:"1"===localStorage.autoLoadsNewEntries}}})},3734:function(t,e,n){!function(t,e,n){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=r(e),a=r(n);function o(t,e){for(var n=0;n=o)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};v.jQueryDetection(),b();var m="alert",g="4.6.0",y="bs.alert",A="."+y,_=".data-api",z=i.default.fn[m],O='[data-dismiss="alert"]',w="close"+A,x="closed"+A,L="click"+A+_,N="alert",T="fade",C="show",q=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){i.default.removeData(this._element,y),this._element=null},e._getRootElement=function(t){var e=v.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=i.default(t).closest("."+N)[0]),n},e._triggerCloseEvent=function(t){var e=i.default.Event(w);return i.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(i.default(t).removeClass(C),i.default(t).hasClass(T)){var n=v.getTransitionDurationFromElement(t);i.default(t).one(v.TRANSITION_END,(function(n){return e._destroyElement(t,n)})).emulateTransitionEnd(n)}else this._destroyElement(t)},e._destroyElement=function(t){i.default(t).detach().trigger(x).remove()},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),r=n.data(y);r||(r=new t(this),n.data(y,r)),"close"===e&&r[e](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},s(t,null,[{key:"VERSION",get:function(){return g}}]),t}();i.default(document).on(L,O,q._handleDismiss(new q)),i.default.fn[m]=q._jQueryInterface,i.default.fn[m].Constructor=q,i.default.fn[m].noConflict=function(){return i.default.fn[m]=z,q._jQueryInterface};var S="button",k="4.6.0",E="bs.button",W="."+E,B=".data-api",D=i.default.fn[S],X="active",P="btn",R="focus",j='[data-toggle^="button"]',I='[data-toggle="buttons"]',F='[data-toggle="button"]',H='[data-toggle="buttons"] .btn',$='input:not([type="hidden"])',U=".active",V=".btn",Y="click"+W+B,G="focus"+W+B+" blur"+W+B,J="load"+W+B,K=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=i.default(this._element).closest(I)[0];if(n){var r=this._element.querySelector($);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(X))t=!1;else{var a=n.querySelector(U);a&&i.default(a).removeClass(X)}t&&("checkbox"!==r.type&&"radio"!==r.type||(r.checked=!this._element.classList.contains(X)),this.shouldAvoidTriggerChange||i.default(r).trigger("change")),r.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(X)),t&&i.default(this._element).toggleClass(X))},e.dispose=function(){i.default.removeData(this._element,E),this._element=null},t._jQueryInterface=function(e,n){return this.each((function(){var r=i.default(this),a=r.data(E);a||(a=new t(this),r.data(E,a)),a.shouldAvoidTriggerChange=n,"toggle"===e&&a[e]()}))},s(t,null,[{key:"VERSION",get:function(){return k}}]),t}();i.default(document).on(Y,j,(function(t){var e=t.target,n=e;if(i.default(e).hasClass(P)||(e=i.default(e).closest(V)[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var r=e.querySelector($);if(r&&(r.hasAttribute("disabled")||r.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==n.tagName&&"LABEL"===e.tagName||K._jQueryInterface.call(i.default(e),"toggle","INPUT"===n.tagName)}})).on(G,j,(function(t){var e=i.default(t.target).closest(V)[0];i.default(e).toggleClass(R,/^focus(in)?$/.test(t.type))})),i.default(window).on(J,(function(){for(var t=[].slice.call(document.querySelectorAll(H)),e=0,n=t.length;e0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(ut)},e.nextWhenVisible=function(){var t=i.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(ft)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(Pt)&&(v.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(Bt);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)i.default(this._element).one(Mt,(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var r=t>n?ut:ft;this._slide(r,this._items[t])}},e.dispose=function(){i.default(this._element).off(et),i.default.removeData(this._element,tt),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=c({},ct,t),v.typeCheckConfig(Q,t,lt),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=st)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&i.default(this._element).on(bt,(function(e){return t._keydown(e)})),"hover"===this._config.pause&&i.default(this._element).on(vt,(function(e){return t.pause(e)})).on(mt,(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&Ft[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},n=function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX},r=function(e){t._pointerEvent&&Ft[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),ot+t._config.interval))};i.default(this._element.querySelectorAll(Xt)).on(Ot,(function(t){return t.preventDefault()})),this._pointerEvent?(i.default(this._element).on(_t,(function(t){return e(t)})),i.default(this._element).on(zt,(function(t){return r(t)})),this._element.classList.add(Et)):(i.default(this._element).on(gt,(function(t){return e(t)})),i.default(this._element).on(yt,(function(t){return n(t)})),i.default(this._element).on(At,(function(t){return r(t)})))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case it:t.preventDefault(),this.prev();break;case at:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(Dt)):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===ut,r=t===ft,i=this._getItemIndex(e),a=this._items.length-1;if((r&&0===i||n&&i===a)&&!this._config.wrap)return e;var o=(i+(t===ft?-1:1))%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),r=this._getItemIndex(this._element.querySelector(Bt)),a=i.default.Event(ht,{relatedTarget:t,direction:e,from:r,to:n});return i.default(this._element).trigger(a),a},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(Wt));i.default(e).removeClass(Nt);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&i.default(n).addClass(Nt)}},e._updateInterval=function(){var t=this._activeElement||this._element.querySelector(Bt);if(t){var e=parseInt(t.getAttribute("data-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}},e._slide=function(t,e){var n,r,a,o=this,s=this._element.querySelector(Bt),c=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),u=this._getItemIndex(l),f=Boolean(this._interval);if(t===ut?(n=qt,r=St,a=dt):(n=Ct,r=kt,a=pt),l&&i.default(l).hasClass(Nt))this._isSliding=!1;else if(!this._triggerSlideEvent(l,a).isDefaultPrevented()&&s&&l){this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(l),this._activeElement=l;var d=i.default.Event(Mt,{relatedTarget:l,direction:a,from:c,to:u});if(i.default(this._element).hasClass(Tt)){i.default(l).addClass(r),v.reflow(l),i.default(s).addClass(n),i.default(l).addClass(n);var p=v.getTransitionDurationFromElement(s);i.default(s).one(v.TRANSITION_END,(function(){i.default(l).removeClass(n+" "+r).addClass(Nt),i.default(s).removeClass(Nt+" "+r+" "+n),o._isSliding=!1,setTimeout((function(){return i.default(o._element).trigger(d)}),0)})).emulateTransitionEnd(p)}else i.default(s).removeClass(Nt),i.default(l).addClass(Nt),this._isSliding=!1,i.default(this._element).trigger(d);f&&this.cycle()}},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data(tt),r=c({},ct,i.default(this).data());"object"==typeof e&&(r=c({},r,e));var a="string"==typeof e?e:r.slide;if(n||(n=new t(this,r),i.default(this).data(tt,n)),"number"==typeof e)n.to(e);else if("string"==typeof a){if(void 0===n[a])throw new TypeError('No method named "'+a+'"');n[a]()}else r.interval&&r.ride&&(n.pause(),n.cycle())}))},t._dataApiClickHandler=function(e){var n=v.getSelectorFromElement(this);if(n){var r=i.default(n)[0];if(r&&i.default(r).hasClass(Lt)){var a=c({},i.default(r).data(),i.default(this).data()),o=this.getAttribute("data-slide-to");o&&(a.interval=!1),t._jQueryInterface.call(i.default(r),a),o&&i.default(r).data(tt).to(o),e.preventDefault()}}},s(t,null,[{key:"VERSION",get:function(){return Z}},{key:"Default",get:function(){return ct}}]),t}();i.default(document).on(xt,jt,Ht._dataApiClickHandler),i.default(window).on(wt,(function(){for(var t=[].slice.call(document.querySelectorAll(It)),e=0,n=t.length;e0&&(this._selector=o,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){i.default(this._element).hasClass(ie)?this.hide():this.show()},e.show=function(){var e,n,r=this;if(!(this._isTransitioning||i.default(this._element).hasClass(ie)||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(ue)).filter((function(t){return"string"==typeof r._config.parent?t.getAttribute("data-parent")===r._config.parent:t.classList.contains(ae)}))).length&&(e=null),e&&(n=i.default(e).not(this._selector).data(Vt))&&n._isTransitioning))){var a=i.default.Event(Zt);if(i.default(this._element).trigger(a),!a.isDefaultPrevented()){e&&(t._jQueryInterface.call(i.default(e).not(this._selector),"hide"),n||i.default(e).data(Vt,null));var o=this._getDimension();i.default(this._element).removeClass(ae).addClass(oe),this._element.style[o]=0,this._triggerArray.length&&i.default(this._triggerArray).removeClass(se).attr("aria-expanded",!0),this.setTransitioning(!0);var s=function(){i.default(r._element).removeClass(oe).addClass(ae+" "+ie),r._element.style[o]="",r.setTransitioning(!1),i.default(r._element).trigger(te)},c="scroll"+(o[0].toUpperCase()+o.slice(1)),l=v.getTransitionDurationFromElement(this._element);i.default(this._element).one(v.TRANSITION_END,s).emulateTransitionEnd(l),this._element.style[o]=this._element[c]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&i.default(this._element).hasClass(ie)){var e=i.default.Event(ee);if(i.default(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",v.reflow(this._element),i.default(this._element).addClass(oe).removeClass(ae+" "+ie);var r=this._triggerArray.length;if(r>0)for(var a=0;a0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=c({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),c({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data(Me);if(n||(n=new t(this,"object"==typeof e?e:null),i.default(this).data(Me,n)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t._clearMenus=function(e){if(!e||e.which!==Oe&&("keyup"!==e.type||e.which===Ae))for(var n=[].slice.call(document.querySelectorAll(je)),r=0,a=n.length;r0&&o--,e.which===ze&&odocument.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(Tn);var r=v.getTransitionDurationFromElement(this._dialog);i.default(this._element).off(v.TRANSITION_END),i.default(this._element).one(v.TRANSITION_END,(function(){t._element.classList.remove(Tn),n||i.default(t._element).one(v.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,r)})).emulateTransitionEnd(r),this._element.focus()}},e._showElement=function(t){var e=this,n=i.default(this._element).hasClass(Ln),r=this._dialog?this._dialog.querySelector(qn):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),i.default(this._dialog).hasClass(zn)&&r?r.scrollTop=0:this._element.scrollTop=0,n&&v.reflow(this._element),i.default(this._element).addClass(Nn),this._config.focus&&this._enforceFocus();var a=i.default.Event(Mn,{relatedTarget:t}),o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,i.default(e._element).trigger(a)};if(n){var s=v.getTransitionDurationFromElement(this._dialog);i.default(this._dialog).one(v.TRANSITION_END,o).emulateTransitionEnd(s)}else o()},e._enforceFocus=function(){var t=this;i.default(document).off(bn).on(bn,(function(e){document!==e.target&&t._element!==e.target&&0===i.default(t._element).has(e.target).length&&t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?i.default(this._element).on(gn,(function(e){t._config.keyboard&&e.which===cn?(e.preventDefault(),t.hide()):t._config.keyboard||e.which!==cn||t._triggerBackdropTransition()})):this._isShown||i.default(this._element).off(gn)},e._setResizeEvent=function(){var t=this;this._isShown?i.default(window).on(vn,(function(e){return t.handleUpdate(e)})):i.default(window).off(vn)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){i.default(document.body).removeClass(xn),t._resetAdjustments(),t._resetScrollbar(),i.default(t._element).trigger(pn)}))},e._removeBackdrop=function(){this._backdrop&&(i.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,n=i.default(this._element).hasClass(Ln)?Ln:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=wn,n&&this._backdrop.classList.add(n),i.default(this._backdrop).appendTo(document.body),i.default(this._element).on(mn,(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._triggerBackdropTransition():e.hide())})),n&&v.reflow(this._backdrop),i.default(this._backdrop).addClass(Nn),!t)return;if(!n)return void t();var r=v.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(v.TRANSITION_END,t).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){i.default(this._backdrop).removeClass(Nn);var a=function(){e._removeBackdrop(),t&&t()};if(i.default(this._element).hasClass(Ln)){var o=v.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(v.TRANSITION_END,a).emulateTransitionEnd(o)}else a()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:Xn,popperConfig:null},tr="show",er="out",nr={HIDE:"hide"+Un,HIDDEN:"hidden"+Un,SHOW:"show"+Un,SHOWN:"shown"+Un,INSERTED:"inserted"+Un,CLICK:"click"+Un,FOCUSIN:"focusin"+Un,FOCUSOUT:"focusout"+Un,MOUSEENTER:"mouseenter"+Un,MOUSELEAVE:"mouseleave"+Un},rr="fade",ir="show",ar=".tooltip-inner",or=".arrow",sr="hover",cr="focus",lr="click",ur="manual",fr=function(){function t(t,e){if(void 0===a.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=i.default(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(i.default(this.getTipElement()).hasClass(ir))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),i.default.removeData(this.element,this.constructor.DATA_KEY),i.default(this.element).off(this.constructor.EVENT_KEY),i.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&i.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===i.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=i.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){i.default(this.element).trigger(e);var n=v.findShadowRoot(this.element),r=i.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!r)return;var o=this.getTipElement(),s=v.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&i.default(o).addClass(rr);var c="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,l=this._getAttachment(c);this.addAttachmentClass(l);var u=this._getContainer();i.default(o).data(this.constructor.DATA_KEY,this),i.default.contains(this.element.ownerDocument.documentElement,this.tip)||i.default(o).appendTo(u),i.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new a.default(this.element,o,this._getPopperConfig(l)),i.default(o).addClass(ir),i.default(o).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&i.default(document.body).children().on("mouseover",null,i.default.noop);var f=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,i.default(t.element).trigger(t.constructor.Event.SHOWN),e===er&&t._leave(null,t)};if(i.default(this.tip).hasClass(rr)){var d=v.getTransitionDurationFromElement(this.tip);i.default(this.tip).one(v.TRANSITION_END,f).emulateTransitionEnd(d)}else f()}},e.hide=function(t){var e=this,n=this.getTipElement(),r=i.default.Event(this.constructor.Event.HIDE),a=function(){e._hoverState!==tr&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),i.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(i.default(this.element).trigger(r),!r.isDefaultPrevented()){if(i.default(n).removeClass(ir),"ontouchstart"in document.documentElement&&i.default(document.body).children().off("mouseover",null,i.default.noop),this._activeTrigger[lr]=!1,this._activeTrigger[cr]=!1,this._activeTrigger[sr]=!1,i.default(this.tip).hasClass(rr)){var o=v.getTransitionDurationFromElement(n);i.default(n).one(v.TRANSITION_END,a).emulateTransitionEnd(o)}else a();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){i.default(this.getTipElement()).addClass(Yn+"-"+t)},e.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(i.default(t.querySelectorAll(ar)),this.getTitle()),i.default(t).removeClass(rr+" "+ir)},e.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=In(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?i.default(e).parent().is(t)||t.empty().append(e):t.text(i.default(e).text())},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var e=this;return c({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:or},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=c({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:v.isElement(this.config.container)?i.default(this.config.container):i.default(document).find(this.config.container)},e._getAttachment=function(t){return Qn[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)i.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if(e!==ur){var n=e===sr?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,r=e===sr?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;i.default(t.element).on(n,t.config.selector,(function(e){return t._enter(e)})).on(r,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},i.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=c({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?cr:sr]=!0),i.default(e.getTipElement()).hasClass(ir)||e._hoverState===tr?e._hoverState=tr:(clearTimeout(e._timeout),e._hoverState=tr,e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){e._hoverState===tr&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?cr:sr]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=er,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){e._hoverState===er&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=i.default(this.element).data();return Object.keys(e).forEach((function(t){-1!==Jn.indexOf(t)&&delete e[t]})),"number"==typeof(t=c({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),v.typeCheckConfig(Fn,t,this.constructor.DefaultType),t.sanitize&&(t.template=In(t.template,t.whiteList,t.sanitizeFn)),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=i.default(this.getTipElement()),e=t.attr("class").match(Gn);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(i.default(t).removeClass(rr),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),r=n.data($n),a="object"==typeof e&&e;if((r||!/dispose|hide/.test(e))&&(r||(r=new t(this,a),n.data($n,r)),"string"==typeof e)){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}}))},s(t,null,[{key:"VERSION",get:function(){return Hn}},{key:"Default",get:function(){return Zn}},{key:"NAME",get:function(){return Fn}},{key:"DATA_KEY",get:function(){return $n}},{key:"Event",get:function(){return nr}},{key:"EVENT_KEY",get:function(){return Un}},{key:"DefaultType",get:function(){return Kn}}]),t}();i.default.fn[Fn]=fr._jQueryInterface,i.default.fn[Fn].Constructor=fr,i.default.fn[Fn].noConflict=function(){return i.default.fn[Fn]=Vn,fr._jQueryInterface};var dr="popover",pr="4.6.0",hr="bs.popover",Mr="."+hr,br=i.default.fn[dr],vr="bs-popover",mr=new RegExp("(^|\\s)"+vr+"\\S+","g"),gr=c({},fr.Default,{placement:"right",trigger:"click",content:"",template:''}),yr=c({},fr.DefaultType,{content:"(string|element|function)"}),Ar="fade",_r="show",zr=".popover-header",Or=".popover-body",wr={HIDE:"hide"+Mr,HIDDEN:"hidden"+Mr,SHOW:"show"+Mr,SHOWN:"shown"+Mr,INSERTED:"inserted"+Mr,CLICK:"click"+Mr,FOCUSIN:"focusin"+Mr,FOCUSOUT:"focusout"+Mr,MOUSEENTER:"mouseenter"+Mr,MOUSELEAVE:"mouseleave"+Mr},xr=function(t){function e(){return t.apply(this,arguments)||this}l(e,t);var n=e.prototype;return n.isWithContent=function(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function(t){i.default(this.getTipElement()).addClass(vr+"-"+t)},n.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},n.setContent=function(){var t=i.default(this.getTipElement());this.setElementContent(t.find(zr),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(Or),e),t.removeClass(Ar+" "+_r)},n._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function(){var t=i.default(this.getTipElement()),e=t.attr("class").match(mr);null!==e&&e.length>0&&t.removeClass(e.join(""))},e._jQueryInterface=function(t){return this.each((function(){var n=i.default(this).data(hr),r="object"==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new e(this,r),i.default(this).data(hr,n)),"string"==typeof t)){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},s(e,null,[{key:"VERSION",get:function(){return pr}},{key:"Default",get:function(){return gr}},{key:"NAME",get:function(){return dr}},{key:"DATA_KEY",get:function(){return hr}},{key:"Event",get:function(){return wr}},{key:"EVENT_KEY",get:function(){return Mr}},{key:"DefaultType",get:function(){return yr}}]),e}(fr);i.default.fn[dr]=xr._jQueryInterface,i.default.fn[dr].Constructor=xr,i.default.fn[dr].noConflict=function(){return i.default.fn[dr]=br,xr._jQueryInterface};var Lr="scrollspy",Nr="4.6.0",Tr="bs.scrollspy",Cr="."+Tr,qr=".data-api",Sr=i.default.fn[Lr],kr={offset:10,method:"auto",target:""},Er={offset:"number",method:"string",target:"(string|element)"},Wr="activate"+Cr,Br="scroll"+Cr,Dr="load"+Cr+qr,Xr="dropdown-item",Pr="active",Rr='[data-spy="scroll"]',jr=".nav, .list-group",Ir=".nav-link",Fr=".nav-item",Hr=".list-group-item",$r=".dropdown",Ur=".dropdown-item",Vr=".dropdown-toggle",Yr="offset",Gr="position",Jr=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+Ir+","+this._config.target+" "+Hr+","+this._config.target+" "+Ur,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,i.default(this._scrollElement).on(Br,(function(t){return n._process(t)})),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Yr:Gr,n="auto"===this._config.method?e:this._config.method,r=n===Gr?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var e,a=v.getSelectorFromElement(t);if(a&&(e=document.querySelector(a)),e){var o=e.getBoundingClientRect();if(o.width||o.height)return[i.default(e)[n]().top+r,a]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){i.default.removeData(this._element,Tr),i.default(this._scrollElement).off(Cr),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=c({},kr,"object"==typeof t&&t?t:{})).target&&v.isElement(t.target)){var e=i.default(t.target).attr("id");e||(e=v.getUID(Lr),i.default(t.target).attr("id",e)),t.target="#"+e}return v.typeCheckConfig(Lr,t,Er),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&&t>=this._offsets[i]&&(void 0===this._offsets[i+1]||t1&&(i-=1)),[360*i,100*a,100*l]},i.rgb.hwb=function(t){var e=t[0],n=t[1],r=t[2];return[i.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(n,r))*100,100*(r=1-1/255*Math.max(e,Math.max(n,r)))]},i.rgb.cmyk=function(t){var e,n=t[0]/255,r=t[1]/255,i=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-r,1-i)))/(1-e)||0),100*((1-r-e)/(1-e)||0),100*((1-i-e)/(1-e)||0),100*e]},i.rgb.keyword=function(t){var n=e[t];if(n)return n;var i,a=1/0;for(var o in r)if(r.hasOwnProperty(o)){var s=c(t,r[o]);s.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},i.rgb.lab=function(t){var e=i.rgb.xyz(t),n=e[0],r=e[1],a=e[2];return r/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},i.hsl.rgb=function(t){var e,n,r,i,a,o=t[0]/360,s=t[1]/100,c=t[2]/100;if(0===s)return[a=255*c,a,a];e=2*c-(n=c<.5?c*(1+s):c+s-c*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,a=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e,i[l]=255*a;return i},i.hsl.hsv=function(t){var e=t[0],n=t[1]/100,r=t[2]/100,i=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=a<=1?a:2-a,[e,100*(0===r?2*i/(a+i):2*n/(r+n)),(r+n)/2*100]},i.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,i=Math.floor(e)%6,a=e-Math.floor(e),o=255*r*(1-n),s=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,c,o];case 1:return[s,r,o];case 2:return[o,r,c];case 3:return[o,s,r];case 4:return[c,o,r];case 5:return[r,o,s]}},i.hsv.hsl=function(t){var e,n,r,i=t[0],a=t[1]/100,o=t[2]/100,s=Math.max(o,.01);return r=(2-a)*o,n=a*s,[i,100*(n=(n/=(e=(2-a)*s)<=1?e:2-e)||0),100*(r/=2)]},i.hwb.rgb=function(t){var e,n,r,i,a,o,s,c=t[0]/360,l=t[1]/100,u=t[2]/100,f=l+u;switch(f>1&&(l/=f,u/=f),r=6*c-(e=Math.floor(6*c)),0!=(1&e)&&(r=1-r),i=l+r*((n=1-u)-l),e){default:case 6:case 0:a=n,o=i,s=l;break;case 1:a=i,o=n,s=l;break;case 2:a=l,o=n,s=i;break;case 3:a=l,o=i,s=n;break;case 4:a=i,o=l,s=n;break;case 5:a=n,o=l,s=i}return[255*a,255*o,255*s]},i.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,r=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},i.xyz.rgb=function(t){var e,n,r,i=t[0]/100,a=t[1]/100,o=t[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,e=(e=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},i.xyz.lab=function(t){var e=t[0],n=t[1],r=t[2];return n/=100,r/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},i.lab.xyz=function(t){var e,n,r,i=t[0];e=t[1]/500+(n=(i+16)/116),r=n-t[2]/200;var a=Math.pow(n,3),o=Math.pow(e,3),s=Math.pow(r,3);return n=a>.008856?a:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[e*=95.047,n*=100,r*=108.883]},i.lab.lch=function(t){var e,n=t[0],r=t[1],i=t[2];return(e=360*Math.atan2(i,r)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(r*r+i*i),e]},i.lch.lab=function(t){var e,n=t[0],r=t[1];return e=t[2]/360*2*Math.PI,[n,r*Math.cos(e),r*Math.sin(e)]},i.rgb.ansi16=function(t){var e=t[0],n=t[1],r=t[2],a=1 in arguments?arguments[1]:i.rgb.hsv(t)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===a&&(o+=60),o},i.hsv.ansi16=function(t){return i.rgb.ansi16(i.hsv.rgb(t),t[2])},i.rgb.ansi256=function(t){var e=t[0],n=t[1],r=t[2];return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},i.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},i.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},i.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},i.rgb.hcg=function(t){var e,n=t[0]/255,r=t[1]/255,i=t[2]/255,a=Math.max(Math.max(n,r),i),o=Math.min(Math.min(n,r),i),s=a-o;return e=s<=0?0:a===n?(r-i)/s%6:a===r?2+(i-n)/s:4+(n-r)/s+4,e/=6,[360*(e%=1),100*s,100*(s<1?o/(1-s):0)]},i.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=1,i=0;return(r=n<.5?2*e*n:2*e*(1-n))<1&&(i=(n-.5*r)/(1-r)),[t[0],100*r,100*i]},i.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=e*n,i=0;return r<1&&(i=(n-r)/(1-r)),[t[0],100*r,100*i]},i.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100;if(0===n)return[255*r,255*r,255*r];var i=[0,0,0],a=e%1*6,o=a%1,s=1-o,c=0;switch(Math.floor(a)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return c=(1-n)*r,[255*(n*i[0]+c),255*(n*i[1]+c),255*(n*i[2]+c)]},i.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),r=0;return n>0&&(r=e/n),[t[0],100*r,100*n]},i.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[t[0],100*r,100*n]},i.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},i.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,r=n-e,i=0;return r<1&&(i=(n-r)/(1-r)),[t[0],100*r,100*i]},i.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},i.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},i.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},i.gray.hsl=i.gray.hsv=function(t){return[0,0,t[0]]},i.gray.hwb=function(t){return[0,100,t[0]]},i.gray.cmyk=function(t){return[0,0,0,t[0]]},i.gray.lab=function(t){return[t[0],0,0]},i.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}));function a(){for(var t={},e=Object.keys(i),n=e.length,r=0;r1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}function d(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var r=n.length,i=0;i=0&&e<1?S(Math.round(255*e)):"")}function z(t,e){return e<1||t[3]&&t[3]<1?O(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}function O(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function w(t,e){return e<1||t[3]&&t[3]<1?x(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"}function x(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function L(t,e){return e<1||t[3]&&t[3]<1?N(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"}function N(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function T(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"}function C(t){return k[t.slice(0,3)]}function q(t,e,n){return Math.min(Math.max(e,t),n)}function S(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var k={};for(var E in h)k[h[E]]=E;var W=function(t){return t instanceof W?t:this instanceof W?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=M.getRgba(t))?this.setValues("rgb",e):(e=M.getHsla(t))?this.setValues("hsl",e):(e=M.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new W(t);var e};W.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return M.hexString(this.values.rgb)},rgbString:function(){return M.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return M.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return M.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return M.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return M.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return M.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return M.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;nn?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,r=t,i=void 0===e?.5:e,a=2*i-1,o=n.alpha()-r.alpha(),s=((a*o==-1?a:(a+o)/(1+a*o))+1)/2,c=1-s;return this.rgb(s*n.red()+c*r.red(),s*n.green()+c*r.green(),s*n.blue()+c*r.blue()).alpha(n.alpha()*i+r.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new W,r=this.values,i=n.values;for(var a in r)r.hasOwnProperty(a)&&(t=r[a],"[object Array]"===(e={}.toString.call(t))?i[a]=t.slice(0):"[object Number]"===e&&(i[a]=t));return n}},W.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},W.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},W.prototype.getValues=function(t){for(var e=this.values,n={},r=0;r=0;i--)e.call(n,t[i],i);else for(i=0;i=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:1===t?1:(n||(n=.3),r<1?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:1===t?1:(n||(n=.3),r<1?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,r=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),r<1?(r=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/r),t<1?r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-j.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*j.easeInBounce(2*t):.5*j.easeOutBounce(2*t-1)+.5}},I={effects:j};R.easingEffects=j;var F=Math.PI,H=F/180,$=2*F,U=F/2,V=F/4,Y=2*F/3,G={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,r,i,a){if(a){var o=Math.min(a,i/2,r/2),s=e+o,c=n+o,l=e+r-o,u=n+i-o;t.moveTo(e,c),se.left-n&&t.xe.top-n&&t.y0&&t.requestAnimationFrame()},advance:function(){for(var t,e,n,r,i=this.animations,a=0;a=n?(st.callback(t.onAnimationComplete,[t],e),e.animating=!1,i.splice(a,1)):++a}},gt=st.options.resolve,yt=["push","pop","shift","splice","unshift"];function At(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),yt.forEach((function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),i=r.apply(this,e);return st.each(t._chartjs.listeners,(function(t){"function"==typeof t[n]&&t[n].apply(t,e)})),i}})})))}function _t(t,e){var n=t._chartjs;if(n){var r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(yt.forEach((function(e){delete t[e]})),delete t._chartjs)}}var zt=function(t,e){this.initialize(t,e)};st.extend(zt.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.chart,r=n.scales,i=t.getDataset(),a=n.options.scales;null!==e.xAxisID&&e.xAxisID in r&&!i.xAxisID||(e.xAxisID=i.xAxisID||a.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in r&&!i.yAxisID||(e.yAxisID=i.yAxisID||a.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&_t(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,n=e.dataElementType;return n&&new n({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,n=this,r=n.getMeta(),i=n.getDataset().data||[],a=r.data;for(t=0,e=i.length;tr&&t.insertElements(r,i-r)},insertElements:function(t,e){for(var n=0;ni?(a=i/e.innerRadius,t.arc(o,s,e.innerRadius-i,r+a,n-a,!0)):t.arc(o,s,i,r+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function Lt(t,e,n,r){var i,a=n.endAngle;for(r&&(n.endAngle=n.startAngle+wt,xt(t,n),n.endAngle=a,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=wt,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+wt,n.startAngle,!0),i=0;is;)i-=wt;for(;i=o&&i<=s,l=a>=n.innerRadius&&a<=n.outerRadius;return c&&l}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,i={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/wt)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,i.fullCircles){for(i.endAngle=i.startAngle+wt,e.beginPath(),e.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),e.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),e.closePath(),t=0;tt.x&&(e=jt(e,"left","right")):t.basen?n:r,r:c.right||i<0?0:i>e?e:i,b:c.bottom||a<0?0:a>n?n:a,l:c.left||o<0?0:o>e?e:o}}function Ht(t){var e=Rt(t),n=e.right-e.left,r=e.bottom-e.top,i=Ft(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b}}}function $t(t,e,n){var r=null===e,i=null===n,a=!(!t||r&&i)&&Rt(t);return a&&(r||e>=a.left&&e<=a.right)&&(i||n>=a.top&&n<=a.bottom)}Q._set("global",{elements:{rectangle:{backgroundColor:Xt,borderColor:Xt,borderSkipped:"bottom",borderWidth:0}}});var Ut=Mt.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=Ht(e),r=n.outer,i=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(r.x,r.y,r.w,r.h),r.w===i.w&&r.h===i.h||(t.save(),t.beginPath(),t.rect(r.x,r.y,r.w,r.h),t.clip(),t.fillStyle=e.borderColor,t.rect(i.x,i.y,i.w,i.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return $t(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return Pt(n)?$t(n,t,null):$t(n,null,e)},inXRange:function(t){return $t(this._view,t,null)},inYRange:function(t){return $t(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return Pt(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return Pt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),Vt={},Yt=Tt,Gt=St,Jt=Dt,Kt=Ut;Vt.Arc=Yt,Vt.Line=Gt,Vt.Point=Jt,Vt.Rectangle=Kt;var Qt=st._deprecated,Zt=st.valueOrDefault;function te(t,e){var n,r,i,a,o=t._length;for(i=1,a=e.length;i0?Math.min(o,Math.abs(r-n)):o,n=r;return o}function ee(t,e,n){var r,i,a=n.barThickness,o=e.stackCount,s=e.pixels[t],c=st.isNullOrUndef(a)?te(e.scale,e.pixels):-1;return st.isNullOrUndef(a)?(r=c*n.categoryPercentage,i=n.barPercentage):(r=a*o,i=1),{chunk:r/o,ratio:i,start:s-r/2}}function ne(t,e,n){var r,i=e.pixels,a=i[t],o=t>0?i[t-1]:null,s=t=0&&b.min>=0?b.min:b.max,A=void 0===b.start?b.end:b.max>=0&&b.min>=0?b.max-b.min:b.min-b.max,_=M.length;if(m||void 0===m&&void 0!==g)for(r=0;r<_&&(i=M[r]).index!==t;++r)i.stack===g&&(a=void 0===(l=d._parseValue(h[i.index].data[e])).start?l.end:l.min>=0&&l.max>=0?l.max:l.min,(b.min<0&&a<0||b.max>=0&&a>0)&&(y+=a));return o=d.getPixelForValue(y),c=(s=d.getPixelForValue(y+A))-o,void 0!==v&&Math.abs(c)=0&&!p||A<0&&p?o-v:o+v),{size:c,base:o,head:s,center:s+c/2}},calculateBarIndexPixels:function(t,e,n,r){var i=this,a="flex"===r.barThickness?ne(e,n,r):ee(e,n,r),o=i.getStackIndex(t,i.getMeta().stack),s=a.start+a.chunk*o+a.chunk/2,c=Math.min(Zt(r.maxBarThickness,1/0),a.chunk*a.ratio);return{base:s-c/2,head:s+c/2,center:s,size:c}},draw:function(){var t=this,e=t.chart,n=t._getValueScale(),r=t.getMeta().data,i=t.getDataset(),a=r.length,o=0;for(st.canvas.clipArea(e.ctx,e.chartArea);o=ce?-le:m<-ce?le:0)+b,y=Math.cos(m),A=Math.sin(m),_=Math.cos(g),z=Math.sin(g),O=m<=0&&g>=0||g>=le,w=m<=ue&&g>=ue||g>=le+ue,x=m<=-ue&&g>=-ue||g>=ce+ue,L=m===-ce||g>=ce?-1:Math.min(y,y*M,_,_*M),N=x?-1:Math.min(A,A*M,z,z*M),T=O?1:Math.max(y,y*M,_,_*M),C=w?1:Math.max(A,A*M,z,z*M);l=(T-L)/2,u=(C-N)/2,f=-(T+L)/2,d=-(C+N)/2}for(r=0,i=h.length;r0&&!isNaN(t)?le*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,r,i,a,o,s,c,l=this,u=0,f=l.chart;if(!t)for(e=0,n=f.data.datasets.length;e(u=s>u?s:u)?c:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,r=st.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=se(n.hoverBackgroundColor,r(n.backgroundColor)),e.borderColor=se(n.hoverBorderColor,r(n.borderColor)),e.borderWidth=se(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n0&&Me(l[t-1]._model,c)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,c.left,c.right),n.controlPointPreviousY=u(n.controlPointPreviousY,c.top,c.bottom)),t0&&(a=t.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(t,e){return qe(t,e,{intersect:!1})},point:function(t,e){return Ne(t,xe(e,t))},nearest:function(t,e,n){var r=xe(e,t);n.axis=n.axis||"xy";var i=Ce(n.axis);return Te(t,r,n.intersect,i)},x:function(t,e,n){var r=xe(e,t),i=[],a=!1;return Le(t,(function(t){t.inXRange(r.x)&&i.push(t),t.inRange(r.x,r.y)&&(a=!0)})),n.intersect&&!a&&(i=[]),i},y:function(t,e,n){var r=xe(e,t),i=[],a=!1;return Le(t,(function(t){t.inYRange(r.y)&&i.push(t),t.inRange(r.x,r.y)&&(a=!0)})),n.intersect&&!a&&(i=[]),i}}},ke=st.extend;function Ee(t,e){return st.where(t,(function(t){return t.pos===e}))}function We(t,e){return t.sort((function(t,n){var r=e?n:t,i=e?t:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function Be(t){var e,n,r,i=[];for(e=0,n=(t||[]).length;e div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n",Ye=n(Object.freeze({__proto__:null,default:Ve})),Ge="$chartjs",Je="chartjs-",Ke=Je+"size-monitor",Qe=Je+"render-monitor",Ze=Je+"render-animation",tn=["animationstart","webkitAnimationStart"],en={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function nn(t,e){var n=st.getStyle(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}function rn(t,e){var n=t.style,r=t.getAttribute("height"),i=t.getAttribute("width");if(t[Ge]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var a=nn(t,"width");void 0!==a&&(t.width=a)}if(null===r||""===r)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var o=nn(t,"height");void 0!==a&&(t.height=o)}return t}var an=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}(),on=!!an&&{passive:!0};function sn(t,e,n){t.addEventListener(e,n,on)}function cn(t,e,n){t.removeEventListener(e,n,on)}function ln(t,e,n,r,i){return{type:t,chart:e,native:i||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function un(t,e){var n=en[t.type]||t.type,r=st.getRelativePosition(t,e);return ln(n,e,r.x,r.y,t)}function fn(t,e){var n=!1,r=[];return function(){r=Array.prototype.slice.call(arguments),e=e||this,n||(n=!0,st.requestAnimFrame.call(window,(function(){n=!1,t.apply(e,r)})))}}function dn(t){var e=document.createElement("div");return e.className=t||"",e}function pn(t){var e=1e6,n=dn(Ke),r=dn(Ke+"-expand"),i=dn(Ke+"-shrink");r.appendChild(dn()),i.appendChild(dn()),n.appendChild(r),n.appendChild(i),n._reset=function(){r.scrollLeft=e,r.scrollTop=e,i.scrollLeft=e,i.scrollTop=e};var a=function(){n._reset(),t()};return sn(r,"scroll",a.bind(r,"expand")),sn(i,"scroll",a.bind(i,"shrink")),n}function hn(t,e){var n=t[Ge]||(t[Ge]={}),r=n.renderProxy=function(t){t.animationName===Ze&&e()};st.each(tn,(function(e){sn(t,e,r)})),n.reflow=!!t.offsetParent,t.classList.add(Qe)}function Mn(t){var e=t[Ge]||{},n=e.renderProxy;n&&(st.each(tn,(function(e){cn(t,e,n)})),delete e.renderProxy),t.classList.remove(Qe)}function bn(t,e,n){var r=t[Ge]||(t[Ge]={}),i=r.resizer=pn(fn((function(){if(r.resizer){var i=n.options.maintainAspectRatio&&t.parentNode,a=i?i.clientWidth:0;e(ln("resize",n)),i&&i.clientWidth0){var a=t[0];a.label?n=a.label:a.xLabel?n=a.xLabel:i>0&&a.index-1?t.split("\n"):t}function Tn(t){var e=t._xScale,n=t._yScale||t._scale,r=t._index,i=t._datasetIndex,a=t._chart.getDatasetMeta(i).controller,o=a._getIndexScale(),s=a._getValueScale();return{xLabel:e?e.getLabelForIndex(r,i):"",yLabel:n?n.getLabelForIndex(r,i):"",label:o?""+o.getLabelForIndex(r,i):"",value:s?""+s.getLabelForIndex(r,i):"",index:r,datasetIndex:i,x:t._model.x,y:t._model.y}}function Cn(t){var e=Q.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:On(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:On(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:On(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:On(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:On(t.titleFontStyle,e.defaultFontStyle),titleFontSize:On(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:On(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:On(t.footerFontStyle,e.defaultFontStyle),footerFontSize:On(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function qn(t,e){var n=t._chart.ctx,r=2*e.yPadding,i=0,a=e.body,o=a.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);o+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,c=e.footer.length,l=e.titleFontSize,u=e.bodyFontSize,f=e.footerFontSize;r+=s*l,r+=s?(s-1)*e.titleSpacing:0,r+=s?e.titleMarginBottom:0,r+=o*u,r+=o?(o-1)*e.bodySpacing:0,r+=c?e.footerMarginTop:0,r+=c*f,r+=c?(c-1)*e.footerSpacing:0;var d=0,p=function(t){i=Math.max(i,n.measureText(t).width+d)};return n.font=st.fontString(l,e._titleFontStyle,e._titleFontFamily),st.each(e.title,p),n.font=st.fontString(u,e._bodyFontStyle,e._bodyFontFamily),st.each(e.beforeBody.concat(e.afterBody),p),d=e.displayColors?u+2:0,st.each(a,(function(t){st.each(t.before,p),st.each(t.lines,p),st.each(t.after,p)})),d=0,n.font=st.fontString(f,e._footerFontStyle,e._footerFontFamily),st.each(e.footer,p),{width:i+=2*e.xPadding,height:r}}function Sn(t,e){var n,r,i,a,o,s=t._model,c=t._chart,l=t._chart.chartArea,u="center",f="center";s.yc.height-e.height&&(f="bottom");var d=(l.left+l.right)/2,p=(l.top+l.bottom)/2;"center"===f?(n=function(t){return t<=d},r=function(t){return t>d}):(n=function(t){return t<=e.width/2},r=function(t){return t>=c.width-e.width/2}),i=function(t){return t+e.width+s.caretSize+s.caretPadding>c.width},a=function(t){return t-e.width-s.caretSize-s.caretPadding<0},o=function(t){return t<=p?"top":"bottom"},n(s.x)?(u="left",i(s.x)&&(u="center",f=o(s.y))):r(s.x)&&(u="right",a(s.x)&&(u="center",f=o(s.y)));var h=t._options;return{xAlign:h.xAlign?h.xAlign:u,yAlign:h.yAlign?h.yAlign:f}}function kn(t,e,n,r){var i=t.x,a=t.y,o=t.caretSize,s=t.caretPadding,c=t.cornerRadius,l=n.xAlign,u=n.yAlign,f=o+s,d=c+s;return"right"===l?i-=e.width:"center"===l&&((i-=e.width/2)+e.width>r.width&&(i=r.width-e.width),i<0&&(i=0)),"top"===u?a+=f:a-="bottom"===u?e.height+f:e.height/2,"center"===u?"left"===l?i+=f:"right"===l&&(i-=f):"left"===l?i-=d:"right"===l&&(i+=d),{x:i,y:a}}function En(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Wn(t){return Ln([],Nn(t))}var Bn=Mt.extend({initialize:function(){this._model=Cn(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options.callbacks,n=e.beforeTitle.apply(t,arguments),r=e.title.apply(t,arguments),i=e.afterTitle.apply(t,arguments),a=[];return a=Ln(a,Nn(n)),a=Ln(a,Nn(r)),a=Ln(a,Nn(i))},getBeforeBody:function(){return Wn(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,r=n._options.callbacks,i=[];return st.each(t,(function(t){var a={before:[],lines:[],after:[]};Ln(a.before,Nn(r.beforeLabel.call(n,t,e))),Ln(a.lines,r.label.call(n,t,e)),Ln(a.after,Nn(r.afterLabel.call(n,t,e))),i.push(a)})),i},getAfterBody:function(){return Wn(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),r=e.footer.apply(t,arguments),i=e.afterFooter.apply(t,arguments),a=[];return a=Ln(a,Nn(n)),a=Ln(a,Nn(r)),a=Ln(a,Nn(i))},update:function(t){var e,n,r=this,i=r._options,a=r._model,o=r._model=Cn(i),s=r._active,c=r._data,l={xAlign:a.xAlign,yAlign:a.yAlign},u={x:a.x,y:a.y},f={width:a.width,height:a.height},d={x:a.caretX,y:a.caretY};if(s.length){o.opacity=1;var p=[],h=[];d=xn[i.position].call(r,s,r._eventPosition);var M=[];for(e=0,n=s.length;e0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},r={x:e.x,y:e.y},i=Math.abs(e.opacity<.001)?0:e.opacity,a=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(r,e,t,n),r.y+=e.yPadding,st.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(r,e,t),this.drawBody(r,e,t),this.drawFooter(r,e,t),st.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e=this,n=e._options,r=!1;return e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:(e._active=e._chart.getElementsAtEventForMode(t,n.mode,n),n.reverse&&e._active.reverse()),(r=!st.arrayEquals(e._active,e._lastActive))&&(e._lastActive=e._active,(n.enabled||n.custom)&&(e._eventPosition={x:t.x,y:t.y},e.update(!0),e.pivot())),r}}),Dn=xn,Xn=Bn;Xn.positioners=Dn;var Pn=st.valueOrDefault;function Rn(){return st.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,r){if("xAxes"===t||"yAxes"===t){var i,a,o,s=n[t].length;for(e[t]||(e[t]=[]),i=0;i=e[t].length&&e[t].push({}),!e[t][i].type||o.type&&o.type!==e[t][i].type?st.merge(e[t][i],[zn.getScaleDefaults(a),o]):st.merge(e[t][i],o)}else st._merger(t,e,n,r)}})}function jn(){return st.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,r){var i=e[t]||Object.create(null),a=n[t];"scales"===t?e[t]=Rn(i,a):"scale"===t?e[t]=st.merge(i,[zn.getScaleDefaults(a.type),a]):st._merger(t,e,n,r)}})}function In(t){var e=(t=t||Object.create(null)).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=jn(Q.global,Q[t.type],t.options||{}),t}function Fn(t){var e=t.options;st.each(t.scales,(function(e){$e.removeBox(t,e)})),e=jn(Q.global,Q[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function Hn(t,e,n){var r,i=function(t){return t.id===r};do{r=e+n++}while(st.findIndex(t,i)>=0);return r}function $n(t){return"top"===t||"bottom"===t}function Un(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}Q._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Vn=function(t,e){return this.construct(t,e),this};st.extend(Vn.prototype,{construct:function(t,e){var n=this;e=In(e);var r=An.acquireContext(t,e),i=r&&r.canvas,a=i&&i.height,o=i&&i.width;n.id=st.uid(),n.ctx=r,n.canvas=i,n.config=e,n.width=o,n.height=a,n.aspectRatio=a?o/a:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Vn.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),r&&i&&(n.initialize(),n.update())},initialize:function(){var t=this;return _n.notify(t,"beforeInit"),st.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),_n.notify(t,"afterInit"),t},clear:function(){return st.canvas.clear(this),this},stop:function(){return mt.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,r=e.canvas,i=n.maintainAspectRatio&&e.aspectRatio||null,a=Math.max(0,Math.floor(st.getMaximumWidth(r))),o=Math.max(0,Math.floor(i?a/i:st.getMaximumHeight(r)));if((e.width!==a||e.height!==o)&&(r.width=e.width=a,r.height=e.height=o,r.style.width=a+"px",r.style.height=o+"px",st.retinaScale(e,n.devicePixelRatio),!t)){var s={width:a,height:o};_n.notify(e,"resize",[s]),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;st.each(e.xAxes,(function(t,n){t.id||(t.id=Hn(e.xAxes,"x-axis-",n))})),st.each(e.yAxes,(function(t,n){t.id||(t.id=Hn(e.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},r=[],i=Object.keys(n).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(r=r.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&r.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),st.each(r,(function(e){var r=e.options,a=r.id,o=Pn(r.type,e.dtype);$n(r.position)!==$n(e.dposition)&&(r.position=e.dposition),i[a]=!0;var s=null;if(a in n&&n[a].type===o)(s=n[a]).options=r,s.ctx=t.ctx,s.chart=t;else{var c=zn.getScaleConstructor(o);if(!c)return;s=new c({id:a,type:o,options:r,ctx:t.ctx,chart:t}),n[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)})),st.each(i,(function(t,e){t||delete n[e]})),t.scales=n,zn.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,r=[],i=n.data.datasets;for(t=0,e=i.length;t=0;--n)r.drawDataset(e[n],t);_n.notify(r,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this,r={meta:t,index:t.index,easingValue:e};!1!==_n.notify(n,"beforeDatasetDraw",[r])&&(t.controller.draw(e),_n.notify(n,"afterDatasetDraw",[r]))},_drawTooltip:function(t){var e=this,n=e.tooltip,r={tooltip:n,easingValue:t};!1!==_n.notify(e,"beforeTooltipDraw",[r])&&(n.draw(),_n.notify(e,"afterTooltipDraw",[r]))},getElementAtEvent:function(t){return Se.modes.single(this,t)},getElementsAtEvent:function(t){return Se.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Se.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var r=Se.modes[e];return"function"==typeof r?r(this,t,n):[]},getDatasetAtEvent:function(t){return Se.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,n=e.data.datasets[t];n._meta||(n._meta={});var r=n._meta[e.id];return r||(r=n._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n.order||0,index:t}),r},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e=0;r--){var i=t[r];if(e(i))return i}},st.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},st.almostEquals=function(t,e,n){return Math.abs(t-e)=t},st.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},st.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},st.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},st.toRadians=function(t){return t*(Math.PI/180)},st.toDegrees=function(t){return t*(180/Math.PI)},st._decimalPlaces=function(t){if(st.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},st.getAngleFromPoint=function(t,e){var n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r),a=Math.atan2(r,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:i}},st.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},st.aliasPixel=function(t){return t%2==0?0:.5},st._alignPixel=function(t,e,n){var r=t.currentDevicePixelRatio,i=n/2;return Math.round((e-i)*r)/r+i},st.splineCurve=function(t,e,n,r){var i=t.skip?e:t,a=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2)),c=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),l=s/(s+c),u=c/(s+c),f=r*(l=isNaN(l)?0:l),d=r*(u=isNaN(u)?0:u);return{previous:{x:a.x-f*(o.x-i.x),y:a.y-f*(o.y-i.y)},next:{x:a.x+d*(o.x-i.x),y:a.y+d*(o.y-i.y)}}},st.EPSILON=Number.EPSILON||1e-14,st.splineCurveMonotone=function(t){var e,n,r,i,a,o,s,c,l,u=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),f=u.length;for(e=0;e0?u[e-1]:null,(i=e0?u[e-1]:null,i=e=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},st.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},st.niceNum=function(t,e){var n=Math.floor(st.log10(t)),r=t/Math.pow(10,n);return(e?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},st.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},st.getRelativePosition=function(t,e){var n,r,i=t.originalEvent||t,a=t.target||t.srcElement,o=a.getBoundingClientRect(),s=i.touches;s&&s.length>0?(n=s[0].clientX,r=s[0].clientY):(n=i.clientX,r=i.clientY);var c=parseFloat(st.getStyle(a,"padding-left")),l=parseFloat(st.getStyle(a,"padding-top")),u=parseFloat(st.getStyle(a,"padding-right")),f=parseFloat(st.getStyle(a,"padding-bottom")),d=o.right-o.left-c-u,p=o.bottom-o.top-l-f;return{x:n=Math.round((n-o.left-c)/d*a.width/e.currentDevicePixelRatio),y:r=Math.round((r-o.top-l)/p*a.height/e.currentDevicePixelRatio)}},st.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},st.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},st._calculatePadding=function(t,e,n){return(e=st.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},st._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},st.getMaximumWidth=function(t){var e=st._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,r=n-st._calculatePadding(e,"padding-left",n)-st._calculatePadding(e,"padding-right",n),i=st.getConstraintWidth(t);return isNaN(i)?r:Math.min(r,i)},st.getMaximumHeight=function(t){var e=st._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,r=n-st._calculatePadding(e,"padding-top",n)-st._calculatePadding(e,"padding-bottom",n),i=st.getConstraintHeight(t);return isNaN(i)?r:Math.min(r,i)},st.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},st.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=t.canvas,i=t.height,a=t.width;r.height=i*n,r.width=a*n,t.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=i+"px",r.style.width=a+"px")}},st.fontString=function(t,e,n){return e+" "+t+"px "+n},st.longestText=function(t,e,n,r){var i=(r=r||{}).data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},a=r.garbageCollect=[],r.font=e),t.font=e;var o,s,c,l,u,f=0,d=n.length;for(o=0;on.length){for(o=0;or&&(r=a),r},st.numberOfLabelLines=function(t){var e=1;return st.each(t,(function(t){st.isArray(t)&&t.length>e&&(e=t.length)})),e},st.color=B?function(t){return t instanceof CanvasGradient&&(t=Q.global.defaultColor),B(t)}:function(t){return t},st.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:st.color(t).saturate(.5).darken(.1).rgbString()}};function Jn(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Kn(t){this.options=t||{}}st.extend(Kn.prototype,{formats:Jn,parse:Jn,format:Jn,add:Jn,diff:Jn,startOf:Jn,endOf:Jn,_create:function(t){return t}}),Kn.override=function(t){st.extend(Kn.prototype,t)};var Qn={_date:Kn},Zn={formatters:{values:function(t){return st.isArray(t)?t:""+t},linear:function(t,e,n){var r=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&t!==Math.floor(t)&&(r=t-Math.floor(t));var i=st.log10(Math.abs(r)),a="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=st.log10(Math.abs(t)),s=Math.floor(o)-Math.floor(i);s=Math.max(Math.min(s,20),0),a=t.toExponential(s)}else{var c=-1*Math.floor(i);c=Math.max(Math.min(c,20),0),a=t.toFixed(c)}else a="0";return a},logarithmic:function(t,e,n){var r=t/Math.pow(10,Math.floor(st.log10(t)));return 0===t?"0":1===r||2===r||5===r||0===e||e===n.length-1?t.toExponential():""}}},tr=st.isArray,er=st.isNullOrUndef,nr=st.valueOrDefault,rr=st.valueAtIndexOrDefault;function ir(t,e){for(var n=[],r=t.length/e,i=0,a=t.length;ic+l)))return o}function or(t,e){st.each(t,(function(t){var n,r=t.gc,i=r.length/2;if(i>e){for(n=0;nl)return a;return Math.max(l,1)}function Mr(t){var e,n,r=[];for(e=0,n=t.length;e=d||u<=1||!s.isHorizontal()?s.labelRotation=f:(e=(t=s._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,r=Math.min(s.maxWidth,s.chart.width-e),e+6>(i=c.offset?s.maxWidth/u:r/(u-1))&&(i=r/(u-(c.offset?.5:1)),a=s.maxHeight-cr(c.gridLines)-l.padding-lr(c.scaleLabel),o=Math.sqrt(e*e+n*n),p=st.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/i,1)),Math.asin(Math.min(a/o,1))-Math.asin(n/o))),p=Math.max(f,Math.min(d,p))),s.labelRotation=p)},afterCalculateTickRotation:function(){st.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){st.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,r=t.options,i=r.ticks,a=r.scaleLabel,o=r.gridLines,s=t._isVisible(),c="bottom"===r.position,l=t.isHorizontal();if(l?e.width=t.maxWidth:s&&(e.width=cr(o)+lr(a)),l?s&&(e.height=cr(o)+lr(a)):e.height=t.maxHeight,i.display&&s){var u=fr(i),f=t._getLabelSizes(),d=f.first,p=f.last,h=f.widest,M=f.highest,b=.4*u.minor.lineHeight,v=i.padding;if(l){var m=0!==t.labelRotation,g=st.toRadians(t.labelRotation),y=Math.cos(g),A=Math.sin(g),_=A*h.width+y*(M.height-(m?M.offset:0))+(m?0:b);e.height=Math.min(t.maxHeight,e.height+_+v);var z,O,w=t.getPixelForTick(0)-t.left,x=t.right-t.getPixelForTick(t.getTicks().length-1);m?(z=c?y*d.width+A*d.offset:A*(d.height-d.offset),O=c?A*(p.height-p.offset):y*p.width+A*p.offset):(z=d.width/2,O=p.width/2),t.paddingLeft=Math.max((z-w)*t.width/(t.width-w),0)+3,t.paddingRight=Math.max((O-x)*t.width/(t.width-x),0)+3}else{var L=i.mirror?0:h.width+v+b;e.width=Math.min(t.maxWidth,e.width+L),t.paddingTop=d.height/2,t.paddingBottom=p.height/2}}t.handleMargins(),l?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){st.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(er(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,r,i=this;for(i.ticks=t.map((function(t){return t.value})),i.beforeTickToLabelConversion(),e=i.convertTicksToLabels(t)||i.ticks,i.afterTickToLabelConversion(),n=0,r=t.length;nr-1?null:e.getPixelForDecimal(t*i+(n?i/2:0))},getPixelForDecimal:function(t){var e=this;return e._reversePixels&&(t=1-t),e._startPixel+t*e._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,e=t.min,n=t.max;return t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0},_autoSkip:function(t){var e,n,r,i,a=this,o=a.options.ticks,s=a._length,c=o.maxTicksLimit||s/a._tickSize()+1,l=o.major.enabled?Mr(t):[],u=l.length,f=l[0],d=l[u-1];if(u>c)return br(t,l,u/c),dr(t);if(r=hr(l,t,s,c),u>0){for(e=0,n=u-1;e1?(d-f)/(u-1):null,vr(t,r,st.isNullOrUndef(i)?0:f-i,f),vr(t,r,d,st.isNullOrUndef(i)?t.length:d+i),dr(t)}return vr(t,r),dr(t)},_tickSize:function(){var t=this,e=t.options.ticks,n=st.toRadians(t.labelRotation),r=Math.abs(Math.cos(n)),i=Math.abs(Math.sin(n)),a=t._getLabelSizes(),o=e.autoSkipPadding||0,s=a?a.widest.width+o:0,c=a?a.highest.height+o:0;return t.isHorizontal()?c*r>s*i?s/r:c/i:c*i=0&&(o=t),void 0!==a&&(t=n.indexOf(a))>=0&&(s=t),e.minIndex=o,e.maxIndex=s,e.min=n[o],e.max=n[s]},buildTicks:function(){var t=this,e=t._getLabels(),n=t.minIndex,r=t.maxIndex;t.ticks=0===n&&r===e.length-1?e:e.slice(n,r+1)},getLabelForIndex:function(t,e){var n=this,r=n.chart;return r.getDatasetMeta(e).controller._getValueScaleId()===n.id?n.getRightValue(r.data.datasets[e].data[t]):n._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;gr.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var r,i,a,o=this;return yr(e)||yr(n)||(t=o.chart.data.datasets[n].data[e]),yr(t)||(r=o.isHorizontal()?t.x:t.y),(void 0!==r||void 0!==t&&isNaN(e))&&(i=o._getLabels(),t=st.valueOrDefault(r,t),e=-1!==(a=i.indexOf(t))?a:e,isNaN(e)&&(e=t)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=this,n=Math.round(e._startValue+e.getDecimalForPixel(t)*e._valueRange);return Math.min(Math.max(n,0),e.ticks.length-1)},getBasePixel:function(){return this.bottom}}),zr=Ar;_r._defaults=zr;var Or=st.noop,wr=st.isNullOrUndef;function xr(t,e){var n,r,i,a,o=[],s=1e-14,c=t.stepSize,l=c||1,u=t.maxTicks-1,f=t.min,d=t.max,p=t.precision,h=e.min,M=e.max,b=st.niceNum((M-h)/u/l)*l;if(bu&&(b=st.niceNum(a*b/u/l)*l),c||wr(p)?n=Math.pow(10,st._decimalPlaces(b)):(n=Math.pow(10,p),b=Math.ceil(b*n)/n),r=Math.floor(h/b)*b,i=Math.ceil(M/b)*b,c&&(!wr(f)&&st.almostWhole(f/b,b/1e3)&&(r=f),!wr(d)&&st.almostWhole(d/b,b/1e3)&&(i=d)),a=(i-r)/b,a=st.almostEquals(a,Math.round(a),b/1e3)?Math.round(a):Math.ceil(a),r=Math.round(r*n)/n,i=Math.round(i*n)/n,o.push(wr(f)?r:f);for(var v=1;v0&&r>0&&(t.min=0)}var i=void 0!==e.min||void 0!==e.suggestedMin,a=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),i!==a&&t.min>=t.max&&(i?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this,n=e.options.ticks,r=n.stepSize,i=n.maxTicksLimit;return r?t=Math.ceil(e.max/r)-Math.floor(e.min/r)+1:(t=e._computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Or,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:st.valueOrDefault(e.fixedStepSize,e.stepSize)},i=t.ticks=xr(r,t);t.handleDirectionalChanges(),t.max=st.max(i),t.min=st.min(i),e.reverse?(i.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),gr.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,n=e.getTicks(),r=e.min,i=e.max;gr.prototype._configure.call(e),e.options.offset&&n.length&&(r-=t=(i-r)/Math.max(n.length-1,1)/2,i+=t),e._startValue=r,e._endValue=i,e._valueRange=i-r}}),Nr={position:"left",ticks:{callback:Zn.formatters.linear}},Tr=0,Cr=1;function qr(t,e,n){var r=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[r]&&(t[r]={pos:[],neg:[]}),t[r]}function Sr(t,e,n,r){var i,a,o=t.options,s=qr(e,o.stacked,n),c=s.pos,l=s.neg,u=r.length;for(i=0;ie.length-1?null:this.getPixelForValue(e[t])}}),Wr=Nr;Er._defaults=Wr;var Br=st.valueOrDefault,Dr=st.math.log10;function Xr(t,e){var n,r,i=[],a=Br(t.min,Math.pow(10,Math.floor(Dr(e.min)))),o=Math.floor(Dr(e.max)),s=Math.ceil(e.max/Math.pow(10,o));0===a?(n=Math.floor(Dr(e.minNotZero)),r=Math.floor(e.minNotZero/Math.pow(10,n)),i.push(a),a=r*Math.pow(10,n)):(n=Math.floor(Dr(a)),r=Math.floor(a/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{i.push(a),10==++r&&(r=1,c=++n>=0?1:c),a=Math.round(r*Math.pow(10,n)*c)/c}while(n=0?t:e}var jr=gr.extend({determineDataLimits:function(){var t,e,n,r,i,a,o=this,s=o.options,c=o.chart,l=c.data.datasets,u=o.isHorizontal();function f(t){return u?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var d=s.stacked;if(void 0===d)for(t=0;t0){var e=st.min(t),n=st.max(t);o.min=Math.min(o.min,e),o.max=Math.max(o.max,n)}}))}else for(t=0;t0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(Dr(t.max))):t.minNotZero=n)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),r={min:Rr(e.min),max:Rr(e.max)},i=t.ticks=Xr(r,t);t.max=st.max(i),t.min=st.min(i),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),gr.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(Dr(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;gr.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=Br(t.options.ticks.fontSize,Q.global.defaultFontSize)/t._length),t._startValue=Dr(e),t._valueOffset=n,t._valueRange=(Dr(t.max)-Dr(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(Dr(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),Ir=Pr;jr._defaults=Ir;var Fr=st.valueOrDefault,Hr=st.valueAtIndexOrDefault,$r=st.options.resolve,Ur={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Zn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Vr(t){var e=t.ticks;return e.display&&t.display?Fr(e.fontSize,Q.global.defaultFontSize)+2*e.backdropPaddingY:0}function Yr(t,e,n){return st.isArray(n)?{w:st.longestText(t,t.font,n),h:n.length*e}:{w:t.measureText(n).width,h:e}}function Gr(t,e,n,r,i){return t===r||t===i?{start:e-n/2,end:e+n/2}:ti?{start:e-n,end:e}:{start:e,end:e+n}}function Jr(t){var e,n,r,i=st.options._parseFont(t.options.pointLabels),a={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=i.string,t._pointLabelSizes=[];var s=t.chart.data.labels.length;for(e=0;ea.r&&(a.r=u.end,o.r=c),f.starta.b&&(a.b=f.end,o.b=c)}t.setReductions(t.drawingArea,a,o)}function Kr(t){return 0===t||180===t?"center":t<180?"left":"right"}function Qr(t,e,n,r){var i,a,o=n.y+r/2;if(st.isArray(e))for(i=0,a=e.length;i270||t<90)&&(n.y-=e.h)}function ti(t){var e=t.ctx,n=t.options,r=n.pointLabels,i=Vr(n),a=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=st.options._parseFont(r);e.save(),e.font=o.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var c=0===s?i/2:0,l=t.getPointPosition(s,a+c+5),u=Hr(r.fontColor,s,Q.global.defaultFontColor);e.fillStyle=u;var f=t.getIndexAngle(s),d=st.toDegrees(f);e.textAlign=Kr(d),Zr(d,t._pointLabelSizes[s],l),Qr(e,t.pointLabels[s],l,o.lineHeight)}e.restore()}function ei(t,e,n,r){var i,a=t.ctx,o=e.circular,s=t.chart.data.labels.length,c=Hr(e.color,r-1),l=Hr(e.lineWidth,r-1);if((o||s)&&c&&l){if(a.save(),a.strokeStyle=c,a.lineWidth=l,a.setLineDash&&(a.setLineDash(e.borderDash||[]),a.lineDashOffset=e.borderDashOffset||0),a.beginPath(),o)a.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{i=t.getPointPosition(0,n),a.moveTo(i.x,i.y);for(var u=1;u0&&r>0?n:0)},_drawGrid:function(){var t,e,n,r=this,i=r.ctx,a=r.options,o=a.gridLines,s=a.angleLines,c=Fr(s.lineWidth,o.lineWidth),l=Fr(s.color,o.color);if(a.pointLabels.display&&ti(r),o.display&&st.each(r.ticks,(function(t,n){0!==n&&(e=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),ei(r,o,e,n))})),s.display&&c&&l){for(i.save(),i.lineWidth=c,i.strokeStyle=l,i.setLineDash&&(i.setLineDash($r([s.borderDash,o.borderDash,[]])),i.lineDashOffset=$r([s.borderDashOffset,o.borderDashOffset,0])),t=r.chart.data.labels.length-1;t>=0;t--)e=r.getDistanceFromCenterForValue(a.ticks.reverse?r.min:r.max),n=r.getPointPosition(t,e),i.beginPath(),i.moveTo(r.xCenter,r.yCenter),i.lineTo(n.x,n.y),i.stroke();i.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var r,i,a=t.getIndexAngle(0),o=st.options._parseFont(n),s=Fr(n.fontColor,Q.global.defaultFontColor);e.save(),e.font=o.string,e.translate(t.xCenter,t.yCenter),e.rotate(a),e.textAlign="center",e.textBaseline="middle",st.each(t.ticks,(function(a,c){(0!==c||n.reverse)&&(r=t.getDistanceFromCenterForValue(t.ticksAsNumbers[c]),n.showLabelBackdrop&&(i=e.measureText(a).width,e.fillStyle=n.backdropColor,e.fillRect(-i/2-n.backdropPaddingX,-r-o.size/2-n.backdropPaddingY,i+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyle=s,e.fillText(a,0,-r))})),e.restore()}},_drawTitle:st.noop}),ii=Ur;ri._defaults=ii;var ai=st._deprecated,oi=st.options.resolve,si=st.valueOrDefault,ci=Number.MIN_SAFE_INTEGER||-9007199254740991,li=Number.MAX_SAFE_INTEGER||9007199254740991,ui={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},fi=Object.keys(ui);function di(t,e){return t-e}function pi(t){var e,n,r,i={},a=[];for(e=0,n=t.length;ee&&s=0&&o<=s;){if(i=t[(r=o+s>>1)-1]||null,a=t[r],!i)return{lo:null,hi:a};if(a[e]n))return{lo:i,hi:a};s=r-1}}return{lo:a,hi:null}}function mi(t,e,n,r){var i=vi(t,e,n),a=i.lo?i.hi?i.lo:t[t.length-2]:t[0],o=i.lo?i.hi?i.hi:t[t.length-1]:t[1],s=o[e]-a[e],c=s?(n-a[e])/s:0,l=(o[r]-a[r])*c;return a[r]+l}function gi(t,e){var n=t._adapter,r=t.options.time,i=r.parser,a=i||r.format,o=e;return"function"==typeof i&&(o=i(o)),st.isFinite(o)||(o="string"==typeof a?n.parse(o,a):n.parse(o)),null!==o?+o:(i||"function"!=typeof a||(o=a(e),st.isFinite(o)||(o=n.parse(o))),o)}function yi(t,e){if(st.isNullOrUndef(e))return null;var n=t.options.time,r=gi(t,t.getRightValue(e));return null===r||n.round&&(r=+t._adapter.startOf(r,n.round)),r}function Ai(t,e,n,r){var i,a,o,s=fi.length;for(i=fi.indexOf(t);i=fi.indexOf(n);a--)if(o=fi[a],ui[o].common&&t._adapter.diff(i,r,o)>=e-1)return o;return fi[n?fi.indexOf(n):0]}function zi(t){for(var e=fi.indexOf(t)+1,n=fi.length;e1e5*l)throw e+" and "+n+" are too far apart with stepSize of "+l+" "+c;for(i=f;i=0&&(e[a].major=!0);return e}function Li(t,e,n){var r,i,a=[],o={},s=e.length;for(r=0;r1?pi(h).sort(di):h.sort(di),d=Math.min(d,h[0]),p=Math.max(p,h[h.length-1])),d=yi(s,hi(u))||d,p=yi(s,Mi(u))||p,d=d===li?+l.startOf(Date.now(),f):d,p=p===ci?+l.endOf(Date.now(),f)+1:p,s.min=Math.min(d,p),s.max=Math.max(d+1,p),s._table=[],s._timestamps={data:h,datasets:M,labels:b}},buildTicks:function(){var t,e,n,r=this,i=r.min,a=r.max,o=r.options,s=o.ticks,c=o.time,l=r._timestamps,u=[],f=r.getLabelCapacity(i),d=s.source,p=o.distribution;for(l="data"===d||"auto"===d&&"series"===p?l.data:"labels"===d?l.labels:Oi(r,i,a,f),"ticks"===o.bounds&&l.length&&(i=l[0],a=l[l.length-1]),i=yi(r,hi(o))||i,a=yi(r,Mi(o))||a,t=0,e=l.length;t=i&&n<=a&&u.push(n);return r.min=i,r.max=a,r._unit=c.unit||(s.autoSkip?Ai(c.minUnit,r.min,r.max,f):_i(r,u.length,c.minUnit,r.min,r.max)),r._majorUnit=s.major.enabled&&"year"!==r._unit?zi(r._unit):void 0,r._table=bi(r._timestamps.data,i,a,p),r._offsets=wi(r._table,u,i,a,o),s.reverse&&u.reverse(),Li(r,u,r._majorUnit)},getLabelForIndex:function(t,e){var n=this,r=n._adapter,i=n.chart.data,a=n.options.time,o=i.labels&&t=0&&t0?s:1}}),Ci=Ni;Ti._defaults=Ci;var qi={category:_r,linear:Er,logarithmic:jr,radialLinear:ri,time:Ti},Si={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Qn._date.override("function"==typeof t?{_id:"moment",formats:function(){return Si},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,r){return t(e).add(n,r).valueOf()},diff:function(e,n,r){return t(e).diff(t(n),r)},startOf:function(e,n,r){return e=t(e),"isoWeek"===n?e.isoWeekday(r).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),Q._set("global",{plugins:{filler:{propagate:!0}}});var ki={dataset:function(t){var e=t.fill,n=t.chart,r=n.getDatasetMeta(e),i=r&&n.isDatasetVisible(e)&&r.dataset._children||[],a=i.length||0;return a?function(t,e){return e=n)&&r;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function Wi(t){var e,n=t.el._model||{},r=t.el._scale||{},i=t.fill,a=null;if(isFinite(i))return null;if("start"===i?a=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?a=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?a=n.scaleZero:r.getBasePixel&&(a=r.getBasePixel()),null!=a){if(void 0!==a.x&&void 0!==a.y)return a;if(st.isFinite(a))return{x:(e=r.isHorizontal())?a:null,y:e?null:a}}return null}function Bi(t){var e,n,r,i,a,o=t.el._scale,s=o.options,c=o.chart.data.labels.length,l=t.fill,u=[];if(!c)return null;for(e=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,r=o.getPointPositionForValue(0,e),i=0;i0;--a)st.canvas.lineTo(t,n[a],n[a-1],!0);else for(o=n[0].cx,s=n[0].cy,c=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),a=i-1;a>0;--a)t.arc(o,s,c,n[a].angle,n[a-1].angle,!0)}}function Ii(t,e,n,r,i,a){var o,s,c,l,u,f,d,p,h=e.length,M=r.spanGaps,b=[],v=[],m=0,g=0;for(t.beginPath(),o=0,s=h;o=0;--n)(e=c[n].$filler)&&e.visible&&(i=(r=e.el)._view,a=r._children||[],o=e.mapper,s=i.backgroundColor||Q.global.defaultColor,o&&s&&a.length&&(st.canvas.clipArea(l,t.chartArea),Ii(l,a,o,i,s,r._loop),st.canvas.unclipArea(l)))}},Hi=st.rtl.getRtlAdapter,$i=st.noop,Ui=st.valueOrDefault;function Vi(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}Q._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},r=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var i=n.controller.getStyle(r?0:void 0);return{text:e[n.index].label,fillStyle:i.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:i.borderCapStyle,lineDash:i.borderDash,lineDashOffset:i.borderDashOffset,lineJoin:i.borderJoinStyle,lineWidth:i.borderWidth,strokeStyle:i.borderColor,pointStyle:i.pointStyle,rotation:i.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,r,i=document.createElement("ul"),a=t.data.datasets;for(i.setAttribute("class",t.id+"-legend"),e=0,n=a.length;ec.width)&&(f+=o+n.padding,u[u.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:r,height:o},u[u.length-1]+=r+n.padding})),c.height+=f}else{var d=n.padding,p=t.columnWidths=[],h=t.columnHeights=[],M=n.padding,b=0,v=0;st.each(t.legendItems,(function(t,e){var r=Vi(n,o)+o/2+i.measureText(t.text).width;e>0&&v+o+2*d>c.height&&(M+=b+n.padding,p.push(b),h.push(v),b=0,v=0),b=Math.max(b,r),v+=o+d,s[e]={left:0,top:0,width:r,height:o}})),M+=b,p.push(b),h.push(v),c.width+=M}t.width=c.width,t.height=c.height}else t.width=c.width=t.height=c.height=0},afterFit:$i,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,r=Q.global,i=r.defaultColor,a=r.elements.line,o=t.height,s=t.columnHeights,c=t.width,l=t.lineWidths;if(e.display){var u,f=Hi(e.rtl,t.left,t.minSize.width),d=t.ctx,p=Ui(n.fontColor,r.defaultFontColor),h=st.options._parseFont(n),M=h.size;d.textAlign=f.textAlign("left"),d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=p,d.fillStyle=p,d.font=h.string;var b=Vi(n,M),v=t.legendHitBoxes,m=function(t,e,r){if(!(isNaN(b)||b<=0)){d.save();var o=Ui(r.lineWidth,a.borderWidth);if(d.fillStyle=Ui(r.fillStyle,i),d.lineCap=Ui(r.lineCap,a.borderCapStyle),d.lineDashOffset=Ui(r.lineDashOffset,a.borderDashOffset),d.lineJoin=Ui(r.lineJoin,a.borderJoinStyle),d.lineWidth=o,d.strokeStyle=Ui(r.strokeStyle,i),d.setLineDash&&d.setLineDash(Ui(r.lineDash,a.borderDash)),n&&n.usePointStyle){var s=b*Math.SQRT2/2,c=f.xPlus(t,b/2),l=e+M/2;st.canvas.drawPoint(d,r.pointStyle,s,c,l,r.rotation)}else d.fillRect(f.leftForLtr(t,b),e,b,M),0!==o&&d.strokeRect(f.leftForLtr(t,b),e,b,M);d.restore()}},g=function(t,e,n,r){var i=M/2,a=f.xPlus(t,b+i),o=e+i;d.fillText(n.text,a,o),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(a,o),d.lineTo(f.xPlus(a,r),o),d.stroke())},y=function(t,r){switch(e.align){case"start":return n.padding;case"end":return t-r;default:return(t-r+n.padding)/2}},A=t.isHorizontal();u=A?{x:t.left+y(c,l[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+y(o,s[0]),line:0},st.rtl.overrideTextDirection(t.ctx,e.textDirection);var _=M+n.padding;st.each(t.legendItems,(function(e,r){var i=d.measureText(e.text).width,a=b+M/2+i,p=u.x,h=u.y;f.setWidth(t.minSize.width),A?r>0&&p+a+n.padding>t.left+t.minSize.width&&(h=u.y+=_,u.line++,p=u.x=t.left+y(c,l[u.line])):r>0&&h+_>t.top+t.minSize.height&&(p=u.x=p+t.columnWidths[u.line]+n.padding,u.line++,h=u.y=t.top+y(o,s[u.line]));var z=f.x(p);m(z,h,e),v[r].left=f.leftForLtr(z,v[r].width),v[r].top=h,g(z,h,e,i),A?u.x+=a+n.padding:u.y+=_})),st.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,r,i,a=this;if(t>=a.left&&t<=a.right&&e>=a.top&&e<=a.bottom)for(i=a.legendHitBoxes,n=0;n=(r=i[n]).left&&t<=r.left+r.width&&e>=r.top&&e<=r.top+r.height)return a.legendItems[n];return null},handleEvent:function(t){var e,n=this,r=n.options,i="mouseup"===t.type?"click":t.type;if("mousemove"===i){if(!r.onHover&&!r.onLeave)return}else{if("click"!==i)return;if(!r.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===i?e&&r.onClick&&r.onClick.call(n,t.native,e):(r.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&r.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),r.onHover&&e&&r.onHover.call(n,t.native,e))}});function Gi(t,e){var n=new Yi({ctx:t.ctx,options:e,chart:t});$e.configure(t,n,e),$e.addBox(t,n),t.legend=n}var Ji={id:"legend",_element:Yi,beforeInit:function(t){var e=t.options.legend;e&&Gi(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(st.mergeIf(e,Q.global.legend),n?($e.configure(t,n,e),n.options=e):Gi(t,e)):n&&($e.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},Ki=st.noop;Q._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Qi=Mt.extend({initialize:function(t){var e=this;st.extend(e,t),e.legendHitBoxes=[]},beforeUpdate:Ki,update:function(t,e,n){var r=this;return r.beforeUpdate(),r.maxWidth=t,r.maxHeight=e,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:Ki,beforeSetDimensions:Ki,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Ki,beforeBuildLabels:Ki,buildLabels:Ki,afterBuildLabels:Ki,beforeFit:Ki,fit:function(){var t,e=this,n=e.options,r=e.minSize={},i=e.isHorizontal();n.display?(t=(st.isArray(n.text)?n.text.length:1)*st.options._parseFont(n).lineHeight+2*n.padding,e.width=r.width=i?e.maxWidth:t,e.height=r.height=i?t:e.maxHeight):e.width=r.width=e.height=r.height=0},afterFit:Ki,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var r,i,a,o=st.options._parseFont(n),s=o.lineHeight,c=s/2+n.padding,l=0,u=t.top,f=t.left,d=t.bottom,p=t.right;e.fillStyle=st.valueOrDefault(n.fontColor,Q.global.defaultFontColor),e.font=o.string,t.isHorizontal()?(i=f+(p-f)/2,a=u+c,r=p-f):(i="left"===n.position?f+c:p-c,a=u+(d-u)/2,r=d-u,l=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(i,a),e.rotate(l),e.textAlign="center",e.textBaseline="middle";var h=n.text;if(st.isArray(h))for(var M=0,b=0;b{"use strict";n.d(e,{Z:()=>a});var r=n(3645),i=n.n(r)()((function(t){return t[1]}));i.push([t.id,"#alertModal{background:rgba(0,0,0,.5);z-index:99999}#alertModal svg{display:block;height:4rem;margin:0 auto;width:4rem}",""]);const a=i},3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var a=0;a0&&e-1 in t)}O.fn=O.prototype={jquery:z,constructor:O,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=O.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return O.each(this,t)},map:function(t){return this.pushStack(O.map(this,(function(e,n){return t.call(e,n,e)})))},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(O.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(O.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),$=new RegExp(D+"|>"),U=new RegExp(R),V=new RegExp("^"+X+"$"),Y={ID:new RegExp("^#("+X+")"),CLASS:new RegExp("^\\.("+X+")"),TAG:new RegExp("^("+X+"|[*])"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},at=function(){d()},ot=yt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{k.apply(C=E.call(A.childNodes),A.childNodes),C[A.childNodes.length].nodeType}catch(t){k={apply:C.length?function(t,e){S.apply(t,E.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function st(t,e,r,i){var a,s,l,u,f,h,v,m=e&&e.ownerDocument,A=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==A&&9!==A&&11!==A)return r;if(!i&&(d(e),e=e||p,M)){if(11!==A&&(f=Z.exec(t)))if(a=f[1]){if(9===A){if(!(l=e.getElementById(a)))return r;if(l.id===a)return r.push(l),r}else if(m&&(l=m.getElementById(a))&&g(e,l)&&l.id===a)return r.push(l),r}else{if(f[2])return k.apply(r,e.getElementsByTagName(t)),r;if((a=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return k.apply(r,e.getElementsByClassName(a)),r}if(n.qsa&&!L[t+" "]&&(!b||!b.test(t))&&(1!==A||"object"!==e.nodeName.toLowerCase())){if(v=t,m=e,1===A&&($.test(t)||H.test(t))){for((m=tt.test(t)&&vt(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(rt,it):e.setAttribute("id",u=y)),s=(h=o(t)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+gt(h[s]);v=h.join(",")}try{return k.apply(r,m.querySelectorAll(v)),r}catch(e){L(t,!0)}finally{u===y&&e.removeAttribute("id")}}}return c(t.replace(I,"$1"),e,r,i)}function ct(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function lt(t){return t[y]=!0,t}function ut(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ft(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function dt(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function pt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function Mt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ot(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function bt(t){return lt((function(e){return e=+e,lt((function(n,r){for(var i,a=t([],n.length,e),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))}))}))}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=st.support={},a=st.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!G.test(e||n&&n.nodeName||"HTML")},d=st.setDocument=function(t){var e,i,o=t?t.ownerDocument||t:A;return o!=p&&9===o.nodeType&&o.documentElement?(h=(p=o).documentElement,M=!a(p),A!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",at,!1):i.attachEvent&&i.attachEvent("onunload",at)),n.scope=ut((function(t){return h.appendChild(t).appendChild(p.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=ut((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ut((function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ut((function(t){return h.appendChild(t).id=y,!p.getElementsByName||!p.getElementsByName(y).length})),n.getById?(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&M){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&M){var n,r,i,a=e.getElementById(t);if(a){if((n=a.getAttributeNode("id"))&&n.value===t)return[a];for(i=e.getElementsByName(t),r=0;a=i[r++];)if((n=a.getAttributeNode("id"))&&n.value===t)return[a]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,a=e.getElementsByTagName(t);if("*"===t){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&M)return e.getElementsByClassName(t)},v=[],b=[],(n.qsa=Q.test(p.querySelectorAll))&&(ut((function(t){var e;h.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&b.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll("[selected]").length||b.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+B+")"),t.querySelectorAll("[id~="+y+"-]").length||b.push("~="),(e=p.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||b.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll(":checked").length||b.push(":checked"),t.querySelectorAll("a#"+y+"+*").length||b.push(".#.+[+~]"),t.querySelectorAll("\\\f"),b.push("[\\r\\n\\f]")})),ut((function(t){t.innerHTML="";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&b.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&b.push(":enabled",":disabled"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&b.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),b.push(",.*:")}))),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ut((function(t){n.disconnectedMatch=m.call(t,"*"),m.call(t,"[s!='']:x"),v.push("!=",R)})),b=b.length&&new RegExp(b.join("|")),v=v.length&&new RegExp(v.join("|")),e=Q.test(h.compareDocumentPosition),g=e||Q.test(h.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},N=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t==p||t.ownerDocument==A&&g(A,t)?-1:e==p||e.ownerDocument==A&&g(A,e)?1:u?W(u,t)-W(u,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,a=e.parentNode,o=[t],s=[e];if(!i||!a)return t==p?-1:e==p?1:i?-1:a?1:u?W(u,t)-W(u,e):0;if(i===a)return dt(t,e);for(n=t;n=n.parentNode;)o.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?dt(o[r],s[r]):o[r]==A?-1:s[r]==A?1:0},p):p},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if(d(t),n.matchesSelector&&M&&!L[e+" "]&&(!v||!v.test(e))&&(!b||!b.test(e)))try{var r=m.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){L(e,!0)}return st(e,p,null,[t]).length>0},st.contains=function(t,e){return(t.ownerDocument||t)!=p&&d(t),g(t,e)},st.attr=function(t,e){(t.ownerDocument||t)!=p&&d(t);var i=r.attrHandle[e.toLowerCase()],a=i&&T.call(r.attrHandle,e.toLowerCase())?i(t,e,!M):void 0;return void 0!==a?a:n.attributes||!M?t.getAttribute(e):(a=t.getAttributeNode(e))&&a.specified?a.value:null},st.escape=function(t){return(t+"").replace(rt,it)},st.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},st.uniqueSort=function(t){var e,r=[],i=0,a=0;if(f=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(N),f){for(;e=t[a++];)e===t[a]&&(i=r.push(a));for(;i--;)t.splice(r[i],1)}return u=null,t},i=st.getText=function(t){var e,n="",r=0,a=t.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===a||4===a)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},r=st.selectors={cacheLength:50,createPseudo:lt,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||st.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&st.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return Y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&U.test(n)&&(e=o(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=O[t+" "];return e||(e=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+t+"("+D+"|$)"))&&O(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(r){var i=st.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(j," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var a="nth"!==t.slice(0,3),o="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,c){var l,u,f,d,p,h,M=a!==o?"nextSibling":"previousSibling",b=e.parentNode,v=s&&e.nodeName.toLowerCase(),m=!c&&!s,g=!1;if(b){if(a){for(;M;){for(d=e;d=d[M];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=M="only"===t&&!h&&"nextSibling"}return!0}if(h=[o?b.firstChild:b.lastChild],o&&m){for(g=(p=(l=(u=(f=(d=b)[y]||(d[y]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]||[])[0]===_&&l[1])&&l[2],d=p&&b.childNodes[p];d=++p&&d&&d[M]||(g=p=0)||h.pop();)if(1===d.nodeType&&++g&&d===e){u[t]=[_,p,g];break}}else if(m&&(g=p=(l=(u=(f=(d=e)[y]||(d[y]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]||[])[0]===_&&l[1]),!1===g)for(;(d=++p&&d&&d[M]||(g=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++g||(m&&((u=(f=d[y]||(d[y]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]=[_,g]),d!==e)););return(g-=i)===r||g%r==0&&g/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||st.error("unsupported pseudo: "+t);return i[y]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?lt((function(t,n){for(var r,a=i(t,e),o=a.length;o--;)t[r=W(t,a[o])]=!(n[r]=a[o])})):function(t){return i(t,0,n)}):i}},pseudos:{not:lt((function(t){var e=[],n=[],r=s(t.replace(I,"$1"));return r[y]?lt((function(t,e,n,i){for(var a,o=r(t,null,i,[]),s=t.length;s--;)(a=o[s])&&(t[s]=!(e[s]=a))})):function(t,i,a){return e[0]=t,r(e,null,a,n),e[0]=null,!n.pop()}})),has:lt((function(t){return function(e){return st(t,e).length>0}})),contains:lt((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||i(e)).indexOf(t)>-1}})),lang:lt((function(t){return V.test(t||"")||st.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=M?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:Mt(!1),disabled:Mt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return J.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:bt((function(){return[0]})),last:bt((function(t,e){return[e-1]})),eq:bt((function(t,e,n){return[n<0?n+e:n]})),even:bt((function(t,e){for(var n=0;ne?e:n;--r>=0;)t.push(r);return t})),gt:bt((function(t,e,n){for(var r=n<0?n+e:n;++r1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function _t(t,e,n,r,i){for(var a,o=[],s=0,c=t.length,l=null!=e;s-1&&(a[l]=!(o[l]=f))}}else v=_t(v===o?v.splice(h,v.length):v),i?i(null,o,v,c):k.apply(o,v)}))}function Ot(t){for(var e,n,i,a=t.length,o=r.relative[t[0].type],s=o||r.relative[" "],c=o?1:0,u=yt((function(t){return t===e}),s,!0),f=yt((function(t){return W(e,t)>-1}),s,!0),d=[function(t,n,r){var i=!o&&(r||n!==l)||((e=n).nodeType?u(t,n,r):f(t,n,r));return e=null,i}];c1&&At(d),c>1&>(t.slice(0,c-1).concat({value:" "===t[c-2].type?"*":""})).replace(I,"$1"),n,c0,i=t.length>0,a=function(a,o,s,c,u){var f,h,b,v=0,m="0",g=a&&[],y=[],A=l,z=a||i&&r.find.TAG("*",u),O=_+=null==A?1:Math.random()||.1,w=z.length;for(u&&(l=o==p||o||u);m!==w&&null!=(f=z[m]);m++){if(i&&f){for(h=0,o||f.ownerDocument==p||(d(f),s=!M);b=t[h++];)if(b(f,o||p,s)){c.push(f);break}u&&(_=O)}n&&((f=!b&&f)&&v--,a&&g.push(f))}if(v+=m,n&&m!==v){for(h=0;b=e[h++];)b(g,y,o,s);if(a){if(v>0)for(;m--;)g[m]||y[m]||(y[m]=q.call(c));y=_t(y)}k.apply(c,y),u&&!a&&y.length>0&&v+e.length>1&&st.uniqueSort(c)}return u&&(_=O,l=A),g};return n?lt(a):a}(a,i)),s.selector=t}return s},c=st.select=function(t,e,n,i){var a,c,l,u,f,d="function"==typeof t&&t,p=!i&&o(t=d.selector||t);if(n=n||[],1===p.length){if((c=p[0]=p[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===e.nodeType&&M&&r.relative[c[1].type]){if(!(e=(r.find.ID(l.matches[0].replace(et,nt),e)||[])[0]))return n;d&&(e=e.parentNode),t=t.slice(c.shift().value.length)}for(a=Y.needsContext.test(t)?0:c.length;a--&&(l=c[a],!r.relative[u=l.type]);)if((f=r.find[u])&&(i=f(l.matches[0].replace(et,nt),tt.test(c[0].type)&&vt(e.parentNode)||e))){if(c.splice(a,1),!(t=i.length&>(c)))return k.apply(n,i),n;break}}return(d||s(t,p))(i,e,!M,n,!e||tt.test(t)&&vt(e.parentNode)||e),n},n.sortStable=y.split("").sort(N).join("")===y,n.detectDuplicates=!!f,d(),n.sortDetached=ut((function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))})),ut((function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")}))||ft("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ut((function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ft("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ut((function(t){return null==t.getAttribute("disabled")}))||ft(B,(function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null})),st}(r);O.find=x,O.expr=x.selectors,O.expr[":"]=O.expr.pseudos,O.uniqueSort=O.unique=x.uniqueSort,O.text=x.getText,O.isXMLDoc=x.isXML,O.contains=x.contains,O.escapeSelector=x.escape;var L=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&O(t).is(n))break;r.push(t)}return r},N=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},T=O.expr.match.needsContext;function C(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var q=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function S(t,e,n){return v(e)?O.grep(t,(function(t,r){return!!e.call(t,r,t)!==n})):e.nodeType?O.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?O.grep(t,(function(t){return u.call(e,t)>-1!==n})):O.filter(e,t,n)}O.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?O.find.matchesSelector(r,t)?[r]:[]:O.find.matches(t,O.grep(e,(function(t){return 1===t.nodeType})))},O.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(O(t).filter((function(){for(e=0;e1?O.uniqueSort(n):n},filter:function(t){return this.pushStack(S(this,t||[],!1))},not:function(t){return this.pushStack(S(this,t||[],!0))},is:function(t){return!!S(this,"string"==typeof t&&T.test(t)?O(t):t||[],!1).length}});var k,E=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(O.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||k,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:E.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof O?e[0]:e,O.merge(this,O.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:g,!0)),q.test(r[1])&&O.isPlainObject(e))for(r in e)v(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=g.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==n.ready?n.ready(t):t(O):O.makeArray(t,this)}).prototype=O.fn,k=O(g);var W=/^(?:parents|prev(?:Until|All))/,B={children:!0,contents:!0,next:!0,prev:!0};function D(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}O.fn.extend({has:function(t){var e=O(t,this),n=e.length;return this.filter((function(){for(var t=0;t-1:1===n.nodeType&&O.find.matchesSelector(n,t))){a.push(n);break}return this.pushStack(a.length>1?O.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?u.call(O(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(O.uniqueSort(O.merge(this.get(),O(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),O.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return L(t,"parentNode")},parentsUntil:function(t,e,n){return L(t,"parentNode",n)},next:function(t){return D(t,"nextSibling")},prev:function(t){return D(t,"previousSibling")},nextAll:function(t){return L(t,"nextSibling")},prevAll:function(t){return L(t,"previousSibling")},nextUntil:function(t,e,n){return L(t,"nextSibling",n)},prevUntil:function(t,e,n){return L(t,"previousSibling",n)},siblings:function(t){return N((t.parentNode||{}).firstChild,t)},children:function(t){return N(t.firstChild)},contents:function(t){return null!=t.contentDocument&&o(t.contentDocument)?t.contentDocument:(C(t,"template")&&(t=t.content||t),O.merge([],t.childNodes))}},(function(t,e){O.fn[t]=function(n,r){var i=O.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=O.filter(r,i)),this.length>1&&(B[t]||O.uniqueSort(i),W.test(t)&&i.reverse()),this.pushStack(i)}}));var X=/[^\x20\t\r\n\f]+/g;function P(t){return t}function R(t){throw t}function j(t,e,n,r){var i;try{t&&v(i=t.promise)?i.call(t).done(e).fail(n):t&&v(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}O.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return O.each(t.match(X)||[],(function(t,n){e[n]=!0})),e}(t):O.extend({},t);var e,n,r,i,a=[],o=[],s=-1,c=function(){for(i=i||t.once,r=e=!0;o.length;s=-1)for(n=o.shift();++s-1;)a.splice(n,1),n<=s&&s--})),this},has:function(t){return t?O.inArray(t,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=o=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=o=[],n||e||(a=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],o.push(n),e||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},O.extend({Deferred:function(t){var e=[["notify","progress",O.Callbacks("memory"),O.Callbacks("memory"),2],["resolve","done",O.Callbacks("once memory"),O.Callbacks("once memory"),0,"resolved"],["reject","fail",O.Callbacks("once memory"),O.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return O.Deferred((function(n){O.each(e,(function(e,r){var i=v(t[r[4]])&&t[r[4]];a[r[1]]((function(){var t=i&&i.apply(this,arguments);t&&v(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,i){var a=0;function o(t,e,n,i){return function(){var s=this,c=arguments,l=function(){var r,l;if(!(t=a&&(n!==R&&(s=void 0,c=[r]),e.rejectWith(s,c))}};t?u():(O.Deferred.getStackHook&&(u.stackTrace=O.Deferred.getStackHook()),r.setTimeout(u))}}return O.Deferred((function(r){e[0][3].add(o(0,r,v(i)?i:P,r.notifyWith)),e[1][3].add(o(0,r,v(t)?t:P)),e[2][3].add(o(0,r,v(n)?n:R))})).promise()},promise:function(t){return null!=t?O.extend(t,i):i}},a={};return O.each(e,(function(t,r){var o=r[2],s=r[5];i[r[1]]=o.add,s&&o.add((function(){n=s}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),o.add(r[3].fire),a[r[0]]=function(){return a[r[0]+"With"](this===a?void 0:this,arguments),this},a[r[0]+"With"]=o.fireWith})),i.promise(a),t&&t.call(a,a),a},when:function(t){var e=arguments.length,n=e,r=Array(n),i=s.call(arguments),a=O.Deferred(),o=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?s.call(arguments):n,--e||a.resolveWith(r,i)}};if(e<=1&&(j(t,a.done(o(n)).resolve,a.reject,!e),"pending"===a.state()||v(i[n]&&i[n].then)))return a.then();for(;n--;)j(i[n],o(n),a.reject);return a.promise()}});var I=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;O.Deferred.exceptionHook=function(t,e){r.console&&r.console.warn&&t&&I.test(t.name)&&r.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},O.readyException=function(t){r.setTimeout((function(){throw t}))};var F=O.Deferred();function H(){g.removeEventListener("DOMContentLoaded",H),r.removeEventListener("load",H),O.ready()}O.fn.ready=function(t){return F.then(t).catch((function(t){O.readyException(t)})),this},O.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--O.readyWait:O.isReady)||(O.isReady=!0,!0!==t&&--O.readyWait>0||F.resolveWith(g,[O]))}}),O.ready.then=F.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?r.setTimeout(O.ready):(g.addEventListener("DOMContentLoaded",H),r.addEventListener("load",H));var $=function(t,e,n,r,i,a,o){var s=0,c=t.length,l=null==n;if("object"===_(n))for(s in i=!0,n)$(t,e,s,n[s],!0,a,o);else if(void 0!==r&&(i=!0,v(r)||(o=!0),l&&(o?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(O(t),n)})),e))for(;s1,null,!0)},removeData:function(t){return this.each((function(){Z.remove(this,t)}))}}),O.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=Q.get(t,e),n&&(!r||Array.isArray(n)?r=Q.access(t,e,O.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=O.queue(t,e),r=n.length,i=n.shift(),a=O._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete a.stop,i.call(t,(function(){O.dequeue(t,e)}),a)),!r&&a&&a.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Q.get(t,n)||Q.access(t,n,{empty:O.Callbacks("once memory").add((function(){Q.remove(t,[e+"queue",n])}))})}}),O.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]*)/i,mt=/^$|^module$|\/(?:java|ecma)script/i;ht=g.createDocumentFragment().appendChild(g.createElement("div")),(Mt=g.createElement("input")).setAttribute("type","radio"),Mt.setAttribute("checked","checked"),Mt.setAttribute("name","t"),ht.appendChild(Mt),b.checkClone=ht.cloneNode(!0).cloneNode(!0).lastChild.checked,ht.innerHTML="",b.noCloneChecked=!!ht.cloneNode(!0).lastChild.defaultValue,ht.innerHTML="",b.option=!!ht.lastChild;var gt={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function yt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&C(t,e)?O.merge([t],n):n}function At(t,e){for(var n=0,r=t.length;n",""]);var _t=/<|&#?\w+;/;function zt(t,e,n,r,i){for(var a,o,s,c,l,u,f=e.createDocumentFragment(),d=[],p=0,h=t.length;p-1)i&&i.push(a);else if(l=st(a),o=yt(f.appendChild(a),"script"),l&&At(o),n)for(u=0;a=o[u++];)mt.test(a.type||"")&&n.push(a);return f}var Ot=/^([^.]*)(?:\.(.+)|)/;function wt(){return!0}function xt(){return!1}function Lt(t,e){return t===function(){try{return g.activeElement}catch(t){}}()==("focus"===e)}function Nt(t,e,n,r,i,a){var o,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=void 0),e)Nt(t,s,n,r,e[s],a);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=xt;else if(!i)return t;return 1===a&&(o=i,i=function(t){return O().off(t),o.apply(this,arguments)},i.guid=o.guid||(o.guid=O.guid++)),t.each((function(){O.event.add(this,e,i,r,n)}))}function Tt(t,e,n){n?(Q.set(t,e,!1),O.event.add(t,e,{namespace:!1,handler:function(t){var r,i,a=Q.get(this,e);if(1&t.isTrigger&&this[e]){if(a.length)(O.event.special[e]||{}).delegateType&&t.stopPropagation();else if(a=s.call(arguments),Q.set(this,e,a),r=n(this,e),this[e](),a!==(i=Q.get(this,e))||r?Q.set(this,e,!1):i={},a!==i)return t.stopImmediatePropagation(),t.preventDefault(),i&&i.value}else a.length&&(Q.set(this,e,{value:O.event.trigger(O.extend(a[0],O.Event.prototype),a.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Q.get(t,e)&&O.event.add(t,e,wt)}O.event={global:{},add:function(t,e,n,r,i){var a,o,s,c,l,u,f,d,p,h,M,b=Q.get(t);if(J(t))for(n.handler&&(n=(a=n).handler,i=a.selector),i&&O.find.matchesSelector(ot,i),n.guid||(n.guid=O.guid++),(c=b.events)||(c=b.events=Object.create(null)),(o=b.handle)||(o=b.handle=function(e){return void 0!==O&&O.event.triggered!==e.type?O.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(X)||[""]).length;l--;)p=M=(s=Ot.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=O.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=O.event.special[p]||{},u=O.extend({type:p,origType:M,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&O.expr.match.needsContext.test(i),namespace:h.join(".")},a),(d=c[p])||((d=c[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,o)||t.addEventListener&&t.addEventListener(p,o)),f.add&&(f.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),O.event.global[p]=!0)},remove:function(t,e,n,r,i){var a,o,s,c,l,u,f,d,p,h,M,b=Q.hasData(t)&&Q.get(t);if(b&&(c=b.events)){for(l=(e=(e||"").match(X)||[""]).length;l--;)if(p=M=(s=Ot.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),p){for(f=O.event.special[p]||{},d=c[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=d.length;a--;)u=d[a],!i&&M!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(a,1),u.selector&&d.delegateCount--,f.remove&&f.remove.call(t,u));o&&!d.length&&(f.teardown&&!1!==f.teardown.call(t,h,b.handle)||O.removeEvent(t,p,b.handle),delete c[p])}else for(p in c)O.event.remove(t,p+e[l],n,r,!0);O.isEmptyObject(c)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,a,o,s=new Array(arguments.length),c=O.event.fix(t),l=(Q.get(this,"events")||Object.create(null))[c.type]||[],u=O.event.special[c.type]||{};for(s[0]=c,e=1;e=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(a=[],o={},n=0;n-1:O.find(i,this,null,[l]).length),o[i]&&a.push(r);a.length&&s.push({elem:l,handlers:a})}return l=this,c\s*$/g;function kt(t,e){return C(t,"table")&&C(11!==e.nodeType?e:e.firstChild,"tr")&&O(t).children("tbody")[0]||t}function Et(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Wt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Bt(t,e){var n,r,i,a,o,s;if(1===e.nodeType){if(Q.hasData(t)&&(s=Q.get(t).events))for(i in Q.remove(e,"handle events"),s)for(n=0,r=s[i].length;n1&&"string"==typeof h&&!b.checkClone&&qt.test(h))return t.each((function(i){var a=t.eq(i);M&&(e[0]=h.call(this,i,a.html())),Xt(a,e,n,r)}));if(d&&(a=(i=zt(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=a),a||r)){for(s=(o=O.map(yt(i,"script"),Et)).length;f0&&At(o,!c&&yt(t,"script")),s},cleanData:function(t){for(var e,n,r,i=O.event.special,a=0;void 0!==(n=t[a]);a++)if(J(n)){if(e=n[Q.expando]){if(e.events)for(r in e.events)i[r]?O.event.remove(n,r):O.removeEvent(n,r,e.handle);n[Q.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),O.fn.extend({detach:function(t){return Pt(this,t,!0)},remove:function(t){return Pt(this,t)},text:function(t){return $(this,(function(t){return void 0===t?O.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Xt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||kt(this,t).appendChild(t)}))},prepend:function(){return Xt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=kt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Xt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Xt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(O.cleanData(yt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return O.clone(this,t,e)}))},html:function(t){return $(this,(function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Ct.test(t)&&!gt[(vt.exec(t)||["",""])[1].toLowerCase()]){t=O.htmlPrefilter(t);try{for(;n=0&&(c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-a-c-s-.5))||0),c}function ne(t,e,n){var r=jt(t),i=(!b.boxSizingReliable()||n)&&"border-box"===O.css(t,"boxSizing",!1,r),a=i,o=Ht(t,e,r),s="offset"+e[0].toUpperCase()+e.slice(1);if(Rt.test(o)){if(!n)return o;o="auto"}return(!b.boxSizingReliable()&&i||!b.reliableTrDimensions()&&C(t,"tr")||"auto"===o||!parseFloat(o)&&"inline"===O.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===O.css(t,"boxSizing",!1,r),(a=s in t)&&(o=t[s])),(o=parseFloat(o)||0)+ee(t,e,n||(i?"border":"content"),a,r,o)+"px"}function re(t,e,n,r,i){return new re.prototype.init(t,e,n,r,i)}O.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ht(t,"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(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,a,o,s=G(e),c=Kt.test(e),l=t.style;if(c||(e=Gt(s)),o=O.cssHooks[e]||O.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(t,!1,r))?i:l[e];"string"===(a=typeof n)&&(i=it.exec(n))&&i[1]&&(n=ut(t,e,i),a="number"),null!=n&&n==n&&("number"!==a||c||(n+=i&&i[3]||(O.cssNumber[s]?"":"px")),b.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),o&&"set"in o&&void 0===(n=o.set(t,n,r))||(c?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,r){var i,a,o,s=G(e);return Kt.test(e)||(e=Gt(s)),(o=O.cssHooks[e]||O.cssHooks[s])&&"get"in o&&(i=o.get(t,!0,n)),void 0===i&&(i=Ht(t,e,r)),"normal"===i&&e in Zt&&(i=Zt[e]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),O.each(["height","width"],(function(t,e){O.cssHooks[e]={get:function(t,n,r){if(n)return!Jt.test(O.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ne(t,e,r):It(t,Qt,(function(){return ne(t,e,r)}))},set:function(t,n,r){var i,a=jt(t),o=!b.scrollboxSize()&&"absolute"===a.position,s=(o||r)&&"border-box"===O.css(t,"boxSizing",!1,a),c=r?ee(t,e,r,s,a):0;return s&&o&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(a[e])-ee(t,e,"border",!1,a)-.5)),c&&(i=it.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=O.css(t,e)),te(0,n,c)}}})),O.cssHooks.marginLeft=$t(b.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Ht(t,"marginLeft"))||t.getBoundingClientRect().left-It(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),O.each({margin:"",padding:"",border:"Width"},(function(t,e){O.cssHooks[t+e]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+at[r]+e]=a[r]||a[r-2]||a[0];return i}},"margin"!==t&&(O.cssHooks[t+e].set=te)})),O.fn.extend({css:function(t,e){return $(this,(function(t,e,n){var r,i,a={},o=0;if(Array.isArray(e)){for(r=jt(t),i=e.length;o1)}}),O.Tween=re,re.prototype={constructor:re,init:function(t,e,n,r,i,a){this.elem=t,this.prop=n,this.easing=i||O.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=a||(O.cssNumber[n]?"":"px")},cur:function(){var t=re.propHooks[this.prop];return t&&t.get?t.get(this):re.propHooks._default.get(this)},run:function(t){var e,n=re.propHooks[this.prop];return this.options.duration?this.pos=e=O.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):re.propHooks._default.set(this),this}},re.prototype.init.prototype=re.prototype,re.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=O.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){O.fx.step[t.prop]?O.fx.step[t.prop](t):1!==t.elem.nodeType||!O.cssHooks[t.prop]&&null==t.elem.style[Gt(t.prop)]?t.elem[t.prop]=t.now:O.style(t.elem,t.prop,t.now+t.unit)}}},re.propHooks.scrollTop=re.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},O.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},O.fx=re.prototype.init,O.fx.step={};var ie,ae,oe=/^(?:toggle|show|hide)$/,se=/queueHooks$/;function ce(){ae&&(!1===g.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ce):r.setTimeout(ce,O.fx.interval),O.fx.tick())}function le(){return r.setTimeout((function(){ie=void 0})),ie=Date.now()}function ue(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=at[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function fe(t,e,n){for(var r,i=(de.tweeners[e]||[]).concat(de.tweeners["*"]),a=0,o=i.length;a1)},removeAttr:function(t){return this.each((function(){O.removeAttr(this,t)}))}}),O.extend({attr:function(t,e,n){var r,i,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===t.getAttribute?O.prop(t,e,n):(1===a&&O.isXMLDoc(t)||(i=O.attrHooks[e.toLowerCase()]||(O.expr.match.bool.test(e)?pe:void 0)),void 0!==n?null===n?void O.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=O.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!b.radioValue&&"radio"===e&&C(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(X);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),pe={set:function(t,e,n){return!1===e?O.removeAttr(t,n):t.setAttribute(n,n),n}},O.each(O.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=he[e]||O.find.attr;he[e]=function(t,e,r){var i,a,o=e.toLowerCase();return r||(a=he[o],he[o]=i,i=null!=n(t,e,r)?o:null,he[o]=a),i}}));var Me=/^(?:input|select|textarea|button)$/i,be=/^(?:a|area)$/i;function ve(t){return(t.match(X)||[]).join(" ")}function me(t){return t.getAttribute&&t.getAttribute("class")||""}function ge(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(X)||[]}O.fn.extend({prop:function(t,e){return $(this,O.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[O.propFix[t]||t]}))}}),O.extend({prop:function(t,e,n){var r,i,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&O.isXMLDoc(t)||(e=O.propFix[e]||e,i=O.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=O.find.attr(t,"tabindex");return e?parseInt(e,10):Me.test(t.nodeName)||be.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(O.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),O.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){O.propFix[this.toLowerCase()]=this})),O.fn.extend({addClass:function(t){var e,n,r,i,a,o,s,c=0;if(v(t))return this.each((function(e){O(this).addClass(t.call(this,e,me(this)))}));if((e=ge(t)).length)for(;n=this[c++];)if(i=me(n),r=1===n.nodeType&&" "+ve(i)+" "){for(o=0;a=e[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");i!==(s=ve(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,a,o,s,c=0;if(v(t))return this.each((function(e){O(this).removeClass(t.call(this,e,me(this)))}));if(!arguments.length)return this.attr("class","");if((e=ge(t)).length)for(;n=this[c++];)if(i=me(n),r=1===n.nodeType&&" "+ve(i)+" "){for(o=0;a=e[o++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");i!==(s=ve(r))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):v(t)?this.each((function(n){O(this).toggleClass(t.call(this,n,me(this),e),e)})):this.each((function(){var e,i,a,o;if(r)for(i=0,a=O(this),o=ge(t);e=o[i++];)a.hasClass(e)?a.removeClass(e):a.addClass(e);else void 0!==t&&"boolean"!==n||((e=me(this))&&Q.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Q.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+ve(me(n))+" ").indexOf(e)>-1)return!0;return!1}});var ye=/\r/g;O.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=v(t),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,O(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=O.map(i,(function(t){return null==t?"":t+""}))),(e=O.valHooks[this.type]||O.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=O.valHooks[i.type]||O.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ye,""):null==n?"":n:void 0}}),O.extend({valHooks:{option:{get:function(t){var e=O.find.attr(t,"value");return null!=e?e:ve(O.text(t))}},select:{get:function(t){var e,n,r,i=t.options,a=t.selectedIndex,o="select-one"===t.type,s=o?null:[],c=o?a+1:i.length;for(r=a<0?c:o?a:0;r-1)&&(n=!0);return n||(t.selectedIndex=-1),a}}}}),O.each(["radio","checkbox"],(function(){O.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=O.inArray(O(t).val(),e)>-1}},b.checkOn||(O.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),b.focusin="onfocusin"in r;var Ae=/^(?:focusinfocus|focusoutblur)$/,_e=function(t){t.stopPropagation()};O.extend(O.event,{trigger:function(t,e,n,i){var a,o,s,c,l,u,f,d,h=[n||g],M=p.call(t,"type")?t.type:t,b=p.call(t,"namespace")?t.namespace.split("."):[];if(o=d=s=n=n||g,3!==n.nodeType&&8!==n.nodeType&&!Ae.test(M+O.event.triggered)&&(M.indexOf(".")>-1&&(b=M.split("."),M=b.shift(),b.sort()),l=M.indexOf(":")<0&&"on"+M,(t=t[O.expando]?t:new O.Event(M,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:O.makeArray(e,[t]),f=O.event.special[M]||{},i||!f.trigger||!1!==f.trigger.apply(n,e))){if(!i&&!f.noBubble&&!m(n)){for(c=f.delegateType||M,Ae.test(c+M)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(n.ownerDocument||g)&&h.push(s.defaultView||s.parentWindow||r)}for(a=0;(o=h[a++])&&!t.isPropagationStopped();)d=o,t.type=a>1?c:f.bindType||M,(u=(Q.get(o,"events")||Object.create(null))[t.type]&&Q.get(o,"handle"))&&u.apply(o,e),(u=l&&o[l])&&u.apply&&J(o)&&(t.result=u.apply(o,e),!1===t.result&&t.preventDefault());return t.type=M,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),e)||!J(n)||l&&v(n[M])&&!m(n)&&((s=n[l])&&(n[l]=null),O.event.triggered=M,t.isPropagationStopped()&&d.addEventListener(M,_e),n[M](),t.isPropagationStopped()&&d.removeEventListener(M,_e),O.event.triggered=void 0,s&&(n[l]=s)),t.result}},simulate:function(t,e,n){var r=O.extend(new O.Event,n,{type:t,isSimulated:!0});O.event.trigger(r,null,e)}}),O.fn.extend({trigger:function(t,e){return this.each((function(){O.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return O.event.trigger(t,e,n,!0)}}),b.focusin||O.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){O.event.simulate(e,t.target,O.event.fix(t))};O.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,e);i||r.addEventListener(t,n,!0),Q.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,e)-1;i?Q.access(r,e,i):(r.removeEventListener(t,n,!0),Q.remove(r,e))}}}));var ze=r.location,Oe={guid:Date.now()},we=/\?/;O.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new r.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||O.error("Invalid XML: "+(n?O.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var xe=/\[\]$/,Le=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Te=/^(?:input|select|textarea|keygen)/i;function Ce(t,e,n,r){var i;if(Array.isArray(e))O.each(e,(function(e,i){n||xe.test(t)?r(t,i):Ce(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)}));else if(n||"object"!==_(e))r(t,e);else for(i in e)Ce(t+"["+i+"]",e[i],n,r)}O.param=function(t,e){var n,r=[],i=function(t,e){var n=v(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!O.isPlainObject(t))O.each(t,(function(){i(this.name,this.value)}));else for(n in t)Ce(n,t[n],e,i);return r.join("&")},O.fn.extend({serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=O.prop(this,"elements");return t?O.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!O(this).is(":disabled")&&Te.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!bt.test(t))})).map((function(t,e){var n=O(this).val();return null==n?null:Array.isArray(n)?O.map(n,(function(t){return{name:e.name,value:t.replace(Le,"\r\n")}})):{name:e.name,value:n.replace(Le,"\r\n")}})).get()}});var qe=/%20/g,Se=/#.*$/,ke=/([?&])_=[^&]*/,Ee=/^(.*?):[ \t]*([^\r\n]*)$/gm,We=/^(?:GET|HEAD)$/,Be=/^\/\//,De={},Xe={},Pe="*/".concat("*"),Re=g.createElement("a");function je(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,a=e.toLowerCase().match(X)||[];if(v(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Ie(t,e,n,r){var i={},a=t===Xe;function o(s){var c;return i[s]=!0,O.each(t[s]||[],(function(t,s){var l=s(e,n,r);return"string"!=typeof l||a||i[l]?a?!(c=l):void 0:(e.dataTypes.unshift(l),o(l),!1)})),c}return o(e.dataTypes[0])||!i["*"]&&o("*")}function Fe(t,e){var n,r,i=O.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&O.extend(!0,t,r),t}Re.href=ze.href,O.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ze.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ze.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pe,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":O.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Fe(Fe(t,O.ajaxSettings),e):Fe(O.ajaxSettings,t)},ajaxPrefilter:je(De),ajaxTransport:je(Xe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i,a,o,s,c,l,u,f,d,p=O.ajaxSetup({},e),h=p.context||p,M=p.context&&(h.nodeType||h.jquery)?O(h):O.event,b=O.Deferred(),v=O.Callbacks("once memory"),m=p.statusCode||{},y={},A={},_="canceled",z={readyState:0,getResponseHeader:function(t){var e;if(l){if(!o)for(o={};e=Ee.exec(a);)o[e[1].toLowerCase()+" "]=(o[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=o[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(t,e){return null==l&&(t=A[t.toLowerCase()]=A[t.toLowerCase()]||t,y[t]=e),this},overrideMimeType:function(t){return null==l&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)z.always(t[z.status]);else for(e in t)m[e]=[m[e],t[e]];return this},abort:function(t){var e=t||_;return n&&n.abort(e),w(0,e),this}};if(b.promise(z),p.url=((t||p.url||ze.href)+"").replace(Be,ze.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(X)||[""],null==p.crossDomain){c=g.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=Re.protocol+"//"+Re.host!=c.protocol+"//"+c.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=O.param(p.data,p.traditional)),Ie(De,p,e,z),l)return z;for(f in(u=O.event&&p.global)&&0==O.active++&&O.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!We.test(p.type),i=p.url.replace(Se,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(qe,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(we.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(ke,"$1"),d=(we.test(i)?"&":"?")+"_="+Oe.guid+++d),p.url=i+d),p.ifModified&&(O.lastModified[i]&&z.setRequestHeader("If-Modified-Since",O.lastModified[i]),O.etag[i]&&z.setRequestHeader("If-None-Match",O.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&z.setRequestHeader("Content-Type",p.contentType),z.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Pe+"; q=0.01":""):p.accepts["*"]),p.headers)z.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(h,z,p)||l))return z.abort();if(_="abort",v.add(p.complete),z.done(p.success),z.fail(p.error),n=Ie(Xe,p,e,z)){if(z.readyState=1,u&&M.trigger("ajaxSend",[z,p]),l)return z;p.async&&p.timeout>0&&(s=r.setTimeout((function(){z.abort("timeout")}),p.timeout));try{l=!1,n.send(y,w)}catch(t){if(l)throw t;w(-1,t)}}else w(-1,"No Transport");function w(t,e,o,c){var f,d,g,y,A,_=e;l||(l=!0,s&&r.clearTimeout(s),n=void 0,a=c||"",z.readyState=t>0?4:0,f=t>=200&&t<300||304===t,o&&(y=function(t,e,n){for(var r,i,a,o,s=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){c.unshift(i);break}if(c[0]in n)a=c[0];else{for(i in n){if(!c[0]||t.converters[i+" "+c[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==c[0]&&c.unshift(a),n[a]}(p,z,o)),!f&&O.inArray("script",p.dataTypes)>-1&&O.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),y=function(t,e,n,r){var i,a,o,s,c,l={},u=t.dataTypes.slice();if(u[1])for(o in t.converters)l[o.toLowerCase()]=t.converters[o];for(a=u.shift();a;)if(t.responseFields[a]&&(n[t.responseFields[a]]=e),!c&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=a,a=u.shift())if("*"===a)a=c;else if("*"!==c&&c!==a){if(!(o=l[c+" "+a]||l["* "+a]))for(i in l)if((s=i.split(" "))[1]===a&&(o=l[c+" "+s[0]]||l["* "+s[0]])){!0===o?o=l[i]:!0!==l[i]&&(a=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+c+" to "+a}}}return{state:"success",data:e}}(p,y,z,f),f?(p.ifModified&&((A=z.getResponseHeader("Last-Modified"))&&(O.lastModified[i]=A),(A=z.getResponseHeader("etag"))&&(O.etag[i]=A)),204===t||"HEAD"===p.type?_="nocontent":304===t?_="notmodified":(_=y.state,d=y.data,f=!(g=y.error))):(g=_,!t&&_||(_="error",t<0&&(t=0))),z.status=t,z.statusText=(e||_)+"",f?b.resolveWith(h,[d,_,z]):b.rejectWith(h,[z,_,g]),z.statusCode(m),m=void 0,u&&M.trigger(f?"ajaxSuccess":"ajaxError",[z,p,f?d:g]),v.fireWith(h,[z,_]),u&&(M.trigger("ajaxComplete",[z,p]),--O.active||O.event.trigger("ajaxStop")))}return z},getJSON:function(t,e,n){return O.get(t,e,n,"json")},getScript:function(t,e){return O.get(t,void 0,e,"script")}}),O.each(["get","post"],(function(t,e){O[e]=function(t,n,r,i){return v(n)&&(i=i||r,r=n,n=void 0),O.ajax(O.extend({url:t,type:e,dataType:i,data:n,success:r},O.isPlainObject(t)&&t))}})),O.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),O._evalUrl=function(t,e,n){return O.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){O.globalEval(t,e,n)}})},O.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=O(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return v(t)?this.each((function(e){O(this).wrapInner(t.call(this,e))})):this.each((function(){var e=O(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(n){O(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){O(this).replaceWith(this.childNodes)})),this}}),O.expr.pseudos.hidden=function(t){return!O.expr.pseudos.visible(t)},O.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},O.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(t){}};var He={0:200,1223:204},$e=O.ajaxSettings.xhr();b.cors=!!$e&&"withCredentials"in $e,b.ajax=$e=!!$e,O.ajaxTransport((function(t){var e,n;if(b.cors||$e&&!t.crossDomain)return{send:function(i,a){var o,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)s[o]=t.xhrFields[o];for(o in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(o,i[o]);e=function(t){return function(){e&&(e=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(He[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),n=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){e&&n()}))},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),O.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),O.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return O.globalEval(t),t}}}),O.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),O.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,i){e=O("