vendor: 5,293 bytes, line 1
1(self.webpackChunkyzreader=self.webpackChunkyzreader||[]).push([[998],{8333:function(t,e,n){"use strict";function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(){o=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var o=e&&e.prototype instanceof f?e:f,a=Object.create(o.prototype),s=new C(r||[]);return i(a,"_invoke",{value:w(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var p={};function f(){}function d(){}function g(){}var m={};u(m,a,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(A([])));y&&y!==e&&n.call(y,a)&&(m=y);var _=g.prototype=f.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function r(i,o,a,s){var l=h(t[i],t,o);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==typeof c&&n.call(c,"__await")?e.resolve(c.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(c).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return o=o?o.then(i,i):i()}})}function w(t,e,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return I()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=h(t,e,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}function S(t,e){var n=e.method,i=t.iterator[n];if(void 0===i)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var r=h(i,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,p;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function A(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function e(){for(;++i<t.length;)if(n.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=g,i(_,"constructor",{value:g,configurable:!0}),i(g,"constructor",{value:d,configurable:!0}),d.displayName=u(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u(t,l,"GeneratorFunction")),t.prototype=Object.create(_),t},t.awrap=function(t){return{__await:t}},x(b.prototype),u(b.prototype,s,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,i,r,o){void 0===o&&(o=Promise);var a=new b(c(e,n,i,r),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(_),u(_,l,"Generator"),u(_,a,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},t.values=A,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
vendor: 4,744 bytes, line 1
1h(M),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(n,i){return a.type="throw",a.arg=t,e.next=n,i&&(e.method="next",e.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;M(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}function a(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,l,"next",t)}function l(t){a(o,i,r,s,l,"throw",t)}s(void 0)}))}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,_(i.key),i)}}function c(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function h(t,e,n){return(e=_(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function g(t,e,n){return g=d()?Reflect.construct.bind():function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&f(r,n.prototype),r},g.apply(null,arguments)}function m(t){var e="function"==typeof Map?new Map:void 0;return m=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return g(t,arguments,p(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),f(i,t)},m(t)}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(t){var e=d();return function(){var n,i=p(t);if(e){var r=p(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return v(t)}(this,n)}}function _(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
vendor: 10,615 bytes, line 1
1(t,"string");return"symbol"==typeof e?e:String(e)}n.r(e);var x=void 0!==n.g&&"[object global]"==={}.toString.call(n.g);function b(t,e){return 0===t.indexOf(e.toLowerCase())?t:"".concat(e.toLowerCase()).concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))}function w(t){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(t)}function S(t){return/^https:\/\/player\.vimeo\.com\/video\/\d+/.test(t)}function T(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.id,i=e.url,r=n||i;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(t=r,!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t)return"https://vimeo.com/".concat(r);if(w(r))return r.replace("http:","https:");if(n)throw new TypeError("â".concat(n,"â is not a valid video id."));throw new TypeError("â".concat(r,"â is not a vimeo.com url."))}var M=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener",o="string"==typeof e?[e]:e;return o.forEach((function(e){t[i](e,n)})),{cancel:function(){return o.forEach((function(e){return t[r](e,n)}))}}},C=void 0!==Array.prototype.indexOf,A="undefined"!=typeof window&&void 0!==window.postMessage;if(!(x||C&&A))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};!function(t){if(!t.WeakMap){var e=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(t){}}(),i=function(t,e,i){n?Object.defineProperty(t,e,{configurable:!0,writable:!0,value:i}):t[e]=i};t.WeakMap=function(){function t(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(i(this,"_id","_WeakMap"+"_"+o()+"."+o()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function n(t,n){if(!r(t)||!e.call(t,"_id"))throw new TypeError(n+" method called on incompatible receiver "+typeof t)}function o(){return Math.random().toString().substring(2)}return i(t.prototype,"delete",(function(t){if(n(this,"delete"),!r(t))return!1;var e=t[this._id];return!(!e||e[0]!==t)&&(delete t[this._id],!0)})),i(t.prototype,"get",(function(t){if(n(this,"get"),r(t)){var e=t[this._id];return e&&e[0]===t?e[1]:void 0}})),i(t.prototype,"has",(function(t){if(n(this,"has"),!r(t))return!1;var e=t[this._id];return!(!e||e[0]!==t)})),i(t.prototype,"set",(function(t,e){if(n(this,"set"),!r(t))throw new TypeError("Invalid value used as weak map key");var o=t[this._id];return o&&o[0]===t?(o[1]=e,this):(i(t,this._id,[t,e]),this)})),i(t,"_polyfill",!0),t}()}function r(t){return Object(t)===t}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:I);var k=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t){var e,n,i;i=function(){var t,e,n,i=Object.prototype.toString,r="undefined"!=typeof setImmediate?function(t){return setImmediate(t)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(t,e,n,i){return Object.defineProperty(t,e,{value:n,writable:!0,configurable:!1!==i})}}catch(e){t=function(t,e,n){return t[e]=n,t}}function o(t,i){n.add(t,i),e||(e=r(n.drain))}function a(t){var e,n=typeof t;return null==t||"object"!=n&&"function"!=n||(e=t.then),"function"==typeof e&&e}function s(){for(var t=0;t<this.chain.length;t++)l(this,1===this.state?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function l(t,e,n){var i,r;try{!1===e?n.reject(t.msg):(i=!0===e?t.msg:e.call(void 0,t.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(r=a(i))?r.call(i,n.resolve,n.reject):n.resolve(i)}catch(t){n.reject(t)}}function u(t){var e,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(e=a(t))?o((function(){var i=new p(n);try{e.call(t,(function(){u.apply(i,arguments)}),(function(){c.apply(i,arguments)}))}catch(t){c.call(i,t)}})):(n.msg=t,n.state=1,n.chain.length>0&&o(s,n))}catch(t){c.call(new p(n),t)}}}function c(t){var e=this;e.triggered||(e.triggered=!0,e.def&&(e=e.def),e.msg=t,e.state=2,e.chain.length>0&&o(s,e))}function h(t,e,n,i){for(var r=0;r<e.length;r++)!function(r){t.resolve(e[r]).then((function(t){n(r,t)}),i)}(r)}function p(t){this.def=t,this.triggered=!1}function f(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function d(t){if("function"!=typeof t)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var e=new f(this);this.then=function(t,n){var i={success:"function"!=typeof t||t,failure:"function"==typeof n&&n};return i.promise=new this.constructor((function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");i.resolve=t,i.reject=e})),e.chain.push(i),0!==e.state&&o(s,e),i.promise},this.catch=function(t){return this.then(void 0,t)};try{t.call(void 0,(function(t){u.call(e,t)}),(function(t){c.call(e,t)}))}catch(t){c.call(e,t)}}n=function(){var t,n,i;function r(t,e){this.fn=t,this.self=e,this.next=void 0}return{add:function(e,o){i=new r(e,o),n?n.next=i:t=i,n=i,i=void 0},drain:function(){var i=t;for(t=n=e=void 0;i;)i.fn.call(i.self),i=i.next}}}();var g=t({},"constructor",d,!1);return d.prototype=g,t(g,"__NPO__",0,!1),t(d,"resolve",(function(t){return t&&"object"==typeof t&&1===t.__NPO__?t:new this((function(e,n){if("function"!=typeof e||"function"!=typeof n)throw TypeError("Not a function");e(t)}))})),t(d,"reject",(function(t){return new this((function(e,n){if("function"!=typeof e||"function"!=typeof n)throw TypeError("Not a function");n(t)}))})),t(d,"all",(function(t){var e=this;return"[object Array]"!=i.call(t)?e.reject(TypeError("Not an array")):0===t.length?e.resolve([]):new e((function(n,i){if("function"!=typeof n||"function"!=typeof i)throw TypeError("Not a function");var r=t.length,o=Array(r),a=0;h(e,t,(function(t,e){o[t]=e,++a===r&&n(o)}),i)}))})),t(d,"race",(function(t){var e=this;return"[object Array]"!=i.call(t)?e.reject(TypeError("Not an array")):new e((function(n,i){if("function"!=typeof n||"function"!=typeof i)throw TypeError("Not a function");h(e,t,(function(t,e){n(e)}),i)}))})),d},(n=I)[e="Promise"]=n[e]||i(),t.exports&&(t.exports=n[e])})),D=new WeakMap;function P(t,e,n){var i=D.get(t.element)||{};e in i||(i[e]=[]),i[e].push(n),D.set(t.element,i)}function O(t,e){return(D.get(t.element)||{})[e]||[]}function E(t,e,n){var i=D.get(t.element)||{};if(!i[e])return!0;if(!n)return i[e]=[],D.set(t.element,i),!0;var r=i[e].indexOf(n);return-1!==r&&i[e].splice(r,1),D.set(t.element,i),i[e]&&0===i[e].length}function L(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){return{}}return t}function R(t,e,n){if(t.element.contentWindow&&t.element.contentWindow.postMessage){var i={method:e};void 0!==n&&(i.value=n);var r=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));r>=8&&r<10&&(i=JSON.stringify(i)),t.element.contentWindow.postMessage(i,t.origin)}}function N(t,e){var n,i=[];if((e=L(e)).event){if("error"===e.event)O(t,e.data.method).forEach((function(n){var i=new Error(e.data.message);i.name=e.data.name,n.reject(i),E(t,e.data.method,n)}));i=O(t,"event:".concat(e.event)),n=e.data}else if(e.method){var r=function(t,e){var n=O(t,e);if(n.length<1)return!1;var i=n.shift();return E(t,e,i),i}(t,e.method);r&&(i.push(r),n=e.value)}i.forEach((function(e){try{if("function"==typeof e)return void e.call(t,n);e.resolve(n)}catch(t){}}))}var F=["autopause","autoplay","background","byline","color","colors","controls","dnt","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"];function B(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return F.reduce((function(e,n){var i=t.getAttribute("data-vimeo-".concat(n));return(i||""===i)&&(e[n]=""===i?1:i),e}),e)}function z(t,e){var n=t.html;if(!e)throw new TypeError("An element must be provided");if(null!==e.getAttribute("data-vimeo-initialized"))return e.querySelector("iframe");var i=document.createElement("div");return i.innerHTML=n,e.appendChild(i.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function V(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((function(i,r){if(!w(t))throw new TypeError("â".concat(t,"â is not a vimeo.com url."));var o="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(t));for(var a in e)e.hasOwnProperty(a)&&(o+="&".concat(a,"=").concat(encodeURIComponent(e[a])));var s="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;s.open("GET",o,!0),s.onload=function(){if(404!==s.status)if(403!==s.status)try{var e=JSON.parse(s.responseText);if(403===e.domain_status_code)return z(e,n),void r(new Error("â".concat(t,"â is not embeddable.")));i(e)}catch(t){r(t)}else r(new Error("â".concat(t,"â is not embeddable.")));else r(new Error("â".concat(t,"â was not found.")))},s.onerror=function(){var t=s.status?" (".concat(s.status,")"):"";r(new Error("There was an error fetching the embed code from Vimeo".concat(t,".")))},s.send()}))}var j={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},G=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(u,t);var e,n,i,a=y(u);function u(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=arguments.length>3?arguments[3]:void 0;return l(this,u),h(v(n=a.call(this)),"logger",void 0),h(v(n),"speedAdjustment",0),h(v(n),"adjustSpeed",function(){var t=s(o().mark((function t(e,i){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.speedAdjustment!==i){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,e.getPlaybackRate();case 4:return t.t0=t.sent,t.t1=n.speedAdjustment,t.t2=t.t0-t.t1,t.t3=i,r=t.t2+t.t3,n.log("New playbackRate: ".concat(r)),t.next=12,e.setPlaybackRate(r);case 12:n.speedAdjustment=i;case 13:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()),n.logger=c,n.init(e,t,r(r({}
1,j),i)),n}return c(u,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(i=s(o().mark((function t(e,n,i){var r,a,s,l=this;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.waitForTOReadyState(e,"open");case 2:if("viewer"!==i.role){t.next=10;break}return t.next=5,this.updatePlayer(e,n,i);case 5:r=M(e,"change",(function(){return l.updatePlayer(e,n,i)})),a=this.maintainPlaybackPosition(e,n,i),this.addEventListener("disconnect",(function(){a.cancel(),r.cancel()})),t.next=14;break;case 10:return t.next=12,this.updateTimingObject(e,n);case 12:s=M(n,["seeked","play","pause","ratechange"],(function(){return l.updateTimingObject(e,n)}),"on","off"),this.addEventListener("disconnect",(function(){return s.cancel()}));case 14:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return i.apply(this,arguments)})},{key:"updateTimingObject",value:(n=s(o().mark((function t(e,n){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=e,t.next=3,n.getCurrentTime();case 3:return t.t1=t.sent,t.next=6,n.getPaused();case 6:if(!t.sent){t.next=10;break}t.t2=0,t.next=13;break;case 10:return t.next=12,n.getPlaybackRate();case 12:t.t2=t.sent;case 13:t.t3=t.t2,t.t4={position:t.t1,velocity:t.t3},t.t0.update.call(t.t0,t.t4);case 16:case"end":return t.stop()}}),t)}))),function(t,e){return n.apply(this,arguments)})},{key:"updatePlayer",value:(e=s(o().mark((function t(e,n,i){var r,a,l;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.query(),a=r.position,l=r.velocity,"number"==typeof a&&n.setCurrentTime(a),"number"!=typeof l){t.next=25;break}if(0!==l){t.next=11;break}return t.next=6,n.getPaused();case 6:if(t.t0=t.sent,!1!==t.t0){t.next=9;break}n.pause();case 9:t.next=25;break;case 11:if(!(l>0)){t.next=25;break}return t.next=14,n.getPaused();case 14:if(t.t1=t.sent,!0!==t.t1){t.next=19;break}return t.next=18,n.play().catch(function(){var t=s(o().mark((function t(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("NotAllowedError"!==e.name||!i.autoPlayMuted){t.next=5;break}return t.next=3,n.setMuted(!0);case 3:return t.next=5,n.play().catch((function(t){}));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 18:this.updatePlayer(e,n,i);case 19:return t.next=21,n.getPlaybackRate();case 21:if(t.t2=t.sent,t.t3=l,t.t2===t.t3){t.next=25;break}n.setPlaybackRate(l);case 25:case"end":return t.stop()}}),t,this)}))),function(t,n,i){return e.apply(this,arguments)})},{key:"maintainPlaybackPosition",value:function(t,e,n){var i=this,r=n.allowedDrift,a=n.maxAllowedDrift,l=n.minCheckInterval,u=n.maxRateAdjustment,c=n.maxTimeToCatchUp,h=1e3*Math.min(c,Math.max(l,a)),p=function(){var n=s(o().mark((function n(){var s,l,h,p,f;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=0===t.query().velocity,n.t0){n.next=6;break}return n.next=4,e.getPaused();case 4:n.t1=n.sent,n.t0=!0===n.t1;case 6:if(!n.t0){n.next=8;break}return n.abrupt("return");case 8:return n.t2=t.query().position,n.next=11,e.getCurrentTime();case 11:if(n.t3=n.sent,s=n.t2-n.t3,l=Math.abs(s),i.log("Drift: ".concat(s)),!(l>a)){n.next=22;break}return n.next=18,i.adjustSpeed(e,0);case 18:e.setCurrentTime(t.query().position),i.log("Resync by currentTime"),n.next=29;break;case 22:if(!(l>r)){n.next=29;break}return f=(h=l/c)<(p=u)?(p-h)/2:p,n.next=28,i.adjustSpeed(e,f*Math.sign(s));case 28:i.log("Resync by playbackRate");case 29:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),f=setInterval((function(){return p()}),h);return{cancel:function(){return clearInterval(f)}}}},{key:"log",value:function(t){var e;null===(e=this.logger)||void 0===e||e.call(this,"TimingSrcConnector: ".concat(t))}},{key:"waitForTOReadyState",value:function(t,e){return new Promise((function(n){!function i(){t.readyState===e?n():t.addEventListener("readystatechange",i,{once:!0})}()}))}}]),u}(m(EventTarget)),W=new WeakMap,H=new WeakMap,Z={},$=function(){function t(e){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(l(this,t),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn,e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!function(t){return Boolean(t&&1===t.nodeType&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView)}(e))throw new TypeError("You must pass either a valid element or a valid id.");
vendor: 7,267 bytes, line 1
1if("IFRAME"!==e.nodeName){var r=e.querySelector("iframe");r&&(e=r)}if("IFRAME"===e.nodeName&&!w(e.getAttribute("src")||""))throw new Error("The player element passed isnât a Vimeo embed.");if(W.has(e))return W.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var o=new k((function(t,r){if(n._onMessage=function(e){if(w(e.origin)&&n.element.contentWindow===e.source){"*"===n.origin&&(n.origin=e.origin);var i=L(e.data);if(i&&"error"===i.event&&i.data&&"ready"===i.data.method){var o=new Error(i.data.message);return o.name=i.data.name,void r(o)}var a=i&&"ready"===i.event,s=i&&"ping"===i.method;if(a||s)return n.element.setAttribute("data-ready","true"),void t();N(n,i)}},n._window.addEventListener("message",n._onMessage),"IFRAME"!==n.element.nodeName){var o=B(e,i);V(T(o),o,e).then((function(t){var i,r,o,a=z(t,e);return n.element=a,n._originalElement=e,i=e,r=a,o=D.get(i),D.set(r,o),D.delete(i),W.set(n.element,n),t})).catch(r)}}));if(H.set(this,o),W.set(this.element,this),"IFRAME"===this.element.nodeName&&R(this,"ping"),Z.isEnabled){var a=function(){return Z.exit()};this.fullscreenchangeHandler=function(){Z.isFullscreen?P(n,"event:exitFullscreen",a):E(n,"event:exitFullscreen",a),n.ready().then((function(){R(n,"fullscreenchange",Z.isFullscreen)}))},Z.on("fullscreenchange",this.fullscreenchangeHandler)}return this}var e;return c(t,[{key:"callMethod",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new k((function(i,r){return e.ready().then((function(){P(e,t,{resolve:i,reject:r}),R(e,t,n)})).catch(r)}))}},{key:"get",value:function(t){var e=this;return new k((function(n,i){return t=b(t,"get"),e.ready().then((function(){P(e,t,{resolve:n,reject:i}),R(e,t)})).catch(i)}))}},{key:"set",value:function(t,e){var n=this;return new k((function(i,r){if(t=b(t,"set"),null==e)throw new TypeError("There must be a value to set.");return n.ready().then((function(){P(n,t,{resolve:i,reject:r}),R(n,t,e)})).catch(r)}))}},{key:"on",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(!e)throw new TypeError("You must pass a callback function.");if("function"!=typeof e)throw new TypeError("The callback must be a function.");0===O(this,"event:".concat(t)).length&&this.callMethod("addEventListener",t).catch((function(){})),P(this,"event:".concat(t),e)}},{key:"off",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(e&&"function"!=typeof e)throw new TypeError("The callback must be a function.");E(this,"event:".concat(t),e)&&this.callMethod("removeEventListener",t).catch((function(t){}))}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=H.get(this)||new k((function(t,e){e(new Error("Unknown player. Probably unloaded."))}));return k.resolve(t)}},{key:"addCuePoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:e})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,e){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:e})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return Z.isEnabled?Z.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Z.isEnabled?Z.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Z.isEnabled?k.resolve(Z.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new k((function(e){if(H.delete(t),W.delete(t.element),t._originalElement&&(W.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&"IFRAME"===t.element.nodeName&&t.element.parentNode&&(t.element.parentNode.parentNode&&t._originalElement&&t._originalElement!==t.element.parentNode?t.element.parentNode.parentNode.removeChild(t.element.parentNode):t.element.parentNode.removeChild(t.element)),t.element&&"DIV"===t.element.nodeName&&t.element.parentNode){t.element.removeAttribute("data-vimeo-initialized");var n=t.element.querySelector("iframe");n&&n.parentNode&&(n.parentNode.parentNode&&t._originalElement&&t._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))}t._window.removeEventListener("message",t._onMessage),Z.isEnabled&&Z.off("fullscreenchange",t.fullscreenchangeHandler),e()}))}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return k.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"setColors",value:function(t){if(!Array.isArray(t))return new k((function(t,e){return e(new TypeError("Argument must be an array."))}));var e=new k((function(t){return t(null)})),n=[t[0]?this.set("colorOne",t[0]):e,t[1]?this.set("colorTwo",t[1]):e,t[2]?this.set("colorThree",t[2]):e,t[3]?this.set("colorFour",t[3]):e];return k.all(n)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}
1},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}},{key:"setTimingSrc",value:(e=s(o().mark((function t(e,n){var i,r=this;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return t.next=4,this.ready();case 4:return i=new G(this,e,n),R(this,"notifyTimingObjectConnect"),i.addEventListener("disconnect",(function(){return R(r,"notifyTimingObjectDisconnect")})),t.abrupt("return",i);case 8:case"end":return t.stop()}}),t,this)}))),function(t,n){return e.apply(this,arguments)})}]),t}();x||(Z=function(){var t=function(){for(var t,e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,i=e.length,r={};n<i;n++)if((t=e[n])&&t[1]in document){for(n=0;n<t.length;n++)r[e[0][n]]=t[n];return r}return!1}(),e={fullscreenchange:t.fullscreenchange,fullscreenerror:t.fullscreenerror},n={request:function(e){return new Promise((function(i,r){var o=function t(){n.off("fullscreenchange",t),i()};n.on("fullscreenchange",o);var a=(e=e||document.documentElement)[t.requestFullscreen]();a instanceof Promise&&a.then(o).catch(r)}))},exit:function(){return new Promise((function(e,i){if(n.isFullscreen){var r=function t(){n.off("fullscreenchange",t),e()};n.on("fullscreenchange",r);var o=document[t.exitFullscreen]();o instanceof Promise&&o.then(r).catch(i)}else e()}))},on:function(t,n){var i=e[t];i&&document.addEventListener(i,n)},off:function(t,n){var i=e[t];i&&document.removeEventListener(i,n)}};return Object.defineProperties(n,{isFullscreen:{get:function(){return Boolean(document[t.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[t.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[t.fullscreenEnabled])}}}),n}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(t){"console"in window&&console.error};e.forEach((function(t){try{if(null!==t.getAttribute("data-vimeo-defer"))return;var e=B(t);V(T(e),e,t).then((function(e){return z(e,t)})).catch(n)}catch(t){n()}}))}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",(function(e){if(w(e.origin)&&e.data&&"spacechange"===e.data.event)for(var n=t.querySelectorAll("iframe"),i=0;i<n.length;i++)if(n[i].contentWindow===e.source){n[i].parentElement.style.paddingBottom="".concat(e.data.data[0].bottom,"px");break}}
vendor: 16,685 bytes, line 1
1)))}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",(function(e){if(w(e.origin)){var n=L(e.data);if(n&&"ready"===n.event)for(var i=t.querySelectorAll("iframe"),r=0;r<i.length;r++){var o=i[r],a=o.contentWindow===e.source;S(o.src)&&a&&new $(o).callMethod("appendVideoMetadata",window.location.href)}}})))}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var e=function(t){"console"in window&&console.error};window.addEventListener("message",(function(n){if(w(n.origin)){var i=L(n.data);if(i&&"ready"===i.event)for(var r=t.querySelectorAll("iframe"),o=function(){var t=r[a],i=t.contentWindow===n.source;if(S(t.src)&&i){var o=new $(t);o.getVideoId().then((function(t){var e=new RegExp("[?&]vimeo_t_".concat(t,"=([^&#]*)")).exec(window.location.href);if(e&&e[1]){var n=decodeURI(e[1]);o.setCurrentTime(n)}})).catch(e)}},a=0;a<r.length;a++)o()}}))}}()),e.default=$},1001:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,{Z:function(){return i}})},6381:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return M}});var i=n(8239),r=n(2444),o=/%[sdj%]/g;function a(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,r=e[0],a=e.length;if("function"==typeof r)return r.apply(null,e.slice(1));if("string"==typeof r){for(var s=String(r).replace(o,(function(t){if("%%"===t)return"%";if(i>=a)return t;switch(t){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(t){return"[Circular]"}break;default:return t}})),l=e[i];i<a;l=e[++i])s+=" "+l;return s}return r}function s(t,e){return null==t||(!("array"!==e||!Array.isArray(t)||t.length)||!(!function(t){return"string"===t||"url"===t||"hex"===t||"email"===t||"pattern"===t}(e)||"string"!=typeof t||t))}function l(t,e,n){var i=0,r=t.length;!function o(a){if(a&&a.length)n(a);else{var s=i;i+=1,s<r?e(t[s],o):n([])}}([])}function u(t,e,n,i){if(e.first){var r=function(t){var e=[];return Object.keys(t).forEach((function(n){e.push.apply(e,t[n])})),e}(t);return l(r,n,i)}var o=e.firstFields||[];!0===o&&(o=Object.keys(t));var a=Object.keys(t),s=a.length,u=0,c=[],h=function(t){c.push.apply(c,t),++u===s&&i(c)};a.forEach((function(e){var i=t[e];-1!==o.indexOf(e)?l(i,n,h):function(t,e,n){var i=[],r=0,o=t.length;function a(t){i.push.apply(i,t),++r===o&&n(i)}t.forEach((function(t){e(t,a)}))}(i,n,h)}))}function c(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:e,field:e.field||t.fullField}}}function h(t,e){if(e)for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];"object"===(void 0===o?"undefined":(0,r.Z)(o))&&"object"===(0,r.Z)(t[n])?t[n]=(0,i.Z)({},t[n],o):t[n]=o}return t}var p=function(t,e,n,i,r,o){!t.required||n.hasOwnProperty(t.field)&&!s(e,o||t.type)||i.push(a(r.messages.required,t.fullField))};var f=function(t,e,n,i,r){(/^\s+$/.test(e)||""===e)&&i.push(a(r.messages.whitespace,t.fullField))},d={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},g={integer:function(t){return g.number(t)&&parseInt(t,10)===t},float:function(t){return g.number(t)&&!g.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(t){return!1}},date:function(t){return"function"==typeof t.getTime&&"function"==typeof t.getMonth&&"function"==typeof t.getYear},number:function(t){return!isNaN(t)&&"number"==typeof t},object:function(t){return"object"===(void 0===t?"undefined":(0,r.Z)(t))&&!g.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&!!t.match(d.email)&&t.length<255},url:function(t){return"string"==typeof t&&!!t.match(d.url)},hex:function(t){return"string"==typeof t&&!!t.match(d.hex)}};var m=function(t,e,n,i,o){if(t.required&&void 0===e)p(t,e,n,i,o);else{var s=t.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?g[s](e)||i.push(a(o.messages.types[s],t.fullField,t.type)):s&&(void 0===e?"undefined":(0,r.Z)(e))!==t.type&&i.push(a(o.messages.types[s],t.fullField,t.type))}};var v="enum";var y={required:p,whitespace:f,type:m,range:function(t,e,n,i,r){var o="number"==typeof t.len,s="number"==typeof t.min,l="number"==typeof t.max,u=e,c=null,h="number"==typeof e,p="string"==typeof e,f=Array.isArray(e);if(h?c="number":p?c="string":f&&(c="array"),!c)return!1;f&&(u=e.length),p&&(u=e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?u!==t.len&&i.push(a(r.messages[c].len,t.fullField,t.len)):s&&!l&&u<t.min?i.push(a(r.messages[c].min,t.fullField,t.min)):l&&!s&&u>t.max?i.push(a(r.messages[c].max,t.fullField,t.max)):s&&l&&(u<t.min||u>t.max)&&i.push(a(r.messages[c].range,t.fullField,t.min,t.max))},enum:function(t,e,n,i,r){t[v]=Array.isArray(t[v])?t[v]:[],-1===t[v].indexOf(e)&&i.push(a(r.messages[v],t.fullField,t[v].join(", ")))},pattern:function(t,e,n,i,r){if(t.pattern)if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(a(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if("string"==typeof t.pattern){new RegExp(t.pattern).test(e)||i.push(a(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}};var _=function(t,e,n,i,o){var a=[],s=Array.isArray(e)?"array":void 0===e?"undefined":(0,r.Z)(e);y.required(t,e,i,a,o,s),n(a)};var x=function(t,e,n,i,r){var o=t.type,a=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e,o)&&!t.required)return n();y.required(t,e,i,a,r,o),s(e,o)||y.type(t,e,i,a,r)}n(a)},b={string:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e,"string")&&!t.required)return n();y.required(t,e,i,o,r,"string"),s(e,"string")||(y.type(t,e,i,o,r),y.range(t,e,i,o,r),y.pattern(t,e,i,o,r),!0===t.whitespace&&y.whitespace(t,e,i,o,r))}n(o)},method:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();y.required(t,e,i,o,r),void 0!==e&&y.type(t,e,i,o,r)}n(o)},number:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();y.required(t,e,i,o,r),void 0!==e&&(y.type(t,e,i,o,r),y.range(t,e,i,o,r))}n(o)},boolean:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();y.required(t,e,i,o,r),void 0!==e&&y.type(t,e,i,o,r)}n(o)},regexp:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();y.required(t,e,i,o,r),s(e)||y.type(t,e,i,o,r)}n(o)},integer:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();y.required(t,e,i,o,r),void 0!==e&&(y.type(t,e,i,o,r),y.range(t,e,i,o,r))}n(o)},float:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();y.required(t,e,i,o,r),void 0!==e&&(y.type(t,e,i,o,r),y.range(t,e,i,o,r))}n(o)},array:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e,"array")&&!t.required)return n();y.required(t,e,i,o,r,"array"),s(e,"array")||(y.type(t,e,i,o,r),y.range(t,e,i,o,r))}n(o)},object:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();y.required(t,e,i,o,r),void 0!==e&&y.type(t,e,i,o,r)}n(o)},enum:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();y.required(t,e,i,o,r),e&&y.enum(t,e,i,o,r)}n(o)},pattern:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e,"string")&&!t.required)return n();y.required(t,e,i,o,r),s(e,"string")||y.pattern(t,e,i,o,r)}n(o)},date:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(s(e)&&!t.required)return n();if(y.required(t,e,i,o,r),!s(e)){var a=void 0;a="number"==typeof e?new Date(e):e,y.type(t,a,i,o,r),a&&y.range(t,a.getTime(),i,o,r)}}n(o)},url:x,hex:x,email:x,required:_};function w(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var S=w();function T(t){this.rules=null,this._messages=S,this.define(t)}T.prototype={messages:function(t){return t&&(this._messages=h(w(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===t?"undefined":(0,r.Z)(t))||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var e=void 0,n=void 0;for(e in t)t.hasOwnProperty(e)&&(n=t[e],this.rules[e]=Array.isArray(n)?n:[n])},validate:function(t){var e=this,n=t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments[2];if("function"==typeof o&&(s=o,o={}),this.rules&&0!==Object.keys(this.rules).length){if(o.messages){var l=this.messages();l===S&&(l=w()),h(l,o.messages),o.messages=l}else o.messages=this.messages();var p=void 0,f=void 0,d={};(o.keys||Object.keys(this.rules)).forEach((function(r){p=e.rules[r],f=n[r],p.forEach((function(o){var a=o;"function"==typeof a.transform&&(n===t&&(n=(0,i.Z)({},n)),f=n[r]=a.transform(f)),(a="function"==typeof a?{validator:a}:(0,i.Z)({},a)).validator=e.getValidationMethod(a),a.field=r,a.fullField=a.fullField||r,a.type=e.getType(a),a.validator&&(d[r]=d[r]||[],d[r].push({rule:a,value:f,source:n,field:r}))}))}));var g={};u(d,o,(function(t,e){var n=t.rule,s=!("object"!==n.type&&"array"!==n.type||"object"!==(0,r.Z)(n.fields)&&"object"!==(0,r.Z)(n.defaultField));function l(t,e){return(0,i.Z)({},e,{fullField:n.fullField+"."+t})}function u(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(Array.isArray(r)||(r=[r]),r.length,r.length&&n.message&&(r=[].concat(n.message)),r=r.map(c(n)),o.first&&r.length)return g[n.field]=1,e(r);if(s){if(n.required&&!t.value)return r=n.message?[].concat(n.message).map(c(n)):o.error?[o.error(n,a(o.messages.required,n.field))]:[],e(r);var u={};if(n.defaultField)for(var h in t.value)t.value.hasOwnProperty(h)&&(u[h]=n.defaultField);for(var p in u=(0,i.Z)({},u,t.rule.fields))if(u.hasOwnProperty(p)){var f=Array.isArray(u[p])?u[p]:[u[p]];u[p]=f.map(l.bind(null,p))}var d=new T(u);d.messages(o.messages),t.rule.options&&(t.rule.options.messages=o.messages,t.rule.options.error=o.error),d.validate(t.value,t.rule.options||o,(function(t){e(t&&t.length?r.concat(t):t)}))}else e(r)}s=s&&(n.required||!n.required&&t.value),n.field=t.field;var h=n.validator(n,t.value,u,t.source,o);h&&h.then&&h.then((function(){return u()}),(function(t){return u(t)}))}),(function(t){!function(t){var e,n=void 0,i=void 0,r=[],o={};for(n=0;n<t.length;n++)e=t[n],Array.isArray(e)?r=r.concat.apply(r,e):r.push(e);if(r.length)for(n=0;n<r.length;n++)o[i=r[n].field]=o[i]||[],o[i].push(r[n]);else r=null,o=null;s(r,o)}(t)}))}else s&&s()},getType:function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!=typeof t.validator&&t.type&&!b.hasOwnProperty(t.type))throw new Error(a("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if("function"==typeof t.validator)return t.validator;var e=Object.keys(t),n=e.indexOf("message");return-1!==n&&e.splice(n,1),1===e.length&&"required"===e[0]?b.required:b[this.getType(t)]||!1}},T.register=function(t,e){if("function"!=typeof e)throw new Error("Cannot register a validator by type, validator is not a function");b[t]=e},T.messages=S;var M=T},2945:function(t,e,n){t.exports={default:n(8077),__esModule:!0}},3516:function(t,e,n){t.exports={default:n(9583),__esModule:!0}},4275:function(t,e,n){t.exports={default:n(3276),__esModule:!0}},8239:function(t,e,n){"use strict";var i,r=n(2945),o=(i=r)&&i.__esModule?i:{default:i};e.Z=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},2444:function(t,e,n){"use strict";var i=a(n(4275)),r=a(n(3516)),o="function"==typeof r.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":typeof t};function a(t){return t&&t.__esModule?t:{default:t}}e.Z="function"==typeof r.default&&"symbol"===o(i.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":void 0===t?"undefined":o(t)}},8077:function(t,e,n){n(529),t.exports=n(4731).Object.assign},9583:function(t,e,n){n(3835),n(464),n(4427),n(9089),t.exports=n(4731).Symbol},3276:function(t,e,n){n(3036),n(6740),t.exports=n(7613).f("iterator")},1449:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},5345:function(t){t.exports=function(){}},6504:function(t,e,n){var i=n(9151);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},3936:function(t,e,n){var i=n(4874),r=n(8317),o=n(9838);t.exports=function(t){return function(e,n,a){var s,l=i(e),u=r(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},4499:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},4731:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},1821:function(t,e,n){var i=n(1449);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},1605:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},5810:function(t,e,n){t.exports=!n(3777)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},2571:function(t,e,n){var i=n(9151),r=n(9362).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},5568:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleStr
1ing,toString,valueOf".split(",")},2052:function(t,e,n){var i=n(9656),r=n(2614),o=n(3416);t.exports=function(t){var e=i(t),n=r.f;if(n)for(var a,s=n(t),l=o.f,u=0;s.length>u;)l.call(t,a=s[u++])&&e.push(a);return e}},9901:function(t,e,n){var i=n(9362),r=n(4731),o=n(1821),a=n(6519),s=n(3571),l="prototype",u=function(t,e,n){var c,h,p,f=t&u.F,d=t&u.G,g=t&u.S,m=t&u.P,v=t&u.B,y=t&u.W,_=d?r:r[e]||(r[e]={}),x=_[l],b=d?i:g?i[e]:(i[e]||{})[l];for(c in d&&(n=e),n)(h=!f&&b&&void 0!==b[c])&&s(_,c)||(p=h?b[c]:n[c],_[c]=d&&"function"!=typeof b[c]?n[c]:v&&h?o(p,i):y&&b[c]==p?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[l]=t[l],e}(p):m&&"function"==typeof p?o(Function.call,p):p,m&&((_.virtual||(_.virtual={}))[c]=p,t&u.R&&x&&!x[c]&&a(x,c,p)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},3777:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},9362:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},3571:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},6519:function(t,e,n){var i=n(1738),r=n(8051);t.exports=n(5810)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},203:function(t,e,n){var i=n(9362).document;t.exports=i&&i.documentElement},3254:function(t,e,n){t.exports=!n(5810)&&!n(3777)((function(){return 7!=Object.defineProperty(n(2571)("div"),"a",{get:function(){return 7}}).a}))},2312:function(t,e,n){var i=n(4499);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},7539:function(t,e,n){var i=n(4499);t.exports=Array.isArray||function(t){return"Array"==i(t)}},9151:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},9163:function(t,e,n){"use strict";var i=n(4055),r=n(8051),o=n(420),a={};n(6519)(a,n(5346)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},4346:function(t,e,n){"use strict";var i=n(7346),r=n(9901),o=n(1865),a=n(6519),s=n(3135),l=n(9163),u=n(420),c=n(1146),h=n(5346)("iterator"),p=!([].keys&&"next"in[].keys()),f="keys",d="values",g=function(){return this};t.exports=function(t,e,n,m,v,y,_){l(n,e,m);var x,b,w,S=function(t){if(!p&&t in A)return A[t];switch(t){case f:case d:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",M=v==d,C=!1,A=t.prototype,I=A[h]||A["@@iterator"]||v&&A[v],k=I||S(v),D=v?M?S("entries"):k:void 0,P="Array"==e&&A.entries||I;if(P&&(w=c(P.call(new t)))!==Object.prototype&&w.next&&(u(w,T,!0),i||"function"==typeof w[h]||a(w,h,g)),M&&I&&I.name!==d&&(C=!0,k=function(){return I.call(this)}),i&&!_||!p&&!C&&A[h]||a(A,h,k),s[e]=k,s[T]=g,v)if(x={values:M?k:S(d),keys:y?k:S(f),entries:D},_)for(b in x)b in A||o(A,b,x[b]);else r(r.P+r.F*(p||C),e,x);return x}},4098:function(t){t.exports=function(t,e){return{value:e,done:!!t}}},3135:function(t){t.exports={}},7346:function(t){t.exports=!0},5965:function(t,e,n){var i=n(3535)("meta"),r=n(9151),o=n(3571),a=n(1738).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(3777)((function(){return l(Object.preventExtensions({}))})),c=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},h=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[i].i},getWeak:function(t,e){if(!o(t,i)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[i].w},onFreeze:function(t){return u&&h.NEED&&l(t)&&!o(t,i)&&c(t),t}}},266:function(t,e,n){"use strict";var i=n(5810),r=n(9656),o=n(2614),a=n(3416),s=n(9411),l=n(2312),u=Object.assign;t.exports=!u||n(3777)((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=i}))?function(t,e){for(var n=s(t),u=arguments.length,c=1,h=o.f,p=a.f;u>c;)for(var f,d=l(arguments[c++]),g=h?r(d).concat(h(d)):r(d),m=g.length,v=0;m>v;)f=g[v++],i&&!p.call(d,f)||(n[f]=d[f]);return n}:u},4055:function(t,e,n){var i=n(6504),r=n(121),o=n(5568),a=n(6210)("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,e=n(2571)("iframe"),i=o.length;for(e.style.display="none",n(203).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;i--;)delete u[l][o[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=i(t),n=new s,s[l]=null,n[a]=t):n=u(),void 0===e?n:r(n,e)}},1738:function(t,e,n){var i=n(6504),r=n(3254),o=n(5408),a=Object.defineProperty;e.f=n(5810)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}}
vendor: 5,091 bytes, line 1
1,121:function(t,e,n){var i=n(1738),r=n(6504),o=n(9656);t.exports=n(5810)?Object.defineProperties:function(t,e){r(t);for(var n,a=o(e),s=a.length,l=0;s>l;)i.f(t,n=a[l++],e[n]);return t}},8437:function(t,e,n){var i=n(3416),r=n(8051),o=n(4874),a=n(5408),s=n(3571),l=n(3254),u=Object.getOwnPropertyDescriptor;e.f=n(5810)?u:function(t,e){if(t=o(t),e=a(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},2029:function(t,e,n){var i=n(4874),r=n(1471).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(t):r(i(t))}},1471:function(t,e,n){var i=n(6152),r=n(5568).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},2614:function(t,e){e.f=Object.getOwnPropertySymbols},1146:function(t,e,n){var i=n(3571),r=n(9411),o=n(6210)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},6152:function(t,e,n){var i=n(3571),r=n(4874),o=n(3936)(!1),a=n(6210)("IE_PROTO");t.exports=function(t,e){var n,s=r(t),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},9656:function(t,e,n){var i=n(6152),r=n(5568);t.exports=Object.keys||function(t){return i(t,r)}},3416:function(t,e){e.f={}.propertyIsEnumerable},8051:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},1865:function(t,e,n){t.exports=n(6519)},420:function(t,e,n){var i=n(1738).f,r=n(3571),o=n(5346)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},6210:function(t,e,n){var i=n(7571)("keys"),r=n(3535);t.exports=function(t){return i[t]||(i[t]=r(t))}},7571:function(t,e,n){var i=n(4731),r=n(9362),o="__core-js_shared__",a=r[o]||(r[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(7346)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},2222:function(t,e,n){var i=n(1485),r=n(1605);t.exports=function(t){return function(e,n){var o,a,s=String(r(e)),l=i(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},9838:function(t,e,n){var i=n(1485),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},1485:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},4874:function(t,e,n){var i=n(2312),r=n(1605);t.exports=function(t){return i(r(t))}},8317:function(t,e,n){var i=n(1485),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},9411:function(t,e,n){var i=n(1605);t.exports=function(t){return Object(i(t))}},5408:function(t,e,n){var i=n(9151);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},3535:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}},1875:function(t,e,n){var i=n(9362),r=n(4731),o=n(7346),a=n(7613),s=n(1738).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},7613:function(t,e,n){e.f=n(5346)},5346:function(t,e,n){var i=n(7571)("wks"),r=n(3535),o=n(9362).Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},1092:function(t,e,n){"use strict";var i=n(5345),r=n(4098),o=n(3135),a=n(4874);t.exports=n(4346)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},529:function(t,e,n){var i=n(9901);i(i.S+i.F,"Object",{assign:n(266)})},464:function(){},3036:function(t,e,n){"use strict";var i=n(2222)(!0);n(4346)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})}))},3835:function(t,e,n){"use strict";var i=n(9362),r=n(3571),o=n(5810),a=n(9901),s=n(1865),l=n(5965).KEY,u=n(3777),c=n(7571),h=n(420),p=n(3535),f=n(5346),d=n(7613),g=n(1875),m=n(2052),v=n(7539),y=n(6504),_=n(9151),x=n(9411),b=n(4874),w=n(5408),S=n(8051),T=n(4055),M=n(2029),C=n(8437),A=n(2614),I=n(1738),k=n(9656),D=C.f,P=I.f,O=M.f,E=i.Symbol,L=i.JSON,R=L&&L.stringify,N="prototype",F=f("_hidden"),B=f("toPrimitive"),z={}.propertyIsEnumerable,V=c("symbol-registry"),j=c("symbols"),G=c("op-symbol
1s"),W=Object[N],H="function"==typeof E&&!!A.f,Z=i.QObject,$=!Z||!Z[N]||!Z[N].findChild,U=o&&u((function(){return 7!=T(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=D(W,e);i&&delete W[e],P(t,e,n),i&&t!==W&&P(W,e,i)}:P,X=function(t){var e=j[t]=T(E[N]);return e._k=t,e},q=H&&"symbol"==typeof E.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof E},Y=function(t,e,n){return t===W&&Y(G,e,n),y(t),e=w(e,!0),y(n),r(j,e)?(n.enumerable?(r(t,F)&&t[F][e]&&(t[F][e]=!1),n=T(n,{enumerable:S(0,!1)})):(r(t,F)||P(t,F,S(1,{})),t[F][e]=!0),U(t,e,n)):P(t,e,n)},K=function(t,e){y(t);for(var n,i=m(e=b(e)),r=0,o=i.length;o>r;)Y(t,n=i[r++],e[n]);return t},J=function(t){var e=z.call(this,t=w(t,!0));return!(this===W&&r(j,t)&&!r(G,t))&&(!(e||!r(this,t)||!r(j,t)||r(this,F)&&this[F][t])||e)},Q=function(t,e){if(t=b(t),e=w(e,!0),t!==W||!r(j,e)||r(G,e)){var n=D(t,e);return!n||!r(j,e)||r(t,F)&&t[F][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=O(b(t)),i=[],o=0;n.length>o;)r(j,e=n[o++])||e==F||e==l||i.push(e);return i},et=function(t){for(var e,n=t===W,i=O(n?G:b(t)),o=[],a=0;i.length>a;)!r(j,e=i[a++])||n&&!r(W,e)||o.push(j[e]);return o};H||(E=function(){if(this instanceof E)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(G,n),r(this,F)&&r(this[F],t)&&(this[F][t]=!1),U(this,t,S(1,n))};return o&&$&&U(W,t,{configurable:!0,set:e}),X(t)},s(E[N],"toString",(function(){return this._k})),C.f=Q,I.f=Y,n(1471).f=M.f=tt,n(3416).f=J,A.f=et,o&&!n(7346)&&s(W,"propertyIsEnumerable",J,!0),d.f=function(t){return X(f(t))}),a(a.G+a.W+a.F*!H,{Symbol:E});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;nt.length>it;)f(nt[it++]);for(var rt=k(f.store),ot=0;rt.length>ot;)g(rt[ot++]);a(a.S+a.F*!H,"Symbol",{for:function(t){return r(V,t+="")?V[t]:V[t]=E(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in V)if(V[e]===t)return e},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!H,"Object",{create:function(t,e){return void 0===e?T(t):K(T(t),e)},defineProperty:Y,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var at=u((function(){A.f(1)}));a(a.S+a.F*at,"Object",{getOwnPropertySymbols:function(t){return A.f(x(t))}}),L&&a(a.S+a.F*(!H||u((function(){var t=E();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=e=i[1],(_(e)||void 0!==t)&&!q(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!q(e))return e}),i[1]=e,R.apply(L,i)}}),E[N][B]||n(6519)(E[N],B,E[N].valueOf),h(E,"Symbol"),h(Math,"Math",!0),h(i.JSON,"JSON",!0)},4427:function(t,e,n){n(1875)("asyncIterator")},9089:function(t,e,n){n(1875)("observable")},6740:function(t,e,n){n(1092);for(var i=n(9362),r=n(6519),o=n(3135),a=n(5346)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=i[u],h=c&&c.prototype;h&&!h[a]&&r(h,a,u),o[u]=o.Array}},9662:function(t,e,n){"use strict";var i=n(614),r=n(6330),o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not a function")}},6077:function(t,e,n){"use strict";var i=n(614),r=String,o=TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw o("Can't set "+r(t)+" as a prototype")}},5787:function(t,e,n){"use strict";var i=n(7976),r=TypeError;t.exports=function(t,e){if(i(e,t))return t;throw r("Incorrect invocation")}},9670:function(t,e,n){"use strict";var i=n(111),r=String,o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not an object")}},3013:function(t){"use strict";
vendor: 4,665 bytes, line 1
1t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},260:function(t,e,n){"use strict";var i,r,o,a=n(3013),s=n(9781),l=n(7854),u=n(614),c=n(111),h=n(2597),p=n(648),f=n(6330),d=n(8880),g=n(8052),m=n(7045),v=n(7976),y=n(9518),_=n(7674),x=n(5112),b=n(9711),w=n(9909),S=w.enforce,T=w.get,M=l.Int8Array,C=M&&M.prototype,A=l.Uint8ClampedArray,I=A&&A.prototype,k=M&&y(M),D=C&&y(C),P=Object.prototype,O=l.TypeError,E=x("toStringTag"),L=b("TYPED_ARRAY_TAG"),R="TypedArrayConstructor",N=a&&!!_&&"Opera"!==p(l.opera),F=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},V=function(t){var e=y(t);if(c(e)){var n=T(e);return n&&h(n,R)?n[R]:V(e)}},j=function(t){if(!c(t))return!1;var e=p(t);return h(B,e)||h(z,e)};for(i in B)(o=(r=l[i])&&r.prototype)?S(o)[R]=r:N=!1;for(i in z)(o=(r=l[i])&&r.prototype)&&(S(o)[R]=r);if((!N||!u(k)||k===Function.prototype)&&(k=function(){throw O("Incorrect invocation")},N))for(i in B)l[i]&&_(l[i],k);if((!N||!D||D===P)&&(D=k.prototype,N))for(i in B)l[i]&&_(l[i].prototype,D);if(N&&y(I)!==D&&_(I,D),s&&!h(D,E))for(i in F=!0,m(D,E,{configurable:!0,get:function(){return c(this)?this[L]:void 0}}),B)l[i]&&d(l[i],L,i);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_TAG:F&&L,aTypedArray:function(t){if(j(t))return t;throw O("Target is not a typed array")},aTypedArrayConstructor:function(t){if(u(t)&&(!_||v(k,t)))return t;throw O(f(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n,i){if(s){if(n)for(var r in B){var o=l[r];if(o&&h(o.prototype,t))try{delete o.prototype[t]}catch(n){try{o.prototype[t]=e}catch(t){}}}D[t]&&!n||g(D,t,n?e:N&&C[t]||e,i)}},exportTypedArrayStaticMethod:function(t,e,n){var i,r;if(s){if(_){if(n)for(i in B)if((r=l[i])&&h(r,t))try{delete r[t]}catch(t){}if(k[t]&&!n)return;try{return g(k,t,n?e:N&&k[t]||e)}catch(t){}}for(i in B)!(r=l[i])||r[t]&&!n||g(r,t,e)}},getTypedArrayConstructor:V,isView:function(t){if(!c(t))return!1;var e=p(t);return"DataView"===e||h(B,e)||h(z,e)},isTypedArray:j,TypedArray:k,TypedArrayPrototype:D}},7745:function(t,e,n){"use strict";var i=n(6244);t.exports=function(t,e){for(var n=0,r=i(e),o=new t(r);r>n;)o[n]=e[n++];return o}},1318:function(t,e,n){"use strict";var i=n(5656),r=n(1400),o=n(6244),a=function(t){return function(e,n,a){var s,l=i(e),u=o(l),c=r(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9671:function(t,e,n){"use strict";var i=n(9974),r=n(8361),o=n(7908),a=n(6244),s=function(t){var e=1==t;return function(n,s,l){for(var u,c=o(n),h=r(c),p=i(s,l),f=a(h);f-- >0;)if(p(u=h[f],f,c))switch(t){case 0:return u;case 1:return f}return e?-1:void 0}};t.exports={findLast:s(0),findLastIndex:s(1)}},3658:function(t,e,n){"use strict";var i=n(9781),r=n(3157),o=TypeError,a=Object.getOwnPropertyDescriptor,s=i&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(r(t)&&!a(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},1843:function(t,e,n){"use strict";var i=n(6244);t.exports=function(t,e){for(var n=i(t),r=new e(n),o=0;o<n;o++)r[o]=t[n-o-1];return r}},1572:function(t,e,n){"use strict";var i=n(6244),r=n(9303),o=RangeError;t.exports=function(t,e,n,a){var s=i(t),l=r(n),u=l<0?s+l:l;if(u>=s||u<0)throw o("Incorrect index");for(var c=new e(s),h=0;h<s;h++)c[h]=h===u?a:t[h];return c}},4326:function(t,e,n){"use strict";var i=n(1702),r=i({}.toString),o=i("".slice);t.exports=function(t){return o(r(t),8,-1)}},648:function(t,e,n){"use strict";var i=n(1694),r=n(614),o=n(4326),a=n(5112)("toStringTag"),s=Object,l="Arguments"==o(function(){return arguments}());t.exports=i?o:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?n:l?o(e):"Object"==(i=o(e))&&r(e.callee)?"Arguments":i}},9920:function(t,e,n){"use strict";var i=n(2597),r=n(3887),o=n(1236),a=n(3070);t.exports=function(t,e,n){for(var s=r(e),l=a.f,u=o.f,c=0;c<s.length;c++){var h=s[c];i(t,h)||n&&i(n,h)||l(t,h,u(e,h))}}},8544:function(t,e,n){"use strict";var i=n(7293);t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},8880:function(t,e,n){"use strict";var i=n(9781),r=n(3070),o=n(9114);t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){"use strict";
vendor: 2,551 bytes, line 1
1t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7045:function(t,e,n){"use strict";var i=n(6339),r=n(3070);t.exports=function(t,e,n){return n.get&&i(n.get,e,{getter:!0}),n.set&&i(n.set,e,{setter:!0}),r.f(t,e,n)}},8052:function(t,e,n){"use strict";var i=n(614),r=n(3070),o=n(6339),a=n(3072);t.exports=function(t,e,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:e;if(i(n)&&o(n,u,s),s.global)l?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=n:r.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},3072:function(t,e,n){"use strict";var i=n(7854),r=Object.defineProperty;t.exports=function(t,e){try{r(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},9781:function(t,e,n){"use strict";var i=n(7293);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){"use strict";var e="object"==typeof document&&document.all,n=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:n}},317:function(t,e,n){"use strict";var i=n(7854),r=n(111),o=i.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},7207:function(t){"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},3678:function(t){"use strict";t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1}
vendor: 4,743 bytes, line 1
1,InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},8113:function(t){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){"use strict";var i,r,o=n(7854),a=n(8113),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(r=(i=c.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(r=+i[1]),t.exports=r},748:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1060:function(t,e,n){"use strict";var i=n(1702),r=Error,o=i("".replace),a=String(r("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);t.exports=function(t,e){if(l&&"string"==typeof t&&!r.prepareStackTrace)for(;e--;)t=o(t,s,"");return t}},5392:function(t,e,n){"use strict";var i=n(8880),r=n(1060),o=n(2914),a=Error.captureStackTrace;t.exports=function(t,e,n,s){o&&(a?a(t,e):i(t,"stack",r(n,s)))}},2914:function(t,e,n){"use strict";var i=n(7293),r=n(9114);t.exports=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",r(1,7)),7!==t.stack)}))},2109:function(t,e,n){"use strict";var i=n(7854),r=n(1236).f,o=n(8880),a=n(8052),s=n(3072),l=n(9920),u=n(4705);t.exports=function(t,e){var n,c,h,p,f,d=t.target,g=t.global,m=t.stat;if(n=g?i:m?i[d]||s(d,{}):(i[d]||{}).prototype)for(c in e){if(p=e[c],h=t.dontCallGetSet?(f=r(n,c))&&f.value:n[c],!u(g?c:d+(m?".":"#")+c,t.forced)&&void 0!==h){if(typeof p==typeof h)continue;l(p,h)}(t.sham||h&&h.sham)&&o(p,"sham",!0),a(n,c,p,t)}}},7293:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},2104:function(t,e,n){"use strict";var i=n(4374),r=Function.prototype,o=r.apply,a=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(o):function(){return a.apply(o,arguments)})},9974:function(t,e,n){"use strict";var i=n(1470),r=n(9662),o=n(4374),a=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},4374:function(t,e,n){"use strict";var i=n(7293);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){"use strict";var i=n(4374),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},6530:function(t,e,n){"use strict";var i=n(9781),r=n(2597),o=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=r(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!i||i&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},5668:function(t,e,n){"use strict";var i=n(1702),r=n(9662);t.exports=function(t,e,n){try{return i(r(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}},1470:function(t,e,n){"use strict";var i=n(4326),r=n(1702);t.exports=function(t){if("Function"===i(t))return r(t)}},1702:function(t,e,n){"use strict";var i=n(4374),r=Function.prototype,o=r.call,a=i&&r.bind.bind(o,o);t.exports=i?a:function(t){return function(){return o.apply(t,arguments)}}},5005:function(t,e,n){"use strict";var i=n(7854),r=n(614);t.exports=function(t,e){return arguments.length<2?(n=i[t],r(n)?n:void 0):i[t]&&i[t][e];var n}},8173:function(t,e,n){"use strict";var i=n(9662),r=n(8554);t.exports=function(t,e){var n=t[e];return r(n)?void 0:i(n)}},7854:function(t,e,n){"use strict";var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},2597:function(t,e,n){"use strict";var i=n(1702),r=n(7908),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},3501:function(t){"use strict";t.exports={}},4664:function(t,e,n){"use strict";var i=n(9781),r=n(7293),o=n(317);t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){"use strict";var i=n(1702),r=n(7293),o=n(4326),a=Object,s=i("".split);t.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},9587:function(t,e,n){"use strict";var i=n(614),r=n(111),o=n(7674);t.exports=function(t,e,n){var a,s;return o&&i(a=e.constructor)&&a!==n&&r(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},2788:function(t,e,n){"use strict";var i=n(1702),r=n(614),o=n(5465),a=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},8340:function(t,e,n){"use strict";var i=n(111),r=n(8880);t.exports=function(t,e){i(e)&&"cause"in e&&r(t,"cause",e.cause)}},9909:function(t,e,n){"use strict";
vendor: 4,401 bytes, line 1
1var i,r,o,a=n(4811),s=n(7854),l=n(111),u=n(8880),c=n(2597),h=n(5465),p=n(6200),f=n(3501),d="Object already initialized",g=s.TypeError,m=s.WeakMap;if(a||h.state){var v=h.state||(h.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,i=function(t,e){if(v.has(t))throw g(d);return e.facade=t,v.set(t,e),e},r=function(t){return v.get(t)||{}},o=function(t){return v.has(t)}}else{var y=p("state");f[y]=!0,i=function(t,e){if(c(t,y))throw g(d);return e.facade=t,u(t,y,e),e},r=function(t){return c(t,y)?t[y]:{}},o=function(t){return c(t,y)}}t.exports={set:i,get:r,has:o,enforce:function(t){return o(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=r(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}}}},3157:function(t,e,n){"use strict";var i=n(4326);t.exports=Array.isArray||function(t){return"Array"==i(t)}},4067:function(t,e,n){"use strict";var i=n(648);t.exports=function(t){var e=i(t);return"BigInt64Array"==e||"BigUint64Array"==e}},614:function(t,e,n){"use strict";var i=n(4154),r=i.all;t.exports=i.IS_HTMLDDA?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},4705:function(t,e,n){"use strict";var i=n(7293),r=n(614),o=/#|\.prototype\./,a=function(t,e){var n=l[s(t)];return n==c||n!=u&&(r(e)?i(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},8554:function(t){"use strict";t.exports=function(t){return null==t}},111:function(t,e,n){"use strict";var i=n(614),r=n(4154),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:i(t)||t===o}:function(t){return"object"==typeof t?null!==t:i(t)}},1913:function(t){"use strict";t.exports=!1},2190:function(t,e,n){"use strict";var i=n(5005),r=n(614),o=n(7976),a=n(3307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return r(e)&&o(e.prototype,s(t))}},6244:function(t,e,n){"use strict";var i=n(7466);t.exports=function(t){return i(t.length)}},6339:function(t,e,n){"use strict";var i=n(1702),r=n(7293),o=n(614),a=n(2597),s=n(9781),l=n(6530).CONFIGURABLE,u=n(2788),c=n(9909),h=c.enforce,p=c.get,f=String,d=Object.defineProperty,g=i("".slice),m=i("".replace),v=i([].join),y=s&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),_=String(String).split("String"),x=t.exports=function(t,e,n){"Symbol("===g(f(e),0,7)&&(e="["+m(f(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||l&&t.name!==e)&&(s?d(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&a(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var i=h(t);return a(i,"source")||(i.source=v(_,"string"==typeof e?e:"")),t};Function.prototype.toString=x((function(){return o(this)&&p(this).source||u(this)}),"toString")},4758:function(t){"use strict";var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var i=+t;return(i>0?n:e)(i)}},6277:function(t,e,n){"use strict";var i=n(1340);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:i(t)}},3070:function(t,e,n){"use strict";var i=n(9781),r=n(4664),o=n(3353),a=n(9670),s=n(4948),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h="enumerable",p="configurable",f="writable";e.f=i?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&f in n&&!n[f]){var i=c(t,e);i&&i[f]&&(t[e]=n.value,n={configurable:p in n?n[p]:i[p],enumerable:h in n?n[h]:i[h],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),r)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){"use strict";var i=n(9781),r=n(6916),o=n(5296),a=n(9114),s=n(5656),l=n(4948),u=n(2597),c=n(4664),h=Object.getOwnPropertyDescriptor;e.f=i?h:function(t,e){if(t=s(t),e=l(e),c)try{return h(t,e)}catch(t){}if(u(t,e))return a(!r(o.f,t,e),t[e])}},8006:function(t,e,n){"use strict";var i=n(6324),r=n(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},5181:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},9518:function(t,e,n){"use strict";var i=n(2597),r=n(614),o=n(7908),a=n(6200),s=n(8544),l=a("IE_PROTO"),u=Object,c=u.prototype;
vendor: 8,419 bytes, line 1
1t.exports=s?u.getPrototypeOf:function(t){var e=o(t);if(i(e,l))return e[l];var n=e.constructor;return r(n)&&e instanceof n?n.prototype:e instanceof u?c:null}},7976:function(t,e,n){"use strict";var i=n(1702);t.exports=i({}.isPrototypeOf)},6324:function(t,e,n){"use strict";var i=n(1702),r=n(2597),o=n(5656),a=n(1318).indexOf,s=n(3501),l=i([].push);t.exports=function(t,e){var n,i=o(t),u=0,c=[];for(n in i)!r(s,n)&&r(i,n)&&l(c,n);for(;e.length>u;)r(i,n=e[u++])&&(~a(c,n)||l(c,n));return c}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!n.call({1:2},1);e.f=r?function(t){var e=i(this,t);return!!e&&e.enumerable}:n},7674:function(t,e,n){"use strict";var i=n(5668),r=n(9670),o=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=i(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t(n,i):n.__proto__=i,n}}():void 0)},2140:function(t,e,n){"use strict";var i=n(6916),r=n(614),o=n(111),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&r(n=t.toString)&&!o(s=i(n,t)))return s;if(r(n=t.valueOf)&&!o(s=i(n,t)))return s;if("string"!==e&&r(n=t.toString)&&!o(s=i(n,t)))return s;throw a("Can't convert object to primitive value")}},3887:function(t,e,n){"use strict";var i=n(5005),r=n(1702),o=n(8006),a=n(5181),s=n(9670),l=r([].concat);t.exports=i("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?l(e,n(t)):e}},2626:function(t,e,n){"use strict";var i=n(3070).f;t.exports=function(t,e,n){n in t||i(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},4488:function(t,e,n){"use strict";var i=n(8554),r=TypeError;t.exports=function(t){if(i(t))throw r("Can't call method on "+t);return t}},6200:function(t,e,n){"use strict";var i=n(2309),r=n(9711),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},5465:function(t,e,n){"use strict";var i=n(7854),r=n(3072),o="__core-js_shared__",a=i[o]||r(o,{});t.exports=a},2309:function(t,e,n){"use strict";var i=n(1913),r=n(5465);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.32.0",mode:i?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){"use strict";var i=n(7392),r=n(7293),o=n(7854).String;t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},1400:function(t,e,n){"use strict";var i=n(9303),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},4599:function(t,e,n){"use strict";var i=n(7593),r=TypeError;t.exports=function(t){var e=i(t,"number");if("number"==typeof e)throw r("Can't convert number to bigint");return BigInt(e)}},5656:function(t,e,n){"use strict";var i=n(8361),r=n(4488);t.exports=function(t){return i(r(t))}},9303:function(t,e,n){"use strict";var i=n(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:i(e)}},7466:function(t,e,n){"use strict";var i=n(9303),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},7908:function(t,e,n){"use strict";var i=n(4488),r=Object;t.exports=function(t){return r(i(t))}},2452:function(t,e,n){"use strict";var i=n(3002),r=RangeError;t.exports=function(t,e){var n=i(t);if(n%e)throw r("Wrong offset");return n}},3002:function(t,e,n){"use strict";var i=n(9303),r=RangeError;t.exports=function(t){var e=i(t);if(e<0)throw r("The argument can't be less than 0");return e}},7593:function(t,e,n){"use strict";var i=n(6916),r=n(111),o=n(2190),a=n(8173),s=n(2140),l=n(5112),u=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,l=a(t,c);if(l){if(void 0===e&&(e="default"),n=i(l,t,e),!r(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:function(t,e,n){"use strict";var i=n(7593),r=n(2190);t.exports=function(t){var e=i(t,"string");return r(e)?e:e+""}},1694:function(t,e,n){"use strict";var i={};i[n(5112)("toStringTag")]="z",t.exports="[object z]"===String(i)},1340:function(t,e,n){"use strict";var i=n(648),r=String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},6330:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:function(t,e,n){"use strict";var i=n(1702),r=0,o=Math.random(),a=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++r+o,36)}},3307:function(t,e,n){"use strict";var i=n(6293);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){"use strict";var i=n(9781),r=n(7293);t.exports=i&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:function(t){"use strict";var e=TypeError;t.exports=function(t,n){if(t<n)throw e("Not enough arguments");return t}},4811:function(t,e,n){"use strict";var i=n(7854),r=n(614),o=i.WeakMap;t.exports=r(o)&&/native code/.test(String(o))},5112:function(t,e,n){"use strict";var i=n(7854),r=n(2309),o=n(2597),a=n(9711),s=n(6293),l=n(3307),u=i.Symbol,c=r("wks"),h=l?u.for||u:u&&u.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=s&&o(u,t)?u[t]:h("Symbol."+t)),c[t]}},9191:function(t,e,n){"use strict";var i=n(5005),r=n(2597),o=n(8880),a=n(7976),s=n(7674),l=n(9920),u=n(2626),c=n(9587),h=n(6277),p=n(8340),f=n(5392),d=n(9781),g=n(1913);t.exports=function(t,e,n,m){var v="stackTraceLimit",y=m?2:1,_=t.split("."),x=_[_.length-1],b=i.apply(null,_);if(b){var w=b.prototype;if(!g&&r(w,"cause")&&delete w.cause,!n)return b;var S=i("Error"),T=e((function(t,e){var n=h(m?e:t,void 0),i=m?new b(t):new b;return void 0!==n&&o(i,"message",n),f(i,T,i.stack,2),this&&a(w,this)&&c(i,this,T),arguments.length>y&&p(i,arguments[y]),i}));if(T.prototype=w,"Error"!==x?s?s(T,S):l(T,S,{name:!0}):d&&v in b&&(u(T,b,v),u(T,b,"prepareStackTrace")),l(T,b),!g)try{w.name!==x&&o(w,"name",x),w.constructor=T}catch(t){}return T}}},7658:function(t,e,n){"use strict";var i=n(2109),r=n(7908),o=n(6244),a=n(3658),s=n(7207);i({target:"Array",proto:!0,arity:1,forced:n(7293)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=r(this),n=o(e),i=arguments.length;s(n+i);for(var l=0;l<i;l++)e[n]=arguments[l],n++;return a(e,n),n}})},1703:function(t,e,n){"use strict";var i=n(2109),r=n(7854),o=n(2104),a=n(9191),s="WebAssembly",l=r[s],u=7!==Error("e",{cause:7}).cause,c=function(t,e){var n={};n[t]=a(t,e,u),i({global:!0,constructor:!0,arity:1,forced:u},n)},h=function(t,e){if(l&&l[t]){var n={};n[t]=a(s+"."+t,e,u),i({target:s,stat:!0,constructor:!0,arity:1,forced:u},n)}};c("Error",(function(t){return function(e){return o(t,this,arguments)}})),c("EvalError",(function(t){return function(e){return o(t,this,arguments)}})),c("RangeError",(function(t){return function(e){return o(t,this,arguments)}})),c("ReferenceError",(function(t){return function(e){return o(t,this,arguments)}})),c("SyntaxError",(function(t){return function(e){return o(t,this,arguments)}})),c("TypeError",(function(t){return function(e){return o(t,this,arguments)}})),c("URIError",(function(t){return function(e){return o(t,this,arguments)}})),h("CompileError",(function(t){return function(e){return o(t,this,arguments)}})),h("LinkError",(function(t){return function(e){return o(t,this,arguments)}})),h("RuntimeError",(function(t){return function(e){return o(t,this,arguments)}}))},8675:function(t,e,n){"use strict";var i=n(260),r=n(6244),o=n(9303),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("at",(function(t){var e=a(this),n=r(e),i=o(t),s=i>=0?i:n+i;return s<0||s>=n?void 0:e[s]}))},4590:function(t,e,n){"use strict";var i=n(260),r=n(9671).findLastIndex,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("findLastIndex",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},3408:function(t,e,n){"use strict";var i=n(260),r=n(9671).findLast,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("findLast",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},3462:function(t,e,n){"use strict";var i=n(7854),r=n(6916),o=n(260),a=n(6244),s=n(2452),l=n(7908),u=n(7293),
vendor: 5,420 bytes, line 1
1c=i.RangeError,h=i.Int8Array,p=h&&h.prototype,f=p&&p.set,d=o.aTypedArray,g=o.exportTypedArrayMethod,m=!u((function(){var t=new Uint8ClampedArray(2);return r(f,t,{length:1,0:3},1),3!==t[1]})),v=m&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var t=new h(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));g("set",(function(t){d(this);var e=s(arguments.length>1?arguments[1]:void 0,1),n=l(t);if(m)return r(f,this,n,e);var i=this.length,o=a(n),u=0;if(o+e>i)throw c("Wrong length");for(;u<o;)this[e+u]=n[u++]}),!m||v)},1439:function(t,e,n){"use strict";var i=n(1843),r=n(260),o=r.aTypedArray,a=r.exportTypedArrayMethod,s=r.getTypedArrayConstructor;a("toReversed",(function(){return i(o(this),s(this))}))},7585:function(t,e,n){"use strict";var i=n(260),r=n(1702),o=n(9662),a=n(7745),s=i.aTypedArray,l=i.getTypedArrayConstructor,u=i.exportTypedArrayMethod,c=r(i.TypedArrayPrototype.sort);u("toSorted",(function(t){void 0!==t&&o(t);var e=s(this),n=a(l(e),e);return c(n,t)}))},5315:function(t,e,n){"use strict";var i=n(1572),r=n(260),o=n(4067),a=n(9303),s=n(4599),l=r.aTypedArray,u=r.getTypedArrayConstructor,c=r.exportTypedArrayMethod,h=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}();c("with",{with:function(t,e){var n=l(this),r=a(t),c=o(n)?s(e):+e;return i(n,u(n),r,c)}}.with,!h)},2801:function(t,e,n){"use strict";var i=n(2109),r=n(7854),o=n(5005),a=n(9114),s=n(3070).f,l=n(2597),u=n(5787),c=n(9587),h=n(6277),p=n(3678),f=n(1060),d=n(9781),g=n(1913),m="DOMException",v=o("Error"),y=o(m),_=function(){u(this,x);var t=arguments.length,e=h(t<1?void 0:arguments[0]),n=h(t<2?void 0:arguments[1],"Error"),i=new y(e,n),r=v(e);return r.name=m,s(i,"stack",a(1,f(r.stack,1))),c(i,this,_),i},x=_.prototype=y.prototype,b="stack"in v(m),w="stack"in new y(1,2),S=y&&d&&Object.getOwnPropertyDescriptor(r,m),T=!(!S||S.writable&&S.configurable),M=b&&!T&&!w;i({global:!0,constructor:!0,forced:g||M},{DOMException:M?_:y});var C=o(m),A=C.prototype;if(A.constructor!==C)for(var I in g||s(A,"constructor",a(1,C)),p)if(l(p,I)){var k=p[I],D=k.s;l(C,D)||s(C,D,a(6,k.c))}},6229:function(t,e,n){"use strict";var i=n(8052),r=n(1702),o=n(1340),a=n(8053),s=URLSearchParams,l=s.prototype,u=r(l.append),c=r(l.delete),h=r(l.forEach),p=r([].push),f=new s("a=1&a=2&b=3");f.delete("a",1),f.delete("b",void 0),f+""!="a=2"&&i(l,"delete",(function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return c(this,t);var i=[];h(this,(function(t,e){p(i,{key:e,value:t})})),a(e,1);for(var r,s=o(t),l=o(n),f=0,d=0,g=!1,m=i.length;f<m;)r=i[f++],g||r.key===s?(g=!0,c(this,r.key)):d++;for(;d<m;)(r=i[d++]).key===s&&r.value===l||u(this,r.key,r.value)}),{enumerable:!0,unsafe:!0})},7330:function(t,e,n){"use strict";var i=n(8052),r=n(1702),o=n(1340),a=n(8053),s=URLSearchParams,l=s.prototype,u=r(l.getAll),c=r(l.has),h=new s("a=1");!h.has("a",2)&&h.has("a",void 0)||i(l,"has",(function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return c(this,t);var i=u(this,t);a(e,1);for(var r=o(n),s=0;s<i.length;)if(i[s++]===r)return!0;return!1}),{enumerable:!0,unsafe:!0})},2062:function(t,e,n){"use strict";var i=n(9781),r=n(1702),o=n(7045),a=URLSearchParams.prototype,s=r(a.forEach);i&&!("size"in a)&&o(a,"size",{get:function(){var t=0;return s(this,(function(){t++})),t},configurable:!0,enumerable:!0})},2881:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=91)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},4:function(t,e){t.exports=n(2477)},91:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"el-checkbox",class:[t.border&&t.checkboxSize?"el-checkbox--"+t.checkboxSize:"",{"is-disabled":t.isDisabled},{"is-bordered":t.border},{"is-checked":t.isChecked}],attrs:{id:t.id}}
vendor: 87,060 bytes, line 1
1,[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":t.isDisabled,"is-checked":t.isChecked,"is-indeterminate":t.indeterminate,"is-focus":t.focus},attrs:{tabindex:!!t.indeterminate&&0,role:!!t.indeterminate&&"checkbox","aria-checked":!!t.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),t.trueLabel||t.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":t.indeterminate?"true":"false",name:t.name,disabled:t.isDisabled,"true-value":t.trueLabel,"false-value":t.falseLabel},domProps:{checked:Array.isArray(t.model)?t._i(t.model,null)>-1:t._q(t.model,t.trueLabel)},on:{change:[function(e){var n=t.model,i=e.target,r=i.checked?t.trueLabel:t.falseLabel;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.model=n.concat([null])):o>-1&&(t.model=n.slice(0,o).concat(n.slice(o+1)))}else t.model=r},t.handleChange],focus:function(e){t.focus=!0},blur:function(e){t.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":t.indeterminate?"true":"false",disabled:t.isDisabled,name:t.name},domProps:{value:t.label,checked:Array.isArray(t.model)?t._i(t.model,t.label)>-1:t.model},on:{change:[function(e){var n=t.model,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t.label,a=t._i(n,o);i.checked?a<0&&(t.model=n.concat([o])):a>-1&&(t.model=n.slice(0,a).concat(n.slice(a+1)))}else t.model=r},t.handleChange],focus:function(e){t.focus=!0},blur:function(e){t.focus=!1}}})]),t.$slots.default||t.label?n("span",{staticClass:"el-checkbox__label"},[t._t("default"),t.$slots.default?t._e():[t._v(t._s(t.label))]],2):t._e()])};i._withStripped=!0;var r=n(4),o={name:"ElCheckbox",mixins:[n.n(r).a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(t){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&t.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&t.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[t])):(this.$emit("input",t),this.selfModel=t)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){for(var t=this.$parent;t;){if("ElCheckboxGroup"===t.$options.componentName)return this._checkboxGroup=t,!0;t=t.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var t=this._checkboxGroup,e=t.max,n=t.min;return!(!e&&!n)&&this.model.length>=e&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var t=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||t}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(t){var e=this;if(!this.isLimitExceeded){var n=void 0;n=t.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,t),this.$nextTick((function(){e.isGroup&&e.dispatch("ElCheckboxGroup","change",[e._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(t){this.dispatch("ElFormItem","el.form.change",t)}}},a=n(0),s=Object(a.a)(o,i,[],!1,null,null,null);s.options.__file="packages/checkbox/src/checkbox.vue";var l=s.exports;l.install=function(t){t.component(l.name,l)};e.default=l}})},32:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=70)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},3:function(t,e){t.exports=n(3104)},4:function(t,e){t.exports=n(2477)},49:function(t,e){t.exports=n(6381)},70:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-form-item",class:[{"el-form-item--feedback":t.elForm&&t.elForm.statusIcon,"is-error":"error"===t.validateState,"is-validating":"validating"===t.validateState,"is-success":"success"===t.validateState,"is-required":t.isRequired||t.required,"is-no-asterisk":t.elForm&&t.elForm.hideRequiredAsterisk},t.sizeClass?"el-form-item--"+t.sizeClass:""]},[n("label-wrap",{attrs:{"is-auto-width":t.labelStyle&&"auto"===t.labelStyle.width,"update-all":"auto"===t.form.labelWidth}},[t.label||t.$slots.label?n("label",{staticClass:"el-form-item__label",style:t.labelStyle,attrs:{for:t.labelFor}},[t._t("label",[t._v(t._s(t.label+t.form.labelSuffix))])],2):t._e()]),n("div",{staticClass:"el-form-item__content",style:t.contentStyle},[t._t("default"),n("transition",{attrs:{name:"el-zoom-in-top"}},["error"===t.validateState&&t.showMessage&&t.form.showMessage?t._t("error",[n("div",{staticClass:"el-form-item__error",class:{"el-form-item__error--inline":"boolean"==typeof t.inlineMessage?t.inlineMessage:t.elForm&&t.elForm.inlineMessage||!1}},[t._v("\n "+t._s(t.validateMessage)+"\n ")])],{error:t.validateMessage}):t._e()],2)],2)],1)};i._withStripped=!0;var r=n(49),o=n.n(r),a=n(4),s=n.n(a),l=n(9),u=n.n(l),c=n(3),h={props:{isAutoWidth:Boolean,updateAll:Boolean},inject:["elForm","elFormItem"],render:function(){var t=arguments[0],e=this.$slots.default;if(!e)return null;if(this.isAutoWidth){var n=this.elForm.autoLabelWidth,i={};if(n&&"auto"!==n){var r=parseInt(n,10)-this.computedWidth;r&&(i.marginLeft=r+"px")}return t("div",{class:"el-form-item__label-wrap",style:i},[e])}return e[0]},methods:{getLabelWidth:function(){if(this.$el&&this.$el.firstElementChild){var t=window.getComputedStyle(this.$el.firstElementChild).width;return Math.ceil(parseFloat(t))}return 0},updateLabelWidth:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"update";this.$slots.default&&this.isAutoWidth&&this.$el.firstElementChild&&("update"===t?this.computedWidth=this.getLabelWidth():"remove"===t&&this.elForm.deregisterLabelWidth(this.computedWidth))}},watch:{computedWidth:function(t,e){this.updateAll&&(this.elForm.registerLabelWidth(t,e),this.elFormItem.updateComputedLabelWidth(t))}},data:function(){return{computedWidth:0}},mounted:function(){this.updateLabelWidth("update")},updated:function(){this.updateLabelWidth("update")},beforeDestroy:function(){this.updateLabelWidth("remove")}},p=h,f=n(0),d=Object(f.a)(p,undefined,undefined,!1,null,null,null);d.options.__file="packages/form/src/label-wrap.vue";var g=d.exports,m={name:"ElFormItem",componentName:"ElFormItem",mixins:[s.a],provide:function(){return{elFormItem:this}},inject:["elForm"],props:{label:String,labelWidth:String,prop:String,required:{type:Boolean,default:void 0},rules:[Object,Array],error:String,validateStatus:String,for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:String},components:{LabelWrap:g},watch:{error:{immediate:!0,handler:function(t){this.validateMessage=t,this.validateState=t?"error":""}},validateStatus:function(t){this.validateState=t},rules:function(t){t&&0!==t.length||void 0!==this.required||this.clearValidate()}},computed:{labelFor:function(){return this.for||this.prop},labelStyle:function(){var t={};if("top"===this.form.labelPosition)return t;var e=this.labelWidth||this.form.labelWidth;return e&&(t.width=e),t},contentStyle:function(){var t={},e=this.label;if("top"===this.form.labelPosition||this.form.inline)return t;if(!e&&!this.labelWidth&&this.isNested)return t;var n=this.labelWidth||this.form.labelWidth;return"auto"===n?"auto"===this.labelWidth?t.marginLeft=this.computedLabelWidth:"auto"===this.form.labelWidth&&(t.marginLeft=this.elForm.autoLabelWidth):t.marginLeft=n,t},form:function(){for(var t=this.$parent,e=t.$options.componentName;"ElForm"!==e;)"ElFormItem"===e&&(this.isNested=!0),e=(t=t.$parent).$options.componentName;return t},fieldValue:function(){var t=this.form.model;if(t&&this.prop){var e=this.prop;return-1!==e.indexOf(":")&&(e=e.replace(/:/,".")),Object(c.getPropByPath)(t,e,!0).v}},isRequired:function(){var t=this.getRules(),e=!1;return t&&t.length&&t.every((function(t){return!t.required||(e=!0,!1)})),e},_formSize:function(){return this.elForm.size},elFormItemSize:function(){return this.size||this._formSize},sizeClass:function(){return this.elFormItemSize||(this.$ELEMENT||{}).size}},data:function(){return{validateState:"",validateMessage:"",validateDisabled:!1,validator:{},isNested:!1,computedLabelWidth:""}},methods:{validate:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.noop;this.validateDisabled=!1;var i=this.getFilteredRule(t);if((!i||0===i.length)&&void 0===this.required)return n(),!0;this.validateState="validating";var r={};i&&i.length>0&&i.forEach((function(t){delete t.trigger})),r[this.prop]=i;var a=new o.a(r),s={};s[this.prop]=this.fieldValue,a.validate(s,{firstFields:!0},(function(t,i){e.validateState=t?"error":"success",e.validateMessage=t?t[0].message:"",n(e.validateMessage,i),e.elForm&&e.elForm.$emit("validate",e.prop,!t,e.validateMessage||null)}))},clearValidate:function(){this.validateState="",this.validateMessage="",this.validateDisabled=!1},resetField:function(){var t=this;this.validateState="",this.validateMessage="";var e=this.form.model,n=this.fieldValue,i=this.prop;-1!==i.indexOf(":")&&(i=i.replace(/:/,"."));var r=Object(c.getPropByPath)(e,i,!0);this.validateDisabled=!0,Array.isArray(n)?r.o[r.k]=[].concat(this.initialValue):r.o[r.k]=this.initialValue,this.$nextTick((function(){t.validateDisabled=!1})),this.broadcast("ElTimeSelect","fieldReset",this.initialValue)},getRules:function(){var t=this.form.rules,e=this.rules,n=void 0!==this.required?{required:!!this.required}:[],i=Object(c.getPropByPath)(t,this.prop||"");return t=t?i.o[this.prop||""]||i.v:[],[].concat(e||t||[]).concat(n)},getFilteredRule:function(t){return this.getRules().filter((function(e){return!e.trigger||""===t||(Array.isArray(e.trigger)?e.trigger.indexOf(t)>-1:e.trigger===t)})).map((function(t){return u()({},t)}))},onFieldBlur:function(){this.validate("blur")},onFieldChange:function(){this.validateDisabled?this.validateDisabled=!1:this.validate("change")},updateComputedLabelWidth:function(t){this.computedLabelWidth=t?t+"px":""},addValidateEvents:function(){(this.getRules().length||void 0!==this.required)&&(this.$on("el.form.blur",this.onFieldBlur),this.$on("el.form.change",this.onFieldChange))},removeValidateEvents:function(){this.$off()}},mounted:function(){if(this.prop){this.dispatch("ElForm","el.form.addField",[this]);var t=this.fieldValue;Array.isArray(t)&&(t=[].concat(t)),Object.defineProperty(this,"initialValue",{value:t}),this.addValidateEvents()}},beforeDestroy:function(){this.dispatch("ElForm","el.form.removeField",[this])}},v=m,y=Object(f.a)(v,i,[],!1,null,null,null);y.options.__file="packages/form/src/form-item.vue";var _=y.exports;_.install=function(t){t.component(_.name,_)};e.default=_},9:function(t,e){t.exports=n(1615)}})},4223:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=100)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},100:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement;return(t._self._c||e)("form",{staticClass:"el-form",class:[t.labelPosition?"el-form--label-"+t.labelPosition:"",{"el-form--inline":t.inline}]},[t._t("default")],2)};i._withStripped=!0;var r=n(9),o=n.n(r),a={name:"ElForm",componentName:"ElForm",provide:function(){return{elForm:this}},props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},watch:{rules:function(){this.fields.forEach((function(t){t.removeValidateEvents(),t.addValidateEvents()})),this.validateOnRuleChange&&this.validate((function(){}))}},computed:{autoLabelWidth:function(){if(!this.potentialLabelWidthArr.length)return 0;var t=Math.max.apply(Math,this.potentialLabelWidthArr);return t?t+"px":""}},data:function(){return{fields:[],potentialLabelWidthArr:[]}},created:function(){var t=this;this.$on("el.form.addField",(function(e){e&&t.fields.push(e)})),this.$on("el.form.removeField",(function(e){e.prop&&t.fields.splice(t.fields.indexOf(e),1)}))},methods:{resetFields:function(){this.model&&this.fields.forEach((function(t){t.resetField()}))},clearValidate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(t.length?"string"==typeof t?this.fields.filter((function(e){return t===e.prop})):this.fields.filter((function(e){return t.indexOf(e.prop)>-1})):this.fields).forEach((function(t){t.clearValidate()}))},validate:function(t){var e=this;if(this.model){var n=void 0;"function"!=typeof t&&window.Promise&&(n=new window.Promise((function(e,n){t=function(t,i){t?e(t):n(i)}})));var i=!0,r=0;0===this.fields.length&&t&&t(!0);var a={};return this.fields.forEach((function(n){n.validate("",(function(n,s){n&&(i=!1),a=o()({},a,s),"function"==typeof t&&++r===e.fields.length&&t(i,a)}))})),n||void 0}},validateField:function(t,e){t=[].concat(t);var n=this.fields.filter((function(e){return-1!==t.indexOf(e.prop)}));n.length&&n.forEach((function(t){t.validate("",e)}))},getLabelWidthIndex:function(t){var e=this.potentialLabelWidthArr.indexOf(t);if(-1===e)throw new Error("[ElementForm]unpected width ",t);return e},registerLabelWidth:function(t,e){if(t&&e){var n=this.getLabelWidthIndex(e);this.potentialLabelWidthArr.splice(n,1,t)}else t&&this.potentialLabelWidthArr.push(t)},deregisterLabelWidth:function(t){var e=this.getLabelWidthIndex(t);this.potentialLabelWidthArr.splice(e,1)}}},s=a,l=n(0),u=Object(l.a)(s,i,[],!1,null,null,null);u.options.__file="packages/form/src/form.vue";var c=u.exports;c.install=function(t){t.component(c.name,c)};e.default=c},9:function(t,e){t.exports=n(1615)}})},2111:function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=103)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},103:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement;return(t._self._c||e)("i",{class:"el-icon-"+t.name})};i._withStripped=!0;var r={name:"ElIcon",props:{name:String}},o=n(0),a=Object(o.a)(r,i,[],!1,null,null,null);a.options.__file="packages/icon/src/icon.vue";var s=a.exports;s.install=function(t){t.component(s.name,s)};e.default=s}})},7626:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=75)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},11:function(t,e){t.exports=n(4222)},21:function(t,e){t.exports=n(8917)},4:function(t,e){t.exports=n(2477)},75:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["textarea"===t.type?"el-textarea":"el-input",t.inputSize?"el-input--"+t.inputSize:"",{"is-disabled":t.inputDisabled,"is-exceed":t.inputExceed,"el-input-group":t.$slots.prepend||t.$slots.append,"el-input-group--append":t.$slots.append,"el-input-group--prepend":t.$slots.prepend,"el-input--prefix":t.$slots.prefix||t.prefixIcon,"el-input--suffix":t.$slots.suffix||t.suffixIcon||t.clearable||t.showPassword}],on:{mouseenter:function(e){t.hovering=!0},mouseleave:function(e){t.hovering=!1}}},["textarea"!==t.type?[t.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[t._t("prepend")],2):t._e(),"textarea"!==t.type?n("input",t._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:t.tabindex,type:t.showPassword?t.passwordVisible?"text":"password":t.type,disabled:t.inputDisabled,readonly:t.readonly,autocomplete:t.autoComplete||t.autocomplete,"aria-label":t.label},on:{compositionstart:t.handleCompositionStart,compositionupdate:t.handleCompositionUpdate,compositionend:t.handleCompositionEnd,input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"input",t.$attrs,!1)):t._e(),t.$slots.prefix||t.prefixIcon?n("span",{staticClass:"el-input__prefix"},[t._t("prefix"),t.prefixIcon?n("i",{staticClass:"el-input__icon",class:t.prefixIcon}):t._e()],2):t._e(),t.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[t.showClear&&t.showPwdVisible&&t.isWordLimitVisible?t._e():[t._t("suffix"),t.suffixIcon?n("i",{staticClass:"el-input__icon",class:t.suffixIcon}):t._e()],t.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(t){t.preventDefault()},click:t.clear}}):t._e(),t.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:t.handlePasswordVisible}}):t._e(),t.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[t._v("\n "+t._s(t.textLength)+"/"+t._s(t.upperLimit)+"\n ")])]):t._e()],2),t.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",t.validateIcon]}):t._e()]):t._e(),t.$slots.append?n("div",{staticClass:"el-input-group__append"},[t._t("append")],2):t._e()]:n("textarea",t._b({ref:"textarea",staticClass:"el-textarea__inner",style:t.textareaStyle,attrs:{tabindex:t.tabindex,disabled:t.inputDisabled,readonly:t.readonly,autocomplete:t.autoComplete||t.autocomplete,"aria-label":t.label},on:{compositionstart:t.handleCompositionStart,compositionupdate:t.handleCompositionUpdate,compositionend:t.handleCompositionEnd,input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"textarea",t.$attrs,!1)),t.isWordLimitVisible&&"textarea"===t.type?n("span",{staticClass:"el-input__count"},[t._v(t._s(t.textLength)+"/"+t._s(t.upperLimit))]):t._e()],2)};i._withStripped=!0;var r=n(4),o=n.n(r),a=n(11),s=n.n(a),l=void 0,u=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;l||(l=document.createElement("textarea"),document.body.appendChild(l));var i=function(t){var e=window.getComputedStyle(t),n=e.getPropertyValue("box-sizing"),i=parseFloat(e.getPropertyValue("padding-bottom"))+parseFloat(e.getPropertyValue("padding-top")),r=parseFloat(e.getPropertyValue("border-bottom-width"))+parseFloat(e.getPropertyValue("border-top-width"));return{contextStyle:u.map((function(t){return t+":"+e.getPropertyValue(t)})).join(";"),paddingSize:i,borderSize:r,boxSizing:n}}(t),r=i.paddingSize,o=i.borderSize,a=i.boxSizing,s=i.contextStyle;l.setAttribute("style",s+";\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n"),l.value=t.value||t.placeholder||"";var c=l.scrollHeight,h={};"border-box"===a?c+=o:"content-box"===a&&(c-=r),l.value="";var p=l.scrollHeight-r;if(null!==e){var f=p*e;"border-box"===a&&(f=f+r+o),c=Math.max(f,c),h.minHeight=f+"px"}if(null!==n){var d=p*n;"border-box"===a&&(d=d+r+o),c=Math.min(d,c)}return h.height=c+"px",l.parentNode&&l.parentNode.removeChild(l),l=null,h}var h=n(9),p=n.n(h),f=n(21),d={name:"ElInput",componentName:"ElInput",mixins:[o.a,s.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(t){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return p()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"==typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(t){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[t])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var t=this;this.$nextTick((function(){t.setNativeInputValue(),t.resizeTextarea(),t.updateIconOffset()}))}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(t){this.focused=!1,this.$emit("blur",t),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var t=this.autosize;if("textarea"===this.type)if(t){var e=t.minRows,n=t.maxRows;this.textareaCalcStyle=c(this.$refs.textarea,e,n)}else this.textareaCalcStyle={minHeight:c(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var t=this.getInput();t&&t.value!==this.nativeInputValue&&(t.value=this.nativeInputValue)},handleFocus:function(t){this.focused=!0,this.$emit("focus",t)},handleCompositionStart:function(t){this.$emit("compositionstart",t),this.isComposing=!0},handleCompositionUpdate:function(t){this.$emit("compositionupdate",t);var e=t.target.value,n=e[e.length-1]||"";this.isComposing=!Object(f.isKorean)(n)},handleCompositionEnd:function(t){this.$emit("compositionend",t),this.isComposing&&(this.isComposing=!1,this.handleInput(t))},handleInput:function(t){this.isComposing||t.target.value!==this.nativeInputValue&&(this.$emit("input",t.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(t){this.$emit("change",t.target.value)},calcIconOffset:function(t){var e=[].slice.call(this.$el.querySelectorAll(".el-input__"+t)||[]);if(e.length){for(var n=null,i=0;i<e.length;i++)if(e[i].parentNode===this.$el){n=e[i];break}if(n){var r={suffix:"append",prefix:"prepend"}[t];this.$slots[r]?n.style.transform="translateX("+("suffix"===t?"-":"")+this.$el.querySelector(".el-input-group__"+r).offsetWidth+"px)":n.removeAttribute("style")}}},updateIconOffset:function(){this.calcIconOffset("prefix"),this.calcIconOffset("suffix")},clear:function(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")},handlePasswordVisible:function(){var t=this;this.passwordVisible=!this.passwordVisible,this.$nextTick((function(){t.focus()}))},getInput:function(){return this.$refs.input||this.$refs.textarea},getSuffixVisible:function(){return this.$slots.suffix||this.suffixIcon||this.showClear||this.showPassword||this.isWordLimitVisible||this.validateState&&this.needStatusIcon}},created:function(){this.$on("inputSelect",this.select)},mounted:function(){this.setNativeInputValue(),this.resizeTextarea(),this.updateIconOffset()},updated:function(){this.$nextTick(this.updateIconOffset)}},g=d,m=n(0),v=Object(m.a)(g,i,[],!1,null,null,null);v.options.__file="packages/input/src/input.vue";var y=v.exports;y.install=function(t){t.component(y.name,y)};e.default=y},9:function(t,e){t.exports=n(1615)}})},3591:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=73)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},13:function(t,e){t.exports=n(2680)},2:function(t,e){t.exports=n(4594)},42:function(t,e){t.exports=n(9634)},7:function(t,e){t.exports=n(144)},73:function(t,e,n){"use strict";n.r(e);var i=n(7),r=n.n(i),o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":t.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-loading-mask",class:[t.customClass,{"is-fullscreen":t.fullscreen}],style:{backgroundColor:t.background||""}},[n("div",{staticClass:"el-loading-spinner"},[t.spinner?n("i",{class:t.spinner}):n("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[n("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),t.text?n("p",{staticClass:"el-loading-text"},[t._v(t._s(t.text))]):t._e()])])])};o._withStripped=!0;var a={data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(t){this.text=t}}},s=n(0),l=Object(s.a)(a,o,[],!1,null,null,null);l.options.__file="packages/loading/src/loading.vue";var u=l.exports,c=n(2),h=n(13),p=n(42),f=n.n(p),d=r.a.extend(u),g={install:function(t){if(!t.prototype.$isServer){var e=function(e,i){i.value?t.nextTick((function(){i.modifiers.fullscreen?(e.originalPosition=Object(c.getStyle)(document.body,"position"),e.originalOverflow=Object(c.getStyle)(document.body,"overflow"),e.maskStyle.zIndex=h.PopupManager.nextZIndex(),Object(c.addClass)(e.mask,"is-fullscreen"),n(document.body,e,i)):(Object(c.removeClass)(e.mask,"is-fullscreen"),i.modifiers.body?(e.originalPosition=Object(c.getStyle)(document.body,"position"),["top","left"].forEach((function(t){var n="top"===t?"scrollTop":"scrollLeft";e.maskStyle[t]=e.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]-parseInt(Object(c.getStyle)(document.body,"margin-"+t),10)+"px"})),["height","width"].forEach((function(t){e.maskStyle[t]=e.getBoundingClientRect()[t]+"px"})),n(document.body,e,i)):(e.originalPosition=Object(c.getStyle)(e,"position"),n(e,e,i)))})):(f()(e.instance,(function(t){if(e.instance.hiding){e.domVisible=!1;var n=i.modifiers.fullscreen||i.modifiers.body?document.body:e;Object(c.removeClass)(n,"el-loading-parent--relative"),Object(c.removeClass)(n,"el-loading-parent--hidden"),e.instance.hiding=!1}}),300,!0),e.instance.visible=!1,e.instance.hiding=!0)},n=function(e,n,i){n.domVisible||"none"===Object(c.getStyle)(n,"display")||"hidden"===Object(c.getStyle)(n,"visibility")?n.domVisible&&!0===n.instance.hiding&&(n.instance.visible=!0,n.instance.hiding=!1):(Object.keys(n.maskStyle).forEach((function(t){n.mask.style[t]=n.maskStyle[t]})),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&"sticky"!==n.originalPosition&&Object(c.addClass)(e,"el-loading-parent--relative"),i.modifiers.fullscreen&&i.modifiers.lock&&Object(c.addClass)(e,"el-loading-parent--hidden"),n.domVisible=!0,e.appendChild(n.mask),t.nextTick((function(){n.instance.hiding?n.instance.$emit("after-leave"):n.instance.visible=!0})),n.domInserted=!0)};t.directive("loading",{bind:function(t,n,i){var r=t.getAttribute("element-loading-text"),o=t.getAttribute("element-loading-spinner"),a=t.getAttribute("element-loading-background"),s=t.getAttribute("element-loading-custom-class"),l=i.context,u=new d({el:document.createElement("div"),data:{text:l&&l[r]||r,spinner:l&&l[o]||o,background:l&&l[a]||a,customClass:l&&l[s]||s,fullscreen:!!n.modifiers.fullscreen}});t.instance=u,t.mask=u.$el,t.maskStyle={},n.value&&e(t,n)},update:function(t,n){t.instance.setText(t.getAttribute("element-loading-text")),n.oldValue!==n.value&&e(t,n)},unbind:function(t,n){t.domInserted&&(t.mask&&t.mask.parentNode&&t.mask.parentNode.removeChild(t.mask),e(t,{value:!1,modifiers:n.modifiers})),t.instance&&t.instance.$destroy()}})}}},m=g,v=n(9),y=n.n(v),_=r.a.extend(u),x={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},b=void 0;_.prototype.originalPosition="",_.prototype.originalOverflow="",_.prototype.close=function(){var t=this;this.fullscreen&&(b=void 0),f()(this,(function(e){var n=t.fullscreen||t.body?document.body:t.target;Object(c.removeClass)(n,"el-loading-parent--relative"),Object(c.removeClass)(n,"el-loading-parent--hidden"),t.$el&&t.$el.parentNode&&t.$el.parentNode.removeChild(t.$el),t.$destroy()}),300),this.visible=!1};var w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!r.a.prototype.$isServer){if("string"==typeof(t=y()({},x,t)).target&&(t.target=document.querySelector(t.target)),t.target=t.target||document.body,t.target!==document.body?t.fullscreen=!1:t.body=!0,t.fullscreen&&b)return b;var e=t.body?document.body:t.target,n=new _({el:document.createElement("div"),data:t});return function(t,e,n){var i={};t.fullscreen?(n.originalPosition=Object(c.getStyle)(document.body,"position"),n.originalOverflow=Object(c.getStyle)(document.body,"overflow"),i.zIndex=h.PopupManager.nextZIndex()):t.body?(n.originalPosition=Object(c.getStyle)(document.body,"position"),["top","left"].forEach((function(e){var n="top"===e?"scrollTop":"scrollLeft";i[e]=t.target.getBoundingClientRect()[e]+document.body[n]+document.documentElement[n]+"px"})),["height","width"].forEach((function(e){i[e]=t.target.getBoundingClientRect()[e]+"px"}))):n.originalPosition=Object(c.getStyle)(e,"position"),Object.keys(i).forEach((function(t){n.$el.style[t]=i[t]}))}(t,e,n),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&"sticky"!==n.originalPosition&&Object(c.addClass)(e,"el-loading-parent--relative"),t.fullscreen&&t.lock&&Object(c.addClass)(e,"el-loading-parent--hidden"),e.appendChild(n.$el),r.a.nextTick((function(){n.visible=!0})),t.fullscreen&&(b=n),n}};e.default={install:function(t){t.use(m),t.prototype.$loading=w},directive:m,service:w}},9:function(t,e){t.exports=n(1615)}})},6473:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=81)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},13:function(t,e){t.exports=n(2680)},17:function(t,e){t.exports=n(5389)},23:function(t,e){t.exports=n(4823)},7:function(t,e){t.exports=n(144)},81:function(t,e,n){"use strict";n.r(e);var i=n(7),r=n.n(i),o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-message-fade"},on:{"after-leave":t.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],class:["el-message",t.type&&!t.iconClass?"el-message--"+t.type:"",t.center?"is-center":"",t.showClose?"is-closable":"",t.customClass],style:t.positionStyle,attrs:{role:"alert"},on:{mouseenter:t.clearTimer,mouseleave:t.startTimer}},[t.iconClass?n("i",{class:t.iconClass}):n("i",{class:t.typeClass}),t._t("default",[t.dangerouslyUseHTMLString?n("p",{staticClass:"el-message__content",domProps:{innerHTML:t._s(t.message)}}):n("p",{staticClass:"el-message__content"},[t._v(t._s(t.message))])]),t.showClose?n("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:t.close}}):t._e()],2)])};o._withStripped=!0;var a={success:"success",info:"info",warning:"warning",error:"error"},s={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,verticalOffset:20,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+a[this.type]:""},positionStyle:function(){return{top:this.verticalOffset+"px"}}},watch:{closed:function(t){t&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var t=this;this.duration>0&&(this.timer=setTimeout((function(){t.closed||t.close()}),this.duration))},keydown:function(t){27===t.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},l=n(0),u=Object(l.a)(s,o,[],!1,null,null,null);u.options.__file="packages/message/src/main.vue";var c=u.exports,h=n(13),p=n(23),f=n(17),d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},g=r.a.extend(c),m=void 0,v=[],y=1,_=function t(e){if(!r.a.prototype.$isServer){"string"==typeof(e=e||{})&&(e={message:e});var n=e.onClose,i="message_"+y++;e.onClose=function(){t.close(i,n)},(m=new g({data:e})).id=i,Object(p.isVNode)(m.message)&&(m.$slots.default=[m.message],m.message=null),m.$mount(),document.body.appendChild(m.$el);var o=e.offset||20;return v.forEach((function(t){o+=t.$el.offsetHeight+16})),m.verticalOffset=o,m.visible=!0,m.$el.style.zIndex=h.PopupManager.nextZIndex(),v.push(m),m}};["success","warning","info","error"].forEach((function(t){_[t]=function(e){return Object(f.isObject)(e)&&!Object(p.isVNode)(e)?_(d({},e,{type:t})):_({type:t,message:e})}})),_.close=function(t,e){for(var n=v.length,i=-1,r=void 0,o=0;o<n;o++)if(t===v[o].id){r=v[o].$el.offsetHeight,i=o,"function"==typeof e&&e(v[o]),v.splice(o,1);break}if(!(n<=1||-1===i||i>v.length-1))for(var a=i;a<n-1;a++){var s=v[a].$el;s.style.top=parseInt(s.style.top,10)-r-16+"px"}},_.closeAll=function(){for(var t=v.length-1;t>=0;t--)v[t].close()};var x=_;e.default=x}})},2477:function(t,e){"use strict";function n(t,e,i){this.$children.forEach((function(r){r.$options.componentName===t?r.$emit.apply(r,[e].concat(i)):n.apply(r,[t,e].concat([i]))}))}e.__esModule=!0,e.default={methods:{dispatch:function(t,e,n){for(var i=this.$parent||this.$root,r=i.$options.componentName;i&&(!r||r!==t);)(i=i.$parent)&&(r=i.$options.componentName);i&&i.$emit.apply(i,[e].concat(n))},broadcast:function(t,e,i){n.call(this,t,e,i)}}}},4222:function(t,e,n){"use strict";e.__esModule=!0;n(3104);e.default={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},4650:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=78)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},2:function(t,e){t.exports=n(4594)},3:function(t,e){t.exports=n(3104)},5:function(t,e){t.exports=n(499)},7:function(t,e){t.exports=n(144)},78:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("transition",{attrs:{name:t.transition},on:{"after-enter":t.handleAfterEnter,"after-leave":t.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.disabled&&t.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[t.popperClass,t.content&&"el-popover--plain"],style:{width:t.width+"px"},attrs:{role:"tooltip",id:t.tooltipId,"aria-hidden":t.disabled||!t.showPopper?"true":"false"}},[t.title?n("div",{staticClass:"el-popover__title",domProps:{textContent:t._s(t.title)}}):t._e(),t._t("default",[t._v(t._s(t.content))])],2)]),n("span",{ref:"wrapper",staticClass:"el-popover__reference-wrapper"},[t._t("reference")],2)],1)};i._withStripped=!0;var r=n(5),o=n.n(r),a=n(2),s=n(3),l={name:"ElPopover",mixins:[o.a],props:{trigger:{type:String,default:"click",validator:function(t){return["click","focus","hover","manual"].indexOf(t)>-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(s.generateId)()}},watch:{showPopper:function(t){this.disabled||(t?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var t=this,e=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!e&&this.$refs.wrapper.children&&(e=this.referenceElm=this.$refs.wrapper.children[0]),e&&(Object(a.addClass)(e,"el-popover__reference"),e.setAttribute("aria-describedby",this.tooltipId),e.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(a.on)(e,"focusin",(function(){t.handleFocus();var n=e.__vue__;n&&"function"==typeof n.focus&&n.focus()})),Object(a.on)(n,"focusin",this.handleFocus),Object(a.on)(e,"focusout",this.handleBlur),Object(a.on)(n,"focusout",this.handleBlur)),Object(a.on)(e,"keydown",this.handleKeydown),Object(a.on)(e,"click",this.handleClick)),"click"===this.trigger?(Object(a.on)(e,"click",this.doToggle),Object(a.on)(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(a.on)(e,"mouseenter",this.handleMouseEnter),Object(a.on)(n,"mouseenter",this.handleMouseEnter),Object(a.on)(e,"mouseleave",this.handleMouseLeave),Object(a.on)(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex,e.querySelector("input, textarea")?(Object(a.on)(e,"focusin",this.doShow),Object(a.on)(e,"focusout",this.doClose)):(Object(a.on)(e,"mousedown",this.doShow),Object(a.on)(e,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object(a.addClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(a.removeClass)(this.referenceElm,"focusing")},handleBlur:function(){Object(a.removeClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var t=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout((function(){t.showPopper=!0}),this.openDelay):this.showPopper=!0},handleKeydown:function(t){27===t.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var t=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout((function(){t.showPopper=!1}),this.closeDelay):this.showPopper=!1},handleDocumentClick:function(t){var e=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!e&&this.$refs.wrapper.children&&(e=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&e&&!this.$el.contains(t.target)&&!e.contains(t.target)&&n&&!n.contains(t.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var t=this.reference;Object(a.off)(t,"click",this.doToggle),Object(a.off)(t,"mouseup",this.doClose),Object(a.off)(t,"mousedown",this.doShow),Object(a.off)(t,"focusin",this.doShow),Object(a.off)(t,"focusout",this.doClose),Object(a.off)(t,"mousedown",this.doShow),Object(a.off)(t,"mouseup",this.doClose),Object(a.off)(t,"mouseleave",this.handleMouseLeave),Object(a.off)(t,"mouseenter",this.handleMouseEnter),Object(a.off)(document,"click",this.handleDocumentClick)}},u=n(0),c=Object(u.a)(l,i,[],!1,null,null,null);c.options.__file="packages/popover/src/main.vue";var h=c.exports,p=function(t,e,n){var i=e.expression?e.value:e.arg,r=n.context.$refs[i];r&&(Array.isArray(r)?r[0].$refs.reference=t:r.$refs.reference=t)},f={bind:function(t,e,n){p(t,e,n)},inserted:function(t,e,n){p(t,e,n)}},d=n(7);n.n(d).a.directive("popover",f),h.install=function(t){t.directive("popover",f),t.component(h.name,h)},h.directive=f;e.default=h}})},4561:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=138)}({138:function(t,e,n){"use strict";n.r(e);var i=n(5),r=n.n(i),o=n(19),a=n.n(o),s=n(2),l=n(3),u=n(7),c=n.n(u),h={name:"ElTooltip",mixins:[r.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l.generateId)(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var t=this;this.$isServer||(this.popperVM=new c.a({data:{node:""},render:function(t){return this.node}}).$mount(),this.debounceClose=a()(200,(function(){return t.handleClosePopper()})))},render:function(t){var e=this;this.popperVM&&(this.popperVM.node=t("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[t("div",{on:{mouseleave:function(){e.setExpectedState(!1),e.debounceClose()},mouseenter:function(){e.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var t=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s.on)(this.referenceElm,"mouseenter",this.show),Object(s.on)(this.referenceElm,"mouseleave",this.hide),Object(s.on)(this.referenceElm,"focus",(function(){if(t.$slots.default&&t.$slots.default.length){var e=t.$slots.default[0].componentInstance;e&&e.focus?e.focus():t.handleFocus()}else t.handleFocus()})),Object(s.on)(this.referenceElm,"blur",this.handleBlur),Object(s.on)(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){t.value&&t.updatePopper()}))},watch:{focusing:function(t){t?Object(s.addClass)(this.referenceElm,"focusing"):Object(s.removeClass)(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(t){return t?"el-tooltip "+t.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var t=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){t.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){t.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(t){!1===t&&clearTimeout(this.timeoutPending),this.expectedState=t},getFirstElement:function(){var t=this.$slots.default;if(!Array.isArray(t))return null;for(var e=null,n=0;n<t.length;n++)if(t[n]&&t[n].tag){e=t[n];break}return e}},beforeDestroy:function(){this.popperVM&&this.popperVM.$destroy()},destroyed:function(){var t=this.referenceElm;1===t.nodeType&&(Object(s.off)(t,"mouseenter",this.show),Object(s.off)(t,"mouseleave",this.hide),Object(s.off)(t,"focus",this.handleFocus),Object(s.off)(t,"blur",this.handleBlur),Object(s.off)(t,"click",this.removeFocusing))},install:function(t){t.component(h.name,h)}};e.default=h},19:function(t,e){t.exports=n(2823)},2:function(t,e){t.exports=n(4594)},3:function(t,e){t.exports=n(3104)},5:function(t,e){t.exports=n(499)},7:function(t,e){t.exports=n(144)}})},9634:function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t||!e)throw new Error("instance & callback is required");var r=!1,o=function(){r||(r=!0,e&&e.apply(null,arguments))};i?t.$once("after-leave",o):t.$on("after-leave",o),setTimeout((function(){o()}),n+100)}},4594:function(t,e,n){"use strict";e.__esModule=!0,e.isInContainer=e.getScrollContainer=e.isScroll=e.getStyle=e.once=e.off=e.on=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.hasClass=d,e.addClass=function(t,e){if(!t)return;for(var n=t.className,i=(e||"").split(" "),r=0,o=i.length;r<o;r++){var a=i[r];a&&(t.classList?t.classList.add(a):d(t,a)||(n+=" "+a))}t.classList||t.setAttribute("class",n)},e.removeClass=function(t,e){if(!t||!e)return;for(var n=e.split(" "),i=" "+t.className+" ",r=0,o=n.length;r<o;r++){var a=n[r];a&&(t.classList?t.classList.remove(a):d(t,a)&&(i=i.replace(" "+a+" "," ")))}t.classList||t.setAttribute("class",c(i))},e.setStyle=function t(e,n,r){if(!e||!n)return;if("object"===(void 0===n?"undefined":i(n)))for(var o in n)n.hasOwnProperty(o)&&t(e,o,n[o]);else"opacity"===(n=h(n))&&u<9?e.style.filter=isNaN(r)?"":"alpha(opacity="+100*r+")":e.style[n]=r};var r,o=n(144);var a=((r=o)&&r.__esModule?r:{default:r}).default.prototype.$isServer,s=/([\:\-\_]+(.))/g,l=/^moz([A-Z])/,u=a?0:Number(document.documentMode),c=function(t){return(t||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},h=function(t){return t.replace(s,(function(t,e,n,i){return i?n.toUpperCase():n})).replace(l,"Moz$1")},p=e.on=!a&&document.addEventListener?function(t,e,n){t&&e&&n&&t.addEventListener(e,n,!1)}:function(t,e,n){t&&e&&n&&t.attachEvent("on"+e,n)},f=e.off=!a&&document.removeEventListener?function(t,e,n){t&&e&&t.removeEventListener(e,n,!1)}:function(t,e,n){t&&e&&t.detachEvent("on"+e,n)};e.once=function(t,e,n){p(t,e,(function i(){n&&n.apply(this,arguments),f(t,e,i)}))};function d(t,e){if(!t||!e)return!1;if(-1!==e.indexOf(" "))throw new Error("className should not contain space.");return t.classList?t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1}var g=e.getStyle=u<9?function(t,e){if(!a){if(!t||!e)return null;"float"===(e=h(e))&&(e="styleFloat");try{if("opacity"===e)try{return t.filters.item("alpha").opacity/100}catch(t){return 1}return t.style[e]||t.currentStyle?t.currentStyle[e]:null}catch(n){return t.style[e]}}}:function(t,e){if(!a){if(!t||!e)return null;"float"===(e=h(e))&&(e="cssFloat");try{var n=document.defaultView.getComputedStyle(t,"");return t.style[e]||n?n[e]:null}catch(n){return t.style[e]}}};var m=e.isScroll=function(t,e){if(!a)return g(t,null!=e?e?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)};e.getScrollContainer=function(t,e){if(!a){for(var n=t;n;){if([window,document,document.documentElement].includes(n))return window;if(m(n,e))return n;n=n.parentNode}return n}},e.isInContainer=function(t,e){if(a||!t||!e)return!1;var n=t.getBoundingClientRect(),i=void 0;return i=[window,document,document.documentElement,null,void 0].includes(e)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:e.getBoundingClientRect(),n.top<i.bottom&&n.bottom>i.top&&n.right>i.left&&n.left<i.right}},1615:function(t,e){"use strict";e.__esModule=!0,e.default=function(t){for(var e=1,n=arguments.length;e<n;e++){var i=arguments[e]||{};for(var r in i)if(i.hasOwnProperty(r)){var o=i[r];void 0!==o&&(t[r]=o)}}return t}},8335:function(t,e,n){"use strict";var i,r;"function"==typeof Symbol&&Symbol.iterator;i=function(){var t=window,e={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function n(t,n,i){this._reference=t.jquery?t[0]:t,this.state={};var r=null==n,o=n&&"[object Object]"===Object.prototype.toString.call(n);return this._popper=r||o?this.parse(o?n:{}):n.jquery?n[0]:n,this._options=Object.assign({},e,i),this._options.modifiers=this._options.modifiers.map(function(t){if(-1===this._options.modifiersIgnored.indexOf(t))return"applyStyle"===t&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[t]||t}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),h(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function i(e){var n=e.style.display,i=e.style.visibility;e.style.display="block",e.style.visibility="hidden",e.offsetWidth;var r=t.getComputedStyle(e),o=parseFloat(r.marginTop)+parseFloat(r.marginBottom),a=parseFloat(r.marginLeft)+parseFloat(r.marginRight),s={width:e.offsetWidth+a,height:e.offsetHeight+o};return e.style.display=n,e.style.visibility=i,s}function r(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function o(t){var e=Object.assign({},t);return e.right=e.left+e.width,e.bottom=e.top+e.height,e}function a(t,e){var n,i=0;for(n in t){if(t[n]===e)return i;i++}return null}function s(e,n){return t.getComputedStyle(e,null)[n]}function l(e){var n=e.offsetParent;return n!==t.document.body&&n?n:t.document.documentElement}function u(e){var n=e.parentNode;return n?n===t.document?t.document.body.scrollTop||t.document.body.scrollLeft?t.document.body:t.document.documentElement:-1!==["scroll","auto"].indexOf(s(n,"overflow"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-x"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-y"))?n:u(e.parentNode):e}function c(e){return e!==t.document.body&&("fixed"===s(e,"position")||(e.parentNode?c(e.parentNode):e))}function h(t,e){function n(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}Object.keys(e).forEach((function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&n(e[i])&&(r="px"),t.style[i]=e[i]+r}))}function p(t){return t&&"[object Function]"==={}.toString.call(t)}function f(t){var e={width:t.offsetWidth,height:t.offsetHeight,left:t.offsetLeft,top:t.offsetTop};return e.right=e.left+e.width,e.bottom=e.top+e.height,e}function d(t){var e=t.getBoundingClientRect(),n=-1!=navigator.userAgent.indexOf("MSIE")&&"HTML"===t.tagName?-t.scrollTop:e.top;return{left:e.left,top:n,right:e.right,bottom:e.bottom,width:e.right-e.left,height:e.bottom-n}}function g(t,e,n){var i=d(t),r=d(e);if(n){var o=u(e);r.top+=o.scrollTop,r.bottom+=o.scrollTop,r.left+=o.scrollLeft,r.right+=o.scrollLeft}return{top:i.top-r.top,left:i.left-r.left,bottom:i.top-r.top+i.height,right:i.left-r.left+i.width,width:i.width,height:i.height}}function m(e){for(var n=["","ms","webkit","moz","o"],i=0;i<n.length;i++){var r=n[i]?n[i]+e.charAt(0).toUpperCase()+e.slice(1):e;if(void 0!==t.document.body.style[r])return r}return null}return n.prototype.destroy=function(){return this._popper.removeAttribute("x-placement"),this._popper.style.left="",this._popper.style.position="",this._popper.style.top="",this._popper.style[m("transform")]="",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this},n.prototype.update=function(){var t={instance:this,styles:{}};t.placement=this._options.placement,t._originalPlacement=this._options.placement,t.offsets=this._getOffsets(this._popper,this._reference,t.placement),t.boundaries=this._getBoundaries(t,this._options.boundariesPadding,this._options.boundariesElement),t=this.runModifiers(t,this._options.modifiers),"function"==typeof this.state.updateCallback&&this.state.updateCallback(t)},n.prototype.onCreate=function(t){return t(this),this},n.prototype.onUpdate=function(t){return this.state.updateCallback=t,this},n.prototype.parse=function(e){var n={tagName:"div",classNames:["popper"],attributes:[],parent:t.document.body,content:"",contentType:"text",arrowTagName:"div",arrowClassNames:["popper__arrow"],arrowAttributes:["x-arrow"]};e=Object.assign({},n,e);var i=t.document,r=i.createElement(e.tagName);if(s(r,e.classNames),l(r,e.attributes),"node"===e.contentType?r.appendChild(e.content.jquery?e.content[0]:e.content):"html"===e.contentType?r.innerHTML=e.content:r.textContent=e.content,e.arrowTagName){var o=i.createElement(e.arrowTagName);s(o,e.arrowClassNames),l(o,e.arrowAttributes),r.appendChild(o)}var a=e.parent.jquery?e.parent[0]:e.parent;if("string"==typeof a){if((a=i.querySelectorAll(e.parent)).length,0===a.length)throw"ERROR: the given `parent` doesn't exists!";a=a[0]}return a.length>1&&a instanceof Element==0&&(a=a[0]),a.appendChild(r),r;function s(t,e){e.forEach((function(e){t.classList.add(e)}))}function l(t,e){e.forEach((function(e){t.setAttribute(e.split(":")[0],e.split(":")[1]||"")}))}},n.prototype._getPosition=function(t,e){var n=l(e);return this._options.forceAbsolute?"absolute":c(e,n)?"fixed":"absolute"},n.prototype._getOffsets=function(t,e,n){n=n.split("-")[0];var r={};r.position=this.state.position;var o="fixed"===r.position,a=g(e,l(t),o),s=i(t);return-1!==["right","left"].indexOf(n)?(r.top=a.top+a.height/2-s.height/2,r.left="left"===n?a.left-s.width:a.right):(r.left=a.left+a.width/2-s.width/2,r.top="top"===n?a.top-s.height:a.bottom),r.width=s.width,r.height=s.height,{popper:r,reference:a}},n.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),t.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var e=u(this._reference);e!==t.document.body&&e!==t.document.documentElement||(e=t),e.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=e}},n.prototype._removeEventListeners=function(){t.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},n.prototype._getBoundaries=function(e,n,i){var r,o={};if("window"===i){var a=t.document.body,s=t.document.documentElement;r=Math.max(a.scrollHeight,a.offsetHeight,s.clientHeight,s.scrollHeight,s.offsetHeight),o={top:0,right:Math.max(a.scrollWidth,a.offsetWidth,s.clientWidth,s.scrollWidth,s.offsetWidth),bottom:r,left:0}}else if("viewport"===i){var c=l(this._popper),h=u(this._popper),p=f(c),d=function(t){return t==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):t.scrollTop},g=function(t){return t==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):t.scrollLeft},m="fixed"===e.offsets.popper.position?0:d(h),v="fixed"===e.offsets.popper.position?0:g(h);o={top:0-(p.top-m),right:t.document.documentElement.clientWidth-(p.left-v),bottom:t.document.documentElement.clientHeight-(p.top-m),left:0-(p.left-v)}}else o=l(this._popper)===i?{top:0,left:0,right:i.clientWidth,bottom:i.clientHeight}:f(i);return o.left+=n,o.right-=n,o.top=o.top+n,o.bottom=o.bottom-n,o},n.prototype.runModifiers=function(t,e,n){var i=e.slice();return void 0!==n&&(i=this._options.modifiers.slice(0,a(this._options.modifiers,n))),i.forEach(function(e){p(e)&&(t=e.call(this,t))}.bind(this)),t},n.prototype.isModifierRequired=function(t,e){var n=a(this._options.modifiers,t);return!!this._options.modifiers.slice(0,n).filter((function(t){return t===e})).length},n.prototype.modifiers={},n.prototype.modifiers.applyStyle=function(t){var e,n={position:t.offsets.popper.position},i=Math.round(t.offsets.popper.left),r=Math.round(t.offsets.popper.top);return this._options.gpuAcceleration&&(e=m("transform"))?(n[e]="translate3d("+i+"px, "+r+"px, 0)",n.top=0,n.left=0):(n.left=i,n.top=r),Object.assign(n,t.styles),h(this._popper,n),this._popper.setAttribute("x-placement",t.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&t.offsets.arrow&&h(t.arrowElement,t.offsets.arrow),t},n.prototype.modifiers.shift=function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets.reference,a=o(t.offsets.popper),s={y:{start:{top:r.top},end:{top:r.top+r.height-a.height}},x:{start:{left:r.left},end:{left:r.left+r.width-a.width}}},l=-1!==["bottom","top"].indexOf(n)?"x":"y";t.offsets.popper=Object.assign(a,s[l][i])}return t},n.prototype.modifiers.preventOverflow=function(t){var e=this._options.preventOverflowOrder,n=o(t.offsets.popper),i={left:function(){var e=n.left;return n.left<t.boundaries.left&&(e=Math.max(n.left,t.boundaries.left)),{left:e}},right:function(){var e=n.left;return n.right>t.boundaries.right&&(e=Math.min(n.left,t.boundaries.right-n.width)),{left:e}},top:function(){var e=n.top;return n.top<t.boundaries.top&&(e=Math.max(n.top,t.boundaries.top)),{top:e}},bottom:function(){var e=n.top;return n.bottom>t.boundaries.bottom&&(e=Math.min(n.top,t.boundaries.bottom-n.height)),{top:e}}};return e.forEach((function(e){t.offsets.popper=Object.assign(n,i[e]())})),t},n.prototype.modifiers.keepTogether=function(t){var e=o(t.offsets.popper),n=t.offsets.reference,i=Math.floor;return e.right<i(n.left)&&(t.offsets.popper.left=i(n.left)-e.width),e.left>i(n.right)&&(t.offsets.popper.left=i(n.right)),e.bottom<i(n.top)&&(t.offsets.popper.top=i(n.top)-e.height),e.top>i(n.bottom)&&(t.offsets.popper.top=i(n.bottom)),t},n.prototype.modifiers.flip=function(t){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return t;if(t.flipped&&t.placement===t._originalPlacement)return t;var e=t.placement.split("-")[0],n=r(e),i=t.placement.split("-")[1]||"",a=[];return(a="flip"===this._options.flipBehavior?[e,n]:this._options.flipBehavior).forEach(function(s,l){if(e===s&&a.length!==l+1){e=t.placement.split("-")[0],n=r(e);var u=o(t.offsets.popper),c=-1!==["right","bottom"].indexOf(e);(c&&Math.floor(t.offsets.reference[e])>Math.floor(u[n])||!c&&Math.floor(t.offsets.reference[e])<Math.floor(u[n]))&&(t.flipped=!0,t.placement=a[l+1],i&&(t.placement+="-"+i),t.offsets.popper=this._getOffsets(this._popper,this._reference,t.placement).popper,t=this.runModifiers(t,this._options.modifiers,this._flip))}}.bind(this)),t},n.prototype.modifiers.offset=function(t){var e=this._options.offset,n=t.offsets.popper;return-1!==t.placement.indexOf("left")?n.top-=e:-1!==t.placement.indexOf("right")?n.top+=e:-1!==t.placement.indexOf("top")?n.left-=e:-1!==t.placement.indexOf("bottom")&&(n.left+=e),t},n.prototype.modifiers.arrow=function(t){var e=this._options.arrowElement,n=this._options.arrowOffset;if("string"==typeof e&&(e=this._popper.querySelector(e)),!e)return t;if(!this._popper.contains(e))return t;if(!this.isModifierRequired(this.modifiers.arrow,this.modifiers.keepTogether))return t;var r={},a=t.placement.split("-")[0],s=o(t.offsets.popper),l=t.offsets.reference,u=-1!==["left","right"].indexOf(a),c=u?"height":"width",h=u?"top":"left",p=u?"left":"top",f=u?"bottom":"right",d=i(e)[c];l[f]-d<s[h]&&(t.offsets.popper[h]-=s[h]-(l[f]-d)),l[h]+d>s[f]&&(t.offsets.popper[h]+=l[h]+d-s[f]);var g=l[h]+(n||l[c]/2-d/2)-s[h];return g=Math.max(Math.min(s[c]-d-8,g),8),r[h]=g,r[p]="",t.offsets.arrow=r,t.arrowElement=e,t},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i){i=Object(i);for(var r=Object.keys(i),o=0,a=r.length;o<a;o++){var s=r[o],l=Object.getOwnPropertyDescriptor(i,s);void 0!==l&&l.enumerable&&(e[s]=i[s])}}}return e}}),n},void 0===(r="function"==typeof i?i.call(e,n,e,t):i)||(t.exports=r)},2680:function(t,e,n){"use strict";e.__esModule=!0,e.PopupManager=void 0;var i=l(n(144)),r=l(n(1615)),o=l(n(7562)),a=l(n(1301)),s=n(4594);function l(t){return t&&t.__esModule?t:{default:t}}var u=1,c=void 0;e.default={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+u++,o.default.register(this._popupId,this)},beforeDestroy:function(){o.default.deregister(this._popupId),o.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(t){var e=this;if(t){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,i.default.nextTick((function(){e.open()})))}else this.close()}},methods:{open:function(t){var e=this;this.rendered||(this.rendered=!0);var n=(0,r.default)({},this.$props||this,t);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var i=Number(n.openDelay);i>0?this._openTimer=setTimeout((function(){e._openTimer=null,e.doOpen(n)}),i):this.doOpen(n)},doOpen:function(t){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var e=this.$el,n=t.modal,i=t.zIndex;if(i&&(o.default.zIndex=i),n&&(this._closing&&(o.default.closeModal(this._popupId),this._closing=!1),o.default.openModal(this._popupId,o.default.nextZIndex(),this.modalAppendToBody?void 0:e,t.modalClass,t.modalFade),t.lockScroll)){this.withoutHiddenClass=!(0,s.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,s.getStyle)(document.body,"paddingRight"),10)),c=(0,a.default)();var r=document.documentElement.clientHeight<document.body.scrollHeight,l=(0,s.getStyle)(document.body,"overflowY");c>0&&(r||"scroll"===l)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+c+"px"),(0,s.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(e).position&&(e.style.position="absolute"),e.style.zIndex=o.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var t=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var e=Number(this.closeDelay);e>0?this._closeTimer=setTimeout((function(){t._closeTimer=null,t.doClose()}),e):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){o.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,s.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},e.PopupManager=o.default},7562:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n(144),o=(i=r)&&i.__esModule?i:{default:i},a=n(4594);var s=!1,l=!1,u=void 0,c=function(){if(!o.default.prototype.$isServer){var t=p.modalDom;return t?s=!0:(s=!1,t=document.createElement("div"),p.modalDom=t,t.addEventListener("touchmove",(function(t){t.preventDefault(),t.stopPropagation()})),t.addEventListener("click",(function(){p.doOnModalClick&&p.doOnModalClick()}))),t}},h={},p={modalFade:!0,getInstance:function(t){return h[t]},register:function(t,e){t&&e&&(h[t]=e)},deregister:function(t){t&&(h[t]=null,delete h[t])},nextZIndex:function(){return p.zIndex++},modalStack:[],doOnModalClick:function(){var t=p.modalStack[p.modalStack.length-1];if(t){var e=p.getInstance(t.id);e&&e.closeOnClickModal&&e.close()}},openModal:function(t,e,n,i,r){if(!o.default.prototype.$isServer&&t&&void 0!==e){this.modalFade=r;for(var l=this.modalStack,u=0,h=l.length;u<h;u++){if(l[u].id===t)return}var p=c();if((0,a.addClass)(p,"v-modal"),this.modalFade&&!s&&(0,a.addClass)(p,"v-modal-enter"),i)i.trim().split(/\s+/).forEach((function(t){return(0,a.addClass)(p,t)}));setTimeout((function(){(0,a.removeClass)(p,"v-modal-enter")}),200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(p):document.body.appendChild(p),e&&(p.style.zIndex=e),p.tabIndex=0,p.style.display="",this.modalStack.push({id:t,zIndex:e,modalClass:i})}},closeModal:function(t){var e=this.modalStack,n=c();if(e.length>0){var i=e[e.length-1];if(i.id===t){if(i.modalClass)i.modalClass.trim().split(/\s+/).forEach((function(t){return(0,a.removeClass)(n,t)}));e.pop(),e.length>0&&(n.style.zIndex=e[e.length-1].zIndex)}else for(var r=e.length-1;r>=0;r--)if(e[r].id===t){e.splice(r,1);break}}0===e.length&&(this.modalFade&&(0,a.addClass)(n,"v-modal-leave"),setTimeout((function(){0===e.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",p.modalDom=void 0),(0,a.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(p,"zIndex",{configurable:!0,get:function(){return l||(u=u||(o.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),u},set:function(t){u=t}});o.default.prototype.$isServer||window.addEventListener("keydown",(function(t){if(27===t.keyCode){var e=function(){if(!o.default.prototype.$isServer&&p.modalStack.length>0){var t=p.modalStack[p.modalStack.length-1];if(!t)return;return p.getInstance(t.id)}}();e&&e.closeOnPressEscape&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}})),e.default=p},1301:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(){if(o.default.prototype.$isServer)return 0;if(void 0!==a)return a;var t=document.createElement("div");t.className="el-scrollbar__wrap",t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);var e=t.offsetWidth;t.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",t.appendChild(n);var i=n.offsetWidth;return t.parentNode.removeChild(t),a=e-i};var i,r=n(144),o=(i=r)&&i.__esModule?i:{default:i};var a=void 0},8917:function(t,e){"use strict";e.__esModule=!0,e.isDef=function(t){return null!=t},e.isKorean=function(t){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(t)}},5389:function(t,e,n){"use strict";e.__esModule=!0,e.isDefined=e.isUndefined=e.isFunction=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},e.isObject=function(t){return"[object Object]"===Object.prototype.toString.call(t)},e.isHtmlElement=function(t){return t&&t.nodeType===Node.ELEMENT_NODE};var r,o=n(144),a=(r=o)&&r.__esModule?r:{default:r};var s=function(t){return t&&"[object Function]"==={}.toString.call(t)};"object"===("undefined"==typeof Int8Array?"undefined":i(Int8Array))||!a.default.prototype.$isServer&&"function"==typeof document.childNodes||(e.isFunction=s=function(t){return"function"==typeof t||!1}),e.isFunction=s;e.isUndefined=function(t){return void 0===t},e.isDefined=function(t){return null!=t}},3104:function(t,e,n){"use strict";e.__esModule=!0,e.isMac=e.isEmpty=e.isEqual=e.arrayEquals=e.looseEqual=e.capitalize=e.kebabCase=e.autoprefixer=e.isFirefox=e.isEdge=e.isIE=e.coerceTruthyValueToArray=e.arrayFind=e.arrayFindIndex=e.escapeRegexpString=e.valueEquals=e.generateId=e.getValueByPath=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.noop=function(){},e.hasOwn=function(t,e){return l.call(t,e)},e.toObject=function(t){for(var e={},n=0;n<t.length;n++)t[n]&&u(e,t[n]);return e},e.getPropByPath=function(t,e,n){for(var i=t,r=(e=(e=e.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),o=0,a=r.length;o<a-1&&(i||n);++o){var s=r[o];if(!(s in i)){if(n)throw new Error("please transfer a valid prop path to form item!");break}i=i[s]}return{o:i,k:r[o],v:i?i[r[o]]:null}},e.rafThrottle=function(t){var e=!1;return function(){for(var n=this,i=arguments.length,r=Array(i),o=0;o<i;o++)r[o]=arguments[o];e||(e=!0,window.requestAnimationFrame((function(i){t.apply(n,r),e=!1})))}},e.objToArray=function(t){if(Array.isArray(t))return t;return f(t)?[]:[t]};var r,o=n(144),a=(r=o)&&r.__esModule?r:{default:r},s=n(5389);var l=Object.prototype.hasOwnProperty;function u(t,e){for(var n in e)t[n]=e[n];return t}e.getValueByPath=function(t,e){for(var n=(e=e||"").split("."),i=t,r=null,o=0,a=n.length;o<a;o++){var s=n[o];if(!i)break;if(o===a-1){r=i[s];break}i=i[s]}return r};e.generateId=function(){return Math.floor(1e4*Math.random())},e.valueEquals=function(t,e){if(t===e)return!0;if(!(t instanceof Array))return!1;if(!(e instanceof Array))return!1;if(t.length!==e.length)return!1;for(var n=0;n!==t.length;++n)if(t[n]!==e[n])return!1;return!0},e.escapeRegexpString=function(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var c=e.arrayFindIndex=function(t,e){for(var n=0;n!==t.length;++n)if(e(t[n]))return n;return-1},h=(e.arrayFind=function(t,e){var n=c(t,e);return-1!==n?t[n]:void 0},e.coerceTruthyValueToArray=function(t){return Array.isArray(t)?t:t?[t]:[]},e.isIE=function(){return!a.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},e.isEdge=function(){return!a.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},e.isFirefox=function(){return!a.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},e.autoprefixer=function(t){if("object"!==(void 0===t?"undefined":i(t)))return t;var e=["ms-","webkit-"];return["transform","transition","animation"].forEach((function(n){var i=t[n];n&&i&&e.forEach((function(e){t[e+n]=i}))})),t},e.kebabCase=function(t){var e=/([^-])([A-Z])/g;return t.replace(e,"$1-$2").replace(e,"$1-$2").toLowerCase()},e.capitalize=function(t){return(0,s.isString)(t)?t.charAt(0).toUpperCase()+t.slice(1):t},e.looseEqual=function(t,e){var n=(0,s.isObject)(t),i=(0,s.isObject)(e);return n&&i?JSON.stringify(t)===JSON.stringify(e):!n&&!i&&String(t)===String(e)}),p=e.arrayEquals=function(t,e){if(e=e||[],(t=t||[]).length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!h(t[n],e[n]))return!1;return!0},f=(e.isEqual=function(t,e){return Array.isArray(t)&&Array.isArray(e)?p(t,e):h(t,e)},e.isEmpty=function(t){if(null==t)return!0;if("boolean"==typeof t)return!1;if("number"==typeof t)return!t;if(t instanceof Error)return""===t.message;switch(Object.prototype.toString.call(t)){case"[object String]":case"[object Array]":return!t.length;case"[object File]":case"[object Map]":case"[object Set]":return!t.size;case"[object Object]":return!Object.keys(t).length}return!1});e.isMac=function(){return!a.default.prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)}},4823:function(t,e,n){"use strict";e.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.isVNode=function(t){return null!==t&&"object"===(void 0===t?"undefined":i(t))&&(0,r.hasOwn)(t,"componentOptions")};var r=n(3104)},499:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n(144),o=(i=r)&&i.__esModule?i:{default:i},a=n(2680);var s=o.default.prototype.$isServer?function(){}:n(8335),l=function(t){return t.stopPropagation()};e.default={props:{transformOrigin:{type:[Boolean,String],default:!0},placement:{type:String,default:"bottom"},boundariesPadding:{type:Number,default:5},reference:{},popper:{},offset:{default:0},value:Boolean,visibleArrow:Boolean,arrowOffset:{type:Number,default:35},appendToBody:{type:Boolean,default:!0},popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}}},data:function(){return{showPopper:!1,currentPlacement:""}},watch:{value:{immediate:!0,handler:function(t){this.showPopper=t,this.$emit("input",t)}},showPopper:function(t){this.disabled||(t?this.updatePopper():this.destroyPopper(),this.$emit("input",t))}},methods:{createPopper:function(){var t=this;if(!this.$isServer&&(this.currentPlacement=this.currentPlacement||this.placement,/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement))){var e=this.popperOptions,n=this.popperElm=this.popperElm||this.popper||this.$refs.popper,i=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!i&&this.$slots.reference&&this.$slots.reference[0]&&(i=this.referenceElm=this.$slots.reference[0].elm),n&&i&&(this.visibleArrow&&this.appendArrow(n),this.appendToBody&&document.body.appendChild(this.popperElm),this.popperJS&&this.popperJS.destroy&&this.popperJS.destroy(),e.placement=this.currentPlacement,e.offset=this.offset,e.arrowOffset=this.arrowOffset,this.popperJS=new s(i,n,e),this.popperJS.onCreate((function(e){t.$emit("created",t),t.resetTransformOrigin(),t.$nextTick(t.updatePopper)})),"function"==typeof e.onUpdate&&this.popperJS.onUpdate(e.onUpdate),this.popperJS._popper.style.zIndex=a.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",l))}},updatePopper:function(){var t=this.popperJS;
vendor: 4,233 bytes, line 1
1t?(t.update(),t._popper&&(t._popper.style.zIndex=a.PopupManager.nextZIndex())):this.createPopper()},doDestroy:function(t){!this.popperJS||this.showPopper&&!t||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin()},resetTransformOrigin:function(){if(this.transformOrigin){var t=this.popperJS._popper.getAttribute("x-placement").split("-")[0],e={top:"bottom",bottom:"top",left:"right",right:"left"}[t];this.popperJS._popper.style.transformOrigin="string"==typeof this.transformOrigin?this.transformOrigin:["top","bottom"].indexOf(t)>-1?"center "+e:e+" center"}},appendArrow:function(t){var e=void 0;if(!this.appended){for(var n in this.appended=!0,t.attributes)if(/^_v-/.test(t.attributes[n].name)){e=t.attributes[n].name;break}var i=document.createElement("div");e&&i.setAttribute(e,""),i.setAttribute("x-arrow",""),i.className="popper__arrow",t.appendChild(i)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",l),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},1530:function(t,e){var n;!function(i){var r,o,a="0.5.4",s="hasOwnProperty",l=/[\.\/]/,u=/\s*,\s*/,c=function(t,e){return t-e},h={n:{}},p=function(){for(var t=0,e=this.length;t<e;t++)if(void 0!==this[t])return this[t]},f=function(){for(var t=this.length;--t;)if(void 0!==this[t])return this[t]},d=Object.prototype.toString,g=String,m=Array.isArray||function(t){return t instanceof Array||"[object Array]"==d.call(t)},v=function(t,e){var n,i=o,a=Array.prototype.slice.call(arguments,2),s=v.listeners(t),l=0,u=[],h={},d=[],g=r;d.firstDefined=p,d.lastDefined=f,r=t,o=0;for(var m=0,y=s.length;m<y;m++)"zIndex"in s[m]&&(u.push(s[m].zIndex),s[m].zIndex<0&&(h[s[m].zIndex]=s[m]));for(u.sort(c);u[l]<0;)if(n=h[u[l++]],d.push(n.apply(e,a)),o)return o=i,d;for(m=0;m<y;m++)if("zIndex"in(n=s[m]))if(n.zIndex==u[l]){if(d.push(n.apply(e,a)),o)break;do{if((n=h[u[++l]])&&d.push(n.apply(e,a)),o)break}while(n)}else h[n.zIndex]=n;else if(d.push(n.apply(e,a)),o)break;return o=i,r=g,d};v._events=h,v.listeners=function(t){var e,n,i,r,o,a,s,u,c=m(t)?t:t.split(l),p=h,f=[p],d=[];for(r=0,o=c.length;r<o;r++){for(u=[],a=0,s=f.length;a<s;a++)for(n=[(p=f[a].n)[c[r]],p["*"]],i=2;i--;)(e=n[i])&&(u.push(e),d=d.concat(e.f||[]));f=u}return d},v.separator=function(t){t?(t="["+(t=g(t).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",l=new RegExp(t)):l=/[\.\/]/},v.on=function(t,e){if("function"!=typeof e)return function(){};for(var n=m(t)?m(t[0])?t:[t]:g(t).split(u),i=0,r=n.length;i<r;i++)!function(t){for(var n,i=m(t)?t:g(t).split(l),r=h,o=0,a=i.length;o<a;o++)r=(r=r.n).hasOwnProperty(i[o])&&r[i[o]]||(r[i[o]]={n:{}});for(r.f=r.f||[],o=0,a=r.f.length;o<a;o++)if(r.f[o]==e){n=!0;break}!n&&r.f.push(e)}(n[i]);return function(t){+t==+t&&(e.zIndex=+t)}},v.f=function(t){var e=[].slice.call(arguments,1);return function(){v.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},v.stop=function(){o=1},v.nt=function(t){var e=m(r)?r.join("."):r;return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(e):e},v.nts=function(){return m(r)?r:r.split(l)},v.off=v.unbind=function(t,e){if(t){var n=m(t)?m(t[0])?t:[t]:g(t).split(u);if(n.length>1)for(var i=0,r=n.length;i<r;i++)v.off(n[i],e);else{n=m(t)?t:g(t).split(l);var o,a,c,p,f,d=[h],y=[];for(i=0,r=n.length;i<r;i++)for(p=0;p<d.length;p+=c.length-2){if(c=[p,1],o=d[p].n,"*"!=n[i])o[n[i]]&&(c.push(o[n[i]]),y.unshift({n:o,name:n[i]}));else for(a in o)o[s](a)&&(c.push(o[a]),y.unshift({n:o,name:a}));d.splice.apply(d,c)}for(i=0,r=d.length;i<r;i++)for(o=d[i];o.n;){if(e){if(o.f){for(p=0,f=o.f.length;p<f;p++)if(o.f[p]==e){o.f.splice(p,1);break}!o.f.length&&delete o.f}for(a in o.n)if(o.n[s](a)&&o.n[a].f){var _=o.n[a].f;for(p=0,f=_.length;p<f;p++)if(_[p]==e){_.splice(p,1);break}!_.length&&delete o.n[a].f}}else for(a in delete o.f,o.n)o.n[s](a)&&o.n[a].f&&delete o.n[a].f;o=o.n}t:for(i=0,r=y.length;i<r;i++){for(a in(o=y[i]).n[o.name].f)continue t;for(a in o.n[o.name].n)continue t;delete o.n[o.name]}}}else v._events=h={n:{}}},v.once=function(t,e){var n=function(){return v.off(t,n),e.apply(this,arguments)};return v.on(t,n)}
1,v.version=a,v.toString=function(){return"You are running Eve "+a},i.eve=v,t.exports?t.exports=v:void 0===(n=function(){return v}.apply(e,[]))||(t.exports=n)}("undefined"!=typeof window?window:this)},8598:function(t,e,n){var i,r=r||function(t){"use strict";if(!(void 0===t||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var e=t.document,n=function(){return t.URL||t.webkitURL||t},i=e.createElementNS("http://www.w3.org/1999/xhtml","a"),r="download"in i,o=/constructor/i.test(t.HTMLElement)||t.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent),s=function(e){(t.setImmediate||t.setTimeout)((function(){throw e}),0)},l=function(t){setTimeout((function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()}),4e4)},u=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},c=function(e,c,h){h||(e=u(e));var p,f=this,d="application/octet-stream"===e.type,g=function(){!function(t,e,n){for(var i=(e=[].concat(e)).length;i--;){var r=t["on"+e[i]];if("function"==typeof r)try{r.call(t,n||t)}catch(t){s(t)}}}(f,"writestart progress write writeend".split(" "))};if(f.readyState=f.INIT,r)return p=n().createObjectURL(e),void setTimeout((function(){var t,e;i.href=p,i.download=c,t=i,e=new MouseEvent("click"),t.dispatchEvent(e),g(),l(p),f.readyState=f.DONE}));!function(){if((a||d&&o)&&t.FileReader){var i=new FileReader;return i.onloadend=function(){var e=a?i.result:i.result.replace(/^data:[^;]*;/,"data:attachment/file;");t.open(e,"_blank")||(t.location.href=e),e=void 0,f.readyState=f.DONE,g()},i.readAsDataURL(e),void(f.readyState=f.INIT)}(p||(p=n().createObjectURL(e)),d)?t.location.href=p:t.open(p,"_blank")||(t.location.href=p);f.readyState=f.DONE,g(),l(p)}()},h=c.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,n){return e=e||t.name||"download",n||(t=u(t)),navigator.msSaveOrOpenBlob(t,e)}:(h.abort=function(){},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(t,e,n){return new c(t,e||t.name||"download",n)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);t.exports?t.exports.saveAs=r:null!==n.amdD&&null!==n.amdO&&(void 0===(i=function(){return r}.call(e,n,e,t))||(t.exports=i))},5947:function(t,e,n){"use strict";n.d(e,{C:function(){return i}});var i=n(5957).ML._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,n,i){var r,o;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(o=e[r])&&(o=o(i,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",o+"",r,!1,r),this._overwriteProps.push(r);return!0}})},5033:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var i=n(5957),r=180/Math.PI,o=[],a=[],s=[],l={},u=i.ML._gsDefine.globals,c=function(t,e,n,i){n===i&&(n=i-(i-e)/1e6),t===e&&(e=t+(n-t)/1e6),this.a=t,this.b=e,this.c=n,this.d=i,this.da=i-t,this.ca=n-t,this.ba=e-t},h=function(t,e,n,i){var r={a:t},o={},a={},s={c:i},l=(t+e)/2,u=(e+n)/2,c=(n+i)/2,h=(l+u)/2,p=(u+c)/2,f=(p-h)/8;return r.b=l+(t-l)/4,o.b=h+f,r.c=o.a=(r.b+o.b)/2,o.c=a.a=(h+p)/2,a.b=p-f,s.b=c+(i-c)/4,a.c=s.a=(a.b+s.b)/2,[r,o,a,s]},p=function(t,e,n,i,r){var l,u,c,p,f,d,g,m,v,y,_,x,b,w=t.length-1,S=0,T=t[0].a;for(l=0;l<w;l++)u=(f=t[S]).a,c=f.d,p=t[S+1].d,r?(_=o[l],b=((x=a[l])+_)*e*.25/(i?.5:s[l]||.5),m=c-((d=c-(c-u)*(i?.5*e:0!==_?b/_:0))+(((g=c+(p-c)*(i?.5*e:0!==x?b/x:0))-d)*(3*_/(_+x)+.5)/4||0))):m=c-((d=c-(c-u)*e*.5)+(g=c+(p-c)*e*.5))/2,d+=m,g+=m,f.c=v=d,f.b=0!==l?T:T=f.a+.6*(f.c-f.a),f.da=c-u,f.ca=v-u,f.ba=T-u,n?(y=h(u,T,v,c),t.splice(S,1,y[0],y[1],y[2],y[3]),S+=4):S++,T=g;(f=t[S]).b=T,f.c=T+.4*(f.d-T),f.da=f.d-f.a,f.ca=f.c-f.a,f.ba=T-f.a,n&&(y=h(f.a,T,f.c,f.d),t.splice(S,1,y[0],y[1],y[2],y[3]))},f=function(t,e,n,i){var r,s,l,u,h,p,f=[];if(i)for(s=(t=[i].concat(t)).length;--s>-1;)"string"==typeof(p=t[s][e])&&"="===p.charAt(1)&&(t[s][e]=i[e]+Number(p.charAt(0)+p.substr(2)));if((r=t.length-2)<0)return f[0]=new c(t[0][e],0,0,t[0][e]),f;for(s=0;s<r;s++)l=t[s][e],u=t[s+1][e],f[s]=new c(l,0,0,u),n&&(h=t[s+2][e],o[s]=(o[s]||0)+(u-l)*(u-l),a[s]=(a[s]||0)+(h-u)*(h-u));return f[s]=new c(t[s][e],0,0,t[s+1][e]),f},d=function(t,e,n,i,r,u){var c,h,d,g,m,v,y,_,x={},b=[],w=u||t[0];for(h in r="string"==typeof r?","+r+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])b.push(h);if(t.length>1){for(_=t[t.length-1],y=!0,c=b.length;--c>-1;)if(h=b[c],Math.abs(w[h]-_[h])>.05){y=!1;break}
vendor: 11,374 bytes, line 1
1y&&(t=t.concat(),u&&t.unshift(u),t.push(t[1]),u=t[t.length-3])}for(o.length=a.length=s.length=0,c=b.length;--c>-1;)h=b[c],l[h]=-1!==r.indexOf(","+h+","),x[h]=f(t,h,l[h],u);for(c=o.length;--c>-1;)o[c]=Math.sqrt(o[c]),a[c]=Math.sqrt(a[c]);if(!i){for(c=b.length;--c>-1;)if(l[h])for(v=(d=x[b[c]]).length-1,g=0;g<v;g++)m=d[g+1].da/a[g]+d[g].da/o[g]||0,s[g]=(s[g]||0)+m*m;for(c=s.length;--c>-1;)s[c]=Math.sqrt(s[c])}for(c=b.length,g=n?4:1;--c>-1;)d=x[h=b[c]],p(d,e,n,i,l[h]),y&&(d.splice(0,g),d.splice(d.length-g,g));return x},g=function(t,e,n){for(var i,r,o,a,s,l,u,c,h,p,f,d=1/n,g=t.length;--g>-1;)for(o=(p=t[g]).a,a=p.d-o,s=p.c-o,l=p.b-o,i=r=0,c=1;c<=n;c++)i=r-(r=((u=d*c)*u*a+3*(h=1-u)*(u*s+h*l))*u),e[f=g*n+c-1]=(e[f]||0)+i*i},m=i.ML._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",API:2,global:!0,init:function(t,e,n){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var i,r,o,a,s,l=e.values||[],u={},h=l[0],p=e.autoRotate||n.vars.orientToBezier;for(i in this._autoRotate=p?p instanceof Array?p:[["x","y","rotation",!0===p?0:Number(p)||0]]:null,h)this._props.push(i);for(o=this._props.length;--o>-1;)i=this._props[o],this._overwriteProps.push(i),r=this._func[i]="function"==typeof t[i],u[i]=r?t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(t[i]),s||u[i]!==l[0][i]&&(s=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?d(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,s):function(t,e,n){var i,r,o,a,s,l,u,h,p,f,d,g={},m="cubic"===(e=e||"soft")?3:2,v="soft"===e,y=[];if(v&&n&&(t=[n].concat(t)),null==t||t.length<m+1)throw"invalid Bezier data";for(p in t[0])y.push(p);for(l=y.length;--l>-1;){for(g[p=y[l]]=s=[],f=0,h=t.length,u=0;u<h;u++)i=null==n?t[u][p]:"string"==typeof(d=t[u][p])&&"="===d.charAt(1)?n[p]+Number(d.charAt(0)+d.substr(2)):Number(d),v&&u>1&&u<h-1&&(s[f++]=(i+s[f-2])/2),s[f++]=i;for(h=f-m+1,f=0,u=0;u<h;u+=m)i=s[u],r=s[u+1],o=s[u+2],a=2===m?0:s[u+3],s[f++]=d=3===m?new c(i,r,o,a):new c(i,(2*r+i)/3,(2*r+o)/3,o);s.length=f}return g}(l,e.type,u),this._segCount=this._beziers[i].length,this._timeRes){var f=function(t,e){var n,i,r,o,a=[],s=[],l=0,u=0,c=(e=e>>0||6)-1,h=[],p=[];for(n in t)g(t[n],a,e);for(r=a.length,i=0;i<r;i++)l+=Math.sqrt(a[i]),p[o=i%e]=l,o===c&&(u+=l,h[o=i/e>>0]=p,s[o]=u,l=0,p=[]);return{length:u,lengths:s,segments:h}}(this._beziers,this._timeRes);this._length=f.length,this._lengths=f.lengths,this._segments=f.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(p=this._autoRotate)for(this._initialRotations=[],p[0]instanceof Array||(this._autoRotate=p=[p]),o=p.length;--o>-1;){for(a=0;a<3;a++)i=p[o][a],this._func[i]="function"==typeof t[i]&&t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)];i=p[o][2],this._initialRotations[o]=(this._func[i]?this._func[i].call(this._target):this._target[i])||0,this._overwriteProps.push(i)}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var e,n,i,o,a,s,l,u,c,h,p=this._segCount,f=this._func,d=this._target,g=t!==this._startRatio;if(this._timeRes){if(c=this._lengths,h=this._curSeg,t*=this._length,i=this._li,t>this._l2&&i<p-1){for(u=p-1;i<u&&(this._l2=c[++i])<=t;);this._l1=c[i-1],this._li=i,this._curSeg=h=this._segments[i],this._s2=h[this._s1=this._si=0]}else if(t<this._l1&&i>0){for(;i>0&&(this._l1=c[--i])>=t;);0===i&&t<this._l1?this._l1=0:i++,this._l2=c[i],this._li=i,this._curSeg=h=this._segments[i],this._s1=h[(this._si=h.length-1)-1]||0,this._s2=h[this._si]}if(e=i,t-=this._l1,i=this._si,t>this._s2&&i<h.length-1){for(u=h.length-1;i<u&&(this._s2=h[++i])<=t;);this._s1=h[i-1],this._si=i}else if(t<this._s1&&i>0){for(;i>0&&(this._s1=h[--i])>=t;);0===i&&t<this._s1?this._s1=0:i++,this._s2=h[i],this._si=i}s=(i+(t-this._s1)/(this._s2-this._s1))*this._prec||0}else s=(t-(e=t<0?0:t>=1?p-1:p*t>>0)*(1/p))*p;for(n=1-s,i=this._props.length;--i>-1;)o=this._props[i],l=(s*s*(a=this._beziers[o][e]).da+3*n*(s*a.ca+n*a.ba))*s+a.a,this._mod[o]&&(l=this._mod[o](l,d)),f[o]?d[o](l):d[o]=l;if(this._autoRotate){var m,v,y,_,x,b,w,S=this._autoRotate;for(i=S.length;--i>-1;)o=S[i][2],b=S[i][3]||0,w=!0===S[i][4]?1:r,a=this._beziers[S[i][0]],m=this._beziers[S[i][1]],a&&m&&(a=a[e],m=m[e],v=a.a+(a.b-a.a)*s,v+=((_=a.b+(a.c-a.b)*s)-v)*s,_+=(a.c+(a.d-a.c)*s-_)*s,y=m.a+(m.b-m.a)*s,y+=((x=m.b+(m.c-m.b)*s)-y)*s,x+=(m.c+(m.d-m.c)*s-x)*s,l=g?Math.atan2(x-y,_-v)*w+b:this._initialRotations[i],this._mod[o]&&(l=this._mod[o](l,d)),f[o]?d[o](l):d[o]=l)}}}),v=m.prototype;m.bezierThrough=d,m.cubicToQuadratic=h,m._autoCSS=!0,m.quadraticToCubic=function(t,e,n){return new c(t,(2*e+t)/3,(2*e+n)/3,n)},m._cssRegister=function(){var t=u.CSSPlugin;if(t){var e=t._internals,n=e._parseToProxy,i=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,o,a,s,l){e instanceof Array&&(e={values:e}),l=new m;var u,c,h,p=e.values,f=p.length-1,d=[],g={};if(f<0)return s;for(u=0;u<=f;u++)h=n(t,p[u],a,s,l,f!==u),d[u]=h.end;for(c in e)g[c]=e[c];return g.values=d,(s=new r(t,"bezier",0,0,h.pt,2)).data=h,s.plugin=l,s.setRatio=i,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(u=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=h.end.left?[["left","top","rotation",u,!1]]:null!=h.end.x&&[["x","y","rotation",u,!1]]),g.autoRotate&&(a._transform||a._enableTransforms(!1),h.autoRotate=a._target._gsTransform,h.proxy.rotation=h.autoRotate.rotation||0,a._overwriteProps.push("rotation")),l._onInitTween(h.proxy,g,a._tween),s}})}},v._mod=function(t){for(var e,n=this._overwriteProps,i=n.length;--i>-1;)(e=t[n[i]])&&"function"==typeof e&&(this._mod[n[i]]=e)},v._kill=function(t){var e,n,i=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],n=i.length;--n>-1;)i[n]===e&&i.splice(n,1);if(i=this._autoRotate)for(n=i.length;--n>-1;)t[i[n][2]]&&i.splice(n,1);return this._super._kill.call(this,t)}},9975:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var i=n(5957);i.ML._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(){var t,e,n,r,o=function(){i.VN.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},a=i.ML._gsDefine.globals,s={},l=o.prototype=new i.VN("css");l.constructor=o,o.version="2.0.2",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,l="px",o.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var u,c,h,p,f,d,g,m,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,_=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,x=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,b=/(?:\d|\-|\+|=|#|\.)*/g,w=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,T=/alpha\(opacity *=.+?\)/i,M=/^(rgb|hsl)/,C=/([A-Z])/g,A=/-([a-z])/gi,I=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,k=function(t,e){return e.toUpperCase()},D=/(?:Left|Right|Width)/i,P=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,O=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=/,(?=[^\)]*(?:\(|$))/gi,L=/[\s,\(]/i,R=Math.PI/180,N=180/Math.PI,F={},B={style:{}},z=i.ML.document||{createElement:function(){return B}},V=function(t,e){return z.createElementNS?z.createElementNS(e||"http://www.w3.org/1999/xhtml",t):z.createElement(t)},j=V("div"),G=V("img"),W=o._internals={_specialProps:s},H=(i.ML.navigator||{}).userAgent||"",Z=function(){var t=H.indexOf("Android"),e=V("a");return h=-1!==H.indexOf("Safari")&&-1===H.indexOf("Chrome")&&(-1===t||parseFloat(H.substr(t+8,2))>3),f=h&&parseFloat(H.substr(H.indexOf("Version/")+8,2))<6,p=-1!==H.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(H)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(H))&&(d=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),$=function(t){return w.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},U=function(t){i.ML.console},X="",q="",Y=function(t,e){var n,i,r=(e=e||j).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===r[n[i]+t];);return i>=0?(X="-"+(q=3===i?"ms":n[i]).toLowerCase()+"-",q+t):null},K=("undefined"!=typeof window?window:z.defaultView||{getComputedStyle:function(){}}).getComputedStyle,J=o.getStyle=function(t,e,n,i,r){var o;return Z||"opacity"!==e?(!i&&t.style[e]?o=t.style[e]:(n=n||K(t))?o=n[e]||n.getPropertyValue(e)||n.getPropertyValue(e.replace(C,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):$(t)},Q=W.convertToPixels=function(t,e,n,r,a){if("px"===r||!r&&"lineHeight"!==e)return n;if("auto"===r||!n)return 0;var s,l,u,c=D.test(e),h=t,p=j.style,f=n<0,d=1===n;if(f&&(n=-n),d&&(n*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))s=n/100*(c?t.clientWidth:t.clientHeight);else{if(p.cssText="border:0 solid red;position:"+J(t,"position")+";line-height:0;","%"!==r&&h.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)p[c?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(h=t.parentNode||z.body,-1!==J(h,"display").indexOf("flex")&&(p.position="absolute"),l=h._gsCache,u=i.ZP.ticker.frame,l&&c&&l.time===u)return l.width*n/100;p[c?"width":"height"]=n+r}h.appendChild(j),s=parseFloat(j[c?"offsetWidth":"offsetHeight"]),h.removeChild(j),c&&"%"===r&&!1!==o.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=u,l.width=s/n*100),0!==s||a||(s=Q(t,e,n,r,!0))}else l=K(t).lineHeight,t.style.lineHeight=n,s=parseFloat(K(t).lineHeight),t.style.lineHeight=l;return d&&(s/=100),f?-s:s},tt=W.calculateOffset=function(t,e,n){if("absolute"!==J(t,"position",n))return 0;var i="left"===e?"Left":"Top",r=J(t,"margin"+i,n);return t["offset"+i]-(Q(t,e,parseFloat(r),r.replace(b,""))||0)},et=function(t,e){var n,i,r,o={};if(e=e||K(t,null))if(n=e.length)for(;--n>-1;)-1!==(r=e[n]).indexOf("-transform")&&Ot!==r||(o[r.replace(A,k)]=e.getPropertyValue(r));else for(n in e)-1!==n.indexOf("Transform")&&Pt!==n||(o[n]=e[n]);else if(e=t.currentStyle||t.style)for(n in e)"string"==typeof n&&void 0===o[n]&&(o[n.replace(A,k)]=e[n]);return Z||(o.opacity=$(t)),i=Zt(t,e,!1),o.rotation=i.rotation,o.skewX=i.skewX,o.scaleX=i.scaleX,o.scaleY=i.scaleY,o.x=i.x,o.y=i.y,Lt&&(o.z=i.z,o.rotationX=i.rotationX,o.rotationY=i.rotationY,o.scaleZ=i.scaleZ),o.filters&&delete o.filters,o},nt=function(t,e,n,i,r){var o,a,s,l={},u=t.style;for(a in n)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(o=n[a])||r&&r[a])&&-1===a.indexOf("Origin")&&("number"!=typeof o&&"string"!=typeof o||(l[a]="auto"!==o||"left"!==a&&"top"!==a?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[a]||""===e[a].replace(x,"")?o:0:tt(t,a),void 0!==u[a]&&(s=new vt(u,a,u[a],s))));if(i)for(a in i)"className"!==a&&(l[a]=i[a]);return{difs:l,firstMPT:s}},it={width:["Left","Right"],height:["Top","Bottom"]},rt=["marginLeft","marginRight","marginTop","marginBottom"],ot=function(t,e,n){if("svg"===(t.nodeName+"").toLowerCase())return(n||K(t))[e]||0;if(t.getCTM&&Gt(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=it[e],o=r.length;for(n=n||K(t,null);--o>-1;
vendor: 10,234 bytes, line 1
1)i-=parseFloat(J(t,"padding"+r[o],n,!0))||0,i-=parseFloat(J(t,"border"+r[o]+"Width",n,!0))||0;return i},at=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var n,i=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];if(i.length>3&&!e){for(i=t.split(", ").join(",").split(","),t=[],n=0;n<i.length;n++)t.push(at(i[n]));return t.join(",")}return null==o?o="center"===r?"50%":"0":"center"===o&&(o="50%"),("center"===r||isNaN(parseFloat(r))&&-1===(r+"").indexOf("="))&&(r="50%"),t=r+" "+o+(i.length>2?" "+i[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==o.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===o.charAt(1),e.ox=parseFloat(r.replace(x,"")),e.oy=parseFloat(o.replace(x,"")),e.v=t),e||t},st=function(t,e){return"function"==typeof t&&(t=t(m,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},lt=function(t,e){"function"==typeof t&&(t=t(m,g));var n="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(n?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(n?t.substr(2):t)/100)),null==t?e:n?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ut=function(t,e,n,i){var r,o,a,s,l,u=1e-6;return"function"==typeof t&&(t=t(m,g)),null==t?s=e:"number"==typeof t?s=t:(r=360,o=t.split("_"),a=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(-1===t.indexOf("rad")?1:N)-(l?0:e),o.length&&(i&&(i[n]=e+a),-1!==t.indexOf("short")&&(a%=r)!==a%180&&(a=a<0?a+r:a-r),-1!==t.indexOf("_cw")&&a<0?a=(a+3599999999640)%r-(a/r|0)*r:-1!==t.indexOf("ccw")&&a>0&&(a=(a-3599999999640)%r-(a/r|0)*r)),s=e+a),s<u&&s>-u&&(s=0),s},ct={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ht=function(t,e,n){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},pt=o.parseColor=function(t,e){var n,i,r,o,a,s,l,u,c,h,p;if(t)if("number"==typeof t)n=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ct[t])n=ct[t];else if("#"===t.charAt(0))4===t.length&&(i=t.charAt(1),r=t.charAt(2),o=t.charAt(3),t="#"+i+i+r+r+o+o),n=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(n=p=t.match(v),e){if(-1!==t.indexOf("="))return t.match(y)}else a=Number(n[0])%360/360,s=Number(n[1])/100,i=2*(l=Number(n[2])/100)-(r=l<=.5?l*(s+1):l+s-l*s),n.length>3&&(n[3]=Number(n[3])),n[0]=ht(a+1/3,i,r),n[1]=ht(a,i,r),n[2]=ht(a-1/3,i,r);else n=t.match(v)||ct.transparent;n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3]))}else n=ct.black;return e&&!p&&(i=n[0]/255,r=n[1]/255,o=n[2]/255,l=((u=Math.max(i,r,o))+(c=Math.min(i,r,o)))/2,u===c?a=s=0:(h=u-c,s=l>.5?h/(2-u-c):h/(u+c),a=u===i?(r-o)/h+(r<o?6:0):u===r?(o-i)/h+2:(i-r)/h+4,a*=60),n[0]=a+.5|0,n[1]=100*s+.5|0,n[2]=100*l+.5|0),n},ft=function(t,e){var n,i,r,o=t.match(dt)||[],a=0,s="";if(!o.length)return t;for(n=0;n<o.length;n++)i=o[n],a+=(r=t.substr(a,t.indexOf(i,a)-a)).length+i.length,3===(i=pt(i,e)).length&&i.push(1),s+=r+(e?"hsla("+i[0]+","+i[1]+"%,"+i[2]+"%,"+i[3]:"rgba("+i.join(","))+")";return s+t.substr(a)},dt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(l in ct)dt+="|"+l+"\\b";dt=new RegExp(dt+")","gi"),o.colorStringFilter=function(t){var e,n=t[0]+" "+t[1];dt.test(n)&&(e=-1!==n.indexOf("hsl(")||-1!==n.indexOf("hsla("),t[0]=ft(t[0],e),t[1]=ft(t[1],e)),dt.lastIndex=0},i.ZP.defaultStringFilter||(i.ZP.defaultStringFilter=o.colorStringFilter);var gt=function(t,e,n,i){if(null==t)return function(t){return t};var r,o=e?(t.match(dt)||[""])[0]:"",a=t.split(o).join("").match(_)||[],s=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",u=-1!==t.indexOf(" ")?" ":",",c=a.length,h=c>0?a[0].replace(v,""):"";return c?e?(r=function(t){var e,p,f,d;if("number"==typeof t)t+=h;else if(i&&E.test(t)){for(d=t.replace(E,"|").split("|"),f=0;f<d.length;f++)d[f]=r(d[f]);return d.join(",")}if(e=(t.match(dt)||[o])[0],f=(p=t.split(e).join("").match(_)||[]).length,c>f--)for(;++f<c;)p[f]=n?p[(f-1)/2|0]:a[f];return s+p.join(u)+u+e+l+(-1!==t.indexOf("inset")?" inset":"")},r):(r=function(t){var e,o,p;if("number"==typeof t)t+=h;else if(i&&E.test(t)){for(o=t.replace(E,"|").split("|"),p=0;p<o.length;p++)o[p]=r(o[p]);return o.join(",")}if(p=(e=t.match(_)||[]).length,c>p--)for(;++p<c;)e[p]=n?e[(p-1)/2|0]:a[p];return s+e.join(u)+l},r):function(t){return t}},mt=function(t){return t=t.split(","),function(e,n,i,r,o,a,s){var l,u=(n+"").split(" ");for(s={},l=0;l<4;l++)s[t[l]]=u[l]=u[l]||u[(l-1)/2>>0];return r.parse(e,s,o,a)}},vt=(W._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,n,i,r,o,a=this.data,s=a.proxy,l=a.firstMPT,u=1e-6;l;)e=s[l.v],l.r?e=l.r(e):e<u&&e>-u&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,s.rotation,this.t,this._tween):s.rotation),1===t||0===t)for(l=a.firstMPT,o=1===t?"e":"b";l;){if((n=l.t).type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;i<n.l;i++)r+=n["xn"+i]+n["xs"+(i+1)];n[o]=r}}else n[o]=n.s+n.xs0;l=l._next}},function(t,e,n,i,r){this.t=t,this.p=e,this.v=n,this.r=r,i&&(i._prev=this,this._next=i)}),yt=(W._parseToProxy=function(t,e,n,i,r,o){var a,s,l,u,c,h=i,p={},f={},d=n._transform,g=F;for(n._transform=null,F=e,i=c=n.parse(t,e,i,r),F=g,o&&(n._transform=d,h&&(h._prev=null,h._prev&&(h._prev._next=null)));i&&i!==h;){if(i.type<=1&&(f[s=i.p]=i.s+i.c,p[s]=i.s,o||(u=new vt(i,"s",s,u,i.r),i.c=0),1===i.type))for(a=i.l;--a>0;)l="xn"+a,f[s=i.p+"_"+l]=i.data[l],p[s]=i[l],o||(u=new vt(i,l,s,u,i.rxp[l]));i=i._next}return{proxy:p,end:f,firstMPT:u,pt:c}},W.CSSPropTween=function(e,n,i,o,a,s,l,u,c,h,p){this.t=e,this.p=n,this.s=i,this.c=o,this.n=l||n,e instanceof yt||r.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=s||0,c&&(this.pr=c,t=!0),this.b=void 0===h?i:h,this.e=void 0===p?i+o:p,a&&(this._next=a,a._prev=this)}),_t=function(t,e,n,i,r,o){var a=new yt(t,e,n,i-n,r,-1,o);return a.b=n,a.e=a.xs0=i,a},xt=o.parseComplex=function(t,e,n,i,r,a,s,l,c,h){n=n||a||"","function"==typeof i&&(i=i(m,g)),s=new yt(t,e,0,0,s,h?2:1,null,!1,l,n,i),i+="",r&&dt.test(i+n)&&(i=[n,i],o.colorStringFilter(i),n=i[0],i=i[1]);var p,f,d,_,x,b,w,S,T,M,C,A,I,k=n.split(", ").join(",").split(" "),D=i.split(", ").join(",").split(" "),P=k.length,O=!1!==u;for(-1===i.indexOf(",")&&-1===n.indexOf(",")||(-1!==(i+n).indexOf("rgb")||-1!==(i+n).indexOf("hsl")?(k=k.join(" ").replace(E,", ").split(" "),D=D.join(" ").replace(E,", ").split(" ")):(k=k.join(" ").split(",").join(", ").split(" "),D=D.join(" ").split(",").join(", ").split(" ")),P=k.length),P!==D.length&&(P=(k=(a||"").split(" ")).length),s.plugin=c,s.setRatio=h,dt.lastIndex=0,p=0;p<P;p++)if(_=k[p],x=D[p]+"",(S=parseFloat(_))||0===S)s.appendXtra("",S,st(x,S),x.replace(y,""),!(!O||-1===x.indexOf("px"))&&Math.round,!0);else if(r&&dt.test(_))A=")"+((A=x.indexOf(")")+1)?x.substr(A):""),I=-1!==x.indexOf("hsl")&&Z,M=x,_=pt(_,I),x=pt(x,I),(T=_.length+x.length>6)&&!Z&&0===x[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(D[p]).join("transparent")):(Z||(T=!1),I?s.appendXtra(M.substr(0,M.indexOf("hsl"))+(T?"hsla(":"hsl("),_[0],st(x[0],_[0]),",",!1,!0).appendXtra("",_[1],st(x[1],_[1]),"%,",!1).appendXtra("",_[2],st(x[2],_[2]),T?"%,":"%"+A,!1):s.appendXtra(M.substr(0,M.indexOf("rgb"))+(T?"rgba(":"rgb("),_[0],x[0]-_[0],",",Math.round,!0).appendXtra("",_[1],x[1]-_[1],",",Math.round).appendXtra("",_[2],x[2]-_[2],T?",":A,Math.round),T&&(_=_.length<4?1:_[3],s.appendXtra("",_,(x.length<4?1:x[3])-_,A,!1))),dt.lastIndex=0;else if(b=_.match(v)){if(!(w=x.match(y))||w.length!==b.length)return s;for(d=0,f=0;f<b.length;f++)C=b[f],M=_.indexOf(C,d),s.appendXtra(_.substr(d,M-d),Number(C),st(w[f],C),"",!(!O||"px"!==_.substr(M+C.length,2))&&Math.round,0===f),d=M+C.length;s["xs"+s.l]+=_.substr(d)}else s["xs"+s.l]+=s.l||s["xs"+s.l]?" "+x:x;if(-1!==i.indexOf("=")&&s.data){for(A=s.xs0+s.data.s,p=1;p<s.l;p++)A+=s["xs"+p]+s.data["xn"+p];s.e=A+s["xs"+p]}return s.l||(s.type=-1,s.xs0=s.e),s.xfirst||s},bt=9;for((l=yt.prototype).l=l.pr=0;--bt>0;)l["xn"+bt]=0,l["xs"+bt]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,n,i,r,o){var a=this,s=a.l;return a["xs"+s]+=o&&(s||a["xs"+s])?" "+t:t||"",n||0===s||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=i||"",s>0?(a.data["xn"+s]=e+n,a.rxp["xn"+s]=r,a["xn"+s]=e,a.plugin||(a.xfirst=new yt(a,"xn"+s,e,n,a.xfirst||a,0,a.n,r,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+n},a.rxp={},a.s=e,a.c=n,a.r=r,a)):(a["xs"+s]+=e+(i||""),a)};var wt=function(t,e){e=e||{},this.p=e.prefix&&Y(t)||t,s[t]=s[this.p]=this,this.format=e.formatter||gt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},St=W._registerComplexSpecialProp=function(t,e,n){"object"!=typeof e&&(e={parser:n});var i,r=t.split(","),o=e.defaultValue;for(n=n||[o],i=0;i<r.length;i++)e.prefix=0===i&&e.prefix,e.defaultValue=n[i]||o,new wt(r[i],e)},Tt=W._registerPluginProp=function(t){if(!s[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";St(t,{parser:function(t,n,i,r,o,l,u){var c=a.com.greensock.plugins[e];return c?(c._cssRegister(),s[i].parse(t,n,i,r,o,l,u)):(U(),o)}})}};(l=wt.prototype).parseComplex=function(t,e,n,i,r,o){var a,s,l,u,c,h,p=this.keyword;if(this.multi&&(E.test(n)||E.test(e)?(s=e.replace(E,"|").split("|"),l=n.replace(E,"|").split("|")):p&&(s=[e],l=[n])),l){for(u=l.length>s.length?l.length:s.length,a=0;a<u;a++)e=s[a]=s[a]||this.dflt,n=l[a]=l[a]||this.dflt,p&&(c=e.indexOf(p))!==(h=n.indexOf(p))&&(-1===h?s[a]=s[a].split(p).join(""):-1===c&&(s[a]+=" "+p));e=s.join(", "),n=l.join(", ")}return xt(t,this.p,e,n,this.clrs,this.dflt,i,this.pr,r,o)}
1,l.parse=function(t,e,i,r,o,a,s){return this.parseComplex(t.style,this.format(J(t,this.p,n,!1,this.dflt)),this.format(e),o,a)},o.registerSpecialProp=function(t,e,n){St(t,{parser:function(t,i,r,o,a,s,l){var u=new yt(t,r,0,0,a,2,r,!1,n);return u.plugin=s,u.setRatio=e(t,i,o._tween,r),u},priority:n})},o.useSVGTransformAttr=!0;var Mt,Ct,At,It,kt,Dt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Pt=Y("transform"),Ot=X+"transform",Et=Y("transformOrigin"),Lt=null!==Y("perspective"),Rt=W.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Lt)&&(o.defaultForce3D||"auto")},Nt=i.ML.SVGElement,Ft=function(t,e,n){var i,r=z.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(i in n)r.setAttributeNS(null,i.replace(o,"$1-$2").toLowerCase(),n[i]);return e.appendChild(r),r},Bt=z.documentElement||{},zt=(kt=d||/Android/i.test(H)&&!i.ML.chrome,z.createElementNS&&!kt&&(Ct=Ft("svg",Bt),It=(At=Ft("rect",Ct,{width:100,height:50,x:100})).getBoundingClientRect().width,At.style[Et]="50% 50%",At.style[Pt]="scaleX(0.5)",kt=It===At.getBoundingClientRect().width&&!(p&&Lt),Bt.removeChild(Ct)),kt),Vt=function(t,e,n,i,r,a){var s,l,u,c,h,p,f,d,g,m,v,y,_,x,b=t._gsTransform,w=Ht(t,!0);b&&(_=b.xOrigin,x=b.yOrigin),(!i||(s=i.split(" ")).length<2)&&(0===(f=t.getBBox()).x&&0===f.y&&f.width+f.height===0&&(f={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),s=[(-1!==(e=at(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*f.width:parseFloat(e[0]))+f.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*f.height:parseFloat(e[1]))+f.y]),n.xOrigin=c=parseFloat(s[0]),n.yOrigin=h=parseFloat(s[1]),i&&w!==Wt&&(p=w[0],f=w[1],d=w[2],g=w[3],m=w[4],v=w[5],(y=p*g-f*d)&&(l=c*(g/y)+h*(-d/y)+(d*v-g*m)/y,u=c*(-f/y)+h*(p/y)-(p*v-f*m)/y,c=n.xOrigin=s[0]=l,h=n.yOrigin=s[1]=u)),b&&(a&&(n.xOffset=b.xOffset,n.yOffset=b.yOffset,b=n),r||!1!==r&&!1!==o.defaultSmoothOrigin?(l=c-_,u=h-x,b.xOffset+=l*w[0]+u*w[2]-l,b.yOffset+=l*w[1]+u*w[3]-u):b.xOffset=b.yOffset=0),a||t.setAttribute("data-svg-origin",s.join(" "))},jt=function(t){var e,n=V("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,o=this.style.cssText;if(Bt.appendChild(n),n.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=jt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return r?i.insertBefore(this,r):i.appendChild(this),Bt.removeChild(n),this.style.cssText=o,e},Gt=function(t){return!(!Nt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return jt.call(t,!0)}}(t))},Wt=[1,0,0,1,0,0],Ht=function(t,e){var n,i,r,o,a,s,l=t._gsTransform||new Rt,u=1e5,c=t.style;if(Pt?i=J(t,Ot,null,!0):t.currentStyle&&(i=(i=t.currentStyle.filter.match(P))&&4===i.length?[i[0].substr(4),Number(i[2].substr(4)),Number(i[1].substr(4)),i[3].substr(4),l.x||0,l.y||0].join(","):""),n=!i||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,!Pt||!(s=!K(t)||"none"===K(t).display)&&t.parentNode||(s&&(o=c.display,c.display="block"),t.parentNode||(a=1,Bt.appendChild(t)),n=!(i=J(t,Ot,null,!0))||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,o?c.display=o:s&&qt(c,"display"),a&&Bt.removeChild(t)),(l.svg||t.getCTM&&Gt(t))&&(n&&-1!==(c[Pt]+"").indexOf("matrix")&&(i=c[Pt],n=0),r=t.getAttribute("transform"),n&&r&&(i="matrix("+(r=t.transform.baseVal.consolidate().matrix).a+","+r.b+","+r.c+","+r.d+","+r.e+","+r.f+")",n=0)),n)return Wt;for(r=(i||"").match(v)||[],bt=r.length;--bt>-1;)o=Number(r[bt]),r[bt]=(a=o-(o|=0))?(a*u+(a<0?-.5:.5)|0)/u+o:o;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Zt=W.getTransform=function(t,e,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var a,s,l,u,c,h,p=n&&t._gsTransform||new Rt,f=p.scaleX<0,d=2e-5,g=1e5,m=Lt&&(parseFloat(J(t,Et,e,!1,"0 0 0").split(" ")[2])||p.zOrigin)||0,v=parseFloat(o.defaultTransformPerspective)||0;if(p.svg=!(!t.getCTM||!Gt(t)),p.svg&&(Vt(t,J(t,Et,e,!1,"50% 50%")+"",p,t.getAttribute("data-svg-origin")),Mt=o.useSVGTransformAttr||zt),(a=Ht(t))!==Wt){if(16===a.length){var y,_,x,b,w,S=a[0],T=a[1],M=a[2],C=a[3],A=a[4],I=a[5],k=a[6],D=a[7],P=a[8],O=a[9],E=a[10],L=a[12],R=a[13],F=a[14],B=a[11],z=Math.atan2(k,E);p.zOrigin&&(L=P*(F=-p.zOrigin)-a[12],R=O*F-a[13],F=E*F+p.zOrigin-a[14]),p.rotationX=z*N,z&&(y=A*(b=Math.cos(-z))+P*(w=Math.sin(-z)),_=I*b+O*w,x=k*b+E*w,P=A*-w+P*b,O=I*-w+O*b,E=k*-w+E*b,B=D*-w+B*b,A=y,I=_,k=x),z=Math.atan2(-M,E),p.rotationY=z*N,z&&(_=T*(b=Math.cos(-z))-O*(w=Math.sin(-z)),x=M*b-E*w,O=T*w+O*b,E=M*w+E*b,B=C*w+B*b,S=y=S*b-P*w,T=_,M=x),z=Math.atan2(T,S),p.rotation=z*N,z&&(y=S*(b=Math.cos(z))+T*(w=Math.sin(z)),_=A*b+I*w,x=P*b+O*w,T=T*b-S*w,I=I*b-A*w,O=O*b-P*w,S=y,A=_,P=x),p.rotationX&&Math.abs(p.rotationX)+Math.abs(p.rotation)>359.9&&(p.rotationX=p.rotation=0,p.rotationY=180-p.rotationY),z=Math.atan2(A,I),p.scaleX=(Math.sqrt(S*S+T*T+M*M)*g+.5|0)/g,p.scaleY=(Math.sqrt(I*I+k*k)*g+.5|0)/g,p.scaleZ=(Math.sqrt(P*P+O*O+E*E)*g+.5|0)/g,S/=p.scaleX,A/=p.scaleY,T/=p.scaleX,I/=p.scaleY,Math.abs(z)>d?(p.skewX=z*N,A=0,"simple"!==p.skewType&&(p.scaleY*=1/Math.cos(z))):p.skewX=0,p.perspective=B?1/(B<0?-B:B):0,p.x=L,p.y=R,p.z=F,p.svg&&(p.x-=p.xOrigin-(p.xOrigin*S-p.yOrigin*A),p.y-=p.yOrigin-(p.yOrigin*T-p.xOrigin*
1I))}else if(!Lt||r||!a.length||p.x!==a[4]||p.y!==a[5]||!p.rotationX&&!p.rotationY){var V=a.length>=6,j=V?a[0]:1,G=a[1]||0,W=a[2]||0,H=V?a[3]:1;p.x=a[4]||0,p.y=a[5]||0,l=Math.sqrt(j*j+G*G),u=Math.sqrt(H*H+W*W),c=j||G?Math.atan2(G,j)*N:p.rotation||0,h=W||H?Math.atan2(W,H)*N+c:p.skewX||0,p.scaleX=l,p.scaleY=u,p.rotation=c,p.skewX=h,Lt&&(p.rotationX=p.rotationY=p.z=0,p.perspective=v,p.scaleZ=1),p.svg&&(p.x-=p.xOrigin-(p.xOrigin*j+p.yOrigin*W),p.y-=p.yOrigin-(p.xOrigin*G+p.yOrigin*H))}for(s in Math.abs(p.skewX)>90&&Math.abs(p.skewX)<270&&(f?(p.scaleX*=-1,p.skewX+=p.rotation<=0?180:-180,p.rotation+=p.rotation<=0?180:-180):(p.scaleY*=-1,p.skewX+=p.skewX<=0?180:-180)),p.zOrigin=m,p)p[s]<d&&p[s]>-d&&(p[s]=0)}return n&&(t._gsTransform=p,p.svg&&(Mt&&t.style[Pt]?i.ZP.delayedCall(.001,(function(){qt(t.style,Pt)})):!Mt&&t.getAttribute("transform")&&i.ZP.delayedCall(.001,(function(){t.removeAttribute("transform")})))),p},$t=function(t){var e,n,i=this.data,r=-i.rotation*R,o=r+i.skewX*R,a=1e5,s=(Math.cos(r)*i.scaleX*a|0)/a,l=(Math.sin(r)*i.scaleX*a|0)/a,u=(Math.sin(o)*-i.scaleY*a|0)/a,c=(Math.cos(o)*i.scaleY*a|0)/a,h=this.t.style,p=this.t.currentStyle;if(p){n=l,l=-u,u=-n,e=p.filter,h.filter="";var f,g,m=this.t.offsetWidth,v=this.t.offsetHeight,y="absolute"!==p.position,_="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+l+", M21="+u+", M22="+c,x=i.x+m*i.xPercent/100,S=i.y+v*i.yPercent/100;if(null!=i.ox&&(x+=(f=(i.oxp?m*i.ox*.01:i.ox)-m/2)-(f*s+(g=(i.oyp?v*i.oy*.01:i.oy)-v/2)*l),S+=g-(f*u+g*c)),_+=y?", Dx="+((f=m/2)-(f*s+(g=v/2)*l)+x)+", Dy="+(g-(f*u+g*c)+S)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?h.filter=e.replace(O,_):h.filter=_+" "+e,0!==t&&1!==t||1===s&&0===l&&0===u&&1===c&&(y&&-1===_.indexOf("Dx=0, Dy=0")||w.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&h.removeAttribute("filter")),!y){var T,M,C,A=d<8?1:-1;for(f=i.ieOffsetX||0,g=i.ieOffsetY||0,i.ieOffsetX=Math.round((m-((s<0?-s:s)*m+(l<0?-l:l)*v))/2+x),i.ieOffsetY=Math.round((v-((c<0?-c:c)*v+(u<0?-u:u)*m))/2+S),bt=0;bt<4;bt++)C=(n=-1!==(T=p[M=rt[bt]]).indexOf("px")?parseFloat(T):Q(this.t,M,parseFloat(T),T.replace(b,""))||0)!==i[M]?bt<2?-i.ieOffsetX:-i.ieOffsetY:bt<2?f-i.ieOffsetX:g-i.ieOffsetY,h[M]=(i[M]=Math.round(n-C*(0===bt||2===bt?1:A)))+"px"}}},Ut=W.set3DTransformRatio=W.setTransformRatio=function(t){var e,n,i,r,o,a,s,l,u,c,h,f,d,g,m,v,y,_,x,b,w,S,T,M=this.data,C=this.t.style,A=M.rotation,I=M.rotationX,k=M.rotationY,D=M.scaleX,P=M.scaleY,O=M.scaleZ,E=M.x,L=M.y,N=M.z,F=M.svg,B=M.perspective,z=M.force3D,V=M.skewY,j=M.skewX;if(V&&(j+=V,A+=V),!((1!==t&&0!==t||"auto"!==z||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&z||N||B||k||I||1!==O)||Mt&&F||!Lt)A||j||F?(A*=R,S=j*R,T=1e5,n=Math.cos(A)*D,o=Math.sin(A)*D,i=Math.sin(A-S)*-P,a=Math.cos(A-S)*P,S&&"simple"===M.skewType&&(e=Math.tan(S-V*R),i*=e=Math.sqrt(1+e*e),a*=e,V&&(e=Math.tan(V*R),n*=e=Math.sqrt(1+e*e),o*=e)),F&&(E+=M.xOrigin-(M.xOrigin*n+M.yOrigin*i)+M.xOffset,L+=M.yOrigin-(M.xOrigin*o+M.yOrigin*a)+M.yOffset,Mt&&(M.xPercent||M.yPercent)&&(m=this.t.getBBox(),E+=.01*M.xPercent*m.width,L+=.01*M.yPercent*m.height),E<(m=1e-6)&&E>-m&&(E=0),L<m&&L>-m&&(L=0)),x=(n*T|0)/T+","+(o*T|0)/T+","+(i*T|0)/T+","+(a*T|0)/T+","+E+","+L+")",F&&Mt?this.t.setAttribute("transform","matrix("+x):C[Pt]=(M.xPercent||M.yPercent?"translate("+M.xPercent+"%,"+M.yPercent+"%) matrix(":"matrix(")+x):C[Pt]=(M.xPercent||M.yPercent?"translate("+M.xPercent+"%,"+M.yPercent+"%) matrix(":"matrix(")+D+",0,0,"+P+","+E+","+L+")";else{if(p&&(D<(m=1e-4)&&D>-m&&(D=O=2e-5),P<m&&P>-m&&(P=O=2e-5),!B||M.z||M.rotationX||M.rotationY||(B=0)),A||j)A*=R,v=n=Math.cos(A),y=o=Math.sin(A),j&&(A-=j*R,v=Math.cos(A),y=Math.sin(A),"simple"===M.skewType&&(e=Math.tan((j-V)*R),v*=e=Math.sqrt(1+e*e),y*=e,M.skewY&&(e=Math.tan(V*R),n*=e=Math.sqrt(1+e*e),o*=e))),i=-y,a=v;else{if(!(k||I||1!==O||B||F))return void(C[Pt]=(M.xPercent||M.yPercent?"translate("+M.xPercent+"%,"+M.yPercent+"%) translate3d(":"translate3d(")+E+"px,"+L+"px,"+N+"px)"+(1!==D||1!==P?" scale("+D+","+P+")":""));n=a=1,i=o=0}c=1,r=s=l=u=h=f=0,d=B?-1/B:0,g=M.zOrigin,m=1e-6,b=",",w="0",(A=k*R
vendor: 15,115 bytes, line 1
1)&&(v=Math.cos(A),l=-(y=Math.sin(A)),h=d*-y,r=n*y,s=o*y,c=v,d*=v,n*=v,o*=v),(A=I*R)&&(e=i*(v=Math.cos(A))+r*(y=Math.sin(A)),_=a*v+s*y,u=c*y,f=d*y,r=i*-y+r*v,s=a*-y+s*v,c*=v,d*=v,i=e,a=_),1!==O&&(r*=O,s*=O,c*=O,d*=O),1!==P&&(i*=P,a*=P,u*=P,f*=P),1!==D&&(n*=D,o*=D,l*=D,h*=D),(g||F)&&(g&&(E+=r*-g,L+=s*-g,N+=c*-g+g),F&&(E+=M.xOrigin-(M.xOrigin*n+M.yOrigin*i)+M.xOffset,L+=M.yOrigin-(M.xOrigin*o+M.yOrigin*a)+M.yOffset),E<m&&E>-m&&(E=w),L<m&&L>-m&&(L=w),N<m&&N>-m&&(N=0)),x=M.xPercent||M.yPercent?"translate("+M.xPercent+"%,"+M.yPercent+"%) matrix3d(":"matrix3d(",x+=(n<m&&n>-m?w:n)+b+(o<m&&o>-m?w:o)+b+(l<m&&l>-m?w:l),x+=b+(h<m&&h>-m?w:h)+b+(i<m&&i>-m?w:i)+b+(a<m&&a>-m?w:a),I||k||1!==O?(x+=b+(u<m&&u>-m?w:u)+b+(f<m&&f>-m?w:f)+b+(r<m&&r>-m?w:r),x+=b+(s<m&&s>-m?w:s)+b+(c<m&&c>-m?w:c)+b+(d<m&&d>-m?w:d)+b):x+=",0,0,0,0,1,0,",x+=E+b+L+b+N+b+(B?1+-N/B:1)+")",C[Pt]=x}};(l=Rt.prototype).x=l.y=l.z=l.skewX=l.skewY=l.rotation=l.rotationX=l.rotationY=l.zOrigin=l.xPercent=l.yPercent=l.xOffset=l.yOffset=0,l.scaleX=l.scaleY=l.scaleZ=1,St("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,a,s,l){if(r._lastParsedTransform===l)return a;r._lastParsedTransform=l;var u,c=l.scale&&"function"==typeof l.scale?l.scale:0;"function"==typeof l[i]&&(u=l[i],l[i]=e),c&&(l.scale=c(m,t));var h,p,f,d,v,y,_,x,b,w=t._gsTransform,S=t.style,T=1e-6,M=Dt.length,C=l,A={},I="transformOrigin",k=Zt(t,n,!0,C.parseTransform),D=C.transform&&("function"==typeof C.transform?C.transform(m,g):C.transform);if(k.skewType=C.skewType||k.skewType||o.defaultSkewType,r._transform=k,"rotationZ"in C&&(C.rotation=C.rotationZ),D&&"string"==typeof D&&Pt)(p=j.style)[Pt]=D,p.display="block",p.position="absolute",-1!==D.indexOf("%")&&(p.width=J(t,"width"),p.height=J(t,"height")),z.body.appendChild(j),h=Zt(j,null,!1),"simple"===k.skewType&&(h.scaleY*=Math.cos(h.skewX*R)),k.svg&&(y=k.xOrigin,_=k.yOrigin,h.x-=k.xOffset,h.y-=k.yOffset,(C.transformOrigin||C.svgOrigin)&&(D={},Vt(t,at(C.transformOrigin),D,C.svgOrigin,C.smoothOrigin,!0),y=D.xOrigin,_=D.yOrigin,h.x-=D.xOffset-k.xOffset,h.y-=D.yOffset-k.yOffset),(y||_)&&(x=Ht(j,!0),h.x-=y-(y*x[0]+_*x[2]),h.y-=_-(y*x[1]+_*x[3]))),z.body.removeChild(j),h.perspective||(h.perspective=k.perspective),null!=C.xPercent&&(h.xPercent=lt(C.xPercent,k.xPercent)),null!=C.yPercent&&(h.yPercent=lt(C.yPercent,k.yPercent));else if("object"==typeof C){if(h={scaleX:lt(null!=C.scaleX?C.scaleX:C.scale,k.scaleX),scaleY:lt(null!=C.scaleY?C.scaleY:C.scale,k.scaleY),scaleZ:lt(C.scaleZ,k.scaleZ),x:lt(C.x,k.x),y:lt(C.y,k.y),z:lt(C.z,k.z),xPercent:lt(C.xPercent,k.xPercent),yPercent:lt(C.yPercent,k.yPercent),perspective:lt(C.transformPerspective,k.perspective)},null!=(v=C.directionalRotation))if("object"==typeof v)for(p in v)C[p]=v[p];else C.rotation=v;"string"==typeof C.x&&-1!==C.x.indexOf("%")&&(h.x=0,h.xPercent=lt(C.x,k.xPercent)),"string"==typeof C.y&&-1!==C.y.indexOf("%")&&(h.y=0,h.yPercent=lt(C.y,k.yPercent)),h.rotation=ut("rotation"in C?C.rotation:"shortRotation"in C?C.shortRotation+"_short":k.rotation,k.rotation,"rotation",A),Lt&&(h.rotationX=ut("rotationX"in C?C.rotationX:"shortRotationX"in C?C.shortRotationX+"_short":k.rotationX||0,k.rotationX,"rotationX",A),h.rotationY=ut("rotationY"in C?C.rotationY:"shortRotationY"in C?C.shortRotationY+"_short":k.rotationY||0,k.rotationY,"rotationY",A)),h.skewX=ut(C.skewX,k.skewX),h.skewY=ut(C.skewY,k.skewY)}for(Lt&&null!=C.force3D&&(k.force3D=C.force3D,d=!0),(f=k.force3D||k.z||k.rotationX||k.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==C.scale||(h.scaleZ=1);--M>-1;)((D=h[b=Dt[M]]-k[b])>T||D<-T||null!=C[b]||null!=F[b])&&(d=!0,a=new yt(k,b,k[b],D,a),b in A&&(a.e=A[b]),a.xs0=0,a.plugin=s,r._overwriteProps.push(a.n));return D=C.transformOrigin,k.svg&&(D||C.svgOrigin)&&(y=k.xOffset,_=k.yOffset,Vt(t,at(D),h,C.svgOrigin,C.smoothOrigin),a=_t(k,"xOrigin",(w?k:h).xOrigin,h.xOrigin,a,I),a=_t(k,"yOrigin",(w?k:h).yOrigin,h.yOrigin,a,I),y===k.xOffset&&_===k.yOffset||(a=_t(k,"xOffset",w?y:k.xOffset,k.xOffset,a,I),a=_t(k,"yOffset",w?_:k.yOffset,k.yOffset,a,I)),D="0px 0px"),(D||Lt&&f&&k.zOrigin)&&(Pt?(d=!0,b=Et,D=(D||J(t,b,n,!1,"50% 50%"))+"",(a=new yt(S,b,0,0,a,-1,I)).b=S[b],a.plugin=s,Lt?(p=k.zOrigin,D=D.split(" "),k.zOrigin=(D.length>2&&(0===p||"0px"!==D[2])?parseFloat(D[2]):p)||0,a.xs0=a.e=D[0]+" "+(D[1]||"50%")+" 0px",(a=new yt(k,"zOrigin",0,0,a,-1,a.n)).b=p,a.xs0=a.e=k.zOrigin):a.xs0=a.e=D):at(D+"",k)),d&&(r._transformType=k.svg&&Mt||!f&&3!==this._transformType?2:3),u&&(l[i]=u),c&&(l.scale=c),a},prefix:!0}),St("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),St("borderRadius",{defaultValue:"0px",parser:function(t,i,r,o,a,s){i=this.format(i);var l,u,c,h,p,f,d,g,m,v,y,_,x,b,w,S,T=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],M=t.style;for(m=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=i.split(" "),u=0;u<T.length;u++)this.p.indexOf("border")&&(T[u]=Y(T[u])),-1!==(p=h=J(t,T[u],n,!1,"0px")).indexOf(" ")&&(h=p.split(" "),p=h[0],h=h[1]),f=c=l[u],d=parseFloat(p),_=p.substr((d+"").length),(x="="===f.charAt(1))?(g=parseInt(f.charAt(0)+"1",10),f=f.substr(2),g*=parseFloat(f),y=f.substr((g+"").length-(g<0?1:0))||""):(g=parseFloat(f),y=f.substr((g+"").length)),""===y&&(y=e[r]||_),y!==_&&(b=Q(t,"borderLeft",d,_),w=Q(t,"borderTop",d,_),"%"===y?(p=b/m*100+"%",h=w/v*100+"%"):"em"===y?(p=b/(S=Q(t,"borderLeft",1,"em"))+"em",h=w/S+"em"):(p=b+"px",h=w+"px"),x&&(f=parseFloat(p)+g+y,c=parseFloat(h)+g+y)),a=xt(M,T[u],p+" "+h,f+" "+c,!1,"0px",a);return a},prefix:!0,formatter:gt("0px 0px 0px 0px",!1,!0)}),St("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,o,a){return xt(t.style,i,this.format(J(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",o)},prefix:!0,formatter:gt("0px 0px",!1,!0)}),St("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,o,a){var s,l,u,c,h,p,f="background-position",g=n||K(t,null),m=this.format((g?d?g.getPropertyValue(f+"-x")+" "+g.getPropertyValue(f+"-y"):g.getPropertyValue(f):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),v=this.format(e);if(-1!==m.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&(p=J(t,"backgroundImage").replace(I,""))&&"none"!==p){for(s=m.split(" "),l=v.split(" "),G.setAttribute("src",p),u=2;--u>-1;)(c=-1!==(m=s[u]).indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-G.width:t.offsetHeight-G.height,s[u]=c?parseFloat(m)/100*h+"px":parseFloat(m)/h*100+"%");m=s.join(" ")}return this.parseComplex(t.style,m,v,o,a)},formatter:at}),St("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:at(-1===t.indexOf(" ")?t+" "+t:t)}}),St("perspective",{defaultValue:"0px",prefix:!0}),St("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),St("transformStyle",{prefix:!0}),St("backfaceVisibility",{prefix:!0}),St("userSelect",{prefix:!0}),St("margin",{parser:mt("marginTop,marginRight,marginBottom,marginLeft")}),St("padding",{parser:mt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),St("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,o,a){var s,l,u;return d<9?(l=t.currentStyle,u=d<8?" ":",",s="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(s=this.format(J(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,s,e,o,a)}}),St("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),St("autoRound,strictUnits",{parser:function(t,e,n,i,r){return r}}),St("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,o,a){var s=J(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(b,"");return"px"!==u&&(s=parseFloat(s)/Q(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(s+" "+J(t,"borderTopStyle",n,!1,"solid")+" "+J(t,"borderTopColor",n,!1,"#000")),l.join(" "),o,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(dt)||["#000"])[0]}}),St("borderWidth",{parser:mt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),St("float,cssFloat,styleFloat",{parser:function(t,e,n,i,r,o){var a=t.style,s="cssFloat"in a?"cssFloat":"styleFloat";return new yt(a,s,0,0,r,-1,n,!1,0,a[s],e)}});var Xt=function(t){var e,n=this.t,i=n.filter||J(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),e=!J(this.data,"filter")):(n.filter=i.replace(T,""),e=!0)),e||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("pacity")?0===r&&this.xn1||(n.filter=i+" alpha(opacity="+r+")"):n.filter=i.replace(w,"opacity="+r))};St("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,o,a){var s=parseFloat(J(t,"opacity",n,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+s),u&&1===s&&"hidden"===J(t,"visibility",n)&&0!==e&&(s=0),Z?o=new yt(l,"opacity",s,e-s,o):((o=new yt(l,"opacity",100*s,100*(e-s),o)).xn1=u?1:0,l.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=t,o.plugin=a,o.setRatio=Xt),u&&((o=new yt(l,"visibility",0,0,o,-1,null,!1,0,0!==s?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(o.n),r._overwriteProps.push(i)),o}});var qt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(C,"-$1").toLowerCase())):t.removeAttribute(e))},Yt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,n=this.t.style;e;)e.v?n[e.p]=e.v:qt(n,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};St("className",{parser:function(e,i,r,o,a,s,l){var u,c,h,p,f,d=e.getAttribute("class")||"",g=e.style.cssText;if((a=o._classNamePT=new yt(e,r,0,0,a,2)).setRatio=Yt,a.pr=-11,t=!0,a.b=d,c=et(e,n),h=e._gsClassPT){for(p={},f=h.data;f;)p[f.p]=1,f=f._next;h.setRatio(1)}return e._gsClassPT=a,a.e="="!==i.charAt(1)?i:d.replace(new RegExp("(?:\\s|^)"+i.substr(2)+"(?![\\w-])"),"")+("+"===i.charAt(0)?" "+i.substr(2):""),e.setAttribute("class",a.e),u=nt(e,c,et(e),l,p),e.setAttribute("class",d),a.data=u.firstMPT,e.style.cssText=g,a=a.xfirst=o.parse(e,u.difs,a,s)}});var Kt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,n,i,r,o,a=this.t.style,l=s.transform.parse;if("all"===this.e)a.cssText="",r=!0;else for(i=(e=this.e.split(" ").join("").split(",")).length;--i>-1;)n=e[i],s[n]&&(s[n].parse===l?r=!0:n="transformOrigin"===n?Et:s[n].p),qt(a,n);r&&(qt(a,Pt),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(St("clearProps",{parser:function(e,n,i,r,o){return(o=new yt(e,i,0,0,o,2)).setRatio=Kt,o.e=n,o.pr=-10,o.data=r._tween,t=!0,o}}),l="bezier,throwProps,physicsProps,physics2D".split(","),bt=l.length;bt--;)Tt(l[bt]);(l=o.prototype)._firstPT=l._lastParsedTransform=l._transform=null,l._onInitTween=function(i,a,l,p){if(!i.nodeType)return!1;this._target=g=i,this._tween=l,this._vars=a,m=p,u=a.autoRound,t=!1,e=a.suffixMap||o.suffixMap,n=K(i,""),r=this._overwriteProps;var d,v,y,_,x,b,w,T,M,C=i.style;if(c&&""===C.zIndex&&("auto"!==(d=J(i,"zIndex",n))&&""!==d||this._addLazySet(C,"zIndex",0)),"string"==typeof a&&(_=C.cssText,d=et(i,n),C.cssText=_+";"+a,d=nt(i,d,et(i)).difs,!Z&&S.test(a)&&(d.opacity=parseFloat(RegExp.$1)),a=d,C.cssText=_),a.className?this._firstPT=v=s.className.parse(i,a.className,"className",this,null,null,a):this._firstPT=v=this.parse(i,a,null),this._transformType){for(M=3===this._transformType,Pt?h&&(c=!0,""===C.zIndex&&("auto"!==(w=J(i,"zIndex",n))&&""!==w||this._addLazySet(C,"zIndex",0)),f&&this._addLazySet(C,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(M?"visible":"hidden"))):C.zoom=1,y=v;y&&y._next;)y=y._next;T=new yt(i,"transform",0,0,null,2),this._linkCSSP(T,null,y),T.setRatio=Pt?Ut:$t,T.data=this._transform||Zt(i,n,!0),T.tween=l,T.pr=-1,r.pop()}if(t){for(;v;){for(b=v._next,y=_;y&&y.pr>v.pr;)y=y._next;(v._prev=y?y._prev:x)?v._prev._next=v:_=v,(v._next=y)?y._prev=v:x=v,v=b}this._firstPT=_}return!0},l.parse=function(t,i,r,o){var a,l,c,h,p,f,d,v,y,_,x=t.style;for(a in i){if("function"==typeof(f=i[a])&&(f=f(m,g)),l=s[a])r=l.parse(t,f,a,this,r,o,i);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",K(t).getPropertyValue(a)+"",f+"",a,!1,a);continue}p=J(t,a,n)+"",y="string"==typeof f,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||y&&M.test(f)?(y||(f=((f=pt(f)).length>3?"rgba(":"rgb(")+f.join(",")+")"),r=xt(x,a,p,f,!0,"transparent",r,0,o)):y&&L.test(f)?r=xt(x,a,p,f,!0,null,r,0,o):(d=(c=parseFloat(p))||0===c?p.substr((c+"").length):"",""!==p&&"auto"!==p||("width"===a||"height"===a?(c=ot(t,a,n),d="px"):"left"===a||"top"===a?(c=tt(t,a,n),d="px"):(c="opacity"!==a?0:1,d="")),(_=y&&"="===f.charAt(1))?(h=parseInt(f.charAt(0)+"1",10),f=f.substr(2),h*=parseFloat(f),v=f.replace(b,"")):(h=parseFloat(f),v=y?f.replace(b,""):""),""===v&&(v=a in e?e[a]:d),f=h||0===h?(_?h+c:h)+v:i[a],d!==v&&(""===v&&"lineHeight"!==a||(h||0===h)&&c&&(c=Q(t,a,c,d),"%"===v?(c/=Q(t,a,100,"%")/100,!0!==i.strictUnits&&(p=c+"%")):"em"===v||"rem"===v||"vw"===v||"vh"===v?c/=Q(t,a,1,v):"px"!==v&&(h=Q(t,a,h,v),v="px"),_&&(h||0===h)&&(f=h+c+v))),_&&(h+=c),!c&&0!==c||!h&&0!==h?void 0!==x[a]&&(f||f+""!="NaN"&&null!=f)?(r=new yt(x,a,h||c||0,0,r,-1,a,!1,0,p,f)).xs0="none"!==f||"display"!==a&&-1===a.indexOf("Style")?f:p:U(i[a]):(r=new yt(x,a,c,h-c,r,0,a,!1!==u&&("px"===v||"zIndex"===a),0,p,f)).xs0=v)}o&&r&&!r.plugin&&(r.plugin=o)}return r},l.setRatio=function(t){var e,n,i,r=this._firstPT,o=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=r.r(e):e<o&&e>-o&&(e=0),r.type)if(1===r.type)if(2===(i=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(n=r.xs0+e+r.xs1,i=1;i<r.l;i++)n+=r["xn"+i]+r["xs"+(i+1)];r.t[r.p]=n}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;){if(2!==r.type)if(r.r&&-1!==r.type)if(e=r.r(r.s+r.c),r.type){if(1===r.type){for(i=r.l,n=r.xs0+e+r.xs1,i=1;i<r.l;
1i++)n+=r["xn"+i]+r["xs"+(i+1)];r.t[r.p]=n}}else r.t[r.p]=e+r.xs0;else r.t[r.p]=r.e;else r.setRatio(t);r=r._next}},l._enableTransforms=function(t){this._transform=this._transform||Zt(this._target,n,!0),this._transformType=this._transform.svg&&Mt||!t&&3!==this._transformType?2:3};var Jt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};l._addLazySet=function(t,e,n){var i=this._firstPT=new yt(t,e,0,0,this._firstPT,2);i.e=n,i.setRatio=Jt,i.data=this},l._linkCSSP=function(t,e,n,i){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,i=!0),n?n._next=t:i||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=n),t},l._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},l._kill=function(t){var e,n,r,o=t;if(t.autoAlpha||t.alpha){for(n in o={},t)o[n]=t[n];o.opacity=1,o.autoAlpha&&(o.visibility=1)}for(t.className&&(e=this._classNamePT)&&((r=e.xfirst)&&r._prev?this._linkCSSP(r._prev,e._next,r._prev._prev):r===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,r._prev),this._classNamePT=null),e=this._firstPT;e;)e.plugin&&e.plugin!==n&&e.plugin._kill&&(e.plugin._kill(t),n=e.plugin),e=e._next;return i.VN.prototype._kill.call(this,o)};var Qt=function(t,e,n){var i,r,o,a;if(t.slice)for(r=t.length;--r>-1;)Qt(t[r],e,n);else for(r=(i=t.childNodes).length;--r>-1;)a=(o=i[r]).type,o.style&&(e.push(et(o)),n&&n.push(o)),1!==a&&9!==a&&11!==a||!o.childNodes.length||Qt(o,e,n)};return o.cascadeTo=function(t,e,n){var r,o,a,s,l=i.ZP.to(t,e,n),u=[l],c=[],h=[],p=[],f=i.ZP._internals.reservedProps;for(t=l._targets||l.target,Qt(t,c,p),l.render(e,!0,!0),Qt(t,h),l.render(0,!0,!0),l._enabled(!0),r=p.length;--r>-1;)if((o=nt(p[r],c[r],h[r])).firstMPT){for(a in o=o.difs,n)f[a]&&(o[a]=n[a]);for(a in s={},o)s[a]=c[r][a];u.push(i.ZP.fromTo(p[r],e,s,o))}return u},i.VN.activate([o]),o}),!0);var r=i.li.CSSPlugin},3441:function(t,e,n){"use strict";n.d(e,{$p:function(){return f},Au:function(){return h},Dd:function(){return l},NB:function(){return u},Yv:function(){return p},eJ:function(){return r},l6:function(){return s},sm:function(){return a},tQ:function(){return o},zO:function(){return c}});var i=n(5957);i.ML._gsDefine("easing.Back",["easing.Ease"],(function(){var t,e,n,r,o=i.ML.GreenSockGlobals||i.ML,a=o.com.greensock,s=2*Math.PI,l=Math.PI/2,u=a._class,c=function(t,e){var n=u("easing."+t,(function(){}),!0),r=n.prototype=new i.SX;return r.constructor=n,r.getRatio=e,n},h=i.SX.register||function(){},p=function(t,e,n,i,r){var o=u("easing."+t,{easeOut:new e,easeIn:new n,easeInOut:new i},!0);return h(o,t),o},f=function(t,e,n){this.t=t,this.v=e,n&&(this.next=n,n.prev=this,this.c=n.v-e,this.gap=n.t-t)},d=function(t,e){var n=u("easing."+t,(function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1}),!0),r=n.prototype=new i.SX;return r.constructor=n,r.getRatio=e,r.config=function(t){return new n(t)},n},g=p("Back",d("BackOut",(function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1})),d("BackIn",(function(t){return t*t*((this._p1+1)*t-this._p1)})),d("BackInOut",(function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)}))),m=u("easing.SlowMo",(function(t,e,n){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===n}),!0),v=m.prototype=new i.SX;return v.constructor=m,v.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),v.config=m.config=function(t,e,n){return new m(t,e,n)},(v=(t=u("easing.SteppedEase",(function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0}),!0)).prototype=new i.SX).constructor=t,v.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=t.config=function(e,n){return new t(e,n)},(v=(e=u("easing.ExpoScaleEase",(function(t,e,n){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=n}),!0)).prototype=new i.SX).constructor=e,v.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},v.config=e.config=function(t,n,i){return new e(t,n,i)},(v=(n=u("easing.RoughEase",(function(t){for(var e,n,r,o,a,s,l=(t=t||{}).taper||"none",u=[],c=0,h=0|(t.points||20),p=h,d=!1!==t.randomize,g=!0===t.clamp,m=t.template instanceof i.SX?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;--p>-1;)e=d?Math.random():1/h*p,n=m?m.getRatio(e):e,r="none"===l?v:"out"===l?(o=1-e)*o*v:"in"===l?e*e*v:e<.5?(o=2*e)*o*.5*v:(o=2*(1-e))*o*.5*v,d?n+=Math.random()*r-.5*r:p%2?n+=.5*r:n-=.5*r,g&&(n>1?n=1:n<0&&(n=0)),u[c++]={x:e,y:n};for(u.sort((function(t,e){return t.x-e.x})),s=new f(1,1,null),p=h;--p>-1;)a=u[p],s=new f(a.x,a.y,s);this._prev=new f(0,0,0!==s.t?s:s.next)}),!0)).prototype=new i.SX).constructor=n,v.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},v.config=function(t){return new n(t)},n.ease=new n,p("Bounce",c("BounceOut",(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})),c("BounceIn",(function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)})),c("BounceInOut",(function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=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,e?.5*(1-t):.5*t+.5}))),p("Circ",c("CircOut",(function(t){return Math.sqrt(1-(t-=1)*t)})),c("CircIn",(function(t){return-(Math.sqrt(1-t*t)-1)})),c("CircInOut",(function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}))),r=function(t,e,n){var r=u("easing."+t,(function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(t<1?t:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2}),!0),o=r.prototype=new i.SX;return o.constructor=r,o.getRatio=e,o.config=function(t,e){return new r(t,e)},r},p("Elastic",r("ElasticOut",(function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1}),.3),r("ElasticIn",(function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)}),.3),r("ElasticInOut",(function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1}),.45)),p("Expo",c("ExpoOut",(function(t){return 1-Math.pow(2,-10*t)})),c("ExpoIn",(function(t){return Math.pow(2,10*(t-1))-.001})),c("ExpoInOut",(function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))}))),p("Sine",c("SineOut",(function(t){return Math.sin(t*l)})),c("SineIn",(function(t){return 1-Math.cos(t*l)})),c("SineInOut",(function(t){return-.5*(Math.cos(Math.PI*t)-1)}))),u("easing.EaseLookup",{find:function(t){return i.SX.map[t]}},!0),h(o.SlowMo,"SlowMo","ease,"),h(n,"RoughEase","ease,"),h(t,"SteppedEase","ease,"),g}),!0);var r=i.li.Back,o=i.li.Elastic,a=i.li.Bounce,s=i.li.RoughEase,l=i.li.SlowMo,u=i.li.SteppedEase,c=i.li.
1Circ,h=i.li.Expo,p=i.li.Sine,f=i.li.ExpoScaleEase},9127:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(5957),r=(i.ML.document||{}).documentElement,o=i.ML,a=function(t,e){var n="x"===e?"Width":"Height",i="scroll"+n,a="client"+n,s=document.body;return t===o||t===r||t===s?Math.max(r[i],s[i])-(o["inner"+n]||r[a]||s[a]):t[i]-t["offset"+n]},s=function(t,e){var n="scroll"+("x"===e?"Left":"Top");return t===o&&(null!=t.pageXOffset?n="page"+e.toUpperCase()+"Offset":t=null!=r[n]?r:document.body),function(){return t[n]}},l=function(t,e){var n,i=(n=t,"string"==typeof n&&(n=TweenLite.selector(n)),n.length&&n!==o&&n[0]&&n[0].style&&!n.nodeType&&(n=n[0]),n===o||n.nodeType&&n.style?n:null).getBoundingClientRect(),a=document.body,l=!e||e===o||e===a,u=l?{top:r.clientTop-(window.pageYOffset||r.scrollTop||a.scrollTop||0),left:r.clientLeft-(window.pageXOffset||r.scrollLeft||a.scrollLeft||0)}:e.getBoundingClientRect(),c={x:i.left-u.left,y:i.top-u.top};return!l&&e&&(c.x+=s(e,"x")(),c.y+=s(e,"y")()),c},u=function(t,e,n){var i=typeof t;return isNaN(t)?"number"===i||"string"===i&&"="===t.charAt(1)?t:"max"===t?a(e,n):Math.min(a(e,n),l(t,e)[n]):parseFloat(t)},c=i.ML._gsDefine.plugin({propName:"scrollTo",API:2,global:!0,version:"1.9.1",init:function(t,e,n){return this._wdw=t===o,this._target=t,this._tween=n,"object"!=typeof e?"string"==typeof(e={y:e}).y&&"max"!==e.y&&"="!==e.y.charAt(1)&&(e.x=e.y):e.nodeType&&(e={y:e,x:e}),this.vars=e,this._autoKill=!1!==e.autoKill,this.getX=s(t,"x"),this.getY=s(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=e.x?(this._addTween(this,"x",this.x,u(e.x,t,"x")-(e.offsetX||0),"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=e.y?(this._addTween(this,"y",this.y,u(e.y,t,"y")-(e.offsetY||0),"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var e=this._wdw||!this.skipX?this.getX():this.xPrev,n=this._wdw||!this.skipY?this.getY():this.yPrev,i=n-this.yPrev,r=e-this.xPrev,s=c.autoKillThreshold;this.x<0&&(this.x=0),this.y<0&&(this.y=0),this._autoKill&&(!this.skipX&&(r>s||r<-s)&&e<a(this._target,"x")&&(this.skipX=!0),!this.skipY&&(i>s||i<-s)&&n<a(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?o.scrollTo(this.skipX?e:this.x,this.skipY?n:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),h=c.prototype;c.max=a,c.getOffset=l,c.buildGetter=s,c.autoKillThreshold=7,h._kill=function(t){return t.scrollTo_x&&(this.skipX=!0),t.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,t)}},4743:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var i=n(5957);i.ML._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){i.MQ.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,n,r=this.vars;for(n in r)e=r[n],a(e)&&-1!==e.join("").indexOf("{self}")&&(r[n]=this._swapSelfInParams(e));a(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},e=1e-10,n=i.ZP._internals,r=t._internals={},o=n.isSelector,a=n.isArray,s=n.lazyTweens,l=n.lazyRender,u=i.ML._gsDefine.globals,c=function(t){var e,n={};for(e in t)n[e]=t[e];return n},h=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n]):r[n%r.length];delete t.cycle},p=r.pauseCallback=function(){},f=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},d=t.prototype=new i.MQ;return t.version="2.0.2",d.constructor=t,d.kill()._gc=d._forcingPlayhead=d._hasPause=!1,d.to=function(t,e,n,r){var o=n.repeat&&u.TweenMax||i.ZP;return e?this.add(new o(t,e,n),r):this.set(t,n,r)},d.from=function(t,e,n,r){return this.add((n.repeat&&u.TweenMax||i.ZP).from(t,e,n),r)},d.fromTo=function(t,e,n,r,o){var a=r.repeat&&u.TweenMax||i.ZP;return e?this.add(a.fromTo(t,e,n,r),o):this.set(t,r,o)},d.staggerTo=function(e,n,r,a,s,l,u,p){var d,g,m=new t({onComplete:l,onCompleteParams:u,callbackScope:p,smoothChildTiming:this.smoothChildTiming}),v=r.cycle;for("string"==typeof e&&(e=i.ZP.selector(e)||e),o(e=e||[])&&(e=f(e)),(a=a||0)<0&&((e=f(e)).reverse(),a*=-1),g=0;g<e.length;g++)(d=c(r)).startAt&&(d.startAt=c(d.startAt),d.startAt.cycle&&h(d.startAt,e,g)),v&&(h(d,e,g),null!=d.duration&&(n=d.duration,delete d.duration)),m.to(e[g],n,d,g*a);return this.add(m,s)},d.staggerFrom=function(t,e,n,i,r,o,a,s){return n.immediateRender=0!=n.immediateRender,n.runBackwards=!0,this.staggerTo(t,e,n,i,r,o,a,s)},d.staggerFromTo=function(t,e,n,i,r,o,a,s,l){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,this.staggerTo(t,e,
vendor: 6,222 bytes, line 1
1i,r,o,a,s,l)},d.call=function(t,e,n,r){return this.add(i.ZP.delayedCall(0,t,e,n),r)},d.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new i.ZP(t,0,e),n)},t.exportRoot=function(e,n){null==(e=e||{}).smoothChildTiming&&(e.smoothChildTiming=!0);var r,o,a,s,l=new t(e),u=l._timeline;for(null==n&&(n=!0),u._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=u._time,a=u._first;a;)s=a._next,n&&a instanceof i.ZP&&a.target===a.vars.onComplete||((o=a._startTime-a._delay)<0&&(r=1),l.add(a,o)),a=s;return u.add(l,0),r&&l.totalDuration(),l},d.add=function(e,n,r,o){var s,l,u,c,h,p;if("number"!=typeof n&&(n=this._parseTimeOrLabel(n,0,!0,e)),!(e instanceof i.fw)){if(e instanceof Array||e&&e.push&&a(e)){for(r=r||"normal",o=o||0,s=n,l=e.length,u=0;u<l;u++)a(c=e[u])&&(c=new t({tweens:c})),this.add(c,s),"string"!=typeof c&&"function"!=typeof c&&("sequence"===r?s=c._startTime+c.totalDuration()/c._timeScale:"start"===r&&(c._startTime-=c.delay())),s+=o;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,n);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=i.ZP.delayedCall(0,e)}if(i.MQ.prototype.add.call(this,e,n),e._time&&(s=Math.max(0,Math.min(e.totalDuration(),(this.rawTime()-e._startTime)*e._timeScale)),Math.abs(s-e._totalTime)>1e-5&&e.render(s,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(p=(h=this).rawTime()>e._startTime;h._timeline;)p&&h._timeline.smoothChildTiming?h.totalTime(h._totalTime,!0):h._gc&&h._enabled(!0,!1),h=h._timeline;return this},d.remove=function(t){if(t instanceof i.fw){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?i.fw._rootFramesTimeline:i.fw._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&a(t)){for(var n=t.length;--n>-1;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},d._remove=function(t,e){return i.MQ.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},d.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},d.insert=d.insertMultiple=function(t,e,n,i){return this.add(t,e||0,n,i)},d.appendMultiple=function(t,e,n,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),n,i)},d.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},d.addPause=function(t,e,n,r){var o=i.ZP.delayedCall(0,p,n,r||this);return o.vars.onComplete=o.vars.onReverseComplete=e,o.data="isPause",this._hasPause=!0,this.add(o,t)},d.removeLabel=function(t){return delete this._labels[t],this},d.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},d._parseTimeOrLabel=function(t,e,n,r){var o,s;if(r instanceof i.fw&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&a(r)))for(s=r.length;--s>-1;)r[s]instanceof i.fw&&r[s].timeline===this&&this.remove(r[s]);if(o="number"!=typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,n&&"number"==typeof t&&null==this._labels[e]?t-o:0,n);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=o);else{if(-1===(s=t.indexOf("=")))return null==this._labels[t]?n?this._labels[t]=o+e:e:this._labels[t]+e;e=parseInt(t.charAt(s-1)+"1",10)*Number(t.substr(s+1)),t=s>1?this._parseTimeOrLabel(t.substr(0,s-1),0,n):o}return Number(t)+e},d.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},d.stop=function(){return this.paused(!0)},d.gotoAndPlay=function(t,e){return this.play(t,e)},d.gotoAndStop=function(t,e){return this.pause(t,e)},d.render=function(t,n,i){this._gc&&this._enabled(!0,!1);var r,o,a,u,c,h,p,f=this._time,d=this._dirty?this.totalDuration():this._totalDuration,g=this._startTime,m=this._timeScale,v=this._paused;if(f!==this._time&&(t+=this._time-f),t>=d-1e-7&&t>=0)this._totalTime=this._time=d,this._reversed||this._hasPausedChild()||(o=!0,u="onComplete",c=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===e)&&this._rawPrevTime!==t&&this._first&&(c=!0,this._rawPrevTime>e&&(u="onReverseComplete"))),this._rawPrevTime=this._duration||!n||t||this._rawPrevTime===t?t:e,t=d+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==e&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(u="onReverseComplete",o=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(c=o=!0,u="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(c=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!n||t||this._rawPrevTime===t?t:e,0===t&&o)for(r=this._first;r&&0===r._startTime;)r._duration||(o=!1),r=r._next;t=0,this._initted||(c=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!n){if(t>=f)for(r=this._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(h=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&(this._time=t=h._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||i||c||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&(0===this._time&&this._duration||n||this._callback("onStart")),(p=this._time)>=f)for(r=this._first;r&&(a=r._next,p===this._time&&(!this._paused||v));)(r._active||r._startTime<=p&&!r._paused&&!r._gc)&&(h===r&&this.pause(),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,n,i):r.render((t-r._startTime)*r._timeScale,n,i)),r=a;else for(r=this._last;r&&(a=r._prev,p===this._time&&(!this._paused||v));
vendor: 9,194 bytes, line 1
1){if(r._active||r._startTime<=f&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,n,i),h=h._prev;h=null,this.pause()}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,n,i):r.render((t-r._startTime)*r._timeScale,n,i)}r=a}this._onUpdate&&(n||(s.length&&l(),this._callback("onUpdate"))),u&&(this._gc||g!==this._startTime&&m===this._timeScale||(0===this._time||d>=this.totalDuration())&&(o&&(s.length&&l(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!n&&this.vars[u]&&this._callback(u)))}},d._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},d.getChildren=function(t,e,n,r){r=r||-9999999999;for(var o=[],a=this._first,s=0;a;)a._startTime<r||(a instanceof i.ZP?!1!==e&&(o[s++]=a):(!1!==n&&(o[s++]=a),!1!==t&&(s=(o=o.concat(a.getChildren(!0,e,n))).length))),a=a._next;return o},d.getTweensOf=function(t,e){var n,r,o=this._gc,a=[],s=0;for(o&&this._enabled(!0,!0),r=(n=i.ZP.getTweensOf(t)).length;--r>-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(a[s++]=n[r]);return o&&this._enabled(!1,!0),a},d.recent=function(){return this._recent},d._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},d.shiftChildren=function(t,e,n){n=n||0;for(var i,r=this._first,o=this._labels;r;)r._startTime>=n&&(r._startTime+=t),r=r._next;if(e)for(i in o)o[i]>=n&&(o[i]+=t);return this._uncache(!0)},d._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var n=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=n.length,r=!1;--i>-1;)n[i]._kill(t,e)&&(r=!0);return r},d.clear=function(t){var e=this.getChildren(!1,!0,!0),n=e.length;for(this._time=this._totalTime=0;--n>-1;)e[n]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},d.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return i.fw.prototype.invalidate.call(this)},d._enabled=function(t,e){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return i.MQ.prototype._enabled.call(this,t,e)},d.totalTime=function(t,e,n){this._forcingPlayhead=!0;var r=i.fw.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},d.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},d.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,n,i=0,r=this._last,o=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>o&&this._sortChildren&&!r._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(r,r._startTime-r._delay),this._calculatingDuration=0):o=r._startTime,r._startTime<0&&!r._paused&&(i-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale,this._time-=r._startTime,this._totalTime-=r._startTime,this._rawPrevTime-=r._startTime),this.shiftChildren(-r._startTime,!1,-9999999999),o=0),(n=r._startTime+r._totalDuration/r._timeScale)>i&&(i=n),r=e;this._duration=this._totalDuration=i,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},d.paused=function(t){if(!t)for(var e=this._first,n=this._time;e;)e._startTime===n&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return i.fw.prototype.paused.apply(this,arguments)},d.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===i.fw._rootFramesTimeline},d.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},t}),!0);var r=i.li.TimelineLite},3794:function(t,e,n){"use strict";n.d(e,{ZP:function(){return o}});var i=n(5957),r=n(4743);i.ML._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(){var t=function(t){r.Z.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},e=1e-10,n=i.ZP._internals,o=n.lazyTweens,a=n.lazyRender,s=i.ML._gsDefine.globals,l=new i.SX(null,null,1,0),u=t.prototype=new r.Z;return u.constructor=t,u.kill()._gc=!1,t.version="2.0.2",u.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),r.Z.prototype.invalidate.call(this)},u.addCallback=function(t,e,n,r){return this.add(i.ZP.delayedCall(0,t,n,r),e)},u.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var n=this.getTweensOf(t,!1),i=n.length,r=this._parseTimeOrLabel(e);--i>-1;)n[i]._startTime===r&&n[i]._enabled(!1,!1);return this},u.removePause=function(t){return this.removeCallback(r.Z._internals.pauseCallback,t)},u.tweenTo=function(t,e){e=e||{};var n,r,o,a={ease:l,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},u=e.repeat&&s.TweenMax||i.ZP;for(r in e)a[r]=e[r];return a.time=this._parseTimeOrLabel(t),n=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,o=new u(this,n,a),a.onStart=function(){o.target.paused(!0),o.vars.time===o.target.time()||n!==o.duration()||o.isFromTo||o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale).render(o.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||o,e.onStartParams||[])},o},u.tweenFromTo=function(t,e,n){n=n||{},t=this._parseTimeOrLabel(t),n.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},n.immediateRender=!1!==n.immediateRender;var i=this.tweenTo(e,n);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},u.render=function(t,n,i){this._gc&&this._enabled(!0,!1);var r,s,l,u,c,h,p,f,d=this._time,g=this._dirty?this.totalDuration():this._totalDuration,m=this._duration,v=this._totalTime,y=this._startTime,_=this._timeScale,x=this._rawPrevTime,b=this._paused,w=this._cycle;if(d!==this._time&&(t+=this._time-d),t>=g-1e-7&&t>=0)this._locked||(this._totalTime=g,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,u="onComplete",c=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||x<0||x===e)&&x!==t&&this._first&&(c=!0,x>e&&(u="onReverseComplete"))),this._rawPrevTime=this._duration||!n||t||this._rawPrevTime===t?t:e,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=m,t=m+1e-4);else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==d||0===m&&x!==e&&(x>0||t<0&&x>=0)&&!this._locked)&&(u="onReverseComplete",s=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(c=s=!0,u="onReverseComplete"):x>=0&&this._first&&(c=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=m||!n||t||this._rawPrevTime===t?t:e,0===t&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,this._initted||(c=!0)}else if(0===m&&x<0&&(c=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(h=m+this._repeatDelay,this._cycle=this._totalTime/h>>0,0!==this._cycle&&this._cycle===this._totalTime/h&&v<=t&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&0!=(1&this._cycle)&&(this._time=m-this._time),this._time>m?(this._time=m,t=m+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!n){if((t=this._time)>=d||this._repeat&&w!==this._cycle)for(r=this._first;r&&r._startTime<=t&&!p;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(p=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!p;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(p=r),r=r._prev;p&&p._startTime<m&&(this._time=t=p._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==w&&!this._locked){var S=this._yoyo&&0!=(1&w),T=S===(this._yoyo&&0!=(1&this._cycle)),M=this._totalTime,C=this._cycle,A=this._rawPrevTime,I=this._time;if(this._totalTime=w*m,this._cycle<w?S=!S:this._totalTime+=m,this._time=d,this._rawPrevTime=0===m?x-1e-4:x,this._cycle=w,this._locked=!0,d=S?0:m,this.render(d,n,0===m),n||this._gc||this.vars.onRepeat&&(this._cycle=C,this._locked=!1,this._callback("onRepeat")),d!==this._time)return;if(T&&(this._cycle=w,this._locked=!0,d=S?m+1e-4:-1e-4,this.render(d,!0,!1)),this._locked=!1,this._paused&&!b)return;this._time=I,this._totalTime=M,this._cycle=C,this._rawPrevTime=A}if(this._time!==d&&this._first||i||c||p){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==v&&t>0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||n||this._callback("onStart")),(f=this._time)>=d)for(r=this._first;r&&(l=r._next,f===this._time&&(!this._paused||b));)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(p===r&&this.pause(),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,n,i):r.render((t-r._startTime)*r._timeScale,n,i)),r=l;else for(r=this._last;r&&(l=r._prev,f===this._time&&(!this._paused||b));
vendor: 6,168 bytes, line 1
1){if(r._active||r._startTime<=d&&!r._paused&&!r._gc){if(p===r){for(p=r._prev;p&&p.endTime()>this._time;)p.render(p._reversed?p.totalDuration()-(t-p._startTime)*p._timeScale:(t-p._startTime)*p._timeScale,n,i),p=p._prev;p=null,this.pause()}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,n,i):r.render((t-r._startTime)*r._timeScale,n,i)}r=l}this._onUpdate&&(n||(o.length&&a(),this._callback("onUpdate"))),u&&(this._locked||this._gc||y!==this._startTime&&_===this._timeScale||(0===this._time||g>=this.totalDuration())&&(s&&(o.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!n&&this.vars[u]&&this._callback(u)))}else v!==this._totalTime&&this._onUpdate&&(n||this._callback("onUpdate"))},u.getActive=function(t,e,n){null==t&&(t=!0),null==e&&(e=!0),null==n&&(n=!1);var i,r,o=[],a=this.getChildren(t,e,n),s=0,l=a.length;for(i=0;i<l;i++)(r=a[i]).isActive()&&(o[s++]=r);return o},u.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,n=this.getLabelsArray(),i=n.length;for(e=0;e<i;e++)if(n[e].time>t)return n[e].name;return null},u.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),n=e.length;--n>-1;)if(e[n].time<t)return e[n].name;return null},u.getLabelsArray=function(){var t,e=[],n=0;for(t in this._labels)e[n++]={time:this._labels[t],name:t};return e.sort((function(t,e){return t.time-e.time})),e},u.invalidate=function(){return this._locked=!1,r.Z.prototype.invalidate.call(this)},u.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},u.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},u.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(r.Z.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},u.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},u.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t}),!0);var o=i.li.TimelineMax},5957:function(t,e,n){"use strict";n.d(e,{Aq:function(){return d},EA:function(){return p},Lp:function(){return f},ML:function(){return i},MQ:function(){return s},SX:function(){return u},VN:function(){return m},Yp:function(){return g},ZP:function(){return r},bJ:function(){return c},fw:function(){return l},li:function(){return o},qD:function(){return h}}),t=n.hmd(t);var i="undefined"!=typeof window?window:t.exports&&void 0!==n.g?n.g:{},r=function(t,e){var n={},i=t.document,r=t.GreenSockGlobals=t.GreenSockGlobals||t;if(r.TweenLite)return r.TweenLite;var o,a,s,l,u,c,h,p=function(t){var e,n=t.split("."),i=r;for(e=0;e<n.length;e++)i[n[e]]=i=i[n[e]]||{};return i},f=p("com.greensock"),d=1e-10,g=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},m=function(){},v=(c=Object.prototype.toString,h=c.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&c.call(t)===h)}),y={},_=function(t,e,i,o){this.sc=y[t]?y[t].sc:[],y[t]=this,this.gsClass=null,this.func=i;var a=[];this.check=function(s){for(var l,u,c,h,f=e.length,d=f;--f>-1;)(l=y[e[f]]||new _(e[f],[])).gsClass?(a[f]=l.gsClass,d--):s&&l.sc.push(this);if(0===d&&i)for(c=(u=("com.greensock."+t).split(".")).pop(),h=p(u.join("."))[c]=this.gsClass=i.apply(i,a),o&&(r[c]=n[c]=h),f=0;f<this.sc.length;f++)this.sc[f].check()},this.check(!0)},x=t._gsDefine=function(t,e,n,i){return new _(t,e,n,i)},b=f._class=function(t,e,n){return e=e||function(){},x(t,[],(function(){return e}),n),e};x.globals=r;var w=[0,0,1,1],S=b("easing.Ease",(function(t,e,n,i){this._func=t,this._type=n||0,this._power=i||0,this._params=e?w.concat(e):w}),!0),T=S.map={},M=S.register=function(t,e,n,i){for(var r,o,a,s,l=e.split(","),u=l.length,c=(n||"easeIn,easeOut,easeInOut").split(",");--u>-1;)for(o=l[u],r=i?b("easing."+o,null,!0):f.easing[o]||{},a=c.length;--a>-1;)s=c[a],T[o+"."+s]=T[s+o]=r[s]=t.getRatio?t:t[s]||new t};for((s=S.prototype)._calcEnd=!1,s.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,n=this._power,i=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===e?1-i:2===e?i:t<.5?i/2:1-i/2},a=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)s=o[a]+",Power"+a,M(new S(null,null,1,a),s,"easeOut",!0),M(new S(null,null,2,a),s,"easeIn"+(0===a?",easeNone":"")),M(new S(null,null,3,a),s,"easeInOut");T.linear=f.easing.Linear.easeIn,T.swing=f.easing.Quad.easeInOut;var C=b("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));(s=C.prototype).addEventListener=function(t,e,n,i,r){r=r||0;var o,a,s=this._listeners[t],c=0;for(this!==l||u||l.wake(),null==s&&(this._listeners[t]=s=[]),a=s.length;--a>-1;)(o=s[a]).c===e&&o.s===n?s.splice(a,1):0===c&&o.pr<r&&(c=a+1);s.splice(c,0,{c:e,s:n,up:i,pr:r})},s.removeEventListener=function(t,e){var n,i=this._listeners[t];if(i)for(n=i.length;--n>-1;)if(i[n].c===e)return void i.splice(n,1)},s.dispatchEvent=function(t){var e,n,i,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),n=this._eventTarget;--e>-1;)(i=r[e])&&(i.up?i.c.call(i.s||n,{type:t,target:n}):i.c.call(i.s||n))};var A=t.requestAnimationFrame,I=t.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},D=k();
vendor: 11,060 bytes, line 1
1for(a=(o=["ms","moz","webkit","o"]).length;--a>-1&&!A;)A=t[o[a]+"RequestAnimationFrame"],I=t[o[a]+"CancelAnimationFrame"]||t[o[a]+"CancelRequestAnimationFrame"];b("Ticker",(function(t,e){var n,r,o,a,s,c=this,h=k(),p=!(!1===e||!A)&&"auto",f=500,g=33,v=function(t){var e,i,l=k()-D;l>f&&(h+=l-g),D+=l,c.time=(D-h)/1e3,e=c.time-s,(!n||e>0||!0===t)&&(c.frame++,s+=e+(e>=a?.004:a-e),i=!0),!0!==t&&(o=r(v)),i&&c.dispatchEvent("tick")};C.call(c),c.time=c.frame=0,c.tick=function(){v(!0)},c.lagSmoothing=function(t,e){if(!arguments.length)return f<1/d;f=t||1/d,g=Math.min(e,f,0)},c.sleep=function(){null!=o&&(p&&I?I(o):clearTimeout(o),r=m,o=null,c===l&&(u=!1))},c.wake=function(t){null!==o?c.sleep():t?h+=-D+(D=k()):c.frame>10&&(D=k()-f+5),r=0===n?m:p&&A?A:function(t){return setTimeout(t,1e3*(s-c.time)+1|0)},c===l&&(u=!0),v(2)},c.fps=function(t){if(!arguments.length)return n;a=1/((n=t)||60),s=this.time+a,c.wake()},c.useRAF=function(t){if(!arguments.length)return p;c.sleep(),p=t,c.fps(n)},c.fps(t),setTimeout((function(){"auto"===p&&c.frame<5&&"hidden"!==(i||{}).visibilityState&&c.useRAF(!1)}),1500)})),(s=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var P=b("core.Animation",(function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,Y){u||l.wake();var n=this.vars.useFrames?q:Y;n.add(this,n._time),this.vars.paused&&this.paused(!0)}}));l=P.ticker=new f.Ticker,(s=P.prototype)._dirty=s._gc=s._initted=s._paused=!1,s._totalTime=s._time=0,s._rawPrevTime=-1,s._next=s._last=s._onUpdate=s._timeline=s.timeline=null,s._paused=!1;var O=function(){u&&k()-D>2e3&&("hidden"!==(i||{}).visibilityState||!l.lagSmoothing())&&l.wake();var t=setTimeout(O,2e3);t.unref&&t.unref()};O(),s.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},s.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},s.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},s.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},s.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},s.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},s.render=function(t,e,n){},s.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},s.isActive=function(){var t,e=this._timeline,n=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<n+this.totalDuration()/this._timeScale-1e-7},s._enabled=function(t,e){return u||l.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},s._kill=function(t,e){return this._enabled(!1,!1)},s.kill=function(t,e){return this._kill(t,e),this},s._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},s._swapSelfInParams=function(t){for(var e=t.length,n=t.concat();--e>-1;)"{self}"===t[e]&&(n[e]=this);return n},s._callback=function(t){var e=this.vars,n=e[t],i=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(i?i.length:0){case 0:n.call(r);break;case 1:n.call(r,i[0]);break;case 2:n.call(r,i[0],i[1]);break;default:n.apply(r,i)}},s.eventCallback=function(t,e,n,i){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=v(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[t+"Scope"]=i),"onUpdate"===t&&(this._onUpdate=e)}return this},s.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},s.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},s.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},s.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},s.totalTime=function(t,e,n){if(u||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(t>i&&!n&&(t=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(N.length&&J(),this.render(t,e,!1),N.length&&J())}return this},s.progress=s.totalProgress=function(t,e){var n=this.duration();return arguments.length?this.totalTime(n*t,e):n?this._time/n:this.ratio},s.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},s.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},s.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,n;for(t=t||d,this._timeline&&this._timeline.smoothChildTiming&&(n=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=n-(n-this._startTime)*this._timeScale/t),this._timeScale=t,n=this.timeline;n&&n.timeline;)n._dirty=!0,n.totalDuration(),n=n.timeline;return this},s.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},s.paused=function(t){if(!arguments.length)return this._paused;var e,n,i=this._timeline;return t!=this._paused&&i&&(u||t||l.wake(),n=(e=i.rawTime())-this._pauseTime,!t&&i.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&(e=i.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var E=b("core.SimpleTimeline",(function(t){P.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));(s=E.prototype=new P).constructor=E,s.kill()._gc=!1,s._first=s._last=s._recent=null,s._sortChildren=!1,s.add=s.insert=function(t,e,n,i){var r,o;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(o=t._startTime;r&&r._startTime>o;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},s._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},s.render=function(t,e,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)i=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=i},s.rawTime=function(){return u||l.wake(),this._totalTime};var L=b("TweenLite",(function(e,n,i){if(P.call(this,n,i),this.render=L.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:L.selector(e)||e;var r,o,a,s=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?X[L.defaultOverwrite]:"number"==typeof l?l>>0:X[l],(s||e instanceof Array||e.push&&v(e))&&"number"!=typeof e[0])for(this._targets=a=g(e),this._propLookup=[],this._siblings=[],r=0;r<a.length;r++)(o=a[r])?"string"!=typeof o?o.length&&o!==t&&o[0]&&(o[0]===t||o[0].nodeType&&o[0].style&&!o.nodeType)?(a.splice(r--,1),this._targets=a=a.concat(g(o))):(this._siblings[r]=Q(o,this,!1),1===l&&this._siblings[r].length>1&&et(o,this,null,1,this._siblings[r])):"string"==typeof(o=a[r--]=L.selector(o))&&a.splice(r+1,1):a.splice(r--,1);else this._propLookup={},this._siblings=Q(e,this,!1),1===l&&this._siblings.length>1&&et(e,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))}),!0),R=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(s=L.prototype=new P).constructor=L,s.kill()._gc=!1,s.ratio=0,s._firstPT=s._targets=s._overwrittenProps=s._startAt=null,s._notifyPluginsOfEnabled=s._lazy=!1,L.version="2.0.2",L.defaultEase=s._ease=new S(null,null,1,1),L.defaultOverwrite="auto",L.ticker=l,L.autoSleep=120,L.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},L.selector=t.$||t.jQuery||function(e){var n=t.$||t.jQuery;return n?(L.selector=n,n(e)):(i||(i=t.document),i?i.querySelectorAll?i.querySelectorAll(e):i.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var N=[],F={},B=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,z=/[\+-]=-?[\.\d]/,V=function(t){for(var e,n=this._firstPT,i=1e-6;n;)e=n.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:n.c*t+n.s,n.m?e=n.m.call(this._tween,e,this._target||n.t,this._tween):e<i&&e>-i&&!n.blob&&(e=0),n.f?n.fp?n.t[n.p](n.fp,e):n.t[n.p](e):n.t[n.p]=e,n=n._next},j=function(t,e,n,i){var r,o,a,s,l,u,c,h=[],p=0,f="",d=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",n&&(n(h),t=h[0],e=h[1]),h.length=0,r=t.match(B)||[],o=e.match(B)||[],i&&(i._next=null,i.blob=1,h._firstPT=h._applyPT=i),l=o.length,s=0;s<l;s++)c=o[s],f+=(u=e.substr(p,e.indexOf(c,p)-p))||!s?u:",",p+=u.length,d?d=(d+1)%5:"rgba("===u.substr(-5)&&(d=1),c===r[s]||r.length<=s?f+=c:(f&&(h.push(f),f=""),a=parseFloat(r[s]),h.push(a),h._firstPT={_next:h._firstPT,t:h,p:h.length-1,s:a,c:("="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-a)||0,f:0,m:d&&d<4?Math.round:0}),p+=c.length;return(f+=e.substr(p))&&h.push(f),h.setRatio=V,z.test(e)&&(h.end=null),h},G=function(t,e,n,i,r,o,a,s,l){"function"==typeof i&&(i=i(l||0,t));var u=typeof t[e],c="function"!==u?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),h="get"!==n?n:c?a?t[c](a):t[c]():t[e],p="str
1ing"==typeof i&&"="===i.charAt(1),f={t:t,p:e,s:h,f:"function"===u,pg:0,n:r||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:p?parseInt(i.charAt(0)+"1",10)*parseFloat(i.substr(2)):parseFloat(i)-h||0};if(("number"!=typeof h||"number"!=typeof i&&!p)&&(a||isNaN(h)||!p&&isNaN(i)||"boolean"==typeof h||"boolean"==typeof i?(f.fp=a,f={t:j(h,p?parseFloat(f.s)+f.c+(f.s+"").replace(/[0-9\-\.]/g,""):i,s||L.defaultStringFilter,f),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||e,pr:0,m:0}):(f.s=parseFloat(h),p||(f.c=parseFloat(i)-f.s||0))),f.c)return(f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f,f},W=L._internals={isArray:v,isSelector:R,lazyTweens:N,blobDif:j},H=L._plugins={},Z=W.tweenLookup={},$=0,U=W.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},X={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},q=P._rootFramesTimeline=new E,Y=P._rootTimeline=new E,K=30,J=W.lazyRender=function(){var t,e=N.length;for(F={};--e>-1;)(t=N[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);N.length=0};Y._startTime=l.time,q._startTime=l.frame,Y._active=q._active=!0,setTimeout(J,1),P._updateRoot=L.render=function(){var t,e,n;if(N.length&&J(),Y.render((l.time-Y._startTime)*Y._timeScale,!1,!1),q.render((l.frame-q._startTime)*q._timeScale,!1,!1),N.length&&J(),l.frame>=K){for(n in K=l.frame+(parseInt(L.autoSleep,10)||120),Z){for(t=(e=Z[n].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Z[n]}if((!(n=Y._first)||n._paused)&&L.autoSleep&&!q._first&&1===l._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||l.sleep()}}},l.addEventListener("tick",P._updateRoot);var Q=function(t,e,n){var i,r,o=t._gsTweenID;if(Z[o||(t._gsTweenID=o="t"+$++)]||(Z[o]={target:t,tweens:[]}),e&&((i=Z[o].tweens)[r=i.length]=e,n))for(;--r>-1;)i[r]===e&&i.splice(r,1);return Z[o].tweens},tt=function(t,e,n,i){var r,o,a=t.vars.onOverwrite;return a&&(r=a(t,e,n,i)),(a=L.onOverwrite)&&(o=a(t,e,n,i)),!1!==r&&!1!==o},et=function(t,e,n,i,r){var o,a,s,l;if(1===i||i>=4){for(l=r.length,o=0;o<l;o++)if((s=r[o])!==e)s._gc||s._kill(null,t,e)&&(a=!0);else if(5===i)break;return a}var u,c=e._startTime+d,h=[],p=0,f=0===e._duration;for(o=r.length;--o>-1;)(s=r[o])===e||s._gc||s._paused||(s._timeline!==e._timeline?(u=u||nt(e,0,f),0===nt(s,u,f)&&(h[p++]=s)):s._startTime<=c&&s._startTime+s.totalDuration()/s._timeScale>c&&((f||!s._initted)&&c-s._startTime<=2e-10||(h[p++]=s)));for(o=p;--o>-1;)if(l=(s=h[o])._firstPT,2===i&&s._kill(n,t,e)&&(a=!0),2!==i||!s._firstPT&&s._initted&&l){if(2!==i&&!tt(s,e))continue;s._enabled(!1,!1)&&(a=!0)}return a},nt=function(t,e,n){for(var i=t._timeline,r=i._timeScale,o=t._startTime;i._timeline;){if(o+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return(o/=r)>e?o-e:n&&o===e||!t._initted&&o-e<2e-10?d:(o+=t.totalDuration()/t._timeScale/r)>e+d?0:o-e-d};s._init=function(){var t,e,n,i,r,o,a=this.vars,s=this._overwrittenProps,l=this._duration,u=!!a.immediateRender,c=a.ease;if(a.startAt){for(i in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},a.startAt)r[i]=a.startAt[i];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=u&&!1!==a.lazy,r.startAt=r.delay=null,r.onUpdate=a.onUpdate,r.onUpdateParams=a.onUpdateParams,r.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=L.to(this.target||{},0,r),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(i in 0!==this._time&&(u=!1),n={},a)U[i]&&"autoCSS"!==i||(n[i]=a[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=u&&!1!==a.lazy,n.immediateRender=u,this._startAt=L.to(this.target,0,n),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof S?c:"function"==typeof c?new S(c,a.easeParams):T[c]||L.defaultEase:L.defaultEase,a.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;t<o;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],s?s[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,s,0);if(e&&L._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=a.onUpdate,this._initted=!0}
vendor: 6,172 bytes, line 1
1,s._initProps=function(e,n,i,r,o){var a,s,l,u,c,h;if(null==e)return!1;for(a in F[e._gsTweenID]&&J(),this.vars.css||e.style&&e!==t&&e.nodeType&&H.css&&!1!==this.vars.autoCSS&&function(t,e){var n,i={};for(n in t)U[n]||n in e&&"transform"!==n&&"x"!==n&&"y"!==n&&"width"!==n&&"height"!==n&&"className"!==n&&"border"!==n||!(!H[n]||H[n]&&H[n]._autoCSS)||(i[n]=t[n],delete t[n]);t.css=i}(this.vars,e),this.vars)if(h=this.vars[a],U[a])h&&(h instanceof Array||h.push&&v(h))&&-1!==h.join("").indexOf("{self}")&&(this.vars[a]=h=this._swapSelfInParams(h,this));else if(H[a]&&(u=new H[a])._onInitTween(e,this.vars[a],this,o)){for(this._firstPT=c={_next:this._firstPT,t:u,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:u._priority,m:0},s=u._overwriteProps.length;--s>-1;)n[u._overwriteProps[s]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else n[a]=G.call(this,e,a,"get",h,a,0,null,this.vars.stringFilter,o);return r&&this._kill(r,e)?this._initProps(e,n,i,r,o):this._overwrite>1&&this._firstPT&&i.length>1&&et(e,this,n,this._overwrite,i)?(this._kill(n,e),this._initProps(e,n,i,r,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[e._gsTweenID]=!0),l)},s.render=function(t,e,n){var i,r,o,a,s=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,r="onComplete",n=n||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(u<0||t<=0&&t>=-1e-7||u===d&&"isPause"!==this.data)&&u!==t&&(n=!0,u>d&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t||u===t?t:d);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==s||0===l&&u>0)&&(r="onReverseComplete",i=this._reversed),t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||n)&&(u>=0&&(u!==d||"isPause"!==this.data)&&(n=!0),this._rawPrevTime=a=!e||t||u===t?t:d)),(!this._initted||this._startAt&&this._startAt.progress())&&(n=!0);else if(this._totalTime=this._time=t,this._easeType){var c=t/l,h=this._easeType,p=this._easePower;(1===h||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===p?c*=c:2===p?c*=c*c:3===p?c*=c*c*c:4===p&&(c*=c*c*c*c),this.ratio=1===h?1-c:2===h?c:t/l<.5?c/2:1-c/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==s||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=s,this._rawPrevTime=u,N.push(this),void(this._lazy=[t,e]);this._time&&!i?this.ratio=this._ease.getRatio(this._time/l):i&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==s&&t>=0&&(this._active=!0),0===s&&(this._startAt&&(t>=0?this._startAt.render(t,!0,n):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,n),e||(this._time!==s||i||n)&&this._callback("onUpdate")),r&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&this._rawPrevTime===d&&a!==d&&(this._rawPrevTime=0)))}},s._kill=function(t,e,n){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:L.selector(e)||e;var i,r,o,a,s,l,u,c,h,p=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline,f=this._firstPT;if((v(e)||R(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i],n)&&(l=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){s=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;s=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(s){if(u=t||s,c=t!==r&&"all"!==r&&t!==s&&("object"!=typeof t||!t._tempKill),n&&(L.onOverwrite||this.vars.onOverwrite)){for(o in u)s[o]&&(h||(h=[]),h.push(o));if((h||!t)&&!tt(this,n,e,h))return!1}for(o in u)(a=s[o])&&(p&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(u)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete s[o]),c&&(r[o]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return l},s.invalidate=function(){return this._notifyPluginsOfEnabled&&L._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],P.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},s._enabled=function(t,e){if(u||l.wake(),t&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=Q(i[n],this,!0);else this._siblings=Q(this.target,this,!0)}return P.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&L._onPluginEvent(t?"_onEnable":"_onDisable",this)},L.to=function(t,e,n){return new L(t,e,n)},L.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new L(t,e,n)},L.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new L(t,e,i)},L.delayedCall=function(t,e,n,i,r){return new L(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},L.set=function(t,e){return new L(t,0,e)},L.getTweensOf=function(t,e){if(null==t)return[];var n,i,r,o;
vendor: 4,419 bytes, line 1
1if(t="string"!=typeof t?t:L.selector(t)||t,(v(t)||R(t))&&"number"!=typeof t[0]){for(n=t.length,i=[];--n>-1;)i=i.concat(L.getTweensOf(t[n],e));for(n=i.length;--n>-1;)for(o=i[n],r=n;--r>-1;)o===i[r]&&i.splice(n,1)}else if(t._gsTweenID)for(n=(i=Q(t).concat()).length;--n>-1;)(i[n]._gc||e&&!i[n].isActive())&&i.splice(n,1);return i||[]},L.killTweensOf=L.killDelayedCallsTo=function(t,e,n){"object"==typeof e&&(n=e,e=!1);for(var i=L.getTweensOf(t,e),r=i.length;--r>-1;)i[r]._kill(n,t)};var it=b("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype}),!0);if(s=it.prototype,it.version="1.19.0",it.API=2,s._firstPT=null,s._addTween=G,s.setRatio=V,s._kill=function(t){var e,n=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=n.length;--e>-1;)null!=t[n[e]]&&n.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},s._mod=s._roundProps=function(t){for(var e,n=this._firstPT;n;)(e=t[this._propName]||null!=n.n&&t[n.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===n.f?n.t._applyPT.m=e:n.m=e),n=n._next},L._onPluginEvent=function(t,e){var n,i,r,o,a,s=e._firstPT;if("_onInitAllProps"===t){for(;s;){for(a=s._next,i=r;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:o)?s._prev._next=s:r=s,(s._next=i)?i._prev=s:o=s,s=a}s=e._firstPT=r}for(;s;)s.pg&&"function"==typeof s.t[t]&&s.t[t]()&&(n=!0),s=s._next;return n},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(H[(new t[e])._propName]=t[e]);return!0},x.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,n=t.propName,i=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=b("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",(function(){it.call(this,n,i),this._overwriteProps=r||[]}),!0===t.global),s=a.prototype=new it(n);for(e in s.constructor=a,a.API=t.API,o)"function"==typeof t[e]&&(s[o[e]]=t[e]);return a.version=t.version,it.activate([a]),a},o=t._gsQueue){for(a=0;a<o.length;a++)o[a]();for(s in y)y[s].func||t.console.log("GSAP encountered missing dependency: "+s)}return u=!1,L}(i),o=i.GreenSockGlobals,a=o.com.greensock,s=a.core.SimpleTimeline,l=a.core.Animation,u=o.Ease,c=o.Linear,h=c,p=o.Power1,f=o.Power2,d=o.Power3,g=o.Power4,m=o.TweenPlugin;a.events.EventDispatcher},1100:function(t,e,n){"use strict";n.d(e,{Q3:function(){return m}});var i=n(5957);i.ML._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},e=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n]):r[n%r.length];delete t.cycle},n=function(t,e,r){i.ZP.call(this,t,e,r),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=n.prototype.render},r=1e-10,o=i.ZP._internals,a=o.isSelector,s=o.isArray,l=n.prototype=i.ZP.to({},.1,{}),u=[];n.version="2.0.2",l.constructor=n,l.kill()._gc=!1,n.killTweensOf=n.killDelayedCallsTo=i.ZP.killTweensOf,n.getTweensOf=i.ZP.getTweensOf,n.lagSmoothing=i.ZP.lagSmoothing,n.ticker=i.ZP.ticker,n.render=i.ZP.render,l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.ZP.prototype.invalidate.call(this)},l.updateTo=function(t,e){var n,r=this.ratio,o=this.vars.immediateRender||t.immediateRender;for(n in e&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),t)this.vars[n]=t[n];if(this._initted||o)if(e)this._initted=!1,o&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&i.ZP._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var a=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||o)for(var s,l=1/(1-r),u=this._firstPT;u;
1)s=u.s+u.c,u.c*=l,u.s=s-u.c,u=u._next;return this},l.render=function(t,e,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var a,s,l,u,c,h,p,f,d,g=this._dirty?this.totalDuration():this._totalDuration,m=this._time,v=this._totalTime,y=this._cycle,_=this._duration,x=this._rawPrevTime;if(t>=g-1e-7&&t>=0?(this._totalTime=g,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=_,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(a=!0,s="onComplete",n=n||this._timeline.autoRemoveChildren),0===_&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(x<0||t<=0&&t>=-1e-7||x===r&&"isPause"!==this.data)&&x!==t&&(n=!0,x>r&&(s="onReverseComplete")),this._rawPrevTime=f=!e||t||x===t?t:r)):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==v||0===_&&x>0)&&(s="onReverseComplete",a=this._reversed),t<0&&(this._active=!1,0===_&&(this._initted||!this.vars.lazy||n)&&(x>=0&&(n=!0),this._rawPrevTime=f=!e||t||x===t?t:r)),this._initted||(n=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(u=_+this._repeatDelay,this._cycle=this._totalTime/u>>0,0!==this._cycle&&this._cycle===this._totalTime/u&&v<=t&&this._cycle--,this._time=this._totalTime-this._cycle*u,this._yoyo&&0!=(1&this._cycle)&&(this._time=_-this._time,(d=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==d||this._initted?this._yoyoEase=d=!0===d?this._ease:d instanceof i.SX?d:i.SX.map[d]:(d=this.vars.ease,this._yoyoEase=d=d?d instanceof i.SX?d:"function"==typeof d?new i.SX(d,this.vars.easeParams):i.SX.map[d]||i.ZP.defaultEase:i.ZP.defaultEase)),this.ratio=d?1-d.getRatio((_-this._time)/_):0)),this._time>_?this._time=_:this._time<0&&(this._time=0)),this._easeType&&!d?(c=this._time/_,(1===(h=this._easeType)||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===(p=this._easePower)?c*=c:2===p?c*=c*c:3===p?c*=c*c*c:4===p&&(c*=c*c*c*c),1===h?this.ratio=1-c:2===h?this.ratio=c:this._time/_<.5?this.ratio=c/2:this.ratio=1-c/2):d||(this.ratio=this._ease.getRatio(this._time/_))),m!==this._time||n||y!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=m,this._totalTime=v,this._rawPrevTime=x,this._cycle=y,o.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||a||d?a&&this._ease._calcEnd&&!d&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/_)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==m&&t>=0&&(this._active=!0),0===v&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,n):s||(s="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==_||e||this._callback("onStart"))),l=this._firstPT;l;)l.f?l.t[l.p](l.c*this.ratio+l.s):l.t[l.p]=l.c*this.ratio+l.s,l=l._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,n),e||(this._totalTime!==v||s)&&this._callback("onUpdate")),this._cycle!==y&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),s&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,n),a&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===_&&this._rawPrevTime===r&&f!==r&&(this._rawPrevTime=0)))}else v!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},n.to=function(t,e,i){return new n(t,e,i)},n.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new n(t,e,i)},n.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new n(t,e,r)},n.staggerTo=n.allTo=function(r,o,l,c,h,p,f){c=c||0;var d,g,m,v,y=0,_=[],x=function(){l.onComplete&&l.onComplete.apply(l.onCompleteScope||this,arguments),h.apply(f||l.callbackScope||this,p||u)},b=l.cycle,w=l.startAt&&l.startAt.cycle;for(s(r)||("string"==typeof r&&(r=i.ZP.selector(r)||r),a(r)&&(r=t(r))),r=r||[],c<0&&((r=t(r)).reverse(),c*=-1),d=r.length-1,m=0;m<=d;m++){for(v in g={},l)g[v]=l[v];
1if(b&&(e(g,r,m),null!=g.duration&&(o=g.duration,delete g.duration)),w){for(v in w=g.startAt={},l.startAt)w[v]=l.startAt[v];e(g.startAt,r,m)}g.delay=y+(g.delay||0),m===d&&h&&(g.onComplete=x),_[m]=new n(r[m],o,g),y+=c}return _},n.staggerFrom=n.allFrom=function(t,e,i,r,o,a,s){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,n.staggerTo(t,e,i,r,o,a,s)},n.staggerFromTo=n.allFromTo=function(t,e,i,r,o,a,s,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,n.staggerTo(t,e,r,o,a,s,l)},n.delayedCall=function(t,e,i,r,o){return new n(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:o,overwrite:0})},n.set=function(t,e){return new n(t,0,e)},n.isTweening=function(t){return i.ZP.getTweensOf(t,!0).length>0};var c=function(t,e){for(var n=[],r=0,o=t._first;o;)o instanceof i.ZP?n[r++]=o:(e&&(n[r++]=o),r=(n=n.concat(c(o,e))).length),o=o._next;return n},h=n.getAllTweens=function(t){return c(i.fw._rootTimeline,t).concat(c(i.fw._rootFramesTimeline,t))};n.killAll=function(t,e,n,r){null==e&&(e=!0),null==n&&(n=!0);var o,a,s,l=h(0!=r),u=l.length,c=e&&n&&r;for(s=0;s<u;s++)a=l[s],(c||a instanceof i.MQ||(o=a.target===a.vars.onComplete)&&n||e&&!o)&&(t?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},n.killChildTweensOf=function(e,r){if(null!=e){var l,u,c,h,p,f=o.tweenLookup;if("string"==typeof e&&(e=i.ZP.selector(e)||e),a(e)&&(e=t(e)),s(e))for(h=e.length;--h>-1;)n.killChildTweensOf(e[h],r);else{for(c in l=[],f)for(u=f[c].target.parentNode;u;)u===e&&(l=l.concat(f[c].tweens)),u=u.parentNode;for(p=l.length,h=0;h<p;h++)r&&l[h].totalTime(l[h].totalDuration()),l[h]._enabled(!1,!1)}}};var p=function(t,e,n,r){e=!1!==e,n=!1!==n;for(var o,a,s=h(r=!1!==r),l=e&&n&&r,u=s.length;--u>-1;)a=s[u],(l||a instanceof i.MQ||(o=a.target===a.vars.onComplete)&&n||e&&!o)&&a.paused(t)};return n.pauseAll=function(t,e,n){p(!0,t,e,n)},n.resumeAll=function(t,e,n){p(!1,t,e,n)},n.globalTimeScale=function(t){var e=i.fw._rootTimeline,n=i.ZP.ticker.time;return arguments.length?(t=t||r,e._startTime=n-(n-e._startTime)*e._timeScale/t,e=i.fw._rootFramesTimeline,n=i.ZP.ticker.frame,e._startTime=n-(n-e._startTime)*e._timeScale/t,e._timeScale=i.fw._rootTimeline._timeScale=t,t):e._timeScale},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},l.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},l.duration=function(t){return arguments.length?i.fw.prototype.duration.call(this,t):this._duration},l.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},n}),!0);var r=i.li.TweenMax,o=n(9975),a=n(5947),s=i.ML._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,n){return this._tween=n,!0}}),l=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){return(Math.round(n/t)*t*e|0)/e}},u=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},c=s.prototype;c._onInitAllProps=function(){var t,e,n,i,r=this._tween,o=r.vars.roundProps,a={},s=r._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),n=o.length;--n>-1;)a[o[n]]=Math.round;else for(i in o)a[i]=l(o[i]);for(i in a)for(t=r._firstPT;t;)e=t._next,t.pg?t.t._mod(a):t.n===i&&(2===t.f&&t.t?u(t.t._firstPT,a[i]):(this._add(t.t,i,t.s,t.c,a[i]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:r._firstPT===t&&(r._firstPT=e),t._next=t._prev=null,r._propLookup[i]=s)),t=e;return!1},c._add=function(t,e,n,i,r){this._addTween(t,e,n,n+i,e,r||Math.round),this._overwriteProps.push(e)};var h=i.ML._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,n,i){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,o,a,s,l,u,c=!0===e.useRadians?2*Math.PI:360,h=1e-6;for(r in e)"useRadians"!==r&&("function"==typeof(s=e[r])&&(s=s(i,t)),o=(u=(s+"").split("_"))[0],a=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(s=this.finals[r]="string"==typeof o&&"="===o.charAt(1)?a+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0)-a,u.length&&(-1!==(o=u.join("_")).indexOf("short")&&(l%=c)!==l%(c/2)&&(l=l<0?l+c:l-c),-1!==o.indexOf("_cw")&&l<0?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==o.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>h||l<-h)&&(this._addTween(t,r,a,a+l,r),this._overwriteProps.push(r)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}});h._autoCSS=!0;var p=n(4743),f=n(3794),d=n(5033),g=n(3441),m=r;m._autoActivated=[p.Z,f.ZP,o.Z,a.C,d.Z,s,h,g.eJ,g.tQ,g.sm,g.l6,g.Dd,g.NB,g.zO,g.Au,g.Yv,g.$p]},8234:function(t,e,n){"undefined"!=typeof navigator&&(t.exports=function(){"use strict";var t="http://www.w3.org/2000/svg",i="",r=!1,o=-999999,a=function(t){r=!!t},s=function(){return r},l=function(t){i=t},u=function(){return i};function c(t){return document.createElement(t)}function h(t,e){var n,i,r=t.length;for(n=0;n<r;n+=1)for(var o in i=t[n].prototype)Object.prototype.hasOwnProperty.call(i,o)&&(e.prototype[o]=i[o])}function p(t){function e(){}return e.prototype=t,e}var f=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,n=this.audios.length;for(e=0;e<n;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),d=function(){function t(t,e){var n,i=0,r=[];switch(t){case"int16":case"uint8c":n=1;break;default:n=1.1}for(i=0;i<e;i+=1)r.push(n);return r}function e(e,n){return"float32"===e?new Float32Array(n):"int16"===e?new Int16Array(n):"uint8c"===e?new Uint8ClampedArray(n):t(e,n)}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?e:t}();function g(t){return Array.apply(null,{length:t})}function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}
vendor: 4,089 bytes, line 1
1var v=!0,y=null,_=null,x="",b=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),w=Math.pow,S=Math.sqrt,T=Math.floor,M=(Math.max,Math.min),C={};(function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],n=e.length;for(t=0;t<n;t+=1)C[e[t]]=Math[e[t]]})(),C.random=Math.random,C.abs=function(t){if("object"===m(t)&&t.length){var e,n=g(t.length),i=t.length;for(e=0;e<i;e+=1)n[e]=Math.abs(t[e]);return n}return Math.abs(t)};var A=150,I=Math.PI/180,k=.5519;function D(t){}function P(t,e,n,i){this.type=t,this.currentTime=e,this.totalTime=n,this.direction=i<0?-1:1}function O(t,e){this.type=t,this.direction=e<0?-1:1}function E(t,e,n,i){this.type=t,this.currentLoop=n,this.totalLoops=e,this.direction=i<0?-1:1}function L(t,e,n){this.type=t,this.firstFrame=e,this.totalFrames=n}function R(t,e){this.type=t,this.target=e}function N(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function F(t){this.type="configError",this.nativeError=t}var B,z=(B=0,function(){return x+"__lottie_element_"+(B+=1)});function V(t,e,n){var i,r,o,a,s,l,u,c;switch(l=n*(1-e),u=n*(1-(s=6*t-(a=Math.floor(6*t)))*e),c=n*(1-(1-s)*e),a%6){case 0:i=n,r=c,o=l;break;case 1:i=u,r=n,o=l;break;case 2:i=l,r=n,o=c;break;case 3:i=l,r=u,o=n;break;case 4:i=c,r=l,o=n;break;case 5:i=n,r=l,o=u}return[i,r,o]}function j(t,e,n){var i,r=Math.max(t,e,n),o=Math.min(t,e,n),a=r-o,s=0===r?0:a/r,l=r/255;switch(r){case o:i=0;break;case t:i=e-n+a*(e<n?6:0),i/=6*a;break;case e:i=n-t+2*a,i/=6*a;break;case n:i=t-e+4*a,i/=6*a}return[i,s,l]}function G(t,e){var n=j(255*t[0],255*t[1],255*t[2]);return n[1]+=e,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),V(n[0],n[1],n[2])}function W(t,e){var n=j(255*t[0],255*t[1],255*t[2]);return n[2]+=e,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),V(n[0],n[1],n[2])}function H(t,e){var n=j(255*t[0],255*t[1],255*t[2]);return n[0]+=e/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),V(n[0],n[1],n[2])}!function(){var t,e,n=[];for(t=0;t<256;t+=1)e=t.toString(16),n[t]=1===e.length?"0"+e:e}();var Z=function(t){v=!!t},$=function(){return v},U=function(t){y=t},X=function(){return y},q=function(){return _},Y=function(t){A=t},K=function(){return A},J=function(t){x=t};function Q(e){return document.createElementNS(t,e)}function tt(t){return tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(t)}var et=function(){var t,e,n=1,i=[],r={onmessage:function(){},postMessage:function(e){t({data:e})}},o={postMessage:function(t){r.onmessage({data:t})}};function a(e){if(window.Worker&&window.Blob&&s()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),i=URL.createObjectURL(n);return new Worker(i)}return t=e,r}function l(){e||(e=a((function(t){function e(){function t(e,n){var a,s,l,u,c,h,p=e.length;for(s=0;s<p;s+=1)if("ks"in(a=e[s])&&!a.completed){if(a.completed=!0,a.hasMask){var f=a.masksProperties;for(u=f.length,l=0;l<u;l+=1)if(f[l].pt.k.i)o(f[l].pt.k);else for(h=f[l].pt.k.length,c=0;c<h;c+=1)f[l].pt.k[c].s&&o(f[l].pt.k[c].s[0]),f[l].pt.k[c].e&&o(f[l].pt.k[c].e[0])}0===a.ty?(a.layers=i(a.refId,n),t(a.layers,n)):4===a.ty?r(a.shapes):5===a.ty&&d(a)}}function e(e,n){if(e){var r=0,o=e.length;for(r=0;r<o;r+=1)1===e[r].t&&(e[r].data.layers=i(e[r].data.refId,n),t(e[r].data.layers,n))}}function n(t,e){for(var n=0,i=e.length;n<i;){if(e[n].id===t)return e[n];n+=1}return null}function i(t,e){var i=n(t,e);return i?i.layers.__used?JSON.parse(JSON.stringify(i.layers)):(i.layers.__used=!0,i.layers):null}function r(t){var e,n,i;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)o(t[e].ks.k);else for(i=t[e].ks.k.length,n=0;n<i;n+=1)t[e].ks.k[n].s&&o(t[e].ks.k[n].s[0]),t[e].ks.k[n].e&&o(t[e].ks.k[n].e[0]);else"gr"===t[e].ty&&r(t[e].it)}
vendor: 9,452 bytes, line 1
1function o(t){var e,n=t.i.length;for(e=0;e<n;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function a(t,e){var n=e?e.split("."):[100,100,100];return t[0]>n[0]||!(n[0]>t[0])&&(t[1]>n[1]||!(n[1]>t[1])&&(t[2]>n[2]||!(n[2]>t[2])&&null))}var s,l=function(){var t=[4,4,14];function e(t){var e=t.t.d;t.t.d={k:[{s:e,t:0}]}}function n(t){var n,i=t.length;for(n=0;n<i;n+=1)5===t[n].ty&&e(t[n])}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}(),u=(s=[4,7,99],function(t){if(t.chars&&!a(s,t.v)){var e,n=t.chars.length;for(e=0;e<n;e+=1){var i=t.chars[e];i.data&&i.data.shapes&&(r(i.data.shapes),i.data.ip=0,i.data.op=99999,i.data.st=0,i.data.sr=1,i.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},t.chars[e].t||(i.data.shapes.push({ty:"no"}),i.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),c=function(){var t=[5,7,15];function e(t){var e=t.t.p;"number"==typeof e.a&&(e.a={a:0,k:e.a}),"number"==typeof e.p&&(e.p={a:0,k:e.p}),"number"==typeof e.r&&(e.r={a:0,k:e.r})}function n(t){var n,i=t.length;for(n=0;n<i;n+=1)5===t[n].ty&&e(t[n])}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}(),h=function(){var t=[4,1,9];function e(t){var n,i,r,o=t.length;for(n=0;n<o;n+=1)if("gr"===t[n].ty)e(t[n].it);else if("fl"===t[n].ty||"st"===t[n].ty)if(t[n].c.k&&t[n].c.k[0].i)for(r=t[n].c.k.length,i=0;i<r;i+=1)t[n].c.k[i].s&&(t[n].c.k[i].s[0]/=255,t[n].c.k[i].s[1]/=255,t[n].c.k[i].s[2]/=255,t[n].c.k[i].s[3]/=255),t[n].c.k[i].e&&(t[n].c.k[i].e[0]/=255,t[n].c.k[i].e[1]/=255,t[n].c.k[i].e[2]/=255,t[n].c.k[i].e[3]/=255);else t[n].c.k[0]/=255,t[n].c.k[1]/=255,t[n].c.k[2]/=255,t[n].c.k[3]/=255}function n(t){var n,i=t.length;for(n=0;n<i;n+=1)4===t[n].ty&&e(t[n].shapes)}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}(),p=function(){var t=[4,4,18];function e(t){var n,i,r;for(n=t.length-1;n>=0;n-=1)if("sh"===t[n].ty)if(t[n].ks.k.i)t[n].ks.k.c=t[n].closed;else for(r=t[n].ks.k.length,i=0;i<r;i+=1)t[n].ks.k[i].s&&(t[n].ks.k[i].s[0].c=t[n].closed),t[n].ks.k[i].e&&(t[n].ks.k[i].e[0].c=t[n].closed);else"gr"===t[n].ty&&e(t[n].it)}function n(t){var n,i,r,o,a,s,l=t.length;for(i=0;i<l;i+=1){if((n=t[i]).hasMask){var u=n.masksProperties;for(o=u.length,r=0;r<o;r+=1)if(u[r].pt.k.i)u[r].pt.k.c=u[r].cl;else for(s=u[r].pt.k.length,a=0;a<s;a+=1)u[r].pt.k[a].s&&(u[r].pt.k[a].s[0].c=u[r].cl),u[r].pt.k[a].e&&(u[r].pt.k[a].e[0].c=u[r].cl)}4===n.ty&&e(n.shapes)}}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}();function f(n){n.__complete||(h(n),l(n),u(n),c(n),p(n),t(n.layers,n.assets),e(n.chars,n.assets),n.__complete=!0)}function d(t){0===t.t.a.length&&t.t.p}var g={};return g.completeData=f,g.checkColors=h,g.checkChars=u,g.checkPathProperties=c,g.checkShapes=p,g.completeLayers=t,g}if(o.dataManager||(o.dataManager=e()),o.assetLoader||(o.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===tt(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}function e(e,n,i,r){var o,a=new XMLHttpRequest;try{a.responseType="json"}catch(t){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)o=t(a),i(o);else try{o=t(a),i(o)}catch(t){r&&r(t)}};try{a.open(["G","E","T"].join(""),e,!0)}catch(t){a.open(["G","E","T"].join(""),n+"/"+e,!0)}a.send()}return{load:e}}()),"loadAnimation"===t.data.type)o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.dataManager.completeData(e),o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var n=t.data.animation;o.dataManager.completeData(n),o.postMessage({id:t.data.id,payload:n,status:"success"})}else"loadData"===t.data.type&&o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,n=e.id,r=i[n];i[n]=null,"success"===e.status?r.onComplete(e.payload):r.onError&&r.onError()})}function u(t,e){var r="processId_"+(n+=1);return i[r]={onComplete:t,onError:e},r}function c(t,n,i){l();var r=u(n,i);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:r})}function h(t,n,i){l();var r=u(n,i);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:r})}function p(t,n,i){l();var r=u(n,i);e.postMessage({type:"complete",animation:t,id:r})}return{loadAnimation:c,loadData:h,completeAnimation:p}}(),nt=function(){var t=function(){var t=c("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(t,e,n){var i="";if(t.e)i=t.p;else if(e){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),i=e+r}else i=n,i+=t.u?t.u:"",i+=t.p;return i}function r(t){var e=0,n=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(n)),e+=1}.bind(this),50)}function o(e){var n=i(e,this.assetsPath,this.path),r=Q("image");b?this.testImageLoaded(r):r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),r.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this._elementHelper.append?this._elementHelper.append(r):this._elementHelper.appendChild(r);var o={img:r,assetData:e};return o}function a(e){var n=i(e,this.assetsPath,this.path),r=c("img");r.crossOrigin="anonymous",r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),r.src=n;var o={img:r,assetData:e};return o}function s(t){var e={assetData:t},n=i(t,this.assetsPath,this.path);return et.loadData(n,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function l(t,e){var n;this.imagesLoadedCb=e;var i=t.length;for(n=0;n<i;n+=1)t[n].layers||(t[n].t&&"seq"!==t[n].t?3===t[n].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[n]))):(this.totalImages+=1,this.images.push(this._createImageData(t[n]))))}function u(t){this.path=t||""}function h(t){this.assetsPath=t||""}function p(t){for(var e=0,n=this.images.length;e<n;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null}function f(){this.imagesLoadedCb=null,this.images.length=0}function d(){return this.totalImages===this.loadedAssets}function g(){return this.totalFootages===this.loadedFootagesCount}function m(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function v(){this._imageLoaded=e.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=r.bind(this),this.createFootageData=s.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return v.prototype={loadAssets:l,setAssetsPath:h,setPath:u,loadedImages:d,loadedFootages:g,destroy:f,getAsset:p,createImgData:a,createImageData:o,imageLoaded:e,footageLoaded:n,setCacheType:m},v}();function it(){}it.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var n=this._cbs[t],i=0;i<n.length;i+=1)n[i](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var n=0,i=this._cbs[t].length;n<i;)this._cbs[t][n]===e&&(this._cbs[t].splice(n,1),n-=1,i-=1),n+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var rt=function(){function t(t){for(var e,n=t.split("\r\n"),i={},r=0,o=0;o<n.length;o+=1)2===(e=n[o].split(":")).length&&(i[e[0]]=e[1].trim(),r+=1);if(0===r)throw new Error;return i}return function(e){for(var n=[],i=0;i<e.length;i+=1){var r=e[i],o={time:r.tm,duration:r.dr};try{o.payload=JSON.parse(e[i].cm)}catch(n){try{o.payload=t(e[i].cm)}catch(t){o.payload={name:e[i].cm}}}n.push(o)}return n}}(),ot=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,n=this.compositions.length;e<n;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),at={},st=function(t,e){at[t]=e};function lt(t){return at[t]}
vendor: 12,955 bytes, line 1
1function ut(){if(at.canvas)return"canvas";for(var t in at)if(at[t])return t;return""}function ct(t){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(t)}var ht=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=z(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=$(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ot(),this.imagePreloader=new nt,this.audioController=f(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new P("drawnFrame",0,0,0)};h([it],ht),ht.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var n=lt(e);this.renderer=new n(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),et.loadAnimation(t.path,this.configAnimation,this.onSetupError))},ht.prototype.onSetupError=function(){this.trigger("data_failed")},ht.prototype.setupAnimation=function(t){et.completeAnimation(t,this.configAnimation)},ht.prototype.setData=function(t,e){e&&"object"!==ct(e)&&(e=JSON.parse(e));var n={wrapper:t,animationData:e},i=t.attributes;n.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",n.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:ut()||"canvas";var r=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";"false"===r?n.loop=!1:"true"===r?n.loop=!0:""!==r&&(n.loop=parseInt(r,10));var o=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value;n.autoplay="false"!==o,n.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"","false"===(i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),n.path?this.setParams(n):this.trigger("destroy")},ht.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,n,i=this.animationData.layers,r=i.length,o=t.layers,a=o.length;for(n=0;n<a;n+=1)for(e=0;e<r;){if(i[e].id===o[n].id){i[e]=o[n];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(r=t.assets.length,e=0;e<r;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,et.completeAnimation(this.animationData,this.onSegmentComplete)},ht.prototype.onSegmentComplete=function(t){this.animationData=t;var e=X();e&&e.initExpressions(this),this.loadNextSegment()},ht.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,et.loadData(n,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},ht.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},ht.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},ht.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},ht.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=rt(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},ht.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},ht.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=X();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},ht.prototype.resize=function(t,e){var n="number"==typeof t?t:void 0,i="number"==typeof e?e:void 0;this.renderer.updateContainerSize(n,i)},ht.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},ht.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},ht.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},ht.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},ht.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},ht.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},ht.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},ht.prototype.getMarkerData=function(t){for(var e,n=0;n<this.markers.length;n+=1)if((e=this.markers[n]).payload&&e.payload.name===t)return e;return null},ht.prototype.goToAndStop=function(t,e,n){if(!n||this.name===n){var i=Number(t);if(isNaN(i)){var r=this.getMarkerData(t);r&&this.goToAndStop(r.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},ht.prototype.goToAndPlay=function(t,e,n){if(!n||this.name===n){var i=Number(t);if(isNaN(i)){var r=this.getMarkerData(t);r&&(r.duration?this.playSegments([r.time,r.time+r.duration],!0):this.goToAndStop(r.time,!0))}else this.goToAndStop(i,e,n);this.play()}},ht.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,n=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(n=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),n&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},ht.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},ht.prototype.setSegment=function(t,e){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?n=t:this.currentRawFrame+this.firstFrame>e&&(n=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},ht.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===ct(t[0])){var n,i=t.length;for(n=0;n<i;n+=1)this.segments.push(t[n])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},ht.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},ht.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},ht.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},ht.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},ht.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},ht.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},ht.prototype.setLoop=function(t){this.loop=t},ht.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},ht.prototype.getVolume=function(){return this.audioController.getVolume()},ht.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},ht.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},ht.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},ht.prototype.getPath=function(){return this.path},ht.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var n=t.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),e=this.assetsPath+n}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},ht.prototype.getAssetData=function(t){for(var e=0,n=this.assets.length;e<n;
vendor: 6,667 bytes, line 1
1){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},ht.prototype.hide=function(){this.renderer.hide()},ht.prototype.show=function(){this.renderer.show()},ht.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},ht.prototype.updateDocumentData=function(t,e,n){try{this.renderer.getElementByPath(t).updateDocumentData(e,n)}catch(t){}},ht.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new P(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new E(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new O(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new L(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new R(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new P(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new E(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new O(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new L(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new R(t,this))},ht.prototype.triggerRenderFrameError=function(t){var e=new N(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},ht.prototype.triggerConfigError=function(t){var e=new F(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var pt=function(){var t={},e=[],n=0,i=0,r=0,o=!0,a=!1;function s(t){for(var n=0,r=t.target;n<i;)e[n].animation===r&&(e.splice(n,1),n-=1,i-=1,r.isPaused||p()),n+=1}function l(t,n){if(!t)return null;for(var r=0;r<i;){if(e[r].elem===t&&null!==e[r].elem)return e[r].animation;r+=1}var o=new ht;return f(o,t),o.setData(t,n),o}function u(){var t,n=e.length,i=[];for(t=0;t<n;t+=1)i.push(e[t].animation);return i}function h(){r+=1,A()}function p(){r-=1}function f(t,n){t.addEventListener("destroy",s),t.addEventListener("_active",h),t.addEventListener("_idle",p),e.push({elem:n,animation:t}),i+=1}function d(t){var e=new ht;return f(e,null),e.setParams(t),e}function g(t,n){var r;for(r=0;r<i;r+=1)e[r].animation.setSpeed(t,n)}function m(t,n){var r;for(r=0;r<i;r+=1)e[r].animation.setDirection(t,n)}function v(t){var n;for(n=0;n<i;n+=1)e[n].animation.play(t)}function y(t){var s,l=t-n;for(s=0;s<i;s+=1)e[s].animation.advanceTime(l);n=t,r&&!a?window.requestAnimationFrame(y):o=!0}function _(t){n=t,window.requestAnimationFrame(y)}function x(t){var n;for(n=0;n<i;n+=1)e[n].animation.pause(t)}function b(t,n,r){var o;for(o=0;o<i;o+=1)e[o].animation.goToAndStop(t,n,r)}function w(t){var n;for(n=0;n<i;n+=1)e[n].animation.stop(t)}function S(t){var n;for(n=0;n<i;n+=1)e[n].animation.togglePause(t)}function T(t){var n;for(n=i-1;n>=0;n-=1)e[n].animation.destroy(t)}function M(t,e,n){var i,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=r.length;for(i=0;i<o;i+=1)n&&r[i].setAttribute("data-bm-type",n),l(r[i],t);if(e&&0===o){n||(n="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var s=c("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",n),a.appendChild(s),l(s,t)}}function C(){var t;for(t=0;t<i;t+=1)e[t].animation.resize()}function A(){!a&&r&&o&&(window.requestAnimationFrame(_),o=!1)}function I(){a=!0}function k(){a=!1,A()}function D(t,n){var r;for(r=0;r<i;r+=1)e[r].animation.setVolume(t,n)}function P(t){var n;for(n=0;n<i;n+=1)e[n].animation.mute(t)}function O(t){var n;for(n=0;n<i;n+=1)e[n].animation.unmute(t)}return t.registerAnimation=l,t.loadAnimation=d,t.setSpeed=g,t.setDirection=m,t.play=v,t.pause=x,t.stop=w,t.togglePause=S,t.searchAnimations=M,t.resize=C,t.goToAndStop=b,t.destroy=T,t.freeze=I,t.unfreeze=k,t.setVolume=D,t.mute=P,t.unmute=O,t.getRegisteredAnimations=u,t}(),ft=function(){var t={};t.getBezierEasing=n;var e={};function n(t,n,i,r,o){var a=o||("bez_"+t+"_"+n+"_"+i+"_"+r).replace(/\./g,"p");if(e[a])return e[a];var s=new v([t,n,i,r]);return e[a]=s,s}var i=4,r=.001,o=1e-7,a=10,s=11,l=1/(s-1),u="function"==typeof Float32Array;function c(t,e){return 1-3*e+3*t}function h(t,e){return 3*e-6*t}function p(t){return 3*t}function f(t,e,n){return((c(e,n)*t+h(e,n))*t+p(e))*t}function d(t,e,n){return 3*c(e,n)*t*t+2*h(e,n)*t+p(e)}function g(t,e,n,i,r){var s,l,u=0;do{(s=f(l=e+(n-e)/2,i,r)-t)>0?n=l:e=l}while(Math.abs(s)>o&&++u<a);return l}function m(t,e,n,r){for(var o=0;o<i;++o){var a=d(e,n,r);if(0===a)return e;e-=(f(e,n,r)-t)/a}return e}function v(t){this._p=t,this._mSampleValues=u?new Float32Array(s):new Array(s),this._precomputed=!1,this.get=this.get.bind(this)}return v.prototype={get:function(t){var e=this._p[0],n=this._p[1],i=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),e===n&&i===r?t:0===t?0:1===t?1:f(this._getTForX(t),n,r)},_precompute:function(){var t=this._p[0],e=this._p[1],n=this._p[2],i=this._p[3];this._precomputed=!0,t===e&&n===i||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],n=0;n<s;++n)this._mSampleValues[n]=f(n*l,t,e)},_getTForX:function(t){for(var e=this._p[0],n=this._p[2],i=this._mSampleValues,o=0,a=1,u=s-1;a!==u&&i[a]<=t;++a)o+=l;var c=o+(t-i[--a])/(i[a+1]-i[a])*l,h=d(c,e,n);return h>=r?m(t,c,e,n):0===h?c:g(t,o,o+l,e,n)}},t}(),dt=function(){function t(t){return t.concat(g(t.length))}return{double:t}}(),gt=function(t,e,n){var i=0,r=t,o=g(r);function a(){return i?o[i-=1]:e()}function s(t){i===r&&(o=dt.double(o),r*=2),n&&n(t),o[i]=t,i+=1}return{newElement:a,release:s}},mt=function(){function t(){return{addedLength:0,percents:d("float32",K()),lengths:d("float32",K())}}return gt(8,t)}(),vt=function(){function t(){return{lengths:[],totalLength:0}}function e(t){var e,n=t.lengths.length;for(e=0;e<n;e+=1)mt.release(t.lengths[e]);t.lengths.length=0}return gt(8,t,e)}();function yt(){var t=Math;function e(t,e,n,i,r,o){var a=t*i+e*r+n*o-r*i-o*t-n*e;return a>-.001&&a<.001}function n(n,i,r,o,a,s,l,u,c){if(0===r&&0===s&&0===c)return e(n,i,o,a,l,u);var h,p=t.sqrt(t.pow(o-n,2)+t.pow(a-i,2)+t.pow(s-r,2)),f=t.sqrt(t.pow(l-n,2)+t.pow(u-i,2)+t.pow(c-r,2)),d=t.sqrt(t.pow(l-o,2)+t.pow(u-a,2)+t.pow(c-s,2));
vendor: 10,180 bytes, line 1
1return(h=p>f?p>d?p-f-d:d-f-p:d>f?d-f-p:f-p-d)>-1e-4&&h<1e-4}var i=function(t,e,n,i){var r,o,a,s,l,u,c=K(),h=0,p=[],f=[],d=mt.newElement();for(a=n.length,r=0;r<c;r+=1){for(l=r/(c-1),u=0,o=0;o<a;o+=1)s=w(1-l,3)*t[o]+3*w(1-l,2)*l*n[o]+3*(1-l)*w(l,2)*i[o]+w(l,3)*e[o],p[o]=s,null!==f[o]&&(u+=w(p[o]-f[o],2)),f[o]=p[o];u&&(h+=u=S(u)),d.percents[r]=l,d.lengths[r]=h}return d.addedLength=h,d};function r(t){var e,n=vt.newElement(),r=t.c,o=t.v,a=t.o,s=t.i,l=t._length,u=n.lengths,c=0;for(e=0;e<l-1;e+=1)u[e]=i(o[e],o[e+1],a[e],s[e+1]),c+=u[e].addedLength;return r&&l&&(u[e]=i(o[e],o[0],a[e],s[0]),c+=u[e].addedLength),n.totalLength=c,n}function o(t){this.segmentLength=0,this.points=new Array(t)}function a(t,e){this.partialLength=t,this.point=e}var s,l=(s={},function(t,n,i,r){var l=(t[0]+"_"+t[1]+"_"+n[0]+"_"+n[1]+"_"+i[0]+"_"+i[1]+"_"+r[0]+"_"+r[1]).replace(/\./g,"p");if(!s[l]){var u,c,h,p,f,d,m,v=K(),y=0,_=null;2===t.length&&(t[0]!==n[0]||t[1]!==n[1])&&e(t[0],t[1],n[0],n[1],t[0]+i[0],t[1]+i[1])&&e(t[0],t[1],n[0],n[1],n[0]+r[0],n[1]+r[1])&&(v=2);var x=new o(v);for(h=i.length,u=0;u<v;u+=1){for(m=g(h),f=u/(v-1),d=0,c=0;c<h;c+=1)p=w(1-f,3)*t[c]+3*w(1-f,2)*f*(t[c]+i[c])+3*(1-f)*w(f,2)*(n[c]+r[c])+w(f,3)*n[c],m[c]=p,null!==_&&(d+=w(m[c]-_[c],2));y+=d=S(d),x.points[u]=new a(d,m),_=m}x.segmentLength=y,s[l]=x}return s[l]});function u(t,e){var n=e.percents,i=e.lengths,r=n.length,o=T((r-1)*t),a=t*e.addedLength,s=0;if(o===r-1||0===o||a===i[o])return n[o];for(var l=i[o]>a?-1:1,u=!0;u;)if(i[o]<=a&&i[o+1]>a?(s=(a-i[o])/(i[o+1]-i[o]),u=!1):o+=l,o<0||o>=r-1){if(o===r-1)return n[o];u=!1}return n[o]+(n[o+1]-n[o])*s}function c(e,n,i,r,o,a){var s=u(o,a),l=1-s;return[t.round(1e3*(l*l*l*e[0]+(s*l*l+l*s*l+l*l*s)*i[0]+(s*s*l+l*s*s+s*l*s)*r[0]+s*s*s*n[0]))/1e3,t.round(1e3*(l*l*l*e[1]+(s*l*l+l*s*l+l*l*s)*i[1]+(s*s*l+l*s*s+s*l*s)*r[1]+s*s*s*n[1]))/1e3]}var h=d("float32",8);function p(e,n,i,r,o,a,s){o<0?o=0:o>1&&(o=1);var l,c=u(o,s),p=u(a=a>1?1:a,s),f=e.length,d=1-c,g=1-p,m=d*d*d,v=c*d*d*3,y=c*c*d*3,_=c*c*c,x=d*d*g,b=c*d*g+d*c*g+d*d*p,w=c*c*g+d*c*p+c*d*p,S=c*c*p,T=d*g*g,M=c*g*g+d*p*g+d*g*p,C=c*p*g+d*p*p+c*g*p,A=c*p*p,I=g*g*g,k=p*g*g+g*p*g+g*g*p,D=p*p*g+g*p*p+p*g*p,P=p*p*p;for(l=0;l<f;l+=1)h[4*l]=t.round(1e3*(m*e[l]+v*i[l]+y*r[l]+_*n[l]))/1e3,h[4*l+1]=t.round(1e3*(x*e[l]+b*i[l]+w*r[l]+S*n[l]))/1e3,h[4*l+2]=t.round(1e3*(T*e[l]+M*i[l]+C*r[l]+A*n[l]))/1e3,h[4*l+3]=t.round(1e3*(I*e[l]+k*i[l]+D*r[l]+P*n[l]))/1e3;return h}return{getSegmentsLength:r,getNewSegment:p,getPointInSegment:c,buildBezierData:l,pointOnLine2D:e,pointOnLine3D:n}}var _t=yt(),xt=o,bt=Math.abs;function wt(t,e){var n,i=this.offsetTime;"multidimensional"===this.propType&&(n=d("float32",this.pv.length));for(var r,o,a,s,l,u,c,h,p,f=e.lastIndex,g=f,m=this.keyframes.length-1,v=!0;v;){if(r=this.keyframes[g],o=this.keyframes[g+1],g===m-1&&t>=o.t-i){r.h&&(r=o),f=0;break}if(o.t-i>t){f=g;break}g<m-1?g+=1:(f=0,v=!1)}a=this.keyframesMetadata[g]||{};var y,_=o.t-i,x=r.t-i;if(r.to){a.bezierData||(a.bezierData=_t.buildBezierData(r.s,o.s||r.e,r.to,r.ti));var b=a.bezierData;if(t>=_||t<x){var w=t>=_?b.points.length-1:0;for(l=b.points[w].point.length,s=0;s<l;s+=1)n[s]=b.points[w].point[s]}else{a.__fnct?p=a.__fnct:(p=ft.getBezierEasing(r.o.x,r.o.y,r.i.x,r.i.y,r.n).get,a.__fnct=p),u=p((t-x)/(_-x));var S,T=b.segmentLength*u,M=e.lastFrame<t&&e._lastKeyframeIndex===g?e._lastAddedLength:0;for(h=e.lastFrame<t&&e._lastKeyframeIndex===g?e._lastPoint:0,v=!0,c=b.points.length;v;){if(M+=b.points[h].partialLength,0===T||0===u||h===b.points.length-1){for(l=b.points[h].point.length,s=0;s<l;s+=1)n[s]=b.points[h].point[s];break}if(T>=M&&T<M+b.points[h+1].partialLength){for(S=(T-M)/b.points[h+1].partialLength,l=b.points[h].point.length,s=0;s<l;s+=1)n[s]=b.points[h].point[s]+(b.points[h+1].point[s]-b.points[h].point[s])*S;break}h<c-1?h+=1:v=!1}e._lastPoint=h,e._lastAddedLength=M-b.points[h].partialLength,e._lastKeyframeIndex=g}}else{var C,A,I,k,D;if(m=r.s.length,y=o.s||r.e,this.sh&&1!==r.h)t>=_?(n[0]=y[0],n[1]=y[1],n[2]=y[2]):t<=x?(n[0]=r.s[0],n[1]=r.s[1],n[2]=r.s[2]):Tt(n,St(Mt(r.s),Mt(y),(t-x)/(_-x)));else for(g=0;g<m;g+=1)1!==r.h&&(t>=_?u=1:t<x?u=0:(r.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[g]?p=a.__fnct[g]:(C=void 0===r.o.x[g]?r.o.x[0]:r.o.x[g],A=void 0===r.o.y[g]?r.o.y[0]:r.o.y[g],I=void 0===r.i.x[g]?r.i.x[0]:r.i.x[g],k=void 0===r.i.y[g]?r.i.y[0]:r.i.y[g],p=ft.getBezierEasing(C,A,I,k).get,a.__fnct[g]=p)):a.__fnct?p=a.__fnct:(C=r.o.x,A=r.o.y,I=r.i.x,k=r.i.y,p=ft.getBezierEasing(C,A,I,k).get,r.keyframeMetadata=p),u=p((t-x)/(_-x)))),y=o.s||r.e,D=1===r.h?r.s[g]:r.s[g]+(y[g]-r.s[g])*u,"multidimensional"===this.propType?n[g]=D:n=D}return e.lastIndex=f,n}function St(t,e,n){var i,r,o,a,s,l=[],u=t[0],c=t[1],h=t[2],p=t[3],f=e[0],d=e[1],g=e[2],m=e[3];return(r=u*f+c*d+h*g+p*m)<0&&(r=-r,f=-f,d=-d,g=-g,m=-m),1-r>1e-6?(i=Math.acos(r),o=Math.sin(i),a=Math.sin((1-n)*i)/o,s=Math.sin(n*i)/o):(a=1-n,s=n),l[0]=a*u+s*f,l[1]=a*c+s*d,l[2]=a*h+s*g,l[3]=a*p+s*m,l}function Tt(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=Math.atan2(2*i*o-2*n*r,1-2*i*i-2*r*r),s=Math.asin(2*n*i+2*r*o),l=Math.atan2(2*n*o-2*i*r,1-2*n*n-2*r*r);t[0]=a/I,t[1]=s/I,t[2]=l/I}function Mt(t){var e=t[0]*I,n=t[1]*I,i=t[2]*I,r=Math.cos(e/2),o=Math.cos(n/2),a=Math.cos(i/2),s=Math.sin(e/2),l=Math.sin(n/2),u=Math.sin(i/2);return[s*l*a+r*o*u,s*o*a+r*l*u,r*l*a-s*o*u,r*o*a-s*l*u]}function Ct(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==xt&&(this._caching.lastFrame>=n&&t>=n||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function At(t){var e;if("unidimensional"===this.propType)e=t*this.mult,bt(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var n=0,i=this.v.length;n<i;)e=t[n]*this.mult,bt(this.v[n]-e)>1e-5&&(this.v[n]=e,this._mdf=!0),n+=1}function It(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)n=this.effectsSequence[t](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function kt(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function Dt(t,e,n,i){this.propType="unidimensional",this.mult=n||1,this.data=e,this.v=n?e.k*n:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=It,this.setVValue=At,this.addEffect=kt}function Pt(t,e,n,i){var r;this.propType="multidimensional",this.mult=n||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o=e.k.length;for(this.v=d("float32",o),this.pv=d("float32",o),this.vel=d("float32",o),r=0;r<o;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=It,this.setVValue=At,this.addEffect=kt}function Ot(t,e,n,i){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:xt,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=n||1,this.elem=t,this.container=i,this.comp=t.comp,this.v=xt,this.pv=xt,this._isFirstFrame=!0,this.getValue=It,this.setVValue=At,this.interpolateValue=wt,this.effectsSequence=[Ct.bind(this)],this.addEffect=kt}function Et(t,e,n,i){var r;this.propType="multidimensional";var o,a,s,l,u=e.k.length;for(r=0;r<u-1;r+=1)e.k[r].to&&e.k[r].s&&e.k[r+1]&&e.k[r+1].s&&(o=e.k[r].s,a=e.k[r+1].s,s=e.k[r].to,l=e.k[r].ti,(2===o.length&&(o[0]!==a[0]||o[1]!==a[1])&&_t.pointOnLine2D(o[0],o[1],a[0],a[1],o[0]+s[0],o[1]+s[1])&&_t.pointOnLine2D(o[0],o[1],a[0],a[1],a[0]+l[0],a[1]+l[1])||3===o.length&&(o[0]!==a[0]||o[1]!==a[1]||o[2]!==a[2])&&_t.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],o[0]+s[0],o[1]+s[1],o[2]+s[2])&&_t.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],a[0]+l[0],a[1]+l[1],a[2]+l[2]))&&(e.k[r].to=null,e.k[r].ti=null),o[0]===a[0]&&o[1]===a[1]&&0===s[0]&&0===s[1]&&0===l[0]&&0===l[1]&&(2===o.length||o[2]===a[2]&&0===s[2]&&0===l[2])&&(e.k[r].to=null,e.k[r].ti=null));this.effectsSequence=[Ct.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=n||1,this.elem=t,this.container=i,this.comp=t.comp,this.getValue=It,this.setVValue=At,this.interpolateValue=wt,this.frameId=-1;var c=e.k[0].s.length;for(this.v=d("float32",c),this.pv=d("float32",c),r=0;r<c;r+=1)this.v[r]=xt,this.pv[r]=xt;this._caching={lastFrame:xt,lastIndex:0,value:d("float32",c)},this.addEffect=kt}var Lt=function(){function t(t,e,n,i,r){var o;if(e.sid&&(e=t.globalData.slotManager.getProp(e)),e.k.length)if("number"==typeof e.k[0])o=new Pt(t,e,i,r);else switch(n){case 0:o=new Ot(t,e,i,r);break;case 1:o=new Et(t,e,i,r)}else o=new Dt(t,e,i,r);return o.effectsSequence.length&&r.addDynamicProperty(o),o}return{getProp:t}}();function Rt(){}Rt.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Nt=function(){function t(){return d("float32",2)}return gt(8,t)}();function Ft(){this.c=!1,this._length=0,this._maxLength=8,this.v=g(this._maxLength),this.o=g(this._maxLength),this.i=g(this._maxLength)}Ft.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var n=0;n<e;)this.v[n]=Nt.newElement(),this.o[n]=Nt.newElement(),this.i[n]=Nt.newElement(),n+=1},Ft.prototype.setLength=function(t){for(;this._maxLength<t;
vendor: 17,020 bytes, line 1
1)this.doubleArrayLength();this._length=t},Ft.prototype.doubleArrayLength=function(){this.v=this.v.concat(g(this._maxLength)),this.i=this.i.concat(g(this._maxLength)),this.o=this.o.concat(g(this._maxLength)),this._maxLength*=2},Ft.prototype.setXYAt=function(t,e,n,i,r){var o;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[]}(!o[i]||o[i]&&!r)&&(o[i]=Nt.newElement()),o[i][0]=t,o[i][1]=e},Ft.prototype.setTripleAt=function(t,e,n,i,r,o,a,s){this.setXYAt(t,e,"v",a,s),this.setXYAt(n,i,"o",a,s),this.setXYAt(r,o,"i",a,s)},Ft.prototype.reverse=function(){var t=new Ft;t.setPathData(this.c,this._length);var e=this.v,n=this.o,i=this.i,r=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],n[0][0],n[0][1],0,!1),r=1);var o,a=this._length-1,s=this._length;for(o=r;o<s;o+=1)t.setTripleAt(e[a][0],e[a][1],i[a][0],i[a][1],n[a][0],n[a][1],o,!1),a-=1;return t},Ft.prototype.length=function(){return this._length};var Bt=function(){function t(){return new Ft}function e(t){var e,n=t._length;for(e=0;e<n;e+=1)Nt.release(t.v[e]),Nt.release(t.i[e]),Nt.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1}function n(t){var e,n=i.newElement(),r=void 0===t._length?t.v.length:t._length;for(n.setLength(r),n.c=t.c,e=0;e<r;e+=1)n.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return n}var i=gt(4,t,e);return i.clone=n,i}();function zt(){this._length=0,this._maxLength=4,this.shapes=g(this._maxLength)}zt.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(g(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},zt.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)Bt.release(this.shapes[t]);this._length=0};var Vt=function(){var t={newShapeCollection:r,release:o},e=0,n=4,i=g(n);function r(){return e?i[e-=1]:new zt}function o(t){var r,o=t._length;for(r=0;r<o;r+=1)Bt.release(t.shapes[r]);t._length=0,e===n&&(i=dt.double(i),n*=2),i[e]=t,e+=1}return t}(),jt=function(){var t=-999999;function e(t,e,n){var i,r,o,a,s,l,u,c,h,p=n.lastIndex,f=this.keyframes;if(t<f[0].t-this.offsetTime)i=f[0].s[0],o=!0,p=0;else if(t>=f[f.length-1].t-this.offsetTime)i=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],o=!0;else{for(var d,g,m,v=p,y=f.length-1,_=!0;_&&(d=f[v],!((g=f[v+1]).t-this.offsetTime>t));)v<y-1?v+=1:_=!1;if(m=this.keyframesMetadata[v]||{},p=v,!(o=1===d.h)){if(t>=g.t-this.offsetTime)c=1;else if(t<d.t-this.offsetTime)c=0;else{var x;m.__fnct?x=m.__fnct:(x=ft.getBezierEasing(d.o.x,d.o.y,d.i.x,d.i.y).get,m.__fnct=x),c=x((t-(d.t-this.offsetTime))/(g.t-this.offsetTime-(d.t-this.offsetTime)))}r=g.s?g.s[0]:d.e[0]}i=d.s[0]}for(l=e._length,u=i.i[0].length,n.lastIndex=p,a=0;a<l;a+=1)for(s=0;s<u;s+=1)h=o?i.i[a][s]:i.i[a][s]+(r.i[a][s]-i.i[a][s])*c,e.i[a][s]=h,h=o?i.o[a][s]:i.o[a][s]+(r.o[a][s]-i.o[a][s])*c,e.o[a][s]=h,h=o?i.v[a][s]:i.v[a][s]+(r.v[a][s]-i.v[a][s])*c,e.v[a][s]=h}function n(){var e=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,r=this._caching.lastFrame;return r!==t&&(r<n&&e<n||r>i&&e>i)||(this._caching.lastIndex=r<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function i(){this.paths=this.localShapeCollection}function r(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var n,i=t._length;for(n=0;n<i;n+=1)if(t.v[n][0]!==e.v[n][0]||t.v[n][1]!==e.v[n][1]||t.o[n][0]!==e.o[n][0]||t.o[n][1]!==e.o[n][1]||t.i[n][0]!==e.i[n][0]||t.i[n][1]!==e.i[n][1])return!1;return!0}function o(t){r(this.v,t)||(this.v=Bt.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var n=this.effectsSequence.length;for(e=0;e<n;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(t,e,n){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var r=3===n?e.pt.k:e.ks.k;this.v=Bt.clone(r),this.pv=Bt.clone(this.v),this.localShapeCollection=Vt.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function l(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function u(e,r,o){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===o?r.pt.k:r.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=Bt.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=Bt.clone(this.v),this.localShapeCollection=Vt.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[n.bind(this)]}s.prototype.interpolateShape=e,s.prototype.getValue=a,s.prototype.setVValue=o,s.prototype.addEffect=l,u.prototype.getValue=a,u.prototype.interpolateShape=e,u.prototype.setVValue=o,u.prototype.addEffect=l;var c=function(){var t=k;function e(t,e){this.v=Bt.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Vt.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=Lt.getProp(t,e.p,1,0,this),this.s=Lt.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],n=this.p.v[1],i=this.s.v[0]/2,r=this.s.v[1]/2,o=3!==this.d,a=this.v;a.v[0][0]=e,a.v[0][1]=n-r,a.v[1][0]=o?e+i:e-i,a.v[1][1]=n,a.v[2][0]=e,a.v[2][1]=n+r,a.v[3][0]=o?e-i:e+i,a.v[3][1]=n,a.i[0][0]=o?e-i*t:e+i*t,a.i[0][1]=n-r,a.i[1][0]=o?e+i:e-i,a.i[1][1]=n-r*t,a.i[2][0]=o?e+i*t:e-i*t,a.i[2][1]=n+r,a.i[3][0]=o?e-i:e+i,a.i[3][1]=n+r*t,a.o[0][0]=o?e+i*t:e-i*t,a.o[0][1]=n-r,a.o[1][0]=o?e+i:e-i,a.o[1][1]=n+r*t,a.o[2][0]=o?e-i*t:e+i*t,a.o[2][1]=n+r,a.o[3][0]=o?e-i:e+i,a.o[3][1]=n-r*t}},h([Rt],e),e}(),p=function(){function t(t,e){this.v=Bt.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=Lt.getProp(t,e.ir,0,0,this),this.is=Lt.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=Lt.getProp(t,e.pt,0,0,this),this.p=Lt.getProp(t,e.p,1,0,this),this.r=Lt.getProp(t,e.r,0,I,this),this.or=Lt.getProp(t,e.or,0,0,this),this.os=Lt.getProp(t,e.os,0,.01,this),this.localShapeCollection=Vt.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,n,i,r=2*Math.floor(this.pt.v),o=2*Math.PI/r,a=!0,s=this.or.v,l=this.ir.v,u=this.os.v,c=this.is.v,h=2*Math.PI*s/(2*r),p=2*Math.PI*l/(2*r),f=-Math.PI/2;f+=this.r.v;var d=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<r;t+=1){n=a?u:c,i=a?h:p;var g=(e=a?s:l)*Math.cos(f),m=e*Math.sin(f),v=0===g&&0===m?0:m/Math.sqrt(g*g+m*m),y=0===g&&0===m?0:-g/Math.sqrt(g*g+m*m);g+=+this.p.v[0],m+=+this.p.v[1],this.v.setTripleAt(g,m,g-v*i*n*d,m-y*i*n*d,g+v*i*n*d,m+y*i*n*d,t,!0),a=!a,f+=o*d}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),n=2*Math.PI/e,i=this.or.v,r=this.os.v,o=2*Math.PI*i/(4*e),a=.5*-Math.PI,s=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=i*Math.cos(a),u=i*Math.sin(a),c=0===l&&0===u?0:u/Math.sqrt(l*l+u*u),h=0===l&&0===u?0:-l/Math.sqrt(l*l+u*u);l+=+this.p.v[0],u+=+this.p.v[1],this.v.setTripleAt(l,u,l-c*o*r*s,u-h*o*r*s,l+c*o*r*s,u+h*o*r*s,t,!0),a+=n*s}this.paths.length=0,this.paths[0]=this.v}},h([Rt],t),t}(),f=function(){function t(t,e){this.v=Bt.newElement(),this.v.c=!0,this.localShapeCollection=Vt.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=Lt.getProp(t,e.p,1,0,this),this.s=Lt.getProp(t,e.s,1,0,this),this.r=Lt.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],n=this.s.v[0]/2,i=this.s.v[1]/2,r=M(n,i,this.r.v),o=r*(1-k);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+n,e-i+r,t+n,e-i+r,t+n,e-i+o,0,!0),this.v.setTripleAt(t+n,e+i-r,t+n,e+i-o,t+n,e+i-r,1,!0),0!==r?(this.v.setTripleAt(t+n-r,e+i,t+n-r,e+i,t+n-o,e+i,2,!0),this.v.setTripleAt(t-n+r,e+i,t-n+o,e+i,t-n+r,e+i,3,!0),this.v.setTripleAt(t-n,e+i-r,t-n,e+i-r,t-n,e+i-o,4,!0),this.v.setTripleAt(t-n,e-i+r,t-n,e-i+o,t-n,e-i+r,5,!0),this.v.setTripleAt(t-n+r,e-i,t-n+r,e-i,t-n+o,e-i,6,!0),this.v.setTripleAt(t+n-r,e-i,t+n-o,e-i,t+n-r,e-i,7,!0)):(this.v.setTripleAt(t-n,e+i,t-n+o,e+i,t-n,e+i,2),this.v.setTripleAt(t-n,e-i,t-n,e-i+o,t-n,e-i,3))):(this.v.setTripleAt(t+n,e-i+r,t+n,e-i+o,t+n,e-i+r,0,!0),0!==r?(this.v.setTripleAt(t+n-r,e-i,t+n-r,e-i,t+n-o,e-i,1,!0),this.v.setTripleAt(t-n+r,e-i,t-n+o,e-i,t-n+r,e-i,2,!0),this.v.setTripleAt(t-n,e-i+r,t-n,e-i+r,t-n,e-i+o,3,!0),this.v.setTripleAt(t-n,e+i-r,t-n,e+i-o,t-n,e+i-r,4,!0),this.v.setTripleAt(t-n+r,e+i,t-n+r,e+i,t-n+o,e+i,5,!0),this.v.setTripleAt(t+n-r,e+i,t+n-o,e+i,t+n-r,e+i,6,!0),this.v.setTripleAt(t+n,e+i-r,t+n,e+i-r,t+n,e+i-o,7,!0)):(this.v.setTripleAt(t-n,e-i,t-n+o,e-i,t-n,e-i,1,!0),this.v.setTripleAt(t-n,e+i,t-n,e+i-o,t-n,e+i,2,!0),this.v.setTripleAt(t+n,e+i,t+n-o,e+i,t+n,e+i,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},h([Rt],t),t}();function d(t,e,n){var i;return 3===n||4===n?i=(3===n?e.pt:e.ks).k.length?new u(t,e,n):new s(t,e,n):5===n?i=new f(t,e):6===n?i=new c(t,e):7===n&&(i=new p(t,e)),i.k&&t.addDynamicProperty(i),i}function g(){return s}function m(){return u}var v={};return v.getShapeProp=d,v.getConstructorFunction=g,v.getKeyframedConstructorFunction=m,v}(),Gt=function(){var t=Math.cos,e=Math.sin,n=Math.tan,i=Math.round;function r(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(i,-r,0,0,r,i,0,0,0,0,1,0,0,0,0,1)}function a(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(1,0,0,0,0,i,-r,0,0,r,i,0,0,0,0,1)}function s(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(i,0,r,0,0,1,0,0,-r,0,i,0,0,0,0,1)}function l(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(i,-r,0,0,r,i,0,0,0,0,1,0,0,0,0,1)}function u(t,e){return this._t(1,e,t,1,0,0)}function c(t,e){return this.shear(n(t),n(e))}function h(i,r){var o=t(r),a=e(r);return this._t(o,a,0,0,-a,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(i),1,0,0,0,0,1,0,0,0,0,1)._t(o,-a,0,0,a,o,0,0,0,0,1,0,0,0,0,1)}function p(t,e,n){return n||0===n||(n=1),1===t&&1===e&&1===n?this:this._t(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1)}function f(t,e,n,i,r,o,a,s,l,u,c,h,p,f,d,g){return this.props[0]=t,this.props[1]=e,this.props[2]=n,this.props[3]=i,this.props[4]=r,this.props[5]=o,this.props[6]=a,this.props[7]=s,this.props[8]=l,this.props[9]=u,this.props[10]=c,this.props[11]=h,this.props[12]=p,this.props[13]=f,this.props[14]=d,this.props[15]=g,this}function g(t,e,n){return n=n||0,0!==t||0!==e||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,n,1):this}function m(t,e,n,i,r,o,a,s,l,u,c,h,p,f,d,g){var m=this.props;if(1===t&&0===e&&0===n&&0===i&&0===r&&1===o&&0===a&&0===s&&0===l&&0===u&&1===c&&0===h)return m[12]=m[12]*t+m[15]*p,m[13]=m[13]*o+m[15]*f,m[14]=m[14]*c+m[15]*d,m[15]*=g,this._identityCalculated=!1,this;var v=m[0],y=m[1],_=m[2],x=m[3],b=m[4],w=m[5],S=m[6],T=m[7],M=m[8],C=m[9],A=m[10],I=m[11],k=m[12],D=m[13],P=m[14],O=m[15];return m[0]=v*t+y*r+_*l+x*p,m[1]=v*e+y*o+_*u+x*f,m[2]=v*n+y*a+_*c+x*d,m[3]=v*i+y*s+_*h+x*g,m[4]=b*t+w*r+S*l+T*p,m[5]=b*e+w*o+S*u+T*f,m[6]=b*n+w*a+S*c+T*d,m[7]=b*i+w*s+S*h+T*g,m[8]=M*t+C*r+A*l+I*p,m[9]=M*e+C*o+A*u+I*f,m[10]=M*n+C*a+A*c+I*d,m[11]=M*i+C*s+A*h+I*g,m[12]=k*t+D*r+P*l+O*p,m[13]=k*e+D*o+P*u+O*f,m[14]=k*n+D*a+P*c+O*d,m[15]=k*i+D*s+P*h+O*g,this._identityCalculated=!1,this}function v(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function y(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function _(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function x(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function b(t,e,n){return{x:t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}}function w(t,e,n){return t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12]}function S(t,e,n){return t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13]}function T(t,e,n){return t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}function M(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,n=-this.props[1]/t,i=-this.props[4]/t,r=this.props[0]/t,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,s=new Gt;return s.props[0]=e,s.props[1]=n,s.props[4]=i,s.props[5]=r,s.props[12]=o,s.props[13]=a,s}function C(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function A(t){var e,n=t.length,i=[];for(e=0;e<n;e+=1)i[e]=C(t[e]);return i}function I(t,e,n){var i=d("float32",6);if(this.isIdentity())i[0]=t[0],i[1]=t[1],i[2]=e[0],i[3]=e[1],i[4]=n[0],i[5]=n[1];else{var r=this.props[0],o=this.props[1],a=this.props[4],s=this.props[5],l=this.props[12],u=this.props[13];i[0]=t[0]*r+t[1]*a+l,i[1]=t[0]*o+t[1]*s+u,i[2]=e[0]*r+e[1]*a+l,i[3]=e[0]*o+e[1]*s+u,i[4]=n[0]*r+n[1]*a+l,i[5]=n[0]*o+n[1]*s+u}return i}function k(t,e,n){return this.isIdentity()?[t,e,n]:[t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]]}function D(t,e){if(this.isIdentity())return t+","+e;var n=this.props;return Math.round(100*(t*n[0]+e*n[4]+n[12]))/100+","+Math.round(100*(t*n[1]+e*n[5]+n[13]))/100}function P(){for(var t=0,e=this.props,n="matrix3d(",r=1e4;t<16;)n+=i(e[t]*r)/r,n+=15===t?")":",",t+=1;return n}function O(t){var e=1e4;return t<1e-6&&t>0||t>-1e-6&&t<0?i(t*e)/e:t}function E(){var t=this.props;return"matrix("+O(t[0])+","+O(t[1])+","+O(t[4])+","+O(t[5])+","+O(t[12])+","+O(t[13])+")"}return function(){this.reset=r,this.rotate=o,this.rotateX=a,this.rotateY=s,this.rotateZ=l,this.skew=c,this.skewFromAxis=h,this.shear=u,this.scale=p,this.setTransform=f,this.translate=g,this.transform=m,this.applyToPoint=b,this.applyToX=w,this.applyToY=S,this.applyToZ=T,this.applyToPointArray=k,this.applyToTriplePoints=I,this.applyToPointStringified=D,this.toCSS=P,this.to2dCSS=E,this.clone=_,this.cloneFromProps=x,this.equals=y,this.inversePoints=A,this.inversePoint=C,this.getInverseMatrix=M,this._t=this.transform,this.isIdentity=v,this._identity=!0,this._identityCalculated=!1,this.props=d("float32",16),this.reset()}}();function Wt(t){return Wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wt(t)}var Ht={},Zt="__[STANDALONE]__",$t="__[ANIMATIONDATA]__",Ut="";function Xt(t){l(t)}function qt(){!0===Zt?pt.searchAnimations($t,Zt,Ut):pt.searchAnimations()}function Yt(t){Z(t)}function Kt(t){J(t)}
vendor: 1,069 bytes, line 1
1function Jt(t){return!0===Zt&&(t.animationData=JSON.parse($t)),pt.loadAnimation(t)}function Qt(t){if("string"==typeof t)switch(t){case"high":Y(200);break;default:case"medium":Y(50);break;case"low":Y(10)}else!isNaN(t)&&t>1&&Y(t);K()>=50?D(!1):D(!0)}function te(){return"undefined"!=typeof navigator}function ee(t,e){"expressions"===t&&U(e)}function ne(t){switch(t){case"propertyFactory":return Lt;case"shapePropertyFactory":return jt;case"matrix":return Gt;default:return null}}function ie(){"complete"===document.readyState&&(clearInterval(le),qt())}function re(t){for(var e=oe.split("&"),n=0;n<e.length;n+=1){var i=e[n].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}return null}Ht.play=pt.play,Ht.pause=pt.pause,Ht.setLocationHref=Xt,Ht.togglePause=pt.togglePause,Ht.setSpeed=pt.setSpeed,Ht.setDirection=pt.setDirection,Ht.stop=pt.stop,Ht.searchAnimations=qt,Ht.registerAnimation=pt.registerAnimation,Ht.loadAnimation=Jt,Ht.setSubframeRendering=Yt,Ht.resize=pt.resize,Ht.goToAndStop=pt.goToAndStop,Ht.destroy=pt.destroy,Ht.setQuality=Qt,Ht.
vendor: 5,313 bytes, line 1
1inBrowser=te,Ht.installPlugin=ee,Ht.freeze=pt.freeze,Ht.unfreeze=pt.unfreeze,Ht.setVolume=pt.setVolume,Ht.mute=pt.mute,Ht.unmute=pt.unmute,Ht.getRegisteredAnimations=pt.getRegisteredAnimations,Ht.useWebWorker=a,Ht.setIDPrefix=Kt,Ht.__getFactory=ne,Ht.version="5.11.0";var oe="";if(Zt){var ae=document.getElementsByTagName("script"),se=ae[ae.length-1]||{src:""};oe=se.src?se.src.replace(/^[^\?]+\??/,""):"",Ut=re("renderer")}var le=setInterval(ie,100);try{"object"!==Wt(e)&&n.amdO}catch(t){}var ue=function(){var t={},e={};function n(t,n){e[t]||(e[t]=n)}function i(t,n,i){return new e[t](n,i)}return t.registerModifier=n,t.getModifier=i,t}();function ce(){}function he(){}function pe(){}ce.prototype.initModifierProperties=function(){},ce.prototype.addShapeToModifier=function(){},ce.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:Vt.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ce.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=o,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ce.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},h([Rt],ce),h([ce],he),he.prototype.initModifierProperties=function(t,e){this.s=Lt.getProp(t,e.s,0,.01,this),this.e=Lt.getProp(t,e.e,0,.01,this),this.o=Lt.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},he.prototype.addShapeToModifier=function(t){t.pathsData=[]},he.prototype.calculateShapeEdges=function(t,e,n,i,r){var o=[];e<=1?o.push({s:t,e:e}):t>=1?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1}));var a,s,l=[],u=o.length;for(a=0;a<u;a+=1){var c,h;(s=o[a]).e*r<i||s.s*r>i+n||(c=s.s*r<=i?0:(s.s*r-i)/n,h=s.e*r>=i+n?1:(s.e*r-i)/n,l.push([c,h]))}return l.length||l.push([0,0]),l},he.prototype.releasePathsData=function(t){var e,n=t.length;for(e=0;e<n;e+=1)vt.release(t[e]);return t.length=0,t},he.prototype.processShapes=function(t){var e,n,i,r;if(this._mdf||t){var o=this.o.v%360/360;if(o<0&&(o+=1),(e=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o)>(n=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o)){var a=e;e=n,n=a}e=1e-4*Math.round(1e4*e),n=1e-4*Math.round(1e4*n),this.sValue=e,this.eValue=n}else e=this.sValue,n=this.eValue;var s,l,u,c,h,p=this.shapes.length,f=0;if(n===e)for(r=0;r<p;r+=1)this.shapes[r].localShapeCollection.releaseShapes(),this.shapes[r].shape._mdf=!0,this.shapes[r].shape.paths=this.shapes[r].localShapeCollection,this._mdf&&(this.shapes[r].pathsData.length=0);else if(1===n&&0===e||0===n&&1===e){if(this._mdf)for(r=0;r<p;r+=1)this.shapes[r].pathsData.length=0,this.shapes[r].shape._mdf=!0}else{var d,g,m=[];for(r=0;r<p;r+=1)if((d=this.shapes[r]).shape._mdf||this._mdf||t||2===this.m){if(l=(i=d.shape.paths)._length,h=0,!d.shape._mdf&&d.pathsData.length)h=d.totalShapeLength;else{for(u=this.releasePathsData(d.pathsData),s=0;s<l;s+=1)c=_t.getSegmentsLength(i.shapes[s]),u.push(c),h+=c.totalLength;d.totalShapeLength=h,d.pathsData=u}f+=h,d.shape._mdf=!0}else d.shape.paths=d.localShapeCollection;var v,y=e,_=n,x=0;for(r=p-1;r>=0;r-=1)if((d=this.shapes[r]).shape._mdf){for((g=d.localShapeCollection).releaseShapes(),2===this.m&&p>1?(v=this.calculateShapeEdges(e,n,d.totalShapeLength,x,f),x+=d.totalShapeLength):v=[[y,_]],l=v.length,s=0;s<l;s+=1){y=v[s][0],_=v[s][1],m.length=0,_<=1?m.push({s:d.totalShapeLength*y,e:d.totalShapeLength*_}):y>=1?m.push({s:d.totalShapeLength*(y-1),e:d.totalShapeLength*(_-1)}):(m.push({s:d.totalShapeLength*y,e:d.totalShapeLength}),m.push({s:0,e:d.totalShapeLength*(_-1)}));var b=this.addShapes(d,m[0]);if(m[0].s!==m[0].e){if(m.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var w=b.pop();this.addPaths(b,g),b=this.addShapes(d,m[1],w)}else this.addPaths(b,g),b=this.addShapes(d,m[1]);this.addPaths(b,g)}}d.shape.paths=g}}},he.prototype.addPaths=function(t,e){var n,i=t.length;for(n=0;n<i;n+=1)e.addShape(t[n])},he.prototype.addSegment=function(t,e,n,i,r,o,a){r.setXYAt(e[0],e[1],"o",o),r.setXYAt(n[0],n[1],"i",o+1),a&&r.setXYAt(t[0],t[1],"v",o),r.setXYAt(i[0],i[1],"v",o+1)},he.prototype.addSegmentFromArray=function(t,e,n,i){e.setXYAt(t[1],t[5],"o",n),e.setXYAt(t[2],t[6],"i",n+1),i&&e.setXYAt(t[0],t[4],"v",n),e.setXYAt(t[3],t[7],"v",n+1)},he.prototype.addShapes=function(t,e,n){var i,r,o,a,s,l,u,c,h=t.pathsData,p=t.shape.paths.shapes,f=t.shape.paths._length,d=0,g=[],m=!0;for(n?(s=n._length,c=n._length):(n=Bt.newElement(),s=0,c=0),g.push(n),i=0;i<f;i+=1){for(l=h[i].lengths,n.c=p[i].c,o=p[i].c?l.length:l.length+1,r=1;r<o;r+=1)if(d+(a=l[r-1]).addedLength<e.s)d+=a.addedLength,n.c=!1;else{if(d>e.e){n.c=!1;break}e.s<=d&&e.e>=d+a.addedLength?(this.addSegment(p[i].v[r-1],p[i].o[r-1],p[i].i[r],p[i].v[r],n,s,m),m=!1):(u=_t.getNewSegment(p[i].v[r-1],p[i].v[r],p[i].o[r-1],p[i].i[r],(e.s-d)/a.addedLength,(e.e-d)/a.addedLength,l[r-1]),this.addSegmentFromArray(u,n,s,m),m=!1,n.c=!1),d+=a.addedLength,s+=1}if(p[i].c&&l.length){if(a=l[r-1],d<=e.e){var v=l[r-1].addedLength;
vendor: 4,311 bytes, line 1
1e.s<=d&&e.e>=d+v?(this.addSegment(p[i].v[r-1],p[i].o[r-1],p[i].i[0],p[i].v[0],n,s,m),m=!1):(u=_t.getNewSegment(p[i].v[r-1],p[i].v[0],p[i].o[r-1],p[i].i[0],(e.s-d)/v,(e.e-d)/v,l[r-1]),this.addSegmentFromArray(u,n,s,m),m=!1,n.c=!1)}else n.c=!1;d+=a.addedLength,s+=1}if(n._length&&(n.setXYAt(n.v[c][0],n.v[c][1],"i",c),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),d>e.e)break;i<f-1&&(n=Bt.newElement(),m=!0,g.push(n),s=0)}return g},h([ce],pe),pe.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=Lt.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},pe.prototype.processPath=function(t,e){var n=e/100,i=[0,0],r=t._length,o=0;for(o=0;o<r;o+=1)i[0]+=t.v[o][0],i[1]+=t.v[o][1];i[0]/=r,i[1]/=r;var a,s,l,u,c,h,p=Bt.newElement();for(p.c=t.c,o=0;o<r;o+=1)a=t.v[o][0]+(i[0]-t.v[o][0])*n,s=t.v[o][1]+(i[1]-t.v[o][1])*n,l=t.o[o][0]+(i[0]-t.o[o][0])*-n,u=t.o[o][1]+(i[1]-t.o[o][1])*-n,c=t.i[o][0]+(i[0]-t.i[o][0])*-n,h=t.i[o][1]+(i[1]-t.i[o][1])*-n,p.setTripleAt(a,s,l,u,c,h,o);return p},pe.prototype.processShapes=function(t){var e,n,i,r,o,a,s=this.shapes.length,l=this.amount.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r=o.shape.paths._length,i=0;i<r;i+=1)a.addShape(this.processPath(e[i],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var fe=function(){var t=[0,0];function e(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function n(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var n;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var i,r;if(n=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(i=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),r=this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),r=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(i=this.p.pv,r=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],r=[];var o=this.px,a=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(i[0]=o.getValueAtTime((o.keyframes[0].t+.01)/n,0),i[1]=a.getValueAtTime((a.keyframes[0].t+.01)/n,0),r[0]=o.getValueAtTime(o.keyframes[0].t/n,0),r[1]=a.getValueAtTime(a.keyframes[0].t/n,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(i[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/n,0),i[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/n,0),r[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/n,0),r[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/n,0)):(i=[o.pv,a.pv],r[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/n,o.offsetTime),r[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/n,a.offsetTime))}else i=r=t;
vendor: 9,351 bytes, line 1
1this.v.rotate(-Math.atan2(i[1]-r[1],i[0]-r[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function i(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}}function r(){}function o(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0}function a(t,e,n){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Gt,this.pre=new Gt,this.appliedTransformations=0,this.initDynamicPropertyContainer(n||t),e.p&&e.p.s?(this.px=Lt.getProp(t,e.p.x,0,0,this),this.py=Lt.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=Lt.getProp(t,e.p.z,0,0,this))):this.p=Lt.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=Lt.getProp(t,e.rx,0,I,this),this.ry=Lt.getProp(t,e.ry,0,I,this),this.rz=Lt.getProp(t,e.rz,0,I,this),e.or.k[0].ti){var i,r=e.or.k.length;for(i=0;i<r;i+=1)e.or.k[i].to=null,e.or.k[i].ti=null}this.or=Lt.getProp(t,e.or,1,I,this),this.or.sh=!0}else this.r=Lt.getProp(t,e.r||{k:0},0,I,this);e.sk&&(this.sk=Lt.getProp(t,e.sk,0,I,this),this.sa=Lt.getProp(t,e.sa,0,I,this)),this.a=Lt.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=Lt.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=Lt.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}function s(t,e,n){return new a(t,e,n)}return a.prototype={applyToMatrix:e,getValue:n,precalculateMatrix:i,autoOrient:r},h([Rt],a),a.prototype.addDynamicProperty=o,a.prototype._addDynamicProperty=Rt.prototype.addDynamicProperty,{getTransformProperty:s}}();function de(){}function ge(){}function me(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function ve(t){return Math.abs(t)<=1e-5}function ye(t,e,n){return t*(1-n)+e*n}function _e(t,e,n){return[ye(t[0],e[0],n),ye(t[1],e[1],n)]}function xe(t,e,n){if(0===t)return[];var i=e*e-4*t*n;if(i<0)return[];var r=-e/(2*t);if(0===i)return[r];var o=Math.sqrt(i)/(2*t);return[r-o,r+o]}function be(t,e,n,i){return[3*e-t-3*n+i,3*t-6*e+3*n,-3*t+3*e,t]}function we(t){return new Se(t,t,t,t,!1)}function Se(t,e,n,i,r){r&&Ee(t,e)&&(e=_e(t,i,1/3)),r&&Ee(n,i)&&(n=_e(t,i,2/3));var o=be(t[0],e[0],n[0],i[0]),a=be(t[1],e[1],n[1],i[1]);this.a=[o[0],a[0]],this.b=[o[1],a[1]],this.c=[o[2],a[2]],this.d=[o[3],a[3]],this.points=[t,e,n,i]}function Te(t,e){var n=t.points[0][e],i=t.points[t.points.length-1][e];if(n>i){var r=i;i=n,n=r}for(var o=xe(3*t.a[e],2*t.b[e],t.c[e]),a=0;a<o.length;a+=1)if(o[a]>0&&o[a]<1){var s=t.point(o[a])[e];s<n?n=s:s>i&&(i=s)}return{min:n,max:i}}function Me(t,e,n){var i=t.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:t,t:(e+n)/2,t1:e,t2:n}}function Ce(t){var e=t.bez.split(.5);return[Me(e[0],t.t1,t.t),Me(e[1],t.t,t.t2)]}function Ae(t,e){return 2*Math.abs(t.cx-e.cx)<t.width+e.width&&2*Math.abs(t.cy-e.cy)<t.height+e.height}function Ie(t,e,n,i,r,o){if(Ae(t,e))if(n>=o||t.width<=i&&t.height<=i&&e.width<=i&&e.height<=i)r.push([t.t,e.t]);else{var a=Ce(t),s=Ce(e);Ie(a[0],s[0],n+1,i,r,o),Ie(a[0],s[1],n+1,i,r,o),Ie(a[1],s[0],n+1,i,r,o),Ie(a[1],s[1],n+1,i,r,o)}}function ke(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function De(t,e,n,i){var r=[t[0],t[1],1],o=[e[0],e[1],1],a=[n[0],n[1],1],s=[i[0],i[1],1],l=ke(ke(r,o),ke(a,s));return ve(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function Pe(t,e,n){return[t[0]+Math.cos(e)*n,t[1]-Math.sin(e)*n]}function Oe(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function Ee(t,e){return me(t[0],e[0])&&me(t[1],e[1])}function Le(){}function Re(t,e,n,i,r,o,a){var s=n-Math.PI/2,l=n+Math.PI/2,u=e[0]+Math.cos(n)*i*r,c=e[1]-Math.sin(n)*i*r;t.setTripleAt(u,c,u+Math.cos(s)*o,c-Math.sin(s)*o,u+Math.cos(l)*a,c-Math.sin(l)*a,t.length())}function Ne(t,e){var n=[e[0]-t[0],e[1]-t[1]],i=.5*-Math.PI;return[Math.cos(i)*n[0]-Math.sin(i)*n[1],Math.sin(i)*n[0]+Math.cos(i)*n[1]]}function Fe(t,e){var n=0===e?t.length()-1:e-1,i=(e+1)%t.length(),r=Ne(t.v[n],t.v[i]);return Math.atan2(0,1)-Math.atan2(r[1],r[0])}function Be(t,e,n,i,r,o,a){var s=Fe(e,n),l=e.v[n%e._length],u=e.v[0===n?e._length-1:n-1],c=e.v[(n+1)%e._length],h=2===o?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0,p=2===o?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0;Re(t,e.v[n%e._length],s,a,i,p/(2*(r+1)),h/(2*(r+1)),o)}function ze(t,e,n,i,r,o){for(var a=0;a<i;a+=1){var s=(a+1)/(i+1),l=2===r?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,u=e.normalAngle(s);Re(t,e.point(s),u,o,n,l/(2*(i+1)),l/(2*(i+1)),r),o=-o}return o}function Ve(t,e,n){var i=Math.atan2(e[0]-t[0],e[1]-t[1]);return[Pe(t,i,n),Pe(e,i,n)]}function je(t,e){var n,i,r,o,a,s,l;n=(l=Ve(t.points[0],t.points[1],e))[0],i=l[1],r=(l=Ve(t.points[1],t.points[2],e))[0],o=l[1],a=(l=Ve(t.points[2],t.points[3],e))[0],s=l[1];var u=De(n,i,r,o);null===u&&(u=i);var c=De(a,s,r,o);return null===c&&(c=a),new Se(n,u,c,s)}function Ge(t,e,n,i,r){var o=e.points[3],a=n.points[0];if(3===i)return o;if(Ee(o,a))return o;if(2===i){var s=-e.tangentAngle(1),l=-n.tangentAngle(0)+Math.PI,u=De(o,Pe(o,s+Math.PI/2,100),a,Pe(a,s+Math.PI/2,100)),c=u?Oe(u,o):Oe(o,a)/2,h=Pe(o,s,2*c*k);return t.setXYAt(h[0],h[1],"o",t.length()-1),h=Pe(a,l,2*c*k),t.setTripleAt(a[0],a[1],a[0],a[1],h[0],h[1],t.length()),a}var p=De(Ee(o,e.points[2])?e.points[0]:e.points[2],o,a,Ee(a,n.points[1])?n.points[3]:n.points[1]);return p&&Oe(p,o)<r?(t.setTripleAt(p[0],p[1],p[0],p[1],p[0],p[1],t.length()),p):o}function We(t,e){var n=t.intersections(e);return n.length&&me(n[0][0],1)&&n.shift(),n.length?n[0]:null}function He(t,e){var n=t.slice(),i=e.slice(),r=We(t[t.length-1],e[0]);return r&&(n[t.length-1]=t[t.length-1].split(r[0])[0],i[0]=e[0].split(r[1])[1]),t.length>1&&e.length>1&&(r=We(t[0],e[e.length-1]))?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[n,i]}function Ze(t){for(var e,n=1;n<t.length;n+=1)e=He(t[n-1],t[n]),t[n-1]=e[0],t[n]=e[1];return t.length>1&&(e=He(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function $e(t,e){var n,i,r,o,a=t.inflectionPoints();if(0===a.length)return[je(t,e)];if(1===a.length||me(a[1],1))return n=(r=t.split(a[0]))[0],i=r[1],[je(n,e),je(i,e)];n=(r=t.split(a[0]))[0];var s=(a[1]-a[0])/(1-a[0]);return o=(r=r[1].split(s))[0],i=r[1],[je(n,e),je(o,e),je(i,e)]}function Ue(){}function Xe(t){for(var e=t.fStyle?t.fStyle.split(" "):[],n="normal",i="normal",r=e.length,o=0;o<r;o+=1)switch(e[o].toLowerCase()){case"italic":i="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200"}return{style:i,weight:t.fWeight||n}}h([ce],de),de.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=Lt.getProp(t,e.c,0,null,this),this.o=Lt.getProp(t,e.o,0,null,this),this.tr=fe.getTransformProperty(t,e.tr,this),this.so=Lt.getProp(t,e.tr.so,0,.01,this),this.eo=Lt.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Gt,this.rMatrix=new Gt,this.sMatrix=new Gt,this.tMatrix=new Gt,this.matrix=new Gt},de.prototype.applyTransforms=function(t,e,n,i,r,o){var a=o?-1:1,s=i.s.v[0]+(1-i.s.v[0])*(1-r),l=i.s.v[1]+(1-i.s.v[1])*(1-r);t.translate(i.p.v[0]*a*r,i.p.v[1]*a*r,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*a*r),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),n.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),n.scale(o?1/s:s,o?1/l:l),n.translate(i.a.v[0],i.a.v[1],i.a.v[2])},de.prototype.init=function(t,e,n,i){for(this.elem=t,this.arr=e,this.pos=n,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[n]);n>0;)n-=1,this._elements.unshift(e[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},de.prototype.resetElements=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},de.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},de.prototype.changeGroupRender=function(t,e){var n,i=t.length;for(n=0;n<i;n+=1)t[n]._render=e,"gr"===t[n].ty&&this.changeGroupRender(t[n].it,e)},de.prototype.processShapes=function(t){var e,n,i,r,o,a=!1;if(this._mdf||t){var s,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var u={it:this.cloneElements(this._elements),ty:"gr"};u.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]}
vendor: 10,952 bytes, line 1
1,s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(o=0,i=0;i<=this._groups.length-1;i+=1){if(s=o<l,this._groups[i]._render=s,this.changeGroupRender(this._groups[i].it,s),!s){var c=this.elemsData[i].it,h=c[c.length-1];0!==h.transform.op.v?(h.transform.op._mdf=!0,h.transform.op.v=0):h.transform.op._mdf=!1}o+=1}this._currentCopies=l;var p=this.o.v,f=p%1,d=p>0?Math.floor(p):Math.ceil(p),g=this.pMatrix.props,m=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,_,x=0;if(p>0){for(;x<d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),x+=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,f,!1),x+=f)}else if(p<0){for(;x>d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),x-=f)}for(i=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,o=this._currentCopies;o;){if(_=(n=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==x){for((0!==i&&1===r||i!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),y=0;y<_;y+=1)n[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<_;y+=1)n[y]=this.matrix.props[y];x+=1,o-=1,i+=r}}else for(o=this._currentCopies,i=0,r=1;o;)n=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,o-=1,i+=r;return a},de.prototype.addShape=function(){},h([ce],ge),ge.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=Lt.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},ge.prototype.processPath=function(t,e){var n,i=Bt.newElement();i.c=t.c;var r,o,a,s,l,u,c,h,p,f,d,g,m=t._length,v=0;for(n=0;n<m;n+=1)r=t.v[n],a=t.o[n],o=t.i[n],r[0]===a[0]&&r[1]===a[1]&&r[0]===o[0]&&r[1]===o[1]?0!==n&&n!==m-1||t.c?(s=0===n?t.v[m-1]:t.v[n-1],u=(l=Math.sqrt(Math.pow(r[0]-s[0],2)+Math.pow(r[1]-s[1],2)))?Math.min(l/2,e)/l:0,c=d=r[0]+(s[0]-r[0])*u,h=g=r[1]-(r[1]-s[1])*u,p=c-(c-r[0])*k,f=h-(h-r[1])*k,i.setTripleAt(c,h,p,f,d,g,v),v+=1,s=n===m-1?t.v[0]:t.v[n+1],u=(l=Math.sqrt(Math.pow(r[0]-s[0],2)+Math.pow(r[1]-s[1],2)))?Math.min(l/2,e)/l:0,c=p=r[0]+(s[0]-r[0])*u,h=f=r[1]+(s[1]-r[1])*u,d=c-(c-r[0])*k,g=h-(h-r[1])*k,i.setTripleAt(c,h,p,f,d,g,v),v+=1):(i.setTripleAt(r[0],r[1],a[0],a[1],o[0],o[1],v),v+=1):(i.setTripleAt(t.v[n][0],t.v[n][1],t.o[n][0],t.o[n][1],t.i[n][0],t.i[n][1],v),v+=1);return i},ge.prototype.processShapes=function(t){var e,n,i,r,o,a,s=this.shapes.length,l=this.rd.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r=o.shape.paths._length,i=0;i<r;i+=1)a.addShape(this.processPath(e[i],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},Se.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},Se.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},Se.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},Se.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},Se.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(ve(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,n=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(n<0)return[];var i=Math.sqrt(n);return ve(i)?i>0&&i<1?[e]:[]:[e-i,e+i].filter((function(t){return t>0&&t<1}))},Se.prototype.split=function(t){if(t<=0)return[we(this.points[0]),this];if(t>=1)return[this,we(this.points[this.points.length-1])];var e=_e(this.points[0],this.points[1],t),n=_e(this.points[1],this.points[2],t),i=_e(this.points[2],this.points[3],t),r=_e(e,n,t),o=_e(n,i,t),a=_e(r,o,t);return[new Se(this.points[0],e,r,a,!0),new Se(a,o,i,this.points[3],!0)]},Se.prototype.bounds=function(){return{x:Te(this,0),y:Te(this,1)}},Se.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}},Se.prototype.intersections=function(t,e,n){void 0===e&&(e=2),void 0===n&&(n=7);var i=[];return Ie(Me(this,0,1),Me(t,0,1),0,e,i,n),i},Se.shapeSegment=function(t,e){var n=(e+1)%t.length();return new Se(t.v[e],t.o[e],t.i[n],t.v[n],!0)},Se.shapeSegmentInverted=function(t,e){var n=(e+1)%t.length();return new Se(t.v[n],t.i[n],t.o[e],t.v[e],!0)},h([ce],Le),Le.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=Lt.getProp(t,e.s,0,null,this),this.frequency=Lt.getProp(t,e.r,0,null,this),this.pointsType=Lt.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},Le.prototype.processPath=function(t,e,n,i){var r=t._length,o=Bt.newElement();if(o.c=t.c,t.c||(r-=1),0===r)return o;var a=-1,s=Se.shapeSegment(t,0);Be(o,t,0,e,n,i,a);for(var l=0;l<r;l+=1)a=ze(o,s,e,n,i,-a),s=l!==r-1||t.c?Se.shapeSegment(t,(l+1)%r):null,Be(o,t,l+1,e,n,i,a);return o},Le.prototype.processShapes=function(t){var e,n,i,r,o,a,s=this.shapes.length,l=this.amplitude.v,u=Math.max(0,Math.round(this.frequency.v)),c=this.pointsType.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r=o.shape.paths._length,i=0;i<r;i+=1)a.addShape(this.processPath(e[i],l,u,c));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},h([ce],Ue),Ue.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=Lt.getProp(t,e.a,0,null,this),this.miterLimit=Lt.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},Ue.prototype.processPath=function(t,e,n,i){var r=Bt.newElement();r.c=t.c;var o,a,s,l=t.length();t.c||(l-=1);var u=[];for(o=0;o<l;o+=1)s=Se.shapeSegment(t,o),u.push($e(s,e));if(!t.c)for(o=l-1;o>=0;o-=1)s=Se.shapeSegmentInverted(t,o),u.push($e(s,e));u=Ze(u);var c=null,h=null;for(o=0;o<u.length;o+=1){var p=u[o];for(h&&(c=Ge(r,h,p[0],n,i)),h=p[p.length-1],a=0;a<p.length;a+=1)s=p[a],c&&Ee(s.points[0],c)?r.setXYAt(s.points[1][0],s.points[1][1],"o",r.length()-1):r.setTripleAt(s.points[0][0],s.points[0][1],s.points[1][0],s.points[1][1],s.points[0][0],s.points[0][1],r.length()),r.setTripleAt(s.points[3][0],s.points[3][1],s.points[3][0],s.points[3][1],s.points[2][0],s.points[2][1],r.length()),c=s.points[3]}return u.length&&Ge(r,h,u[0][0],n,i),r},Ue.prototype.processShapes=function(t){var e,n,i,r,o,a,s=this.shapes.length,l=this.amount.v,u=this.miterLimit.v,c=this.lineJoin;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r=o.shape.paths._length,i=0;i<r;i+=1)a.addShape(this.processPath(e[i],l,c,u));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var qe=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},n=[];n=n.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],r=[65039,8205];function o(t){var e,n=t.split(","),i=n.length,r=[];for(e=0;e<i;e+=1)"sans-serif"!==n[e]&&"monospace"!==n[e]&&r.push(n[e]);return r.join(",")}function a(t,e){var n=c("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=e;var i=c("span");i.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(i),document.body.appendChild(n);var r=i.offsetWidth;return i.style.fontFamily=o(t)+", "+e,{node:i,w:r,parent:n}}function s(){var e,n,i,r=this.fonts.length,o=r;for(e=0;e<r;e+=1)this.fonts[e].loaded?o-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(n=this.fonts[e].monoCase.node,i=this.fonts[e].monoCase.w,n.offsetWidth!==i?(o-=1,this.fonts[e].loaded=!0):(n=this.fonts[e].sansCase.node,i=this.fonts[e].sansCase.w,n.offsetWidth!==i&&(o-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==o&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function l(t,e){var n,i=document.body&&e?"svg":"canvas",r=Xe(t);if("svg"===i){var o=Q("text");o.style.fontSize="100px",o.setAttribute("font-family",t.fFamily),o.setAttribute("font-style",r.style),o.setAttribute("font-weight",r.weight),o.textContent="1",t.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",t.fClass)):o.style.fontFamily=t.fFamily,e.appendChild(o),n=o}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=r.style+" "+r.weight+" 100px "+t.fFamily,n=a}function s(t){return"svg"===i?(n.textContent=t,n.getComputedTextLength()):n.measureText(t).width}return{measureText:s}}function u(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=l(t),t.cache={}})),void(this.fonts=t.list);var n,i=t.list,r=i.length,o=r;for(n=0;n<r;n+=1){var s,u,h=!0;if(i[n].loaded=!1,i[n].monoCase=a(i[n].fFamily,"monospace"),i[n].sansCase=a(i[n].fFamily,"sans-serif"),i[n].fPath){if("p"===i[n].fOrigin||3===i[n].origin){if((s=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[n].fFamily+'"], style[f-origin="3"][f-family="'+i[n].fFamily+'"]')).length>0&&(h=!1),h){var p=c("style");p.setAttribute("f-forigin",i[n].fOrigin),p.setAttribute("f-origin",i[n].origin),p.setAttribute("f-family",
vendor: 6,092 bytes, line 1
1i[n].fFamily),p.type="text/css",p.innerText="@font-face {font-family: "+i[n].fFamily+"; font-style: normal; src: url('"+i[n].fPath+"');}",e.appendChild(p)}}else if("g"===i[n].fOrigin||1===i[n].origin){for(s=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),u=0;u<s.length;u+=1)-1!==s[u].href.indexOf(i[n].fPath)&&(h=!1);if(h){var f=c("link");f.setAttribute("f-forigin",i[n].fOrigin),f.setAttribute("f-origin",i[n].origin),f.type="text/css",f.rel="stylesheet",f.href=i[n].fPath,document.body.appendChild(f)}}else if("t"===i[n].fOrigin||2===i[n].origin){for(s=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),u=0;u<s.length;u+=1)i[n].fPath===s[u].src&&(h=!1);if(h){var d=c("link");d.setAttribute("f-forigin",i[n].fOrigin),d.setAttribute("f-origin",i[n].origin),d.setAttribute("rel","stylesheet"),d.setAttribute("href",i[n].fPath),e.appendChild(d)}}}else i[n].loaded=!0,o-=1;i[n].helper=l(i[n],e),i[n].cache={},this.fonts.push(i[n])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0}function h(t){if(t){var e;this.chars||(this.chars=[]);var n,i,r=t.length,o=this.chars.length;for(e=0;e<r;e+=1){for(n=0,i=!1;n<o;)this.chars[n].style===t[e].style&&this.chars[n].fFamily===t[e].fFamily&&this.chars[n].ch===t[e].ch&&(i=!0),n+=1;i||(this.chars.push(t[e]),o+=1)}}}function p(t,n,i){for(var r=0,o=this.chars.length;r<o;){if(this.chars[r].ch===t&&this.chars[r].style===n&&this.chars[r].fFamily===i)return this.chars[r];r+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0),e}function f(t,e,n){var i=this.getFontByName(e),r=t.charCodeAt(0);if(!i.cache[r+1]){var o=i.helper;if(" "===t){var a=o.measureText("|"+t+"|"),s=o.measureText("||");i.cache[r+1]=(a-s)/100}else i.cache[r+1]=o.measureText(t)/100}return i.cache[r+1]*n}function d(t){for(var e=0,n=this.fonts.length;e<n;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]}function g(t,e){var n=t.toString(16)+e.toString(16);return-1!==i.indexOf(n)}function m(t,e){return e?t===r[0]&&e===r[1]:t===r[1]}function v(t){return-1!==n.indexOf(t)}function y(){this.isLoaded=!0}var _=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};_.isModifier=g,_.isZeroWidthJoiner=m,_.isCombinedCharacter=v;var x={addChars:h,addFonts:u,getCharData:p,getFontByName:d,measureText:f,checkLoadedFonts:s,setIsLoaded:y};return _.prototype=x,_}();function Ye(t){this.animationData=t}function Ke(t){return new Ye(t)}function Je(){}Ye.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t},Je.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var Qe,tn=(Qe={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return Qe[t]||""});function en(t,e,n){this.p=Lt.getProp(e,t.v,0,0,n)}function nn(t,e,n){this.p=Lt.getProp(e,t.v,0,0,n)}function rn(t,e,n){this.p=Lt.getProp(e,t.v,1,0,n)}function on(t,e,n){this.p=Lt.getProp(e,t.v,1,0,n)}function an(t,e,n){this.p=Lt.getProp(e,t.v,0,0,n)}function sn(t,e,n){this.p=Lt.getProp(e,t.v,0,0,n)}function ln(t,e,n){this.p=Lt.getProp(e,t.v,0,0,n)}function un(){this.p={}}function cn(t,e){var n,i=t.ef||[];this.effectElements=[];var r,o=i.length;for(n=0;n<o;n+=1)r=new hn(i[n],e),this.effectElements.push(r)}function hn(t,e){this.init(t,e)}function pn(){}function fn(){}function dn(t,e,n){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,n)}function gn(t,e,n){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,n),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?Lt.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=Lt.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function mn(){}function vn(){}function yn(t,e,n){this.data=t,this.element=e,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,r,o=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=g(a),this.solidPath="";var s,l,c,h,p,f,d=this.masksProperties,m=0,v=[],y=z(),_="clipPath",x="clip-path";
vendor: 6,638 bytes, line 1
1for(i=0;i<a;i+=1)if(("a"!==d[i].mode&&"n"!==d[i].mode||d[i].inv||100!==d[i].o.k||d[i].o.x)&&(_="mask",x="mask"),"s"!==d[i].mode&&"i"!==d[i].mode||0!==m?c=null:((c=Q("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),v.push(c)),r=Q("path"),"n"===d[i].mode)this.viewData[i]={op:Lt.getProp(this.element,d[i].o,0,.01,this.element),prop:jt.getShapeProp(this.element,d[i],3),elem:r,lastPath:""},o.appendChild(r);else{var b;if(m+=1,r.setAttribute("fill","s"===d[i].mode?"#000000":"#ffffff"),r.setAttribute("clip-rule","nonzero"),0!==d[i].x.k?(_="mask",x="mask",f=Lt.getProp(this.element,d[i].x,0,null,this.element),b=z(),(h=Q("filter")).setAttribute("id",b),(p=Q("feMorphology")).setAttribute("operator","erode"),p.setAttribute("in","SourceGraphic"),p.setAttribute("radius","0"),h.appendChild(p),o.appendChild(h),r.setAttribute("stroke","s"===d[i].mode?"#000000":"#ffffff")):(p=null,f=null),this.storedData[i]={elem:r,x:f,expan:p,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===d[i].mode){l=v.length;var w=Q("g");for(s=0;s<l;s+=1)w.appendChild(v[s]);var S=Q("mask");S.setAttribute("mask-type","alpha"),S.setAttribute("id",y+"_"+m),S.appendChild(r),o.appendChild(S),w.setAttribute("mask","url("+u()+"#"+y+"_"+m+")"),v.length=0,v.push(w)}else v.push(r);d[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:r,lastPath:"",op:Lt.getProp(this.element,d[i].o,0,.01,this.element),prop:jt.getShapeProp(this.element,d[i],3),invRect:c},this.viewData[i].prop.k||this.drawPath(d[i],this.viewData[i].prop.v,this.viewData[i])}for(this.maskElement=Q(_),a=v.length,i=0;i<a;i+=1)this.maskElement.appendChild(v[i]);m>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(x,"url("+u()+"#"+y+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}h([Rt],hn),hn.prototype.getValue=hn.prototype.iterateDynamicProperties,hn.prototype.init=function(t,e){var n;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,r=this.data.ef.length,o=this.data.ef;for(n=0;n<r;n+=1){switch(i=null,o[n].ty){case 0:i=new en(o[n],e,this);break;case 1:i=new nn(o[n],e,this);break;case 2:i=new rn(o[n],e,this);break;case 3:i=new on(o[n],e,this);break;case 4:case 7:i=new ln(o[n],e,this);break;case 10:i=new an(o[n],e,this);break;case 11:i=new sn(o[n],e,this);break;case 5:i=new cn(o[n],e,this);break;default:i=new un(o[n],e,this)}i&&this.effectElements.push(i)}},pn.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){var t=q();if(t){var e=t("layer"),n=t("effects"),i=t("shape"),r=t("text"),o=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var a=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(a),0===this.data.ty||this.data.xt?this.compInterface=o(this):4===this.data.ty?(this.layerInterface.shapeInterface=i(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=r(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=tn(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,n){this.globalData=e,this.comp=n,this.data=t,this.layerId=z(),this.data.sr||(this.data.sr=1),this.effectsManager=new cn(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},fn.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var n,i=this.dynamicProperties.length;for(n=0;n<i;n+=1)(e||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},dn.prototype.prepareFrame=function(){},h([Je,pn,fn],dn),dn.prototype.getBaseElement=function(){return null},dn.prototype.renderFrame=function(){},dn.prototype.destroy=function(){},dn.prototype.initExpressions=function(){var t=q();if(t){var e=t("footage");this.layerInterface=e(this)}},dn.prototype.getFootageData=function(){return this.footageData},gn.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},h([Je,pn,fn],gn),gn.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},gn.prototype.show=function(){},gn.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},gn.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},gn.prototype.resume=function(){this._canPlay=!0},gn.prototype.setRate=function(t){this.audio.rate(t)},gn.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},gn.prototype.getBaseElement=function(){return null},gn.prototype.destroy=function(){},gn.prototype.sourceRectAtTime=function(){},gn.prototype.initExpressions=function(){},mn.prototype.checkLayers=function(t){var e,n,i=this.layers.length;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(n=this.layers[e]).ip-n.st<=t-this.layers[e].st&&n.op-n.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},mn.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:default:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t)}
vendor: 8,855 bytes, line 1
1},mn.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},mn.prototype.createAudio=function(t){return new gn(t,this.globalData,this)},mn.prototype.createFootage=function(t){return new dn(t,this.globalData,this)},mn.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},mn.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var n,i=t.length,r=this.layers.length;for(e=0;e<i;e+=1)for(n=0;n<r;){if(this.layers[n].id===t[e].id){this.layers[n]=t[e];break}n+=1}},mn.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},mn.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},mn.prototype.buildElementParenting=function(t,e,n){for(var i=this.elements,r=this.layers,o=0,a=r.length;o<a;)r[o].ind==e&&(i[o]&&!0!==i[o]?(n.push(i[o]),i[o].setAsParent(),void 0!==r[o].parent?this.buildElementParenting(t,r[o].parent,n):t.setHierarchy(n)):(this.buildItem(o),this.addPendingElement(t))),o+=1},mn.prototype.addPendingElement=function(t){this.pendingElements.push(t)},mn.prototype.searchExtraCompositions=function(t){var e,n=t.length;for(e=0;e<n;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},mn.prototype.getElementById=function(t){var e,n=this.elements.length;for(e=0;e<n;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},mn.prototype.getElementByPath=function(t){var e,n=t.shift();if("number"==typeof n)e=this.elements[n];else{var i,r=this.elements.length;for(i=0;i<r;i+=1)if(this.elements[i].data.nm===n){e=this.elements[i];break}}return 0===t.length?e:e.getElementByPath(t)},mn.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new qe,this.globalData.slotManager=Ke(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},vn.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?fe.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Gt},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,n=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<i;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),n=0;n<i;n+=1)t=this.hierarchy[n].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var n,i=!0,r=this.comp;i;)r.finalTransform?(r.data.hasMask&&e.splice(0,0,r.finalTransform),r=r.comp):i=!1;var o,a=e.length;for(n=0;n<a;n+=1)o=e[n].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[1],0];return t},mHelper:new Gt},yn.prototype.getMaskProperty=function(t){return this.viewData[t].prop},yn.prototype.renderFrame=function(t){var e,n=this.element.finalTransform.mat,i=this.masksProperties.length;for(e=0;e<i;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",n.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var r=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+u()+"#"+this.storedData[e].filterId+")")),r.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},yn.prototype.getMaskelement=function(){return this.maskElement},yn.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" "},yn.prototype.drawPath=function(t,e,n){var i,r,o=" M"+e.v[0][0]+","+e.v[0][1];for(r=e._length,i=1;i<r;i+=1)o+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[i][0]+","+e.i[i][1]+" "+e.v[i][0]+","+e.v[i][1];if(e.c&&r>1&&(o+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),n.lastPath!==o){var a="";n.elem&&(e.c&&(a=t.inv?this.solidPath+o:o),n.elem.setAttribute("d",a)),n.lastPath=o}},yn.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var _n,xn=function(){var t={};function e(t,e){var n=Q("filter");return n.setAttribute("id",t),!0!==e&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n}function n(){var t=Q("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t}return t.createFilter=e,t.createAlphaToLuminanceFilter=n,t}(),bn=(_n={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas},(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(_n.maskType=!1),/firefox/i.test(navigator.userAgent)&&(_n.svgLumaHidden=!1),_n),wn={},Sn="filter_result_";function Tn(t){var e,n,i="SourceGraphic",r=t.data.ef?t.data.ef.length:0,o=z(),a=xn.createFilter(o,!0),s=0;for(this.filters=[],e=0;e<r;e+=1){n=null;var l=t.data.ef[e].ty;wn[l]&&(n=new(0,wn[l].effect)(a,t.effectsManager.effectElements[e],t,Sn+s,i),i=Sn+s,wn[l].countsAsEffect&&(s+=1)),n&&this.filters.push(n)}s&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+u()+"#"+o+")")),this.filters.length&&t.addRenderableComponent(this)}function Mn(){}function Cn(){}function An(){}function In(t,e,n){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function kn(t,e){this.elem=t,this.pos=e}function Dn(){}Tn.prototype.renderFrame=function(t){var e,n=this.filters.length;for(e=0;e<n;e+=1)this.filters[e].renderFrame(t)},Mn.prototype={initRendererElement:function(){this.layerElement=Q("g")},createContainerElements:function(){this.matteElement=Q("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=Q("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var n=Q("clipPath"),i=Q("path");i.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var r=z();if(n.setAttribute("id",r),n.appendChild(i),this.globalData.defs.appendChild(n),this.checkMasks()){var o=Q("g");o.setAttribute("clip-path","url("+u()+"#"+r+")"),o.appendChild(this.layerElement),this.transformedElement=o,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+u()+"#"+r+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("op
1acity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new yn(this.data,this,this.globalData),this.renderableEffectsManager=new Tn(this)},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e,n,i,r,o=this.layerId+"_"+t;if(1===t||3===t){var a=Q("mask");a.setAttribute("id",o),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(i=Q("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(i),this.globalData.defs.appendChild(a),bn.maskType||1!==t||(a.setAttribute("mask-type","luminance"),e=z(),n=xn.createFilter(e),this.globalData.defs.appendChild(n),n.appendChild(xn.createAlphaToLuminanceFilter()),(r=Q("g")).appendChild(i),a.appendChild(r),r.setAttribute("filter","url("+u()+"#"+e+")"))}else if(2===t){var s=Q("mask");s.setAttribute("id",o),s.setAttribute("mask-type","alpha");var l=Q("g");s.appendChild(l),e=z(),n=xn.createFilter(e);var c=Q("feComponentTransfer");c.setAttribute("in","SourceGraphic"),n.appendChild(c);var h=Q("feFuncA");h.setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),c.appendChild(h),this.globalData.defs.appendChild(n);var p=Q("rect");p.setAttribute("width",this.comp.data.w),p.setAttribute("height",this.comp.data.h),p.setAttribute("x","0"),p.setAttribute("y","0"),p.setAttribute("fill","#ffffff"),p.setAttribute("opacity","0"),l.setAttribute("filter","url("+u()+"#"+e+")"),l.appendChild(p),(i=Q("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(i),bn.maskType||(s.setAttribute("mask-type","luminance"),n.appendChild(xn.createAlphaToLuminanceFilter()),r=Q("g"),l.appendChild(p),r.appendChild(this.layerElement),l.appendChild(r)),this.globalData.defs.appendChild(s)}this.matteMasks[t]=o}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+u()+"#"+t+")")}},Cn.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},h([Je,p({initElement:function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],An),h([pn,vn,Mn,Cn,fn,An],In),In.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=Q("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},In.prototype.sourceRectAtTime=function(){return this.sourceRect},Dn.prototype={addShapeToModifiers:function(t){var e,n=this.shapeModifiers.length;for(e=0;e<n;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=0,n=this.shapeModifiers.length;e<n;)if(this.shapeModifiers[e].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,n=0,i=e.length;n<i;){if(e[n].elem===t)return e[n].pos;n+=1}return 0},addProcessedElement:function(t,e){for(var n=this.processedElements,i=n.length;i;)if(n[i-=1].elem===t)return void(n[i].pos=e);n.push(new kn(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var Pn={1:"butt",2:"round",3:"square"},On={1:"miter",2:"round",3:"bevel"};function En(t,e,n){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=n,this.lvl=e,this._isAnimated=!!n.k;for(var i=0,r=t.length;i<r;){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function Ln(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=Q("path"),this.msElem=null}function Rn(t,e,n,i){var r;this.elem=t,this.frameId=-1,this.dataProps=g(e.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=d("float32",e.length?e.length-1:0),this.dashoffset=d("float32",1),this.initDynamicPropertyContainer(i);var o,a=e.length||0;for(r=0;r<a;r+=1)o=Lt.getProp(t,e[r].v,0,0,this),this.k=o.k||this.k,this.dataProps[r]={n:e[r].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function Nn(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=Lt.getProp(t,e.o,0,.01,this),this.w=Lt.getProp(t,e.w,0,null,this),this.d=new Rn(t,e.d||{},"svg",this),this.c=Lt.getProp(t,e.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}function Fn(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=Lt.getProp(t,e.o,0,.01,this),this.c=Lt.getProp(t,e.c,1,255,this),this.style=n}function Bn(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=n}function zn(t,e,n){this.data=e,this.c=d("uint8c",4*e.p);
vendor: 4,147 bytes, line 1
1var i=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=d("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(n),this.prop=Lt.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function Vn(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,n)}function jn(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=Lt.getProp(t,e.w,0,null,this),this.d=new Rn(t,e.d||{},"svg",this),this.initGradientData(t,e,n),this._isAnimated=!!this._isAnimated}function Gn(){this.it=[],this.prevViewData=[],this.gr=Q("g")}function Wn(t,e,n){this.transform={mProps:t,op:e,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}En.prototype.setAsAnimated=function(){this._isAnimated=!0},Ln.prototype.reset=function(){this.d="",this._mdf=!1},Rn.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<n;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},h([Rt],Rn),h([Rt],Nn),h([Rt],Fn),h([Rt],Bn),zn.prototype.comparePoints=function(t,e){for(var n=0,i=this.o.length/2;n<i;){if(Math.abs(t[4*n]-t[4*e+2*n])>.01)return!1;n+=1}return!0},zn.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},zn.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,n,i,r=4*this.data.p;for(e=0;e<r;e+=1)n=e%4==0?100:255,i=Math.round(this.prop.v[e]*n),this.c[e]!==i&&(this.c[e]=i,this._cmdf=!t);if(this.o.length)for(r=this.prop.v.length,e=4*this.data.p;e<r;e+=1)n=e%2==0?100:1,i=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==i&&(this.o[e-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},h([Rt],zn),Vn.prototype.initGradientData=function(t,e,n){this.o=Lt.getProp(t,e.o,0,.01,this),this.s=Lt.getProp(t,e.s,1,null,this),this.e=Lt.getProp(t,e.e,1,null,this),this.h=Lt.getProp(t,e.h||{k:0},0,.01,this),this.a=Lt.getProp(t,e.a||{k:0},0,I,this),this.g=new zn(t,e.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,e),this.setGradientOpacity(e,n),this._isAnimated=!!this._isAnimated},Vn.prototype.setGradientData=function(t,e){var n=z(),i=Q(1===e.t?"linearGradient":"radialGradient");i.setAttribute("id",n),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var r,o,a,s=[];for(a=4*e.g.p,o=0;o<a;o+=4)r=Q("stop"),i.appendChild(r),s.push(r);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+u()+"#"+n+")"),this.gf=i,this.cst=s},Vn.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var n,i,r,o=Q("mask"),a=Q("path");o.appendChild(a);var s=z(),l=z();o.setAttribute("id",l);var c=Q(1===t.t?"linearGradient":"radialGradient");c.setAttribute("id",s),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),r=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var h=this.stops;for(i=4*t.g.p;i<r;i+=2)(n=Q("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(n),h.push(n);a.setAttribute("gf"===t.ty?"fill":"stroke","url("+u()+"#"+s+")"),"gs"===t.ty&&(a.setAttribute("stroke-linecap",Pn[t.lc||2]),a.setAttribute("stroke-linejoin",On[t.lj||2]),1===t.lj&&a.setAttribute("stroke-miterlimit",t.ml)),this.of=c,this.ms=o,this.ost=h,this.maskId=l,e.msElem=a}},h([Rt],Vn),h([Vn,Rt],jn);var Hn=function(t,e,n,i){if(0===e)return"";var r,o=t.o,a=t.i,s=t.v,l=" M"+i.applyToPointStringified(s[0][0],s[0][1]);for(r=1;r<e;
vendor: 8,704 bytes, line 1
1r+=1)l+=" C"+i.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+i.applyToPointStringified(a[r][0],a[r][1])+" "+i.applyToPointStringified(s[r][0],s[r][1]);return n&&e&&(l+=" C"+i.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+i.applyToPointStringified(a[0][0],a[0][1])+" "+i.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},Zn=function(){var t=new Gt,e=new Gt;function n(t){switch(t.ty){case"fl":return a;case"gf":return l;case"gs":return s;case"st":return u;case"sh":case"el":case"rc":case"sr":return o;case"tr":return i;case"no":return r;default:return null}}function i(t,e,n){(n||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(n||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function r(){}function o(n,i,r){var o,a,s,l,u,c,h,p,f,d,g,m=i.styles.length,v=i.lvl;for(c=0;c<m;c+=1){if(l=i.sh._mdf||r,i.styles[c].lvl<v){for(p=e.reset(),d=v-i.styles[c].lvl,g=i.transformers.length-1;!l&&d>0;)l=i.transformers[g].mProps._mdf||l,d-=1,g-=1;if(l)for(d=v-i.styles[c].lvl,g=i.transformers.length-1;d>0;)f=i.transformers[g].mProps.v.props,p.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),d-=1,g-=1}else p=t;if(a=(h=i.sh.paths)._length,l){for(s="",o=0;o<a;o+=1)(u=h.shapes[o])&&u._length&&(s+=Hn(u,u._length,u.c,p));i.caches[c]=s}else s=i.caches[c];i.styles[c].d+=!0===n.hd?"":s,i.styles[c]._mdf=l||i.styles[c]._mdf}}function a(t,e,n){var i=e.style;(e.c._mdf||n)&&i.pElem.setAttribute("fill","rgb("+T(e.c.v[0])+","+T(e.c.v[1])+","+T(e.c.v[2])+")"),(e.o._mdf||n)&&i.pElem.setAttribute("fill-opacity",e.o.v)}function s(t,e,n){l(t,e,n),u(t,e,n)}function l(t,e,n){var i,r,o,a,s,l=e.gf,u=e.g._hasOpacity,c=e.s.v,h=e.e.v;if(e.o._mdf||n){var p="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(p,e.o.v)}if(e.s._mdf||n){var f=1===t.t?"x1":"cx",d="x1"===f?"y1":"cy";l.setAttribute(f,c[0]),l.setAttribute(d,c[1]),u&&!e.g._collapsable&&(e.of.setAttribute(f,c[0]),e.of.setAttribute(d,c[1]))}if(e.g._cmdf||n){i=e.cst;var g=e.g.c;for(o=i.length,r=0;r<o;r+=1)(a=i[r]).setAttribute("offset",g[4*r]+"%"),a.setAttribute("stop-color","rgb("+g[4*r+1]+","+g[4*r+2]+","+g[4*r+3]+")")}if(u&&(e.g._omdf||n)){var m=e.g.o;for(o=(i=e.g._collapsable?e.cst:e.ost).length,r=0;r<o;r+=1)a=i[r],e.g._collapsable||a.setAttribute("offset",m[2*r]+"%"),a.setAttribute("stop-opacity",m[2*r+1])}if(1===t.t)(e.e._mdf||n)&&(l.setAttribute("x2",h[0]),l.setAttribute("y2",h[1]),u&&!e.g._collapsable&&(e.of.setAttribute("x2",h[0]),e.of.setAttribute("y2",h[1])));else if((e.s._mdf||e.e._mdf||n)&&(s=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)),l.setAttribute("r",s),u&&!e.g._collapsable&&e.of.setAttribute("r",s)),e.e._mdf||e.h._mdf||e.a._mdf||n){s||(s=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)));var v=Math.atan2(h[1]-c[1],h[0]-c[0]),y=e.h.v;y>=1?y=.99:y<=-1&&(y=-.99);var _=s*y,x=Math.cos(v+e.a.v)*_+c[0],b=Math.sin(v+e.a.v)*_+c[1];l.setAttribute("fx",x),l.setAttribute("fy",b),u&&!e.g._collapsable&&(e.of.setAttribute("fx",x),e.of.setAttribute("fy",b))}}function u(t,e,n){var i=e.style,r=e.d;r&&(r._mdf||n)&&r.dashStr&&(i.pElem.setAttribute("stroke-dasharray",r.dashStr),i.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||n)&&i.pElem.setAttribute("stroke","rgb("+T(e.c.v[0])+","+T(e.c.v[1])+","+T(e.c.v[2])+")"),(e.o._mdf||n)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||n)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:n}}();function $n(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,n),this.prevViewData=[]}function Un(t,e,n,i,r,o){this.o=t,this.sw=e,this.sc=n,this.fc=i,this.m=r,this.p=o,this._mdf={o:!0,sw:!!e,sc:!!n,fc:!!i,m:!0,p:!0}}function Xn(t,e){this._frameId=o,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}h([pn,vn,Mn,Dn,Cn,fn,An],$n),$n.prototype.initSecondaryElement=function(){},$n.prototype.identityMatrix=new Gt,$n.prototype.buildExpressionInterface=function(){},$n.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},$n.prototype.filterUniqueShapes=function(){var t,e,n,i,r=this.shapes.length,o=this.stylesList.length,a=[],s=!1;for(n=0;n<o;n+=1){for(i=this.stylesList[n],s=!1,a.length=0,t=0;t<r;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(a.push(e),s=e._isAnimated||s);a.length>1&&s&&this.setShapesAsAnimated(a)}},$n.prototype.setShapesAsAnimated=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e].setAsAnimated()},$n.prototype.createStyleElement=function(t,e){var n,i=new Ln(t,e),r=i.pElem;return"st"===t.ty?n=new Nn(this,t,i):"fl"===t.ty?n=new Fn(this,t,i):"gf"===t.ty||"gs"===t.ty?(n=new("gf"===t.ty?Vn:jn)(this,t,i),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),r.setAttribute("mask","url("+u()+"#"+n.maskId+")"))):"no"===t.ty&&(n=new Bn(this,t,i)),"st"!==t.ty&&"gs"!==t.ty||(r.setAttribute("stroke-linecap",Pn[t.lc||2]),r.setAttribute("stroke-linejoin",On[t.lj||2]),r.setAttribute("fill-opacity","0"),1===t.lj&&r.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&r.setAttribute("fill-rule","evenodd"),t.ln&&r.setAttribute("id",t.ln),t.cl&&r.setAttribute("class",t.cl),t.bm&&(r.style["mix-blend-mode"]=tn(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,n),n},$n.prototype.createGroupElement=function(t){var e=new Gn;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=tn(t.bm)),e},$n.prototype.createTransformElement=function(t,e){var n=fe.getTransformProperty(this,t,this),i=new Wn(n,n.o,e);return this.addToAnimatedContents(t,i),i},$n.prototype.createShapeElement=function(t,e,n){var i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7);var r=new En(e,n,jt.getShapeProp(this,t,i,this));return this.shapes.push(r),this.addShapeToModifiers(r),this.addToAnimatedContents(t,r),r},$n.prototype.addToAnimatedContents=function(t,e){for(var n=0,i=this.animatedContents.length;n<i;){if(this.animatedContents[n].element===e)return;n+=1}this.animatedContents.push({fn:Zn.createRenderFunction(t),element:e,data:t})},$n.prototype.setElementStyles=function(t){var e,n=t.styles,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||n.push(this.stylesList[e])},$n.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},$n.prototype.searchShapes=function(t,e,n,i,r,o,a){var s,l,u,c,h,p,f=[].concat(o),d=t.length-1,g=[],m=[];for(s=d;s>=0;s-=1){if((p=this.searchProcessedElement(t[s]))?e[s]=n[p-1]:t[s]._render=a,"fl"===t[s].ty||"st"===t[s].ty||"gf"===t[s].ty||"gs"===t[s].ty||"no"===t[s].ty)p?e[s].style.closed=!1:e[s]=this.createStyleElement(t[s],r),t[s]._render&&e[s].style.pElem.parentNode!==i&&i.appendChild(e[s].style.pElem),g.push(e[s].style);else if("gr"===t[s].ty){if(p)for(u=e[s].it.length,l=0;l<u;l+=1)e[s].prevViewData[l]=e[s].it[l];else e[s]=this.createGroupElement(t[s]);this.searchShapes(t[s].it,e[s].it,e[s].prevViewData,e[s].gr,r+1,f,a),t[s]._render&&e[s].gr.parentNode!==i&&i.appendChild(e[s].gr)}else"tr"===t[s].ty?(p||(e[s]=this.createTransformElement(t[s],i)),c=e[s].transform,f.push(c)):"sh"===t[s].ty||"rc"===t[s].ty||"el"===t[s].ty||"sr"===t[s].ty?(p||(e[s]=this.createShapeElement(t[s],f,r)),this.setElementStyles(e[s])):"tm"===t[s].ty||"rd"===t[s].ty||"ms"===t[s].ty||"pb"===t[s].ty||"zz"===t[s].ty||"op"===t[s].ty?(p?(h=e[s]).closed=!1:((h=ue.getModifier(t[s].ty)).init(this,t[s]),e[s]=h,this.shapeModifiers.push(h)),m.push(h)):"rp"===t[s].ty&&
vendor: 4,614 bytes, line 1
1(p?(h=e[s]).closed=!0:(h=ue.getModifier(t[s].ty),e[s]=h,h.init(this,t,s,e),this.shapeModifiers.push(h),a=!1),m.push(h));this.addProcessedElement(t[s],s+1)}for(d=g.length,s=0;s<d;s+=1)g[s].closed=!0;for(d=m.length,s=0;s<d;s+=1)m[s].closed=!0},$n.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},$n.prototype.renderShape=function(){var t,e,n=this.animatedContents.length;for(t=0;t<n;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},$n.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},Un.prototype.update=function(t,e,n,i,r,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,a=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,a=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,a=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,a=!0),this.m!==r&&(this.m=r,this._mdf.m=!0,a=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,a=!0),a},Xn.prototype.defaultBoxWidth=[0,0],Xn.prototype.copyData=function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},Xn.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},Xn.prototype.searchProperty=function(){return this.searchKeyframes()},Xn.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Xn.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},Xn.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var i;this.lock=!0,this._mdf=!1;var r=this.effectsSequence.length,o=t||this.data.d.k[this.keysIndex].s;for(i=0;i<r;i+=1)o=n!==this.keysIndex?this.effectsSequence[i](o,o.t):this.effectsSequence[i](this.currentData,o.t);e!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},Xn.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,n=0,i=t.length;n<=i-1&&!(n===i-1||t[n+1].t>e);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},Xn.prototype.buildFinalText=function(t){for(var e,n,i=[],r=0,o=t.length,a=!1;r<o;)e=t.charCodeAt(r),qe.isCombinedCharacter(e)?i[i.length-1]+=t.charAt(r):e>=55296&&e<=56319?(n=t.charCodeAt(r+1))>=56320&&n<=57343?(a||qe.isModifier(e,n)?(i[i.length-1]+=t.substr(r,2),a=!1):i.push(t.substr(r,2)),r+=1):i.push(t.charAt(r)):e>56319?(n=t.charCodeAt(r+1),qe.isZeroWidthJoiner(e,n)?(a=!0,i[i.length-1]+=t.substr(r,2),r+=1):i.push(t.charAt(r))):qe.isZeroWidthJoiner(e)?(i[i.length-1]+=t.charAt(r),a=!0):i.push(t.charAt(r)),r+=1;return i},Xn.prototype.completeTextData=function(t){t.__complete=!0;var e,n,i,r,o,a,s,l=this.elem.globalData.fontManager,u=this.data,c=[],h=0,p=u.m.g,f=0,d=0,g=0,m=[],v=0,y=0,_=l.getFontByName(t.f),x=0,b=Xe(_);t.fWeight=b.weight,t.fStyle=b.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),n=t.finalText.length,t.finalLineHeight=t.lh;var w,S=t.tr/1e3*t.finalSize;if(t.sz)for(var T,M,C=!0,A=t.sz[0],I=t.sz[1];C;){T=0,v=0,n=(M=this.buildFinalText(t.t)).length,S=t.tr/1e3*t.finalSize;var k=-1;for(e=0;e<n;e+=1)w=M[e].charCodeAt(0),i=!1," "===M[e]?k=e:13!==w&&3!==w||(v=0,i=!0,T+=t.finalLineHeight||1.2*t.finalSize),l.chars?(s=l.getCharData(M[e],_.fStyle,_.fFamily),x=i?0:s.w*t.finalSize/100):x=l.measureText(M[e],t.f,t.finalSize),v+x>A&&" "!==M[e]?(-1===k?n+=1:e=k,T+=t.finalLineHeight||1.2*t.finalSize,M.splice(e,k===e?1:0,"\r"),k=-1,v=0):(v+=x,v+=S);T+=_.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&I<T?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=M,n=t.finalText.length,C=!1)}v=-S,x=0;var D,P=0;for(e=0;e<n;
vendor: 13,168 bytes, line 1
1e+=1)if(i=!1,13===(w=(D=t.finalText[e]).charCodeAt(0))||3===w?(P=0,m.push(v),y=v>y?v:y,v=-2*S,r="",i=!0,g+=1):r=D,l.chars?(s=l.getCharData(D,_.fStyle,l.getFontByName(t.f).fFamily),x=i?0:s.w*t.finalSize/100):x=l.measureText(r,t.f,t.finalSize)," "===D?P+=x+S:(v+=x+S+P,P=0),c.push({l:x,an:x,add:f,n:i,anIndexes:[],val:r,line:g,animatorJustifyOffset:0}),2==p){if(f+=x,""===r||" "===r||e===n-1){for(""!==r&&" "!==r||(f-=x);d<=e;)c[d].an=f,c[d].ind=h,c[d].extra=x,d+=1;h+=1,f=0}}else if(3==p){if(f+=x,""===r||e===n-1){for(""===r&&(f-=x);d<=e;)c[d].an=f,c[d].ind=h,c[d].extra=x,d+=1;f=0,h+=1}}else c[h].ind=h,c[h].extra=0,h+=1;if(t.l=c,y=v>y?v:y,m.push(v),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=y,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=m;var O,E,L,R,N=u.a;a=N.length;var F=[];for(o=0;o<a;o+=1){for((O=N[o]).a.sc&&(t.strokeColorAnim=!0),O.a.sw&&(t.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(t.fillColorAnim=!0),R=0,L=O.s.b,e=0;e<n;e+=1)(E=c[e]).anIndexes[o]=R,(1==L&&""!==E.val||2==L&&""!==E.val&&" "!==E.val||3==L&&(E.n||" "==E.val||e==n-1)||4==L&&(E.n||e==n-1))&&(1===O.s.rn&&F.push(R),R+=1);u.a[o].s.totalChars=R;var B,z=-1;if(1===O.s.rn)for(e=0;e<n;e+=1)z!=(E=c[e]).anIndexes[o]&&(z=E.anIndexes[o],B=F.splice(Math.floor(Math.random()*F.length),1)[0]),E.anIndexes[o]=B}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=_.ascent*t.finalSize/100},Xn.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var n=this.copyData({},this.data.d.k[e].s);n=this.copyData(n,t),this.data.d.k[e].s=n,this.recalculate(e),this.setCurrentData(n),this.elem.addDynamicProperty(this)},Xn.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},Xn.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},Xn.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var qn=function(){var t=Math.max,e=Math.min,n=Math.floor;function i(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=Lt.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?Lt.getProp(t,e.e,0,0,this):{v:100},this.o=Lt.getProp(t,e.o||{k:0},0,0,this),this.xe=Lt.getProp(t,e.xe||{k:0},0,0,this),this.ne=Lt.getProp(t,e.ne||{k:0},0,0,this),this.sm=Lt.getProp(t,e.sm||{k:100},0,0,this),this.a=Lt.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}function r(t,e,n){return new i(t,e,n)}return i.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var r=0,o=0,a=1,s=1;this.ne.v>0?r=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:s=1+this.xe.v/100;var l=ft.getBezierEasing(r,o,a,s).get,u=0,c=this.finalS,h=this.finalE,p=this.data.sh;if(2===p)u=l(u=h===c?i>=h?1:0:t(0,e(.5/(h-c)+(i-c)/(h-c),1)));else if(3===p)u=l(u=h===c?i>=h?0:1:1-t(0,e(.5/(h-c)+(i-c)/(h-c),1)));else if(4===p)h===c?u=0:(u=t(0,e(.5/(h-c)+(i-c)/(h-c),1)))<.5?u*=2:u=1-2*(u-.5),u=l(u);else if(5===p){if(h===c)u=0;else{var f=h-c,d=-f/2+(i=e(t(0,i+.5-c),h-c)),g=f/2;u=Math.sqrt(1-d*d/(g*g))}u=l(u)}else 6===p?(h===c?u=0:(i=e(t(0,i+.5-c),h-c),u=(1+Math.cos(Math.PI+2*Math.PI*i/(h-c)))/2),u=l(u)):(i>=n(c)&&(u=t(0,e(i-c<0?e(h,1)-(c-i):h-i,1))),u=l(u));if(100!==this.sm.v){var m=.01*this.sm.v;0===m&&(m=1e-8);var v=.5-.5*m;u<v?u=0:(u=(u-v)/m)>1&&(u=1)}return u*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/e,i=this.s.v/e+n,r=this.e.v/e+n;if(i>r){var o=i;i=r,r=o}this.finalS=i,this.finalE=r}},h([Rt],i),{getTextSelectorProp:r}}();function Yn(t,e,n){var i={propType:!1},r=Lt.getProp,o=e.a;this.a={r:o.r?r(t,o.r,0,I,n):i,rx:o.rx?r(t,o.rx,0,I,n):i,ry:o.ry?r(t,o.ry,0,I,n):i,sk:o.sk?r(t,o.sk,0,I,n):i,sa:o.sa?r(t,o.sa,0,I,n):i,s:o.s?r(t,o.s,1,.01,n):i,a:o.a?r(t,o.a,1,0,n):i,o:o.o?r(t,o.o,0,.01,n):i,p:o.p?r(t,o.p,1,0,n):i,sw:o.sw?r(t,o.sw,0,0,n):i,sc:o.sc?r(t,o.sc,1,0,n):i,fc:o.fc?r(t,o.fc,1,0,n):i,fh:o.fh?r(t,o.fh,0,0,n):i,fs:o.fs?r(t,o.fs,0,.01,n):i,fb:o.fb?r(t,o.fb,0,.01,n):i,t:o.t?r(t,o.t,0,0,n):i},this.s=qn.getTextSelectorProp(t,e.s,n),this.s.t=e.s.t}function Kn(t,e,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=n,this._animatorsData=g(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function Jn(){}Kn.prototype.searchProperties=function(){var t,e,n=this._textData.a.length,i=Lt.getProp;for(t=0;t<n;t+=1)e=this._textData.a[t],this._animatorsData[t]=new Yn(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},Kn.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var n,i,r,o,a,s,l,u,c,h,p,f,d,g,m,v,y,_,x,b=this._moreOptions.alignment.v,w=this._animatorsData,S=this._textData,T=this.mHelper,M=this._renderType,C=this.renderedLetters.length,A=t.l;if(this._hasMaskedPath){if(x=this._pathData.m,!this._pathData.n||this._pathData._mdf){var I,k=x.v;for(this._pathData.r.v&&(k=k.reverse()),a={tLength:0,segments:[]},o=k._length-1,v=0,r=0;r<o;r+=1)I=_t.buildBezierData(k.v[r],k.v[r+1],[k.o[r][0]-k.v[r][0],k.o[r][1]-k.v[r][1]],[k.i[r+1][0]-k.v[r+1][0],k.i[r+1][1]-k.v[r+1][1]]),a.tLength+=I.segmentLength,a.segments.push(I),v+=I.segmentLength;r=o,x.v.c&&(I=_t.buildBezierData(k.v[r],k.v[0],[k.o[r][0]-k.v[r][0],k.o[r][1]-k.v[r][1]],[k.i[0][0]-k.v[0][0],k.i[0][1]-k.v[0][1]]),a.tLength+=I.segmentLength,a.segments.push(I),v+=I.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,s=this._pathData.f.v,p=0,h=1,u=0,c=!0,g=a.segments,s<0&&x.v.c)for(a.tLength<Math.abs(s)&&(s=-Math.abs(s)%a.tLength),h=(d=g[p=g.length-1].points).length-1;s<0;)s+=d[h].partialLength,(h-=1)<0&&(h=(d=g[p-=1].points).length-1);f=(d=g[p].points)[h-1],m=(l=d[h]).partialLength}o=A.length,n=0,i=0;var D,P,O,E,L,R=1.2*t.finalSize*.714,N=!0;O=w.length;var F,B,z,V,j,Z,$,U,X,q,Y,K,J=-1,Q=s,tt=p,et=h,nt=-1,it="",rt=this.defaultPropsArray;if(2===t.j||1===t.j){var ot=0,at=0,st=2===t.j?-.5:-1,lt=0,ut=!0;for(r=0;r<o;r+=1)if(A[r].n){for(ot&&(ot+=at);lt<r;)A[lt].animatorJustifyOffset=ot,lt+=1;ot=0,ut=!0}else{for(P=0;P<O;P+=1)(D=w[P].a).t.propType&&(ut&&2===t.j&&(at+=D.t.v*st),(L=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars)).length?ot+=D.t.v*L[0]*st:ot+=D.t.v*L*st);ut=!1}for(ot&&(ot+=at);lt<r;)A[lt].animatorJustifyOffset=ot,lt+=1}for(r=0;r<o;r+=1){if(T.reset(),V=1,A[r].n)n=0,i+=t.yOffset,i+=N?1:0,s=Q,N=!1,this._hasMaskedPath&&(h=et,f=(d=g[p=tt].points)[h-1],m=(l=d[h]).partialLength,u=0),it="",Y="",X="",K="",rt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(nt!==A[r].line){switch(t.j){case 1:s+=v-t.lineWidths[A[r].line];break;case 2:s+=(v-t.lineWidths[A[r].line])/2}nt=A[r].line}J!==A[r].ind&&(A[J]&&(s+=A[J].extra),s+=A[r].an/2,J=A[r].ind),s+=b[0]*A[r].an*.005;var ct=0;for(P=0;P<O;P+=1)(D=w[P].a).p.propType&&((L=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars)).length?ct+=D.p.v[0]*L[0]:ct+=D.p.v[0]*L),D.a.propType&&((L=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars)).length?ct+=D.a.v[0]*L[0]:ct+=D.a.v[0]*L);for(c=!0,this._pathData.a.v&&(s=.5*A[0].an+(v-this._pathData.f.v-.5*A[0].an-.5*A[A.length-1].an)*J/(o-1),s+=this._pathData.f.v);c;)u+m>=s+ct||!d?(y=(s+ct-u)/l.partialLength,B=f.point[0]+(l.point[0]-f.point[0])*y,z=f.point[1]+(l.point[1]-f.point[1])*y,T.translate(-b[0]*A[r].an*.005,-b[1]*R*.01),c=!1):d&&(u+=l.partialLength,(h+=1)>=d.length&&(h=0,g[p+=1]?d=g[p].points:x.v.c?(h=0,d=g[p=0].points):(u-=l.partialLength,d=null)),d&&(f=l,m=(l=d[h]).partialLength));F=A[r].an/2-A[r].add,T.translate(-F,0,0)}else F=A[r].an/2-A[r].add,T.translate(-F,0,0),T.translate(-b[0]*A[r].an*.005,-b[1]*R*.01,0);for(P=0;P<O;P+=1)(D=w[P].a).t.propType&&(L=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars),0===n&&0===t.j||(this._hasMaskedPath?L.length?s+=D.t.v*L[0]:s+=D.t.v*L:L.length?n+=D.t.v*L[0]:n+=D.t.v*L));for(t.strokeWidthAnim&&(Z=t.sw||0),t.strokeColorAnim&&(j=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&($=[t.fc[0],t.fc[1],t.fc[2]]),P=0;P<O;P+=1)(D=w[P].a).a.propType&&((L=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars)).length?T.translate(-D.a.v[0]*L[0],-D.a.v[1]*L[1],D.a.v[2]*L[2]):T.translate(-D.a.v[0]*L,-D.a.v[1]*L,D.a.v[2]*L));for(P=0;P<O;P+=1)(D=w[P].a).s.propType&&((L=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars)).length?T.scale(1+(D.s.v[0]-1)*L[0],1+(D.s.v[1]-1)*L[1],1):T.scale(1+(D.s.v[0]-1)*L,1+(D.s.v[1]-1)*L,1));for(P=0;P<O;P+=1){if(D=w[P].a,L=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars),D.sk.propType&&(L.length?T.skewFromAxis(-D.sk.v*L[0],D.sa.v*L[1]):T.skewFromAxis(-D.sk.v*L,D.sa.v*L)),D.r.propType&&(L.length?T.rotateZ(-D.r.v*L[2]):T.rotateZ(-D.r.v*L)),D.ry.propType&&(L.length?T.rotateY(D.ry.v*L[1]):T.rotateY(D.ry.v*L)),D.rx.propType&&(L.length?T.rotateX(D.rx.v*L[0]):T.rotateX(D.rx.v*L)),D.o.propType&&(L.length?V+=(D.o.v*L[0]-V)*L[0]:V+=(D.o.v*L-V)*L),t.strokeWidthAnim&&D.sw.propType&&(L.length?Z+=D.sw.v*L[0]:Z+=D.sw.v*L),t.strokeColorAnim&&D.sc.propType)for(U=0;U<3;U+=1)L.length?j[U]+=(D.sc.v[U]-j[U])*L[0]:j[U]+=(D.sc.v[U]-j[U])*L;if(t.fillColorAnim&&t.fc){if(D.fc.propType)for(U=0;U<3;U+=1)L.length?$[U]+=(D.fc.v[U]-$[U])*L[0]:$[U]+=(D.fc.v[U]-$[U])*L;D.fh.propType&&($=L.length?H($,D.fh.v*L[0]):H($,D.fh.v*L)),D.fs.propType&&($=L.length?G($,D.fs.v*L[0]):G($,D.fs.v*L)),D.fb.propType&&($=L.length?W($,D.fb.v*L[0]):W($,D.fb.v*L))}}for(P=0;P<O;P+=1)(D=w[P].a).p.propType&&(L=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars),this._hasMaskedPath?L.length?T.translate(0,D.p.v[1]*L[0],-D.p.v[2]*L[1]):T.translate(0,D.p.v[1]*L,-D.p.v[2]*L):L.length?T.translate(D.p.v[0]*L[0],D.p.v[1]*L[1],-D.p.v[2]*L[2]):T.translate(D.p.v[0]*L,D.p.v[1]*L,-D.p.v[2]*L));if(t.strokeWidthAnim&&(X=Z<0?0:Z),t.strokeColorAnim&&(q="rgb("+Math.round(255*j[0])+","+Math.round(255*j[1])+","+Math.round(255*j[2])+")"),t.fillColorAnim&&t.fc&&(Y="rgb("+Math.round(255*$[0])+","+Math.round(255*$[1])+","+Math.round(255*$[2])+")"),this._hasMaskedPath){if(T.translate(0,-t.ls),T.translate(0,b[1]*R*.01+i,0),this._pathData.p.v){_=(l.point[1]-f.point[1])/(l.point[0]-f.point[0]);var ht=180*Math.atan(_)/Math.PI;l.point[0]<f.point[0]&&(ht+=180),T.rotate(-ht*Math.PI/180)}T.translate(B,z,0),s-=b[0]*A[r].an*.005,A[r+1]&&J!==A[r+1].ind&&(s+=A[r].an/2,s+=.001*t.tr*t.finalSize)}else{switch(T.translate(n,i,0),t.ps&&T.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:T.translate(A[r].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[r].line]),0,0);break;case 2:T.translate(A[r].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[r].line])/2,0,0)}T.translate(0,-t.ls),T.translate(F,0,0),T.translate(b[0]*A[r].an*.005,b[1]*R*.01,0),n+=A[r].l+.001*t.tr*t.finalSize}"html"===M?it=T.toCSS():"svg"===M?it=T.to2dCSS():rt=[T.props[0],T.props[1],T.props[2],T.props[3],T.props[4],T.props[5],T.props[6],T.props[7],T.props[8],T.props[9],T.props[10],T.props[11],T.props[12],T.props[13],T.props[14],T.props[15]],K=V}C<=r?(E=new Un(K,X,q,Y,it,rt),this.renderedLetters.push(E),C+=1,this.lettersChangedFlag=!0):(E=this.renderedLetters[r],this.lettersChangedFlag=E.update(K,X,q,Y,it,rt)||this.lettersChangedFlag)}}},Kn.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Kn.prototype.mHelper=new Gt,Kn.prototype.defaultPropsArray=[],h([Rt],Kn),Jn.prototype.initElement=function(t,e,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,n),this.textProperty=new Xn(this,t.t,this.dynamicProperties),this.textAnimator=new Kn(t.t,this.renderType,this),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Jn.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},Jn.prototype.createPathShape=function(t,e){var n,i,r=e.length,o="";for(n=0;n<r;
vendor: 7,462 bytes, line 1
1n+=1)"sh"===e[n].ty&&(i=e[n].ks.k,o+=Hn(i,i.i.length,!0,t));return o},Jn.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},Jn.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},Jn.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},Jn.prototype.applyTextPropertiesToMatrix=function(t,e,n,i,r){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n])/2,0,0)}e.translate(i,r,0)},Jn.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},Jn.prototype.emptyProp=new Un,Jn.prototype.destroy=function(){};var Qn={shapes:[]};function ti(t,e,n){this.textSpans=[],this.renderType="svg",this.initElement(t,e,n)}function ei(t,e,n){this.initElement(t,e,n)}function ni(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initFrame(),this.initTransform(t,e,n),this.initHierarchy()}function ii(){}function ri(){}function oi(t,e,n){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?g(this.layers.length):[],this.initElement(t,e,n),this.tm=t.tm?Lt.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function ai(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=Q("svg");var n="";if(e&&e.title){var i=Q("title"),r=z();i.setAttribute("id",r),i.textContent=e.title,this.svgElement.appendChild(i),n+=r}if(e&&e.description){var o=Q("desc"),a=z();o.setAttribute("id",a),o.textContent=e.description,this.svgElement.appendChild(o),n+=" "+a}n&&this.svgElement.setAttribute("aria-labelledby",n);var s=Q("defs");this.svgElement.appendChild(s);var l=Q("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return h([pn,vn,Mn,Cn,fn,An,Jn],ti),ti.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Q("text"))},ti.prototype.buildTextContents=function(t){for(var e=0,n=t.length,i=[],r="";e<n;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(r),r=""):r+=t[e],e+=1;return i.push(r),i},ti.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var n=t.shapes[0];if(n.it){var i=n.it[n.it.length-1];i.s&&(i.s.k[0]=e,i.s.k[1]=e)}}return t},ti.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var n=this.textProperty.currentData;this.renderedLetters=g(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var i=this.globalData.fontManager.getFontByName(n.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var r=n.fWeight,o=n.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",r)}this.layerElement.setAttribute("aria-label",n.t);var a,s=n.l||[],l=!!this.globalData.fontManager.chars;e=s.length;var u=this.mHelper,c="",h=this.data.singleShape,p=0,f=0,d=!0,m=.001*n.tr*n.finalSize;if(!h||l||n.sz){var v,y=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!l||!h||0===t){if(a=y>t?this.textSpans[t].span:Q(l?"g":"text"),y<=t){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=a,l){var _=Q("g");a.appendChild(_),this.textSpans[t].childSpan=_}this.textSpans[t].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(u.reset(),h&&(s[t].n&&(p=-m,f+=n.yOffset,f+=d?1:0,d=!1),this.applyTextPropertiesToMatrix(n,u,s[t].line,p,f),p+=s[t].l||0,p+=m),l){var x;if(1===(v=this.globalData.fontManager.getCharData(n.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily)).t)x=new oi(v.data,this.globalData,this);else{var b=Qn;v.data&&v.data.shapes&&(b=this.buildShapeData(v.data,n.finalSize)),x=new $n(b,this.globalData,this)}if(this.textSpans[t].glyph){var w=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(w.layerElement),w.destroy()}this.textSpans[t].glyph=x,x._debug=!0,x.prepareFrame(0),x.renderFrame(),this.textSpans[t].childSpan.appendChild(x.layerElement),1===v.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else h&&a.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),a.textContent=s[t].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}h&&a&&a.setAttribute("d",c)}else{var S=this.textContainer,T="start";switch(n.j){case 1:T="end";break;case 2:T="middle";break;default:T="start"}S.setAttribute("text-anchor",T),S.setAttribute("letter-spacing",m);var M=this.buildTextContents(n.finalText);for(e=M.length,f=n.ps?n.ps[1]+n.ascent:0,t=0;t<e;t+=1)(a=this.textSpans[t].span||Q("tspan")).textContent=M[t],a.setAttribute("x",0),a.setAttribute("y",f),a.style.display="inherit",S.appendChild(a),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=a,f+=n.finalLineHeight;this.layerElement.appendChild(S)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},ti.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},ti.prototype.getValue=function(){var t,e,n=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<n;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},ti.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var n,i,r,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(n=o[t],i=this.textSpans[t].span,(r=this.textSpans[t].glyph)&&r.renderFrame(),n._mdf.m&&i.setAttribute("transform",n.m),n._mdf.o&&i.setAttribute("op
1acity",n.o),n._mdf.sw&&i.setAttribute("stroke-width",n.sw),n._mdf.sc&&i.setAttribute("stroke",n.sc),n._mdf.fc&&i.setAttribute("fill",n.fc))}},h([In],ei),ei.prototype.createContent=function(){var t=Q("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},ni.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},ni.prototype.renderFrame=function(){},ni.prototype.getBaseElement=function(){return null},ni.prototype.destroy=function(){},ni.prototype.sourceRectAtTime=function(){},ni.prototype.hide=function(){},h([pn,vn,Cn,fn],ni),h([mn],ii),ii.prototype.createNull=function(t){return new ni(t,this.globalData,this)},ii.prototype.createShape=function(t){return new $n(t,this.globalData,this)},ii.prototype.createText=function(t){return new ti(t,this.globalData,this)},ii.prototype.createImage=function(t){return new In(t,this.globalData,this)},ii.prototype.createSolid=function(t){return new ei(t,this.globalData,this)},ii.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var n=Q("clipPath"),i=Q("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var r=z();n.setAttribute("id",r),n.appendChild(i),this.layerElement.setAttribute("clip-path","url("+u()+"#"+r+")"),e.appendChild(n),this.layers=t.layers,this.elements=g(t.layers.length)},ii.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},ii.prototype.updateContainerSize=function(){},ii.prototype.findIndexByInd=function(t){var e=0,n=this.layers.length;for(e=0;e<n;e+=1)if(this.layers[e].ind===t)return e;return-1},ii.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var n=this.createItem(this.layers[t]);if(e[t]=n,X()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,t),this.layers[t].tt){var i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(-1===i)return;if(this.elements[i]&&!0!==this.elements[i]){var r=e[i].getMatte(this.layers[t].tt);n.setMatte(r)}else this.buildItem(i),this.addPendingElement(n)}}},ii.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,n=this.elements.length;e<n;){if(this.elements[e]===t){var i="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,r=this.elements[i].getMatte(this.layers[e].tt);t.setMatte(r);break}e+=1}}},ii.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var n=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=n-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<n;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},ii.prototype.appendElementInPos=function(t,e){var n=t.getBaseElement();if(n){for(var i,r=0;r<e;)this.elements[r]&&!0!==this.elements[r]&&this.elements[r].getBaseElement()&&
vendor: 4,786 bytes, line 1
1(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(n,i):this.layerElement.appendChild(n)}},ii.prototype.hide=function(){this.layerElement.style.display="none"},ii.prototype.show=function(){this.layerElement.style.display="block"},h([pn,vn,Cn,fn,An],ri),ri.prototype.initElement=function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ri.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var n,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=i-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ri.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ri.prototype.setElements=function(t){this.elements=t},ri.prototype.getElements=function(){return this.elements},ri.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ri.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},h([ii,ri,Mn],oi),oi.prototype.createComp=function(t){return new oi(t,this.globalData,this)},h([ii],ai),ai.prototype.createComp=function(t){return new oi(t,this.globalData,this)},st("svg",ai),ue.registerModifier("tm",he),ue.registerModifier("pb",pe),ue.registerModifier("rp",de),ue.registerModifier("rd",ge),ue.registerModifier("zz",Le),ue.registerModifier("op",Ue),Ht}())},5140:function(){},6470:function(t){"use strict";function e(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function n(t,e){for(var n,i="",r=0,o=-1,a=0,s=0;s<=t.length;++s){if(s<t.length)n=t.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(i.length<2||2!==r||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",r=0):r=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),o=s,a=0;continue}}else if(2===i.length||1===i.length){i="",r=0,o=s,a=0;continue}e&&(i.length>0?i+="/..":i="..",r=2)}else i.length>0?i+="/"+t.slice(o+1,s):i=t.slice(o+1,s),r=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return i}var i={resolve:function(){for(var t,i="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var a;o>=0?a=arguments[o]:(void 0===t&&(t=process.cwd()),a=t),e(a),0!==a.length&&(i=a+"/"+i,r=47===a.charCodeAt(0))}return i=n(i,!r),r?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(t){if(e(t),0===t.length)return".";var i=47===t.charCodeAt(0),r=47===t.charCodeAt(t.length-1);return 0!==(t=n(t,!i)).length||i||(t="."),t.length>0&&r&&(t+="/"),i?"/"+t:t},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,n=0;n<arguments.length;++n){var r=arguments[n];e(r),r.length>0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":i.normalize(t)},relative:function(t,n){if(e(t),e(n),t===n)return"";if((t=i.resolve(t))===(n=i.resolve(n)))return"";for(var r=1;r<t.length&&47===t.charCodeAt(r);++r);for(var o=t.length,a=o-r,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var l=n.length-s,u=a<l?a:l,c=-1,h=0;h<=u;++h){if(h===u){if(l>u){if(47===n.charCodeAt(s+h))return n.slice(s+h+1);if(0===h)return n.slice(s+h)}else a>u&&(47===t.charCodeAt(r+h)?c=h:0===h&&(c=0));break}var p=t.charCodeAt(r+h);if(p!==n.charCodeAt(s+h))break;47===p&&(c=h)}var f="";for(h=r+c+1;h<=o;++h)h!==o&&47!==t.charCodeAt(h)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(s+c):(s+=c,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(t){return t},dirname:function(t){if(e(t),0===t.length)return".";for(var n=t.charCodeAt(0),i=47===n,r=-1,o=!0,a=t.length-1;a>=1;--a)if(47===(n=t.charCodeAt(a))){if(!o){r=a;break}}else o=!1;return-1===r?i?"/":".":i&&1===r?"//":t.slice(0,r)},basename:function(t,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');e(t);var i,r=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var s=n.length-1,l=-1;for(i=t.length-1;i>=0;--i){var u=t.charCodeAt(i);if(47===u){if(!a){r=i+1;break}}else-1===l&&(a=!1,l=i+1),s>=0&&(u===n.charCodeAt(s)?-1==--s&&(o=i):(s=-1,o=l))}
1return r===o?o=l:-1===o&&(o=t.length),t.slice(r,o)}for(i=t.length-1;i>=0;--i)if(47===t.charCodeAt(i)){if(!a){r=i+1;break}}else-1===o&&(a=!1,o=i+1);return-1===o?"":t.slice(r,o)},extname:function(t){e(t);for(var n=-1,i=0,r=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var l=t.charCodeAt(s);if(47!==l)-1===r&&(o=!1,r=s+1),46===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){i=s+1;break}}return-1===n||-1===r||0===a||1===a&&n===r-1&&n===i+1?"":t.slice(n,r)},format:function(t){if(null===t||"object"!=typeof t)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return function(t,e){var n=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+i:n+t+i:i}("/",t)},parse:function(t){e(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return n;var i,r=t.charCodeAt(0),o=47===r;o?(n.root="/",i=1):i=0;for(var a=-1,s=0,l=-1,u=!0,c=t.length-1,h=0;c>=i;--c)if(47!==(r=t.charCodeAt(c)))-1===l&&(u=!1,l=c+1),46===r?-1===a?a=c:1!==h&&(h=1):-1!==a&&(h=-1);else if(!u){s=c+1;break}return-1===a||-1===l||0===h||1===h&&a===l-1&&a===s+1?-1!==l&&(n.base=n.name=0===s&&o?t.slice(1,l):t.slice(s,l)):(0===s&&o?(n.name=t.slice(1,a),n.base=t.slice(1,l)):(n.name=t.slice(s,a),n.base=t.slice(s,l)),n.ext=t.slice(a,l)),s>0?n.dir=t.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,t.exports=i},3647:function(t,e,n){t.exports=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},i=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)};function r(t){for(var e=t.hasAttributes()?t.attributes:[],n={},i=0;i<e.length;i++){var r=e[i];r.value&&(n[r.name]=""===r.value||r.value)}var o=void 0,a=void 0;return n.class&&(o=n.class,delete n.class),n.style&&(a=n.style,delete n.style),{attrs:n,class:o,style:a}}function o(t){return Array.isArray(t)||"object"===(void 0===t?"undefined":e(t))?Object.freeze(t):t}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var i=n.passengers[0];return i="function"==typeof i?i(e):n.passengers,t.concat(i)}),[])}function s(t,e){return t.map((function(t,e){return[e,t]})).sort(function(t,e){return this(t[1],e[1])||t[0]-e[0]}.bind(e)).map((function(t){return t[1]}))}var l={},u=t.extend({data:function(){return{transports:l}},methods:{open:function(e){var n=e.to,i=e.from,r=e.passengers;if(n&&i&&r){e.passengers=o(r),-1===Object.keys(this.transports).indexOf(n)&&t.set(this.transports,n,[]);var a=this.getTransportIndex(e),l=this.transports[n].slice(0);-1===a?l.push(e):l[a]=e,this.transports[n]=s(l,(function(t,e){return t.order-e.order}))}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,i=t.from;if(n&&i&&this.transports[n])if(e)this.transports[n]=[];else{var r=this.getTransportIndex(t);if(r>=0){var o=this.transports[n].slice(0);o.splice(r,1),this.transports[n]=o}}},hasTarget:function(t){return this.transports.hasOwnProperty(t)},hasContentFor:function(t){return!!this.transports[t]&&this.getContentFor(t).length>0},getSourceFor:function(t){return this.transports[t]&&this.transports[t][0].from},getContentFor:function(t){var e=this.transports[t];if(e)return a(e)},getTransportIndex:function(t){var e=t.to,n=t.from;for(var i in this.transports[e])if(this.transports[e][i].from===n)return i;return-1}}}),c=new u(l),h=/^(attrs|props|on|nativeOn|class|style|hook)$/,p=function(t){return t.reduce((function(t,e){var n,i,r,o,a;for(r in e)if(n=t[r],i=e[r],n&&h.test(r))if("class"===r&&("string"==typeof n&&(a=n,t[r]=n={},n[a]=!0),"string"==typeof i&&(a=i,e[r]=i={},i[a]=!0)),"on"===r||"nativeOn"===r||"hook"===r)for(o in i)n[o]=f(n[o],i[o]);else if(Array.isArray(n))t[r]=n.concat(i);else if(Array.isArray(i))t[r]=[n].concat(i);else for(o in i)n[o]=i[o];else t[r]=e[r];return t}),{})};function f(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}var d={abstract:!1,name:"portalTarget",props:{attributes:{type:Object,default:function(){return{}}},multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[Boolean,String,Object],default:!1},transitionEvents:{type:Object,default:function(){return{}}}}
1,data:function(){return{transports:c.transports,firstRender:!0}},created:function(){this.transports[this.name]||this.$set(this.transports,this.name,[])},mounted:function(){var t=this;this.unwatch=this.$watch("ownTransports",this.emitChange),this.$nextTick((function(){t.transition&&(t.firstRender=!1)})),this.$options.abstract&&(this.$options.abstract=!1)},updated:function(){this.$options.abstract&&(this.$options.abstract=!1)},beforeDestroy:function(){this.unwatch()},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return a(this.ownTransports,this.slotProps)},hasAttributes:function(){return Object.keys(this.attributes).length>0},withTransition:function(){return!!this.transition},transitionData:function(){var t=this.transition,n={};return this.firstRender&&"object"===e(this.transition)&&!this.transition.appear?(n.props={name:"__notranstition__portal-vue__"},n):("string"==typeof t?n.props={name:t}:"object"===(void 0===t?"undefined":e(t))&&(n.props=t),this.renderSlim&&(n.props.tag=this.tag),n.on=this.transitionEvents,n)},transportedClasses:function(){return this.ownTransports.map((function(t){return t.class})).reduce((function(t,e){return t.concat(e)}),[])}},methods:{emitChange:function(t,e){if(this.multiple)this.$emit("change",[].concat(i(t)),[].concat(i(e)));else{var r=0===t.length?void 0:t[0],o=0===e.length?void 0:e[0];this.$emit("change",n({},r),n({},o))}},children:function(){return 0!==this.passengers.length?this.passengers:this.$slots.default||[]},noWrapper:function(){var t=!this.hasAttributes&&this.slim;return t&&this.children().length,t}},render:function(t){this.$options.abstract=!0;var e=this.noWrapper(),n=this.children(),i=e?"transition":"transition-group",r=this.tag;return this.withTransition?t(i,p([this.transitionData,{class:"vue-portal-target"}]),[n]):e?n[0]:t(r,p([{class:"vue-portal-target "+this.transportedClasses.join(" ")},this.attributes]),[n])}},g="undefined"!=typeof window,m=1,v={abstract:!1,name:"portal",props:{disabled:{type:Boolean,default:!1},name:{type:String,default:function(){return String(m++)}},order:{type:Number,default:0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:[String],default:"DIV"},targetEl:{type:g?[String,HTMLElement]:String},targetClass:{type:String},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},mounted:function(){this.targetEl&&this.mountToTarget(),this.disabled||this.sendUpdate(),this.$options.abstract&&(this.$options.abstract=!1)},updated:function(){this.disabled?this.clear():this.sendUpdate(),this.$options.abstract&&(this.$options.abstract=!1)},beforeDestroy:function(){this.clear(),this.mountedComp&&this.mountedComp.$destroy()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()},targetEl:function(t,e){t&&this.mountToTarget()}},methods:{normalizedSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},sendUpdate:function(){var t=this.normalizedSlots();t?c.open({from:this.name,to:this.to,passengers:[].concat(i(t)),class:this.targetClass&&this.targetClass.split(" "),order:this.order}):this.clear()},clear:function(t){c.close({from:this.name,to:t||this.to})},mountToTarget:function(){var e=void 0,i=this.targetEl;if("string"==typeof i)e=document.querySelector(i);else{if(!(i instanceof HTMLElement))return;e=i}if(e){var o=new t(n({},d,{parent:this,propsData:{name:this.to,tag:e.tagName,attributes:r(e)}}));o.$mount(e),this.mountedComp=o}},normalizeChildren:function(t){return"function"==typeof t?t(this.slotProps):t}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e.length&&this.disabled?(this.$options.abstract=!0,e.length<=1&&this.slim?e[0]:t(n,[this.normalizeChildren(e)])):t(n,{class:"v-portal",style:"display: none",key:"v-portal-placeholder"})}};function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",v),t.component(e.portalTargetName||"PortalTarget",d)}return"undefined"!=typeof window&&window.Vue&&window.Vue.use({install:y}),{install:y,Portal:v,PortalTarget:d,Wormhole:c}}(n(144))},7304:function(t,e,n){function i(t){this.mode=o.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,n=this.data.length;e<n;e++){var i=[],r=this.data.charCodeAt(e);r>65536?(i[0]=240|(1835008&r)>>>18,i[1]=128|(258048&r)>>>12,i[2]=128|(4032&r)>>>6,i[3]=128|63&r):r>2048?(i[0]=224|(61440&r)>>>12,i[1]=128|(4032&r)>>>6,i[2]=128|63&r):r>128?(i[0]=192|(1984&r)>>>6,i[1]=128|63&r):i[0]=r,this.parsedData.push(i)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function r(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}i.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;e<n;e++)t.put(this.parsedData[e],8)}},r.prototype={addData:function(t){var e=new i(t);this.dataList.push(e),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[n][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=r.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var i=-1;i<=7;i++)e+i<=-1||this.moduleCount<=e+i||(this.modules[t+n][e+i]=0<=n&&n<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=i&&i<=4)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var i=y.getLostPoint(this);(0==n||t>i)&&(t=i,e=n)}return e},createMovieClip:function(t,e,n){var i=t.createEmptyMovieClip(e,n);this.make();for(var r=0;r<this.modules.length;r++)for(var o=1*r,a=0;a<this.modules[r].length;a++){var s=1*a;this.modules[r][a]&&(i.beginFill(0,100),i.moveTo(s,o),i.lineTo(s+1,o),i.lineTo(s+1,o+1),i.lineTo(s,o+1),i.endFill())}return i},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=y.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var i=t[e],r=t[n];if(null==this.modules[i][r])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)this.modules[i+o][r+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(t){for(var e=y.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var i=!t&&1==(e>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(n=0;n<18;n++){i=!t&&1==(e>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i}},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,i=y.getBCHTypeInfo(n),r=0;r<15;r++){var o=!t&&1==(i>>r&1);r<6?this.modules[r][8]=o:r<8?this.modules[r+1][8]=o:this.modules[this.moduleCount-15+r][8]=o}for(r=0;r<15;r++){o=!t&&1==(i>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=o:r<9?this.modules[8][15-r-1+1]=o:this.modules[8][15-r-1]=o}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,i=this.moduleCount-1,r=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[i][a-s]){var l=!1;o<t.length&&(l=1==(t[o]>>>r&1)),y.getMask(e,i,a-s)&&(l=!l),this.modules[i][a-s]=l,-1==--r&&(o++,r=7)}if((i+=n)<0||this.moduleCount<=i){i-=n,n=-n;break}}}},r.PAD0=236,r.PAD1=17,r.createData=function(t,e,n){for(var i=w.getRSBlocks(t,e),o=new S,a=0;a<n.length;a++){var s=n[a];o.put(s.mode,4),o.put(s.getLength(),y.getLengthInBits(s.mode,t)),s.write(o)}var l=0;for(a=0;a<i.length;a++)l+=i[a].dataCount;if(o.getLengthInBits()>8*l)throw new Error("code length overflow. ("+o.getLengthInBits()+">"+8*l+")");for(o.getLengthInBits()+4<=8*l&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*l||(o.put(r.PAD0,8),o.getLengthInBits()>=8*l));)o.put(r.PAD1,8);return r.createBytes(o,i)},r.createBytes=function(t,e){for(var n=0,i=0,r=0,o=new Array(e.length),a=new Array(e.length),s=0;s<e.length;s++){var l=e[s].dataCount,u=e[s].totalCount-l;i=Math.max(i,l),r=Math.max(r,u),o[s]=new Array(l);for(var c=0;c<o[s].length;c++)o[s][c]=255&t.buffer[c+n];n+=l;var h=y.getErrorCorrectPolynomial(u),p=new b(o[s],h.getLength()-1).mod(h);a[s]=new Array(h.getLength()-1);for(c=0;c<a[s].length;c++){var f=c+p.getLength()-a[s].length;a[s][c]=f>=0?p.get(f):0}}var d=0;for(c=0;c<e.length;c++)d+=e[c].totalCount;var g=new Array(d),m=0;for(c=0;c<i;c++)for(s=0;s<e.length;s++)c<o[s].length&&(g[m++]=o[s][c]);for(c=0;c<r;c++)for(s=0;s<e.length;s++)c<a[s].length&&(g[m++]=a[s][c]);return g};for(var o={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},a=1,s=0,l=3,u=2,c=0,h=1,p=2,f=3,d=4,g=5,m=6,v=7,y={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;
vendor: 4,119 bytes, line 1
1y.getBCHDigit(e)-y.getBCHDigit(y.G15)>=0;)e^=y.G15<<y.getBCHDigit(e)-y.getBCHDigit(y.G15);return(t<<10|e)^y.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;y.getBCHDigit(e)-y.getBCHDigit(y.G18)>=0;)e^=y.G18<<y.getBCHDigit(e)-y.getBCHDigit(y.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return y.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case c:return(e+n)%2==0;case h:return e%2==0;case p:return n%3==0;case f:return(e+n)%3==0;case d:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case g:return e*n%2+e*n%3==0;case m:return(e*n%2+e*n%3)%2==0;case v:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new b([1],0),n=0;n<t;n++)e=e.multiply(new b([1,_.gexp(n)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case o.MODE_NUMBER:return 10;case o.MODE_ALPHA_NUM:return 9;case o.MODE_8BIT_BYTE:case o.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case o.MODE_NUMBER:return 12;case o.MODE_ALPHA_NUM:return 11;case o.MODE_8BIT_BYTE:return 16;case o.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case o.MODE_NUMBER:return 14;case o.MODE_ALPHA_NUM:return 13;case o.MODE_8BIT_BYTE:return 16;case o.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,i=0;i<e;i++)for(var r=0;r<e;r++){for(var o=0,a=t.isDark(i,r),s=-1;s<=1;s++)if(!(i+s<0||e<=i+s))for(var l=-1;l<=1;l++)r+l<0||e<=r+l||0==s&&0==l||a==t.isDark(i+s,r+l)&&o++;o>5&&(n+=3+o-5)}for(i=0;i<e-1;i++)for(r=0;r<e-1;r++){var u=0;t.isDark(i,r)&&u++,t.isDark(i+1,r)&&u++,t.isDark(i,r+1)&&u++,t.isDark(i+1,r+1)&&u++,0!=u&&4!=u||(n+=3)}for(i=0;i<e;i++)for(r=0;r<e-6;r++)t.isDark(i,r)&&!t.isDark(i,r+1)&&t.isDark(i,r+2)&&t.isDark(i,r+3)&&t.isDark(i,r+4)&&!t.isDark(i,r+5)&&t.isDark(i,r+6)&&(n+=40);for(r=0;r<e;r++)for(i=0;i<e-6;i++)t.isDark(i,r)&&!t.isDark(i+1,r)&&t.isDark(i+2,r)&&t.isDark(i+3,r)&&t.isDark(i+4,r)&&!t.isDark(i+5,r)&&t.isDark(i+6,r)&&(n+=40);var c=0;for(r=0;r<e;r++)for(i=0;i<e;i++)t.isDark(i,r)&&c++;return n+=10*(Math.abs(100*c/e/e-50)/5)}},_={glog:function(t){if(t<1)throw new Error("glog("+t+")");return _.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return _.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},x=0;x<8;x++)_.EXP_TABLE[x]=1<<x;for(x=8;x<256;x++)_.EXP_TABLE[x]=_.EXP_TABLE[x-4]^_.EXP_TABLE[x-5]^_.EXP_TABLE[x-6]^_.EXP_TABLE[x-8];for(x=0;x<255;x++)_.LOG_TABLE[_.EXP_TABLE[x]]=x;function b(t,e){if(null==t.length)throw new Error(t.length+"/"+e);for(var n=0;n<t.length&&0==t[n];)n++;this.num=new Array(t.length-n+e);for(var i=0;i<t.length-n;i++)this.num[i]=t[i+n]}function w(t,e){this.totalCount=t,this.dataCount=e}function S(){this.buffer=[],this.length=0}b.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),n=0;n<this.getLength();n++)for(var i=0;i<t.getLength();i++)e[n+i]^=_.gexp(_.glog(this.get(n))+_.glog(t.get(i)));return new b(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=_.glog(this.get(0))-_.glog(t.get(0)),n=new Array(this.getLength()),i=0;i<this.getLength();i++)n[i]=this.get(i);for(i=0;i<t.getLength();i++)n[i]^=_.gexp(_.glog(t.get(i))+e);return new b(n,0).mod(t)}},w.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37
vendor: 4,875 bytes, line 1
1],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],w.getRSBlocks=function(t,e){var n=w.getRsBlockTable(t,e);if(null==n)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var i=n.length/3,r=[],o=0;o<i;o++)for(var a=n[3*o+0],s=n[3*o+1],l=n[3*o+2],u=0;u<a;u++)r.push(new w(s,l));return r},w.getRsBlockTable=function(t,e){switch(e){case a:return w.RS_BLOCK_TABLE[4*(t-1)+0];case s:return w.RS_BLOCK_TABLE[4*(t-1)+1];case l:return w.RS_BLOCK_TABLE[4*(t-1)+2];case u:return w.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},S.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var T=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function M(t){if(this.options={padding:4,width:256,height:256,typeNumber:4,color:"#000000",background:"#ffffff",ecl:"M"},"string"==typeof t&&(t={content:t}),t)for(var e in t)this.options[e]=t[e];if("string"!=typeof this.options.content)throw new Error("Expected 'content' as string!");if(0===this.options.content.length)throw new Error("Expected 'content' to be non-empty!");if(!(this.options.padding>=0))throw new Error("Expected 'padding' value to be non-negative!");if(!(this.options.width>0&&this.options.height>0))throw new Error("Expected 'width' or 'height' value to be higher than zero!");var n=this.options.content,i=function(t,e){for(var n=function(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}(t),i=1,r=0,o=0,a=T.length;o<=a;o++){var s=T[o];if(!s)throw new Error("Content too long: expected "+r+" but got "+n);switch(e){case"L":r=s[0];break;case"M":r=s[1];break;case"Q":r=s[2];break;case"H":r=s[3];break;default:throw new Error("Unknwon error correction level: "+e)}if(n<=r)break;
1i++}if(i>T.length)throw new Error("Content too long");return i}(n,this.options.ecl),o=function(t){switch(t){case"L":return a;case"M":return s;case"Q":return l;case"H":return u;default:throw new Error("Unknwon error correction level: "+t)}}(this.options.ecl);this.qrcode=new r(i,o),this.qrcode.addData(n),this.qrcode.make()}M.prototype.svg=function(t){var e=this.options||{},n=this.qrcode.modules;void 0===t&&(t={container:e.container||"svg"});for(var i=void 0===e.pretty||!!e.pretty,r=i?" ":"",o=i?"\r\n":"",a=e.width,s=e.height,l=n.length,u=a/(l+2*e.padding),c=s/(l+2*e.padding),h=void 0!==e.join&&!!e.join,p=void 0!==e.swap&&!!e.swap,f=void 0===e.xmlDeclaration||!!e.xmlDeclaration,d=void 0!==e.predefined&&!!e.predefined,g=d?r+'<defs><path id="qrmodule" d="M0 0 h'+c+" v"+u+' H0 z" style="fill:'+e.color+';shape-rendering:crispEdges;" /></defs>'+o:"",m=r+'<rect x="0" y="0" width="'+a+'" height="'+s+'" style="fill:'+e.background+';shape-rendering:crispEdges;"/>'+o,v="",y="",_=0;_<l;_++)for(var x=0;x<l;x++){if(n[x][_]){var b=x*u+e.padding*u,w=_*c+e.padding*c;if(p){var S=b;b=w,w=S}if(h){var T=u+b,M=c+w;b=Number.isInteger(b)?Number(b):b.toFixed(2),w=Number.isInteger(w)?Number(w):w.toFixed(2),T=Number.isInteger(T)?Number(T):T.toFixed(2),y+="M"+b+","+w+" V"+(M=Number.isInteger(M)?Number(M):M.toFixed(2))+" H"+T+" V"+w+" H"+b+" Z "}else v+=d?r+'<use x="'+b.toString()+'" y="'+w.toString()+'" href="#qrmodule" />'+o:r+'<rect x="'+b.toString()+'" y="'+w.toString()+'" width="'+u+'" height="'+c+'" style="fill:'+e.color+';shape-rendering:crispEdges;"/>'+o}}h&&(v=r+'<path x="0" y="0" style="fill:'+e.color+';shape-rendering:crispEdges;" d="'+y+'" />');var C="";switch(t.container){case"svg":f&&(C+='<?xml version="1.0" standalone="yes"?>'+o),C+='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+a+'" height="'+s+'">'+o,C+=g+m+v,C+="</svg>";break;case"svg-viewbox":f&&(C+='<?xml version="1.0" standalone="yes"?>'+o),C+='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 '+a+" "+s+'">'+o,C+=g+m+v,C+="</svg>";break;case"g":C+='<g width="'+a+'" height="'+s+'">'+o,C+=g+m+v,C+="</g>";break;default:C+=(g+m+v).replace(/^\s+/,"")}return C},M.prototype.save=function(t,e){var i=this.svg();"function"!=typeof e&&(e=function(t,e){});try{n(9951).writeFile(t,i,e)}catch(t){e(t)}},t.exports=M},1803:function(t,e){"use strict";var n;!function(){var i=e||{}||this||window;void 0===(n=function(){return i}.apply(e,[]))||(t.exports=n),i.default=i;var r="http://www.w3.org/2000/xmlns/",o="http://www.w3.org/2000/svg",a=/url\(["']?(.+?)["']?\)/,s={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},l=function(t){return t instanceof HTMLElement||t instanceof SVGElement},u=function(t){if(!l(t))throw new Error("an HTMLElement or SVGElement is required; got "+t)},c=function(t){return new Promise((function(e,n){l(t)?e(t):n(new Error("an HTMLElement or SVGElement is required; got "+t))}))},h=function(t,e,n){var i=t.viewBox&&t.viewBox.baseVal&&t.viewBox.baseVal[n]||null!==e.getAttribute(n)&&!e.getAttribute(n).match(/%$/)&&parseInt(e.getAttribute(n))||t.getBoundingClientRect()[n]||parseInt(e.style[n])||parseInt(window.getComputedStyle(t).getPropertyValue(n));return null==i||isNaN(parseFloat(i))?0:i},p=function(t){for(var e=window.atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";
1")[0],i=new ArrayBuffer(e.length),r=new Uint8Array(i),o=0;o<e.length;o++)r[o]=e.charCodeAt(o);return new Blob([i],{type:n})},f=function(t){return Promise.all(Array.from(t.querySelectorAll("image")).map((function(t){var e,n=t.getAttributeNS("http://www.w3.org/1999/xlink","href")||t.getAttribute("href");return n?((e=n)&&0===e.lastIndexOf("http",0)&&-1===e.lastIndexOf(window.location.host)&&(n+=(-1===n.indexOf("?")?"?":"&")+"t="+(new Date).valueOf()),new Promise((function(e,i){var r=document.createElement("canvas"),o=new Image;o.crossOrigin="anonymous",o.src=n,o.onerror=function(){return i(new Error("Could not load "+n))},o.onload=function(){r.width=o.width,r.height=o.height,r.getContext("2d").drawImage(o,0,0),t.setAttributeNS("http://www.w3.org/1999/xlink","href",r.toDataURL("image/png")),e(!0)}}))):Promise.resolve(null)})))},d={},g=function(t){return Promise.all(t.map((function(t){return new Promise((function(e,n){if(d[t.url])return e(d[t.url]);var i=new XMLHttpRequest;i.addEventListener("load",(function(){var n=function(t){for(var e="",n=new Uint8Array(t),i=0;i<n.byteLength;i++)e+=String.fromCharCode(n[i]);return window.btoa(e)}(i.response),r=t.text.replace(a,'url("data:'+t.format+";base64,"+n+'")')+"\n";d[t.url]=r,e(r)})),i.addEventListener("error",(function(n){d[t.url]=null,e(null)})),i.addEventListener("abort",(function(t){e(null)})),i.open("GET",t.url),i.responseType="arraybuffer",i.send()}))}))).then((function(t){return t.filter((function(t){return t})).join("")}))},m=null,v=function(t,e){var n=e||{},i=n.selectorRemap,r=n.modifyStyle,o=n.modifyCss,l=n.fonts,u=n.excludeUnusedCss,c=o||function(t,e){return(i?i(t):t)+"{"+(r?r(e):e)+"}\n"},h=[],p=void 0===l,f=l||[];return(m||(m=Array.from(document.styleSheets).map((function(t){try{return{rules:t.cssRules,href:t.href}}catch(t){return{}}})))).forEach((function(e){var n=e.rules,i=e.href;n&&Array.from(n).forEach((function(e){if(void 0!==e.style)if(function(t,e){if(e)try{return t.querySelector(e)||t.parentNode&&t.parentNode.querySelector(e)}catch(t){}}(t,e.selectorText))h.push(c(e.selectorText,e.style.cssText));else if(p&&e.cssText.match(/^@font-face/)){var n=function(t,e){var n=t.cssText.match(a),i=n&&n[1]||"";if(i&&!i.match(/^data:/)&&"about:blank"!==i){var r,o,l=i.startsWith("../")?e+"/../"+i:i.startsWith("./")?e+"/."+i:i;return{text:t.cssText,format:(r=l,o=Object.keys(s).filter((function(t){return r.indexOf("."+t)>0})).map((function(t){return s[t]})),o?o[0]:"application/octet-stream"),url:l}}}(e,i);n&&f.push(n)}else u||h.push(e.cssText)}))})),g(f).then((function(t){return h.join("\n")+t}))},y=function(){if(!navigator.msSaveOrOpenBlob&&!("download"in document.createElement("a")))return{popup:window.open()}};i.prepareSvg=function(t,e,n){u(t);var i=e||{},a=i.left,s=void 0===a?0:a,l=i.top,c=void 0===l?0:l,p=i.width,d=i.height,g=i.scale,m=void 0===g?1:g,y=i.responsive,_=void 0!==y&&y,x=i.excludeCss,b=void 0!==x&&x;return f(t).then((function(){var i=t.cloneNode(!0);i.style.backgroundColor=(e||{}).backgroundColor||t.style.backgroundColor;var a=function(t,e,n,i){if("svg"===t.tagName)return{width:n||h(t,e,"width"),height:i||h(t,e,"height")};if(t.getBBox){var r=t.getBBox(),o=r.x,a=r.y;return{width:o+r.width,height:a+r.height}}}(t,i,p,d),l=a.width,u=a.height;if("svg"!==t.tagName){if(!t.getBBox)return;null!=i.getAttribute("transform")&&i.setAttribute("transform",i.getAttribute("transform").replace(/translate\(.*?\)/,""));var f=document.createElementNS("http://www.w3.org/2000/svg","svg");f.appendChild(i),i=f}if(i.setAttribute("version","1.1"),i.setAttribute("viewBox",[s,c,l,u].join(" ")),i.getAttribute("xmlns")||i.setAttributeNS(r,"xmlns",o),i.getAttribute("xmlns:xlink")||i.setAttributeNS(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),_?(i.removeAttribute("width"),i.removeAttribute("height"),i.setAttribute("preserveAspectRatio","xMinYMin meet")):(i.setAttribute("width",l*m),i.setAttribute("height",u*m)),Array.from(i.querySelectorAll("foreignObject > *")).forEach((function(t){t.setAttributeNS(r,"xmlns","svg"===t.tagName?o:"http://www.w3.org/1999/xhtml")})),!b)return v(t,e).then((function(t){var e=document.createElement("style");e.setAttribute("type","text/css"),e.innerHTML="<![CDATA[\n"+t+"\n]]>";var r=document.createElement("defs");r.appendChild(e),i.insertBefore(r,i.firstChild);var o=document.createElement("div");o.appendChild(i);var a=o.innerHTML.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href');if("function"!=typeof n)return{src:a,width:l,height:u};n(a,l,u)}));var g=document.createElement("div");g.appendChild(i);var y=g.innerHTML;if("function"!=typeof n)return{src:y,width:l,height:u};n(y,l,u)}))},i.svgAsDataUri=function(t,e,n){return u(t),i.prepareSvg(t,e).then((function(t){var e=t.src,i=t.width,r=t.height,o="data:image/svg+xml;base64,"+window.btoa(decodeURIComponent(encodeURIComponent('<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp " ">]>'+e).replace(/%([0-9A-F]{2})/g,(function(t,e){var n=String.fromCharCode("0x"+e);return"%"===n?"%25":n}))));return"function"==typeof n&&n(o,i,r),o}))},i.svgAsPngUri=function(t,e,n){u(t);var r=e||{},o=r.encoderType,a=void 0===o?"image/png":o,s=r.encoderOptions,l=void 0===s?.8:s,c=r.canvg,h=function(t){var e=t.src,i=t.width,r=t.height,o=document.createElement("canvas"),s=o.getContext("2d"),u=window.devicePixelRatio||1;o.width=i*u,o.height=r*u,o.style.width=o.width+"px",o.style.height=o.height+"px",s.setTransform(u,0,0,u,0,0),c?c(o,e):s.drawImage(e,0,0);var h=void 0;try{h=o.toDataURL(a,l)}catch(t){if("undefined"!=typeof SecurityError&&t instanceof SecurityError||"SecurityError"===t.name)return;throw t}return"function"==typeof n&&n(h,o.width,o.height),Promise.resolve(h)};return c?i.prepareSvg(t,e).then(h):i.svgAsDataUri(t,e).then((function(t){return new Promise((function(e,n){var i=new Image;i.onload=function(){return e(h({src:i,width:i.width,height:i.height}))},i.onerror=function(){n("There was an error loading the data URI as an image on the following SVG\n"+window.atob(t.slice(2
16))+"Open the following link to see browser's diagnosis\n"+t)},i.src=t}))}))},i.download=function(t,e,n){if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(p(e),t);else{var i=document.createElement("a");if("download"in i){i.download=t,i.style.display="none",document.body.appendChild(i);try{var r=p(e),o=URL.createObjectURL(r);i.href=o,i.onclick=function(){return requestAnimationFrame((function(){return URL.revokeObjectURL(o)}))}}catch(t){i.href=e}i.click(),document.body.removeChild(i)}else n&&n.popup&&(n.popup.document.title=t,n.popup.location.replace(e))}},i.saveSvg=function(t,e,n){var r=y();return c(t).then((function(t){return i.svgAsDataUri(t,n||{})})).then((function(t){return i.download(e,t,r)}))},i.saveSvgAsPng=function(t,e,n){var r=y();return c(t).then((function(t){return i.svgAsPngUri(t,n||{})})).then((function(t){return i.download(e,t,r)}))}}()},1223:function(t,e,n){window.eve=n(1530);var i=function(t){var e,n={},i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return setTimeout(t,16,(new Date).getTime()),!0},r=Array.isArray||function(t){return t instanceof Array||"[object Array]"==Object.prototype.toString.call(t)},o=0,a="M"+(+new Date).toString(36),s=Date.now||function(){return+new Date},l=function(t){var e=this;if(null==t)return e.s;var n=e.s-t;e.b+=e.dur*n,e.B+=e.dur*n,e.s=t},u=function(t){if(null==t)return this.spd;this.spd=t},c=function(t){var e=this;if(null==t)return e.dur;e.s=e.s*t/e.dur,e.dur=t},h=function(){var e=this;delete n[e.id],e.update(),t("mina.stop."+e.id,e)},p=function(){var t=this;t.pdif||(delete n[t.id],t.update(),t.pdif=t.get()-t.b)},f=function(){var t=this;t.pdif&&(t.b=t.get()-t.pdif,delete t.pdif,n[t.id]=t,g())},d=function(){var t,e=this;if(r(e.start)){t=[];for(var n=0,i=e.start.length;n<i;n++)t[n]=+e.start[n]+(e.end[n]-e.start[n])*e.easing(e.s)}else t=+e.start+(e.end-e.start)*e.easing(e.s);e.set(t)},g=function(r){if(r){var o=0;for(var a in n)if(n.hasOwnProperty(a)){var s=n[a],l=s.get();o++,s.s=(l-s.b)/(s.dur/s.spd),s.s>=1&&(delete n[a],s.s=1,o--,function(e){setTimeout((function(){t("mina.finish."+e.id,e)}))}(s)),s.update()}e=!!o&&i(g)}else e||(e=i(g))},m=function(t,e,i,r,s,v,y){var _={id:a+(o++).toString(36),start:t,end:e,b:i,s:0,dur:r-i,spd:1,get:s,set:v,easing:y||m.linear,status:l,speed:u,duration:c,stop:h,pause:p,resume:f,update:d};n[_.id]=_;var x,b=0;for(x in n)if(n.hasOwnProperty(x)&&2==++b)break;return 1==b&&g(),_};return m.time=s,m.getById=function(t){return n[t]||null},m.linear=function(t){return t},m.easeout=function(t){return Math.pow(t,1.7)},m.easein=function(t){return Math.pow(t,.48)},m.easeinout=function(t){if(1==t)return 1;if(0==t)return 0;var e=.48-t/1.04,n=Math.sqrt(.1734+e*e),i=n-e,r=-n-e,o=Math.pow(Math.abs(i),1/3)*(i<0?-1:1)+Math.pow(Math.abs(r),1/3)*(r<0?-1:1)+.5;return 3*(1-o)*o*o+o*o*o},m.backin=function(t){if(1==t)return 1;var e=1.70158;return t*t*((e+1)*t-e)},m.backout=function(t){if(0==t)return 0;var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},m.elastic=function(t){return t==!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1},m.bounce=function(t){var e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},window.mina=m,m}("undefined"==typeof eve?function(){}:eve),r=function(t){function e(t,i){if(t){if(t.nodeType)return Z(t);if(k(t,"array")&&e.set)return e.set.apply(e,t);if(t instanceof j)return t;if(null==i)try{return Z(t=n.doc.querySelector(String(t)))}catch(t){return null}}return new H(t=null==t?"100%":t,i=null==i?"100%":i)}e.version="0.5.1",e.toString=function(){return"Snap v"+this.version},e._={};var n={win:t.window,doc:t.window.document};e._.glob=n;var i,r,o="hasOwnProperty",a=String,s=parseFloat,l=parseInt,u=Math,c=u.max,h=u.min,p=u.abs,f=(u.pow,u.PI),d=(u.round,Object.prototype.toString),m=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,v=(e._.separator=/[,\s]+/,/[\s]*,[\s]*/),y={hs:1,rg:1},_=/([a-z])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,x=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,b=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\s]*,?[\s]*/gi,w=0,S="S"+(+new Date).toString(36),T=function(t){return(t&&t.type?t.type:"")+S+(w++).toString(36)},M="http://www.w3.org/1999/xlink",C="http://www.w3.org/2000/svg",A={};
vendor: 15,429 bytes, line 1
1e.url=function(t){return"url('#"+t+"')"};function I(t,e){if(e){if("#text"==t&&(t=n.doc.createTextNode(e.text||e["#text"]||"")),"#comment"==t&&(t=n.doc.createComment(e.text||e["#text"]||"")),"string"==typeof t&&(t=I(t)),"string"==typeof e)return 1==t.nodeType?"xlink:"==e.substring(0,6)?t.getAttributeNS(M,e.substring(6)):"xml:"==e.substring(0,4)?t.getAttributeNS(C,e.substring(4)):t.getAttribute(e):"text"==e?t.nodeValue:null;if(1==t.nodeType){for(var i in e)if(e[o](i)){var r=a(e[i]);r?"xlink:"==i.substring(0,6)?t.setAttributeNS(M,i.substring(6),r):"xml:"==i.substring(0,4)?t.setAttributeNS(C,i.substring(4),r):t.setAttribute(i,r):t.removeAttribute(i)}}else"text"in e&&(t.nodeValue=e.text)}else t=n.doc.createElementNS(C,t);return t}function k(t,e){return"finite"==(e=a.prototype.toLowerCase.call(e))?isFinite(t):!("array"!=e||!(t instanceof Array||Array.isArray&&Array.isArray(t)))||("null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||d.call(t).slice(8,-1).toLowerCase()==e)}function D(t,e,n){return function i(){var r=Array.prototype.slice.call(arguments,0),a=r.join("â"),s=i.cache=i.cache||{},l=i.count=i.count||[];return s[o](a)?(function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return t.push(t.splice(n,1)[0])}(l,a),n?n(s[a]):s[a]):(l.length>=1e3&&delete s[l.shift()],l.push(a),s[a]=t.apply(e,r),n?n(s[a]):s[a])}}function P(t){return t%360*f/180}e._.$=I,e._.id=T,e.format=(i=/\{([^\}]+)\}/g,r=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(t,e){return a(t).replace(i,(function(t,n){return function(t,e,n){var i=n;return e.replace(r,(function(t,e,n,r,o){e=e||r,i&&(e in i&&(i=i[e]),"function"==typeof i&&o&&(i=i()))})),i=(null==i||i==n?t:i)+""}(t,n,e)}))}),e._.clone=function t(e){if("function"==typeof e||Object(e)!==e)return e;var n=new e.constructor;for(var i in e)e[o](i)&&(n[i]=t(e[i]));return n},e._.cacher=D,e.rad=P,e.deg=function(t){return 180*t/f%360},e.sin=function(t){return u.sin(e.rad(t))},e.tan=function(t){return u.tan(e.rad(t))},e.cos=function(t){return u.cos(e.rad(t))},e.asin=function(t){return e.deg(u.asin(t))},e.acos=function(t){return e.deg(u.acos(t))},e.atan=function(t){return e.deg(u.atan(t))},e.atan2=function(t){return e.deg(u.atan2(t))},e.angle=function t(e,n,i,r,o,a){if(null==o){var s=e-i,l=n-r;return s||l?(180+180*u.atan2(-l,-s)/f+360)%360:0}return t(e,n,o,a)-t(i,r,o,a)},e.len=function(t,n,i,r){return Math.sqrt(e.len2(t,n,i,r))},e.len2=function(t,e,n,i){return(t-n)*(t-n)+(e-i)*(e-i)},e.closestPoint=function(t,e,n){function i(t){var i=t.x-e,r=t.y-n;return i*i+r*r}for(var r,o,a,s,l=t.node,u=l.getTotalLength(),c=u/l.pathSegList.numberOfItems*.125,h=1/0,p=0;p<=u;p+=c)(s=i(a=l.getPointAtLength(p)))<h&&(r=a,o=p,h=s);for(c*=.5;c>.5;){var f,d,g,m,v,y;(g=o-c)>=0&&(v=i(f=l.getPointAtLength(g)))<h?(r=f,o=g,h=v):(m=o+c)<=u&&(y=i(d=l.getPointAtLength(m)))<h?(r=d,o=m,h=y):c*=.5}return r={x:r.x,y:r.y,length:o,distance:Math.sqrt(h)}},e.is=k,e.snapTo=function(t,e,n){if(n=k(n,"finite")?n:10,k(t,"array")){for(var i=t.length;i--;)if(p(t[i]-e)<=n)return t[i]}else{var r=e%(t=+t);if(r<n)return e-r;if(r>t-n)return e-r+t}return e},e.getRGB=D((function(t){if(!t||(t=a(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:R};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:R};if(!y[o](t.toLowerCase().substring(0,2))&&"#"!=t.charAt()&&(t=O(t)),!t)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:R};var n,i,r,p,f,d,g=t.match(m);return g?(g[2]&&(r=l(g[2].substring(5),16),i=l(g[2].substring(3,5),16),n=l(g[2].substring(1,3),16)),g[3]&&(r=l((f=g[3].charAt(3))+f,16),i=l((f=g[3].charAt(2))+f,16),n=l((f=g[3].charAt(1))+f,16)),g[4]&&(d=g[4].split(v),n=s(d[0]),"%"==d[0].slice(-1)&&(n*=2.55),i=s(d[1]),"%"==d[1].slice(-1)&&(i*=2.55),r=s(d[2]),"%"==d[2].slice(-1)&&(r*=2.55),"rgba"==g[1].toLowerCase().slice(0,4)&&(p=s(d[3])),d[3]&&"%"==d[3].slice(-1)&&(p/=100)),g[5]?(d=g[5].split(v),n=s(d[0]),"%"==d[0].slice(-1)&&(n/=100),i=s(d[1]),"%"==d[1].slice(-1)&&(i/=100),r=s(d[2]),"%"==d[2].slice(-1)&&(r/=100),("deg"==d[0].slice(-3)||"°"==d[0].slice(-1))&&(n/=360),"hsba"==g[1].toLowerCase().slice(0,4)&&(p=s(d[3])),d[3]&&"%"==d[3].slice(-1)&&(p/=100),e.hsb2rgb(n,i,r,p)):g[6]?(d=g[6].split(v),n=s(d[0]),"%"==d[0].slice(-1)&&(n/=100),i=s(d[1]),"%"==d[1].slice(-1)&&(i/=100),r=s(d[2]),"%"==d[2].slice(-1)&&(r/=100),("deg"==d[0].slice(-3)||"°"==d[0].slice(-1))&&(n/=360),"hsla"==g[1].toLowerCase().slice(0,4)&&(p=s(d[3])),d[3]&&"%"==d[3].slice(-1)&&(p/=100),e.hsl2rgb(n,i,r,p)):(n=h(u.round(n),255),i=h(u.round(i),255),r=h(u.round(r),255),p=h(c(p,0),1),(g={r:n,g:i,b:r,toString:R}).hex="#"+(16777216|r|i<<8|n<<16).toString(16).slice(1),g.opacity=k(p,"finite")?p:1,g)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:R}}),e),e.hsb=D((function(t,n,i){return e.hsb2rgb(t,n,i).hex})),e.hsl=D((function(t,n,i){return e.hsl2rgb(t,n,i).hex})),e.rgb=D((function(t,e,n,i){if(k(i,"finite")){var r=u.round;return"rgba("+[r(t),r(e),r(n),+i.toFixed(2)]+")"}return"#"+(16777216|n|e<<8|t<<16).toString(16).slice(1)}));var O=function(t){var e=n.doc.getElementsByTagName("head")[0]||n.doc.getElementsByTagName("svg")[0],i="rgb(255, 0, 0)";return O=D((function(t){if("red"==t.toLowerCase())return i;e.style.color=i,e.style.color=t;var r=n.doc.defaultView.getComputedStyle(e,"").getPropertyValue("color");return r==i?null:r})),O(t)},E=function(){return"hsb("+[this.h,this.s,this.b]+")"},L=function(){return"hsl("+[this.h,this.s,this.l]+")"},R=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},N=function(t,n,i){if(null==n&&k(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(i=t.b,n=t.g,t=t.r),null==n&&k(t,string)){var r=e.getRGB(t);t=r.r,n=r.g,i=r.b}return(t>1||n>1||i>1)&&(t/=255,n/=255,i/=255),[t,n,i]},F=function(t,n,i,r){var o={r:t=u.round(255*t),g:n=u.round(255*n),b:i=u.round(255*i),opacity:k(r,"finite")?r:1,hex:e.rgb(t,n,i),toString:R};return k(r,"finite")&&(o.opacity=r),o};e.color=function(t){var n;return k(t,"object")&&"h"in t&&"s"in t&&"b"in t?(n=e.hsb2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.opacity=1,t.hex=n.hex):k(t,"object")&&"h"in t&&"s"in t&&"l"in t?(n=e.hsl2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.opacity=1,t.hex=n.hex):(k(t,"string")&&(t=e.getRGB(t)),k(t,"object")&&"r"in t&&"g"in t&&"b"in t&&!("error"in t)?(n=e.rgb2hsl(t),t.h=n.h,t.s=n.s,t.l=n.l,n=e.rgb2hsb(t),t.v=n.b):((t={hex:"none"}).r=t.g=t.b=t.h=t.s=t.v=t.l=-1,t.error=1)),t.toString=R,t},e.hsb2rgb=function(t,e,n,i){var r,o,a,s,l;return k(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,i=t.o,t=t.h),s=(l=n*e)*(1-p((t=(t*=360)%360/60)%2-1)),r=o=a=n-l,F(r+=[l,s,0,0,s,l][t=~~t],o+=[s,l,l,s,0,0][t],a+=[0,0,s,l,l,s][t],i)},e.hsl2rgb=function(t,e,n,i){var r,o,a,s,l;return k(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(t>1||e>1||n>1)&&(t/=360,e/=100,n/=100),s=(l=2*e*(n<.5?n:1-n))*(1-p((t=(t*=360)%360/60)%2-1)),r=o=a=n-l/2,F(r+=[l,s,0,0,s,l][t=~~t],o+=[s,l,l,s,0,0][t],a+=[0,0,s,l,l,s][t],i)},e.rgb2hsb=function(t,e,n){var i,r;return t=(n=N(t,e,n))[0],e=n[1],n=n[2],{h:((0==(r=(i=c(t,e,n))-h(t,e,n))?null:i==t?(e-n)/r:i==e?(n-t)/r+2:(t-e)/r+4)+360)%6*60/360,s:0==r?0:r/i,b:i,toString:E}},e.rgb2hsl=function(t,e,n){var i,r,o,a;return t=(n=N(t,e,n))[0],e=n[1],n=n[2],i=((r=c(t,e,n))+(o=h(t,e,n)))/2,{h:((0==(a=r-o)?null:r==t?(e-n)/a:r==e?(n-t)/a+2:(t-e)/a+4)+360)%6*60/360,s:0==a?0:i<.5?a/(2*i):a/(2-2*i),l:i,toString:L}},e.parsePathString=function(t){if(!t)return null;var n=e.path(t);if(n.arr)return e.path.clone(n.arr);var i={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},r=[];return k(t,"array")&&k(t[0],"array")&&(r=e.path.clone(t)),r.length||a(t).replace(_,(function(t,e,n){var o=[],a=e.toLowerCase();if(n.replace(b,(function(t,e){e&&o.push(+e)})),"m"==a&&o.length>2&&(r.push([e].concat(o.splice(0,2))),a="l",e="m"==e?"l":"L"),"o"==a&&1==o.length&&r.push([e,o[0]]),"r"==a)r.push([e].concat(o));else for(;o.length>=i[a]&&(r.push([e].concat(o.splice(0,i[a]))),i[a]););})),r.toString=e.path.toString,n.arr=e.path.clone(r),r};var B=e.parseTransformString=function(t){if(!t)return null;var n=[];return k(t,"array")&&k(t[0],"array")&&(n=e.path.clone(t)),n.length||a(t).replace(x,(function(t,e,i){var r=[];e.toLowerCase();i.replace(b,(function(t,e){e&&r.push(+e)})),n.push([e].concat(r))})),n.toString=e.path.toString,n};e._.svgTransform2string=function(t){var e=[];return t=t.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,(function(t,n,i){return i=i.split(/\s*,\s*|\s+/),"rotate"==n&&1==i.length&&i.push(0,0),"scale"==n&&(i.length>2?i=i.slice(0,2):2==i.length&&i.push(0,0),1==i.length&&i.push(i[0],0,0)),"skewX"==n?e.push(["m",1,0,u.tan(P(i[0])),1,0,0]):"skewY"==n?e.push(["m",1,u.tan(P(i[0])),0,1,0,0]):e.push([n.charAt(0)].concat(i)),t})),e},e._.rgTransform=/^[a-z][\s]*-?\.?\d/i,e._.transform2matrix=function(t,n){var i=B(t),r=new e.Matrix;if(i)for(var o=0,s=i.length;o<s;o++){var l,u,c,h,p,f=i[o],d=f.length,g=a(f[0]).toLowerCase(),m=f[0]!=g,v=m?r.invert():0;"t"==g&&2==d?r.translate(f[1],0):"t"==g&&3==d?m?(l=v.x(0,0),u=v.y(0,0),c=v.x(f[1],f[2]),h=v.y(f[1],f[2]),r.translate(c-l,h-u)):r.translate(f[1],f[2]):"r"==g?2==d?(p=p||n,r.rotate(f[1],p.x+p.width/2,p.y+p.height/2)):4==d&&(m?(c=v.x(f[2],f[3]),h=v.y(f[2],f[3]),r.rotate(f[1],c,h)):r.rotate(f[1],f[2],f[3])):"s"==g?2==d||3==d?(p=p||n,r.scale(f[1],f[d-1],p.x+p.width/2,p.y+p.height/2)):4==d?m?(c=v.x(f[2],f[3]),h=v.y(f[2],f[3]),r.scale(f[1],f[1],c,h)):r.scale(f[1],f[1],f[2],f[3]):5==d&&(m?(c=v.x(f[3],f[4]),h=v.y(f[3],f[4]),r.scale(f[1],f[2],c,h)):r.scale(f[1],f[2],f[3],f[4])):"m"==g&&7==d&&r.add(f[1],f[2],f[3],f[4],f[5],f[6])}return r},e._unit2px=function(t,e,n){var i=z(t).node,r={},o=i.querySelector(".svg---mgr");o||(o=I("rect"),I(o,{x:-9e9,y:-9e9,width:10,height:10,class:"svg---mgr",fill:"none"}),i.appendChild(o));function a(t){if(null==t)return"";if(t==+t)return t;I(o,{width:t});try{return o.getBBox().width}catch(t){return 0}}function s(t){if(null==t)return"";if(t==+t)return t;I(o,{height:t});try{return o.getBBox().height}catch(t){return 0}}function l(i,o){null==e?r[i]=o(t.attr(i)||0):i==e&&(r=o(null==n?t.attr(i)||0:n))}switch(t.type){case"rect":l("rx",a),l("ry",s);case"image":l("width",a),l("height",s);case"text":l("x",a),l("y",s);break;case"circle":l("cx",a),l("cy",s),l("r",a);break;case"ellipse":l("cx",a),l("cy",s),l("rx",a),l("ry",s);break;case"line":l("x1",a),l("x2",a),l("y1",s),l("y2",s);break;case"marker":l("refX",a),l("markerWidth",a),l("refY",s),l("markerHeight",s);break;case"radialGradient":l("fx",a),l("fy",s);break;case"tspan":l("dx",a),l("dy",s);break;default:l(e,a)}return i.removeChild(o),r};n.doc.contains||n.doc.compareDocumentPosition;function z(t){return t.node.ownerSVGElement&&Z(t.node.ownerSVGElement)||e.select("svg")}function V(t){k(t,"array")||(t=Array.prototype.slice.call(arguments,0));for(var e=0,n=0,i=this.node;this[e];)delete this[e++];for(e=0;e<t.length;e++)"set"==t[e].type?t[e].forEach((function(t){i.appendChild(t.node)})):i.appendChild(t[e].node);var r=i.childNodes;for(e=0;e<r.length;e++)this[n++]=Z(r[e]);return this}function j(t){if(t.snap in A)return A[t.snap];var e;try{e=t.ownerSVGElement}catch(t){}this.node=t,e&&(this.paper=new H(e)),this.type=t.tagName||t.nodeName;var n=this.id=T(this);if(this.anims={},this._={transform:[]},t.snap=n,A[n]=this,"g"==this.type&&(this.add=V),this.type in{g:1,mask:1,pattern:1,symbol:1})for(var i in H.prototype)H.prototype[o](i)&&(this[i]=H.prototype[i])}function G(t){this.node=t}function W(t,e){var n=I(t);return e.appendChild(n),Z(n)}function H(t,e){var i,r,a,s=H.prototype;if(t&&t.tagName&&"svg"==t.tagName.toLowerCase()){if(t.snap in A)return A[t.snap];var l=t.ownerDocument;for(var u in i=new j(t),r=t.getElementsByTagName("desc")[0],a=t.getElementsByTagName("defs")[0],r||((r=I("desc")).appendChild(l.createTextNode("Created with Snap")),i.node.appendChild(r)),a||(a=I("defs"),i.node.appendChild(a)),i.defs=a,s)s[o](u)&&(i[u]=s[u]);i.paper=i.root=i}else I((i=W("svg",n.doc.body)).node,{height:e,version:1.1,width:t,xmlns:C});return i}function Z(t){return t?t instanceof j||t instanceof G?t:t.tagName&&"svg"==t.tagName.toLowerCase()?new H(t):t.tagName&&"object"==t.tagName.toLowerCase()&&"image/svg+xml"==t.type?new H(t.contentDocument.getElementsByTagName("svg")[0]):new j(t):t}function $(t,e){for(var n=0,i=t.length;n<i;n++){var r={type:t[n].type,attr:t[n].attr()},o=t[n].children();e.push(r),o.length&&$(o,r.childNodes=[])}}e._.getSomeDefs=function(t){var n=t.node.ownerSVGElement&&Z(t.node.ownerSVGElement)||t.node.parentNode&&Z(t.node.parentNode)||e.select("svg")||e(0,0),i=n.select("defs"),r=null!=i&&i.node;return r||(r=W("defs",n.node).node),r},e._.getSomeSVG=z,e.select=function(t){return t=a(t).replace(/([^\\]):/g,"$1\\:"),Z(n.doc.querySelector(t))},e.selectAll=function(t){for(var i=n.doc.querySelectorAll(t),r=(e.set||Array)(),o=0;o<i.length;o++)r.push(Z(i[o]));return r},setInterval((function(){for(var t in A)if(A[o](t)){var e=A[t],n=e.node;("svg"!=e.type&&!n.ownerSVGElement||"svg"==e.type&&(!n.parentNode||"ownerSVGElement"in n.parentNode&&!n.ownerSVGElement))&&delete A[t]}}),1e4),j.prototype.attr=function(t,e){var n=this,i=n.node;if(!t){if(1!=i.nodeType)return{text:i.nodeValue};for(var r=i.attributes,a={},s=0,l=r.length;s<l;s++)a[r[s].nodeName]=r[s].nodeValue;return a}if(k(t,"string")){if(!(arguments.length>1))return eve("snap.util.getattr."+t,n).firstDefined();var u={};u[t]=e,t=u}for(var c in t)t[o](c)&&eve("snap.util.attr."+c,n,t[c]);return n},e.parse=function(t){var e=n.doc.createDocumentFragment(),i=!0,r=n.doc.createElement("div");if((t=a(t)).match(/^\s*<\s*svg(?:\s|>)/)||(t="<svg>"+t+"</svg>",i=!1),r.innerHTML=t,t=r.getElementsByTagName("svg")[0])if(i)e=t;else for(;t.firstChild;)e.appendChild(t.firstChild);return new G(e)},e.fragment=function(){for(var t=Array.prototype.slice.call(arguments,0),i=n.doc.createDocumentFragment(),r=0,o=t.length;r<o;r++){var a=t[r];a.node&&a.node.nodeType&&i.appendChild(a.node),a.nodeType&&i.appendChild(a),"string"==typeof a&&i.appendChild(e.parse(a).node)}return new G(i)},e._.make=W,e._.wrap=Z,H.prototype.el=function(t,e){var n=W(t,this.node);return e&&n.attr(e),n},j.prototype.children=function(){for(var t=[],n=this.node.childNodes,i=0,r=n.length;i<r;i++)t[i]=e(n[i]);return t},j.prototype.toJSON=function(){var t=[];return $([this],t),t[0]},eve.on("snap.util.getattr",(function(){var t=eve.nt(),e=(t=t.substring(t.lastIndexOf(".")+1)).replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}));return U[o](e)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(e):I(this.node,t)}));var U={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0,"clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0,"lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode
1-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};eve.on("snap.util.attr",(function(t){var e=eve.nt(),n={};n[e=e.substring(e.lastIndexOf(".")+1)]=t;var i=e.replace(/-(\w)/gi,(function(t,e){return e.toUpperCase()})),r=e.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}));U[o](r)?this.node.style[i]=null==t?"":t:I(this.node,n)})),H.prototype,e.ajax=function(t,e,n,i){var r=new XMLHttpRequest,o=T();if(r){if(k(e,"function"))i=n,n=e,e=null;else if(k(e,"object")){var a=[];for(var s in e)e.hasOwnProperty(s)&&a.push(encodeURIComponent(s)+"="+encodeURIComponent(e[s]));e=a.join("&")}return r.open(e?"POST":"GET",t,!0),e&&(r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.setRequestHeader("Content-type","application/x-www-form-urlencoded")),n&&(eve.once("snap.ajax."+o+".0",n),eve.once("snap.ajax."+o+".200",n),eve.once("snap.ajax."+o+".304",n)),r.onreadystatechange=function(){4==r.readyState&&eve("snap.ajax."+o+"."+r.status,i,r)},4==r.readyState?r:(r.send(e),r)}},e.load=function(t,n,i){e.ajax(t,(function(t){var r=e.parse(t.responseText);i?n.call(i,r):n(r)}))};return e.getElementByPoint=function(t,e){this.canvas;var i,r,o,a,s,l,u,c=n.doc.elementFromPoint(t,e);if(n.win.opera&&"svg"==c.tagName){var h=(r=(i=c).getBoundingClientRect(),o=i.ownerDocument,a=o.body,s=o.documentElement,l=s.clientTop||a.clientTop||0,u=s.clientLeft||a.clientLeft||0,{y:r.top+(g.win.pageYOffset||s.scrollTop||a.scrollTop)-l,x:r.left+(g.win.pageXOffset||s.scrollLeft||a.scrollLeft)-u}),p=c.createSVGRect();p.x=t-h.x,p.y=e-h.y,p.width=p.height=1;var f=c.getIntersectionList(p,null);f.length&&(c=f[f.length-1])}return c?Z(c):null},e.plugin=function(t){t(e,j,H,n,G)},n.win.Snap=e,e}(window||this);r.plugin((function(t,e,n,i,r){var o=e.prototype,a=t.is,s=String,l=t._unit2px,u=t._.$,c=t._.make,h=t._.getSomeDefs,p=t._.wrap;o.getBBox=function(e){if("tspan"==this.type)return t._.box(this.node.getClientRects().item(0));if(!t.Matrix||!t.path)return this.node.getBBox();var n=this,i=new t.Matrix;if(n.removed)return t._.box();for(;"use"==n.type;)if(e||(i=i.add(n.transform().localMatrix.translate(n.attr("x")||0,n.attr("y")||0))),n.original)n=n.original;else{var r=n.attr("xlink:href");n=n.original=n.node.ownerDocument.getElementById(r.substring(r.indexOf("#")+1))}var o=n._,a=t.path.get[n.type]||t.path.get.deflt;try{return e?(o.bboxwt=a?t.path.getBBox(n.realPath=a(n)):t._.box(n.node.getBBox()),t._.box(o.bboxwt)):(n.realPath=a(n),n.matrix=n.transform().localMatrix,o.bbox=t.path.getBBox(t.path.map(n.realPath,i.add(n.matrix))),t._.box(o.bbox))}catch(e){return t._.box()}};var f=function(){return this.string};function d(e,n){if(null==n){var i=!0;if(!(n="linearGradient"==e.type||"radialGradient"==e.type?e.node.getAttribute("gradientTransform"):"pattern"==e.type?e.node.getAttribute("patternTransform"):e.node.getAttribute("transform")))return new t.Matrix;n=t._.svgTransform2string(n)}else n=t._.rgTransform.test(n)?s(n).replace(/\.{3}|\u2026/g,e._.transform||""):t._.svgTransform2string(n),a(n,"array")&&(n=t.path?t.path.toString.call(n):s(n)),e._.transform=n;var r=t._.transform2matrix(n,e.getBBox(1));if(i)return r;e.matrix=r}o.transform=function(e){var n=this._;if(null==e){for(var i,r=this,o=new t.Matrix(this.node.getCTM()),a=d(this),l=[a],c=new t.Matrix,h=a.toTransformString(),p=s(a)==s(this.matrix)?s(n.transform):h;"svg"!=r.type&&(r=r.parent());)l.push(d(r));for(i=l.length;i--;)c.add(l[i]);return{string:p,globalMatrix:o,totalMatrix:c,localMatrix:a,diffMatrix:o.clone().add(a.invert()),global:o.toTransformString(),total:c.toTransformString(),local:h,toString:f}}return e instanceof t.Matrix?(this.matrix=e,this._.transform=e.toTransformString()):d(this,e),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?u(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?u(this.node,{patternTransform:this.matrix}):u(this.node,{transform:this.matrix})),this},o.parent=function(){return p(this.node.parentNode)},o.append=o.add=function(t){if(t){if("set"==t.type){var e=this;return t.forEach((function(t){e.add(t)})),this}t=p(t),this.node.appendChild(t.node),t.paper=this.paper}return this},o.appendTo=function(t){return t&&(t=p(t)).append(this),this},o.prepend=function(t){if(t){if("set"==t.type){var e,n=this;return t.forEach((function(t){e?e.after(t):n.prepend(t),e=t})),this}var i=(t=p(t)).parent();this.node.insertBefore(t.node,this.node.firstChild),this.add&&this.add(),t.paper=this.paper,this.parent()&&this.parent().add(),i&&i.add()}return this},o.prependTo=function(t){return(t=p(t)).prepend(this),this},o.before=function(t){if("set"==t.type){var e=this;return t.forEach((function(t){var n=t.parent();
vendor: 4,119 bytes, line 1
1e.node.parentNode.insertBefore(t.node,e.node),n&&n.add()})),this.parent().add(),this}var n=(t=p(t)).parent();return this.node.parentNode.insertBefore(t.node,this.node),this.parent()&&this.parent().add(),n&&n.add(),t.paper=this.paper,this},o.after=function(t){var e=(t=p(t)).parent();return this.node.nextSibling?this.node.parentNode.insertBefore(t.node,this.node.nextSibling):this.node.parentNode.appendChild(t.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper,this},o.insertBefore=function(t){t=p(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},o.insertAfter=function(t){t=p(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node.nextSibling),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},o.remove=function(){var t=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,t&&t.add(),this},o.select=function(t){return p(this.node.querySelector(t))},o.selectAll=function(e){for(var n=this.node.querySelectorAll(e),i=(t.set||Array)(),r=0;r<n.length;r++)i.push(p(n[r]));return i},o.asPX=function(t,e){return null==e&&(e=this.attr(t)),+l(this,t,e)},o.use=function(){var t,e=this.node.id;return e||(e=this.id,u(this.node,{id:e})),t="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?c(this.type,this.node.parentNode):c("use",this.node.parentNode),u(t.node,{"xlink:href":"#"+e}),t.original=this,t},o.clone=function(){var e=p(this.node.cloneNode(!0));return u(e.node,"id")&&u(e.node,{id:e.id}),function(e){var n,i=e.selectAll("*"),r=/^\s*url\(("|'|)(.*)\1\)\s*$/,o=[],a={};function s(e,n){var i=u(e.node,n);(i=(i=i&&i.match(r))&&i[2])&&"#"==i.charAt()&&(i=i.substring(1))&&(a[i]=(a[i]||[]).concat((function(i){var r={};r[n]=t.url(i),u(e.node,r)})))}function l(t){var e=u(t.node,"xlink:href");e&&"#"==e.charAt()&&(e=e.substring(1))&&(a[e]=(a[e]||[]).concat((function(e){t.attr("xlink:href","#"+e)})))}for(var c=0,h=i.length;c<h;c++){s(n=i[c],"fill"),s(n,"stroke"),s(n,"filter"),s(n,"mask"),s(n,"clip-path"),l(n);var p=u(n.node,"id");p&&(u(n.node,{id:n.id}),o.push({old:p,id:n.id}))}for(c=0,h=o.length;c<h;c++){var f=a[o[c].old];if(f)for(var d=0,g=f.length;d<g;d++)f[d](o[c].id)}}(e),e.insertAfter(this),e},o.toDefs=function(){return h(this).appendChild(this.node),this},o.pattern=o.toPattern=function(t,e,n,i){var r=c("pattern",h(this));return null==t&&(t=this.getBBox()),a(t,"object")&&"x"in t&&(e=t.y,n=t.width,i=t.height,t=t.x),u(r.node,{x:t,y:e,width:n,height:i,patternUnits:"userSpaceOnUse",id:r.id,viewBox:[t,e,n,i].join(" ")}),r.node.appendChild(this.node),r},o.marker=function(t,e,n,i,r,o){var s=c("marker",h(this));return null==t&&(t=this.getBBox()),a(t,"object")&&"x"in t&&(e=t.y,n=t.width,i=t.height,r=t.refX||t.cx,o=t.refY||t.cy,t=t.x),u(s.node,{viewBox:[t,e,n,i].join(" "),markerWidth:n,markerHeight:i,orient:"auto",refX:r||0,refY:o||0,id:s.id}),s.node.appendChild(this.node),s};var g={};function m(t){return function(){var e=t?"<"+this.type:"",n=this.node.attributes,i=this.node.childNodes;if(t)for(var r=0,o=n.length;r<o;r++)e+=" "+n[r].name+'="'+n[r].value.replace(/"/g,'\\"')+'"';if(i.length){for(t&&(e+=">"),r=0,o=i.length;r<o;r++)3==i[r].nodeType?e+=i[r].nodeValue:1==i[r].nodeType&&(e+=p(i[r]).toString());t&&(e+="</"+this.type+">")}else t&&(e+="/>");return e}}o.data=function(e,n){var i=g[this.id]=g[this.id]||{};if(0==arguments.length)return eve("snap.data.get."+this.id,this,i,null),i;if(1==arguments.length){if(t.is(e,"object")){for(var r in e)e.hasOwnProperty(r)&&this.data(r,e[r]);return this}return eve("snap.data.get."+this.id,this,i[e],e),i[e]}return i[e]=n,eve("snap.data.set."+this.id,this,n,e),this},o.removeData=function(t){return null==t?g[this.id]={}:g[this.id]&&delete g[this.id][t],this},o.outerSVG=o.toString=m(1),o.innerSVG=m(),o.toDataURL=function(){if(window&&window.btoa){var e=this.getBBox(),n=t.format('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{width}" height="{height}
1" viewBox="{x} {y} {width} {height}">{contents}</svg>',{x:+e.x.toFixed(3),y:+e.y.toFixed(3),width:+e.width.toFixed(3),height:+e.height.toFixed(3),contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n)))}},r.prototype.select=o.select,r.prototype.selectAll=o.selectAll})),r.plugin((function(t,e,n,i,r){var o=Object.prototype.toString,a=String,s=Math;function l(t,e,n,i,r,a){if(null==e&&"[object SVGMatrix]"==o.call(t))return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,void(this.f=t.f);null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+i,this.e=+r,this.f=+a):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}!function(e){function n(t){return t[0]*t[0]+t[1]*t[1]}function i(t){var e=s.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}e.add=function(t,e,n,i,r,o){if(t&&t instanceof l)return this.add(t.a,t.b,t.c,t.d,t.e,t.f);var a=t*this.a+e*this.c,s=t*this.b+e*this.d;return this.e+=r*this.a+o*this.c,this.f+=r*this.b+o*this.d,this.c=n*this.a+i*this.c,this.d=n*this.b+i*this.d,this.a=a,this.b=s,this},l.prototype.multLeft=function(t,e,n,i,r,o){if(t&&t instanceof l)return this.multLeft(t.a,t.b,t.c,t.d,t.e,t.f);var a=t*this.a+n*this.b,s=t*this.c+n*this.d,u=t*this.e+n*this.f+r;return this.b=e*this.a+i*this.b,this.d=e*this.c+i*this.d,this.f=e*this.e+i*this.f+o,this.a=a,this.c=s,this.e=u,this},e.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new l(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},e.clone=function(){return new l(this.a,this.b,this.c,this.d,this.e,this.f)},e.translate=function(t,e){return this.e+=t*this.a+e*this.c,this.f+=t*this.b+e*this.d,this},e.scale=function(t,e,n,i){return null==e&&(e=t),(n||i)&&this.translate(n,i),this.a*=t,this.b*=t,this.c*=e,this.d*=e,(n||i)&&this.translate(-n,-i),this},e.rotate=function(e,n,i){e=t.rad(e),n=n||0,i=i||0;var r=+s.cos(e).toFixed(9),o=+s.sin(e).toFixed(9);return this.add(r,o,-o,r,n,i),this.add(1,0,0,1,-n,-i)},e.skewX=function(t){return this.skew(t,0)},e.skewY=function(t){return this.skew(0,t)},e.skew=function(e,n){e=e||0,n=n||0,e=t.rad(e),n=t.rad(n);var i=s.tan(e).toFixed(9),r=s.tan(n).toFixed(9);return this.add(1,r,i,1,0,0)},e.x=function(t,e){return t*this.a+e*this.c+this.e},e.y=function(t,e){return t*this.b+e*this.d+this.f},e.get=function(t){return+this[a.fromCharCode(97+t)].toFixed(4)},e.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.determinant=function(){return this.a*this.d-this.b*this.c},e.split=function(){var e={};e.dx=this.e,e.dy=this.f;var r=[[this.a,this.b],[this.c,this.d]];e.scalex=s.sqrt(n(r[0])),i(r[0]),e.shear=r[0][0]*r[1][0]+r[0][1]*r[1][1],r[1]=[r[1][0]-r[0][0]*e.shear,r[1][1]-r[0][1]*e.shear],e.scaley=s.sqrt(n(r[1])),i(r[1]),e.shear/=e.scaley,this.determinant()<0&&(e.scalex=-e.scalex);var o=r[0][1],a=r[1][1];return a<0?(e.rotate=t.deg(s.acos(a)),o<0&&(e.rotate=360-e.rotate)):e.rotate=t.deg(s.asin(o)),e.isSimple=!(+e.shear.toFixed(9)||e.scalex.toFixed(9)!=e.scaley.toFixed(9)&&e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e},e.toTransformString=function(t){var e=t||this.split();return+e.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[+e.dx.toFixed(4),+e.dy.toFixed(4)]:"")+(e.rotate?"r"+[+e.rotate.toFixed(4),0,0]:"")+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:""))}}(l.prototype),t.Matrix=l,t.matrix=function(t,e,n,i,r,o){return new l(t,e,n,i,r,o)}})),r.plugin((function(t,e,n,i,r){var o,a=t._.make,s=t._.wrap,l=t.is,u=t._.getSomeDefs,c=/^url\((['"]?)([^)]+)\1\)$/,h=t._.$,p=t.url,f=String,d=t._.separator;function g(n){return function(i){if(eve.stop(),i instanceof r&&1==i.node.childNodes.length&&("radialGradient"==i.node.firstChild.tagName||"linearGradient"==i.node.firstChild.tagName||"pattern"==i.node.firstChild.tagName)&&(i=i.node.firstChild,u(this).appendChild(i),i=s(i)),i instanceof e)if("radialGradient"==i.type||"linearGradient"==i.type||"pattern"==i.type){i.node.id||h(i.node,{id:i.id});var o=p(i.node.id)}else o=i.attr(n);else if((o=t.color(i)).error){var a=t(u(this).ownerSVGElement).gradient(i);a?(a.node.id||h(a.node,{id:a.id}),o=p(a.node.id)):o=i}else o=f(o);var l={};l[n]=o,h(this.node,l),this.node.style[n]=""}}t.deurl=function(t){var e=String(t).match(c);return e?e[2]:t},eve.on("snap.util.attr.mask",(function(t){if(t instanceof e||t instanceof r){if(eve.stop(),t instanceof r&&1==t.node.childNodes.length&&(t=t.node.firstChild,u(this).appendChild(t),t=s(t)),"mask"==t.type)var n=t;else(n=a("mask",u(this))).node.appendChild(t.node);!n.node.id&&h(n.node,{id:n.id}
1),h(this.node,{mask:p(n.id)})}})),o=function(t){if(t instanceof e||t instanceof r){eve.stop();for(var n,i=t.node;i;){if("clipPath"===i.nodeName){n=new e(i);break}if("svg"===i.nodeName){n=void 0;break}i=i.parentNode}n||((n=a("clipPath",u(this))).node.appendChild(t.node),!n.node.id&&h(n.node,{id:n.id})),h(this.node,{"clip-path":p(n.node.id||n.id)})}},eve.on("snap.util.attr.clip",o),eve.on("snap.util.attr.clip-path",o),eve.on("snap.util.attr.clipPath",o),eve.on("snap.util.attr.fill",g("fill")),eve.on("snap.util.attr.stroke",g("stroke"));var m=/^([lr])(?:\(([^)]*)\))?(.*)$/i;function v(t){eve.stop(),t==+t&&(t+="px"),this.node.style.fontSize=t}function y(t){for(var e=[],n=t.childNodes,i=0,r=n.length;i<r;i++){var o=n[i];3==o.nodeType&&e.push(o.nodeValue),"tspan"==o.tagName&&(1==o.childNodes.length&&3==o.firstChild.nodeType?e.push(o.firstChild.nodeValue):e.push(y(o)))}return e}function _(){return eve.stop(),this.node.style.fontSize}eve.on("snap.util.grad.parse",(function(t){var e=(t=f(t)).match(m);if(!e)return null;var n=e[1],i=e[2],r=e[3];1==(i=i.split(/\s*,\s*/).map((function(t){return+t==t?+t:t}))).length&&0==i[0]&&(i=[]);var o=(r=(r=r.split("-")).map((function(t){var e={color:(t=t.split(":"))[0]};return t[1]&&(e.offset=parseFloat(t[1])),e}))).length,a=0,s=0;function l(t,e){for(var n=(e-a)/(t-s),i=s;i<t;i++)r[i].offset=+(+a+n*(i-s)).toFixed(2);s=t,a=e}o--;for(var u=0;u<o;u++)"offset"in r[u]&&l(u,r[u].offset);return r[o].offset=r[o].offset||100,l(o,r[o].offset),{type:n,params:i,stops:r}})),eve.on("snap.util.attr.d",(function(e){eve.stop(),l(e,"array")&&l(e[0],"array")&&(e=t.path.toString.call(e)),(e=f(e)).match(/[ruo]/i)&&(e=t.path.toAbsolute(e)),h(this.node,{d:e})}))(-1),eve.on("snap.util.attr.#text",(function(t){eve.stop(),t=f(t);for(var e=i.doc.createTextNode(t);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(e)}))(-1),eve.on("snap.util.attr.path",(function(t){eve.stop(),this.attr({d:t})}))(-1),eve.on("snap.util.attr.class",(function(t){eve.stop(),this.node.className.baseVal=t}))(-1),eve.on("snap.util.attr.viewBox",(function(t){var e;e=l(t,"object")&&"x"in t?[t.x,t.y,t.width,t.height].join(" "):l(t,"array")?t.join(" "):t,h(this.node,{viewBox:e}),eve.stop()}))(-1),eve.on("snap.util.attr.transform",(function(t){this.transform(t),eve.stop()}))(-1),eve.on("snap.util.attr.r",(function(t){"rect"==this.type&&(eve.stop(),h(this.node,{rx:t,ry:t}))}))(-1),eve.on("snap.util.attr.textpath",(function(t){if(eve.stop(),"text"==this.type){var n,i,r;if(!t&&this.textPath){for(i=this.textPath;i.node.firstChild;)this.node.appendChild(i.node.firstChild);return i.remove(),void delete this.textPath}if(l(t,"string")){var o=u(this),a=s(o.parentNode).path(t);o.appendChild(a.node),n=a.id,a.attr({id:n})}else(t=s(t))instanceof e&&((n=t.attr("id"))||(n=t.id,t.attr({id:n})));if(n)if(i=this.textPath,r=this.node,i)i.attr({"xlink:href":"#"+n});else{for(i=h("textPath",{"xlink:href":"#"+n});r.firstChild;)i.appendChild(r.firstChild);r.appendChild(i),this.textPath=s(i)}}}))(-1),eve.on("snap.util.attr.text",(function(t){if("text"==this.type){for(var e=this.node,n=function(t){var e=h("tspan");if(l(t,"array"))for(var r=0;r<t.length;r++)e.appendChild(n(t[r]));else e.appendChild(i.doc.createTextNode(t));return e.normalize&&e.normalize(),e};e.firstChild;)e.removeChild(e.firstChild);for(var r=n(t);r.firstChild;)e.appendChild(r.firstChild)}eve.stop()}))(-1),eve.on("snap.util.attr.fontSize",v)(-1),eve.on("snap.util.attr.font-size",v)(-1),eve.on("snap.util.getattr.transform",(function(){return eve.stop(),this.transform()}))(-1),eve.on("snap.util.getattr.textpath",(function(){return eve.stop(),this.textPath}))(-1),function(){function e(e){return function(){eve.stop();var n=i.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+e);return"none"==n?n:t(i.doc.getElementById(n.match(c)[1]))}}function n(t){return function(e){eve.stop();var n="marker"+t.charAt(0).toUpperCase()+t.substring(1);if(""!=e&&e){if("marker"==e.type){var i=e.node.id;return i||h(e.node,{id:e.id}),void(this.node.style[n]=p(i))}}else this.node.style[n]="none"}}eve.on("snap.util.getattr.marker-end",e("end"))(-1),eve.on("snap.util.getattr.markerEnd",e("end"))(-1),eve.on("snap.util.getattr.marker-start",e("start"))(-1),eve.on("snap.util.getattr.markerStart",e("start"))(-1),eve.on("snap.util.getattr.marker-mid",e("mid"))(-1),eve.on("snap.util.getattr.markerMid",e("mid"))(-1),eve.on("snap.util.attr.marker-end",n("end"))(-1),eve.on("snap.util.attr.markerEnd",n("end"))(-1),eve.on("snap.util.attr.marker-start",n("start"))(-1),eve.on("snap.util.attr.markerStart",n("start"))(-1),eve.on("snap.util.attr.marker-mid",n("mid"))(-1),eve.on("snap.util.attr.markerMid",n("mid"))(-1)}(),eve.on("snap.util.getattr.r",(function(){if("rect"==this.type&&h(this.node,"rx")==h(this.node,"ry"))return eve.stop(),h(this.node,"rx")}))(-1),eve.on("snap.util.getattr.text",(function(){if("text"==this.type||"tspan"==this.type){eve.stop();var t=y(this.node);return 1==t.length?t[0]:t}}))(-1),eve.on("snap.util.getattr.#text",(function(){return this.node.textContent}))(-1),eve.on("snap.util.getattr.fill",(function(e){if(!e){eve.stop();var n=eve("snap.util.getattr.fill",this,!0).firstDefined();return t(t.deurl(n))||n}}))(-1),eve.on("snap.util.getattr.stroke",(function(e){if(!e){eve.stop();var n=eve("snap.util.getattr.stroke",this,!0).firstDefined();return t(t.deurl(n))||n}}))(-1),eve.on("snap.util.getattr.viewBox",(function(){eve.stop();var e=h(this.node,"viewBox");return e?(e=e.split(d),t._.box(+e[0],+e[1],+e[2],+e[3])):void 0}))(-1),eve.on("snap.util.getattr.points",(function(){var t=h(this.node,"points");return eve.stop(),t?t.split(d):void 0}))(-1),eve.on("snap.util.getattr.path",(function(){var t=h(this.node,"d");return eve.stop(),t}))(-1),eve.on("snap.util.getattr.class",(function(){return this.node.className.baseVal}))(-1),eve.on("snap.util.getattr.fontSize",_)(-1),eve.on("snap.util.getattr.font-size",_)(-1)})),r.plugin((function(t,e,n,i,r){var o=/\S+/g,a=String,s=e.prototype;s.addClass=function(t){var e,n,i,r=a(t||"").match(o)||[],s=this.node,l=s.className.baseVal,u=l.match(o)||[];if(r.length){for(e=0;
vendor: 4,881 bytes, line 1
1n=r[e++];)~u.indexOf(n)||u.push(n);l!=(i=u.join(" "))&&(s.className.baseVal=i)}return this},s.removeClass=function(t){var e,n,i,r,s=a(t||"").match(o)||[],l=this.node,u=l.className.baseVal,c=u.match(o)||[];if(c.length){for(e=0;i=s[e++];)~(n=c.indexOf(i))&&c.splice(n,1);u!=(r=c.join(" "))&&(l.className.baseVal=r)}return this},s.hasClass=function(t){return!!~(this.node.className.baseVal.match(o)||[]).indexOf(t)},s.toggleClass=function(t,e){if(null!=e)return e?this.addClass(t):this.removeClass(t);var n,i,r,a,s=(t||"").match(o)||[],l=this.node,u=l.className.baseVal,c=u.match(o)||[];for(n=0;r=s[n++];)~(i=c.indexOf(r))?c.splice(i,1):c.push(r);return u!=(a=c.join(" "))&&(l.className.baseVal=a),this}})),r.plugin((function(t,e,n,i,r){var o={"+":function(t,e){return t+e},"-":function(t,e){return t-e},"/":function(t,e){return t/e},"*":function(t,e){return t*e}},a=String,s=/[a-z]+$/i,l=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;function u(t){return t}function c(t){return function(e){return+e.toFixed(3)+t}}eve.on("snap.util.attr",(function(t){var e=a(t).match(l);if(e){var n=eve.nt(),i=n.substring(n.lastIndexOf(".")+1),r=this.attr(i),u={};eve.stop();var c=e[3]||"",h=r.match(s),p=o[e[1]];if(h&&h==c?t=p(parseFloat(r),+e[2]):(r=this.asPX(i),t=p(this.asPX(i),this.asPX(i,e[2]+c))),isNaN(r)||isNaN(t))return;u[i]=t,this.attr(u)}}))(-10),eve.on("snap.util.equal",(function(t,e){var n=a(this.attr(t)||""),i=a(e).match(l);if(i){eve.stop();var r=i[3]||"",h=n.match(s),p=o[i[1]];return h&&h==r?{from:parseFloat(n),to:p(parseFloat(n),+i[2]),f:c(h)}:{from:n=this.asPX(t),to:p(n,this.asPX(t,i[2]+r)),f:u}}}))(-10)})),r.plugin((function(t,e,n,i,r){var o=n.prototype,a=t.is;o.rect=function(t,e,n,i,r,o){var s;return null==o&&(o=r),a(t,"object")&&"[object Object]"==t?s=t:null!=t&&(s={x:t,y:e,width:n,height:i},null!=r&&(s.rx=r,s.ry=o)),this.el("rect",s)},o.circle=function(t,e,n){var i;return a(t,"object")&&"[object Object]"==t?i=t:null!=t&&(i={cx:t,cy:e,r:n}),this.el("circle",i)};var s=function(){function t(){this.parentNode.removeChild(this)}return function(e,n){var r=i.doc.createElement("img"),o=i.doc.body;r.style.cssText="position:absolute;left:-9999em;top:-9999em",r.onload=function(){n.call(r),r.onload=r.onerror=null,o.removeChild(r)},r.onerror=t,o.appendChild(r),r.src=e}}();o.image=function(e,n,i,r,o){var l=this.el("image");if(a(e,"object")&&"src"in e)l.attr(e);else if(null!=e){var u={"xlink:href":e,preserveAspectRatio:"none"};null!=n&&null!=i&&(u.x=n,u.y=i),null!=r&&null!=o?(u.width=r,u.height=o):s(e,(function(){t._.$(l.node,{width:this.offsetWidth,height:this.offsetHeight})})),t._.$(l.node,u)}return l},o.ellipse=function(t,e,n,i){var r;return a(t,"object")&&"[object Object]"==t?r=t:null!=t&&(r={cx:t,cy:e,rx:n,ry:i}),this.el("ellipse",r)},o.path=function(t){var e;return a(t,"object")&&!a(t,"array")?e=t:t&&(e={d:t}),this.el("path",e)},o.group=o.g=function(t){var e=this.el("g");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},o.svg=function(t,e,n,i,r,o,s,l){var u={};return a(t,"object")&&null==e?u=t:(null!=t&&(u.x=t),null!=e&&(u.y=e),null!=n&&(u.width=n),null!=i&&(u.height=i),null!=r&&null!=o&&null!=s&&null!=l&&(u.viewBox=[r,o,s,l])),this.el("svg",u)},o.mask=function(t){var e=this.el("mask");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},o.ptrn=function(t,e,n,i,r,o,s,l){if(a(t,"object"))var u=t;else u={patternUnits:"userSpaceOnUse"},t&&(u.x=t),e&&(u.y=e),null!=n&&(u.width=n),null!=i&&(u.height=i),u.viewBox=null!=r&&null!=o&&null!=s&&null!=l?[r,o,s,l]:[t||0,e||0,n||0,i||0];return this.el("pattern",u)},o.use=function(n){return null!=n?(n instanceof e&&(n.attr("id")||n.attr({id:t._.id(n)}),n=n.attr("id")),"#"==String(n).charAt()&&(n=n.substring(1)),this.el("use",{"xlink:href":"#"+n})):e.prototype.use.call(this)},o.symbol=function(t,e,n,i){var r={};return null!=t&&null!=e&&null!=n&&null!=i&&(r.viewBox=[t,e,n,i]),this.el("symbol",r)},o.text=function(t,e,n){var i={};return a(t,"object")?i=t:null!=t&&(i={x:t,y:e,text:n||""}),this.el("text",i)},o.line=function(t,e,n,i){var r={};return a(t,"object")?r=t:null!=t&&(r={x1:t,x2:n,y1:e,y2:i}),this.el("line",r)},o.polyline=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return a(t,"object")&&!a(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polyline",e)},o.polygon=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return a(t,"object")&&!a(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polygon",e)},function(){var e=t._.$;function n(){return this.selectAll("stop")}function i(n,i){var r=e("stop"),o={offset:+i+"%"};n=t.color(n),o["stop-color"]=n.hex,n.opacity<1&&(o["stop-opacity"]=n.opacity),e(r,o);for(var a,s=this.stops(),l=0;l<s.length;l++){if(parseFloat(s[l].attr("offset"))>
1i){this.node.insertBefore(r,s[l].node),a=!0;break}}return a||this.node.appendChild(r),this}function r(){if("linearGradient"==this.type){var n=e(this.node,"x1")||0,i=e(this.node,"x2")||1,r=e(this.node,"y1")||0,o=e(this.node,"y2")||0;return t._.box(n,r,math.abs(i-n),math.abs(o-r))}var a=this.node.cx||.5,s=this.node.cy||.5,l=this.node.r||0;return t._.box(a-l,s-l,2*l,2*l)}function a(e){var n=e,i=this.stops();if("string"==typeof e&&(n=eve("snap.util.grad.parse",null,"l(0,0,0,1)"+e).firstDefined().stops),t.is(n,"array")){for(var r=0;r<i.length;r++)if(n[r]){var o=t.color(n[r].color),a={offset:n[r].offset+"%"};a["stop-color"]=o.hex,o.opacity<1&&(a["stop-opacity"]=o.opacity),i[r].attr(a)}else i[r].remove();for(r=i.length;r<n.length;r++)this.addStop(n[r].color,n[r].offset);return this}}function s(o,s,l,u,c){var h=t._.make("linearGradient",o);return h.stops=n,h.addStop=i,h.getBBox=r,h.setStops=a,null!=s&&e(h.node,{x1:s,y1:l,x2:u,y2:c}),h}function l(o,a,s,l,u,c){var h=t._.make("radialGradient",o);return h.stops=n,h.addStop=i,h.getBBox=r,null!=a&&e(h.node,{cx:a,cy:s,r:l}),null!=u&&null!=c&&e(h.node,{fx:u,fy:c}),h}o.gradient=function(t){return function(t,n){var i,r=eve("snap.util.grad.parse",null,n).firstDefined();if(!r)return null;r.params.unshift(t),i="l"==r.type.toLowerCase()?s.apply(0,r.params):l.apply(0,r.params),r.type!=r.type.toLowerCase()&&e(i.node,{gradientUnits:"userSpaceOnUse"});for(var o=r.stops,a=o.length,u=0;u<a;u++){var c=o[u];i.addStop(c.color,c.offset)}return i}(this.defs,t)},o.gradientLinear=function(t,e,n,i){return s(this.defs,t,e,n,i)},o.gradientRadial=function(t,e,n,i,r){return l(this.defs,t,e,n,i,r)},o.toString=function(){var e,n=this.node.ownerDocument,i=n.createDocumentFragment(),r=n.createElement("div"),o=this.node.cloneNode(!0);return i.appendChild(r),r.appendChild(o),t._.$(o,{xmlns:"http://www.w3.org/2000/svg"}),e=r.innerHTML,i.removeChild(i.firstChild),e},o.toDataURL=function(){if(window&&window.btoa)return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(this)))},o.clear=function(){for(var t,e=this.node.firstChild;e;)t=e.nextSibling,"defs"!=e.tagName?e.parentNode.removeChild(e):o.clear.call({node:e}),e=t}}()})),r.plugin((function(t,e,n,i){var r=e.prototype,o=t.is,a=t._.clone,s="hasOwnProperty",l=/,?([a-z]),?/gi,u=parseFloat,c=Math,h=c.PI,p=c.min,f=c.max,d=c.pow,g=c.abs;function m(t){var e=m.ps=m.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout((function(){for(var n in e)e[s](n)&&n!=t&&(e[n].sleep--,!e[n].sleep&&delete e[n])})),e[t]}function v(t,e,n,i){return null==t&&(t=e=n=i=0),null==e&&(e=t.y,n=t.width,i=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:i,h:i,x2:t+n,y2:e+i,cx:t+n/2,cy:e+i/2,r1:c.min(n,i)/2,r2:c.max(n,i)/2,r0:c.sqrt(n*n+i*i)/2,path:R(t,e,n,i),vb:[t,e,n,i].join(" ")}}function y(){return this.join(",").replace(l,"$1")}function _(t){var e=a(t);return e.toString=y,e}function x(t,e,n,i,r,o,a,s,l){return null==l?D(t,e,n,i,r,o,a,s):M(t,e,n,i,r,o,a,s,function(t,e,n,i,r,o,a,s,l){if(l<0||D(t,e,n,i,r,o,a,s)<l)return;var u,c=1,h=c/2,p=c-h,f=.01;u=D(t,e,n,i,r,o,a,s,p);for(;g(u-l)>f;)u=D(t,e,n,i,r,o,a,s,p+=(u<l?1:-1)*(h/=2));return p}(t,e,n,i,r,o,a,s,l))}function b(n,i){function r(t){return+(+t).toFixed(3)}return t._.cacher((function(t,o,a){t instanceof e&&(t=t.attr("d"));for(var s,l,u,c,h,p="",f={},d=0,g=0,m=(t=H(t)).length;g<m;g++){if("M"==(u=t[g])[0])s=+u[1],l=+u[2];else{if(d+(c=x(s,l,u[1],u[2],u[3],u[4],u[5],u[6]))>o){if(i&&!f.start){if(p+=["C"+r((h=x(s,l,u[1],u[2],u[3],u[4],u[5],u[6],o-d)).start.x),r(h.start.y),r(h.m.x),r(h.m.y),r(h.x),r(h.y)],a)return p;f.start=p,p=["M"+r(h.x),r(h.y)+"C"+r(h.n.x),r(h.n.y),r(h.end.x),r(h.end.y),r(u[5]),r(u[6])].join(),d+=c,s=+u[5],l=+u[6];continue}if(!n&&!i)return h=x(s,l,u[1],u[2],u[3],u[4],u[5],u[6],o-d)}d+=c,s=+u[5],l=+u[6]}p+=u.shift()+u}return f.end=p,h=n?d:i?f:M(s,l,u[0],u[1],u[2],u[3],u[4],u[5],1)}),null,t._.clone)}var w=b(1),S=b(),T=b(0,1);function M(t,e,n,i,r,o,a,s,l){var u=1-l,p=d(u,3),f=d(u,2),g=l*l,m=g*l,v=t+2*l*(n-t)+g*(r-2*n+t),y=e+2*l*(i-e)+g*(o-2*i+e),_=n+2*l*(r-n)+g*(a-2*r+n),x=i+2*l*(o-i)+g*(s-2*o+i);return{x:p*t+3*f*l*n+3*u*l*l*r+m*a,y:p*e+3*f*l*i+3*u*l*l*o+m*s,m:{x:v,y:y},n:{x:_,y:x},start:{x:u*t+l*n,y:u*e+l*i},end:{x:u*r+l*a,y:u*o+l*s},alpha:90-180*c.atan2(v-_,y-x)/h}}function C(e,n,i,r,o,a,s,l){t.is(e,"array")||(e=[e,n,i,r,o,a,s,l]);var u=W.apply(null,e);return v(u.min.x,u.min.y,u.max.x-u.min.x,u.max.y-u.min.y)}function A(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height}function I(t,e){return t=v(t),A(e=v(e),t.x,t.y)||A(e,t.x2,t.y)||A(e,t.x,t.y2)||A(e,t.x2,t.y2)||A(t,e.x,e.y)||A(t,e.x2,e.y)||A(t,e.x,e.y2)||A(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}function k(t,e,n,i,r){return t*(t*(-3*e+9*n-9*i+3*r)+6*e-12*n+6*i)-3*e+3*n}function D(t,e,n,i,r,o,a,s,l){null==l&&(l=1);for(var u=(l=l>1?1:l<0?0:l)/2,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],p=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],f=0,d=0;d<12;d++){var g=u*h[d]+u,m=k(g,t,n,r,a),v=k(g,e,i,o,s),y=m*m+v*v;f+=p[d]*c.sqrt(y)}return u*f}
vendor: 5,712 bytes, line 1
1function P(t,e,n,i,r,o,a,s){if(!(f(t,n)<p(r,a)||p(t,n)>f(r,a)||f(e,i)<p(o,s)||p(e,i)>f(o,s))){var l=(t-n)*(o-s)-(e-i)*(r-a);if(l){var u=((t*i-e*n)*(r-a)-(t-n)*(r*s-o*a))/l,c=((t*i-e*n)*(o-s)-(e-i)*(r*s-o*a))/l,h=+u.toFixed(2),d=+c.toFixed(2);if(!(h<+p(t,n).toFixed(2)||h>+f(t,n).toFixed(2)||h<+p(r,a).toFixed(2)||h>+f(r,a).toFixed(2)||d<+p(e,i).toFixed(2)||d>+f(e,i).toFixed(2)||d<+p(o,s).toFixed(2)||d>+f(o,s).toFixed(2)))return{x:u,y:c}}}}function O(t,e,n){if(!I(C(t),C(e)))return n?0:[];for(var i=~~(D.apply(0,t)/8),r=~~(D.apply(0,e)/8),o=[],a=[],s={},l=n?0:[],u=0;u<i+1;u++){var c=M.apply(0,t.concat(u/i));o.push({x:c.x,y:c.y,t:u/i})}for(u=0;u<r+1;u++)c=M.apply(0,e.concat(u/r)),a.push({x:c.x,y:c.y,t:u/r});for(u=0;u<i;u++)for(var h=0;h<r;h++){var p=o[u],f=o[u+1],d=a[h],m=a[h+1],v=g(f.x-p.x)<.001?"y":"x",y=g(m.x-d.x)<.001?"y":"x",_=P(p.x,p.y,f.x,f.y,d.x,d.y,m.x,m.y);if(_){if(s[_.x.toFixed(4)]==_.y.toFixed(4))continue;s[_.x.toFixed(4)]=_.y.toFixed(4);var x=p.t+g((_[v]-p[v])/(f[v]-p[v]))*(f.t-p.t),b=d.t+g((_[y]-d[y])/(m[y]-d[y]))*(m.t-d.t);x>=0&&x<=1&&b>=0&&b<=1&&(n?l++:l.push({x:_.x,y:_.y,t1:x,t2:b}))}}return l}function E(t,e,n){t=H(t),e=H(e);for(var i,r,o,a,s,l,u,c,h,p,f=n?0:[],d=0,g=t.length;d<g;d++){var m=t[d];if("M"==m[0])i=s=m[1],r=l=m[2];else{"C"==m[0]?(h=[i,r].concat(m.slice(1)),i=h[6],r=h[7]):(h=[i,r,i,r,s,l,s,l],i=s,r=l);for(var v=0,y=e.length;v<y;v++){var _=e[v];if("M"==_[0])o=u=_[1],a=c=_[2];else{"C"==_[0]?(p=[o,a].concat(_.slice(1)),o=p[6],a=p[7]):(p=[o,a,o,a,u,c,u,c],o=u,a=c);var x=O(h,p,n);if(n)f+=x;else{for(var b=0,w=x.length;b<w;b++)x[b].segment1=d,x[b].segment2=v,x[b].bez1=h,x[b].bez2=p;f=f.concat(x)}}}}}return f}function L(t){var e=m(t);if(e.bbox)return a(e.bbox);if(!t)return v();for(var n,i=0,r=0,o=[],s=[],l=0,u=(t=H(t)).length;l<u;l++)if("M"==(n=t[l])[0])i=n[1],r=n[2],o.push(i),s.push(r);else{var c=W(i,r,n[1],n[2],n[3],n[4],n[5],n[6]);o=o.concat(c.min.x,c.max.x),s=s.concat(c.min.y,c.max.y),i=n[5],r=n[6]}var h=p.apply(0,o),d=p.apply(0,s),g=v(h,d,f.apply(0,o)-h,f.apply(0,s)-d);return e.bbox=a(g),g}function R(t,e,n,i,r){if(r)return[["M",+t+ +r,e],["l",n-2*r,0],["a",r,r,0,0,1,r,r],["l",0,i-2*r],["a",r,r,0,0,1,-r,r],["l",2*r-n,0],["a",r,r,0,0,1,-r,-r],["l",0,2*r-i],["a",r,r,0,0,1,r,-r],["z"]];var o=[["M",t,e],["l",n,0],["l",0,i],["l",-n,0],["z"]];return o.toString=y,o}function N(t,e,n,i,r){if(null==r&&null==i&&(i=n),t=+t,e=+e,n=+n,i=+i,null!=r)var o=Math.PI/180,a=t+n*Math.cos(-i*o),s=t+n*Math.cos(-r*o),l=[["M",a,e+n*Math.sin(-i*o)],["A",n,n,0,+(r-i>180),0,s,e+n*Math.sin(-r*o)]];else l=[["M",t,e],["m",0,-i],["a",n,i,0,1,1,0,2*i],["a",n,i,0,1,1,0,-2*i],["z"]];return l.toString=y,l}var F=t._unit2px,B={path:function(t){return t.attr("path")},circle:function(t){var e=F(t);return N(e.cx,e.cy,e.r)},ellipse:function(t){var e=F(t);return N(e.cx||0,e.cy||0,e.rx,e.ry)},rect:function(t){var e=F(t);return R(e.x||0,e.y||0,e.width,e.height,e.rx,e.ry)},image:function(t){var e=F(t);return R(e.x||0,e.y||0,e.width,e.height)},line:function(t){return"M"+[t.attr("x1")||0,t.attr("y1")||0,t.attr("x2"),t.attr("y2")]},polyline:function(t){return"M"+t.attr("points")},polygon:function(t){return"M"+t.attr("points")+"z"},deflt:function(t){var e=t.node.getBBox();return R(e.x,e.y,e.width,e.height)}};function z(e){var n=m(e);if(n.abs)return _(n.abs);if(o(e,"array")&&o(e&&e[0],"array")||(e=t.parsePathString(e)),!e||!e.length)return[["M",0,0]];var i,r=[],a=0,s=0,l=0,u=0,c=0;"M"==e[0][0]&&(l=a=+e[0][1],u=s=+e[0][2],c++,r[0]=["M",a,s]);for(var h,p,f=3==e.length&&"M"==e[0][0]&&"R"==e[1][0].toUpperCase()&&"Z"==e[2][0].toUpperCase(),d=c,g=e.length;d<g;d++){if(r.push(h=[]),(i=(p=e[d])[0])!=i.toUpperCase())switch(h[0]=i.toUpperCase(),h[0]){case"A":h[1]=p[1],h[2]=p[2],h[3]=p[3],h[4]=p[4],h[5]=p[5],h[6]=+p[6]+a,h[7]=+p[7]+s;break;case"V":h[1]=+p[1]+s;break;case"H":h[1]=+p[1]+a;break;case"R":for(var v=[a,s].concat(p.slice(1)),x=2,b=v.length;x<b;x++)v[x]=+v[x]+a,v[++x]=+v[x]+s;r.pop(),r=r.concat(Z(v,f));break;case"O":r.pop(),(v=N(a,s,p[1],p[2])).push(v[0]),r=r.concat(v);break;case"U":r.pop(),r=r.concat(N(a,s,p[1],p[2],p[3])),h=["U"].concat(r[r.length-1].slice(-2));break;case"M":l=+p[1]+a,u=+p[2]+s;default:for(x=1,b=p.length;x<b;x++)h[x]=+p[x]+(x%2?a:s)}else if("R"==i)v=[a,s].concat(p.slice(1)),r.pop(),r=r.concat(Z(v,f)),h=["R"].concat(p.slice(-2));else if("O"==i)r.pop(),(v=N(a,s,p[1],p[2])).push(v[0]),r=r.concat(v);else if("U"==i)r.pop(),r=r.concat(N(a,s,p[1],p[2],p[3])),h=["U"].concat(r[r.length-1].slice(-2));else for(var w=0,S=p.length;w<S;w++)h[w]=p[w];if("O"!=(i=i.toUpperCase()))switch(h[0]){case"Z":a=+l,s=+u;break;case"H":a=h[1];break;case"V":s=h[1];break;case"M":l=h[h.length-2],u=h[h.length-1];default:a=h[h.length-2],s=h[h.length-1]}}return r.toString=y,n.abs=_(r),r}function V(t,e,n,i){return[t,e,n,i,n,i]}function j(t,e,n,i,r,o){var a=1/3,s=2/3;return[a*t+s*n,a*e+s*i,a*r+s*n,a*o+s*i,r,o]}function G(e,n,i,r,o,a,s,l,u,p){var f,d=120*h/180,m=h/180*(+o||0),v=[],y=t._.cacher((function(t,e,n){return{x:t*c.cos(n)-e*c.sin(n),y:t*c.sin(n)+e*c.cos(n)}}));if(!i||!r)return[e,n,l,u,l,u];if(p)A=p[0],I=p[1],M=p[2],C=p[3];else{e=(f=y(e,n,-m)).x,n=f.y,l=(f=y(l,u,-m)).x,u=f.y;c.cos(h/180*o),c.sin(h/180*o);var _=(e-l)/2,x=(n-u)/2,b=_*_/(i*i)+x*x/(r*r);b>1&&(i*=b=c.sqrt(b),r*=b);var w=i*i,S=r*r,T=(a==s?-1:1)*c.sqrt(g((w*S-w*x*x-S*_*_)/(w*x*x+S*_*_))),M=T*i*x/r+(e+l)/2,C=T*-r*_/i+(n+u)/2,A=c.asin(((n-C)/r).toFixed(9)),I=c.asin(((u-C)/r).toFixed(9));(A=e<M?h-A:A)<0&&(A=2*h+A),(I=l<M?h-I:I)<0&&(I=2*h+I),s&&A>I&&(A-=2*h),!s&&I>A&&(I-=2*h)}var k=I-A;if(g(k)>d){var D=I,P=l,O=u;I=A+d*(s&&I>A?1:-1),v=G(l=M+i*c.cos(I),u=C+r*c.sin(I),i,r,o,0,s,P,O,[I,D,M,C])}k=I-A;var E=c.cos(A),L=c.sin(A),R=c.cos(I),N=c.sin(I),F=c.tan(k/4),B=4/3*i*F,z=4/3*r*F,V=[e,n],j=[e+B*L,n-z*E
vendor: 2,175 bytes, line 1
1],W=[l+B*N,u-z*R],H=[l,u];if(j[0]=2*V[0]-j[0],j[1]=2*V[1]-j[1],p)return[j,W,H].concat(v);for(var Z=[],$=0,U=(v=[j,W,H].concat(v).join().split(",")).length;$<U;$++)Z[$]=$%2?y(v[$-1],v[$],m).y:y(v[$],v[$+1],m).x;return Z}function W(t,e,n,i,r,o,a,s){for(var l,u,h,d,m,v,y,_,x=[],b=[[],[]],w=0;w<2;++w)if(0==w?(u=6*t-12*n+6*r,l=-3*t+9*n-9*r+3*a,h=3*n-3*t):(u=6*e-12*i+6*o,l=-3*e+9*i-9*o+3*s,h=3*i-3*e),g(l)<1e-12){if(g(u)<1e-12)continue;0<(d=-h/u)&&d<1&&x.push(d)}else y=u*u-4*h*l,_=c.sqrt(y),y<0||(0<(m=(-u+_)/(2*l))&&m<1&&x.push(m),0<(v=(-u-_)/(2*l))&&v<1&&x.push(v));for(var S,T=x.length,M=T;T--;)S=1-(d=x[T]),b[0][T]=S*S*S*t+3*S*S*d*n+3*S*d*d*r+d*d*d*a,b[1][T]=S*S*S*e+3*S*S*d*i+3*S*d*d*o+d*d*d*s;return b[0][M]=t,b[1][M]=e,b[0][M+1]=a,b[1][M+1]=s,b[0].length=b[1].length=M+2,{min:{x:p.apply(0,b[0]),y:p.apply(0,b[1])},max:{x:f.apply(0,b[0]),y:f.apply(0,b[1])}}}function H(t,e){var n=!e&&m(t);if(!e&&n.curve)return _(n.curve);for(var i=z(t),r=e&&z(e),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=function(t,e,n){var i,r;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(G.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"==n||"S"==n?(i=2*e.x-e.bx,r=2*e.y-e.by):(i=e.x,r=e.y),t=["C",i,r].concat(t.slice(1));break;case"T":"Q"==n||"T"==n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(j(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(j(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(V(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(V(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(V(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(V(e.x,e.y,e.X,e.Y))}return t},l=function(t,e){if(t[e].length>7){t[e].shift();for(var n=t[e];n.length;)h[e]="A",r&&(p[e]="A"),t.splice(e++,0,["C"].concat(n.splice(0,6)));t.splice(e,1),y=f(i.length,r&&r.length||0)}},c=function(t,e,n,o,a){t&&e&&"M"==t[a][0]&&"M"!=e[a][0]&&(e.splice(a,0,["M",o.x,o.y]),n.bx=0,n.by=0,n.x=t[a][1],n.y=t[a][2],y=f(i.length,r&&r.length||0))},h=[],p=[],d="",g="",v=0,y=f(i.length,r&&r.length||0);v<y;
vendor: 17,226 bytes, line 1
1v++){i[v]&&(d=i[v][0]),"C"!=d&&(h[v]=d,v&&(g=h[v-1])),i[v]=s(i[v],o,g),"A"!=h[v]&&"C"==d&&(h[v]="C"),l(i,v),r&&(r[v]&&(d=r[v][0]),"C"!=d&&(p[v]=d,v&&(g=p[v-1])),r[v]=s(r[v],a,g),"A"!=p[v]&&"C"==d&&(p[v]="C"),l(r,v)),c(i,r,o,a,v),c(r,i,a,o,v);var x=i[v],b=r&&r[v],w=x.length,S=r&&b.length;o.x=x[w-2],o.y=x[w-1],o.bx=u(x[w-4])||o.x,o.by=u(x[w-3])||o.y,a.bx=r&&(u(b[S-4])||a.x),a.by=r&&(u(b[S-3])||a.y),a.x=r&&b[S-2],a.y=r&&b[S-1]}return r||(n.curve=_(i)),r?[i,r]:i}function Z(t,e){for(var n=[],i=0,r=t.length;r-2*!e>i;i+=2){var o=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?r-4==i?o[3]={x:+t[0],y:+t[1]}:r-2==i&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[r-2],y:+t[r-1]}:r-4==i?o[3]=o[2]:i||(o[0]={x:+t[i],y:+t[i+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}t.path=m,t.path.getTotalLength=w,t.path.getPointAtLength=S,t.path.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return T(t,e).end;var i=T(t,n,1);return e?T(i,e).end:i},r.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},r.getPointAtLength=function(t){return S(this.attr("d"),t)},r.getSubpath=function(e,n){return t.path.getSubpath(this.attr("d"),e,n)},t._.box=v,t.path.findDotsAtSegment=M,t.path.bezierBBox=C,t.path.isPointInsideBBox=A,t.closest=function(e,n,i,r){for(var o=100,a=v(e-o/2,n-o/2,o,o),s=[],l=i[0].hasOwnProperty("x")?function(t){return{x:i[t].x,y:i[t].y}}:function(t){return{x:i[t],y:r[t]}},u=0;o<=1e6&&!u;){for(var c=0,h=i.length;c<h;c++){var p=l(c);if(A(a,p.x,p.y)){u++,s.push(p);break}}u||(a=v(e-(o*=2)/2,n-o/2,o,o))}if(1e6!=o){var f,d=1/0;for(c=0,h=s.length;c<h;c++){var g=t.len(e,n,s[c].x,s[c].y);d>g&&(d=g,s[c].len=g,f=s[c])}return f}},t.path.isBBoxIntersect=I,t.path.intersection=function(t,e){return E(t,e)},t.path.intersectionNumber=function(t,e){return E(t,e,1)},t.path.isPointInside=function(t,e,n){var i=L(t);return A(i,e,n)&&E(t,[["M",e,n],["H",i.x2+10]],1)%2==1},t.path.getBBox=L,t.path.get=B,t.path.toRelative=function(e){var n=m(e),i=String.prototype.toLowerCase;if(n.rel)return _(n.rel);t.is(e,"array")&&t.is(e&&e[0],"array")||(e=t.parsePathString(e));var r=[],o=0,a=0,s=0,l=0,u=0;"M"==e[0][0]&&(s=o=e[0][1],l=a=e[0][2],u++,r.push(["M",o,a]));for(var c=u,h=e.length;c<h;c++){var p=r[c]=[],f=e[c];if(f[0]!=i.call(f[0]))switch(p[0]=i.call(f[0]),p[0]){case"a":p[1]=f[1],p[2]=f[2],p[3]=f[3],p[4]=f[4],p[5]=f[5],p[6]=+(f[6]-o).toFixed(3),p[7]=+(f[7]-a).toFixed(3);break;case"v":p[1]=+(f[1]-a).toFixed(3);break;case"m":s=f[1],l=f[2];default:for(var d=1,g=f.length;d<g;d++)p[d]=+(f[d]-(d%2?o:a)).toFixed(3)}else{p=r[c]=[],"m"==f[0]&&(s=f[1]+o,l=f[2]+a);for(var v=0,x=f.length;v<x;v++)r[c][v]=f[v]}var b=r[c].length;switch(r[c][0]){case"z":o=s,a=l;break;case"h":o+=+r[c][b-1];break;case"v":a+=+r[c][b-1];break;default:o+=+r[c][b-2],a+=+r[c][b-1]}}return r.toString=y,n.rel=_(r),r},t.path.toAbsolute=z,t.path.toCubic=H,t.path.map=function(t,e){if(!e)return t;var n,i,r,o,a,s,l;for(r=0,a=(t=H(t)).length;r<a;r++)for(o=1,s=(l=t[r]).length;o<s;o+=2)n=e.x(l[o],l[o+1]),i=e.y(l[o],l[o+1]),l[o]=n,l[o+1]=i;return t},t.path.toString=y,t.path.clone=_})),r.plugin((function(t,e,n,r){var o=Math.max,a=Math.min,s=function(t){if(this.items=[],this.bindings={},this.length=0,this.type="set",t)for(var e=0,n=t.length;e<n;e++)t[e]&&(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},l=s.prototype;l.push=function(){for(var t,e,n=0,i=arguments.length;n<i;n++)(t=arguments[n])&&(this[e=this.items.length]=this.items[e]=t,this.length++);return this},l.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},l.forEach=function(t,e){for(var n=0,i=this.items.length;n<i;n++)if(!1===t.call(e,this.items[n],n))return this;return this},l.animate=function(e,n,r,o){"function"!=typeof r||r.length||(o=r,r=i.linear),e instanceof t._.Animation&&(o=e.callback,r=e.easing,n=r.dur,e=e.attr);var a=arguments;if(t.is(e,"array")&&t.is(a[a.length-1],"array"))var s=!0;var l,u=function(){l?this.b=l:l=this.b},c=0,h=this,p=o&&function(){++c==h.length&&o.call(this)};return this.forEach((function(t,i){eve.once("snap.animcreated."+t.id,u),s?a[i]&&t.animate.apply(t,a[i]):t.animate(e,n,r,p)}))},l.remove=function(){for(;this.length;)this.pop().remove();return this},l.bind=function(t,e,n){var i={};if("function"==typeof e)this.bindings[t]=e;else{var r=n||t;this.bindings[t]=function(t){i[r]=t,e.attr(i)}}return this},l.attr=function(t){var e={};for(var n in t)this.bindings[n]?this.bindings[n](t[n]):e[n]=t[n];for(var i=0,r=this.items.length;i<r;i++)this.items[i].attr(e);return this},l.clear=function(){for(;this.length;)this.pop()},l.splice=function(t,e,n){t=t<0?o(this.length+t,0):t,e=o(0,a(this.length-t,e));var i,r=[],l=[],u=[];for(i=2;i<arguments.length;i++)u.push(arguments[i]);for(i=0;i<e;i++)l.push(this[t+i]);for(;i<this.length-t;i++)r.push(this[t+i]);var c=u.length;for(i=0;i<c+r.length;i++)this.items[t+i]=this[t+i]=i<c?u[i]:r[i-c];for(i=this.items.length=this.length-=e-c;this[i];)delete this[i++];return new s(l)},l.exclude=function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]==t)return this.splice(e,1),!0;return!1},l.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},l.getBBox=function(){for(var t=[],e=[],n=[],i=[],r=this.items.length;r--;)if(!this.items[r].removed){var s=this.items[r].getBBox();t.push(s.x),e.push(s.y),n.push(s.x+s.width),i.push(s.y+s.height)}return{x:t=a.apply(0,t),y:e=a.apply(0,e),x2:n=o.apply(0,n),y2:i=o.apply(0,i),width:n-t,height:i-e,cx:t+(n-t)/2,cy:e+(i-e)/2}},l.clone=function(t){t=new s;for(var e=0,n=this.items.length;e<n;e++)t.push(this.items[e].clone());return t},l.toString=function(){return"Snapâs set"},l.type="set",t.Set=s,t.set=function(){var t=new s;return arguments.length&&t.push.apply(t,Array.prototype.slice.call(arguments,0)),t}})),r.plugin((function(t,e,n,i){var r={},o=/[%a-z]+$/i,a=String;function s(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}}function l(t){return t}function u(t){return t.join(" ")}function c(e){return t.rgb(e[0],e[1],e[2],e[3])}function h(t){var e,n,i,r,o,a,s=0,l=[];for(e=0,n=t.length;e<n;e++){for(o="[",a=['"'+t[e][0]+'"'],i=1,r=t[e].length;i<r;i++)a[i]="val["+s+++"]";o+=a+"]",l[e]=o}return Function("val","return Snap.path.toString.call(["+l+"])")}function p(t){for(var e=[],n=0,i=t.length;n<i;n++)for(var r=1,o=t[n].length;r<o;r++)e.push(t[n][r]);return e}function f(t){return isFinite(t)}r.stroke=r.fill="colour",e.prototype.equal=function(t,e){return eve("snap.util.equal",this,t,e).firstDefined()},eve.on("snap.util.equal",(function(e,n){var i,d,g=a(this.attr(e)||""),m=this;if("colour"==r[e])return i=t.color(g),d=t.color(n),{from:[i.r,i.g,i.b,i.opacity],to:[d.r,d.g,d.b,d.opacity],f:c};if("viewBox"==e)return{from:i=this.attr(e).vb.split(" ").map(Number),to:d=n.split(" ").map(Number),f:u};if("transform"==e||"gradientTransform"==e||"patternTransform"==e)return"string"==typeof n&&(n=a(n).replace(/\.{3}|\u2026/g,g)),function(e,n,i){e=e||new t.Matrix,n=n||new t.Matrix,e=t.parseTransformString(e.toTransformString())||[],n=t.parseTransformString(n.toTransformString())||[];for(var r,o,a,l,u=Math.max(e.length,n.length),c=[],f=[],d=0;d<u;d++){if(a=e[d]||s(n[d]),l=n[d]||s(a),a[0]!=l[0]||"r"==a[0].toLowerCase()&&(a[2]!=l[2]||a[3]!=l[3])||"s"==a[0].toLowerCase()&&(a[3]!=l[3]||a[4]!=l[4])){e=t._.transform2matrix(e,i()),n=t._.transform2matrix(n,i()),c=[["m",e.a,e.b,e.c,e.d,e.e,e.f]],f=[["m",n.a,n.b,n.c,n.d,n.e,n.f]];break}for(c[d]=[],f[d]=[],r=0,o=Math.max(a.length,l.length);r<o;r++)r in a&&(c[d][r]=a[r]),r in l&&(f[d][r]=l[r])}return{from:p(c),to:p(f),f:h(c)}}(g=this.matrix,n=t._.rgTransform.test(n)?t._.transform2matrix(n,this.getBBox()):t._.transform2matrix(t._.svgTransform2string(n),this.getBBox()),(function(){return m.getBBox(1)}));if("d"==e||"path"==e)return{from:p((i=t.path.toCubic(g,n))[0]),to:p(i[1]),f:h(i[0])};if("points"==e)return{from:i=a(g).split(t._.separator),to:d=a(n).split(t._.separator),f:function(t){return t}};if(f(g)&&f(n))return{from:parseFloat(g),to:parseFloat(n),f:l};var v,y,_,x=g.match(o),b=a(n).match(o);return x&&(y=x,_=b,t.is(y,"array")&&t.is(_,"array")&&y.toString()==_.toString())?{from:parseFloat(g),to:parseFloat(n),f:(v=x,function(t){return+t.toFixed(3)+v})}:{from:this.asPX(e),to:this.asPX(e,n),f:l}}))})),r.plugin((function(t,e,n,i){for(var r=e.prototype,o=("createTouch"in i.doc),a=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],s={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},l=function(t,e){var n="y"==t?"scrollTop":"scrollLeft",r=e&&e.node?e.node.ownerDocument:i.doc;return r[n in r.documentElement?"documentElement":"body"][n]},u=function(){return this.originalEvent.preventDefault()},c=function(){return this.originalEvent.stopPropagation()},h=function(t,e,n,i){var r=o&&s[e]?s[e]:e,a=function(r){var a=l("y",i),h=l("x",i);if(o&&s.hasOwnProperty(e))for(var p=0,f=r.targetTouches&&r.targetTouches.length;p<f;p++)if(r.targetTouches[p].target==t||t.contains(r.targetTouches[p].target)){var d=r;(r=r.targetTouches[p]).originalEvent=d,r.preventDefault=u,r.stopPropagation=c;break}var g=r.clientX+h,m=r.clientY+a;return n.call(i,r,g,m)};return e!==r&&t.addEventListener(e,a,!1),t.addEventListener(r,a,!1),function(){return e!==r&&t.removeEventListener(e,a,!1),t.removeEventListener(r,a,!1),!0}},p=[],f=function(t){for(var e,n=t.clientX,i=t.clientY,r=l("y"),a=l("x"),s=p.length;s--;){if(e=p[s],o){for(var u,c=t.touches&&t.touches.length;c--;)if((u=t.touches[c]).identifier==e.el._drag.id||e.el.node.contains(u.target)){n=u.clientX,i=u.clientY,(t.originalEvent?t.originalEvent:t).preventDefault();break}}else t.preventDefault();var h=e.el.node;h.nextSibling,h.parentNode,h.style.display;n+=a,i+=r,eve("snap.drag.move."+e.el.id,e.move_scope||e.el,n-e.el._drag.x,i-e.el._drag.y,n,i,t)}},d=function(e){t.unmousemove(f).unmouseup(d);for(var n,i=p.length;i--;)(n=p[i]).el._drag={},eve("snap.drag.end."+n.el.id,n.end_scope||n.start_scope||n.move_scope||n.el,e),eve.off("snap.drag.*."+n.el.id);p=[]},g=a.length;g--;)!function(e){t[e]=r[e]=function(n,i){if(t.is(n,"function"))this.events=this.events||[],this.events.push({name:e,f:n,unbind:h(this.node||document,e,n,i||this)});else for(var r=0,o=this.events.length;r<o;r++)if(this.events[r].name==e)try{this.events[r].f.call(this)}catch(t){}return this},t["un"+e]=r["un"+e]=function(t){for(var n=this.events||[],i=n.length;i--;)if(n[i].name==e&&(n[i].f==t||!t))return n[i].unbind(),n.splice(i,1),!n.length&&delete this.events,this;return this}}(a[g]);r.hover=function(t,e,n,i){return this.mouseover(t,n).mouseout(e,i||n)},r.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var m=[];r.drag=function(e,n,i,r,o,a){var s,l=this;if(!arguments.length)return l.drag((function(t,e){this.attr({transform:s+(s?"T":"t")+[t,e]})}),(function(){s=this.transform().local}));function u(s,u,c){(s.originalEvent||s).preventDefault(),l._drag.x=u,l._drag.y=c,l._drag.id=s.identifier,!p.length&&t.mousemove(f).mouseup(d),p.push({el:l,move_scope:r,start_scope:o,end_scope:a}),n&&eve.on("snap.drag.start."+l.id,n),e&&eve.on("snap.drag.move."+l.id,e),i&&eve.on("snap.drag.end."+l.id,i),eve("snap.drag.start."+l.id,o||r||l,u,c,s)}function c(t,e,n){eve("snap.draginit."+l.id,l,t,e,n)}return eve.on("snap.draginit."+l.id,u),l._drag={},m.push({el:l,start:u,init:c}),l.mousedown(c),l},r.undrag=function(){for(var e=m.length;e--;)m[e].el==this&&(this.unmousedown(m[e].init),m.splice(e,1),eve.unbind("snap.drag.*."+this.id),eve.unbind("snap.draginit."+this.id));return!m.length&&t.unmousemove(f).unmouseup(d),this}})),r.plugin((function(t,e,n,i){e.prototype;var r=n.prototype,o=/^\s*url\((.+)\)/,a=String,s=t._.$;t.filter={},r.filter=function(n){var i=this;"svg"!=i.type&&(i=i.paper);var r=t.parse(a(n)),o=t._.id(),l=(i.node.offsetWidth,i.node.offsetHeight,s("filter"));return s(l,{id:o,filterUnits:"userSpaceOnUse"}),l.appendChild(r.node),i.defs.appendChild(l),new e(l)},eve.on("snap.util.getattr.filter",(function(){eve.stop();var e=s(this.node,"filter");if(e){var n=a(e).match(o);return n&&t.select(n[1])}})),eve.on("snap.util.attr.filter",(function(n){if(n instanceof e&&"filter"==n.type){eve.stop();var i=n.node.id;i||(s(n.node,{id:n.id}),i=n.id),s(this.node,{filter:t.url(i)})}n&&"none"!=n||(eve.stop(),this.node.removeAttribute("filter"))})),t.filter.blur=function(e,n){null==e&&(e=2);var i=null==n?e:[e,n];return t.format('<feGaussianBlur stdDeviation="{def}"/>',{def:i})},t.filter.blur.toString=function(){return this()},t.filter.shadow=function(e,n,i,r,o){return null==o&&(null==r?(o=i,i=4,r="#000"):(o=r,r=i,i=4)),null==i&&(i=4),null==o&&(o=1),null==e&&(e=0,n=2),null==n&&(n=e),r=t.color(r),t.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:r,dx:e,dy:n,blur:i,opacity:o})},t.filter.shadow.toString=function(){return this()},t.filter.grayscale=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:.2126+.7874*(1-e),b:.7152-.7152*(1-e),c:.0722-.0722*(1-e),d:.2126-.2126*(1-e),e:.7152+.2848*(1-e),f:.0722-.0722*(1-e),g:.2126-.2126*(1-e),h:.0722+.9278*(1-e)})},t.filter.grayscale.toString=function(){return this()},t.filter.sepia=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:.393+.607*(1-e),b:.769-.769*(1-e),c:.189-.189*(1-e),d:.349-.349*(1-e),e:.686+.314*(1-e),f:.168-.168*(1-e),g:.272-.272*(1-e),h:.534-.534*(1-e),i:.131+.869*(1-e)})},t.filter.sepia.toString=function(){return this()},t.filter.saturate=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-e})},t.filter.saturate.toString=function(){return this()},t.filter.hueRotate=function(e){return e=e||0,t.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:e})},t.filter.hueRotate.toString=function(){return this()},t.filter.invert=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:e,amount2:1-e})},t.filter.invert.toString=function(){return this()},t.filter.brightness=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:e})},t.filter.brightness.toString=function(){return this()},t.filter.contrast=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:e,amount2:.5-e/2})},t.filter.contrast.toString=function(){return this()}})),r.plugin((function(t,e,n,i,r){var o=t._.box,a=t.is,s=/^[^a-z]*([tbmlrc])/i,l=function(){return"T"+this.dx+","+this.dy};e.prototype.getAlign=function(t,e){null==e&&a(t,"string")&&(e=t,t=null);var n=(t=t||this.paper).getBBox?t.getBBox():o(t),i=this.getBBox(),r={};switch(e=(e=e&&e.match(s))?e[1].toLowerCase():"c"){case"t":r.dx=0,r.dy=n.y-i.y;break;case"b":r.dx=0,r.dy=n.y2-i.y2;break;case"m":r.dx=0,r.dy=n.cy-i.cy;break;case"l":r.dx=n.x-i.x,r.dy=0;break;case"r":r.dx=n.x2-i.x2,r.dy=0;break;default:r.dx=n.cx-i.cx,r.dy=0}return r.toString=l,r},e.prototype.align=function(t,e){return this.transform("..."+this.getAlign(t,e))}})),r.plugin((function(t,e,n,r,o){var a=e.prototype,s=t.is,l=String,u="hasOwnProperty";function c(t,e,n){return function(i){var r=i.slice(t,e);return 1==r.length&&(r=r[0]),n?n(r):r}}var h=function(t,e,n,r){"function"!=typeof n||n.length||(r=n,n=i.linear),this.attr=t,this.dur=e,n&&(this.easing=n),r&&(this.callback=r)};t._.Animation=h,t.animation=function(t,e,n,i){return new h(t,e,n,i)},a.inAnim=function(){var t=this,e=[];for(var n in t.anims)t.anims[u](n)&&function(t){e.push({anim:new h(t._attrs,t.dur,t.easing,t._callback),mina:t,curStatus:t.status(),status:function(e){return t.status(e)},stop:function(){t.stop()}})}(t.anims[n]);return e},t.animate=function(t,e,n,r,o,a){"function"!=typeof o||o.length||(a=o,o=i.linear);var s=i.time(),l=i(t,e,s,s+r,i.time,n,o);return a&&eve.once("mina.finish."+l.id,a),l},a.stop=function(){for(var t=this.inAnim(),e=0,n=t.length;e<n;e++)t[e].stop();return this},a.animate=function(t,e,n,r){"function"!=typeof n||n.length||(r=n,n=i.linear),t instanceof h&&(r=t.callback,n=t.easing,e=t.dur,t
1=t.attr);var o,a,p,f,d=[],g=[],m={},v=this;for(var y in t)if(t[u](y)){v.equal?(o=(f=v.equal(y,l(t[y]))).from,a=f.to,p=f.f):(o=+v.attr(y),a=+t[y]);var _=s(o,"array")?o.length:1;m[y]=c(d.length,d.length+_,p),d=d.concat(o),g=g.concat(a)}var x=i.time(),b=i(d,g,x,x+e,i.time,(function(t){var e={};for(var n in m)m[u](n)&&(e[n]=m[n](t));v.attr(e)}),n);return v.anims[b.id]=b,b._attrs=t,b._callback=r,eve("snap.animcreated."+v.id,b),eve.once("mina.finish."+b.id,(function(){eve.off("mina.*."+b.id),delete v.anims[b.id],r&&r.call(v)})),eve.once("mina.stop."+b.id,(function(){eve.off("mina.*."+b.id),delete v.anims[b.id]})),v}})),r.plugin((function(t,e,n,i){function r(t){t=t.split(/(?=#)/);var e=new String(t[5]);return e[50]=t[0],e[100]=t[1],e[200]=t[2],e[300]=t[3],e[400]=t[4],e[500]=t[5],e[600]=t[6],e[700]=t[7],e[800]=t[8],e[900]=t[9],t[10]&&(e.A100=t[10],e.A200=t[11],e.A400=t[12],e.A700=t[13]),e}t.mui={},t.flat={},t.mui.red=r("#ffebee#ffcdd2#ef9a9a#e57373#ef5350#f44336#e53935#d32f2f#c62828#b71c1c#ff8a80#ff5252#ff1744#d50000"),t.mui.pink=r("#FCE4EC#F8BBD0#F48FB1#F06292#EC407A#E91E63#D81B60#C2185B#AD1457#880E4F#FF80AB#FF4081#F50057#C51162"),t.mui.purple=r("#F3E5F5#E1BEE7#CE93D8#BA68C8#AB47BC#9C27B0#8E24AA#7B1FA2#6A1B9A#4A148C#EA80FC#E040FB#D500F9#AA00FF"),t.mui.deeppurple=r("#EDE7F6#D1C4E9#B39DDB#9575CD#7E57C2#673AB7#5E35B1#512DA8#4527A0#311B92#B388FF#7C4DFF#651FFF#6200EA"),t.mui.indigo=r("#E8EAF6#C5CAE9#9FA8DA#7986CB#5C6BC0#3F51B5#3949AB#303F9F#283593#1A237E#8C9EFF#536DFE#3D5AFE#304FFE"),t.mui.blue=r("#E3F2FD#BBDEFB#90CAF9#64B5F6#64B5F6#2196F3#1E88E5#1976D2#1565C0#0D47A1#82B1FF#448AFF#2979FF#2962FF"),t.mui.lightblue=r("#E1F5FE#B3E5FC#81D4FA#4FC3F7#29B6F6#03A9F4#039BE5#0288D1#0277BD#01579B#80D8FF#40C4FF#00B0FF#0091EA"),t.mui.cyan=r("#E0F7FA#B2EBF2#80DEEA#4DD0E1#26C6DA#00BCD4#00ACC1#0097A7#00838F#006064#84FFFF#18FFFF#00E5FF#00B8D4"),t.mui.teal=r("#E0F2F1#B2DFDB#80CBC4#4DB6AC#26A69A#009688#00897B#00796B#00695C#004D40#A7FFEB#64FFDA#1DE9B6#00BFA5"),t.mui.green=r("#E8F5E9#C8E6C9#A5D6A7#81C784#66BB6A#4CAF50#43A047#388E3C#2E7D32#1B5E20#B9F6CA#69F0AE#00E676#00C853"),t.mui.lightgreen=r("#F1F8E9#DCEDC8#C5E1A5#AED581#9CCC65#8BC34A#7CB342#689F38#558B2F#33691E#CCFF90#B2FF59#76FF03#64DD17"),t.mui.lime=r("#F9FBE7#F0F4C3#E6EE9C#DCE775#D4E157#CDDC39#C0CA33#AFB42B#9E9D24#827717#F4FF81#EEFF41#C6FF00#AEEA00"),t.mui.yellow=r("#FFFDE7#FFF9C4#FFF59D#FFF176#FFEE58#FFEB3B#FDD835#FBC02D#F9A825#F57F17#FFFF8D#FFFF00#FFEA00#FFD600"),t.mui.amber=r("#FFF8E1#FFECB3#FFE082#FFD54F#FFCA28#FFC107#FFB300#FFA000#FF8F00#FF6F00#FFE57F#FFD740#FFC400#FFAB00"),t.mui.orange=r("#FFF3E0#FFE0B2#FFCC80#FFB74D#FFA726#FF9800#FB8C00#F57C00#EF6C00#E65100#FFD180#FFAB40#FF9100#FF6D00"),t.mui.deeporange=r("#FBE9E7#FFCCBC#FFAB91#FF8A65#FF7043#FF5722#F4511E#E64A19#D84315#BF360C#FF9E80#FF6E40#FF3D00#DD2C00"),t.mui.brown=r("#EFEBE9#D7CCC8#BCAAA4#A1887F#8D6E63#795548#6D4C41#5D4037#4E342E#3E2723"),t.mui.grey=r("#FAFAFA#F5F5F5#EEEEEE#E0E0E0#BDBDBD#9E9E9E#757575#616161#424242#212121"),t.mui.bluegrey=r("#ECEFF1#CFD8DC#B0BEC5#90A4AE#78909C#607D8B#546E7A#455A64#37474F#263238"),t.flat.turquoise="#1abc9c",t.flat.greensea="#16a085",t.flat.sunflower="#f1c40f",t.flat.orange="#f39c12",t.flat.emerland="#2ecc71",t.flat.nephritis="#27ae60",t.flat.carrot="#e67e22",t.flat.pumpkin="#d35400",t.flat.peterriver="#3498db",t.flat.belizehole="#2980b9",t.flat.alizarin="#e74c3c",t.flat.pomegranate="#c0392b",t.flat.amethyst="#9b59b6",t.flat.wisteria="#8e44ad",t.flat.clouds="#ecf0f1",t.flat.silver="#bdc3c7",t.flat.wetasphalt="#34495e",t.flat.midnightblue="#2c3e50",t.flat.concrete="#95a5a6",t.flat.asbestos="#7f8c8d",t.importMUIColors=function(){for(var e in t.mui)t.mui.hasOwnProperty(e)&&(window[e]=t.mui[e])}})),t.exports=r},2823:function(t,e,n){var i=n(8563);t.exports=function(t,e,n){return void 0===n?i(t,e,!1):i(t,n,!1!==e)}},8563:function(t){t.exports=function(t,e,n,i){var r,o=0;return"boolean"!=typeof e&&(i=n,n=e,e=void 0),function(){var a=this,s=Number(new Date)-o,l=arguments;function u(){o=Number(new Date),n.apply(a,l)}i&&!r&&u(),r&&clearTimeout(r),void 0===i&&s>t?u():!0!==e&&(r=setTimeout(i?function(){r=void 0}:u,void 0===i?t-s:t))}}},144:function(t,e,n){"use strict";n.r(e),n.d(e,{EffectScope:function(){return Se},computed:function(){return he},customRef:function(){return ne},default:function(){return ur},defineAsyncComponent:function(){return zn},defineComponent:function(){return ei},del:function(){return Nt},effectScope:function(){return Te},getCurrentInstance:function(){return pt},getCurrentScope:function(){return Me},h:function(){return wn},inject:function(){return ke},isProxy:function(){return Ht},isReactive:function(){return jt},isReadonly:function(){return Wt},isRef:function(){return Xt},isShallow:function(){return Gt},markRaw:function(){return $t},mergeDefaults:function(){return dn},nextTick:function(){return Nn},onActivated:function(){return Un},onBeforeMount:function(){return jn},onBeforeUnmount:function(){return Zn},onBeforeUpdate:function(){return Wn},onDeactivated:function(){return Xn},onErrorCaptured:function(){return Qn},onMounted:function(){return Gn},onRenderTracked:function(){return Yn},onRenderTriggered:function(){return Kn},onScopeDispose:function(){return Ce},onServerPrefetch:function(){return qn},onUnmounted:function(){return $n},onUpdated:function(){return Hn},provide:function(){return Ae},proxyRefs:function(){return te},reactive:function(){return Bt},readonly:function(){return se},ref:function(){return qt},set:function(){return Rt},shallowReactive:function(){return zt},shallowReadonly:function(){return ce},shallowRef:function(){return Yt},toRaw:function(){return Zt},toRef:function(){return re},toRefs:function(){return ie},triggerRef:function(){return Jt},unref:function(){return Qt},useAttrs:function(){return hn},useCssModule:function(){return Fn},useCssVars:function(){return Bn},useListeners:function(){return pn}
vendor: 5,574 bytes, line 1
1,useSlots:function(){return cn},version:function(){return ti},watch:function(){return be},watchEffect:function(){return me},watchPostEffect:function(){return ve},watchSyncEffect:function(){return ye}});var i=Object.freeze({}),r=Array.isArray;function o(t){return null==t}function a(t){return null!=t}function s(t){return!0===t}function l(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function u(t){return"function"==typeof t}function c(t){return null!==t&&"object"==typeof t}var h=Object.prototype.toString;function p(t){return"[object Object]"===h.call(t)}function f(t){return"[object RegExp]"===h.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function g(t){return a(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function m(t){return null==t?"":Array.isArray(t)||p(t)&&t.toString===h?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}y("slot,component",!0);var _=y("key,ref,slot,slot-scope,is");function x(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var i=t.indexOf(e);if(i>-1)return t.splice(i,1)}}var b=Object.prototype.hasOwnProperty;function w(t,e){return b.call(t,e)}function S(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var T=/-(\w)/g,M=S((function(t){return t.replace(T,(function(t,e){return e?e.toUpperCase():""}))})),C=S((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),A=/\B([A-Z])/g,I=S((function(t){return t.replace(A,"-$1").toLowerCase()}));var k=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function D(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function P(t,e){for(var n in e)t[n]=e[n];return t}function O(t){for(var e={},n=0;n<t.length;n++)t[n]&&P(e,t[n]);return e}function E(t,e,n){}var L=function(t,e,n){return!1},R=function(t){return t};function N(t,e){if(t===e)return!0;var n=c(t),i=c(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every((function(t,n){return N(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return N(t[n],e[n])}))}catch(t){return!1}}function F(t,e){for(var n=0;n<t.length;n++)if(N(t[n],e))return n;return-1}function B(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function z(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var V="data-server-rendered",j=["component","directive","filter"],G=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],W={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:L,isReservedAttr:L,isUnknownElement:L,getTagNamespace:E,parsePlatformTagName:R,mustUseProp:L,async:!0,_lifecycleHooks:G},H=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Z(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function $(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var U=new RegExp("[^".concat(H.source,".$_\\d]"));var X="__proto__"in{},q="undefined"!=typeof window,Y=q&&window.navigator.userAgent.toLowerCase(),K=Y&&/msie|trident/.test(Y),J=Y&&Y.indexOf("msie 9.0")>0,Q=Y&&Y.indexOf("edge/")>0;Y&&Y.indexOf("android");var tt=Y&&/iphone|ipad|ipod|ios/.test(Y);Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y);var et,nt=Y&&Y.match(/firefox\/(\d+)/),it={}.watch,rt=!1;if(q)try{var ot={};Object.defineProperty(ot,"passive",{get:function(){rt=!0}}),window.addEventListener("test-passive",null,ot)}catch(t){}var at=function(){return void 0===et&&(et=!q&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),et},st=q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,ct="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 ht=null;function pt(){return ht&&{proxy:ht}}function ft(t){void 0===t&&(t=null),t||ht&&ht._scope.off(),ht=t,t&&t._scope.on()}var dt=function(){function t(t,e,n,i,r,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance}
vendor: 55,588 bytes, line 1
1,enumerable:!1,configurable:!0}),t}(),gt=function(t){void 0===t&&(t="");var e=new dt;return e.text=t,e.isComment=!0,e};function mt(t){return new dt(void 0,void 0,void 0,String(t))}function vt(t){var e=new dt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var yt=0,_t=[],xt=function(){for(var t=0;t<_t.length;t++){var e=_t[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}_t.length=0},bt=function(){function t(){this._pending=!1,this.id=yt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,_t.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,i=e.length;n<i;n++){0,e[n].update()}},t}();bt.target=null;var wt=[];function St(t){wt.push(t),bt.target=t}function Tt(){wt.pop(),bt.target=wt[wt.length-1]}var Mt=Array.prototype,Ct=Object.create(Mt);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=Mt[t];$(Ct,t,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o}))}));var At=Object.getOwnPropertyNames(Ct),It={},kt=!0;function Dt(t){kt=t}var Pt={notify:E,depend:E,addSub:E,removeSub:E},Ot=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?Pt:new bt,this.vmCount=0,$(t,"__ob__",this),r(t)){if(!n)if(X)t.__proto__=Ct;else for(var i=0,o=At.length;i<o;i++){$(t,s=At[i],Ct[s])}e||this.observeArray(t)}else{var a=Object.keys(t);for(i=0;i<a.length;i++){var s;Lt(t,s=a[i],It,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Et(t[e],!1,this.mock)},t}();function Et(t,e,n){return t&&w(t,"__ob__")&&t.__ob__ instanceof Ot?t.__ob__:!kt||!n&&at()||!r(t)&&!p(t)||!Object.isExtensible(t)||t.__v_skip||Xt(t)||t instanceof dt?void 0:new Ot(t,e,n)}function Lt(t,e,n,i,o,a){var s=new bt,l=Object.getOwnPropertyDescriptor(t,e);if(!l||!1!==l.configurable){var u=l&&l.get,c=l&&l.set;u&&!c||n!==It&&2!==arguments.length||(n=t[e]);var h=!o&&Et(n,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):n;return bt.target&&(s.depend(),h&&(h.dep.depend(),r(e)&&Ft(e))),Xt(e)&&!o?e.value:e},set:function(e){var i=u?u.call(t):n;if(z(i,e)){if(c)c.call(t,e);else{if(u)return;if(!o&&Xt(i)&&!Xt(e))return void(i.value=e);n=e}h=!o&&Et(e,!1,a),s.notify()}}}),s}}function Rt(t,e,n){if(!Wt(t)){var i=t.__ob__;return r(t)&&d(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),i&&!i.shallow&&i.mock&&Et(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||i&&i.vmCount?n:i?(Lt(i.value,e,n,void 0,i.shallow,i.mock),i.dep.notify(),n):(t[e]=n,n)}}function Nt(t,e){if(r(t)&&d(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Wt(t)||w(t,e)&&(delete t[e],n&&n.dep.notify())}}function Ft(t){for(var e=void 0,n=0,i=t.length;n<i;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),r(e)&&Ft(e)}function Bt(t){return Vt(t,!1),t}function zt(t){return Vt(t,!0),$(t,"__v_isShallow",!0),t}function Vt(t,e){if(!Wt(t)){Et(t,e,at());0}}function jt(t){return Wt(t)?jt(t.__v_raw):!(!t||!t.__ob__)}function Gt(t){return!(!t||!t.__v_isShallow)}function Wt(t){return!(!t||!t.__v_isReadonly)}function Ht(t){return jt(t)||Wt(t)}function Zt(t){var e=t&&t.__v_raw;return e?Zt(e):t}function $t(t){return Object.isExtensible(t)&&$(t,"__v_skip",!0),t}var Ut="__v_isRef";function Xt(t){return!(!t||!0!==t.__v_isRef)}function qt(t){return Kt(t,!1)}function Yt(t){return Kt(t,!0)}function Kt(t,e){if(Xt(t))return t;var n={};return $(n,Ut,!0),$(n,"__v_isShallow",e),$(n,"dep",Lt(n,"value",t,null,e,at())),n}function Jt(t){t.dep&&t.dep.notify()}function Qt(t){return Xt(t)?t.value:t}function te(t){if(jt(t))return t;for(var e={},n=Object.keys(t),i=0;i<n.length;i++)ee(e,t,n[i]);return e}function ee(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Xt(t))return t.value;var i=t&&t.__ob__;return i&&i.dep.depend(),t},set:function(t){var i=e[n];Xt(i)&&!Xt(t)?i.value=t:e[n]=t}})}function ne(t){var e=new bt,n=t((function(){e.depend()}),(function(){e.notify()})),i=n.get,r=n.set,o={get value(){return i()},set value(t){r(t)}};return $(o,Ut,!0),o}function ie(t){var e=r(t)?new Array(t.length):{};for(var n in t)e[n]=re(t,n);return e}function re(t,e,n){var i=t[e];if(Xt(i))return i;var r={get value(){var i=t[e];return void 0===i?n:i},set value(n){t[e]=n}};return $(r,Ut,!0),r}var oe="__v_rawToReadonly",ae="__v_rawToShallowReadonly";function se(t){return le(t,!1)}function le(t,e){if(!p(t))return t;if(Wt(t))return t;var n=e?ae:oe,i=t[n];if(i)return i;var r=Object.create(Object.getPrototypeOf(t));$(t,n,r),$(r,"__v_isReadonly",!0),$(r,"__v_raw",t),Xt(t)&&$(r,Ut,!0),(e||Gt(t))&&$(r,"__v_isShallow",!0);for(var o=Object.keys(t),a=0;a<o.length;a++)ue(r,t,o[a],e);return r}function ue(t,e,n,i){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];return i||!p(t)?t:se(t)},set:function(){}})}function ce(t){return le(t,!0)}function he(t,e){var n,i,r=u(t);r?(n=t,i=E):(n=t.get,i=t.set);var o=at()?null:new si(ht,n,E,{lazy:!0});var a={effect:o,get value(){return o?(o.dirty&&o.evaluate(),bt.target&&o.depend(),o.value):n()},set value(t){i(t)}};return $(a,Ut,!0),$(a,"__v_isReadonly",r),a}var pe="watcher",fe="".concat(pe," callback"),de="".concat(pe," getter"),ge="".concat(pe," cleanup");function me(t,e){return we(t,null,e)}function ve(t,e){return we(t,null,{flush:"post"})}function ye(t,e){return we(t,null,{flush:"sync"})}var _e,xe={};function be(t,e,n){return we(t,e,n)}function we(t,e,n){var o=void 0===n?i:n,a=o.immediate,s=o.deep,l=o.flush,c=void 0===l?"pre":l;o.onTrack,o.onTrigger;var h,p,f=ht,d=function(t,e,n){return void 0===n&&(n=null),Tn(t,null,n,f,e)},g=!1,m=!1;if(Xt(t)?(h=function(){return t.value},g=Gt(t)):jt(t)?(h=function(){return t.__ob__.dep.depend(),t},s=!0):r(t)?(m=!0,g=t.some((function(t){return jt(t)||Gt(t)})),h=function(){return t.map((function(t){return Xt(t)?t.value:jt(t)?ii(t):u(t)?d(t,de):void 0}))}):h=u(t)?e?function(){return d(t,de)}:function(){if(!f||!f._isDestroyed)return p&&p(),d(t,pe,[y])}:E,e&&s){var v=h;h=function(){return ii(v())}}var y=function(t){p=_.onStop=function(){d(t,ge)}};if(at())return y=E,e?a&&d(e,fe,[h(),m?[]:void 0,y]):h(),E;var _=new si(ht,h,E,{lazy:!0});_.noRecurse=!e;var x=m?[]:xe;return _.run=function(){if(_.active)if(e){var t=_.get();(s||g||(m?t.some((function(t,e){return z(t,x[e])})):z(t,x)))&&(p&&p(),d(e,fe,[t,x===xe?void 0:x,y]),x=t)}else _.get()},"sync"===c?_.update=_.run:"post"===c?(_.post=!0,_.update=function(){return ki(_)}):_.update=function(){if(f&&f===ht&&!f._isMounted){var t=f._preWatchers||(f._preWatchers=[]);t.indexOf(_)<0&&t.push(_)}else ki(_)},e?a?_.run():x=_.get():"post"===c&&f?f.$once("hook:mounted",(function(){return _.get()})):_.get(),function(){_.teardown()}}var Se=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=_e;try{return _e=this,t()}finally{_e=e}}else 0},t.prototype.on=function(){_e=this},t.prototype.off=function(){_e=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Te(t){return new Se(t)}function Me(){return _e}function Ce(t){_e&&_e.cleanups.push(t)}function Ae(t,e){ht&&(Ie(ht)[t]=e)}function Ie(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function ke(t,e,n){void 0===n&&(n=!1);var i=ht;if(i){var r=i.$parent&&i.$parent._provided;if(r&&t in r)return r[t];if(arguments.length>1)return n&&u(e)?e.call(i):e}else 0}var De=S((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),i="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=i?t.slice(1):t,once:n,capture:i,passive:e}}));function Pe(t,e){function n(){var t=n.fns;if(!r(t))return Tn(t,null,arguments,e,"v-on handler");for(var i=t.slice(),o=0;o<i.length;o++)Tn(i[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function Oe(t,e,n,i,r,a){var l,u,c,h;for(l in t)u=t[l],c=e[l],h=De(l),o(u)||(o(c)?(o(u.fns)&&(u=t[l]=Pe(u,a)),s(h.once)&&(u=t[l]=r(h.name,u,h.capture)),n(h.name,u,h.capture,h.passive,h.params)):u!==c&&(c.fns=u,t[l]=c));for(l in e)o(t[l])&&i((h=De(l)).name,e[l],h.capture)}function Ee(t,e,n){var i;t instanceof dt&&(t=t.data.hook||(t.data.hook={}));var r=t[e];function l(){n.apply(this,arguments),x(i.fns,l)}o(r)?i=Pe([l]):a(r.fns)&&s(r.merged)?(i=r).fns.push(l):i=Pe([r,l]),i.merged=!0,t[e]=i}function Le(t,e,n,i,r){if(a(e)){if(w(e,n))return t[n]=e[n],r||delete e[n],!0;if(w(e,i))return t[n]=e[i],r||delete e[i],!0}return!1}function Re(t){return l(t)?[mt(t)]:r(t)?Fe(t):void 0}function Ne(t){return a(t)&&a(t.text)&&!1===t.isComment}function Fe(t,e){var n,i,u,c,h=[];for(n=0;n<t.length;n++)o(i=t[n])||"boolean"==typeof i||(c=h[u=h.length-1],r(i)?i.length>0&&(Ne((i=Fe(i,"".concat(e||"","_").concat(n)))[0])&&Ne(c)&&(h[u]=mt(c.text+i[0].text),i.shift()),h.push.apply(h,i)):l(i)?Ne(c)?h[u]=mt(c.text+i):""!==i&&h.push(mt(i)):Ne(i)&&Ne(c)?h[u]=mt(c.text+i.text):(s(t._isVList)&&a(i.tag)&&o(i.key)&&a(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),h.push(i)));return h}function Be(t,e){var n,i,o,s,l=null;if(r(t)||"string"==typeof t)for(l=new Array(t.length),n=0,i=t.length;n<i;n++)l[n]=e(t[n],n);else if("number"==typeof t)for(l=new Array(t),n=0;n<t;n++)l[n]=e(n+1,n);else if(c(t))if(ct&&t[Symbol.iterator]){l=[];for(var u=t[Symbol.iterator](),h=u.next();!h.done;)l.push(e(h.value,l.length)),h=u.next()}else for(o=Object.keys(t),l=new Array(o.length),n=0,i=o.length;n<i;n++)s=o[n],l[n]=e(t[s],s,n);return a(l)||(l=[]),l._isVList=!0,l}function ze(t,e,n,i){var r,o=this.$scopedSlots[t];o?(n=n||{},i&&(n=P(P({},i),n)),r=o(n)||(u(e)?e():e)):r=this.$slots[t]||(u(e)?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function Ve(t){return Ui(this.$options,"filters",t,!0)||R}function je(t,e){return r(t)?-1===t.indexOf(e):t!==e}function Ge(t,e,n,i,r){var o=W.keyCodes[e]||n;return r&&i&&!W.keyCodes[e]?je(r,i):o?je(o,t):i?I(i)!==e:void 0===t}function We(t,e,n,i,o){if(n)if(c(n)){r(n)&&(n=O(n));var a=void 0,s=function(r){if("class"===r||"style"===r||_(r))a=t;else{var s=t.attrs&&t.attrs.type;a=i||W.mustUseProp(e,s,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=M(r),u=I(r);l in a||u in a||(a[r]=n[r],o&&((t.on||(t.on={}))["update:".concat(r)]=function(t){n[r]=t}))};for(var l in n)s(l)}else;return t}function He(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e||$e(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),i}function Ze(t,e,n){return $e(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function $e(t,e,n){if(r(t))for(var i=0;i<t.length;i++)t[i]&&"string"!=typeof t[i]&&Ue(t[i],"".concat(e,"_").concat(i),n);else Ue(t,e,n)}function Ue(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Xe(t,e){if(e)if(p(e)){var n=t.on=t.on?P({},t.on):{};for(var i in e){var r=n[i],o=e[i];n[i]=r?[].concat(r,o):o}}else;return t}function qe(t,e,n,i){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var a=t[o];r(a)?qe(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return i&&(e.$key=i),e}function Ye(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"==typeof i&&i&&(t[e[n]]=e[n+1])}return t}function Ke(t,e){return"string"==typeof t?e+t:t}function Je(t){t._o=Ze,t._n=v,t._s=m,t._l=Be,t._t=ze,t._q=N,t._i=F,t._m=He,t._f=Ve,t._k=Ge,t._b=We,t._v=mt,t._e=gt,t._u=qe,t._g=Xe,t._d=Ye,t._p=Ke}function Qe(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var o=t[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var u in n)n[u].every(tn)&&delete n[u];return n}function tn(t){return t.isComment&&!t.asyncFactory||" "===t.text}function en(t){return t.isComment&&t.asyncFactory}function nn(t,e,n,r){var o,a=Object.keys(n).length>0,s=e?!!e.$stable:!a,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==i&&l===r.$key&&!a&&!r.$hasNormal)return r;for(var u in o={},e)e[u]&&"$"!==u[0]&&(o[u]=rn(t,n,u,e[u]))}else o={};for(var c in n)c in o||(o[c]=on(n,c));return e&&Object.isExtensible(e)&&(e._normalized=o),$(o,"$stable",s),$(o,"$key",l),$(o,"$hasNormal",a),o}function rn(t,e,n,i){var o=function(){var e=ht;ft(t);var n=arguments.length?i.apply(null,arguments):i({}),o=(n=n&&"object"==typeof n&&!r(n)?[n]:Re(n))&&n[0];return ft(e),n&&(!o||1===n.length&&o.isComment&&!en(o))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function on(t,e){return function(){return t[e]}}function an(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};$(e,"_v_attr_proxy",!0),sn(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||sn(t._listenersProxy={},t.$listeners,i,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||un(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:k(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return ee(t,e,n)}))}}}function sn(t,e,n,i,r){var o=!1;for(var a in e)a in t?e[a]!==n[a]&&(o=!0):(o=!0,ln(t,a,i,r));for(var a in t)a in e||(o=!0,delete t[a]);return o}function ln(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function un(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function cn(){return fn().slots}function hn(){return fn().attrs}function pn(){return fn().listeners}function fn(){var t=ht;return t._setupContext||(t._setupContext=an(t))}function dn(t,e){var n=r(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var i in e){var o=n[i];o?r(o)||u(o)?n[i]={type:o,default:e[i]}:o.default=e[i]:null===o&&(n[i]={default:e[i]})}return n}var gn=null;function mn(t,e){return(t.__esModule||ct&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function vn(t){if(r(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||en(n)))return n}}var yn=1,_n=2;function xn(t,e,n,i,o,h){return(r(n)||l(n))&&(o=i,i=n,n=void 0),s(h)&&(o=_n),function(t,e,n,i,o){if(a(n)&&a(n.__ob__))return gt();a(n)&&a(n.is)&&(e=n.is);if(!e)return gt();0;r(i)&&u(i[0])&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);o===_n?i=Re(i):o===yn&&(i=function(t){for(var e=0;e<t.length;e++)if(r(t[e]))return Array.prototype.concat.apply([],t);return t}(i));var s,l;if("string"==typeof e){var h=void 0;l=t.$vnode&&t.$vnode.ns||W.getTagNamespace(e),s=W.isReservedTag(e)?new dt(W.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!a(h=Ui(t.$options,"components",e))?new dt(e,n,i,void 0,void 0,t):Fi(h,n,t,i,e)}else s=Fi(e,n,t,i);return r(s)?s:a(s)?(a(l)&&bn(s,l),a(n)&&function(t){c(t.style)&&ii(t.style);c(t.class)&&ii(t.class)}(n),s):gt()}(t,e,n,i,o)}function bn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var i=0,r=t.children.length;i<r;i++){var l=t.children[i];a(l.tag)&&(o(l.ns)||s(n)&&"svg"!==l.tag)&&bn(l,e,n)}}function wn(t,e,n){return xn(ht,t,e,n,2,!0)}function Sn(t,e,n){St();try{if(e)for(var i=e;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{if(!1===r[o].call(i,t,e,n))return}catch(t){Mn(t,i,"errorCaptured hook")}}Mn(t,e,n)}finally{Tt()}}function Tn(t,e,n,i,r){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&g(o)&&!o._handled&&(o.catch((function(t){return Sn(t,i,r+" (Promise/async)")})),o._handled=!0)}catch(t){Sn(t,i,r)}return o}function Mn(t,e,n){if(W.errorHandler)try{return W.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Cn(e,null,"config.errorHandler")}Cn(t,e,n)}function Cn(t,e,n){if(!q||"undefined"==typeof console)throw t}var An,In=!1,kn=[],Dn=!1;function Pn(){Dn=!1;var t=kn.slice(0);kn.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&<(Promise)){var On=Promise.resolve();An=function(){On.then(Pn),tt&&setTimeout(E)},In=!0}else if(K||"undefined"==typeof MutationObserver||!lt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())An="undefined"!=typeof setImmediate&<(setImmediate)?function(){setImmediate(Pn)}:function(){setTimeout(Pn,0)};else{var En=1,Ln=new MutationObserver(Pn),Rn=document.createTextNode(String(En));Ln.observe(Rn,{characterData:!0}),An=function(){En=(En+1)%2,Rn.data=String(En)},In=!0}function Nn(t,e){var n;if(kn.push((function(){if(t)try{t.call(e)}catch(t){Sn(t,e,"nextTick")}else n&&n(e)})),Dn||(Dn=!0,An()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}function Fn(t){if(void 0===t&&(t="$style"),!ht)return i;var e=ht[t];return e||i}function Bn(t){if(q){var e=ht;e&&ve((function(){var n=e.$el,i=t(e,e._setupProxy);if(n&&1===n.nodeType){var r=n.style;for(var o in i)r.setProperty("--".concat(o),i[o])}}))}}function zn(t){u(t)&&(t={loader:t});var e=t.loader,n=t.loadingComponent,i=t.errorComponent,r=t.delay,o=void 0===r?200:r,a=t.timeout,s=(t.suspensible,t.onError);var l=null,c=0,h=function(){var t;return l||(t=l=e().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),s)return new Promise((function(e,n){s(t,(function(){return e((c++,l=null,h()))}),(function(){return n(t)}),c+1)}));throw t})).then((function(e){return t!==l&&l?l:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),e)})))};return function(){return{component:h(),delay:o,timeout:a,error:i,loading:n}}}function Vn(t){return function(e,n){if(void 0===n&&(n=ht),n)return function(t,e,n){var i=t.$options;i[e]=Wi(i[e],n)}(n,t,e)}}var jn=Vn("beforeMount"),Gn=Vn("mounted"),Wn=Vn("beforeUpdate"),Hn=Vn("updated"),Zn=Vn("beforeDestroy"),$n=Vn("destroyed"),Un=Vn("activated"),Xn=Vn("deactivated"),qn=Vn("serverPrefetch"),Yn=Vn("renderTracked"),Kn=Vn("renderTriggered"),Jn=Vn("errorCaptured");function Qn(t,e){void 0===e&&(e=ht),Jn(t,e)}var ti="2.7.14";function ei(t){return t}var ni=new ut;function ii(t){return ri(t,ni),ni.clear(),t}function ri(t,e){var n,i,o=r(t);if(!(!o&&!c(t)||t.__v_skip||Object.isFrozen(t)||t instanceof dt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o)for(n=t.length;n--;)ri(t[n],e);else if(Xt(t))ri(t.value,e);else for(n=(i=Object.keys(t)).length;n--;)ri(t[i[n]],e)}}var oi,ai=0,si=function(){function t(t,e,n,i,r){var o,a;o=this,void 0===(a=_e&&!_e._vm?_e:t?t._scope:void 0)&&(a=_e),a&&a.active&&a.effects.push(o),(this.vm=t)&&r&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ai,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ut,this.newDepIds=new ut,this.expression="",u(e)?this.getter=e:(this.getter=function(t){if(!U.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=E)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;St(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Sn(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&ii(t),Tt(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ki(this)},t.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){var n='callback for watcher "'.concat(this.expression,'"');Tn(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&x(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function li(t,e){oi.$on(t,e)}function ui(t,e){oi.$off(t,e)}function ci(t,e){var n=oi;return function i(){null!==e.apply(null,arguments)&&n.$off(t,i)}}function hi(t,e,n){oi=t,Oe(e,n||{},li,ui,ci,t),oi=void 0}var pi=null;function fi(t){var e=pi;return pi=t,function(){pi=e}}function di(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function gi(t,e){if(e){if(t._directInactive=!1,di(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)gi(t.$children[n]);vi(t,"activated")}}function mi(t,e){if(!(e&&(t._directInactive=!0,di(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)mi(t.$children[n]);vi(t,"deactivated")}}function vi(t,e,n,i){void 0===i&&(i=!0),St();var r=ht;i&&ft(t);var o=t.$options[e],a="".concat(e," hook");if(o)for(var s=0,l=o.length;s<l;s++)Tn(o[s],t,n||null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),i&&ft(r),Tt()}var yi=[],_i=[],xi={},bi=!1,wi=!1,Si=0;var Ti=0,Mi=Date.now;if(q&&!K){var Ci=window.performance;Ci&&"function"==typeof Ci.now&&Mi()>document.createEvent("Event").timeStamp&&(Mi=function(){return Ci.now()})}var Ai=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Ii(){var t,e;for(Ti=Mi(),wi=!0,yi.sort(Ai),Si=0;Si<yi.length;Si++)(t=yi[Si]).before&&t.before(),e=t.id,xi[e]=null,t.run();var n=_i.slice(),i=yi.slice();Si=yi.length=_i.length=0,xi={},bi=wi=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,gi(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],i=n.vm;i&&i._watcher===n&&i._isMounted&&!i._isDestroyed&&vi(i,"updated")}}(i),xt(),st&&W.devtools&&st.emit("flush")}function ki(t){var e=t.id;if(null==xi[e]&&(t!==bt.target||!t.noRecurse)){if(xi[e]=!0,wi){for(var n=yi.length-1;n>Si&&yi[n].id>t.id;)n--;yi.splice(n+1,0,t)}else yi.push(t);bi||(bi=!0,Nn(Ii))}}function Di(t,e){if(t){for(var n=Object.create(null),i=ct?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){var a=t[o].from;if(a in e._provided)n[o]=e._provided[a];else if("default"in t[o]){var s=t[o].default;n[o]=u(s)?s.call(e):s}else 0}}return n}}function Pi(t,e,n,o,a){var l,u=this,c=a.options;w(o,"_uid")?(l=Object.create(o))._original=o:(l=o,o=o._original);var h=s(c._compiled),p=!h;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||i,this.injections=Di(c.inject,o),this.slots=function(){return u.$slots||nn(o,t.scopedSlots,u.$slots=Qe(n,o)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return nn(o,t.scopedSlots,this.slots())}}),h&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=nn(o,t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,i){var a=xn(l,t,e,n,i,p);return a&&!r(a)&&(a.fnScopeId=c._scopeId,a.fnContext=o),a}:this._c=function(t,e,n,i){return xn(l,t,e,n,i,p)}}function Oi(t,e,n,i,r){var o=vt(t);return o.fnContext=n,o.fnOptions=i,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Ei(t,e){for(var n in e)t[M(n)]=e[n]}function Li(t){return t.name||t.__name||t._componentTag}Je(Pi.prototype);var Ri={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Ri.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;a(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,pi)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,o){var a=r.data.scopedSlots,s=t.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(o||t.$options._renderChildren||l),c=t.$vnode;t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o;var h=r.data.attrs||i;t._attrsProxy&&sn(t._attrsProxy,h,c.data&&c.data.attrs||i,t,"$attrs")&&(u=!0),t.$attrs=h,n=n||i;var p=t.$options._parentListeners;if(t._listenersProxy&&sn(t._listenersProxy,n,p||i,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,hi(t,n,p),e&&t.$options.props){Dt(!1);for(var f=t._props,d=t.$options._propKeys||[],g=0;g<d.length;g++){var m=d[g],v=t.$options.props;f[m]=Xi(m,v,e,t)}Dt(!0),t.$options.propsData=e}u&&(t.$slots=Qe(o,r.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,i=t.componentInstance;i._isMounted||(i._isMounted=!0,vi(i,"mounted")),t.data.keepAlive&&(n._isMounted?((e=i)._inactive=!1,_i.push(e)):gi(i,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?mi(e,!0):e.$destroy())}},Ni=Object.keys(Ri);function Fi(t,e,n,l,u){if(!o(t)){var h=n.$options._base;if(c(t)&&(t=h.extend(t)),"function"==typeof t){var p;if(o(t.cid)&&(t=function(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=gn;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var i=t.owners=[n],r=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return x(i,n)}));var h=function(t){for(var e=0,n=i.length;e<n;e++)i[e].$forceUpdate();t&&(i.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},p=B((function(n){t.resolved=mn(n,e),r?i.length=0:h(!0)})),f=B((function(e){a(t.errorComp)&&(t.error=!0,h(!0))})),d=t(p,f);return c(d)&&(g(d)?o(t.resolved)&&d.then(p,f):g(d.component)&&(d.component.then(p,f),a(d.error)&&(t.errorComp=mn(d.error,e)),a(d.loading)&&(t.loadingComp=mn(d.loading,e),0===d.delay?t.loading=!0:l=setTimeout((function(){l=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,h(!1))}),d.delay||200)),a(d.timeout)&&(u=setTimeout((function(){u=null,o(t.resolved)&&f(null)}),d.timeout)))),r=!1,t.loading?t.loadingComp:t.resolved}}(p=t,h),void 0===t))return function(t,e,n,i,r){var o=gt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}(p,e,n,l,u);e=e||{},lr(t),a(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),s=o[i],l=e.model.callback;a(s)?(r(s)?-1===s.indexOf(l):s!==l)&&(o[i]=[l].concat(s)):o[i]=l}(t.options,e);var f=function(t,e,n){var i=e.options.props;if(!o(i)){var r={},s=t.attrs,l=t.props;if(a(s)||a(l))for(var u in i){var c=I(u);Le(r,l,u,c,!0)||Le(r,s,u,c,!1)}return r}}(e,t);if(s(t.options.functional))return function(t,e,n,o,s){var l=t.options,u={},c=l.props;if(a(c))for(var h in c)u[h]=Xi(h,c,e||i);else a(n.attrs)&&Ei(u,n.attrs),a(n.props)&&Ei(u,n.props);var p=new Pi(n,u,s,o,t),f=l.render.call(null,p._c,p);if(f instanceof dt)return Oi(f,n,p.parent,l);if(r(f)){for(var d=Re(f)||[],g=new Array(d.length),m=0;m<d.length;m++)g[m]=Oi(d[m],n,p.parent,l);return g}}(t,f,e,n,l);var d=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var m=e.slot;e={},m&&(e.slot=m)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Ni.length;n++){var i=Ni[n],r=e[i],o=Ri[i];r===o||r&&r._merged||(e[i]=r?Bi(o,r):o)}}(e);var v=Li(t.options)||u;return new dt("vue-component-".concat(t.cid).concat(v?"-".concat(v):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:d,tag:u,children:l},p)}}}function Bi(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}var zi=E,Vi=W.optionMergeStrategies;function ji(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var i,r,o,a=ct?Reflect.ownKeys(e):Object.keys(e),s=0;s<a.length;s++)"__ob__"!==(i=a[s])&&(r=t[i],o=e[i],n&&w(t,i)?r!==o&&p(r)&&p(o)&&ji(r,o):Rt(t,i,o));return t}function Gi(t,e,n){return n?function(){var i=u(e)?e.call(n,n):e,r=u(t)?t.call(n,n):t;return i?ji(i,r):r}:e?t?function(){return ji(u(e)?e.call(this,this):e,u(t)?t.call(this,this):t)}:e:t}function Wi(t,e){var n=e?t?t.concat(e):r(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Hi(t,e,n,i){var r=Object.create(t||null);return e?P(r,e):r}Vi.data=function(t,e,n){return n?Gi(t,e,n):e&&"function"!=typeof e?t:Gi(t,e)},G.forEach((function(t){Vi[t]=Wi})),j.forEach((function(t){Vi[t+"s"]=Hi})),Vi.watch=function(t,e,n,i){if(t===it&&(t=void 0),e===it&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var a in P(o,t),e){var s=o[a],l=e[a];s&&!r(s)&&(s=[s]),o[a]=s?s.concat(l):r(l)?l:[l]}return o},Vi.props=Vi.methods=Vi.inject=Vi.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return P(r,t),e&&P(r,e),r},Vi.provide=function(t,e){return t?function(){var n=Object.create(null);return ji(n,u(t)?t.call(this):t),e&&ji(n,u(e)?e.call(this):e,!1),n}:e};var Zi=function(t,e){return void 0===e?t:e};function $i(t,e,n){if(u(e)&&(e=e.options),function(t,e){var n=t.props;if(n){var i,o,a={};if(r(n))for(i=n.length;i--;)"string"==typeof(o=n[i])&&(a[M(o)]={type:null});else if(p(n))for(var s in n)o=n[s],a[M(s)]=p(o)?o:{type:o};t.props=a}}(e),function(t,e){var n=t.inject;if(n){var i=t.inject={};if(r(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(p(n))for(var a in n){var s=n[a];i[a]=p(s)?P({from:a},s):{from:s}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var i=e[n];u(i)&&(e[n]={bind:i,update:i})}}(e),!e._base&&(e.extends&&(t=$i(t,e.extends,n)),e.mixins))for(var i=0,o=e.mixins.length;i<o;i++)t=$i(t,e.mixins[i],n);var a,s={};for(a in t)l(a);for(a in e)w(t,a)||l(a);function l(i){var r=Vi[i]||Zi;s[i]=r(t[i],e[i],n,i)}return s}function Ui(t,e,n,i){if("string"==typeof n){var r=t[e];if(w(r,n))return r[n];var o=M(n);if(w(r,o))return r[o];var a=C(o);return w(r,a)?r[a]:r[n]||r[o]||r[a]}}function Xi(t,e,n,i){var r=e[t],o=!w(n,t),a=n[t],s=Ji(Boolean,r.type);if(s>-1)if(o&&!w(r,"default"))a=!1;else if(""===a||a===I(t)){var l=Ji(String,r.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!w(e,"default"))return;var i=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return u(i)&&"Function"!==Yi(e.type)?i.call(t):i}(i,r,t);var c=kt;Dt(!0),Et(a),Dt(c)}return a}var qi=/^\s*function (\w+)/;function Yi(t){var e=t&&t.toString().match(qi);return e?e[1]:""}function Ki(t,e){return Yi(t)===Yi(e)}function Ji(t,e){if(!r(e))return Ki(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(Ki(e[n],t))return n;return-1}var Qi={enumerable:!0,configurable:!0,get:E,set:E};function tr(t,e,n){Qi.get=function(){return this[e][n]},Qi.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Qi)}function er(t){var e=t.$options;if(e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props=zt({}),r=t.$options._propKeys=[],o=!t.$parent;o||Dt(!1);var a=function(o){r.push(o);var a=Xi(o,e,n,t);Lt(i,o,a),o in t||tr(t,"_props",o)};for(var s in e)a(s);Dt(!0)}(t,e.props),function(t){var e=t.$options,n=e.setup;if(n){var i=t._setupContext=an(t);ft(t),St();var r=Tn(n,null,[t._props||zt({}),i],t,"setup");if(Tt(),ft(),u(r))e.render=r;else if(c(r))if(t._setupState=r,r.__sfc){var o=t._setupProxy={};for(var a in r)"__sfc"!==a&&ee(o,r,a)}else for(var a in r)Z(a)||ee(t,r,a)}}(t),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?E:k(e[n],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;e=t._data=u(e)?function(t,e){St();try{return t.call(e,e)}catch(t){return Sn(t,e,"data()"),{}}finally{Tt()}}(e,t):e||{},p(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);for(;r--;){var o=n[r];0,i&&w(i,o)||Z(o)||tr(t,"_data",o)}var a=Et(e);a&&a.vmCount++}(t);else{var n=Et(t._data={});n&&n.vmCount++}e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=at();for(var r in e){var o=e[r],a=u(o)?o:o.get;0,i||(n[r]=new si(t,a||E,E,nr)),r in t||ir(t,r,o)}}(t,e.computed),e.watch&&e.watch!==it&&function(t,e){for(var n in e){var i=e[n];if(r(i))for(var o=0;o<i.length;o++)ar(t,n,i[o]);else ar(t,n,i)}}(t,e.watch)}var nr={lazy:!0};function ir(t,e,n){var i=!at();u(n)?(Qi.get=i?rr(e):or(n),Qi.set=E):(Qi.get=n.get?i&&!1!==n.cache?rr(e):or(n.get):E,Qi.set=n.set||E),Object.defineProperty(t,e,Qi)}function rr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),bt.target&&e.depend(),e.value}}function or(t){return function(){return t.call(this,this)}}function ar(t,e,n,i){return p(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}var sr=0;function lr(t){var e=t.options;if(t.super){var n=lr(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}(t);i&&P(t.extendOptions,i),(e=t.options=$i(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function ur(t){this._init(t)}function cr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=Li(t)||Li(n.options);var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=$i(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)tr(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)ir(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,j.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=P({},a.options),r[i]=a,a}}function hr(t){return t&&(Li(t.Ctor.options)||t.tag)}function pr(t,e){return r(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function fr(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&dr(n,o,i,r)}}}function dr(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,x(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=sr++,e._isVue=!0,e.__v_skip=!0,e._scope=new Se(!0),e._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=$i(lr(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._provided=n?n._provided:Object.create(null),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&&hi(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=Qe(e._renderChildren,r),t.$scopedSlots=n?nn(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,r){return xn(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return xn(t,e,n,i,r,!0)};var o=n&&n.data;Lt(t,"$attrs",o&&o.attrs||i,null,!0),Lt(t,"$listeners",e._parentListeners||i,null,!0)}(e),vi(e,"beforeCreate",void 0,!1),function(t){var e=Di(t.$options.inject,t);e&&(Dt(!1),Object.keys(e).forEach((function(n){Lt(t,n,e[n])})),Dt(!0))}(e),er(e),function(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!c(n))return;for(var i=Ie(t),r=ct?Reflect.ownKeys(n):Object.keys(n),o=0;o<r.length;o++){var a=r[o];Object.defineProperty(i,a,Object.getOwnPropertyDescriptor(n,a))}}}(e),vi(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(ur),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=Rt,t.prototype.$delete=Nt,t.prototype.$watch=function(t,e,n){var i=this;if(p(e))return ar(i,t,e,n);(n=n||{}).user=!0;var r=new si(i,t,e,n);if(n.immediate){var o='callback for immediate watcher "'.concat(r.expression,'"');St(),Tn(e,i,[r.value],i,o),Tt()}return function(){r.teardown()}}}(ur),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(r(t))for(var o=0,a=t.length;o<a;o++)i.$on(t[o],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(r(t)){for(var i=0,o=t.length;i<o;i++)n.$off(t[i],e);return n}var a,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var l=s.length;l--;)if((a=s[l])===e||a.fn===e){s.splice(l,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?D(n):n;for(var i=D(arguments,1),r='event handler for "'.concat(t,'"'),o=0,a=n.length;o<a;o++)Tn(n[o],e,i,e,r)}return e}}(ur),function(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,o=fi(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var a=n;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){vi(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||x(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),vi(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(ur),function(t){Je(t.prototype),t.prototype.$nextTick=function(t){return Nn(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,o=n._parentVnode;o&&e._isMounted&&(e.$scopedSlots=nn(e.$parent,o.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&un(e._slotsProxy,e.$scopedSlots)),e.$vnode=o;try{ft(e),gn=e,t=i.call(e._renderProxy,e.$createElement)}catch(n){Sn(n,e,"render"),t=e._vnode}finally{gn=null,ft()}return r(t)&&1===t.length&&(t=t[0]),t instanceof dt||(t=gt()),t.parent=o,t}}(ur);var gr=[String,RegExp,Array],mr={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:gr,exclude:gr,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var o=i.tag,a=i.componentInstance,s=i.componentOptions;e[r]={name:hr(s),tag:o,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&dr(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)dr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){fr(t,(function(t){return pr(e,t)}))})),this.$watch("exclude",(function(e){fr(t,(function(t){return!pr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=vn(t),n=e&&e.componentOptions;if(n){var i=hr(n),r=this.include,o=this.exclude;if(r&&(!i||!pr(r,i))||o&&i&&pr(o,i))return e;var a=this.cache,s=this.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;a[l]?(e.componentInstance=a[l].componentInstance,x(s,l),s.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return W}};Object.defineProperty(t,"config",e),t.util={warn:zi,extend:P,mergeOptions:$i,defineReactive:Lt},t.set=Rt,t.delete=Nt,t.nextTick=Nn,t.observable=function(t){return Et(t),t},t.options=Object.create(null),j.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,P(t.options.components,mr),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=D(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=$i(this.options,t),this}}(t),cr(t),function(t){j.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&p(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(ur),Object.defineProperty(ur.prototype,"$isServer",{get:at}),Object.defineProperty(ur.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ur,"FunctionalRenderContext",{value:Pi}),ur.version=ti;var vr=y("style,class"),yr=y("input,textarea,option,select,progress"),_r=y("contenteditable,draggable,spellcheck"),xr=y("events,caret,typing,plaintext-only"),br=function(t,e){return Cr(e)||"false"===e?"false":"contenteditable"===t&&xr(e)?e:"true"},wr=y("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,truespeed,typemustmatch,visible"),Sr="http://www.w3.org/1999/xlink",Tr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Mr=function(t){return Tr(t)?t.slice(6,t.length):""},Cr=function(t){return null==t||!1===t};function Ar(t){for(var e=t.data,n=t,i=t;a(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Ir(i.data,e));for(;a(n=n.parent);)n&&n.data&&(e=Ir(e,n.data));return function(t,e){if(a(t)||a(e))return kr(t,Dr(e));return""}(e.staticClass,e.class)}function Ir(t,e){return{staticClass:kr(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function kr(t,e){return t?e?t+" "+e:t:e||""}function Dr(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i<r;i++)a(e=Dr(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):c(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Pr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Or=y("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Er=y("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Lr=function(t){return Or(t)||Er(t)};var Rr=Object.create(null);var Nr=y("text,number,password,search,email,tel,url");var Fr=Object.freeze({__proto__:null,createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Pr[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Br={create:function(t,e){zr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(zr(t,!0),zr(e))},destroy:function(t){zr(t,!0)}};function zr(t,e){var n=t.data.ref;if(a(n)){var i=t.context,o=t.componentInstance||t.elm,s=e?null:o,l=e?void 0:o;if(u(n))Tn(n,i,[s],i,"template ref function");else{var c=t.data.refInFor,h="string"==typeof n||"number"==typeof n,p=Xt(n),f=i.$refs;if(h||p)if(c){var d=h?f[n]:n.value;e?r(d)&&x(d,o):r(d)?d.includes(o)||d.push(o):h?(f[n]=[o],Vr(i,n,f[n])):n.value=[o]}else if(h){if(e&&f[n]!==o)return;f[n]=l,Vr(i,n,s)}else if(p){if(e&&n.value!==o)return;n.value=s}else 0}}}function Vr(t,e,n){var i=t._setupState;i&&w(i,e)&&(Xt(i[e])?i[e].value=n:i[e]=n)}var jr=new dt("",{},[]),Gr=["create","activate","update","remove","destroy"];function Wr(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,i=a(n=t.data)&&a(n=n.attrs)&&n.type,r=a(n=e.data)&&a(n=n.attrs)&&n.type;return i===r||Nr(i)&&Nr(r)}(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function Hr(t,e,n){var i,r,o={};for(i=e;i<=n;++i)a(r=t[i].key)&&(o[r]=i);return o}var Zr={create:$r,update:$r,destroy:function(t){$r(t,jr)}};function $r(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,i,r,o=t===jr,a=e===jr,s=Xr(t.data.directives,t.context),l=Xr(e.data.directives,e.context),u=[],c=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,Yr(r,"update",e,t),r.def&&r.def.componentUpdated&&c.push(r)):(Yr(r,"bind",e,t),r.def&&r.def.inserted&&u.push(r));if(u.length){var h=function(){for(var n=0;n<u.length;n++)Yr(u[n],"inserted",e,t)};o?Ee(e,"insert",h):h()}c.length&&Ee(e,"postpatch",(function(){for(var n=0;n<c.length;n++)Yr(c[n],"componentUpdated",e,t)}));if(!o)for(n in s)l[n]||Yr(s[n],"unbind",t,t,a)}(t,e)}var Ur=Object.create(null);function Xr(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++){if((i=t[n]).modifiers||(i.modifiers=Ur),r[qr(i)]=i,e._setupState&&e._setupState.__sfc){var o=i.def||Ui(e,"_setupState","v-"+i.name);i.def="function"==typeof o?{bind:o,update:o}:o}i.def=i.def||Ui(e.$options,"directives",i.name)}return r}function qr(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function Yr(t,e,n,i,r){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,i,r)}catch(i){Sn(i,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Kr=[Br,Zr];function Jr(t,e){var n=e.componentOptions;if(!(a(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var i,r,l=e.elm,u=t.data.attrs||{},c=e.data.attrs||{};for(i in(a(c.__ob__)||s(c._v_attr_proxy))&&(c=e.data.attrs=P({},c)),c)r=c[i],u[i]!==r&&Qr(l,i,r,e.data.pre);for(i in(K||Q)&&c.value!==u.value&&Qr(l,"value",c.value),u)o(c[i])&&(Tr(i)?l.removeAttributeNS(Sr,Mr(i)):_r(i)||l.removeAttribute(i))}}function Qr(t,e,n,i){i||t.tagName.indexOf("-")>-1?to(t,e,n):wr(e)?Cr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):_r(e)?t.setAttribute(e,br(e,n)):Tr(e)?Cr(n)?t.removeAttributeNS(Sr,Mr(e)):t.setAttributeNS(Sr,e,n):to(t,e,n)}function to(t,e,n){if(Cr(n))t.removeAttribute(e);else{if(K&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var eo={create:Jr,update:Jr};function no(t,e){var n=e.elm,i=e.data,r=t.data;if(!(o(i.staticClass)&&o(i.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var s=Ar(e),l=n._transitionClasses;a(l)&&(s=kr(s,Dr(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var io,ro={create:no,update:no},oo="__r",ao="__c";function so(t,e,n){var i=io;return function r(){null!==e.apply(null,arguments)&&co(t,r,n,i)}}var lo=In&&!(nt&&Number(nt[1])<=53);function uo(t,e,n,i){if(lo){var r=Ti,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}io.addEventListener(t,e,rt?{capture:n,passive:i}:n)}function co(t,e,n,i){(i||io).removeEventListener(t,e._wrapper||e,n)}function ho(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},i=t.data.on||{};io=e.elm||t.elm,function(t){if(a(t[oo])){var e=K?"change":"input";t[e]=[].concat(t[oo],t[e]||[]),delete t[oo]}a(t[ao])&&(t.change=[].concat(t[ao],t.change||[]),delete t[ao])}(n),Oe(n,i,uo,co,so,e.context),io=void 0}}var po,fo={create:ho,update:ho,destroy:function(t){return ho(t,jr)}};function go(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,i,r=e.elm,l=t.data.domProps||{},u=e.data.domProps||{};for(n in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=P({},u)),l)n in u||(r[n]="");for(n in u){if(i=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===l[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var c=o(i)?"":String(i);mo(r,c)&&(r.value=c)}else if("innerHTML"===n&&Er(r.tagName)&&o(r.innerHTML)){(po=po||document.createElement("div")).innerHTML="<svg>".concat(i,"</svg>");for(var h=po.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;h.firstChild;)r.appendChild(h.firstChild)}else if(i!==l[n])try{r[n]=i}catch(t){}}}}function mo(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,i=t._vModifiers;if(a(i)){if(i.number)return v(n)!==v(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var vo={create:go,update:go},yo=S((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function _o(t){var e=xo(t.style);return t.staticStyle?P(t.staticStyle,e):e}function xo(t){return Array.isArray(t)?O(t):"string"==typeof t?yo(t):t}var bo,wo=/^--/,So=/\s*!important$/,To=function(t,e,n){if(wo.test(e))t.style.setProperty(e,n);else if(So.test(n))t.style.setProperty(I(e),n.replace(So,""),"important");else{var i=Co(e);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)t.style[i]=n[r];else t.style[i]=n}},Mo=["Webkit","Moz","ms"],Co=S((function(t){if(bo=bo||document.createElement("div").style,"filter"!==(t=M(t))&&t in bo)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Mo.length;n++){var i=Mo[n]+e;if(i in bo)return i}}));function Ao(t,e){var n=e.data,i=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var r,s,l=e.elm,u=i.staticStyle,c=i.normalizedStyle||i.style||{},h=u||c,p=xo(e.data.style)||{};e.data.normalizedStyle=a(p.__ob__)?P({},p):p;var f=function(t,e){var n,i={};if(e)for(var r=t;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=_o(r.data))&&P(i,n);(n=_o(t.data))&&P(i,n);for(var o=t;o=o.parent;)o.data&&(n=_o(o.data))&&P(i,n);return i}(e,!0);for(s in h)o(f[s])&&To(l,s,"");for(s in f)(r=f[s])!==h[s]&&To(l,s,null==r?"":r)}}var Io={create:Ao,update:Ao},ko=/\s+/;function Do(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ko).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Po(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ko).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Oo(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&P(e,Eo(t.name||"v")),P(e,t),e}return"string"==typeof t?Eo(t):void 0}}var Eo=S((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),Lo=q&&!J,Ro="transition",No="animation",Fo="transition",Bo="transitionend",zo="animation",Vo="animationend";Lo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Fo="WebkitTransition",Bo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(zo="WebkitAnimation",Vo="webkitAnimationEnd"));var jo=q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Go(t){jo((function(){jo(t)}))}function Wo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Do(t,e))}function Ho(t,e){t._transitionClasses&&x(t._transitionClasses,e),Po(t,e)}function Zo(t,e,n){var i=Uo(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===Ro?Bo:Vo,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout((function(){l<a&&u()}),o+1),t.addEventListener(s,c)}var $o=/\b(transform|all)(,|$)/;function Uo(t,e){var n,i=window.getComputedStyle(t),r=(i[Fo+"Delay"]||"").split(", "),o=(i[Fo+"Duration"]||"").split(", "),a=Xo(r,o),s=(i[zo+"Delay"]||"").split(", "),l=(i[zo+"Duration"]||"").split(", "),u=Xo(s,l),c=0,h=0;return e===Ro?a>0&&(n=Ro,c=a,h=o.length):e===No?u>0&&(n=No,c=u,h=l.length):h=(n=(c=Math.max(a,u))>0?a>u?Ro:No:null)?n===Ro?o.length:l.length:0,{type:n,timeout:c,propCount:h,hasTransform:n===Ro&&$o.test(i[Fo+"Property"])}}function Xo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return qo(e)+qo(t[n])})))}function qo(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Yo(t,e){var n=t.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Oo(t.data.transition);if(!o(i)&&!a(n._enterCb)&&1===n.nodeType){for(var r=i.css,s=i.type,l=i.enterClass,h=i.enterToClass,p=i.enterActiveClass,f=i.appearClass,d=i.appearToClass,g=i.appearActiveClass,m=i.beforeEnter,y=i.enter,_=i.afterEnter,x=i.enterCancelled,b=i.beforeAppear,w=i.appear,S=i.afterAppear,T=i.appearCancelled,M=i.duration,C=pi,A=pi.$vnode;A&&A.parent;)C=A.context,A=A.parent;var I=!C._isMounted||!t.isRootInsert;if(!I||w||""===w){var k=I&&f?f:l,D=I&&g?g:p,P=I&&d?d:h,O=I&&b||m,E=I&&u(w)?w:y,L=I&&S||_,R=I&&T||x,N=v(c(M)?M.enter
vendor: 4,146 bytes, line 1
1:M);0;var F=!1!==r&&!J,z=Qo(E),V=n._enterCb=B((function(){F&&(Ho(n,P),Ho(n,D)),V.cancelled?(F&&Ho(n,k),R&&R(n)):L&&L(n),n._enterCb=null}));t.data.show||Ee(t,"insert",(function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),E&&E(n,V)})),O&&O(n),F&&(Wo(n,k),Wo(n,D),Go((function(){Ho(n,k),V.cancelled||(Wo(n,P),z||(Jo(N)?setTimeout(V,N):Zo(n,s,V)))}))),t.data.show&&(e&&e(),E&&E(n,V)),F||z||V()}}}function Ko(t,e){var n=t.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=Oo(t.data.transition);if(o(i)||1!==n.nodeType)return e();if(!a(n._leaveCb)){var r=i.css,s=i.type,l=i.leaveClass,u=i.leaveToClass,h=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,d=i.afterLeave,g=i.leaveCancelled,m=i.delayLeave,y=i.duration,_=!1!==r&&!J,x=Qo(f),b=v(c(y)?y.leave:y);0;var w=n._leaveCb=B((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),_&&(Ho(n,u),Ho(n,h)),w.cancelled?(_&&Ho(n,l),g&&g(n)):(e(),d&&d(n)),n._leaveCb=null}));m?m(S):S()}function S(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),p&&p(n),_&&(Wo(n,l),Wo(n,h),Go((function(){Ho(n,l),w.cancelled||(Wo(n,u),x||(Jo(b)?setTimeout(w,b):Zo(n,s,w)))}))),f&&f(n,w),_||x||w())}}function Jo(t){return"number"==typeof t&&!isNaN(t)}function Qo(t){if(o(t))return!1;var e=t.fns;return a(e)?Qo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function ta(t,e){!0!==e.data.show&&Yo(e)}var ea=function(t){var e,n,i={},u=t.modules,c=t.nodeOps;for(e=0;e<Gr.length;++e)for(i[Gr[e]]=[],n=0;n<u.length;++n)a(u[n][Gr[e]])&&i[Gr[e]].push(u[n][Gr[e]]);function h(t){var e=c.parentNode(t);a(e)&&c.removeChild(e,t)}function p(t,e,n,r,o,l,u){if(a(t.elm)&&a(l)&&(t=l[u]=vt(t)),t.isRootInsert=!o,!function(t,e,n,r){var o=t.data;if(a(o)){var l=a(t.componentInstance)&&o.keepAlive;if(a(o=o.hook)&&a(o=o.init)&&o(t,!1),a(t.componentInstance))return f(t,e),d(n,t.elm,r),s(l)&&function(t,e,n,r){var o,s=t;for(;s.componentInstance;)if(a(o=(s=s.componentInstance._vnode).data)&&a(o=o.transition)){for(o=0;o<i.activate.length;++o)i.activate[o](jr,s);e.push(s);break}d(n,t.elm,r)}(t,e,n,r),!0}}(t,e,n,r)){var h=t.data,p=t.children,m=t.tag;a(m)?(t.elm=t.ns?c.createElementNS(t.ns,m):c.createElement(m,t),_(t),g(t,p,e),a(h)&&v(t,e),d(n,t.elm,r)):s(t.isComment)?(t.elm=c.createComment(t.text),d(n,t.elm,r)):(t.elm=c.createTextNode(t.text),d(n,t.elm,r))}}function f(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(v(t,e),_(t)):(zr(t),e.push(t))}function d(t,e,n){a(t)&&(a(n)?c.parentNode(n)===t&&c.insertBefore(t,e,n):c.appendChild(t,e))}function g(t,e,n){if(r(e)){0;for(var i=0;i<e.length;++i)p(e[i],n,t.elm,null,!0,e,i)}else l(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function m(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return a(t.tag)}function v(t,n){for(var r=0;r<i.create.length;++r)i.create[r](jr,t);a(e=t.data.hook)&&(a(e.create)&&e.create(jr,t),a(e.insert)&&n.push(t))}function _(t){var e;if(a(e=t.fnScopeId))c.setStyleScope(t.elm,e);else for(var n=t;n;)a(e=n.context)&&a(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),n=n.parent;a(e=pi)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function x(t,e,n,i,r,o){for(;i<=r;++i)p(n[i],o,t,e,!1,n,i)}function b(t){var e,n,r=t.data;if(a(r))for(a(e=r.hook)&&a(e=e.destroy)&&e(t),e=0;e<i.destroy.length;++e)i.destroy[e](t);if(a(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function w(t,e,n){for(;e<=n;++e){var i=t[e];a(i)&&(a(i.tag)?(S(i),b(i)):h(i.elm))}}function S(t,e){if(a(e)||a(t.data)){var n,r=i.remove.length+1;for(a(e)?e.listeners+=r:e=function(t,e){function n(){0==--n.listeners&&h(t)}return n.listeners=e,n}(t.elm,r),a(n=t.componentInstance)&&a(n=n._vnode)&&a(n.data)&&S(n,e),n=0;n<i.remove.length;++n)i.remove[n](t,e);a(n=t.data.hook)&&a(n=n.remove)?n(t,e):e()}else h(t.elm)}function T(t,e,n,i){for(var r=n;r<i;r++){var o=e[r];if(a(o)&&Wr(t,o))return r}}function M(t,e,n,r,l,u){if(t!==e){a(e.elm)&&a(r)&&(e=r[l]=vt(e));var h=e.elm=t.elm;
vendor: 9,157 bytes, line 1
1if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?I(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var f,d=e.data;a(d)&&a(f=d.hook)&&a(f=f.prepatch)&&f(t,e);var g=t.children,v=e.children;if(a(d)&&m(e)){for(f=0;f<i.update.length;++f)i.update[f](t,e);a(f=d.hook)&&a(f=f.update)&&f(t,e)}o(e.text)?a(g)&&a(v)?g!==v&&function(t,e,n,i,r){var s,l,u,h=0,f=0,d=e.length-1,g=e[0],m=e[d],v=n.length-1,y=n[0],_=n[v],b=!r;for(;h<=d&&f<=v;)o(g)?g=e[++h]:o(m)?m=e[--d]:Wr(g,y)?(M(g,y,i,n,f),g=e[++h],y=n[++f]):Wr(m,_)?(M(m,_,i,n,v),m=e[--d],_=n[--v]):Wr(g,_)?(M(g,_,i,n,v),b&&c.insertBefore(t,g.elm,c.nextSibling(m.elm)),g=e[++h],_=n[--v]):Wr(m,y)?(M(m,y,i,n,f),b&&c.insertBefore(t,m.elm,g.elm),m=e[--d],y=n[++f]):(o(s)&&(s=Hr(e,h,d)),o(l=a(y.key)?s[y.key]:T(y,e,h,d))?p(y,i,t,g.elm,!1,n,f):Wr(u=e[l],y)?(M(u,y,i,n,f),e[l]=void 0,b&&c.insertBefore(t,u.elm,g.elm)):p(y,i,t,g.elm,!1,n,f),y=n[++f]);h>d?x(t,o(n[v+1])?null:n[v+1].elm,n,f,v,i):f>v&&w(e,h,d)}(h,g,v,n,u):a(v)?(a(t.text)&&c.setTextContent(h,""),x(h,null,v,0,v.length-1,n)):a(g)?w(g,0,g.length-1):a(t.text)&&c.setTextContent(h,""):t.text!==e.text&&c.setTextContent(h,e.text),a(d)&&a(f=d.hook)&&a(f=f.postpatch)&&f(t,e)}}}function C(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var A=y("attrs,class,staticClass,staticStyle,key");function I(t,e,n,i){var r,o=e.tag,l=e.data,u=e.children;if(i=i||l&&l.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(l)&&(a(r=l.hook)&&a(r=r.init)&&r(e,!0),a(r=e.componentInstance)))return f(e,n),!0;if(a(o)){if(a(u))if(t.hasChildNodes())if(a(r=l)&&a(r=r.domProps)&&a(r=r.innerHTML)){if(r!==t.innerHTML)return!1}else{for(var c=!0,h=t.firstChild,p=0;p<u.length;p++){if(!h||!I(h,u[p],n,i)){c=!1;break}h=h.nextSibling}if(!c||h)return!1}else g(e,u,n);if(a(l)){var d=!1;for(var m in l)if(!A(m)){d=!0,v(e,n);break}!d&&l.class&&ii(l.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,r){if(!o(e)){var l,u=!1,h=[];if(o(t))u=!0,p(e,h);else{var f=a(t.nodeType);if(!f&&Wr(t,e))M(t,e,h,null,null,r);else{if(f){if(1===t.nodeType&&t.hasAttribute(V)&&(t.removeAttribute(V),n=!0),s(n)&&I(t,e,h))return C(e,h,!0),t;l=t,t=new dt(c.tagName(l).toLowerCase(),{},[],void 0,l)}var d=t.elm,g=c.parentNode(d);if(p(e,h,d._leaveCb?null:g,c.nextSibling(d)),a(e.parent))for(var v=e.parent,y=m(e);v;){for(var _=0;_<i.destroy.length;++_)i.destroy[_](v);if(v.elm=e.elm,y){for(var x=0;x<i.create.length;++x)i.create[x](jr,v);var S=v.data.hook.insert;if(S.merged)for(var T=1;T<S.fns.length;T++)S.fns[T]()}else zr(v);v=v.parent}a(g)?w([t],0,0):a(t.tag)&&b(t)}}return C(e,h,u),e.elm}a(t)&&b(t)}}({nodeOps:Fr,modules:[eo,ro,fo,vo,Io,q?{create:ta,activate:ta,remove:function(t,e){!0!==t.data.show?Ko(t,e):e()}}:{}].concat(Kr)});J&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ua(t,"input")}));var na={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Ee(n,"postpatch",(function(){na.componentUpdated(t,e,n)})):ia(t,e,n.context),t._vOptions=[].map.call(t.options,aa)):("textarea"===n.tag||Nr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",sa),t.addEventListener("compositionend",la),t.addEventListener("change",la),J&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){ia(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,aa);if(r.some((function(t,e){return!N(t,i[e])})))(t.multiple?e.value.some((function(t){return oa(t,r)})):e.value!==e.oldValue&&oa(e.value,r))&&ua(t,"change")}}};function ia(t,e,n){ra(t,e,n),(K||Q)&&setTimeout((function(){ra(t,e,n)}),0)}function ra(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=t.options.length;s<l;s++)if(a=t.options[s],r)o=F(i,aa(a))>-1,a.selected!==o&&(a.selected=o);else if(N(aa(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function oa(t,e){return e.every((function(e){return!N(e,t)}))}function aa(t){return"_value"in t?t._value:t.value}function sa(t){t.target.composing=!0}function la(t){t.target.composing&&(t.target.composing=!1,ua(t.target,"input"))}function ua(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ca(t){return!t.componentInstance||t.data&&t.data.transition?t:ca(t.componentInstance._vnode)}var ha={bind:function(t,e,n){var i=e.value,r=(n=ca(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Yo(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=ca(n)).data&&n.data.transition?(n.data.show=!0,i?Yo(n,(function(){t.style.display=t.__vOriginalDisplay})):Ko(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},pa={model:na,show:ha},fa={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 da(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?da(vn(e.children)):t}function ga(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var i in r)e[M(i)]=r[i];return e}function ma(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var va=function(t){return t.tag||en(t)},ya=function(t){return"show"===t.name},_a={name:"transition",props:fa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(va)).length){0;var i=this.mode;0;var r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=da(r);if(!o)return r;if(this._leaving)return ma(t,r);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:l(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=ga(this),u=this._vnode,c=da(u);if(o.data.directives&&o.data.directives.some(ya)&&(o.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,c)&&!en(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=P({},s);if("out-in"===i)return this._leaving=!0,Ee(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),ma(t,r);if("in-out"===i){if(en(o))return u;var p,f=function(){p()};Ee(s,"afterEnter",f),Ee(s,"enterCancelled",f),Ee(h,"delayLeave",(function(t){p=t}))}}return r}}},xa=P({tag:String,moveClass:String},fa);delete xa.mode;var ba={props:xa,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=fi(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=ga(this),s=0;s<r.length;s++){if((c=r[s]).tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(i){var l=[],u=[];for(s=0;s<i.length;s++){var c;(c=i[s]).data.transition=a,c.data.pos=c.elm.getBoundingClientRect(),n[c.key]?l.push(c):u.push(c)}this.kept=t(e,null,l),this.removed=u}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(wa),t.forEach(Sa),t.forEach(Ta),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,i=n.style;Wo(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Bo,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Bo,t),n._moveCb=null,Ho(n,e))})}})))},methods:{hasMove:function(t,e){if(!Lo)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Po(n,t)})),Do(n,e),n.style.display="none",this.$el.appendChild(n);var i=Uo(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function wa(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Sa(t){t.data.newPos=t.elm.getBoundingClientRect()}function Ta(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(i,"px,").concat(r,"px)"),o.transitionDuration="0s"}}var Ma={Transition:_a,TransitionGroup:ba};ur.config.mustUseProp=function(t,e,n){return"value"===n&&yr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},ur.config.isReservedTag=Lr,ur.config.isReservedAttr=vr,ur.config.getTagNamespace=function(t){return Er(t)?"svg":"math"===t?"math":void 0},ur.config.isUnknownElement=function(t){if(!q)return!0;
vendor: 8,441 bytes, line 1
1if(Lr(t))return!1;if(t=t.toLowerCase(),null!=Rr[t])return Rr[t];var e=document.createElement(t);return t.indexOf("-")>-1?Rr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Rr[t]=/HTMLUnknownElement/.test(e.toString())},P(ur.options.directives,pa),P(ur.options.components,Ma),ur.prototype.__patch__=q?ea:E,ur.prototype.$mount=function(t,e){return function(t,e,n){var i;t.$el=e,t.$options.render||(t.$options.render=gt),vi(t,"beforeMount"),i=function(){t._update(t._render(),n)},new si(t,i,E,{before:function(){t._isMounted&&!t._isDestroyed&&vi(t,"beforeUpdate")}},!0),n=!1;var r=t._preWatchers;if(r)for(var o=0;o<r.length;o++)r[o].run();return null==t.$vnode&&(t._isMounted=!0,vi(t,"mounted")),t}(this,t=t&&q?function(t){if("string"==typeof t){return document.querySelector(t)||document.createElement("div")}return t}(t):void 0,e)},q&&setTimeout((function(){W.devtools&&st&&st.emit("init",ur)}),0)},629:function(t,e,n){"use strict";var i=("undefined"!=typeof window?window:void 0!==n.g?n.g:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,i=(n=function(e){return e.original===t},e.filter(n)[0]);if(i)return i.copy;var o=Array.isArray(t)?[]:{};return e.push({original:t,copy:o}),Object.keys(t).forEach((function(n){o[n]=r(t[n],e)})),o}function o(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function a(t){return null!==t&&"object"==typeof t}var s=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,l);var u=function(t){this.register([],t,!1)};function c(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;c(t.concat(i),e.getChild(i),n.modules[i])}}u.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},u.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},u.prototype.update=function(t){c([],this.root,t)},u.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new s(e,n);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r);e.modules&&o(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},u.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},u.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var h;var p=function(t){var e=this;void 0===t&&(t={}),!h&&"undefined"!=typeof window&&window.Vue&&x(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new h,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=r;var l=this._modules.root.state;v(this,l,[],this._modules.root),m(this,l),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:h.config.devtools)&&function(t){i&&(t._devtoolHook=i,i.emit("vuex:init",t),i.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){i.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){i.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},f={state:{configurable:!0}};function d(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function g(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;v(t,n,[],t._modules.root,!0),m(t,n,e)}function m(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,a={};o(r,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=h.config.silent;h.config.silent=!0,t._vm=new h({data:{$$state:e},computed:a}),h.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),h.nextTick((function(){return i.$destroy()})))}function v(t,e,n,i,r){var o=!n.length,a=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!o&&!r){var s=y(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){h.set(s,l,i.state)}))}var u=i.context=function(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=_(n,i,r),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=e+l),t.dispatch(l,a)},commit:i?t.commit:function(n,i,r){var o=_(n,i,r),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=e+l),t.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return y(t.state,n)}}}),r}(t,a,n);i.forEachMutation((function(e,n){!function(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}(t,a+n,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:a+n,r=e.handler||e;!function(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r,o=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(r=o)&&"function"==typeof r.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,i,r,u)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,a+n,e,u)})),i.forEachChild((function(i,o){v(t,e,n.concat(o),i,r)}))}function y(t,e){return e.reduce((function(t,e){return t[e]}),t)}function _(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function x(t){h&&t===h||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(h=t)}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(t){0},p.prototype.commit=function(t,e,n){var i=this,r=_(t,e,n),o=r.type,a=r.payload,s=(r.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},p.prototype.dispatch=function(t,e){var n=this,i=_(t,e),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before}
vendor: 7,941 bytes, line 1
1)).forEach((function(t){return t.before(a,n.state)}))}catch(t){0}var l=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(t){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(t){0}e(t)}))}))}},p.prototype.subscribe=function(t,e){return d(t,this._subscribers,e)},p.prototype.subscribeAction=function(t,e){return d("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},p.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},p.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},p.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),v(this,this.state,t,this._modules.get(t),n.preserveState),m(this,this.state)},p.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=y(e.state,t.slice(0,-1));h.delete(n,t[t.length-1])})),g(this)},p.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},p.prototype.hotUpdate=function(t){this._modules.update(t),g(this,!0)},p.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(p.prototype,f);var b=C((function(t,e){var n={};return M(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=A(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),w=C((function(t,e){var n={};return M(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=A(this.$store,"mapMutations",t);if(!o)return;i=o.context.commit}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),S=C((function(t,e){var n={};return M(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||A(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),T=C((function(t,e){var n={};return M(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=A(this.$store,"mapActions",t);if(!o)return;i=o.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n}));function M(t){return function(t){return Array.isArray(t)||a(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function C(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function A(t,e,n){return t._modulesNamespaceMap[n]}function I(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(n){t.log(e)}}function k(t){try{t.groupEnd()}catch(e){t.log("ââ log end ââ")}}function D(){var t=new Date;return" @ "+P(t.getHours(),2)+":"+P(t.getMinutes(),2)+":"+P(t.getSeconds(),2)+"."+P(t.getMilliseconds(),3)}function P(t,e){return n="0",i=e-t.toString().length,new Array(i+1).join(n)+t;var n,i}var O={Store:p,install:x,version:"3.6.2",mapState:b,mapMutations:w,mapGetters:S,mapActions:T,createNamespacedHelpers:function(t){return{mapState:b.bind(null,t),mapGetters:S.bind(null,t),mapMutations:w.bind(null,t),mapActions:T.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var u=t.logActions;void 0===u&&(u=!0);var c=t.logger;return void 0===c&&(c=console),function(t){var h=r(t.state);void 0!==c&&(l&&t.subscribe((function(t,a){var s=r(a);if(n(t,h,s)){var l=D(),u=o(t),p="mutation "+t.type+l;I(c,p,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",i(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",i(s)),k(c)}h=s})),u&&t.subscribeAction((function(t,n){if(a(t,n)){var i=D(),r=s(t),o="action "+t.type+i;I(c,o,e),c.log("%c action","color: #03A9F4; font-weight: bold",r),k(c)}})))}}};e.ZP=O},7066:function(t,e,n){"use strict";n.d(e,{Z:function(){return Se}});var i={};function r(t,e){return function(){return t.apply(e,arguments)}}n.r(i),n.d(i,{hasBrowserEnv:function(){return ft},hasStandardBrowserEnv:function(){return gt},hasStandardBrowserWebWorkerEnv:function(){return mt},navigator:function(){return dt},origin:function(){return vt}});const{toString:o}=Object.prototype,{getPrototypeOf:a}=Object,s=(l=Object.create(null),t=>{const e=o.call(t);return l[e]||(l[e]=e.slice(8,-1).toLowerCase())});var l;const u=t=>(t=t.toLowerCase(),e=>s(e)===t),c=t=>e=>typeof e===t,{isArray:h}=Array,p=c("undefined");const f=u("ArrayBuffer");const d=c("string"),g=c("function"),m=c("number"),v=t=>null!==t&&"object"==typeof t,y=t=>{if("object"!==s(t))return!1;const e=a(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},_=u("Date"),x=u("File"),b=u("Blob"),w=u("FileList"),S=u("URLSearchParams"),[T,M,C,A]=["ReadableStream","Request","Response","Headers"].map(u);function I(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let i,r;if("object"!=typeof t&&(t=[t]),h(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let a;for(i=0;i<o;i++)a=r[i],e.call(null,t[a],a,t)}}function k(t,e){e=e.toLowerCase();const n=Object.keys(t);let i,r=n.length;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const D="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,P=t=>!p(t)&&t!==D;const O=(E="undefined"!=typeof Uint8Array&&a(Uint8Array),t=>E&&t instanceof E);var E;const L=u("HTMLFormElement"),R=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),N=u("RegExp"),F=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};I(n,((n,r)=>{let o;!1!==(o=e(n,r,t))&&(i[r]=o||n)})),Object.defineProperties(t,i)},B="abcdefghijklmnopqrstuvwxyz",z="0123456789",V={DIGIT:z,ALPHA:B,ALPHA_DIGIT:B+B.toUpperCase()+z};const j=u("AsyncFunction"),G=(W="function"==typeof setImmediate,H=g(D.postMessage),W?setImmediate:H?(Z=`axios@${Math.random()}`,$=[],D.addEventListener("message",(({source:t,data:e})=>{t===D&&e===Z&&$.length&&$.shift()()}),!1),t=>{$.push(t),D.postMessage(Z,"*")}):t=>setTimeout(t));var W,H,Z,$;const U="undefined"!=typeof queueMicrotask?queueMicrotask.bind(D):"undefined"!=typeof process&&process.nextTick||G;var X={isArray:h,isArrayBuffer:f,isBuffer:function(t){return null!==t&&!p(t)&&null!==t.constructor&&!p(t.constructor)&&g(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||g(t.append)&&("formdata"===(e=s(t))||"object"===e&&g(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&f(t.buffer),e},isString:d,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:v,isPlainObject:y,isReadableStream:T,isRequest:M,isResponse:C,isHeaders:A,isUndefined:p,isDate:_,isFile:x,isBlob:b,isRegExp:N,isFunction:g,isStream:t=>
vendor: 5,041 bytes, line 1
1v(t)&&g(t.pipe),isURLSearchParams:S,isTypedArray:O,isFileList:w,forEach:I,merge:function t(){const{caseless:e}=P(this)&&this||{},n={},i=(i,r)=>{const o=e&&k(n,r)||r;y(n[o])&&y(i)?n[o]=t(n[o],i):y(i)?n[o]=t({},i):h(i)?n[o]=i.slice():n[o]=i};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&I(arguments[t],i);return n},extend:(t,e,n,{allOwnKeys:i}={})=>(I(e,((e,i)=>{n&&g(e)?t[i]=r(e,n):t[i]=e}),{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,i)=>{let r,o,s;const l={};if(e=e||{},null==t)return e;do{for(r=Object.getOwnPropertyNames(t),o=r.length;o-- >0;)s=r[o],i&&!i(s,t,e)||l[s]||(e[s]=t[s],l[s]=!0);t=!1!==n&&a(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:s,kindOfTest:u,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return-1!==i&&i===n},toArray:t=>{if(!t)return null;if(h(t))return t;let e=t.length;if(!m(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=n.next())&&!i.done;){const n=i.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const i=[];for(;null!==(n=t.exec(e));)i.push(n);return i},isHTMLForm:L,hasOwnProperty:R,hasOwnProp:R,reduceDescriptors:F,freezeMethods:t=>{F(t,((e,n)=>{if(g(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=t[n];g(i)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},i=t=>{t.forEach((t=>{n[t]=!0}))};return h(t)?i(t):i(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:k,global:D,isContextDefined:P,ALPHABET:V,generateString:(t=16,e=V.ALPHA_DIGIT)=>{let n="";const{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n},isSpecCompliantForm:function(t){return!!(t&&g(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,i)=>{if(v(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[i]=t;const r=h(t)?[]:{};return I(t,((t,e)=>{const o=n(t,i+1);!p(o)&&(r[e]=o)})),e[i]=void 0,r}}return t};return n(t,0)},isAsyncFn:j,isThenable:t=>t&&(v(t)||g(t))&&g(t.then)&&g(t.catch),setImmediate:G,asap:U};function q(t,e,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r,this.status=r.status?r.status:null)}X.inherits(q,Error,{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:X.toJSONObject(this.config),code:this.code,status:this.status}}});const Y=q.prototype,K={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{K[t]={value:t}})),Object.defineProperties(q,K),Object.defineProperty(Y,"isAxiosError",{value:!0}),q.from=(t,e,n,i,r,o)=>{const a=Object.create(Y);return X.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),q.call(a,t.message,e,n,i,r),a.cause=t,a.name=t.name,o&&Object.assign(a,o),a};var J=q;function Q(t){return X.isPlainObject(t)||X.isArray(t)}function tt(t){return X.endsWith(t,"[]")?t.slice(0,-2):t}function et(t,e,n){return t?t.concat(e).map((function(t,e){return t=tt(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const nt=X.toFlatObject(X,{},null,(function(t){return/^is[A-Z]/.test(t)}));var it=function(t,e,n){if(!X.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const i=(n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!X.isUndefined(e[t])}))).metaTokens,r=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&X.isSpecCompliantForm(e);if(!X.isFunction(r))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(X.isDate(t))return t.toISOString();if(!s&&X.isBlob(t))throw new J("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(t)||X.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,n,r){let s=t;if(t&&!r&&"object"==typeof t)if(X.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=JSON.stringify(t);else if(X.isArray(t)&&function(t){return X.isArray(t)&&!t.some(Q)}(t)||(X.isFileList(t)||X.endsWith(n,"[]"))&&(s=X.toArray(t)))return n=tt(n),s.forEac
vendor: 4,119 bytes, line 1
1h((function(t,i){!X.isUndefined(t)&&null!==t&&e.append(!0===a?et([n],i,o):null===a?n:n+"[]",l(t))})),!1;return!!Q(t)||(e.append(et(r,n,o),l(t)),!1)}const c=[],h=Object.assign(nt,{defaultVisitor:u,convertValue:l,isVisitable:Q});if(!X.isObject(t))throw new TypeError("data must be an object");return function t(n,i){if(!X.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+i.join("."));c.push(n),X.forEach(n,(function(n,o){!0===(!(X.isUndefined(n)||null===n)&&r.call(e,n,X.isString(o)?o.trim():o,i,h))&&t(n,i?i.concat(o):[o])})),c.pop()}}(t),e};function rt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function ot(t,e){this._pairs=[],t&&it(t,this,e)}const at=ot.prototype;at.append=function(t,e){this._pairs.push([t,e])},at.toString=function(t){const e=t?function(e){return t.call(this,e,rt)}:rt;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var st=ot;function lt(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ut(t,e,n){if(!e)return t;const i=n&&n.encode||lt;X.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(o=r?r(e,n):X.isURLSearchParams(e)?e.toString():new st(e,n).toString(i),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}var ct=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},ht={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:st,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ft="undefined"!=typeof window&&"undefined"!=typeof document,dt="object"==typeof navigator&&navigator||void 0,gt=ft&&(!dt||["ReactNative","NativeScript","NS"].indexOf(dt.product)<0),mt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,vt=ft&&window.location.href||"http://localhost";var yt={...i,...pt};var _t=function(t){function e(t,n,i,r){let o=t[r++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=r>=t.length;if(o=!o&&X.isArray(i)?i.length:o,s)return X.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a;i[o]&&X.isObject(i[o])||(i[o]=[]);return e(t,n,i[o],r)&&X.isArray(i[o])&&(i[o]=function(t){const e={},n=Object.keys(t);let i;const r=n.length;let o;for(i=0;i<r;i++)o=n[i],e[o]=t[o];return e}(i[o])),!a}if(X.isFormData(t)&&X.isFunction(t.entries)){const n={};return X.forEachEntry(t,((t,i)=>{e(function(t){return X.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),i,n,0)})),n}return null};const xt={transitional:ht,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,r=X.isObject(t);r&&X.isHTMLForm(t)&&(t=new FormData(t));if(X.isFormData(t))return i?JSON.stringify(_t(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t)||X.isReadableStream(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return it(t,new yt.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,i){return yt.isNode&&X.isBuffer(t)?(this.append(e,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=X.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return it(o?{"files[]":t}
vendor: 4,306 bytes, line 1
1:t,e&&new e,this.formSerializer)}}return r||i?(e.setContentType("application/json",!1),function(t,e,n){if(X.isString(t))try{return(e||JSON.parse)(t),X.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||xt.transitional,n=e&&e.forcedJSONParsing,i="json"===this.responseType;if(X.isResponse(t)||X.isReadableStream(t))return t;if(t&&X.isString(t)&&(n&&!this.responseType||i)){const n=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw J.from(t,J.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yt.classes.FormData,Blob:yt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],(t=>{xt.headers[t]={}}));var bt=xt;const wt=X.toObjectSet(["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"]);const St=Symbol("internals");function Tt(t){return t&&String(t).trim().toLowerCase()}function Mt(t){return!1===t||null==t?t:X.isArray(t)?t.map(Mt):String(t)}function Ct(t,e,n,i,r){return X.isFunction(i)?i.call(this,e,n):(r&&(e=n),X.isString(e)?X.isString(i)?-1!==e.indexOf(i):X.isRegExp(i)?i.test(e):void 0:void 0)}class At{constructor(t){t&&this.set(t)}set(t,e,n){const i=this;function r(t,e,n){const r=Tt(e);if(!r)throw new Error("header name must be a non-empty string");const o=X.findKey(i,r);(!o||void 0===i[o]||!0===n||void 0===n&&!1!==i[o])&&(i[o||e]=Mt(t))}const o=(t,e)=>X.forEach(t,((t,n)=>r(t,n,e)));if(X.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if(X.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))o((t=>{const e={};let n,i,r;return t&&t.split("\n").forEach((function(t){r=t.indexOf(":"),n=t.substring(0,r).trim().toLowerCase(),i=t.substring(r+1).trim(),!n||e[n]&&wt[n]||("set-cookie"===n?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)})),e})(t),e);else if(X.isHeaders(t))for(const[e,i]of t.entries())r(i,e,n);else null!=t&&r(e,t,n);return this}get(t,e){if(t=Tt(t)){const n=X.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}(t);if(X.isFunction(e))return e.call(this,t,n);if(X.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Tt(t)){const n=X.findKey(this,t);return!(!n||void 0===this[n]||e&&!Ct(0,this[n],n,e))}return!1}delete(t,e){const n=this;let i=!1;function r(t){if(t=Tt(t)){const r=X.findKey(n,t);!r||e&&!Ct(0,n[r],r,e)||(delete n[r],i=!0)}}return X.isArray(t)?t.forEach(r):r(t),i}clear(t){const e=Object.keys(this);let n=e.length,i=!1;for(;n--;){const r=e[n];t&&!Ct(0,this[r],r,t,!0)||(delete this[r],i=!0)}return i}normalize(t){const e=this,n={};return X.forEach(this,((i,r)=>{const o=X.findKey(n,r);if(o)return e[o]=Mt(i),void delete e[r];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(r):String(r).trim();a!==r&&delete e[r],e[a]=Mt(i),n[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return X.forEach(this,((n,i)=>{null!=n&&!1!==n&&(e[i]=t&&X.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[St]=this[St]={accessors:{}}).accessors,n=this.prototype;function i(t){const i=Tt(t);e[i]||(!function(t,e){const n=X.toCamelCase(" "+e);["get","set","has"].forEach((i=>{Object.defineProperty(t,i+n,{value:function(t,n,r){return this[i].call(this,e,t,n,r)},configurable:!0})}
vendor: 4,336 bytes, line 1
1))}(n,t),e[i]=!0)}return X.isArray(t)?t.forEach(i):i(t),this}}At.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(At.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),X.freezeMethods(At);var It=At;function kt(t,e){const n=this||bt,i=e||n,r=It.from(i.headers);let o=i.data;return X.forEach(t,(function(t){o=t.call(n,o,r.normalize(),e?e.status:void 0)})),r.normalize(),o}function Dt(t){return!(!t||!t.__CANCEL__)}function Pt(t,e,n){J.call(this,null==t?"canceled":t,J.ERR_CANCELED,e,n),this.name="CanceledError"}X.inherits(Pt,J,{__CANCEL__:!0});var Ot=Pt;function Et(t,e,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}var Lt=function(t,e){t=t||10;const n=new Array(t),i=new Array(t);let r,o=0,a=0;return e=void 0!==e?e:1e3,function(s){const l=Date.now(),u=i[a];r||(r=l),n[o]=s,i[o]=l;let c=a,h=0;for(;c!==o;)h+=n[c++],c%=t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),l-r<e)return;const p=u&&l-u;return p?Math.round(1e3*h/p):void 0}};var Rt=function(t,e){let n,i,r=0,o=1e3/e;const a=(e,o=Date.now())=>{r=o,n=null,i&&(clearTimeout(i),i=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),s=e-r;s>=o?a(t,e):(n=t,i||(i=setTimeout((()=>{i=null,a(n)}),o-s)))},()=>n&&a(n)]};const Nt=(t,e,n=3)=>{let i=0;const r=Lt(50,250);return Rt((n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-i,l=r(s);i=o;t({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:n,lengthComputable:null!=a,[e?"download":"upload"]:!0})}),n)},Ft=(t,e)=>{const n=null!=t;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},Bt=t=>(...e)=>X.asap((()=>t(...e)));var zt=yt.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,yt.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(yt.origin),yt.navigator&&/(msie|trident)/i.test(yt.navigator.userAgent)):()=>!0,Vt=yt.hasStandardBrowserEnv?{write(t,e,n,i,r,o){const a=[t+"="+encodeURIComponent(e)];X.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),X.isString(i)&&a.push("path="+i),X.isString(r)&&a.push("domain="+r),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function jt(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Gt=t=>t instanceof It?{...t}:t;function Wt(t,e){e=e||{};const n={};function i(t,e,n,i){return X.isPlainObject(t)&&X.isPlainObject(e)?X.merge.call({caseless:i},t,e):X.isPlainObject(e)?X.merge({},e):X.isArray(e)?e.slice():e}function r(t,e,n,r){return X.isUndefined(e)?X.isUndefined(t)?void 0:i(void 0,t,0,r):i(t,e,0,r)}function o(t,e){if(!X.isUndefined(e))return i(void 0,e)}function a(t,e){return X.isUndefined(e)?X.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function s(n,r,o){return o in e?i(n,r):o in t?i(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e,n)=>r(Gt(t),Gt(e),0,!0)};return X.forEach(Object.keys(Object.assign({},t,e)),(function(i){const o=l[i]||r,a=o(t[i],e[i],i);X.isUndefined(a)&&o!==s||(n[i]=a)})),n}var Ht=t=>{const e=Wt({},t);let n,{data:i,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:l}=e;if(e.headers=s=It.from(s),e.url=ut(jt(e.baseURL,e.url),t.params,t.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),X.isFormData(i))if(yt.hasStandardBrowserEnv||yt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[t,...e]=n?n.split(";").map((t=>
vendor: 8,842 bytes, line 1
1t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}if(yt.hasStandardBrowserEnv&&(r&&X.isFunction(r)&&(r=r(e)),r||!1!==r&&zt(e.url))){const t=o&&a&&Vt.read(a);t&&s.set(o,t)}return e};var Zt="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const i=Ht(t);let r=i.data;const o=It.from(i.headers).normalize();let a,s,l,u,c,{responseType:h,onUploadProgress:p,onDownloadProgress:f}=i;function d(){u&&u(),c&&c(),i.cancelToken&&i.cancelToken.unsubscribe(a),i.signal&&i.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const i=It.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Et((function(t){e(t),d()}),(function(t){n(t),d()}),{data:h&&"text"!==h&&"json"!==h?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:i,config:t,request:g}),g=null}g.open(i.method.toUpperCase(),i.url,!0),g.timeout=i.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new J("Request aborted",J.ECONNABORTED,t,g)),g=null)},g.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,t,g)),g=null},g.ontimeout=function(){let e=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const r=i.transitional||ht;i.timeoutErrorMessage&&(e=i.timeoutErrorMessage),n(new J(e,r.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,g)),g=null},void 0===r&&o.setContentType(null),"setRequestHeader"in g&&X.forEach(o.toJSON(),(function(t,e){g.setRequestHeader(e,t)})),X.isUndefined(i.withCredentials)||(g.withCredentials=!!i.withCredentials),h&&"json"!==h&&(g.responseType=i.responseType),f&&([l,c]=Nt(f,!0),g.addEventListener("progress",l)),p&&g.upload&&([s,u]=Nt(p),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",u)),(i.cancelToken||i.signal)&&(a=e=>{g&&(n(!e||e.type?new Ot(null,t,g):e),g.abort(),g=null)},i.cancelToken&&i.cancelToken.subscribe(a),i.signal&&(i.signal.aborted?a():i.signal.addEventListener("abort",a)));const v=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(i.url);v&&-1===yt.protocols.indexOf(v)?n(new J("Unsupported protocol "+v+":",J.ERR_BAD_REQUEST,t)):g.send(r||null)}))};var $t=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,i=new AbortController;const r=function(t){if(!n){n=!0,a();const e=t instanceof Error?t:this.reason;i.abort(e instanceof J?e:new Ot(e instanceof Error?e.message:e))}};let o=e&&setTimeout((()=>{o=null,r(new J(`timeout ${e} of ms exceeded`,J.ETIMEDOUT))}),e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(r):t.removeEventListener("abort",r)})),t=null)};t.forEach((t=>t.addEventListener("abort",r)));const{signal:s}=i;return s.unsubscribe=()=>X.asap(a),s}};const Ut=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let i,r=0;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},Xt=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}},qt=(t,e,n,i)=>{const r=async function*(t,e){for await(const n of Xt(t))yield*Ut(n,e)}(t,e);let o,a=0,s=t=>{o||(o=!0,i&&i(t))};return new ReadableStream({async pull(t){try{const{done:e,value:i}=await r.next();if(e)return s(),void t.close();let o=i.byteLength;if(n){let t=a+=o;n(t)}t.enqueue(new Uint8Array(i))}catch(t){throw s(t),t}},cancel(t){return s(t),r.return()}},{highWaterMark:2})},Yt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Kt=Yt&&"function"==typeof ReadableStream,Jt=Yt&&("function"==typeof TextEncoder?(Qt=new TextEncoder,t=>Qt.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var Qt;const te=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},ee=Kt&&te((()=>{let t=!1;const e=new Request(yt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),ne=Kt&&te((()=>X.isReadableStream(new Response("").body))),ie={stream:ne&&(t=>t.body)};Yt&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!ie[e]&&(ie[e]=X.isFunction(t[e])?t=>t[e]():(t,n)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})}))})(new Response);const re=async(t,e)=>{const n=X.toFiniteNumber(t.getContentLength());return null==n?(async t=>{if(null==t)return 0;if(X.isBlob(t))return t.size;if(X.isSpecCompliantForm(t)){const e=new Request(yt.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return X.isArrayBufferView(t)||X.isArrayBuffer(t)?t.byteLength:(X.isURLSearchParams(t)&&(t+=""),X.isString(t)?(await Jt(t)).byteLength:void 0)})(e):n};const oe={http:null,xhr:Zt,fetch:Yt&&(async t=>{let{url:e,method:n,data:i,signal:r,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:h="same-origin",fetchOptions:p}=Ht(t);u=u?(u+"").toLowerCase():"text";let f,d=$t([r,o&&o.toAbortSignal()],a);const g=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let m;try{if(l&&ee&&"get"!==n&&"head"!==n&&0!==(m=await re(c,i))){let t,n=new Request(e,{method:"POST",body:i,duplex:"half"});if(X.isFormData(i)&&(t=n.headers.get("content-type"))&&c.setContentType(t),n.body){const[t,e]=Ft(m,Nt(Bt(l)));i=qt(n.body,65536,t,e)}}X.isString(h)||(h=h?"include":"omit");const r="credentials"in Request.prototype;f=new Request(e,{...p,signal:d,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:i,duplex:"half",credentials:r?h:void 0});let o=await fetch(f);const a=ne&&("stream"===u||"response"===u);if(ne&&(s||a&&g)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=o[e]}));const e=X.toFiniteNumber(o.headers.get("content-length")),[n,i]=s&&Ft(e,Nt(Bt(s),!0))||[];o=new Response(qt(o.body,65536,n,(()=>{i&&i(),g&&g()})),t)}u=u||"text";let v=await ie[X.findKey(ie,u)||"text"](o,t);return!a&&g&&g(),await new Promise(((e,n)=>{Et(e,n,{data:v,headers:It.from(o.headers),status:o.status,statusText:o.statusText,config:t,request:f})}))}catch(e){if(g&&g(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,t,f),{cause:e.cause||e});throw J.from(e,e&&e.code,t,f)}})};X.forEach(oe,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const ae=t=>`- ${t}`,se=t=>X.isFunction(t)||null===t||!1===t;var le=t=>{t=X.isArray(t)?t:[t];const{length:e}=t;let n,i;const r={};for(let o=0;o<e;o++){let e;if(n=t[o],i=n,!se(n)&&(i=oe[(e=String(n)).toLowerCase()],void 0===i))throw new J(`Unknown adapter '${e}'`);if(i)break;r[e||"#"+o]=i}if(!i){const t=Object.entries(r).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(ae).join("\n"):" "+ae(t[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return i};function ue(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ot(null,t)}function ce(t){ue(t),t.headers=It.from(t.headers),t.data=kt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return le(t.adapter||bt.adapter)(t).then((function(e){return ue(t),e.data=kt.call(t,t.transformResponse,e),e.headers=It.from(e.headers),e}),(function(e){return Dt(e)||(ue(t),e&&e.response&&(e.response.data=kt.call(t,t.transformResponse,e.response),e.response.headers=It.from(e.response.headers))),Promise.reject(e)}))}const he="1.7.9",pe={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{pe[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const fe={};pe.transitional=function(t,e,n){return(i,r,o)=>{if(!1===t)throw new J(function(t,e){return"[Axios v1.7.9] Transitional option '"+t+"'"+e+(n?". "+n:"")}(r," has been removed"+(e?" in "+e:"")),J.ERR_DEPRECATED);return e&&!fe[r]&&(fe[r]=!0),!t||t(i,r,o)}},pe.spelling=function(t){return(t,e)=>!0};var de={assertOptions:function(t,e,n){if("object"!=typeof t)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let r=i.length;for(;r-- >0;){const o=i[r],a=e[o];if(a){const e=t[o],n=void 0===e||a(e,o,t);if(!0!==n)throw new J("option "+o+" must be "+n,J.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}},validators:pe};const ge=de.validators;class me{constructor(t){this.defaults=t,this.interceptors={request:new ct,response:new ct}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;
vendor: 3,215 bytes, line 1
1const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Wt(this.defaults,e);const{transitional:n,paramsSerializer:i,headers:r}=e;void 0!==n&&de.assertOptions(n,{silentJSONParsing:ge.transitional(ge.boolean),forcedJSONParsing:ge.transitional(ge.boolean),clarifyTimeoutError:ge.transitional(ge.boolean)},!1),null!=i&&(X.isFunction(i)?e.paramsSerializer={serialize:i}:de.assertOptions(i,{encode:ge.function,serialize:ge.function},!0)),de.assertOptions(e,{baseUrl:ge.spelling("baseURL"),withXsrfToken:ge.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=r&&X.merge(r.common,r[e.method]);r&&X.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete r[t]})),e.headers=It.concat(o,r);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let c,h=0;if(!s){const t=[ce.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,l),c=t.length,u=Promise.resolve(e);h<c;)u=u.then(t[h++],t[h++]);return u}c=a.length;let p=e;for(h=0;h<c;){const t=a[h++],e=a[h++];try{p=t(p)}catch(t){e.call(this,t);break}}try{u=ce.call(this,p)}catch(t){return Promise.reject(t)}for(h=0,c=l.length;h<c;)u=u.then(l[h++],l[h++]);return u}getUri(t){return ut(jt((t=Wt(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}X.forEach(["delete","get","head","options"],(function(t){me.prototype[t]=function(e,n){return this.request(Wt(n||{},{method:t,url:e,data:(n||{}).data}))}})),X.forEach(["post","put","patch"],(function(t){function e(e){return function(n,i,r){return this.request(Wt(r||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}me.prototype[t]=e(),me.prototype[t+"Form"]=e(!0)}));var ve=me;class ye{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const i=new Promise((t=>{n.subscribe(t),e=t})).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t((function(t,i,r){n.reason||(n.reason=new Ot(t,i,r),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new ye((function(e){t=e})),cancel:t}}}var _e=ye;const xe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
1alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(xe).forEach((([t,e])=>{xe[e]=t}));var be=xe;const we=function t(e){const n=new ve(e),i=r(ve.prototype.request,n);return X.extend(i,ve.prototype,n,{allOwnKeys:!0}),X.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return t(Wt(e,n))},i}(bt);we.Axios=ve,we.CanceledError=Ot,we.CancelToken=_e,we.isCancel=Dt,we.VERSION=he,we.toFormData=it,we.AxiosError=J,we.Cancel=we.CanceledError,we.all=function(t){return Promise.all(t)},we.spread=function(t){return function(e){return t.apply(null,e)}},we.isAxiosError=function(t){return X.isObject(t)&&!0===t.isAxiosError},we.mergeConfig=Wt,we.AxiosHeaders=It,we.formToJSON=t=>_t(X.isHTMLForm(t)?new FormData(t):t),we.getAdapter=le,we.HttpStatusCode=be,we.default=we;var Se=we},5941:function(t,e,n){"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{Z:function(){return o}});n(1703);function r(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}function o(t,e,n){return(e=r(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},4602:function(t,e,n){"use strict";n.d(e,{$:function(){return s},Ce:function(){return E},IV:function(){return u},Kz:function(){return D},Lj:function(){return p},Od:function(){return W},Pb:function(){return b},R3:function(){return O},S1:function(){return v},S6:function(){return M},Vj:function(){return c},W2:function(){return S},X$:function(){return y},cn:function(){return l},cv:function(){return w},dy:function(){return A},eG:function(){return R},eR:function(){return g},eq:function(){return P},fL:function(){return I},hX:function(){return C},iO:function(){return x},is:function(){return k},iv:function(){return T},ld:function(){return _},lp:function(){return L},mp:function(){return N},on:function(){return m},oq:function(){return V},pI:function(){return G},pJ:function(){return F},pv:function(){return h},qm:function(){return B},sE:function(){return j},uV:function(){return f},vs:function(){return d},wV:function(){return z}});var i=n(7628);class r extends Array{constructor(t){"number"==typeof t?super(t):(super(...t||[]),function(t){const e=t.__proto__;Object.defineProperty(t,"__proto__",{get(){return e},set(t){e.__proto__=t}})}(this))}}function o(t=[]){const e=[];return t.forEach((t=>{Array.isArray(t)?e.push(...o(t)):e.push(t)})),e}function a(t,e){return Array.prototype.filter.call(t,e)}function s(t,e){const n=(0,i.Jj)(),o=(0,i.Me)();let a=[];if(!e&&t instanceof r)return t;if(!t)return new r(a);if("string"==typeof t){const n=t.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let t="div";0===n.indexOf("<li")&&(t="ul"),0===n.indexOf("<tr")&&(t="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(t="tr"),0===n.indexOf("<tbody")&&(t="table"),0===n.indexOf("<option")&&(t="select");const e=o.createElement(t);e.innerHTML=n;for(let t=0;t<e.childNodes.length;t+=1)a.push(e.childNodes[t])}else a=function(t,e){if("string"!=typeof t)return[t];const n=[],i=e.querySelectorAll(t);for(let t=0;t<i.length;t+=1)n.push(i[t]);return n}(t.trim(),e||o)}else if(t.nodeType||t===n||t===o)a.push(t);else if(Array.isArray(t)){if(t instanceof r)return t;a=t}return new r(function(t){const e=[];for(let n=0;n<t.length;n+=1)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(a))}function l(...t){const e=o(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.add(...e)})),this}function u(...t){const e=o(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.remove(...e)})),this}function c(...t){const e=o(t.map((t=>t.split(" "))));this.forEach((t=>{e.forEach((e=>{t.classList.toggle(e)}))}))}function h(...t){const e=o(t.map((t=>t.split(" "))));return a(this,(t=>e.filter((e=>t.classList.contains(e))).length>0)).length>0}function p(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(t,e);else for(const e in t)this[n][e]=t[e],this[n].setAttribute(e,t[e]);return this}function f(t){for(let e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this}function d(t){for(let e=0;e<this.length;e+=1)this[e].style.transform=t;return this}function g(t){for(let e=0;e<this.length;e+=1)this[e].style.transitionDuration="string"!=typeof t?`${t}ms`:t;return this}function m(...t){let[e,n,i,r]=t;function o(t){const e=t.target;if(!e)return;const r=t.target.dom7EventData||[];if(r.indexOf(t)<0&&r.unshift(t),s(e).is(n))i.apply(e,r);else{const t=s(e).parents();for(let e=0;e<t.length;e+=1)s(t[e]).is(n)&&i.apply(t[e],r)}}function a(t){const e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),i.apply(this,e)}"function"==typeof t[1]&&([e,i,r]=t,n=void 0),r||(r=!1);const l=e.split(" ");let u;for(let t=0;t<this.length;t+=1){const e=this[t];if(n)for(u=0;
vendor: 6,981 bytes, line 1
1u<l.length;u+=1){const t=l[u];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:i,proxyListener:o}),e.addEventListener(t,o,r)}else for(u=0;u<l.length;u+=1){const t=l[u];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:i,proxyListener:a}),e.addEventListener(t,a,r)}}return this}function v(...t){let[e,n,i,r]=t;"function"==typeof t[1]&&([e,i,r]=t,n=void 0),r||(r=!1);const o=e.split(" ");for(let t=0;t<o.length;t+=1){const e=o[t];for(let t=0;t<this.length;t+=1){const o=this[t];let a;if(!n&&o.dom7Listeners?a=o.dom7Listeners[e]:n&&o.dom7LiveListeners&&(a=o.dom7LiveListeners[e]),a&&a.length)for(let t=a.length-1;t>=0;t-=1){const n=a[t];i&&n.listener===i||i&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===i?(o.removeEventListener(e,n.proxyListener,r),a.splice(t,1)):i||(o.removeEventListener(e,n.proxyListener,r),a.splice(t,1))}}}return this}function y(...t){const e=(0,i.Jj)(),n=t[0].split(" "),r=t[1];for(let i=0;i<n.length;i+=1){const o=n[i];for(let n=0;n<this.length;n+=1){const i=this[n];if(e.CustomEvent){const n=new e.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0});i.dom7EventData=t.filter(((t,e)=>e>0)),i.dispatchEvent(n),i.dom7EventData=[],delete i.dom7EventData}}}return this}function _(t){const e=this;return t&&e.on("transitionend",(function n(i){i.target===this&&(t.call(this,i),e.off("transitionend",n))})),this}function x(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function b(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function w(){if(this.length>0){const t=(0,i.Jj)(),e=(0,i.Me)(),n=this[0],r=n.getBoundingClientRect(),o=e.body,a=n.clientTop||o.clientTop||0,s=n.clientLeft||o.clientLeft||0,l=n===t?t.scrollY:n.scrollTop,u=n===t?t.scrollX:n.scrollLeft;return{top:r.top+l-a,left:r.left+u-s}}return null}function S(){const t=(0,i.Jj)();return this[0]?t.getComputedStyle(this[0],null):{}}function T(t,e){const n=(0,i.Jj)();let r;if(1===arguments.length){if("string"!=typeof t){for(r=0;r<this.length;r+=1)for(const e in t)this[r].style[e]=t[e];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(r=0;r<this.length;r+=1)this[r].style[t]=e;return this}return this}function M(t){return t?(this.forEach(((e,n)=>{t.apply(e,[e,n])})),this):this}function C(t){return s(a(this,t))}function A(t){if(void 0===t)return this[0]?this[0].innerHTML:null;for(let e=0;e<this.length;e+=1)this[e].innerHTML=t;return this}function I(t){if(void 0===t)return this[0]?this[0].textContent.trim():null;for(let e=0;e<this.length;e+=1)this[e].textContent=t;return this}function k(t){const e=(0,i.Jj)(),n=(0,i.Me)(),o=this[0];let a,l;if(!o||void 0===t)return!1;if("string"==typeof t){if(o.matches)return o.matches(t);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(t);if(o.msMatchesSelector)return o.msMatchesSelector(t);for(a=s(t),l=0;l<a.length;l+=1)if(a[l]===o)return!0;return!1}if(t===n)return o===n;if(t===e)return o===e;if(t.nodeType||t instanceof r){for(a=t.nodeType?[t]:t,l=0;l<a.length;l+=1)if(a[l]===o)return!0;return!1}return!1}function D(){let t,e=this[0];if(e){for(t=0;null!==(e=e.previousSibling);)1===e.nodeType&&(t+=1);return t}}function P(t){if(void 0===t)return this;const e=this.length;if(t>e-1)return s([]);if(t<0){const n=e+t;return s(n<0?[]:[this[n]])}return s([this[t]])}function O(...t){let e;const n=(0,i.Me)();for(let i=0;i<t.length;i+=1){e=t[i];for(let t=0;t<this.length;t+=1)if("string"==typeof e){const i=n.createElement("div");for(i.innerHTML=e;i.firstChild;)this[t].appendChild(i.firstChild)}else if(e instanceof r)for(let n=0;n<e.length;n+=1)this[t].appendChild(e[n]);else this[t].appendChild(e)}return this}function E(t){const e=(0,i.Me)();let n,o;for(n=0;n<this.length;n+=1)if("string"==typeof t){const i=e.createElement("div");for(i.innerHTML=t,o=i.childNodes.length-1;o>=0;o-=1)this[n].insertBefore(i.childNodes[o],this[n].childNodes[0])}else if(t instanceof r)for(o=0;o<t.length;o+=1)this[n].insertBefore(t[o],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this}function L(t){return this.length>0?t?this[0].nextElementSibling&&s(this[0].nextElementSibling).is(t)?s([this[0].nextElementSibling]):s([]):this[0].nextElementSibling?s([this[0].nextElementSibling]):s([]):s([])}function R(t){const e=[];let n=this[0];if(!n)return s([]);for(;n.nextElementSibling;){const i=n.nextElementSibling;t?s(i).is(t)&&e.push(i):e.push(i),n=i}return s(e)}function N(t){if(this.length>0){const e=this[0];return t?e.previousElementSibling&&s(e.previousElementSibling).is(t)?s([e.previousElementSibling]):s([]):e.previousElementSibling?s([e.previousElementSibling]):s([])}return s([])}function F(t){const e=[];let n=this[0];if(!n)return s([]);for(;n.previousElementSibling;){const i=n.previousElementSibling;t?s(i).is(t)&&e.push(i):e.push(i),n=i}return s(e)}function B(t){const e=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(t?s(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return s(e)}function z(t){const e=[];for(let n=0;n<this.length;n+=1){let i=this[n].parentNode;for(;i;)t?s(i).is(t)&&e.push(i):e.push(i),i=i.parentNode}return s(e)}function V(t){let e=this;return void 0===t?s([]):(e.is(t)||(e=e.parents(t).eq(0)),e)}function j(t){const e=[];for(let n=0;n<this.length;n+=1){const i=this[n].querySelectorAll(t);for(let t=0;t<i.length;t+=1)e.push(i[t])}return s(e)}function G(t){const e=[];for(let n=0;n<this.length;n+=1){const i=this[n].children;for(let n=0;n<i.length;n+=1)t&&!s(i[n]).is(t)||e.push(i[n])}return s(e)}function W(){for(let t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}s.fn=r.prototype;const H="resize scroll".split(" ");function Z(t){return function(...e){if(void 0===e[0]){for(let e=0;e<this.length;e+=1)H.indexOf(t)<0&&(t in this[e]?this[e][t]():s(this[e]).trigger(t));return this}return this.on(t,...e)}}Z("click"),Z("blur"),Z("focus"),Z("focusin"),Z("focusout"),Z("keyup"),Z("keydown"),Z("keypress"),Z("submit"),Z("change"),Z("mousedown"),Z("mousemove"),Z("mouseup"),Z("mouseenter"),Z("mouseleave"),Z("mouseout"),Z("mouseover"),Z("touchstart"),Z("touchend"),Z("touchmove"),Z("resize"),Z("scroll")},4389:function(t,e,n){"use strict";n.d(e,{S1:function(){return r_}});var i={};n.r(i),n.d(i,{Arc:function(){return xg},BezierCurve:function(){return vg},BoundingRect:function(){return Le},Circle:function(){return Ed},CompoundPath:function(){return wg},Ellipse:function(){return Nd},Group:function(){return $r},Image:function(){return Gs}
vendor: 4,778 bytes, line 1
1,IncrementalDisplayable:function(){return Lg},Line:function(){return pg},LinearGradient:function(){return Tg},OrientedBoundingRect:function(){return Pg},Path:function(){return Rs},Point:function(){return Te},Polygon:function(){return og},Polyline:function(){return lg},RadialGradient:function(){return Mg},Rect:function(){return Ys},Ring:function(){return eg},Sector:function(){return Jd},Text:function(){return pl},applyTransform:function(){return Jg},clipPointsByRect:function(){return nm},clipRectByRect:function(){return im},createIcon:function(){return rm},extendPath:function(){return Vg},extendShape:function(){return Bg},getShapeClass:function(){return Gg},getTransform:function(){return Kg},groupTransition:function(){return em},initProps:function(){return _u},isElementRemoved:function(){return xu},lineLineIntersect:function(){return am},linePolygonIntersect:function(){return om},makeImage:function(){return Hg},makePath:function(){return Wg},mergePath:function(){return $g},registerShape:function(){return jg},removeElement:function(){return bu},removeElementWithFadeOut:function(){return Su},resizePath:function(){return Ug},setTooltipConfig:function(){return lm},subPixelOptimize:function(){return Yg},subPixelOptimizeLine:function(){return Xg},subPixelOptimizeRect:function(){return qg},transformDirection:function(){return Qg},traverseElements:function(){return cm},updateProps:function(){return yu}});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;var a=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},s=new function(){this.browser=new a,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(s.wxa=!0,s.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?s.worker=!0:!s.hasGlobalWindow||"Deno"in window?(s.node=!0,s.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,s);var l=s,u=12,c="sans-serif",h=u+"px "+c;var p,f,d=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),g={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!p){var n=g.createCanvas();p=n&&n.getContext("2d")}if(p)return f!==e&&(f=p.font=e||h),p.measureText(t);t=t||"";var i=/((?:\d+)?\.?\d*)px/.exec(e=e||h),r=i&&+i[1]||u,o=0;if(e.indexOf("mono")>=0)o=r*t.length;else for(var a=0;a<t.length;a++){var s=d[t[a]];o+=null==s?r:s*r}return{width:o}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}};var m=V(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),v=V(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),y=Object.prototype.toString,_=Array.prototype,x=_.forEach,b=_.filter,w=_.slice,S=_.map,T=function(){}.constructor,M=T?T.prototype:null,C="__proto__",A=2311;function I(){return A++}function k(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}function D(t){if(null==t||"object"!=typeof t)return t;var e=t,n=y.call(t);
vendor: 5,177 bytes, line 1
1if("[object Array]"===n){if(!ht(t)){e=[];for(var i=0,r=t.length;i<r;i++)e[i]=D(t[i])}}else if(v[n]){if(!ht(t)){var o=t.constructor;if(o.from)e=o.from(t);else{e=new o(t.length);for(i=0,r=t.length;i<r;i++)e[i]=t[i]}}}else if(!m[n]&&!ht(t)&&!Q(t))for(var a in e={},t)t.hasOwnProperty(a)&&a!==C&&(e[a]=D(t[a]));return e}function P(t,e,n){if(!Y(e)||!Y(t))return n?D(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==C){var r=t[i],o=e[i];!Y(o)||!Y(r)||Z(o)||Z(r)||Q(o)||Q(r)||K(o)||K(r)||ht(o)||ht(r)?!n&&i in t||(t[i]=D(e[i])):P(r,o,n)}return t}function O(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=P(n,t[i],e);return n}function E(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==C&&(t[n]=e[n]);return t}function L(t,e,n){for(var i=G(e),r=0,o=i.length;r<o;r++){var a=i[r];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}g.createCanvas;function R(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function N(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else L(t,e,n)}function F(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function B(t,e,n){if(t&&e)if(t.forEach&&t.forEach===x)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function z(t,e,n){if(!t)return[];if(!e)return ot(t);if(t.map&&t.map===S)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function V(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function j(t,e,n){if(!t)return[];if(!e)return ot(t);if(t.filter&&t.filter===b)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function G(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var W=M&&$(M.bind)?M.call.bind(M.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(w.call(arguments)))}};function H(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(w.call(arguments)))}}function Z(t){return Array.isArray?Array.isArray(t):"[object Array]"===y.call(t)}function $(t){return"function"==typeof t}function U(t){return"string"==typeof t}function X(t){return"[object String]"===y.call(t)}function q(t){return"number"==typeof t}function Y(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function K(t){return!!m[y.call(t)]}function J(t){return!!v[y.call(t)]}function Q(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function tt(t){return null!=t.colorStops}function et(t){return t!=t}function nt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function it(t,e){return null!=t?t:e}function rt(t,e,n){return null!=t?t:null!=e?e:n}function ot(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return w.apply(t,e)}function at(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function st(t,e){if(!t)throw new Error(e)}function lt(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ut="__ec_primitive__";function ct(t){t[ut]=!0}function ht(t){return t[ut]}var pt=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return G(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),ft="function"==typeof Map;var dt=function(){function t(e){var n=Z(e);this.data=ft?new Map:new pt;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&B(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(n,i){t.call(e,n,i)}))},t.prototype.keys=function(){var t=this.data.keys();return ft?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function gt(t){return new dt(t)}function mt(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function vt(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&E(n,e),n}function yt(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function _t(t,e){return t.hasOwnProperty(e)}
vendor: 27,248 bytes, line 1
1function xt(){}var bt=180/Math.PI,wt=function(t,e){return wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},wt(t,e)};function St(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}wt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;function Tt(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function Mt(t,e){return t[0]=e[0],t[1]=e[1],t}function Ct(t){return[t[0],t[1]]}function At(t,e,n){return t[0]=e,t[1]=n,t}function It(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function kt(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function Dt(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function Pt(t){return Math.sqrt(Ot(t))}function Ot(t){return t[0]*t[0]+t[1]*t[1]}function Et(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Lt(t,e){var n=Pt(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Rt(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Nt=Rt;var Ft=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function Bt(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function zt(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function Vt(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function jt(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var Gt=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},Wt=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Gt(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new Gt(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new Gt(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new Gt(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new Gt(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Gt(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),Ht=Wt,Zt=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),$t=Zt,Ut=Math.log(2);function Xt(t,e,n,i,r,o){var a=i+"-"+r,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/Ut);return t[n][l]}for(var u=i|1<<n,c=n+1;i&1<<c;)c++;for(var h=0,p=0,f=0;p<s;p++){var d=1<<p;d&r||(h+=(f%2?-1:1)*t[n][p]*Xt(t,e-1,c,u,r|d,o),f++)}return o[a]=h,h}function qt(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=Xt(n,8,0,0,0,i);if(0!==r){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*Xt(n,7,0===a?1:0,1<<a,1<<s,i)/r*e[a];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}var Yt="___zrEVENTSAVED",Kt=[];function Jt(t,e,n,i,r){if(e.getBoundingClientRect&&l.domSupported&&!Qt(e)){var o=e[Yt]||(e[Yt]={}),a=function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=o%2,l=(o>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,o),s=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),h=2*u,p=c.left,f=c.top;a.push(p,f),l=l&&o&&p===o[h]&&f===o[h+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?qt(s,a):qt(a,s))}(a,o,r);if(s)return s(t,n,i),!0}return!1}function Qt(t){return"CANVAS"===t.nodeName.toUpperCase()}var te=/([&<>"'])/g,ee={"&":"&","<":"<",">":">",'"':""","'":"'"};function ne(t){return null==t?"":(t+"").replace(te,(function(t,e){return ee[e]}))}var ie=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,re=[],oe=l.browser.firefox&&+l.browser.version.split(".")[0]<39;function ae(t,e,n,i){return n=n||{},i?se(t,e,n):oe&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):se(t,e,n),n}function se(t,e,n){if(l.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(Qt(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(Jt(re,t,i,r))return n.zrX=re[0],void(n.zrY=re[1])}n.zrX=n.zrY=0}function le(t){return t||window.event}function ue(t,e,n){if(null!=(e=le(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&ae(t,r,e,n)}else{ae(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&ie.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function ce(t,e,n,i){t.addEventListener(e,n,i)}var he=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function pe(t){return 2===t.which||3===t.which}var fe=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=ae(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in ge)if(ge.hasOwnProperty(e)){var n=ge[e](this._track,t);if(n)return n}},t}();function de(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var ge={pinch:function(t,e){var n=t.length;if(n){var i,r=(t[n-1]||{}).points,o=(t[n-2]||{}).points||r;if(o&&o.length>1&&r&&r.length>1){var a=de(r)/de(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function me(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function ve(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ye(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function _e(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function xe(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(n),h=Math.cos(n);return t[0]=r*h+s*c,t[1]=-r*c+s*h,t[2]=o*h+l*c,t[3]=-o*c+h*l,t[4]=h*(a-i[0])+c*(u-i[1])+i[0],t[5]=h*(u-i[1])-c*(a-i[0])+i[1],t}function be(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function we(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}var Se=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Te=Se,Me=Math.min,Ce=Math.max,Ae=new Te,Ie=new Te,ke=new Te,De=new Te,Pe=new Te,Oe=new Te,Ee=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Me(t.x,this.x),n=Me(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Ce(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Ce(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return _e(r,r,[-e.x,-e.y]),be(r,r,[n,i]),_e(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,c=e.y,h=e.y+e.height,p=!(o<l||u<r||s<c||h<a);if(n){var f=1/0,d=0,g=Math.abs(o-l),m=Math.abs(u-r),v=Math.abs(s-c),y=Math.abs(h-a),_=Math.min(g,m),x=Math.min(v,y);o<l||u<r?_>d&&(d=_,g<m?Te.set(Oe,-g,0):Te.set(Oe,m,0)):_<f&&(f=_,g<m?Te.set(Pe,g,0):Te.set(Pe,-m,0)),s<c||h<a?x>d&&(d=x,v<y?Te.set(Oe,0,-v):Te.set(Oe,0,y)):_<f&&(f=_,v<y?Te.set(Pe,0,v):Te.set(Pe,0,-y))}return n&&Te.copy(n,p?Pe:Oe),p},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Ae.x=ke.x=n.x,Ae.y=De.y=n.y,Ie.x=De.x=n.x+n.width,Ie.y=ke.y=n.y+n.height,Ae.transform(i),De.transform(i),Ie.transform(i),ke.transform(i),e.x=Me(Ae.x,Ie.x,ke.x,De.x),e.y=Me(Ae.y,Ie.y,ke.y,De.y);var l=Ce(Ae.x,Ie.x,ke.x,De.x),u=Ce(Ae.y,Ie.y,ke.y,De.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),Le=Ee,Re="silent";function Ne(){he(this.event)}var Fe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return St(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}($t),Be=function(t,e){this.x=t,this.y=e},ze=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Ve=new Le(0,0,0,0),je=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Be(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Fe,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Ht(a),a}return St(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(B(ze,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=He(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Be(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Be(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Ne}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Be(t,e);if(We(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Le(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var c=i[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(Ve.copy(c.getBoundingRect()),c.transform&&Ve.applyTransform(c.transform),Ve.intersect(l)&&o.push(c))}if(o.length)for(var h=Math.PI/12,p=2*Math.PI,f=0;f<s;f+=4)for(var d=0;d<p;d+=h){if(We(o,r,t+f*Math.cos(d),e+f*Math.sin(d),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new fe);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new Be;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}($t);function Ge(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s||i.parent}return!r||Re}return!1}function We(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Ge(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==Re)){e.target=a;break}}}function He(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}B(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){je.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=He(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Nt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var Ze=je,$e=32,Ue=7;function Xe(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;!function(t,e,n){n--;for(;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function qe(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)r(a,t[o=s+l>>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function Ye(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&o(t,e[n+r-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function Ke(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;l<s&&o(t,e[n+r-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])<0?l=c:a=c+1}return l}function Je(t,e){var n,i,r=Ue,o=0,a=[];function s(s){var l=n[s],u=i[s],c=n[s+1],h=i[s+1];i[s]=u+h,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=Ke(t[c],t,l,u,0,e);l+=p,0!==(u-=p)&&0!==(h=Ye(t[l+u-1],t,c,h,h-1,e))&&(u<=h?function(n,i,o,s){var l=0;for(l=0;l<i;l++)a[l]=t[n+l];var u=0,c=o,h=n;if(t[h++]=t[c++],0==--s){for(l=0;l<i;l++)t[h+l]=a[u+l];return}if(1===i){for(l=0;l<s;l++)t[h+l]=t[c+l];return void(t[h+s]=a[u])}var p,f,d,g=r;for(;;){p=0,f=0,d=!1;do{if(e(t[c],a[u])<0){if(t[h++]=t[c++],f++,p=0,0==--s){d=!0;break}}else if(t[h++]=a[u++],p++,f=0,1==--i){d=!0;break}}while((p|f)<g);if(d)break;do{if(0!==(p=Ke(t[c],a,u,i,0,e))){for(l=0;l<p;l++)t[h+l]=a[u+l];if(h+=p,u+=p,(i-=p)<=1){d=!0;break}}if(t[h++]=t[c++],0==--s){d=!0;break}if(0!==(f=Ye(a[u],t,c,s,0,e))){for(l=0;l<f;l++)t[h+l]=t[c+l];if(h+=f,c+=f,0===(s-=f)){d=!0;break}}if(t[h++]=a[u++],1==--i){d=!0;break}g--}while(p>=Ue||f>=Ue);if(d)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l<s;l++)t[h+l]=t[c+l];t[h+s]=a[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[h+l]=a[u+l]}}(l,u,c,h):function(n,i,o,s){var l=0;for(l=0;l<s;l++)a[l]=t[o+l];var u=n+i-1,c=s-1,h=o+s-1,p=0,f=0;if(t[h--]=t[u--],0==--i){for(p=h-(s-1),l=0;l<s;l++)t[p+l]=a[l];return}if(1===s){for(f=(h-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[f+l]=t[p+l];return void(t[h]=a[c])}var d=r;for(;;){var g=0,m=0,v=!1;do{if(e(a[c],t[u])<0){if(t[h--]=t[u--],g++,m=0,0==--i){v=!0;break}}else if(t[h--]=a[c--],m++,g=0,1==--s){v=!0;break}}while((g|m)<d);if(v)break;do{if(0!==(g=i-Ke(a[c],t,n,i,i-1,e))){for(i-=g,f=(h-=g)+1,p=(u-=g)+1,l=g-1;l>=0;l--)t[f+l]=t[p+l];if(0===i){v=!0;break}}if(t[h--]=a[c--],1==--s){v=!0;break}if(0!==(m=s-Ye(t[u],a,0,s,s-1,e))){for(s-=m,f=(h-=m)+1,p=(c-=m)+1,l=0;l<m;l++)t[f+l]=a[p+l];if(s<=1){v=!0;break}}if(t[h--]=t[u--],0==--i){v=!0;break}d--}while(g>=Ue||m>=Ue);if(v)break;d<0&&(d=0),d+=2}(r=d)<1&&(r=1);if(1===s){for(f=(h-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[f+l]=t[p+l];t[h]=a[c]}else{if(0===s)throw new Error;for(p=h-(s-1),l=0;l<s;l++)t[p+l]=a[l]}}(l,u,c,h))}return n=[],i=[],{mergeRuns:function(){for(;o>1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]<i[t+1]&&t--,s(t)}},pushRun:function(t,e){n[o]=t,i[o]=e,o+=1}}}function Qe(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var o=0;if(r<$e)qe(t,n,i,n+(o=Xe(t,n,i,e)),e);else{var a=Je(t,e),s=function(t){for(var e=0;t>=$e;)e|=1&t,t>>=1;return t+e}(r);do{if((o=Xe(t,n,i,e))<s){var l=r;l>s&&(l=s),qe(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var tn=1,en=4,nn=!1;function rn(){nn||(nn=!0)}function on(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var an=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=on}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,Qe(n,on)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=tn),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(rn(),u.z=0),isNaN(u.z2)&&(rn(),u.z2=0),isNaN(u.zlevel)&&(rn(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=R(this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),sn=an,ln=l.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},un={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-un.bounceOut(1-t)},bounceOut: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},bounceInOut:function(t){return t<.5?.5*un.bounceIn(2*t):.5*un.bounceOut(2*t-1)+.5}},cn=un,hn=Math.pow,pn=Math.sqrt,fn=1e-8,dn=1e-4,gn=pn(3),mn=1/3,vn=Tt(),yn=Tt(),_n=Tt();function xn(t){return t>-fn&&t<fn}function bn(t){return t>fn||t<-fn}function wn(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function Sn(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}
vendor: 10,731 bytes, line 1
1function Tn(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,c=s*s-3*a*l,h=s*l-9*a*u,p=l*l-3*s*u,f=0;if(xn(c)&&xn(h)){if(xn(s))o[0]=0;else(T=-l/s)>=0&&T<=1&&(o[f++]=T)}else{var d=h*h-4*c*p;if(xn(d)){var g=h/c,m=-g/2;(T=-s/a+g)>=0&&T<=1&&(o[f++]=T),m>=0&&m<=1&&(o[f++]=m)}else if(d>0){var v=pn(d),y=c*s+1.5*a*(-h+v),_=c*s+1.5*a*(-h-v);(T=(-s-((y=y<0?-hn(-y,mn):hn(y,mn))+(_=_<0?-hn(-_,mn):hn(_,mn))))/(3*a))>=0&&T<=1&&(o[f++]=T)}else{var x=(2*c*s-3*a*h)/(2*pn(c*c*c)),b=Math.acos(x)/3,w=pn(c),S=Math.cos(b),T=(-s-2*w*S)/(3*a),M=(m=(-s+w*(S+gn*Math.sin(b)))/(3*a),(-s+w*(S-gn*Math.sin(b)))/(3*a));T>=0&&T<=1&&(o[f++]=T),m>=0&&m<=1&&(o[f++]=m),M>=0&&M<=1&&(o[f++]=M)}}return f}function Mn(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(xn(a)){if(bn(o))(c=-s/o)>=0&&c<=1&&(r[l++]=c)}else{var u=o*o-4*a*s;if(xn(u))r[0]=-o/(2*a);else if(u>0){var c,h=pn(u),p=(-o-h)/(2*a);(c=(-o+h)/(2*a))>=0&&c<=1&&(r[l++]=c),p>=0&&p<=1&&(r[l++]=p)}}return l}function Cn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i}function An(t,e,n,i,r,o,a,s,l,u,c){var h,p,f,d,g,m=.005,v=1/0;vn[0]=l,vn[1]=u;for(var y=0;y<1;y+=.05)yn[0]=wn(t,n,r,a,y),yn[1]=wn(e,i,o,s,y),(d=Ft(vn,yn))<v&&(h=y,v=d);v=1/0;for(var _=0;_<32&&!(m<dn);_++)p=h-m,f=h+m,yn[0]=wn(t,n,r,a,p),yn[1]=wn(e,i,o,s,p),d=Ft(yn,vn),p>=0&&d<v?(h=p,v=d):(_n[0]=wn(t,n,r,a,f),_n[1]=wn(e,i,o,s,f),g=Ft(_n,vn),f<=1&&g<v?(h=f,v=g):m*=.5);return c&&(c[0]=wn(t,n,r,a,h),c[1]=wn(e,i,o,s,h)),pn(v)}function In(t,e,n,i,r,o,a,s,l){for(var u=t,c=e,h=0,p=1/l,f=1;f<=l;f++){var d=f*p,g=wn(t,n,r,a,d),m=wn(e,i,o,s,d),v=g-u,y=m-c;h+=Math.sqrt(v*v+y*y),u=g,c=m}return h}function kn(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function Dn(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function Pn(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function On(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function En(t,e,n,i,r,o,a,s,l){var u,c=.005,h=1/0;vn[0]=a,vn[1]=s;for(var p=0;p<1;p+=.05){yn[0]=kn(t,n,r,p),yn[1]=kn(e,i,o,p),(m=Ft(vn,yn))<h&&(u=p,h=m)}h=1/0;for(var f=0;f<32&&!(c<dn);f++){var d=u-c,g=u+c;yn[0]=kn(t,n,r,d),yn[1]=kn(e,i,o,d);var m=Ft(yn,vn);if(d>=0&&m<h)u=d,h=m;else{_n[0]=kn(t,n,r,g),_n[1]=kn(e,i,o,g);var v=Ft(_n,vn);g<=1&&v<h?(u=g,h=v):c*=.5}}return l&&(l[0]=kn(t,n,r,u),l[1]=kn(e,i,o,u)),pn(h)}function Ln(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,c=1/a,h=1;h<=a;h++){var p=h*c,f=kn(t,n,r,p),d=kn(e,i,o,p),g=f-s,m=d-l;u+=Math.sqrt(g*g+m*m),s=f,l=d}return u}var Rn=/cubic-bezier\(([0-9,\.e ]+)\)/;function Nn(t){var e=t&&Rn.exec(t);if(e){var n=e[1].split(","),i=+lt(n[0]),r=+lt(n[1]),o=+lt(n[2]),a=+lt(n[3]);if(isNaN(i+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:Tn(0,i,o,1,t,s)&&wn(0,r,a,1,s[0])}}}var Fn=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||xt,this.ondestroy=t.ondestroy||xt,this.onrestart=t.onrestart||xt,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=$(t)?t:cn[t]||Nn(t)},t}(),Bn=function(t){this.value=t},zn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Bn(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),Vn=function(){function t(t){this._list=new zn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Bn(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),jn=Vn,Gn={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Wn(t){return(t=Math.round(t))<0?0:t>255?255:t}function Hn(t){return t<0?0:t>1?1:t}function Zn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Wn(parseFloat(e)/100*255):Wn(parseInt(e,10))}function $n(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Hn(parseFloat(e)/100):Hn(parseFloat(e))}function Un(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function Xn(t,e,n){return t+(e-t)*n}function qn(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function Yn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Kn=new jn(20),Jn=null;function Qn(t,e){Jn&&Yn(Jn,e),Jn=Kn.put(t,Jn||e.slice())}function ti(t,e){if(t){e=e||[];var n=Kn.get(t);if(n)return Yn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in Gn)return Yn(e,Gn[i]),Qn(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(qn(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),Qn(t,e),e):void qn(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(qn(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),Qn(t,e),e):void qn(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),c=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?qn(e,+u[0],+u[1],+u[2],1):qn(e,0,0,0,1);c=$n(u.pop());case"rgb":return u.length>=3?(qn(e,Zn(u[0]),Zn(u[1]),Zn(u[2]),3===u.length?c:$n(u[3])),Qn(t,e),e):void qn(e,0,0,0,1);case"hsla":return 4!==u.length?void qn(e,0,0,0,1):(u[3]=$n(u[3]),ei(u,e),Qn(t,e),e);case"hsl":return 3!==u.length?void qn(e,0,0,0,1):(ei(u,e),Qn(t,e),e);default:return}}qn(e,0,0,0,1)}}function ei(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=$n(t[1]),r=$n(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return qn(e=e||[],Wn(255*Un(a,o,n+1/3)),Wn(255*Un(a,o,n)),Wn(255*Un(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function ni(t,e){var n=ti(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return si(n,4===n.length?"rgba":"rgb")}}function ii(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];
vendor: 53,207 bytes, line 1
1var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=Wn(Xn(a[0],s[0],l)),n[1]=Wn(Xn(a[1],s[1],l)),n[2]=Wn(Xn(a[2],s[2],l)),n[3]=Hn(Xn(a[3],s[3],l)),n}}function ri(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=ti(e[r]),s=ti(e[o]),l=i-r,u=si([Wn(Xn(a[0],s[0],l)),Wn(Xn(a[1],s[1],l)),Wn(Xn(a[2],s[2],l)),Hn(Xn(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}function oi(t,e,n,i){var r=ti(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-h:r===s?e=1/3+c-p:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,u];return null!=t[3]&&f.push(t[3]),f}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=$n(n)),null!=i&&(r[2]=$n(i)),si(ei(r),"rgba")}function ai(t,e){var n=ti(t);if(n&&null!=e)return n[3]=Hn(e),si(n,"rgba")}function si(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function li(t,e){var n=ti(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var ui=new jn(100);function ci(t){if(U(t)){var e=ui.get(t);return e||(e=ni(t,-.1),ui.put(t,e)),e}if(tt(t)){var n=E({},t);return n.colorStops=z(t.colorStops,(function(t){return{offset:t.offset,color:ni(t.color,-.1)}})),n}return t}var hi=Math.round;function pi(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=ti(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var fi=1e-4;function di(t){return t<fi&&t>-fi}function gi(t){return hi(1e3*t)/1e3}function mi(t){return hi(1e4*t)/1e4}var vi={left:"start",right:"end",center:"middle",middle:"middle"};function yi(t){return t&&!!t.image}function _i(t){return yi(t)||function(t){return t&&!!t.svgElement}(t)}function xi(t){return"linear"===t.type}function bi(t){return"radial"===t.type}function wi(t){return t&&("linear"===t.type||"radial"===t.type)}function Si(t){return"url(#"+t+")"}function Ti(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Mi(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*bt,r=it(t.scaleX,1),o=it(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+hi(a*bt)+"deg, "+hi(s*bt)+"deg)"),l.join(" ")}var Ci=l.hasGlobalWindow&&$(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},Ai=Array.prototype.slice;function Ii(t,e,n){return(e-t)*n+t}function ki(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=Ii(e[o],n[o],i);return t}function Di(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function Pi(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function Oi(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}function Ei(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.length;if(o!==a)if(o>a)i.length=a;else for(var s=o;s<a;s++)i.push(1===n?r[s]:Ai.call(r[s]));var l=i[0]&&i[0].length;for(s=0;s<i.length;s++)if(1===n)isNaN(i[s])&&(i[s]=r[s]);else for(var u=0;u<l;u++)isNaN(i[s][u])&&(i[s][u]=r[s][u])}}function Li(t){if(F(t)){var e=t.length;if(F(t[0])){for(var n=[],i=0;i<e;i++)n.push(Ai.call(t[i]));return n}return Ai.call(t)}return t}function Ri(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function Ni(t){return 4===t||5===t}function Fi(t){return 1===t||2===t}var Bi=[0,0,0,0],zi=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(F(e)){var l=function(t){return F(t&&t[0])?2:1}(e);a=l,(1===l&&!q(e[0])||2===l&&!q(e[0][0]))&&(o=!0)}else if(q(e)&&!et(e))a=0;else if(U(e))if(isNaN(+e)){var u=ti(e);u&&(s=u,a=3)}else a=0;else if(tt(e)){var c=E({},s);c.colorStops=z(e.colorStops,(function(t){return{offset:t.offset,color:ti(t.color)}})),xi(e)?a=4:bi(e)&&(a=5),s=c}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var h={time:t,value:s,rawValue:e,percent:0};return n&&(h.easing=n,h.easingFunc=$(n)?n:cn[n]||Nn(n)),i.push(h),h},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Fi(i),l=Ni(i),u=0;u<r;u++){var c=n[u],h=c.value,p=o.value;c.percent=c.time/t,a||(s&&u!==r-1?Ei(h,p,i):l&&Oi(h.colorStops,p.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var f=n[0].value;for(u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-f:3===i?n[u].additiveValue=Di([],n[u].value,f,-1):Fi(i)&&(n[u].additiveValue=1===i?Di([],n[u].value,f,-1):Pi([],n[u].value,f,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,c=this.propName,h=3===s,p=this._lastFr,f=Math.min;if(1===u)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=f(p+1,u-1);n>=0&&!(l[n].percent<=e);n--);n=f(n,u-2)}else{for(n=p;n<u&&!(l[n].percent>e);n++);n=f(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var d=r.percent-i.percent,g=0===d?1:f((e-i.percent)/d,1);r.easingFunc&&(g=r.easingFunc(g));var m=o?this._additiveValue:h?Bi:t[c];if(!Fi(s)&&!h||m||(m=this._additiveValue=[]),this.discrete)t[c]=g<1?i.rawValue:r.rawValue;else if(Fi(s))1===s?ki(m,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=Ii(e[a][s],n[a][s],i)}}(m,i[a],r[a],g);else if(Ni(s)){var v=i[a],y=r[a],_=4===s;t[c]={type:_?"linear":"radial",x:Ii(v.x,y.x,g),y:Ii(v.y,y.y,g),colorStops:z(v.colorStops,(function(t,e){var n=y.colorStops[e];return{offset:Ii(t.offset,n.offset,g),color:Ri(ki([],t.color,n.color,g))}})),global:y.global},_?(t[c].x2=Ii(v.x2,y.x2,g),t[c].y2=Ii(v.y2,y.y2,g)):t[c].r=Ii(v.r,y.r,g)}else if(h)ki(m,i[a],r[a],g),o||(t[c]=Ri(m));else{var x=Ii(i[a],r[a],g);o?this._additiveValue=x:t[c]=x}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(ti(t[n],Bi),Di(Bi,Bi,i,1),t[n]=Ri(Bi)):1===e?Di(t[n],t[n],i,1):2===e&&Pi(t[n],t[n],i,1)},t}(),Vi=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?k("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,G(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new zi(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,3===u.valType&&l&&(l=Ri(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,Li(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Li(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var h=new Fn({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return z(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=Li(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||G(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var o=r.keyframes;if(o.length>1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}(),ji=Vi;function Gi(){return(new Date).getTime()}var Wi,Hi,Zi=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return St(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=Gi()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,ln((function e(){t._running&&(ln(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=Gi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Gi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Gi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new ji(t,e.loop);return this.addAnimator(n),n},e}($t),$i=Zi,Ui=l.domSupported,Xi=(Hi={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Wi=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:z(Wi,(function(t){var e=t.replace("mouse","pointer");return Hi.hasOwnProperty(e)?e:t}))}),qi=["mousemove","mouseup"],Yi=["pointermove","pointerup"],Ki=!1;function Ji(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Qi(t){t&&(t.zrByTouch=!0)}function tr(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var er=function(t,e){this.stopPropagation=xt,this.stopImmediatePropagation=xt,this.preventDefault=xt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},nr={mousedown:function(t){t=ue(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=ue(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=ue(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){tr(this,(t=ue(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Ki=!0,t=ue(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Ki||(t=ue(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Qi(t=ue(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),nr.mousemove.call(this,t),nr.mousedown.call(this,t)},touchmove:function(t){Qi(t=ue(this.dom,t)),this.handler.processGesture(t,"change"),nr.mousemove.call(this,t)},touchend:function(t){Qi(t=ue(this.dom,t)),this.handler.processGesture(t,"end"),nr.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&nr.click.call(this,t)},pointerdown:function(t){nr.mousedown.call(this,t)},pointermove:function(t){Ji(t)||nr.mousemove.call(this,t)},pointerup:function(t){nr.mouseup.call(this,t)},pointerout:function(t){Ji(t)||nr.mouseout.call(this,t)}};B(["click","dblclick","contextmenu"],(function(t){nr[t]=function(e){e=ue(this.dom,e),this.trigger(t,e)}}));var ir={pointermove:function(t){Ji(t)||ir.mousemove.call(this,t)},pointerup:function(t){ir.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function rr(t,e){var n=e.domHandlers;l.pointerEventsSupported?B(Xi.pointer,(function(i){ar(e,i,(function(e){n[i].call(t,e)}))})):(l.touchEventsSupported&&B(Xi.touch,(function(i){ar(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),B(Xi.mouse,(function(i){ar(e,i,(function(r){r=le(r),e.touching||n[i].call(t,r)}))})))}function or(t,e){function n(n){ar(e,n,(function(i){i=le(i),tr(t,i.target)||(i=function(t,e){return ue(t.dom,new er(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}l.pointerEventsSupported?B(Yi,n):l.touchEventsSupported||B(qi,n)}function ar(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,ce(t.domTarget,e,n,i)}function sr(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var lr=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},ur=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new lr(e,nr),Ui&&(i._globalHandlerScope=new lr(document,ir)),rr(i,i._localHandlerScope),i}return St(e,t),e.prototype.dispose=function(){sr(this._localHandlerScope),Ui&&sr(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Ui&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?or(this,e):sr(e)}},e}($t),cr=1;l.hasGlobalWindow&&(cr=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var hr=cr,pr="#333",fr="#ccc",dr=me,gr=5e-5;function mr(t){return t>gr||t<-5e-5}var vr=[],yr=[],_r=[1,0,0,1,0,0],xr=Math.abs,br=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return mr(this.rotation)||mr(this.x)||mr(this.y)||mr(this.scaleX-1)||mr(this.scaleY-1)||mr(this.skewX)||mr(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):dr(n),t&&(e?ye(n,t,n):ve(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(dr(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(vr);var n=vr[0]<0?-1:1,i=vr[1]<0?-1:1,r=((vr[0]-n)*e+n)/vr[0]||0,o=((vr[1]-i)*e+i)/vr[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],we(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],ye(yr,t.invTransform,e),e=yr);var n=this.originX,i=this.originY;(n||i)&&(_r[4]=n,_r[5]=i,ye(yr,e,_r),yr[4]-=n,yr[5]-=i,e=yr),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&zt(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&zt(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&xr(t[0]-1)>1e-10&&xr(t[3]-1)>1e-10?Math.sqrt(xr(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Sr(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,h=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var f=n+a,d=i+s;e[4]=-f*r-h*d*o,e[5]=-d*o-p*f*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=h*o,l&&xe(e,e,l),e[4]+=n+u,e[5]+=i+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),wr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Sr(t,e){for(var n=0;n<wr.length;n++){var i=wr[n];t[i]=e[i]}}var Tr=br,Mr={};function Cr(t,e){var n=Mr[e=e||h];n||(n=Mr[e]=new jn(500));var i=n.get(t);return null==i&&(i=g.measureText(t,e).width,n.put(t,i)),i}function Ar(t,e,n,i){var r=Cr(t,e),o=Pr(e),a=kr(0,r,n),s=Dr(0,o,i);return new Le(a,s,r,o)}function Ir(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)return Ar(r[0],e,n,i);for(var o=new Le(0,0,0,0),a=0;a<r.length;a++){var s=Ar(r[a],e,n,i);0===a?o.copy(s):o.union(s)}return o}function kr(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function Dr(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function Pr(t){return Cr("å½",t)}function Or(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function Er(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",h="top";if(i instanceof Array)l+=Or(i[0],n.width),u+=Or(i[1],n.height),c=null,h=null;else switch(i){case"left":l-=r,u+=s,c="right",h="middle";break;case"right":l+=r+a,u+=s,h="middle";break;case"top":l+=a/2,u-=r,c="center",h="bottom";break;case"bottom":l+=a/2,u+=o+r,c="center";break;case"inside":l+=a/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=r,u+=s,h="middle";break;case"insideRight":l+=a-r,u+=s,c="right",h="middle";break;case"insideTop":l+=a/2,u+=r,c="center";break;case"insideBottom":l+=a/2,u+=o-r,c="center",h="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=o-r,h="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,c="right",h="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=h,t}var Lr="__zr_normal__",Rr=wr.concat(["ignore"]),Nr=V(wr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Fr={},Br=new Le(0,0,0,0),zr=function(){function t(t){this.id=I(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Br;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Fr,n,u):Er(Fr,n,u),r.x=Fr.x,r.y=Fr.y,o=Fr.align,a=Fr.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var h=void 0,p=void 0;"center"===c?(h=.5*u.width,p=.5*u.height):(h=Or(c[0],u.width),p=Or(c[1],u.height)),l=!0,r.originX=-r.x+h+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],l||(r.originX=-f[0],r.originY=-f[1]));var d=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,v=void 0,y=void 0;d&&this.canBeInsideText()?(m=n.insideFill,v=n.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(m),y=!0)):(m=n.outsideFill,v=n.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(m),y=!0)),(m=m||"#000")===g.fill&&v===g.stroke&&y===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=m,g.stroke=v,g.autoStroke=y,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=tn,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?fr:pr},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&ti(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,si(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},E(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(Y(t))for(var n=G(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==Lr)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,Rr)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Lr,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Lr;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(R(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,c=this._textGuide;return u&&u.useState(t,e,n,l),c&&c.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~tn),s}k("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var c=i[o-1],h=!!(c&&c.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(i),f=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var d=this._textContent,g=this._textGuide;d&&d.useStates(t,e,h),g&&g.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~tn)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=R(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=R(i,t),o=R(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];E(n,r),r.textConfig&&E(e=e||{},r.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=E({},i?this.textConfig:n.textConfig),E(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<Rr.length;u++){var c=Rr[u],h=r&&Nr[c];e&&null!=e[c]?h?(l=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(h?(l=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(u=0;u<this.animators.length;u++){var p=this.animators[u],f=p.targetName;p.getLoop()||p.__changeFinalValue(f?(e||n)[f]:e||n)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new Tr,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),E(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=tn;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this;var r=new ji(i,e,n);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=R(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){Vr(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){Vr(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=Vr(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=tn;function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){this[n]||o(this,this[n]=[]);return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function Vr(t,e,n,i,r){var o=[];Wr(t,"",t,e,n=n||{},i,o,r);var a=o.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,--a<=0&&(s?l&&l():u&&u())},h=function(){--a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p<o.length;p++){var f=o[p];c&&f.done(c),h&&f.aborted(h),n.force&&f.duration(n.duration),f.start(n.easing)}return o}function jr(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function Gr(t,e,n){if(F(e[n]))if(F(t[n])||(t[n]=[]),J(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),jr(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(F(r[0]))for(var s=r[0].length,l=0;l<a;l++)o[l]?jr(o[l],r[l],s):o[l]=Array.prototype.slice.call(r[l]);else jr(o,r,a);o.length=r.length}else t[n]=e[n]}function Wr(t,e,n,i,r,o,a,s){for(var l=G(i),u=r.duration,c=r.delay,h=r.additive,p=r.setToFinal,f=!Y(o),d=t.animators,g=[],m=0;m<l.length;m++){var v=l[m],y=i[v];if(null!=y&&null!=n[v]&&(f||o[v]))if(!Y(y)||F(y)||tt(y))g.push(v);else{if(e){s||(n[v]=y,t.updateDuringAnimation(e));continue}Wr(t,v,n[v],y,r,o&&o[v],a,s)}else s||(n[v]=y,t.updateDuringAnimation(e),g.push(v))}var _=g.length;if(!h&&_)for(var x=0;x<d.length;x++){if((w=d[x]).targetName===e)if(w.stopTracks(g)){var b=R(d,w);d.splice(b,1)}}if(r.force||(g=j(g,(function(t){return e=i[t],r=n[t],!(e===r||F(e)&&F(r)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,r));var e,r})),_=g.length),_>0||r.force&&!a.length){var w,S=void 0,T=void 0,M=void 0;if(s){T={},p&&(S={});for(x=0;x<_;x++){T[v=g[x]]=n[v],p?S[v]=i[v]:n[v]=i[v]}}else if(p){M={};for(x=0;x<_;x++){M[v=g[x]]=Li(n[v]),Gr(n,i,v)}}(w=new ji(n,!1,!1,h?j(d,(function(t){return t.targetName===e})):null)).targetName=e,r.scope&&(w.scope=r.scope),p&&S&&w.whenWithKeys(0,S,g),M&&w.whenWithKeys(0,M,g),w.whenWithKeys(null==u?500:u,s?T:i,g).delay(c||0),t.addAnimator(w,e),a.push(w)}}N(zr,$t),N(zr,Tr);var Hr=zr,Zr=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return St(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=R(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=R(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new Le(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(i);l?(Le.applyTransform(e,s,l),(r=r||e.clone()).union(e)):(r=r||s.clone()).union(s)}}return r||e},e}(Hr);Zr.prototype.type="group";var $r=Zr,Ur={},Xr={};var qr,Yr=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new sn,o=n.renderer||"canvas";Ur[o]||(o=G(Ur)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var a=new Ur[o](e,r,n,t),s=n.ssr||a.ssrOnly;this.storage=r,this.painter=a;var u,c=l.node||l.worker||s?null:new ur(a.getViewportRoot(),a.root),h=n.useCoarsePointer;(null==h||"auto"===h?l.touchEventsSupported:!!h)&&(u=it(n.pointerSize,44)),this.handler=new Ze(r,a,c,a.root,u),this.animation=new $i({stage:{update:s?null:function(){return i._flush(!0)}}}),s||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return li(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=li(e[r].color,1);return(n/=i)<.4}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=Gi();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=Gi();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof $r&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){var t;this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete Xr[t])},t}();function Kr(t,e){var n=new Yr(I(),t,e);return Xr[n.id]=n,n}var Jr=1e-4,Qr=20;function to(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i)if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function eo(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return U(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function no(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),Qr),t=(+t).toFixed(e),n?t:+t}function io(t){return t.sort((function(t,e){return t-e})),t}function ro(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}(t)}function oo(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function ao(t,e){var n=V(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=z(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=z(r,(function(t){return Math.floor(t)})),s=V(a,(function(t,e){return t+e}),0),l=z(r,(function(t,e){return t-a[e]}));s<o;){for(var u=Number.NEGATIVE_INFINITY,c=null,h=0,p=l.length;h<p;++h)l[h]>u&&(u=l[h],c=h);++a[c],l[c]=0,++s}return z(a,(function(t){return t/i}))}function so(t,e){var n=Math.max(ro(t),ro(e)),i=t+e;return n>Qr?i:no(i,n)}var lo=9007199254740991;function uo(t){var e=2*Math.PI;return(t%e+e)%e}function co(t){return t>-Jr&&t<Jr}var ho=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function po(t){if(t instanceof Date)return t;if(U(t)){var e=ho.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function fo(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function go(t,e){var n=fo(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function mo(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function vo(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]==(n?-1:1)||!n&&s(t,e,1))}}function yo(t){var e=parseFloat(t);return e==t&&(0!==e||!U(t)||t.indexOf("x")<=0)?e:NaN}function _o(t){return!isNaN(yo(t))}function xo(){return Math.round(9*Math.random())}function bo(t,e){return 0===e?t:bo(e,t%e)}function wo(t,e){return null==t?e:null==e?t:t*e/bo(t,e)}function So(t,e,n){return(e-t)*n+t}var To="series\0",Mo="\0_ec_\0";function Co(t){return t instanceof Array?t:null==t?[]:[t]}function Ao(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var Io=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function ko(t){return!Y(t)||Z(t)||t instanceof Date?t:t.value}function Do(t){return Y(t)&&!(t instanceof Array)}function Po(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,o="replaceAll"===n;t=t||[],e=(e||[]).slice();var a=gt();B(e,(function(t,n){Y(t)||(e[n]=null)}));var s,l,u=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||No(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,a,n);return(i||r)&&function(t,e,n,i){B(i,(function(r,o){if(r&&null!=r.id){var a=Eo(r.id),s=n.get(a);if(null!=s){var l=t[s];st(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=r,l.existing=e[s],i[o]=null}}}))}(u,t,a,e),i&&function(t,e){B(e,(function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!No(n)&&!No(o)&&Oo("name",o,n))return t[r].newOption=n,void(e[i]=null)}}))}(u,e),i||r?function(t,e,n){B(e,(function(e){if(e){for(var i,r=0;(i=t[r])&&(i.newOption||No(i.existing)||i.existing&&null!=e.id&&!Oo("id",e,i.existing));)r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}(u,e,r):o&&function(t,e){B(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(u,e),s=u,l=gt(),B(s,(function(t){var e=t.existing;e&&l.set(e.id,t)})),B(s,(function(t){var e=t.newOption;st(!e||null==e.id||!l.get(e.id)||l.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&l.set(e.id,t),!t.keyInfo&&(t.keyInfo={})})),B(s,(function(t,e){var n=t.existing,i=t.newOption,r=t.keyInfo;if(Y(i)){if(r.name=null!=i.name?Eo(i.name):n?n.name:To+e,n)r.id=Eo(n.id);else if(null!=i.id)r.id=Eo(i.id);else{var o=0;do{r.id="\0"+r.name+"\0"+o++}while(l.get(r.id))}l.set(r.id,t)}})),u}function Oo(t,e,n){var i=Lo(e[t],null),r=Lo(n[t],null);return null!=i&&null!=r&&i===r}function Eo(t){return Lo(t,"")}function Lo(t,e){return null==t?e:U(t)?t:q(t)||X(t)?t+"":e}function Ro(t){var e=t.name;return!(!e||!e.indexOf(To))}function No(t){return t&&null!=t.id&&0===Eo(t.id).indexOf(Mo)}function Fo(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?Z(e.dataIndex)?z(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?Z(e.name)?z(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function Bo(){var t="__ec_inner_"+zo++;return function(e){return e[t]||(e[t]={})}}var zo=xo();function Vo(t,e,n){var i=jo(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each((function(e,i){var r=Ho(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]})),a}function jo(t,e){var n;if(U(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var r=gt(),o={},a=!1;return B(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();if(s&&l&&!(e&&e.includeMainTypes&&R(e.includeMainTypes,s)<0))a=a||!!s,(r.get(s)||r.set(s,{}))[l]=t}else o[n]=t})),{mainTypeSpecified:a,queryOptionMap:r,others:o}}var Go={useDefault:!0,enableAll:!1,enableNone:!1},Wo={useDefault:!1,enableAll:!0,enableNone:!0};function Ho(t,e,n,i){i=i||Go;var r=n.index,o=n.id,a=n.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===r||!1===r?(st(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(st(i.enableAll,'`"all"` is not a valid value on index option.'),r=o=a=null),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s)}function Zo(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function $o(t,e){var n=gt(),i=[];return B(t,(function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)})),{keys:i,buckets:n}}function Uo(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if(q(i))return no(d=So(n||0,i,r),o?Math.max(ro(n||0),ro(i)):e);if(U(i))return r<1?n:i;for(var a=[],s=n,l=i,u=Math.max(s?s.length:0,l.length),c=0;c<u;++c){var h=t.getDimensionInfo(c);if(h&&"ordinal"===h.type)a[c]=(r<1&&s?s:l)[c];else{var p=s&&s[c]?s[c]:0,f=l[c],d=So(p,f,r);a[c]=no(d,o?Math.max(ro(p),ro(f)):e)}}return a}var Xo=".",qo="___EC__COMPONENT__CONTAINER___",Yo="___EC__EXTENDED_CLASS___";function Ko(t){var e={main:"",sub:""};if(t){var n=t.split(Xo);e.main=n[0]||"",e.sub=n[1]||""}return e}function Jo(t,e){t.$constructor=t,t.extend=function(t){var e,n,i=this;return $(n=i)&&/^class\s/.test(Function.prototype.toString.call(n))?e=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(i):(e=function(){(t.$constructor||i).apply(this,arguments)},function(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}(e,this)),E(e.prototype,t),e[Yo]=!0,e.extend=this.extend,e.superCall=ea,e.superApply=na,e.superClass=i,e}}function Qo(t,e){t.extend=e.extend}var ta=Math.round(10*Math.random());function ea(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function na(t,e,n){return this.superClass.prototype[e].apply(t,n)}function ia(t){var e={};t.registerClass=function(t){var n,i=t.type||t.prototype.type;if(i){st(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=i),'componentType "'+n+'" illegal'),t.prototype.type=i;var r=Ko(i);if(r.sub){if(r.sub!==qo){var o=function(t){var n=e[t.main];n&&n[qo]||((n=e[t.main]={})[qo]=!0);return n}(r);o[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[qo]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=Ko(t),i=[],r=e[n.main];return r&&r[qo]?B(r,(function(t,e){e!==qo&&i.push(t)})):i.push(r),i},t.hasClass=function(t){var n=Ko(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return B(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=Ko(t),i=e[n.main];return i&&i[qo]}}function ra(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,r){for(var o={},a=0;a<t.length;a++){var s=t[a][1];if(!(i&&R(i,s)>=0||r&&R(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var oa=ra([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["o
1pacity"],["shadowColor"]]),aa=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return oa(this,t,e)},t}(),sa=new jn(50);function la(t){if("string"==typeof t){var e=sa.get(t);return e&&e.image}return t}function ua(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=sa.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!ha(e=o.image)&&o.pending.push(a):((e=g.loadImage(t,ca,ca)).__zrImageSrc=t,sa.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function ca(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function ha(t){return t&&t.width&&t.height}var pa=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function fa(t,e,n,i,r,o){if(!n)return t.text="",void(t.isTruncated=!1);var a=(e+"").split("\n");o=da(n,i,r,o);for(var s=!1,l={},u=0,c=a.length;u<c;u++)ga(l,a[u],o),a[u]=l.textLine,s=s||l.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function da(t,e,n,i){var r=E({},i=i||{});r.font=e,n=it(n,"..."),r.maxIterations=it(i.maxIterations,2);var o=r.minChar=it(i.minChar,0);r.cnCharWidth=Cr("å½",e);var a=r.ascCharWidth=Cr("a",e);r.placeholder=it(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<o&&s>=a;l++)s-=a;var u=Cr(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function ga(t,e,n){var i=n.containerWidth,r=n.font,o=n.contentWidth;if(!i)return t.textLine="",void(t.isTruncated=!1);var a=Cr(e,r);if(a<=i)return t.textLine=e,void(t.isTruncated=!1);for(var s=0;;s++){if(a<=o||s>=n.maxIterations){e+=n.ellipsis;break}var l=0===s?ma(e,o,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(e.length*o/a):0;a=Cr(e=e.substr(0,l),r)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function ma(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}var va=function(){},ya=function(t){this.tokens=[],t&&(this.tokens=t)},_a=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function xa(t,e,n,i,r){var o,a,s=""===e,l=r&&n.rich[r]||{},u=t.lines,c=l.font||n.font,h=!1;if(i){var p=l.padding,f=p?p[1]+p[3]:0;if(null!=l.width&&"auto"!==l.width){var d=Or(l.width,i.width)+f;u.length>0&&d+i.accumWidth>i.width&&(o=e.split("\n"),h=!0),i.accumWidth=d}else{var g=Sa(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+f,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var m=0;m<o.length;m++){var v=o[m],y=new va;if(y.styleName=r,y.text=v,y.isLineHolder=!v&&!s,"number"==typeof l.width?y.width=l.width:y.width=a?a[m]:Cr(v,c),m||h)u.push(new ya([y]));else{var _=(u[u.length-1]||(u[0]=new ya)).tokens,x=_.length;1===x&&_[0].isLineHolder?_[0]=y:(v||!x||s)&&_.push(y)}}}var ba=V(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function wa(t){return!function(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!ba[t]}function Sa(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,c=0,h=0;h<t.length;h++){var p=t.charAt(h);if("\n"!==p){var f=Cr(p,e),d=!i&&!wa(p);(o.length?c+f>n:r+c+f>n)?c?(s||l)&&(d?(s||(s=l,l="",c=u=0),o.push(s),a.push(c-u),l+=p,s="",c=u+=f):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=p,c=f)):d?(o.push(l),a.push(u),l=p,u=f):(o.push(p),a.push(f)):(c+=f,d?(l+=p,u+=f):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:a}}var Ta="__zr_style_"+Math.round(10*Math.random()),Ma={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ca={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Ma[Ta]=!0;var Aa=["z","z2","invisible"],Ia=["invisible"],ka=function(t){function e(e){return t.call(this,e)||this}var n;return St(e,t),e.prototype._init=function(e){for(var n=G(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){Da.copy(t.getBoundingRect
vendor: 24,215 bytes, line 1
1()),t.transform&&Da.applyTransform(t.transform);return Pa.width=e,Pa.height=n,!Da.intersect(Pa)}(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,o=i.shadowOffsetX||0,a=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Le(0,0,0,0)),e?Le.applyTransform(t,n,e):t.copy(n),(r||o||a)&&(t.width+=2*r+Math.abs(o),t.height+=2*r+Math.abs(a),t.x=Math.min(t.x,t.x+o-r),t.y=Math.min(t.y,t.y+a-r));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Le(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:E(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(2&this.__dirty)},e.prototype.styleUpdated=function(){this.__dirty&=-3},e.prototype.createStyle=function(t){return vt(Ma,t)},e.prototype.useStyle=function(t){t[Ta]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[Ta]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,Aa)},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.style?o?r?s=n.style:(s=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(s,n.style)):l&&(s=i.style),s)if(o){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var c=G(u),h=0;h<c.length;h++){(f=c[h])in s&&(s[f]=s[f],this.style[f]=u[f])}var p=G(s);for(h=0;h<p.length;h++){var f=p[h];this.style[f]=this.style[f]}this._transitionState(e,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var d=this.__inHover?Ia:Aa;for(h=0;h<d.length;h++){f=d[h];n&&null!=n[f]?this[f]=n[f]:l&&null!=i[f]&&(this[f]=i[f])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return E(t,e),t},e.prototype.getAnimationStyleProps=function(){return Ca},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=2|tn)),e}(Hr),Da=new Le(0,0,0,0),Pa=new Le(0,0,0,0);var Oa=ka,Ea=Math.min,La=Math.max,Ra=Math.sin,Na=Math.cos,Fa=2*Math.PI,Ba=Tt(),za=Tt(),Va=Tt();function ja(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],o=i[0],a=i[1],s=i[1],l=1;l<t.length;l++)i=t[l],r=Ea(r,i[0]),o=La(o,i[0]),a=Ea(a,i[1]),s=La(s,i[1]);e[0]=r,e[1]=a,n[0]=o,n[1]=s}}function Ga(t,e,n,i,r,o){r[0]=Ea(t,n),r[1]=Ea(e,i),o[0]=La(t,n),o[1]=La(e,i)}var Wa=[],Ha=[];function Za(t,e,n,i,r,o,a,s,l,u){var c=Mn,h=wn,p=c(t,n,r,a,Wa);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var f=0;f<p;f++){var d=h(t,n,r,a,Wa[f]);l[0]=Ea(d,l[0]),u[0]=La(d,u[0])}p=c(e,i,o,s,Ha);for(f=0;f<p;f++){var g=h(e,i,o,s,Ha[f]);l[1]=Ea(g,l[1]),u[1]=La(g,u[1])}l[0]=Ea(t,l[0]),u[0]=La(t,u[0]),l[0]=Ea(a,l[0]),u[0]=La(a,u[0]),l[1]=Ea(e,l[1]),u[1]=La(e,u[1]),l[1]=Ea(s,l[1]),u[1]=La(s,u[1])}function $a(t,e,n,i,r,o,a,s){var l=Pn,u=kn,c=La(Ea(l(t,n,r),1),0),h=La(Ea(l(e,i,o),1),0),p=u(t,n,r,c),f=u(e,i,o,h);a[0]=Ea(t,r,p),a[1]=Ea(e,o,f),s[0]=La(t,r,p),s[1]=La(e,o,f)}function Ua(t,e,n,i,r,o,a,s,l){var u=Vt,c=jt,h=Math.abs(r-o);if(h%Fa<1e-4&&h>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Ba[0]=Na(r)*n+t,Ba[1]=Ra(r)*i+e,za[0]=Na(o)*n+t,za[1]=Ra(o)*i+e,u(s,Ba,za),c(l,Ba,za),(r%=Fa)<0&&(r+=Fa),(o%=Fa)<0&&(o+=Fa),r>o&&!a?o+=Fa:r<o&&a&&(r+=Fa),a){var p=o;o=r,r=p}for(var f=0;f<o;f+=Math.PI/2)f>r&&(Va[0]=Na(f)*n+t,Va[1]=Ra(f)*i+e,u(s,Va,s),c(l,Va,l))}var Xa={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},qa=[],Ya=[],Ka=[],Ja=[],Qa=[],ts=[],es=Math.min,ns=Math.max,is=Math.cos,rs=Math.sin,os=Math.abs,as=Math.PI,ss=2*as,ls="undefined"!=typeof Float32Array,us=[];function cs(t){return Math.round(t/as*1e8)/1e8%2*as}function hs(t,e){var n=cs(t[0]);n<0&&(n+=ss);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=ss?r=n+ss:e&&n-r>=ss?r=n-ss:!e&&n>r?r=n+(ss-cs(n-r)):e&&n<r&&(r=n-(ss-cs(r-n))),t[0]=n,t[1]=r}var ps=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=os(n/hr/t)||0,this._uy=os(n/hr/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Xa.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=os(t-this._xi),i=os(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Xa.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Xa.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Xa.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),us[0]=i,us[1]=r,hs(us,o),i=us[0];var a=(r=us[1])-i;return this.addData(Xa.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=is(r)*n+t,this._yi=rs(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Xa.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Xa.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!ls||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();ls&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},t.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,ls&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Ka[0]=Ka[1]=Qa[0]=Qa[1]=Number.MAX_VALUE,Ja[0]=Ja[1]=ts[0]=ts[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;t<this._len;){var a=e[t++],s=1===t;switch(s&&(r=n=e[t],o=i=e[t+1]),a){case Xa.M:n=r=e[t++],i=o=e[t++],Qa[0]=r,Qa[1]=o,ts[0]=r,ts[1]=o;break;case Xa.L:Ga(n,i,e[t],e[t+1],Qa,ts),n=e[t++],i=e[t++];break;case Xa.C:Za(n,i,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],Qa,ts),n=e[t++],i=e[t++];break;case Xa.Q:$a(n,i,e[t++],e[t++],e[t],e[t+1],Qa,ts),n=e[t++],i=e[t++];break;case Xa.A:var l=e[t++],u=e[t++],c=e[t++],h=e[t++],p=e[t++],f=e[t++]+p;t+=1;var d=!e[t++];s&&(r=is(p)*c+l,o=rs(p)*h+u),Ua(l,u,c,h,p,f,d,Qa,ts),n=is(f)*c+l,i=rs(f)*h+u;break;case Xa.R:Ga(r=n=e[t++],o=i=e[t++],r+e[t++],o+e[t++],Qa,ts);break;case Xa.Z:n=r,i=o}Vt(Ka,Ka,Qa),jt(Ja,Ja,ts)}return 0===t&&(Ka[0]=Ka[1]=Ja[0]=Ja[1]=0),new Le(Ka[0],Ka[1],Ja[0]-Ka[0],Ja[1]-Ka[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,h=0;h<e;){var p=t[h++],f=1===h;f&&(a=r=t[h],s=o=t[h+1]);var d=-1;switch(p){case Xa.M:r=a=t[h++],o=s=t[h++];break;case Xa.L:var g=t[h++],m=(_=t[h++])-o;(os(k=g-r)>n||os(m)>i||h===e-1)&&(d=Math.sqrt(k*k+m*m),r=g,o=_);break;case Xa.C:var v=t[h++],y=t[h++],_=(g=t[h++],t[h++]),x=t[h++],b=t[h++];d=In(r,o,v,y,g,_,x,b,10),r=x,o=b;break;case Xa.Q:d=Ln(r,o,v=t[h++],y=t[h++],g=t[h++],_=t[h++],10),r=g,o=_;break;case Xa.A:var w=t[h++],S=t[h++],T=t[h++],M=t[h++],C=t[h++],A=t[h++],I=A+C;h+=1,f&&(a=is(C)*T+w,s=rs(C)*M+S),d=ns(T,M)*es(ss,Math.abs(A)),r=is(I)*T+w,o=rs(I)*M+S;break;case Xa.R:a=r=t[h++],s=o=t[h++],d=2*t[h++]+2*t[h++];break;case Xa.Z:var k=a-r;m=s-o;d=Math.sqrt(k*k+m*m),r=a,o=s}d>=0&&(l[c++]=d,u+=d)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,c,h,p=this.data,f=this._ux,d=this._uy,g=this._len,m=e<1,v=0,y=0,_=0;if(!m||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var x=0;x<g;){var b=p[x++],w=1===x;switch(w&&(n=r=p[x],i=o=p[x+1]),b!==Xa.L&&_>0&&(t.lineTo(c,h),_=0),b){case Xa.M:n=r=p[x++],i=o=p[x++],t.moveTo(r,o);break;case Xa.L:a=p[x++],s=p[x++];var S=os(a-r),T=os(s-o);if(S>f||T>d){if(m){if(v+(X=l[y++])>u){var M=(u-v)/X;t.lineTo(r*(1-M)+a*M,o*(1-M)+s*M);break t}v+=X}t.lineTo(a,s),r=a,o=s,_=0}else{var C=S*S+T*T;C>_&&(c=a,h=s,_=C)}break;case Xa.C:var A=p[x++],I=p[x++],k=p[x++],D=p[x++],P=p[x++],O=p[x++];if(m){if(v+(X=l[y++])>u){Cn(r,A,k,P,M=(u-v)/X,qa),Cn(o,I,D,O,M,Ya),t.bezierCurveTo(qa[1],Ya[1],qa[2],Ya[2],qa[3],Ya[3]);break t}v+=X}t.bezierCurveTo(A,I,k,D,P,O),r=P,o=O;break;case Xa.Q:A=p[x++],I=p[x++],k=p[x++],D=p[x++];if(m){if(v+(X=l[y++])>u){On(r,A,k,M=(u-v)/X,qa),On(o,I,D,M,Ya),t.quadraticCurveTo(qa[1],Ya[1],qa[2],Ya[2]);break t}v+=X}t.quadraticCurveTo(A,I,k,D),r=k,o=D;break;case Xa.A:var E=p[x++],L=p[x++],R=p[x++],N=p[x++],F=p[x++],B=p[x++],z=p[x++],V=!p[x++],j=R>N?R:N,G=os(R-N)>.001,W=F+B,H=!1;if(m)v+(X=l[y++])>u&&(W=F+B*(u-v)/X,H=!0),v+=X;if(G&&t.ellipse?t.ellipse(E,L,R,N,z,F,W,V):t.arc(E,L,j,F,W,V),H)break t;w&&(n=is(F)*R+E,i=rs(F)*N+L),r=is(W)*R+E,o=rs(W)*N+L;break;case Xa.R:n=r=p[x],i=o=p[x+1],a=p[x++],s=p[x++];var Z=p[x++],$=p[x++];if(m){if(v+(X=l[y++])>u){var U=u-v;t.moveTo(a,s),t.lineTo(a+es(U,Z),s),(U-=Z)>0&&t.lineTo(a+Z,s+es(U,$)),(U-=$)>0&&t.lineTo(a+ns(Z-U,0),s+$),(U-=Z)>0&&t.lineTo(a,s+ns($-U,0));break t}v+=X}t.rect(a,s,Z,$);break;case Xa.Z:if(m){var X;if(v+(X=l[y++])>u){M=(u-v)/X;t.lineTo(r*(1-M)+n*M,o*(1-M)+i*M);break t}v+=X}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Xa,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),fs=ps;function ds(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;var u=(l=(e-i)/(t-n))*o-a+(t*i-n*e)/(t-n);return u*u/(l*l+1)<=s/2*s/2}function gs(t,e,n,i,r,o,a,s,l,u,c){if(0===l)return!1;var h=l;return!(c>e+h&&c>i+h&&c>o+h&&c>s+h||c<e-h&&c<i-h&&c<o-h&&c<s-h||u>t+h&&u>n+h&&u>r+h&&u>a+h||u<t-h&&u<n-h&&u<r-h&&u<a-h)&&An(t,e,n,i,r,o,a,s,u,c,null)<=h/2}function ms(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;return!(l>e+u&&l>i+u&&l>o+u||l<e-u&&l<i-u&&l<o-u||s>t+u&&s>n+u&&s>r+u||s<t-u&&s<n-u&&s<r-u)&&En(t,e,n,i,r,o,s,l,null)<=u/2}var vs=2*Math.PI;function ys(t){return(t%=vs)<0&&(t+=vs),t}var _s=2*Math.PI;function xs(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(i-r)%_s<1e-4)return!0;if(o){var h=i;i=ys(r),r=ys(h)}else i=ys(i),r=ys(r);i>r&&(r+=_s);var p=Math.atan2(l,s);return p<0&&(p+=_s),p>=i&&p<=r||p+_s>=i&&p+_s<=r}function bs(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var ws=fs.CMD,Ss=2*Math.PI,Ts=1e-4;var Ms=[-1,-1,-1],Cs=[-1,-1];function As(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u<e&&u<i&&u<o&&u<s)return 0;var c,h=Tn(e,i,o,s,u,Ms);if(0===h)return 0;for(var p=0,f=-1,d=void 0,g=void 0,m=0;m<h;m++){var v=Ms[m],y=0===v||1===v?.5:1;wn(t,n,r,a,v)<l||(f<0&&(f=Mn(e,i,o,s,Cs),Cs[1]<Cs[0]&&f>1&&(c=void 0,c=Cs[0],Cs[0]=Cs[1],Cs[1]=c),d=wn(e,i,o,s,Cs[0]),f>1&&(g=wn(e,i,o,s,Cs[1]))),2===f?v<Cs[0]?p+=d<e?y:-y:v<Cs[1]?p+=g<d?y:-y:p+=s<g?y:-y:v<Cs[0]?p+=d<e?y:-y:p+=s<d?y:-y)}return p}function Is(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var l=function(t,e,n,i,r){var o=t-2*e+n,a=2*(e-t),s=t-i,l=0;if(xn(o))bn(a)&&(c=-s/a)>=0&&c<=1&&(r[l++]=c);else{var u=a*a-4*o*s;if(xn(u))(c=-a/(2*o))>=0&&c<=1&&(r[l++]=c);else if(u>0){var c,h=pn(u),p=(-a-h)/(2*o);(c=(-a+h)/(2*o))>=0&&c<=1&&(r[l++]=c),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,Ms);if(0===l)return 0;var u=Pn(e,i,o);if(u>=0&&u<=1){for(var c=0,h=kn(e,i,o,u),p=0;p<l;p++){var f=0===Ms[p]||1===Ms[p]?.5:1;kn(t,n,r,Ms[p])<a||(Ms[p]<u?c+=h<e?f:-f:c+=o<h?f:-f)}return c}f=0===Ms[0]||1===Ms[0]?.5:1;return kn(t,n,r,Ms[0])<a?0:o<e?f:-f}function ks(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Ms[0]=-l,Ms[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Ss-1e-4){i=0,r=Ss;var c=o?1:-1;return a>=Ms[0]+t&&a<=Ms[1]+t?c:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=Ss,r+=Ss);for(var p=0,f=0;f<2;f++){var d=Ms[f];if(d+t>a){var g=Math.atan2(s,d);c=o?1:-1;g<0&&(g=Ss+g),(g>=i&&g<=r||g+Ss>=i&&g+Ss<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),p+=c)}}return p}function Ds(t,e,n,i,r){for(var o,a,s,l,u=t.data,c=t.len(),h=0,p=0,f=0,d=0,g=0,m=0;m<c;){var v=u[m++],y=1===m;switch(v===ws.M&&m>1&&(n||(h+=bs(p,f,d,g,i,r))),y&&(d=p=u[m],g=f=u[m+1]),v){case ws.M:p=d=u[m++],f=g=u[m++];break;case ws.L:if(n){if(ds(p,f,u[m],u[m+1],e,i,r))return!0}else h+=bs(p,f,u[m],u[m+1],i,r)||0;p=u[m++],f=u[m++];break;case ws.C:if(n){if(gs(p,f,u[m++],u[m++],u[m++],u[m++],u[m],u[m+1],e,i,r))return!0}else h+=As(p,f,u[m++],u[m++],u[m++],u[m++],u[m],u[m+1],i,r)||0;p=u[m++],f=u[m++];break;case ws.Q:if(n){if(ms(p,f,u[m++],u[m++],u[m],u[m+1],e,i,r))return!0}else h+=Is(p,f,u[m++],u[m++],u[m],u[m+1],i,r)||0;p=u[m++],f=u[m++];break;case ws.A:var _=u[m++],x=u[m++],b=u[m++],w=u[m++],S=u[m++],T=u[m++];m+=1;var M=!!(1-u[m++]);o=Math.cos(S)*b+_,a=Math.sin(S)*w+x,y?(d=o,g=a):h+=bs(p,f,o,a,i,r);var C=(i-_)*w/b+_;if(n){if(xs(_,x,w,S,S+T,M,e,C,r))return!0}else h+=ks(_,x,w,S,S+T,M,C,r);p=Math.cos(S+T)*b+_,f=Math.sin(S+T)*w+x;break;case ws.R:if(d=p=u[m++],g=f=u[m++],o=d+u[m++],a=g+u[m++],n){if(ds(d,g,o,g,e,i,r)||ds(o,g,o,a,e,i,r)||ds(o,a,d,a,e,i,r)||ds(d,a,d,g,e,i,r))return!0}else h+=bs(o,g,o,a,i,r),h+=bs(d,a,d,g,i,r);break;case ws.Z:if(n){if(ds(p,f,d,g,e,i,r))return!0}else h+=bs(p,f,d,g,i,r);p=d,f=g}}return n||(s=f,l=g,Math.abs(s-l)<Ts)||(h+=bs(p,f,d,g,i,r)||0),0!==h}var Ps=L({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Ma),Os={style:L({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Ca.style)},Es=wr.concat(["invisible","culling","z","z2","zlevel","parent"]),Ls=function(t){function e(e){return t.call(this,e)||this}var n;return St(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<Es.length;++s)r[Es[s]]=this[Es[s]];r.__dirty|=tn}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=G(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?E(this.style,a):this.useStyle(a):"shape"===o?E(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(U(t)){var e=li(t,0);return e>.5?pr:e>.2?"#eee":fr}if(t)return fr}return pr},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(U(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===li(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~en},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new fs(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&en)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return Ds(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return Ds(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=en,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:E(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&en)},e.prototype.createStyle=function(t){return vt(Ps,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=E({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=E({},i.shape),E(s,n.shape)):(s=E({},r?this.shape:i.shape),E(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=E({},this.shape);for(var u={},c=G(s),h=0;h<c.length;h++){var p=c[h];"object"==typeof s[p]?this.shape[p]=s[p]:u[p]=s[p]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return Os},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return St(n,e),n.prototype.getDefaultStyle=function(){return D(t.style)},n.prototype.getDefaultShape=function(){return D(t.shape)},n}(e);for(var i in t)"function"==typeof t[i]&&(n.prototype[i]=t[i]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=2|tn|en)),e}(Oa),Rs=Ls,Ns=L({strokeFirst:!0,font:h,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Ps),Fs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return St(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return vt(Ns,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Ir(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Oa);Fs.prototype.type="tspan";var Bs=Fs,zs=L({x:0,y:0},Ma),Vs={style:L({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Ca.style)};var js=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return St(e,t),e.prototype.createStyle=function(t){return vt(zs,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Vs},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Le(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Oa);js.prototype.type="image";var Gs=js;var Ws=Math.round;
vendor: 1,479 bytes, line 1
1function Hs(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Ws(2*i)===Ws(2*r)&&(t.x1=t.x2=$s(i,s,!0)),Ws(2*o)===Ws(2*a)&&(t.y1=t.y2=$s(o,s,!0)),t):t}}function Zs(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=$s(i,s,!0),t.y=$s(r,s,!0),t.width=Math.max($s(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max($s(r+a,s,!1)-t.y,0===a?0:1),t):t}}function $s(t,e,n){if(!e)return t;var i=Ws(2*t);return(i+Ws(e))%2==0?i/2:(i+(n?1:-1))/2}var Us=function(){this.x=0,this.y=0,this.width=0,this.height=0},Xs={},qs=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new Us},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Zs(Xs,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof h?n=i=r=o=h:h instanceof Array?1===h.length?n=i=r=o=h[0]:2===h.length?(n=r=h[0],i=o=h[1]):3===h.length?(n=h[0],i=o=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],o=h[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>c&&(i*=c/(a=i+r),r*=c/a),n+o>c&&(n*=c/(a=n+o),o*=c/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+o,l
vendor: 8,378 bytes, line 1
1+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Rs);qs.prototype.type="rect";var Ys=qs,Ks={fill:"#000"},Js={style:L({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Ca.style)},Qs=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ks,n.attr(e),n}return St(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,al(t=this.style),B(t.rich,al),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Le(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||Ks},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return E(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=G(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},E(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return Js},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||h,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,o=e.font,a="truncate"===i,s=Pr(o),l=it(e.lineHeight,s),u=!!e.backgroundColor,c="truncate"===e.lineOverflow,h=!1,p=e.width,f=(n=null==p||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?Sa(t,e.font,p,"breakAll"===i,0).lines:[]).length*l,d=it(e.height,f);if(f>d&&c){var g=Math.floor(d/l);h=h||n.length>g,n=n.slice(0,g)}if(t&&a&&null!=p)for(var m=da(p,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v={},y=0;y<n.length;y++)ga(v,n[y],m),n[y]=v.textLine,h=h||v.isTruncated;var _=d,x=0;for(y=0;y<n.length;y++)x=Math.max(Cr(n[y],o),x);null==p&&(p=x);var b=x;return r&&(_+=r[0]+r[2],b+=r[1]+r[3],p+=r[1]+r[3]),u&&(b=p),{lines:n,height:d,outerWidth:b,outerHeight:_,lineHeight:l,calculatedLineHeight:s,contentWidth:x,contentHeight:f,width:p,isTruncated:h}}(cl(t),t),r=hl(t),o=!!t.backgroundColor,a=i.outerHeight,s=i.outerWidth,l=i.contentWidth,u=i.lines,c=i.lineHeight,p=this._defaultStyle;this.isTruncated=!!i.isTruncated;var f=t.x||0,d=t.y||0,g=t.align||p.align||"left",m=t.verticalAlign||p.verticalAlign||"top",v=f,y=Dr(d,i.contentHeight,m);if(r||n){var _=kr(f,s,g),x=Dr(d,a,m);r&&this._renderBackground(t,t,_,x,s,a)}y+=c/2,n&&(v=ul(f,g,n),"top"===m?y+=n[0]:"bottom"===m&&(y-=n[2]));for(var b=0,w=!1,S=(ll("fill"in t?t.fill:(w=!0,p.fill))),T=(sl("stroke"in t?t.stroke:o||p.autoStroke&&!w?null:(b=2,p.stroke))),M=t.textShadowBlur>0,C=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),A=i.calculatedLineHeight,I=0;I<u.length;I++){var k=this._getOrCreateChild(Bs),D=k.createStyle();k.useStyle(D),D.text=u[I],D.x=v,D.y=y,g&&(D.textAlign=g),D.textBaseline="middle",D.opacity=t.opacity,D.strokeFirst=!0,M&&(D.shadowBlur=t.textShadowBlur||0,D.shadowColor=t.textShadowColor||"transparent",D.shadowOffsetX=t.textShadowOffsetX||0,D.shadowOffsetY=t.textShadowOffsetY||0),D.stroke=T,D.fill=S,T&&(D.lineWidth=t.lineWidth||b,D.lineDash=t.lineDash,D.lineDashOffset=t.lineDashOffset||0),D.font=e,rl(D,t),y+=c,C&&k.setBoundingRect(new Le(kr(D.x,l,D.textAlign),Dr(D.y,A,D.textBaseline),l,A))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new _a;if(null!=t&&(t+=""),!t)return n;for(var i,r=e.width,o=e.height,a=e.overflow,s="break"!==a&&"breakAll"!==a||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===a},l=pa.lastIndex=0;null!=(i=pa.exec(t));){var u=i.index;u>l&&xa(n,t.substring(l,u),e,s),xa(n,i[2],e,s,i[1]),l=pa.lastIndex}l<t.length&&xa(n,t.substring(l,t.length),e,s);var c=[],h=0,p=0,f=e.padding,d="truncate"===a,g="truncate"===e.lineOverflow,m={};function v(t,e,n){t.width=e,t.lineHeight=n,h+=n,p=Math.max(p,e)}t:for(var y=0;y<n.lines.length;y++){for(var _=n.lines[y],x=0,b=0,w=0;w<_.tokens.length;w++){var S=(L=_.tokens[w]).styleName&&e.rich[L.styleName]||{},T=L.textPadding=S.padding,M=T?T[1]+T[3]:0,C=L.font=S.font||e.font;L.contentHeight=Pr(C);var A=it(S.height,L.contentHeight);if(L.innerHeight=A,T&&(A+=T[0]+T[2]),L.height=A,L.lineHeight=rt(S.lineHeight,e.lineHeight,A),L.align=S&&S.align||e.align,L.verticalAlign=S&&S.verticalAlign||"middle",g&&null!=o&&h+L.lineHeight>o){var I=n.lines.length;w>0?(_.tokens=_.tokens.slice(0,w),v(_,b,x),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y),n.isTruncated=n.isTruncated||n.lines.length<I;break t}var k=S.width,D=null==k||"auto"===k;if("string"==typeof k&&"%"===k.charAt(k.length-1))L.percentWidth=k,c.push(L),L.contentWidth=Cr(L.text,C);else{if(D){var P=S.backgroundColor,O=P&&P.image;O&&ha(O=la(O))&&(L.width=Math.max(L.width,O.width*A/O.height))}var E=d&&null!=r?r-b:null;null!=E&&E<L.width?!D||E<M?(L.text="",L.width=L.contentWidth=0):(fa(m,L.text,E-M,C,e.ellipsis,{minChar:e.truncateMinChar}),L.text=m.text,n.isTruncated=n.isTruncated||m.isTruncated,L.width=L.contentWidth=Cr(L.text,C)):L.contentWidth=Cr(L.text,C)}L.width+=M,b+=L.width,S&&(x=Math.max(x,L.lineHeight))}v(_,b,x)}for(n.outerWidth=n.width=it(r,p),n.outerHeight=n.height=it(o,h),n.contentHeight=h,n.contentWidth=p,f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]),y=0;y<c.length;y++){var L,R=(L=c[y]).percentWidth;L.width=parseInt(R,10)/100*n.width}return n}(cl(t),t),n=e.width,i=e.outerWidth,r=e.outerHeight,o=t.padding,a=t.x||0,s=t.y||0,l=this._defaultStyle,u=t.align||l.align,c=t.verticalAlign||l.verticalAlign;this.isTruncated=!!e.isTruncated;var h=kr(a,i,u),p=Dr(s,r,c),f=h,d=p;o&&(f+=o[3],d+=o[0]);var g=f+n;hl(t)&&this._renderBackground(t,t,h,p,i,r);for(var m=!!t.backgroundColor,v=0;v<e.lines.length;v++){for(var y=e.lines[v],_=y.tokens,x=_.length,b=y.lineHeight,w=y.width,S=0,T=f,M=g,C=x-1,A=void 0;S<x&&(!(A=_[S]).align||"left"===A.align);)this._placeToken(A,t,b,d,T,"left",m),w-=A.width,T+=A.width,S++;for(;C>=0&&"right"===(A=_[C]).align;)this._placeToken(A,t,b,d,M,"right",m),w-=A.width,M-=A.width,C--;for(T+=(n-(T-f)-(g-M)-w)/2;S<=C;)A=_[S],this._placeToken(A,t,b,d,T+A.width/2,"center",m),T+=A.width,S++;d+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=i+n/2;"top"===l?u=i+t.height/2:"bottom"===l&&(u=i+n-t.height/2),!t.isLineHolder&&hl(s)&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,u-t.height/2,t.width,t.height);var c=!!s.backgroundColor,p=t.textPadding;
vendor: 19,282 bytes, line 1
1p&&(r=ul(r,o,p),u-=t.height/2-p[0]-t.innerHeight/2);var f=this._getOrCreateChild(Bs),d=f.createStyle();f.useStyle(d);var g=this._defaultStyle,m=!1,v=0,y=ll("fill"in s?s.fill:"fill"in e?e.fill:(m=!0,g.fill)),_=sl("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||a||g.autoStroke&&!m?null:(v=2,g.stroke)),x=s.textShadowBlur>0||e.textShadowBlur>0;d.text=t.text,d.x=r,d.y=u,x&&(d.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,d.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",d.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,d.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),d.textAlign=o,d.textBaseline="middle",d.font=t.font||h,d.opacity=rt(s.opacity,e.opacity,1),rl(d,s),_&&(d.lineWidth=rt(s.lineWidth,e.lineWidth,v),d.lineDash=it(s.lineDash,e.lineDash),d.lineDashOffset=e.lineDashOffset||0,d.stroke=_),y&&(d.fill=y);var b=t.contentWidth,w=t.contentHeight;f.setBoundingRect(new Le(kr(d.x,b,d.textAlign),Dr(d.y,w,d.textBaseline),b,w))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,c=t.borderWidth,h=t.borderColor,p=u&&u.image,f=u&&!p,d=t.borderRadius,g=this;if(f||t.lineHeight||c&&h){(a=this._getOrCreateChild(Ys)).useStyle(a.createStyle()),a.style.fill=null;var m=a.shape;m.x=n,m.y=i,m.width=r,m.height=o,m.r=d,a.dirtyShape()}if(f)(l=a.style).fill=u||null,l.fillOpacity=it(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(Gs)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}c&&h&&((l=a.style).lineWidth=c,l.stroke=h,l.strokeOpacity=it(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(a||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=rt(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return ol(t)&&(e=[t.fontStyle,t.fontWeight,il(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&<(e)||t.textFont||t.font},e}(Oa),tl={left:!0,right:1,center:1},el={top:1,bottom:1,middle:1},nl=["fontStyle","fontWeight","fontSize","fontFamily"];function il(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?u+"px":t+"px":t}function rl(t,e){for(var n=0;n<nl.length;n++){var i=nl[n],r=e[i];null!=r&&(t[i]=r)}}function ol(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function al(t){if(t){t.font=Qs.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||tl[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||el[n]?n:"top",t.padding&&(t.padding=at(t.padding))}}function sl(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function ll(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function ul(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function cl(t){var e=t.text;return null!=e&&(e+=""),e}function hl(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var pl=Qs,fl=Bo(),dl=function(t,e,n,i){if(i){var r=fl(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,r.ssrType="chart","group"===i.type&&i.traverse((function(i){var r=fl(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e,r.ssrType="chart"}))}},gl=1,ml={},vl=Bo(),yl=Bo(),_l=0,xl=1,bl=2,wl=["emphasis","blur","select"],Sl=["normal","emphasis","blur","select"],Tl=10,Ml=9,Cl="highlight",Al="downplay",Il="select",kl="unselect",Dl="toggleSelect";function Pl(t){return null!=t&&"none"!==t}function Ol(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function El(t){Ol(t,"emphasis",bl)}function Ll(t){t.hoverState===bl&&Ol(t,"normal",_l)}function Rl(t){Ol(t,"blur",xl)}function Nl(t){t.hoverState===xl&&Ol(t,"normal",_l)}function Fl(t){t.selected=!0}function Bl(t){t.selected=!1}function zl(t,e,n){e(t,n)}function Vl(t,e,n){zl(t,e,n),t.isGroup&&t.traverse((function(t){zl(t,e,n)}))}function jl(t,e){switch(e){case"emphasis":t.hoverState=bl;break;case"normal":t.hoverState=_l;break;case"blur":t.hoverState=xl;break;case"select":t.selected=!0}}function Gl(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,i){var r=n&&R(n,"select")>=0,o=!1;if(t instanceof Rs){var a=vl(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(Pl(s)||Pl(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=E({},i),(u=E({},u)).fill=s):!Pl(u.fill)&&Pl(s)?(o=!0,i=E({},i),(u=E({},u)).fill=ci(s)):!Pl(u.stroke)&&Pl(l)&&(o||(i=E({},i),u=E({},u)),u.stroke=ci(l)),i.style=u}}if(i&&null==i.z2){o||(i=E({},i));var c=t.z2EmphasisLift;i.z2=t.z2+(null!=c?c:Tl)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=R(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,e)}return o}(t,["opacity"],e,{opacity:1}),a=(n=n||{}).style||{};return null==a.opacity&&(n=E({},n),a=E({opacity:i?r:.1*o.opacity},a),n.style=a),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=E({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:Ml)}return n}(this,0,n)}return n}function Wl(t){t.stateProxy=Gl;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=Gl),n&&(n.stateProxy=Gl)}function Hl(t,e){!Jl(t,e)&&!t.__highByOuter&&Vl(t,El)}function Zl(t,e){!Jl(t,e)&&!t.__highByOuter&&Vl(t,Ll)}function $l(t,e){t.__highByOuter|=1<<(e||0),Vl(t,El)}function Ul(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Vl(t,Ll)}function Xl(t){Vl(t,Rl)}function ql(t){Vl(t,Nl)}function Yl(t){Vl(t,Fl)}function Kl(t){Vl(t,Bl)}function Jl(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Ql(t){var e=t.getModel(),n=[],i=[];e.eachComponent((function(e,r){var o=yl(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&i.push(s),o.isBlured&&(s.group.traverse((function(t){Nl(t)})),a&&n.push(r)),o.isBlured=!1})),B(i,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function tu(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&ql(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var a=r.getSeriesByIndex(t),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries((function(t){var r=a===t,u=t.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!r||"coordinateSystem"===n&&!(u&&s?u===s:r)||"series"===e&&r)){if(i.getViewOfSeriesModel(t).group.traverse((function(t){t.__highByOuter&&r&&"self"===e||Rl(t)})),F(e))o(t.getData(),e);else if(Y(e))for(var c=G(e),h=0;h<c.length;h++)o(t.getData(c[h]),e[c[h]]);l.push(t),yl(t).isBlured=!0}})),r.eachComponent((function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,r)}}))}}function eu(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){yl(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse((function(t){Rl(t)}))}}}function nu(t,e,n,i){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return r;var o=i.getModel().getComponent(t,e);if(!o)return r;var a=i.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return r;for(var s,l=a.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===fl(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function iu(t){B(t.getAllData(),(function(e){var n=e.data,i=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,i)?Yl(e):Kl(e)}))}))}function ru(t){var e=[];return t.eachSeries((function(t){B(t.getAllData(),(function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function ou(t,e,n){hu(t,!0),Vl(t,Wl),su(t,e,n)}function au(t,e,n,i){i?function(t){hu(t,!1)}(t):ou(t,e,n)}function su(t,e,n){var i=fl(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var lu=["emphasis","blur","select"],uu={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function cu(t,e,n,i){n=n||"itemStyle";for(var r=0;r<lu.length;r++){var o=lu[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[uu[n]]()}}function hu(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function pu(t){return!(!t||!t.__highDownDispatcher)}function fu(t){var e=t.type;return e===Il||e===kl||e===Dl}function du(t){var e=t.type;return e===Cl||e===Al}var gu=Bo();function mu(t,e,n,i,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,u=void 0,c=void 0;return i?(l=it(i.duration,200),u=it(i.easing,"cubicOut"),c=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),c=e.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(l=o.duration),null!=o.easing&&(u=o.easing),null!=o.delay&&(c=o.delay)),$(c)&&(c=c(n,r)),$(l)&&(l=l(n)),{duration:l||0,delay:c,easing:u}}return null}function vu(t,e,n,i,r,o,a){var s,l=!1;$(r)?(a=o,o=r,r=null):Y(r)&&(o=r.cb,a=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="leave"===t;u||e.stopAnimation("leave");var c=mu(t,i,r,u?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(c&&c.duration>0){var h={duration:c.duration,delay:c.delay||0,easing:c.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,h):e.animateTo(n,h)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function yu(t,e,n,i,r,o){vu("update",t,e,n,i,r,o)}function _u(t,e,n,i,r,o){vu("enter",t,e,n,i,r,o)}function xu(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("leave"===t.animators[e].scope)return!0}return!1}function bu(t,e,n,i,r,o){xu(t)||vu("leave",t,e,n,i,r,o)}function wu(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),bu(t,{style:{opacity:0}},e,n,i)}function Su(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||wu(t,e,n,i)})):wu(t,e,n,i)}function Tu(t){gu(t).oldStyle=t.style}var Mu={};function Cu(t,e){for(var n=0;n<wl.length;n++){var i=wl[n],r=e[i],o=t.ensureState(i);o.style=o.style||{},o.style.text=r}var a=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(a,!0)}function Au(t,e,n){var i,r=t.labelFetcher,o=t.labelDataIndex,a=t.labelDimIndex,s=e.normal;r&&(i=r.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=$(t.defaultText)?t.defaultText(o,t,n):t.defaultText);for(var l={normal:i},u=0;u<wl.length;u++){var c=wl[u],h=e[c];l[c]=it(r?r.getFormattedLabel(o,c,null,a,h&&h.get("formatter")):null,i)}return l}function Iu(t,e,n,i){n=n||Mu;for(var r=t instanceof pl,o=!1,a=0;a<Sl.length;a++){if((p=e[Sl[a]])&&p.getShallow("show")){o=!0;break}}var s=r?t:t.getTextContent();if(o){r||(s||(s=new pl,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var l=Au(n,e),u=e.normal,c=!!u.getShallow("show"),h=Du(u,i&&i.normal,n,!1,!r);h.text=l.normal,r||t.setTextConfig(Pu(u,n,!1));for(a=0;a<wl.length;a++){var p,f=wl[a];if(p=e[f]){var d=s.ensureState(f),g=!!it(p.getShallow("show"),c);if(g!==c&&(d.ignore=!g),d.style=Du(p,i&&i[f],n,!0,!r),d.style.text=l[f],!r)t.ensureState(f).textConfig=Pu(p,n,!0)}}s.silent=!!u.getShallow("silent"),null!=s.style.x&&(h.x=s.style.x),null!=s.style.y&&(h.y=s.style.y),s.ignore=!c,s.useStyle(h),s.dirty(),n.enableTextSetter&&(Fu(s).setLabelText=function(t){var i=Au(n,e,t);Cu(s,i)})}else s&&(s.ignore=!0);t.dirty()}function ku(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<wl.length;i++){var r=wl[i];n[r]=t.getModel([r,e])}return n}function Du(t,e,n,i,r){var o={};return function(t,e,n,i,r){n=n||Mu;var o,a=e.ecModel,s=a&&a.option.textStyle,l=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||Mu).rich;if(n){e=e||{};for(var i=G(n),r=0;r<i.length;r++){e[i[r]]=1}}t=t.parentModel}return e}(e);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var c=e.getModel(["rich",u]);Ru(o[u]={},c,s,n,i,r,!1,!0)}o&&(t.rich=o);var h=e.get("overflow");h&&(t.overflow=h);var p=e.get("minMargin");null!=p&&(t.margin=p);Ru(t,e,s,n,i,r,!0,!1)}(o,t,n,i,r),e&&E(o,e),o}function Pu(t,e,n){e=e||{};var i,r={},o=t.getShallow("rotate"),a=it(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(r.position=i),null!=s&&(r.offset=s),null!=o&&(o*=Math.PI/180,r.rotation=o),null!=a&&(r.distance=a),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}var Ou=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Eu=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],Lu=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Ru(t,e,n,i,r,o,a,s){n=!r&&n||Mu;var l=i&&i.inheritColor,u=e.getShallow("color"),c=e.getShallow("textBorderColor"),h=it(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==c&&"auto"!==c||(c=l||null),o||(u=u||n.color,c=c||n.textBorderColor),null!=u&&(t.fill=u),null!=c&&(t.stroke=c);var p=it(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=p&&(t.lineWidth=p);var f=it(e.getShallow("textBorderType"),n.textBorderType);null!=f&&(t.lineDash=f);var d=it(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=d&&(t.lineDashOffset=d),r||null!=h||s||(h=i&&i.defaultOpacity),null!=h&&(t.opacity=h),r||o||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var g=0;g<Ou.length;g++){var m=Ou[g];null!=(y=it(e.getShallow(m),n[m]))&&(t[m]=y)}for(g=0;g<Eu.length;g++){m=Eu[g];null!=(y=e.getShallow(m))&&(t[m]=y)}if(null==t.verticalAlign){var v=e.getShallow("baseline");null!=v&&(t.verticalAlign=v)}if(!a||!i.disableBox){for(g=0;g<Lu.length;g++){var y;m=Lu[g];null!=(y=e.getShallow(m))&&(t[m]=y)}var _=e.getShallow("borderType");null!=_&&(t.borderDash=_),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||(t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||(t.borderColor=l)}}function Nu(t,e){var n=e&&e.getModel("textStyle");return lt([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var Fu=Bo();function Bu(t,e,n,i){if(t){var r=Fu(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function zu(t,e,n,i,r){var o=Fu(t);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=it(o.interpolatedValue,o.prevValue),l=o.value;t.percent=0,(null==o.prevValue?_u:yu)(t,{percent:1},i,e,null,(function(i){var u=Uo(n,o.precision,s,l,i);o.interpolatedValue=1===i?null:u;var c=Au({labelDataIndex:e,labelFetcher:r,defaultText:a?a(u):u+""},o.statesModels,u);Cu(t,c)}))}}var Vu,ju,Gu=["textStyle","color"],Wu=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Hu=new pl,Zu=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Gu):null)},t.prototype.getFont=function(){return Nu({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<Wu.length;n++)e[Wu[n]]=this.getShallow(Wu[n]);return Hu.useStyle(e),Hu.update(),Hu.getBoundingRect()},t}(),$u=Zu,Uu=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Xu=ra(Uu),qu=function(){function t(){}return t.prototype.getLineStyle=function(t){return Xu(this,t)},t}(),Yu=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Ku=ra(Yu),Ju=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return Ku(this,t,e)},t}(),Qu=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){P(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)(D(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!l.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();Jo(Qu),Vu=Qu,ju=["__\0is_clz",ta++].join("_"),Vu.prototype[ju]=!0,Vu.isInstance=function(t){return!(!t||!t[ju])},N(Qu,qu),N(Qu,Ju),N(Qu,aa),N(Qu,$u);var tc=Qu,ec=Math.round(10*Math.random());function nc(t){return[t||"",ec++].join("_")}function ic(t,e){return P(P({},t,!0),e,!0)}var rc="ZH",oc="EN",ac=oc,sc={},lc={},uc=l.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||ac).toUpperCase().indexOf(rc)>-1?rc:ac;function cc(t,e){t=t.toUpperCase(),lc[t]=new tc(e),sc[t]=e}function hc(t){return lc[t]}cc(oc,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),cc(rc,{time:{month:["䏿","äºæ","䏿","åæ","äºæ","å
æ","䏿","å
«æ","乿","åæ","å䏿","åäºæ"],monthAbbr:["1æ","2æ","3æ","4æ","5æ","6æ","7æ","8æ","9æ","10æ","11æ","12æ"],dayOfWeek:["æææ¥","ææä¸","ææäº","ææä¸","ææå","ææäº","ææå
"],dayOfWeekAbbr:["æ¥","ä¸","äº","ä¸","å","äº","å
"]},legend:{selector:{all:"å
¨é",inverse:"åé"}},toolbox:{brush:{title:{rect:"ç©å½¢éæ©",polygon:"åé",lineX:"横åéæ©",lineY:"纵åéæ©",keep:"ä¿æéæ©",clear:"æ¸
é¤éæ©"}},dataView:{title:"æ°æ®è§å¾",lang:["æ°æ®è§å¾","å
³é","å·æ°"]},dataZoom:{title:{zoom:"åºå缩æ¾",back:"åºå缩æ¾è¿å"}},magicType:{title:{line:"åæ¢ä¸ºæçº¿å¾",bar:"åæ¢ä¸ºæ±ç¶å¾",stack:"åæ¢ä¸ºå å ",tiled:"åæ¢ä¸ºå¹³éº"}},restore:{title:"è¿å"},saveAsImage:{title:"ä¿å为å¾ç",lang:["å³é®å¦å为å¾ç"]}},series:{typeNames:{pie:"饼å¾",bar:"æ±ç¶å¾",line:"æçº¿å¾",scatter:"æ£ç¹å¾",effectScatter:"æ¶æ¼ªæ£ç¹å¾",radar:"é·è¾¾å¾",tree:"æ å¾",treemap:"ç©å½¢æ å¾",boxplot:"ç®±åå¾",candlestick:"K线å¾",k:"K线å¾",heatmap:"çåå¾",map:"å°å¾",parallel:"å¹³è¡åæ å¾",lines:"线å¾",graph:"å
³ç³»å¾",sankey:"æ¡åºå¾",funnel:"æ¼æå¾",gauge:"仪表çå¾",pictorialBar:"象形æ±å¾",themeRiver:"䏻颿²³æµå¾",sunburst:"ææ¥å¾",custom:"èªå®ä¹å¾è¡¨",chart:"å¾è¡¨"}},aria:{general:{withTitle:"è¿æ¯ä¸ä¸ªå
³äºâ{title}âçå¾è¡¨ã",withoutTitle:"è¿æ¯ä¸ä¸ªå¾è¡¨ï¼"},series:{single:{prefix:"",withName:"å¾è¡¨ç±»åæ¯{seriesType}ï¼è¡¨ç¤º{seriesName}ã",withoutName:"å¾è¡¨ç±»åæ¯{seriesType}ã"},multiple:{prefix:"å®ç±{seriesCount}个å¾è¡¨ç³»åç»æã",withName:"第{seriesId}ä¸ªç³»åæ¯ä¸ä¸ªè¡¨ç¤º{seriesName}ç{seriesType}
1ï¼",withoutName:"第{seriesId}ä¸ªç³»åæ¯ä¸ä¸ª{seriesType}ï¼",separator:{middle:"ï¼",end:"ã"}}},data:{allData:"å
¶æ°æ®æ¯ââ",partialData:"å
¶ä¸ï¼å{displayCnt}项æ¯ââ",withName:"{name}çæ°æ®æ¯{value}",withoutName:"{value}",separator:{middle:"ï¼",end:""}}}});var pc=1e3,fc=60*pc,dc=60*fc,gc=24*dc,mc=365*gc,vc={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},yc="{yyyy}-{MM}-{dd}",_c={year:"{yyyy}",month:"{yyyy}-{MM}",day:yc,hour:yc+" "+vc.hour,minute:yc+" "+vc.minute,second:yc+" "+vc.second,millisecond:vc.none},xc=["year","month","day","hour","minute","second","millisecond"],bc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function wc(t,e){return"0000".substr(0,e-(t+="").length)+t}function Sc(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Tc(t){return t===Sc(t)}function Mc(t,e,n,i){var r=po(t),o=r[Ic(n)](),a=r[kc(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[Dc(n)](),u=r["get"+(n?"UTC":"")+"Day"](),c=r[Pc(n)](),h=(c-1)%12+1,p=r[Oc(n)](),f=r[Ec(n)](),d=r[Lc(n)](),g=c>=12?"pm":"am",m=g.toUpperCase(),v=(i instanceof tc?i:hc(i||uc)||lc[ac]).getModel("time"),y=v.get("month"),_=v.get("monthAbbr"),x=v.get("dayOfWeek"),b=v.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,m+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,wc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[a-1]).replace(/{MMM}/g,_[a-1]).replace(/{MM}/g,wc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,wc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,wc(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,wc(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,wc(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,wc(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,wc(d,3)).replace(/{S}/g,d+"")}function Cc(t,e){var n=po(t),i=n[kc(e)]()+1,r=n[Dc(e)](),o=n[Pc(e)](),a=n[Oc(e)](),s=n[Ec(e)](),l=0===n[Lc(e)](),u=l&&0===s,c=u&&0===a,h=c&&0===o,p=h&&1===r;return p&&1===i?"year":p?"month":h?"day":c?"hour":u?"minute":l?"second":"millisecond"}function Ac(t,e,n){var i=q(t)?po(t):t;switch(e=e||Cc(t,n)){case"year":return i[Ic(n)]();case"half-year":return i[kc(n)]()>=6?1:0;case"quarter":return Math.floor((i[kc(n)]()+1)/4);case"month":return i[kc(n)]();case"day":return i[Dc(n)]();case"half-day":return i[Pc(n)]()/24;case"hour":return i[Pc(n)]();case"minute":return i[Oc(n)]();case"second":return i[Ec(n)]();case"millisecond":return i[Lc(n)]()}}function Ic(t){return t?"getUTCFullYear":"getFullYear"}function kc(t){return t?"getUTCMonth":"getMonth"}function Dc(t){return t?"getUTCDate":"getDate"}function Pc(t){return t?"getUTCHours":"getHours"}function Oc(t){return t?"getUTCMinutes":"getMinutes"}function Ec(t){return t?"getUTCSeconds":"getSeconds"}function Lc(t){return t?"getUTCMilliseconds":"getMilliseconds"}function Rc(t){return t?"setUTCFullYear":"setFullYear"}function Nc(t){return t?"setUTCMonth":"setMonth"}function Fc(t){return t?"setUTCDate":"setDate"}function Bc(t){return t?"setUTCHours":"setHours"}function zc(t){return t?"setUTCMinutes":"setMinutes"}function Vc(t){return t?"setUTCSeconds":"setSeconds"}function jc(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Gc(t){if(!_o(t))return U(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Wc(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var Hc=at;function Zc(t,e,n){function i(t){return t&<(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?po(t):t;if(!isNaN(+s))return Mc(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return X(t)?i(t):q(t)&&r(t)?t+"":"-";var l=yo(t);return r(l)?Gc(l):X(t)?i(t):"boolean"==typeof t?t+"":"-"}var $c=["a","b","c","d","e","f","g"],Uc=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Xc(t,e,n){Z(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var a=$c[o];t=t.replace(Uc(a),Uc(a,0))}for(var s=0;s<i;s++)for(var l=0;l<r.length;l++){var u=e[s][r[l]];t=t.replace(Uc($c[l],s),n?ne(u):u)}return t}function qc(t,e){return e=e||"transparent",U(t)?t:Y(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Yc(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Kc=B,Jc=["left","right","top","bottom","width","height"],Qc=[["width","left","right"],["height","top","bottom"]];function th(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;
vendor: 18,746 bytes, line 1
1e.eachChild((function(l,u){var c,h,p=l.getBoundingRect(),f=e.childAt(u+1),d=f&&f.getBoundingRect();if("horizontal"===t){var g=p.width+(d?-d.x+p.x:0);(c=o+g)>i||l.newline?(o=0,c=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var m=p.height+(d?-d.y+p.y:0);(h=a+m)>r||l.newline?(o+=s+n,a=0,h=m,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+n:a=h+n)}))}var eh=th;H(th,"vertical"),H(th,"horizontal");function nh(t,e,n){n=Hc(n||0);var i=e.width,r=e.height,o=eo(t.left,i),a=eo(t.top,r),s=eo(t.right,i),l=eo(t.bottom,r),u=eo(t.width,i),c=eo(t.height,r),h=n[2]+n[0],p=n[1]+n[3],f=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(c)&&(c=r-l-h-a),null!=f&&(isNaN(u)&&isNaN(c)&&(f>i/r?u=.8*i:c=.8*r),isNaN(u)&&(u=f*c),isNaN(c)&&(c=u/f)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-c-h),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p}switch(t.top||t.bottom){case"middle":case"center":a=r/2-c/2-n[0];break;case"bottom":a=r-c-h}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(c)&&(c=r-h-a-(l||0));var d=new Le(o+n[3],a+n[0],u,c);return d.margin=n,d}function ih(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Le(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(a=a.clone()).applyTransform(c)}var h=nh(L({width:a.width,height:a.height},e),n,i),p=s?h.x-a.x:0,f=l?h.y-a.y:0;return"raw"===u?(o.x=p,o.y=f):(o.x+=p,o.y+=f),o===t&&t.markRedraw(),!0}function rh(t){var e=t.layoutMode||t.constructor.layoutMode;return Y(e)?e:e?{type:e}:null}function oh(t,e,n){var i=n&&n.ignoreSize;!Z(i)&&(i=[i,i]);var r=a(Qc[0],0),o=a(Qc[1],1);function a(n,r){var o={},a=0,u={},c=0;if(Kc(n,(function(e){u[e]=t[e]})),Kc(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&c++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==c&&a){if(a>=2)return o;for(var h=0;h<n.length;h++){var p=n[h];if(!s(o,p)&&s(t,p)){o[p]=t[p];break}}return o}return u}function s(t,e){return t.hasOwnProperty(e)}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function u(t,e,n){Kc(t,(function(t){e[t]=n[t]}))}u(Qc[0],t,r),u(Qc[1],t,o)}function ah(t){return sh({},t)}function sh(t,e){return e&&t&&Kc(Jc,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}var lh=Bo(),uh=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=nc("ec_cpt_model"),r}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=rh(this),i=n?ah(t):{};P(t,e.getTheme().get(this.mainType)),P(t,this.getDefaultOption()),n&&oh(t,i,n)},e.prototype.mergeOption=function(t,e){P(this.option,t,!0);var n=rh(this);n&&oh(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[Yo])}(t))return t.defaultOption;var e=lh(this);if(!e.defaultOption){for(var n=[],i=t;i;){var r=i.prototype.defaultOption;r&&n.push(r),i=i.superClass}for(var o={},a=n.length-1;a>=0;a--)o=P(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return Ho(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(tc);Qo(uh,tc),ia(uh),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=Ko(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=Ko(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(uh),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return B(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return B(t,(function(t){R(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),B(s,(function(t){R(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);R(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(B(t,(function(t){u[t]=!0}));l.length;){var c=l.pop(),h=s[c],p=!!u[c];p&&(r.call(o,c,h.originalDeps.slice()),delete u[c]),B(h.successor,p?d:f)}B(u,(function(){throw new Error("")}))}function f(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function d(t){u[t]=!0,f(t)}}}(uh,(function(t){var e=[];B(uh.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=z(e,(function(t){return Ko(t).main})),"dataset"!==t&&R(e,"dataset")<=0&&e.unshift("dataset");return e}));var ch=uh,hh="";"undefined"!=typeof navigator&&(hh=navigator.platform||"");var ph="rgba(0, 0, 0, 0.2)",fh={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:ph,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:ph,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:ph,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:ph,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:ph,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:ph,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:hh.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},dh=gt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),gh="original",mh="arrayRows",vh="objectRows",yh="keyedColumns",_h="typedArray",xh="unknown",bh="column",wh="row",Sh={Must:1,Might:2,Not:3},Th=Bo();function Mh(t,e,n){var i={},r=Ah(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,c=Th(u).datasetMap,h=r.uid+"_"+n.seriesLayoutBy;B(t=t.slice(),(function(e,n){var r=Y(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=d(r)),i[r.name]=[]}));var p=c.get(h)||c.set(h,{categoryWayDim:a,valueWayDim:0});function f(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function d(t){var e=t.dimsDef;return e?e.length:1}return B(t,(function(t,e){var n=t.name,r=d(t);if(null==o){var a=p.valueWayDim;f(i[n],a,r),f(l,a,r),p.valueWayDim+=r}else if(o===e)f(i[n],0,r),f(s,0,r);else{a=p.categoryWayDim;f(i[n],a,r),f(l,a,r),p.categoryWayDim+=r}})),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function Ch(t,e,n){var i={};if(!Ah(t))return i;var r,o=e.sourceFormat,a=e.dimensionsDefine;o!==vh&&o!==yh||B(a,(function(t,e){"name"===(Y(t)?t.name:t)&&(r=e)}));var s=function(){for(var t={},i={},s=[],l=0,u=Math.min(5,n);l<u;l++){var c=kh(e.data,o,e.seriesLayoutBy,a,e.startIndex,l);s.push(c);var h=c===Sh.Not;if(h&&null==t.v&&l!==r&&(t.v=l),(null==t.n||t.n===t.v||!h&&s[t.n]===Sh.Not)&&(t.n=l),p(t)&&s[t.n]!==Sh.Not)return t;h||(c===Sh.Might&&null==i.v&&l!==r&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function p(t){return null!=t.v&&null!=t.n}return p(t)?t:p(i)?i:null}();if(s){i.value=[s.v];var l=null!=r?r:s.n;i.itemName=[l],i.seriesName=[l]}return i}function Ah(t){if(!t.get("data",!0))return Ho(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},Go).models[0]}function Ih(t,e){return kh(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function kh(t,e,n,i,r,o){var a,s,l;if(J(t))return Sh.Not;if(i){var u=i[o];Y(u)?(s=u.name,l=u.type):U(u)&&(s=u)}if(null!=l)return"ordinal"===l?Sh.Must:Sh.Not;if(e===mh){var c=t;if(n===wh){for(var h=c[o],p=0;p<(h||[]).length&&p<5;p++)if(null!=(a=_(h[r+p])))return a}else for(p=0;p<c.length&&p<5;p++){var f=c[r+p];if(f&&null!=(a=_(f[o])))return a}}else if(e===vh){var d=t;if(!s)return Sh.Not;for(p=0;p<d.length&&p<5;p++){if((v=d[p])&&null!=(a=_(v[s])))return a}}else if(e===yh){var g=t;if(!s)return Sh.Not;if(!(h=g[s])||J(h))return Sh.Not;for(p=0;p<h.length&&p<5;p++)if(null!=(a=_(h[p])))return a}else if(e===gh){var m=t;for(p=0;p<m.length&&p<5;p++){var v,y=ko(v=m[p]);if(!Z(y))return Sh.Not;if(null!=(a=_(y[o])))return a}}function _(t){var e=U(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?Sh.Might:Sh.Not:e&&"-"!==t?Sh.Must:void 0}return Sh.Not}var Dh=gt();var Ph,Oh,Eh,Lh=Bo(),Rh=Bo(),Nh=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var i=Co(this.get("color",!0)),r=this.get("colorLayer",!0);return Bh(this,Lh,i,r,t,e,n)},t.prototype.clearColorPalette=function(){!function(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}(this,Lh)},t}();function Fh(t,e,n,i){var r=Co(t.get(["aria","decal","decals"]));return Bh(t,Rh,r,null,e,n,i)}function Bh(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var c=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((c=c||n)&&c.length){var h=c[l];return r&&(u[r]=h),s.paletteIdx=(l+1)%c.length,h}}var zh="\0_ec_inner";var Vh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new tc(i),this._locale=new tc(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=Wh(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Wh(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Eh(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&B(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=gt(),s=e&&e.replaceMergeMainTypeMap;Th(this).datasetMap=gt(),B(t,(function(t,e){null!=t&&(ch.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?D(t):P(n[e],t,!0))})),s&&s.each((function(t,e){ch.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),ch.topologicalTravel(o,ch.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=Dh.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,Co(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=Po(a,o,l);(function(t,e,n){B(t,(function(t){var i=t.newOption;Y(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,ch),n[e]=null,i.set(e,null),r.set(e,0);var c,h=[],p=[],f=0;B(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=ch.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(c)return void 0;c=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=E({componentIndex:n},t.keyInfo);E(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(h.push(i.option),p.push(i),f++):(h.push(void 0),p.push(void 0))}),this),n[e]=h,i.set(e,p),r.set(e,f),"series"===e&&Ph(this)}),this),this._seriesIndices||Ph(this)},e.prototype.getOption=function(){var t=D(this.option);return B(t,(function(e,n){if(ch.hasClass(n)){for(var i=Co(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!No(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[zh],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(e);return a&&a.length?(null!=i?(n=[],B(Co(i),(function(t){a[t]&&n.push(a[t])}))):n=null!=r?jh("id",r,a):null!=o?jh("name",o,a):j(a,(function(t){return!!t})),Gh(n,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o=t.query,a=t.mainType,s=(n=a+"Index",i=a+"Id",r=a+"Name",!(e=o)||null==e[n]&&null==e[i]&&null==e[r]?null:{mainType:a,index:e[n],id:e[i],name:e[r]});return function(e){return t.filter?j(e,t.filter):e}(Gh(s?this.queryComponents(s):j(this._componentsMap.get(a),(function(t){return!!t})),t))},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if($(t)){var r=e,o=t;i.each((function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&o.call(r,e,i,i.componentIndex)}}))}else for(var a=U(t)?i.get(t):Y(t)?this.findComponents(t):null,s=0;a&&s<a.length;s++){var l=a[s];l&&e.call(n,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=Lo(t,null);return j(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return j(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return j(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){Oh(this),B(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},e.prototype.eachRawSeries=function(t,e){B(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){Oh(this),B(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return B(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return Oh(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){Oh(this);var n=[];B(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)}),this),this._seriesIndices=n,this._seriesIndicesMap=gt(n)},e.prototype.restoreData=function(t){Ph(this);var e=this._componentsMap,n=[];e.each((function(t,e){ch.hasClass(e)&&n.push(e)})),ch.topologicalTravel(n,ch.getAllClassMainTypes(),(function(n){B(e.get(n),(function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t)||e.restoreData()}))}))},e.internalField=(Ph=function(t){var e=t._seriesIndices=[];B(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=gt(e)},Oh=function(t){},void(Eh=function(t,e){t.option={},t.option[zh]=1,t._componentsMap=gt({series:[]}),t._componentsCount=gt();var n=e.aria;Y(n)&&null==n.enabled&&(n.enabled=!0),function(t,e){var n=t.color&&!t.colorLayer;B(e,(function(e,i){"colorLayer"===i&&n||ch.hasClass(i)||("object"==typeof e?t[i]=t[i]?P(t[i],e,!1):D(e):null==t[i]&&(t[i]=e))}))}(e,t._theme.option),P(e,fh,!1),t._mergeOption(e,null)})),e}(tc);function jh(t,e,n){if(Z(e)){var i=gt();return B(e,(function(t){null!=t&&(null!=Lo(t,null)&&i.set(t,!0))})),j(n,(function(e){return e&&i.get(e[t])}))}var r=Lo(e,null);return j(n,(function(e){return e&&null!=r&&e[t]===r}))}function Gh(t,e){return e.hasOwnProperty("subType")?j(t,(function(t){return t&&t.subType===e.subType})):t}function Wh(t){var e=gt();return t&&B(Co(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}N(Vh,Nh);var Hh=Vh,Zh=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],$h=function(t){B(Zh,(function(e){this[e]=W(t[e],t)}),this)},Uh={},Xh=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];B(Uh,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){B(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){Uh[t]=e},t.get=function(t){return Uh[t]},t}(),qh=Xh,Yh=/^(min|max)?(.+)$/,Kh=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(B(Co(t.series),(function(t){t&&t.data&&J(t.data)&&ct(t.data)})),B(Co(t.dataset),(function(t){t&&t.source&&J(t.source)&&ct(t.source)}))),t=D(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,h=!!(l||s||a&&a.timeline);a?(r=a).timeline||(r.timeline=s):((h||c)&&(t.options=t.media=null),r=t);c&&Z(u)&&B(u,(function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))}));function p(t){B(e,(function(e){e(t,n)}))}return p(r),B(l,(function(t){return p(t)})),B(o,(function(t){return p(t.option)})),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],D(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");
vendor: 5,673 bytes, line 1
1i&&(e=D(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,c=o.length;u<c;u++)Jh(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=z(s,(function(t){return D(-1===t?a.option:o[t].option)}))),this._currentMediaIndices=s,l},t}();function Jh(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return B(t,(function(t,e){var n=e.match(Yh);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var Qh=Kh,tp=B,ep=Y,np=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function ip(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=np.length;n<i;n++){var r=np[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?P(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?P(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function rp(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,L(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function op(t){rp(t,"itemStyle"),rp(t,"lineStyle"),rp(t,"areaStyle"),rp(t,"label"),rp(t,"labelLine"),rp(t,"upperLabel"),rp(t,"edgeLabel")}function ap(t,e){var n=ep(t)&&t[e],i=ep(n)&&n.textStyle;if(i){0;for(var r=0,o=Io.length;r<o;r++){var a=Io[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}}function sp(t){t&&(op(t),ap(t,"label"),t.emphasis&&ap(t.emphasis,"label"))}function lp(t){return Z(t)?t:t?[t]:[]}function up(t){return(Z(t)?t[0]:t)||{}}function cp(t,e){tp(lp(t.series),(function(t){ep(t)&&function(t){if(ep(t)){ip(t),op(t),ap(t,"label"),ap(t,"upperLabel"),ap(t,"edgeLabel"),t.emphasis&&(ap(t.emphasis,"label"),ap(t.emphasis,"upperLabel"),ap(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(ip(e),sp(e));var n=t.markLine;n&&(ip(n),sp(n));var i=t.markArea;i&&sp(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!J(o))for(var a=0;a<o.length;a++)sp(o[a]);B(t.categories,(function(t){op(t)}))}if(r&&!J(r))for(a=0;a<r.length;a++)sp(r[a]);if((e=t.markPoint)&&e.data){var s=e.data;for(a=0;a<s.length;a++)sp(s[a])}if((n=t.markLine)&&n.data){var l=n.data;for(a=0;a<l.length;a++)Z(l[a])?(sp(l[a][0]),sp(l[a][1])):sp(l[a])}"gauge"===t.type?(ap(t,"axisLabel"),ap(t,"title"),ap(t,"detail")):"treemap"===t.type?(rp(t.breadcrumb,"itemStyle"),B(t.levels,(function(t){op(t)}))):"tree"===t.type&&op(t.leaves)}}(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),tp(n,(function(e){tp(lp(t[e]),(function(t){t&&(ap(t,"axisLabel"),ap(t.axisPointer,"label"))}))})),tp(lp(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;ap(e,"axisLabel"),ap(e&&e.axisPointer,"label")})),tp(lp(t.calendar),(function(t){rp(t,"itemStyle"),ap(t,"dayLabel"),ap(t,"monthLabel"),ap(t,"yearLabel")})),tp(lp(t.radar),(function(t){ap(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),tp(lp(t.geo),(function(t){ep(t)&&(sp(t),tp(lp(t.regions),(function(t){sp(t)})))})),tp(lp(t.timeline),(function(t){sp(t),rp(t,"label"),rp(t,"itemStyle"),rp(t,"controlStyle",!0);var e=t.data;Z(e)&&B(e,(function(t){Y(t)&&(rp(t,"label"),rp(t,"itemStyle"))}))})),tp(lp(t.toolbox),(function(t){rp(t,"iconStyle"),tp(t.feature,(function(t){rp(t,"iconStyle")}))})),ap(up(t.axisPointer),"label"),ap(up(t.tooltip).axisPointer,"label")}function hp(t){t&&B(pp,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var pp=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],fp=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],dp=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function gp(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<dp.length;n++){var i=dp[n][1],r=dp[n][0];null!=e[i]&&(e[r]=e[i])}}function mp(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function vp(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function yp(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&yp(t[n].children,e)}function _p(t,e){cp(t,e),t.series=Co(t.series),B(t.series,(function(t){if(Y(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){if(null!=t.clockWise&&(t.clockwise=t.clockWise),mp(t.label),(r=t.data)&&!J(r))for(var n=0;n<r.length;n++)mp(r[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var i=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=i&&function(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[r=o[s]]&&(a[r]={}),a=a[r];(i||null==a[o[s]])&&(a[o[s]]=n)}(t,"itemStyle.color",i)}else if("bar"===e){var r;if(gp(t),gp(t.backgroundStyle),gp(t.emphasis),(r=t.data)&&!J(r))for(n=0;n<r.length;n++)"object"==typeof r[n]&&(gp(r[n]),gp(r[n]&&r[n].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),vp(t),yp(t.data,vp)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}
vendor: 1,163 bytes, line 1
1(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&L(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),hp(t)}})),t.dataRange&&(t.visualMap=t.dataRange),B(fp,(function(e){var n=t[e];n&&(Z(n)||(n=[n]),B(n,(function(t){hp(t)})))}))}function xp(t){B(t,(function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var h,p,f=a.get(e.stackedDimension,c);if(isNaN(f))return r;s?p=a.getRawIndex(c):h=a.get(e.stackedByDimension,c);for(var d=NaN,g=n-1;g>=0;g--){var m=t[g];if(s||(p=m.data.rawIndexOf(m.stackedByDimension,h)),p>=0){var v=m.data.getByRawIndex(m.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&f>=0&&v>0||"samesign"===l&&f<=0&&v<0){f=so(f,v),d=v;break}}}return i[0]=f,i[1]=d,i}))}))}var bp,wp,Sp,Tp,Mp,Cp=function(t){this.data=t.data||(t.sourceFormat===yh?{}:[]),this.sourceFormat=t.sourceFormat||xh,this.seriesLayoutBy=t.seriesLayoutBy||bh,this.startIndex=t.startIndex||
vendor: 5,379 bytes, line 1
10,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&Ih(this,n)===Sh.Must&&(i.type="ordinal")}};function Ap(t){return t instanceof Cp}function Ip(t,e,n){n=n||Dp(t);var i=e.seriesLayoutBy,r=function(t,e,n,i,r){var o,a;if(!t)return{dimensionsDefine:Pp(r),startIndex:a,dimensionsDetectedCount:o};if(e===mh){var s=t;"auto"===i||null==i?Op((function(t){null!=t&&"-"!==t&&(U(t)?null==a&&(a=1):a=0)}),n,s,10):a=q(i)?i:i?1:0,r||1!==a||(r=[],Op((function(t,e){r[e]=null!=t?t+"":""}),n,s,1/0)),o=r?r.length:n===wh?s.length:s[0]?s[0].length:null}else if(e===vh)r||(r=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e)return G(e)}(t));else if(e===yh)r||(r=[],B(t,(function(t,e){r.push(e)})));else if(e===gh){var l=ko(t[0]);o=Z(l)&&l.length||1}return{startIndex:a,dimensionsDefine:Pp(r),dimensionsDetectedCount:o}}(t,n,i,e.sourceHeader,e.dimensions);return new Cp({data:t,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:D(e)})}function kp(t){return new Cp({data:t,sourceFormat:J(t)?_h:gh})}function Dp(t){var e=xh;if(J(t))e=_h;else if(Z(t)){0===t.length&&(e=mh);for(var n=0,i=t.length;n<i;n++){var r=t[n];if(null!=r){if(Z(r)||J(r)){e=mh;break}if(Y(r)){e=vh;break}}}}else if(Y(t))for(var o in t)if(_t(t,o)&&F(t[o])){e=yh;break}return e}function Pp(t){if(t){var e=gt();return z(t,(function(t,n){var i={name:(t=Y(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var r=e.get(i.name);return r?i.name+="-"+r.count++:e.set(i.name,{count:1}),i}))}}function Op(t,e,n,i){if(e===wh)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var o=n[0]||[];for(r=0;r<o.length&&r<i;r++)t(o[r],r)}}function Ep(t){var e=t.sourceFormat;return e===vh||e===yh}var Lp=function(){function t(t,e){var n=Ap(t)?t:kp(t);this._source=n;var i=this._data=n.data;n.sourceFormat===_h&&(this._offset=0,this._dimSize=e,this._data=i),Mp(this,i,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;Mp=function(t,r,o){var a=o.sourceFormat,s=o.seriesLayoutBy,l=o.startIndex,u=o.dimensionsDefine;if(E(t,Tp[Hp(a,s)]),a===_h)t.getItem=e,t.count=i,t.fillStorage=n;else{var c=Fp(a,s);t.getItem=W(c,null,r,l,u);var h=Vp(a,s);t.count=W(h,null,r,l,u)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=n[a],p=0;p<c;p++){var f=r[p*o+a];h[t+p]=f,f<l&&(l=f),f>u&&(u=f)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[mh+"_"+bh]={pure:!0,appendData:r},t[mh+"_"+wh]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[vh]={pure:!0,appendData:r},t[yh]={pure:!0,appendData:function(t){var e=this._data;B(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},t[gh]={appendData:r},t[_h]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},Tp=t}(),t}(),Rp=function(t,e,n,i){return t[i]},Np=((bp={})[mh+"_"+bh]=function(t,e,n,i){return t[i+e]},bp[mh+"_"+wh]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[i]:null}return o},bp[vh]=Rp,bp[yh]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){0;var s=t[n[a].name];o[a]=s?s[i]:null}return o},bp[gh]=Rp,bp);function Fp(t,e){return Np[Hp(t,e)]}var Bp=function(t,e,n){return t.length},zp=((wp={})[mh+"_"+bh]=function(t,e,n){return Math.max(0,t.length-e)},wp[mh+"_"+wh]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},wp[vh]=Bp,wp[yh]=function(t,e,n){var i=t[n[0].name];return i?i.length:0},wp[gh]=Bp,wp);function Vp(t,e){return zp[Hp(t,e)]}var jp=function(t,e,n){return t[e]},Gp=((Sp={})[mh]=jp,Sp[vh]=function(t,e,n){return t[n]},Sp[yh]=jp,Sp[gh]=function(t,e,n){var i=ko(t);return i instanceof Array?i[e]:i},Sp[_h]=jp,Sp);function Wp(t){return Gp[t]}function Hp(t,e){return t===mh?t+"_"+e:t}function Zp(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return Wp(o)(i,a,s)}var l=i;return o===gh&&(l=ko(i)),l}}}var $p=/\{@(.+?)\}/g,Up=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,p=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,
vendor: 3,439 bytes, line 1
1seriesName:h?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,i,r,o){e=e||"normal";var a=this.getData(n),s=this.getDataParams(t,n);(o&&(s.value=o.interpolatedValue),null!=i&&Z(s.value)&&(s.value=s.value[i]),r)||(r=a.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return $(r)?(s.status=e,s.dimensionIndex=i,r(s)):U(r)?Xc(r,s).replace($p,(function(e,n){var i=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(i-1)&&(r=+r.slice(1,i-1));var s=Zp(a,t,r);if(o&&Z(o.interpolatedValue)){var l=a.getDimensionIndex(r);l>=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return Zp(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Xp(t){var e,n;return Y(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function qp(t){return new Yp(t)}var Yp=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var h=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,f=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!i&&(o||p<f)){var d=this._progress;if(Z(d))for(var g=0;g<d.length;g++)this._doProgress(d[g],p,f,l,u);else this._doProgress(d,p,f,l,u)}this._dueIndex=f;var m=null!=this._settedOutputEnd?this._settedOutputEnd:f;0,this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){Kp.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:Kp.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),Z(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),Kp=function(){var t,e,n,i,r,o={reset:function(l,u,c,h){e=l,t=u,n=c,i=h,r
vendor: 4,649 bytes, line 1
1=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}();"undefined"!=typeof console&&console.warn&&console.log;function Jp(t){0}function Qp(t){throw new Error(t)}function tf(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||q(t)||null==t||"-"===t||(t=+po(t)),null==t||""===t?NaN:Number(t))}var ef=gt({number:function(t){return parseFloat(t)},time:function(t){return+po(t)},trim:function(t){return U(t)?lt(t):t}});function nf(t){return ef.get(t)}var rf={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},of=function(){function t(t,e){if(!q(e)){0,Qp("")}this._opFn=rf[t],this._rvalFloat=yo(e)}return t.prototype.evaluate=function(t){return q(t)?this._opFn(t,this._rvalFloat):this._opFn(yo(t),this._rvalFloat)},t}(),af=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=q(t)?t:yo(t),i=q(e)?e:yo(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=U(t),s=U(e);a&&(n=s?t:0),s&&(i=a?e:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},t}(),sf=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=yo(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=yo(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function lf(t,e){return"eq"===t||"ne"===t?new sf("eq"===t,e):_t(rf,t)?new of(t,e):null}var uf=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return tf(t,e)},t}();function cf(t){if(!mf(t.sourceFormat)){0,Qp("")}return t.data}function hf(t){var e=t.sourceFormat,n=t.data;if(!mf(e)){0,Qp("")}if(e===mh){for(var i=[],r=0,o=n.length;r<o;r++)i.push(n[r].slice());return i}if(e===vh){for(i=[],r=0,o=n.length;r<o;r++)i.push(E({},n[r]));return i}}function pf(t,e,n){if(null!=n)return q(n)||!isNaN(n)&&!_t(e,n)?t[n]:_t(e,n)?e[n]:void 0}function ff(t){return D(t)}var df=gt();function gf(t,e,n,i){e.length||Qp(""),Y(t)||Qp("");var r=t.type,o=df.get(r);o||Qp("");var a=z(e,(function(t){return function(t,e){var n=new uf,i=t.data,r=n.sourceFormat=t.sourceFormat,o=t.startIndex;t.seriesLayoutBy!==bh&&Qp("");var a=[],s={},l=t.dimensionsDefine;if(l)B(l,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};a.push(i),null!=n&&(_t(s,n)&&Qp(""),s[n]=i)}));else for(var u=0;u<t.dimensionsDetectedCount;u++)a.push({index:u});var c=Fp(r,bh);e.__isBuiltIn&&(n.getRawDataItem=function(t){return c(i,o,a,t)},n.getRawData=W(cf,null,t)),n.cloneRawData=W(hf,null,t);var h=Vp(r,bh);n.count=W(h,null,i,o,a);var p=Wp(r);n.retrieveValue=function(t,e){var n=c(i,o,a,t);return f(n,e)};var f=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=a[e];return n?p(t,e,n.name):void 0}};return n.getDimensionInfo=W(pf,null,a,s),n.cloneAllDimensionInfo=W(ff,null,a),n}(t,o)}));return z(Co(o.transform({upstream:a[0],upstreamList:a,config:D(t.config)})),(function(t,n){var i;Y(t)||Qp(""),t.data||Qp(""),mf(Dp(t.data))||Qp("");var r=e[0];if(r&&0===n&&!t.dimensions){var o=r.startIndex;o&&(t.data=r.data.slice(0,o).concat(t.data)),i={seriesLayoutBy:bh,sourceHeader:o,dimensions:r.metaRawOption.dimensions}}else i={seriesLayoutBy:bh,sourceHeader:0,dimensions:t.dimensions};return Ip(t.data,i,null)}))}function mf(t){return t===mh||t===vh}var vf,yf="undefined",_f=typeof Uint32Array===yf?Array:Uint32Array,xf=typeof Uint16Array===yf?Array:Uint16Array,bf=typeof Int32Array===yf?Array:Int32Array,wf=typeof Float64Array===yf?Array:Float64Array,Sf={float:wf,int:bf,ordinal:Array,number:Array,time:wf};function Tf(t){return t>65535?_f:xf}function Mf(t,e,n,i,r){var o=Sf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}var Cf=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=gt()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;
vendor: 5,634 bytes, line 1
1var i=t.getSource(),r=this.defaultDimValueGetter=vf[i.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[];Ep(i);this._dimensions=z(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new Sf[e||"float"](this._rawCount),this._rawExtent[r]=[1/0,-1/0],r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=[1/0,-1/0]);for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,r=i.length,o=this._rawExtent,a=this.count(),s=a+Math.max(t.length,e||0),l=0;l<r;l++){Mf(n,l,(f=i[l]).type,s,!0)}for(var u=[],c=a;c<s;c++)for(var h=c-a,p=0;p<r;p++){var f=i[p],d=vf.arrayRows.call(this,t[h]||u,f.property,h,p);n[p][c]=d;var g=o[p];d<g[0]&&(g[0]=d),d>g[1]&&(g[1]=d)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=z(o,(function(t){return t.property})),u=0;u<a;u++){var c=o[u];s[u]||(s[u]=[1/0,-1/0]),Mf(r,u,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,r,s);else for(var h=[],p=t;p<e;p++){h=i.getItem(p,h);for(var f=0;f<a;f++){var d=r[f],g=this._dimValueGetter(h,l[f],p,f);d[p]=g;var m=s[f];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,i=this.count();n<i;n++){var r=this.get(t,n);isNaN(r)||(e+=r)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var c=e-i[this.getRawIndex(l)],h=Math.abs(c);h<=n&&((h<o||h===o&&c>=0&&a<0)&&(o=h,a=c,s=0),c===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{t=new(n=Tf(this._rawCount))(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(Tf(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,c=0;c<i;c++){var h=void 0,p=n.getRawIndex(c);if(0===a)h=e(c);else if(1===a){h=e(u[l][p],c)}else{for(var f=0;f<a;f++)o[f]=u[t[f]][p];o[f]=c,h=e.apply(null,o)}h&&(r[s++]=p)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=G(t),r=i.length;if(!r)return this;var o=e.count(),a=new(Tf(e._rawCount))(o),s=0,l=i[0],u=t[l][0],c=t[l][1],h=e._chunks,p=!1;if(!e._indices){var f=0;if(1===r){for(var d=h[i[0]],g=0;g<n;g++){((_=d[g])>=u&&_<=c||isNaN(_))&&(a[s++]=f),f++}p=!0}else if(2===r){d=h[i[0]];var m=h[i[1]],v=t[i[1]][0],y=t[i[1]][1];for(g=0;g<n;g++){var _=d[g],x=m[g];(_>=u&&_<=c||isNaN(_))&&(x>=v&&x<=y||isNaN(x))&&(a[s++]=f),f++}p=!0}}if(!p)if(1===r)for(g=0;g<o;g++){var b=e.getRawIndex(g);((_=h[i[0]][b])>=u&&_<=c||isNaN(_))&&(a[s++]=b)}else for(g=0;g<o;g++){for(var w=!0,S=(b=e.getRawIndex(g),0);S<r;S++){var T=i[S];((_=h[T][b])<t[T][0]||_>t[T][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return s<o&&(e._indices=a),e._count=s,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=[1/0,-1/0];for(var c=0;c<a;c++){for(var h=t.getRawIndex(c),p=0;p<o;p++)s[p]=i[e[p]][h];s[o]=c;var f=n&&n.apply(null,s);if(null!=f){"object"!=typeof f&&(r[0]=f,f=r);for(u=0;
vendor: 7,737 bytes, line 1
1u<f.length;u++){var d=e[u],g=f[u],m=l[d],v=i[d];v&&(v[h]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),h=new(Tf(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));h[l++]=c;for(var p=1;p<s-1;p+=u){for(var f=Math.min(p+u,s-1),d=Math.min(p+2*u,s),g=(d+f)/2,m=0,v=f;v<d;v++){var y=a[M=this.getRawIndex(v)];isNaN(y)||(m+=y)}m/=d-f;var _=p,x=Math.min(p+u,s),b=p-1,w=a[c];n=-1,r=_;var S=-1,T=0;for(v=_;v<x;v++){var M;y=a[M=this.getRawIndex(v)];isNaN(y)?(T++,S<0&&(S=M)):(i=Math.abs((b-g)*(y-w)-(b-v)*(m-w)))>n&&(n=i,r=M)}T>0&&T<x-_&&(h[l++]=Math.min(S,r),r=Math.max(S,r)),h[l++]=r,c=r}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new(Tf(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;u<a;u+=r){var c=u,h=o[this.getRawIndex(c)],p=u,f=o[this.getRawIndex(p)],d=r;u+r>a&&(d=a-u);for(var g=0;g<d;g++){var m=o[this.getRawIndex(u+g)];m<h&&(h=m,c=u+g),m>f&&(f=m,p=u+g)}var v=this.getRawIndex(c),y=this.getRawIndex(p);c<p?(s[l++]=v,s[l++]=y):(s[l++]=y,s[l++]=v)}return n._count=l,n._indices=s,n._updateGetRawIdx(),n},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=r._rawExtent[t]=[1/0,-1/0],h=new(Tf(this._rawCount))(Math.ceil(u/s)),p=0,f=0;f<u;f+=s){s>u-f&&(s=u-f,a.length=s);for(var d=0;d<s;d++){var g=this.getRawIndex(f+d);a[d]=l[g]}var m=n(a),v=this.getRawIndex(Math.min(f+i(a,m)||0,u-1));l[v]=m,m<c[0]&&(c[0]=m),m>c[1]&&(c[1]=m),h[p++]=v}return r._count=p,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var i,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();for(var o=(i=n)[0],a=i[1],s=0;s<r;s++){var l=e[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i,r,o=new t,a=this._chunks,s=e&&V(e,(function(t,e){return t[e]=!0,t}),{});if(s)for(var l=0;l<a.length;l++)o._chunks[l]=s[l]?(i=a[l],r=void 0,(r=i.constructor)===Array?i.slice():new r(i)):a[l];else o._chunks=a;return this._copyCommonProps(o),n||(o._indices=this._cloneIndices()),o._updateGetRawIdx(),o},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=D(this._extent),t._rawExtent=D(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return tf(t[i],this._dimensions[i])}vf={arrayRows:t,objectRows:function(t,e,n,i){return tf(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return tf(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),Af=Cf,If=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Df(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=J(a=o.get("data",!0))?_h:gh,e=[];var c=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},p=it(c.seriesLayoutBy,h.seriesLayoutBy)||null,f=it(c.sourceHeader,h.sourceHeader),d=it(c.dimensions,h.dimensions);t=p!==h.seriesLayoutBy||!!f!=!!h.sourceHeader||d?[Ip(a,{seriesLayoutBy:p,sourceHeader:f,dimensions:d},s)]:[]}else{var g=n;if(r){var m=this._applyTransform(i);t=m.sourceList,e=m.upstreamSignList}else{t=[Ip(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){1!==t.length&&Pf("")}var o,a=[],s=[];return B(t,(function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||Pf(""),a.push(e),s.push(t._getVersionSign())})),i?e=function(t,e,n){var i=Co(t),r=i.length;r||Qp("");for(var o=0,a=r;o<a;o++)e=gf(i[o],e),o!==a-1&&(e.length=Math.max(e.length,1));return e}(i,a,n.componentIndex):null!=r&&(e=[(o=a[0],new Cp({data:o.data,sourceFormat:o.sourceFormat,seriesLayoutBy:o.seriesLayoutBy,dimensionsDefine:D(o.dimensionsDefine),startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount}))]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];Df(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new Af).initData(new Lp(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(Df(t)){var e=Ah(t);return e?[e.getSourceManager()]:[]}return z(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?Ho(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},Go).models:[]}(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(Df(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function kf(t){t.option.transform&&ct(t.option.transform)}function Df(t){return"series"===t.mainType}function Pf(t){throw new Error(t)}
vendor: 14,621 bytes, line 1
1var Of="line-height:1";function Ef(t){var e=t.lineHeight;return null==e?Of:"line-height:"+ne(e+"")+"px"}function Lf(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,r=t.fontWeight||"400",o=t.color||"#464646",a=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+ne(i+"")+"px;color:"+ne(n)+";font-weight:"+ne(r+""),valueStyle:"font-size:"+ne(a+"")+"px;color:"+ne(o)+";font-weight:"+ne(s+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:r},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var Rf=[0,10,20,30],Nf=["","\n","\n\n","\n\n\n"];function Ff(t,e){return e.type=t,e}function Bf(t){return"section"===t.type}function zf(t){return Bf(t)?jf:Gf}function Vf(t){if(Bf(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return B(t.blocks,(function(t){var n=Vf(t);n>=e&&(e=n+ +(i&&(!n||Bf(t)&&!t.noHeader)))})),e}return 0}function jf(t,e,n,i){var r,o=e.noHeader,a=(r=Vf(e),{html:Rf[r],richText:Nf[r]}),s=[],l=e.blocks||[];st(!l||Z(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(_t(c,u)){var h=new af(c[u],null);l.sort((function(t,e){return h.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}B(l,(function(n,r){var o=e.valueFormatter,l=zf(n)(o?E(E({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var p="richText"===t.renderMode?s.join(a.richText):Hf(i,s.join(""),o?n:a.html);if(o)return p;var f=Zc(e.header,"ordinal",t.useUTC),d=Lf(i,t.renderMode).nameStyle,g=Ef(i);return"richText"===t.renderMode?Zf(t,f,d)+a.richText+p:Hf(i,'<div style="'+d+";"+g+';">'+ne(f)+"</div>"+p,n)}function Gf(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,c=e.valueFormatter||t.valueFormatter||function(t){return z(t=Z(t)?t:[t],(function(t,e){return Zc(t,Z(f)?f[e]:f,u)}))};if(!o||!a){var h=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":Zc(l,"ordinal",u),f=e.valueType,d=a?[]:c(e.value,e.dataIndex),g=!s||!o,m=!s&&o,v=Lf(i,r),y=v.nameStyle,_=v.valueStyle;return"richText"===r?(s?"":h)+(o?"":Zf(t,p,y))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Z(e)?e.join(" "):e,o)}(t,d,g,m,_)):Hf(i,(s?"":h)+(o?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+ne(t)+"</span>"}(p,!s,y))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=Z(t)?t:[t],'<span style="'+o+";"+i+'">'+z(t,(function(t){return ne(t)})).join(" ")+"</span>"}(d,g,m,_)),n)}}function Wf(t,e,n,i,r,o){if(t)return zf(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function Hf(t,e,n){return'<div style="'+("margin: "+n+"px 0 0")+";"+Ef(t)+';">'+e+'<div style="clear:both"></div></div>'}function Zf(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function $f(t,e){return qc(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Uf(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var Xf=function(){function t(){this.richTextStyles={},this._nextStyleNameId=xo()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=function(t,e){var n=U(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";return i?"html"===o?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+ne(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+ne(i)+";"+(e||"")+'"></span>':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}({color:e,type:t,renderMode:n,markerId:i});return U(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Z(e)?B(e,(function(t){return E(n,t)})):E(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function qf(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,h=o.getRawValue(a),p=Z(h),f=$f(o,a);if(c>1||p&&!c){var d=function(t,e,n,i,r){var o=e.getData(),a=V(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function c(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(Ff("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?B(i,(function(t){c(Zp(o,n,t),t)})):B(t,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}(h,o,a,u,f);e=d.inlineValues,n=d.inlineValueTypes,i=d.blocks,r=d.inlineValues[0]}else if(c){var g=l.getDimensionInfo(u[0]);r=e=Zp(l,a,u[0]),n=g.type}else r=e=p?h[0]:h;var m=Ro(o),v=m&&o.name||"",y=l.getName(a),_=s?v:y;return Ff("section",{header:v,noHeader:s||!m,sortParam:r,blocks:[Ff("nameValue",{markerType:"item",markerColor:f,name:_,noName:!lt(_),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var Yf=Bo();function Kf(t,e){return t.getName(e)||t.getId(e)}var Jf="__universalTransitionEnabled",Qf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return o(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=qp({count:ed,reset:nd}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(Yf(this).sourceManager=new If(this)).prepareSource();var i=this.getInitialData(t,n);rd(i,this),this.dataTask.context.data=i,Yf(this).dataBeforeProcessed=i,td(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=rh(this),i=n?ah(t):{},r=this.subType;ch.hasClass(r)&&(r+="Series"),P(t,e.getTheme().get(this.subType)),P(t,this.getDefaultOption()),Ao(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&oh(t,i,n)},e.prototype.mergeOption=function(t,e){t=P(this.option,t,!0),this.fillDataTextStyle(t.data);var n=rh(this);n&&oh(this.option,t,n);var i=Yf(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);rd(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,Yf(this).dataBeforeProcessed=r,td(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!J(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&Ao(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=ad(this);if(e){var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n}return Yf(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=ad(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}Yf(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return gt(t)},e.prototype.getSourceManager=function(){return Yf(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return Yf(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return qf({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(l.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=Nh.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=Kf(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=G(t),n=[],i=0;i<e.length;i++){var r=t[e[i]];r>=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[Kf(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[Jf])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){Y(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l<a;l++){var u=e[l];s[h=Kf(t,u)]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(u)}}else if("single"===o||!0===o){var c=e[a-1],h=Kf(t,c);r.selectedMap=((n={})[h]=!0,n),this._selectedDataIndicesMap=((i={})[h]=t.getRawIndex(c),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return ch.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(ch);function td(t){var e=t.name;Ro(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return B(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function ed(t){return t.model.getRawData().count()}function nd(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),id}function id(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function rd(t,e){B(mt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,H(od,e))}))}function od(t,e){var n=ad(t);return n&&n.setOutputEnd((e||this).count()),e}function ad(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}N(Qf,Up),N(Qf,Nh),Qo(Qf,ch);var sd=Qf,ld=function(){function t(){this.group=new $r,this.uid=nc("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();Jo(ld),ia(ld);var ud=ld;function cd(){var t=Bo();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}var hd=fs.CMD,pd=[[],[],[]],fd=Math.sqrt,dd=Math.atan2;function gd(t,e){if(e){var n,i,r,o,a,s,l=t.data,u=t.len(),c=hd.M,h=hd.C,p=hd.L,f=hd.R,d=hd.A,g=hd.Q;for(r=0,o=0;r<u;){switch(n=l[r++],o=r,i=0,n){case c:case p:i=1;break;case h:i=3;break;case g:i=2;break;case d:var m=e[4],v=e[5],y=fd(e[0]*e[0]+e[1]*e[1]),_=fd(e[2]*e[2]+e[3]*e[3]),x=dd(-e[1]/_,e[0]/y);l[r]*=y,l[r++]+=m,l[r]*=_,l[r++]+=v,l[r++]*=y,l[r++]*=_,l[r++]+=x,l[r++]+=x,o=r+=2;break;case f:s[0]=l[r++],s[1]=l[r++],zt(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],zt(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<i;a++){var b=pd[a];b[0]=l[r++],b[1]=l[r++],zt(b,b,e),l[o++]=b[0],l[o++]=b[1]}}t.increaseVersion()}}var md=Math.sqrt,vd=Math.sin,yd=Math.cos,_d=Math.PI;function xd(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function bd(t,e){return(t[0]*e[0]+t[1]*e[1])/(xd(t)*xd(e))}function wd(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(bd(t,e))}function Sd(t,e,n,i,r,o,a,s,l,u,c){var h=l*(_d/180),p=yd(h)*(t-n)/2+vd(h)*(e-i)/2,f=-1*vd(h)*(t-n)/2+yd(h)*(e-i)/2,d=p*p/(a*a)+f*f/(s*s);d>1&&(a*=md(d),s*=md(d));var g=(r===o?-1:1)*md((a*a*(s*s)-a*a*(f*f)-s*s*(p*p))/(a*a*(f*f)+s*s*(p*p)))||0,m=g*a*f/s,v=g*-s*p/a,y=(t+n)/2+yd(h)*m-vd(h)*v,_=(e+i)/2+vd(h)*m+yd(h)*v,x=wd([1,0],[(p-m)/a,(f-v)/s]),b=[(p-m)/a,(f-v)/s],w=[(-1*p-m)/a,(-1*f-v)/s],S=wd(b,w);if(bd(b,w)<=-1&&(S=_d),bd(b,w)>=1&&(S=0),S<0){var T=Math.round(S/_d*1e6)/1e6;S=2*_d+T%2*_d}c.addData(u,y,_,a,s,x,S,h,o)}var Td=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Md=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var Cd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return St(e,t),e.prototype.applyTransform=function(t){},e}(Rs);function Ad(t){return null!=t.setData}function Id(t,e){var n=function(t){var e=new fs;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=fs.CMD,l=t.match(Td);if(!l)return e;for(var u=0;u<l.length;u++){for(var c=l[u],h=c.charAt(0),p=void 0,f=c.match(Md)||[],d=f.length,g=0;g<d;g++)f[g]=parseFloat(f[g]);for(var m=0;m<d;){var v=void 0,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0,S=void 0,T=i,M=r,C=void 0,A=void 0;switch(h){case"l":i+=f[m++],r+=f[m++],p=s.L,e.addData(p,i,r);break;case"L":i=f[m++],r=f[m++],p=s.L,e.addData(p,i,r);break;case"m":i+=f[m++],r+=f[m++],p=s.M,e.addData(p,i,r),o=i,a=r,h="l";break;case"M":i=f[m++],r=f[m++],p=s.M,e.addData(p,i,r),o=i,a=r,h="L";break;case"h":i+=f[m++],p=s.L,e.addData(p,i,r);break;case"H":i=f[m++],p=s.L,e.addData(p,i,r);break;case"v":r+=f[m++],p=s.L,e.addData(p,i,r);break;case"V":r=f[m++],p=s.L,e.addData(p,i,r);break;
vendor: 1,067 bytes, line 1
1case"C":p=s.C,e.addData(p,f[m++],f[m++],f[m++],f[m++],f[m++],f[m++]),i=f[m-2],r=f[m-1];break;case"c":p=s.C,e.addData(p,f[m++]+i,f[m++]+r,f[m++]+i,f[m++]+r,f[m++]+i,f[m++]+r),i+=f[m-2],r+=f[m-1];break;case"S":v=i,y=r,C=e.len(),A=e.data,n===s.C&&(v+=i-A[C-4],y+=r-A[C-3]),p=s.C,T=f[m++],M=f[m++],i=f[m++],r=f[m++],e.addData(p,v,y,T,M,i,r);break;case"s":v=i,y=r,C=e.len(),A=e.data,n===s.C&&(v+=i-A[C-4],y+=r-A[C-3]),p=s.C,T=i+f[m++],M=r+f[m++],i+=f[m++],r+=f[m++],e.addData(p,v,y,T,M,i,r);break;case"Q":T=f[m++],M=f[m++],i=f[m++],r=f[m++],p=s.Q,e.addData(p,T,M,i,r);break;case"q":T=f[m++]+i,M=f[m++]+r,i+=f[m++],r+=f[m++],p=s.Q,e.addData(p,T,M,i,r);break;case"T":v=i,y=r,C=e.len(),A=e.data,n===s.Q&&(v+=i-A[C-4],y+=r-A[C-3]),i=f[m++],r=f[m++],p=s.Q,e.addData(p,v,y,i,r);break;case"t":v=i,y=r,C=e.len(),A=e.data,n===s.Q&&(v+=i-A[C-4],y+=r-A[C-3]),i+=f[m++],r+=f[m++],p=s.Q,e.addData(p,v,y,i,r);break;case"A":_=f[m++],x=f[m++],b=f[m++],w=f[m++],S=f[m++],Sd(T=i,M=r,i=f[m++],r=f[m++],w,S,_,x,b,p=s.A,e);break;case"a":_=f[m++],x=f[m++],b=f[m++],w=f[m++],S=f[m++],Sd(T=i,M=r,
vendor: 10,309 bytes, line 1
1i+=f[m++],r+=f[m++],w,S,_,x,b,p=s.A,e)}}"z"!==h&&"Z"!==h||(p=s.Z,e.addData(p),i=o,r=a),n=p}return e.toStatic(),e}(t),i=E({},e);return i.buildPath=function(t){if(Ad(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){gd(n,t),this.dirtyShape()},i}function kd(t,e){return new Cd(Id(t,e))}function Dd(t,e){e=e||{};var n=new Rs;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?gd(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var Pd=function(){this.cx=0,this.cy=0,this.r=0},Od=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new Pd},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(Rs);Od.prototype.type="circle";var Ed=Od,Ld=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},Rd=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new Ld},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()},e}(Rs);Rd.prototype.type="ellipse";var Nd=Rd,Fd=Math.PI,Bd=2*Fd,zd=Math.sin,Vd=Math.cos,jd=Math.acos,Gd=Math.atan2,Wd=Math.abs,Hd=Math.sqrt,Zd=Math.max,$d=Math.min,Ud=1e-4;function Xd(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/Hd(s*s+l*l),c=u*l,h=-u*s,p=t+c,f=e+h,d=n+c,g=i+h,m=(p+d)/2,v=(f+g)/2,y=d-p,_=g-f,x=y*y+_*_,b=r-o,w=p*g-d*f,S=(_<0?-1:1)*Hd(Zd(0,b*b*x-w*w)),T=(w*_-y*S)/x,M=(-w*y-_*S)/x,C=(w*_+y*S)/x,A=(-w*y+_*S)/x,I=T-m,k=M-v,D=C-m,P=A-v;return I*I+k*k>D*D+P*P&&(T=C,M=A),{cx:T,cy:M,x0:-c,y0:-h,x1:T*(r/b-1),y1:M*(r/b-1)}}function qd(t,e){var n,i=Zd(e.r,0),r=Zd(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,c=e.cy,h=!!e.clockwise,p=Wd(l-s),f=p>Bd&&p%Bd;if(f>Ud&&(p=f),i>Ud)if(p>Bd-Ud)t.moveTo(u+i*Vd(s),c+i*zd(s)),t.arc(u,c,i,s,l,!h),r>Ud&&(t.moveTo(u+r*Vd(l),c+r*zd(l)),t.arc(u,c,r,l,s,h));else{var d=void 0,g=void 0,m=void 0,v=void 0,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0,S=void 0,T=void 0,M=void 0,C=void 0,A=void 0,I=void 0,k=void 0,D=i*Vd(s),P=i*zd(s),O=r*Vd(l),E=r*zd(l),L=p>Ud;if(L){var R=e.cornerRadius;R&&(n=function(t){var e;if(Z(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(R),d=n[0],g=n[1],m=n[2],v=n[3]);var N=Wd(i-r)/2;if(y=$d(N,m),_=$d(N,v),x=$d(N,d),b=$d(N,g),T=w=Zd(y,_),M=S=Zd(x,b),(w>Ud||S>Ud)&&(C=i*Vd(l),A=i*zd(l),I=r*Vd(s),k=r*zd(s),p<Fd)){var F=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,p=h*l-c*u;if(!(p*p<Ud))return[t+(p=(c*(e-o)-h*(t-r))/p)*l,e+p*u]}(D,P,I,k,C,A,O,E);if(F){var B=D-F[0],z=P-F[1],V=C-F[0],j=A-F[1],G=1/zd(jd((B*V+z*j)/(Hd(B*B+z*z)*Hd(V*V+j*j)))/2),W=Hd(F[0]*F[0]+F[1]*F[1]);T=$d(w,(i-W)/(G+1)),M=$d(S,(r-W)/(G-1))}}}if(L)if(T>Ud){var H=$d(m,T),$=$d(v,T),U=Xd(I,k,D,P,i,H,h),X=Xd(C,A,O,E,i,$,h);t.moveTo(u+U.cx+U.x0,c+U.cy+U.y0),T<w&&H===$?t.arc(u+U.cx,c+U.cy,T,Gd(U.y0,U.x0),Gd(X.y0,X.x0),!h):(H>0&&t.arc(u+U.cx,c+U.cy,H,Gd(U.y0,U.x0),Gd(U.y1,U.x1),!h),t.arc(u,c,i,Gd(U.cy+U.y1,U.cx+U.x1),Gd(X.cy+X.y1,X.cx+X.x1),!h),$>0&&t.arc(u+X.cx,c+X.cy,$,Gd(X.y1,X.x1),Gd(X.y0,X.x0),!h))}else t.moveTo(u+D,c+P),t.arc(u,c,i,s,l,!h);else t.moveTo(u+D,c+P);if(r>Ud&&L)if(M>Ud){H=$d(d,M),U=Xd(O,E,C,A,r,-($=$d(g,M)),h),X=Xd(D,P,I,k,r,-H,h);t.lineTo(u+U.cx+U.x0,c+U.cy+U.y0),M<S&&H===$?t.arc(u+U.cx,c+U.cy,M,Gd(U.y0,U.x0),Gd(X.y0,X.x0),!h):($>0&&t.arc(u+U.cx,c+U.cy,$,Gd(U.y0,U.x0),Gd(U.y1,U.x1),!h),t.arc(u,c,r,Gd(U.cy+U.y1,U.cx+U.x1),Gd(X.cy+X.y1,X.cx+X.x1),h),H>0&&t.arc(u+X.cx,c+X.cy,H,Gd(X.y1,X.x1),Gd(X.y0,X.x0),!h))}else t.lineTo(u+O,c+E),t.arc(u,c,r,l,s,h);else t.lineTo(u+O,c+E)}else t.moveTo(u,c);t.closePath()}}}var Yd=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Kd=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new Yd},e.prototype.buildPath=function(t,e){qd(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Rs);Kd.prototype.type="sector";var Jd=Kd,Qd=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},tg=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new Qd},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Rs);tg.prototype.type="ring";var eg=tg;function ng(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],c=[],h=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,f=t.length;p<f;p++)Vt(a,a,t[p]),jt(s,s,t[p]);Vt(a,a,i[0]),jt(s,s,i[1])}for(p=0,f=t.length;p<f;p++){var d=t[p];if(n)r=t[p?p-1:f-1],o=t[(p+1)%f];else{if(0===p||p===f-1){l.push(Ct(t[p]));continue}r=t[p-1],o=t[p+1]}Dt(u,o,r),Et(u,u,e);var g=Rt(d,r),m=Rt(d,o),v=g+m;0!==v&&(g/=v,m/=v),Et(c,u,-g),Et(h,u,m);var y=It([],d,c),_=It([],d,h);i&&(jt(y,y,a),Vt(y,y,s),jt(_,_,a),Vt(_,_,s)),l.push(y),l.push(_)}return n&&l.push(l.shift()),l}(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var h=r.length;s<h;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}var ig=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},rg=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new ig},e.prototype.buildPath=function(t,e){ng(t,e,!0)},e}(Rs);rg.prototype.type="polygon";var og=rg,ag=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},sg=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new ag},e.prototype.buildPath=function(t,e){ng(t,e,!1)},e}(Rs);sg.prototype.type="polyline";var lg=sg,ug={},cg=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},hg=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new cg},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Hs(ug,e,this.style);n=a.x1,i=a.y1,r=a.x2,o=a.y2}else n=e.x1,i=e.y1,r=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,o=i*(1-s)+o*s),t.lineTo(r,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(Rs);hg.prototype.type="line";var pg=hg,fg=[],dg=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function gg(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?Sn:wn)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Sn:wn)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?Dn:kn)(t.x1,t.cpx1,t.x2,e),(n?Dn:kn)(t.y1,t.cpy1,t.y2,e)]}var mg=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new dg},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(n,i),null==l||null==u?(c<1&&(On(n,a,r,c,fg),a=fg[1],r=fg[2],On(i,s,o,c,fg),s=fg[1],o=fg[2]),t.quadraticCurveTo(a,s,r,o)):(c<1&&(Cn(n,a,l,r,c,fg),a=fg[1],l=fg[2],r=fg[3],Cn(i,s,u,o,c,fg),s=fg[1],u=fg[2],o=fg[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return gg(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=gg(this.shape,t,!0);return Lt(e,e)},e}(Rs);mg.prototype.type="bezier-curve";var vg=mg,yg=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},_g=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new yg},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(Rs);_g.prototype.type="arc";var xg=_g,bg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return St(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Rs.prototype.getBoundingRect.call(this)},e}(Rs),wg=bg,Sg=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),Tg=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return St(e,t),e}(Sg),Mg=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return St(e,t),e}(Sg),Cg=[0,0],Ag=[0,0],Ig=new Te,kg=new Te,Dg=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Te;for(n=0;n<2;n++)this._axes[n]=new Te;
vendor: 3,046 bytes, line 1
1t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,r=t.x,o=t.y,a=r+t.width,s=o+t.height;if(n[0].set(r,o),n[1].set(a,o),n[2].set(a,s),n[3].set(r,s),e)for(var l=0;l<4;l++)n[l].transform(e);Te.sub(i[0],n[1],n[0]),Te.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return Ig.set(1/0,1/0),kg.set(0,0),!this._intersectCheckOneSide(this,t,Ig,kg,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,Ig,kg,i,-1)&&(n=!1,i)||i||Te.copy(e,n?Ig:kg),n},t.prototype._intersectCheckOneSide=function(t,e,n,i,r,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,Cg),this._getProjMinMaxOnAxis(s,e._corners,Ag),Cg[1]<Ag[0]||Cg[0]>Ag[1]){if(a=!1,r)return a;var u=Math.abs(Ag[0]-Cg[1]),c=Math.abs(Cg[0]-Ag[1]);Math.min(u,c)>i.len()&&(u<c?Te.scale(i,l,-u*o):Te.scale(i,l,c*o))}else if(n){u=Math.abs(Ag[0]-Cg[1]),c=Math.abs(Cg[0]-Ag[1]);Math.min(u,c)<n.len()&&(u<c?Te.scale(n,l,u*o):Te.scale(n,l,-c*o))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}(),Pg=Dg,Og=[],Eg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return St(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Le(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();
vendor: 9,619 bytes, line 1
1n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(Og)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},e}(Oa),Lg=Eg,Rg=Math.max,Ng=Math.min,Fg={};function Bg(t){return Rs.extend(t)}var zg=function(t,e){var n=Id(t,e);return function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return St(e,t),e}(Cd)};function Vg(t,e){return zg(t,e)}function jg(t,e){Fg[t]=e}function Gg(t){if(Fg.hasOwnProperty(t))return Fg[t]}function Wg(t,e,n,i){var r=kd(t,e);return n&&("center"===i&&(n=Zg(n,r.getBoundingRect())),Ug(r,n)),r}function Hg(t,e,n){var i=new Gs({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(Zg(e,r))}}});return i}function Zg(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var $g=function(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];n.push(o.getUpdatedPathProxy(!0))}var a=new Rs(e);return a.createPathProxy(),a.buildPath=function(t){if(Ad(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function Ug(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function Xg(t,e){return Hs(t,t,{lineWidth:e}),t}function qg(t){return Zs(t.shape,t.shape,t.style),t}var Yg=$s;function Kg(t,e){for(var n=me([]);t&&t!==e;)ye(n,t.getLocalTransform(),n),t=t.parent;return n}function Jg(t,e,n){return e&&!F(e)&&(e=Tr.getLocalTransform(e)),n&&(e=we([],e)),zt([],t,e)}function Qg(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=Jg(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function tm(t){return!t.isGroup}function em(t,e,n){if(t&&e){var i=function(t){var e={};return t.traverse((function(t){tm(t)&&t.anid&&(e[t.anid]=t)})),e}(t);e.traverse((function(t){if(tm(t)&&t.anid){var e=i[t.anid];if(e){var o=r(t);t.attr(r(e)),yu(t,o,n,fl(t).dataIndex)}}}))}function r(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=E({},t.shape)),e}}function nm(t,e){return z(t,(function(t){var n=t[0];n=Rg(n,e.x),n=Ng(n,e.x+e.width);var i=t[1];return i=Rg(i,e.y),[n,i=Ng(i,e.y+e.height)]}))}function im(t,e){var n=Rg(t.x,e.x),i=Ng(t.x+t.width,e.x+e.width),r=Rg(t.y,e.y),o=Ng(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function rm(t,e,n){var i=E({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),L(r,n),new Gs(i)):Wg(t.replace("path://",""),i,n,"center")}function om(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(am(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function am(t,e,n,i,r,o,a,s){var l,u=n-t,c=i-e,h=a-r,p=s-o,f=sm(h,p,u,c);if((l=f)<=1e-6&&l>=-1e-6)return!1;var d=t-r,g=e-o,m=sm(d,g,u,c)/f;if(m<0||m>1)return!1;var v=sm(d,g,h,p)/f;return!(v<0||v>1)}function sm(t,e,n,i){return t*i-n*e}function lm(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=U(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&B(G(l),(function(t){_t(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=fl(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:L({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function um(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function cm(t,e){if(t)if(Z(t))for(var n=0;n<t.length;n++)um(t[n],e);else um(t,e)}jg("circle",Ed),jg("ellipse",Nd),jg("sector",Jd),jg("ring",eg),jg("polygon",og),jg("polyline",lg),jg("rect",Ys),jg("line",pg),jg("bezierCurve",vg),jg("arc",xg);var hm=Bo(),pm=cd(),fm=function(){function t(){this.group=new $r,this.uid=nc("viewChart"),this.renderTask=qp({plan:mm,reset:vm}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&gm(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&gm(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){cm(this.group,t)},t.markUpdateMethod=function(t,e){hm(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function dm(t,e,n){t&&pu(t)&&("emphasis"===e?$l:Ul)(t,n)}function gm(t,e,n){var i=Fo(t,e),r=e&&null!=e.highlightKey?function(t){var e=ml[t];return null==e&&gl<=32&&(e=ml[t]=gl++),e}(e.highlightKey):null;null!=i?B(Co(i),(function(e){dm(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){dm(t,n,r)}))}function mm(t){return pm(t.model)}function vm(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&hm(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),ym[l]}Jo(fm),ia(fm);var ym={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},_m=fm,xm="\0__throttleOriginMethod",bm="\0__throttleRate",wm="\0__throttleType";function Sm(t,e,n){var i,r,o,a,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];i=(new Date).getTime(),o=this,a=t;var f=s||e,d=s||n;s=null,r=i-(d?l:u)-f,clearTimeout(c),d?c=setTimeout(h,f):r>=0?h():c=setTimeout(h,-r),l=i};return p.clear=function(){c&&(clearTimeout(c),c=null)},p.debounceNextCall=function(t){s=t},p}function Tm(t,e,n,i){var r=t[e];if(r){var o=r[xm]||r,a=r[wm];if(r[bm]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=Sm(o,n,"debounce"===i))[xm]=o,r[wm]=i,r[bm]=n}return r}}function Mm(t,e){var n=t[e];n&&n[xm]&&(n.clear&&n.clear(),t[e]=n[xm])}var Cm=Bo(),Am={itemStyle:ra(Yu,!0),lineStyle:ra(Uu,!0)},Im={lineStyle:"stroke",itemStyle:"fill"};function km(t,e){var n=t.visualStyleMapper||Am[e];return n||Am.itemStyle}function Dm(t,e){var n=t.visualDrawType||Im[e];return n||"fill"}var Pm={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=km(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=Dm(t,i),l=o[s],u=$(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=h,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||$(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||$(o.stroke)?h:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=E({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},Om=new tc,Em={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=km(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){Om.option=n[i];var a=r(Om);E(t.ensureUniqueItemVisual(e,"style"),a),Om.option.decal&&(t.setItemVisual(e,"decal",Om.option.decal),Om.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Lm={performRawSeries:!0,overallReset:function(t){var e=gt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Cm(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Cm(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=Dm(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",c=n.count();l[s]=e.getColorFromPalette(u,o,c)}}))}}))}},Rm=Math.PI;var Nm=function(){function t(t,e,n,i){this._stageTaskMap=gt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;
vendor: 4,818 bytes, line 1
1t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=gt();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;B(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{});st(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}B(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,p=c.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),h=!0)})),h&&c.dirty(),o.updatePayload(c,n);var f=o.getPerformArgs(c,i.block);p.each((function(t){t.perform(f)})),c.perform(f)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=gt(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||qp({plan:jm,reset:Gm,count:Zm}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||qp({reset:Fm});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=gt(),l=t.seriesType,u=t.getTargetSeries,c=!0,h=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(h=!0,qp({reset:Bm,onDirty:Vm})));n.context={model:t,overallProgress:c},n.agent=o,n.__block=c,r._pipe(t,n)}st(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(c=!1,B(n.getSeries(),p)),h&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return $(t)&&(t={overallReset:t,seriesType:$m(t)}),t.uid=nc("stageHandler"),e&&(t.visualType=e),t},t}();function Fm(t){t.overallReset(t.ecModel,t.api,t.payload)}function Bm(t){return t.overallProgress&&zm}function zm(){this.agent.dirty(),this.getDownstream().dirty()}function Vm(){this.agent&&this.agent.dirty()}function jm(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Gm(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Co(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?z(e,(function(t,e){return Hm(e)})):Wm}var Wm=Hm(0);function Hm(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function Zm(t){return t.data.count()}function $m(t){Um=null;try{t(Xm,qm)}catch(t){}return Um}var Um,Xm={},qm={};function Ym(t,e){for(var n in e.prototype)t[n]=xt}Ym(Xm,Hh),Ym(qm,$h),Xm.eachSeriesByType=Xm.eachRawSeriesByType=function(t){Um=t},Xm.eachComponent=function(t){"series"===t.mainType&&t.subType&&(Um=t.subType)};var Km=Nm,Jm=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Qm={color:Jm,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Jm]}
vendor: 44,976 bytes, line 1
1,tv="#B9B8CE",ev="#100C2A",nv=function(){return{axisLine:{lineStyle:{color:tv}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},iv=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],rv={darkMode:!0,color:iv,backgroundColor:ev,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:tv},pageTextStyle:{color:tv}},textStyle:{color:tv},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:tv}},dataZoom:{borderColor:"#71708A",textStyle:{color:tv},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:tv}},timeline:{lineStyle:{color:tv},label:{color:tv},controlStyle:{color:tv,borderColor:tv}},calendar:{itemStyle:{color:ev},dayLabel:{color:tv},monthLabel:{color:tv},yearLabel:{color:tv}},timeAxis:nv(),logAxis:nv(),valueAxis:nv(),categoryAxis:nv(),line:{symbol:"circle"},graph:{color:iv},gauge:{title:{color:tv},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:tv},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};rv.categoryAxis.splitLine.show=!1;var ov=rv,av=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(U(t)){var r=Ko(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};B(t,(function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),sv=["symbol","symbolSize","symbolRotate","symbolOffset"],lv=sv.concat(["symbolKeepAspect"]),uv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<sv.length;a++){var s=sv[a],l=t.get(s);$(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual(E({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=G(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}},cv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<lv.length;i++){var r=lv[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}};function hv(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function pv(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function fv(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i)}}function dv(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){i.push(t.seriesIndex)})),i}B([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,i,r){e=E({},e),r.dispatchAction(E(e,{type:t[1],seriesIndex:n(i,e)}))}))}))}function gv(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,a=r.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),u=Fo(l,r.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:Z(u)?l.getName(u[0]):l.getName(u),selected:U(i)?i:E({},i)})}}))}function mv(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}var vv=Math.round(9*Math.random()),yv="function"==typeof Object.defineProperty,_v=function(){function t(){this._id="__ec_inner_"+vv++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return yv?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),xv=_v,bv=Rs.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),wv=Rs.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),Sv=Rs.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),p=Math.cos(u),f=.6*a,d=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*f,l+s+p*f,n,i-d,n,i),t.bezierCurveTo(n,i-d,n-c+h*f,l+s+p*f,n-c,l+s),t.closePath()}}),Tv=Rs.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),Mv={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},Cv={};B({line:pg,rect:Ys,roundRect:Ys,square:Ys,circle:Ed,diamond:wv,pin:Sv,arrow:Tv,triangle:bv},(function(t,e){Cv[e]=new t}));var Av=Rs.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=Er(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=Cv[i];r||(r=Cv[i="rect"]),Mv[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function Iv(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function kv(t,e,n,i,r,o,a){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?Hg(t.slice(8),new Le(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?Wg(t.slice(7),{},new Le(e,n,i,r),a?"center":"cover"):new Av({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=l,s.setColor=Iv,o&&s.setColor(o),s}function Dv(t){return Z(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function Pv(t,e){if(null!=t)return Z(t)||(t=[t,t]),[eo(t[0],e[0])||0,eo(it(t[1],t[0]),e[1])||0]}function Ov(t){return isFinite(t)}function Ev(t,e,n){for(var i="radial"===e.type?function(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*i+n.x,s=s*r+n.y,l*=o),a=Ov(a)?a:.5,s=Ov(s)?s:.5,l=l>=0&&Ov(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=Ov(i)?i:0,r=Ov(r)?r:1,o=Ov(o)?o:0,a=Ov(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o<r.length;o++)i.addColorStop(r[o].offset,r[o].color);return i}function Lv(t){return parseInt(t,10)}function Rv(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(t);return(t[r]||Lv(s[i])||Lv(t.style[i]))-(Lv(s[o])||0)-(Lv(s[a])||0)|0}function Nv(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:q(e)?[e]:Z(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=z(r,(function(t){return t/a})),o/=a)}return[r,o]}var Fv=new fs(!0);function Bv(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function zv(t){return"string"==typeof t&&"none"!==t}function Vv(t){var e=t.fill;return null!=e&&"none"!==e}function jv(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function Gv(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function Wv(t,e,n){var i=ua(e.image,e.__image,n);if(ha(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*bt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var Hv=["shadowBlur","shadowOffsetX","shadowOffsetY"],Zv=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function $v(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){Qv(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Ma.opacity:a}(i||e.blend!==n.blend)&&(o||(Qv(t,r),o=!0),t.globalCompositeOperation=e.blend||Ma.blend);for(var s=0;s<Hv.length;s++){var l=Hv[s];(i||e[l]!==n[l])&&(o||(Qv(t,r),o=!0),t[l]=t.dpr*(e[l]||0))}return(i||e.shadowColor!==n.shadowColor)&&(o||(Qv(t,r),o=!0),t.shadowColor=e.shadowColor||Ma.shadowColor),o}function Uv(t,e,n,i,r){var o=ty(e,r.inHover),a=i?null:n&&ty(n,r.inHover)||{};if(o===a)return!1;var s=$v(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(Qv(t,r),s=!0),zv(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(Qv(t,r),s=!0),zv(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(Qv(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(Qv(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<Zv.length;u++){var c=Zv[u],h=c[0];(i||o[h]!==a[h])&&(s||(Qv(t,r),s=!0),t[h]=o[h]||c[1])}return s}function Xv(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}var qv=1,Yv=2,Kv=3,Jv=4;function Qv(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function ty(t,e){return e&&t.__hoverStyle||t.style}function ey(t,e){ny(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function ny(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~tn,void(e.__isRendered=!1);var o=e.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if(a&&!function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}(o,a)||(a&&a.length&&(Qv(t,n),t.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(Qv(t,n),t.save(),function(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),Xv(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}(o,t,n),s=!0),n.prevElClipPaths=o),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c,p,f=e instanceof Rs&&e.autoBatch&&function(t){var e=Vv(t),n=Bv(t);return!(t.lineDash||!(+e^+n)||e&&"string"!=typeof t.fill||n&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);s||(c=r,p=u.transform,c&&p?c[0]!==p[0]||c[1]!==p[1]||c[2]!==p[2]||c[3]!==p[3]||c[4]!==p[4]||c[5]!==p[5]:c||p)?(Qv(t,n),Xv(t,e)):f||Qv(t,n);var d=ty(e,n.inHover);e instanceof Rs?(n.lastDrawType!==qv&&(l=!0,n.lastDrawType=qv),Uv(t,e,u,l,n),f&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o=Bv(n),a=Vv(n),s=n.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var c=e.path||Fv,h=e.__dirty;if(!i){var p=n.fill,f=n.stroke,d=a&&!!p.colorStops,g=o&&!!f.colorStops,m=a&&!!p.image,v=o&&!!f.image,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0;(d||g)&&(w=e.getBoundingRect()),d&&(y=h?Ev(t,p,w):e.__canvasFillGradient,e.__canvasFillGradient=y),g&&(_=h?Ev(t,f,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),m&&(x=h||!e.__canvasFillPattern?Wv(t,p,e):e.__canvasFillPattern,e.__canvasFillPattern=x),v&&(b=h||!e.__canvasStrokePattern?Wv(t,f,e):e.__canvasStrokePattern,e.__canvasStrokePattern=x),d?t.fillStyle=y:m&&(x?t.fillStyle=x:a=!1),g?t.strokeStyle=_:v&&(b?t.strokeStyle=b:o=!1)}var S,T,M=e.getGlobalScale();c.setScale(M[0],M[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(S=(r=Nv(e))[0],T=r[1]);var C=!0;(u||h&en)&&(c.setDPR(t.dpr),l?c.setContext(null):(c.setContext(t),C=!1),c.reset(),e.buildPath(c,e.shape,i),c.toStatic(),e.pathUpdated()),C&&c.rebuildPath(t,l?s:1),S&&(t.setLineDash(S),t.lineDashOffset=T),i||(n.strokeFirst?(o&&Gv(t,n),a&&jv(t,n)):(a&&jv(t,n),o&&Gv(t,n))),S&&t.setLineDash([])}(t,e,d,f),f&&(n.batchFill=d.fill||"",n.batchStroke=d.stroke||"")):e instanceof Bs?(n.lastDrawType!==Kv&&(l=!0,n.lastDrawType=Kv),Uv(t,e,u,l,n),function(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||h,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(o=(i=Nv(e))[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(Bv(n)&&t.strokeText(r,n.x,n.y),Vv(n)&&t.fillText(r,n.x,n.y)):(Vv(n)&&t.fillText(r,n.x,n.y),Bv(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}(t,e,d)):e instanceof Gs?(n.lastDrawType!==Yv&&(l=!0,n.lastDrawType=Yv),function(t,e,n,i,r){$v(t,ty(e,r.inHover),n&&ty(n,r.inHover),i,r)}(t,e,u,l,n),function(t,e,n){var i=e.__image=ua(n.image,e.__image,e,e.onload);if(i&&ha(i)){var r=n.x||0,o=n.y||0,a=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=i.width,s=i.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;t.drawImage(i,u,c,n.sWidth,n.sHeight,r,o,a,s)}else if(n.sx&&n.sy){var h=a-(u=n.sx),p=s-(c=n.sy);t.drawImage(i,u,c,h,p,r,o,a,s)}else t.drawImage(i,r,o,a,s)}}(t,e,d)):e.getTemporalDisplayables&&(n.lastDrawType!==Jv&&(l=!0,n.lastDrawType=Jv),function(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=i.length;o<a;o++){(c=i[o]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),ny(t,c,s,o===a-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}for(var l=0,u=r.length;l<u;l++){var c;(c=r[l]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),ny(t,c,s,l===u-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),f&&i&&Qv(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var iy=new xv,ry=new jn(100),oy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function ay(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&iy.delete(t);var o=iy.get(t);if(o)return o;var a=L(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return function(t){for(var e,o=[n],s=!0,l=0;l<oy.length;++l){var u=a[oy[l]];if(null!=u&&!Z(u)&&!U(u)&&!q(u)&&"boolean"!=typeof u){s=!1;break}o.push(u)}if(s){e=o.join(",")+(r?"-svg":"");var c=ry.get(e);c&&(r?t.svgElement=c:t.image=c)}var h,p=ly(a.dashArrayX),f=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if(q(t)){var e=Math.ceil(t);return[e,e]}var n=z(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}(a.dashArrayY),d=sy(a.symbol),m=(b=p,z(b,(function(t){return uy(t)}))),v=uy(f),y=!r&&g.createCanvas(),_=r&&{tag:"g",attrs:{},key:"dcl",children:[]},x=function(){for(var t=1,e=0,n=m.length;e<n;++e)t=wo(t,m[e]);var i=1;for(e=0,n=d.length;e<n;++e)i=wo(i,d[e].length);t*=i;var r=v*m.length*d.length;0;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();var b;y&&(y.width=x.width*n,y.height=x.height*n,h=y.getContext("2d"));(function(){h&&(h.clearRect(0,0,y.width,y.height),a.backgroundColor&&(h.fillStyle=a.backgroundColor,h.fillRect(0,0,y.width,y.height)));for(var t=0,e=0;e<f.length;++e)t+=f[e];if(t<=0)return;var o=-v,s=0,l=0,u=0;for(;o<x.height;){if(s%2==0){for(var c=l/2%d.length,g=0,m=0,b=0;g<2*x.width;){var w=0;for(e=0;e<p[u].length;++e)w+=p[u][e];if(w<=0)break;if(m%2==0){var S=.5*(1-a.symbolSize),T=g+p[u][m]*S,M=o+f[s]*S,C=p[u][m]*a.symbolSize,A=f[s]*a.symbolSize,I=b/2%d[c].length;k(T,M,C,A,d[c][I])}g+=p[u][m],++b,++m===p[u].length&&(m=0)}++u===p.length&&(u=0)}o+=f[s],++l,++s===f.length&&(s=0)}function k(t,e,o,s,l){var u=r?1:n,c=kv(l,t*u,e*u,o*u,s*u,a.color,a.symbolKeepAspect);if(r){var p=i.painter.renderOneToVNode(c);p&&_.children.push(p)}else ey(h,c)}})(),s&&ry.put(e,y||_);t.image=y,t.svgElement=_,t.svgWidth=x.width,t.svgHeight=x.height}(s),s.rotation=a.rotation,s.scaleX=s.scaleY=r?1:1/n,iy.set(t,s),t.dirty=!1,s}function sy(t){if(!t||0===t.length)return[["rect"]];if(U(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!U(t[n])){e=!1;break}if(e)return sy([t]);var i=[];for(n=0;n<t.length;++n)U(t[n])?i.push([t[n]]):i.push(t[n]);return i}function ly(t){if(!t||0===t.length)return[[0,0]];if(q(t))return[[r=Math.ceil(t),r]];for(var e=!0,n=0;n<t.length;++n)if(!q(t[n])){e=!1;break}if(e)return ly([t]);var i=[];for(n=0;n<t.length;++n)if(q(t[n])){var r=Math.ceil(t[n]);i.push([r,r])}else{(r=z(t[n],(function(t){return Math.ceil(t)}))).length%2==1?i.push(r.concat(r)):i.push(r)}return i}function uy(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}var cy=new $t,hy={};var py=2e3,fy=4500,dy={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:py,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:fy,ARIA:6e3,DECAL:7e3}},gy="__flagInMainProcess",my="__pendingUpdate",vy="__needsUpdateStatus",yy=/^[a-zA-Z0-9_]+$/,_y="__connectUpdateStatus";function xy(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return wy(this,t,e);$y(this.id)}}function by(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wy(this,t,e)}}function wy(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),$t.prototype[e].apply(t,n)}var Sy,Ty,My,Cy,Ay,Iy,ky,Dy,Py,Oy,Ey,Ly,Ry,Ny,Fy,By,zy,Vy,jy=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}($t),Gy=jy.prototype;Gy.on=by("on"),Gy.off=by("off");var Wy=function(t){function e(e,n,i){var r=t.call(this,new av)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},U(n)&&(n=Jy[n]),r._dom=e;i.ssr&&(qr=function(t){var e=fl(t),n=e.dataIndex;if(null!=n){var i=gt();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=Kr(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:it(i.useDirtyRect,!1),useCoarsePointer:it(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=Sm(W(o.flush,o),17),(n=D(n))&&_p(n,!0),r._theme=n,r._locale=function(t){if(U(t)){var e=sc[t.toUpperCase()]||{};return t===rc||t===oc?D(e):P(D(e),D(sc[ac]),!1)}return P(D(t),D(sc[ac]),!1)}(i.locale||uc),r._coordSysMgr=new qh;var a=r._api=Fy(r);function s(t,e){return t.__prio-e.__prio}return Qe(Ky,s),Qe(qy,s),r._scheduler=new Km(r,a,qy,Ky),r._messageCenter=new jy,r._initEvents(),r.resize=W(r.resize,r),o.animation.on("frame",r._onframe,r),Oy(o,r),Ey(o,r),ct(r),r}return o(e,t),e.prototype._onframe=function(){if(!this._disposed){Vy(this);var t=this._scheduler;if(this[my]){var e=this[my].silent;this[gy]=!0;try{Sy(this),Cy.update.call(this,null,this[my].updateParams)}catch(t){throw this[gy]=!1,this[my]=null,t}this._zr.flush(),this[gy]=!1,this[my]=null,Dy.call(this,e),Py.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),Iy(this,i),t.performVisualTasks(i),Ny(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[gy])if(this._disposed)$y(this.id);else{var i,r,o;if(Y(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[gy]=!0,!this._model||e){var a=new Qh(this._api),s=this._theme,l=this._model=new Hh;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},Yy);var u={seriesTransition:o,optionChanged:!0};if(n)this[my]={silent:i,updateParams:u},this[gy]=!1,this.getZr().wakeUp();else{try{Sy(this),Cy.update.call(this,null,u)}catch(t){throw this[my]=null,this[gy]=!1,t}this._ssr||this._zr.flush(),this[my]=null,this[gy]=!1,Dy.call(this,i),Py.call(this,i)}}},e.prototype.setTheme=function(){Jp()},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||l.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(l.svgSupported){var t=this._zr;return B(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;B(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return B(i,(function(t){t.group.ignore=!1})),o}$y(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(e_[n]){var a=o,s=o,l=-1/0,u=-1/0,c=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();B(t_,(function(o,h){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(D(t)),f=o.getDom().getBoundingClientRect();a=i(f.left,a),s=i(f.top,s),l=r(f.right,l),u=r(f.bottom,u),c.push({dom:p,left:f.left,top:f.top})}}));var p=(l*=h)-(a*=h),f=(u*=h)-(s*=h),d=g.createCanvas(),m=Kr(d,{renderer:e?"svg":"canvas"});if(m.resize({width:p,height:f}),e){var v="";return B(c,(function(t){var e=t.left-a,n=t.top-s;v+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),m.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return t.connectedBackgroundColor&&m.add(new Ys({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),B(c,(function(t){var e=new Gs({style:{x:t.left*h-a,y:t.top*h-s,image:t.dom}});m.add(e)})),m.refreshImmediately(),d.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}$y(this.id)},e.prototype.convertToPixel=function(t,e){return Ay(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Ay(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return B(Vo(this._model,t),(function(t,i){i.indexOf("Models")>=0&&B(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n;$y(this.id)},e.prototype.getVisual=function(t,e){var n=Vo(this._model,t,{defaultMainType:"series"});var i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?hv(i,r,e):pv(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;B(Zy,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&mv(o,(function(t){var e=fl(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=E({},e.eventData),!0}),!0),n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];0,n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),B(Xy,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),B(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(gv("map","selectchanged",e,i,t),gv("pie","selectchanged",e,i,t)):"select"===t.fromAction?(gv("map","selected",e,i,t),gv("pie","selected",e,i,t)):"unselect"===t.fromAction&&(gv("map","unselected",e,i,t),gv("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?$y(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)$y(this.id);else{this._disposed=!0,this.getDom()&&Zo(this.getDom(),i_,"");var t=this,e=t._api,n=t._model;B(t._componentsViews,(function(t){t.dispose(n,e)})),B(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete t_[t.id]}},e.prototype.resize=function(t){if(!this[gy])if(this._disposed)$y(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[my]&&(null==i&&(i=this[my].silent),n=!0,this[my]=null),this[gy]=!0;try{n&&Sy(this),Cy.update.call(this,{type:"resize",animation:E({duration:0},t&&t.animation)})}catch(t){throw this[gy]=!1,t}this[gy]=!1,Dy.call(this,i),Py.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)$y(this.id);else if(Y(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Qy[t]){var n=Qy[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?$y(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=E({},t);return e.type=Xy[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)$y(this.id);else if(Y(e)||(e={silent:!!e}),Uy[t.type]&&this._model)if(this[gy])this._pendingActions.push(t);else{var n=e.silent;ky.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&l.browser.weChat&&this._throttledZrFlush(),Dy.call(this,n),Py.call(this,n)}},e.prototype.updateLabelLayout=function(){cy.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)$y(this.id);else{var e=t.seriesIndex;0,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===bl&&t.states.emphasis?e.push("emphasis"):t.hoverState===xl&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,r=t.get("zlevel")||0;e.eachRendered((function(t){return i(t,n,r,-1/0),!0}))}}function i(t,e,n,r){var o=t.getTextContent(),a=t.getTextGuideLine();if(t.isGroup)for(var s=t.childrenRef(),l=0;l<s.length;l++)r=Math.max(i(s[l],e,n,r),r);else t.z=e,t.zlevel=n,r=Math.max(t.z2,r);if(o&&(o.z=e,o.zlevel=n,isFinite(r)&&(o.z2=r+2)),a){var u=t.textGuideLineConfig;a.z=e,a.zlevel=n,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}function r(t,e){e.eachRendered((function(t){if(!xu(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function a(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(xu(t))return;if(t instanceof Rs&&function(t){var e=vl(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}Sy=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Ty(t,!0),Ty(t,!1),e.plan()},Ty=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var h=Ko(t.type);0,(c=new(e?ud.getClass(h.main,h.sub):_m.getClass(h.sub))).init(n,s),o[u]=c,r.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(c,t,n,s)}e?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u);for(l=0;l<r.length;){var c=r[l];c.__alive?l++:(!e&&c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),r.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},My=function(t,e,n,i,r){var o=t._model;if(o.setUpdatePayload(n),i){var a={};a[i+"Id"]=n[i+"Id"],a[i+"Index"]=n[i+"Index"],a[i+"Name"]=n[i+"Name"];var s={mainType:i,query:a};r&&(s.subType=r);var l,u=n.excludeSeriesId;null!=u&&(l=gt(),B(Co(u),(function(t){var e=Lo(t,null);null!=e&&l.set(e,!0)}))),o&&o.eachComponent(s,(function(e){if(!(l&&null!=l.get(e.id)))if(du(n))if(e instanceof sd)n.type!==Cl||n.notBlur||e.get(["emphasis","disabled"])||function(t,e,n){var i=t.seriesIndex,r=t.getData(e.dataType);if(r){var o=Fo(r,e);o=(Z(o)?o[0]:o)||0;var a=r.getItemGraphicEl(o);if(!a)for(var s=r.count(),l=0;!a&&l<s;)a=r.getItemGraphicEl(l++);if(a){var u=fl(a);tu(i,u.focus,u.blurScope,n)}else{var c=t.get(["emphasis","focus"]),h=t.get(["emphasis","blurScope"]);null!=c&&tu(i,c,h,n)}}}(e,n,t._api);else{var i=nu(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,o=i.dispatchers;n.type===Cl&&r&&!n.notBlur&&eu(e.mainType,e.componentIndex,t._api),o&&B(o,(function(t){n.type===Cl?$l(t):Ul(t)}))}else fu(n)&&e instanceof sd&&(!function(t,e,n){if(fu(e)){var i=e.dataType,r=Fo(t.getData(i),e);Z(r)||(r=[r]),t[e.type===Dl?"toggleSelect":e.type===Il?"select":"unselect"](r,i)}}(e,n,t._api),iu(e),zy(t))}),t),o&&o.eachComponent(s,(function(e){l&&null!=l.get(e.id)||c(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else B([].concat(t._componentsViews).concat(t._chartsViews),c);function c(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}},Cy={prepareAndUpdate:function(t){Sy(this),Cy.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),Iy(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),Ly(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),cy.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent((function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}}));var a=gt();i.eachSeries((function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)})),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),Ny(this,i,r,e,{},a),cy.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),_m.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),Ly(this,n,this._api,e,{}),cy.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries((function(t){t.getData().clearAllVisual()})),_m.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent((function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}})),i.eachSeries((function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)})),cy.trigger("afterupdate",i,this._api))},updateLayout:function(t){Cy.update.call(this,t)}},Ay=function(t,e,n,i){if(t._disposed)$y(t.id);else{for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=Vo(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,i)))return r}0}},Iy=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))},ky=function(t,e){var n=this,i=this.getModel(),r=t.type,o=t.escapeConnect,a=Uy[r],s=a.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),c=null!=l[0]&&Ko(l[0]);this[gy]=!0;var h=[t],p=!1;t.batch&&(p=!0,h=z(t.batch,(function(e){return(e=L(E({},e),t)).batch=null,e})));var f,d=[],g=fu(t),m=du(t);if(m&&Ql(this._api),B(h,(function(e){if((f=(f=a.action(e,n._model,n._api))||E({},e)).type=s.event||f.type,d.push(f),m){var i=jo(t),r=i.queryOptionMap,o=i.mainTypeSpecified?r.keys()[0]:"series";My(n,u,e,o),zy(n)}else g?(My(n,u,e,"series"),zy(n)):c&&My(n,u,e,c.main,c.sub)})),"none"!==u&&!m&&!g&&!c)try{this[my]?(Sy(this),Cy.update.call(this,t),this[my]=null):Cy[u].call(this,t)}catch(t){throw this[gy]=!1,t}if(f=p?{type:s.event||r,escapeConnect:o,batch:d}:d[0],this[gy]=!1,!e){var v=this._messageCenter;if(v.trigger(f.type,f),g){var y={type:"selectchanged",escapeConnect:o,selected:ru(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};v.trigger(y.type,y)}}},Dy=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();ky.call(this,n,t)}},Py=function(t){!t&&this.trigger("updated")},Oy=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[my]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},Ey=function(t,e){t.on("mouseover",(function(t){var n=mv(t.target,pu);n&&(!function(t,e,n){var i=fl(t),r=nu(i.componentMainType,i.componentIndex,i.componentHighDownName,n),o=r.dispatchers,a=r.focusSelf;o?(a&&eu(i.componentMainType,i.componentIndex,n),B(o,(function(t){return Hl(t,e)}))):(tu(i.seriesIndex,i.focus,i.blurScope,n),"self"===i.focus&&eu(i.componentMainType,i.componentIndex,n),Hl(t,e))}(n,t,e._api),zy(e))})).on("mouseout",(function(t){var n=mv(t.target,pu);n&&(!function(t,e,n){Ql(n);var i=fl(t),r=nu(i.componentMainType,i.componentIndex,i.componentHighDownName,n).dispatchers;r?B(r,(function(t){return Zl(t,e)})):Zl(t,e)}(n,t,e._api),zy(e))})).on("click",(function(t){var n=mv(t.target,(function(t){return null!=fl(t).dataIndex}),!0);if(n){var i=n.selected?"unselect":"select",r=fl(n);e._api.dispatchAction({type:i,dataType:r.dataType,dataIndexInside:r.dataIndex,seriesIndex:r.seriesIndex,isFromClick:!0})}}))},Ly=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent((function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),i){var r,o,a=e.concat(n);Qe(a,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),B(a,(function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)}))}}(e),Ry(t,e,n,i,r),B(t._chartsViews,(function(t){t.__alive=!1})),Ny(t,e,n,i,r),B(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))},Ry=function(t,e,i,o,s,l){B(l||t._componentsViews,(function(t){var s=t.__model;r(s,t),t.render(s,e,i,o),n(s,t),a(s,t)}))},Ny=function(t,e,i,o,s,u){var c=t._scheduler;s=E(s||{},{updatedSeries:e.getSeries()}),cy.trigger("series:beforeupdate",e,i,s);var h=!1;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var i=n.renderTask;c.updatePayload(i,o),r(e,n),u&&u.get(e.uid)&&i.dirty(),i.perform(c.getPerformArgs(i))&&(h=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}(e,n),iu(e)})),c.unfinished=h||c.unfinished,cy.trigger("series:layoutlabels",e,i,s),cy.trigger("series:transition",e,i,s),e.eachSeries((function(e){var i=t._chartsMap[e.__viewId];n(e,i),a(e,i)})),function(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!l.node&&!l.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),cy.trigger("series:afterupdate",e,i,s)},zy=function(t){t[vy]=!0,t.getZr().wakeUp()},Vy=function(t){t[vy]&&(t.getZr().storage.traverse((function(t){xu(t)||e(t)})),t[vy]=!1)},Fy=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){$l(e,n),zy(t)},n.prototype.leaveEmphasis=function(e,n){Ul(e,n),zy(t)},n.prototype.enterBlur=function(e){Xl(e),zy(t)},n.prototype.leaveBlur=function(e){ql(e),zy(t)},n.prototype.enterSelect=function(e){Yl(e),zy(t)},n.prototype.leaveSelect=function(e){Kl(e),zy(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}($h))(t)},By=function(t){function e(t,e){for(var n=0;n<t.length;n++){t[n][_y]=e}}B(Xy,(function(n,i){t._messageCenter.on(i,(function(n){if(e_[t.group]&&0!==t[_y]){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];B(t_,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,0),B(r,(function(t){1!==t[_y]&&t.dispatchAction(i)})),e(r,2)}}))}))}}(),e}($t),Hy=Wy.prototype;Hy.on=xy("on"),Hy.off=xy("off"),Hy.one=function(t,e,n){var i=this;Jp(),this.on.call(this,t,(function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)}),n)};var Zy=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function $y(t){0}var Uy={},Xy={},qy=[],Yy=[],Ky=[],Jy={},Qy={},t_={},e_={},n_=+new Date-0,i_=(new Date,"_echarts_instance_");function r_(t,e,n){var i=!(n&&n.ssr);if(i){0;var r=o_(t);if(r)return r;0}var o=new Wy(t,e,n);return o.id="ec_"+n_++,t_[o.id]=o,i&&Zo(t,i_,o.id),By(o),cy.trigger("afterinit",o),o}function o_(t){return t_[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,i_)]}function a_(t,e){Jy[t]=e}function s_(t){R(Yy,t)<0&&Yy.push(t)}function l_(t,e){f_(qy,t,e,2e3)}function u_(t,e){cy.on(t,e)}function c_(t,e,n){$(e)&&(n=e,e="");var i=Y(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,Xy[e]||(st(yy.test(i)&&yy.test(e)),Uy[i]||(Uy[i]={action:n,actionInfo:t}),Xy[e]=i)}function h_(t,e){f_(Ky,t,e,3e3,"visual")}var p_=[];function f_(t,e,n,i,r){if(($(e)||Y(e))&&(n=e,e=i),!(R(p_,n)>=0)){p_.push(n);var o=Km.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function d_(t,e){Qy[t]=e}var g_=function(t){var e=(t=D(t)).type;e||Qp("");var n=e.split(":");2!==n.length&&Qp("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,df.set(e,t)};h_(py,Pm),h_(fy,Em),h_(fy,Lm),h_(py,uv),h_(fy,cv),h_(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=ay(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=ay(r,e)}}))})),s_(_p),l_(900,(function(t){var e=gt();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(xp)})),d_("default",(function(t,e){L(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",
vendor: 4,443 bytes, line 1
1spinnerRadius:10,lineWidth:5,zlevel:0});var n=new $r,i=new Ys({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new pl({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Ys({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new xg({shape:{startAngle:-Rm/2,endAngle:-Rm/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Rm/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Rm/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),c_({type:Cl,event:Cl,update:Cl},xt),c_({type:Al,event:Al,update:Al},xt),c_({type:Il,event:Il,update:Il},xt),c_({type:kl,event:kl,update:kl},xt),c_({type:Dl,event:Dl,update:Dl},xt),a_("light",Qm),a_("dark",ov);var m_=[],v_={registerPreprocessor:s_,registerProcessor:l_,registerPostInit:function(t){u_("afterinit",t)},registerPostUpdate:function(t){u_("afterupdate",t)},registerUpdateLifecycle:u_,registerAction:c_,registerCoordinateSystem:function(t,e){qh.register(t,e)},registerLayout:function(t,e){f_(Ky,t,e,1e3,"layout")},registerVisual:h_,registerTransform:g_,registerLoading:d_,registerMap:function(t,e,n){var i=hy["registerMap"];i&&i(t,e,n)},registerImpl:function(t,e){hy[t]=e},PRIORITY:dy,ComponentModel:ch,ComponentView:ud,SeriesModel:sd,ChartView:_m,registerComponentModel:function(t){ch.registerClass(t)},registerComponentView:function(t){ud.registerClass(t)},registerSeriesModel:function(t){sd.registerClass(t)},registerChartView:function(t){_m.registerClass(t)},registerSubTypeDefaulter:function(t,e){ch.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){var n;n=e,Ur[t]=n}};function y_(t){Z(t)?B(t,(function(t){y_(t)})):R(m_,t)>=0||(m_.push(t),$(t)&&(t={install:t}),t.install(v_))}var __=2*Math.PI,x_=fs.CMD,b_=["top","right","bottom","left"];function w_(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function S_(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),c=(a/=u)*n+t,h=(s/=u)*n+e;if(Math.abs(i-r)%__<1e-4)return l[0]=c,l[1]=h,u-n;if(o){var p=i;i=ys(r),r=ys(p)}else i=ys(i),r=ys(r);i>r&&(r+=__);var f=Math.atan2(s,a);if(f<0&&(f+=__),f>=i&&f<=r||f+__>=i&&f+__<=r)return l[0]=c,l[1]=h,u-n;var d=n*Math.cos(i)+t,g=n*Math.sin(i)+e,m=n*Math.cos(r)+t,v=n*Math.sin(r)+e,y=(d-a)*(d-a)+(g-s)*(g-s),_=(m-a)*(m-a)+(v-s)*(v-s);return y<_?(l[0]=d,l[1]=g,Math.sqrt(y)):(l[0]=m,l[1]=v,Math.sqrt(_))}function T_(t,e,n,i,r,o,a,s){var l=r-t,u=o-e,c=n-t,h=i-e,p=Math.sqrt(c*c+h*h),f=(l*(c/=p)+u*(h/=p))/p;s&&(f=Math.min(Math.max(f,0),1)),f*=p;var d=a[0]=t+f*c,g=a[1]=e+f*h;return Math.sqrt((d-r)*(d-r)+(g-o)*(g-o))}function M_(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,u=a[0]=Math.min(Math.max(r,t),s),c=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-r)*(u-r)+(c-o)*(c-o))}var C_=[];function A_(t,e,n){var i=M_(e.x,e.y,e.width,e.height,t.x,t.y,C_);return n.set(C_[0],C_[1]),i}function I_(t,e,n){for(var i,r,o=0,a=0,s=0,l=0,u=1/0,c=e.data,h=t.x,p=t.y,f=0;f<c.length;){var d=c[f++];1===f&&(s=o=c[f],l=a=c[f+1]);var g=u;switch(d){case x_.M:o=s=c[f++],a=l=c[f++];break;case x_.L:g=T_(o,a,c[f],c[f+1],h,p,C_,!0),o=c[f++],a=c[f++];break;case x_.C:g=An(o,a,c[f++],c[f++],c[f++],c[f++],c[f],c[f+1],h,p,C_),o=c[f++],a=c[f++];break;case x_.Q:g=En(o,a,c[f++],c[f++],c[f],c[f+1],h,p,C_),o=c[f++],a=c[f++];break;case x_.A:var m=c[f++],v=c[f++],y=c[f++],_=c[f++],x=c[f++],b=c[f++];f+=1;var w=!!(1-c[f++]);i=Math.cos(x)*y+m,r=Math.sin(x)*_+v,f<=1&&(s=i,l=r),g=S_(m,v,_,x,x+b,w,(h-m)*_/y+m,p,C_),o=Math.cos(x+b)*y+m,a=Math.sin(x+b)*_+v;break;case x_.R:g=M_(s=o=c[f++],l=a=c[f++],c[f++],c[f++],h,p,C_);break;case x_.Z:g=T_(o,a,s,l,h,p,C_,!0),o=s,a=l}g<u&&(u=g,n.set(C_[0],C_[1]))}return u}
vendor: 30,147 bytes, line 1
1var k_=new Te,D_=new Te,P_=new Te,O_=new Te,E_=new Te;function L_(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();if(i&&n){var r=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=r.candidates||b_,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,u=r.anchor,c=t.getComputedTransform(),h=c&&we([],c),p=e.get("length2")||0;u&&P_.copy(u);for(var f=0;f<a.length;f++){w_(a[f],0,s,k_,O_),Te.scaleAndAdd(D_,k_,O_,p),D_.transform(h);var d=t.getBoundingRect(),g=u?u.distance(D_):t instanceof Rs?I_(D_,t.path,P_):A_(D_,d,P_);g<l&&(l=g,D_.transform(c),P_.transform(c),P_.toArray(o[0]),D_.toArray(o[1]),k_.toArray(o[2]))}F_(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var R_=[],N_=new Te;function F_(t,e){if(e<=180&&e>0){e=e/180*Math.PI,k_.fromArray(t[0]),D_.fromArray(t[1]),P_.fromArray(t[2]),Te.sub(O_,k_,D_),Te.sub(E_,P_,D_);var n=O_.len(),i=E_.len();if(!(n<.001||i<.001)){O_.scale(1/n),E_.scale(1/i);var r=O_.dot(E_);if(Math.cos(e)<r){var o=T_(D_.x,D_.y,P_.x,P_.y,k_.x,k_.y,R_,!1);N_.fromArray(R_),N_.scaleAndAdd(E_,o/Math.tan(Math.PI-e));var a=P_.x!==D_.x?(N_.x-D_.x)/(P_.x-D_.x):(N_.y-D_.y)/(P_.y-D_.y);if(isNaN(a))return;a<0?Te.copy(N_,D_):a>1&&Te.copy(N_,P_),N_.toArray(t[1])}}}}function B_(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,k_.fromArray(t[0]),D_.fromArray(t[1]),P_.fromArray(t[2]),Te.sub(O_,D_,k_),Te.sub(E_,P_,D_);var i=O_.len(),r=E_.len();if(!(i<.001||r<.001))if(O_.scale(1/i),E_.scale(1/r),O_.dot(e)<Math.cos(n)){var o=T_(D_.x,D_.y,P_.x,P_.y,k_.x,k_.y,R_,!1);N_.fromArray(R_);var a=Math.PI/2,s=a+Math.acos(E_.dot(e))-n;if(s>=a)Te.copy(N_,P_);else{N_.scaleAndAdd(E_,o/Math.tan(Math.PI/2-s));var l=P_.x!==D_.x?(N_.x-D_.x)/(P_.x-D_.x):(N_.y-D_.y)/(P_.y-D_.y);if(isNaN(l))return;l<0?Te.copy(N_,D_):l>1&&Te.copy(N_,P_)}N_.toArray(t[1])}}}function z_(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function V_(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=Nt(i[0],i[1]),o=Nt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Bt([],i[1],i[0],a/r),l=Bt([],i[1],i[2],a/o),u=Bt([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var c=1;c<i.length;c++)t.lineTo(i[c][0],i[c][1])}function j_(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var o=e.normal,a=o.get("show"),s=r.ignore,l=0;l<Sl.length;l++){var u=Sl[l],c=e[u],h="normal"===u;if(c){var p=c.get("show");if((h?s:it(r.states[u]&&r.states[u].ignore,s))||!it(p,a)){var f=h?i:i&&i.states[u];f&&(f.ignore=!0),i&&z_(i,!0,u,c);continue}i||(i=new lg,t.setTextGuideLine(i),h||!s&&a||z_(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),z_(i,!1,u,c)}}if(i){L(i.style,n),i.style.fill=null;var d=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=d||!1,i.buildPath=V_}}else i&&t.removeTextGuideLine()}function G_(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<wl.length;i++){var r=wl[i];n[r]=t.getModel([r,e])}return n}function W_(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var r=i.label,o=r.getComputedTransform(),a=r.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=r.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new Pg(a,o):null;e.push({label:r,labelLine:i.labelLine,rect:u,localRect:a,obb:c,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:o})}}return e}function H_(t,e,n,i,r,o){var a=t.length;if(!(a<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,l=0,u=!1,c=[],h=0,p=0;p<a;p++){var f=t[p],d=f.rect;(s=d[e]-l)<0&&(d[e]-=s,f.label[e]-=s,u=!0);var g=Math.max(-s,0);c.push(g),h+=g,l=d[e]+d[n]}h>0&&o&&w(-h/a,0,a);var m,v,y=t[0],_=t[a-1];return x(),m<0&&S(-m,.8),v<0&&S(v,.8),x(),b(m,v,1),b(v,m,-1),x(),m<0&&T(-m),v<0&&T(v),u}function x(){m=y.rect[e]-i,v=r-_.rect[e]-_.rect[n]}function b(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,a);var r=i+t;r<0&&S(-r*n,1)}else S(-t*n,1)}}function w(n,i,r){0!==n&&(u=!0);for(var o=i;o<r;o++){var a=t[o];a.rect[e]+=n,a.label[e]+=n}}function S(i,r){for(var o=[],s=0,l=1;l<a;l++){var u=t[l-1].rect,c=Math.max(t[l].rect[e]-u[e]-u[n],0);o.push(c),s+=c}if(s){var h=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<a-1;l++){w(o[l]*h,0,l+1)}else for(l=a-1;l>0;l--){w(-(o[l-1]*h),l,a)}}}function T(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i<a-1;i++)if(e>0?w(n,0,i+1):w(-n,a-i-1,a),(t-=n)<=0)return}}function Z_(t,e,n,i){return H_(t,"y","height",e,n,i)}function $_(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Le(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r<t.length;r++){var o=t[r],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var h=o.obb,p=!1,f=0;f<e.length;f++){var d=e[f];if(n.intersect(d.rect)){if(a&&d.axisAligned){p=!0;break}if(d.obb||(d.obb=new Pg(d.localRect,d.transform)),h||(h=new Pg(s,l)),h.intersect(d.obb)){p=!0;break}}}p?(i(u),c&&i(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}function U_(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function X_(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:U_(i&&i.shape.points)}}var q_=["align","verticalAlign","width","height","fontSize"],Y_=new Tr,K_=Bo(),J_=Bo();function Q_(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var tx=["x","y","rotation"],ex=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var o=i.style,a=i.__hostTarget.textConfig||{},s=i.getComputedTransform(),l=i.getBoundingRect().plain();Le.applyTransform(l,l,s),s?Y_.setLocalTransform(s):(Y_.x=Y_.y=Y_.rotation=Y_.originX=Y_.originY=0,Y_.scaleX=Y_.scaleY=1),Y_.rotation=ys(Y_.rotation);var u,c=i.__hostTarget;if(c){u=c.getBoundingRect().plain();var h=c.getComputedTransform();Le.applyTransform(u,u,h)}var p=u&&c.getTextGuideLine();this._labelList.push({label:i,labelLine:p,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:l,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:p&&p.ignore,x:Y_.x,y:Y_.y,scaleX:Y_.scaleX,scaleY:Y_.scaleY,rotation:Y_.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:i.cursor,attachedPos:a.position,attachedRot:a.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");($(i)||G(i).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=fl(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,i)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){L_(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],a=o.label,s=a.__hostTarget,l=o.defaultAttr,u=void 0;u=(u=$(o.layoutOption)?o.layoutOption(X_(o,s)):o.layoutOption)||{},o.computedLayoutOption=u;var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*c:l.attachedRot,offset:[u.dx||0,u.dy||0]});var h=!1;if(null!=u.x?(a.x=eo(u.x,e),a.setStyle("x",0),h=!0):(a.x=l.x,a.setStyle("x",l.style.x)),null!=u.y?(a.y=eo(u.y,n),a.setStyle("y",0),h=!0):(a.y=l.y,a.setStyle("y",l.style.y)),u.labelLinePoints){var p=s.getTextGuideLine();p&&(p.setShape({points:u.labelLinePoints}),h=!1)}K_(a).needsUpdateLabelLine=h,a.rotation=null!=u.rotate?u.rotate*c:l.rotation,a.scaleX=l.scaleX,a.scaleY=l.scaleY;for(var f=0;f<q_.length;f++){var d=q_[f];a.setStyle(d,null!=u[d]?u[d]:l.style[d])}if(u.draggable){if(a.draggable=!0,a.cursor="move",s){var g=o.seriesModel;if(null!=o.dataIndex)g=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex);a.on("drag",i(s,g.getModel("labelLine")))}}else a.off("drag"),a.cursor=l.cursor}},t.prototype.layout=function(t){var e,n=t.getWidth(),i=t.getHeight(),r=W_(this._labelList),o=j(r,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),a=j(r,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));H_(o,"x","width",0,n,e),Z_(a,0,i),$_(j(r,(function(t){return t.layoutOption.hideOverlap})))},t.prototype.processLabelsOverall=function(){var t=this;B(this._chartViewList,(function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!i,a=e.getTextContent();!o&&a&&(o=K_(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=fl(t),r=i.dataIndex;if(n&&null!=r){var o=e.getData(i.dataType),a=o.getItemModel(r),s={},l=o.getItemVisual(r,"style");if(l){var u=o.getVisual("drawType");s.stroke=l[u]}var c=a.getModel("labelLine");j_(t,G_(a),s),L_(t,c)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!xu(t))){var r=(f=K_(n)).oldLayout,o=fl(t),a=o.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},l=e.getData(o.dataType);if(r){n.attr(r);var u=t.prevStates;u&&(R(u,"select")>=0&&n.attr(f.oldLayoutSelect),R(u,"emphasis")>=0&&n.attr(f.oldLayoutEmphasis)),yu(n,s,e,a)}else if(n.attr(s),!Fu(n).valueAnimation){var c=it(n.style.opacity,1);n.style.opacity=0,_u(n,{style:{opacity:c}},e,a)}if(f.oldLayout=s,n.states.select){var h=f.oldLayoutSelect={};Q_(h,s,tx),Q_(h,n.states.select,tx)}if(n.states.emphasis){var p=f.oldLayoutEmphasis={};Q_(p,s,tx),Q_(p,n.states.emphasis,tx)}zu(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(f=J_(i)).oldLayout;var f,d={points:i.shape.points};r?(i.attr({shape:r}),yu(i,{shape:d},e)):(i.setShape(d),i.style.strokePercent=0,_u(i,{style:{strokePercent:1}},e)),f.oldLayout=d}},t}(),nx=ex,ix=Bo();function rx(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=ix(e).labelManager;i||(i=ix(e).labelManager=new nx),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=ix(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}function ox(t,e,n){var i=g.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}y_(rx);var ax=function(t){function e(e,n,i){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,i=i||hr,"string"==typeof e?r=ox(e,n,i):Y(e)&&(e=(r=e).id),o.id=e,o.dom=r;var a=r.style;return a&&(yt(r),r.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=i,o}return St(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=ox("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new Le(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new Le(0,0,0,0)).copy(t),o.push(e)}else{for(var e,n=!1,i=1/0,r=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(t)){var h=new Le(0,0,0,0);h.copy(c),h.union(t),o[u]=h,n=!0;break}if(s){l.copy(t),l.union(c);var p=t.width*t.height,f=c.width*c.height,d=l.width*l.height-p-f;d<i&&(i=d,r=u)}}if(s&&(o[r].union(t),n=!0),!n)(e=new Le(0,0,0,0)).copy(t),o.push(e);s||(s=o.length>=a)}}for(var c=this.__startIndex;c<this.__endIndex;++c){if(f=t[c]){var h=f.shouldBePainted(n,i,!0,!0);(d=f.__isRendered&&(f.__dirty&tn||!h)?f.getPrevPaintRect():null)&&u(d);var p=h&&(f.__dirty&tn||!f.__isRendered)?f.getPaintRect():null;p&&u(p)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){var f,d;h=(f=e[c])&&f.shouldBePainted(n,i,!0,!0);if(f&&(!h||!f.__zr)&&f.__isRendered)(d=f.getPrevPaintRect())&&u(d)}do{r=!1;for(c=0;c<o.length;)if(o[c].isZero())o.splice(c,1);else{for(var g=c+1;g<o.length;)o[c].intersect(o[g])?(r=!0,o[c].union(o[g]),o.splice(g,1)):g++;c++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,r=this.ctx,o=i.width,a=i.height;e=e||this.clearColor;var s=this.motionBlur&&!t,l=this.lastFrameAlpha,u=this.dpr,c=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/u,a/u));var h=this.domBack;function p(t,n,i,o){if(r.clearRect(t,n,i,o),e&&"transparent"!==e){var a=void 0;if(tt(e))a=(e.global||e.__width===i&&e.__height===o)&&e.__canvasGradient||Ev(r,e,{x:0,y:0,width:i,height:o}),e.__canvasGradient=a,e.__width=i,e.__height=o;else null!=e.image&&(e.scaleX=e.scaleX||u,e.scaleY=e.scaleY||u,a=Wv(r,e,{dirty:function(){c.setUnpainted(),c.painter.refresh()}}));r.save(),r.fillStyle=a||e,r.fillRect(t,n,i,o),r.restore()}s&&(r.save(),r.globalAlpha=l,r.drawImage(h,t,n,i,o),r.restore())}!n||s?p(0,0,o,a):n.length&&B(n,(function(t){p(t.x*u,t.y*u,t.width*u,t.height*u)}))},e}($t),sx=ax,lx=1e5,ux=314159,cx=.01;var hx=function(){function t(t,e,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=E({},n||{}),this.dpr=n.devicePixelRatio||hr,this._singleCanvas=r,this.root=t,t.style&&(yt(t),t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var a=this._layers;if(r){var s=t,l=s.width,u=s.height;null!=n.width&&(l=n.width),null!=n.height&&(u=n.height),this.dpr=n.devicePixelRatio||1,s.width=l*this.dpr,s.height=u*this.dpr,this._width=l,this._height=u;var c=new sx(s,this,this.dpr);c.__builtin__=!0,c.initContext(),a[314159]=c,c.zlevel=ux,o.push(ux),this._domRoot=t}else{this._width=Rv(t,0,n),this._height=Rv(t,1,n);var h=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(h)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(lx)),i||(i=n.ctx).save(),ny(i,a,r,o===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(lx)},t.prototype.paintOne=function(t,e){ey(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;ln((function(){s._paintList(t,e,n,i)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(ux).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var i=this,r=[],o=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var s=this._zlevelList[a],u=this._layers[s];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&r.push(u)}for(var c=!0,h=!1,p=function(a){var s,l=r[a],u=l.ctx,p=o&&l.createRepaintRects(t,e,f._width,f._height),d=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,m=g&&Date.now(),v=l.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,p);else if(d===l.__startIndex){var y=t[d];y.incremental&&y.notClear&&!n||l.clear(!1,v,p)}-1===d&&(d=l.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=d;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(h=!0),i._doPaintEl(r,l,o,e,n,s===l.__endIndex-1),g)if(Date.now()-m>15)break}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var x=f.dpr,b=0;b<p.length;++b){var w=p[b];u.save(),u.beginPath(),u.rect(w.x*x,w.y*x,w.width*x,w.height*x),u.clip(),_(w),u.restore()}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(c=!1)},f=this,d=0;d<r.length;d++)p(d);return l.wxa&&B(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:c,needsRefreshHover:h}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&(ny(a,t,r,o),t.setPrevPaintRect(s))}else ny(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=ux);var n=this._layers[t];return n||((n=new sx("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?P(n,this._layerConfig[t],!0):this._layerConfig[t-cx]&&P(n,this._layerConfig[t-cx],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]&&function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(r>0&&t>i[0]){for(s=0;s<r-1&&!(i[s]<t&&i[s+1]>t);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){if((s=t[n]).zlevel!==t[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}}var i,r,o=null,a=0;for(r=0;r<t.length;r++){var s,l=(s=t[r]).zlevel,u=void 0;i!==l&&(i=l,a=0),s.incremental?((u=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,a=1):u=this.getLayer(l+(a>0?cx:0),this._needsManuallyCompositing),u.__builtin__||k("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),s.__dirty&tn&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,B(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?P(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===t||r===t+cx)P(this._layers[r],n[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(R(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=Rv(r,0,i),e=Rv(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(ux).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new sx("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];ny(n,u,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}(),px=hx;var fx=Math.sin,dx=Math.cos,gx=Math.PI,mx=2*Math.PI,vx=180/gx,yx=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,c=Math.abs(l),h=di(c-mx)||(u?l>=mx:-l>=mx),p=l>0?l%mx:l%mx+mx,f=!1;f=!!h||!di(c)&&p>=gx==!!u;var d=t+n*dx(o),g=e+i*fx(o);this._start&&this._add("M",d,g);var m=Math.round(r*vx);if(h){var v=1/this._p,y=(u?1:-1)*(mx-v);this._add("A",n,i,m,1,+u,t+n*dx(o+y),e+i*fx(o+y)),v>.01&&this._add("A",n,i,m,0,+u,d,g)}else{var _=t+n*dx(a),x=e+i*fx(a);this._add("A",n,i,m,+f,+u,_,x)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],c=this._p,h=1;h<arguments.length;h++){var p=arguments[h];if(isNaN(p))return void(this._invalid=!0);u.push(Math.round(p*c)/c)}this._d.push(t+u.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),_x=yx,xx="none",bx=Math.round;var Sx=["lineCap","miterLimit","lineJoin"],Tx=z(Sx,(function(t){return"stroke-"+t.toLowerCase()}));function Mx(t,e,n,i){var r=null==e.opacity?1:e.opacity;if(n instanceof Gs)t("opacity",r);else{if(function(t){var e=t.fill;return null!=e&&e!==xx}(e)){var o=pi(e.fill);t("fill",o.color);var a=null!=e.fillOpacity?e.fillOpacity*o.opacity*r:o.opacity*r;(i||a<1)&&t("fill-opacity",a)}else t("fill",xx);if(function(t){var e=t.stroke;return null!=e&&e!==xx}(e)){var s=pi(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?n.getLineScale():1,u=l?(e.lineWidth||0)/l:0,c=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,h=e.strokeFirst;if((i||1!==u)&&t("stroke-width",u),(i||h)&&t("paint-order",h?"stroke":"fill"),(i||c<1)&&t("stroke-opacity",c),e.lineDash){var p=Nv(n),f=p[0],d=p[1];f&&(d=bx(d||0),t("stroke-dasharray",f.join(",")),(d||i)&&t("stroke-dashoffset",d))}else i&&t("stroke-dasharray",xx);for(var g=0;g<Sx.length;g++){var m=Sx[g];if(i||e[m]!==Ps[m]){var v=e[m]||Ps[m];v&&t(Tx[g],v)}}}else i&&t("stroke",xx)}}var Cx="http://www.w3.org/2000/svg",Ax="http://www.w3.org/1999/xlink",Ix="http://www.w3.org/2000/xmlns/",kx="http://www.w3.org/XML/1998/namespace",Dx="ecmeta_";function Px(t){return document.createElementNS(Cx,t)}function Ox(t,e,n,i,r){return{tag:t,attrs:n||{},children:i,text:r,key:e}}function Ex(t,e){var n=(e=e||{}).newline?"\n":"";return function t(e){var i=e.children,r=e.tag,o=e.attrs,a=e.text;return function(t,e){var n=[];if(e)for(var i in e){var r=e[i],o=i;!1!==r&&(!0!==r&&null!=r&&(o+='="'+r+'"'),n.push(o))}return"<"+t+" "+n.join(" ")+">"}(r,o)+("style"!==r?ne(a):a||"")+(i?""+n+z(i,(function(e){return t(e)})).join(n)+n:"")+("</"+r+">")}(t)}function Lx(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Rx(t,e,n,i){return Ox("svg","root",{width:t,height:e,xmlns:Cx,"xmlns:xlink":Ax,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var Nx=0;function Fx(){return Nx++}var Bx={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},zx="transform-origin";function Vx(t,e,n){var i=E({},t.shape);E(i,e),t.buildPath(n,i);var r=new _x;return r.reset(Ti(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function jx(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[zx]=n+"px "+i+"px")}var Gx={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function Wx(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function Hx(t){return U(t)?Bx[t]?"cubic-bezier("+Bx[t]+")":Nn(t)?t:"":""}function Zx(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof wg){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(B(o,(function(t){var e=Lx(n.zrId);e.animation=!0,Zx(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=G(o),u=l.length;if(u){var c=o[r=l[u-1]];for(var h in c){var p=c[h];a[h]=a[h]||{d:""},a[h].d+=p.d||""}for(var f in s){var d=s[f].animation;d.indexOf(r)>=0&&(i=d)}}})),i){e.d=!1;var s=Wx(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u<o;u++){var c=r[u],h=[c.getMaxTime()/1e3+"s"],p=Hx(c.getClip().easing),f=c.getDelay();p?h.push(p):h.push("linear"),f&&h.push(f/1e3+"s"),c.getLoop()&&h.push("infinite");var d=h.join(" ");l[d]=l[d]||[d,[]],l[d][1].push(c)}function g(r){var o,a=r[1],s=a.length,l={},u={},c={},h="animation-timing-function";function p(t,e,n){for(var i=t.getTracks(),r=t.getMaxTime(),o=0;o<i.length;o++){var a=i[o];if(a.needsAnimate()){var s=a.keyframes,l=a.propName;if(n&&(l=n(l)),l)for(var u=0;u<s.length;u++){var c=s[u],p=Math.round(c.time/r*100)+"%",f=Hx(c.easing),d=c.rawValue;(U(d)||q(d))&&(e[p]=e[p]||{},e[p][l]=c.rawValue,f&&(e[p][h]=f))}}}}for(var f=0;f<s;f++){(S=(w=a[f]).targetName)?"shape"===S&&p(w,u):!i&&p(w,l)}for(var d in l){var g={};Sr(g,t),E(g,l[d]);var m=Mi(g),v=l[d][h];c[d]=m?{transform:m}:{},jx(c[d],g),v&&(c[d][h]=v)}var y=!0;for(var d in u){c[d]=c[d]||{};var _=!o;v=u[d][h];_&&(o=new fs);var x=o.len();o.reset(),c[d].d=Vx(t,u[d],o);var b=o.len();if(!_&&x!==b){y=!1;break}v&&(c[d][h]=v)}if(!y)for(var d in c)delete c[d].d;if(!i)for(f=0;f<s;f++){var w,S;"style"===(S=(w=a[f]).targetName)&&p(w,c,(function(t){return Gx[t]}))}var T,M=G(c),C=!0;for(f=1;f<M.length;f++){var A=M[f-1],I=M[f];if(c[A][zx]!==c[I][zx]){C=!1;break}T=c[A][zx]}if(C&&T){for(var d in c)c[d][zx]&&delete c[d][zx];e[zx]=T}if(j(M,(function(t){return G(c[t]).length>0})).length)return Wx(c,n)+" "+r[0]+" both"}for(var m in l){(s=g(l[m]))&&a.push(s)}
vendor: 1,361 bytes, line 1
1if(a.length){var v=n.zrId+"-cls-"+Fx();n.cssNodes["."+v]={animation:a.join(",")},e.class=v}}function $x(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+Fx(),n.cssStyleCache[r]=o,n.cssNodes["."+o+(i?":hover":"")]=t),e.class=e.class?e.class+" "+o:o}var Ux=Math.round;function Xx(t){return t&&U(t.src)}function qx(t){return t&&$(t.toDataURL)}function Yx(t,e,n,i){Mx((function(r,o){var a="fill"===r||"stroke"===r;a&&wi(o)?sb(e,t,r,i):a&&_i(o)?lb(n,t,r,i):t[r]=o,a&&i.ssr&&"none"===o&&(t["pointer-events"]="visible")}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=i.shadowOffsetX||0,h=i.shadowOffsetY||0,p=i.shadowBlur,f=pi(i.shadowColor),d=f.opacity,g=f.color,m=p/2/l+" "+p/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=Ox("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[Ox("feDropShadow","",{dx:c/l,dy:h/u,stdDeviation:m,"flood-color":g,"flood-opacity":d})]),o[r]=a}e.filter=Si(a)}}(n,t,i)}function Kx(t,e){var n=function(t){if("function"==typeof qr)return qr(t)}(e);
vendor: 14,089 bytes, line 1
1n&&(n.each((function(e,n){null!=e&&(t[(Dx+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[Dx+"silent"]="true"))}function Jx(t){return di(t[0]-1)&&di(t[1])&&di(t[2])&&di(t[3]-1)}function Qx(t,e,n){if(e&&(!function(t){return di(t[4])&&di(t[5])}(e)||!Jx(e))){var i=n?10:1e4;t.transform=Jx(e)?"translate("+Ux(e[4]*i)/i+" "+Ux(e[5]*i)/i+")":function(t){return"matrix("+gi(t[0])+","+gi(t[1])+","+gi(t[2])+","+gi(t[3])+","+mi(t[4])+","+mi(t[5])+")"}(e)}}function tb(t,e,n){for(var i=t.points,r=[],o=0;o<i.length;o++)r.push(Ux(i[o][0]*n)/n),r.push(Ux(i[o][1]*n)/n);e.points=r.join(" ")}function eb(t){return!t.smooth}var nb,ib,rb={circle:[(nb=["cx","cy","r"],ib=z(nb,(function(t){return"string"==typeof t?[t,t]:t})),function(t,e,n){for(var i=0;i<ib.length;i++){var r=ib[i],o=t[r[0]];null!=o&&(e[r[1]]=Ux(o*n)/n)}})],polyline:[tb,eb],polygon:[tb,eb]};function ob(t,e){var n=t.style,i=t.shape,r=rb[t.type],o={},a=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&Ti(t)||4;if(!r||e.willUpdate||r[1]&&!r[1](i)||a&&function(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}(t)||l<1){var c=!t.path||t.shapeChanged();t.path||t.createPathProxy();var h=t.path;c&&(h.beginPath(),t.buildPath(h,t.shape),t.pathUpdated());var p=h.getVersion(),f=t,d=f.__svgPathBuilder;f.__svgPathVersion===p&&d&&l===f.__svgPathStrokePercent||(d||(d=f.__svgPathBuilder=new _x),d.reset(u),h.rebuildPath(d,l),d.generateStr(),f.__svgPathVersion=p,f.__svgPathStrokePercent=l),o.d=d.getStr()}else{s=t.type;var g=Math.pow(10,u);r[0](i,o,g)}return Qx(o,t.transform),Yx(o,n,t,e),Kx(o,t),e.animation&&Zx(t,o,e),e.emphasis&&function(t,e,n){if(!t.ignore)if(t.isSilent())$x(u={"pointer-events":"none"},e,n,!0);else{var i=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},r=i.fill;if(!r){var o=t.style&&t.style.fill,a=t.states.select&&t.states.select.style&&t.states.select.style.fill,s=t.currentStates.indexOf("select")>=0&&a||o;s&&(r=ci(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),$x(u,e,n,!0)}}(t,o,e),Ox(s,t.id+"",o)}function ab(t,e){return t instanceof Rs?ob(t,e):t instanceof Gs?function(t,e){var n=t.style,i=n.image;if(i&&!U(i)&&(Xx(i)?i=i.src:qx(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),Qx(a,t.transform),Yx(a,n,t,e),Kx(a,t),e.animation&&Zx(t,a,e),Ox("image",t.id+"",a)}}(t,e):t instanceof Bs?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||h,o=n.x||0,a=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,Pr(r),n.textBaseline),s={"dominant-baseline":"central","text-anchor":vi[n.textAlign]||n.textAlign};if(ol(n)){var l="",u=n.fontStyle,p=il(n.fontSize);if(!parseFloat(p))return;var f=n.fontFamily||c,d=n.fontWeight;l+="font-size:"+p+";font-family:"+f+";",u&&"normal"!==u&&(l+="font-style:"+u+";"),d&&"normal"!==d&&(l+="font-weight:"+d+";"),s.style=l}else s.style="font: "+r;return i.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),Qx(s,t.transform),Yx(s,n,t,e),Kx(s,t),e.animation&&Zx(t,s,e),Ox("text",t.id+"",s,void 0,i)}}(t,e):void 0}function sb(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(xi(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!bi(o))return void 0;r="radialGradient",a.cx=it(o.x,.5),a.cy=it(o.y,.5),a.r=it(o.r,.5)}for(var s=o.colorStops,l=[],u=0,c=s.length;u<c;++u){var h=100*mi(s[u].offset)+"%",p=pi(s[u].color),f=p.color,d=p.opacity,g={offset:h};g["stop-color"]=f,d<1&&(g["stop-opacity"]=d),l.push(Ox("stop",u+"",g))}var m=Ex(Ox(r,"",a,l)),v=i.gradientCache,y=v[m];y||(y=i.zrId+"-g"+i.gradientIdx++,v[m]=y,a.id=y,i.defs[y]=Ox(r,y,a,l)),e[n]=Si(y)}function lb(t,e,n,i){var r,o=t.style[n],a=t.getBoundingRect(),s={},l=o.repeat,u="no-repeat"===l,c="repeat-x"===l,h="repeat-y"===l;if(yi(o)){var p=o.imageWidth,f=o.imageHeight,d=void 0,g=o.image;if(U(g)?d=g:Xx(g)?d=g.src:qx(g)&&(d=g.toDataURL()),"undefined"==typeof Image){var m="Image width/height must been given explictly in svg-ssr renderer.";st(p,m),st(f,m)}else if(null==p||null==f){var v=function(t,e){if(t){var n=t.elm,i=p||e.width,r=f||e.height;"pattern"===t.tag&&(c?(r=1,i/=a.width):h&&(i=1,r/=a.height)),t.attrs.width=i,t.attrs.height=r,n&&(n.setAttribute("width",i),n.setAttribute("height",r))}},y=ua(d,null,t,(function(t){u||v(w,t),v(r,t)}));y&&y.width&&y.height&&(p=p||y.width,f=f||y.height)}r=Ox("image","img",{href:d,width:p,height:f}),s.width=p,s.height=f}else o.svgElement&&(r=D(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(r){var _,x;u?_=x=1:c?(x=1,_=s.width/a.width):h?(_=1,x=s.height/a.height):s.patternUnits="userSpaceOnUse",null==_||isNaN(_)||(s.width=_),null==x||isNaN(x)||(s.height=x);var b=Mi(o);b&&(s.patternTransform=b);var w=Ox("pattern","",s,[r]),S=Ex(w),T=i.patternCache,M=T[S];M||(M=i.zrId+"-p"+i.patternIdx++,T[S]=M,s.id=M,w=i.defs[M]=Ox("pattern",M,s,[r])),e[n]=Si(M)}}function ub(t,e,n){var i=n.clipPathCache,r=n.defs,o=i[t.id];if(!o){var a={id:o=n.zrId+"-c"+n.clipPathIdx++};i[t.id]=o,r[o]=Ox("clipPath",o,a,[ob(t,n)])}e["clip-path"]=Si(o)}function cb(t){return document.createTextNode(t)}function hb(t,e,n){t.insertBefore(e,n)}function pb(t,e){t.removeChild(e)}function fb(t,e){t.appendChild(e)}function db(t){return t.parentNode}function gb(t){return t.nextSibling}function mb(t,e){t.textContent=e}var vb=58,yb=120,_b=Ox("","");function xb(t){return void 0===t}function bb(t){return void 0!==t}function wb(t,e,n){for(var i={},r=e;r<=n;++r){var o=t[r].key;void 0!==o&&(i[o]=r)}return i}function Sb(t,e){var n=t.key===e.key;return t.tag===e.tag&&n}function Tb(t){var e,n=t.children,i=t.tag;if(bb(i)){var r=t.elm=Px(i);if(Ab(_b,t),Z(n))for(e=0;e<n.length;++e){var o=n[e];null!=o&&fb(r,Tb(o))}else bb(t.text)&&!Y(t.text)&&fb(r,cb(t.text))}else t.elm=cb(t.text);return t.elm}function Mb(t,e,n,i,r){for(;i<=r;++i){var o=n[i];null!=o&&hb(t,Tb(o),e)}}function Cb(t,e,n,i){for(;n<=i;++n){var r=e[n];if(null!=r)if(bb(r.tag))pb(db(r.elm),r.elm);else pb(t,r.elm)}}function Ab(t,e){var n,i=e.elm,r=t&&t.attrs||{},o=e.attrs||{};if(r!==o){for(n in o){var a=o[n];r[n]!==a&&(!0===a?i.setAttribute(n,""):!1===a?i.removeAttribute(n):"style"===n?i.style.cssText=a:n.charCodeAt(0)!==yb?i.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?i.setAttributeNS(Ix,n,a):n.charCodeAt(3)===vb?i.setAttributeNS(kx,n,a):n.charCodeAt(5)===vb?i.setAttributeNS(Ax,n,a):i.setAttribute(n,a))}for(n in r)n in o||i.removeAttribute(n)}}function Ib(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(Ab(t,e),xb(e.text)?bb(i)&&bb(r)?i!==r&&function(t,e,n){for(var i,r,o,a=0,s=0,l=e.length-1,u=e[0],c=e[l],h=n.length-1,p=n[0],f=n[h];a<=l&&s<=h;)null==u?u=e[++a]:null==c?c=e[--l]:null==p?p=n[++s]:null==f?f=n[--h]:Sb(u,p)?(Ib(u,p),u=e[++a],p=n[++s]):Sb(c,f)?(Ib(c,f),c=e[--l],f=n[--h]):Sb(u,f)?(Ib(u,f),hb(t,u.elm,gb(c.elm)),u=e[++a],f=n[--h]):Sb(c,p)?(Ib(c,p),hb(t,c.elm,u.elm),c=e[--l],p=n[++s]):(xb(i)&&(i=wb(e,a,l)),xb(r=i[p.key])||(o=e[r]).tag!==p.tag?hb(t,Tb(p),u.elm):(Ib(o,p),e[r]=void 0,hb(t,o.elm,u.elm)),p=n[++s]);(a<=l||s<=h)&&(a>l?Mb(t,null==n[h+1]?null:n[h+1].elm,n,s,h):Cb(t,e,a,l))}(n,i,r):bb(r)?(bb(t.text)&&mb(n,""),Mb(n,null,r,0,r.length-1)):bb(i)?Cb(n,i,0,i.length-1):bb(t.text)&&mb(n,""):t.text!==e.text&&(bb(i)&&Cb(n,i,0,i.length-1),mb(n,e.text)))}var kb=0,Db=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){0},this.configLayer=function(){0},this.storage=e,this._opts=n=E({},n),this.root=t,this._id="zr"+kb++,this._oldVNode=Rx(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=Px("svg");Ab(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(Sb(t,e))Ib(t,e);else{var n=t.elm,i=db(n);Tb(e),null!==i&&(hb(i,e.elm,gb(n)),Cb(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return ab(t,Lx(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=Lx(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis,r.ssr=this._opts.ssr;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=Ox("rect","bg",{width:t,height:e,x:"0",y:"0"}),wi(n))sb({fill:n},r.attrs,"fill",i);else if(_i(n))lb({style:{fill:n},dirty:xt,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=pi(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=Ox("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=z(G(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(Ox("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=z(G(t),(function(e){return e+r+z(G(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=z(G(e),(function(t){return"@keyframes "+t+r+z(G(e[t]),(function(n){return n+r+z(G(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?["<![CDATA[",a,s,"]]>"].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var c=Ox("style","stl",{},[],u);o.push(c)}}return Rx(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},Ex(this.renderToVNode({animation:it(t.cssAnimation,!0),emphasis:it(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:it(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u<o;u++){var c=t[u];if(!c.invisible){var h=c.__clipPaths,p=h&&h.length||0,f=r&&r.length||0,d=void 0;for(d=Math.max(p-1,f-1);d>=0&&(!h||!r||h[d]!==r[d]);d--);for(var g=f-1;g>d;g--)i=a[--s-1];for(var m=d+1;m<p;m++){var v={};ub(h[m],v,e);var y=Ox("g","clip-g-"+l++,v,[]);(i?i.children:n).push(y),a[s++]=y,i=y}r=h;var _=ab(c,e);_&&(i?i.children:n).push(_)}}},t.prototype.resize=function(t,e){var n=this._opts,i=this.root,r=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),i&&r&&(r.style.display="none",t=Rv(i,0,n),e=Rv(i,1,n),r.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,r){var o=r.style;o.width=t+"px",o.height=e+"px"}if(_i(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",t),a.setAttribute("height",e));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",t),s.setAttribute("height",e))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=this.renderToString(),n="data:image/svg+xml;";return t?(e=Ci(e))&&n+"base64,"+e:n+"charset=UTF-8,"+encodeURIComponent(e)},t}();var Pb=Db;function Ob(t){return null==t?0:t.length||1}function Eb(t){return t}var Lb=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Eb,this._newKeyGetter=i||Eb,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=i[o],s=n[a],l=Ob(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<r.length;a++){var s=r[a],l=n[s],u=i[s],c=Ob(l),h=Ob(u);if(c>1&&1===h)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===c&&h>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===c&&1===h)this._update&&this._update(u,l),i[s]=null;else if(c>1&&h>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(c>1)for(var p=0;p<c;p++)this._remove&&this._remove(l[p]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],o=Ob(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[i](t[o],o);if(r||(n[o]=a),e){var s=e[a],l=Ob(s);
vendor: 3,493 bytes, line 1
10===l?(e[a]=o,r&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),Rb=Lb,Nb=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function Fb(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function Bb(t){return"category"===t?"ordinal":"time"===t?"time":"float"}var zb=function(t){this.otherDims={},null!=t&&E(this,t)},Vb=Bo(),jb={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Gb=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=Zb(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return it(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=Ep(this.source),n=!$b(t),i="",r=[],o=0,a=0;o<t;o++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[a];if(c&&c.storeDimIndex===o)s=e?c.name:null,l=c.type,u=c.ordinalMeta,a++;else{var h=this.getSourceDimension(o);h&&(s=e?h.name:null,l=h.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||c&&c.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=jb[l]||"f",u&&(i+=u.uid),i+="$"}var p=this.source;return{dimensions:r,hash:[p.seriesLayoutBy,p.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function Wb(t){return t instanceof Gb}function Hb(t){for(var e=gt(),n=0;n<(t||[]).length;n++){var i=t[n],r=Y(i)?i.name:i;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function Zb(t){var e=Vb(t);return e.dimNameMap||(e.dimNameMap=Hb(t.dimensionsDefine))}function $b(t){return t>30}var Ub,Xb,qb,Yb,Kb,Jb,Qb,tw=Y,ew=z,nw="undefined"==typeof Int32Array?Array:Int32Array,iw=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],rw=["_approximateExtent"],ow=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var i=!1;Wb(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var c=n[u],h=U(c)?new zb({name:c}
vendor: 27,204 bytes, line 1
1):c instanceof zb?c:new zb(c),p=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=p,h.coordDimIndex=0);var f=h.otherDims=h.otherDims||{};o.push(p),r[p]=h,null!=l[p]&&(s=!0),h.createInvertedIndices&&(a[p]=[]),0===f.itemName&&(this._nameDimIdx=u),0===f.itemId&&(this._idDimIdx=u),i&&(h.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var d=this._dimIdxToName=gt();B(o,(function(t){d.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(q(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof Af&&(i=t),!i){var o=this.dimensions,a=Ap(t)||F(t)?new Lp(t,o.length):t;i=new Af;var s=ew(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=function(t,e){var n={},i=n.encode={},r=gt(),o=[],a=[],s={};B(t.dimensions,(function(e){var n,l=t.getDimensionInfo(e),u=l.coordDim;if(u){var c=l.coordDimIndex;Fb(i,u)[c]=e,l.isExtraCoord||(r.set(u,1),"ordinal"!==(n=l.type)&&"time"!==n&&(o[0]=e),Fb(s,u)[c]=t.getDimensionIndex(l.name)),l.defaultTooltip&&a.push(e)}dh.each((function(t,e){var n=Fb(i,e),r=l.otherDims[e];null!=r&&!1!==r&&(n[r]=l.name)}))}));var l=[],u={};r.each((function(t,e){var n=i[e];u[e]=n[0],l=l.concat(n)})),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=z(l,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=u;var c=i.label;c&&c.length&&(o=c.slice());var h=i.tooltip;return h&&h.length?a=h.slice():a.length||(a=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=a,n.userOutput=new Nb(s,e),n}(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&Qb(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==_h&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===gh&&!n.pure)for(var o=[],a=t;a<e;a++){var s=n.getItem(a,o);if(!this.hasItemOption&&Do(s)&&(this.hasItemOption=!0),s){var l=s.name;null==i[a]&&null!=l&&(i[a]=Lo(l,null));var u=s.id;null==r[a]&&null!=u&&(r[a]=Lo(u,null))}}if(this._shouldMakeIdFromName())for(a=t;a<e;a++)Qb(this,a);Ub(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){tw(t)?E(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=qb(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return Xb(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return Z(t)?i.getValues(ew(t,(function(t){return n._getStoreDimIndex(t)})),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];var i=n&&n[e];return null==i||isNaN(i)?-1:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){$(t)&&(n=e,e=t,t=[]);var i=n||this,r=ew(Yb(t),this._getStoreDimIndex,this);this._store.each(r,i?W(e,i):e)},t.prototype.filterSelf=function(t,e,n){$(t)&&(n=e,e=t,t=[]);var i=n||this,r=ew(Yb(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?W(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=G(t),r=[];return B(i,(function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){$(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,(function(){i.push(e&&e.apply(this,arguments))}),n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=ew(Yb(t),this._getStoreDimIndex,this),a=Jb(this);return a._store=this._store.map(o,r?W(e,r):e),a},t.prototype.modify=function(t,e,n,i){var r=n||i||this;var o=ew(Yb(t),this._getStoreDimIndex,this);this._store.modify(o,r?W(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=Jb(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.minmaxDownSample=function(t,e){var n=Jb(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=Jb(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new tc(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new Rb(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return Xb(t,e)}),(function(t){return Xb(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},tw(t)?E(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(Z(r=this.getVisual(e))?r=r.slice():tw(r)&&(r=E({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,tw(e)?E(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){tw(t)?E(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?E(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;dl(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){B(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:ew(this.dimensions,this._getDimInfo,this),this.hostModel)),Kb(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];$(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(ot(arguments)))})},t.internalField=(Ub=function(t){var e=t._invertedIndicesMap;B(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new nw(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}}))},qb=function(t,e,n){return Lo(t._getCategory(e,n),null)},Xb=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=qb(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},Yb=function(t){return Z(t)||(t=null!=t?[t]:[]),t},Jb=function(e){var n=new t(e._schema?e._schema:ew(e.dimensions,e._getDimInfo,e),e.hostModel);return Kb(n,e),n},Kb=function(t,e){B(iw.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,B(rw,(function(n){t[n]=D(e[n])})),t._calculationInfo=E({},e._calculationInfo)},void(Qb=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,o=t._idDimIdx,a=n[e],s=i[e];if(null==a&&null!=r&&(n[e]=a=qb(t,r,e)),null==s&&null!=o&&(i[e]=s=qb(t,o,e)),null==s&&null!=a){var l=t._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),i[e]=s}})),t}(),aw=ow;function sw(t,e){Ap(t)||(t=kp(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=gt(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return B(e,(function(t){var e;Y(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&$b(a),l=i===t.dimensionsDefine,u=l?Zb(t):Hb(i),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,a));for(var h=gt(c),p=new bf(a),f=0;f<p.length;f++)p[f]=-1;function d(t){var e=p[t];if(e<0){var n=i[t],r=Y(n)?n:{name:n},a=new zb,s=r.name;null!=s&&null!=u.get(s)&&(a.name=a.displayName=s),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var l=o.length;return p[t]=l,a.storeDimIndex=t,o.push(a),a}return o[e]}if(!s)for(f=0;f<a;f++)d(f);h.each((function(t,e){var n=Co(t).slice();if(1===n.length&&!U(n[0])&&n[0]<0)h.set(e,!1);else{var i=h.set(e,[]);B(n,(function(t,n){var r=U(t)?u.get(t):t;null!=r&&r<a&&(i[n]=r,m(d(r),e,n))}))}}));var g=0;function m(t,e,n){null!=dh.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,r.set(e,!0))}B(n,(function(t){var e,n,i,r;if(U(t))e=t,r={};else{e=(r=t).name;var o=r.ordinalMeta;r.ordinalMeta=null,(r=E({},r)).ordinalMeta=o,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=h.get(e);if(!1!==s){if(!(s=Co(s)).length)for(var u=0;u<(n&&n.length||1);u++){for(;g<a&&null!=d(g).coordDim;)g++;g<a&&s.push(g++)}B(s,(function(t,o){var a=d(t);if(l&&null!=r.type&&(a.type=r.type),m(L(a,r),e,o),null==a.name&&n){var s=n[o];!Y(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}i&&L(a.otherDims,i)}))}}));var v=e.generateCoord,y=e.generateCoordCount,_=null!=y;y=v?y||1:0;var x=v||"value";function b(t){null==t.name&&(t.name=t.coordDim)}if(s)B(o,(function(t){b(t)})),o.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var w=0;w<a;w++){var S=d(w);null==S.coordDim&&(S.coordDim=lw(x,r,_),S.coordDimIndex=0,(!v||y<=0)&&(S.isExtraCoord=!0),y--),b(S),null!=S.type||Ih(t,w)!==Sh.Must&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return function(t){for(var e=gt(),n=0;n<t.length;n++){var i=t[n],r=i.name,o=e.get(r)||0;o>0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new Gb({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function lw(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var uw=function(t){this.coordSysDims=[],this.axisMap=gt(),this.categoryAxisMap=gt(),this.coordSysName=t};var cw={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Go).models[0],o=t.getReferringComponents("yAxis",Go).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),hw(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),hw(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Go).models[0];e.coordSysDims=["single"],n.set("single",r),hw(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Go).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),hw(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),hw(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();B(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),hw(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function hw(t){return"category"===t.get("type")}function pw(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!Wb(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,c,h,p=!(!t||!t.get("stack"));if(B(i,(function(t,e){U(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){c="__\0ecstackresult_"+t.id,h="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var f=u.coordDim,d=u.type,g=0;B(i,(function(t){t.coordDim===f&&g++}));var m={name:c,coordDim:f,coordDimIndex:g,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:h,coordDim:h,coordDimIndex:g+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(m.storeDimIndex=o.ensureCalculationDimension(h,d),v.storeDimIndex=o.ensureCalculationDimension(c,d)),r.appendCalculationDimension(m),r.appendCalculationDimension(v)):(i.push(m),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:h,stackResultDimension:c}}function fw(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function dw(t,e){return fw(t,e)?t.getCalculationInfo("stackResultDimension"):e}var gw=function(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=kp(t)):o=(i=r.getSource()).sourceFormat===gh;var a=function(t){var e=t.get("coordinateSystem"),n=new uw(e),i=cw[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=qh.get(i);return e&&e.coordSysDims&&(n=z(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Bb(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=$(l)?l:l?H(Mh,s,e):null,c=sw(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),h=function(t,e,n){var i,r;return n&&B(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(c.dimensions,n.createInvertedIndices,a),p=o?null:r.getSharedDataStore(c),f=pw(e,{schema:c,store:p}),d=new aw(c,e);d.setCalculationInfo(f);var g=null!=h&&function(t){if(t.sourceFormat===gh){var e=function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!Z(ko(e))}}(i)?function(t,e,n,i){return i===h?n:this.defaultDimValueGetter(t,e,n,i)}:null;return d.hasItemOption=!1,d.initData(o?i:p,null,g),d},mw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.getInitialData=function(t){return gw(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new $r,n=kv("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,a=.8*t.itemHeight,s=kv(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?r:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(sd),vw=mw;function yw(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=Zp(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a<n.length;a++)o.push(Zp(t,e,n[a]));return o.join(" ")}}function _w(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!Z(e))return e+"";for(var i=[],r=0;r<n.length;r++){var o=t.getDimensionIndex(n[r]);o>=0&&i.push(e[o])}return i.join(" ")}var xw=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return o(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=kv(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=bw,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){$l(this.childAt(0))},e.prototype.downplay=function(){Ul(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,c)}else{(p=this.childAt(0)).silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(h):yu(p,h,a,n),Tu(p)}if(this._updateCommon(t,n,s,i,r),l){var p=this.childAt(0);if(!u){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,_u(p,h,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,c,h,p,f,d=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,h=i.labelStatesModels,p=i.hoverScale,f=i.cursorStyle,c=i.emphasisDisabled),!i||t.hasItemOption){var m=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=m.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=m.getModel(["select","itemStyle"]).getItemStyle(),a=m.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),c=v.get("disabled"),h=ku(m),p=v.getShallow("scale"),f=m.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");d.attr("rotation",(y||0)*Math.PI/180||0);var _=Pv(t.getItemVisual(e,"symbolOffset"),n);_&&(d.x=_[0],d.y=_[1]),f&&d.attr("cursor",f);var x=t.getItemVisual(e,"style"),b=x.fill;if(d instanceof Gs){var w=d.style;d.useStyle(E({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},x))}else d.__isEmptyBrush?d.useStyle(E({},x)):d.useStyle(x),d.style.decal=null,d.setColor(b,r&&r.symbolInnerColor),d.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),T=this._z2;null!=S?null==T&&(this._z2=d.z2,d.z2+=S):null!=T&&(d.z2=T,this._z2=null);var M=r&&r.useNameLabel;Iu(d,h,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return M?t.getName(e):yw(t,e)},inheritColor:b,defaultOpacity:x.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var C=d.ensureState("emphasis");C.style=o,d.ensureState("select").style=s,d.ensureState("blur").style=a;var A=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;C.scaleX=this._sizeX*A,C.scaleY=this._sizeY*A,this.setSymbolScale(1),au(this,l,u,c)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=fl(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&bu(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();bu(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return Dv(t.getItemVisual(e,"symbolSize"))},e}($r);function bw(t,e){this.parent.drift(t,e)}var ww=xw;function Sw(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function Tw(t){return null==t||Y(t)||(t={isIgnore:t}),t||{}}function Mw(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:ku(e),cursorStyle:e.get("cursor")}}var Cw=function(){function t(t){this.group=new $r,this._SymbolCtor=t||ww}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=Tw(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=Mw(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(Sw(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(c,h){var p=r.getItemGraphicEl(h),f=u(c);if(Sw(t,f,c,e)){var d=t.getItemVisual(c,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==d)n.remove(p),(p=new o(t,c,s,l)).setPosition(f);else{p.updateData(t,c,s,l);var m={x:f[0],y:f[1]};a?p.attr(m):yu(p,m,i)}n.add(p),t.setItemGraphicEl(c,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=Mw(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=Tw(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(Sw(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){cm(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}),n.hostModel)})):e.removeAll()},t}(),Aw=Cw;function Iw(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),o=function(t,e){var n=0,i=t.scale.getExtent();"start"===e?n=i[0]:"end"===e?n=i[1]:q(e)&&!isNaN(e)?n=e:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),c="x"===s||"radius"===s?1:0,h=z(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,f=e.getCalculationInfo("stackResultDimension");return fw(e,h[0])&&(p=!0,h[0]=f),fw(e,h[1])&&(p=!0,h[1]=f),{dataDimsForPoint:h,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function kw(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var Dw="undefined"!=typeof Float32Array,Pw=Dw?Float32Array:Array;function Ow(t){return Z(t)?Dw?new Float32Array(t):t:new Pw(t)}var Ew=Math.min,Lw=Math.max;function Rw(t,e){return isNaN(t)||isNaN(e)}function Nw(t,e,n,i,r,o,a,s,l){for(var u,c,h,p,f,d,g=n,m=0;m<i;m++){var v=e[2*g],y=e[2*g+1];if(g>=r||g<0)break;if(Rw(v,y)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,y),h=v,p=y;else{var _=v-u,x=y-c;if(_*_+x*x<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===y&&m<i;)m++,g+=o,w=e[2*(b+=o)],S=e[2*b+1],_=(v=e[2*g])-u,x=(y=e[2*g+1])-c;var T=m+1;if(l)for(;Rw(w,S)&&T<i;)T++,w=e[2*(b+=o)],S=e[2*b+1];var M=.5,C=0,A=0,I=void 0,k=void 0;if(T>=i||Rw(w,S))f=v,d=y;else{C=w-u,A=S-c;var D=v-u,P=w-v,O=y-c,E=S-y,L=void 0,R=void 0;if("x"===s){var N=C>0?1:-1;f=v-N*(L=Math.abs(D))*a,d=y,I=v+N*(R=Math.abs(P))*a,k=y}else if("y"===s){var F=A>0?1:-1;
vendor: 1,191 bytes, line 1
1f=v,d=y-F*(L=Math.abs(O))*a,I=v,k=y+F*(R=Math.abs(E))*a}else L=Math.sqrt(D*D+O*O),f=v-C*a*(1-(M=(R=Math.sqrt(P*P+E*E))/(R+L))),d=y-A*a*(1-M),k=y+A*a*M,I=Ew(I=v+C*a*M,Lw(w,v)),k=Ew(k,Lw(S,y)),I=Lw(I,Ew(w,v)),d=y-(A=(k=Lw(k,Ew(S,y)))-y)*L/R,f=Ew(f=v-(C=I-v)*L/R,Lw(u,v)),d=Ew(d,Lw(c,y)),I=v+(C=v-(f=Lw(f,Ew(u,v))))*R/L,k=y+(A=y-(d=Lw(d,Ew(c,y))))*R/L}t.bezierCurveTo(h,p,f,d,v,y),h=I,p=k}else t.lineTo(v,y)}u=v,c=y,g+=o}return m}var Fw=function(){this.smooth=0,this.smoothConstraint=!0},Bw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Fw},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&Rw(n[2*r-2],n[2*r-1]);r--);for(;i<r&&Rw(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=Nw(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,o=fs.CMD,a="x"===e,s=[],l=0;l<r.length;){var u=void 0,c=void 0,h=void 0,p=void 0,f=void 0,d=void 0,g=void 0;
vendor: 101,549 bytes, line 1
1switch(r[l++]){case o.M:n=r[l++],i=r[l++];break;case o.L:if(u=r[l++],c=r[l++],(g=a?(t-n)/(u-n):(t-i)/(c-i))<=1&&g>=0){var m=a?(c-i)*g+i:(u-n)*g+n;return a?[t,m]:[m,t]}n=u,i=c;break;case o.C:u=r[l++],c=r[l++],h=r[l++],p=r[l++],f=r[l++],d=r[l++];var v=a?Tn(n,u,h,f,t,s):Tn(i,c,p,d,t,s);if(v>0)for(var y=0;y<v;y++){var _=s[y];if(_<=1&&_>=0){m=a?wn(i,c,p,d,_):wn(n,u,h,f,_);return a?[t,m]:[m,t]}}n=f,i=d}}},e}(Rs),zw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Fw),Vw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return o(e,t),e.prototype.getDefaultShape=function(){return new zw},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&Rw(n[2*o-2],n[2*o-1]);o--);for(;r<o&&Rw(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=Nw(t,n,r,o,o,1,e.smooth,a,e.connectNulls);Nw(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(Rs);function jw(t,e,n,i,r){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,c=n.get(["lineStyle","width"])||0;a-=c/2,s-=c/2,l+=c,u+=c,l=Math.ceil(l),a!==Math.floor(a)&&(a=Math.floor(a),l++);var h=new Ys({shape:{x:a,y:s,width:l,height:u}});if(e){var p=t.getBaseAxis(),f=p.isHorizontal(),d=p.inverse;f?(d&&(h.shape.x+=l),h.shape.width=0):(d||(h.shape.y+=u),h.shape.height=0);var g=$(r)?function(t){r(t,h)}:null;_u(h,{shape:{width:l,height:u,x:a,y:s}},n,null,i,g)}return h}function Gw(t,e,n){var i=t.getArea(),r=no(i.r0,1),o=no(i.r,1),a=new Jd({shape:{cx:no(t.cx,1),cy:no(t.cy,1),r0:r,r:o,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});e&&("angle"===t.getBaseAxis().dim?a.shape.endAngle=i.startAngle:a.shape.r=r,_u(a,{shape:{endAngle:i.endAngle,r:o}},n));return a}function Ww(t,e,n,i,r){return t?"polar"===t.type?Gw(t,e,n):"cartesian2d"===t.type?jw(t,e,n,i,r):null:null}function Hw(t,e){return t.type===e}function Zw(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function $w(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),i=Math.max(a,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function Uw(t,e){var n=$w(t),i=n[0],r=n[1],o=$w(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(i[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function Xw(t){return q(t)?t:t?.5:0}function qw(t,e,n,i,r){var o=n.getBaseAxis(),a="x"===o.dim||"radius"===o.dim?0:1,s=[],l=0,u=[],c=[],h=[],p=[];if(r){for(l=0;l<t.length;l+=2){var f=e||t;isNaN(f[l])||isNaN(f[l+1])||p.push(t[l],t[l+1])}t=p}for(l=0;l<t.length-2;l+=2)switch(h[0]=t[l+2],h[1]=t[l+3],c[0]=t[l],c[1]=t[l+1],s.push(c[0],c[1]),i){case"end":u[a]=h[a],u[1-a]=c[1-a],s.push(u[0],u[1]);break;case"middle":var d=(c[a]+h[a])/2,g=[];u[a]=g[a]=d,u[1-a]=c[1-a],g[1-a]=h[1-a],s.push(u[0],u[1]),s.push(g[0],g[1]);break;default:u[a]=c[a],u[1-a]=h[1-a],s.push(u[0],u[1])}return s.push(t[l++],t[l++]),s}function Yw(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var r,o,a=i.length-1;a>=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=z(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),c=u.length,h=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),h.reverse());var p=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:ri((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)n=l;else{if(u>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),f=p.length;if(!f&&c)return u[0].coord<0?h[1]?h[1]:u[c-1].color:h[0]?h[0]:u[0].color;var d=p[0].coord-10,g=p[f-1].coord+10,m=g-d;if(m<.001)return"transparent";B(p,(function(t){t.offset=(t.coord-d)/m})),p.push({offset:f?p[f-1].offset:.5,color:h[1]||"transparent"}),p.unshift({offset:f?p[0].offset:.5,color:h[0]||"transparent"});var v=new Tg(0,0,0,0,p,!0);return v[r]=d,v[r+"2"]=g,v}}}function Kw(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*ww.getSymbolSize(e,a)[t.isHorizontal()?1:0]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return B(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function Jw(t,e){return[t[2*e],t[2*e+1]]}function Qw(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<wl.length;e++)if(t.get([wl[e],"endLabel","show"]))return!0;return!1}function tS(t,e,n,i){if(Hw(e,"cartesian2d")){var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},l=Qw(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),c=jw(e,n,i,(function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})}),l);if(!i.get("clip",!0)){var h=c.shape,p=Math.max(h.width,h.height);u?(h.y-=p,h.height+=2*p):(h.x-=p,h.width+=2*p)}return l&&l(1,c),c}return Gw(e,n,i)}var eS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(){var t=new $r,e=new Aw;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t,this._changePolyState=W(this._changePolyState,this)},e.prototype.render=function(t,e,n){var i=t.coordinateSystem,r=this.group,o=t.getData(),a=t.getModel("lineStyle"),s=t.getModel("areaStyle"),l=o.getLayout("points")||[],u="polar"===i.type,c=this._coordSys,h=this._symbolDraw,p=this._polyline,f=this._polygon,d=this._lineGroup,g=!e.ssr&&t.get("animation"),m=!s.isEmpty(),v=s.get("origin"),y=Iw(i,o,v),_=m&&function(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=Ow(2*i),o=0;o<i;o++){var a=kw(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(i,o,y),x=t.get("showSymbol"),b=t.get("connectNulls"),w=x&&!u&&Kw(t,o,i),S=this._data;S&&S.eachItemGraphicEl((function(t,e){t.__temp&&(r.remove(t),S.setItemGraphicEl(e,null))})),x||h.remove(),r.add(d);var T,M=!u&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(null!=(T=i.getArea()).width?(T.x-=.1,T.y-=.1,T.width+=.2,T.height+=.2):T.r0&&(T.r0-=.5,T.r+=.5)),this._clipShapeForSymbol=T;var C=Yw(o,i,n)||o.getVisual("style")[o.getVisual("drawType")];if(p&&c.type===i.type&&M===this._step){m&&!f?f=this._newPolygon(l,_):f&&!m&&(d.remove(f),f=this._polygon=null),u||this._initOrUpdateEndLabel(t,i,qc(C));var A=d.getClipPath();if(A)_u(A,{shape:tS(this,i,!1,t).shape},t);else d.setClipPath(tS(this,i,!0,t));x&&h.updateData(o,{isIgnore:w,clipShape:T,disableAnimation:!0,getSymbolPoint:function(t){return[l[2*t],l[2*t+1]]}}),Zw(this._stackedOnPoints,_)&&Zw(this._points,l)||(g?this._doUpdateAnimation(o,_,i,n,M,v,b):(M&&(_&&(_=qw(_,l,i,M,b)),l=qw(l,null,i,M,b)),p.setShape({points:l}),f&&f.setShape({points:l,stackedOnPoints:_})))}else x&&h.updateData(o,{isIgnore:w,clipShape:T,disableAnimation:!0,getSymbolPoint:function(t){return[l[2*t],l[2*t+1]]}}),g&&this._initSymbolLabelAnimation(o,i,T),M&&(_&&(_=qw(_,l,i,M,b)),l=qw(l,null,i,M,b)),p=this._newPolyline(l),m?f=this._newPolygon(l,_):f&&(d.remove(f),f=this._polygon=null),u||this._initOrUpdateEndLabel(t,i,qc(C)),d.setClipPath(tS(this,i,!0,t));var I=t.getModel("emphasis"),k=I.get("focus"),D=I.get("blurScope"),P=I.get("disabled");(p.useStyle(L(a.getLineStyle(),{fill:"none",stroke:C,lineJoin:"bevel"})),cu(p,t,"lineStyle"),p.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(p.getState("emphasis").style.lineWidth=+p.style.lineWidth+1);fl(p).seriesIndex=t.seriesIndex,au(p,k,D,P);var O=Xw(t.get("smooth")),E=t.get("smoothMonotone");if(p.setShape({smooth:O,smoothMonotone:E,connectNulls:b}),f){var R=o.getCalculationInfo("stackedOnSeries"),N=0;f.useStyle(L(s.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),R&&(N=Xw(R.get("smooth"))),f.setShape({smooth:O,stackedOnSmooth:N,smoothMonotone:E,connectNulls:b}),cu(f,t,"areaStyle"),fl(f).seriesIndex=t.seriesIndex,au(f,k,D,P)}var F=this._changePolyState;o.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=F)})),this._polyline.onHoverStateChange=F,this._data=o,this._coordSys=i,this._stackedOnPoints=_,this._points=l,this._step=M,this._valueOrigin=v,t.get("triggerLineEvent")&&(this.packEventData(t,p),f&&this.packEventData(t,f))},e.prototype.packEventData=function(t,e){fl(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=Fo(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel")||0,h=t.get("z")||0;(s=new ww(r,o)).x=l,s.y=u,s.setZ(c,h);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=c,p.z=h,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else _m.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=Fo(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else _m.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;jl(this._polyline,t),e&&jl(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new Bw({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Vw({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");$(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=$(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var h=[t.x,t.y],p=void 0,f=void 0,d=void 0;if(n)if(r){var g=n,m=e.pointToCoord(h);i?(p=g.startAngle,f=g.endAngle,d=-m[1]/180*Math.PI):(p=g.r0,f=g.r,d=m[0])}else{var v=n;i?(p=v.x,f=v.x+v.width,d=t.x):(p=v.y+v.height,f=v.y,d=t.y)}var y=f===p?0:(d-p)/(f-p);a&&(y=1-y);var _=$(u)?u(o):l*y+c,x=s.getSymbolPath(),b=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:_}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(Qw(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new pl({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(Iu(o,ku(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?_w(r,n):yw(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),p=o.get("precision"),f=o.get("distance")||0,d=a.getBaseAxis(),g=d.isHorizontal(),m=d.inverse,v=e.shape,y=m?g?v.x:v.y+v.height:g?v.x+v.width:v.y,_=(g?f:0)*(m?-1:1),x=(g?0:-f)*(m?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u<o;u++)if(r=t[2*u+a],!isNaN(r)&&!isNaN(t[2*u+1-a]))if(0!==u){if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,y,b),S=w.range,T=S[1]-S[0],M=void 0;if(T>=1){if(T>1&&!h){var C=Jw(u,S[0]);s.attr({x:C[0]+_,y:C[1]+x}),r&&(M=c.getRawValue(S[0]))}else{(C=l.getPointOn(y,b))&&s.attr({x:C[0]+_,y:C[1]+x});var A=c.getRawValue(S[0]),I=c.getRawValue(S[1]);r&&(M=Uo(n,p,A,I,w.t))}i.lastFrameIndex=S[0]}else{var k=1===t||i.lastFrameIndex>0?S[0]:0;C=Jw(u,k);r&&(M=c.getRawValue(k)),s.attr({x:C[0]+_,y:C[1]+x})}if(r){var D=Fu(s);"function"==typeof D.setLabelText&&D.setLabelText(M)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,n,i,r,o,a,s){for(var l=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),u=[],c=[],h=[],p=[],f=[],d=[],g=[],m=Iw(r,e,a),v=t.getLayout("points")||[],y=e.getLayout("points")||[],_=0;_<l.length;_++){var x=l[_],b=!0,w=void 0,S=void 0;switch(x.cmd){case"=":w=2*x.idx,S=2*x.idx1;var T=v[w],M=v[w+1],C=y[S],A=y[S+1];(isNaN(T)||isNaN(M))&&(T=C,M=A),u.push(T,M),c.push(C,A),h.push(n[w],n[w+1]),p.push(i[S],i[S+1]),g.push(e.getRawIndex(x.idx1));break;case"+":var I=x.idx,k=m.dataDimsForPoint,D=r.dataToPoint([e.get(k[0],I),e.get(k[1],I)]);S=2*I,u.push(D[0],D[1]),c.push(y[S],y[S+1]);var P=kw(m,r,e,I);h.push(P[0],P[1]),p.push(i[S],i[S+1]),g.push(e.getRawIndex(I));break;case"-":b=!1}b&&(f.push(x),d.push(d.length))}d.sort((function(t,e){return g[t]-g[e]}));var O=u.length,E=Ow(O),L=Ow(O),R=Ow(O),N=Ow(O),F=[];for(_=0;_<d.length;_++){var B=d[_],z=2*_,V=2*B;E[z]=u[V],E[z+1]=u[V+1],L[z]=c[V],L[z+1]=c[V+1],R[z]=h[V],R[z+1]=h[V+1],N[z]=p[V],N[z+1]=p[V+1],F[_]=f[B]}return{current:E,next:L,stackedOnCurrent:R,stackedOnNext:N,status:F}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),h=c.current,p=c.stackedOnCurrent,f=c.next,d=c.stackedOnNext;if(r&&(p=qw(c.stackedOnCurrent,c.current,n,r,a),h=qw(c.current,null,n,r,a),d=qw(c.stackedOnNext,c.next,n,r,a),f=qw(c.next,null,n,r,a)),Uw(h,f)>3e3||l&&Uw(p,d)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:d})));s.shape.__points=c.current,s.shape.points=h;var g={shape:{points:f}};c.current!==h&&(g.shape.__points=c.next),s.stopAnimation(),yu(s,g,u),l&&(l.setShape({points:h,stackedOnPoints:p}),l.stopAnimation(),yu(l,{shape:{stackedOnPoints:d}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var m=[],v=c.status,y=0;y<v.length;y++){if("="===v[y].cmd){var _=t.getItemGraphicEl(v[y].idx1);_&&m.push({el:_,ptIdx:y})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<m.length;e++){var n=m[e].el,i=2*m[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(_m),nS=eS;function iS(t,e){return{seriesType:t,plan:cd(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(i){var a=z(i.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),s=a.length,l=n.getCalculationInfo("stackResultDimension");fw(n,a[0])&&(a[0]=l),fw(n,a[1])&&(a[1]=l);var u=n.getStore(),c=n.getDimensionIndex(a[0]),h=n.getDimensionIndex(a[1]);return s&&{progress:function(t,e){for(var n=t.end-t.start,r=o&&Ow(n*s),a=[],l=[],p=t.start,f=0;p<t.end;p++){var d=void 0;if(1===s){var g=u.get(c,p);d=i.dataToPoint(g,null,l)}else a[0]=u.get(c,p),a[1]=u.get(h,p),d=i.dataToPoint(a,null,l);o?(r[f++]=d[0],r[f++]=d[1]):e.setItemLayout(p,d.slice())}o&&e.setLayout("points",r)}}}}}}var rS={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},oS=function(t){return Math.round(t.length/2)};function aS(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),c=n.getDevicePixelRatio(),h=Math.abs(u[1]-u[0])*(c||1),p=Math.round(a/h);if(isFinite(p)&&p>1){"lttb"===r?t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p)):"minmax"===r&&t.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/p));var f=void 0;U(r)?f=rS[r]:$(r)&&(f=r),f&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,f,oS))}}}}}var sS="__ec_stack_";function lS(t){return t.get("stack")||sS+t.seriesIndex}function uS(t){return t.dim+t.index}function cS(t,e){var n=[];return e.eachSeriesByType(t,(function(t){gS(t)&&n.push(t)})),n}function hS(t){var e=function(t){var e={};B(t,(function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[u]}}));var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(r){r.sort((function(t,e){return t-e}));for(var o=null,a=1;a<r.length;++a){var s=r[a]-r[a-1];s>0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return B(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),c=Math.abs(u[1]-u[0]);i=s?l/c*s:l}else{var h=t.getData();i=Math.abs(o[1]-o[0])/h.count()}var p=eo(t.get("barWidth"),i),f=eo(t.get("barMaxWidth"),i),d=eo(t.get("barMinWidth")||(mS(t)?.5:1),i),g=t.get("barGap"),m=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:f,barMinWidth:d,barGap:g,barCategoryGap:m,axisKey:uS(r),stackId:lS(t)})})),pS(n)}function pS(t){var e={};B(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var h=t.barGap;null!=h&&(o.gap=h);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return B(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=G(i).length;o=Math.max(35-4*a,15)+"%"}var s=eo(o,r),l=eo(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),B(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,c--}else{var i=h;e&&e<i&&(i=Math.min(e,u)),n&&n>i&&(i=n),i!==h&&(t.width=i,u-=i+l*i,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var p,f=0;B(i,(function(t,e){t.width||(t.width=h),p=t,f+=t.width*(1+l)})),p&&(f-=p.width*l);var d=-f/2;B(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:d,width:t.width},d+=t.width*(1+l)}))})),n}function fS(t,e){var n=cS(t,e),i=hS(n);B(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=lS(t),o=i[uS(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function dS(t){return{seriesType:t,plan:cd(),reset:function(t){if(gS(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),c=fw(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),h=r.isHorizontal(),p=function(t,e){var n=e.model.get("startValue");n||(n=0);return e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}(0,r),f=mS(t),d=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),m=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=f&&Ow(3*r),u=f&&s&&Ow(3*r),y=f&&Ow(r),_=n.master.getRect(),x=h?_.width:_.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(c?g:o,i),T=b.get(a,i),M=p,C=void 0;c&&(C=+S-b.get(o,i));var A=void 0,I=void 0,k=void 0,D=void 0;if(h){var P=n.dataToPoint([S,T]);if(c)M=n.dataToPoint([C,T])[0];A=M,I=P[1]+v,k=P[0]-M,D=m,Math.abs(k)<d&&(k=(k<0?-1:1)*d)}else{P=n.dataToPoint([T,S]);if(c)M=n.dataToPoint([T,C])[1];A=P[0]+v,I=M,k=m,D=P[1]-M,Math.abs(D)<d&&(D=(D<=0?-1:1)*d)}f?(l[w]=A,l[w+1]=I,l[w+2]=h?k:D,u&&(u[w]=h?_.x:A,u[w+1]=h?I:_.y,u[w+2]=x),y[i]=i):e.setItemLayout(i,{x:A,y:I,width:k,height:D}),w+=3}f&&e.setLayout({largePoints:l,largeDataIndices:y,largeBackgroundPoints:u,valueAxisHorizontal:h})}}}}}}function gS(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function mS(t){return t.pipelineContext&&t.pipelineContext.large}var vS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(t,e){return gw(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)B(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,c=void 0,h=1,p=0;p<i.length;p++){var f=i[p].coord,d=p===i.length-1?i[p-1].tickValue+h:i[p].tickValue;if(d===s){c=f;break}if(d<s)u=f;else if(null!=u&&d>s){c=(f+u)/2;break}1===p&&(h=d-i[0].tickValue)}null==c&&(u?u&&(c=i[i.length-1].coord):c=i[0].coord),o[n]=t.toGlobalCoord(c)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(sd);sd.registerClass(vS);var yS=vS,_S=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(){return gw(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=ic(yS.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(yS),xS=_S,bS=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},wS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return o(e,t),e.prototype.getDefaultShape=function(){return new bS},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=2*Math.PI,p=c?u-l<h:l-u<h;p||(l=u-(c?h:-h));var f=Math.cos(l),d=Math.sin(l),g=Math.cos(u),m=Math.sin(u);p?(t.moveTo(f*r+n,d*r+i),t.arc(f*s+n,d*s+i,a,-Math.PI+l,l,!c)):t.moveTo(f*o+n,d*o+i),t.arc(n,i,o,l,u,!c),t.arc(g*s+n,m*s+i,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&t.arc(n,i,r,u,l,c)},e}(Rs),SS=wS;function TS(t,e,n){return e*Math.sin(t)*(n?-1:1)}function MS(t,e,n){return e*Math.cos(t)*(n?1:-1)}function CS(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;Z(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:z(i,(function(t){return Or(t,r)}))}}var AS=Math.max,IS=Math.min;var kS=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return o(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){cm(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,h=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();0;if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,l);h&&this._enableRealtimeSort(h,a,n);var p=t.get("clip",!0)||h,f=function(t,e){var n=t.getArea&&t.getArea();if(Hw(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(l,a);o.removeClipPath();var d=t.get("roundCap",!0),g=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),v=m.get("borderRadius")||0,y=[],_=this._backgroundEls,x=i&&i.isInitSort,b=i&&"changeAxisOrder"===i.type;function w(t){var e=FS[l.type](a,t),n=function(t,e,n){var i="polar"===t.type?Jd:Ys;return new i({shape:HS(e,n,t),silent:!0,z2:0})}(l,r,e);return n.useStyle(m.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",v):n.setShape("cornerRadius",v),y[t]=n,n}a.diff(s).add((function(e){var n=a.getItemModel(e),i=FS[l.type](a,e,n);if(g&&w(e),a.hasValue(e)&&NS[l.type](i)){var s=!1;p&&(s=DS[l.type](f,i));var m=PS[l.type](t,a,e,i,r,c,u.model,!1,d);h&&(m.forceLabelAnimation=!0),zS(m,a,e,n,i,t,r,"polar"===l.type),x?m.attr({shape:i}):h?OS(h,c,m,i,e,r,!1,!1):_u(m,{shape:i},t,e),a.setItemGraphicEl(e,m),o.add(m),m.ignore=s}})).update((function(e,n){var i=a.getItemModel(e),S=FS[l.type](a,e,i);if(g){var T=void 0;0===_.length?T=w(n):((T=_[n]).useStyle(m.getItemStyle()),"cartesian2d"===l.type?T.setShape("r",v):T.setShape("cornerRadius",v),y[e]=T);var M=FS[l.type](a,e);yu(T,{shape:HS(r,M,l)},c,e)}var C=s.getItemGraphicEl(n);if(a.hasValue(e)&&NS[l.type](S)){var A=!1;if(p&&(A=DS[l.type](f,S))&&o.remove(C),C?Tu(C):C=PS[l.type](t,a,e,S,r,c,u.model,!!C,d),h&&(C.forceLabelAnimation=!0),b){var I=C.getTextContent();if(I){var k=Fu(I);null!=k.prevValue&&(k.prevValue=k.value)}}else zS(C,a,e,i,S,t,r,"polar"===l.type);x?C.attr({shape:S}):h?OS(h,c,C,S,e,r,!0,b):yu(C,{shape:S},t,e,null),a.setItemGraphicEl(e,C),C.ignore=A,o.add(C)}else o.remove(C)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&Su(n,t,e)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new $r);S.removeAll();for(var T=0;T<y.length;++T)S.add(y[T]);o.add(S),this._backgroundEls=y,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),GS(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),GS(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&Ww(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),(function(t,e){var r=n(e);r=null==r?NaN:r,i.push({dataIndex:e,mappedValue:r,ordinalNumber:t})})),i.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:z(i,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=i.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Su(e,t,fl(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(_m),DS={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=AS(e.x,t.x),s=IS(e.x+e.width,r),l=AS(e.y,t.y),u=IS(e.y+e.height,o),c=s<a,h=u<l;return e.x=c&&a>r?s:a,e.y=h&&l>o?u:l,e.width=c?0:s-a,e.height=h?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),c||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=IS(e.r,t.r),o=AS(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},PS={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Ys({shape:E({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?SS:Jd,c=new u({shape:i,z2:1});c.name="item";var h,p,f=BS(r);if(c.calculateTextPosition=(h=f,p=({isRoundCap:u===SS}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return Er(t,e,n);var r=h(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,c=a.r0,f=(u+c)/2,d=a.startAngle,g=a.endAngle,m=(d+g)/2,v=p?Math.abs(u-c)/2:0,y=Math.cos,_=Math.sin,x=s+u*y(d),b=l+u*_(d),w="left",S="top";switch(r){case"startArc":x=s+(c-o)*y(m),b=l+(c-o)*_(m),w="center",S="top";break;case"insideStartArc":x=s+(c+o)*y(m),b=l+(c+o)*_(m),w="center",S="bottom";break;case"startAngle":x=s+f*y(d)+TS(d,o+v,!1),b=l+f*_(d)+MS(d,o+v,!1),w="right",S="middle";break;case"insideStartAngle":x=s+f*y(d)+TS(d,-o+v,!1),b=l+f*_(d)+MS(d,-o+v,!1),w="left",S="middle";break;case"middle":x=s+f*y(m),b=l+f*_(m),w="center",S="middle";break;case"endArc":x=s+(u+o)*y(m),b=l+(u+o)*_(m),w="center",S="bottom";break;case"insideEndArc":x=s+(u-o)*y(m),b=l+(u-o)*_(m),w="center",S="top";break;case"endAngle":x=s+f*y(g)+TS(g,o+v,!0),b=l+f*_(g)+MS(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":x=s+f*y(g)+TS(g,-o+v,!0),b=l+f*_(g)+MS(g,-o+v,!0),w="right",S="middle";break;default:return Er(t,e,n)}return(t=t||{}).x=x,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var d=r?"r":"endAngle",g={};c.shape[d]=r?i.r0:i.startAngle,g[d]=i[d],(s?yu:_u)(c,{shape:g},o)}return c}};function OS(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?yu:_u)(n,{shape:l},e,r,null),(a?yu:_u)(n,{shape:u},e?t.baseAxis.model:null,r)}function ES(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var LS=["x","y","width","height"],RS=["cx","cy","r","startAngle","endAngle"],NS={cartesian2d:function(t){return!ES(t,LS)},polar:function(t){return!ES(t,RS)}},FS={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),r=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,r,o)}(n,i):0,o=i.width>0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function BS(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function zS(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;E(u,CS(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var c=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",c)}t.useStyle(l);var h=i.getShallow("cursor");h&&t.attr("cursor",h);var p=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",f=ku(i);Iu(t,f,{labelFetcher:o,labelDataIndex:n,defaultText:yw(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var d=t.getTextContent();if(s&&d){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(q(i))t.setTextConfig({rotation:i});else if(Z(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-r;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}}(t,"outside"===g?p:g,BS(a),i.get(["label","rotate"]))}Bu(d,f,o.getRawValue(n),(function(t){return _w(e,t)}));var m=i.getModel(["emphasis"]);au(t,m.get("focus"),m.get("blurScope"),m.get("disabled")),cu(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",B(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var VS=function(){},jS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return o(e,t),e.prototype.getDefaultShape=function(){return new VS},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[i]=s,a[r]=n[l+2],o[i]=n[l+i],o[r]=n[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(Rs);function GS(t,e,n,i){var r=t.getData(),o=r.getLayout("valueAxisHorizontal")?1:0,a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var c=new jS({shape:{points:u},incremental:!!i,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),e.add(c),n&&n.push(c)}var h=new jS({shape:{points:r.getLayout("largePoints")},incremental:!!i,ignoreCoarsePointer:!0,z2:1});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,e.add(h),h.useStyle(r.getVisual("style")),h.style.stroke=null,fl(h).seriesIndex=t.seriesIndex,t.get("silent")||(h.on("mousedown",WS),h.on("mousemove",WS)),n&&n.push(h)}var WS=Sm((function(t){var e=function(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,h=o.length/3;c<h;c++){var p=3*c;if(l[i]=u,l[r]=o[p+2],s[i]=o[p+i],s[r]=o[p+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}(this,t.offsetX,t.offsetY);fl(this).dataIndex=e>=0?e:null}),30,!1);function HS(t,e,n){if(Hw(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var ZS=kS;var $S=2*Math.PI,US=Math.PI/180;function XS(t,e){return nh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function qS(t,e){var n=XS(t,e),i=t.get("center"),r=t.get("radius");Z(r)||(r=[0,r]);var o,a,s=eo(n.width,e.getWidth()),l=eo(n.height,e.getHeight()),u=Math.min(s,l),c=eo(r[0],u/2),h=eo(r[1],u/2),p=t.coordinateSystem;if(p){var f=p.dataToPoint(i);o=f[0]||0,a=f[1]||0}else Z(i)||(i=[i,i]),o=eo(i[0],s)+n.x,a=eo(i[1],l)+n.y;return{cx:o,cy:a,r0:c,r:h}}function YS(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=XS(t,n),o=qS(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-t.get("startAngle")*US,h=t.get("endAngle"),p=t.get("padAngle")*US;h="auto"===h?c-$S:-h*US;var f=t.get("minAngle")*US+p,d=0;e.each(i,(function(t){!isNaN(t)&&d++}));var g=e.getSum(i),m=Math.PI/(g||d)*2,v=t.get("clockwise"),y=t.get("roseType"),_=t.get("stillShowZeroSum"),x=e.getDataExtent(i);x[0]=0;var b=v?1:-1,w=[c,h],S=b*p/2;hs(w,!v),c=w[0],h=w[1];var T=KS(t);T.startAngle=c,T.endAngle=h,T.clockwise=v;var M=Math.abs(h-c),C=M,A=0,I=c;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:a,cy:s,r0:u,r:y?NaN:l});else{(i="area"!==y?0===g&&_?m:t*m:M/d)<f?(i=f,C-=f):A+=t;var r=I+b*i,o=0,c=0;p>i?c=o=I+b*i/2:(o=I+S,c=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:c,clockwise:v,cx:a,cy:s,r0:u,r:y?to(t,x,[u,l]):l}),I=r}})),C<$S&&d)if(C<=.001){var k=M/d;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=k;var r=0,o=0;k<p?o=r=c+b*(n+.5)*k:(r=c+b*n*k+S,o=c+b*(n+1)*k-S),i.startAngle=r,i.endAngle=o}}))}else m=C/A,I=c,e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===f?f:t*m,o=0,a=0;r<p?a=o=I+b*r/2:(o=I+S,a=I+b*r-S),i.startAngle=o,i.endAngle=a,I+=b*r}}))}))}var KS=Bo();function JS(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf((function(t){for(var e=i.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(e))return!1;return!0}))}}}}var QS=Math.PI/180;function tT(t,e,n,i,r,o,a,s,l,u){if(!(t.length<2)){for(var c=t.length,h=0;h<c;h++)if("outer"===t[h].position&&"labelLine"===t[h].labelAlignTo){var p=t[h].label.x-u;t[h].linePoints[1][0]+=p,t[h].label.x=u}Z_(t,l,l+a)&&function(t){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],u=l.label.y>n?a:o,c=Math.abs(l.label.y-n);if(c>=u.maxY){var h=l.label.x-e-l.len2*r,p=i+l.len,d=Math.abs(h)<p?Math.sqrt(c*c/(1-h*h/p/p)):p;u.rB=d,u.maxY=c}u.list.push(l)}f(o),f(a)}(t)}function f(t){for(var o=t.rB,a=o*o,s=0;s<t.list.length;s++){var l=t.list[s],u=Math.abs(l.label.y-n),c=i+l.len,h=c*c,p=Math.sqrt(Math.abs((1-u*u/a)*h)),f=e+(p+l.len2)*r,d=f-l.label.x;eT(l,l.targetTextWidth-d*r,!0),l.label.x=f}}}function eT(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var i=t.label,r=i.style,o=t.rect,a=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,c=o.width+(a?0:l);if(e<c||n){var h=o.height;if(u&&u.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",e-l);var p=i.getBoundingRect();i.setStyle("width",Math.ceil(p.width)),i.setStyle("backgroundColor",a)}else{var f=e-l,d=e<c?f:n?f>t.unconstrainedWidth?null:f:null;i.setStyle("width",d)}var g=i.getBoundingRect();o.width=g.width;var m=(i.style.margin||0)+2.1;o.height=g.height+m,o.y-=(o.height-h)/2}}}function nT(t){return"center"===t.position}function iT(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*QS,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,c=s.x,h=s.y,p=s.height;function f(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),h=s.shape,p=s.getTextContent(),d=s.getTextGuideLine(),g=i.getItemModel(t),m=g.getModel("label"),v=m.get("position")||g.get(["emphasis","label","position"]),y=m.get("distanceToLabelLine"),_=m.get("alignTo"),x=eo(m.get("edgeDistance"),u),b=m.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=eo(S,u);var T=w.get("length2");if(T=eo(T,u),Math.abs(h.endAngle-h.startAngle)<a)return B(p.states,f),p.ignore=!0,void(d&&(B(d.states,f),d.ignore=!0));if(function(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}(p)){var M,C,A,I,k=(h.startAngle+h.endAngle)/2,D=Math.cos(k),P=Math.sin(k);e=h.cx,n=h.cy;var O="inside"===v||"inner"===v;if("center"===v)M=h.cx,C=h.cy,I="center";else{var E=(O?(h.r+h.r0)/2*D:h.r*D)+e,L=(O?(h.r+h.r0)/2*P:h.r*P)+n;if(M=E+3*D,C=L+3*P,!O){var R=E+D*(S+l-h.r),N=L+P*(S+l-h.r),F=R+(D<0?-1:1)*T;M="edge"===_?D<0?c+x:c+u-x:F+(D<0?-y:y),C=N,A=[[E,L],[R,N],[F,N]]}I=O?"center":"edge"===_?D>0?"right":"left":D>0?"left":"right"}var z=Math.PI,V=0,j=m.get("rotate");if(q(j))V=j*(z/180);else if("center"===v)V=0;else if("radial"===j||!0===j){V=D<0?-k+z:-k}else if("tangential"===j&&"outside"!==v&&"outer"!==v){var G=Math.atan2(D,P);G<0&&(G=2*z+G),P>0&&(G=z+G),V=G-z}if(o=!!V,p.x=M,p.y=C,p.rotation=V,p.setStyle({verticalAlign:"middle"}),O){p.setStyle({align:I});var W=p.states.select;W&&(W.x+=p.x,W.y+=p.y)}else{var H=p.getBoundingRect().clone();H.applyTransform(p.getComputedTransform());var Z=(p.style.margin||0)+2.1;H.y-=Z/2,H.height+=Z,r.push({label:p,labelLine:d,position:v,len:S,len2:T,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new Te(D,P),linePoints:A,textAlign:I,labelDistance:y,labelAlignTo:_,edgeDistance:x,bleedMargin:b,rect:H,unconstrainedWidth:H.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:O})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,h=-Number.MAX_VALUE,p=0;p<t.length;p++){var f=t[p].label;nT(t[p])||(f.x<e?(c=Math.min(c,f.x),l.push(t[p])):(h=Math.max(h,f.x),u.push(t[p])))}for(p=0;p<t.length;p++)if(!nT(m=t[p])&&m.linePoints){if(null!=m.labelStyleWidth)continue;f=m.label;var d=m.linePoints,g=void 0;g="edge"===m.labelAlignTo?f.x<e?d[2][0]-m.labelDistance-a-m.edgeDistance:a+r-m.edgeDistance-d[2][0]-m.labelDistance:"labelLine"===m.labelAlignTo?f.x<e?c-a-m.bleedMargin:a+r-h-m.bleedMargin:f.x<e?f.x-a-m.bleedMargin:a+r-f.x-m.bleedMargin,m.targetTextWidth=g,eT(m,g)}for(tT(u,e,n,i,1,0,o,0,s,h),tT(l,e,n,i,-1,0,o,0,s,c),p=0;p<t.length;p++){var m;if(!nT(m=t[p])&&m.linePoints){f=m.label,d=m.linePoints;var v="edge"===m.labelAlignTo,y=f.style.padding,_=y?y[1]+y[3]:0,x=f.style.backgroundColor?0:_,b=m.rect.width+x,w=d[1][0]-d[2][0];v?f.x<e?d[2][0]=a+m.edgeDistance+b+m.labelDistance:d[2][0]=a+r-m.edgeDistance-b-m.labelDistance:(f.x<e?d[2][0]=f.x+m.labelDistance:d[2][0]=f.x-m.labelDistance,d[1][0]=d[2][0]+w),d[1][1]=d[2][1]=f.y}}}(r,e,n,l,u,p,c,h);for(var d=0;d<r.length;d++){var g=r[d],m=g.label,v=g.labelLine,y=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:g.textAlign}),y&&(B(m.states,f),m.ignore=!0);var _=m.states.select;_&&(_.x+=m.x,_.y+=m.y)}if(v){var x=g.linePoints;y||!x?(B(v.states,f),v.ignore=!0):(F_(x,g.minTurnAngle),B_(x,g.surfaceNormal,g.maxSurfaceAngle),v.setShape({points:x}),m.__hostTarget.textGuideLineConfig={anchor:new Te(x[0][0],x[0][1])})}}}var rT=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var o=new pl;return r.setTextContent(o),r.updateData(e,n,i,!0),r}return o(e,t),e.prototype.updateData=function(t,e,n,i){var r=this,o=t.hostModel,a=t.getItemModel(e),s=a.getModel("emphasis"),l=t.getItemLayout(e),u=E(CS(a.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))r.setShape(u);else{if(i){r.setShape(u);var c=o.getShallow("animationType");o.ecModel.ssr?(_u(r,{scaleX:0,scaleY:0},o,{dataIndex:e,isFrom:!0}),r.originX=u.cx,r.originY=u.cy):"scale"===c?(r.shape.r=l.r0,_u(r,{shape:{r:l.r}},o,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),_u(r,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},o,e)):(r.shape.endAngle=l.startAngle,yu(r,{shape:{endAngle:l.endAngle}},o,e))}else Tu(r),yu(r,{shape:u},o,e);r.useStyle(t.getItemVisual(e,"style")),cu(r,a);var h=(l.startAngle+l.endAngle)/2,p=o.get("selectedOffset"),f=Math.cos(h)*p,d=Math.sin(h)*p,g=a.getShallow("cursor");g&&r.attr("cursor",g),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=E({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},CS(s.getModel("itemStyle"),l)),E(r.ensureState("select"),{x:f,y:d,shape:CS(a.getModel(["select","itemStyle"]),l)}),E(r.ensureState("blur"),{shape:CS(a.getModel(["blur","itemStyle"]),l)});var m=r.getTextGuideLine(),v=r.getTextContent();m&&E(m.ensureState("select"),{x:f,y:d}),E(v.ensureState("select"),{x:f,y:d}),au(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=this,r=e.getItemModel(n),o=r.getModel("labelLine"),a=e.getItemVisual(n,"style"),s=a&&a.fill,l=a&&a.opacity;Iu(i,ku(r),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var u=i.getTextContent();i.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=t.get(["label","position"]);if("outside"!==c&&"outer"!==c)i.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new lg,this.setTextGuideLine(h)),j_(this,G_(r),{stroke:s,opacity:rt(o.get(["lineStyle","opacity"]),l,1)})}},e}(Jd),oT=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return o(e,t),e.prototype.render=function(t,e,n,i){var r,o=t.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<o.count();++u)l=o.getItemLayout(u);l&&(r=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&t.get("showEmptyCircle")){var c=KS(t),h=new Jd({shape:E(qS(t,n),c)});h.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=h,s.add(h)}o.diff(a).add((function(t){var e=new rT(o,t,r);o.setItemGraphicEl(t,e),s.add(e)})).update((function(t,e){var n=a.getItemGraphicEl(e);n.updateData(o,t,r),n.off("click"),s.add(n),o.setItemGraphicEl(t,n)})).remove((function(e){Su(a.getItemGraphicEl(e),t,e)})).execute(),iT(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="pie",e}(_m),aT=oT;function sT(t,e,n){e=Z(e)&&{coordDimensions:e}||E({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=sw(i,e).dimensions,o=new aw(r,t);return o.initData(i,n),o}var lT=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),uT=lT,cT=Bo(),hT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new uT(W(this.getData,this),W(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return sT(this,{coordDimensions:["value"],encodeDefaulter:H(Ch,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=cT(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=ao(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){Ao(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(sd),pT=hT;var fT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){return gw(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(sd),dT=fT,gT=function(){},mT=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return o(e,t),e.prototype.getDefaultShape=function(){return new gT},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<i.length;){var c=i[n++],h=i[n++];isNaN(c)||isNaN(h)||(u&&!u.contain(c,h)||(a.x=c-r[0]/2,a.y=h-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||r.fillRect(a-i[0]/2,s-i[1]/2,i[0],i[1]))}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-o/2,c=i[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<n.length;){var h=n[c++],p=n[c++];a=Math.min(h,a),l=Math.max(h,l),s=Math.min(p,s),u=Math.max(p,u)}t=this._rect=new Le(a-r/2,s-o/2,l-a+r,u-s+o)}return t},e}(Rs),vT=function(){function t(){this.group=new $r}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e),t.reset()}))},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],r=e.getLayout("points"),o=i&&i.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),i.endIndex=t.end,i.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new mT({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=kv(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=fl(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),yT=vT,_T=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=iS("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new yT:new Aw,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(_m),xT=_T,bT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(ch),wT=bT,ST=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),TT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Go).models[0]},e.type="cartesian2dAxis",e}(ch);N(TT,ST);var MT={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},CT=P({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},MT),AT=P({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},MT),IT={category:CT,value:AT,time:P({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},AT),log:L({logBase:10},AT)},kT=0;function DT(t){return Y(t)&&null!=t.value?t.value:t+""}var PT=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++kT}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&z(i,DT);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!U(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=gt(this.categories))},t}(),OT={value:1,category:1,time:1,log:1};function ET(t,e,n,i){B(OT,(function(r,a){var s=P(P({},IT[a],!0),i,!0),l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return o(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=rh(this),i=n?ah(t):{};P(t,e.getTheme().get(a+"Axis")),P(t,this.getDefaultOption()),t.type=LT(t),n&&oh(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=PT.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",LT)}function LT(t){return t.type||(t.data?"category":"value")}var RT=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();ia(RT);var NT=RT;function FT(t){return"interval"===t.type||"log"===t.type}function BT(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=go(o/e,!0);null!=n&&a<n&&(a=r.interval=n),null!=i&&a>i&&(a=r.interval=i);var s=r.intervalPrecision=VT(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),jT(t,0,e),jT(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[no(Math.ceil(t[0]/a)*a,s),no(Math.floor(t[1]/a)*a,s)],t),r}function zT(t){var e=Math.pow(10,fo(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,no(n*e)}function VT(t){return ro(t)+2}function jT(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function GT(t,e){return t>=e[0]&&t<=e[1]}function WT(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function HT(t,e){return t*(e[1]-e[0])+e[0]}var ZT=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new PT({})),Z(i)&&(i=new PT({categories:z(i,(function(t){return Y(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return o(e,t),e.prototype.parse=function(t){return null==t?NaN:U(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return GT(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return WT(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(HT(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){for(;null!=i[l];)l++;n.push(l),i[l]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(NT);NT.registerClass(ZT);var $T=ZT,UT=no,XT=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return o(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return GT(t,this._extent)},e.prototype.normalize=function(t){return WT(t,this._extent)},e.prototype.scale=function(t){return HT(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=VT(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]<i[0]&&(t?o.push({value:UT(i[0]-e,r)}):o.push({value:n[0]}));for(var a=i[0];a<=i[1]&&(o.push({value:a}),(a=UT(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:UT(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,l=[],u=(o.value-a.value)/t;s<t-1;){var c=UT(a.value+(s+1)*u);c>i[0]&&c<i[1]&&l.push(c),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=ro(t.value)||0:"auto"===n&&(n=this._intervalPrecision),Gc(UT(t.value,n,!0))},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=BT(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=UT(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=UT(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(NT);NT.registerClass(XT);var qT=XT,YT=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return o(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return Mc(t.value,_c[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(Sc(this._minLevelUnit))]||_c.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC");return function(t,e,n,i,r){var o=null;if(U(n))o=n;else if($(n))o=n(t.value,e,{level:t.level});else{var a=E({},vc);if(t.level>0)for(var s=0;s<xc.length;++s)a[xc[s]]="{primary|"+a[xc[s]]+"}";var l=n?!1===n.inherit?n:L(n,a):a,u=Cc(t.value,r);if(l[u])o=l[u];else if(l.inherit){for(s=bc.indexOf(u)-1;s>=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(Z(o)){var c=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[c=Math.min(c,o.length-1)]}}return Mc(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=bc,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,c=l[r]();u<n&&u<=i[1];)s.push({value:u}),c+=t,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function l(t,r,o){var a=[],l=!r.length;if(!function(t,e,n,i){var r=po(e),o=po(n),a=function(t){return Ac(r,t,i)===Ac(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},h=function(){return c()&&a("minute")},p=function(){return h()&&a("second")},f=function(){return p()&&a("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return h();case"second":return p();case"millisecond":return f()}}(Sc(t),i[0],i[1],n)){l&&(r=[{value:iM(new Date(i[0]),t,n)},{value:i[1]}]);for(var u=0;u<r.length-1;u++){var c=r[u].value,h=r[u+1].value;if(c!==h){var p=void 0,f=void 0,d=void 0,g=!1;switch(t){case"year":p=Math.max(1,Math.round(e/gc/365)),f=Ic(n),d=Rc(n);break;case"half-year":case"quarter":case"month":p=QT(e),f=kc(n),d=Nc(n);break;case"week":case"half-week":case"day":p=JT(e,31),f=Dc(n),d=Fc(n),g=!0;break;case"half-day":case"quarter-day":case"hour":p=tM(e),f=Pc(n),d=Bc(n);break;case"minute":p=eM(e,!0),f=Oc(n),d=zc(n);break;case"second":p=eM(e,!1),f=Ec(n),d=Vc(n);break;case"millisecond":p=nM(e),f=Lc(n),d=jc(n)}s(p,c,h,f,d,g,a),"year"===t&&o.length>1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var u=[],c=[],h=0,p=0,f=0;f<o.length&&a++<r;++f){var d=Sc(o[f]);if(Tc(o[f]))if(l(o[f],u[u.length-1]||[],c),d!==(o[f+1]?Sc(o[f+1]):null)){if(c.length){p=h,c.sort((function(t,e){return t.value-e.value}));for(var g=[],m=0;m<c.length;++m){var v=c[m].value;0!==m&&c[m-1].value===v||(g.push(c[m]),v>=i[0]&&v<=i[1]&&h++)}var y=(i[1]-i[0])/e;if(h>1.5*y&&p>y/1.5)break;if(u.push(g),h>y||t===o[f])break}c=[]}}0;var _=j(z(u,(function(t){return j(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),x=[],b=_.length-1;for(f=0;f<_.length;++f)for(var w=_[f],S=0;S<w.length;++S)x.push({value:w[S].value,level:b-f});x.sort((function(t,e){return t.value-e.value}));var T=[];for(f=0;f<x.length;++f)0!==f&&x[f].value===x[f-1].value||T.push(x[f]);return T}(this._minLevelUnit,this._approxInterval,i,e);return(n=n.concat(r)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=gc,e[1]+=gc),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-gc}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=KT.length,a=Math.min(function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n}(KT,this._approxInterval,0,o),o-1);this._interval=KT[a][1],this._minLevelUnit=KT[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return q(t)?t:+po(t)},e.prototype.contain=function(t){return GT(this.parse(t),this._extent)},e.prototype.normalize=function(t){return WT(this.parse(t),this._extent)},e.prototype.scale=function(t){return HT(t,this._extent)},e.type="time",e}(qT),KT=[["second",pc],["minute",fc],["hour",dc],["quarter-day",6*dc],["half-day",12*dc],["day",1.2*gc],["half-week",3.5*gc],["week",7*gc],["month",31*gc],["quarter",95*gc],["half-year",mc/2],["year",mc]];function JT(t,e){return(t/=gc)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function QT(t){return(t/=30*gc)>6?6:t>3?3:t>2?2:1}function tM(t){return(t/=dc)>12?12:t>6?6:t>3.5?4:t>2?2:1}function eM(t,e){return(t/=e?fc:pc)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function nM(t){return go(t,!0)}function iM(t,e,n){var i=new Date(t);switch(Sc(e)){case"year":case"month":i[Nc(n)](0);case"day":i[Fc(n)](1);case"hour":i[Bc(n)](0);case"minute":i[zc(n)](0);case"second":i[Vc(n)](0),i[jc(n)](0)}return i.getTime()}NT.registerClass(YT);var rM=YT,oM=NT.prototype,aM=qT.prototype,sM=no,lM=Math.floor,uM=Math.ceil,cM=Math.pow,hM=Math.log,pM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new qT,e._interval=0,e}return o(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return z(aM.getTicks.call(this,t),(function(t){var e=t.value,r=no(cM(this.base,e));return r=e===n[0]&&this._fixMin?dM(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?dM(r,i[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=hM(this.base);t=hM(Math.max(0,t))/n,e=hM(Math.max(0,e))/n,aM.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=oM.getExtent.call(this);e[0]=cM(t,e[0]),e[1]=cM(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=dM(e[0],n[0])),this._fixMax&&(e[1]=dM(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=hM(t[0])/hM(e),t[1]=hM(t[1])/hM(e),oM.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i,r=(i=n,Math.pow(10,fo(i)));for(t/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var o=[no(uM(e[0]/r)*r),no(lM(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){aM.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return GT(t=hM(t)/hM(this.base),this._extent)},e.prototype.normalize=function(t){return WT(t=hM(t)/hM(this.base),this._extent)},e.prototype.scale=function(t){return t=HT(t,this._extent),cM(this.base,t)},e.type="log",e}(NT),fM=pM.prototype;function dM(t,e){return sM(t,ro(e))}fM.getMinorTicks=aM.getMinorTicks,fM.getLabel=aM.getLabel,NT.registerClass(pM);var gM=pM,mM=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var r=e.get("min",!0);null==r&&(r=e.get("startValue",!0));var o=this._modelMinRaw=r;$(o)?this._modelMinNum=xM(t,o({min:n[0],max:n[1]})):"dataMin"!==o&&(this._modelMinNum=xM(t,o));var a=this._modelMaxRaw=e.get("max",!0);if($(a)?this._modelMaxNum=xM(t,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=xM(t,a)),i)this._axisDataLen=e.getCategories().length;else{var s=e.get("boundaryGap"),l=Z(s)?s:[s||0,s||0];"boolean"==typeof l[0]||"boolean"==typeof l[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[Or(l[0],1),Or(l[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,i=this._axisDataLen,r=this._boundaryGapInner,o=t?null:n-e||Math.abs(e),a="dataMin"===this._modelMinRaw?e:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=a,u=null!=s;null==a&&(a=t?i?0:NaN:e-r[0]*o),null==s&&(s=t?i?i-1:NaN:n+r[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var c=et(a)||et(s)||t&&!i;this._needCrossZero&&(a>0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var h=this._determinedMin,p=this._determinedMax;return null!=h&&(a=h,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[yM[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[vM[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),vM={min:"_determinedMin",max:"_determinedMax"},yM={min:"_dataMin",max:"_dataMax"};function _M(t,e,n){var i=t.rawExtentInfo;return i||(i=new mM(t,e,n),t.rawExtentInfo=i,i)}function xM(t,e){return null==e?null:et(e)?NaN:t.parse(e)}function bM(t,e){var n=t.type,i=_M(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=cS("bar",a),l=!1;if(B(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=hS(s),c=function(t,e,n,i){var r=n.axis.getExtent(),o=Math.abs(r[1]-r[0]),a=function(t,e,n){if(t&&e){var i=t[uS(e)];return null!=i&&null!=n?i[lS(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;B(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;B(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=e-t,h=c/(1-(s+l)/o)-c;return e+=h*(l/u),t-=h*(s/u),{min:t,max:e}}(r,o,e,u);r=c.min,o=c.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function wM(t,e){var n=e,i=bM(t,n),r=i.extent,o=n.get("splitNumber");t instanceof gM&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function SM(t,e){if(e=e||t.get("type"))switch(e){case"category":return new $T({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new rM({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(NT.getClass(e)||qT)}}function TM(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):U(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):$(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(MM(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function MM(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function CM(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new Le(t.x,t.y,o,a)}function AM(t){var e=t.get("interval");return null==e?"auto":e}function IM(t){return"category"===t.type&&0===AM(t.getLabelModel())}function kM(t,e){var n={};return B(t.mapDimensionsAll(e),(function(e){n[dw(t,e)]=!0})),G(n)}var DM=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return z(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),j(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),PM=["x","y"];function OM(t){return"interval"===t.type||"time"===t.type}var EM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=PM,e}return o(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(OM(t)&&OM(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,c=r[0]-n[0]*l,h=r[1]-i[0]*u,p=this._transform=[l,0,0,u,c,h];this._invTransform=we([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Le(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return zt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return zt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new Le(i,r,o,a)},e}(DM),LM=EM,RM=Bo();function NM(t,e){var n=z(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function FM(t){var e=t.getLabelModel().get("customValues");if(e){var n=TM(t),i=t.scale.getExtent();return{labels:z(j(NM(t,e),(function(t){return t>=i[0]&&t<=i[1]})),(function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=zM(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=TM(t);return{labels:z(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function BM(t,e){var n=t.getTickModel().get("customValues");if(n){var i=t.scale.getExtent();return{ticks:j(NM(t,n),(function(t){return t>=i[0]&&t<=i[1]}))}}return"category"===t.type?function(t,e){var n,i,r=VM(t,"ticks"),o=AM(e),a=jM(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if($(o))n=HM(t,o,!0);else if("auto"===o){var s=zM(t,t.getLabelModel());i=s.labelCategoryInterval,n=z(s.labels,(function(t){return t.tickValue}))}else n=WM(t,i=o,!0);return GM(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:z(t.scale.getTicks(),(function(t){return t.value}))}}function zM(t,e){var n,i,r=VM(t,"labels"),o=AM(e),a=jM(r,o);return a||($(o)?n=HM(t,o):(i="auto"===o?function(t){var e=RM(t).autoInterval;return null!=e?e:RM(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=WM(t,i)),GM(r,o,{labels:n,labelCategoryInterval:i}))}function VM(t,e){return RM(t)[e]||(RM(t)[e]=[])}function jM(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function GM(t,e,n){return t.push({key:e,value:n}),n}function WM(t,e,n){var i=TM(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],c=r.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=IM(t),p=a.get("showMinLabel")||h,f=a.get("showMaxLabel")||h;p&&u!==o[0]&&g(o[0]);for(var d=u;d<=o[1];d+=l)g(d);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return f&&d-l!==o[1]&&g(o[1]),s}function HM(t,e,n){var i=t.scale,r=TM(t),o=[];return B(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var ZM=[0,1],$M=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return oo(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&UM(n=n.slice(),i.count()),to(t,ZM,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&UM(n=n.slice(),i.count());var r=to(t,n,ZM,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=z(BM(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1],tickValue:e[0].tickValue};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;B(e,(function(t){t.coord-=u/2}));var c=t.scale.getExtent();a=1+c[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a,tickValue:c[1]+1},e.push(o)}var h=s[0]>s[1];p(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&p(s[0],e[0].coord)&&e.unshift({coord:s[0]});p(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&p(o.coord,s[1])&&e.push({coord:s[1]});function p(t,e){return t=no(t),e=no(e),h?t>e:t<e}}(this,n,e.get("alignWithLabel"),t.clamp),n},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");return t>0&&t<100||(t=5),z(this.scale.getMinorTicks(t),(function(t){return z(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return FM(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=TM(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),c=Math.abs(u*Math.cos(i)),h=Math.abs(u*Math.sin(i)),p=0,f=0;l<=o[1];l+=s){var d,g,m=Ir(n({value:l}),e.font,"center","top");d=1.3*m.width,g=1.3*m.height,p=Math.max(p,d,7),f=Math.max(f,g,7)}var v=p/c,y=f/h;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(v,y))),x=RM(t.model),b=t.getExtent(),w=x.lastAutoInterval,S=x.lastTickCount;return null!=w&&null!=S&&Math.abs(w-_)<=1&&Math.abs(S-a)<=1&&w>_&&x.axisExtent0===b[0]&&x.axisExtent1===b[1]?_=w:(x.lastTickCount=a,x.lastAutoInterval=_,x.axisExtent0=b[0],x.axisExtent1=b[1]),_}(this)},t}();function UM(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var XM=$M,qM=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return o(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(XM),YM=qM;function KM(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,c=i.getRect(),h=[c.x,c.x+c.width,c.y,c.y+c.height],p={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,d="x"===u?[h[2]-f,h[3]+f]:[h[0]-f,h[1]+f];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));d[p.onZero]=Math.max(Math.min(g,d[1]),d[0])}o.position=["y"===u?d[p[l]]:h[0],"x"===u?d[p[l]]:h[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?d[p[s]]-d[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),nt(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-m:m,o.z2=1,o}function JM(t){return"cartesian2d"===t.get("coordinateSystem")}function QM(t){var e={xAxisModel:null,yAxisModel:null};return B(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,Go).models[0];e[i]=o})),e}var tC=Math.log;function eC(t,e,n){var i=qT.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=bM(t,e),u=l.extent,c=l.fixMin,h=l.fixMax;if("log"===t.type){var p=tC(t.base);u=[tC(u[0])/p,tC(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:h});var f=i.getExtent.call(t);c&&(u[0]=f[0]),h&&(u[1]=f[1]);var d=i.getInterval.call(t),g=u[0],m=u[1];if(c&&h)d=(m-g)/a;else if(c)for(m=u[0]+d*a;m<u[1]&&isFinite(m)&&isFinite(u[1]);)d=zT(d),m=u[0]+d*a;else if(h)for(g=u[1]-d*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)d=zT(d),g=u[1]-d*a;else{t.getTicks().length-1>a&&(d=zT(d));var v=d*a;(g=no((m=Math.ceil(u[1]/d)*d)-v))<0&&u[0]>=0?(g=0,m=no(v)):m>0&&u[1]<=0&&(m=0,g=-no(v))}var y=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+d*y,m+d*_),i.setInterval.call(t,d),(y||_)&&i.setNiceExtent.call(t,g+d,m-d)}var nC=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=PM,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=G(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;FT(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(wM(l,s),FT(l)&&(e=a))}r.length&&(e||wM((e=r.pop()).scale,e.model),B(r,(function(t){eC(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};B(n.x,(function(t){rC(n,"y",t,r)})),B(n.y,(function(t){rC(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=nh(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){B(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(B(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof $T?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=TM(t),u=1;r>40&&(u=Math.ceil(r/40));for(var c=0;c<r;c+=u){var h=l(i?i[c]:{value:o[0]+c},c),p=CM(s.getTextRect(h),s.get("rotate")||0);a?a.union(p):a=p}return a}}(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}})),s()),B(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}Y(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",Go).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",Go).models[0],a=t.gridModel,s=this._coordsList;if(i)R(s,e=i.coordinateSystem)<0&&(e=null);else if(r&&o)e=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){a.coordinateSystem===this&&(e=this._coordsList[0])}return{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(e){return function(n,i){if(iC(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new YM(e,SM(n),[0,0],n.get("type"),l),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),a[e][i]=u,s[e]++}}}this._axesMap=a,B(a.x,(function(e,n){B(a.y,(function(r,o){var a="x"+n+"y"+o,s=new LM(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){B(kM(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}B(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if(JM(t)){var i=QM(t),r=i.xAxisModel,o=i.yAxisModel;if(!iC(r,e)||!iC(o,e))return;var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return B(this.getCartesians(),(function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);R(e,r)<0&&e.push(r),R(n,o)<0&&n.push(o)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",(function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)})),e.eachSeries((function(t){if(JM(t)){var e=QM(t),n=e.xAxisModel,i=e.yAxisModel;0;var r=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=r.getCartesian(n.componentIndex,i.componentIndex)}})),i},t.dimensions=PM,t}();function iC(t,e){return t.getCoordSysModel()===e}function rC(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)oC(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&oC(o[u])&&!i[c(o[u])]){r=o[u];break}r&&(i[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function oC(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}(t)}var aC=nC,sC=Math.PI,lC=function(){function t(t,e){this.group=new $r,this.opt=e,this.axisModel=t,L(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new $r({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!uC[t]},t.prototype.add=function(t){uC[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=uo(e-t);return co(o)?(r=n>0?"top":"bottom",i="center"):co(o-sC)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<sC?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),uC={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(zt(s,s,a),zt(l,l,a));var c=E({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new pg({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});Xg(h.shape,h.style.lineWidth),h.anid="line",n.add(h);var p=e.get(["axisLine","symbol"]);if(null!=p){var f=e.get(["axisLine","symbolSize"]);U(p)&&(p=[p,p]),(U(f)||q(f))&&(f=[f,f]);var d=Pv(e.get(["axisLine","symbolOffset"])||0,f),g=f[0],m=f[1];B([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=kv(p[i],-g/2,-m/2,g,m,c.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=fC(r.getTicksCoords(),e.transform,l,L(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<u.length;c++)t.add(u[c]);return u}(n,i,e,t),o=function(t,e,n,i){var r=n.axis,o=nt(i.axisLabelShow,n.get(["axisLabel","show"]));if(!o||r.scale.isBlank())return;var a=n.getModel("axisLabel"),s=a.get("margin"),l=r.getViewLabels(),u=(nt(i.labelRotate,a.get("rotate"))||0)*sC/180,c=lC.innerTextLayout(i.rotation,u,i.labelDirection),h=n.getCategories&&n.getCategories(!0),p=[],f=lC.isLabelSilent(n),d=n.get("triggerEvent");return B(l,(function(o,u){var g="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(o.tickValue):o.tickValue,m=o.formattedLabel,v=o.rawLabel,y=a;if(h&&h[g]){var _=h[g];Y(_)&&_.textStyle&&(y=new tc(_.textStyle,a,n.ecModel))}var x=y.getTextColor()||n.get(["axisLine","lineStyle","color"]),b=r.dataToCoord(g),w=y.getShallow("align",!0)||c.textAlign,S=it(y.getShallow("alignMinLabel",!0),w),T=it(y.getShallow("alignMaxLabel",!0),w),M=y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||c.textVerticalAlign,C=it(y.getShallow("verticalAlignMinLabel",!0),M),A=it(y.getShallow("verticalAlignMaxLabel",!0),M),I=new pl({x:b,y:i.labelOffset+i.labelDirection*s,rotation:c.rotation,silent:f,z2:10+(o.level||0),style:Du(y,{text:m,align:0===u?S:u===l.length-1?T:w,verticalAlign:0===u?C:u===l.length-1?A:M,fill:$(x)?x("category"===r.type?v:"value"===r.type?g+"":g,u):x})});if(I.anid="label_"+g,lm({el:I,componentModel:n,itemName:m,formatterParamsExtra:{isTruncated:function(){return I.isTruncated},value:v,tickIndex:u}}),d){var k=lC.makeAxisEventDataBase(n);k.targetType="axisLabel",k.value=v,k.tickIndex=u,"category"===r.type&&(k.dataIndex=g),fl(I).eventData=k}e.add(I),I.updateTransform(),p.push(I),t.add(I),I.decomposeTransform()})),p}(n,i,e,t);(function(t,e,n){if(IM(t.axis))return;var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],c=n[1],h=n[n.length-1],p=n[n.length-2];!1===i?(cC(o),cC(u)):hC(o,a)&&(i?(cC(a),cC(c)):(cC(o),cC(u)));!1===r?(cC(s),cC(h)):hC(l,s)&&(r?(cC(l),cC(p)):(cC(s),cC(h)))}(e,o,r),function(t,e,n,i){var r=n.axis,o=n.getModel("minorTick");if(!o.get("show")||r.scale.isBlank())return;var a=r.getMinorTicksCoords();if(!a.length)return;for(var s=o.getModel("lineStyle"),l=i*o.get("length"),u=L(s.getLineStyle(),L(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<a.length;c++)for(var h=fC(a[c],e.transform,l,u,"minorticks_"+c),p=0;p<h.length;p++)t.add(h[p])}(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"]))&&$_(W_(z(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}))))},axisName:function(t,e,n,i){var r=nt(t.axisName,e.get("name"));if(r){var o,a,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),c=e.get("nameGap")||0,h=e.axis.getExtent(),p=h[0]>h[1]?-1:1,f=["start"===s?h[0]-p*c:"end"===s?h[1]+p*c:(h[0]+h[1])/2,pC(s)?t.labelOffset+l*c:0],d=e.get("nameRotate");null!=d&&(d=d*sC/180),pC(s)?o=lC.innerTextLayout(t.rotation,null!=d?d:t.rotation,l):(o=function(t,e,n,i){var r,o,a=uo(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;co(a-sC/2)?(o=l?"bottom":"top",r="center"):co(a-1.5*sC)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*sC&&a>sC/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,d||0,h),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),m=e.get("nameTruncate",!0)||{},v=m.ellipsis,y=nt(t.nameTruncateMaxWidth,m.maxWidth,a),_=new pl({x:f[0],y:f[1],rotation:o.rotation,silent:lC.isLabelSilent(e),style:Du(u,{text:r,font:g,overflow:"truncate",width:y,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(lm({el:_,componentModel:e,itemName:r}),_.__fullText=r,_.anid="name",e.get("triggerEvent")){var x=lC.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,fl(_).eventData=x}i.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function cC(t){t&&(t.ignore=!0)}
vendor: 8,282 bytes, line 1
1function hC(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=me([]);return xe(r,r,-t.rotation),n.applyTransform(ye([],r,t.getLocalTransform())),i.applyTransform(ye([],r,e.getLocalTransform())),n.intersect(i)}}function pC(t){return"middle"===t||"center"===t}function fC(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,e&&(zt(a,a,e),zt(s,s,e));var c=new pg({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});Xg(c.shape,c.style.lineWidth),c.anid=r+"_"+t[l].tickValue,o.push(c)}return o}var dC=lC;function gC(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),o=r.get("link",!0)||[],a=[];B(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=_C(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var u=n.model.getModel("tooltip",i);if(B(n.getAxes(),H(f,!1,null)),n.getTooltipAxes&&i&&u.get("show")){var c="axis"===u.get("trigger"),h="cross"===u.get(["axisPointer","type"]),p=n.getTooltipAxes(u.get(["axisPointer","axis"]));(c||h)&&B(p.baseAxes,H(f,!h||"cross",c)),h&&B(p.otherAxes,H(f,"cross",!1))}}function f(i,s,c){var h=c.model.getModel("axisPointer",r),p=h.get("show");if(p&&("auto"!==p||i||yC(h))){null==s&&(s=h.get("triggerTooltip")),h=i?function(t,e,n,i,r,o){var a=e.getModel("axisPointer"),s={};B(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){s[t]=D(a.get(t))})),s.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===r){var u=a.get(["label","show"]);if(l.show=null==u||u,!o){var c=s.lineStyle=a.get("crossStyle");c&&L(l,c.textStyle)}}return t.model.getModel("axisPointer",new tc(s,n,i))}(c,u,r,e,i,s):h;var f=h.get("snap"),d=h.get("triggerEmphasis"),g=_C(c.model),m=s||f||"category"===c.type,v=t.axesInfo[g]={key:g,axis:c,coordSys:n,axisPointerModel:h,triggerTooltip:s,triggerEmphasis:d,involveSeries:m,snap:f,useHandle:yC(h),seriesModels:[],linkGroup:null};l[g]=v,t.seriesInvolved=t.seriesInvolved||m;var y=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(mC(o[i+"AxisId"],n.id)||mC(o[i+"AxisIndex"],n.componentIndex)||mC(o[i+"AxisName"],n.name))return r}}(o,c);if(null!=y){var _=a[y]||(a[y]={axesInfo:{}});_.axesInfo[g]=v,_.mapper=o[y].mapper,v.linkGroup=_}}}}))}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&B(t.coordSysAxesInfo[_C(n.model)],(function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}(n,t),n}function mC(t,e){return"all"===t||Z(t)&&R(t,e)>=0||t===e}function vC(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[_C(t)]}function yC(t){return!!t.get(["handle","show"])}function _C(t){return t.type+"||"+t.id}var xC={},bC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&function(t){var e=vC(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=yC(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var o=function(t){var e=vC(t);return e&&e.axisPointerModel}(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){xC[t]=e},e.getAxisPointerClass=function(t){return t&&xC[t]},e.type="axis",e}(ud),wC=bC,SC=Bo();function TC(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:o,clamp:!0});if(u.length){var c=s.length,h=SC(t).splitAreaColors,p=gt(),f=0;if(h)for(var d=0;d<u.length;d++){var g=h.get(u[d].tickValue);if(null!=g){f=(g+(c-1)*d)%c;break}}var m=r.toGlobalCoord(u[0].coord),v=a.getAreaStyle();s=Z(s)?s:[s];for(d=1;d<u.length;d++){var y=r.toGlobalCoord(u[d].coord),_=void 0,x=void 0,b=void 0,w=void 0;r.isHorizontal()?(_=m,x=l.y,b=y-_,w=l.height,m=_+b):(_=l.x,x=m,b=l.width,m=x+(w=y-x));var S=u[d-1].tickValue;null!=S&&p.set(S,f),e.add(new Ys({anid:null!=S?"area_"+S:null,shape:{x:_,y:x,width:b,height:w},style:L({fill:s[f]},v),autoBatch:!0,silent:!0})),f=(f+1)%c}SC(t).splitAreaColors=p}}}function MC(t){SC(t).splitAreaColors=null}var CC=["axisLine","axisTickLabel","axisName"],AC=["splitArea","splitLine","minorSplitLine"],IC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return o(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new $r,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=KM(a,e),l=new dC(e,E({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if(FT(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));B(CC,l.add,l),this._axisGroup.add(l.getGroup()),B(AC,(function(t){e.get([t,"show"])&&kC[t](this,this._axisGroup,e,a)}),this),r&&"changeAxisOrder"===r.type&&r.isInitSort||em(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){MC(this)},e.type="cartesianAxis",e}(wC),kC={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color"),l=!1!==o.get("showMinLine"),u=!1!==o.get("showMaxLine");s=Z(s)?s:[s];for(var c=i.coordinateSystem.getRect(),h=r.isHorizontal(),p=0,f=r.getTicksCoords({tickModel:o}),d=[],g=[],m=a.getLineStyle(),v=0;v<f.length;v++){var y=r.toGlobalCoord(f[v].coord);if((0!==v||l)&&(v!==f.length-1||u)){var _=f[v].tickValue;h?(d[0]=y,d[1]=c.y,g[0]=y,g[1]=c.y+c.height):(d[0]=c.x,d[1]=y,g[0]=c.x+c.width,g[1]=y);var x=p++%s.length,b=new pg({anid:null!=_?"line_"+_:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:g[0],y2:g[1]},style:L({stroke:s[x]},m),silent:!0});Xg(b.shape,m.lineWidth),e.add(b)}}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=i.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],c=[],h=o.getLineStyle(),p=0;p<l.length;p++)for(var f=0;f<l[p].length;f++){var d=r.toGlobalCoord(l[p][f].coord);s?(u[0]=d,u[1]=a.y,c[0]=d,c[1]=a.y+a.height):(u[0]=a.x,u[1]=d,c[0]=a.x+a.width,c[1]=d);var g=new pg({anid:"minor_line_"+l[p][f].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:h,silent:!0});Xg(g.shape,h.lineWidth),e.add(g)}},splitArea:function(t,e,n,i){TC(t,e,n,i)}},DC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="xAxis",e}(IC),PC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=DC.type,e}return o(e,t),e.type="yAxis",e}(IC),OC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return o(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new Ys({shape:t.coordinateSystem.getRect(),style:L({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}
vendor: 22,916 bytes, line 1
1))},e.type="grid",e}(ud),EC={offset:0};function LC(t){t.registerComponentView(OC),t.registerComponentModel(wT),t.registerCoordinateSystem("cartesian2d",aC),ET(t,"x",TT,EC),ET(t,"y",TT,EC),t.registerComponentView(DC),t.registerComponentView(PC),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function RC(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var r=i.getIndicatorAxes();B(r,(function(t,o){e.each(e.mapDimension(r[o].dim),(function(t,e){n[e]=n[e]||[];var r=i.dataToPoint(t,o);n[e][o]=NC(r)?r:FC(i)}))})),e.each((function(t){var r=function(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}(n[t],(function(t){return NC(t)}))||FC(i);n[t].push(r.slice()),e.setItemLayout(t,n[t])}))}}))}function NC(t){return!isNaN(t[0])&&!isNaN(t[1])}function FC(t){return[t.cx,t.cy]}function BC(t){var e=t.polar;if(e){Z(e)||(e=[e]);var n=[];B(e,(function(e,i){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],Z(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}B(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var zC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var r=t.coordinateSystem,o=this.group,a=t.getData(),s=this._data;function l(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var i=Dv(t.getItemVisual(e,"symbolSize")),r=kv(n,-1,-1,2,2),o=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:i[0]/2,scaleY:i[1]/2,rotation:o*Math.PI/180||0}),r}}function u(e,n,r,o,a,s){r.removeAll();for(var u=0;u<n.length-1;u++){var c=l(o,a);c&&(c.__dimIdx=u,e[u]?(c.setPosition(e[u]),i[s?"initProps":"updateProps"](c,{x:n[u][0],y:n[u][1]},t,a)):c.setPosition(n[u]),r.add(c))}}function c(t){return z(t,(function(t){return[r.cx,r.cy]}))}a.diff(s).add((function(e){var n=a.getItemLayout(e);if(n){var i=new og,r=new lg,o={shape:{points:n}};i.shape.points=c(n),r.shape.points=c(n),_u(i,o,t,e),_u(r,o,t,e);var s=new $r,l=new $r;s.add(r),s.add(i),s.add(l),u(r.shape.points,n,l,a,e,!0),a.setItemGraphicEl(e,s)}})).update((function(e,n){var i=s.getItemGraphicEl(n),r=i.childAt(0),o=i.childAt(1),l=i.childAt(2),c={shape:{points:a.getItemLayout(e)}};c.shape.points&&(u(r.shape.points,c.shape.points,l,a,e,!1),Tu(o),Tu(r),yu(r,c,t),yu(o,c,t),a.setItemGraphicEl(e,i))})).remove((function(t){o.remove(s.getItemGraphicEl(t))})).execute(),a.eachItemGraphicEl((function(t,e){var n=a.getItemModel(e),i=t.childAt(0),r=t.childAt(1),s=t.childAt(2),l=a.getItemVisual(e,"style"),u=l.fill;o.add(t),i.useStyle(L(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),cu(i,n,"lineStyle"),cu(r,n,"areaStyle");var c=n.getModel("areaStyle"),h=c.isEmpty()&&c.parentModel.isEmpty();r.ignore=h,B(["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),i=e.isEmpty()&&e.parentModel.isEmpty();r.ensureState(t).ignore=i&&h})),r.useStyle(L(c.getAreaStyle(),{fill:u,opacity:.7,decal:l.decal}));var p=n.getModel("emphasis"),f=p.getModel("itemStyle").getItemStyle();s.eachChild((function(t){if(t instanceof Gs){var i=t.style;t.useStyle(E({image:i.image,x:i.x,y:i.y,width:i.width,height:i.height},l))}else t.useStyle(l),t.setColor(u),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=D(f);var r=a.getStore().get(a.getDimensionIndex(t.__dimIdx),e);(null==r||isNaN(r))&&(r=""),Iu(t,ku(n),{labelFetcher:a.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:r,inheritColor:u,defaultOpacity:l.opacity})})),au(t,p.get("focus"),p.get("blurScope"),p.get("disabled"))})),this._data=a},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(_m),VC=zC,jC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new uT(W(this.getData,this),W(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return sT(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.coordinateSystem.getIndicatorAxes(),o=this.getData().getName(t),a=""===o?this.name:o,s=$f(this,t);return Ff("section",{header:a,sortBlocks:!0,blocks:z(r,(function(e){var n=i.get(i.mapDimension(e.dim),t);return Ff("nameValue",{markerType:"subItem",markerColor:s,name:e.name,value:n,sortParam:n})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(z(n.dimensions,(function(t){return e.mapDimension(t)})),t),r=0,o=i.length;r<o;r++)if(!isNaN(i[r])){var a=n.getIndicatorAxes();return n.coordToPoint(a[r].dataToCoord(i[r]),r)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(sd),GC=jC,WC=IT.value;function HC(t,e){return L({show:e},t)}var ZC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),c=this.get("triggerEvent"),h=z(this.get("indicator")||[],(function(h){null!=h.max&&h.max>0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var p=a;null!=h.color&&(p=L({color:h.color},a));var f=P(D(h),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:h.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:p,triggerEvent:c},!1);if(U(l)){var d=f.name;f.name=l.replace("{value}",null!=d?d:"")}else $(l)&&(f.name=l(f.name,f));var g=new tc(f,null,this.ecModel);return N(g,ST.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=h},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:P({lineStyle:{color:"#bbb"}},WC.axisLine),axisLabel:HC(WC.axisLabel,!1),axisTick:HC(WC.axisTick,!1),splitLine:HC(WC.splitLine,!0),splitArea:HC(WC.splitArea,!0),indicator:[]},e}(ch),$C=ZC,UC=["axisLine","axisTickLabel","axisName"],XC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;B(z(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new dC(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){B(UC,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),c=a.get("color"),h=s.get("color"),p=Z(c)?c:[c],f=Z(h)?h:[h],d=[],g=[];if("circle"===i)for(var m=n[0].getTicksCoords(),v=e.cx,y=e.cy,_=0;_<m.length;_++){if(l)d[A(d,p,_)].push(new Ed({shape:{cx:v,cy:y,r:m[_].coord}}));if(u&&_<m.length-1)g[A(g,f,_)].push(new eg({shape:{cx:v,cy:y,r0:m[_].coord,r:m[_+1].coord}}))}else{var x,b=z(n,(function(t,n){var i=t.getTicksCoords();return x=null==x?i.length-1:Math.min(i.length-1,x),z(i,(function(t){return e.coordToPoint(t.coord,n)}))})),w=[];for(_=0;_<=x;_++){for(var S=[],T=0;T<n.length;T++)S.push(b[T][_]);if(S[0]&&S.push(S[0].slice()),l)d[A(d,p,_)].push(new lg({shape:{points:S}}));if(u&&w)g[A(g,f,_-1)].push(new og({shape:{points:S.concat(w)}}));w=S.slice().reverse()}}var M=a.getLineStyle(),C=s.getAreaStyle();B(g,(function(t,e){this.group.add($g(t,{style:L({stroke:"none",fill:f[e%f.length]},C),silent:!0}))}),this),B(d,(function(t,e){this.group.add($g(t,{style:L({fill:"none",stroke:p[e%p.length]},M),silent:!0}))}),this)}function A(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}},e.type="radar",e}(ud),qC=XC,YC=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.type="value",r.angle=0,r.name="",r}return o(e,t),e}(XM),KC=YC,JC=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=z(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,i=new KC(n,new qT);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i}),this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(r=u,s=l,a=c)}return[s,+(r&&r.coordToData(i))]},t.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r)/2;this.cx=eo(n[0],i),this.cy=eo(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var a=t.get("radius");(U(a)||q(a))&&(a=[0,a]),this.r0=eo(a[0],o),this.r=eo(a[1],o),B(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n}),this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,i=this._model;B(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===i){var o=e.getData();B(n,(function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))}))}}),this);var r=i.get("splitNumber"),o=new qT;o.setExtent(0,r),o.setInterval(1),B(n,(function(t,e){eC(t.scale,t.model,o)}))},t.prototype.convertToPixel=function(t,e,n){return null},t.prototype.convertFromPixel=function(t,e,n){return null},t.prototype.containPoint=function(t){return!1},t.create=function(e,n){var i=[];return e.eachComponent("radar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])})),i},t.dimensions=[],t}(),QC=JC;function tA(t){t.registerCoordinateSystem("radar",QC),t.registerComponentModel($C),t.registerComponentView(qC),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each((function(t){e.setItemVisual(t,"legendIcon","roundRect")})),e.setVisual("legendIcon","roundRect")}})}var eA="\0_ec_interaction_mutex";function nA(t,e){return!!iA(t)[e]}function iA(t){return t[eA]||(t[eA]={})}c_({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},xt);var rA=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=W(n._mousedownHandler,n),r=W(n._mousemoveHandler,n),o=W(n._mouseupHandler,n),a=W(n._mousewheelHandler,n),s=W(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=L(D(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",s))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",s)},n}return o(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!pe(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&sA("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!nA(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,o=e-i,a=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&he(t.event),aA(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){pe(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=sA("zoomOnMouseWheel",t,this._opt),n=sA("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;oA(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);oA(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){nA(this._zr,"globalPan")||oA(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}($t);function oA(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(he(i.event),aA(t,e,n,i,r))}function aA(t,e,n,i,r){r.isAvailableBehavior=W(sA,null,n,i),t.trigger(e,r)}function sA(t,e,n){var i=n[t];return!t||i&&(!U(i)||e.event[i+"Key"])}var lA=rA;function uA(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function cA(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var hA,pA={axisPointer:1,tooltip:1,brush:1};function fA(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!pA.hasOwnProperty(i.mainType)&&r&&r.model!==n}function dA(t){U(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var gA={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},mA=G(gA),vA={"alignment-baseline":"textBaseline","stop-color":"stopColor"},yA=G(vA),_A=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=dA(t);this._defsUsePending=[];var i=new $r;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),MA(n,i,null,!0,!1);for(var l,u,c=n.firstChild;c;)this._parseNode(c,i,r,null,!1,!1),c=c.nextSibling;if(function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i[0].style[i[1]]=t[i[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],o){var h=kA(o);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=a&&null!=s&&(u=LA(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var p=i;(i=new $r).add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Ys({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=hA[s];if(u&&_t(hA,s)){a=u.call(this,t,e);var c=t.getAttribute("name");if(c){var h={name:c,namedFrom:null,svgNodeTagLower:s,el:a};n.push(h),"g"===s&&(l=h)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var p=xA[s];if(p&&_t(xA,s)){var f=p.call(this,t),d=t.getAttribute("id");d&&(this._defs[d]=f)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Bs({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});SA(e,n),MA(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(hA={g:function(t,e){var n=new $r;return SA(e,n),MA(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Ys;return SA(e,n),MA(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Ed;return SA(e,n),MA(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new pg;return SA(e,n),MA(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Nd;return SA(e,n),MA(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=TA(i));var r=new og({shape:{points:n||[]},silent:!0});return SA(e,r),MA(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=TA(i));var r=new lg({shape:{points:n||[]},silent:!0});return SA(e,r),MA(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Gs;return SA(e,n),MA(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new $r;return SA(e,a),MA(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new $r;return SA(e,a),MA(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=kd(t.getAttribute("d")||"");return SA(e,n),MA(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),xA={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new Tg(e,n,i,r);return bA(t,o),wA(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new Mg(e,n,i);return bA(t,r),wA(t,r),r}};function bA(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function wA(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};EA(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function SA(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),L(e.__inheritedStyle,t.__inheritedStyle))}function TA(t){for(var e=kA(t),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),o=parseFloat(e[i+1]);n.push([r,o])}return n}function MA(t,e,n,i,r){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=[],r=null;n.replace(DA,(function(t,e,n){return i.push(e,n),""}));for(var o=i.length-1;o>0;o-=2){var a=i[o],s=i[o-1],l=kA(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":_e(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":be(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":xe(r,r,-parseFloat(l[0])*PA,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":ye(r,[1,0,Math.tan(parseFloat(l[0])*PA),1,0,0],r);break;case"skewY":ye(r,[1,Math.tan(parseFloat(l[0])*PA),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),EA(t,a,s),i||function(t,e,n){for(var i=0;i<mA.length;i++){var r=mA[i];null!=(o=t.getAttribute(r))&&(e[gA[r]]=o)}for(i=0;i<yA.length;i++){var o;r=yA[i];null!=(o=t.getAttribute(r))&&(n[vA[r]]=o)}}(t,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=AA(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=AA(o,"stroke",a.stroke,n)),B(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=a[t]&&(o.style[t]=parseFloat(a[t]))})),B(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=a[t]&&(o.style[t]=a[t])})),r&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=z(kA(a.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"n
1one"===a.display&&(o.ignore=!0)}var CA=/^url\(\s*#(.*?)\)/;function AA(t,e,n,i){var r=n&&n.match(CA);if(!r)return"none"===n&&(n=null),n;var o=lt(r[1]);i.push([t,e,o])}var IA=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function kA(t){return t.match(IA)||[]}var DA=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,PA=Math.PI/180;var OA=/([^\s:;]+)\s*:\s*([^:;]+)/g;function EA(t,e,n){var i,r=t.getAttribute("style");if(r)for(OA.lastIndex=0;null!=(i=OA.exec(r));){var o=i[1],a=_t(gA,o)?gA[o]:null;a&&(e[a]=i[2]);var s=_t(vA,o)?vA[o]:null;s&&(n[s]=i[2])}}function LA(t,e){var n=e.width/t.width,i=e.height/t.height,r=Math.min(n,i);return{scale:r,x:-(t.x+t.width/2)*r+(e.x+e.width/2),y:-(t.y+t.height/2)*r+(e.y+e.height/2)}}var RA=1e-8;function NA(t,e){return Math.abs(t-e)<RA}function FA(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];i+=bs(r[0],r[1],a[0],a[1],e,n),r=a}var s=t[0];return NA(r[0],s[0])&&NA(r[1],s[1])||(i+=bs(r[0],r[1],s[0],s[1],e,n)),0!==i}var BA=[];function zA(t,e){for(var n=0;n<t.length;n++)zt(t[n],t[n],e)}function VA(t,e,n,i){for(var r=0;r<t.length;r++){var o=t[r];i&&(o=i.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(Vt(e,e,o),jt(n,n,o))}}var jA=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),GA=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},WA=function(t){this.type="linestring",this.points=t},HA=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return o(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],o=r.exterior,a=o&&o.length;a>n&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s<r;s++){var l=t[s][0],u=t[s][1],c=o*u-l*a;e+=c,n+=(o+l)*c,i+=(a+u)*c,o=l,a=u}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0];return B(this.geometries,(function(e){"polygon"===e.type?VA(e.exterior,n,i,t):B(e.points,(function(e){VA(e,n,i,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new Le(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++){var o=n[i];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(FA(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(FA(s[l],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i||(i=n/o):n=o*i;for(var a=new Le(t,e,n,i),s=r.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(zA(c.exterior,s),B(c.interiors,(function(t){zA(t,s)}))):B(c.points,(function(t){zA(t,s)}))}(r=this._rect).copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(jA),ZA=function(t){function e(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return o(e,t),e.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=me(BA),r=t;r&&!r.isGeoSVGGraphicRoot;)ye(i,r.getLocalTransform(),i),r=r.parent;return we(i,i),zt(n,n,i),n},e}(jA),$A=gt(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),UA=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=gt(),this._freedGraphics=[],this._mapName=t,this._parsedXML=dA(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=function(t){var e=[],n=gt();return B(t,(function(t){if(null==t.namedFrom){var i=new ZA(t.name,t.el);e.push(i),n.set(t.name,i)}})),{regions:e,regionsMap:n}}(t.named),n=e.regions,i=e.regionsMap;this._regions=n,this._regionsMap=i}
vendor: 5,034 bytes, line 1
1return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n,i,r;try{st(null!=(n=(e=t&&(i=t,r={ignoreViewBox:!0,ignoreRootClip:!0},(new _A).parse(i,r))||{}).root))}catch(t){throw new Error("Invalid svg format\n"+t.message)}var o=new $r;o.add(n),o.isGeoSVGGraphicRoot=!0;var a=e.width,s=e.height,l=e.viewBoxRect,u=this._boundingRect;if(!u){var c=void 0,h=void 0,p=void 0,f=void 0;if(null!=a?(c=0,p=a):l&&(c=l.x,p=l.width),null!=s?(h=0,f=s):l&&(h=l.y,f=l.height),null==c||null==h){var d=n.getBoundingRect();null==c&&(c=d.x,p=d.width),null==h&&(h=d.y,f=d.height)}u=this._boundingRect=new Le(c,h,p,f)}if(l){var g=LA(l,u);n.scaleX=n.scaleY=g.scale,n.x=g.x,n.y=g.y}o.setClipPath(new Ys({shape:u.plain()}));var m=[];return B(e.named,(function(t){var e;null!=$A.get(t.svgNodeTagLower)&&(m.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse((function(t){t.silent=!1})))})),{root:o,boundingRect:u,named:m}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();function XA(t,e,n){for(var i=0;i<t.length;i++)t[i]=qA(t[i],e[i],n)}function qA(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function YA(t,e){return z(j((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),B(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=qA(r,i,n);break;case"Polygon":case"MultiLineString":XA(r,i,n);break;case"MultiPolygon":B(r,(function(t,e){return XA(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new GA(o[0],o.slice(1)));break;case"MultiPolygon":B(i.coordinates,(function(t){t[0]&&r.push(new GA(t[0],t.slice(1)))}));break;case"LineString":r.push(new WA([i.coordinates]));break;case"MultiLineString":r.push(new WA(i.coordinates))}var a=new HA(n[e||"name"],r,n.cp);return a.properties=n,a}))}for(var KA=[126,25],JA="åæµ·è¯¸å²",QA=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],tI=0;tI<QA.length;tI++)for(var eI=0;eI<QA[tI].length;eI++)QA[tI][eI][0]/=10.5,QA[tI][eI][1]/=-14,QA[tI][eI][0]+=KA[0],QA[tI][eI][1]+=KA[1];var nI={"åæµ·è¯¸å²":[32,80],"广ä¸":[0,-10],"馿¸¯":[10,5],"æ¾³é¨":[-10,10],"天津":[5,5]};var iI=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var rI=function(){function t(t,e,n){var i;this.type="geoJSON",this._parsedMap=gt(),this._mapName=t,this._specialAreas=n,this._geoJSON=U(i=e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(i):new Function("return ("+i+");")():i}return t.prototype.load=function(t,e){e=e||"name";var n=this._parsedMap.get(e);if(!n){var i=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:i,boundingRect:oI(i)})}var r=gt(),o=[];return B(n.regions,(function(e){var n=e.name;t&&_t(t,n)&&(e=e.cloneShallow(n=t[n])),o.push(e),r.set(n,e)})),{regions:o,boundingRect:n.boundingRect||new Le(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,i=this._geoJSON;try{e=i?YA(i,t):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return function(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===JA)return;e.push(new HA(JA,z(QA,(function(t){return{type:"polygon",exterior:t}})),KA))}}(n,e),B(e,(function(t){var e=t.name;!function(t,e){if("china"===t){var n=nI[e.name];if(n){var i=e.getCenter();i[0]+=n[0]/10.5,i[1]+=-n[1]/14,e.setCenter(i)}}}(n,t),function(t,e){"china"===t&&"å°æ¹¾"===e.name&&e.geometries.push({type:"polygon",exterior:iI[0]})}(n,t);var i=this._specialAreas&&this._specialAreas[e];i&&t.transformTo(i.left,i.top,i.width,i.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function oI(t){for(var e,n=0;n<t.length;
vendor: 7,082 bytes, line 1
1n++){var i=t[n].getBoundingRect();(e=e||i.clone()).union(i)}return e}var aI=gt(),sI={registerMap:function(t,e,n){if(e.svg){var i=new UA(t,e.svg);aI.set(t,i)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?n=e.specialAreas:r=e;i=new rI(t,r,n);aI.set(t,i)}},getGeoResource:function(t){return aI.get(t)},getMapForUser:function(t){var e=aI.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},load:function(t,e,n){var i=aI.get(t);if(i)return i.load(e,n)}},lI=["rect","circle","line","ellipse","polygon","polyline","path"],uI=gt(lI),cI=gt(lI.concat(["g"])),hI=gt(lI.concat(["g"])),pI=Bo();function fI(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function dI(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var gI=function(){function t(t){var e=new $r;this.uid=nc("ec_map_draw"),this._controller=new lA(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new $r),e.add(this._svgGroup=new $r)}return t.prototype.draw=function(t,e,n,i,r){var o="geo"===t.mainType,a=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},(function(e){a||e.getHostGeoModel()!==t||(a=e.getData())}));var s=t.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),h=c.raw,p=c.roam;!l.childAt(0)||r?(u.x=p.x,u.y=p.y,u.scaleX=p.scaleX,u.scaleY=p.scaleY,u.dirty()):yu(u,p,t);var f=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,d={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(d):"geoSVG"===s.resourceType&&this._buildSVG(d),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=gt(),n=gt(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function c(t){for(var e=[],n=!l&&s&&s.project,i=0;i<t.length;++i){var r=u(t[i],n);r&&e.push(r)}return e}function h(t){return{shape:{points:c(t)}}}i.removeAll(),B(t.geo.regions,(function(r){var c=r.name,p=e.get(c),f=n.get(c)||{},d=f.dataIdx,g=f.regionModel;if(!p){p=e.set(c,new $r),i.add(p),d=a?a.indexOfName(c):null;var m=(g=t.isGeo?o.getRegionModel(c):a?a.getItemModel(d):null).get("silent",!0);null!=m&&(p.silent=m),n.set(c,{dataIdx:d,regionModel:g})}var v=[],y=[];B(r.geometries,(function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);l&&(e=bI(e,l)),B(e,(function(t){v.push(new og(h(t)))}))}else{var n=t.points;l&&(n=bI(n,l,!0)),B(n,(function(t){y.push(new lg(h(t)))}))}}));var _=u(r.getCenter(),s&&s.project);function x(e,n){if(e.length){var i=new wg({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});p.add(i),mI(t,i,d,g),vI(t,i,c,g,o,d,_),n&&(dI(i),B(i.states,dI))}}x(v),x(y,!0)})),e.each((function(e,i){var r=n.get(i),a=r.dataIdx,s=r.regionModel;yI(t,e,i,s,o,a),_I(t,e,i,s,o),xI(t,e,i,s,o)}),this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var i=this._svgDispatcherMap=gt(),r=!1;B(this._svgGraphicRecord.named,(function(e){var n=e.name,o=t.mapOrGeoModel,a=t.data,s=e.svgNodeTagLower,l=e.el,u=a?a.indexOfName(n):null,c=o.getRegionModel(n);null!=uI.get(s)&&l instanceof Oa&&mI(t,l,u,c),l instanceof Oa&&(l.culling=!0);var h=c.get("silent",!0);(null!=h&&(l.silent=h),l.z2EmphasisLift=0,e.namedFrom)||(null!=hI.get(s)&&vI(t,l,n,c,o,u,null),yI(t,l,n,c,o,u),_I(t,l,n,c,o),null!=cI.get(s)&&("self"===xI(t,l,n,c,o)&&(r=!0),(i.get(n)||i.set(n,[])).push(l)))}),this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse((function(t){if(!t.isGroup){Wl(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=n&&(e.opacity=n),t.ensureState("emphasis")}}))}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var n=e.coordinateSystem;if("geoJSON"===n.resourceType){var i=this._regionsGroupByName;if(i){var r=i.get(t);return r?[r]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=sI.getGeoResource(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=sI.getGeoResource(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,n){var i=t.coordinateSystem,r=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=i.getZoom(),r.enable(t.get("roam")||!1);var a=t.mainType;function s(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.id,e}r.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,uA(o,t.dx,t.dy),n.dispatchAction(E(s(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))}),this),r.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,cA(o,t.scale,t.originX,t.originY),n.dispatchAction(E(s(),{totalZoom:o.zoom,zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))}),this),r.setPointerChecker((function(e,r,o){return i.containPoint([r,o])&&!fA(e,n,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=pI(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,n,i){var r=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){r._mouseDownFlag=!0})),e.on("click",(function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},t}();function mI(t,e,n,i){var r=i.getModel("itemStyle"),o=i.getModel(["emphasis","itemStyle"]),a=i.getModel(["blur","itemStyle"]),s=i.getModel(["select","itemStyle"]),l=fI(r),u=fI(o),c=fI(s),h=fI(a),p=t.data;if(p){var f=p.getItemVisual(n,"style"),d=p.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&f.fill&&(l.fill=f.fill),d&&(l.decal=ay(d,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=c,e.ensureState("blur").style=h,Wl(e)}function vI(t,e,n,i,r,o,a){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),c=s&&s.getItemLayout(o);if(l||u||c&&c.showLabel){var h=l?n:o,p=void 0;(!s||o>=0)&&(p=r);var f=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Iu(e,ku(i),{labelFetcher:p,labelDataIndex:h,defaultText:n},f);var d=e.getTextContent();if(d&&(pI(d).ignore=d.ignore,e.textConfig&&a)){var g=e.getBoundingRect
vendor: 43,961 bytes, line 1
1().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function yI(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):fl(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function _I(t,e,n,i,r){t.data||lm({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function xI(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return au(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=fl(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function bI(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),B(t,(function(t){s.lineStart();for(var e=0;e<t.length;e++)s.point(t[e][0],t[e][1]);s.lineEnd()})),!n&&s.polygonEnd(),r}var wI=gI,SI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id)(o=this._mapDraw)&&r.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new wI(n);r.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var i=t.originalData,r=this.group;i.each(i.mapDimension("value"),(function(e,n){if(!isNaN(e)){var o=i.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new Ed({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:Tl+1)});if(!s){var u=t.mainSeries.getData(),c=i.getName(n),h=u.indexOfName(c),p=i.getItemModel(n),f=p.getModel("label"),d=u.getItemGraphicEl(h);Iu(l,ku(p),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(h,n)}},defaultText:c}),l.disableLabelAnimation=!0,f.get("position")||l.setTextConfig({position:"bottom"}),d.onHoverStateChange=function(t){jl(l,t)}}r.add(l)}}}))},e.type="map",e}(_m),TI=SI,MI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.getCenter())}},n}return o(e,t),e.prototype.getInitialData=function(t){for(var e=sT(this,{coordDimensions:["value"],encodeDefaulter:H(Ch,this)}),n=gt(),i=[],r=0,o=e.count();r<o;r++){var a=e.getName(r);n.set(a,r)}return B(sI.load(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(t){var r,o=t.name,a=n.get(o),s=t.properties&&t.properties.echartsStyle;null==a?(r={name:o},i.push(r)):r=e.getRawDataItem(a),s&&P(r,s)})),e.appendData(i),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData(),r=this.getRawValue(t),o=i.getName(t),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),c=i.mapDimension("value");isNaN(a[l].originalData.get(c,u))||s.push(a[l].name)}return Ff("section",{header:s.join(", "),noHeader:!s.length,blocks:[Ff("nameValue",{name:o,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",n=kv(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(sd),CI=MI;function AI(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),B(e,(function(t,e){for(var n,i,r,o=(n=z(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},B(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,c=0;c<u;c++)s=Math.min(s,r[o][c]),l=Math.max(l,r[o][c]),a+=r[o][c];return 0===u?NaN:"min"===i?s:"max"===i?l:"average"===i?a/u:a}))),a=0;a<t.length;a++)t[a].originalData=t[a].getData();for(a=0;a<t.length;a++)t[a].seriesGroup=t,t[a].needsDrawMap=0===a&&!t[a].getHostGeoModel(),t[a].setData(o.cloneShallow()),t[a].mainSeries=t[0]}))}function II(t){var e={};t.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var r={};B(n.seriesGroup,(function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),(function(t,e){var o=i.getName(e),a=n.getRegion(o);if(a&&!isNaN(t)){var s=r[o]||0,l=n.dataToPoint(a.getCenter());r[o]=s+1,i.setItemLayout(e,{point:l,offset:s})}}))}));var o=n.getData();o.each((function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!r[e],o.setItemLayout(t,n)})),e[i]=!0}}))}var kI=zt,DI=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new Tr,n._rawTransformable=new Tr,n.name=e,n}return o(e,t),e.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new Le(t,e,n,i),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,i){this._transformTo(t,e,n,i),this._viewRect=new Le(t,e,n,i)},e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new Le(t,e,n,i));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[eo(t[0],e.getWidth()),eo(t[1],e.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=zt([],i,t),n=zt([],n,t),e.originX=i[0],e.originY=i[1],e.x=n[0]-i[0],e.y=n[1]-i[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),ve(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],we(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new Tr;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?kI(n,t,i):Mt(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?kI([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var i=PI(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=PI(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(Tr);function PI(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var OI=DI,EI={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},LI=["lng","lat"],RI=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.dimensions=LI,r.type="geo",r._nameCoordMap=gt(),r.map=n;var o,a=i.projection,s=sI.load(n,i.nameMap,i.nameProperty),l=sI.getGeoResource(n),u=(r.resourceType=l?l.type:null,r.regions=s.regions),c=EI[l.type];if(r._regionsMap=s.regionsMap,r.regions=s.regions,r.projection=a,a)for(var h=0;h<u.length;h++){var p=u[h].getBoundingRect(a);(o=o||p.clone()).union(p)}else o=s.boundingRect;return r.setBoundingRect(o.x,o.y,o.width,o.height),r.aspectScale=a?1:it(i.aspectScale,c.aspectScale),r._invertLongitute=!a&&c.invertLongitute,r}return o(e,t),e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var a=this._rawTransformable;a.transform=r.calculateTransform(new Le(t,e,n,i));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++){var i=e[n];if("geoJSON"===i.type&&i.contain(t))return e[n]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,n){if(U(t)&&(t=this.getGeoCoord(t)),t){var i=this.projection;return i&&(t=i.project(t)),t&&this.projectedToPoint(t,e,n)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,n,i){return t.prototype.dataToPoint.call(this,e,n,i)},e.prototype.convertToPixel=function(t,e,n){var i=NI(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=NI(e);return i===this?i.pointToData(n):null},e}(OI);function NI(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",Go).models[0]||{}).coordinateSystem:null}N(RI,OI);var FI=RI;function BI(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];if(isFinite(i[0])&&isFinite(i[1])&&isFinite(r[0])&&isFinite(r[1])){var o=this.projection;if(o){var a=i[0],s=i[1],l=r[0],u=r[1];i=[1/0,1/0],r=[-1/0,-1/0];var c=function(t,e,n,a){for(var s=n-t,l=a-e,u=0;u<=100;u++){var c=u/100,h=o.project([t+s*c,e+l*c]);Vt(i,i,h),jt(r,r,h)}};c(a,s,l,s),c(l,s,l,u),c(l,u,a,u),c(a,u,l,s)}this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}else 0}var h,p,f,d=this.getBoundingRect(),g=t.get("layoutCenter"),m=t.get("layoutSize"),v=e.getWidth(),y=e.getHeight(),_=d.width/d.height*this.aspectScale,x=!1;if(g&&m&&(h=[eo(g[0],v),eo(g[1],y)],p=eo(m,Math.min(v,y)),isNaN(h[0])||isNaN(h[1])||isNaN(p)||(x=!0)),x)f={},_>1?(f.width=p,f.height=p/_):(f.height=p,f.width=p*_),f.y=h[1]-f.height/2,f.x=h[0]-f.width/2;else{var b=t.getBoxLayoutParams();b.aspect=_,f=nh(b,{width:v,height:y})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}var zI=function(){function t(){this.dimensions=LI}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new FI(o+r,o,E({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=BI,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),B(r,(function(t,r){var o=z(t,(function(t){return t.get("nameMap")})),a=new FI(r,r,E({nameMap:O(o)},i(t[0])));a.zoomLimit=nt.apply(null,z(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=BI,a.resize(t[0],e),B(t,(function(t){t.coordinateSystem=a,function(t,e){B(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=gt(),a=0;a<r.length;a++)o.set(r[a].name,r[a]);return B(sI.load(e,n,i).regions,(function(t){var e=t.name,n=o.get(e),i=t.properties&&t.properties.echartsStyle;n||(n={name:e},r.push(n)),i&&P(n,i)})),r},t}(),VI=new zI,jI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e,n){var i=sI.getGeoResource(t.map);if(i&&"geoJSON"===i.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,n),Ao(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=VI.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=V(e.regions||[],(function(e,i){var r=i.name;return r&&(e.set(r,new tc(i,t,t.ecModel)),i.selected&&(n[r]=!0)),e}),gt()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new tc(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),i="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:t};return $(i)?(r.status=e,i(r)):U(i)?i.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;n&&("multiple"!==n&&(e.selectedMap=null),(e.selectedMap||(e.selectedMap={}))[t]=!0)},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(ch),GI=jI;function WI(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function HI(t,e,n,i){var r=t.getZoom(),o=t.getCenter(),a=e.zoom,s=t.projectedToPoint?t.projectedToPoint(o):t.dataToPoint(o);if(null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(WI(t,s),i)),null!=a){if(n){var l=n.min||0,u=n.max||1/0;a=Math.max(Math.min(r*a,u),l)/r}t.scaleX*=a,t.scaleY*=a;var c=(e.originX-t.x)*(a-1),h=(e.originY-t.y)*(a-1);t.x-=c,t.y-=h,t.updateTransform(),t.setCenter(WI(t,s),i),t.setZoom(a*r)}return{center:t.getCenter(),zoom:t.getZoom()}}var ZI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return o(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,i){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new wI(n));var r=this._mapDraw;r.draw(t,e,n,this,i),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;mv(t.target,(function(t){return null!=(e=fl(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var i=this;this._mapDraw.group.traverse((function(t){var e=fl(t).eventData;if(e)return i._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0}))},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(ud),$I=ZI;function UI(t,e,n){sI.registerMap(t,e,n)}function XI(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name),B(n.coordinateSystem.regions,(function(t){i[t.name]=n.isSelected(t.name)||!1}));var o=[];B(i,(function(t,e){i[e]&&o.push(e)})),r.push({geoIndex:n.componentIndex,name:o})})),{selected:i,allSelected:r,name:t.name}}))}t.registerCoordinateSystem("geo",VI),t.registerComponentModel(GI),t.registerComponentView($I),t.registerImpl("registerMap",UI),t.registerImpl("getMap",(function(t){return sI.getMapForUser(t)})),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e,n){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},(function(e){var r=e.coordinateSystem;if("geo"===r.type){var o=HI(r,t,e.get("scaleLimit"),n);e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===i&&B(e.seriesGroup,(function(t){t.setCenter(o.center),t.setZoom(o.zoom)}))}}))}))}function qI(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){!function(t){var e=t.children,n=e.length,i=0,r=0;for(;--n>=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,h=s.hierNode.modifier;s=QI(s),o=tk(o),s&&o;){r=QI(r),a=tk(a),r.hierNode.ancestor=t;var p=s.hierNode.prelim+h-o.hierNode.prelim-u+i(s,o);p>0&&(nk(ek(s,t,n),t,p),u+=p,l+=p),h+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,c+=a.hierNode.modifier}s&&!QI(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!tk(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function YI(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function KI(t){return arguments.length?t:ik}function JI(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function QI(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function tk(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function ek(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function nk(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function ik(t,e){return t.parentNode===e.parentNode?1:2}var rk=function(){this.parentPoint=[],this.childPoints=[]},ok=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new rk},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=eo(e.forkPosition,1),h=[];h[l]=r[l],h[u]=r[u]+(a[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var p=1;p<i-1;p++){var f=n[p];t.moveTo(f[0],f[1]),h[l]=f[l],t.lineTo(h[0],h[1])}},e}(Rs),ak=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new $r,n}return o(e,t),e.prototype.init=function(t,e){this._controller=new lA(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var i=t.getData(),r=t.layoutInfo,o=this._mainGroup;"radial"===t.get("layout")?(o.x=r.x+r.width/2,o.y=r.y+r.height/2):(o.x=r.x,o.y=r.y),this._updateViewCoordSys(t,n),this._updateController(t,e,n);var a=this._data;i.diff(a).add((function(e){sk(i,e)&&lk(i,e,null,o,t)})).update((function(e,n){var r=a.getItemGraphicEl(n);sk(i,e)?lk(i,e,r,o,t):r&&hk(a,n,r,o,t)})).remove((function(e){var n=a.getItemGraphicEl(e);n&&hk(a,e,n,o,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&i.eachItemGraphicEl((function(e,i){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})}))})),this._data=i},e.prototype._updateViewCoordSys=function(t,e){var n=t.getData(),i=[];n.each((function(t){var e=n.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||i.push([+e.x,+e.y])}));var r=[],o=[];ja(i,r,o);var a=this._min,s=this._max;o[0]-r[0]==0&&(r[0]=a?a[0]:r[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-r[1]==0&&(r[1]=a?a[1]:r[1]-1,o[1]=s?s[1]:o[1]+1);var l=t.coordinateSystem=new OI;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(r[0],r[1],o[0]-r[0],o[1]-r[1]),l.setCenter(t.get("center"),e),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=r,this._max=o},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!fA(e,n,t)})),r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){uA(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){cA(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(t),n.updateLabelLayout()}))},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scaleX||1;return((e.getZoom()-1)*n+1)/i},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(_m);function sk(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function lk(t,e,n,i,r){var o=!n,a=t.tree.getNodeByDataIndex(e),s=a.getModel(),l=a.getVisual("style").fill,u=!1===a.isExpand&&0!==a.children.length?l:"#fff",c=t.tree.root,h=a.parentNode===c?a:a.parentNode||a,p=t.getItemGraphicEl(h.dataIndex),f=h.getLayout(),d=p?{x:p.__oldX,y:p.__oldY,rawX:p.__radialOldRawX,rawY:p.__radialOldRawY}:f,g=a.getLayout();o?((n=new ww(t,e,null,{symbolInnerColor:u,useNameLabel:!0})).x=d.x,n.y=d.y):n.updateData(t,e,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,i.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,yu(n,{x:g.x,y:g.y},r);var m=n.getSymbolPath();if("radial"===r.get("layout")){var v=c.children[0],y=v.getLayout(),_=v.children.length,x=void 0,b=void 0;if(g.x===y.x&&!0===a.isExpand&&v.children.length){var w={x:(v.children[0].getLayout().x+v.children[_-1].getLayout().x)/2,y:(v.children[0].getLayout().y+v.children[_-1].getLayout().y)/2};(x=Math.atan2(w.y-y.y,w.x-y.x))<0&&(x=2*Math.PI+x),(b=w.x<y.x)&&(x-=Math.PI)}else(x=Math.atan2(g.y-y.y,g.x-y.x))<0&&(x=2*Math.PI+x),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(b=g.x<y.x)&&(x-=Math.PI):(b=g.x>y.x)||(x-=Math.PI);var S=b?"left":"right",T=s.getModel("label"),M=T.get("rotate"),C=M*(Math.PI/180),A=m.getTextContent();A&&(m.setTextConfig({position:T.get("position")||S,rotation:null==M?-x:C,origin:"center"}),A.setStyle("verticalAlign","middle"))}var I=s.get(["emphasis","focus"]),k="relative"===I?mt(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===I?a.getAncestorsIndices():"descendant"===I?a.getDescendantIndices():null;k&&(fl(n).focus=k),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),c=t.get("layout"),h=t.getOrient(),p=t.get(["lineStyle","curveness"]),f=t.get("edgeForkPosition"),d=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new vg({shape:pk(c,h,p,r,r)})),yu(g,{shape:pk(c,h,p,o,a)},t));else if("polyline"===u)if("orthogonal"===c){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var m=e.children,v=[],y=0;y<m.length;y++){var _=m[y].getLayout();v.push([_.x,_.y])}g||(g=i.__edge=new ok({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:h,forkPosition:f}})),yu(g,{shape:{parentPoint:[a.x,a.y],childPoints:v}},t)}}else 0;g&&("polyline"!==u||e.isExpand)&&(g.useStyle(L({strokeNoScale:!0,fill:null},d)),cu(g,l,"lineStyle"),Wl(g),s.add(g))}(r,a,c,n,d,f,g,i),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var i=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);i&&i.hoverState===xl||jl(n.__edge,e)}})}function uk(t,e,n,i,r){var o=ck(e.tree.root,t),a=o.source,s=o.sourceLayout,l=e.getItemGraphicEl(t.dataIndex);if(l){var u=e.getItemGraphicEl(a.dataIndex).__edge,c=l.__edge||(!1===a.isExpand||1===a.children.length?u:void 0),h=i.get("edgeShape"),p=i.get("layout"),f=i.get("orient"),d=i.get(["lineStyle","curveness"]);c&&("curve"===h?bu(c,{shape:pk(p,f,d,s,s),style:{opacity:0}},i,{cb:function(){n.remove(c)},removeOpt:r}):"polyline"===h&&"orthogonal"===i.get("layout")&&bu(c,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},i,{cb:function(){n.remove(c)},removeOpt:r}))}}function ck(t,e){for(var n,i=e.parentNode===t?e:e.parentNode||e;null==(n=i.getLayout());)i=i.parentNode===t?i:i.parentNode||i;return{source:i,sourceLayout:n}}function hk(t,e,n,i,r){var o=t.tree.getNodeByDataIndex(e),a=ck(t.tree.root,o).sourceLayout,s={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};bu(n,{x:a.x+1,y:a.y+1},r,{cb:function(){i.remove(n),t.setItemGraphicEl(e,null)},removeOpt:s}),n.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:s}),o.children.forEach((function(e){uk(e,t,i,r,s)})),uk(o,t,i,r,s)}function pk(t,e,n,i,r){var o,a,s,l,u,c,h,p;if("radial"===t){u=i.rawX,h=i.rawY,c=r.rawX,p=r.rawY;var f=JI(u,h),d=JI(u,h+(p-h)*n),g=JI(c,p+(h-p)*n),m=JI(c,p);return{x1:f.x||0,y1:f.y||0,x2:m.x||0,y2:m.y||0,cpx1:d.x||0,cpy1:d.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=i.x,h=i.y,c=r.x,p=r.y,"LR"!==e&&"RL"!==e||(o=u+(c-u)*n,a=h,s=c+(u-c)*n,l=p),"TB"!==e&&"BT"!==e||(o=u,a=h+(p-h)*n,s=c,l=p+(h-p)*n),{x1:u,y1:h,x2:c,y2:p,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var fk=ak,dk=Bo();function gk(t,e){if(dk(i=this).mainData===i){var n=E({},dk(this).datas);n[this.dataType]=e,xk(e,n,t)}else bk(e,this.dataType,dk(this).mainData,t);var i;return e}function mk(t,e){return t.struct&&t.struct.update(),e}function vk(t,e){return B(dk(e).datas,(function(n,i){n!==e&&bk(n.cloneShallow(),i,e,t)})),e}function yk(t){var e=dk(this).mainData;return null==t||null==e?e:dk(e).datas[t]}function _k(){var t=dk(this).mainData;return null==t?[{data:t}]:z(G(dk(t).datas),(function(e){return{type:e,data:dk(t).datas[e]}}))}function xk(t,e,n){dk(t).datas={},B(e,(function(e,i){bk(e,i,t,n)}))}function bk(t,e,n,i){dk(n).datas[e]=t,dk(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=yk,t.getLinkedDataAll=_k}var wk=function(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,xk(e,n,t),B(n,(function(n){B(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,H(gk,t))}))})),e.wrapMethod("cloneShallow",H(vk,t)),B(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,H(mk,t))})),st(n[e.dataType]===e)},Sk=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){$(t)&&(n=e,e=t,t=null),U(t=t||{})&&(t={order:t});var i,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(i=e.call(n,this));for(var a=0;!i&&a<o.length;a++)o[a].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),Tk=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,i){var r=new t(n),o=[],a=1;!function t(e,n){var i=e.value;a=Math.max(a,Z(i)?i.length:1),o.push(e);var s=new Sk(Lo(e.name,""),r);n?function(t,e){var n=e.children;if(t.parentNode===e)return;n.push(t),t.parentNode=e}(s,n):r.root=s,r._nodes.push(s);var l=e.children;if(l)for(var u=0;u<l.length;u++)t(l[u],s)}(e),r.root.updateDepthAndHeight(0);var s=sw(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,l=new aw(s,n);return l.initData(o),i&&i(l),wk({mainData:l,struct:r,structAttr:"tree"}),r.update(),r},t}();var Mk=Tk;function Ck(t,e,n){if(t&&R(e,t.type)>=0){var i=n.getData().tree.root,r=t.targetNode;if(U(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function Ak(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function Ik(t,e){return R(Ak(t),e)>=0}function kk(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var Dk=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return o(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new tc(n,this,this.ecModel),r=Mk.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}));var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return Ff("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=kk(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(sd),Pk=Dk;function Ok(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function Ek(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return nh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=KI((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=KI());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s<a.length;s++)r.push(a[s])}for(;i=o.pop();)e(i,n)}(l,qI,a),s.hierNode.modifier=-l.hierNode.prelim,Ok(l,YI);var u=l,c=l,h=l;Ok(l,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>h.depth&&(h=t)}));var p=u===c?1:a(u,c)/2,f=p-u.getLayout().x,d=0,g=0,m=0,v=0;if("radial"===i)d=r/(c.getLayout().x+p+f),g=o/(h.depth-1||1),Ok(l,(function(t){m=(t.getLayout().x+f)*d,v=(t.depth-1)*g;var e=JI(m,v);t.setLayout({x:e.x,y:e.y,rawX:m,rawY:v},!0)}));else{var y=t.getOrient();"RL"===y||"LR"===y?(g=o/(c.getLayout().x+p+f),d=r/(h.depth-1||1),Ok(l,(function(t){v=(t.getLayout().x+f)*g,m="LR"===y?(t.depth-1)*d:r-(t.depth-1)*d,t.setLayout({x:m,y:v},!0)}))):"TB"!==y&&"BT"!==y||(d=r/(c.getLayout().x+p+f),g=o/(h.depth-1||1),Ok(l,(function(t){m=(t.getLayout().x+f)*d,v="TB"===y?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:m,y:v},!0)})))}}}(t,e)}))}function Lk(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();E(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var Rk=["treemapZoomToNode","treemapRender","treemapMove"];function Nk(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=Fh(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var Fk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};Bk(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new tc({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=Co(e.get("color")),o=Co(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],B(t,(function(t){var e=new tc(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=z(i||[],(function(t){return new tc(t,o,e)}),this),s=Mk.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return Ff("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=kk(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},E(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=gt(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){Nk(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"â¶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(sd);function Bk(t){var e=0;B(t.children,(function(t){Bk(t);var n=t.value;Z(n)&&(n=n[0]),e+=n}));var n=t.value;Z(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Z(t.value)?t.value[0]=n:t.value=n}var zk=Fk,Vk=function(){function t(t){this.group=new $r,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,l),this._renderContent(t,c,a,s,l,u,i),ih(o,c.pos,c.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=Lo(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,c,h,p,f,d,g,m=0,v=e.emptyItemWidth,y=t.get(["breadcrumb","height"]),_=(s=e.pos,l=e.box,c=l.width,h=l.height,p=eo(s.left,c),f=eo(s.top,h),d=eo(s.right,c),g=eo(s.bottom,h),(isNaN(p)||isNaN(parseFloat(s.left)))&&(p=0),(isNaN(d)||isNaN(parseFloat(s.right)))&&(d=c),(isNaN(f)||isNaN(parseFloat(s.top)))&&(f=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=h),u=Hc(u||0),{width:Math.max(d-p-u[1]-u[3],0),height:Math.max(g-f-u[0]-u[2],0)}),x=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var T=b[S],M=T.node,C=T.width,A=T.text;x>_.width&&(x-=C-v,C=v,A=null);var I=new og({shape:{points:jk(m,0,C,y,S===b.length-1,0===S)},style:L(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new pl({style:Du(r,{text:A})}),textConfig:{position:"inside"},z2:1e4*Tl,onclick:H(a,M)});I.disableLabelAnimation=!0,I.getTextContent().ensureState("emphasis").style=Du(o,{text:A}),I.ensureState("emphasis").style=w,au(I,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(I),Gk(I,t,M),m+=C+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function jk(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function Gk(t,e,n){fl(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.n
vendor: 4,234 bytes, line 1
1ame,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&kk(n,e)}}var Wk=Vk,Hk=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i<r;i++){var o=this._storage[i];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();var Zk=$r,$k=Ys,Uk="label",Xk="upperLabel",qk=10*Tl,Yk=2*Tl,Kk=3*Tl,Jk=ra([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),Qk=function(t){var e=Jk(t);return e.stroke=e.fill=e.lineWidth=null,e},tD=Bo(),eD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return o(e,t),e.prototype.render=function(t,e,n,i){if(!(R(e.findComponents({mainType:"series",subType:"treemap",query:i}),t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var r=Ck(i,["treemapZoomToNode","treemapRootToNode"],t),o=i&&i.type,a=t.layoutInfo,s=!this._oldTree,l=this._storage,u="treemapRootToNode"===o&&r&&l?{rootNodeGroup:l.nodeGroup[r.node.getRawIndex()],direction:i.direction}:null,c=this._giveContainerGroup(a),h=t.get("animation"),p=this._doRender(c,t,u);!h||s||o&&"treemapZoomToNode"!==o&&"treemapRootToNode"!==o?p.renderFinally():this._doAnimation(c,p,t,u),this._resetController(n),this._renderBreadcrumb(t,n,r)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new Zk,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var i=e.getData().tree,r=this._oldTree,o={nodeGroup:[],background:[],content:[]},a={nodeGroup:[],background:[],content:[]},s=this._storage,l=[];function u(t,i,r,u){return function(t,e,n,i,r,o,a,s,l,u){if(!a)return;var c=a.getLayout(),h=t.getData(),p=a.getModel();if(h.setItemGraphicEl(a.dataIndex,null),!c||!c.isInView)return;var f=c.width,d=c.height,g=c.borderWidth,m=c.invisible,v=a.getRawIndex(),y=s&&s.getRawIndex(),_=a.viewChildren,x=c.upperHeight,b=_&&_.length,w=p.getModel("itemStyle"),S=p.getModel(["emphasis","itemStyle"]),T=p.getModel(["blur","itemStyle"]),M=p.getModel(["select","itemStyle"]),C=w.get("borderRadius")||0,A=G("nodeGroup",Zk);if(!A)return;if(l.add(A),A.x=c.x||0,A.y=c.y||0,A.markRedraw(),tD(A).nodeWidth=f,tD(A).nodeHeight=d,c.isAboveViewRoot)return A;var I=G("background",$k,u,Yk);I&&F(A,I,b&&c.upperLabelHeight);var k=p.getModel("emphasis"),D=k.get("focus"),P=k.get("blurScope"),O=k.get("disabled"),L="ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():D;if(b)pu(A)&&hu(A,!1),I&&(hu(I,!O),h.setItemGraphicEl(a.dataIndex,I),su(I,L,P));else{var R=G("content",$k,u,Kk);R&&B(A,R),I.disableMorphing=!0,I&&pu(I)&&hu(I,!1),hu(A,!O),h.setItemGraphicEl(a.dataIndex,A);var N=p.getShallow("cursor");N&&R.attr("cursor",N),su(A,L,P)}return A;function F(e,n,i){var r=fl(n);if(r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:f,height:d,r:C}),m)z(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=Qk(w);l.fill=s;var u=Jk(S);u.fill=S.get("borderColor");var c=Jk(T);c.fill=T.get("borderColor");var h=Jk(M);if(h.fill=M.get("borderColor"),i){var p=f-2*g;V(n,s,o.opacity,{x:g,y:0,width:p,height:x})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=h,Wl(n)}e.add(n)}function B(e,n){var i=fl(n);i.dataIndex=a.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(f-2*g,0),o=Math.max(d-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:r,height:o,r:C}),m)z(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=Qk(w);u.fill=l,u.decal=s.decal;var c=Jk(S),h=Jk(T),p=Jk(M);
vendor: 32,596 bytes, line 1
1V(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=h,n.ensureState("select").style=p,Wl(n)}e.add(n)}function z(t){!t.invisible&&o.push(t)}function V(e,n,i,r){var o=p.getModel(r?Xk:Uk),s=Lo(p.get("name"),null),l=o.getShallow("show");Iu(e,ku(p,r?Xk:Uk),{defaultText:l?s:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:a.dataIndex});var u=e.getTextContent();if(u){var h=u.style,f=at(h.padding||0);r&&(e.setTextConfig({layoutRect:r}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-f[1]-f[3],0),n=Math.max((r?r.height:e.shape.height)-f[0]-f[2],0);h.width===t&&h.height===n||u.setStyle({width:t,height:n})},h.truncateMinChar=2,h.lineOverflow="truncate",j(h,r,c);var d=u.getState("emphasis");j(d?d.style:null,r,c)}}function j(e,n,i){var r=e?e.text:null;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function G(t,i,o,a){var s=null!=y&&n[t][y],l=r[t];return s?(n[t][y]=null,W(l,s)):m||((s=new i)instanceof Oa&&(s.z2=function(t,e){return t*qk+e}(o,a)),H(l,s)),e[t][v]=s}function W(t,e){var n=t[v]={};e instanceof Zk?(n.oldX=e.x,n.oldY=e.y):n.oldShape=E({},e.shape)}function H(t,e){var n=t[v]={},o=a.parentNode,s=e instanceof $r;if(o&&(!i||"drillDown"===i.direction)){var l=0,u=0,c=r.background[o.getRawIndex()];!i&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}(e,a,s,n,o,l,t,i,r,u)}!function t(e,n,i,r,o){r?(n=e,B(e,(function(t,e){!t.isRemoved()&&s(e,e)}))):new Rb(n,e,a,a).add(s).update(s).remove(H(s,null)).execute();function a(t){return t.getId()}function s(a,s){var l=null!=a?e[a]:null,c=null!=s?n[s]:null,h=u(l,c,i,o);h&&t(l&&l.viewChildren||[],c&&c.viewChildren||[],h,r,o+1)}}(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var c=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&B(t,(function(t,n){var i=e[n];B(t,(function(t){t&&(i.push(t),tD(t).willDelete=!0)}))})),e}(s);if(this._oldTree=i,this._storage=a,this._controllerHost){var h=this.seriesModel.layoutInfo,p=i.root.getLayout();p.width===h.width&&p.height===h.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:o,willDeleteEls:c,renderFinally:function(){B(c,(function(t){B(t,(function(t){t.parent&&t.parent.remove(t)}))})),B(l,(function(t){t.invisible=!0,t.dirty()}))}}},e.prototype._doAnimation=function(t,e,n,i){var r=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=($(r)?0:r)||0,s=($(o)?null:o)||"cubicOut",l=new Hk;B(e.willDeleteEls,(function(t,e){B(t,(function(t,n){if(!t.invisible){var r,o=t.parent,u=tD(o);if(i&&"drillDown"===i.direction)r=o===i.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,h=0;u.willDelete||(c=u.nodeWidth/2,h=u.nodeHeight/2),r="nodeGroup"===e?{x:c,y:h,style:{opacity:0}}:{shape:{x:c,y:h,width:0,height:0},style:{opacity:0}}}r&&l.add(t,r,a,0,s)}}))})),B(this._storage,(function(t,n){B(t,(function(t,i){var r=e.lastsForAnimation[n][i],o={};r&&(t instanceof $r?null!=r.oldX&&(o.x=t.x,o.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(o.shape=E({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),l.add(t,o,a,0,s))}))}),this),this._state="animating",l.finished(W((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost),e||((e=this._controller=new lA(t.getZr())).enable(this.seriesModel.get("roam")),n.zoomLimit=this.seriesModel.get("scaleLimit"),n.zoom=this.seriesModel.get("zoom"),e.on("pan",W(this._onPan,this)),e.on("zoom",W(this._onZoom,this)));var i=new Le(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,n){return i.contain(e,n)}))},e.prototype._clearController=function(){var t=this._controller;this._controllerHost=null,t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a,s=new Le(o.x,o.y,o.width,o.height),l=this._controllerHost;a=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,a){var c=a.min||0,h=a.max||1/0;u=Math.max(Math.min(h,u),c)}var p=u/l.zoom;l.zoom=u;var f=this.seriesModel.layoutInfo,d=[1,0,0,1,0,0];_e(d,d,[-(e-=f.x),-(n-=f.y)]),be(d,d,[p,p]),_e(d,d,[e,n]),s.applyTransform(d),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Yc(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new Wk(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(Ik(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(_m);var nD=eD,iD=B,rD=Y,oD=-1,aD=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=D(e);this.type=i,this.mappingMethod=n,this._normalizeData=mD[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(sD(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,B(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(iD(e,(function(t,e){n[t]=e})),!Z(i)){var r=[];Y(i)?iD(i,(function(t,e){var i=n[e];r[null!=i?i:oD]=t})):r[oD]=i,i=gD(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):sD(r,!0):(st("linear"!==n||r.dataExtent),sD(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return W(this._normalizeData,this)},t.listVisualTypes=function(){return G(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){Y(t)?B(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=Z(e)?[]:Y(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&iD(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(Z(t))t=t.slice();else{if(!rD(t))return[];var e=[];iD(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o<a;o++){var s=e[o].value;if(null!=s){if(s===t||U(s)&&s===t+"")return o;n&&h(s,o)}}for(o=0,a=e.length;o<a;o++){var l=e[o],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(vD(c[1],t,u[1]))return o}else if(u[1]===1/0){if(vD(c[0],u[0],t))return o}else if(vD(c[0],u[0],t)&&vD(c[1],t,u[1]))return o;n&&h(u[0],o),n&&h(u[1],o)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function h(e,n){var o=Math.abs(e-t);o<r&&(r=o,i=n)}},t.visualHandlers={color:{applyVisual:cD("color"),getColorMapper:function(){var t=this.option;return W("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),hD.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=ii(e,t.parsedVisual,i),r?i:si(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return si(ii(t,this.option.parsedVisual),"rgba")},category:hD,piecewise:function(t,e){var n=dD.call(this,e);return null==n&&(n=si(ii(t,this.option.parsedVisual),"rgba")),n},fixed:pD}},colorHue:lD((function(t,e){return oi(t,e)})),colorSaturation:lD((function(t,e){return oi(t,null,e)})),colorLightness:lD((function(t,e){return oi(t,null,null,e)})),colorAlpha:lD((function(t,e){return ai(t,e)})),decal:{applyVisual:cD("decal"),_normalizedToVisual:{linear:null,category:hD,piecewise:null,fixed:null}},opacity:{applyVisual:cD("opacity"),_normalizedToVisual:fD([0,1])},liftZ:{applyVisual:cD("liftZ"),_normalizedToVisual:{linear:pD,category:pD,piecewise:pD,fixed:pD}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:uD,category:hD,piecewise:function(t,e){var n=dD.call(this,e);return null==n&&(n=uD.call(this,t)),n},fixed:pD}},symbolSize:{applyVisual:cD("symbolSize"),_normalizedToVisual:fD([0,1])}},t}();function sD(t,e){var n=t.visual,i=[];Y(n)?iD(n,(function(t){i.push(t)})):null!=n&&i.push(n);e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),gD(t,i)}function lD(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:fD([0,1])}}function uD(t){var e=this.option.visual;return e[Math.round(to(t,[0,1],[0,e.length-1],!0))]||{}}function cD(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function hD(t){var e=this.option.visual;return e[this.option.loop&&t!==oD?t%e.length:t]}function pD(){return this.option.visual[0]}function fD(t){return{linear:function(e){return to(e,t,this.option.visual,!0)},category:hD,piecewise:function(e,n){var i=dD.call(this,n);return null==i&&(i=to(e,t,this.option.visual,!0)),i},fixed:pD}}function dD(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[aD.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function gD(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=z(e,(function(t){var e=ti(t);return e||[0,0,0,1]}))),e}var mD={linear:function(t){return to(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=aD.findPieceIndex(t,e,!0);if(null!=n)return to(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?oD:e},fixed:xt};function vD(t,e,n){return t?e<=n:e<n}var yD=aD,_D=Bo(),xD={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||bD(e,{},t.getViewRoot().getAncestors(),t)}};function bD(t,e,n,i){var r=t.getModel(),o=t.getLayout(),a=t.hostTree.data;if(o&&!o.invisible&&o.isInView){var s,l=r.getModel("itemStyle"),u=function(t,e,n){var i=E({},e),r=n.designatedVisualItemStyle;return B(["color","colorAlpha","colorSaturation"],(function(n){r[n]=e[n];var o=t.get(n);r[n]=null,null!=o&&(i[n]=o)})),i}(l,e,i),c=a.ensureUniqueItemVisual(t.dataIndex,"style"),h=l.get("borderColor"),p=l.get("borderColorSaturation");null!=p&&(h=function(t,e){return null!=e?oi(e,null,null,t):null}(p,s=wD(u))),c.stroke=h;var f=t.viewChildren;if(f&&f.length){var d=function(t,e,n,i,r,o){if(!o||!o.length)return;var a=TD(e,"color")||null!=r.color&&"none"!==r.color&&(TD(e,"colorAlpha")||TD(e,"colorSaturation"));if(!a)return;var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=e.get("colorMappingBy"),h={type:a.name,dataExtent:u,visual:a.range};"color"!==h.type||"index"!==c&&"id"!==c?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var p=new yD(h);return _D(p).drColorMappingBy=c,p}(0,r,o,0,u,f);B(f,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=E({},e);if(r){var s=r.type,l="color"===s&&_D(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,d,i);bD(t,o,n,i)}}))}else s=wD(u),c.fill=s}}function wD(t){var e=SD(t,"color");if(e){var n=SD(t,"colorAlpha"),i=SD(t,"colorSaturation");return i&&(e=oi(e,null,null,i)),n&&(e=ai(e,n)),e}}function SD(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function TD(t,e){var n=t.get(e);return Z(n)&&n.length?{name:e,range:n}:null}var MD=Math.max,CD=Math.min,AD=nt,ID=B,kD=["itemStyle","borderWidth"],DD=["itemStyle","gapWidth"],PD=["upperLabel","show"],OD=["upperLabel","height"],ED={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=nh(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=eo(AD(s.width,l[0]),r),c=eo(AD(s.height,l[1]),o),h=i&&i.type,p=Ck(i,["treemapZoomToNode","treemapRootToNode"],t),f="treemapRender"===h||"treemapMove"===h?i.rootRect:null,d=t.getViewRoot(),g=Ak(d);if("treemapMove"!==h){var m="treemapZoomToNode"===h?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var c=0,h=o.children,p=0,f=h.length;p<f;p++)c+=h[p].getValue();var d=a.getValue();if(0===d)return s;u*=c/d;var g=o.getModel(),m=g.get(kD);(u+=4*m*m+(3*m+Math.max(m,BD(g)))*Math.pow(u,.5))>lo&&(u=lo),a=o}u<l&&(u=l);var v=Math.pow(u/l,.5);return[i*v,r*v]}(t,p,d,u,c):f?[f.width,f.height]:[u,c],v=a.sort;v&&"asc"!==v&&"desc"!==v&&(v="desc");var y={squareRatio:a.squareRatio,sort:v,leafDepth:a.leafDepth};d.hostTree.clearLayouts();var _={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};d.setLayout(_),LD(d,y,!1,0),_=d.getLayout(),ID(g,(function(t,e){var n=(g[e+1]||d).getValue();t.setLayout(E({dataExtent:[n,n],borderWidth:0,upperHeight:0},_))}))}var x=t.getData().tree.root;x.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var r=n.node,o=r.getLayout();if(!o)return i;var a=[o.width/2,o.height/2],s=r;for(;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}(s,f,p),!0),t.setLayoutInfo(s),FD(x,new Le(-s.x,-s.y,r,o),g,d,0)}};function LD(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var s=t.getModel(),l=s.get(kD),u=s.get(DD)/2,c=BD(s),h=Math.max(l,c),p=l-u,f=h-u;t.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:c},!0);var d=(r=MD(r-2*p,0))*(o=MD(o-p-f,0)),g=function(t,e,n,i,r,o){var a=t.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=i.leafDepth&&i.leafDepth<=o;if(r&&!l)return t.viewChildren=[];a=j(a,(function(t){return!t.isRemoved()})),function(t,e){e&&t.sort((function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i}))}(a,s);var u=function(t,e,n){for(var i=0,r=0,o=e.length;r<o;r++)i+=e[r].getValue();var a,s=t.get("visualDimension");e&&e.length?"value"===s&&n?(a=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],ID(e,(function(t){var e=t.getValue(s);e<a[0]&&(a[0]=e),e>a[1]&&(a[1]=e)}))):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}(e,n,u.sum,s,a),0===u.sum)return t.viewChildren=[];for(var c=0,h=a.length;c<h;c++){var p=a[c].getValue()/u.sum*n;a[c].setLayout({area:p})}l&&(a.length&&t.setLayout({isLeafRoot:!0},!0),a.length=0);return t.viewChildren=a,t.setLayout({dataExtent:u.dataExtent},!0),a}(t,s,d,e,n,i);if(g.length){var m={x:p,y:f,width:r,height:o},v=CD(r,o),y=1/0,_=[];_.area=0;for(var x=0,b=g.length;x<b;){var w=g[x];_.push(w),_.area+=w.getLayout().area;var S=RD(_,v,e.squareRatio);S<=y?(x++,y=S):(_.area-=_.pop().getLayout().area,ND(_,v,m,u,!1),v=CD(m.width,m.height),_.length=_.area=0,y=1/0)}if(_.length&&ND(_,v,m,u,!0),!n){var T=s.get("childrenVisibleMin");null!=T&&d<T&&(n=!0)}for(x=0,b=g.length;x<b;x++)LD(g[x],e,n,i+1)}}}function RD(t,e,n){for(var i=0,r=1/0,o=0,a=void 0,s=t.length;o<s;o++)(a=t[o].getLayout().area)&&(a<r&&(r=a),a>i&&(i=a));var l=t.area*t.area,u=e*e*n;return l?MD(u*i/l,l/(u*r)):1/0}function ND(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=e?t.area/e:0;(r||c>n[l[a]])&&(c=n[l[a]]);for(var h=0,p=t.length;h<p;h++){var f=t[h],d={},g=c?f.getLayout().area/c:0,m=d[l[a]]=MD(c-2*i,0),v=n[s[o]]+n[l[o]]-u,y=h===p-1||v<g?v:g,_=d[l[o]]=MD(y-2*i,0);d[s[a]]=n[s[a]]+CD(i,m/2),d[s[o]]=u+CD(i,_/2),u+=y,f.setLayout(d,!0)}n[s[a]]+=c,n[l[a]]-=c}function FD(t,e,n,i,r){var o=t.getLayout(),a=n[r],s=a&&a===t;if(!(a&&!s||r===n.length&&t!==i)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(o),isAboveViewRoot:s},!0);var l=new Le(e.x-o.x,e.y-o.y,e.width,e.height);ID(t.viewChildren||[],(function(t){FD(t,l,n,i,r+1)}))}}function BD(t){return t.get(PD)?t.get(OD):0}function zD(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph().data,r=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){q(n)&&(n=r[n]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(n))return!1}return!0}))}))}function VD(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each((function(i){var o=n.getName(i);r["ec-"+o]=i;var a=n.getItemModel(i),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(o,e)),n.setItemVisual(i,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}})),n.count()&&i.each((function(t){var e=i.getItemModel(t).getShallow("category");if(null!=e){U(e)&&(e=r["ec-"+e]);var o=n.getItemVisual(e,"style");E(i.ensureUniqueItemVisual(t,"style"),o);for(var a=["symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)i.setItemVisual(t,a[s],n.getItemVisual(e,a[s]))}}))}))}function jD(t){return t instanceof Array||(t=[t,t]),t}function GD(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),i=jD(t.get("edgeSymbol")),r=jD(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var i=n.getItemModel(t),r=e.getEdgeByIndex(t),o=jD(i.getShallow("symbol",!0)),a=jD(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(t,"style");switch(E(l,s),l.stroke){case"source":var u=r.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=r.node2.getVisual("style");l.stroke=u&&u.fill}o[0]&&r.setVisual("fromSymbol",o[0]),o[1]&&r.setVisual("toSymbol",o[1]),a[0]&&r.setVisual("fromSymbolSize",a[0]),a[1]&&r.setVisual("toSymbolSize",a[1])}))}))}var WD="--\x3e",HD=function(t){return t.get("autoCurveness")||null},ZD=function(t,e){var n=HD(t),i=20,r=[];if(q(n))i=n;else if(Z(n))return void(t.__curvenessList=n);e>i&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a<o;a++)r.push((a%2?a+1:a)/10*(a%2?-1:1));t.__curvenessList=r},$D=function(t,e,n){var i=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[n.uid,i,r].join(WD)},UD=function(t){var e=t.split(WD);return[e[0],e[2],e[1]].join(WD)},XD=function(t,e){var n=$D(t.node1,t.node2,e);return e.__edgeMap[n]},qD=function(t,e){return YD($D(t.node1,t.node2,e),e)+YD($D(t.node2,t.node1,e),e)},YD=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function KD(t,e,n,i){var r=HD(e),o=Z(r);if(!r)return null;var a=XD(t,e);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===n){s=l;break}var u=qD(t,e);ZD(e,u),t.lineStyle=t.lineStyle||{};var c=$D(t.node1,t.node2,e),h=e.__curvenessList,p=o||u%2?0:1;if(a.isForward)return h[p+s];var f=UD(c),d=YD(f,e),g=h[s+d+p];return i?o?r&&0===r[0]?(d+p)%2?g:-g:((d%2?0:1)+p)%2?g:-g:(d+p)%2?g:-g:h[s+d+p]}function JD(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),QD(n,t)}}function QD(t,e){t.eachEdge((function(t,n){var i=rt(t.getModel().get(["lineStyle","curveness"]),-KD(t,e,n,!0),0),r=Ct(t.node1.getLayout()),o=Ct(t.node2.getLayout()),a=[r,o];+i&&a.push([(r[0]+o[0])/2-(r[1]-o[1])*i,(r[1]+o[1])/2-(o[0]-r[0])*i]),t.setLayout(a)}))}function tP(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),r=[];B(n.dimensions,(function(t){r=r.concat(i.mapDimensionsAll(t))}));for(var o=0;o<i.count();o++){for(var a=[],s=!1,l=0;l<r.length;l++){var u=i.get(r[l],o);isNaN(u)||(s=!0),a.push(u)}s?i.setItemLayout(o,n.dataToPoint(a)):i.setItemLayout(o,[NaN,NaN])}QD(i.graph,t)}else e&&"none"!==e||JD(t)}))}function eP(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scaleX;return((e.getZoom()-1)*n+1)/i}function nP(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var iP=Math.PI,rP=[];function oP(t,e,n,i){var r=t.coordinateSystem;if(!r||"view"===r.type){var o=r.getBoundingRect(),a=t.getData(),s=a.graph,l=o.width/2+o.x,u=o.height/2+o.y,c=Math.min(o.width,o.height)/2,h=a.count();if(a.setLayout({cx:l,cy:u}),h){if(n){var p=r.pointToData(i),f=p[0],d=p[1],g=[f-l,d-u];Lt(g,g),Et(g,g,c),n.setLayout([l+g[0],u+g[1]],!0),sP(n,t.get(["circular","rotateLabel"]),l,u)}aP[e](t,s,a,c,l,u,h),s.eachEdge((function(e,n){var i,r=rt(e.getModel().get(["lineStyle","curveness"]),KD(e,t,n),0),o=Ct(e.node1.getLayout()),a=Ct(e.node2.getLayout()),s=(o[0]+a[0])/2,c=(o[1]+a[1])/2;+r&&(i=[l*(r*=3)+s*(1-r),u*r+c*(1-r)]),e.setLayout([o,a,i])}))}}}var aP={value:function(t,e,n,i,r,o,a){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||a);e.eachNode((function(t){var e=t.getValue("value"),n=u*(l?e:1)/2;s+=n,t.setLayout([i*Math.cos(s)+r,i*Math.sin(s)+o]),s+=n}))},symbolSize:function(t,e,n,i,r,o,a){var s=0;rP.length=a;var l=eP(t);e.eachNode((function(t){var e=nP(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/i);isNaN(n)&&(n=iP/2),rP[t.dataIndex]=n,s+=2*n}));var u=(2*iP-s)/a/2,c=0;e.eachNode((function(t){var e=u+rP[t.dataIndex];c+=e,(!t.getLayout()||!t.getLayout().fixed)&&t.setLayout([i*Math.cos(c)+r,i*Math.sin(c)+o]),c+=e}))}};function sP(t,e,n,i){var r=t.getGraphicEl();if(r){var o=t.getModel().get(["label","rotate"])||0,a=r.getSymbolPath();if(e){var s=t.getLayout(),l=Math.atan2(s[1]-i,s[0]-n);l<0&&(l=2*Math.PI+l);var u=s[0]<n;u&&(l-=Math.PI);var c=u?"left":"right";a.setTextConfig({rotation:-l,position:c,origin:"center"});var h=a.ensureState("emphasis");E(h.textConfig||(h.textConfig={}),{position:c})}else a.setTextConfig({rotation:o*=Math.PI/180})}}function lP(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&oP(t,"symbolSize")}))}var uP=kt;function cP(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},i=t.getGraph(),r=i.data,o=i.edgeData,a=t.getModel("force"),s=a.get("initLayout");t.preservedPoints?r.each((function(t){var e=r.getId(t);r.setItemLayout(t,n[e]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&oP(t,"value"):JD(t);var l=r.getDataExtent("value"),u=o.getDataExtent("value"),c=a.get("repulsion"),h=a.get("edgeLength"),p=Z(c)?c:[c,c],f=Z(h)?h:[h,h];f=[f[1],f[0]];var d=r.mapArray("value",(function(t,e){var n=r.getItemLayout(e),i=to(t,l,p);return isNaN(i)&&(i=(p[0]+p[1])/2),{w:i,rep:i,fixed:r.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),g=o.mapArray("value",(function(e,n){var r=i.getEdgeByIndex(n),o=to(e,u,f);isNaN(o)&&(o=(f[0]+f[1])/2);var a=r.getModel(),s=rt(r.getModel().get(["lineStyle","curveness"]),-KD(r,t,n,!0),0);return{n1:d[r.node1.dataIndex],n2:d[r.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),m=e.getBoundingRect(),v=function(t,e,n){for(var i=t,r=e,o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<i.length;c++){var h=i[c];h.p||(h.p=Tt(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=Ct(h.p),h.edges=null}var p,f,d=null==n.friction?.6:n.friction,g=d;return{warmUp:function(){g=.8*d},setFixed:function(t){i[t].fixed=!0},setUnfixed:function(t){i[t].fixed=!1},beforeStep:function(t){p=t},afterStep:function(t){f=t},step:function(t){p&&p(i,r);for(var e=[],n=i.length,o=0;o<r.length;o++){var a=r[o];if(!a.ignoreForceLayout){var s=a.n1;Dt(e,(m=a.n2).p,s.p);var c=Pt(e)-a.d,h=m.w/(s.w+m.w);isNaN(h)&&(h=0),Lt(e,e),!s.fixed&&uP(s.p,s.p,e,h*c*g),!m.fixed&&uP(m.p,m.p,e,-(1-h)*c*g)}}for(o=0;o<n;o++)(_=i[o]).fixed||(Dt(e,l,_.p),uP(_.p,_.p,e,u*g));for(o=0;o<n;o++){s=i[o];for(var d=o+1;d<n;d++){var m;Dt(e,(m=i[d]).p,s.p),0===(c=Pt(e))&&(At(e,Math.random()-.5,Math.random()-.5),c=1);var v=(s.rep+m.rep)/c/c;!s.fixed&&uP(s.pp,s.pp,e,v),!m.fixed&&uP(m.pp,m.pp,e,-v)}}var y=[];for(o=0;o<n;o++){var _;(_=i[o]).fixed||(Dt(y,_.p,_.pp),uP(_.p,_.p,y,g),Mt(_.pp,_.p))}var x=(g*=.992)<.01;f&&f(i,r,x),t&&t(x)}}}(d,g,{rect:m,gravity:a.get("gravity"),friction:a.get("friction")});v.beforeStep((function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].fixed&&Mt(t[n].p,i.getNodeByIndex(n).getLayout())})),v.afterStep((function(t,e,o){for(var a=0,s=t.length;a<s;a++)t[a].fixed||i.getNodeByIndex(a).setLayout(t[a].p),n[r.getId(a)]=t[a].p;for(a=0,s=e.length;a<s;a++){var l=e[a],u=i.getEdgeByIndex(a),c=l.n1.p,h=l.n2.p,p=u.getLayout();(p=p?p.slice():[])[0]=p[0]||[],p[1]=p[1]||[],Mt(p[0],c),Mt(p[1],h),+l.curveness&&(p[2]=[(c[0]+h[0])/2-(c[1]-h[1])*l.curveness,(c[1]+h[1])/2-(h[0]-c[0])*l.curveness]),u.setLayout(p)}})),t.forceLayout=v,t.preservedPoints=n,v.step()}else t.forceLayout=null}))}function hP(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var i=t.get("coordinateSystem");if(!i||"view"===i){var r=t.getData(),o=[],a=[];ja(r.mapArray((function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]})),o,a),a[0]-o[0]==0&&(a[0]+=1,o[0]-=1),a[1]-o[1]==0&&(a[1]+=1,o[1]-=1);var s=(a[0]-o[0])/(a[1]-o[1]),l=function(t,e,n){return nh(E(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}(t,e,s);isNaN(s)&&(o=[l.x,l.y],a=[l.x+l.width,l.y+l.height]);var u=a[0]-o[0],c=a[1]-o[1],h=l.width,p=l.height,f=t.coordinateSystem=new OI;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(o[0],o[1],u,c),f.setViewRect(l.x,l.y,h,p),f.setCenter(t.get("center"),e),f.setZoom(t.get("zoom")),n.push(f)}})),n}var pP=pg.prototype,fP=vg.prototype,dP=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}o(e,t)}(dP);function gP(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var mP=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new dP},e.prototype.buildPath=function(t,e){gP(e)?pP.buildPath.call(this,t,e):fP.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return gP(this.shape)?pP.pointAt.call(this,t):fP.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=gP(e)?[e.x2-e.x1,e.y2-e.y1]:fP.tangentAt.call(this,t);return Lt(n,n)},e}(Rs),vP=["fromSymbol","toSymbol"];function yP(t){return"_"+t+"Type"}function _P(t,e,n){var i=e.getItemVisual(n,t);if(!i||"none"===i)return i;var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=Dv(r);return i+l+Pv(a||0,l)+(o||"")+(s||"")}function xP(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=Dv(r),u=Pv(a||0,l),c=kv(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,c.name=t,c}}function bP(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var wP=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return o(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=function(t){var e=new mP({name:"line",subPixelOptimize:!0});return bP(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,_u(r,{shape:{percent:1}},i,e),this.add(r),B(vP,(function(n){var i=xP(n,t,e);this.add(i),this[yP(n)]=_P(n,t,e)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};bP(a.shape,o),yu(r,a,i,e),B(vP,(function(n){var i=_P(n,t,e),r=yP(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=xP(n,t,e);this.add(o)}this[r]=i}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,u=n&&n.emphasisDisabled,c=n&&n.focus,h=n&&n.blurScope;if(!n||t.hasItemOption){var p=t.getItemModel(e),f=p.getModel("emphasis");o=f.getModel("lineStyle").getLineStyle(),a=p.getModel(["blur","lineStyle"]).getLineStyle(),s=p.getModel(["select","lineStyle"]).getLineStyle(),u=f.get("disabled"),c=f.get("focus"),h=f.get("blurScope"),l=ku(p)}var d=t.getItemVisual(e,"style"),g=d.stroke;r.useStyle(d),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=s,B(vP,(function(t){var e=this.childOfName(t);if(e){e.setColor(g),e.style.opacity=d.opacity;for(var n=0;n<wl.length;n++){var i=wl[n],o=r.getState(i);if(o){var a=o.style||{},s=e.ensureState(i),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}}),this);var m=i.getRawValue(e);Iu(this,l,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:g||"#000",defaultOpacity:d.opacity,defaultText:(null==m?t.getName(e):isFinite(m)?no(m):m)+""});var v=this.getTextContent();if(v){var y=l.normal;v.__align=v.style.align,v.__verticalAlign=v.style.verticalAlign,v.__position=y.get("position")||"middle";var _=y.get("distance");Z(_)||(_=[_,_]),v.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),au(this,c,h,u)},e.prototype.highlight=function(){$l(this)},e.prototype.downplay=function(){Ul(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");bP(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),i=t.getTextContent();if(e||n||i&&!i.ignore){for(var r=1,o=this.parent;o;)o.scaleX&&(r/=o.scaleX),o=o.parent;var a=t.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=Dt([],u,l);if(Lt(c,c),e&&(e.setPosition(l),S(e,0),e.scaleX=e.scaleY=r*s,e.markRedraw()),n&&(n.setPosition(u),S(n,1),n.scaleX=n.scaleY=r*s,n.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;
vendor: 2,227 bytes, line 1
1var h=void 0,p=void 0,f=i.__labelDistance,d=f[0]*r,g=f[1]*r,m=s/2,v=a.tangentAt(m),y=[v[1],-v[0]],_=a.pointAt(m);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]);var x=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(v[1],v[0]);u[0]<l[0]&&(b=Math.PI+b),i.rotation=b}var w=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,p="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,p="top";break;default:w=0,p="middle"}switch(i.__position){case"end":i.x=c[0]*d+u[0],i.y=c[1]*g+u[1],h=c[0]>.8?"left":c[0]<-.8?"right":"center",p=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":i.x=-c[0]*d+l[0],i.y=-c[1]*g+l[1],h=c[0]>.8?"right":c[0]<-.8?"left":"center",p=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=d*x+l[0],i.y=l[1]+w,h=v[0]<0?"right":"left",i.originX=-d*x,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=_[0],i.y=_[1]+w,h="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-d*x+u[0],i.y=u[1]+w,h=v[0]>=0?"right":"left",i.originX=d*x,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||h})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}($r),SP=wP;function TP(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:ku(e)}}function MP(t){return isNaN(t[0])||isNaN(t[1])}function CP(t){return t&&!MP(t[0])&&!MP(t[1])}var AP=function(){function t(t){this.group=new $r,this._LineCtor=t||SP}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=TP(t);
vendor: 4,172 bytes, line 1
1t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=TP(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i<t.end;i++){if(CP(e.getItemLayout(i))){var r=new this._LineCtor(e,i,this._seriesScope);r.traverse(n),this.group.add(r),e.setItemGraphicEl(i,r),this._progressiveEls.push(r)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){cm(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(CP(t.getItemLayout(e))){var i=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,i),this.group.add(i)}},t.prototype._doUpdate=function(t,e,n,i,r){var o=t.getItemGraphicEl(n);CP(e.getItemLayout(i))?(o?o.updateData(e,i,r):o=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,o),this.group.add(o)):this.group.remove(o)},t}(),IP=[],kP=[],DP=[],PP=kn,OP=Ft,EP=Math.abs;function LP(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1){IP[0]=PP(r[0],o[0],a[0],c),IP[1]=PP(r[1],o[1],a[1],c),(f=EP(OP(IP,e)-l))<s&&(s=f,i=c)}for(var h=0;h<32;h++){var p=i+u;kP[0]=PP(r[0],o[0],a[0],i),kP[1]=PP(r[1],o[1],a[1],i),DP[0]=PP(r[0],o[0],a[0],p),DP[1]=PP(r[1],o[1],a[1],p);var f=OP(kP,e)-l;if(EP(f)<.01)break;var d=OP(DP,e)-l;u/=2,f<0?d>=0?i+=u:i-=u:d>=0?i-=u:i+=u}return i}function RP(t,e){var n=[],i=On,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");l.__original||(l.__original=[Ct(l[0]),Ct(l[1])],l[2]&&l.__original.push(Ct(l[2])));var h=l.__original;if(null!=l[2]){if(Mt(r[0],h[0]),Mt(r[1],h[2]),Mt(r[2],h[1]),u&&"none"!==u){var p=nP(t.node1),f=LP(r,h[0],p*e);i(r[0][0],r[1][0],r[2][0],f,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],f,n),r[0][1]=n[3],r[1][1]=n[4]}if(c&&"none"!==c){p=nP(t.node2),f=LP(r,h[1],p*e);i(r[0][0],r[1][0],r[2][0],f,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],f,n),r[1][1]=n[1],r[2][1]=n[2]}Mt(l[0],r[0]),Mt(l[1],r[2]),Mt(l[2],r[1])}else{if(Mt(o[0],h[0]),Mt(o[1],h[1]),Dt(a,o[1],o[0]),Lt(a,a),u&&"none"!==u){p=nP(t.node1);kt(o[0],o[0],a,p*e)}if(c&&"none"!==c){p=nP(t.node2);kt(o[1],o[1],a,-p*e)}Mt(l[0],o[0]),Mt(l[1],o[1])}}))}function NP(t){return"view"===t.type}var FP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){var n=new Aw,i=new AP,r=this.group;this._controller=new lA(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(NP(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):yu(s,l,t)}RP(t.getGraph(),eP(t));var u=t.getData();o.updateData(u);var c=t.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var h=t.forceLayout,p=t.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,p);var f=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(f){case"force":h.warmUp(),!i._layouting&&i._startForceLayoutIteration(h,p),h.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),oP(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),QD(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){h&&h.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emp
1hasis","focus"])&&(fl(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(fl(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var d="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),m=u.getLayout("cy");u.graph.eachNode((function(t){sP(t,d,g,m)})),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!fA(e,n,t)})),NP(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){uA(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){cA(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),RP(t.getGraph(),eP(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=eP(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){RP(t.getGraph(),eP(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(_m),BP=FP;function zP(t){return"_EC_"+t}var VP=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[zP(t)]){var i=new jP(t,e);return i.hostGraph=this,this.nodes.push(i),n[zP(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[zP(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(q(t)&&(t=this.nodes[t]),q(e)&&(e=this.nodes[e]),t instanceof jP||(t=i[zP(t)]),e instanceof jP||(e=i[zP(e)]),t&&e){var o=t.id+"-"+e.id,a=new GP(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof jP&&(t=t.id),e instanceof jP&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof jP||(e=this._nodesMap[zP(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(i,e,null))for(var a=[e];a.length;){var s=a.shift(),l=s[r];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(t.call(i,c,s))return;a.push(c),c.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf((function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)i[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,i=this.edges,r=0;r<n.length;r++)e.addNode(n[r].id,n[r].dataIndex);for(r=0;r<i.length;r++){var o=i[r];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),jP=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];
vendor: 34,607 bytes, line 1
1n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t.prototype.getTrajectoryDataIndices=function(){for(var t=gt(),e=gt(),n=0;n<this.edges.length;n++){var i=this.edges[n];if(!(i.dataIndex<0)){t.set(i.dataIndex,!0);for(var r=[i.node1],o=[i.node2],a=0;a<r.length;){var s=r[a];a++,e.set(s.dataIndex,!0);for(var l=0;l<s.inEdges.length;l++)t.set(s.inEdges[l].dataIndex,!0),r.push(s.inEdges[l].node1)}for(a=0;a<o.length;){var u=o[a];a++,e.set(u.dataIndex,!0);for(l=0;l<u.outEdges.length;l++)t.set(u.outEdges[l].dataIndex,!0),o.push(u.outEdges[l].node2)}}}return{edge:t.keys(),node:e.keys()}},t}(),GP=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t.prototype.getTrajectoryDataIndices=function(){var t=gt(),e=gt();t.set(this.dataIndex,!0);for(var n=[this.node1],i=[this.node2],r=0;r<n.length;){var o=n[r];r++,e.set(o.dataIndex,!0);for(var a=0;a<o.inEdges.length;a++)t.set(o.inEdges[a].dataIndex,!0),n.push(o.inEdges[a].node1)}for(r=0;r<i.length;){var s=i[r];r++,e.set(s.dataIndex,!0);for(a=0;a<s.outEdges.length;a++)t.set(s.outEdges[a].dataIndex,!0),i.push(s.outEdges[a].node2)}return{edge:t.keys(),node:e.keys()}},t}();function WP(t,e){return{getValue:function(n){var i=this[t][e];return i.getStore().get(i.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}N(jP,WP("hostGraph","data")),N(GP,WP("hostGraph","edgeData"));var HP=VP;function ZP(t,e,n,i,r){for(var o=new HP(i),a=0;a<t.length;a++)o.addNode(nt(t[a].id,t[a].name,a),a);var s=[],l=[],u=0;for(a=0;a<e.length;a++){var c=e[a],h=c.source,p=c.target;o.addEdge(h,p,u)&&(l.push(c),s.push(nt(Lo(c.id,null),h+" > "+p)),u++)}var f,d=n.get("coordinateSystem");if("cartesian2d"===d||"polar"===d)f=gw(t,n);else{var g=qh.get(d),m=g&&g.dimensions||[];R(m,"value")<0&&m.concat(["value"]);var v=sw(t,{coordDimensions:m,encodeDefine:n.getEncode()}).dimensions;(f=new aw(v,n)).initData(t)}var y=new aw(["value"],n);return y.initData(l,s),r&&r(f,y),wk({mainData:f,struct:o,structAttr:"graph",datas:{node:f,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var $P=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new uT(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),Ao(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){HD(n=this)&&(n.__curvenessList=[],n.__edgeMap={},ZD(n));var a=ZP(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=tc.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return B(a.edges,(function(t){!function(t,e,n,i){if(HD(n)){var r=$D(t,e,n),o=n.__edgeMap,a=o[UD(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Ff("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return qf({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=z(this.option.categories||[],(function(t){return null!=t.value?t:E({value:0},t)})),e=new aw(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(sd),UP=$P,XP={type:"graphRoam",event:"graphRoam",update:"none"};var qP=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},YP=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return o(e,t),e.prototype.getDefaultShape=function(){return new qP},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(Rs),KP=YP;function JP(t,e){var n=null==t?"":t+"";return e&&(U(e)?n=e.replace("{value}",n):$(e)&&(n=e(t))),n}var QP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:eo(n[0],e.getWidth()),cy:eo(n[1],e.getHeight()),r:eo(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap")?SS:Jd,h=u.get("show"),p=u.getModel("lineStyle"),f=p.get("width"),d=[s,l];hs(d,!a);for(var g=(l=d[1])-(s=d[0]),m=s,v=[],y=0;h&&y<i.length;y++){var _=new c({shape:{startAngle:m,endAngle:l=s+g*Math.min(Math.max(i[y][0],0),1),cx:r.cx,cy:r.cy,clockwise:a,r0:r.r-f,r:r.r},silent:!0});_.setStyle({fill:i[y][1]}),_.setStyle(p.getLineStyle(["color","width"])),v.push(_),m=l}v.reverse(),B(v,(function(t){return o.add(t)}));var x=function(t){if(t<=0)return i[0][1];var e;for(e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]};this._renderTicks(t,e,n,x,r,s,l,a,f),this._renderTitleAndDetail(t,e,n,x,r),this._renderAnchor(t,r),this._renderPointer(t,e,n,x,r,s,l,a,f)},e.prototype._renderTicks=function(t,e,n,i,r,o,a,s,l){for(var u,c,h=this.group,p=r.cx,f=r.cy,d=r.r,g=+t.get("min"),m=+t.get("max"),v=t.getModel("splitLine"),y=t.getModel("axisTick"),_=t.getModel("axisLabel"),x=t.get("splitNumber"),b=y.get("splitNumber"),w=eo(v.get("length"),d),S=eo(y.get("length"),d),T=o,M=(a-o)/x,C=M/b,A=v.getModel("lineStyle").getLineStyle(),I=y.getModel("lineStyle").getLineStyle(),k=v.get("distance"),D=0;D<=x;D++){if(u=Math.cos(T),c=Math.sin(T),v.get("show")){var P=new pg({shape:{x1:u*(d-(O=k?k+l:l))+p,y1:c*(d-O)+f,x2:u*(d-w-O)+p,y2:c*(d-w-O)+f},style:A,silent:!0});"auto"===A.stroke&&P.setStyle({stroke:i(D/x)}),h.add(P)}if(_.get("show")){var O=_.get("distance")+k,E=JP(no(D/x*(m-g)+g),_.get("formatter")),L=i(D/x),R=u*(d-w-O)+p,N=c*(d-w-O)+f,F=_.get("rotate"),B=0;"radial"===F?(B=-T+2*Math.PI)>Math.PI/2&&(B+=Math.PI):"tangential"===F?B=-T-Math.PI/2:q(F)&&(B=F*Math.PI/180),0===B?h.add(new pl({style:Du(_,{text:E,x:R,y:N,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:L}),silent:!0})):h.add(new pl({style:Du(_,{text:E,x:R,y:N,verticalAlign:"middle",align:"center"},{inheritColor:L}),silent:!0,originX:R,originY:N,rotation:B}))}if(y.get("show")&&D!==x){O=(O=y.get("distance"))?O+l:l;for(var z=0;z<=b;z++){u=Math.cos(T),c=Math.sin(T);var V=new pg({shape:{x1:u*(d-O)+p,y1:c*(d-O)+f,x2:u*(d-S-O)+p,y2:c*(d-S-O)+f},silent:!0,style:I});"auto"===I.stroke&&V.setStyle({stroke:i((D+z/b)/x)}),h.add(V),T+=C}T-=C}else T+=M}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,c=this._data,h=this._progressEls,p=[],f=t.get(["pointer","show"]),d=t.getModel("progress"),g=d.get("show"),m=t.getData(),v=m.mapDimension("value"),y=+t.get("min"),_=+t.get("max"),x=[y,_],b=[o,a];function w(e,n){var i,o=m.getItemModel(e).getModel("pointer"),a=eo(o.get("width"),r.r),s=eo(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),c=eo(u[0],r.r),h=eo(u[1],r.r),p=o.get("keepAspect");return(i=l?kv(l,c-a/2,h-s,a,s,null,p):new KP({shape:{angle:-Math.PI/2,width:a,r:s,x:c,y:h}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=d.get("roundCap")?SS:Jd,i=d.get("overlap"),a=i?d.get("width"):l/m.count(),u=i?r.r-a:r.r-(t+1)*a,c=i?r.r:r.r-t*a,h=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:c}});return i&&(h.z2=to(m.get(v,t),[y,_],[100,0],!0)),h}(g||f)&&(m.diff(c).add((function(e){var n=m.get(v,e);if(f){var i=w(e,o);_u(i,{rotation:-((isNaN(+n)?b[0]:to(n,x,b,!0))+Math.PI/2)},t),u.add(i),m.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=d.get("clip");_u(r,{shape:{endAngle:to(n,x,b,a)}},t),u.add(r),dl(t.seriesIndex,m.dataType,e,r),p[e]=r}})).update((function(e,n){var i=m.get(v,e);if(f){var r=c.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,yu(s,{rotation:-((isNaN(+i)?b[0]:to(i,x,b,!0))+Math.PI/2)},t),u.add(s),m.setItemGraphicEl(e,s)}if(g){var l=h[n],y=S(e,l?l.shape.endAngle:o),_=d.get("clip");yu(y,{shape:{endAngle:to(i,x,b,_)}},t),u.add(y),dl(t.seriesIndex,m.dataType,e,y),p[e]=y}})).execute(),m.each((function(t){var e=m.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(f){var s=m.getItemGraphicEl(t),l=m.getItemVisual(t,"style"),u=l.fill;if(s instanceof Gs){var c=s.style;s.useStyle(E({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(to(m.get(v,t),x,[0,1],!0))),s.z2EmphasisLift=0,cu(s,e),au(s,r,o,a)}if(g){var h=p[t];h.useStyle(m.getItemVisual(t,"style")),h.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,cu(h,e),au(h,r,o,a)}})),this._progressEls=p)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=kv(r,e.cx-i/2+eo(o[0],e.r),e.cy-i/2+eo(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),c=new $r,h=[],p=[],f=t.isAnimationEnabled(),d=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){h[t]=new pl({silent:!0}),p[t]=new pl({silent:!0})})).update((function(t,e){h[t]=o._titleEls[e],p[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new $r,m=i(to(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),_=r.cx+eo(y[0],r.r),x=r.cy+eo(y[1],r.r);(I=h[e]).attr({z2:d?0:2,style:Du(v,{x:_,y:x,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:m})}),g.add(I)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+eo(w[0],r.r),T=r.cy+eo(w[1],r.r),M=eo(b.get("width"),r.r),C=eo(b.get("height"),r.r),A=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:m,I=p[e],k=b.get("formatter");I.attr({z2:d?0:2,style:Du(b,{x:S,y:T,text:JP(o,k),width:isNaN(M)?null:M,height:isNaN(C)?null:C,align:"center",verticalAlign:"middle"},{inheritColor:A})}),Bu(I,{normal:b},o,(function(t){return JP(t,k)})),f&&zu(I,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return JP(a?a.interpolatedValue:o,k)}}),g.add(I)}c.add(g)})),this.group.add(c),this._titleEls=h,this._detailEls=p},e.type="gauge",e}(_m),tO=QP,eO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return o(e,t),e.prototype.getInitialData=function(t,e){return sT(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(sd),nO=eO;var iO=["itemStyle","opacity"],rO=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new lg,a=new pl;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return o(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(iO);l=null==l?1:l,n||Tu(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,_u(i,{style:{opacity:l}},r,e)):yu(i,{style:{opacity:l},shape:{points:a.points}},r,e),cu(i,o),this._updateLabel(t,e),au(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;Iu(r,ku(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var c=s.linePoints;i.setShape({points:c}),n.textGuideLineConfig={anchor:c?new Te(c[0][0],c[0][1]):null},yu(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),j_(n,G_(a),{stroke:u})},e}(og),oO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new rO(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){Su(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(_m),aO=oO,sO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new uT(W(this.getData,this),W(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return sT(this,{coordDimensions:["value"],encodeDefaulter:H(Ch,this)})},e.prototype._defaultLabelLine=function(t){Ao(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(sd),lO=sO;function uO(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return nh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a<s;a++)r[a]=a;return $(e)?r.sort(e):"none"!==e&&r.sort((function(t,e){return o?i[t]-i[e]:i[e]-i[t]})),r}(n,r),c=o.x,h=o.y,p="horizontal"===a?[eo(t.get("minSize"),l),eo(t.get("maxSize"),l)]:[eo(t.get("minSize"),s),eo(t.get("maxSize"),s)],f=n.getDataExtent(i),d=t.get("min"),g=t.get("max");null==d&&(d=Math.min(f[0],0)),null==g&&(g=f[1]);var m=t.get("funnelAlign"),v=t.get("gap"),y=(("horizontal"===a?s:l)-v*(n.count()-1))/n.count(),_=function(t,e){if("horizontal"===a){var r=to(n.get(i,t)||0,[d,g],p,!0),o=void 0;switch(m){case"top":o=h;break;case"center":o=h+(l-r)/2;break;case"bottom":o=h+(l-r)}return[[e,o],[e,o+r]]}var u,f=to(n.get(i,t)||0,[d,g],p,!0);switch(m){case"left":u=c;break;case"center":u=c+(s-f)/2;break;case"right":u=c+s-f}return[[u,e],[u+f,e]]};"ascending"===r&&(y=-y,v=-v,"horizontal"===a?c+=s:h+=l,u=u.reverse());for(var x=0;x<u.length;x++){var b=u[x],w=u[x+1],S=n.getItemModel(b);if("horizontal"===a){var T=S.get(["itemStyle","width"]);null==T?T=y:(T=eo(T,s),"ascending"===r&&(T=-T));var M=_(b,c),C=_(w,c+T);c+=T+v,n.setItemLayout(b,{points:M.concat(C.slice().reverse())})}else{var A=S.get(["itemStyle","height"]);null==A?A=y:(A=eo(A,l),"ascending"===r&&(A=-A));M=_(b,h),C=_(w,h+A);h+=A+v,n.setItemLayout(b,{points:M.concat(C.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each((function(n){var i,r,o,a,s=t.getItemModel(n),l=s.getModel("label").get("position"),u=s.getModel("labelLine"),c=t.getItemLayout(n),h=c.points,p="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(p)"insideLeft"===l?(r=(h[0][0]+h[3][0])/2+5,o=(h[0][1]+h[3][1])/2,i="left"):"insideRight"===l?(r=(h[1][0]+h[2][0])/2-5,o=(h[1][1]+h[2][1])/2,i="right"):(r=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,o=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,i="center"),a=[[r,o],[r,o]];else{var f=void 0,d=void 0,g=void 0,m=void 0,v=u.get("length");"left"===l?(f=(h[3][0]+h[0][0])/2,d=(h[3][1]+h[0][1])/2,r=(g=f-v)-5,i="right"):"right"===l?(f=(h[1][0]+h[2][0])/2,d=(h[1][1]+h[2][1])/2,r=(g=f+v)+5,i="left"):"top"===l?(f=(h[3][0]+h[0][0])/2,o=(m=(d=(h[3][1]+h[0][1])/2)-v)-5,i="center"):"bottom"===l?(f=(h[1][0]+h[2][0])/2,o=(m=(d=(h[1][1]+h[2][1])/2)+v)+5,i="center"):"rightTop"===l?(f="horizontal"===e?h[3][0]:h[1][0],d="horizontal"===e?h[3][1]:h[1][1],"horizontal"===e?(o=(m=d-v)-5,i="center"):(r=(g=f+v)+5,i="top")):"rightBottom"===l?(f=h[2][0],d=h[2][1],"horizontal"===e?(o=(m=d+v)+5,i="center"):(r=(g=f+v)+5,i="bottom")):"leftTop"===l?(f=h[0][0],d="horizontal"===e?h[0][1]:h[1][1],"horizontal"===e?(o=(m=d-v)-5,i="center"):(r=(g=f-v)-5,i="right")):"leftBottom"===l?(f="horizontal"===e?h[1][0]:h[3][0],d="horizontal"===e?h[1][1]:h[2][1],"horizontal"===e?(o=(m=d+v)+5,i="center"):(r=(g=f-v)-5,i="right")):(f=(h[1][0]+h[2][0])/2,d=(h[1][1]+h[2][1])/2,"horizontal"===e?(o=(m=d+v)+5,i="center"):(r=(g=f+v)+5,i="left")),"horizontal"===e?r=g=f:o=m=d,a=[[f,d],[g,m]]}c.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:i,inside:p}}))}(n)}))}var cO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new $r,n._initialized=!1,n}return o(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._dataGroup,o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.dimensions,u=fO(t);if(o.diff(a).add((function(t){dO(pO(o,r,t,l,s),o,t,u)})).update((function(e,n){var i=a.getItemGraphicEl(n),r=hO(o,e,l,s);o.setItemGraphicEl(e,i),yu(i,{shape:{points:r}},t,e),Tu(i),dO(i,o,e,u)})).remove((function(t){var e=a.getItemGraphicEl(t);r.remove(e)})).execute(),!this._initialized){this._initialized=!0;var c=function(t,e,n){var i=t.model,r=t.getRect(),o=new Ys({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===i.get("layout")?"width":"height";return o.setShape(a,0),_u(o,{shape:{width:r.width,height:r.height}},e,n),o}(s,t,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(c)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,a=fO(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var u=pO(i,this._dataGroup,l,o,r);u.incremental=!0,dO(u,i,l,a),s.push(u)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(_m);function hO(t,e,n,i){for(var r,o=[],a=0;a<n.length;a++){var s=n[a],l=t.get(t.mapDimension(s),e);r=l,("category"===i.getAxis(s).type?null==r:null==r||isNaN(r))||o.push(i.dataToPoint(l,s))}return o}function pO(t,e,n,i,r){var o=hO(t,n,i,r),a=new lg({shape:{points:o},z2:10});return e.add(a),t.setItemGraphicEl(n,a),a}function fO(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),et(e=yo(e))&&(e=0),{smooth:e}}function dO(t,e,n,i){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",i.smooth);var r=e.getItemModel(n),o=r.getModel("emphasis");cu(t,r,"lineStyle"),au(t,o.get("focus"),o.get("blurScope"),o.get("disabled"))}var gO=cO,mO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return o(e,t),e.prototype.getInitialData=function(t,e){return gw(null,this,{useEncodeDefaulter:W(vO,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,(function(e,r){t===e&&i.push(n.getRawIndex(r))})),i},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(sd);function vO(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return B(e.dimensions,(function(t){var e=+t.replace("dim","");n[t]=e})),n}}var yO=mO,_O=["lineStyle","opacity"],xO={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,i={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,(function(t,n){var r=i[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(n).get(_O,!0);null!=o&&(r=o)}e.ensureUniqueItemVisual(n,"style").opacity=r}),t.start,t.end)}}}};function bO(t){!function(t){if(t.parallel)return;var e=!1;B(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}(t),function(t){var e=Co(t.parallelAxis);B(e,(function(e){if(Y(e)){var n=e.parallelIndex||0,i=Co(t.parallel)[n];i&&i.parallelAxisDefault&&P(e,i.parallelAxisDefault,!1)}}))}(t)}var wO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},B(SO,(function(t,e){n.getZr().on(e,this._handlers[e]=W(t,this))}),this)),Tm(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){Mm(this,"_throttledDispatchExpand"),B(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(E({type:"parallelAxisExpand"},t))},e.type="parallel",e}(ud),SO={mousedown:function(t){TO(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(TO(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&TO(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function TO(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var MO=wO,CO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&P(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){B(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];B(j(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(ch),AO=CO,IO=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return o(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(XM),kO=IO;function DO(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=OO(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=OO(s,[0,a]),r=o=OO(s,[r,o]),i=0}e[0]=OO(e[0],n),e[1]=OO(e[1],n);var l=PO(e,i);e[i]+=t;var u,c=r||0,h=n.slice();return l.sign<0?h[0]+=c:h[1]-=c,e[i]=OO(e[i],h),u=PO(e,i),null!=r&&(u.sign!==l.sign||u.span<r)&&(e[1-i]=e[i]+l.sign*r),u=PO(e,i),null!=o&&u.span>o&&(e[1-i]=e[i]+u.sign*o),e}function PO(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function OO(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var EO=B,LO=Math.min,RO=Math.max,NO=Math.floor,FO=Math.ceil,BO=no,zO=Math.PI,VO=function(){function t(t,e,n){this.type="parallel",this._axesMap=gt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;EO(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new kO(t,SM(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();EO(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),wM(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=nh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,c=jO(e.get("axisExpandWidth"),l),h=jO(e.get("axisExpandCount")||0,[0,u]),p=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,f=e.get("axisExpandWindow");f?(t=jO(f[1]-f[0],l),f[1]=f[0]+t):(t=jO(c*(h-1),l),(f=[c*(e.get("axisExpandCenter")||NO(u/2))-t/2])[1]=f[0]+t);var d=(s-t)/(u-h);d<3&&(d=0);var g=[NO(BO(f[0]/c,1))+1,FO(BO(f[1]/c,1))-1],m=d/c*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:p,axisExpandWidth:c,axisCollapseWidth:d,axisExpandWindow:f,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:m}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),EO(n,(function(e,n){var o=(i.axisExpandable?WO:GO)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:zO/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],c=[1,0,0,1,0,0];xe(c,c,u),_e(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];B(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;u<i;u++){var c=void 0;if(l){c="active";for(var h=t.getValues(a,u),p=0,f=o.length;p<f;p++){if("inactive"===s[p].getActiveState(h[p])){c="inactive";break}}}else c="normal";e(c,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return Jg([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return D(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var a,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),h=null!=c[0];if(u)h&&u&&s<r*c[0]?(l="jump",a=s-r*c[2]):h&&u&&s>r*(1-c[0])?(l="jump",a=s-r*(1-c[2])):(a=s-r*c[1])>=0&&(a=s-r*(1-c[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?DO(a,i,o,"all"):l="none";else{var p=i[1]-i[0];(i=[RO(0,o[1]*s/p-p/2)])[1]=LO(o[1],i[0]+p),i[0]=i[1]-p}return{axisExpandWindow:i,behavior:l}},t}();function jO(t,e){return LO(RO(t,e[0]),e[1])}function GO(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function WO(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,c=!0):(n=r-(a-1-t)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}var HO=VO;var ZO={create:function(t,e){var n=[];return t.eachComponent("parallel",(function(i,r){var o=new HO(i,t,e);o.name="parallel_"+r,o.resize(i,e),i.coordinateSystem=o,o.model=i,n.push(o)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",Go).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},$O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return o(e,t),e.prototype.getAreaSelectStyle=function(){return ra([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["
1width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=D(t);if(e)for(var n=e.length-1;n>=0;n--)io(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i<r;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"},e}(ch);N($O,ST);var UO=$O,XO=!0,qO=Math.min,YO=Math.max,KO=Math.pow,JO=1e4,QO=6,tE=6,eE="globalPan",nE={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},iE={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},rE={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},oE=0,aE=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new $r,n._uid="brushController_"+oE++,B(EE,(function(t,e){this._handlers[e]=W(t,this)}),n),n}return o(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||function(t,e,n){iA(t)[e]=n}(e,eE,this._uid),B(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=P(D(rE),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var i=iA(t);i[e]===n&&(i[e]=null)}(t,eE,this._uid),B(this._handlers,(function(e,n){t.off(n,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};B(t,(function(t){e[t.panelId]=D(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=z(t,(function(t){return P(D(rE),t,!0)}));var e="\0-brush-index-",n=this._covers,i=this._covers=[],r=this,o=this._creatingCover;return new Rb(n,t,(function(t,e){return a(t.__brushOption,e)}),a).add(s).update(s).remove((function(t){n[t]!==o&&r.group.remove(n[t])})).execute(),this;function a(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function s(e,a){var s=t[e];if(null!=a&&n[a]===o)i[e]=n[a];else{var l=i[e]=null!=a?(n[a].__brushOption=s,n[a]):lE(r,sE(r,s));hE(r,l)}}},e.prototype.unmount=function(){return this.enableBrush(!1),gE(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}($t);function sE(t,e){var n=RE[e.brushType].createCover(t,e);return n.__brushOption=e,cE(n,e),t.group.add(n),n}function lE(t,e){var n=pE(e);return n.endCreating&&(n.endCreating(t,e),cE(e,e.__brushOption)),e}function uE(t,e){var n=e.__brushOption;pE(e).updateCoverShape(t,e,n.range,n)}function cE(t,e){var n=e.z;null==n&&(n=JO),t.traverse((function(t){t.z=n,t.z2=n}))}function hE(t,e){pE(e).updateCommon(t,e),uE(t,e)}function pE(t){return RE[t.__brushOption.brushType]}function fE(t,e,n){var i,r=t._panels;if(!r)return XO;var o=t._transform;return B(r,(function(t){t.isTargetByCursor(e,n,o)&&(i=t)})),i}function dE(t,e){var n=t._panels;if(!n)return XO;var i=e.__brushOption.panelId;return null!=i?n[i]:XO}function gE(t){var e=t._covers,n=e.length;return B(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function mE(t,e){var n=z(t._covers,(function(t){var e=t.__brushOption,n=D(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function vE(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function yE(t,e,n,i){var r=new $r;return r.add(new Ys({name:"main",style:wE(n),silent:!0,draggable:!0,cursor:"move",drift:H(ME,t,e,r,["n","s","w","e"]),ondragend:H(mE,e,{isEnd:!0})})),B(i,(function(n){r.add(new Ys({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:H(ME,t,e,r,n),ondragend:H(mE,e,{isEnd:!0})}))})),r}function _E(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=YO(r,tE),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],p=c-o+r/2,f=h-o+r/2,d=c-a,g=h-s,m=d+r,v=g+r;bE(t,e,"main",a,s,d,g),i.transformable&&(bE(t,e,"w",l,u,o,v),bE(t,e,"e",p,u,o,v),bE(t,e,"n",l,u,m,o),bE(t,e,"s",l,f,m,o),bE(t,e,"nw",l,u,o,o),bE(t,e,"ne",p,u,o,o),bE(t,e,"sw",l,f,o,o),bE(t,e,"se",p,f,o,o))}function xE(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(wE(n)),r.attr({silent:!i,cursor:i?"move":"default"}),B([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=e.childOfName(n.join("")),o=1===n.length?TE(t,n[0]):function(t,e){var n=[TE(t,e[0]),TE(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?iE[o]+"-resize":null})}))}function bE(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(function(t){var e=qO(t[0][0],t[1][0]),n=qO(t[0][1],t[1][1]),i=YO(t[0][0],t[1][0]),r=YO(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}(IE(t,e,[[i,r],[i+o,r+a]])))}function wE(t){return L({strokeNoScale:!0},t.brushStyle)}
vendor: 25,276 bytes, line 1
1function SE(t,e,n,i){var r=[qO(t,n),qO(e,i)],o=[YO(t,n),YO(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function TE(t,e){var n=Qg({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return Kg(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}function ME(t,e,n,i,r,o){var a=n.__brushOption,s=t.toRectRange(a.range),l=AE(e,r,o);B(i,(function(t){var e=nE[t];s[e[0]][e[1]]+=l[e[0]]})),a.range=t.fromRectRange(SE(s[0][0],s[1][0],s[0][1],s[1][1])),hE(e,n),mE(e,{isEnd:!1})}function CE(t,e,n,i){var r=e.__brushOption.range,o=AE(t,n,i);B(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),hE(t,e),mE(t,{isEnd:!1})}function AE(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function IE(t,e,n){var i=dE(t,e);return i&&i!==XO?i.clipPath(n,t._transform):D(n)}function kE(t){var e=t.event;e.preventDefault&&e.preventDefault()}function DE(t,e,n){return t.childOfName("main").contain(e,n)}function PE(t,e,n,i){var r,o=t._creatingCover,a=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return KO(r*r+o*o,.5)>QO}(t)||o){if(a&&!o){"single"===s.brushMode&&gE(t);var l=D(s);l.brushType=OE(l.brushType,a),l.panelId=a===XO?null:a.panelId,o=t._creatingCover=sE(t,l),t._covers.push(o)}if(o){var u=RE[OE(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(IE(t,o,t._track)),i&&(lE(t,o),u.updateCommon(t,o)),uE(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&fE(t,e,n)&&gE(t)&&(r={isEnd:i,removeOnClick:!0});return r}function OE(t,e){return"auto"===t?e.defaultBrushType:t}var EE={mousedown:function(t){if(this._dragging)LE(this,t);else if(!t.target||!t.target.draggable){kE(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=fE(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=fE(t,e,n);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(o===XO||s.panelId===o.panelId)&&RE[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}(this,t,i),this._dragging){kE(t);var r=PE(this,t,i,!1);r&&mE(this,r)}},mouseup:function(t){LE(this,t)}};function LE(t,e){if(t._dragging){kE(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),o=PE(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&mE(t,o)}}var RE={lineX:NE(0),lineY:NE(1),rect:{createCover:function(t,e){function n(t){return t}return yE({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=vE(t);return SE(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){_E(t,e,n,i)},updateCommon:xE,contain:DE},polygon:{createCover:function(t,e){var n=new $r;return n.add(new lg({name:"main",style:wE(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new og({name:"main",draggable:!0,drift:H(CE,t,e),ondragend:H(mE,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:IE(t,e,n)})},updateCommon:xE,contain:DE}};function NE(t){return{createCover:function(e,n){return yE({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=vE(e);return[qO(n[0][t],n[1][t]),YO(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var o,a=dE(e,n);if(a!==XO&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),_E(e,n,l,r)},updateCommon:xE,contain:DE}}var FE=aE;function BE(t){return t=jE(t),function(e){return nm(e,t)}}function zE(t,e){return t=jE(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function VE(t,e,n){var i=jE(t);return function(t,r){return i.contain(r[0],r[1])&&!fA(t,e,n)}}function jE(t){return Le.create(t)}var GE=["axisLine","axisTickLabel","axisName"],WE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new FE(n.getZr())).on("brush",W(this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new $r,this.group.add(this._axisGroup),t.get("show")){var o=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),a=o.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,u=t.axis.dim,c=E({strokeContainThreshold:l},a.getAxisLayout(u)),h=new dC(t,c);B(GE,h.add,h),this._axisGroup.add(h.getGroup()),this._refreshBrushController(c,s,t,o,l,n),em(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,i,r,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=Le.create({x:a[0],y:-r/2,width:s,height:r});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:BE(u),isTargetByCursor:VE(u,o,i),getLinearBrushOtherExtent:zE(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return z(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,i=n.axis,r=z(e,(function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(ud);var HE=WE,ZE={type:"axisAreaSelect",event:"axisAreaSelected"};var $E={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function UE(t){t.registerComponentView(MO),t.registerComponentModel(AO),t.registerCoordinateSystem("parallel",ZO),t.registerPreprocessor(bO),t.registerComponentModel(UO),t.registerComponentView(HE),ET(t,"parallel",UO,$E),function(t){t.registerAction(ZE,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}(t)}var XE=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},qE=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.getDefaultShape=function(){return new XE},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){$l(this)},e.prototype.downplay=function(){Ul(this)},e}(Rs),YE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return o(e,t),e.prototype.render=function(t,e,n){var i=this,r=t.getGraph(),o=this.group,a=t.layoutInfo,s=a.width,l=a.height,u=t.getData(),c=t.getData("edge"),h=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,r.eachEdge((function(e){var n=new qE,i=fl(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var r,a,u,p,f,d,g,m,v=e.getModel(),y=v.getModel("lineStyle"),_=y.get("curveness"),x=e.node1.getLayout(),b=e.node1.getModel(),w=b.get("localX"),S=b.get("localY"),T=e.node2.getLayout(),M=e.node2.getModel(),C=M.get("localX"),A=M.get("localY"),I=e.getLayout();n.shape.extent=Math.max(1,I.dy),n.shape.orient=h,"vertical"===h?(r=(null!=w?w*s:x.x)+I.sy,a=(null!=S?S*l:x.y)+x.dy,u=(null!=C?C*s:T.x)+I.ty,f=r,d=a*(1-_)+(p=null!=A?A*l:T.y)*_,g=u,m=a*_+p*(1-_)):(r=(null!=w?w*s:x.x)+x.dx,a=(null!=S?S*l:x.y)+I.sy,f=r*(1-_)+(u=null!=C?C*s:T.x)*_,d=a,g=r*_+u*(1-_),m=p=(null!=A?A*l:T.y)+I.ty),n.setShape({x1:r,y1:a,x2:u,y2:p,cpx1:f,cpy1:d,cpx2:g,cpy2:m}),n.useStyle(y.getItemStyle()),KE(n.style,h,e);var k=""+v.get("value"),D=ku(v,"edgeLabel");Iu(n,D,{labelFetcher:{getFormattedLabel:function(e,n,i,r,o,a){return t.getFormattedLabel(e,n,"edge",r,rt(o,D.normal&&D.normal.get("formatter"),k),a)}},labelDataIndex:e.dataIndex,defaultText:k}),n.setTextConfig({position:"inside"});var P=v.getModel("emphasis");cu(n,v,"lineStyle",(function(t){var n=t.getItemStyle();return KE(n,h,e),n})),o.add(n),c.setItemGraphicEl(e.dataIndex,n);var O=P.get("focus");au(n,"adjacency"===O?e.getAdjacentDataIndices():"trajectory"===O?e.getTrajectoryDataIndices():O,P.get("blurScope"),P.get("disabled"))})),r.eachNode((function(e){var n=e.getLayout(),i=e.getModel(),r=i.get("localX"),a=i.get("localY"),c=i.getModel("emphasis"),h=i.get(["itemStyle","borderRadius"])||0,p=new Ys({shape:{x:null!=r?r*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy,r:h},style:i.getModel("itemStyle").getItemStyle(),z2:10});Iu(p,ku(i),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(e,n,"node")}},labelDataIndex:e.dataIndex,defaultText:e.id}),p.disableLabelAnimation=!0,p.setStyle("fill",e.getVisual("color")),p.setStyle("decal",e.getVisual("style").decal),cu(p,i),o.add(p),u.setItemGraphicEl(e.dataIndex,p),fl(p).dataType="node";var f=c.get("focus");au(p,"adjacency"===f?e.getAdjacentDataIndices():"trajectory"===f?e.getTrajectoryDataIndices():f,c.get("blurScope"),c.get("disabled"))})),u.eachItemGraphicEl((function(e,r){u.getItemModel(r).get("draggable")&&(e.drift=function(e,o){i._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){i._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(function(t,e,n){var i=new Ys({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return _u(i,{shape:{width:t.width+20}},e,n),i}(o.getBoundingRect(),t,(function(){o.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(_m);function KE(t,e,n){switch(t.fill){case"source":t.fill=n.node1.getVisual("color"),t.decal=n.node1.getVisual("style").decal;break;case"target":t.fill=n.node2.getVisual("color"),t.decal=n.node2.getVisual("style").decal;break;case"gradient":var i=n.node1.getVisual("color"),r=n.node2.getVisual("color");U(i)&&U(r)&&(t.fill=new Tg(0,0,+("horizontal"===e),+("vertical"===e),[{color:i,offset:0},{color:r,offset:1}]))}}var JE=YE,QE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],r=t.levels||[];this.levelModels=[];for(var o=this.levelModels,a=0;a<r.length;a++)null!=r[a].depth&&r[a].depth>=0&&(o[r[a].depth]=new tc(r[a],this,e));var s=ZP(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))}));return s.data},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return Ff("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return Ff("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(sd),tL=QE;function eL(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return nh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){B(t,(function(t){var e=hL(t.outEdges,cL),n=hL(t.inEdges,cL),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],c=[],h=0,p=0;p<e.length;p++)s[p]=1;for(p=0;p<t.length;p++)l[p]=t[p].inEdges.length,0===l[p]&&u.push(t[p]);var f=-1;for(;u.length;){for(var d=0;d<u.length;d++){var g=u[d],m=g.hostGraph.data.getRawDataItem(g.dataIndex),v=null!=m.depth&&m.depth>=0;v&&m.depth>f&&(f=m.depth),g.setLayout({depth:v?m.depth:h},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var y=0;y<g.outEdges.length;y++){var _=g.outEdges[y];s[e.indexOf(_)]=0;var x=_.node2;0==--l[t.indexOf(x)]&&c.indexOf(x)<0&&c.push(x)}}++h,u=c,c=[]}for(p=0;p<s.length;p++)if(1===s[p])throw new Error("Sankey is a DAG, the original data has cycle!");var b=f>h-1?f:h-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s<o.length;s++){var l=o[s];l.setLayout({skNodeHeight:a},!0);for(var u=0;u<l.inEdges.length;u++){var c=l.inEdges[u];r.indexOf(c.node1)<0&&r.push(c.node1)}}o=r,r=[],++a}B(t,(function(t){nL(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&function(t,e){B(t,(function(t){nL(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}(t,i)}(t,a,0,b);var w="vertical"===o?(r-n)/b:(i-n)/b;!function(t,e,n){B(t,(function(t){var i=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:i},!0):t.setLayout({x:i},!0)}))}(t,w,o)})(t,e,n,r,o,s,l),function(t,e,n,i,r,o,a){var s=function(t,e){var n=[],i="vertical"===e?"y":"x",r=$o(t,(function(t){return t.getLayout()[i]}));return r.keys.sort((function(t,e){return t-e})),B(r.keys,(function(t){n.push(r.buckets.get(t))})),n}(t,a);(function(t,e,n,i,r,o){var a=1/0;B(t,(function(t){var e=t.length,s=0;B(t,(function(t){s+=t.getLayout().value}));var l="vertical"===o?(i-(e-1)*r)/s:(n-(e-1)*r)/s;l<a&&(a=l)})),B(t,(function(t){B(t,(function(t,e){var n=t.getLayout().value*a;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),B(e,(function(t){var e=+t.getValue()*a;t.setLayout({dy:e},!0)}))})(s,e,n,i,r,a),iL(s,r,n,i,a);for(var l=1;o>0;o--)rL(s,l*=.99,a),iL(s,r,n,i,a),pL(s,l,a),iL(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";B(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),B(t,(function(t){var e=0,n=0;B(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),B(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==j(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function nL(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function iL(t,e,n,i,r){var o="vertical"===r?"x":"y";B(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,c=t.length,h="vertical"===r?"dx":"dy",p=0;p<c;p++)(l=u-(s=t[p]).getLayout()[o])>0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[h]+e;if((l=u-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(p=c-2;p>=0;--p)(l=(s=t[p]).getLayout()[o]+s.getLayout()[h]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function rL(t,e,n){B(t.slice().reverse(),(function(t){B(t,(function(t){if(t.outEdges.length){var i=hL(t.outEdges,oL,n)/hL(t.outEdges,cL);if(isNaN(i)){var r=t.outEdges.length;i=r?hL(t.outEdges,aL,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-uL(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-uL(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function oL(t,e){return uL(t.node2,e)*t.getValue()}function aL(t,e){return uL(t.node2,e)}function sL(t,e){return uL(t.node1,e)*t.getValue()}function lL(t,e){return uL(t.node1,e)}function uL(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function cL(t){return t.getValue()}function hL(t,e,n){for(var i=0,r=t.length,o=-1;++o<r;){var a=+e(t[o],n);isNaN(a)||(i+=a)}return i}function pL(t,e,n){B(t,(function(t){B(t,(function(t){if(t.inEdges.length){var i=hL(t.inEdges,sL,n)/hL(t.inEdges,cL);if(isNaN(i)){var r=t.inEdges.length;i=r?hL(t.inEdges,lL,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-uL(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-uL(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function fL(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),n=e.nodes,i=e.edges;if(n.length){var r=1/0,o=-1/0;B(n,(function(t){var e=t.getLayout().value;e<r&&(r=e),e>o&&(o=e)})),B(n,(function(e){var n=new yD({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&B(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var dL=function(){function t(){}return t.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&null!=e.get(t)},t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!this._hasEncodeRule("x")):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,c=this._baseAxisDim=l[u],h=l[1-u],p=[r,o],f=p[u].get("type"),d=p[1-u].get("type"),g=t.data;if(g&&i){var m=[];B(g,(function(t,e){var n;Z(t)?(n=t.slice(),t.unshift(e)):Z(t.value)?((n=E({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,m.push(n)})),t.data=m}var v=this.defaultValueDimensions,y=[{name:c,type:Bb(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:Bb(d),dimsDef:v.slice()}];return sT(this,{coordDimensions:y,dimensionsCount:v.length+1,encodeDefaulter:H(Mh,y,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),gL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return o(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(sd);N(gL,dL,!0);var mL=gL,vL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=xL(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Tu(n),bL(s,n,i,t)):n=xL(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(_m),yL=function(){},_L=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return o(e,t),e.prototype.getDefaultShape=function(){return new yL},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),i++,t.lineTo(n[i][0],n[i][1])},e}(Rs);function xL(t,e,n,i,r){var o=t.ends,a=new _L({shape:{points:r?wL(o,i,t):o}});return bL(t,a,e,n,r),a}function bL(t,e,n,r,o){var a=n.hostModel;(0,i[o?"initProps":"updateProps"])(e,{shape:{points:t.ends}},a,r),e.useStyle(n.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.z2=100;var s=n.getItemModel(r),l=s.getModel("emphasis");cu(e,s),au(e,l.get("focus"),l.get("blurScope"),l.get("disabled"))}function wL(t,e,n){return z(t,(function(t){return(t=t.slice())[e]=n.initBaseline,t}))}var SL=vL,TL=B;function ML(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var i=t.getBaseAxis(),r=R(n,i);r<0&&(r=n.length,n[r]=i,e[r]={axis:i,seriesModels:[]}),e[r].seriesModels.push(t)})),e}(t);TL(e,(function(t){var e=t.seriesModels;e.length&&(!function(t){var e,n=t.axis,i=t.seriesModels,r=i.length,o=t.boxWidthList=[],a=t.boxOffsetList=[],s=[];if("category"===n.type)e=n.getBandWidth();else{var l=0;TL(i,(function(t){l=Math.max(l,t.getData().count())}));var u=n.getExtent();e=Math.abs(u[1]-u[0])/l}TL(i,(function(t){var n=t.get("boxWidth");Z(n)||(n=[n,n]),s.push([eo(n[0],e)||0,eo(n[1],e)||0])}));var c=.8*e-2,h=c/r*.3,p=(c-h*(r-1))/r,f=p/2-c/2;TL(i,(function(t,e){a.push(f),f+=h+p,o.push(Math.min(Math.max(p,s[e][0]),s[e][1]))}))}(t),TL(e,(function(e,n){!function(t,e,n){var i=t.coordinateSystem,r=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),c=r.mapDimensionsAll(l[s]);if(null==u||c.length<5)return;for(var h=0;h<r.count();h++){var p=r.get(u,h),f=_(p,c[2],h),d=_(p,c[0],h),g=_(p,c[1],h),m=_(p,c[3],h),v=_(p,c[4],h),y=[];x(y,g,!1),x(y,m,!0),y.push(d,g,v,m),b(y,d),b(y,v),b(y,f),r.setItemLayout(h,{initBaseline:f[s],ends:y})}function _(t,n,o){var l,u=r.get(n,o),c=[];return c[a]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c))[a]+=e,l}function x(t,e,n){var i=e.slice(),r=e.slice();i[a]+=o,r[a]-=o,n?t.push(i,r):t.push(r,i)}function b(t,e){var n=e.slice(),i=e.slice();n[a]-=o,i[a]+=o,t.push(n,i)}}(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}var CL={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==mh){0,Qp("")}var n=function(t,e){for(var n=[],i=[],r=(e=e||{}).boundIQR,o="none"===r||0===r,a=0;a<t.length;a++){var s=io(t[a].slice()),l=mo(s,.25),u=mo(s,.5),c=mo(s,.75),h=s[0],p=s[s.length-1],f=(null==r?1.5:r)*(c-l),d=o?h:Math.max(h,l-f),g=o?p:Math.min(p,c+f),m=e.itemNameFormatter,v=$(m)?m({value:a}):U(m)?m.replace("{value}",a+""):a+"";n.push([v,d,l,u,c,g]);for(var y=0;y<s.length;y++){var _=s[y];if(_<d||_>g){var x=[v,_];i.push(x)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var AL=["itemStyle","borderColor"],IL=["itemStyle","borderColor0"],kL=["itemStyle","borderColorDoji"],DL=["itemStyle","color"],PL=["itemStyle","color0"];function OL(t,e){return e.get(t>0?DL:PL)}function EL(t,e){return e.get(0===t?kL:t>0?AL:IL)}var LL={seriesType:"candlestick",plan:cd(),performRawSeries:!0,reset:function(t,e){if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var n;null!=(n=t.next());){var i=e.getItemModel(n),r=e.getItemLayout(n).sign,o=i.getItemStyle();
vendor: 5,670 bytes, line 1
1o.fill=OL(r,i),o.stroke=EL(r,i)||o.fill,E(e.ensureUniqueItemVisual(n,"style"),o)}}}}},RL=["color","borderColor"],NL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){cm(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&VL(s,a))return;var l=zL(a,n,!0);_u(l,{shape:{points:a.ends}},t,n),jL(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var c=e.getItemLayout(a);o&&VL(s,c)?i.remove(u):(u?(yu(u,{shape:{points:c.ends}},t,a),Tu(u)):u=zL(c,a),jL(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),ZL(t,this.group);var e=t.get("clip",!0)?Ww(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=zL(i.getItemLayout(n),n);jL(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){ZL(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(_m),FL=function(){},BL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return o(e,t),e.prototype.getDefaultShape=function(){return new FL},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Rs);function zL(t,e,n){var i=t.ends;return new BL({shape:{points:n?GL(i,t):i},z2:100})}function VL(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function jL(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=i,cu(t,r);var o=e.getItemLayout(n).sign;B(t.states,(function(t,e){var n=r.getModel(e),i=OL(o,n),a=EL(o,n)||i,s=t.style||(t.style={});i&&(s.fill=i),a&&(s.stroke=a)}));var a=r.getModel("emphasis");au(t,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function GL(t,e){return z(t,(function(t){return(t=t.slice())[1]=e.initBaseline,t}))}var WL=function(){},HL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return o(e,t),e.prototype.getDefaultShape=function(){return new WL},e.prototype.buildPath=function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];t.moveTo(r,n[i++]),t.lineTo(r,n[i++])}else i+=3},e}(Rs);function ZL(t,e,n,i){var r=t.getData(),o=r.getLayout("largePoints"),a=new HL({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});e.add(a);var s=new HL({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});e.add(s);var l=new HL({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});e.add(l),$L(1,a,t,r),$L(-1,s,t,r),$L(0,l,t,r),i&&(a.incremental=!0,s.incremental=!0),n&&n.push(a,s)}function $L(t,e,n,i){var r=EL(t,n)||OL(t,n),o=n.getModel("itemStyle").getItemStyle(RL);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var UL=NL,XL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return o(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(sd);N(XL,dL,!0);var qL=XL;function YL(t){t&&Z(t.series)&&B(t.series,(function(t){Y(t)&&"k"===t.type&&(t.type="candlestick")}))}var KL={seriesType:"candlestick",plan:cd(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=eo(it(t.get("barMaxWidth"),r),r),a=eo(it(t.get("barMinWidth"),
vendor: 42,878 bytes, line 1
11),r),s=t.get("barWidth");return null!=s?eo(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),a=z(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],c=a[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(n,i){var r,a,h=Ow(4*n.count),p=0,f=[],d=[],g=i.getStore(),m=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var v=g.get(o,a),y=g.get(s,a),_=g.get(l,a),x=g.get(u,a),b=g.get(c,a);isNaN(v)||isNaN(x)||isNaN(b)?(h[p++]=NaN,p+=3):(h[p++]=JL(g,a,y,_,l,m),f[0]=v,f[1]=x,r=e.dataToPoint(f,null,d),h[p++]=r?r[0]:NaN,h[p++]=r?r[1]:NaN,f[1]=b,r=e.dataToPoint(f,null,d),h[p++]=r?r[1]:NaN)}i.setLayout("largePoints",h)}:function(t,n){var r,a=n.getStore();for(;null!=(r=t.next());){var h=a.get(o,r),p=a.get(s,r),f=a.get(l,r),d=a.get(u,r),g=a.get(c,r),m=Math.min(p,f),v=Math.max(p,f),y=T(m,h),_=T(v,h),x=T(d,h),b=T(g,h),w=[];M(w,_,0),M(w,y,1),w.push(A(b),A(_),A(x),A(y));var S=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:JL(a,r,p,f,l,S),initBaseline:p>f?_[1]:y[1],ends:w,brushRect:C(d,g,h)})}function T(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function M(t,e,n){var r=e.slice(),o=e.slice();r[0]=Yg(r[0]+i/2,1,!1),o[0]=Yg(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function C(t,e,n){var r=T(t,n),o=T(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function A(t){return t[0]=Yg(t[0],1),t}}}}};function JL(t,e,n,i,r,o){return n>i?-1:n<i?1:o?0:e>0?t.get(r,e-1)<=i?1:-1:1}var QL=KL;function tR(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var eR=function(t){function e(e,n){var i=t.call(this)||this,r=new ww(e,n),o=new $r;return i.add(r),i.add(o),i.updateData(e,n),i}return o(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o<i;o++){var a=kv(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/i*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),r.add(a)}tR(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],r=0;r<i.length;r++){var o=i[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}tR(n,t)},e.prototype.highlight=function(){$l(this)},e.prototype.downplay=function(){Ul(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,i=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),s=Dv(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill,c=o.getModel("emphasis");r.setScale(s),r.traverse((function(t){t.setStyle("fill",u)}));var h=Pv(t.getItemVisual(e,"symbolOffset"),s);h&&(r.x=h[0],r.y=h[1]);var p=t.getItemVisual(e,"symbolRotate");r.rotation=(p||0)*Math.PI/180||0;var f={};f.showEffectOn=i.get("showEffectOn"),f.rippleScale=o.get(["rippleEffect","scale"]),f.brushType=o.get(["rippleEffect","brushType"]),f.period=1e3*o.get(["rippleEffect","period"]),f.effectOffset=e/t.count(),f.z=i.getShallow("z")||0,f.zlevel=i.getShallow("zlevel")||0,f.symbolType=a,f.color=u,f.rippleEffectColor=o.get(["rippleEffect","color"]),f.rippleNumber=o.get(["rippleEffect","number"]),"render"===f.showEffectOn?(this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==f.showEffectOn&&n.startEffectAnimation(f):"normal"===t&&"render"!==f.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=f,au(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}($r),nR=eR,iR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){this._symbolDraw=new Aw(nR)},e.prototype.render=function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var i=t.getData();this.group.dirty();var r=iS("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e,n,i=t.coordinateSystem;i&&i.getRoamTransform&&(this.group.transform=(e=i.getRoamTransform(),ve(n=[1,0,0,1,0,0],e),n),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(_m),rR=iR,oR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){return gw(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(sd),aR=oR;var sR=function(t){function e(e,n,i){var r=t.call(this)||this;return r.add(r.createLine(e,n,i)),r._updateEffectSymbol(e,n),r}return o(e,t),e.prototype.createLine=function(t,e,n){return new SP(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),r=n.get("symbol");Z(i)||(i=[i,i]);var o=t.getItemVisual(e,"style"),a=n.get("color")||o&&o.stroke,s=this.childAt(1);this._symbolType!==r&&(this.remove(s),(s=kv(r,-.5,-.5,1,1,a)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",a),s.setStyle(n.getItemStyle(["color"])),s.scaleX=i[0],s.scaleY=i[1],s.setColor(a),this._symbolType=r,this._symbolScale=i,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=t.getItemLayout(n),o=1e3*e.get("period"),a=e.get("loop"),s=e.get("roundTrip"),l=e.get("constantSpeed"),u=nt(e.get("delay"),(function(e){return e/t.count()*o/3}));if(i.ignore=!0,this._updateAnimationPoints(i,r),l>0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var c=void 0;c=$(u)?u(n):u,i.__t>0&&(c=-o*i.__t),this._animateSymbol(i,o,c,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return Nt(t.__p1,t.__cp1)+Nt(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=kn,l=Dn;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),c=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*Nt(a,o),1===r&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===t.__lastT?t.scaleY=2*Nt(e,o):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=o[0],t.y=o[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}($r),lR=sR,uR=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createPolyline(e,n,i),r}return o(e,t),e.prototype._createPolyline=function(t,e,n){var i=t.getItemLayout(e),r=new lg({shape:{points:i}});this.add(r),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel;yu(this.childAt(0),{shape:{points:t.getItemLayout(e)}},i,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var i=this.childAt(0),r=t.getItemModel(e),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||t.hasItemOption){var u=r.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}i.useStyle(t.getItemVisual(e,"style")),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,au(this,a,s,l)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}($r),cR=uR,hR=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return o(e,t),e.prototype.createLine=function(t,e,n){return new cR(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r<e.length;r++){var o=e[r-1],a=e[r];i+=Nt(o,a),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t<1?t.__t:2-t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o,a=this._lastFrame;if(e<this._lastFramePercent){for(o=Math.min(a+1,r-1);o>=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;o<r&&!(i[o]>e);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var c=t.__t<1?u[0]-l[0]:l[0]-u[0],h=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(h,c)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(lR),pR=hR,fR=function(){this.polyline=!1,this.curveness=0,this.segs=[]},dR=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return o(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new fR},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n<i.length;){var o=i[n++];if(o>0){t.moveTo(i[n++],i[n++]);for(var a=1;a<o;a++)t.lineTo(i[n++],i[n++])}}else for(n=this._off;n<i.length;){var s=i[n++],l=i[n++],u=i[n++],c=i[n++];if(t.moveTo(s,l),r>0){var h=(s+u)/2-(l-c)*r,p=(l+c)/2-(u-s)*r;t.quadraticCurveTo(h,p,u,c)}else t.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<i.length;){var l=i[s++];if(l>0)for(var u=i[s++],c=i[s++],h=1;h<l;h++){if(ds(u,c,p=i[s++],f=i[s++],o,t,e))return a}a++}else for(a=0,s=0;s<i.length;){u=i[s++],c=i[s++];var p=i[s++],f=i[s++];if(r>0){if(ms(u,c,(u+p)/2-(c-f)*r,(c+f)/2-(p-u)*r,p,f,o,t,e))return a}else if(ds(u,c,p,f,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;){var s=e[a++],l=e[a++];n=Math.min(s,n),r=Math.max(s,r),i=Math.min(l,i),o=Math.max(l,o)}t=this._rect=new Le(n,i,r,o)}return t},e}(Rs),gR=function(){function t(){this.group=new $r}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],i=e.getLayout("linesPoints"),r=n&&n.shape.segs;if(r&&r.length<2e4){var o=r.length,a=new Float32Array(o+i.length);a.set(r),a.set(i,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:i}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new dR({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null);var o=fl(t);o.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){o.dataIndex=null;var n=t.hoverDataIdx;n>0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),mR={seriesType:"lines",plan:cd(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,c=r.start;c<r.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,p=[];for(c=r.start;c<r.end;c++){var f=t.getLineCoords(c,a);n&&(s[h++]=f);for(var d=0;d<f;d++)p=e.dataToPoint(a[d],!1,p),s[h++]=p[0],s[h++]=p[1]}o.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var g=o.getItemModel(c),m=(f=t.getLineCoords(c,a),[]);if(n)for(var v=0;v<f;v++)m.push(e.dataToPoint(a[v]));else{m[0]=e.dataToPoint(a[0]),m[1]=e.dataToPoint(a[1]);var y=g.get(["lineStyle","curveness"]);+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}o.setItemLayout(c,m)}}}}}},vR=mR,yR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&Ww(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=vR.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new gR:new AP(r?i?pR:cR:i?lR:SP),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(_m),_R=yR,xR="undefined"==typeof Uint32Array?Array:Uint32Array,bR="undefined"==typeof Float64Array?Array:Float64Array;function wR(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=z(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),O([e,t[0],t[1]])})))}var SR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return o(e,t),e.prototype.init=function(e){e.data=e.data||[],wR(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(wR(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=mt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=mt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}var o=this._getCoordsFromItemModel(t);for(r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),q(t[0])){for(var n=t.length,i=new xR(n),r=new bR(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=t[l++];i[a++]=o+e,i[a++]=u;for(var c=0;c<u;c++){var h=t[l++],p=t[l++];r[o++]=h,r[o++]=p}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new aw(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),n},e.prototype.formatTooltip=function(t,e,n){var i=this.getData().getItemModel(t),r=i.get("name");if(r)return r;var o=i.get("fromName"),a=i.get("toName"),s=[];return null!=o&&s.push(o),null!=a&&s.push(a),Ff("nameValue",{name:s.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(sd),TR=SR;function MR(t){return t instanceof Array||(t=[t,t]),t}var CR={seriesType:"lines",reset:function(t){var e=MR(t.get("symbol")),n=MR(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=MR(n.getShallow("symbol",!0)),r=MR(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var AR=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=g.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),p=t.length;c.width=e,c.height=n;for(var f=0;f<p;++f){var d=t[f],g=d[0],m=d[1],v=i(d[2]);h.globalAlpha=v,h.drawImage(a,g-u,m-u)}if(!c.width||!c.height)return c;for(var y=h.getImageData(0,0,c.width,c.height),_=y.data,x=0,b=_.length,w=this.minOpacity,S=this.maxOpacity-w;x<b;){v=_[x+3]/256;var T=4*Math.floor(255*v);if(v>0){var M=o(v)?s:l;v>0&&(v=v*S+w),_[x++]=M[T],_[x++]=M[T+1],_[x++]=M[T+2],_[x++]=M[T+3]*v*256}else x+=4}return h.putImageData(y,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=g.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}(),IR=AR;function kR(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var DR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):kR(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(kR(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){cm(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,c=Hw(u,"cartesian2d");if(c){var h=u.getAxis("x"),p=u.getAxis("y");0,o=h.getBandWidth()+.5,a=p.getBandWidth()+.5,s=h.scale.getExtent(),l=p.scale.getExtent()}for(var f=this.group,d=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),m=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),y=t.get(["itemStyle","borderRadius"]),_=ku(t),x=t.getModel("emphasis"),b=x.get("focus"),w=x.get("blurScope"),S=x.get("disabled"),T=c?[d.mapDimension("x"),d.mapDimension("y"),d.mapDimension("value")]:[d.mapDimension("time"),d.mapDimension("value")],M=n;M<i;M++){var C=void 0,A=d.getItemVisual(M,"style");if(c){var I=d.get(T[0],M),k=d.get(T[1],M);if(isNaN(d.get(T[2],M))||isNaN(I)||isNaN(k)||I<s[0]||I>s[1]||k<l[0]||k>l[1])continue;var D=u.dataToPoint([I,k]);C=new Ys({shape:{x:D[0]-o/2,y:D[1]-a/2,width:o,height:a},style:A})}else{if(isNaN(d.get(T[1],M)))continue;C=new Ys({z2:1,shape:u.dataToRect([d.get(T[0],M)]).contentShape,style:A})}if(d.hasItemOption){var P=d.getItemModel(M),O=P.getModel("emphasis");g=O.getModel("itemStyle").getItemStyle(),m=P.getModel(["blur","itemStyle"]).getItemStyle(),v=P.getModel(["select","itemStyle"]).getItemStyle(),y=P.get(["itemStyle","borderRadius"]),b=O.get("focus"),w=O.get("blurScope"),S=O.get("disabled"),_=ku(P)}C.shape.r=y;var E=t.getRawValue(M),L="-";E&&null!=E[2]&&(L=E[2]+""),Iu(C,_,{labelFetcher:t,labelDataIndex:M,defaultOpacity:A.opacity,defaultText:L}),C.ensureState("emphasis").style=g,C.ensureState("blur").style=m,C.ensureState("select").style=v,au(C,b,w,S),C.incremental=r,r&&(C.states.emphasis.hoverLayer=!0),f.add(C),d.setItemGraphicEl(M,C),this._progressiveEls&&this._progressiveEls.push(C)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new IR;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),h=Math.max(l.y,0),p=Math.min(l.width+l.x,i.getWidth()),f=Math.min(l.height+l.y,i.getHeight()),d=p-c,g=f-h,m=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(m,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=c,r[1]-=h,r.push(i),r})),y=n.getExtent(),_="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(y,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=z(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i<r;i++)if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}if(i===r)for(i=o-1;i>=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i<r&&n[i]}}(y,n.getPieceList(),n.option.selected);s.update(v,d,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},_);var x=new Gs({style:{width:d,height:g,x:c,y:h,image:s.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(_m),PR=DR,OR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(t,e){return gw(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=qh.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(sd),ER=OR;var LR=["itemStyle","borderWidth"],RR=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],NR=new Ed,FR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:RR[+s],categoryDim:RR[1-+s]};r.diff(o).add((function(t){if(r.hasValue(t)){var e=ZR(r,t),n=BR(r,t,e,u),o=XR(r,u,n);r.setItemGraphicEl(t,o),i.add(o),QR(o,u,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=ZR(r,t),s=BR(r,t,a,u),l=YR(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var i=n.animationModel,r=n.dataIndex,o=t.__pictorialBundle;yu(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?jR(t,e,n,!0):GR(t,e,n,!0);WR(t,n,!0),HR(t,e,n,!0)}(n,u,s):n=XR(r,u,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),QR(n,u,s)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&qR(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute();var c=t.get("clip",!0)?Ww(t.coordinateSystem,!1,t):null;return c?i.setClipPath(c):i.removeClipPath(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl((function(e){qR(i,fl(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(_m);function BR(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),h={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:c?n:null,hoverScale:c&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,r){var o,a=i.valueDim,s=t.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),c=1-+(n[a.wh]<=0);if(Z(s)){var h=[zR(l,s[0])-u,zR(l,s[1])-u];h[1]<h[0]&&h.reverse(),o=h[c]}else o=null!=s?zR(l,s)-u:e?i.coordSysExtent[a.index][c]-u:n[a.wh];r.boundingLength=o,e&&(r.repeatCutLength=n[a.wh]);var p="x"===a.xy,f=l.inverse;r.pxSign=p&&!f||!p&&f?o>=0?1:-1:o>0?1:-1}(n,o,r,i,h),function(t,e,n,i,r,o,a,s,l,u){var c,h=l.valueDim,p=l.categoryDim,f=Math.abs(n[p.wh]),d=t.getItemVisual(e,"symbolSize");c=Z(d)?d.slice():null==d?["100%","100%"]:[d,d];c[p.index]=eo(c[p.index],f),c[h.index]=eo(c[h.index],i?f:Math.abs(o)),u.symbolSize=c;var g=u.symbolScale=[c[0]/s,c[1]/s];g[h.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,h.boundingLength,h.pxSign,u,i,h),function(t,e,n,i,r){var o=t.get(LR)||0;o&&(NR.attr({scaleX:e[0],scaleY:e[1],rotation:n}),NR.updateTransform(),o/=NR.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,h.symbolScale,l,i,h);var p=h.symbolSize,f=Pv(n.get("symbolOffset"),p);return function(t,e,n,i,r,o,a,s,l,u,c,h){var p=c.categoryDim,f=c.valueDim,d=h.pxSign,g=Math.max(e[f.index]+s,0),m=g;if(i){var v=Math.abs(l),y=nt(t.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var x=eo(y,e[f.index]),b=Math.max(g+2*x,0),w=_?0:2*x,S=_o(i),T=S?i:tN((v+w)/b);b=g+2*(x=(v-T*g)/2/(_?T:Math.max(T-1,1))),w=_?0:2*x,S||"fixed"===i||(T=u?tN((Math.abs(u)+w)/b):0),m=T*b-w,h.repeatTimes=T,h.symbolMargin=x}var M=d*(m/2),C=h.pathPosition=[];C[p.index]=n[p.wh]/2,C[f.index]="start"===a?M:"end"===a?l-M:l/2,o&&(C[0]+=o[0],C[1]+=o[1]);var A=h.bundlePosition=[];A[p.index]=n[p.xy],A[f.index]=n[f.xy];var I=h.barRectShape=E({},n);I[f.wh]=d*Math.max(Math.abs(n[f.wh]),Math.abs(C[f.index]+M)),I[p.wh]=n[p.wh];var k=h.clipShape={};k[p.xy]=-n[p.xy],k[p.wh]=c.ecSize[p.wh],k[f.xy]=0,k[f.wh]=n[f.wh]}(n,p,r,o,0,f,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,i,h),h}function zR(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function VR(t){var e=t.symbolPatternSize,n=kv(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function jR(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,h=o[e.valueDim.index]+a+2*n.symbolMargin;for(KR(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?JR(t,null,d(c),n,i):JR(t,null,{scaleX:0,scaleY:0},n,i,(function(){r.remove(t)})),c++}));c<u;c++){var p=VR(n);p.__pictorialAnimationIndex=c,p.__pictorialRepeatTimes=u,r.add(p);var f=d(c);JR(p,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},n,i)}function d(t){var e=s.slice(),i=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=u-1-t),e[l.index]=h*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function GR(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?JR(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=VR(n),r.add(o),JR(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function WR(t,e,n){var i=E({},e.barRectShape),r=t.__pictorialBarRect;r?JR(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new Ys({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function HR(t,e,n,r){if(n.symbolClip){var o=t.__pictorialClipPath,a=E({},n.clipShape),s=e.valueDim,l=n.animationModel,u=n.dataIndex;if(o)yu(o,{shape:a},l,u);else{a[s.wh]=0,o=new Ys({shape:a}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var c={};c[s.wh]=n.clipShape[s.wh],i[r?"updateProps":"initProps"](o,{shape:c},l,u)}}}function ZR(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=$R,n.isAnimationEnabled=UR,n}function $R(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function UR(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function XR(t,e,n,i){var r=new $r,o=new $r;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?jR(r,e,n):GR(r,0,n),WR(r,n,i),HR(r,e,n,i),r.__pictorialShapeStr=YR(t,n),r.__pictorialSymbolMeta=n,r}function qR(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];KR(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),B(o,(function(t){bu(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function YR(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function KR(t,e,n){B(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function JR(t,e,n,r,o,a){e&&t.attr(e),r.symbolClip&&!o?n&&t.attr(n):n&&i[o?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,a)}function QR(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),c=o.get("focus"),h=o.get("blurScope"),p=o.get("scale");KR(t,(function(t){if(t instanceof Gs){var e=t.style;t.useStyle(E({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var f=e.valueDim.posDesc[+(n.boundingLength>0)],d=t.__pictorialBarRect;d.ignoreClip=!0,Iu(d,ku(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:yw(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),au(t,c,h,o.get("disabled"))}function tN(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var eN=FR,nN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return o(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=ic(yS.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(yS),iN=nN;var rN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function c(t){return t.name}o.x=0,o.y=l.y+u[0];var h=new Rb(this._layersSeries||[],a,c,c),p=[];function f(e,n,s){var l=r._layers;if("remove"!==e){for(var u,c,h=[],f=[],d=a[n].indices,g=0;g<d.length;g++){var m=i.getItemLayout(d[g]),v=m.x,y=m.y0,_=m.y;h.push(v,y),f.push(v,y+_),u=i.getItemVisual(d[g],"style")}var x=i.getItemLayout(d[0]),b=t.getModel("label").get("margin"),w=t.getModel("emphasis");if("add"===e){var S=p[n]=new $r;c=new Vw({shape:{points:h,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(c),o.add(S),t.isAnimationEnabled()&&c.setClipPath(function(t,e,n){var i=new Ys({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return _u(i,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),i}(c.getBoundingRect(),t,(function(){c.removeClipPath()})))}else{S=l[s];c=S.childAt(0),o.add(S),p[n]=S,yu(c,{shape:{points:h,stackedOnPoints:f}},t),Tu(c)}Iu(c,ku(t),{labelDataIndex:d[g-1],defaultText:i.getName(d[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var T=c.getTextContent();T&&(T.x=x.x-b,T.y=x.y0+x.y/2),c.useStyle(u),i.setItemGraphicEl(n,c),cu(c,t),au(c,w.get("focus"),w.get("blurScope"),w.get("disabled"))}else o.remove(l[n])}h.add(W(f,this,"add")).update(W(f,this,"update")).remove(W(f,this,"remove")).execute(),this._layersSeries=a,this._layers=p},e.type="themeRiver",e}(_m);var oN=rN,aN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new uT(W(this.getData,this),W(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},i=$o(t,(function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]})),r=[];i.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var o=r.length,a=0;a<o;++a){for(var s=r[a].name,l=0;l<r[a].dataList.length;++l){var u=r[a].dataList[l][0]+"";n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,t[e]=[u,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",Go).models[0].get("type"),i=j(t.data,(function(t){return void 0!==t[2]})),r=this.fixData(i||[]),o=[],a=this.nameMap=gt(),s=0,l=0;l<r.length;++l)o.push(r[l][2]),a.get(r[l][2])||(a.set(r[l][2],s),s++);var u=sw(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:Bb(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,c=new aw(u,this);return c.initData(r),c},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;var r=t.mapDimension("single"),o=$o(n,(function(e){return t.get("name",e)})),a=[];return o.buckets.each((function(e,n){e.sort((function(e,n){return t.get(r,e)-t.get(r,n)})),a.push({name:n,indices:e})})),a},e.prototype.getAxisTooltipData=function(t,e,n){Z(t)||(t=t?[t]:[]);for(var i,r=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,c=-1,h=o[l].indices.length,p=0;p<h;++p){var f=r.get(t[0],o[l].indices[p]),d=Math.abs(f-e);d<=u&&(i=f,u=d,c=o[l].indices[p])}a.push(c)}return{dataIndices:a,nestestValue:i}},e.prototype.formatTooltip=function(t,e,n){var i=this.getData();return Ff("nameValue",{name:i.getName(t),value:i.get(i.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(sd),sN=aN;function lN(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect();i.rect=r;var o=t.get("boundaryGap"),a=n.getAxis();(i.boundaryGap=o,"horizontal"===a.orient)?(o[0]=eo(o[0],r.height),o[1]=eo(o[1],r.height),uN(e,t,r.height-o[0]-o[1])):(o[0]=eo(o[0],r.width),o[1]=eo(o[1],r.width),uN(e,t,r.width-o[0]-o[1]));e.setLayout("layoutInfo",i)}))}function uN(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,o=e.getLayerSeries(),a=t.mapDimension("single"),s=t.mapDimension("value"),l=z(o,(function(e){return z(e.indices,(function(e){var n=r.dataToPoint(t.get(a,e));return n[1]=t.get(s,e),n}))})),u=function(t){for(var e=t.length,n=t[0].length,i=[],r=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<e;++l)s+=t[l][a][1];s>o&&(o=s),i.push(s)}for(var u=0;u<n;++u)r[u]=(o-i[u])/2;o=0;for(var c=0;c<n;++c){var h=i[c]+r[c];h>o&&(o=h)}return{y0:r,max:o}}(l),c=u.y0,h=n/u.max,p=o.length,f=o[0].indices.length,d=0;d<f;++d){i=c[d]*h,t.setItemLayout(o[0].indices[d],{layerIndex:0,x:l[0][d][0],y0:i,y:l[0][d][1]*h});for(var g=1;g<p;++g)i+=l[g-1][d][1]*h,t.setItemLayout(o[g].indices[d],{layerIndex:g,x:l[g][d][0],y0:i,y:l[g][d][1]*h})}}var cN=function(t){function e(e,n,i,r){var o=t.call(this)||this;o.z2=2,o.textConfig={inside:!0},fl(o).seriesIndex=n.seriesIndex;var a=new pl({z2:4,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,n,i,r),o}return o(e,t),e.prototype.updateData=function(t,e,n,i,r){this.node=e,e.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var o=this;fl(o).dataIndex=e.dataIndex;var a=e.getModel(),s=a.getModel("emphasis"),l=e.getLayout(),u=E({},l);u.label=null;var c=e.getVisual("style");c.lineJoin="bevel";var h=e.getVisual("decal");h&&(c.decal=ay(h,r));var p=CS(a.getModel("itemStyle"),u,!0);E(u,p),B(wl,(function(t){var e=o.ensureState(t),n=a.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=CS(n,u);i&&(e.shape=i)})),t?(o.setShape(u),o.shape.r=l.r0,_u(o,{shape:{r:l.r}},n,e.dataIndex)):(yu(o,{shape:u},n),Tu(o)),o.useStyle(c),this._updateLabel(n);var f=a.getShallow("cursor");f&&o.attr("cursor",f),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var d=s.get("focus");au(this,"relative"===d?mt(e.getAncestorsIndices(),e.getDescendantIndices()):"ancestor"===d?e.getAncestorsIndices():"descendant"===d?e.getDescendantIndices():d,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),i=n.getModel("label"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,s=Math.cos(a),l=Math.sin(a),u=this,c=u.getTextContent(),h=this.node.dataIndex,p=i.get("minA
1ngle")/180*Math.PI,f=i.get("show")&&!(null!=p&&Math.abs(o)<p);function d(t,e){var n=t.get(e);return null==n?i.get(e):n}c.ignore=!f,B(Sl,(function(i){var p="normal"===i?n.getModel("label"):n.getModel([i,"label"]),f="normal"===i,g=f?c:c.ensureState(i),m=t.getFormattedLabel(h,i);f&&(m=m||e.node.name),g.style=Du(p,{},null,"normal"!==i,!0),m&&(g.style.text=m);var v=p.get("show");null==v||f||(g.ignore=!v);var y,_=d(p,"position"),x=f?u:u.states[i],b=x.style.fill;x.textConfig={outsideFill:"inherit"===p.get("color")?b:null,inside:"outside"!==_};var w=d(p,"distance")||0,S=d(p,"align"),T=d(p,"rotate"),M=.5*Math.PI,C=1.5*Math.PI,A=ys("tangential"===T?Math.PI/2-a:a),I=A>M&&!co(A-M)&&A<C;"outside"===_?(y=r.r+w,S=I?"right":"left"):S&&"center"!==S?"left"===S?(y=r.r0+w,S=I?"right":"left"):"right"===S&&(y=r.r-w,S=I?"left":"right"):(y=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=d(p,"verticalAlign")||"middle",g.x=y*s+r.cx,g.y=y*l+r.cy;var k=0;"radial"===T?k=ys(-a)+(I?Math.PI:0):"tangential"===T?k=ys(Math.PI/2-a)+(I?Math.PI:0):q(T)&&(k=T*Math.PI/180),g.rotation=ys(k)})),c.dirtyStyle()},e}(Jd),hN=cN,pN="sunburstRootToNode",fN="sunburstHighlight",dN="sunburstUnhighlight";var gN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),c=[];s.eachNode((function(t){c.push(t)}));var h=this._oldChildren||[];!function(i,r){if(0===i.length&&0===r.length)return;function s(t){return t.getId()}function c(s,c){!function(i,r){u||!i||i.getValue()||(i=null);if(i!==a&&r!==a)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),o.setItemGraphicEl(i.dataIndex,r.piece)):function(t){if(!t)return;t.piece&&(l.remove(t.piece),t.piece=null)}(r);else if(i){var s=new hN(i,t,e,n);l.add(s),o.setItemGraphicEl(i.dataIndex,s)}}(null==s?null:i[s],null==c?null:r[c])}new Rb(r,i,s,s).add(c).update(c).remove(H(c,null)).execute()}(c,h),function(i,o){o.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new hN(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=c},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)Yc(a,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:pN,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(_m),mN=gN,vN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};yN(n);var i=this._levelModels=z(t.levels||[],(function(t){return new tc(t,this,e)}),this),r=Mk.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=kk(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){Nk(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}}
vendor: 5,267 bytes, line 1
1,animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(sd);function yN(t){var e=0;B(t.children,(function(t){yN(t);var n=t.value;Z(n)&&(n=n[0]),e+=n}));var n=t.value;Z(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Z(t.value)?t.value[0]=n:t.value=n}var _N=vN,xN=Math.PI/180;function bN(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");Z(i)||(i=[0,i]),Z(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=eo(e[0],r),l=eo(e[1],o),u=eo(i[0],a/2),c=eo(i[1],a/2),h=-t.get("startAngle")*xN,p=t.get("minAngle")*xN,f=t.getData().tree.root,d=t.getViewRoot(),g=d.depth,m=t.get("sort");null!=m&&wN(d,m);var v=0;B(d.children,(function(t){!isNaN(t.getValue())&&v++}));var y=d.getValue(),_=Math.PI/(y||v)*2,x=d.depth>0,b=d.height-(x?-1:1),w=(c-u)/(b||1),S=t.get("clockwise"),T=t.get("stillShowZeroSum"),M=S?1:-1,C=function(e,n){if(e){var i=n;if(e!==f){var r=e.getValue(),o=0===y&&T?_:r*_;o<p&&(o=p),i=n+M*o;var c=e.depth-g-(x?-1:1),h=u+w*c,d=u+w*(c+1),m=t.getLevelModel(e);if(m){var v=m.get("r0",!0),b=m.get("r",!0),A=m.get("radius",!0);null!=A&&(v=A[0],b=A[1]),null!=v&&(h=eo(v,a/2)),null!=b&&(d=eo(b,a/2))}e.setLayout({angle:o,startAngle:n,endAngle:i,clockwise:S,cx:s,cy:l,r0:h,r:d})}if(e.children&&e.children.length){var I=0;B(e.children,(function(t){I+=C(t,n+I)}))}return i-n}};if(x){var A=u,I=u+w,k=2*Math.PI;f.setLayout({angle:k,startAngle:h,endAngle:h+k,clockwise:S,cx:s,cy:l,r0:A,r:I})}C(d,h)}))}function wN(t,e){var n=t.children||[];t.children=function(t,e){if($(e)){var n=z(t,(function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}}));return n.sort((function(t,n){return e(t.params,n.params)})),z(n,(function(e){return t[e.index]}))}var i="asc"===e;return t.sort((function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n}))}(n,e),n.length&&B(t.children,(function(t){wN(t,e)}))}function SN(t){var e={};t.eachSeriesByType("sunburst",(function(t){var n=t.getData(),i=n.tree;i.eachNode((function(r){var o=r.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=function(t,n,i){for(var r=t;r&&r.depth>1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&U(o)&&(o=ni(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),E(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var TN={color:"fill",borderColor:"stroke"},MN={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},CN=Bo(),AN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return gw(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=CN(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(sd),IN=AN;function kN(t,e){return e=e||[0,0],z(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function DN(t,e){return e=e||[0,0],z([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function PN(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function ON(t,e){return e=e||[0,0],z(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function EN(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||_t(t,"text")))}function LN(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},_t(a,"text")&&(o.text=a.text),_t(a,"rich")&&(o.rich=a.rich),_t(a,"textFill")&&(o.fill=a.textFill),_t(a,"textStroke")&&(o.stroke=a.textStroke),_t(a,"fontFamily")&&(o.fontFamily=a.fontFamily),_t(a,"fontSize")&&(o.fontSize=a.fontSize),_t(a,"fontStyle")&&(o.fontStyle=a.fontStyle),_t(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=_t(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),_t(a,"textPosition")&&(i.position=a.textPosition),_t(a,"textOffset")&&(i.offset=a.textOffset),_t(a,"textRotation")&&(i.rotation=a.textRotation),_t(a,"textDistance")&&(i.distance=a.textDistance)}return RN(o,t),B(o.rich,(function(t){RN(t,t)})),{textConfig:i,textContent:r}}function RN(t,e){e&&(e.font=e.textFont||e.font,_t(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),_t(e,"textAlign")&&(t.align=e.textAlign),_t(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),_t(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),_t(e,"textWidth")&&(t.width=e.textWidth),_t(e,"textHeight")&&(t.height=e.textHeight),_t(e,"textBackgroun
1dColor")&&(t.backgroundColor=e.textBackgroundColor),_t(e,"textPadding")&&(t.padding=e.textPadding),_t(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),_t(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),_t(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),_t(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),_t(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),_t(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),_t(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function NN(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";FN(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,B(e.rich,(function(t){FN(t,t)})),i}function FN(t,e){e&&(_t(e,"fill")&&(t.textFill=e.fill),_t(e,"stroke")&&(t.textStroke=e.fill),_t(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),_t(e,"font")&&(t.font=e.font),_t(e,"fontStyle")&&(t.fontStyle=e.fontStyle),_t(e,"fontWeight")&&(t.fontWeight=e.fontWeight),_t(e,"fontSize")&&(t.fontSize=e.fontSize),_t(e,"fontFamily")&&(t.fontFamily=e.fontFamily),_t(e,"align")&&(t.textAlign=e.align),_t(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),_t(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),_t(e,"width")&&(t.textWidth=e.width),_t(e,"height")&&(t.textHeight=e.height),_t(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),_t(e,"padding")&&(t.textPadding=e.padding),_t(e,"borderColor")&&(t.textBorderColor=e.borderColor),_t(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),_t(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),_t(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),_t(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),_t(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),_t(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),_t(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),_t(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),_t(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),_t(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var BN={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},zN=G(BN),VN=(V(wr,(function(t,e){return t[e]=1,t}),{}),wr.join(", "),["","style","shape","extra"]),jN=Bo();function GN(t,e,n,i,r){var o=t+"Animation",a=mu(t,i,r)||{},s=jN(e).userDuring;return a.duration>0&&(a.during=s?W(qN,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),E(a,n[o]),a}function WN(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=jN(t),u=e.style;l.userDuring=e.during;var c={},h={};if(function(t,e,n){for(var i=0;i<zN.length;i++){var r=zN[i],o=BN[r],a=e[r];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(i=0;i<wr.length;i++){var s=wr[i];null!=e[s]&&(n[s]=e[s])}}(0,e,h),KN("shape",e,h),KN("extra",e,h),!o&&s&&(function(t,e,n){for(var i=e.transition,r=$N(i)?wr:Co(i||[]),o=0;o<r.length;o++){var a=r[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=t[a];0,n[a]=s}}}(t,e,c),YN("shape",t,e,c),YN("extra",t,e,c),function(t,e,n,i){if(!n)return;var r,o=t.style;if(o){var a=n.transition,s=e.transition;if(a&&!$N(a)){var l=Co(a);!r&&(r=i.style={});for(var u=0;u<l.length;u++){var c=o[d=l[u]];r[d]=c}}else if(t.getAnimationStyleProps&&($N(s)||$N(a)||R(s,"style")>=0)){var h=t.getAnimationStyleProps(),p=h?h.style:null;if(p){!r&&(r=i.style={});var f=G(n);for(u=0;u<f.length;u++){var d;if(p[d=f[u]]){c=o[d];r[d]=c}}}}}}(t,e,u,c)),h.style=u,function(t,e,n){var i=e.style;if(!t.isGroup&&i){if(n){t.useStyle({});for(var r=t.animators,o=0;o<r.length;o++){var a=r[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(i)}e&&(e.style=null,e&&t.attr(e),e.style=i)}(t,h,a),function(t,e){_t(e,"silent")&&(t.silent=e.silent),_t(e,"ignore")&&(t.ignore=e.ignore),t instanceof Oa&&_t(e,"invisible")&&(t.invisible=e.invisible);t instanceof Rs&&_t(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}(t,e),s)if(o){var p={};B(VN,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(p[t]=p[t]||{}),E(t?p[t]:p,n.enterFrom))}));var f=GN("enter",t,e,n,r);f.duration>0&&t.animateFrom(p,f)}else!function(t,e,n,i,r){if(r){var o=GN("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,c);HN(t,e),u?t.dirty():t.markRedraw()}function HN(t,e){for(var n=jN(t).leaveToProps,i=0;i<VN.length;i++){var r=VN[i],o=r?e[r]:e;o&&o.leaveTo&&(n||(n=jN(t).leaveToProps={}),r&&(n[r]=n[r]||{}),E(r?n[r]:n,o.leaveTo))}}function ZN(t,e,n,i){if(t){var r=t.parent,o=jN(t).leaveToProps;if(o){var a=GN("update",t,e,n,0);a.done=function(){r.remove(t),i&&i()},t.animateTo(o,a)}else r.remove(t),i&&i()}}function $N(t){return"all"===t}var UN={},XN={setTransform:function(t,e){return UN.el[t]=e,this},getTransform:function(t){return UN.el[t]},setShape:function(t,e){var n=UN.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=UN.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=UN.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=UN.el.style;if(e)return e[t]},setExtra:function(t,e){return(UN.el.extra||(UN.el.extra={}))[t]=e,this},getExtra:function(t){var e=UN.el.extra;if(e)return e[t]}};function qN(){var t=this,e=t.el;if(e){var n=jN(e).userDuring,i=t.userDuring;n===i?(UN.el=e,i(XN)):t.el=t.userDuring=null}}function YN(t,e,n,i){var r=n[t];if(r){var o,a=e[t];if(a){var s=n.transition,l=r.transition;if(l)if(!o&&(o=i[t]={}),$N(l))E(o,a);else for(var u=Co(l),c=0;c<u.length;c++){var h=a[f=u[c]];o[f]=h}else if($N(s)||R(s,t)>=0){!o&&(o=i[t]={});var p=G(a);for(c=0;c<p.length;c++){var f;h=a[f=p[c]];JN(r[f],h)&&(o[f]=h)}}}}}function KN(t,e,n){var i=e[t];if(i)for(var r=n[t]={},o=G(i),a=0;a<o.length;a++){var s=o[a];r[s]=Li(i[s])}}function JN(t,e){return F(t)?t!==e:null!=t&&isFinite(t)}
vendor: 21,130 bytes, line 1
1var QN=Bo(),tF=["percent","easing","shape","style","extra"];function eF(t){t.stopAnimation("keyframe"),t.attr(QN(t))}function nF(t,e,n){if(n.isAnimationEnabled()&&e)if(Z(e))B(e,(function(e){nF(t,e,n)}));else{var i=e.keyframes,r=e.duration;if(n&&null==r){var o=mu("enter",n,0);r=o&&o.duration}if(i&&r){var a=QN(t);B(VN,(function(n){if(!n||t[n]){var o;i.sort((function(t,e){return t.percent-e.percent})),B(i,(function(i){var s=t.animators,l=n?i[n]:i;if(l){var u=G(l);if(n||(u=j(u,(function(t){return R(tF,t)<0}))),u.length){o||((o=t.animate(n,e.loop,!0)).scope="keyframe");for(var c=0;c<s.length;c++)s[c]!==o&&s[c].targetName===o.targetName&&s[c].stopTracks(u);n&&(a[n]=a[n]||{});var h=n?a[n]:a;B(u,(function(e){h[e]=((n?t[n]:t)||{})[e]})),o.whenWithKeys(r*i.percent,l,u,i.easing)}}})),o&&o.delay(e.delay||0).duration(r).start(e.easing)}}))}}}var iF="emphasis",rF="normal",oF="blur",aF="select",sF=[rF,iF,oF,aF],lF={normal:["itemStyle"],emphasis:[iF,"itemStyle"],blur:[oF,"itemStyle"],select:[aF,"itemStyle"]},uF={normal:["label"],emphasis:[iF,"label"],blur:[oF,"label"],select:[aF,"label"]},cF=["x","y"],hF="e\0\0",pF={normal:{},emphasis:{},blur:{},select:{}},fF={cartesian2d:function(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:W(kN,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:W(DN,t)}}},single:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:W(PN,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),i=e.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:W(ON,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function dF(t){return t instanceof Rs}function gF(t){return t instanceof Oa}var mF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=wF(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){TF(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&ZN(n,CN(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);TF(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?Ww(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=wF(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=TF(null,null,u,a(u,r),e,this.group,o);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){cm(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,i){var r=e.element;if(null==r||n.name===r)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===r)return!0;return!1},e.type="custom",e}(_m),vF=mF;function yF(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,o=LF(i);e=Wg(o,null,r,i.layout||"center"),CN(e).customPathData=o}else if("image"===n)e=new Gs({}),CN(e).customImagePath=t.style.image;else if("text"===n)e=new pl({});else if("group"===n)e=new $r;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=Gg(n);if(!a){0,Qp("")}e=new a}return CN(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function _F(t,e,n,i,r,o,a){eF(e);var s=r&&r.normal.cfg;s&&e.setTextConfig(s),i&&null==i.transition&&(i.transition=cF);var l=i&&i.style;if(l){if("text"===e.type){var u=l;_t(u,"textFill")&&(u.fill=u.textFill),_t(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,h=dF(e)?l.decal:null;t&&h&&(h.dirty=!0,c=ay(h,t)),l.__decalPattern=c}gF(e)&&(l&&(c=l.__decalPattern)&&(l.decal=c));WN(e,i,o,{dataIndex:n,isInit:a,clearStyle:!0}),nF(e,i.keyframeAnimation,o)}function xF(t,e,n,i,r){var o=e.isGroup?null:e,a=r&&r[t].cfg;if(o){var s=o.ensureState(t);if(!1===i){var l=o.getState(t);l&&(l.style=null)}else s.style=i||null;a&&(s.textConfig=a),Wl(o)}}function bF(t,e,n){var i=n===rF,r=i?e:IF(e,n),o=r?r.z2:null;null!=o&&((i?t:t.ensureState(n)).z2=o||0)}function wF(t,e,n,i){var r=t.get("renderItem"),o=t.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):fF[o.type](o));for(var s,l,u=L({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:function(t,n){return null==n&&(n=s),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,i){0;null==i&&(i=s);var r=e.getItemVisual(i,"style"),o=r&&r.fill,a=r&&r.opacity,l=y(i,rF).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var u={inheritColor:U(o)?o:"#000"},c=_(i,rF),h=Du(c,null,u,!1,!0);h.text=c.getShallow("show")?it(t.getFormattedLabel(i,rF),yw(e,i)):null;var p=Pu(c,u,!1);return b(n,l),l=NN(l,h,p),n&&x(l,n),l.legacy=!0,l},ordinalRawValue:function(t,n){null==n&&(n=s),t=t||0;var i=e.getDimensionInfo(t);if(!i){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){0;null==i&&(i=s);var r=y(i,iF).getItemStyle(),o=_(i,iF),a=Du(o,null,null,!0,!0);a.text=o.getShallow("show")?rt(t.getFormattedLabel(i,iF),t.getFormattedLabel(i,rF),yw(e,i)):null;var l=Pu(o,null,!0);return b(n,r),r=NN(r,a,l),n&&x(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),_t(TN,t)){var i=e.getItemVisual(n,"style");return i?i[TN[t]]:null}if(_t(MN,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o<t.count;o++)e.push(L({bandWidth:r,axisKey:i,stackId:sS+o},t));var a=pS(e),s=[];for(o=0;o<t.count;o++){var l=a[i][sS+o];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}(L({axis:o.getBaseAxis()},t))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return Nu(t,n)}},a.api||{}),c={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:a.coordSys,dataInsideLength:e.count(),encode:SF(t.getData())},h={},p={},f={},d={},g=0;g<sF.length;g++){var m=sF[g];f[m]=t.getModel(lF[m]),d[m]=t.getModel(uF[m])}function v(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function y(t,n){return e.hasItemOption?t===s?h[n]||(h[n]=v(t).getModel(lF[n])):v(t).getModel(lF[n]):f[n]}function _(t,n){return e.hasItemOption?t===s?p[n]||(p[n]=v(t).getModel(uF[n])):v(t).getModel(uF[n]):d[n]}return function(t,n){return s=t,l=null,h={},p={},r&&r(L({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},c),u)};function x(t,e){for(var n in e)_t(e,n)&&(t[n]=e[n])}function b(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function SF(t){var e={};return B(t.dimensions,(function(n){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim;(e[r]=e[r]||[])[i.coordDimIndex]=t.getDimensionIndex(n)}})),e}function TF(t,e,n,i,r,o,a){if(i){var s=MF(t,e,n,i,r,o);return s&&a.setItemGraphicEl(n,s),s&&au(s,i.focus,i.blurScope,i.emphasisDisabled),s}o.remove(e)}function MF(t,e,n,i,r,o){var a=-1,s=e;e&&CF(e,i,r)&&(a=R(o.childrenRef(),e),e=null);var l,u,c=!e,h=e;h?h.clearStates():(h=yF(i),s&&(l=s,(u=h).copyTransform(l),gF(u)&&gF(l)&&(u.setStyle(l.style),u.z=l.z,u.z2=l.z2,u.zlevel=l.zlevel,u.invisible=l.invisible,u.ignore=l.ignore,dF(u)&&dF(l)&&u.setShape(l.shape)))),!1===i.morph?h.disableMorphing=!0:h.disableMorphing&&(h.disableMorphing=!1),pF.normal.cfg=pF.normal.conOpt=pF.emphasis.cfg=pF.emphasis.conOpt=pF.blur.cfg=pF.blur.conOpt=pF.select.cfg=pF.select.conOpt=null,pF.isLegacy=!1,function(t,e,n,i,r,o){if(t.isGroup)return;AF(n,null,o),AF(n,iF,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=t.getTextContent();if(!1===a)c&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=yF(a),t.setTextContent(c)),_F(null,c,e,a,null,i,r);for(var h=a&&a.style,p=0;p<sF.length;p++){var f=sF[p];if(f!==rF){var d=o[f].conOpt;xF(f,c,0,kF(a,d,f),null)}}h?c.dirty():c.markRedraw()}}}(h,n,i,r,c,pF),function(t,e,n,i,r){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&CF(a,o,i)&&(a=null),a||(a=yF(o),t.setClipPath(a)),_F(null,a,e,o,null,i,r)}}(h,n,i,r,c),_F(t,h,n,i,pF,r,c),_t(i,"info")&&(CN(h).info=i.info);for(var p=0;p<sF.length;p++){var f=sF[p];if(f!==rF){var d=IF(i,f);xF(f,h,0,kF(i,d,f),pF)}}return function(t,e,n){if(!t.isGroup){var i=t,r=n.currentZ,o=n.currentZLevel;i.z=r,i.zlevel=o;var a=e.z2;null!=a&&(i.z2=a||0);for(var s=0;s<sF.length;s++)bF(i,e,sF[s])}}(h,i,r),"group"===i.type&&function(t,e,n,i,r){var o=i.children,a=o?o.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,u=!1===s;if(!a&&!l&&!u)return;if(l)return c={api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:r,group:e},void new Rb(c.oldChildren,c.newChildren,PF,PF,c).add(OF).update(OF).remove(EF).execute();var c;u&&e.removeAll();for(var h=0;h<a;h++){var p=o[h],f=e.childAt(h);p?(null==p.ignore&&(p.ignore=!1),MF(t,f,n,p,r,e)):f.ignore=!0}for(var d=e.childCount()-1;d>=h;d--){var g=e.childAt(d);DF(e,g,r)}}(t,h,n,i,r),a>=0?o.replaceAt(h,a):o.add(h),h}function CF(t,e,n){var i,r=CN(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(_t(i,"pathData")||_t(i,"d")))&&LF(a)!==r.customPathData||"image"===o&&_t(s,"image")&&s.image!==r.customImagePath}function AF(t,e,n){var i=e?IF(t,e):t,r=e?kF(t,i,iF):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?IF(s,e):s:null;if(r&&(n.isLegacy||EN(r,o,!!a,!!l))){n.isLegacy=!0;var u=LN(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var c=l;!c.type&&(c.type="text")}var h=e?n[e]:n.normal;h.cfg=a,h.conOpt=l}function IF(t,e){return e?t?t[e]:null:t}function kF(t,e,n){var i=e&&e.style;return null==i&&n===iF&&t&&(i=t.styleEmphasis),i}function DF(t,e,n){e&&ZN(e,CN(t).option,n)}function PF(t,e){var n=t&&t.name;return null!=n?n:hF+e}function OF(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;MF(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function EF(t){var e=this.context,n=e.oldChildren[t];n&&ZN(n,CN(n).option,e.seriesModel)}function LF(t){return t&&(t.pathData||t.d)}var RF=Bo(),NF=D,FF=W,BF=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(t,e);if(a){var h=H(zF,e,c);this.updatePointerEl(a,l,h),this.updateLabelEl(a,l,h,e)}else a=this._group=new $r,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);WF(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=vC(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,r){var o=e.pointer;if(o){var a=RF(t).pointerEl=new i[o.type](NF(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=RF(t).labelEl=new pl(NF(e.label));t.add(r),jF(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=RF(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=RF(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),jF(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=rm(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){he(t.event)},onmousedown:FF(this._onHandleDragMove,this,0,0),drift:FF(this._onHandleDragMove,this),ondragend:FF(this._onHandleDragEnd,this)}),i.add(r)),WF(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");Z(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Tm(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){zF(this._axisPointerModel,!e&&this._moveAnimation,this._handle,GF(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(GF(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(GF(i)),RF(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Mm(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function zF(t,e,n,i){VF(RF(n).lastProp,i)||(RF(n).lastProp=i,e?yu(n,i,t):(n.stopAnimation(),n.attr(i)))}function VF(t,e){if(Y(t)&&Y(e)){var n=!0;return B(e,(function(e,i){n=n&&VF(t[i],e)})),!!n}return t===e}function jF(t,e){t[e.get(["label","show"])?"show":"hide"]()}function GF(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function WF(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}var HF=BF;function ZF(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function $F(t,e,n,i,r){var o=UF(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=Hc(a.get("padding")||0),l=a.getFont(),u=Ir(o,l),c=r.position,h=u.width+s[1]+s[3],p=u.height+s[0]+s[2],f=r.align;"right"===f&&(c[0]-=h),"center"===f&&(c[0]-=h/2);var d=r.verticalAlign;"bottom"===d&&(c[1]-=p),"middle"===d&&(c[1]-=p/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(c,h,p,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:Du(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function UF(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:MM(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};B(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),U(a)?o=a.replace("{value}",o):$(a)&&(o=a(s))}return o}function XF(t,e,n){var i=[1,0,0,1,0,0];return xe(i,i,n.rotation),_e(i,i,n.position),Jg([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function qF(t,e,n,i,r,o){var a=dC.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),$F(e,i,r,o,{position:XF(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function YF(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function KF(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function JF(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var QF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=tB(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=ZF(i),h=eB[s](o,u,l);h.style=c,t.graphicKey=h.type,t.pointer=h}qF(e,t,KM(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=KM(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=XF(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=tB(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];h[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(HF);function tB(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var eB={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:YF([e,n[0]],[e,n[1]],nB(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:KF([e-i/2,n[0]],[i,r],nB(t))}}};function nB(t){return"x"===t.dim?0:1}var iB=QF,rB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(ch),oB=rB,aB=Bo(),sB=B;function lB(t,e,n){if(!l.node){var i=e.getZr();aB(i).records||(aB(i).records={}),function(t,e){if(aB(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);sB(aB(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}aB(t).initialized=!0,n("click",H(cB,"click")),n("mousemove",H(cB,"mousemove")),n("globalout",uB)}(i,e),(aB(i).records[t]||(aB(i).records[t]={})).handler=n}}function uB(t,e,n){t.handler("leave",null,n)}function cB(t,e,n,i){e.handler(t,n,i)}function hB(t,e){if(!l.node){var n=e.getZr();(aB(n).records||{})[t]&&(aB(n).records[t]=null)}}var pB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";lB("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>
vendor: 4,203 bytes, line 1
1=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){hB("axisPointer",e)},e.prototype.dispose=function(t,e){hB("axisPointer",e)},e.type="axisPointer",e}(ud),fB=pB;function dB(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=Fo(o,t);if(null==a||a<0||Z(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u).dim,h=u.dim,p="x"===c||"radius"===c?1:0,f=o.mapDimension(h),d=[];d[p]=o.get(f,a),d[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(d)||[]}else i=l.dataToPoint(o.getValues(z(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var gB=Bo();function mB(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||W(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){bB(r)&&(r=dB({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=bB(r),u=o.axesInfo,c=s.axesInfo,h="leave"===i||bB(r),p={},f={},d={list:[],map:{}},g={showPointer:H(yB,f),showTooltip:H(_B,d)};B(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);B(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!h&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&vB(t,a,g,!1,p)}}))}));var m={};return B(c,(function(t,e){var n=t.linkGroup;n&&!f[e]&&B(n.axesInfo,(function(e,i){var r=f[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,xB(e),xB(t)))),m[t.key]=o}}))})),B(m,(function(t,e){vB(c[e],t,g,!0,p)})),function(t,e,n){var i=n.axesInfo=[];B(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(f,c,p),function(t,e,n,i){if(bB(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(d,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=gB(i)[r]||{},a=gB(i)[r]={};B(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&B(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];B(o,(function(t,e){!a[e]&&l.push(t)})),B(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(c,0,n),p}}function vB(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return B(e.seriesModels,(function(e,l){var u,c,h=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(h,t,n);c=p.dataIndices,u=p.nestestValue}else{if(!(c=e.getData().indicesOfNearest(h[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(h[0],c[0])}if(null!=u&&isFinite(u)){var f=t-u,d=Math.abs(f);d<=a&&((d<a||f>=0&&s<0)&&(a=d,s=f,r=u,o.length=0),B(c,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&E(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function yB(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function _B(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;
vendor: 12,656 bytes, line 1
1if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=_C(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function xB(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function bB(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function wB(t){wC.registerAxisPointerClass("CartesianAxisPointer",iB),t.registerComponentModel(oB),t.registerComponentView(fB),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Z(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=gC(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},mB)}var SB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var c=ZF(i),h=TB[u](o,a,l,s);h.style=c,t.graphicKey=h.type,t.pointer=h}var p=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,h=i.getRadiusAxis().getExtent();if("radius"===o.dim){var p=[1,0,0,1,0,0];xe(p,p,s),_e(p,p,[i.cx,i.cy]),l=Jg([a,-r],p);var f=e.getModel("axisLabel").get("rotate")||0,d=dC.innerTextLayout(s,f*Math.PI/180,-1);u=d.textAlign,c=d.textVerticalAlign}else{var g=h[1];l=i.coordToPoint([g+r,a]);var m=i.cx,v=i.cy;u=Math.abs(l[0]-m)/g<.3?"center":l[0]>m?"left":"right",c=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}(e,n,0,a,i.get(["label","margin"]));$F(t,n,i,r,p)},e}(HF);var TB={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:YF(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:JF(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:JF(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},MB=SB,CB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(ch),AB=CB,IB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Go).models[0]},e.type="polarAxis",e}(ch);N(IB,ST);var kB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="angleAxis",e}(IB),DB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="radiusAxis",e}(IB),PB=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return o(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(XM);PB.prototype.dataToRadius=XM.prototype.dataToCoord,PB.prototype.radiusToData=XM.prototype.coordToData;var OB=PB,EB=Bo(),LB=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return o(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=Ir(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var c=Math.max(0,Math.floor(u)),h=EB(t.model),p=h.lastAutoInterval,f=h.lastTickCount;return null!=p&&null!=f&&Math.abs(p-c)<=1&&Math.abs(f-r)<=1&&p>c?c=p:(h.lastTickCount=r,h.lastAutoInterval=c),c},e}(XM);LB.prototype.dataToAngle=XM.prototype.dataToCoord,LB.prototype.angleToData=XM.prototype.coordToData;var RB=LB,NB=["radius","angle"],FB=function(){function t(t){this.dimensions=NB,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new OB,this._angleAxis=new RB,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=l<o?1:-1;l<o||l>a;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180,r=1e-4;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,o=n*n+i*i,a=this.r,s=this.r0;return a!==s&&o-r<=a*a&&o+r>=s*s}}},t.prototype.convertToPixel=function(t,e,n){return BB(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return BB(e)===this?this.pointToData(n):null},t}();function BB(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var zB=FB;function VB(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();B(kM(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),B(kM(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),wM(i.scale,i.model),wM(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function jB(t,e){var n;if(t.type=e.get("type"),t.scale=SM(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var GB={dimensions:NB,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new zB(i+"");r.update=VB;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");jB(o,s),jB(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=eo(i[0],r),t.cy=eo(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:Z(l)||(l=[0,l]);var u=[eo(l[0],s),eo(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Go).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}},WB=GB,HB=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function ZB(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function $B(t){return t.getRadiusAxis().inverse?0:1}function UB(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var XB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return o(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=z(n.getViewLabels(),(function(t){t=D(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));UB(s),UB(o),B(HB,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||qB[e](this.group,t,i,o,a,r,s)}),this)}},e.type="angleAxis",e}(wC),qB={axisLine:function(t,e,n,r,o,a){var s,l=e.getModel(["axisLine","lineStyle"]),u=n.getAngleAxis(),c=Math.PI/180,h=u.getExtent(),p=$B(n),f=p?0:1,d=360===Math.abs(h[1]-h[0])?"Circle":"Arc";(s=0===a[f]?new i[d]({shape:{cx:n.cx,cy:n.cy,r:a[p],startAngle:-h[0]*c,endAngle:-h[1]*c,clockwise:u.inverse},style:l.getLineStyle(),z2:1,silent:!0}):new eg({shape:{cx:n.cx,cy:n.cy,r:a[p],r0:a[f]},style:l.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(s)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[$B(n)],u=z(i,(function(t){return new pg({shape:ZB(n,[l,l+s],t.coord)})}));t.add($g(u,{style:L(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[$B(n)],c=[],h=0;h<r.length;h++)for(var p=0;p<r[h].length;p++)c.push(new pg({shape:ZB(n,[u,u+l],r[h][p].coord)}));t.add($g(c,{style:L(s.getModel("lineStyle").getLineStyle(),L(a.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,i,r,o,a){var s=e.getCategories(!0),l=e.getModel("axisLabel"),u=l.get("margin"),c=e.get("triggerEvent");B(a,(function(i,r){var a=l,h=i.tickValue,p=o[$B(n)],f=n.coordToPoint([p+u,i.coord]),d=n.cx,g=n.cy,m=Math.abs(f[0]-d)/p<.3?"center":f[0]>d?"left":"right",v=Math.abs(f[1]-g)/p<.3?"middle":f[1]>g?"top":"bottom";if(s&&s[h]){var y=s[h];Y(y)&&y.textStyle&&(a=new tc(y.textStyle,l,l.ecModel))}var _=new pl({silent:dC.isLabelSilent(e),style:Du(a,{x:f[0],y:f[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:m,verticalAlign:v})});if(t.add(_),c){var x=dC.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=i.rawLabel,fl(_).eventData=x}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c<i.length;c++){var h=l++%s.length;u[h]=u[h]||[],u[h].push(new pg({shape:ZB(n,o,i[c].coord)}))}for(c=0;c<u.length;c++)t.add($g(u[c],{style:L({stroke:s[c%s.length]},a.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<r.length;l++)for(var u=0;u<r[l].length;u++)s.push(new pg({shape:ZB(n,o,r[l][u].coord)}));t.add($g(s,{style:a.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,i,r,o){if(i.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=Math.PI/180,h=-i[0].coord*c,p=Math.min(o[0],o[1]),f=Math.max(o[0],o[1]),d=e.get("
1clockwise"),g=1,m=i.length;g<=m;g++){var v=g===m?i[0].coord:i[g].coord,y=l++%s.length;u[y]=u[y]||[],u[y].push(new Jd({shape:{cx:n.cx,cy:n.cy,r0:p,r:f,startAngle:h,endAngle:-v*c,clockwise:d},silent:!0})),h=-v*c}for(g=0;g<u.length;g++)t.add($g(u[g],{style:L({fill:s[g%s.length]},a.getAreaStyle()),silent:!0}))}}},YB=XB,KB=["axisLine","axisTickLabel","axisName"],JB=["splitLine","splitArea","minorSplitLine"],QB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return o(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,i=this._axisGroup=new $r;this.group.add(i);var r=t.axis,o=r.polar,a=o.getAngleAxis(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),u=a.getExtent()[0],c=r.getExtent(),h=function(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(o,t,u),p=new dC(t,h);B(KB,p.add,p),i.add(p.getGroup()),em(n,i,t),B(JB,(function(e){t.get([e,"show"])&&!r.scale.isBlank()&&tz[e](this.group,t,o,u,c,s,l)}),this)}},e.type="radiusAxis",e}(wC),tz={splitLine:function(t,e,n,r,o,a){var s=e.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),u=0,c=n.getAngleAxis(),h=Math.PI/180,p=c.getExtent(),f=360===Math.abs(p[1]-p[0])?"Circle":"Arc";l=l instanceof Array?l:[l];for(var d=[],g=0;g<a.length;g++){var m=u++%l.length;d[m]=d[m]||[],d[m].push(new i[f]({shape:{cx:n.cx,cy:n.cy,r:Math.max(a[g].coord,0),startAngle:-p[0]*h,endAngle:-p[1]*h,clockwise:c.inverse}}))}for(g=0;g<d.length;g++)t.add($g(d[g],{style:L({stroke:l[g%l.length],fill:null},s.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,i,r,o,a){if(a.length){for(var s=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],u=0;u<a.length;u++)for(var c=0;c<a[u].length;c++)l.push(new Ed({shape:{cx:n.cx,cy:n.cy,r:a[u][c].coord}}));t.add($g(l,{style:L({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,i,r,o){if(o.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=o[0].coord,h=1;h<o.length;h++){var p=l++%s.length;u[p]=u[p]||[],u[p].push(new Jd({shape:{cx:n.cx,cy:n.cy,r0:c,r:o[h].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),c=o[h].coord}for(h=0;h<u.length;h++)t.add($g(u[h],{style:L({fill:s[h%s.length]},a.getAreaStyle()),silent:!0}))}}};var ez=QB;function nz(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function iz(t,e){return e.dim+t.model.componentIndex}var rz=function(t,e,n){var i={},r=function(t){var e={};B(t,(function(t,n){var i=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),a=iz(r,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/i.count(),u=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;e[a]=u;var h=nz(t);c[h]||u.autoWidthCount++,c[h]=c[h]||{width:0,maxWidth:0};var p=eo(t.get("barWidth"),l),f=eo(t.get("barMaxWidth"),l),d=t.get("barGap"),g=t.get("barCategoryGap");p&&!c[h].width&&(p=Math.min(u.remainedWidth,p),c[h].width=p,u.remainedWidth-=p),f&&(c[h].maxWidth=f),null!=d&&(u.gap=d),null!=g&&(u.categoryGap=g)}));var n={};return B(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=eo(t.categoryGap,r),a=eo(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-o)/(l+(l-1)*a);u=Math.max(u,0),B(i,(function(t,e){var n=t.maxWidth;n&&n<u&&(n=Math.min(n,s),t.width&&(n=Math.min(n,t.width)),s-=n,t.width=n,l--)})),u=(s-o)/(l+(l-1)*a),u=Math.max(u,0);var c,h=0;B(i,(function(t,e){t.width||(t.width=u),c=t,h+=t.width*(1+a)})),c&&(h-=c.width*a);var p=-h/2;B(i,(function(t,i){n[e][i]=n[e][i]||{offset:p,width:t.width},p+=t.width*(1+a)}))})),n}(j(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,o=n.getBaseAxis(),a=iz(n,o),s=nz(t),l=r[a][s],u=l.offset,c=l.width,h=n.getOtherAxis(o),p=t.coordinateSystem.cx,f=t.coordinateSystem.cy,d=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;i[s]=i[s]||[];for(var m=e.mapDimension(h.dim),v=e.mapDimension(o.dim),y=fw(e,m),_="radius"!==o.dim||!t.get("roundCap",!0),x=h.model.get("startValue"),b=h.dataToCoord(x||0),w=0,S=e.count();w<S;
vendor: 39,274 bytes, line 1
1w++){var T=e.get(m,w),M=e.get(v,w),C=T>=0?"p":"n",A=b;y&&(i[s][M]||(i[s][M]={p:b,n:b}),A=i[s][M][C]);var I=void 0,k=void 0,D=void 0,P=void 0;if("radius"===h.dim){var O=h.dataToCoord(T)-b,E=o.dataToCoord(M);Math.abs(O)<d&&(O=(O<0?-1:1)*d),I=A,k=A+O,P=(D=E-u)-c,y&&(i[s][M][C]=k)}else{var L=h.dataToCoord(T,_)-b,R=o.dataToCoord(M);Math.abs(L)<g&&(L=(L<0?-1:1)*g),k=(I=R+u)+c,D=A,P=A+L,y&&(i[s][M][C]=P)}e.setItemLayout(w,{cx:p,cy:f,r0:I,r:k,startAngle:-D*Math.PI/180,endAngle:-P*Math.PI/180,clockwise:D>=P})}}}))},oz={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},az={splitNumber:5},sz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="polar",e}(ud);function lz(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),nt(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var c=e.rotate;return null==c&&(c=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-c:c,r.z2=1,r}var uz=["axisLine","axisTickLabel","axisName"],cz=["splitArea","splitLine"],hz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return o(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new $r;var s=lz(e),l=new dC(e,s);B(uz,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),B(cz,(function(t){e.get([t,"show"])&&pz[t](this,this.group,this._axisGroup,e)}),this),em(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){MC(this)},e.type="singleAxis",e}(wC),pz={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),c=r.isHorizontal(),h=[],p=0,f=r.getTicksCoords({tickModel:o}),d=[],g=[],m=0;m<f.length;++m){var v=r.toGlobalCoord(f[m].coord);c?(d[0]=v,d[1]=u.y,g[0]=v,g[1]=u.y+u.height):(d[0]=u.x,d[1]=v,g[0]=u.x+u.width,g[1]=v);var y=new pg({shape:{x1:d[0],y1:d[1],x2:g[0],y2:g[1]},silent:!0});Xg(y.shape,l);var _=p++%s.length;h[_]=h[_]||[],h[_].push(y)}var x=a.getLineStyle(["color"]);for(m=0;m<h.length;++m)e.add($g(h[m],{style:L({stroke:s[m%s.length]},x),silent:!0}))}},splitArea:function(t,e,n,i){TC(t,n,i,i)}},fz=hz,dz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(ch);N(dz,ST.prototype);var gz=dz,mz=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.position=o||"bottom",a}return o(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(XM),vz=mz,yz=["single"],_z=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=yz,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=this.dimension,r=new vz(i,SM(t),[0,0],t.get("type"),t.get("position")),o="category"===r.type;r.onBand=o&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();B(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),wM(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=nh({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.inverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return xz(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return xz(e)===this?this.pointToData(n):null},t}();function xz(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var bz=_z;var wz={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new bz(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Go).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:yz},Sz=["x","y"],Tz=["width","height"],Mz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=Iz(a,1-Az(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var c=ZF(i),h=Cz[u](o,l,s);h.style=c,t.graphicKey=h.type,t.pointer=h}qF(e,t,lz(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=lz(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=XF(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=Az(r),s=Iz(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=Iz(o,1-a),c=(u[1]+u[0])/2,h=[c,c];return h[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e}(HF),Cz={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:YF([e,n[0]],[e,n[1]],Az(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:KF([e-i/2,n[0]],[i,r],Az(t))}}};function Az(t){return t.isHorizontal()?0:1}function Iz(t,e){var n=t.getRect();return[n[Sz[e]],n[Sz[e]]+n[Tz[e]]]}var kz=Mz,Dz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="single",e}(ud);var Pz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e,n,i){var r=ah(e);t.prototype.init.apply(this,arguments),Oz(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),Oz(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(ch);function Oz(t,e){var n,i=t.cellSize;1===(n=Z(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=z([0,1],(function(t){return function(t,e){return null!=t[Qc[e][0]]||null!=t[Qc[e][1]]&&null!=t[Qc[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));oh(t,e,{type:"box",ignoreSize:r})}var Ez=Pz,Lz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Ys({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){p(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=o.getDateInfo(h)}function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}p(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new lg({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return U(t)&&t?(n=t,B(e,(function(t,e){n=n.replace("{"+e+"}",i?ne(t):t)})),n):$(t)?t(e):e.nameMap;var n,i},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,h={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var f=r.get("formatter"),d={start:e.start.y,end:e.end.y,nameMap:p},g=this._formatterLabel(f,d),m=new pl({z2:30,style:Du(r,{text:g}),silent:r.get("silent")});m.attr(this._yearTextPositionControl(m,h[a],n,a,o)),i.add(m)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!U(o)||(o&&(e=hc(o)||e),o=e.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,h="horizontal"===n?0:1;a="start"===s?-a:a;for(var p="center"===l,f=r.get("silent"),d=0;d<u[c].length-1;d++){var g=u[c][d].slice(),m=this._firstDayOfMonth[d];if(p){var v=this._firstDayPoints[d];g[h]=(v[h]+u[0][d+1][h])/2}var y=r.get("formatter"),_=o[+m.m-1],x={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:_},b=this._formatterLabel(y,x),w=new pl({z2:30,style:E(Du(r,{text:b}),this._monthTextPositionControl(g,p,n,s,a)),silent:f});i.add(w)}}},e.prototype._weekTextPositionControl=function(t,e,n,i,r){var o="center",a="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(s=s+i+(u?1:-1)*r[0]/2,o=u?"right":"left"):(l=l+i+(u?1:-1)*r[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderWeekText=function(t,e,n,i,r){var o=t.getModel("dayLabel");if(o.get("show")){var a=t.coordinateSystem,s=o.get("position"),l=o.get("nameMap"),u=o.get("margin"),c=a.getFirstDayOfWeek();if(!l||U(l))l&&(e=hc(l)||e),l=e.get(["time","dayOfWeekShort"])||z(e.get(["time","dayOfWeekAbbr"]),(function(t){return t[0]}));var h=a.getNextNDay(n.end.time,7-n.lweek).time,p=[a.getCellWidth(),a.getCellHeight()];u=eo(u,Math.min(p[1],p[0])),"start"===s&&(h=a.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var f=o.get("silent"),d=0;d<7;d++){var g,m=a.getNextNDay(h,d),v=a.dataToRect([m.time],!1).center;g=Math.abs((d+c)%7);var y=new pl({z2:30,style:E(Du(o,{text:l[g]}),this._weekTextPositionControl(v,i,s,u,p)),silent:f});r.add(y)}}},e.type="calendar",e}(ud),Rz=Lz,Nz=864e5,Fz=function(){function t(e,n,i){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){var e=(t=po(t)).getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,r=t.getDate(),o=r<10?"0"+r:""+r,a=t.getDay();return{y:e+"",m:i,d:o,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+o,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],r=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];B([0,1],(function(t){u(r,t)&&(o[i[t]]=r[t]*a[t])}));var s={width:e.getWidth(),height:e.getHeight()},l=this._rect=nh(o,s);function u(t,e){return null!=t[e]&&"auto"!==t[e]}B([0,1],(function(t){u(r,t)||(r[t]=l[i[t]]/a[t])})),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){Z(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+Nz))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([i.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},t.prototype.convertToPixel=function(t,e,n){var i=Bz(e);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=Bz(e);return i===this?i.pointToData(n):null},t.prototype.containPoint=function(t){return!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(Z(e)&&1===e.length&&(e=e[0]),Z(e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),r=i.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);t=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var a=this._getRangeInfo(t);return a.start.time>a.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/Nz)-Math.floor(n[0].time/Nz)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),c=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function Bz(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}var zz=Fz;function Vz(t,e){var n;return B(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var jz=["transition","enterFrom","leaveTo"],Gz=jz.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function Wz(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?jz:Gz,r=0;r<i.length;r++){var o=i[r];null==t[o]&&null!=e[o]&&(t[o]=e[o])}}var Hz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return o(e,t),e.prototype.mergeOption=function(e,n){var i=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=i},e.prototype.optionUpdated=function(t,e){var n=this.option,i=(e?n:t).elements,r=n.elements=e?[]:n.elements,o=[];this._flatten(i,o,null);var a=Po(r,o,"normalMerge"),s=this._elOptionsToUpdate=[];B(a,(function(t,e){var n=t.newOption;n&&(s.push(n),function(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var i=E({},n),r=t[e],o=n.$action||"merge";"merge"===o?r?(P(r,i,!0),oh(r,i,{ignoreSize:!0}),sh(n,r),Wz(n,r),Wz(n,r,"shape"),Wz(n,r,"style"),Wz(n,r,"extra"),n.clipPath=r.clipPath):t[e]=i:"replace"===o?t[e]=i:"remove"===o&&r&&(t[e]=null)}(r,e,n),function(t,e){if(t&&(t.hv=e.hv=[Vz(e,["left","right"]),Vz(e,["top","bottom"])],"group"===t.type)){var n=t,i=e;null==n.width&&(n.width=i.width=0),null==n.height&&(n.height=i.height=0)}}(r[e],n))}),this),n.elements=j(r,(function(t){return t&&delete t.$action,null!=t}))},e.prototype._flatten=function(t,e,n){B(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;i&&i.length&&this._flatten(i,e,t),delete t.children}}),this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(ch),Zz={path:null,compoundPath:null,group:$r,image:Gs,text:pl},$z=Bo(),Uz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){this._elMap=gt()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group,r=t.get("z"),o=t.get("zlevel");B(e,(function(e){var a=Lo(e.id,null),s=null!=a?n.get(a):null,l=Lo(e.parentId,null),u=null!=l?n.get(l):i,c=e.type,h=e.style;"text"===c&&h&&e.hv&&e.hv[1]&&(h.textVerticalAlign=h.textBaseline=h.verticalAlign=h.align=null);var p=e.textContent,f=e.textConfig;if(h&&EN(h,c,!!f,!!p)){var d=LN(h,c,!0);!f&&d.textConfig&&(f=e.textConfig=d.textConfig),!p&&d.textContent&&(p=d.textContent)}var g=function(t){return t=E({},t),B(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Jc),(function(e){delete t[e]})),t}(e);var m=e.$action||"merge",v="merge"===m,y="replace"===m;if(v){var _=s;(C=!s)?_=qz(a,u,e.type,n):(_&&($z(_).isNew=!1),eF(_)),_&&(WN(_,g,t,{isInit:C}),Kz(_,e,r,o))}else if(y){Yz(s,e,n,t);var x=qz(a,u,e.type,n);x&&(WN(x,g,t,{isInit:!0}),Kz(x,e,r,o))}else"remove"===m&&(HN(s,e),Yz(s,e,n,t));var b=n.get(a);if(b&&p)if(v){var w=b.getTextContent();w?w.attr(p):b.setTextContent(new pl(p))}else y&&b.setTextContent(new pl(p));if(b){var S=e.clipPath;if(S){var T=S.type,M=void 0,C=!1;if(v){var A=b.getClipPath();M=(C=!A||$z(A).type!==T)?Xz(T):A}else y&&(C=!0,M=Xz(T));b.setClipPath(M),WN(M,S,t,{isInit:C}),nF(M,S.keyframeAnimation,t)}var I=$z(b);b.setTextConfig(f),I.option=e,function(t,e,n){var i=fl(t).eventData;t.silent||t.ignore||i||(i=fl(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});i&&(i.info=n.info)}(b,t,e),lm({el:b,componentModel:t,itemName:b.name,itemTooltipOption:e.tooltip}),nF(b,e.keyframeAnimation,t)}}))}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),s=["x","y"],l=0;l<n.length;l++){if((d=null!=(f=Lo((p=n[l]).id,null))?r.get(f):null)&&d.isGroup){var u=(g=d.parent)===i,c=$z(d),h=$z(g);c.width=eo(c.option.width,u?o:h.width)||0,c.height=eo(c.option.height,u?a:h.height)||0}}for(l=n.length-1;l>=0;l--){var p,f,d;if(d=null!=(f=Lo((p=n[l]).id,null))?r.get(f):null){var g=d.parent,m=(h=$z(g),{}),v=ih(d,p,g===i?{width:o,height:a}:{width:h.width,height:h.height},null,{hv:p.hv,boundingMode:p.bounding},m);if(!$z(d).isNew&&v){for(var y=p.transition,_={},x=0;x<s.length;x++){var b=s[x],w=m[b];y&&($N(y)||R(y,b)>=0)?_[b]=w:d[b]=w}yu(d,_,t,0)}else d.attr(m)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){Yz(n,$z(n).option,e,t._lastGraphicModel)})),this._elMap=gt()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(ud);function Xz(t){var e=new(_t(Zz,t)?Zz[t]:Gg(t))({});return $z(e).type=t,e}function qz(t,e,n,i){var r=Xz(n);return e.add(r),i.set(t,r),$z(r).id=t,$z(r).isNew=!0,r}function Yz(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){Yz(t,e,n,i)})),ZN(t,e,i),n.removeKey($z(t).id))}function Kz(t,e,n,i){t.isGroup||B([["cursor",Oa.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];_t(e,i)?t[i]=it(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),B(G(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=$(i)?i:null}})),_t(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var Jz=["x","y","radius","angle","single"],Qz=["cartesian2d","polar","singleAxis"];function tV(t){return t+"Axis"}function eV(t,e){var n,i=gt(),r=[],o=gt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function nV(t){var e=t.ecModel,n={infoList:[],infoMap:gt()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(tV(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var iV=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),rV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return o(e,t),e.prototype.init=function(t,e,n){var i=oV(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=oV(t);P(this.option,t,!0),P(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;B([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=gt();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return B(Jz,(function(n){var i=this.getReferringComponents(tV(n),Wo);if(i.specified){e=!0;var r=new iV;B(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new iV;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Go).models[0];a&&B(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Go).models[0]&&o.add(t.componentIndex)}))}}}i&&B(Jz,(function(e){if(i){var r=n.findComponents({mainType:tV(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new iV;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");B([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(tV(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){B(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(tV(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;B([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;B(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(ch);function oV(t){var e={};return B(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var aV=rV,sV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.select",e}(aV),lV=sV,uV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(ud),cV=uV,hV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.select",e}(cV),pV=hV,fV=B,dV=io,gV=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(function(t){var e=t.get("coordinateSystem");return R(Qz,e)>=0}(e)){var n=tV(this._dimName),i=e.getReferringComponents(n,Go).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return D(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];fV(["start","end"],(function(l,u){var c=t[l],h=t[l+"Value"];"percent"===r[u]?(null==c&&(c=o[u]),h=i.parse(to(c,o,n))):(e=!0,c=to(h=null==h?n[u]:i.parse(h),n,o)),s[u]=null==h||isNaN(h)?n[u]:h,a[u]=null==c||isNaN(c)?o[u]:c})),dV(s),dV(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";DO(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=to(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];fV(n,(function(t){!function(t,e,n){e&&B(kM(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=_M(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&fV(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=z(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;l<i.length;l++){var u=a.get(s[l],t),c=!isNaN(u),h=u<o[0],p=u>o[1];if(c&&!h&&!p)return!0;c&&(r=!0),h&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else fV(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));fV(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;fV(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=to(n[0]+o,n,[0,100],!0):null!=r&&(o=to(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=oo(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();var mV=gV,vV={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(tV(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new mV(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=gt();return B(n,(function(t){B(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var yV=!1;function _V(t){yV||(yV=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,vV),function(t){t.registerAction("dataZoom",(function(t,e){B(eV(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function xV(t){t.registerComponentModel(lV),t.registerComponentView(pV),_V(t)}var bV=function(){},wV={};function SV(t,e){wV[t]=e}function TV(t){return wV[t]}var MV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;B(this.option.feature,(function(t,n){var i=TV(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),P(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(ch),CV=MV;function AV(t,e){var n=Hc(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Ys({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var IV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];B(s,(function(t,e){u.push(e)})),new Rb(this._featureNames||[],u).add(c).update(c).remove(H(c,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=nh(i,o,r);eh(e.get("orient"),t,e.get("itemGap"),a.width,a.height),ih(t,i,o,r)}(r,t,n),r.add(AV(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!$(l)&&e){var u=l.style||(l.style={}),c=Ir(e,pl.makeFont(u)),h=t.x+r.x,p=!1;t.y+r.y+o+c.height>n.getHeight()&&(a.position="top",p=!0);var f=p?-5-c.height:o+10;h+c.width/2>n.getWidth()?(a.position=["100%",f],u.align="right"):h-c.width/2<0&&(a.position=[0,f],u.align="left")}}))}function c(c,h){var p,f=u[c],d=u[h],g=s[f],m=new tc(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===f&&(g.title=i.newTitle),f&&!d){if(function(t){return 0===t.indexOf("my")}(f))p={onclick:m.option.onclick,featureName:f};else{var v=TV(f);if(!v)return;p=new v}l[f]=p}else if(!(p=l[d]))return;p.uid=nc("toolbox-feature"),p.model=m,p.ecModel=e,p.api=n;var y=p instanceof bV;f||!d?!m.get("show")||y&&p.unusable?y&&p.remove&&p.remove(e,n):(!function(i,s,l){var u,c,h=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),f=s instanceof bV&&s.getIcons?s.getIcons():i.get("icon"),d=i.get("title")||{};U(f)?(u={})[l]=f:u=f;U(d)?(c={})[l]=d:c=d;var g=i.iconPaths={};B(u,(function(l,u){var f=rm(l,{},{x:-o/2,y:-o/2,width:o,height:o});f.setStyle(h.getItemStyle()),f.ensureState("emphasis").style=p.getItemStyle();var d=new pl({style:{text:c[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:Nu({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},e)},ignore:!0});f.setTextContent(d),lm({el:f,componentModel:t,itemName:u,formatterParamsExtra:{title:c[u]}}),f.__title=c[u],f.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";d.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroun
1dColor")}),f.setTextConfig({position:p.get("textPosition")||i}),d.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),d.hide()})),("emphasis"===i.get(["iconStatus",u])?$l:Ul)(f),r.add(f),f.on("click",W(s.onclick,s,e,n,u)),g[u]=f}))}(m,p,f),m.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?$l:Ul)(i[t])},p instanceof bV&&p.render&&p.render(m,e,n,i)):y&&p.dispose&&p.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){B(this._features,(function(t){t instanceof bV&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){B(this._features,(function(n){n instanceof bV&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){B(this._features,(function(n){n instanceof bV&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(ud);var kV=IV,DV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=l.browser;if("function"!=typeof MouseEvent||!s.newEdge&&(s.ie||s.edge))if(window.navigator.msSaveOrOpenBlob||r){var u=a.split(","),c=u[0].indexOf("base64")>-1,h=r?decodeURIComponent(u[1]):u[1];c&&(h=window.atob(h));var p=i+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var f=h.length,d=new Uint8Array(f);f--;)d[f]=h.charCodeAt(f);var g=new Blob([d]);window.navigator.msSaveOrOpenBlob(g,p)}else{var m=document.createElement("iframe");document.body.appendChild(m);var v=m.contentWindow,y=v.document;y.open("image/svg+xml","replace"),y.write(h),y.close(),v.focus(),y.execCommand("SaveAs",!0,p),document.body.removeChild(m)}}else{var _=n.get("lang"),x='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(_&&_[0]||"")+'" /></body>',b=window.open();b.document.write(x),b.document.title=i}else{var w=document.createElement("a");w.download=i+"."+o,w.target="_blank",w.href=a;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",n
vendor: 88,068 bytes, line 1
1ame:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(bV),PV=DV,OV="__ec_magicType_stack__",EV=[["line","bar"],["stack"]],LV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return B(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(RV[n]){var o,a={series:[]};B(EV,(function(t){R(t,n)>=0&&B(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=RV[n](e,r,t,i);o&&(L(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",c=t.getReferringComponents(u,Go).models[0].componentIndex;a[u]=a[u]||[];for(var h=0;h<=c;h++)a[u][c]=a[u][c]||{};a[u][c].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=P({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(bV),RV={line:function(t,e,n,i){if("bar"===t)return P({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return P({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===OV;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),P({id:e,stack:r?"":OV},i.get(["option","stack"])||{},!0)}};c_({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var NV=LV,FV=new Array(60).join("-"),BV="\t";function zV(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var VV=new RegExp("["+BV+"]+","g");function jV(t,e){var n=t.split(new RegExp("\n*"+FV+"\n*","g")),i={series:[]};return B(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(BV)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=z(zV(e.shift()).split(VV),(function(t){return{name:t,data:[]}})),r=0;r<e.length;r++){var o=zV(e[r]).split(VV);n.push(o.shift());for(var a=0;a<o.length;a++)i[a]&&(i[a].data[r]=o[a])}return{series:i,categories:n}}(t),o=e[n],a=o.axisDim+"Axis";o&&(i[a]=i[a]||[],i[a][o.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=function(t){for(var e=t.split(/\n+/g),n=zV(e.shift()),i=[],r=0;r<e.length;r++){var o=zV(e[r]);if(o){var a=o.split(VV),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}(t);i.series.push(r)}})),i}var GV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=i.get("lang")||[];o.innerHTML=a[0]||i.get("title"),o.style.cssText="margin:10px 20px",o.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=i.get("optionToContent"),c=i.get("contentToOption"),h=function(t){var e,n,i,r=function(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}(t);return{value:j([(n=r.seriesGroupByCategoryAxis,i=[],B(n,(function(t,e){var n=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat(z(t.series,(function(t){return t.name}))),a=[n.model.getCategories()];B(t.series,(function(t){var e=t.getRawData();a.push(t.getRawData().mapArray(e.mapDimension(r),(function(t){return t})))}));for(var s=[o.join(BV)],l=0;l<a[0].length;l++){for(var u=[],c=0;c<a.length;c++)u.push(a[c][l]);s.push(u.join(BV))}i.push(s.join("\n"))})),i.join("\n\n"+FV+"\n\n")),(e=r.other,z(e,(function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)i[a]=arguments[a];n.push((o?o+BV:"")+i.join(BV))})),n.join("\n")})).join("\n\n"+FV+"\n\n"))],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+FV+"\n\n"),meta:r.meta}}(t);if($(u)){var p=u(e.getOption());U(p)?s.innerHTML=p:Q(p)&&s.appendChild(p)}else{l.readOnly=i.get("readOnly");var f=l.style;f.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",f.color=i.get("textColor"),f.borderColor=i.get("textareaBorderColor"),f.backgroundColor=i.get("textareaColor"),l.value=h.value,s.appendChild(l)}var d=h.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var m="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",v=document.createElement("div"),y=document.createElement("div");m+=";background-color:"+i.get("buttonColor"),m+=";color:"+i.get("buttonTextColor");var _=this;function x(){n.removeChild(r),_._dom=null}ce(v,"click",x),ce(y,"click",(function(){if(null==c&&null!=u||null!=c&&null==u)x();else{var t;try{t=$(c)?c(s,e.getOption()):jV(l.value,d)}catch(t){throw x(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),x()}})),v.innerHTML=a[1],y.innerHTML=a[2],y.style.cssText=v.style.cssText=m,!i.get("readOnly")&&g.appendChild(y),g.appendChild(v),r.appendChild(o),r.appendChild(s),r.appendChild(g),s.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},e}(bV);function WV(t,e){return z(t,(function(t,n){var i=e&&e[n];if(Y(i)&&!Z(i)){Y(t)&&!Z(t)||(t={value:t});var r=null!=i.name&&null==t.name;return t=L(t,i),r&&delete t.name,t}return t}))}c_({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];B(t.newOption.series,(function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:WV(t.data,r)})}else n.push(E({type:"scatter"},t))})),e.mergeOption(L({series:n},t.newOption))}));var HV=GV,ZV=B,$V=Bo();function UV(t){var e=$V(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var XV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){!function(t){$V(t).snapshots=null}(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(bV);c_({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var qV=XV,YV=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],KV=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=QV(e,t);B(tj,(function(t,e){(!n||!n.include||R(n.include,e)>=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=ij[t.brushType](0,n,e);t.__rangeOffset={offset:oj[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){B(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&B(i.coordSyses,(function(i){var r=ij[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){B(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=ij[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?oj[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=sj(n),o=sj(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return z(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:BE(i),isTargetByCursor:VE(i,t,n.coordSysModel),getLinearBrushOtherExtent:zE(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&R(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=QV(e,t),r=0;r<n.length;r++){var o=n[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<ej.length;s++)if(ej[s](i,o))return o}return!0},t}();function JV(t){return t[0]>t[1]&&t.reverse(),t}function QV(t,e){return Vo(t,e,{includeMainTypes:YV})}var tj={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=gt(),a={},s={};(n||i||r)&&(B(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),B(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),B(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];B(r.getCartesians(),(function(t,e){(R(n,t.getAxis("x").model)>=0||R(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:nj.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){B(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:nj.geo})}))}},ej=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],nj={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Kg(t)),e}},ij={lineX:H(rj,0),lineY:H(rj,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[JV([r[0],o[0]]),JV([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:z(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function rj(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=JV(z([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var oj={lineX:H(aj,0),lineY:H(aj,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return z(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function aj(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function sj(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var lj,uj,cj=KV,hj=B,pj=Mo+"toolbox-dataZoom_",fj=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new FE(n.getZr()),this._brushController.on("brush",W(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new cj(gj(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return UV(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){dj[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new cj(gj(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=UV(t);ZV(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=DO(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];hj(t,(function(t,n){e.push(D(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(bV),dj={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=UV(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return ZV(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function gj(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}lj="dataZoom",uj=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=Vo(t,gj(i));return hj(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),hj(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:pj+e+o};a[n]=o,r.push(a)}},st(null==Dh.get(lj)&&uj),Dh.set(lj,uj);var mj=fj;var vj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(ch),yj=vj;function _j(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function xj(t){if(l.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var bj=xj(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function wj(t,e){if(!t)return e;e=Wc(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var Sj=wj(xj(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),Tj=wj(bj,"transform"),Mj="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(l.transform3dSupported?"will-change:transform;":"");function Cj(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!l.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=l.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+Tj+":"+a+";":[["top",0],["left",0],[bj,a]]}function Aj(t,e,n){var i=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),u=t.get("shadowOffsetX"),c=t.get("shadowOffsetY"),h=t.getModel("textStyle"),p=Uf(t,"html"),f=u+"px "+c+"px "+a+"px "+s;return i.push("box-shadow:"+f),e&&r&&i.push(function(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=l.transformSupported?","+Tj+i:",left"+i+",top"+i),Sj+":"+r}(r,n)),o&&i.push("background-color:"+o),B(["width","color","radius"],(function(e){var n="border-"+e,r=Wc(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))})),i.push(function(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont());var r=it(t.get("lineHeight"),Math.round(3*n/2));n&&e.push("line-height:"+r+"px");var o=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return o&&a&&e.push("text-shadow:"+s+"px "+l+"px "+a+"px "+o),B(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}(h)),null!=p&&i.push("padding:"+Hc(p).join("px ")+"px"),i.join(";")+";"}function Ij(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&function(t,e,n,i,r){Jt(Kt,e,i,r,!0)&&Jt(t,n,Kt[0],Kt[1])}(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var kj=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,l.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&(U(r)?document.querySelector(r):Q(r)?r:$(r)&&r(t.getDom()));Ij(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler;ue(i.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=(o="position",(a=(r=e).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(r))?o?a[o]:a:null),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative")}var r,o,a,s=t.get("alwaysShowContent");s&&this._moveIfResized(),this._alwaysShowContent=s,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=Mj+Aj(t,!this._firstShow,this._longHide)+Cj(r[0],r[1],!0)+"border-color:"+qc(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if(U(r)&&"item"===n.get("trigger")&&!_j(n)&&(a=function(t,e,n){if(!U(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=qc(e);var o,a,s="left"===(o=n)?"right":"right"===o?"left":"top"===o?"bottom":"top",l=Math.max(1.5*Math.round(r),6),u="",c=Tj+":";R(["left","right"],s)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var h=a*Math.PI/180,p=l+r,f=p*Math.abs(Math.cos(h))+p*Math.abs(Math.sin(h)),d=e+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",(u+=";"+s+":-"+Math.round(100*((f-Math.SQRT2*r)/2+Math.SQRT2*r-(f-p)/2))/100+"px")+";"+c+";","border-bottom:"+d,"border-right:"+d,"background-color:"+i+";"].join("")+'"></div>'}(n,i,r)),U(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Z(t)||(t=[t]);for(var s=0;s<t.length;s++)Q(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},t.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(Ij(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style;B(Cj(n[0],n[1]),(function(t){i[t[0]]=t[1]}))}}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",l.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(W(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),Dj=kj;function Pj(t){return Math.max(0,t)}function Oj(t){var e=Pj(t.shadowBlur||0),n=Pj(t.shadowOffsetX||0),i=Pj(t.shadowOffsetY||0);return{left:Pj(e-n),right:Pj(e+n),top:Pj(e-i),bottom:Pj(e+i)}}function Ej(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var Lj=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),Ej(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;Y(t)&&Qp(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new pl({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:Uf(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),B(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){o.el.style[t]=n.get(t)})),B(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){o.el.style[t]=a.get(t)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=Oj(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;Ej(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=Pj(r.borderWidth||0),a=Oj(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(W(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}(),Rj=new Ys({shape:{x:-1,y:-1,width:2,height:2}}),Nj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){if(!l.node&&e.getDom()){var n,i=t.getComponent("tooltip"),r=this._renderMode="auto"===(n=i.get("renderMode"))?l.domSupported?"html":"richText":n||"html";this._tooltipContent="richText"===r?new Lj(e):new Dj(e,{appendTo:i.get("appendToBody",!0)?"body":i.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!l.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?Tm(this,"_updatePosition",50,"fixRate"):Mm(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");lB("itemTooltip",this._api,W((function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!l.node&&n.getDom()){var r=Bj(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i=jo(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=Ho(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse((function(e){var n=fl(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=Rj;u.x=i.x,u.y=i.y,u.update(),fl(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var c=dB(i,e),h=c.point[0],p=c.point[1];null!=h&&null!=p&&this._tryShow({offsetX:h,offsetY:p,target:c.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(Bj(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===Fj([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===fl(n).ssrType)return;this._lastDataByCoordSys=null,mv(n,(function(t){return null!=fl(t).dataIndex?(r=t,!0):null!=fl(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=W(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=Fj([e.tooltipOption],i),a=this._renderMode,s=[],l=Ff("section",{blocks:[],noHeader:!0}),u=[],c=new Xf;B(t,(function(t){B(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=UF(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),h=Ff("section",{header:o,noHeader:!lt(o),sortBlocks:!0,blocks:[]});l.blocks.push(h),B(t.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,d=p.getDataParams(f);if(!(d.dataIndex<0)){d.axisDim=t.axisDim,d.axisIndex=t.axisIndex,d.axisType=t.axisType,d.axisId=t.axisId,d.axisValue=MM(e.axis,{value:r}),d.axisValueLabel=o,d.marker=c.makeTooltipMarker("item",qc(d.color),a);var g=Xp(p.formatTooltip(f,!0,null)),m=g.frag;if(m){var v=Fj([p],i).get("valueFormatter");h.blocks.push(v?E({valueFormatter:v},m):m)}g.text&&u.push(g.text),s.push(d)}}))}}))})),l.blocks.reverse(),u.reverse();var h=e.position,p=o.get("order"),f=Wf(l,c,a,p,n.get("useUTC"),o.get("textStyle"));f&&u.unshift(f);var d="richText"===a?"\n\n":"<br/>",g=u.join(d);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,h,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],h,null,c)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=fl(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,c=s.getData(u),h=this._renderMode,p=t.positionDefault,f=Fj([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),d=f.get("trigger");if(null==d||"item"===d){var g=s.getDataParams(l,u),m=new Xf;g.marker=m.makeTooltipMarker("item",qc(g.color),h);var v=Xp(s.formatTooltip(l,!1,u)),y=f.get("order"),_=f.get("valueFormatter"),x=v.frag,b=x?Wf(_?E({valueFormatter:_},x):x,m,h,y,i.get("useUTC"),f.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(f,(function(){this._showTooltipContent(f,b,g,w,t.offsetX,t.offsetY,t.position,t.target,m)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=fl(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if(U(o)){o={content:o,formatter:o},a=!0}a&&i&&o.content&&((o=D(o)).content=ne(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,c=Fj(s,this._tooltipModel,u?{position:u}:null),h=c.get("content"),p=Math.random()+"",f=new Xf;this._showOrMove(c,(function(){var n=D(c.get("formatterParams")||{});this._showTooltipContent(c,h,n,p,t.offsetX,t.offsetY,t.position,e,f)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var c=t.get("formatter");a=a||t.get("position");var h=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(c)if(U(c)){var f=t.ecModel.get("useUTC"),d=Z(n)?n[0]:n;h=c,d&&d.axisType&&d.axisType.indexOf("time")>=0&&(h=Mc(d.axisValue,h,f)),h=Xc(h,n,!0)}else if($(c)){var g=W((function(e,i){e===this._ticket&&(u.setContent(i,l,t,p,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,h=c(n,i,g)}else h=c;u.setContent(h,l,t,p,a),u.show(t,p),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||Z(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:Z(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),c=t.get("align"),h=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),$(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),Z(e))n=eo(e[0],s),i=eo(e[1],l);else if(Y(e)){var f=e;f.width=u[0],f.height=u[1];var d=nh(f,{width:s,height:l});n=d.x,i=d.y,c=null,h=null}else if(U(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+a;break;case"left":s=e.x-r-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,c?null:20,h?null:20);n=g[0],i=g[1]}if(c&&(n-=zj(c)?u[0]/2:"right"===c?u[0]:0),h&&(i-=zj(h)?u[1]/2:"bottom"===h?u[1]:0),_j(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&B(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&B(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&B(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&B(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!l.node&&e.getDom()&&(Mm(this,"_updatePosition"),this._tooltipContent.dispose(),hB("itemTooltip",e))},e.type="tooltip",e}(ud);function Fj(t,e,n){var i,r=e.ecModel;n?(i=new tc(n,r,r),i=new tc(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof tc&&(a=a.get("tooltip",!0)),U(a)&&(a={formatter:a}),a&&(i=new tc(a,i,r)))}return i}function Bj(t,e){return t.dispatchAction||W(e.dispatchAction,e)}function zj(t){return"center"===t||"middle"===t}var Vj=Nj;var jj=["rect","polygon","keep","clear"];function Gj(t,e){var n=Co(t?t.brush:[]);if(n.length){var i=[];B(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;Z(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),function(t){var e={};B(t,(function(t){e[t]=1})),t.length=0,B(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,jj)}}var Wj=B;function Hj(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function Zj(t,e,n){var i={};return Wj(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);Wj(t[e],(function(t,i){if(yD.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new yD(r),"opacity"===i&&((r=D(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new yD(r))}}))})),i}function $j(t,e,n){var i;B(n,(function(t){e.hasOwnProperty(t)&&Hj(e[t])&&(i=!0)})),i&&B(n,(function(n){e.hasOwnProperty(n)&&Hj(e[n])?t[n]=D(e[n]):delete t[n]}))}var Uj={lineX:Xj(0),lineY:Xj(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&FA(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(FA(i,r,o)||FA(i,r+a,o)||FA(i,r,o+s)||FA(i,r+a,o+s)||Le.create(t).contain(l[0],l[1])||om(r,o,r+a,o,i)||om(r,o,r,o+s,i)||om(r+a,o,r+a,o+s,i)||om(r,o+s,r+a,o+s,i))||void 0}}};function Xj(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return qj(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]<s[0]&&s.reverse(),qj(s[0],a)||qj(s[1],a)||qj(a[0],s)||qj(a[1],s)}}}}function qj(t,e){return e[0]<=t&&t<=e[1]}var Yj=["inBrush","outOfBrush"],Kj="__ecBrushSelect",Jj="__ecInBrushSelectEvent";function Qj(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new cj(e.option,t)).setInputRanges(e.areas,t)}))}function tG(t,e,n){var i,r,o=[];t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),Qj(t),t.eachComponent({mainType:"brush"},(function(e,n){var a={brushId:e.id,brushIndex:n,brushName:e.name,areas:D(e.areas),selected:[]};o.push(a);var s=e.option,l=s.brushLink,u=[],c=[],h=[],p=!1;n||(i=s.throttleType,r=s.throttleDelay);var f=z(e.areas,(function(t){var e=iG[t.brushType],n=L({boundingRect:e?e(t):void 0},t);return n.selectors=function(t){var e=t.brushType,n={point:function(i){return Uj[e].point(i,n,t)},rect:function(i){return Uj[e].rect(i,n,t)}};return n}(n),n})),d=Zj(e.option,Yj,(function(t){t.mappingMethod="fixed"}));function g(t){return"all"===l||!!u[t]}function m(t){return!!t.length}Z(l)&&B(l,(function(t){u[t]=1})),t.eachSeries((function(n,i){var r=h[i]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;p=p||n.hasAxisBrushed(),g(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(c[e]=1)}))}(n,i):function(n,i,r){if(!n.brushSelector||function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(Z(n)?R(n,e)<0:e!==n)}(e,i))return;if(B(f,(function(i){e.brushTargetManager.controlSeries(i,n,t)&&r.push(i),p=p||m(r)})),g(i)&&m(r)){var o=n.getData();o.each((function(t){nG(n,r,o,t)&&(c[t]=1)}))}}(n,i,r)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};a.selected.push(n);var i=h[e],r=t.getData(),o=g(e)?function(t){return c[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return nG(t,i,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(e)?p:m(i))&&function(t,e,n,i,r,o){var a,s={};function l(t){return hv(n,a,t)}function u(t,e){fv(n,a,t,e)}function c(t,c){a=null==o?t:c;var h=n.getRawDataItem(a);if(!h||!1!==h.visualMap)for(var p=i.call(r,t),f=e[p],d=s[p],g=0,m=d.length;g<m;g++){var v=d[g];f[v]&&f[v].applyVisual(t,l,u)}}B(t,(function(t){var n=yD.prepareVisualTypes(e[t]);s[t]=n})),null==o?n.each(c):n.each([o],c)}(Yj,d,r,o)}))})),function(t,e,n,i,r){if(!r)return;var o=t.getZr();if(o[Jj])return;o[Kj]||(o[Kj]=eG);var a=Tm(o,Kj,n,e);a(t,i)}(e,i,r,o,n)}function eG(t,e){if(!t.isDisposed()){var n=t.getZr();n[Jj]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[Jj]=!1}}function nG(t,e,n,i){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t.brushSelector(i,n,a.selectors,a))return!0}}var iG={rect:function(t){return rG(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;i<r;i++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=n[i];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&rG(e)}};function rG(t){return new Le(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var oG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new FE(e.getZr())).on("brush",W(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){Qj(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:D(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:D(n),$from:e})},e.type="brush",e}(ud),aG=oG,sG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return o(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&$j(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=z(t,(function(t){return lG(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=lG(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(ch);function lG(t,e){return P({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new tc(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var uG=sG,cG=["rect","polygon","lineX","lineY","keep","clear"],hG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,B(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return B(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:cG.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(bV),pG=hG;var fG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return o(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(ch),dG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=it(t.get("textBaseline"),t.get("textVerticalAlign")),l=new pl({style:Du(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=t.get("subtext"),h=new pl({style:Du(o,{text:c,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),f=t.get("sublink"),d=t.get("triggerEvent",!0);l.silent=!p&&!d,h.silent=!f&&!d,p&&l.on("click",(function(){Yc(p,"_"+t.get("target"))})),f&&h.on("click",(function(){Yc(f,"_"+t.get("subtarget"))})),fl(l).eventData=fl(h).eventData=d?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),c&&i.add(h);var g=i.getBoundingRect(),m=t.getBoxLayoutParams();m.width=g.width,m.height=g.height;var v=nh(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var y={align:a,verticalAlign:s};l.setStyle(y),h.setStyle(y),g=i.getBoundingRect();var _=v.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var b=new Ys({shape:{x:g.x-_[3],y:g.y-_[0],width:g.width+_[1]+_[3],height:g.height+_[0]+_[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(ud);var gG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],B(n,(function(e,n){var i,o=Lo(ko(e),"");Y(e)?(i=D(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new aw([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(ch),mG=gG,vG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="timeline.slider",e.defaultOption=ic(mG.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(mG);N(vG,Up.prototype);var yG=vG,_G=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="timeline",e}(ud),xG=_G,bG=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return o(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(XM),wG=bG,SG=Math.PI,TG=Bo(),MG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return Ff("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},B(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return nh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2<e.getHeight()/2?"-":"+":l.x+l.width/2<e.getWidth()/2?"+":"-":U(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][a]:a)>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:SG/2},p="vertical"===s?l.height:l.width,f=t.getModel("controlStyle"),d=f.get("show",!0),g=d?f.get("itemSize"):0,m=d?f.get("itemGap"):0,v=g+m,y=t.get(["label","rotate"])||0;y=y*SG/180;var _=f.get("position",!0),x=d&&f.get("showPlayBtn",!0),b=d&&f.get("showPrevBtn",!0),w=d&&f.get("showNextBtn",!0),S=0,T=p;"left"===_||"bottom"===_?(x&&(i=[0,0],S+=v),b&&(r=[S,0],S+=v),w&&(o=[T-g,0],T-=v)):(x&&(i=[T-g,0],T-=v),b&&(r=[0,0],S+=v),w&&(o=[T-g,0],T-=v));var M=[S,T];return t.get("inverse")&&M.reverse(),{viewRect:l,mainLength:p,orient:s,rotation:h[s],labelRotation:y,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||c[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:M,controlSize:g,controlGap:m}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;_e(o,o,[-a,-s]),xe(o,o,-SG/2),_e(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=m(r),u=m(n.getBoundingRect()),c=m(i.getBoundingRect()),h=[n.x,n.y],p=[i.x,i.y];p[0]=h[0]=l[0][0];var f,d=t.labelPosOpt;null==d||U(d)?(v(h,u,l,1,f="+"===d?0:1),v(p,c,l,1,1-f)):(v(h,u,l,1,f=d>=0?0:1),p[1]=h[1]+d);function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function m(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(h),i.setPosition(p),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new $T({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new rM({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new qT}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new wG("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new $r;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new pg({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:E({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new pg({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:L({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],B(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),h={x:a,y:0,onclick:W(r._changeTimeline,r,t.value)},p=CG(s,l,e,h);p.ensureState("emphasis").style=u.getItemStyle(),p.ensureState("progress").style=c.getItemStyle(),ou(p);var f=fl(p);s.get("tooltip")?(f.dataIndex=t.value,f.dataModel=i):f.dataIndex=f.dataModel=null,r._tickSymbols.push(p)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],B(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),h=n.dataToCoord(i.tickValue),p=new pl({x:h,y:0,rotation:t.labelRotation-t.rotation,onclick:W(r._changeTimeline,r,a),silent:!1,style:Du(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=Du(u),p.ensureState("progress").style=Du(c),e.add(p),ou(p),TG(p).dataIndex=a,r._tickLabels.push(p)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function c(t,n,l,u){if(t){var c=Or(it(i.get(["controlStyle",n+"BtnSize"]),r),r),h=function(t,e,n,i){var r=i.style,o=rm(t.get(["controlStyle",e]),i||{},new Le(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-c/2,c,c],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});h.ensureState("emphasis").style=s,e.add(h),ou(h)}}c(t.nextBtnPosition,"next",W(this._changeTimeline,this,u?"-":"+")),c(t.prevBtnPosition,"prev",W(this._changeTimeline,this,u?"+":"-")),c(t.playPosition,l?"stop":"play",W(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=W(s._handlePointerDrag,s),t.ondragend=W(s._handlePointerDragend,s),AG(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){AG(t,s._progressLine,o,n,i)}};this._currentPointer=CG(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=io(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var r=this._progressLine;r&&(r.shape.x2=n,r.dirty());var o=this._findNearestTick(n),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){return Jg(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],(function(n,o){var a=r.dataToCoord(n),s=Math.abs(a-t);s<i&&(i=s,e=o)})),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var i=0;i<e.length;i++)e&&e[i]&&e[i].toggleState("progress",i<t);if(n)for(i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",TG(n[i]).dataIndex<=t)},e.type="timeline.slider",e}(xG);function CG(t,e,n,i,r,o){var a=e.get("color");r?(r.setColor(a),n.add(r),o&&o.onUpdate(r)):((r=kv(t.get("symbol"),-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r));var s=e.getItemStyle(["color"]);r.setStyle(s),i=P({rectHover:!0,z2:100},i,!0);var l=Dv(t.get("symbolSize"));i.scaleX=l[0]/2,i.scaleY=l[1]/2;var u=Pv(t.get("symbolOffset"),l);u&&(i.x=(i.x||0)+u[0],i.y=(i.y||0)+u[1]);var c=t.get("symbolRotate");return i.rotation=(c||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function AG(t,e,n,i,r,o){if(!t.dragging){var a=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));if(o||!a.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}var IG=MG;function kG(t){var e=t&&t.timeline;Z(e)||(e=e?[e]:[]),B(e,(function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};n[e]&&(t.axisType=n[e],delete t.type);if(DG(t),PG(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});PG(i,"position")||(i.position=t.controlPosition),"none"!==i.position||PG(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}B(t.data||[],(function(t){Y(t)&&!Z(t)&&(!PG(t,"value")&&PG(t,"name")&&(t.value=t.name),DG(t))}))}(t)}))}function DG(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},r=i.normal||(i.normal={}),o={normal:1,emphasis:1};B(i,(function(t,e){o[e]||PG(r,e)||(r[e]=t)})),n.label&&!PG(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function PG(t,e){return t.hasOwnProperty(e)}function OG(t,e){if(!t)return!1;for(var n=Z(t)?t:[t],i=0;i<n.length;i++)if(n[i]&&n[i][e])return!0;return!1}function EG(t){Ao(t,"label",["show"])}var LG=Bo(),RG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(l.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var r=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),o=LG(t)[r];n&&n.data?(o?o._mergeOption(n,e,!0):(i&&EG(n),B(n.data,(function(t){t instanceof Array?(EG(t[0]),EG(t[1])):EG(t)})),E(o=this.createMarkerModelFromSeries(n,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),o.__hostSeries=t),LG(t)[r]=o):LG(t)[r]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return Ff("section",{header:this.name,blocks:[Ff("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.prototype.getDataParams=function(t,e){var n=Up.prototype.getDataParams.call(this,t,e),i=this.__hostSeries;return i&&(n.seriesId=i.id,n.seriesName=i.name,n.seriesType=i.subType),n},e.getMarkerModelFromSeries=function(t,e){return LG(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(ch);N(RG,Up.prototype);var NG=RG,FG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(NG),BG=FG;function zG(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function VG(t,e,n,i,r,o){var a=[],s=fw(e,i)?e.getCalculationInfo("stackResultDimension"):i,l=$G(e,s,t),u=e.indicesOfNearest(s,l)[0];a[r]=e.get(n,u),a[o]=e.get(s,u);var c=e.get(i,u),h=ro(e.get(i,u));return(h=Math.min(h,20))>=0&&(a[o]=+a[o].toFixed(h)),[a,c]}var jG={min:H(VG,"min"),max:H(VG,"max"),average:H(VG,"average"),median:H(VG,"median")};function GG(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!Z(e.coord)&&Z(r)){var o=WG(e,n,i,t);if((e=D(e)).type&&jG[e.type]&&o.baseAxis&&o.valueAxis){var a=R(r,o.baseAxis.dim),s=R(r,o.valueAxis.dim),l=jG[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&Z(r))for(var u=e.coord,c=0;c<2;c++)jG[u[c]]&&(u[c]=$G(n,n.mapDimension(r[c]),u[c]));else e.coord=[];return e}}function WG(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function HG(t,e){return!(t&&t.containData&&e.coord&&!zG(e))||t.containData(e.coord)}function ZG(t,e){return t?function(t,n,i,r){return tf(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return tf(t.value,e[r])}}function $G(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var UG=Bo(),XG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){this.markerGroupMap=gt()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){UG(t).keep=!1})),e.eachSeries((function(t){var r=NG.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!UG(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){UG(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;B(t,(function(t){var i=NG.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?Xl(t):ql(t))}))}))},e.type="marker",e}(ud),qG=XG;function YG(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=eo(a.get("x"),n.getWidth()),l=eo(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),c=t.get(i.dimensions[1],r);o=i.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var KG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=NG.getMarkerModelFromSeries(t,"markPoint");e&&(YG(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new Aw),u=function(t,e,n){var i;i=t?z(t&&t.dimensions,(function(t){return E(E({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new aw(i,n),o=z(n.get("data"),H(GG,e));t&&(o=j(o,H(HG,t)));var a=ZG(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),YG(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if($(i)||$(r)||$(o)||$(s)){var c=e.getRawValue(t),h=e.getDataParams(t);$(i)&&(i=i(c,h)),$(r)&&(r=r(c,h)),$(o)&&(o=o(c,h)),$(s)&&(s=s(c,h))}var p=n.getModel("itemStyle").getItemStyle(),f=pv(a,"color");p.fill||(p.fill=f),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){fl(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(qG);var JG=KG;var QG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(NG),tW=QG,eW=Bo(),nW=function(t,e,n,i){var r,o=t.getData();if(Z(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=nt(i.yAxis,i.xAxis);else{var u=WG(i,o,e,t);s=u.valueAxis,l=$G(o,dw(o,u.valueDataDim),a)}var c="x"===s.dim?0:1,h=1-c,p=D(i),f={coord:[]};p.type=null,p.coord=[],p.coord[h]=-1/0,f.coord[h]=1/0;var d=n.get("precision");d>=0&&q(l)&&(l=+l.toFixed(Math.min(d,20))),p.coord[c]=f.coord[c]=l,r=[p,f,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[GG(t,r[0]),GG(t,r[1]),E({},r[2])];return g[2].type=g[2].type||null,P(g[2],g[0]),P(g[2],g[1]),g};function iW(t){return!isNaN(t)&&!isFinite(t)}function rW(t,e,n,i){var r=1-t,o=i.dimensions[t];return iW(e[r])&&iW(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function oW(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(rW(1,n,i,t)||rW(0,n,i,t)))return!0}return HG(t,e[0])&&HG(t,e[1])}function aW(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=eo(s.get("x"),r.getWidth()),u=eo(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=a.dimensions,h=t.get(c[0],e),p=t.get(c[1],e);o=a.dataToPoint([h,p])}if(Hw(a,"cartesian2d")){var f=a.getAxis("x"),d=a.getAxis("y");c=a.dimensions;iW(t.get(c[0],e))?o[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):iW(t.get(c[1],e))&&(o[1]=d.toGlobalCoord(d.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var sW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=NG.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=eW(e).from,o=eW(e).to;r.each((function(e){aW(r,e,!0,t,n),aW(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new AP);this.group.add(l.group);var u=function(t,e,n){var i;i=t?z(t&&t.dimensions,(function(t){return E(E({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new aw(i,n),o=new aw(i,n),a=new aw([],n),s=z(n.get("data"),H(nW,e,t,n));t&&(s=j(s,H(oW,t)));var l=ZG(!!t,i);return r.initData(z(s,(function(t){return t[0]})),null,l),o.initData(z(s,(function(t){return t[1]})),null,l),a.initData(z(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),c=u.from,h=u.to,p=u.line;eW(e).from=c,eW(e).to=h,e.setData(p);var f=e.get("symbol"),d=e.get("symbolSize"),g=e.get("symbolRotate"),m=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);aW(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=pv(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:it(o.get("symbolOffset",!0),m[r?0:1]),symbolRotate:it(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:it(o.get("symbolSize"),d[r?0:1]),symbol:it(o.get("symbol",!0),f[r?0:1]),style:s})}Z(f)||(f=[f,f]),Z(d)||(d=[d,d]),Z(g)||(g=[g,g]),Z(m)||(m=[m,m]),u.from.each((function(t){v(c,t,!0),v(h,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[c.getItemLayout(t),h.getItemLayout(t)]),null==e.stroke&&(e.stroke=c.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(t,"symbolOffset"),fromSymbolRotate:c.getItemVisual(t,"symbolRotate"),fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(t,"symbolOffset"),toSymbolRotate:h.getItemVisual(t,"symbolRotate"),toSymbolSize:h.getItemVisual(t,"symbolSize"),toSymbol:h.getItemVisual(t,"symbol"),style:e})})),l.updateData(p),u.line.eachItemGraphicEl((function(t){fl(t).dataModel=e,t.traverse((function(t){fl(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(qG);var lW=sW;var uW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(NG),cW=uW,hW=Bo(),pW=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=GG(t,r),s=GG(t,o),l=a.coord,u=s.coord;l[0]=nt(l[0],-1/0),l[1]=nt(l[1],-1/0),u[0]=nt(u[0],1/0),u[1]=nt(u[1],1/0);var c=O([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c}};function fW(t){return!isNaN(t)&&!isFinite(t)}function dW(t,e,n,i){var r=1-t;return fW(e[r])&&fW(n[r])}function gW(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return Hw(t,"cartesian2d")?!(!n||!i||!dW(1,n,i)&&!dW(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!zG(e)&&!zG(n))||t.containZone(e.coord,n.coord)}(t,r,o):HG(t,r)||HG(t,o)}function mW(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=eo(s.get(n[0]),r.getWidth()),u=eo(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var c=t.getValues(["x0","y0"],e),h=t.getValues(["x1","y1"],e),p=a.clampData(c),f=a.clampData(h),d=[];"x0"===n[0]?d[0]=p[0]>f[0]?h[0]:c[0]:d[0]=p[0]>f[0]?c[0]:h[0],"y0"===n[1]?d[1]=p[1]>f[1]?h[1]:c[1]:d[1]=p[1]>f[1]?c[1]:h[1],o=i.getMarkerPosition(d,n,!0)}else{var g=[y=t.get(n[0],e),_=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(Hw(a,"cartesian2d")){var m=a.getAxis("x"),v=a.getAxis("y"),y=t.get(n[0],e),_=t.get(n[1],e);fW(y)?o[0]=m.toGlobalCoord(m.getExtent()["x0"===n[0]?0:1]):fW(_)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var vW=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],yW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=NG.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=z(vW,(function(r){return mW(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new $r});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=z(t&&t.dimensions,(function(t){var n=e.getData();return E(E({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=z(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new aw(r,n)}else i=new aw(r=[{name:"value",type:"float"}],n);var s=z(n.get("data"),H(pW,e,t,n));t&&(s=j(s,H(gW,t)));var l=t?function(t,e,n,i){return tf(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return tf(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=z(vW,(function(n){return mW(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),c=s.getExtent(),h=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],p=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];io(h),io(p);var f=!!(l[0]>h[1]||l[1]<h[0]||c[0]>p[1]||c[1]<p[0]);u.setItemLayout(e,{points:n,allClipped:f});var d=u.getItemModel(e).getModel("itemStyle").getItemStyle(),g=pv(a,"color");d.fill||(d.fill=g,U(d.fill)&&(d.fill=ai(d.fill,.4))),d.stroke||(d.stroke=g),u.setItemVisual(e,"style",d)})),u.diff(hW(l).data).add((function(t){var e=u.getItemLayout(t);if(!e.allClipped){var n=new og({shape:{points:e.points}});u.setItemGraphicEl(t,n),l.group.add(n)}})).update((function(t,n){var i=hW(l).data.getItemGraphicEl(n),r=u.getItemLayout(t);r.allClipped?i&&l.group.remove(i):(i?yu(i,{shape:{points:r.points}},e,t):i=new og({shape:{points:r.points}}),u.setItemGraphicEl(t,i),l.group.add(i))})).remove((function(t){var e=hW(l).data.getItemGraphicEl(t);l.group.remove(e)})).execute(),u.eachItemGraphicEl((function(t,n){var i=u.getItemModel(n),r=u.getItemVisual(n,"style");t.useStyle(u.getItemVisual(n,"style")),Iu(t,ku(i),{labelFetcher:e,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:U(r.fill)?ai(r.fill,1):"#000"}),cu(t,i),au(t,null,null,i.get(["emphasis","disabled"])),fl(t).dataModel=e})),hW(l).data=u,l.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(qG);var _W=yW;var xW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),Z(e)&&B(e,(function(t,i){U(t)&&(t={type:t}),e[i]=P(t,function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&Ro(i)&&e.push(i.name)})),this._availableNames=n;var i=this.get("data")||e,r=gt(),o=z(i,(function(t){return(U(t)||q(t))&&(t={name:t}),r.get(t.name)?null:(r.set(t.name,!0),new tc(t,this,this.ecModel))}),this);this._data=j(o,(function(t){return!!t}))},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&B(this._data,(function(t){e[t.get("name")]=!1}));e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;B(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;B(t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&R(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(ch),bW=xW,wW=H,SW=B,TW=$r,MW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return o(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new TW),this.group.add(this._selectorGroup=new TW),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),h=nh(l,u,c),p=this.layoutInner(t,r,h,i,a,s),f=nh(L({width:p.width,height:p.height},l),u,c);this.group.x=f.x-p.x,this.group.y=f.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=AV(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=gt(),u=e.get("selectedMode"),c=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&c.push(t.id)})),SW(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var h=new TW;return h.newline=!0,void s.add(h)}var p=n.getSeriesByName(a)[0];if(!l.get(a)){if(p){var f=p.getData(),d=f.getVisual("legendLineStyle")||{},g=f.getVisual("legendIcon"),m=f.getVisual("style"),v=this._createItem(p,a,o,r,e,t,d,m,g,u,i);v.on("click",wW(CW,a,null,i,c)).on("mouseover",wW(IW,p.name,null,i,c)).on("mouseout",wW(kW,p.name,null,i,c)),n.ssr&&v.eachChild((function(t){var e=fl(t);e.seriesIndex=p.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var h=s.legendVisualProvider;if(!h.containName(a))return;var p=h.indexOfName(a),f=h.getItemVisual(p,"style"),d=h.getItemVisual(p,"legendIcon"),g=ti(f.fill);g&&0===g[3]&&(g[3]=.2,f=E(E({},f),{fill:si(g,"rgba")}));var m=this._createItem(s,a,o,r,e,t,{},f,d,u,i);m.on("click",wW(CW,null,a,i,c)).on("mouseover",wW(IW,null,a,i,c)).on("mouseout",wW(kW,null,a,i,c)),n.ssr&&m.eachChild((function(t){var e=fl(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();SW(t,(function(t){var i=t.type,r=new pl({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect",legendId:e.id})}});o.add(r),Iu(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),ou(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,c){var h=t.visualDrawType,p=r.get("itemWidth"),f=r.get("itemHeight"),d=r.isSelected(e),g=i.get("symbolRotate"),m=i.get("symbolKeepAspect"),v=i.get("icon"),y=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),SW(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),c=0===t.lastIndexOf("empty",0)?"fill":"stroke",h=l.getShallow("decal");u.decal=h&&"inherit"!==h?ay(h,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[c]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var p=e.getModel("lineStyle"),f=p.getLineStyle();if(s(f,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===f.stroke&&(f.stroke=i.fill),!o){var d=e.get("inactiveBorderWidth"),g=u[c];u.lineWidth="auto"===d?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),f.stroke=p.get("inactiveColor"),f.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}(l=v||l||"roundRect",i,a,s,h,d,c),_=new TW,x=i.getModel("textStyle");if(!$(t.getLegendIcon)||v&&"inherit"!==v){var b="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;_.add(function(t){var e=t.icon||"roundRect",n=kv(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:p,itemHeight:f,icon:l,iconRotate:b,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:m}))}else _.add(t.getLegendIcon({itemWidth:p,itemHeight:f,icon:l,iconRotate:g,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:m}));var w="left"===o?p+5:-5,S=o,T=r.get("formatter"),M=e;U(T)&&T?M=T.replace("{name}",null!=e?e:""):$(T)&&(M=T(e));
vendor: 5,226 bytes, line 1
1var C=d?x.getTextColor():i.get("inactiveColor");_.add(new pl({style:Du(x,{text:M,x:w,y:f/2,fill:C,align:S,verticalAlign:"middle"},{inheritColor:C})}));var A=new Ys({shape:_.getBoundingRect(),style:{fill:"transparent"}}),I=i.getModel("tooltip");return I.get("show")&&lm({el:A,componentModel:r,itemName:e,itemTooltipOption:I.option}),_.add(A),_.eachChild((function(t){t.silent=!0})),A.silent=!u,this.getContentGroup().add(_),ou(_),_.__legendDataIndex=n,_},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();eh(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){eh("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],p=t.get("selectorButtonGap",!0),f=t.getOrient().index,d=0===f?"width":"height",g=0===f?"height":"width",m=0===f?"y":"x";"end"===o?h[f]+=l[d]+p:u[f]+=c[d]+p,h[1-f]+=l[g]/2-c[g]/2,s.x=h[0],s.y=h[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[d]=l[d]+p+c[d],v[g]=Math.max(l[g],c[g]),v[m]=Math.min(0,c[m]+h[1-f]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(ud);function CW(t,e,n,i){kW(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),IW(t,e,n,i)}function AW(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i<r&&!(e=n[i].states.emphasis);)i++;return e&&e.hoverLayer}function IW(t,e,n,i){AW(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function kW(t,e,n,i){AW(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}var DW=MW;function PW(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}function OW(t,e,n){var i="allSelect"===t||"inverseSelect"===t,r={},o=[];n.eachComponent({mainType:"legend",query:e},(function(n){i?n[t]():n[t](e.name),EW(n,r),o.push(n.componentIndex)}));var a={};return n.eachComponent("legend",(function(t){B(r,(function(e,n){t[e?"select":"unSelect"](n)})),EW(t,a)})),i?{selected:a,legendIndex:o}:{name:e.name,selected:a}}function EW(t,e){var n=e||{};return B(t.getData(),(function(e){var i=e.get("name");if("\n"!==i&&""!==i){var r=t.isSelected(i);_t(n,i)?n[i]=n[i]&&r:n[i]=r}})),n}function LW(t){t.registerComponentModel(bW),t.registerComponentView(DW),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,PW),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(t){t.registerAction("legendToggleSelect","legendselectchanged",H(OW,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",H(OW,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",H(OW,"inverseSelect")),t.registerAction("legendSelect","legendselected",H(OW,"select")),t.registerAction("legendUnSelect","legendunselected",H(OW,"unSelect"))}(t)}var RW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=ah(e);t.prototype.init.call(this,e,n,i),NW(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),NW(this,this.option,e)},e.type="legend.scroll",e.defaultOption=ic(bW.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(bW);function NW(t,e,n){var i=[1,1];i[t.getOrient().index]=0,oh(e,n,{type:"box",ignoreSize:!!i})}var FW=RW,BW=$r,zW=["width","height"],VW=["x","y"],jW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return o(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new BW),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new BW)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,o,a,s){var l=this;t.prototype.renderInner.call(this,e,n,i,r,o,a,s);var u=this._controllerGroup,c=n.get("pageIconSize",!0),h=Z(c)?c:[c,c];f("pagePrev",0);var p=n.getModel("pageTextStyle");function f(t,e){var i=t+"DataIndex",o=rm(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:W(l._pageGo,l,i,n,r)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});o.name=t,u.add(o)}u.add(new pl({name:"pageText",style:{text:"xx/xx",fill:p.getTextColor(),font:p.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getSelectorGroup(),s=t.getOrient().index,l=zW[s],u=VW[s],c=zW[1-s],h=VW[1-s];r&&eh("horizontal",a,t.get("selectorItemGap",!0));
vendor: 6,563 bytes, line 1
1var p=t.get("selectorButtonGap",!0),f=a.getBoundingRect(),d=[-f.x,-f.y],g=D(n);r&&(g[l]=n[l]-f[l]-p);var m=this._layoutContentAndController(t,i,g,s,l,c,h,u);if(r){if("end"===o)d[s]+=m[l]+p;else{var v=f[l]+p;d[s]-=v,m[u]-=v}m[l]+=f[l]+p,d[1-s]+=m[h]+m[c]/2-f[c]/2,m[c]=Math.max(m[c],f[c]),m[h]=Math.min(m[h],f[h]+d[1-s]),a.x=d[0],a.y=d[1],a.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,e,n,i,r,o,a,s){var l=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;eh(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),eh("horizontal",c,t.get("pageButtonItemGap",!0));var h=l.getBoundingRect(),p=c.getBoundingRect(),f=this._showController=h[r]>n[r],d=[-h.x,-h.y];e||(d[i]=l[s]);var g=[0,0],m=[-p.x,-p.y],v=it(t.get("pageButtonGap",!0),t.get("itemGap",!0));f&&("end"===t.get("pageButtonPosition",!0)?m[i]+=n[r]-p[r]:g[i]+=p[r]+v);m[1-i]+=h[o]/2-p[o]/2,l.setPosition(d),u.setPosition(g),c.setPosition(m);var y={x:0,y:0};if(y[r]=f?n[r]:h[r],y[o]=Math.max(h[o],p[o]),y[a]=Math.min(0,p[a]+m[1-i]),u.__rectSize=n[r],f){var _={x:0,y:0};_[r]=Math.max(n[r]-p[r]-v,0),_[o]=y[o],u.setClipPath(new Ys({shape:_})),u.__rectSize=_[r]}else c.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(t);return null!=x.pageIndex&&yu(l,{x:x.contentPosition[0],y:x.contentPosition[1]},f?t:null),this._updatePageInfoView(t,x),y},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;B(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",U(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=zW[r],a=VW[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],c=l.length,h=c?1:0,p={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var f=y(u);p.contentPosition[r]=-f.s;for(var d=s+1,g=f,m=f,v=null;d<=c;++d)(!(v=y(l[d]))&&m.e>g.s+i||v&&!_(v,g.s))&&(g=m.i>g.i?m:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),m=v;for(d=s-1,g=f,m=f,v=null;d>=-1;--d)(v=y(l[d]))&&_(m,v.s)||!(g.i<m.i)||(m=g,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=g.i),++p.pageCount,++p.pageIndex),g=v;return p;function y(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(DW),GW=jW;function WW(t){y_(LW),t.registerComponentModel(FW),t.registerComponentView(GW),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}var HW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.inside",e.defaultOption=ic(aV.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(aV),ZW=HW,$W=Bo();function UW(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function XW(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function qW(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function YW(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=$W(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=gt());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){B(nV(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:H(qW,e),dispatchAction:H(XW,t),dataZoomInfoMap:null,controller:null},i=n.controller=new lA(t.getZr());return B(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=gt())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Tm(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else UW(i,t)}))}))}var KW=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return o(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){$W(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}(i,e,{pan:W(JW.pan,this),zoom:W(JW.zoom,this),scrollMove:W(JW.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=$W(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||UW(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(cV),JW={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];
vendor: 4,595 bytes, line 1
1if(a){var s=tH[e](null,[i.originX,i.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return DO(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:QW((function(t,e,n,i,r,o){var a=tH[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:QW((function(t,e,n,i,r,o){return tH[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function QW(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return DO(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var tH={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},eH=KW;function nH(t){_V(t),t.registerComponentModel(ZW),t.registerComponentView(eH),YW(t)}var iH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=ic(aV.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(aV),rH=iH,oH=Ys,aH="horizontal",sH="vertical",lH=["line","bar","candlestick","scatter"],uH={easing:"cubicOut",duration:100,delay:0},cH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return o(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=W(this._onBrush,this),this._onBrushEnd=W(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Tm(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Mm(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new $r;
vendor: 4,225 bytes, line 1
1this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===aH?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=ah(t.option);B(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=nh(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===sH&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==aH||r?n===aH&&r?{scaleY:a?1:-1,scaleX:-1}:n!==sH||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new oH({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new oH({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:W(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var h,p=[0,e[1]],f=[0,e[0]],d=[[e[0],0],[0,0]],g=[],m=f[1]/(r.count()-1),v=0,y=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(y>0&&e%y)v+=m;else{var n=null==t||isNaN(t)||""===t,i=n?0:to(t,u,p,!0);n&&!h&&e?(d.push([d[d.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&h&&(d.push([v,0]),g.push([v,0])),d.push([v,i]),g.push([v,i]),v+=m,h=n}})),s=this._shadowPolygonPts=d,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var _=this.dataZoomModel,x=0;x<3;x++){var b=w(1===x);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(t){var e=_.getModel(t?"selectedDataBackground":"dataBackground"),n=new $r,i=new og({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new lg({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){B(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&R(lH,t.get("type"))<0)){var a,s=i.getComponent(tV(r),o).axis,l=function(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),c=e.filler=new oH({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(c),r.add(new oH({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[
vendor: 4,670 bytes, line 1
11],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),B([0,1],(function(e){var o=a.get("handleIcon");!Cv[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=kv(o,-1,0,2,2,null,!0);s.attr({cursor:hH(this._orient),draggable:!0,drift:W(this._onDragMove,this,e),ondragend:W(this._onDragEnd,this),onmouseover:W(this._showDataInfo,this,!0),onmouseout:W(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=eo(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),ou(s);var c=a.get("handleColor");null!=c&&(s.style.fill=c),r.add(n[e]=s);var h=a.getModel("textStyle"),p=(a.get("handleLabel")||{}).show||!1;t.add(i[e]=new pl({silent:!0,invisible:!p,style:Du(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))}),this);var h=c;if(u){var p=eo(a.get("moveHandleSize"),o[1]),f=e.moveHandle=new Ys({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),d=.8*p,g=e.moveHandleIcon=kv(a.get("moveHandleIcon"),-d/2,-d/2,d,d,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(o[1]/2,Math.max(p,10));(h=e.moveZone=new Ys({invisible:!0,shape:{y:o[1]-m,height:p+m}})).on("mouseover",(function(){s.enterEmphasis(f)})).on("mouseout",(function(){s.leaveEmphasis(f)})),r.add(f),r.add(g),r.add(h)}h.attr({draggable:!0,cursor:hH(this._orient),drift:W(this._onDragMove,this,"all"),ondragstart:W(this._showDataInfo,this,!0),ondragend:W(this._onDragEnd,this),onmouseover:W(this._showDataInfo,this,!0),onmouseout:W(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[to(t[0],[0,100],e,!0),to(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];DO(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?to(o.minSpan,a,r,!0):null,null!=o.maxSpan?to(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=io([to(i[0],r,a,!0),to(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=io(n.slice()),r=this._size;B([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;l<a.length;l++){var u=a[l],c=u.getClipPath();c||(c=new Ys,u.setClipPath(c)),c.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=io(this._handleEnds.slice());function h(t){var e=Kg(n.handles[t].parent,this.group),a=Qg(0===t?"right":"left",e),s=this._handleWidth/2+5,l=Jg([c[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===aH?"middle":a,align:r===aH?a:"center",text:o[t]})}h.call(this,0),h.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return $(i)?i(t,o):U(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){var e=(this.dataZoomModel.get("handleLabel")||{}).show||!1,n=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,i=t||this._dragging?n:e,r=this._displayables,o=r.handleLabels;o[0].attr("invisible",!i),o[1].attr("invisible",!i),r.moveHandle&&this.api[i?"enterEmphasis":"leaveEmphasis"](r.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,he(i.event);
vendor: 12,678 bytes, line 1
1var r=Jg([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),o=this._updateInterval(t,r[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),o&&a&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Te(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=io([to(n.x,i,r,!0),to(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(he(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new oH({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?uH:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=nV(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(cV);function hH(t){return"vertical"===t?"ns-resize":"ew-resize"}var pH=cH;function fH(t){t.registerComponentModel(rH),t.registerComponentView(pH),_V(t)}var dH={get:function(t,e,n){var i=D((gH[t]||{})[e]);return n&&Z(i)?i[i.length-1]:i}},gH={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},mH=dH,vH=yD.mapVisual,yH=yD.eachVisual,_H=Z,xH=B,bH=io,wH=to,SH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&$j(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=W(t,this),this.controllerVisuals=Zj(this.option.controller,e,t),this.targetVisuals=Zj(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=Co(t),e},e.prototype.eachTargetSeries=function(t,e){B(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],Z(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return U(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):$(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=bH([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});P(i,n),P(r,n);var o=this.isCategory();function a(n){_H(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},xH(i,(function(t,e){if(yD.isValidType(e)){var n=mH.get(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";xH(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&D(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&D(n)||(o?s[0]:[s[0],s[0]])),l.symbol=vH(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var c=-1/0;yH(u,(function(t){t>c&&(c=t)})),l.symbolSize=vH(u,(function(t){return wH(t,[0,c],[0,s[0]],!0)}))}}),this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(ch),TH=SH,MH=[20,140],CH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=MH[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=MH[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):Z(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),B(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=io((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=AH(this,"outOfRange",this.getExtent()),n=AH(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;a<l&&(!n.length||e[a]<=n[0]);a++)e[a]<n[o]&&r(e[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&i.length&&r(n[o],"outOfRange"),r(n[o],"inRange");for(u=1;a<l;a++)(!n.length||n[n.length-1]<e[a])&&(u&&(i.length&&r(i[i.length-1].value,"outOfRange"),u=0),r(e[a],"outOfRange"));var c=i.length;return{stops:i,outerColors:[c?i[0].color:"transparent",c?i[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=ic(TH.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(TH);function AH(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],o=[],a=0;a<=200&&r<n[1];a++)o.push(r),r+=i;return o.push(n[1]),o}var IH=CH,kH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return o(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,i):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=Hc(e.get("padding")||0),i=t.getBoundingRect();t.add(new Ys({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){var i=(n=n||{}).forceState,r=this.visualMapModel,o={};if("color"===e){var a=r.get("contentColor");o.color=a}function s(t){return o[t]}function l(t,e){o[t]=e}var u=r.controllerVisuals[i||r.getValueState(t)];return B(yD.prepareVisualTypes(u),(function(i){var r=u[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=u.__alphaForOpacity),yD.dependsOn(i,e)&&r&&r.applyVisual(t,s,l)})),o[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;ih(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(ud),DH=kH,PH=[["left","right","width"],["top","bottom","height"]];function OH(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},a="horizontal"===i.orient?1:0,s=PH[a],l=[0,null,10],u={},c=0;c<3;c++)u[PH[1-a][c]]=l[c],u[s[c]]=2===c?n[0]:i[s[c]];var h=[["x","width",3],["y","height",0]][a],p=nh(u,o,i.padding);return s[(p.margin[h[2]]||0)+p[h[0]]+.5*p[h[1]]<.5*o[h[1]]?0:1]}function EH(t,e){return B(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var LH=to,RH=B,NH=Math.min,FH=Math.max,BH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return o(e,t),e.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this._hoverLinkFromSeriesMouseOver=W(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=W(this._hideIndicator,this)},e.prototype.doRender=function(t,e,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackgroun
vendor: 7,136 bytes, line 1
1d(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new pl({style:Du(h,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:i})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,o=this._useHandle,a=OH(e,this.api,i),s=n.mainGroup=this._createBarGroup(a),l=new $r;s.add(l),l.add(n.outOfRange=zH()),l.add(n.inRange=zH(null,o?jH(this._orient):null,W(this._dragHandle,this,"all",!1),W(this._dragHandle,this,"all",!0))),l.setClipPath(new Ys({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var u=e.textStyleModel.getTextRect("å½"),c=FH(u.width,u.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,s,0,i,c,r),this._createHandle(e,s,1,i,c,r)),this._createIndicator(e,s,i,c,r),t.add(s)},e.prototype._createHandle=function(t,e,n,i,r,o){var a=W(this._dragHandle,this,n,!1),s=W(this._dragHandle,this,n,!0),l=Or(t.get("handleSize"),i[0]),u=kv(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),c=jH(this._orient);u.attr({cursor:c,draggable:!0,drift:a,ondragend:s,onmousemove:function(t){he(t.event)}}),u.x=i[0]/2,u.useStyle(t.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),hu(u,!0),e.add(u);var h=this.visualMapModel.textStyleModel,p=new pl({cursor:c,draggable:!0,drift:a,onmousemove:function(t){he(t.event)},ondragend:s,style:Du(h,{x:0,y:0,text:""})});p.ensureState("blur").style={opacity:.1},p.stateTransition={duration:200},this.group.add(p);var f=[l,0],d=this._shapes;d.handleThumbs[n]=u,d.handleLabelPoints[n]=f,d.handleLabels[n]=p},e.prototype._createIndicator=function(t,e,n,i,r){var o=Or(t.get("indicatorSize"),n[0]),a=kv(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=t.getModel("indicatorStyle").getItemStyle();if(a instanceof Gs){var l=a.style;a.useStyle(E({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else a.useStyle(s);e.add(a);var u=this.visualMapModel.textStyleModel,c=new pl({silent:!0,invisible:!0,style:Du(u,{x:0,y:0,text:""})});this.group.add(c);var h=[("horizontal"===r?i/2:6)+n[0]/2,0],p=this._shapes;p.indicator=a,p.indicatorLabel=c,p.indicatorLabelPoint=h,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():VH(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[LH(e[0],n,i,!0),LH(e[1],n,i,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];DO(e,i,r,t,0);var o=n.getExtent();this._dataInterval=[LH(i[0],r,o,!0),LH(i[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),a=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(n,a);return{barColor:new Tg(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+i*r;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new $r("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent(),l=this._applyTransform("left",n.mainGroup);RH([0,1],(function(u){var c=r[u];c.setStyle("fill",e.handlesColor[u]),c.y=t[u];var h=LH(t[u],[0,a[1]],s,!0),p=this.getControllerVisual(h,"symbolSize");c.scaleX=c.scaleY=p/a[0],c.x=a[0]-p/2;var f=Jg(n.handleLabelPoints[u],Kg(c,this.group));if("horizontal"===this._orient){var d="left"===l||"top"===l?(a[0]-p)/2:(a[0]-p)/-2;f[1]+=d}o[u].setStyle({x:f[0],y:f[1],text:i.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),h=this.getControllerVisual(t,"symbolSize"),p=LH(t,o,s,!0),f=a[0]-h/2,d={x:u.x,y:u.y};u.y=p,u.x=f;var g=Jg(l.indicatorLabelPoint,Kg(u,this.group)),m=l.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),y="horizontal"===this._orient;m.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:y?v:"middle",align:y?"center":v});var _={x:f,y:p,style:{fill:c}},x={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=d.x,u.y=d.y,u.animateTo(_,b),m.animateTo(x,b)}else u.attr(_),m.attr(x);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;S<w.length;S++)this.api.enterBlur(w[S])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,
vendor: 19,756 bytes, line 1
1!0);i[1]=NH(FH(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=NH(FH(r[0],t),r[1]);var a=function(t,e,n){var i=6,r=t.get("hoverLinkDataSize");r&&(i=LH(r,e,n,!0)/2);return i}(n,o,r),s=[t-a,t+a],l=LH(t,r,o,!0),u=[LH(s[0],r,o,!0),LH(s[1],r,o,!0)];s[0]<r[0]&&(u[0]=-1/0),s[1]>r[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"â ",a));var c=this._hoverLinkDataIndices,h=[];(e||VH(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=Lo(t[i].seriesId,null);if(null==o)return;for(var a=Co(t[i].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}(c,h);this._dispatchHighDown("downplay",EH(p[0],n)),this._dispatchHighDown("highlight",EH(p[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(mv(t.target,(function(t){var n=fl(t);if(null!=n.dataIndex)return e=n,!0}),!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var r=n.getData(e.dataType),o=r.getStore().get(i.getDataDimensionIndex(r),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this.api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",EH(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,i){var r=Kg(e,i?null:this.group);return Z(t)?Jg(t,r,n):Qg(t,r,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(DH);function zH(t,e,n,i){return new og({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){he(t.event)},ondragend:i})}function VH(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function jH(t){return"vertical"===t?"ns-resize":"ew-resize"}var GH=BH,WH={type:"selectDataRange",event:"dataRangeSelected",update:"update"},HH=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},ZH=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var i,r,o,a,s,l=t.pipelineContext;!e.isTargetSeries(t)||l&&l.large||n.push((i=e.stateList,r=e.targetVisuals,o=W(e.getValueState,e),a=e.getDataDimensionIndex(t.getData()),s={},B(i,(function(t){var e=yD.prepareVisualTypes(r[t]);s[t]=e})),{progress:function(t,e){var n,i;function l(t){return hv(e,i,t)}function u(t,n){fv(e,i,t,n)}null!=a&&(n=e.getDimensionIndex(a));for(var c=e.getStore();null!=(i=t.next());){var h=e.getRawDataItem(i);if(!h||!1!==h.visualMap)for(var p=null!=a?c.get(n,i):i,f=o(p),d=r[f],g=s[f],m=0,v=g.length;m<v;m++){var y=g[m];d[y]&&d[y].applyVisual(p,l,u)}}}}))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(W($H,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimensionIndex(n);o>=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function $H(t,e,n,i){for(var r=e.targetVisuals[i],o=yD.prepareVisualTypes(r),a={color:pv(t.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],c=r["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,h,p)}return a.color;function h(t){return a[t]}function p(t,e){a[t]=e}}var UH=B;function XH(t){var e=t&&t.visualMap;Z(e)||(e=e?[e]:[]),UH(e,(function(t){if(t){qH(t,"splitList")&&!qH(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&Z(e)&&UH(e,(function(t){Y(t)&&(qH(t,"start")&&!qH(t,"min")&&(t.min=t.start),qH(t,"end")&&!qH(t,"max")&&(t.max=t.end))}))}}))}function qH(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var YH=!1;function KH(t){YH||(YH=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(WH,HH),B(ZH,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(XH))}function JH(t){t.registerComponentModel(IH),t.registerComponentView(GH),KH(t)}var QH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return o(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],tZ[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=D(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=z(this._pieceList,(function(t){return t=D(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=yD.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}B(e.pieces,(function(t){B(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),B(n,(function(t,n){var i=!1;B(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&B(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=mH.get(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,B(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;B(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=D(t)},e.prototype.getValueState=function(t){var e=yD.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){yD.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return B(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=ic(TH.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(TH),tZ={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a<r;s+=o,a++){var l=a===r-1?i[1]:s+o;t.push({interval:[s,l],close:[1,1]})}e.maxOpen&&t.push({interval:[i[1],1/0],close:[0,0]}),vo(t),B(t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;B(e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),eZ(e,t)},pieces:function(t){var e=this.option;B(e.pieces,(function(e,n){Y(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var r=i.value=e.value;i.interval=[r,r],i.close=[1,1]}else{for(var o=i.interval=[],a=i.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],c=0;c<2;c++){for(var h=[["gte","gt","min"],["lte","lt","max"]][c],p=0;p<3&&null==o[c];p++)o[c]=e[h[p]],a[c]=s[p],u[c]=2===p;null==o[c]&&(o[c]=l[c])}u[0]&&o[1]===1/0&&(a[0]=0),u[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(i.value=o[0])}i.visual=yD.retrieveVisuals(e),t.push(i)}),this),eZ(e,t),vo(t),B(t,(function(t){var e=t.close,n=[["<","â¤"][e[1]],[">","â¥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function eZ(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var nZ=QH,iZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,c=nt(e.get("showLabel",!0),!u),h=!e.get("selectedMode");u&&this._renderEndsText(t,u[0],s,c,a),B(l.viewPieceList,(function(i){var l=i.piece,u=new $r;u.onclick=W(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var p=e.getRepresentValue(l);if(this._createItemSymbol(u,p,[0,0,s[0],s[1]],h),c){var f=this.visualMapModel.getValueState(p);u.add(new pl({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===f?.5:1},silent:h}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,c,a),eh(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:EH(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return OH(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new $r,a=this.visualMapModel.textStyleModel;o.add(new pl({style:Du(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=z(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n,i){var r=kv(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color"));r.silent=i,t.add(r)},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=D(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,B(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(DH),rZ=iZ;function oZ(t){t.registerComponentModel(nZ),t.registerComponentView(rZ),KH(t)}var aZ={label:{enabled:!0},decal:{show:!1}},sZ=Bo(),lZ={};function uZ(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=D(aZ);P(i.label,t.getLocaleModel().get("aria"),!1),P(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=gt();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),sZ(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if($(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=Fh(e.ecModel,e.name,lZ,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=sZ(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",c=Fh(e.ecModel,r,s,l),h=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(h,c))}))}}function u(t,e){var n=t?E(E({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=e.getZr().dom;if(!i)return;var o=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=L(a.option,o),!a.get("enabled"))return;if(i.setAttribute("role","img"),a.get("description"))return void i.setAttribute("aria-label",a.get("description"));var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,c=a.get(["series","maxCount"])||10,h=Math.min(l,c);if(l<1)return;var p=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();s=p?r(a.get(["general","withTitle"]),{title:p}):a.get(["general","withoutTitle"]);var f=[];s+=r(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n<h){var i=void 0,o=e.get("name")?"withName":"withoutName";i=r(i=l>1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(x=e.subType,b=t.getLocaleModel().get(["series","typeNames"]),b[x]||b.chart)});var s=e.getData();if(s.count()>u)i+=r(a.get(["data","partialData"]),{displayCnt:u});else i+=a.get(["data","allData"]);for(var c=a.get(["data","separator","middle"]),p=a.get(["data","separator","end"]),d=a.get(["data","excludeDimensionId"]),g=[],m=0;m<s.count();m++)if(m<u){var v=s.getName(m),y=d?j(s.getValues(m),(function(t,e){return-1===R(d,e)})):s.getValues(m),_=a.get(["data",v?"withName":"withoutName"]);g.push(r(_,{name:v,value:y.join(c)}))}i+=g.join(c)+p,f.push(i)}var x,b}));var d=a.getModel(["series","multiple","separator"]),g=d.get("middle"),m=d.get("end");s+=f.join(g)+m,i.setAttribute("aria-label",s)}()}function r(t,e){if(!U(t))return t;var n=t;return B(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}}function cZ(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},B(["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}var hZ={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},pZ=function(){function t(t){var e;if(null==(this._condVal=U(t)?new RegExp(t):(e=t,"[object RegExp]"===y.call(e)?t:null))){0,Qp("")}}return t.prototype.evaluate=function(t){var e=typeof t;return U(e)?this._condVal.test(t):!!q(e)&&this._condVal.test(t+"")},t}(),fZ=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),dZ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),gZ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),mZ=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),vZ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?n:e))return!1;return!0},t}();function yZ(t,e){if(!0===t||!1===t){var n=new fZ;return n.value=t,n}return xZ(t)||Qp(""),t.and?_Z("and",t,e):t.or?_Z("or",t,e):t.not?function(t,e){var n=t.not,i="";0;xZ(n)||Qp(i);var r=new mZ;r.child=yZ(n,e),r.child||Qp(i);return r}(t,e):function(t,e){for(var n="",i=e.prepareGetValue(t),r=[],o=G(t),a=t.parser,s=a?nf(a):null,l=0;l<o.length;l++){var u=o[l];if("parser"!==u&&!e.valueGetterAttrMap.get(u)){var c=_t(hZ,u)?hZ[u]:u,h=t[u],p=s?s(h):h,f=lf(c,p)||"reg"===c&&new pZ(p);f||Qp(n),r.push(f)}}r.length||Qp(n);var d=new vZ;return d.valueGetterParam=i,d.valueParser=s,d.getValue=e.getValue,d.subCondList=r,d}(t,e)}function _Z(t,e,n){var i=e[t];Z(i)||Qp(""),i.length||Qp("");var r="and"===t?new dZ:new gZ;return r.children=z(i,(function(t){return yZ(t,n)})),r.children.length||Qp(""),r}function xZ(t){return Y(t)&&!F(t)}var bZ=function(){function t(t,e){this._cond=yZ(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();var wZ={type:"echarts:filter",transform:function(t){for(var e,n,i,r=t.upstream,o=(n=t.config,i={valueGetterAttrMap:gt({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;_t(t,"dimension")||Qp("");var n=r.getDimensionInfo(e);return n||Qp(""),{dimIdx:n.index}},getValue:function(t){return r.retrieveValueFromItem(e,t.dimIdx)}},new bZ(n,i)),a=[],s=0,l=r.count();s<l;s++)e=r.getRawDataItem(s),o.evaluate()&&a.push(e);return{data:a}}};var SZ={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,i="",r=Co(n);r.length||Qp(i);var o=[];B(r,(function(t){var n=t.dimension,r=t.order,a=t.parser,s=t.incomparable;if(null==n&&Qp(i),"asc"!==r&&"desc"!==r&&Qp(i),s&&"min"!==s&&"max"!==s){0,Qp("")}if("asc"!==r&&"desc"!==r){0,Qp("")}var l=e.getDimensionInfo(n);l||Qp(i);var u=a?nf(a):null;a&&!u&&Qp(i),o.push({dimIdx:l.index,parser:u,comparator:new af(r,s)})}));var a=e.sourceFormat;a!==mh&&a!==vh&&Qp(i);for(var s=[],l=0,u=e.count();l<u;l++)s.push(e.getRawDataItem(l));return s.sort((function(t,n){for(var i=0;i<o.length;i++){var r=o[i],a=e.retrieveValueFromItem(t,r.dimIdx),s=e.retrieveValueFromItem(n,r.dimIdx);r.parser&&(a=r.parser(a),s=r.parser(s));var l=r.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:s}}};var TZ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return o(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new If(this),kf(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),kf(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:bh},e}(ch),MZ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return o(e,t),e.type="dataset",e}(ud);
vendor: 1,589 bytes, line 1
1var CZ=fs.CMD;function AZ(t,e){return Math.abs(t-e)<1e-5}function IZ(t){var e,n,i,r,o,a=t.data,s=t.len(),l=[],u=0,c=0,h=0,p=0;function f(t,n){e&&e.length>2&&l.push(e),e=[t,n]}function d(t,n,i,r){AZ(t,i)&&AZ(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=n<t?-1:1,c=Math.cos(t),h=Math.sin(t),p=Math.cos(n),f=Math.sin(n),d=c*o+i,g=h*a+r,m=p*o+i,v=f*a+r,y=o*l*u,_=a*l*u;e.push(d-y*h,g+_*c,m+y*f,v-_*p,m,v)}for(var m=0;m<s;){var v=a[m++],y=1===m;switch(y&&(h=u=a[m],p=c=a[m+1],v!==CZ.L&&v!==CZ.C&&v!==CZ.Q||(e=[h,p])),v){case CZ.M:u=h=a[m++],c=p=a[m++],f(h,p);break;case CZ.L:d(u,c,n=a[m++],i=a[m++]),u=n,c=i;break;case CZ.C:e.push(a[m++],a[m++],a[m++],a[m++],u=a[m++],c=a[m++]);break;case CZ.Q:n=a[m++],i=a[m++],r=a[m++],o=a[m++],e.push(u+2/3*(n-u),c+2/3*(i-c),r+2/3*(n-r),o+2/3*(i-o),r,o),u=r,c=o;break;case CZ.A:var _=a[m++],x=a[m++],b=a[m++],w=a[m++],S=a[m++],T=a[m++]+S;m+=1;var M=!a[m++];n=Math.cos(S)*b+_,i=Math.sin(S)*w+x,y?f(h=n,p=i):d(u,c,n,i),u=Math.cos(T)*b+_,c=Math.sin(T)*w+x;for(var C=(M?-1:1)*Math.PI/2,A=S;M?A>T:A<T;A+=C){g(A,M?Math.max(A+C,T):Math.min(A+C,T),_,x,b,w)}break;case CZ.R:h=u=a[m++],p=c=a[m++],n=h+a[m++],i=p+a[m++],f(n,p),d(n,p,n,i),d(n,i,h,i),d(h,i,h,p),d(h,p,n,p);break;case CZ.Z:e&&d(u,c,h,p),u=h,c=p}}return e&&e.length>2&&l.push(e),l}function kZ(t,e,n,i,r,o,a,s,l,u){if(AZ(t,n)&&AZ(e,i)&&AZ(r,a)&&AZ(o,s))l.push(a,s);else{var c=2/u,h=c*c,p=a-t,f=s-e,d=Math.sqrt(p*p+f*f);p/=d,f/=d;var g=n-t,m=i-e,v=r-a,y=o-s,_=g*g+m*m,x=v*v+y*y;if(_<h&&x<h)l.push(a,s);else{var b=p*g+f*m,w=-p*v-f*y;if(_-b*b<h&&b>=0&&x-w*w<h&&w>
vendor: 25,522 bytes, line 1
1=0)l.push(a,s);else{var S=[],T=[];Cn(t,n,r,a,.5,S),Cn(e,i,o,s,.5,T),kZ(S[0],T[0],S[1],T[1],S[2],T[2],S[3],T[3],l,u),kZ(S[4],T[4],S[5],T[5],S[6],T[6],S[7],T[7],l,u)}}}}function DZ(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u<a;u++)l.push(s);var c=n-a*s;if(c>0)for(u=0;u<c;u++)l[u%a]+=1;return l}function PZ(t,e,n){for(var i=t.r0,r=t.r,o=t.startAngle,a=t.endAngle,s=Math.abs(a-o),l=s*r,u=r-i,c=l>Math.abs(u),h=DZ([l,u],c?0:1,e),p=(c?s:u)/h.length,f=0;f<h.length;f++)for(var d=(c?u:s)/h[f],g=0;g<h[f];g++){var m={};c?(m.startAngle=o+p*f,m.endAngle=o+p*(f+1),m.r0=i+d*g,m.r=i+d*(g+1)):(m.startAngle=o+d*g,m.endAngle=o+d*(g+1),m.r0=i+p*f,m.r=i+p*(f+1)),m.clockwise=t.clockwise,m.cx=t.cx,m.cy=t.cy,n.push(m)}}function OZ(t,e,n,i){return t*i-n*e}function EZ(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,p=OZ(c,h,l,u);if(Math.abs(p)<1e-6)return null;var f=OZ(t-r,e-o,c,h)/p;return f<0||f>1?null:new Te(f*l+t,f*u+e)}function LZ(t,e,n){var i=new Te;Te.sub(i,n,e),i.normalize();var r=new Te;return Te.sub(r,t,e),r.dot(i)}function RZ(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function NZ(t){var e=t.points,n=[],i=[];ja(e,n,i);var r=new Le(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new Te,c=new Te;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;o<i;o++){var a=t[o],s=t[(o+1)%i],l=EZ(a[0],a[1],s[0],s[1],e.x,e.y,n.x,n.y);l&&r.push({projPt:LZ(l,e,n),pt:l,idx:o})}if(r.length<2)return[{points:t},{points:t}];r.sort((function(t,e){return t.projPt-e.projPt}));var u=r[0],c=r[r.length-1];if(c.idx<u.idx){var h=u;u=c,c=h}var p=[u.pt.x,u.pt.y],f=[c.pt.x,c.pt.y],d=[p],g=[f];for(o=u.idx+1;o<=c.idx;o++)RZ(d,t[o].slice());for(RZ(d,f),RZ(d,p),o=c.idx+1;o<=u.idx+i;o++)RZ(g,t[o%i].slice());return RZ(g,p),RZ(g,f),[{points:d},{points:g}]}(e,u,c)}function FZ(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),o=t(e);FZ(t,o[0],r,i),FZ(t,o[1],n-r,i)}return i}function BZ(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function zZ(t,e){var n,i=[],r=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var i=t.width,r=t.height,o=i>r,a=DZ([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",h=t[s]/a.length,p=0;p<a.length;p++)for(var f=t[l]/a[p],d=0;d<a[p];d++){var g={};g[u]=p*h,g[c]=d*f,g[s]=h,g[l]=f,g.x+=t.x,g.y+=t.y,n.push(g)}}(r,e,i),n=Ys;break;case"sector":PZ(r,e,i),n=Jd;break;case"circle":PZ({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,i),n=Jd;break;default:var o=t.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=z(function(t,e){var n=IZ(t),i=[];e=e||1;for(var r=0;r<n.length;r++){var o=n[r],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var c=o[u++],h=o[u++],p=o[u++],f=o[u++],d=o[u++],g=o[u++];kZ(s,l,c,h,p,f,d,g,a,e),s=d,l=g}i.push(a)}return i}(t.getUpdatedPathProxy(),a),(function(t){return function(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}(t)})),l=s.length;if(0===l)FZ(NZ,{points:s[0]},e,i);else if(l===e)for(var u=0;u<l;u++)i.push({points:s[u]});else{var c=0,h=z(s,(function(t){var e=[],n=[];ja(t,e,n);var i=(n[1]-e[1])*(n[0]-e[0]);return c+=i,{poly:t,area:i}}));h.sort((function(t,e){return e.area-t.area}));var p=e;for(u=0;u<l;u++){var f=h[u];if(p<=0)break;var d=u===l-1?p:Math.ceil(f.area/c*e);d<0||(FZ(NZ,{points:f.poly},d,i),p-=d)}}n=og}if(!n)return function(t,e){for(var n=[],i=0;i<e;i++)n.push(Dd(t));return n}(t,e);var g=[];for(u=0;u<i.length;u++){var m=new n;m.setShape(i[u]),BZ(t,m),g.push(m)}return g}function VZ(t,e){var n=t.length,i=e.length;if(n===i)return[t,e];for(var r=[],o=[],a=n<i?t:e,s=Math.min(n,i),l=Math.abs(i-n)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,h=[a[0],a[1]],p=l,f=2;f<s;){var d=a[f-2],g=a[f-1],m=a[f++],v=a[f++],y=a[f++],_=a[f++],x=a[f++],b=a[f++];if(p<=0)h.push(m,v,y,_,x,b);else{for(var w=Math.min(p,c-1)+1,S=1;S<=w;S++){var T=S/w;Cn(d,m,y,x,T,r),Cn(g,v,_,b,T,o),d=r[3],g=o[3],h.push(r[1],o[1],r[2],o[2],d,g),m=r[5],v=o[5],y=r[6],_=o[6]}p-=w-1}}return a===t?[h,e]:[t,h]}function jZ(t,e){for(var n=t.length,i=t[n-2],r=t[n-1],o=[],a=0;a<e.length;)o[a++]=i,o[a++]=r;return o}function GZ(t){for(var e=0,n=0,i=0,r=t.length,o=0,a=r-2;o<r;a=o,o+=2){var s=t[a],l=t[a+1],u=t[o],c=t[o+1],h=s*c-u*l;e+=h,n+=(s+u)*h,i+=(l+c)*h}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,i/e/3,e]}function WZ(t,e,n,i){for(var r=(t.length-2)/6,o=1/0,a=0,s=t.length,l=s-2,u=0;u<r;u++){for(var c=6*u,h=0,p=0;p<s;p+=2){var f=0===p?c:(c+p-2)%l+2,d=t[f]-n[0],g=t[f+1]-n[1],m=e[p]-i[0]-d,v=e[p+1]-i[1]-g;h+=m*m+v*v}h<o&&(o=h,a=u)}return a}function HZ(t){for(var e=[],n=t.length,i=0;i<n;i+=2)e[i]=t[n-i-2],e[i+1]=t[n-i-1];return e}function ZZ(t){return t.__isCombineMorphing}var $Z="__mOriginal_";function UZ(t,e,n){var i=$Z+e,r=t[i]||t[e];t[i]||(t[i]=t[e]);var o=n.replace,a=n.after,s=n.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=o?o.apply(this,e):r.apply(this,e),a&&a.apply(this,e),t}}function XZ(t,e){var n=$Z+e;t[n]&&(t[e]=t[n],t[n]=null)}function qZ(t,e){for(var n=0;n<t.length;n++)for(var i=t[n],r=0;r<i.length;){var o=i[r],a=i[r+1];i[r++]=e[0]*o+e[2]*a+e[4],i[r++]=e[1]*o+e[3]*a+e[5]}}function YZ(t,e){var n=t.getUpdatedPathProxy(),i=e.getUpdatedPathProxy(),r=function(t,e){for(var n,i,r,o=[],a=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],u=e[s],c=void 0,h=void 0;l?u?(i=c=(n=VZ(l,u))[0],r=h=n[1]):(h=jZ(r||l,l),c=l):(c=jZ(i||u,u),h=u),o.push(c),a.push(h)}return[o,a]}(IZ(n),IZ(i)),o=r[0],a=r[1],s=t.getComputedTransform(),l=e.getComputedTransform();s&&qZ(o,s),l&&qZ(a,l),UZ(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var u=function(t,e,n,i){for(var r,o=[],a=0;a<t.length;a++){var s=t[a],l=e[a],u=GZ(s),c=GZ(l);null==r&&(r=u[2]<0!=c[2]<0);var h=[],p=[],f=0,d=1/0,g=[],m=s.length;r&&(s=HZ(s));for(var v=6*WZ(s,l,u,c),y=m-2,_=0;_<y;_+=2){var x=(v+_)%y+2;h[_+2]=s[x]-u[0],h[_+3]=s[x+1]-u[1]}if(h[0]=s[v]-u[0],h[1]=s[v+1]-u[1],n>0)for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),T=Math.cos(w),M=0;for(_=0;_<s.length;_+=2){var C=h[_],A=h[_+1],I=l[_]-c[0],k=l[_+1]-c[1],D=I*T-k*S,P=I*S+k*T;g[_]=D,g[_+1]=P;var O=D-C,E=P-A;M+=O*O+E*E}if(M<d){d=M,f=w;for(var L=0;L<g.length;L++)p[L]=g[L]}}else for(var R=0;R<m;R+=2)p[R]=l[R]-c[0],p[R+1]=l[R+1]-c[1];o.push({from:h,to:p,fromCp:u,toCp:c,rotation:-f})}return o}(o,a,10,Math.PI),c=[];UZ(e,"buildPath",{replace:function(t){for(var n=e.__morphT,i=1-n,r=[],o=0;o<u.length;o++){var a=u[o],s=a.from,l=a.to,h=a.rotation*n,p=a.fromCp,f=a.toCp,d=Math.sin(h),g=Math.cos(h);Bt(r,p,f,n);for(var m=0;m<s.length;m+=2){var v=s[m],y=s[m+1],_=v*i+(S=l[m])*n,x=y*i+(T=l[m+1])*n;c[m]=_*g-x*d+r[0],c[m+1]=_*d+x*g+r[1]}var b=c[0],w=c[1];t.moveTo(b,w);for(m=2;m<s.length;){var S=c[m++],T=c[m++],M=c[m++],C=c[m++],A=c[m++],I=c[m++];b===S&&w===T&&M===A&&C===I?t.lineTo(A,I):t.bezierCurveTo(S,T,M,C,A,I),b=A,w=I}}}})}function KZ(t,e,n){if(!t||!e)return e;var i=n.done,r=n.during;return YZ(t,e),e.__morphT=0,e.animateTo({__morphT:1},L({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){XZ(e,"buildPath"),XZ(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),i&&i()}},n)),e}function JZ(t,e,n,i,r,o){t=r===n?0:Math.round(32767*(t-n)/(r-n)),e=o===i?0:Math.round(32767*(e-i)/(o-i));for(var a,s=0,l=32768;l>0;l/=2){var u=0,c=0;(t&l)>0&&(u=1),(e&l)>0&&(c=1),s+=l*l*(3*u^c),0===c&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function QZ(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=z(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return z(o,(function(o,a){return{cp:o,z:JZ(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function t$(t){return zZ(t.path,t.count)}function e$(t){return Z(t[0])}function n$(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.push({one:t[r],many:[]});for(r=0;r<e.length;r++){var o=e[r].length,a=void 0;for(a=0;a<o;a++)n[a%i].many.push(e[r][a])}var s=0;for(r=i-1;r>=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var i$={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i<t.count;i++){var r=Dd(t.path);r.setStyle("opacity",n),e.push(r)}return e},split:null};function r$(t,e,n,i,r,o){if(t.length&&e.length){var a=mu("update",i,r);if(a&&a.duration>0){var s,l,u=i.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},a);e$(t)&&(s=t,l=e),e$(e)&&(s=e,l=t);for(var h=s?s===t:t.length>e.length,p=s?n$(l,s):n$(h?e:t,[h?t:e]),f=0,d=0;d<p.length;d++)f+=p[d].many.length;var g=0;for(d=0;d<p.length;d++)m(p[d],h,g,f),g+=p[d].many.length}}function m(t,e,i,r,a){var s=t.many,l=t.one;if(1!==s.length||a)for(var h=L({dividePath:i$[n],individualDelay:u&&function(t,e,n,o){return u(t+i,r)}},c),p=e?function(t,e,n){var i=[];!function t(e){for(var n=0;n<e.length;n++){var r=e[n];ZZ(r)?t(r.childrenRef()):r instanceof Rs&&i.push(r)}}(t);var r=i.length;if(!r)return{fromIndividuals:[],toIndividuals:[],count:0};var o=(n.dividePath||t$)({path:e,count:r});if(o.length!==r)return{fromIndividuals:[],toIndividuals:[],count:0};i=QZ(i),o=QZ(o);for(var a=n.done,s=n.during,l=n.individualDelay,u=new Tr,c=0;c<r;c++){var h=i[c],p=o[c];p.parent=e,p.copyTransform(u),l||YZ(h,p)}function f(t){for(var e=0;e<o.length;e++)o[e].addSelfToZr(t)}function d(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,XZ(e,"addSelfToZr"),XZ(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return o},UZ(e,"addSelfToZr",{after:function(t){f(t)}}),UZ(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<o.length;e++)o[e].removeSelfFromZr(t)}});var g=o.length;if(l){var m=g,v=function(){0==--m&&(d(),a&&a())};for(c=0;c<g;c++){var y=l?L({delay:(n.delay||0)+l(c,g,i[c],o[c]),done:v},n):n;KZ(i[c],o[c],y)}}else e.__morphT=0,e.animateTo({__morphT:1},L({during:function(t){for(var n=0;n<g;n++){var i=o[n];i.__morphT=e.__morphT,i.dirtyShape()}s&&s(t)},done:function(){d();for(var e=0;e<t.length;e++)XZ(t[e],"updateTransform");a&&a()}},n));return e.__zr&&f(e.__zr),{fromIndividuals:i,toIndividuals:o,count:g}}(s,l,h):function(t,e,n){var i=e.length,r=[],o=n.dividePath||t$;if(ZZ(t)){!function t(e){for(var n=0;n<e.length;n++){var i=e[n];ZZ(i)?t(i.childrenRef()):i instanceof Rs&&r.push(i)}}(t.childrenRef());var a=r.length;if(a<i)for(var s=0,l=a;l<i;l++)r.push(Dd(r[s++%a]));r.length=i}else{r=o({path:t,count:i});var u=t.getComputedTransform();for(l=0;l<r.length;l++)r[l].setLocalTransform(u);if(r.length!==i)return{fromIndividuals:[],toIndividuals:[],count:0}}r=QZ(r),e=QZ(e);var c=n.individualDelay;for(l=0;l<i;l++){var h=c?L({delay:(n.delay||0)+c(l,i,r[l],e[l])},n):n;KZ(r[l],e[l],h)}return{fromIndividuals:r,toIndividuals:e,count:e.length}}(l,s,h),f=p.fromIndividuals,d=p.toIndividuals,g=f.length,v=0;v<g;v++){y=u?L({delay:u(v,g)},c):c;o(f[v],d[v],e?s[v]:t.one,e?t.one:s[v],y)}else{var y,_=e?s[0]:l,x=e?l:s[0];if(ZZ(_))m({many:[_],one:x},!0,i,r,!0);else KZ(_,x,y=u?L({delay:u(i,r)},c):c),o(_,x,_,x,y)}}}function o$(t){if(!t)return[];if(Z(t)){for(var e=[],n=0;n<t.length;n++)e.push(o$(t[n]));return e}var i=[];return t.traverse((function(t){t instanceof Rs&&!t.disableMorphing&&!t.invisible&&!t.ignore&&i.push(t)})),i}var a$=1e4,s$=0,l$=1,u$=2,c$=Bo();function h$(t,e,n,i){var r=function(t,e){for(var n=t.dimensions,i=0;i<n.length;i++){var r=t.getDimensionInfo(n[i]);if(r&&0===r.otherDims[e])return n[i]}}(t,i?"itemChildGroupId":"itemGroupId");if(r){var o=function(t,e,n){var i=t.getDimensionInfo(n),r=i&&i.ordinalMeta;if(i){var o=t.get(i.name,e);return r&&r.categories[o]||o+""}}(t,e,r);return o}var a=t.getRawDataItem(e),s=i?"childGroupId":"groupId";return a&&a[s]?a[s]+"":i?void 0:n||t.getId(e)}function p$(t){var e=[];return B(t,(function(t){var n=t.data,i=t.dataGroupId;if(!(n.count()>a$))for(var r=n.getIndices(),o=0;o<r.length;o++)e.push({data:n,groupId:h$(n,o,i,!1),childGroupId:h$(n,o,i,!0),divide:t.divide,dataIndex:o})})),e}function f$(t,e,n){t.traverse((function(t){t instanceof Rs&&_u(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function d$(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function g$(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function m$(t,e,n){var i=mu("update",n,e);i&&t.traverse((function(t){if(t instanceof Oa){var e=function(t){return gu(t).oldStyle}(t);e&&t.animateFrom({style:e},i)}}))}function v$(t,e,n){var i=p$(t),r=p$(e);function o(t,e,n,i,r){(n||t)&&e.animateFrom({style:n&&n!==t?E(E({},n.style),t.style):t.style},r)}var a=!1,s=s$,l=gt(),u=gt();i.forEach((function(t){t.groupId&&l.set(t.groupId,!0),t.childGroupId&&u.set(t.childGroupId,!0)}));for(var c=0;c<r.length;c++){var h=r[c].groupId;if(u.get(h)){s=l$;break}var p=r[c].childGroupId;if(p&&l.get(p)){s=u$;break}}function f(t,e){return function(n){var i=n.data,r=n.dataIndex;return e?i.getId(r):t?s===l$?n.childGroupId:n.groupId:s===u$?n.childGroupId:n.groupId}}var d=function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++){var r=t[i],o=e[i];if(r.data.getId(r.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}(i,r),g={};if(!d)for(c=0;c<r.length;c++){var m=r[c],v=m.data.getItemGraphicEl(m.dataIndex);v&&(g[v.id]=!0)}function y(t,e){var n=i[e],s=r[t],l=s.data.hostModel,u=n.data.getItemGraphicEl(n.dataIndex),c=s.data.getItemGraphicEl(s.dataIndex);u!==c?u&&g[u.id]||c&&(g$(c),u?(g$(u),d$(u),a=!0,r$(o$(u),o$(c),s.divide,l,t,o)):f$(c,l,t)):c&&m$(c,s.dataIndex,l)}new Rb(i,r,f(!0,d),f(!1,d),null,"multiple").update(y).updateManyToOne((function(t,e){var n=r[t],s=n.data,l=s.hostModel,u=s.getItemGraphicEl(n.dataIndex),c=j(z(e,(function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)})),(function(t){return t&&t!==u&&!g[t.id]}));u&&(g$(u),c.length?(B(c,(function(t){g$(t),d$(t)})),a=!0,r$(o$(c),o$(u),n.divide,l,t,o)):f$(u,l,n.dataIndex))})).updateOneToMany((function(t,e){var n=i[e],s=n.data.getItemGraphicEl(n.dataIndex);if(!s||!g[s.id]){var l=j(z(t,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==s})),u=r[t[0]].data.hostModel;l.length&&(B(l,(function(t){return g$(t)})),s?(g$(s),d$(s),a=!0,r$(o$(s),o$(l),n.divide,u,t[0],o)):B(l,(function(e){return f$(e,u,t[0])})))}})).updateManyToMany((function(t,e){new Rb(e,t,(function(t){return i[t].data.getId(i[t].dataIndex)}),(function(t){return r[t].data.getId(r[t].dataIndex)})).update((function(n,i){y(t[n],e[i])})).execute()})).execute(),a&&B(e,(function(t){var e=t.data.hostModel,i=e&&n.getViewOfSeriesModel(e),r=mu("update",e,0);i&&e.isAnimationEnabled()&&r&&r.duration>0&&i.group.traverse((function(t){t instanceof Rs&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function y$(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function _$(t){return Z(t)?t.sort().join(","):t}function x$(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function b$(t,e){var n=gt(),i=gt(),r=gt();return B(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=y$(e),l=_$(s);i.set(l,{dataGroupId:o,data:a}),Z(s)&&B(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),B(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=y$(t),s=_$(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:x$(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:x$(o),data:o}]});else if(Z(a)){0;var u=[];B(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:x$(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:x$(o)}]})}else{var c=r.get(a);if(c){var h=n.get(c.key);h||(h={oldSeries:[{dataGroupId:c.dataGroupId,data:c.data,divide:x$(c.data)}],newSeries:[]},n.set(c.key,h)),h.newSeries.push({dataGroupId:e,data:o,divide:x$(o)})}}}})),n}function w$(t,e){for(var n=0;n<t.length;n++){if(null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id)return n}}y_([function(t){t.registerPainter("canvas",px)}]),y_([function(t){t.registerPainter("svg",Pb)}]),y_([function(t){t.registerChartView(nS),t.registerSeriesModel(vw),t.registerLayout(iS("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,aS("line"))},function(t){t.registerChartView(ZS),t.registerSeriesModel(xS),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,H(fS,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,dS("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,aS("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))},function(t){t.registerChartView(aT),t.registerSeriesModel(pT),dv("pie",t.registerAction),t.registerLayout(H(YS,"pie")),t.registerProcessor(JS("pie")),t.registerProcessor(function(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(q(i)&&!isNaN(i)&&i<0)}))}}}("pie"))},function(t){y_(LC),t.registerSeriesModel(dT),t.registerChartView(xT),t.registerLayout(iS("scatter"))},function(t){y_(tA),t.registerChartView(VC),t.registerSeriesModel(GC),t.registerLayout(RC),t.registerProcessor(JS("radar")),t.registerPreprocessor(BC)},function(t){y_(XI),t.registerChartView(TI),t.registerSeriesModel(CI),t.registerLayout(II),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,AI),dv("map",t.registerAction)},function(t){t.registerChartView(fk),t.registerSeriesModel(Pk),t.registerLayout(Ek),t.registerVisual(Lk),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,i=e.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=HI(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))}(t)},function(t){t.registerSeriesModel(zk),t.registerChartView(nD),t.registerVisual(xD),t.registerLayout(ED),function(t){for(var e=0;e<Rk.length;e++)t.registerAction({type:Rk[e],update:"updateView"},xt);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},(function(e,n){var i=Ck(t,["treemapZoomToNode","treemapRootToNode"],e);if(i){var r=e.getViewRoot();r&&(t.direction=Ik(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}))}))}(t)},function(t){t.registerChartView(BP),t.registerSeriesModel(UP),t.registerProcessor(zD),t.registerVisual(VD),t.registerVisual(GD),t.registerLayout(tP),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,lP),t.registerLayout(cP),t.registerCoordinateSystem("graphView",{dimensions:OI.dimensions,create:hP}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},xt),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},xt),t.registerAction(XP,(function(t,e,n){e.eachComponent({mainType:"series",query:t},(function(e){var i=HI(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))},function(t){t.registerChartView(tO),t.registerSeriesModel(nO)},function(t){t.registerChartView(aO),t.registerSeriesModel(lO),t.registerLayout(uO),t.registerProcessor(JS("funnel"))},function(t){y_(UE),t.registerChartView(gO),t.registerSeriesModel(yO),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,xO)},function(t){t.registerChartView(JE),t.registerSeriesModel(tL),t.registerLayout(eL),t.registerVisual(fL),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},function(t){t.registerSeriesModel(mL),t.registerChartView(SL),t.registerLayout(ML),t.registerTransform(CL)},function(t){t.registerChartView(UL),t.registerSeriesModel(qL),t.registerPreprocessor(YL),t.registerVisual(LL),t.registerLayout(QL)},function(t){t.registerChartView(rR),t.registerSeriesModel(aR),t.registerLayout(iS("effectScatter"))},function(t){t.registerChartView(_R),t.registerSeriesModel(TR),t.registerLayout(vR),t.registerVisual(CR)},function(t){t.registerChartView(PR),t.registerSeriesModel(ER)},function(t){t.registerChartView(eN),t.registerSeriesModel(iN),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,H(fS,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,dS("pictorialBar"))},function(t){t.registerChartView(oN),t.registerSeriesModel(sN),t.registerLayout(lN),t.registerProcessor(JS("themeRiver"))},function(t){t.registerChartView(mN),t.registerSeriesModel(_N),t.registerLayout(H(bN,"sunburst")),t.registerProcessor(H(JS,"sunburst")),t.registerVisual(SN),function(t){t.registerAction({type:pN,update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var i=Ck(t,[pN],e);if(i){var r=e.getViewRoot();r&&(t.direction=Ik(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}))})),t.registerAction({type:fN,update:"none"},(function(t,e,n){t=E({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e){var n=Ck(t,[fN],e);n&&(t.dataIndex=n.node.dataIndex)})),n.dispatchAction(E(t,{type:"highlight"}))})),t.registerAction({type:dN,update:"updateView"},(function(t,e,n){t=E({},t),n.dispatchAction(E(t,{type:"downplay"}))}))}(t)},function(t){t.registerChartView(vF),t.registerSeriesModel(IN)}]),y_((function(t){y_(LC),y_(wB)})),y_((function(t){y_(wB),wC.registerAxisPointerClass("PolarAxisPointer",MB),t.registerCoordinateSystem("polar",WB),t.registerComponentModel(AB),t.registerComponentView(sz),ET(t,"angle",kB,oz),ET(t,"radius",DB,az),t.registerComponentView(YB),t.registerComponentView(ez),t.registerLayout(H(rz,"bar"))})),y_(XI),y_((function(t){y_(wB),wC.registerAxisPointerClass("SingleAxisPointer",kz),t.registerComponentView(Dz),t.registerComponentView(fz),t.registerComponentModel(gz),ET(t,"single",gz,gz.defaultOption),t.registerCoordinateSystem("single",wz)})),y_(UE),y_((function(t){t.registerComponentModel(Ez),t.registerComponentView(Rz),t.registerCoordinateSystem("calendar",zz)})),y_((function(t){t.registerComponentModel(Hz),t.registerComponentView(Uz),t.registerPreprocessor((function(t){var e=t.graphic;Z(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))})),y_((function(t){t.registerComponentModel(CV),t.registerComponentView(kV),SV("saveAsImage",PV),SV("magicType",NV),SV("dataView",HV),SV("dataZoom",mj),SV("restore",qV),y_(xV)})),y_((function(t){y_(wB),t.registerComponentModel(yj),t.registerComponentView(Vj),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},xt),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},xt)})),y_(wB),y_((function(t){t.registerComponentView(aG),t.registerComponentModel(uG),t.registerPreprocessor(Gj),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,tG),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},xt),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},xt),SV("brush",pG)})),y_((function(t){t.registerComponentModel(fG),t.registerComponentView(dG)})),y_((function(t){t.registerComponentModel(yG),t.registerComponentView(IG),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),L({currentIndex:i.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}(t),t.registerPreprocessor(kG)})),y_((function(t){t.registerComponentModel(BG),t.registerComponentView(JG),t.registerPreprocessor((function(t){OG(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))})),y_((function(t){t.registerComponentModel(tW),t.registerComponentView(lW),t.registerPreprocessor((function(t){OG(t.series,"markLine")&&(t.markLine=t.markLine||{})}))})),y_((function(t){t.registerComponentModel(cW),t.registerComponentView(_W),t.registerPreprocessor((function(t){OG(t.series,"markArea")&&(t.markArea=t.markArea||{})}))})),y_((function(t){y_(LW),y_(WW)}
1)),y_((function(t){y_(nH),y_(fH)})),y_(nH),y_(fH),y_((function(t){y_(JH),y_(oZ)})),y_(JH),y_(oZ),y_((function(t){t.registerPreprocessor(cZ),t.registerVisual(t.PRIORITY.VISUAL.ARIA,uZ)})),y_((function(t){t.registerTransform(wZ),t.registerTransform(SZ)})),y_((function(t){t.registerComponentModel(TZ),t.registerComponentView(MZ)})),y_((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){B(Co(n.seriesTransition),(function(t){B(Co(t.to),(function(t){for(var e=n.updatedSeries,i=0;i<e.length;i++)(null!=t.seriesIndex&&t.seriesIndex===e[i].seriesIndex||null!=t.seriesId&&t.seriesId===e[i].id)&&(e[i][Jf]=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var i=c$(e);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)B(Co(r),(function(t){!function(t,e,n,i){var r=[],o=[];B(Co(t.from),(function(t){var n=w$(e.oldSeries,t);n>=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:x$(e.oldData[n]),groupIdDim:t.dimension})})),B(Co(t.to),(function(t){var i=w$(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:x$(r),groupIdDim:t.dimension})}})),r.length>0&&o.length>0&&v$(r,o,i)}(t,i,n,e)}));else{var o=b$(i,n);B(o.keys(),(function(t){var n=o.get(t);v$(n.oldSeries,n.newSeries,e)}))}B(n.updatedSeries,(function(t){t[Jf]&&(t[Jf]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],c=0;c<a.length;c++){var h=a[c].getData();h.count()<a$&&(s.push(a[c]),l.push(a[c].get("dataGroupId")),u.push(h))}}))})),y_(rx)},7308:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=function(){this.__data__=[],this.size=0},r=n(9651);var o=function(t,e){for(var n=t.length;n--;)if((0,r.Z)(t[n][0],e))return n;return-1},a=Array.prototype.splice;var s=function(t){var e=this.__data__,n=o(e,t);return!(n<0)&&(n==e.length-1?e.pop():a.call(e,n,1),--this.size,!0)};var l=function(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]};var u=function(t){return o(this.__data__,t)>-1};var c=function(t,e){var n=this.__data__,i=o(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function h(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}h.prototype.clear=i,h.prototype.delete=s,h.prototype.get=l,h.prototype.has=u,h.prototype.set=c;var p=h},6183:function(t,e,n){"use strict";var i=n(2508),r=n(6092),o=(0,i.Z)(r.Z,"Map");e.Z=o},7834:function(t,e,n){"use strict";n.d(e,{Z:function(){return S}});var i=(0,n(2508).Z)(Object,"create");var r=function(){this.__data__=i?i(null):{},this.size=0};var o=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},a=Object.prototype.hasOwnProperty;var s=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(e,t)?e[t]:void 0},l=Object.prototype.hasOwnProperty;var u=function(t){var e=this.__data__;return i?void 0!==e[t]:l.call(e,t)};var c=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this};function h(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}h.prototype.clear=r,h.prototype.delete=o,h.prototype.get=s,h.prototype.has=u,h.prototype.set=c;var p=h,f=n(7308),d=n(6183);var g=function(){this.size=0,this.__data__={hash:new p,map:new(d.Z||f.Z),string:new p}};var m=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var v=function(t,e){var n=t.__data__;return m(e)?n["string"==typeof e?"string":"hash"]:n.map};var y=function(t){var e=v(this,t).delete(t);return this.size-=e?1:0,e};var _=function(t){return v(this,t).get(t)};var x=function(t){return v(this,t).has(t)};var b=function(t,e){var n=v(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function w(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}w.prototype.clear=g,w.prototype.delete=y,w.prototype.get=_,w.prototype.has=x,w.prototype.set=b;var S=w},1667:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(7308);var r=function(){this.__data__=new i.Z,this.size=0};var o=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};var a=function(t){return this.__data__.get(t)};var s=function(t){return this.__data__.has(t)},l=n(6183),u=n(7834);var c=function(t,e){var n=this.__data__;if(n instanceof i.Z){var r=n.__data__;if(!l.Z||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new u.Z(r)}return n.set(t,e),this.size=n.size,this};function h(t){var e=this.__data__=new i.Z(t);this.size=e.size}h.prototype.clear=r,h.prototype.delete=o,h.prototype.get=a,h.prototype.has=s,h.prototype.set=c;var p=h},7685:function(t,e,n){"use strict";var i=n(6092).Z.Symbol;e.Z=i},7623:function(t,e,n){"use strict";var i=n(6092).Z.Uint8Array;e.Z=i},7668:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i},r=n(9169),o=n(7771),a=n(7008),s=n(6009),l=n(8843),u=Object.prototype.hasOwnProperty;var c=function(t,e){var n=(0,o.Z)(t),c=!n&&(0,r.Z)(t),h=!n&&!c&&(0,a.Z)(t),p=!n&&!c&&!h&&(0,l.Z)(t),f=n||c||h||p,d=f?i(t.length,String):[],g=d.length;for(var m in t)!e&&!u.call(t,m)||f&&("length"==m||h&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,s.Z)(m,g))||d.push(m);return d}},4073:function(t,e){"use strict";e.Z=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}},8694:function(t,e){"use strict";e.Z=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}},2954:function(t,e,n){"use strict";var i=n(4752),r=n(9651),o=Object.prototype.hasOwnProperty;e.Z=function(t,e,n){var a=t[e];o.call(t,e)&&(0,r.Z)(a,n)&&(void 0!==n||e in t)||(0,i.Z)(t,e,n)}},4752:function(t,e,n){"use strict";var i=n(7904);e.Z=function(t,e,n){"__proto__"==e&&i.Z?(0,i.Z)(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},3327:function(t,e,n){"use strict";var i=n(8694),r=n(7771);e.Z=function(t,e,n){var o=e(t);return(0,r.Z)(t)?o:(0,i.Z)(o,n(t))}},3589:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(7685),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=i.Z?i.Z.toStringTag:void 0;var l=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var r=a.call(t);return i&&(e?t[s]=n:delete t[s]),r},u=Object.prototype.toString;var c=function(t){return u.call(t)},h=i.Z?i.Z.toStringTag:void 0;
1var p=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":h&&h in Object(t)?l(t):c(t)}},1162:function(t,e){"use strict";e.Z=function(t){return function(e){return t(e)}}},134:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(7771),r=n(9365),o=n(7834);function a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(a.Cache||o.Z),n}a.Cache=o.Z;var s=a;var l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,c=function(t){var e=s(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(l,(function(t,n,i,r){e.push(i?r.replace(u,"$1"):n||t)})),e})),h=n(751);var p=function(t,e){return(0,i.Z)(t)?t:(0,r.Z)(t,e)?[t]:c((0,h.Z)(t))}},1899:function(t,e,n){"use strict";var i=n(2954),r=n(4752);e.Z=function(t,e,n,o){var a=!n;n||(n={});for(var s=-1,l=e.length;++s<l;){var u=e[s],c=o?o(n[u],t[u],u,n,t):void 0;void 0===c&&(c=t[u]),a?(0,r.Z)(n,u,c):(0,i.Z)(n,u,c)}return n}},7904:function(t,e,n){"use strict";var i=n(2508),r=function(){try{var t=(0,i.Z)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();e.Z=r},3413:function(t,e){"use strict";var n="object"==typeof global&&global&&global.Object===Object&&global;e.Z=n},1808:function(t,e,n){"use strict";var i=n(3327),r=n(1574),o=n(4329);e.Z=function(t){return(0,i.Z)(t,o.Z,r.Z)}},4403:function(t,e,n){"use strict";var i=n(3327),r=n(7502),o=n(2957);e.Z=function(t){return(0,i.Z)(t,o.Z,r.Z)}},2508:function(t,e,n){"use strict";n.d(e,{Z:function(){return y}});var i,r=n(3234),o=n(6092).Z["__core-js_shared__"],a=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";var s=function(t){return!!a&&a in t},l=n(7226),u=n(19),c=/^\[object .+?Constructor\]$/,h=Function.prototype,p=Object.prototype,f=h.toString,d=p.hasOwnProperty,g=RegExp("^"+f.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var m=function(t){return!(!(0,l.Z)(t)||s(t))&&((0,r.Z)(t)?g:c).test((0,u.Z)(t))};var v=function(t,e){return null==t?void 0:t[e]};var y=function(t,e){var n=v(t,e);return m(n)?n:void 0}},2513:function(t,e,n){"use strict";var i=(0,n(1851).Z)(Object.getPrototypeOf,Object);e.Z=i},1574:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o},r=n(532),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),i(a(t),(function(e){return o.call(t,e)})))}:r.Z},7502:function(t,e,n){"use strict";var i=n(8694),r=n(2513),o=n(1574),a=n(532),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)(0,i.Z)(e,(0,o.Z)(t)),t=(0,r.Z)(t);return e}:a.Z;e.Z=s},5964:function(t,e,n){"use strict";n.d(e,{Z:function(){return S}});var i=n(2508),r=n(6092),o=(0,i.Z)(r.Z,"DataView"),a=n(6183),s=(0,i.Z)(r.Z,"Promise"),l=(0,i.Z)(r.Z,"Set"),u=(0,i.Z)(r.Z,"WeakMap"),c=n(3589),h=n(19),p="[object Map]",f="[object Promise]",d="[object Set]",g="[object WeakMap]",m="[object DataView]",v=(0,h.Z)(o),y=(0,h.Z)(a.Z),_=(0,h.Z)(s),x=(0,h.Z)(l),b=(0,h.Z)(u),w=c.Z;(o&&w(new o(new ArrayBuffer(1)))!=m||a.Z&&w(new a.Z)!=p||s&&w(s.resolve())!=f||l&&w(new l)!=d||u&&w(new u)!=g)&&(w=function(t){var e=(0,c.Z)(t),n="[object Object]"==e?t.constructor:void 0,i=n?(0,h.Z)(n):"";if(i)switch(i){case v:return m;case y:return p;case _:return f;case x:return d;case b:return g}return e});var S=w},6174:function(t,e,n){"use strict";var i=n(134),r=n(9169),o=n(7771),a=n(6009),s=n(1656),l=n(2281);e.Z=function(t,e,n){for(var u=-1,c=(e=(0,i.Z)(e,t)).length,h=!1;++u<c;){var p=(0,l.Z)(e[u]);if(!(h=null!=t&&n(t,p)))break;t=t[p]}return h||++u!=c?h:!!(c=null==t?0:t.length)&&(0,s.Z)(c)&&(0,a.Z)(p,c)&&((0,o.Z)(t)||(0,r.Z)(t))}},6009:function(t,e){"use strict";var n=/^(?:0|[1-9]\d*)$/;e.Z=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&n.test(t))&&t>-1&&t%1==0&&t<e}},9365:function(t,e,n){"use strict";var i=n(7771),r=n(2714),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.Z=function(t,e){if((0,i.Z)(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!(0,r.Z)(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}},2764:function(t,e){"use strict";var n=Object.prototype;e.Z=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},8351:function(t,e,n){"use strict";var i=n(3413),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=r&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===r&&i.Z.process,s=function(){try{var t=o&&o.require&&o.require("util").t
1ypes;return t||a&&a.binding&&a.binding("util")}catch(t){}}();e.Z=s},1851:function(t,e){"use strict";e.Z=function(t,e){return function(n){return t(e(n))}}},6092:function(t,e,n){"use strict";var i=n(3413),r="object"==typeof self&&self&&self.Object===Object&&self,o=i.Z||r||Function("return this")();e.Z=o},2281:function(t,e,n){"use strict";var i=n(2714);e.Z=function(t){if("string"==typeof t||(0,i.Z)(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},19:function(t,e){"use strict";var n=Function.prototype.toString;e.Z=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7527:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var i=n(1899),r=n(9203);var o=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)},a=Math.max;var s=function(t,e,n){return e=a(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,s=a(i.length-e,0),l=Array(s);++r<s;)l[r]=i[e+r];r=-1;for(var u=Array(e+1);++r<e;)u[r]=i[r];return u[e]=n(l),o(t,this,u)}};var l=function(t){return function(){return t}},u=n(7904),c=u.Z?function(t,e){return(0,u.Z)(t,"toString",{configurable:!0,enumerable:!1,value:l(e),writable:!0})}:r.Z,h=Date.now;var p=function(t){var e=0,n=0;return function(){var i=h(),r=16-(i-n);if(n=i,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}},f=p(c);var d=function(t,e){return f(s(t,e,r.Z),t+"")},g=n(9651),m=n(585),v=n(6009),y=n(7226);var _=function(t,e,n){if(!(0,y.Z)(n))return!1;var i=typeof e;return!!("number"==i?(0,m.Z)(n)&&(0,v.Z)(e,n.length):"string"==i&&e in n)&&(0,g.Z)(n[e],t)};var x=function(t){return d((function(e,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,a&&_(n[0],n[1],a)&&(o=r<3?void 0:o,r=1),e=Object(e);++i<r;){var s=n[i];s&&t(e,s,i,o)}return e}))},b=n(4329),w=x((function(t,e,n,r){(0,i.Z)(e,(0,b.Z)(e),t,r)}))},8731:function(t,e,n){"use strict";n.d(e,{Z:function(){return at}});var i=n(1667);var r=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t},o=n(2954),a=n(1899),s=n(4329);var l=function(t,e){return t&&(0,a.Z)(e,(0,s.Z)(e),t)},u=n(2957);var c=function(t,e){return t&&(0,a.Z)(e,(0,u.Z)(e),t)},h=n(6092),p="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=p&&"object"==typeof module&&module&&!module.nodeType&&module,d=f&&f.exports===p?h.Z.Buffer:void 0,g=d?d.allocUnsafe:void 0;var m=function(t,e){if(e)return t.slice();var n=t.length,i=g?g(n):new t.constructor(n);return t.copy(i),i};var v=function(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e},y=n(1574);var _=function(t,e){return(0,a.Z)(t,(0,y.Z)(t),e)},x=n(7502);var b=function(t,e){return(0,a.Z)(t,(0,x.Z)(t),e)},w=n(1808),S=n(4403),T=n(5964),M=Object.prototype.hasOwnProperty;var C=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&M.call(t,"index")&&(n.index=t.index,n.input=t.input),n},A=n(7623);var I=function(t){var e=new t.constructor(t.byteLength);return new A.Z(e).set(new A.Z(t)),e};var k=function(t,e){var n=e?I(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)},D=/\w*$/;var P=function(t){var e=new t.constructor(t.source,D.exec(t));return e.lastIndex=t.lastIndex,e},O=n(7685),E=O.Z?O.Z.prototype:void 0,L=E?E.valueOf:void 0;var R=function(t){return L?Object(L.call(t)):{}};var N=function(t,e){var n=e?I(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};var F=function(t,e,n){var i=t.constructor;switch(e){case"[object ArrayBuffer]":return I(t);case"[object Boolean]":case"[object Date]":return new i(+t);case"[object DataView]":return k(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return N(t,n);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(t);case"[object RegExp]":return P(t);case"[object Symbol]":return R(t)}},B=n(7226),z=Object.create,V=function(){function t(){}return function(e){if(!(0,B.Z)(e))return{};if(z)return z(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),j=n(2513),G=n(2764);var W=function(t){return"function"!=typeof t.constructor||(0,G.Z)(t)?{}:V((0,j.Z)(t))},H=n(7771),Z=n(7008),$=n(8533);var U=function(t){return(0,$.Z)(t)&&"[object Map]"==(0,T.Z)(t)},X=n(1162),q=n(8351),Y=q.Z&&q.Z.isMap,K=Y?(0,X.Z)(Y):U;var J=function(t){return(0,$.Z)(t)&&"[object Set]"==(0,T.Z)(t)},Q=q.Z&&q.Z.isSet,tt=Q?(0,X.Z)(Q):J,et="[object Arguments]",nt="[object Function]",it="[object Object]",rt={};rt[et]=rt["[object Array]"]=rt["[object ArrayBuffer]"]=rt["[object DataView]"]=rt["[object Boolean]"]=rt["[object Date]"]=rt["[object Float32Array]"]=rt["[object Float64Array
1]"]=rt["[object Int8Array]"]=rt["[object Int16Array]"]=rt["[object Int32Array]"]=rt["[object Map]"]=rt["[object Number]"]=rt[it]=rt["[object RegExp]"]=rt["[object Set]"]=rt["[object String]"]=rt["[object Symbol]"]=rt["[object Uint8Array]"]=rt["[object Uint8ClampedArray]"]=rt["[object Uint16Array]"]=rt["[object Uint32Array]"]=!0,rt["[object Error]"]=rt[nt]=rt["[object WeakMap]"]=!1;var ot=function t(e,n,a,h,p,f){var d,g=1&n,y=2&n,x=4&n;if(a&&(d=p?a(e,h,p,f):a(e)),void 0!==d)return d;if(!(0,B.Z)(e))return e;var M=(0,H.Z)(e);if(M){if(d=C(e),!g)return v(e,d)}else{var A=(0,T.Z)(e),I=A==nt||"[object GeneratorFunction]"==A;if((0,Z.Z)(e))return m(e,g);if(A==it||A==et||I&&!p){if(d=y||I?{}:W(e),!g)return y?b(e,c(d,e)):_(e,l(d,e))}else{if(!rt[A])return p?e:{};d=F(e,A,g)}}f||(f=new i.Z);var k=f.get(e);if(k)return k;f.set(e,d),tt(e)?e.forEach((function(i){d.add(t(i,n,a,i,e,f))})):K(e)&&e.forEach((function(i,r){d.set(r,t(i,n,a,r,e,f))}));var D=x?y?S.Z:w.Z:y?u.Z:s.Z,P=M?void 0:D(e);return r(P||e,(function(i,r){P&&(i=e[r=i]),(0,o.Z)(d,r,t(i,n,a,r,e,f))})),d};var at=function(t){return ot(t,5)}},9651:function(t,e){"use strict";e.Z=function(t,e){return t===e||t!=t&&e!=e}},3925:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(8694),r=n(7685),o=n(9169),a=n(7771),s=r.Z?r.Z.isConcatSpreadable:void 0;var l=function(t){return(0,a.Z)(t)||(0,o.Z)(t)||!!(s&&t&&t[s])};var u=function t(e,n,r,o,a){var s=-1,u=e.length;for(r||(r=l),a||(a=[]);++s<u;){var c=e[s];n>0&&r(c)?n>1?t(c,n-1,r,o,a):(0,i.Z)(a,c):o||(a[a.length]=c)}return a};var c=function(t){return(null==t?0:t.length)?u(t,Infinity):[]}},7452:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var i=Object.prototype.hasOwnProperty;var r=function(t,e){return null!=t&&i.call(t,e)},o=n(6174);var a=function(t,e){return null!=t&&(0,o.Z)(t,e,r)}},5487:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=function(t,e){return null!=t&&e in Object(t)},r=n(6174);var o=function(t,e){return null!=t&&(0,r.Z)(t,e,i)}},9203:function(t,e){"use strict";e.Z=function(t){return t}},9169:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(3589),r=n(8533);var o=function(t){return(0,r.Z)(t)&&"[object Arguments]"==(0,i.Z)(t)},a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable,u=o(function(){return arguments}())?o:function(t){return(0,r.Z)(t)&&s.call(t,"callee")&&!l.call(t,"callee")},c=u},7771:function(t,e){"use strict";var n=Array.isArray;e.Z=n},585:function(t,e,n){"use strict";var i=n(3234),r=n(1656);e.Z=function(t){return null!=t&&(0,r.Z)(t.length)&&!(0,i.Z)(t)}},7008:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var i=n(6092);var r=function(){return!1},o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof module&&module&&!module.nodeType&&module,s=a&&a.exports===o?i.Z.Buffer:void 0,l=(s?s.isBuffer:void 0)||r},3234:function(t,e,n){"use strict";var i=n(3589),r=n(7226);e.Z=function(t){if(!(0,r.Z)(t))return!1;var e=(0,i.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1656:function(t,e){"use strict";e.Z=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7226:function(t,e){"use strict";e.Z=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},8533:function(t,e){"use strict";e.Z=function(t){return null!=t&&"object"==typeof t}},6378:function(t,e,n){"use strict";var i=n(3589),r=n(7771),o=n(8533);e.Z=function(t){return"string"==typeof t||!(0,r.Z)(t)&&(0,o.Z)(t)&&"[object String]"==(0,i.Z)(t)}},2714:function(t,e,n){"use strict";var i=n(3589),r=n(8533);e.Z=function(t){return"symbol"==typeof t||(0,r.Z)(t)&&"[object Symbol]"==(0,i.Z)(t)}},8843:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=n(3589),r=n(1656),o=n(8533),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=function(t){return(0,o.Z)(t)&&(0,r.Z)(t.length)&&!!a[(0,i.Z)(t)]},l=n(1162),u=n(8351),c=u.Z&&u.Z.isTypedArray,h=c?(0,l.Z)(c):s},9360:function(t,e){"use strict";e.Z=function(t){return void 0===t}},4329:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var i=n(7668),r=n(2764),o=(0,n(1851).Z)(Object.keys,Object),a=Object.prototype.hasOwnProperty;var s=function(t){if(!(0,r.Z)(t))return o(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e},l=n(585);var u=function(t){return(0,l.Z)(t)?(0,i.Z)(t):s(t)}},2957:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(7668),r=n(7226),o=n(2764);var a=function(t){var e=[];
vendor: 3,393 bytes, line 1
1if(null!=t)for(var n in Object(t))e.push(n);return e},s=Object.prototype.hasOwnProperty;var l=function(t){if(!(0,r.Z)(t))return a(t);var e=(0,o.Z)(t),n=[];for(var i in t)("constructor"!=i||!e&&s.call(t,i))&&n.push(i);return n},u=n(585);var c=function(t){return(0,u.Z)(t)?(0,i.Z)(t,!0):l(t)}},6458:function(t,e,n){"use strict";n.d(e,{Z:function(){return ot}});var i=n(4073),r=n(1667),o=n(7834);var a=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};var s=function(t){return this.__data__.has(t)};function l(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new o.Z;++e<n;)this.add(t[e])}l.prototype.add=l.prototype.push=a,l.prototype.has=s;var u=l;var c=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1};var h=function(t,e){return t.has(e)};var p=function(t,e,n,i,r,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var p=o.get(t),f=o.get(e);if(p&&f)return p==e&&f==t;var d=-1,g=!0,m=2&n?new u:void 0;for(o.set(t,e),o.set(e,t);++d<s;){var v=t[d],y=e[d];if(i)var _=a?i(y,v,d,e,t,o):i(v,y,d,t,e,o);if(void 0!==_){if(_)continue;g=!1;break}if(m){if(!c(e,(function(t,e){if(!h(m,e)&&(v===t||r(v,t,n,i,o)))return m.push(e)}))){g=!1;break}}else if(v!==y&&!r(v,y,n,i,o)){g=!1;break}}return o.delete(t),o.delete(e),g},f=n(7685),d=n(7623),g=n(9651);var m=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n};var v=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n},y=f.Z?f.Z.prototype:void 0,_=y?y.valueOf:void 0;var x=function(t,e,n,i,r,o,a){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new d.Z(t),new d.Z(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,g.Z)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=m;case"[object Set]":var l=1&i;if(s||(s=v),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;i|=2,a.set(t,e);var c=p(s(t),s(e),i,r,o,a);return a.delete(t),c;case"[object Symbol]":if(_)return _.call(t)==_.call(e)}return!1},b=n(1808),w=Object.prototype.hasOwnProperty;var S=function(t,e,n,i,r,o){var a=1&n,s=(0,b.Z)(t),l=s.length;if(l!=(0,b.Z)(e).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in e:w.call(e,c)))return!1}var h=o.get(t),p=o.get(e);if(h&&p)return h==e&&p==t;var f=!0;o.set(t,e),o.set(e,t);for(var d=a;++u<l;){var g=t[c=s[u]],m=e[c];if(i)var v=a?i(m,g,c,e,t,o):i(g,m,c,t,e,o);if(!(void 0===v?g===m||r(g,m,n,i,o):v)){f=!1;break}d||(d="constructor"==c)}if(f&&!d){var y=t.constructor,_=e.constructor;y==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof _&&_ instanceof _||(f=!1)}return o.delete(t),o.delete(e),f},T=n(5964),M=n(7771),C=n(7008),A=n(8843),I="[object Arguments]",k="[object Array]",D="[object Object]",P=Object.prototype.hasOwnProperty;var O=function(t,e,n,i,o,a){var s=(0,M.Z)(t),l=(0,M.Z)(e),u=s?k:(0,T.Z)(t),c=l?k:(0,T.Z)(e),h=(u=u==I?D:u)==D,f=(c=c==I?D:c)==D,d=u==c;if(d&&(0,C.Z)(t)){if(!(0,C.Z)(e))return!1;s=!0,h=!1}if(d&&!h)return a||(a=new r.Z),s||(0,A.Z)(t)?p(t,e,n,i,o,a):x(t,e,u,n,i,o,a);if(!(1&n)){var g=h&&P.call(t,"__wrapped__"),m=f&&P.call(e,"__wrapped__");
1if(g||m){var v=g?t.value():t,y=m?e.value():e;return a||(a=new r.Z),o(v,y,n,i,a)}}return!!d&&(a||(a=new r.Z),S(t,e,n,i,o,a))},E=n(8533);var L=function t(e,n,i,r,o){return e===n||(null==e||null==n||!(0,E.Z)(e)&&!(0,E.Z)(n)?e!=e&&n!=n:O(e,n,i,r,t,o))};var R=function(t,e,n,i){var o=n.length,a=o,s=!i;if(null==t)return!a;for(t=Object(t);o--;){var l=n[o];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<a;){var u=(l=n[o])[0],c=t[u],h=l[1];if(s&&l[2]){if(void 0===c&&!(u in t))return!1}else{var p=new r.Z;if(i)var f=i(c,h,u,t,e,p);if(!(void 0===f?L(h,c,3,i,p):f))return!1}}return!0},N=n(7226);var F=function(t){return t==t&&!(0,N.Z)(t)},B=n(4329);var z=function(t){for(var e=(0,B.Z)(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,F(r)]}return e};var V=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}};var j=function(t){var e=z(t);return 1==e.length&&e[0][2]?V(e[0][0],e[0][1]):function(n){return n===t||R(n,t,e)}},G=n(134),W=n(2281);var H=function(t,e){for(var n=0,i=(e=(0,G.Z)(e,t)).length;null!=t&&n<i;)t=t[(0,W.Z)(e[n++])];return n&&n==i?t:void 0};var Z=function(t,e,n){var i=null==t?void 0:H(t,e);return void 0===i?n:i},$=n(5487),U=n(9365);var X=function(t,e){return(0,U.Z)(t)&&F(e)?V((0,W.Z)(t),e):function(n){var i=Z(n,t);return void 0===i&&i===e?(0,$.Z)(n,t):L(e,i,3)}},q=n(9203);var Y=function(t){return function(e){return null==e?void 0:e[t]}};var K=function(t){return function(e){return H(e,t)}};var J=function(t){return(0,U.Z)(t)?Y((0,W.Z)(t)):K(t)};var Q=function(t){return"function"==typeof t?t:null==t?q.Z:"object"==typeof t?(0,M.Z)(t)?X(t[0],t[1]):j(t):J(t)},tt=n(2954),et=n(6009);var nt=function(t,e,n,i){if(!(0,N.Z)(t))return t;for(var r=-1,o=(e=(0,G.Z)(e,t)).length,a=o-1,s=t;null!=s&&++r<o;){var l=(0,W.Z)(e[r]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(r!=a){var c=s[l];void 0===(u=i?i(c,l,s):void 0)&&(u=(0,N.Z)(c)?c:(0,et.Z)(e[r+1])?[]:{})}(0,tt.Z)(s,l,u),s=s[l]}return t};var it=function(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var a=e[i],s=H(t,a);n(s,a)&&nt(o,(0,G.Z)(a,t),s)}return o},rt=n(4403);var ot=function(t,e){if(null==t)return{};var n=(0,i.Z)((0,rt.Z)(t),(function(t){return[t]}));return e=Q(e),it(t,n,(function(t,n){return e(t,n[0])}))}},532:function(t,e){"use strict";e.Z=function(){return[]}},751:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(7685),r=n(4073),o=n(7771),a=n(2714),s=i.Z?i.Z.prototype:void 0,l=s?s.toString:void 0;var u=function t(e){if("string"==typeof e)return e;if((0,o.Z)(e))return(0,r.Z)(e,t)+"";if((0,a.Z)(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};var c=function(t){return null==t?"":u(t)}},6749:function(t,e,n){"use strict";var i=n(751),r=0;e.Z=function(t){var e=++r;return(0,i.Z)(t)+e}},3652:function(t,e,n){"use strict";function i(t,e){if(_(t))for(let n=0;n<t.length&&!1!==e(t[n],n,t);n++);else t&&i(Object.keys(t),(n=>e(t[n],n,t)));return t}function r(t,e){const n=d(e);if(v(e)||n){let i=n?"":{};if(t){const r=window.getComputedStyle(t,null);i=n?At(t,r,e):e.reduce(((e,n)=>(e[n]=At(t,r,n),e)),i)}return i}t&&i(k(e),(n=>It(t,n,e[n])))}n.d(e,{UN:function(){return Gn},ZA:function(){return Ve}});const o=(t,e)=>{const{o:n,u:i,_:r}=t;let o,a=n;const s=(t,e)=>{const n=a,s=t,l=e||(i?!i(n,s):n!==s);return(l||r)&&(a=s,o=n),[a,l,o]};return[e?t=>s(e(a,o),t):s,t=>[a,!!t,o]]},a=()=>"undefined"!=typeof window,s=a()&&Node.ELEMENT_NODE,{toString:l,hasOwnProperty:u}=Object.prototype,c=t=>void 0===t,h=t=>null===t,p=t=>c(t)||h(t)?`${t}`:l.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),f=t=>"number"==typeof t,d=t=>"string"==typeof t,g=t=>"boolean"==typeof t,m=t=>"function"==typeof t,v=t=>Array.isArray(t),y=t=>"object"==typeof t&&!v(t)&&!h(t),_=t=>{const e=!!t&&t.length,n=f(e)&&e>-1&&e%1==0;return!!(v(t)||!m(t)&&n)&&(!(e>0&&y(t))||e-1 in t)},x=t=>{if(!t||!y(t)||"object"!==p(t))return!1;let e;const n="constructor",i=t[n],r=i&&i.prototype,o=u.call(t,n),a=r&&u.call(r,"isPrototypeOf");if(i&&!o&&!a)return!1;for(e in t);return c(e)||u.call(t,e)},b=t=>{const e=HTMLElement;return!!t&&(e?t instanceof e:t.nodeType===s)},w=t=>{const e=Element;return!!t&&(e?t instanceof e:t.nodeType===s)},S=(t,e,n)=>t.indexOf(e,n),T=(t,e,n)=>(n||d(e)||!_(e)?t.push(e):Array.prototype.push.apply(t,e),t),M=t=>{const e=Array.from,n=[];return e&&t?e(t):(t instanceof Set?t.forEach((t=>{T(n,t)})):i(t,(t=>{T(n,t)})),n)},C=t=>!!t&&0===t.length,A=(t,e,n)=>{i(t,(t=>t&&t.apply(void 0,e||[]))),!n&&(t.length=0)},I=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),k=t=>t?Object.keys(t):[],D=(t,e,n,r,o,a,s)=>{const l=[e,n,r,o,a,s];return"object"==typeof t&&!h(t)||m(t)||(t={}),i(l,(e=>{i(k(e),(n=>{const i=e[n];if(t===i)return!0;const r=v(i);if(i&&(x(i)||r)){const e=t[n];let o=e;r&&!v(e)?o=[]:r||x(e)||(o={}),t[n]=D(o,i)}else t[n]=i}))})),t},P=t=>{for(const e in t)return!1;return!0},O=(t,e,n,i)=>{if(c(i))return n?n[t]:e;n&&(d(i)||f(i))&&(n[t]=i)},E=(t,e,n)=>{if(c(n))return t?t.getAttribute(e):null;t&&t.setAttribute(e,n)},L=(t,e)=>{t&&t.removeAttribute(e)},R=(t,e,n,i)=>{if(n){const r=E(t,e)||"",o=new Set(r.split(" "));o[i?"add":"delete"](n);const a=M(o).join(" ").trim();E(t,e,a)}},N=(t,e)=>O("scrollLeft",0,t,e),F=(t,e)=>O("scrollTop",0,t,e),B=a()&&Element.prototype,z=(t,e)=>{const n=[],i=e?w(e)?e:null:document;return i?T(n,i.querySelectorAll(t)):n},V=(t,e)=>{if(w(t)){return(B.matches||B.msMatchesSelector).call(t,e)}return!1},j=t=>t?M(t.childNodes):[],G=t=>t?t.parentElement:null,W=(t,e)=>{if(w(t)){const n=B.closest;if(n)return n.call(t,e);do{if(V(t,e))return t;t=G(t)}while(t)}return null},H=(t,e,n)=>{const i=t&&W(t,e),r=t&&((t,e)=>{const n=e?w(e)?e:null:document;return n?n.querySelector(t):null})(n,i),o=W(r,e)===i;return!(!i||!r)&&(i===t||r===t||o&&W(W(t,n),e)!==i)},Z=(t,e,n)=>{if(n&&t){let r,o=e;_(n)?(r=document.createDocumentFragment(),i(n,(t=>{t===o&&(o=t.previousSibling),r.appendChild(t)}))):r=n,e&&(o?o!==e&&(o=o.nextSibling):o=t.firstChild),t.insertBefore(r,o||null)}},$=(t,e)=>{Z(t,null,e)},U=(t,e)=>{Z(G(t),t&&t.nextSibling,e)},X=t=>{if(_(t))i(M(t),(t=>X(t)));else if(t){const e=G(t);e&&e.removeChild(t)}},q=t=>{const e=document.createElement("div");return t&&E(e,"class",t),e},Y=t=>{const e=q();return e.innerHTML=t.trim(),i(j(e),(t=>X(t)))},K=t=>t.charAt(0).toUpperCase()+t.slice(1),J=["-webkit-","-moz-","-o-","-ms-"],Q=["WebKit","Moz","O","MS","webkit","moz","o","ms"],tt={},et={},nt=t=>{let e=et[t];if(I(et,t))return e;const n=K(t),r=q().style;return i(J,(i=>{const o=i.replace(/-/g,""),a=[t,i+t,o+n,K(o)+n];return!(e=a.find((t=>void 0!==r[t])))})),et[t]=e||""},it=t=>{if(a()){let e=tt[t]||window[t];return I(tt,t)||(i(Q,(n=>(e=e||window[n+K(t)],!e))),tt[t]=e),e}},rt=it("MutationObserver"),ot=it("IntersectionObserver"),at=it("ResizeObserver"),st=it("cancelAnimationFrame"),lt=it("requestAnimationFrame"),ut=a()&&window.setTimeout,ct=a()&&window.clearTimeout,ht=/[^\x20\t\r\n\f]+/g,pt=(t,e,n)=>{const i=t&&t.classList;let r,o=0,a=!1;if(i&&e&&d(e)){const t=e.match(ht)||[];for(a=t.length>0;r=t[o++];)a=!!n(i,r)&&a}return a},ft=(t,e)=>{pt(t,e,((t,e)=>t.remove(e)))},dt=(t,e)=>(pt(t,e,((t,e)=>t.add(e))),ft.bind(0,t,e)),{max:gt}=Math,mt=()=>performance.now(),vt=(t,e,n,r)=>{if(t&&e){let o=!0;return i(n,(n=>{(r?r(t[n]):t[n])!==(r?r(e[n]):e[n])&&(o=!1)})),o}return!1},yt=(t,e)=>vt(t,e,["w","h"]),_t=(t,e)=>vt(t,e,["x","y"]),xt=(t,e)=>vt(t,e,["t","r","b","l"]),bt=(t,e,n)=>vt(t,e,["width","height"],n&&(t=>Math.round(t))),wt=()=>{},St=t=>{let e;const n=t?ut:lt,i=t?ct:st;return[r=>{i(e),e=n(r,m(t)?t():t)},()=>i(e)]},Tt=(t,e)=>{let n,i,r,o=wt;const{v:a,g:s,p:l}=e||{},u=function(e){o(),ct(n),n=i=void 0,o=wt,t.apply(this,e)},c=t=>l&&i?l(i,t):t,h=()=>{o!==wt&&u(c(r)||r)},p=function(){const t=M(arguments),e=m(a)?a():a;if(f(e)&&e>=0){const a=m(s)?s():s,l=f(a)&&a>=0,p=e>0?ut:lt,d=e>0?ct:st,g=c(t)||t,v=u.bind(0,g);o();const y=p(v,e);o=()=>d(y),l&&!n&&(n=ut(h,a)),i=r=g}else u(t)};return p.m=h,p},Mt={opacity:1,zindex:1},Ct=(t,e)=>{const n=e?parseFloat(t):parseInt(t,10);return n==n?n:0},At=(t,e,n)=>null!=e?e[n]||e.getPropertyValue(n):t.style[n],It=(t,e,n)=>{try{const{style:i}=t;c(i[e])?i.setProperty(e,n):i[e]=((t,e)=>!Mt[t.toLowerCase()]&&f(e)?`${e}px`:e)(e,n)}catch(t){}},kt=t=>"rtl"===r(t,"direction"),Dt=(t,e,n)=>{const i=e?`${e}-`:"",o=n?`-${n}`:"",a=`${i}top${o}`,s=`${i}right${o}`,l=`${i}bottom${o}`,u=`${i}left${o}`,c=r(t,[a,s,l,u]);return{t:Ct(c[a],!0),r:Ct(c[s],!0),b:Ct(c[l],!0),l:Ct(c[u],!0)}},{round:Pt}=Math,Ot={w:0,h:0},Et=t=>t?{w:t.offsetWidth,h:t.offsetHeight}:Ot,Lt=t=>t?{w:t.clientWidth,h:t.clientHeight}:Ot,Rt=t=>t?{w:t.scrollWidth,h:t.scrollHeight}:Ot,Nt=t=>{const e=parseFloat(r(t,"height"))||0,n=parseFloat(r(t,"width"))||0;return{w:n-Pt(n),h:e-Pt(e)}},Ft=t=>t.getBoundingClientRect();let Bt;
1const zt=t=>t.split(" "),Vt=(t,e,n,r)=>{i(zt(e),(e=>{t.removeEventListener(e,n,r)}))},jt=(t,e,n,r)=>{var o;const a=(()=>{if(c(Bt)){Bt=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Bt=!0}}))}catch(t){}}return Bt})(),s=null!=(o=a&&r&&r.S)?o:a,l=r&&r.$||!1,u=r&&r.C||!1,h=[],p=a?{passive:s,capture:l}:l;return i(zt(e),(e=>{const i=u?r=>{t.removeEventListener(e,i,l),n&&n(r)}:n;T(h,Vt.bind(null,t,e,i,l)),t.addEventListener(e,i,p)})),A.bind(0,h)},Gt=t=>t.stopPropagation(),Wt=t=>t.preventDefault(),Ht={x:0,y:0},Zt=t=>{const e=t?Ft(t):0;return e?{x:e.left+window.pageYOffset,y:e.top+window.pageXOffset}:Ht},$t=(t,e)=>{i(v(e)?e:[e],t)},Ut=t=>{const e=new Map,n=(t,n)=>{if(t){const i=e.get(t);$t((t=>{i&&i[t?"delete":"clear"](t)}),n)}else e.forEach((t=>{t.clear()})),e.clear()},r=(t,o)=>{if(d(t)){const i=e.get(t)||new Set;return e.set(t,i),$t((t=>{m(t)&&i.add(t)}),o),n.bind(0,t,o)}g(o)&&o&&n();const a=k(t),s=[];return i(a,(e=>{const n=t[e];n&&T(s,r(e,n))})),A.bind(0,s)};return r(t||{}),[r,n,(t,n)=>{const r=e.get(t);i(M(r),(t=>{n&&!C(n)?t.apply(0,n):t()}))}]},Xt=t=>JSON.stringify(t,((t,e)=>{if(m(e))throw new Error;return e})),qt={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},Yt=(t,e)=>{const n={};return i(k(e).concat(k(t)),(i=>{const r=t[i],o=e[i];if(y(r)&&y(o))D(n[i]={},Yt(r,o)),P(n[i])&&delete n[i];else if(I(e,i)&&o!==r){let t=!0;if(v(r)||v(o))try{Xt(r)===Xt(o)&&(t=!1)}catch(t){}t&&(n[i]=o)}})),n},Kt="os-environment",Jt=`${Kt}-flexbox-glue`,Qt=`${Jt}-max`,te="os-scrollbar-hidden",ee="data-overlayscrollbars-initialize",ne="data-overlayscrollbars",ie=`${ne}-overflow-x`,re=`${ne}-overflow-y`,oe="overflowVisible",ae="scrollbarPressed",se="updating",le="data-overlayscrollbars-viewport",ue="arrange",ce="scrollbarHidden",he=oe,pe="data-overlayscrollbars-padding",fe=he,de="data-overlayscrollbars-content",ge="os-size-observer",me=`${ge}-appear`,ve=`${ge}-listener`,ye="os-scrollbar",_e=`${ye}-rtl`,xe=`${ye}-horizontal`,be=`${ye}-vertical`,we=`${ye}-track`,Se=`${ye}-handle`,Te=`${ye}-visible`,Me=`${ye}-cornerless`,Ce=`${ye}-transitionless`,Ae=`${ye}-interaction`,Ie=`${ye}-unusable`,ke=`${ye}-auto-hidden`,De=`${ye}-wheel`,Pe=`${we}-interactive`,Oe=`${Se}-interactive`,Ee={},Le=()=>Ee,Re="__osSizeObserverPlugin";const{round:Ne,abs:Fe}=Math,Be="__osScrollbarsHidingPlugin",ze="__osClickScrollPlugin",Ve=(()=>({[ze]:{O:(t,e,n,i,r)=>{let o=0,a=wt;const s=l=>{a=((t,e,n,i,r)=>{let o=0;const a=mt(),s=gt(0,n),l=n=>{const u=mt(),c=u-a>=s,h=n?1:1-(gt(0,a+s-u)/s||0),p=(e-t)*(m(r)?r(h,h*s,0,1,s):h)+t,f=c||1===h;i&&i(p,h,f),o=f?0:lt((()=>l()))};return l(),t=>{st(o),t&&l(t)}})(l,l+i*Math.sign(n),133,((n,l,u)=>{t(n);const c=e();if(u&&!(r>=c&&r<=c+i)){if(o)s(n);else{const t=setTimeout((()=>{s(n)}),222);a=()=>{clearTimeout(t)}}o++}}))};return s(0),()=>a()}}}))();let je;const Ge=(t,e,n,i)=>{$(t,e);const r=Lt(e),o=Et(e),a=Nt(n);return i&&X(e),{x:o.h-r.h+a.h,y:o.w-r.w+a.w}},We=(t,e)=>{const n="hidden";r(t,{overflowX:n,overflowY:n,direction:"rtl"}),N(t,0);const i=Zt(t),o=Zt(e);N(t,-999);const a=Zt(e);return{i:i.x===o.x,n:o.x!==a.x}},He=(t,e)=>{const n=dt(t,Jt),i=Ft(t),r=Ft(e),o=bt(r,i,!0),a=dt(t,Qt),s=Ft(t),l=Ft(e),u=bt(l,s,!0);return n(),a(),o&&u},Ze=()=>{const{body:t}=document,e=Y(`<div class="${Kt}"><div></div></div>`)[0],n=e.firstChild,[i,,a]=Ut(),[s,l]=o({o:Ge(t,e,n),u:_t},Ge.bind(0,t,e,n,!0)),[u]=l(),c=(t=>{let e=!1;const n=dt(t,te);try{e="none"===r(t,nt("scrollbar-width"))||"none"===window.getComputedStyle(t,"::-webkit-scrollbar").getPropertyValue("display")}catch(t){}return n(),e})(e),h={x:0===u.x,y:0===u.y},p={elements:{host:null,padding:!c,viewport:t=>c&&t===t.ownerDocument.body&&t,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},f=D({},qt),d=D.bind(0,{},f),g=D.bind(0,{},p),m={k:u,A:h,I:c,L:"-1"===r(e,"zIndex"),B:We(e,n),V:He(e,n),Y:i.bind(0,"z"),j:i.bind(0,"r"),N:g,q:t=>D(p,t)&&g(),F:d,G:t=>D(f,t)&&d(),X:D({},p),U:D({},f)},v=window.addEventListener,y=Tt((t=>a(t?"z":"r")),{v:33,g:99});if(L(e,"style"),X(e),v("resize",y.bind(0,!1)),!(c||h.x&&h.y)){let t;v("resize",(()=>{const e=Le()[Be];t=t||e&&e.R(),t&&t(m,s,y.bind(0,!0))}))}return m},$e=()=>(je||(je=Ze()),je),Ue=(t,e)=>m(e)?e.apply(0,t):e,Xe=(t,e,n,i)=>{const r=c(i)?n:i;
1return Ue(t,r)||e.apply(0,t)},qe=(t,e,n,i)=>{const r=c(i)?n:i,o=Ue(t,r);return!!o&&(b(o)?o:e.apply(0,t))},Ye=new WeakMap,Ke=t=>Ye.get(t),Je=(t,e)=>t?e.split(".").reduce(((t,e)=>t&&I(t,e)?t[e]:void 0),t):void 0,Qe=(t,e,n)=>i=>[Je(t,i),n||void 0!==Je(e,i)],tn=t=>{let e=t;return[()=>e,t=>{e=D({},e,t)}]},en="tabindex",nn=q.bind(0,""),rn=t=>{$(G(t),j(t)),X(t)},on=t=>{const e=$e(),{N:n,I:i}=e,r=Le()[Be],o=r&&r.T,{elements:a}=n(),{host:s,padding:l,viewport:u,content:c}=a,h=b(t),p=h?{}:t,{elements:f}=p,{host:d,padding:g,viewport:m,content:v}=f||{},y=h?t:p.target,_=V(y,"textarea"),x=y.ownerDocument,w=x.documentElement,M=y===x.body,C=x.defaultView,I=Xe.bind(0,[y]),D=qe.bind(0,[y]),P=Ue.bind(0,[y]),O=I.bind(0,nn,u),N=D.bind(0,nn,c),F=O(m),B=F===y,z=B&&M,W=!B&&N(v),H=!B&&b(F)&&F===W,q=H&&!!P(c),Y=q?O():F,K=q?W:N(),J=z?w:H?Y:F,Q=_?I(nn,s,d):y,tt=z?J:Q,et=H?K:W,nt=x.activeElement,it=!B&&C.top===C&&nt===y,rt={W:y,Z:tt,J:J,K:!B&&D(nn,l,g),tt:et,nt:!B&&!i&&o&&o(e),ot:z?w:J,st:z?x:J,et:C,ct:x,rt:_,it:M,lt:h,ut:B,dt:H,ft:(t,e)=>((t,e,n)=>{const i=E(t,e)||"";return new Set(i.split(" ")).has(n)})(J,B?ne:le,B?e:t),_t:(t,e,n)=>R(J,B?ne:le,B?e:t,n)},ot=k(rt).reduce(((t,e)=>{const n=rt[e];return T(t,!(!n||G(n))&&n)}),[]),at=t=>t?S(ot,t)>-1:null,{W:st,Z:lt,K:ut,J:ct,tt:ht,nt:pt}=rt,ft=[()=>{L(lt,ne),L(lt,ee),L(st,ee),M&&(L(w,ne),L(w,ee))}],gt=_&&at(lt);let mt=_?st:j([ht,ct,ut,lt,st].find((t=>!1===at(t))));const vt=z?st:ht||ct;return[rt,()=>{E(lt,ne,B?"viewport":"host"),E(ut,pe,""),E(ht,de,""),B||E(ct,le,"");const t=M&&!B?dt(G(y),te):wt;if(gt&&(U(st,lt),T(ft,(()=>{U(lt,st),X(lt)}))),$(vt,mt),$(lt,ut),$(ut||lt,!B&&ct),$(ct,ht),T(ft,(()=>{t(),L(ut,pe),L(ht,de),L(ct,ie),L(ct,re),L(ct,le),at(ht)&&rn(ht),at(ct)&&rn(ct),at(ut)&&rn(ut)})),i&&!B&&(R(ct,le,ce,!0),T(ft,L.bind(0,ct,le))),pt&&(((t,e)=>{Z(G(t),t,e)})(ct,pt),T(ft,X.bind(0,pt))),it){const t=E(ct,en);E(ct,en,"-1"),ct.focus();const e=()=>t?E(ct,en,t):L(ct,en),n=jt(x,"pointerdown keydown",(()=>{e(),n()}));T(ft,[e,n])}else nt&&nt.focus&&nt.focus();mt=0},A.bind(0,ft)]},an=(t,e)=>{const{tt:n}=t,[i]=e;return t=>{const{V:e}=$e(),{ht:o}=i(),{vt:a}=t,s=(n||!e)&&a;return s&&r(n,{height:o?"":"100%"}),{gt:s,wt:s}}},sn=(t,e)=>{const[n,i]=e,{Z:a,K:s,J:l,ut:u}=t,[c,h]=o({u:xt,o:Dt()},Dt.bind(0,a,"padding",""));return(t,e,o)=>{let[a,p]=h(o);const{I:f,V:d}=$e(),{bt:g}=n(),{gt:m,wt:v,yt:y}=t,[_,x]=e("paddingAbsolute");(m||p||!d&&v)&&([a,p]=c(o));const b=!u&&(x||y||p);if(b){const t=!_||!s&&!f,e=a.r+a.l,n=a.t+a.b,o={marginRight:t&&!g?-e:0,marginBottom:t?-n:0,marginLeft:t&&g?-e:0,top:t?-a.t:0,right:t?g?-a.r:"auto":0,left:t?g?"auto":-a.l:0,width:t?`calc(100% + ${e}px)`:""},u={paddingTop:t?a.t:0,paddingRight:t?a.r:0,paddingBottom:t?a.b:0,paddingLeft:t?a.l:0};r(s||l,o),r(l,u),i({K:a,St:!t,P:s?u:D({},o,u)})}return{xt:b}}},{max:ln}=Math,un=ln.bind(0,0),cn="visible",hn="hidden",pn={u:yt,o:{w:0,h:0}},fn={u:_t,o:{x:hn,y:hn}},dn=t=>0===t.indexOf(cn),gn=(t,e)=>{const[n,i]=e,{Z:a,K:s,J:l,nt:u,ut:c,_t:h,it:p,et:f}=t,{k:d,V:g,I:m,A:v}=$e(),y=Le()[Be],_=!c&&!m&&(v.x||v.y),x=p&&c,[b,w]=o(pn,Nt.bind(0,l)),[S,T]=o(pn,Rt.bind(0,l)),[M,C]=o(pn),[A,I]=o(pn),[k]=o(fn),D=(t,e)=>{if(r(l,{height:""}),e){const{St:e,K:i}=n(),{$t:o,D:s}=t,u=Nt(a),c=Lt(a),h="content-box"===r(l,"boxSizing"),p=e||h?i.b+i.t:0,f=!(v.x&&h);r(l,{height:c.h+u.h+(o.x&&f?s.x:0)-p})}},P=(t,e)=>{const n=m||t?0:42,i=(t,i,o)=>{const a=r(l,t),s="scroll"===(e?e[t]:a);return[a,s,s&&!m?i?n:o:0,i&&!!n]},[o,a,s,u]=i("overflowX",v.x,d.x),[c,h,p,f]=i("overflowY",v.y,d.y);return{Ct:{x:o,y:c},$t:{x:a,y:h},D:{x:s,y:p},M:{x:u,y:f}}},O=(t,e,i,r)=>{const{D:o,M:a}=t,{x:s,y:l}=a,{x:u,y:c}=o,{P:h}=n(),p=e?"marginLeft":"marginRight",f=e?"paddingLeft":"paddingRight",d=h[p],g=h.marginBottom,m=h[f],v=h.paddingBottom;r.width=`calc(100% + ${c+-1*d}px)`,r[p]=-c+d,r.marginBottom=-u+g,i&&(r[f]=m+(l?c:0),r.paddingBottom=v+(s?u:0))},[L,N]=y?y.H(_,g,l,u,n,P,O):[()=>_,()=>[wt]];return(t,e,o)=>{const{gt:u,Ot:p,wt:d,xt:y,vt:_,yt:F}=t,{ht:B,bt:z}=n(),[V,j]=e("showNativeOverlaidScrollbars"),[G,W]=e("overflow"),H=V&&v.x&&v.y,Z=!c&&!g&&(u||d||p||j||_),$=dn(G.x),U=dn(G.y),X=$||U;let q,Y=w(o),K=T(o),J=C(o),Q=I(o);if(j&&m&&h(ce,"scrollbarHidden",!H),Z&&(q=P(H),D(q,B)),u||y||d||F||j){X&&h(he,oe,!1);const[t,e]=N(H,z,q),[n,i]=Y=b(o),[r,a]=K=S(o),s=Lt(l);let u=r,c=s;t(),(a||i||j)&&e&&!H&&L(e,r,n,z)&&(c=Lt(l),u=Rt(l));const p={w:un(ln(r.w,u.w)+n.w),h:un(ln(r.h,u.h)+n.h)},d={w:un((x?f.innerWidth:c.w+un(s.w-r.w))+n.w),h:un((x?f.innerHe
1ight+n.h:c.h+un(s.h-r.h))+n.h)};Q=A(d),J=M(((t,e)=>{const n=window.devicePixelRatio%1!=0?1:0,i={w:un(t.w-e.w),h:un(t.h-e.h)};return{w:i.w>n?i.w:0,h:i.h>n?i.h:0}})(p,d),o)}const[tt,et]=Q,[nt,it]=J,[rt,ot]=K,[at,st]=Y,lt={x:nt.w>0,y:nt.h>0},ut=$&&U&&(lt.x||lt.y)||$&<.x&&!lt.y||U&<.y&&!lt.x;if(y||F||st||ot||et||it||W||j||Z){const t={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},e=((t,e,n,i)=>{const r=(t,e)=>{const n=dn(t),i=e&&n&&t.replace(`${cn}-`,"")||"";return[e&&!n?t:"",dn(i)?"hidden":i]},[o,a]=r(n.x,e.x),[s,l]=r(n.y,e.y);return i.overflowX=a&&s?a:o,i.overflowY=l&&o?l:s,P(t,i)})(H,lt,G,t),n=L(e,rt,at,z);c||O(e,z,n,t),Z&&D(e,B),c?(E(a,ie,t.overflowX),E(a,re,t.overflowY)):r(l,t)}R(a,ne,oe,ut),R(s,pe,fe,ut),c||R(l,le,he,X);const[ct,ht]=k(P(H).Ct);return i({Ct:ct,zt:{x:tt.w,y:tt.h},Tt:{x:nt.w,y:nt.h},Et:lt}),{It:ht,At:et,Lt:it}}},mn=(t,e,n)=>{const r={},o=e||{};return i(k(t).concat(k(o)),(e=>{const i=t[e],a=o[e];r[e]=!!(n||i||a)})),r},vn=(t,e,n,r)=>{let o=!1;const{Ht:a,Pt:s,Dt:l,Mt:u,Rt:c,kt:h}=r||{},p=Tt((()=>{o&&n(!0)}),{v:33,g:99}),[f,g]=((t,e,n)=>{let r,o=!1;const a=a=>{if(n){const s=n.reduce(((e,n)=>{if(n){const[i,r]=n,o=r&&i&&(a?a(i):z(i,t));o&&o.length&&r&&d(r)&&T(e,[o,r.trim()],!0)}return e}),[]);i(s,(n=>i(n[0],(i=>{const a=n[1],s=r.get(i)||[];if(t.contains(i)){const t=jt(i,a,(n=>{o?(t(),r.delete(i)):e(n)}));r.set(i,T(s,t))}else A(s),r.delete(i)}))))}};return n&&(r=new WeakMap,a()),[()=>{o=!0},a]})(t,p,l),m=s||[],v=(a||[]).concat(m),y=(o,a)=>{const s=c||wt,l=h||wt,p=new Set,f=new Set;let v=!1,y=!1;if(i(o,(n=>{const{attributeName:o,target:a,type:c,oldValue:h,addedNodes:g,removedNodes:_}=n,x="attributes"===c,b="childList"===c,w=t===a,T=x&&d(o)?E(a,o):0,M=0!==T&&h!==T,C=S(m,o)>-1&&M;if(e&&(b||!w)){const e=!x,c=x&&M,f=c&&u&&V(a,u),d=(f?!s(a,o,h,T):e||c)&&!l(n,!!f,t,r);i(g,(t=>p.add(t))),i(_,(t=>p.add(t))),y=y||d}!e&&w&&M&&!s(a,o,h,T)&&(f.add(o),v=v||C)})),p.size>0&&g((t=>M(p).reduce(((e,n)=>(T(e,z(t,n)),V(n,t)?T(e,n):e)),[]))),e)return!a&&y&&n(!1),[!1];if(f.size>0||v){const t=[M(f),v];return!a&&n.apply(0,t),t}},_=new rt((t=>y(t)));return _.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:v,subtree:e,childList:e,characterData:e}),o=!0,[()=>{o&&(f(),_.disconnect(),o=!1)},()=>{if(o){p.m();const t=_.takeRecords();return!C(t)&&y(t,!0)}}]},yn=3333333,_n=t=>t&&(t.height||t.width),xn=(t,e,n)=>{const{Bt:i=!1,Vt:r=!1}=n||{},a=Le()[Re],{B:s}=$e(),l=Y(`<div class="${ge}"><div class="${ve}"></div></div>`)[0],u=l.firstChild,c=kt.bind(0,t),[h]=o({o:void 0,_:!0,u:(t,e)=>!(!t||!_n(t)&&_n(e))}),p=t=>{const n=v(t)&&t.length>0&&y(t[0]),r=!n&&g(t[0]);let o=!1,a=!1,u=!0;if(n){const[e,,n]=h(t.pop().contentRect),i=_n(e);o=!n||!i,a=!_n(n)&&i,u=!o}else r?[,u]=t:a=!0===t;if(i&&u){const e=r?t[0]:kt(l);N(l,e?s.n?-yn:s.i?0:yn:yn),F(l,yn)}o||e({gt:!r,Yt:r?t:void 0,Vt:!!a})},f=[];let d=!!r&&p;return[()=>{A(f),X(l)},()=>{if(at){const t=new at(p);t.observe(u),T(f,(()=>{t.disconnect()}))}else if(a){const[t,e]=a.O(u,p,r);d=t,T(f,e)}if(i){const[t]=o({o:void 0},c);T(f,jt(l,"scroll",(e=>{const n=t(),[i,r,o]=n;r&&(ft(u,"ltr rtl"),dt(u,i?"rtl":"ltr"),p([!!i,r,o])),Gt(e)})))}d&&(dt(l,me),T(f,jt(l,"animationstart",d,{C:!!at}))),(at||a)&&$(t,l)}]},bn=(t,e)=>{let n;const i=q("os-trinsic-observer"),r=[],[a]=o({o:!1}),s=(t,n)=>{if(t){const i=a((t=>0===t.h||t.isIntersecting||t.intersectionRatio>0)(t)),[,r]=i;if(r)return!n&&e(i),[i]}},l=(t,e)=>{if(t&&t.length>0)return s(t.pop(),e)};return[()=>{A(r),X(i)},()=>{if(ot)n=new ot((t=>l(t)),{root:t}),n.observe(i),T(r,(()=>{n.disconnect()}));else{const t=()=>{const t=Et(i);s(t)},[e,n]=xn(i,t);T(r,e),n(),t()}$(t,i)},()=>{if(n)return l(n.takeRecords(),!0)}]},wn=`[${ne}]`,Sn=`[${le}]`,Tn=["tabindex"],Mn=["wrap","cols","rows"],Cn=["id","class","style","open"],An=(t,e,n)=>{let r,a,s;const{Z:l,J:u,tt:c,rt:h,ut:p,ft:g,_t:y}=t,{V:_}=$e(),[x]=o({u:yt,o:{w:0,h:0}},(()=>{const t=g(he,oe),e=g(ue,""),n=e&&N(u),i=e&&F(u);y(he,oe),y(ue,""),y("",se,!0);const r=Rt(c),o=Rt(u),a=Nt(u);return y(he,oe,t),y(ue,"",e),y("",se),N(u,n),F(u,i),{w:o.w+r.w+a.w,h:o.h+r.h+a.h}})),b=h?Mn:Cn.concat(Mn),w=Tt(n,{v:()=>
1r,g:()=>a,p(t,e){const[n]=t,[i]=e;return[k(n).concat(k(i)).reduce(((t,e)=>(t[e]=n[e]||i[e],t)),{})]}}),M=t=>{i(t||Tn,(t=>{if(S(Tn,t)>-1){const e=E(l,t);d(e)?E(u,t,e):L(u,t)}}))},C=(t,i)=>{const[r,o]=t,a={vt:o};return e({ht:r}),!i&&n(a),a},A=({gt:t,Yt:i,Vt:r})=>{const o=!t||r?n:w;let a=!1;if(i){const[t,n]=i;a=n,e({bt:t})}o({gt:t,yt:a})},I=(t,e)=>{const[,i]=x(),r={wt:i};return i&&!e&&(t?n:w)(r),r},P=(t,e,n)=>{const i={Ot:e};return e?!n&&w(i):p||M(t),i},[O,R,B]=c||!_?bn(l,C):[wt,wt,wt],[z,V]=p?[wt,wt]:xn(l,A,{Vt:!0,Bt:!0}),[j,G]=vn(l,!1,P,{Pt:Cn,Ht:Cn.concat(Tn)}),Z=p&&at&&new at(A.bind(0,{gt:!0}));return Z&&Z.observe(l),M(),[()=>{O(),z(),s&&s[0](),Z&&Z.disconnect(),j()},()=>{V(),R()},()=>{const t={},e=G(),n=B(),i=s&&s[1]();return e&&D(t,P.apply(0,T(e,!0))),n&&D(t,C.apply(0,T(n,!0))),i&&D(t,I.apply(0,T(i,!0))),t},t=>{const[e]=t("update.ignoreMutation"),[n,i]=t("update.attributes"),[o,l]=t("update.elementEvents"),[h,d]=t("update.debounce"),g=t=>m(e)&&e(t);if((l||i)&&(s&&(s[1](),s[0]()),s=vn(c||u,!0,I,{Ht:b.concat(n||[]),Dt:o,Mt:wn,kt:(t,e)=>{const{target:n,attributeName:i}=t;return!(e||!i||p)&&H(n,wn,Sn)||!!W(n,`.${ye}`)||!!g(t)}})),d)if(w.m(),v(h)){const t=h[0],e=h[1];r=f(t)&&t,a=f(e)&&e}else f(h)?(r=h,a=!1):(r=!1,a=!1)}]},In={x:0,y:0},kn=(t,e)=>{const n=Qe(e,{}),[r,o,a]=Ut(),[s,l,u]=on(t),c=tn((t=>({K:{t:0,r:0,b:0,l:0},St:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:In,Tt:In,Ct:{x:"hidden",y:"hidden"},Et:{x:!1,y:!1},ht:!1,bt:kt(t.Z)}))(s)),[h,p]=c,f=((t,e)=>{const{W:n,J:r,_t:o,ut:a}=t,{I:s,A:l,V:u}=$e(),c=!s&&(l.x||l.y),h=[an(t,e),sn(t,e),gn(t,e)];return(t,e,s)=>{const l=mn(D({gt:!1,xt:!1,yt:!1,vt:!1,At:!1,Lt:!1,It:!1,Ot:!1,wt:!1},e),{},s),p=c||!u,f=p&&N(r),d=p&&F(r);o("",se,!0);let g=l;return i(h,(e=>{g=mn(g,e(g,t,!!s)||{},s)})),N(r,f),F(r,d),o("",se),a||(N(n,0),F(n,0)),g}})(s,c),d=(t,e,n)=>{const i=k(t).some((e=>t[e])),r=i||!P(e)||n;return r&&a("u",[t,e,n]),r},[g,m,v,y]=An(s,p,(t=>d(f(n,t),{},!1))),_=h.bind(0);return _.jt=t=>r("u",t),_.Nt=()=>{const{W:t,J:e}=s,n=N(t),i=F(t);m(),l(),N(e,n),F(e,i)},_.qt=s,[(t,n)=>{const i=Qe(e,t,n);return y(i),d(f(i,v(),n),t,!!n)},_,()=>{o(),g(),u()}]},{round:Dn}=Math,Pn=(t,e)=>jt(t,"mousedown",jt.bind(0,e,"click",Gt,{C:!0,$:!0}),{$:!0}),On="pointerup pointerleave pointercancel lostpointercapture",En=(t,e,n,i,r,o,a)=>{const{B:s}=$e(),{Ft:l,Gt:u,Xt:c}=i,h="scroll"+(a?"Left":"Top"),p="client"+(a?"X":"Y"),f=a?"width":"height",d=a?"left":"top",g=a?"w":"h",m=a?"x":"y",v=(t,e)=>n=>{const{Tt:i}=o(),p=Et(u)[g]-Et(l)[g],f=e*n/p*i[m],d=kt(c)&&a?s.n||s.i?1:-1:1;r[h]=t+f*d};return jt(u,"pointerdown",(i=>{const o=W(i.target,`.${Se}`)===l,a=o?l:u;if(R(e,ne,ae,!0),((t,e,n)=>{const i=e.scrollbars,{button:r,isPrimary:o,pointerType:a}=t,{pointers:s}=i;return 0===r&&o&&i[n?"dragScroll":"clickScroll"]&&(s||[]).includes(a)})(i,t,o)){const t=!o&&i.shiftKey,s=()=>Ft(l),c=()=>Ft(u),g=(t,e)=>(t||s())[d]-(e||c())[d],y=v(r[h]||0,1/(t=>{const{width:e,height:n}=Ft(t),{w:i,h:r}=Et(t);return{x:Dn(e)/i||1,y:Dn(n)/r||1}})(r)[m]),_=i[p],x=s(),b=c(),w=x[f],S=g(x,b)+w/2,M=_-b[d],C=o?0:M-S,I=t=>{A(k),a.releasePointerCapture(t.pointerId)},k=[R.bind(0,e,ne,ae),jt(n,On,I),jt(n,"selectstart",(t=>Wt(t)),{S:!1}),jt(u,On,I),jt(u,"pointermove",(e=>{const n=e[p]-_;(o||t)&&y(C+n)}))];if(t)y(C);else if(!o){const t=Le()[ze];t&&T(k,t.O(y,g,C,w,M))}a.setPointerCapture(i.pointerId)}}))},{min:Ln,max:Rn,abs:Nn,round:Fn}=Math,Bn=(t,e,n,i)=>{if(i){const t=n?"x":"y",{Tt:e,zt:r}=i,o=r[t],a=e[t];return Rn(0,Ln(1,o/(o+a)))}const r=n?"width":"height",o=Ft(t)[r],a=Ft(e)[r];return Rn(0,Ln(1,o/a))},zn=(t,e,n)=>{const{N:o,L:a}=$e(),{scrollbars:s}=o(),{slot:l}=s,{ct:u,W:c,Z:h,J:p,lt:f,ot:d,it:m,ut:v}=e,{scrollbars:y}=f?{}:t,{slot:_}=y||{},x=qe([c,h,p],(()=>v&&m?c:h),l,_),b=(t,e,n)=>{const r=n?dt:ft;i(t,(t=>{r(t.Xt,e)}))},w=(t,e)=>{i(t,(t=>{const[n,i]=e(t);r(n,i)}))},S=(t,e,n)=>{w(t,(t=>{const{Ft:i,Gt:r}=t;return[i,{[n?"width":"height"]:`${(100*Bn(i,r,n,e)).toFixed(3)}%`}]}))},M=(t,e,n)=>{const i=n?"X":"Y";w(t,(t=>{const{Ft:r,Gt:o,Xt:a}=t,s=((t,e,n,i,r,o)=>{const{B:a}=$e(),s=o?"x":"y",l=o?"Left":"Top",{Tt:u}=i,c=Fn(u[s]),h=Nn(n[`scroll${l}`]),p=o&&r,f=a.i?h:c-h,d=Ln(1,(p?f:h)/c),g=Bn(t,e,o);return 1/g*(1-g)*d})(r,o,d,e,kt(a),n);return[r,{transform:s==s?`translate${i}(${(100*s).toFixed(3)}%)`:""}]}))},I=[],k=[],D=[],P=(t,e,n)=>{const i=g(n),r=!i||!n;(!i||n)&&b(k,t,e),r&&b(D,t,e)},O=t=>{const e=t?xe:be,i=t?k:D,r=C(i)?Ce:"",o=q(`${ye} ${e} ${r}`),s=q(we),l=q(Se),c={Xt:o,Gt:s,Ft:l};return a||dt(o,"os-no-css-vars"),$(o,s),$(s,l),T(i,c),T(I,[X.bind(0,o),n(c,P,u,h,d,t)]),c},E=O.bind(0,!0),L=O.bind(0,!1);return E(),L(),[{Ut:t=>{S(k,t,!0),S(D,t)},Wt:t=>{M(k,t,!0),M(D,t)},Zt:P,Jt:{Kt:k,Qt:E,tn:w.bind(0,k)},nn:{Kt:D,Qt:L,tn:w.bind(0,D)}},()=>{$(x,k[0].Xt),$(x,D[0].Xt),ut((()=>{P(Ce)}),300)},A.bind(0,I)]},Vn=(t,e,n,i)=>{let r,o,a,s,l,u=0;const c=tn({}),[h]=c,[p,f]=St(),[d,g]=St(),[m,v]=St(100),[y,_]=St(100),[x,b]=St((()=>u)),[w,S,T]=zn(t,n.qt,((t,e)=>(n,i,r,o,a,s)=>{const{Xt:l}=n,[u,c]=St(333),h=!!a.scrollBy;let p=!0;return A.bind(0,[jt(l,"pointerenter",(()=>{i(Ae,!0)})),jt(l,"pointerleave pointercancel",(()=>{i(Ae)})),jt(l,"wheel",(t=>{const{deltaX:e,deltaY:n,deltaMode:r}=t;h&&p&&0===r&&G(l)===o&&a.scrollBy({left:e,top:n,behavior:"smooth"}),p=!1,i(De,!0),u((()=>{p=!0,i(De)})),Wt(t)}),{S:!1,$:!0}),Pn(l,r),En(t,o,r,n,a,e,s),c])})(e,n)),{Z:M,J:C,ot:I,st:k,ut:D,it:P}=n.qt,{Jt:O,nn:E,Zt:L,Ut:R,Wt:B}=w,{tn:z}=O,{tn:V}=E,j=t=>{const{Xt:e}=t,n=D&&!P&&G(e)===C&&e;return[n,{transform:n?`translate(${N(I)}px, ${F(I)}px)`:""}]},W=(t,e)=>{if(b(),t)L(ke);else{const t=()=>L(ke,!0);u>
10&&!e?x(t):t()}},H=()=>{s=o,s&&W(!0)},Z=[v,b,_,g,f,T,jt(M,"pointerover",H,{C:!0}),jt(M,"pointerenter",H),jt(M,"pointerleave",(()=>{s=!1,o&&W(!1)})),jt(M,"pointermove",(()=>{r&&p((()=>{v(),W(!0),y((()=>{r&&W(!1)}))}))})),jt(k,"scroll",(t=>{d((()=>{B(n()),a&&W(!0),m((()=>{a&&!s&&W(!1)}))})),i(t),D&&z(j),D&&V(j)}))],$=h.bind(0);return $.qt=w,$.Nt=S,[(t,i,s)=>{const{At:c,Lt:h,It:p,yt:f}=s,{A:d}=$e(),g=Qe(e,t,i),m=n(),{Tt:v,Ct:y,bt:_}=m,[x,b]=g("showNativeOverlaidScrollbars"),[w,S]=g("scrollbars.theme"),[T,M]=g("scrollbars.visibility"),[C,A]=g("scrollbars.autoHide"),[I]=g("scrollbars.autoHideDelay"),[k,D]=g("scrollbars.dragScroll"),[O,E]=g("scrollbars.clickScroll"),N=c||h||f,F=p||M,z=x&&d.x&&d.y,V=(t,e)=>{const n="visible"===T||"auto"===T&&"scroll"===t;return L(Te,n,e),n};if(u=I,b&&L("os-theme-none",z),S&&(L(l),L(w,!0),l=w),A&&(r="move"===C,o="leave"===C,a="never"!==C,W(!a,!0)),D&&L(Oe,k),E&&L(Pe,O),F){const t=V(y.x,!0),e=V(y.y,!1);L(Me,!(t&&e))}N&&(R(m),B(m),L(Ie,!v.x,!0),L(Ie,!v.y,!1),L(_e,_&&!P))},$,A.bind(0,Z)]},jn=(t,e,n)=>{m(t)&&t(e||void 0,n||void 0)},Gn=(t,e,n)=>{const{F:r,N:o,Y:a,j:s}=$e(),l=Le(),u=b(t),p=u?t:t.target,f=Ke(p);if(e&&!f){let f=!1;const d=t=>{const e=Le().__osOptionsValidationPlugin,n=e&&e.O;return n?n(t,!0):t},g=D({},r(),d(e)),[m,v,y]=Ut(n),[_,x,b]=kn(t,g),[w,S,T]=Vn(t,g,x,(t=>y("scroll",[E,t]))),M=(t,e)=>_(t,!!e),C=M.bind(0,{},!0),A=a(C),I=s(C),O=t=>{(t=>{Ye.delete(t)})(p),A(),I(),T(),b(),f=!0,y("destroyed",[E,!!t]),v()},E={options(t,e){if(t){const n=e?r():{},i=Yt(g,D(n,d(t)));P(i)||(D(g,i),M(i))}return D({},g)},on:m,off:(t,e)=>{t&&e&&v(t,e)},state(){const{zt:t,Tt:e,Ct:n,Et:i,K:r,St:o,bt:a}=x();return D({},{overflowEdge:t,overflowAmount:e,overflowStyle:n,hasOverflow:i,padding:r,paddingAbsolute:o,directionRTL:a,destroyed:f})},elements(){const{W:t,Z:e,K:n,J:i,tt:r,ot:o,st:a}=x.qt,{Jt:s,nn:l}=S.qt,u=t=>{const{Ft:e,Gt:n,Xt:i}=t;return{scrollbar:i,track:n,handle:e}},c=t=>{const{Kt:e,Qt:n}=t,i=u(e[0]);return D({},i,{clone:()=>{const t=u(n());return w({},!0,{}),t}})};return D({},{target:t,host:e,padding:n||i,viewport:i,content:r||i,scrollOffsetElement:o,scrollEventElement:a,scrollbarHorizontal:c(s),scrollbarVertical:c(l)})},update:t=>M({},t),destroy:O.bind(0)};return x.jt(((t,e,n)=>{w(e,n,t)})),((t,e)=>{Ye.set(t,e)})(p,E),i(k(l),(t=>jn(l[t],0,E))),((t,e,n)=>{const{nativeScrollbarsOverlaid:i,body:r}=n||{},{A:o,I:a}=$e(),{nativeScrollbarsOverlaid:s,body:l}=e,u=null!=i?i:s,p=c(r)?l:r,f=(o.x||o.y)&&u,d=t&&(h(p)?!a:p);return!!f||!!d})(x.qt.it,o().cancel,!u&&t.cancel)?(O(!0),E):(x.Nt(),S.Nt(),y("initialized",[E]),x.jt(((t,e,n)=>{const{gt:i,yt:r,vt:o,At:a,Lt:s,It:l,wt:u,Ot:c}=t;y("updated",[E,{updateHints:{sizeChanged:i,directionChanged:r,heightIntrinsicChanged:o,overflowEdgeChanged:a,overflowAmountChanged:s,overflowStyleChanged:l,contentMutation:u,hostMutation:c},changedOptions:e,force:n}])})),E.update(!0),E)}return f};Gn.plugin=t=>{i((t=>{const e=[];return i(v(t)?t:[t],(t=>{i(k(t),(n=>{T(e,Ee[n]=t[n])}))})),e})(t),(t=>jn(t,Gn)))},Gn.valid=t=>
1{const e=t&&t.elements,n=m(e)&&e();return x(n)&&!!Ke(n.target)},Gn.env=()=>{const{k:t,A:e,I:n,B:i,V:r,L:o,X:a,U:s,N:l,q:u,F:c,G:h}=$e();return D({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,rtlScrollBehavior:i,flexboxGlue:r,cssCustomProperties:o,staticDefaultInitialization:a,staticDefaultOptions:s,getDefaultInitialization:l,setDefaultInitialization:u,getDefaultOptions:c,setDefaultOptions:h})}},7628:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function r(t={},e={}){Object.keys(e).forEach((n=>{void 0===t[n]?t[n]=e[n]:i(e[n])&&i(t[n])&&Object.keys(e[n]).length>0&&r(t[n],e[n])}))}n.d(e,{Jj:function(){return l},Me:function(){return a}});const o={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const t="undefined"!=typeof document?document:{};return r(t,o),t}const s={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function l(){const t="undefined"!=typeof window?window:{};return r(t,s),t}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.