(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["rail"],{"071b":function(t,e,n){(function(t,n,i){(function(t,n){n(e)})(0,(function(e){"use strict";var r=Object.defineProperty,o=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(t,e,n)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,c=(t,e)=>{for(var n in e||(e={}))l.call(e,n)&&u(t,n,e[n]);if(s)for(var n of s(e))h.call(e,n)&&u(t,n,e[n]);return t},d=(t,e)=>o(t,a(e)),g=(t,e,n)=>(u(t,"symbol"!=typeof e?e+"":e,n),n),f=(t,e,n)=>new Promise((i,r)=>{var o=t=>{try{s(n.next(t))}catch(w){r(w)}},a=t=>{try{s(n.throw(t))}catch(w){r(w)}},s=t=>t.done?i(t.value):Promise.resolve(t.value).then(o,a);s((n=n.apply(t,e)).next())});"undefined"==typeof window.global&&(window.global=window);let p=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((t,e)=>(e&=63,t+=e<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_",t),"");const m={1:"The view center is not defined",2:"The view resolution is not defined",3:"The view rotation is not defined",4:"`image` and `src` cannot be provided at the same time",5:"`imgSize` must be set when `image` is provided",7:"`format` must be set when `url` is set",8:"Unknown `serverType` configured",9:"`url` must be configured or set using `#setUrl()`",10:"The default `geometryFunction` can only handle `Point` geometries",11:"`options.featureTypes` must be an Array",12:"`options.geometryName` must also be provided when `options.bbox` is set",13:"Invalid corner",14:"Invalid color",15:"Tried to get a value for a key that does not exist in the cache",16:"Tried to set a value for a key that is used already",17:"`resolutions` must be sorted in descending order",18:"Either `origin` or `origins` must be configured, never both",19:"Number of `tileSizes` and `resolutions` must be equal",20:"Number of `origins` and `resolutions` must be equal",22:"Either `tileSize` or `tileSizes` must be configured, never both",24:"Invalid extent or geometry provided as `geometry`",25:"Cannot fit empty extent provided as `geometry`",26:"Features must have an id set",27:"Features must have an id set",28:'`renderMode` must be `"hybrid"` or `"vector"`',30:"The passed `feature` was already added to the source",31:"Tried to enqueue an `element` that was already added to the queue",32:"Transformation matrix cannot be inverted",33:"Invalid units",34:"Invalid geometry layout",36:"Unknown SRS type",37:"Unknown geometry type found",38:"`styleMapValue` has an unknown type",39:"Unknown geometry type",40:"Expected `feature` to have a geometry",41:"Expected an `ol/style/Style` or an array of `ol/style/Style.js`",42:"Question unknown, the answer is 42",43:"Expected `layers` to be an array or a `Collection`",47:"Expected `controls` to be an array or an `ol/Collection`",48:"Expected `interactions` to be an array or an `ol/Collection`",49:"Expected `overlays` to be an array or an `ol/Collection`",50:"`options.featureTypes` should be an Array",51:"Either `url` or `tileJSON` options must be provided",52:"Unknown `serverType` configured",53:"Unknown `tierSizeCalculation` configured",55:"The {-y} placeholder requires a tile grid with extent",56:"mapBrowserEvent must originate from a pointer event",57:"At least 2 conditions are required",59:"Invalid command found in the PBF",60:"Missing or invalid `size`",61:"Cannot determine IIIF Image API version from provided image information JSON",62:"A `WebGLArrayBuffer` must either be of type `ELEMENT_ARRAY_BUFFER` or `ARRAY_BUFFER`",64:"Layer opacity must be a number",66:"`forEachFeatureAtCoordinate` cannot be used on a WebGL layer if the hit detection logic has not been enabled. This is done by providing adequate shaders using the `hitVertexShader` and `hitFragmentShader` properties of `WebGLPointsLayerRenderer`",67:"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both",68:"A VectorTile source can only be rendered if it has a projection compatible with the view projection",69:"`width` or `height` cannot be provided together with `scale`"};class y extends Error{constructor(t){const e=m[t];super(e),this.code=t,this.name="AssertionError",this.message=e}}const v=y;class _{constructor(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}function x(t){t.stopPropagation()}const b=_,w={PROPERTYCHANGE:"propertychange"};class S{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}const A=S;function C(t,e,n){let i,r;n=n||T;let o=0,a=t.length,s=!1;for(;o>1),r=+n(t[i],e),r<0?o=i+1:(a=i,s=!r);return s?o:~o}function T(t,e){return t>e?1:t0){for(r=1;r0?r-1:r:t[r-1]-e0||n&&0===o)}))}function L(){return!0}function k(){return!1}function R(){}function D(t){let e,n,i,r=!1;return function(){const o=Array.prototype.slice.call(arguments);return(!r||this!==i||!z(o,n))&&(r=!0,i=this,n=o,e=t.apply(this,arguments)),e}}function O(t){for(const e in t)delete t[e]}function j(t){let e;for(e in t)return!1;return!e}class F extends A{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,e){if(!t||!e)return;const n=this.listeners_||(this.listeners_={}),i=n[t]||(n[t]=[]);i.includes(e)||i.push(e)}dispatchEvent(t){const e="string"==typeof t,n=e?t:t.type,i=this.listeners_&&this.listeners_[n];if(!i)return;const r=e?new b(t):t;r.target||(r.target=this.eventTarget_||this);const o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});let s;n in o||(o[n]=0,a[n]=0),++o[n];for(let l=0,h=i.length;l0)}removeEventListener(t,e){const n=this.listeners_&&this.listeners_[t];if(n){const i=n.indexOf(e);-1!==i&&(this.pendingRemovals_&&t in this.pendingRemovals_?(n[i]=R,++this.pendingRemovals_[t]):(n.splice(i,1),0===n.length&&delete this.listeners_[t]))}}}const N=F,B={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function G(t,e,n,i,r){if(i&&i!==t&&(n=n.bind(i)),r){const i=n;n=function(){t.removeEventListener(e,n),i.apply(this,arguments)}}const o={target:t,type:e,listener:n};return t.addEventListener(e,n),o}function V(t,e,n,i){return G(t,e,n,i,!0)}function q(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),O(t))}class W extends N{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(B.CHANGE)}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const n=t.length,i=new Array(n);for(let r=0;r0;)this.pop()}extend(t){for(let e=0,n=t.length;ethis.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new et($.ADD,e,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const e=this.getLength();return this.insertAt(e,t),this.getLength()}remove(t){const e=this.array_;for(let n=0,i=e.length;n=this.getLength())return;const e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new et($.REMOVE,e,t)),e}setAt(t,e){const n=this.getLength();if(t>=n)return void this.insertAt(t,e);if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e,t);const i=this.array_[t];this.array_[t]=e,this.dispatchEvent(new et($.REMOVE,i,t)),this.dispatchEvent(new et($.ADD,e,t))}updateLength_(){this.set(tt.LENGTH,this.array_.length)}assertUnique_(t,e){for(let n=0,i=this.array_.length;nr&&(l|=kt.RIGHT),so&&(l|=kt.ABOVE),l===kt.UNKNOWN&&(l=kt.INTERSECTING),l}function qt(){return[1/0,1/0,-1/0,-1/0]}function Wt(t,e,n,i,r){return r?(r[0]=t,r[1]=e,r[2]=n,r[3]=i,r):[t,e,n,i]}function Ut(t){return Wt(1/0,1/0,-1/0,-1/0,t)}function Ht(t,e){const n=t[0],i=t[1];return Wt(n,i,n,i,e)}function Zt(t,e,n,i,r){const o=Ut(r);return Jt(o,t,e,n,i)}function Yt(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function Xt(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function Kt(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function Jt(t,e,n,i,r){for(;ne[0]?i[0]=t[0]:i[0]=e[0],t[1]>e[1]?i[1]=t[1]:i[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function ge(t){return t[2]=a&&p<=l),!i&&!!(o&kt.RIGHT)&&!(r&kt.RIGHT)&&(m=g-(d-l)*f,i=m>=s&&m<=h),!i&&!!(o&kt.BELOW)&&!(r&kt.BELOW)&&(p=d-(g-s)/f,i=p>=a&&p<=l),!i&&o&kt.LEFT&&!(r&kt.LEFT)&&(m=g-(d-a)*f,i=m>=s&&m<=h)}return i}function ye(t,e,n,i){let r=[];if(i>1){const e=t[2]-t[0],n=t[3]-t[1];for(let o=0;o=n[2])){const e=ce(n),r=Math.floor((i[0]-n[0])/e)*e;t[0]-=r,t[2]-=r}return t}function _e(t,e){if(e.canWrapX()){const n=e.getExtent();if(!isFinite(t[0])||!isFinite(t[2]))return[[n[0],t[1],n[2],t[3]]];ve(t,e);const i=ce(n);if(ce(t)>i)return[[n[0],t[1],n[2],t[3]]];if(t[0]n[2])return[[t[0],t[1],n[2],t[3]],[n[0],t[1],t[2]-i,t[3]]]}return[t]}const xe={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};class be{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||xe[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}}const we=be,Se=6378137,Ae=Math.PI*Se,Ce=[-Ae,-Ae,Ae,Ae],Te=[-180,-85,180,85],Ie=Se*Math.log(Math.tan(Math.PI/2));class Me extends we{constructor(t){super({code:t,units:"m",extent:Ce,global:!0,worldExtent:Te,getPointResolution:function(t,e){return t/Math.cosh(e[1]/Se)}})}}const Ee=[new Me("EPSG:3857"),new Me("EPSG:102100"),new Me("EPSG:102113"),new Me("EPSG:900913"),new Me("http://www.opengis.net/def/crs/EPSG/0/3857"),new Me("http://www.opengis.net/gml/srs/epsg.xml#3857")];function ze(t,e,n){const i=t.length;n=n>1?n:2,void 0===e&&(e=n>2?t.slice():new Array(i));for(let r=0;rIe?n=Ie:n<-Ie&&(n=-Ie),e[r+1]=n}return e}function Pe(t,e,n){const i=t.length;n=n>1?n:2,void 0===e&&(e=n>2?t.slice():new Array(i));for(let r=0;r1?(n=r,i=o):l>0&&(n+=a*l,i+=s*l)}return Ue(t,e,n,i)}function Ue(t,e,n,i){const r=n-t,o=i-e;return r*r+o*o}function He(t){const e=t.length;for(let i=0;ir&&(r=e,n=a)}if(0===r)return null;const o=t[n];t[n]=t[i],t[i]=o;for(let a=i+1;a=0;i--){n[i]=t[i][e]/t[i][i];for(let r=i-1;r>=0;r--)t[r][e]-=t[r][i]*n[i]}return n}function Ze(t){return t*Math.PI/180}function Ye(t,e){const n=t%e;return n*e<0?n+e:n}function Xe(t,e,n){return t+n*(e-t)}function Ke(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}function Je(t,e){return Math.floor(Ke(t,e))}function Qe(t,e){return Math.ceil(Ke(t,e))}function $e(t,e){const n=(""+t).split("."),i=(""+e).split(".");for(let r=0;re)return 1;if(e>t)return-1}return 0}function tn(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function en(t,e){const n=e.getRadius(),i=e.getCenter(),r=i[0],o=i[1],a=t[0],s=t[1];let l=a-r;const h=s-o;0===l&&0===h&&(l=1);const u=Math.sqrt(l*l+h*h),c=r+n*l/u,d=o+n*h/u;return[c,d]}function nn(t,e){const n=t[0],i=t[1],r=e[0],o=e[1],a=r[0],s=r[1],l=o[0],h=o[1],u=l-a,c=h-s,d=0===u&&0===c?0:(u*(n-a)+c*(i-s))/(u*u+c*c||0);let g,f;return d<=0?(g=a,f=s):d>=1?(g=l,f=h):(g=a+d*u,f=s+d*c),[g,f]}function rn(t,e){let n=!0;for(let i=t.length-1;i>=0;--i)if(t[i]!=e[i]){n=!1;break}return n}function on(t,e){const n=Math.cos(e),i=Math.sin(e),r=t[0]*n-t[1]*i,o=t[1]*n+t[0]*i;return t[0]=r,t[1]=o,t}function an(t,e){return t[0]*=e,t[1]*=e,t}function sn(t,e){const n=t[0]-e[0],i=t[1]-e[1];return n*n+i*i}function ln(t,e){return Math.sqrt(sn(t,e))}function hn(t,e){return sn(t,nn(t,e))}function un(t,e){if(e.canWrapX()){const n=ce(e.getExtent()),i=cn(t,e,n);i&&(t[0]-=i*n)}return t}function cn(t,e,n){const i=e.getExtent();let r=0;return e.canWrapX()&&(t[0]i[2])&&(n=n||ce(i),r=Math.floor((t[0]-i[0])/n)),r}const dn=6371008.8;function gn(t,e,n){n=n||dn;const i=Ze(t[1]),r=Ze(e[1]),o=(r-i)/2,a=Ze(e[0]-t[0])/2,s=Math.sin(o)*Math.sin(o)+Math.sin(a)*Math.sin(a)*Math.cos(i)*Math.cos(r);return 2*n*Math.atan2(Math.sqrt(s),Math.sqrt(1-s))}function fn(t,e){let n=0;for(let i=0,r=t.length;i=a?e[o+t]:r[t]}return n}}function Ln(t,e,n,i){const r=Tn(t),o=Tn(e);Ge(r,o,Pn(n)),Ge(o,r,Pn(i))}function kn(t,e){return bn(),Fn(t,"EPSG:4326",void 0!==e?e:"EPSG:3857")}function Rn(t,e){const n=Fn(t,void 0!==e?e:"EPSG:3857","EPSG:4326"),i=n[0];return(i<-180||i>180)&&(n[0]=Ye(i+180,360)-180),n}function Dn(t,e){if(t===e)return!0;const n=t.getUnits()===e.getUnits();return(t.getCode()===e.getCode()||On(t,e)===wn)&&n}function On(t,e){const n=t.getCode(),i=e.getCode();let r=Ve(n,i);return r||(r=Sn),r}function jn(t,e){const n=Tn(t),i=Tn(e);return On(n,i)}function Fn(t,e,n){return jn(e,n)(t,void 0,t.length)}function Nn(t,e,n,i){const r=jn(e,n);return ye(t,r,void 0,i)}function Bn(t,e){return t}function Gn(t,e){return xn&&!rn(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(xn=!1,_n("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t}function Vn(t,e){return t}function qn(t,e){return t}function Wn(){Mn(Ee),Mn(Oe),En(Oe,Ee,ze,Pe)}function Un(t,e,n,i,r,o){o=o||[];let a=0;for(let s=e;s1)c=n;else{if(d>0){for(let r=0;rr&&(r=s),o=n,a=i}return r}function oi(t,e,n,i,r){for(let o=0,a=n.length;o0;){const n=h.pop(),o=h.pop();let a=0;const s=t[o],c=t[o+1],d=t[n],g=t[n+1];for(let e=o+i;ea&&(u=e,a=r)}a>r&&(l[(u-e)/i]=1,o+i0&&f>d)&&(g<0&&p0&&p>g)?(s=n,l=c):(o[a++]=s,o[a++]=l,h=s,u=l,s=n,l=c)}return o[a++]=s,o[a++]=l,a}function vi(t,e,n,i,r,o,a,s){for(let l=0,h=n.length;lo&&(n-s)*(o-l)-(r-s)*(i-l)>0&&a++:i<=o&&(n-s)*(o-l)-(r-s)*(i-l)<0&&a--,s=n,l=i}return 0!==a}function Li(t,e,n,i,r,o){if(0===n.length||!Pi(t,e,n[0],i,r,o))return!1;for(let a=1,s=n.length;ay&&(h=(u+c)/2,Li(t,e,n,i,h,f)&&(m=h,y=r)),u=c}return isNaN(m)&&(m=r[o]),a?(a.push(m,f,y),a):[m,f,y]}function Di(t,e,n,i,r){let o=[];for(let a=0,s=n.length;a=r[0]&&o[2]<=r[2]||o[1]>=r[1]&&o[3]<=r[3])||Oi(t,e,n,i,(function(t,e){return me(r,t,e)})))}function Fi(t,e,n,i,r){for(let o=0,a=n.length;o0}function Wi(t,e,n,i,r){r=void 0!==r&&r;for(let o=0,a=n.length;o1?a:2,o=o||new Array(a);for(let u=0;u>1;r0&&t[1]>0}function gr(t,e,n){return void 0===n&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function fr(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}class pr{constructor(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.scaleArray_=fr(t.scale),this.displacement_=t.displacement,this.declutterMode_=t.declutterMode}clone(){const t=this.getScale();return new pr({opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return H()}getImage(t){return H()}getHitDetectionImage(){return H()}getPixelRatio(t){return 1}getImageState(){return H()}getImageSize(){return H()}getOrigin(){return H()}getSize(){return H()}setDisplacement(t){this.displacement_=t}setOpacity(t){this.opacity_=t}setRotateWithView(t){this.rotateWithView_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=fr(t)}listenImageChange(t){H()}load(){H()}unlistenImageChange(t){H()}}const mr=pr,yr=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,vr=/^([a-z]*)$|^hsla?\(.*\)$/i;function _r(t){return"string"==typeof t?t:Cr(t)}function xr(t){const e=document.createElement("div");if(e.style.color=t,""!==e.style.color){document.body.appendChild(e);const t=getComputedStyle(e).color;return document.body.removeChild(e),t}return""}const br=function(){const t={};let e=0;return function(n){let i;if(t.hasOwnProperty(n))i=t[n];else{if(e>=1024){let n=0;for(const i in t)0===(3&n++)&&(delete t[i],--e)}i=Sr(n),t[n]=i,++e}return i}}();function wr(t){return Array.isArray(t)?t:br(t)}function Sr(t){let e,n,i,r,o;if(vr.exec(t)&&(t=xr(t)),yr.exec(t)){const a=t.length-1;let s;s=a<=4?1:2;const l=4===a||8===a;e=parseInt(t.substr(1+0*s,s),16),n=parseInt(t.substr(1+1*s,s),16),i=parseInt(t.substr(1+2*s,s),16),r=l?parseInt(t.substr(1+3*s,s),16):255,1==s&&(e=(e<<4)+e,n=(n<<4)+n,i=(i<<4)+i,l&&(r=(r<<4)+r)),o=[e,n,i,r/255]}else t.startsWith("rgba(")?(o=t.slice(5,-1).split(",").map(Number),Ar(o)):t.startsWith("rgb(")?(o=t.slice(4,-1).split(",").map(Number),o.push(1),Ar(o)):rt(!1,14);return o}function Ar(t){return t[0]=qe(t[0]+.5|0,0,255),t[1]=qe(t[1]+.5|0,0,255),t[2]=qe(t[2]+.5|0,0,255),t[3]=qe(t[3],0,1),t}function Cr(t){let e=t[0];e!=(0|e)&&(e=e+.5|0);let n=t[1];n!=(0|n)&&(n=n+.5|0);let i=t[2];i!=(0|i)&&(i=i+.5|0);const r=void 0===t[3]?1:Math.round(100*t[3])/100;return"rgba("+e+","+n+","+i+","+r+")"}function Tr(t){return Array.isArray(t)?Cr(t):t}function Ir(t,e,n,i){let r;return r=n&&n.length?n.shift():ft?new OffscreenCanvas(t||300,e||300):document.createElement("canvas"),t&&(r.width=t),e&&(r.height=e),r.getContext("2d",i)}function Mr(t){const e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function Er(t){let e=t.offsetWidth;const n=getComputedStyle(t);return e+=parseInt(n.marginLeft,10)+parseInt(n.marginRight,10),e}function zr(t){let e=t.offsetHeight;const n=getComputedStyle(t);return e+=parseInt(n.marginTop,10)+parseInt(n.marginBottom,10),e}function Pr(t,e){const n=e.parentNode;n&&n.replaceChild(t,e)}function Lr(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function kr(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function Rr(t,e){const n=t.childNodes;for(let i=0;;++i){const r=n[i],o=e[i];if(!r&&!o)break;if(r!==o){if(!r){t.appendChild(o);continue}if(!o){t.removeChild(r),--i;continue}t.insertBefore(o,r)}}}const Dr="ol-hidden",Or="ol-selectable",jr="ol-unselectable",Fr="ol-unsupported",Nr="ol-control",Br="ol-collapsed",Gr=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),Vr=["style","variant","weight","size","lineHeight","family"],qr=function(t){const e=t.match(Gr);if(!e)return null;const n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let i=0,r=Vr.length;iMath.max(e,ho(t,n)),0);return n[e]=i,i}function co(t,e){const n=[],i=[],r=[];let o=0,a=0,s=0,l=0;for(let h=0,u=e.length;h<=u;h+=2){const c=e[h];if("\n"===c||h===u){o=Math.max(o,a),r.push(a),a=0,s+=l;continue}const d=e[h+1]||t.font,g=ho(d,c);n.push(g),a+=g;const f=so(d);i.push(f),l=Math.max(l,f)}return{width:o,height:s,widths:n,heights:i,lineWidths:r}}function go(t,e,n,i,r,o,a,s,l,h,u){t.save(),1!==n&&(t.globalAlpha*=n),e&&t.setTransform.apply(t,e),i.contextInstructions?(t.translate(l,h),t.scale(u[0],u[1]),fo(i,t)):u[0]<0||u[1]<0?(t.translate(l,h),t.scale(u[0],u[1]),t.drawImage(i,r,o,a,s,0,0,a,s)):t.drawImage(i,r,o,a,s,l,h,a*u[0],s*u[1]),t.restore()}function fo(t,e){const n=t.contextInstructions;for(let i=0,r=n.length;ig&&(d=(g+d)/2,g=d),f>p&&(f=(p+f)/2,p=f);let m=qe(i[0],d,g),y=qe(i[1],f,p);if(a&&n&&r){const t=30*r;m+=-t*Math.log(1+Math.max(0,d-i[0])/t)+t*Math.log(1+Math.max(0,i[0]-g)/t),y+=-t*Math.log(1+Math.max(0,f-i[1])/t)+t*Math.log(1+Math.max(0,i[1]-p)/t)}return[m,y]}}function jo(t){return t}function Fo(t,e,n,i){const r=ce(e)/n[0],o=se(e)/n[1];return i?Math.min(t,Math.max(r,o)):Math.min(t,Math.min(r,o))}function No(t,e,n){let i=Math.min(t,e);const r=50;return i*=Math.log(1+r*Math.max(0,t/e-1))/r+1,n&&(i=Math.max(i,n),i/=Math.log(1+r*Math.max(0,n/t-1))/r+1),qe(i,n/2,2*e)}function Bo(t,e,n,i){return e=void 0===e||e,function(r,o,a,s){if(void 0!==r){const l=t[0],h=t[t.length-1],u=n?Fo(l,n,a,i):l;if(s)return e?No(r,u,h):qe(r,h,u);const c=Math.min(u,r),d=Math.floor(I(t,c,o));return t[d]>u&&d1&&"function"==typeof arguments[n-1]&&(e=arguments[n-1],--n);let i=0;for(;i0}getInteracting(){return this.hints_[Lo.INTERACTING]>0}cancelAnimations(){let t;this.setHint(Lo.ANIMATING,-this.hints_[Lo.ANIMATING]);for(let e=0,n=this.animations_.length;e=0;--n){const i=this.animations_[n];let r=!0;for(let n=0,o=i.length;n0?a/o.duration:1;s>=1?(o.complete=!0,s=1):r=!1;const l=o.easing(s);if(o.sourceCenter){const t=o.sourceCenter[0],e=o.sourceCenter[1],n=o.targetCenter[0],i=o.targetCenter[1];this.nextCenter_=o.targetCenter;const r=t+l*(n-t),a=e+l*(i-e);this.targetCenter_=[r,a]}if(o.sourceResolution&&o.targetResolution){const t=1===l?o.targetResolution:o.sourceResolution+l*(o.targetResolution-o.sourceResolution);if(o.anchor){const e=this.getViewportSize_(this.getRotation()),n=this.constraints_.resolution(t,0,e,!0);this.targetCenter_=this.calculateCenterZoom(n,o.anchor)}this.nextResolution_=o.targetResolution,this.targetResolution_=t,this.applyTargetState_(!0)}if(void 0!==o.sourceRotation&&void 0!==o.targetRotation){const t=1===l?Ye(o.targetRotation+Math.PI,2*Math.PI)-Math.PI:o.sourceRotation+l*(o.targetRotation-o.sourceRotation);if(o.anchor){const e=this.constraints_.rotation(t,!0);this.targetCenter_=this.calculateCenterRotate(e,o.anchor)}this.nextRotation_=o.targetRotation,this.targetRotation_=t}if(this.applyTargetState_(!0),e=!0,!o.complete)break}if(r){this.animations_[n]=null,this.setHint(Lo.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const t=i[0].callback;t&&$o(t,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,e){let n;const i=this.getCenterInternal();return void 0!==i&&(n=[i[0]-e[0],i[1]-e[1]],on(n,t-this.getRotation()),tn(n,e)),n}calculateCenterZoom(t,e){let n;const i=this.getCenterInternal(),r=this.getResolution();if(void 0!==i&&void 0!==r){const o=e[0]-t*(e[0]-i[0])/r,a=e[1]-t*(e[1]-i[1])/r;n=[o,a]}return n}getViewportSize_(t){const e=this.viewportSize_;if(t){const n=e[0],i=e[1];return[Math.abs(n*Math.cos(t))+Math.abs(i*Math.sin(t)),Math.abs(n*Math.sin(t))+Math.abs(i*Math.cos(t))]}return e}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t&&Bn(t,this.getProjection())}getCenterInternal(){return this.get(ko.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){const e=this.calculateExtentInternal(t);return Vn(e,this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const e=this.getCenterInternal();rt(e,1);const n=this.getResolution();rt(void 0!==n,2);const i=this.getRotation();return rt(void 0!==i,3),oe(e,n,i,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(ko.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,e){return this.getResolutionForExtentInternal(qn(t,this.getProjection()),e)}getResolutionForExtentInternal(t,e){e=e||this.getViewportSizeMinusPadding_();const n=ce(t)/e[0],i=se(t)/e[1];return Math.max(n,i)}getResolutionForValueFunction(t){t=t||2;const e=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,i=Math.log(e/n)/Math.log(t);return function(n){return e/Math.pow(t,n*i)}}getRotation(){return this.get(ko.ROTATION)}getValueForResolutionFunction(t){const e=Math.log(t||2),n=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,r=Math.log(n/i)/e;return function(t){return Math.log(n/t)/e/r}}getViewportSizeMinusPadding_(t){let e=this.getViewportSize_(t);const n=this.padding_;return n&&(e=[e[0]-n[1]-n[3],e[1]-n[0]-n[2]]),e}getState(){const t=this.getProjection(),e=this.getResolution(),n=this.getRotation();let i=this.getCenterInternal();const r=this.padding_;if(r){const t=this.getViewportSizeMinusPadding_();i=ra(i,this.getViewportSize_(),[t[0]/2+r[3],t[1]/2+r[0]],e,n)}return{center:i.slice(0),projection:void 0!==t?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:n,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t}getZoomForResolution(t){let e,n,i=this.minZoom_||0;if(this.resolutions_){const r=I(this.resolutions_,t,1);i=r,e=this.resolutions_[r],n=r==this.resolutions_.length-1?2:e/this.resolutions_[r+1]}else e=this.maxResolution_,n=this.zoomFactor_;return i+Math.log(e/t)/Math.log(n)}getResolutionForZoom(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const e=qe(Math.floor(t),0,this.resolutions_.length-2),n=this.resolutions_[e]/this.resolutions_[e+1];return this.resolutions_[e]/Math.pow(n,qe(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,e){let n;if(rt(Array.isArray(t)||"function"==typeof t.getSimplifiedGeometry,24),Array.isArray(t)){rt(!ge(t),25);const e=qn(t,this.getProjection());n=Ki(e)}else if("Circle"===t.getType()){const e=qn(t.getExtent(),this.getProjection());n=Ki(e),n.rotate(this.getRotation(),ie(e))}else n=t;this.fitInternal(n,e)}rotatedExtentForGeometry(t){const e=this.getRotation(),n=Math.cos(e),i=Math.sin(-e),r=t.getFlatCoordinates(),o=t.getStride();let a=1/0,s=1/0,l=-1/0,h=-1/0;for(let u=0,c=r.length;u{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return this.renderer_&&this.rendered?this.renderer_.getData(t):null}isVisible(t){let e;e=t instanceof oa?{viewState:t.getState(),extent:t.calculateExtent()}:t;const n=this.getExtent();return this.getVisible()&&sa(this.getLayerState(),e.viewState)&&(!n||de(n,e.extent))}getAttributions(t){if(!this.isVisible(t))return[];let e;const n=this.getSource();if(n&&(e=n.getAttributions()),!e)return[];const i=t instanceof oa?t.getViewStateAndExtent():t;let r=e(i);return Array.isArray(r)||(r=[r]),r}render(t,e){const n=this.getRenderer();if(n.prepareFrame(t))return this.rendered=!0,n.renderFrame(t,e)}unrender(){this.rendered=!1}setMapInternal(t){t||this.unrender(),this.set(Eo.MAP,t)}getMapInternal(){return this.get(Eo.MAP)}setMap(t){this.mapPrecomposeKey_&&(q(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(q(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=G(t,$i.PRECOMPOSE,(function(t){const e=t.frameState.layerStatesArray,n=this.getLayerState(!1);rt(!e.some((function(t){return t.layer===n.layer})),67),e.push(n)}),this),this.mapRenderKey_=G(this,B.CHANGE,t.render,t),this.changed())}setSource(t){this.set(Eo.SOURCE,t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}}function sa(t,e){if(!t.visible)return!1;const n=e.resolution;if(n=t.maxResolution)return!1;const i=e.zoom;return i>t.minZoom&&i<=t.maxZoom}const la=aa;function ha(t,e,n,i,r){ua(t,e,n||0,i||t.length-1,r||da)}function ua(t,e,n,i,r){for(;i>n;){if(i-n>600){var o=i-n+1,a=e-n+1,s=Math.log(o),l=.5*Math.exp(2*s/3),h=.5*Math.sqrt(s*l*(o-l)/o)*(a-o/2<0?-1:1),u=Math.max(n,Math.floor(e-a*l/o+h)),c=Math.min(i,Math.floor(e+(o-a)*l/o+h));ua(t,e,u,c,r)}var d=t[e],g=n,f=i;for(ca(t,n,e),r(t[i],d)>0&&ca(t,n,i);g0;)f--}0===r(t[n],d)?ca(t,n,f):(f++,ca(t,f,i)),f<=e&&(n=f+1),e<=f&&(i=f-1)}}function ca(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function da(t,e){return te?1:0}class ga{constructor(t=9){this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()}all(){return this._all(this.data,[])}search(t){let e=this.data;const n=[];if(!Ca(t,e))return n;const i=this.toBBox,r=[];for(;e;){for(let o=0;o=0&&r[e].children.length>this._maxEntries;)this._split(r,e),e--;this._adjustParentBBoxes(i,r,e)}_split(t,e){const n=t[e],i=n.children.length,r=this._minEntries;this._chooseSplitAxis(n,r,i);const o=this._chooseSplitIndex(n,r,i),a=Ta(n.children.splice(o,n.children.length-o));a.height=n.height,a.leaf=n.leaf,pa(n,this.toBBox),pa(a,this.toBBox),e?t[e-1].children.push(a):this._splitRoot(n,a)}_splitRoot(t,e){this.data=Ta([t,e]),this.data.height=t.height+1,this.data.leaf=!1,pa(this.data,this.toBBox)}_chooseSplitIndex(t,e,n){let i,r=1/0,o=1/0;for(let a=e;a<=n-e;a++){const e=ma(t,0,a,this.toBBox),s=ma(t,a,n,this.toBBox),l=Sa(e,s),h=xa(e)+xa(s);l=e;l--){const e=t.children[l];ya(a,t.leaf?r(e):e),s+=ba(a)}return s}_adjustParentBBoxes(t,e,n){for(let i=n;i>=0;i--)ya(e[i],t)}_condense(t){for(let e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children,e.splice(e.indexOf(t[n]),1)):this.clear():pa(t[n],this.toBBox)}}function fa(t,e,n){if(!n)return e.indexOf(t);for(let i=0;i=t.minX&&e.maxY>=t.minY}function Ta(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function Ia(t,e,n,i,r){const o=[e,n];for(;o.length;){if(n=o.pop(),e=o.pop(),n-e<=i)continue;const a=e+Math.ceil((n-e)/i/2)*i;ha(t,a,e,n,r),o.push(e,a,a,n)}}class Ma{constructor(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let t=0;for(const e in this.cache_){const n=this.cache_[e];0===(3&t++)&&!n.hasListener()&&(delete this.cache_[e],--this.cacheSize_)}}}get(t,e,n){const i=Ea(t,e,n);return i in this.cache_?this.cache_[i]:null}set(t,e,n,i){const r=Ea(t,e,n);this.cache_[r]=i,++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}}function Ea(t,e,n){const i=n?_r(n):"null";return e+":"+t+":"+i}const za=new Ma;class Pa extends N{constructor(t,e,n,i){super(),this.extent=t,this.pixelRatio_=n,this.resolution=e,this.state=i}changed(){this.dispatchEvent(B.CHANGE)}getExtent(){return this.extent}getImage(){return H()}getPixelRatio(){return this.pixelRatio_}getResolution(){return this.resolution}getState(){return this.state}load(){H()}}const La=Pa;class ka extends La{constructor(t,e,n,i,r,o,a){super(t,e,n,ur.IDLE),this.src_=i,this.image_=new Image,null!==r&&(this.image_.crossOrigin=r),this.context_=a,this.unlisten_=null,this.state=ur.IDLE,this.imageLoadFunction_=o}getImage(){if(this.state==ur.LOADED&&this.context_&&!(this.image_ instanceof HTMLCanvasElement)){const t=this.context_.canvas;t.width=this.image_.width,t.height=this.image_.height,this.context_.drawImage(this.image_,0,0),this.image_=this.context_.canvas}return this.image_}handleImageError_(){this.state=ur.ERROR,this.unlistenImage_(),this.changed()}handleImageLoad_(){void 0===this.resolution&&(this.resolution=se(this.extent)/this.image_.height),this.state=ur.LOADED,this.unlistenImage_(),this.changed()}load(){(this.state==ur.IDLE||this.state==ur.ERROR)&&(this.state=ur.LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=Ra(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}setImage(t){this.image_=t,this.resolution=se(this.extent)/this.image_.height}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function Ra(t,e,n){const i=t;let r=!0,o=!1,a=!1;const s=[V(i,B.LOAD,(function(){a=!0,o||e()}))];return i.src&&pt?(o=!0,i.decode().then((function(){r&&e()})).catch((function(t){r&&(a?e():n())}))):s.push(V(i,B.ERROR,n)),function(){r=!1,s.forEach(q)}}const Da=ka;let Oa=null;class ja extends N{constructor(t,e,n,i,r,o){super(),this.hitDetectionImage_=null,this.image_=t,this.crossOrigin_=i,this.canvas_={},this.color_=o,this.unlisten_=null,this.imageState_=r,this.size_=n,this.src_=e,this.tainted_}initializeImage_(){this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(void 0===this.tainted_&&this.imageState_===ur.LOADED){Oa||(Oa=Ir(1,1,void 0,{willReadFrequently:!0})),Oa.drawImage(this.image_,0,0);try{Oa.getImageData(0,0,1,1),this.tainted_=!1}catch(t){Oa=null,this.tainted_=!0}}return!0===this.tainted_}dispatchChangeEvent_(){this.dispatchEvent(B.CHANGE)}handleImageError_(){this.imageState_=ur.ERROR,this.unlistenImage_(),this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=ur.LOADED,this.size_?(this.image_.width=this.size_[0],this.image_.height=this.size_[1]):this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.dispatchChangeEvent_()}getImage(t){return this.image_||this.initializeImage_(),this.replaceColor_(t),this.canvas_[t]?this.canvas_[t]:this.image_}getPixelRatio(t){return this.replaceColor_(t),this.canvas_[t]?t:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const t=this.size_[0],e=this.size_[1],n=Ir(t,e);n.fillRect(0,0,t,e),this.hitDetectionImage_=n.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===ur.IDLE){this.image_||this.initializeImage_(),this.imageState_=ur.LOADING;try{this.image_.src=this.src_}catch(t){this.handleImageError_()}this.unlisten_=Ra(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}}replaceColor_(t){if(!this.color_||this.canvas_[t]||this.imageState_!==ur.LOADED)return;const e=this.image_,n=document.createElement("canvas");n.width=Math.ceil(e.width*t),n.height=Math.ceil(e.height*t);const i=n.getContext("2d");i.scale(t,t),i.drawImage(e,0,0),i.globalCompositeOperation="multiply",i.fillStyle=_r(this.color_),i.fillRect(0,0,n.width/t,n.height/t),i.globalCompositeOperation="destination-in",i.drawImage(e,0,0),this.canvas_[t]=n}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function Fa(t,e,n,i,r,o){let a=za.get(e,i,o);return a||(a=new ja(t,e,n,i,r,o),za.set(e,i,o,a)),a}class Na extends mr{constructor(t){t=t||{};const e=void 0!==t.opacity?t.opacity:1,n=void 0!==t.rotation?t.rotation:0,i=void 0!==t.scale?t.scale:1,r=void 0!==t.rotateWithView&&t.rotateWithView;super({opacity:e,rotation:n,scale:i,displacement:void 0!==t.displacement?t.displacement:[0,0],rotateWithView:r,declutterMode:t.declutterMode}),this.anchor_=void 0!==t.anchor?t.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=void 0!==t.anchorOrigin?t.anchorOrigin:"top-left",this.anchorXUnits_=void 0!==t.anchorXUnits?t.anchorXUnits:"fraction",this.anchorYUnits_=void 0!==t.anchorYUnits?t.anchorYUnits:"fraction",this.crossOrigin_=void 0!==t.crossOrigin?t.crossOrigin:null;const o=void 0!==t.img?t.img:null;this.imgSize_=t.imgSize;let a=t.src;rt(!(void 0!==a&&o),4),rt(!o||o&&this.imgSize_,5),(void 0===a||0===a.length)&&o&&(a=o.src||Y(o)),rt(void 0!==a&&a.length>0,6),rt(!((void 0!==t.width||void 0!==t.height)&&void 0!==t.scale),69);const s=void 0!==t.src?ur.IDLE:ur.LOADED;if(this.color_=void 0!==t.color?wr(t.color):null,this.iconImage_=Fa(o,a,void 0!==this.imgSize_?this.imgSize_:null,this.crossOrigin_,s,this.color_),this.offset_=void 0!==t.offset?t.offset:[0,0],this.offsetOrigin_=void 0!==t.offsetOrigin?t.offsetOrigin:"top-left",this.origin_=null,this.size_=void 0!==t.size?t.size:null,this.width_=t.width,this.height_=t.height,void 0!==this.width_||void 0!==this.height_){const t=this.getImage(1),e=()=>{this.updateScaleFromWidthAndHeight(this.width_,this.height_)};t.width>0?this.updateScaleFromWidthAndHeight(this.width_,this.height_):t.addEventListener("load",e)}}clone(){let t=this.getScale();return t=Array.isArray(t)?t.slice():t,(void 0!==this.width_||void 0!==this.height_)&&(t=void 0),new Na({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,imgSize:this.imgSize_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:t,size:null!==this.size_?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode(),width:this.width_,height:this.height_})}updateScaleFromWidthAndHeight(t,e){const n=this.getImage(1);void 0!==t&&void 0!==e?super.setScale([t/n.width,e/n.height]):void 0!==t?super.setScale([t/n.width,t/n.width]):void 0!==e?super.setScale([e/n.height,e/n.height]):super.setScale([1,1])}getAnchor(){let t=this.normalizedAnchor_;if(!t){t=this.anchor_;const e=this.getSize();if("fraction"==this.anchorXUnits_||"fraction"==this.anchorYUnits_){if(!e)return null;t=this.anchor_.slice(),"fraction"==this.anchorXUnits_&&(t[0]*=e[0]),"fraction"==this.anchorYUnits_&&(t[1]*=e[1])}if("top-left"!=this.anchorOrigin_){if(!e)return null;t===this.anchor_&&(t=this.anchor_.slice()),("top-right"==this.anchorOrigin_||"bottom-right"==this.anchorOrigin_)&&(t[0]=-t[0]+e[0]),("bottom-left"==this.anchorOrigin_||"bottom-right"==this.anchorOrigin_)&&(t[1]=-t[1]+e[1])}this.normalizedAnchor_=t}const e=this.getDisplacement(),n=this.getScaleArray();return[t[0]-e[0]/n[0],t[1]+e[1]/n[1]]}setAnchor(t){this.anchor_=t,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(t){return this.iconImage_.getImage(t)}getPixelRatio(t){return this.iconImage_.getPixelRatio(t)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let t=this.offset_;if("top-left"!=this.offsetOrigin_){const e=this.getSize(),n=this.iconImage_.getSize();if(!e||!n)return null;t=t.slice(),("top-right"==this.offsetOrigin_||"bottom-right"==this.offsetOrigin_)&&(t[0]=n[0]-e[0]-t[0]),("bottom-left"==this.offsetOrigin_||"bottom-right"==this.offsetOrigin_)&&(t[1]=n[1]-e[1]-t[1])}return this.origin_=t,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){return this.width_}getHeight(){return this.height_}setWidth(t){this.width_=t,this.updateScaleFromWidthAndHeight(t,this.height_)}setHeight(t){this.height_=t,this.updateScaleFromWidthAndHeight(this.width_,t)}setScale(t){super.setScale(t);const e=this.getImage(1);if(e){const n=Array.isArray(t)?t[0]:t;void 0!==n&&(this.width_=n*e.width);const i=Array.isArray(t)?t[1]:t;void 0!==i&&(this.height_=i*e.height)}}listenImageChange(t){this.iconImage_.addEventListener(B.CHANGE,t)}load(){this.iconImage_.load()}unlistenImageChange(t){this.iconImage_.removeEventListener(B.CHANGE,t)}}const Ba=Na;function Ga(t){return new Co({fill:Va(t,""),stroke:qa(t,""),text:Wa(t),image:Ua(t)})}function Va(t,e){const n=t[e+"fill-color"];if(n)return new er({color:n})}function qa(t,e){const n=t[e+"stroke-width"],i=t[e+"stroke-color"];if(n||i)return new hr({width:n,color:i,lineCap:t[e+"stroke-line-cap"],lineJoin:t[e+"stroke-line-join"],lineDash:t[e+"stroke-line-dash"],lineDashOffset:t[e+"stroke-line-dash-offset"],miterLimit:t[e+"stroke-miter-limit"]})}function Wa(t){const e=t["text-value"];return e?new Mo({text:e,font:t["text-font"],maxAngle:t["text-max-angle"],offsetX:t["text-offset-x"],offsetY:t["text-offset-y"],overflow:t["text-overflow"],placement:t["text-placement"],repeat:t["text-repeat"],scale:t["text-scale"],rotateWithView:t["text-rotate-with-view"],rotation:t["text-rotation"],textAlign:t["text-align"],justify:t["text-justify"],textBaseline:t["text-baseline"],padding:t["text-padding"],fill:Va(t,"text-"),backgroundFill:Va(t,"text-background-"),stroke:qa(t,"text-"),backgroundStroke:qa(t,"text-background-")}):void 0}function Ua(t){const e=t["icon-src"],n=t["icon-img"];if(e||n)return new Ba({src:e,img:n,imgSize:t["icon-img-size"],anchor:t["icon-anchor"],anchorOrigin:t["icon-anchor-origin"],anchorXUnits:t["icon-anchor-x-units"],anchorYUnits:t["icon-anchor-y-units"],color:t["icon-color"],crossOrigin:t["icon-cross-origin"],offset:t["icon-offset"],displacement:t["icon-displacement"],opacity:t["icon-opacity"],scale:t["icon-scale"],rotation:t["icon-rotation"],rotateWithView:t["icon-rotate-with-view"],size:t["icon-size"],declutterMode:t["icon-declutter-mode"]});const i=t["shape-points"];if(i){const e="shape-";return new mo({points:i,fill:Va(t,e),stroke:qa(t,e),radius:t["shape-radius"],radius1:t["shape-radius1"],radius2:t["shape-radius2"],angle:t["shape-angle"],displacement:t["shape-displacement"],rotation:t["shape-rotation"],rotateWithView:t["shape-rotate-with-view"],scale:t["shape-scale"],declutterMode:t["shape-declutter-mode"]})}const r=t["circle-radius"];if(r){const e="circle-";return new vo({radius:r,fill:Va(t,e),stroke:qa(t,e),displacement:t["circle-displacement"],scale:t["circle-scale"],rotation:t["circle-rotation"],rotateWithView:t["circle-rotate-with-view"],declutterMode:t["circle-declutter-mode"]})}}const Ha={RENDER_ORDER:"renderOrder"};class Za extends la{constructor(t){t=t||{};const e=Object.assign({},t);delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,super(e),this.declutter_=void 0!==t.declutter&&t.declutter,this.renderBuffer_=void 0!==t.renderBuffer?t.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(t.style),this.updateWhileAnimating_=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.updateWhileInteracting_=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}getDeclutter(){return this.declutter_}getFeatures(t){return super.getFeatures(t)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(Ha.RENDER_ORDER)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(t){t.declutterTree||(t.declutterTree=new ga(9)),this.getRenderer().renderDeclutter(t)}setRenderOrder(t){this.set(Ha.RENDER_ORDER,t)}setStyle(t){let e;if(void 0===t)e=wo;else if(null===t)e=null;else if("function"==typeof t)e=t;else if(t instanceof Co)e=t;else if(Array.isArray(t)){const n=t.length,i=new Array(n);for(let e=0;ea&&(this.instructions.push([ts.CUSTOM,a,l,t,n,xi]),this.hitDetectionInstructions.push([ts.CUSTOM,a,l,t,i||n,xi]));break;case"Point":s=t.getFlatCoordinates(),this.coordinates.push(s[0],s[1]),l=this.coordinates.length,this.instructions.push([ts.CUSTOM,a,l,t,n]),this.hitDetectionInstructions.push([ts.CUSTOM,a,l,t,i||n]);break}this.endGeometry(e)}beginGeometry(t,e){this.beginGeometryInstruction1_=[ts.BEGIN_GEOMETRY,e,0,t],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[ts.BEGIN_GEOMETRY,e,0,t],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const t=this.hitDetectionInstructions;let e;t.reverse();const n=t.length;let i,r,o=-1;for(e=0;ethis.maxLineWidth&&(this.maxLineWidth=n.lineWidth,this.bufferedMaxExtent_=null)}else n.strokeStyle=void 0,n.lineCap=void 0,n.lineDash=null,n.lineDashOffset=void 0,n.lineJoin=void 0,n.lineWidth=void 0,n.miterLimit=void 0}createFill(t){const e=t.fillStyle,n=[ts.SET_FILL_STYLE,e];return"string"!=typeof e&&n.push(!0),n}applyStroke(t){this.instructions.push(this.createStroke(t))}createStroke(t){return[ts.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]}updateFillStyle(t,e){const n=t.fillStyle;("string"!=typeof n||t.currentFillStyle!=n)&&(void 0!==n&&this.instructions.push(e.call(this,t)),t.currentFillStyle=n)}updateStrokeStyle(t,e){const n=t.strokeStyle,i=t.lineCap,r=t.lineDash,o=t.lineDashOffset,a=t.lineJoin,s=t.lineWidth,l=t.miterLimit;(t.currentStrokeStyle!=n||t.currentLineCap!=i||r!=t.currentLineDash&&!z(t.currentLineDash,r)||t.currentLineDashOffset!=o||t.currentLineJoin!=a||t.currentLineWidth!=s||t.currentMiterLimit!=l)&&(void 0!==n&&e.call(this,t),t.currentStrokeStyle=n,t.currentLineCap=i,t.currentLineDash=r,t.currentLineDashOffset=o,t.currentLineJoin=a,t.currentLineWidth=s,t.currentMiterLimit=l)}endGeometry(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const e=[ts.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=jt(this.maxExtent),this.maxLineWidth>0)){const t=this.resolution*(this.maxLineWidth+1)/2;Ot(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}}const rs=is;class os extends rs{constructor(t,e,n,i){super(t,e,n,i),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const n=t.getFlatCoordinates(),i=t.getStride(),r=this.coordinates.length,o=this.appendFlatPointCoordinates(n,i);this.instructions.push([ts.DRAW_IMAGE,r,o,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([ts.DRAW_IMAGE,r,o,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}drawMultiPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const n=t.getFlatCoordinates(),i=t.getStride(),r=this.coordinates.length,o=this.appendFlatPointCoordinates(n,i);this.instructions.push([ts.DRAW_IMAGE,r,o,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([ts.DRAW_IMAGE,r,o,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}finish(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,super.finish()}setImageStyle(t,e){const n=t.getAnchor(),i=t.getSize(),r=t.getOrigin();this.imagePixelRatio_=t.getPixelRatio(this.pixelRatio),this.anchorX_=n[0],this.anchorY_=n[1],this.hitDetectionImage_=t.getHitDetectionImage(),this.image_=t.getImage(this.pixelRatio),this.height_=i[1],this.opacity_=t.getOpacity(),this.originX_=r[0],this.originY_=r[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScaleArray(),this.width_=i[0],this.declutterMode_=t.getDeclutterMode(),this.declutterImageWithText_=e}}const as=os;class ss extends rs{constructor(t,e,n,i){super(t,e,n,i)}drawFlatCoordinates_(t,e,n,i){const r=this.coordinates.length,o=this.appendFlatLineCoordinates(t,e,n,i,!1,!1),a=[ts.MOVE_TO_LINE_TO,r,o];return this.instructions.push(a),this.hitDetectionInstructions.push(a),n}drawLineString(t,e){const n=this.state,i=n.strokeStyle,r=n.lineWidth;if(void 0===i||void 0===r)return;this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([ts.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,Zr,Yr],Qa);const o=t.getFlatCoordinates(),a=t.getStride();this.drawFlatCoordinates_(o,0,o.length,a),this.hitDetectionInstructions.push(Ja),this.endGeometry(e)}drawMultiLineString(t,e){const n=this.state,i=n.strokeStyle,r=n.lineWidth;if(void 0===i||void 0===r)return;this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([ts.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],Qa);const o=t.getEnds(),a=t.getFlatCoordinates(),s=t.getStride();let l=0;for(let h=0,u=o.length;h=t){const e=(t-s+c)/c,d=Xe(n,h,e),g=Xe(i,u,e);l.push(d,g),o.push(l),l=[d,g],s==t&&(a+=r),s=0}else if(s0&&o.push(l),o}function ds(t,e,n,i,r){let o,a,s,l,h,u,c,d,g,f,p=n,m=n,y=0,v=0,_=n;for(a=n;at&&(v>y&&(y=v,p=_,m=a),v=0,_=a-r)),s=l,c=g,d=f),h=n,u=i}return v+=l,v>y?[_,a]:[p,m]}const gs={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};class fs extends rs{constructor(t,e,n,i){super(t,e,n,i),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterImageWithText_=void 0}finish(){const t=super.finish();return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t}drawText(t,e){const n=this.textFillState_,i=this.textStrokeState_,r=this.textState_;if(""===this.text_||!r||!n&&!i)return;const o=this.coordinates;let a=o.length;const s=t.getType();let l=null,h=t.getStride();if("line"!==r.placement||"LineString"!=s&&"MultiLineString"!=s&&"Polygon"!=s&&"MultiPolygon"!=s){let n=r.overflow?null:[];switch(s){case"Point":case"MultiPoint":l=t.getFlatCoordinates();break;case"LineString":l=t.getFlatMidpoint();break;case"Circle":l=t.getCenter();break;case"MultiLineString":l=t.getFlatMidpoints(),h=2;break;case"Polygon":l=t.getFlatInteriorPoint(),r.overflow||n.push(l[2]/this.resolution),h=3;break;case"MultiPolygon":const e=t.getFlatInteriorPoints();l=[];for(let t=0,i=e.length;t{const i=o[2*(t+n)]===l[n*h]&&o[2*(t+n)+1]===l[n*h+1];return i||--t,i})}this.saveTextStates_(),(r.backgroundFill||r.backgroundStroke)&&(this.setFillStrokeStyle(r.backgroundFill,r.backgroundStroke),r.backgroundFill&&(this.updateFillStyle(this.state,this.createFill),this.hitDetectionInstructions.push(this.createFill(this.state))),r.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e);let u=r.padding;if(u!=to&&(r.scale[0]<0||r.scale[1]<0)){let t=r.padding[0],e=r.padding[1],n=r.padding[2],i=r.padding[3];r.scale[0]<0&&(e=-e,i=-i),r.scale[1]<0&&(t=-t,n=-n),u=[t,e,n,i]}const c=this.pixelRatio;this.instructions.push([ts.DRAW_IMAGE,a,i,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,void 0,this.declutterImageWithText_,u==to?to:u.map((function(t){return t*c})),!!r.backgroundFill,!!r.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,n]);const d=1/c;this.hitDetectionInstructions.push([ts.DRAW_IMAGE,a,i,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[d,d],NaN,void 0,this.declutterImageWithText_,u,!!r.backgroundFill,!!r.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,n]),this.endGeometry(e)}else{if(!de(this.getBufferedMaxExtent(),t.getExtent()))return;let n;if(l=t.getFlatCoordinates(),"LineString"==s)n=[l.length];else if("MultiLineString"==s)n=t.getEnds();else if("Polygon"==s)n=t.getEnds().slice(0,1);else if("MultiPolygon"==s){const e=t.getEndss();n=[];for(let t=0,i=e.length;t{const o=this.loadedTileCallback.bind(this,n,i);return t.forEachLoadedTile(e,i,r,o)}}forEachFeatureAtCoordinate(t,e,n,i,r){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(t){t.target.getState()===ur.LOADED&&this.renderIfReadyAndVisible()}loadImage(t){let e=t.getState();return e!=ur.LOADED&&e!=ur.ERROR&&t.addEventListener(B.CHANGE,this.boundHandleImageChange_),e==ur.IDLE&&(t.load(),e=t.getState()),e==ur.LOADED}renderIfReadyAndVisible(){const t=this.getLayer();t&&t.getVisible()&&"ready"===t.getSourceState()&&t.changed()}disposeInternal(){delete this.layer_,super.disposeInternal()}}const _s=vs;class xs extends b{constructor(t,e,n,i){super(t),this.inversePixelTransform=e,this.frameState=n,this.context=i}}const bs=xs,ws=[];let Ss=null;function As(){Ss=Ir(1,1,void 0,{willReadFrequently:!0})}class Cs extends _s{constructor(t){super(t),this.container=null,this.renderedResolution,this.tempTransform=vt(),this.pixelTransform=vt(),this.inversePixelTransform=vt(),this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(t,e,n){let i;Ss||As(),Ss.clearRect(0,0,1,1);try{Ss.drawImage(t,e,n,1,1,0,0,1,1),i=Ss.getImageData(0,0,1,1).data}catch(r){return Ss=null,null}return i}getBackground(t){let e=this.getLayer().getBackground();return"function"==typeof e&&(e=e(t.viewState.resolution)),e||void 0}useContainer(t,e,n){const i=this.getLayer().getClassName();let r,o;if(t&&t.className===i&&(!n||t&&t.style.backgroundColor&&z(wr(t.style.backgroundColor),wr(n)))){const e=t.firstElementChild;e instanceof HTMLCanvasElement&&(o=e.getContext("2d"))}if(o&&o.canvas.style.transform===e?(this.container=t,this.context=o,this.containerReused=!0):this.containerReused&&(this.container=null,this.context=null,this.containerReused=!1),!this.container){r=document.createElement("div"),r.className=i;let t=r.style;t.position="absolute",t.width="100%",t.height="100%",o=Ir();const e=o.canvas;r.appendChild(e),t=e.style,t.position="absolute",t.left="0",t.transformOrigin="top left",this.container=r,this.context=o}!this.containerReused&&n&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=n)}clipUnrotated(t,e,n){const i=he(n),r=ue(n),o=ne(n),a=ee(n);St(e.coordinateToPixelTransform,i),St(e.coordinateToPixelTransform,r),St(e.coordinateToPixelTransform,o),St(e.coordinateToPixelTransform,a);const s=this.inversePixelTransform;St(s,i),St(s,r),St(s,o),St(s,a),t.save(),t.beginPath(),t.moveTo(Math.round(i[0]),Math.round(i[1])),t.lineTo(Math.round(r[0]),Math.round(r[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.clip()}dispatchRenderEvent_(t,e,n){const i=this.getLayer();if(i.hasListener(t)){const r=new bs(t,this.inversePixelTransform,n,e);i.dispatchEvent(r)}}preRender(t,e){this.frameState=e,this.dispatchRenderEvent_($i.PRERENDER,t,e)}postRender(t,e){this.dispatchRenderEvent_($i.POSTRENDER,t,e)}getRenderTransform(t,e,n,i,r,o,a){const s=r/2,l=o/2,h=i/e,u=-h,c=-t[0]+a,d=-t[1];return Mt(this.tempTransform,s,l,h,u,-n,c,d)}disposeInternal(){delete this.frameState,super.disposeInternal()}}const Ts=Cs;function Is(t,e,n,i,r,o,a,s,l,h,u,c){let d=t[e],g=t[e+1],f=0,p=0,m=0,y=0;function v(){f=d,p=g,e+=i,d=t[e],g=t[e+1],y+=m,m=Math.sqrt((d-f)*(d-f)+(g-p)*(g-p))}do{v()}while(et[2]}else I=x>C;const M=Math.PI,E=[],z=w+i===e;let P;if(e=w,m=0,y=S,d=t[e],g=t[e+1],z){v(),P=Math.atan2(g-p,d-f),I&&(P+=P>0?-M:M);const t=(C+x)/2,e=(T+b)/2;return E[0]=[t,e,(A-o)/2,P,r],E}r=r.replace(/\n/g," ");for(let L=0,k=r.length;L0?-M:M),void 0!==P){let e=t-P;if(e+=e>M?-2*M:e<-M?2*M:0,Math.abs(e)>a)return null}P=t;const c=L;let x=0;for(;L0&&t.push("\n",""),t.push(e,""),t}class js{constructor(t,e,n,i){this.overlaps=n,this.pixelRatio=e,this.resolution=t,this.alignFill_,this.instructions=i.instructions,this.coordinates=i.coordinates,this.coordinateCache_={},this.renderedTransform_=vt(),this.hitDetectionInstructions=i.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=i.fillStates||{},this.strokeStates=i.strokeStates||{},this.textStates=i.textStates||{},this.widths_={},this.labels_={}}createLabel(t,e,n,i){const r=t+e+n+i;if(this.labels_[r])return this.labels_[r];const o=i?this.strokeStates[i]:null,a=n?this.fillStates[n]:null,s=this.textStates[e],l=this.pixelRatio,h=[s.scale[0]*l,s.scale[1]*l],u=Array.isArray(t),c=s.justify?gs[s.justify]:Ds(Array.isArray(t)?t[0]:t,s.textAlign||Qr),d=i&&o.lineWidth?o.lineWidth:0,g=u?t:t.split("\n").reduce(Os,[]),{width:f,height:p,widths:m,heights:y,lineWidths:v}=co(s,g),_=f+d,x=[],b=(_+2)*h[0],w=(p+d)*h[1],S={width:b<0?Math.floor(b):Math.ceil(b),height:w<0?Math.floor(w):Math.ceil(w),contextInstructions:x};(1!=h[0]||1!=h[1])&&x.push("scale",h),i&&(x.push("strokeStyle",o.strokeStyle),x.push("lineWidth",d),x.push("lineCap",o.lineCap),x.push("lineJoin",o.lineJoin),x.push("miterLimit",o.miterLimit),x.push("setLineDash",[o.lineDash]),x.push("lineDashOffset",o.lineDashOffset)),n&&x.push("fillStyle",a.fillStyle),x.push("textBaseline","middle"),x.push("textAlign","center");const A=.5-c;let C=c*_+A*d;const T=[],I=[];let M,E=0,z=0,P=0,L=0;for(let k=0,R=g.length;kt?t-l:r,_=o+h>e?e-h:o,x=g[3]+v*c[0]+g[1],b=g[0]+_*c[1]+g[2],w=m-g[3],S=y-g[0];let A;return(f||0!==u)&&(Es[0]=w,Ls[0]=w,Es[1]=S,zs[1]=S,zs[0]=w+x,Ps[0]=zs[0],Ps[1]=S+b,Ls[1]=Ps[1]),0!==u?(A=Mt(vt(),n,i,1,1,u,-n,-i),St(A,Es),St(A,zs),St(A,Ps),St(A,Ls),Wt(Math.min(Es[0],zs[0],Ps[0],Ls[0]),Math.min(Es[1],zs[1],Ps[1],Ls[1]),Math.max(Es[0],zs[0],Ps[0],Ls[0]),Math.max(Es[1],zs[1],Ps[1],Ls[1]),Ms)):Wt(Math.min(w,w+x),Math.min(S,S+b),Math.max(w,w+x),Math.max(S,S+b),Ms),d&&(m=Math.round(m),y=Math.round(y)),{drawImageX:m,drawImageY:y,drawImageW:v,drawImageH:_,originX:l,originY:h,declutterBox:{minX:Ms[0],minY:Ms[1],maxX:Ms[2],maxY:Ms[3],value:p},canvasTransform:A,scale:c}}replayImageOrLabel_(t,e,n,i,r,o,a){const s=!(!o&&!a),l=i.declutterBox,h=t.canvas,u=a?a[2]*i.scale[0]/2:0;return l.minX-u<=h.width/e&&l.maxX+u>=0&&l.minY-u<=h.height/e&&l.maxY+u>=0&&(s&&this.replayTextBackground_(t,Es,zs,Ps,Ls,o,a),go(t,i.canvasTransform,r,n,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0}fill_(t){if(this.alignFill_){const e=St(this.renderedTransform_,[0,0]),n=512*this.pixelRatio;t.save(),t.translate(e[0]%n,e[1]%n),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()}setStrokeStyle_(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.lineDashOffset=e[7],t.setLineDash(e[6])}drawLabelWithPointPlacement_(t,e,n,i){const r=this.textStates[e],o=this.createLabel(t,e,i,n),a=this.strokeStates[n],s=this.pixelRatio,l=Ds(Array.isArray(t)?t[0]:t,r.textAlign||Qr),h=gs[r.textBaseline||$r],u=a&&a.lineWidth?a.lineWidth:0,c=o.width/s-2*r.scale[0],d=l*c+2*(.5-l)*u,g=h*o.height/s+2*(.5-h)*u;return{label:o,anchorX:d,anchorY:g}}execute_(t,e,n,i,r,o,a,s){let l;this.pixelCoordinates_&&z(n,this.renderedTransform_)?l=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),l=Un(this.coordinates,0,this.coordinates.length,2,n,this.pixelCoordinates_),wt(this.renderedTransform_,n));let h=0;const u=i.length;let c,d,g,f,p,m,y,v,_,x,b,w,S=0,A=0,C=0,T=null,I=null;const M=this.coordinateCache_,E=this.viewRotation_,P=Math.round(1e12*Math.atan2(-n[1],n[0]))/1e12,L={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:E},k=this.instructions!=i||this.overlaps?0:200;let R,D,O,j;for(;hk&&(this.fill_(t),A=0),C>k&&(t.stroke(),C=0),!A&&!C&&(t.beginPath(),f=NaN,p=NaN),++h;break;case ts.CIRCLE:S=n[1];const i=l[S],u=l[S+1],z=l[S+2],F=l[S+3],N=z-i,B=F-u,G=Math.sqrt(N*N+B*B);t.moveTo(i+G,u),t.arc(i,u,G,0,2*Math.PI,!0),++h;break;case ts.CLOSE_PATH:t.closePath(),++h;break;case ts.CUSTOM:S=n[1],c=n[2];const V=n[3],q=n[4],W=6==n.length?n[5]:void 0;L.geometry=V,L.feature=R,h in M||(M[h]=[]);const U=M[h];W?W(l,S,c,2,U):(U[0]=l[S],U[1]=l[S+1],U.length=2),q(U,L),++h;break;case ts.DRAW_IMAGE:S=n[1],c=n[2],v=n[3],d=n[4],g=n[5];let H=n[6];const Z=n[7],Y=n[8],X=n[9],K=n[10];let J=n[11];const Q=n[12];let $=n[13];const tt=n[14],et=n[15];if(!v&&n.length>=20){_=n[19],x=n[20],b=n[21],w=n[22];const t=this.drawLabelWithPointPlacement_(_,x,b,w);v=t.label,n[3]=v;const e=n[23];d=(t.anchorX-e)*this.pixelRatio,n[4]=d;const i=n[24];g=(t.anchorY-i)*this.pixelRatio,n[5]=g,H=v.height,n[6]=H,$=v.width,n[13]=$}let nt,it,rt,ot;n.length>25&&(nt=n[25]),n.length>17?(it=n[16],rt=n[17],ot=n[18]):(it=to,rt=!1,ot=!1),K&&P?J+=E:!K&&!P&&(J-=E);let at=0;for(;S0){if(!o||"Image"!==d&&"Text"!==d||o.includes(t)){const n=(c[s]-3)/4,o=i-n%a,l=i-(n/a|0),h=r(t,e,o*o+l*l);if(h)return h}h.clearRect(0,0,a,a);break}}const f=Object.keys(this.executorsByZIndex_).map(Number);let p,m,y,v,_;for(f.sort(T),p=f.length-1;p>=0;--p){const t=f[p].toString();for(y=this.executorsByZIndex_[t],m=Ns.length-1;m>=0;--m)if(d=Ns[m],v=y[d],void 0!==v&&(_=v.executeHitDetection(h,s,n,g,u),_))return _}}getClipCoords(t){const e=this.maxExtent_;if(!e)return null;const n=e[0],i=e[1],r=e[2],o=e[3],a=[n,i,n,o,r,o,r,i];return Un(a,0,8,2,t,a),a}isEmpty(){return j(this.executorsByZIndex_)}execute(t,e,n,i,r,o,a){const s=Object.keys(this.executorsByZIndex_).map(Number);let l,h,u,c,d,g;for(s.sort(T),this.maxExtent_&&(t.save(),this.clip(t,n)),o=o||Ns,a&&s.reverse(),l=0,h=s.length;ln)break;let s=i[a];s||(s=[],i[a]=s),s.push(4*((t+o)*e+(t+r))+3),o>0&&s.push(4*((t-o)*e+(t+r))+3),r>0&&(s.push(4*((t+o)*e+(t-r))+3),o>0&&s.push(4*((t-o)*e+(t-r))+3))}const r=[];for(let o=0,a=i.length;ot*this.pixelRatio_),lineDashOffset:(r||Yr)*this.pixelRatio_,lineJoin:void 0!==o?o:Xr,lineWidth:(void 0!==a?a:eo)*this.pixelRatio_,miterLimit:void 0!==s?s:Kr,strokeStyle:Tr(t||Jr)}}else this.strokeState_=null}setImageStyle(t){let e;if(!t||!(e=t.getSize()))return void(this.image_=null);const n=t.getPixelRatio(this.pixelRatio_),i=t.getAnchor(),r=t.getOrigin();this.image_=t.getImage(this.pixelRatio_),this.imageAnchorX_=i[0]*n,this.imageAnchorY_=i[1]*n,this.imageHeight_=e[1]*n,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=r[0],this.imageOriginY_=r[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation();const o=t.getScaleArray();this.imageScale_=[o[0]*this.pixelRatio_/n,o[1]*this.pixelRatio_/n],this.imageWidth_=e[0]*n}setTextStyle(t){if(t){const e=t.getFill();if(e){const t=e.getColor();this.textFillState_={fillStyle:Tr(t||Ur)}}else this.textFillState_=null;const n=t.getStroke();if(n){const t=n.getColor(),e=n.getLineCap(),i=n.getLineDash(),r=n.getLineDashOffset(),o=n.getLineJoin(),a=n.getWidth(),s=n.getMiterLimit();this.textStrokeState_={lineCap:void 0!==e?e:Hr,lineDash:i||Zr,lineDashOffset:r||Yr,lineJoin:void 0!==o?o:Xr,lineWidth:void 0!==a?a:eo,miterLimit:void 0!==s?s:Kr,strokeStyle:Tr(t||Jr)}}else this.textStrokeState_=null;const i=t.getFont(),r=t.getOffsetX(),o=t.getOffsetY(),a=t.getRotateWithView(),s=t.getRotation(),l=t.getScaleArray(),h=t.getText(),u=t.getTextAlign(),c=t.getTextBaseline();this.textState_={font:void 0!==i?i:Wr,textAlign:void 0!==u?u:Qr,textBaseline:void 0!==c?c:$r},this.text_=void 0!==h?Array.isArray(h)?h.reduce((t,e,n)=>t+(n%2?" ":e),""):h:"",this.textOffsetX_=void 0!==r?this.pixelRatio_*r:0,this.textOffsetY_=void 0!==o?this.pixelRatio_*o:0,this.textRotateWithView_=void 0!==a&&a,this.textRotation_=void 0!==s?s:0,this.textScale_=[this.pixelRatio_*l[0],this.pixelRatio_*l[1]]}else this.text_=""}}const Us=Ws,Hs=.5;function Zs(t,e,n,i,r,o,a){const s=t[0]*Hs,l=t[1]*Hs,h=Ir(s,l);h.imageSmoothingEnabled=!1;const u=h.canvas,c=new Us(h,Hs,r,null,a),d=n.length,g=Math.floor(16777215/d),f={};for(let m=1;m<=d;++m){const t=n[m-1],e=t.getStyleFunction()||i;if(!i)continue;let a=e(t,o);if(!a)continue;Array.isArray(a)||(a=[a]);const s=(m*g).toString(16).padStart(7,"#00000");for(let n=0,i=a.length;n{if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const t=[this.context.canvas.width,this.context.canvas.height];St(this.pixelTransform,t);const e=this.renderedCenter_,n=this.renderedResolution_,i=this.renderedRotation_,r=this.renderedProjection_,o=this.wrappedRenderedExtent_,a=this.getLayer(),s=[],l=t[0]*Hs,h=t[1]*Hs;s.push(this.getRenderTransform(e,n,i,Hs,l,h,0).slice());const u=a.getSource(),c=r.getExtent();if(u.getWrapX()&&r.canWrapX()&&!Bt(c,o)){let t=o[0];const r=ce(c);let a,u=0;for(;tc[2];)++u,a=r*u,s.push(this.getRenderTransform(e,n,i,Hs,l,h,a).slice()),t-=r}this.hitDetectionImageData_=Zs(t,s,this.renderedFeatures_,a.getStyleFunction(),o,n,i)}e(Ys(t,this.renderedFeatures_,this.hitDetectionImageData_))})}forEachFeatureAtCoordinate(t,e,n,i,r){if(!this.replayGroup_)return;const o=e.viewState.resolution,a=e.viewState.rotation,s=this.getLayer(),l={},h=function(t,e,n){const o=Y(t),a=l[o];if(a){if(!0!==a&&nu=i.forEachFeatureAtCoordinate(t,o,a,n,h,i===this.declutterExecutorGroup&&e.declutterTree?e.declutterTree.all().map(t=>t.value):null)),u}handleFontsChanged(){const t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()}handleStyleImageChange_(t){this.renderIfReadyAndVisible()}prepareFrame(t){const e=this.getLayer(),n=e.getSource();if(!n)return!1;const i=t.viewHints[Lo.ANIMATING],r=t.viewHints[Lo.INTERACTING],o=e.getUpdateWhileAnimating(),a=e.getUpdateWhileInteracting();if(this.ready&&!o&&i||!a&&r)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const s=t.extent,l=t.viewState,h=l.projection,u=l.resolution,c=t.pixelRatio,d=e.getRevision(),g=e.getRenderBuffer();let f=e.getRenderOrder();void 0===f&&(f=Js);const p=l.center.slice(),m=Ot(s,g*u),y=m.slice(),v=[m.slice()],_=h.getExtent();if(n.getWrapX()&&h.canWrapX()&&!Bt(_,t.extent)){const t=ce(_),e=Math.max(ce(m)/2,t);m[0]=_[0]-e,m[2]=_[2]+e,un(p,h);const n=ve(v[0],h);n[0]<_[0]&&n[2]<_[2]?v.push([n[0]+t,n[1],n[2]+t,n[3]]):n[0]>_[0]&&n[2]>_[2]&&v.push([n[0]-t,n[1],n[2]-t,n[3]])}if(this.ready&&this.renderedResolution_==u&&this.renderedRevision_==d&&this.renderedRenderOrder_==f&&Bt(this.wrappedRenderedExtent_,m))return z(this.renderedExtent_,y)||(this.hitDetectionImageData_=null,this.renderedExtent_=y),this.renderedCenter_=p,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const x=new ys($s(u,c),m,u,c);let b,w;this.getLayer().getDeclutter()&&(b=new ys($s(u,c),m,u,c));for(let z=0,P=v.length;z{let n;const i=t.getStyleFunction()||e.getStyleFunction();if(i&&(n=i(t,u)),n){const e=this.renderFeature(t,S,n,x,w,b);A=A&&!e}},T=Vn(m),I=n.getFeaturesInExtent(T);f&&I.sort(f);for(let z=0,P=I.length;z=200&&s.status<300){const t=e.getType();let i;"json"==t||"text"==t?i=s.responseText:"xml"==t?(i=s.responseXML,i||(i=(new DOMParser).parseFromString(s.responseText,"application/xml"))):"arraybuffer"==t&&(i=s.response),i?o(e.readFeatures(i,{extent:n,featureProjection:r}),e.readProjection(i)):a()}else a()},s.onerror=a,s.send()}function Tl(t,e){return function(n,i,r,o,a){const s=this;Cl(t,e,n,i,r,(function(t,e){s.addFeatures(t),void 0!==o&&o(t)}),a||R)}}class Il extends b{constructor(t,e,n){super(t),this.feature=e,this.features=n}}class Ml extends xl{constructor(t){t=t||{},super({attributions:t.attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:void 0===t.wrapX||t.wrapX}),this.on,this.once,this.un,this.loader_=R,this.format_=t.format,this.overlaps_=void 0===t.overlaps||t.overlaps,this.url_=t.url,void 0!==t.loader?this.loader_=t.loader:void 0!==this.url_&&(rt(this.format_,7),this.loader_=Tl(this.url_,this.format_)),this.strategy_=void 0!==t.strategy?t.strategy:wl;const e=void 0===t.useSpatialIndex||t.useSpatialIndex;let n,i;this.featuresRtree_=e?new yl:null,this.loadedExtentsRtree_=new yl,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null,Array.isArray(t.features)?i=t.features:t.features&&(n=t.features,i=n.getArray()),!e&&void 0===n&&(n=new it(i)),void 0!==i&&this.addFeaturesInternal(i),void 0!==n&&this.bindFeaturesCollection_(n)}addFeature(t){this.addFeatureInternal(t),this.changed()}addFeatureInternal(t){const e=Y(t);if(!this.addToIndex_(e,t))return void(this.featuresCollection_&&this.featuresCollection_.remove(t));this.setupChangeEvents_(e,t);const n=t.getGeometry();if(n){const e=n.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(e,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new Il(bl.ADDFEATURE,t))}setupChangeEvents_(t,e){this.featureChangeKeys_[t]=[G(e,B.CHANGE,this.handleFeatureChange_,this),G(e,w.PROPERTYCHANGE,this.handleFeatureChange_,this)]}addToIndex_(t,e){let n=!0;const i=e.getId();return void 0!==i&&(i.toString()in this.idIndex_?n=!1:this.idIndex_[i.toString()]=e),n&&(rt(!(t in this.uidIndex_),30),this.uidIndex_[t]=e),n}addFeatures(t){this.addFeaturesInternal(t),this.changed()}addFeaturesInternal(t){const e=[],n=[],i=[];for(let r=0,o=t.length;r{e||(e=!0,this.addFeature(t.element),e=!1)}),t.addEventListener($.REMOVE,t=>{e||(e=!0,this.removeFeature(t.element),e=!1)}),this.featuresCollection_=t}clear(t){if(t){for(const t in this.featureChangeKeys_)this.featureChangeKeys_[t].forEach(q);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){const t=t=>{this.removeFeatureInternal(t)};this.featuresRtree_.forEach(t);for(const e in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[e])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const e=new Il(bl.CLEAR);this.dispatchEvent(e),this.changed()}forEachFeature(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureAtCoordinateDirect(t,e){const n=[t[0],t[1],t[0],t[1]];return this.forEachFeatureInExtent(n,(function(n){if(n.getGeometry().intersectsCoordinate(t))return e(n)}))}forEachFeatureInExtent(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureIntersectingExtent(t,e){return this.forEachFeatureInExtent(t,(function(n){if(n.getGeometry().intersectsExtent(t)){const t=e(n);if(t)return t}}))}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let t;return this.featuresCollection_?t=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(t=this.featuresRtree_.getAll(),j(this.nullGeometryFeatures_)||E(t,Object.values(this.nullGeometryFeatures_))),t}getFeaturesAtCoordinate(t){const e=[];return this.forEachFeatureAtCoordinateDirect(t,(function(t){e.push(t)})),e}getFeaturesInExtent(t,e){if(this.featuresRtree_){if(!(e&&e.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(t);const n=_e(t,e);return[].concat(...n.map(t=>this.featuresRtree_.getInExtent(t)))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(t,e){const n=t[0],i=t[1];let r=null;const o=[NaN,NaN];let a=1/0;const s=[-1/0,-1/0,1/0,1/0];return e=e||L,this.featuresRtree_.forEachInExtent(s,(function(t){if(e(t)){const e=t.getGeometry(),l=a;if(a=e.closestPointXY(n,i,o,a),a{--this.loadingExtentsCount_,this.dispatchEvent(new Il(bl.FEATURESLOADEND,void 0,t))},()=>{--this.loadingExtentsCount_,this.dispatchEvent(new Il(bl.FEATURESLOADERROR))}),i.insert(t,{extent:t.slice()}))}this.loading=!(this.loader_.length<4)&&this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(t){const e=this.loadedExtentsRtree_;let n;e.forEachInExtent(t,(function(e){if(Yt(e.extent,t))return n=e,!0})),n&&e.remove(n)}removeFeature(t){if(!t)return;const e=Y(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t),this.removeFeatureInternal(t)&&this.changed()}removeFeatureInternal(t){const e=Y(t),n=this.featureChangeKeys_[e];if(!n)return;n.forEach(q),delete this.featureChangeKeys_[e];const i=t.getId();return void 0!==i&&delete this.idIndex_[i.toString()],delete this.uidIndex_[e],this.dispatchEvent(new Il(bl.REMOVEFEATURE,t)),t}removeFromIdIndex_(t){let e=!1;for(const n in this.idIndex_)if(this.idIndex_[n]===t){delete this.idIndex_[n],e=!0;break}return e}setLoader(t){this.loader_=t}setUrl(t){rt(this.format_,7),this.url_=t,this.setLoader(Tl(t,this.format_))}}const El=Ml;function zl(t,e){const n=t.canvas;e=e||{};const i=e.pixelRatio||gt,r=e.size;r&&(n.width=r[0]*i,n.height=r[1]*i,n.style.width=r[0]+"px",n.style.height=r[1]+"px");const o=[0,0,n.width,n.height],a=Ct(vt(),i,i);return new Us(t,i,o,a,0)}function Pl(t){if(!(t.context instanceof CanvasRenderingContext2D))throw new Error("Only works for render events from Canvas 2D layers");const e=t.inversePixelTransform[0],n=t.inversePixelTransform[1],i=Math.sqrt(e*e+n*n),r=t.frameState,o=xt(t.inversePixelTransform.slice(),r.coordinateToPixelTransform),a=Qs(r.viewState.resolution,i);let s;return new Us(t.context,i,r.extent,o,r.viewState.rotation,a,s)}class Ll extends La{constructor(t,e,n,i,r){const o=void 0!==r?ur.IDLE:ur.LOADED;super(t,e,n,o),this.loader_=void 0!==r?r:null,this.canvas_=i,this.error_=null}getError(){return this.error_}handleLoad_(t){t?(this.error_=t,this.state=ur.ERROR):this.state=ur.LOADED,this.changed()}load(){this.state==ur.IDLE&&(this.state=ur.LOADING,this.changed(),this.loader_(this.handleLoad_.bind(this)))}getImage(){return this.canvas_}}const kl=Ll,Rl={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};class Dl extends N{constructor(t,e,n){super(),n=n||{},this.tileCoord=t,this.state=e,this.interimTile=null,this.key="",this.transition_=void 0===n.transition?250:n.transition,this.transitionStarts_={},this.interpolate=!!n.interpolate}changed(){this.dispatchEvent(B.CHANGE)}release(){this.state===Rl.ERROR&&this.setState(Rl.EMPTY)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){if(!this.interimTile)return this;let t=this.interimTile;do{if(t.getState()==Rl.LOADED)return this.transition_=0,t;t=t.interimTile}while(t);return this}refreshInterimChain(){if(!this.interimTile)return;let t=this.interimTile,e=this;do{if(t.getState()==Rl.LOADED){t.interimTile=null;break}t.getState()==Rl.LOADING?e=t:t.getState()==Rl.IDLE?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(t){if(this.state!==Rl.ERROR&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()}load(){H()}getAlpha(t,e){if(!this.transition_)return 1;let n=this.transitionStarts_[t];if(n){if(-1===n)return 1}else n=e,this.transitionStarts_[t]=n;const i=e-n+1e3/60;return i>=this.transition_?1:Zo(i/this.transition_)}inTransition(t){return!!this.transition_&&-1!==this.transitionStarts_[t]}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}}const Ol=Dl;class jl extends Ol{constructor(t,e,n,i,r,o){super(t,e,o),this.crossOrigin_=i,this.src_=n,this.key=n,this.image_=new Image,null!==i&&(this.image_.crossOrigin=i),this.unlisten_=null,this.tileLoadFunction_=r}getImage(){return this.image_}setImage(t){this.image_=t,this.state=Rl.LOADED,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=Rl.ERROR,this.unlistenImage_(),this.image_=Fl(),this.changed()}handleImageLoad_(){const t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=Rl.LOADED:this.state=Rl.EMPTY,this.unlistenImage_(),this.changed()}load(){this.state==Rl.ERROR&&(this.state=Rl.IDLE,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==Rl.IDLE&&(this.state=Rl.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=Ra(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function Fl(){const t=Ir(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}const Nl=jl;class Bl{constructor(t,e,n){this.decay_=t,this.minVelocity_=e,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,e){this.points_.push(t,e,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]0&&this.points_[n+2]>t;)n-=3;const i=this.points_[e+2]-this.points_[n+2];if(i<1e3/60)return!1;const r=this.points_[e]-this.points_[n],o=this.points_[e+1]-this.points_[n+1];return this.angle_=Math.atan2(o,r),this.initialVelocity_=Math.sqrt(r*r+o*o)/i,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}const Gl=Bl;class Vl extends A{constructor(t){super(),this.map_=t}dispatchRenderEvent(t,e){H()}calculateMatrices2D(t){const e=t.viewState,n=t.coordinateToPixelTransform,i=t.pixelToCoordinateTransform;Mt(n,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Et(i,n)}forEachFeatureAtCoordinate(t,e,n,i,r,o,a,s){let l;const h=e.viewState;function u(t,e,n,i){return r.call(o,e,t?n:null,i)}const c=h.projection,d=un(t.slice(),c),g=[[0,0]];if(c.canWrapX()&&i){const t=c.getExtent(),e=ce(t);g.push([-e,0],[e,0])}const f=e.layerStatesArray,p=f.length,m=[],y=[];for(let _=0;_=0;--i){const r=f[i],o=r.layer;if(o.hasRenderer()&&sa(r,h)&&a.call(s,o)){const i=o.getRenderer(),a=o.getSource();if(i&&a){const o=a.getWrapX()?d:t,s=u.bind(null,r.managed);y[0]=o[0]+g[_][0],y[1]=o[1]+g[_][1],l=i.forEachFeatureAtCoordinate(y,e,n,s,m)}if(l)return l}}if(0===m.length)return;const v=1/m.length;return m.forEach((t,e)=>t.distanceSq+=e*v),m.sort((t,e)=>t.distanceSq-e.distanceSq),m.some(t=>l=t.callback(t.feature,t.layer,t.geometry)),l}hasFeatureAtCoordinate(t,e,n,i,r,o){return void 0!==this.forEachFeatureAtCoordinate(t,e,n,i,L,this,r,o)}getMap(){return this.map_}renderFrame(t){H()}scheduleExpireIconCache(t){za.canExpireCache()&&t.postRenderFunctions.push(ql)}}function ql(t,e){za.expire()}const Wl=Vl;class Ul extends Wl{constructor(t){super(t),this.fontChangeListenerKey_=G(no,w.PROPERTYCHANGE,t.redrawText.bind(t)),this.element_=document.createElement("div");const e=this.element_.style;e.position="absolute",e.width="100%",e.height="100%",e.zIndex="0",this.element_.className=jr+" ol-layers";const n=t.getViewport();n.insertBefore(this.element_,n.firstChild||null),this.children_=[],this.renderedVisible_=!0}dispatchRenderEvent(t,e){const n=this.getMap();if(n.hasListener(t)){const i=new bs(t,void 0,e);n.dispatchEvent(i)}}disposeInternal(){q(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(t){if(!t)return void(this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1));this.calculateMatrices2D(t),this.dispatchRenderEvent($i.PRECOMPOSE,t);const e=t.layerStatesArray.sort((function(t,e){return t.zIndex-e.zIndex})),n=t.viewState;this.children_.length=0;const i=[];let r=null;for(let o=0,a=e.length;o=0;--o)i[o].renderDeclutter(t);Rr(this.element_,this.children_),this.dispatchRenderEvent($i.POSTCOMPOSE,t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)}}const Hl=Ul;class Zl extends b{constructor(t,e){super(t),this.layer=e}}const Yl={LAYERS:"layers"};class Xl extends Po{constructor(t){t=t||{};const e=Object.assign({},t);delete e.layers;let n=t.layers;super(e),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(Yl.LAYERS,this.handleLayersChanged_),n?Array.isArray(n)?n=new it(n.slice(),{unique:!0}):rt("function"==typeof n.getArray,43):n=new it(void 0,{unique:!0}),this.setLayers(n)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(q),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(G(t,$.ADD,this.handleLayersAdd_,this),G(t,$.REMOVE,this.handleLayersRemove_,this));for(const n in this.listenerKeys_)this.listenerKeys_[n].forEach(q);O(this.listenerKeys_);const e=t.getArray();for(let n=0,i=e.length;n{this.clickTimeoutId_=void 0;const e=new th(eh.SINGLECLICK,this.map_,t);this.dispatchEvent(e)},250)}updateActivePointers_(t){const e=t,n=e.pointerId;if(e.type==eh.POINTERUP||e.type==eh.POINTERCANCEL){delete this.trackedTouches_[n];for(const t in this.trackedTouches_)if(this.trackedTouches_[t].target!==e.target){delete this.trackedTouches_[t];break}}else(e.type==eh.POINTERDOWN||e.type==eh.POINTERMOVE)&&(this.trackedTouches_[n]=e);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const e=new th(eh.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(e),this.emulateClicks_&&!e.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),0===this.activePointers_.length&&(this.dragListenerKeys_.forEach(q),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return 0===t.button}handlePointerDown_(t){this.emulateClicks_=0===this.activePointers_.length,this.updateActivePointers_(t);const e=new th(eh.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);if(this.dispatchEvent(e),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),0===this.dragListenerKeys_.length){const t=this.map_.getOwnerDocument();this.dragListenerKeys_.push(G(t,eh.POINTERMOVE,this.handlePointerMove_,this),G(t,eh.POINTERUP,this.handlePointerUp_,this),G(this.element_,eh.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==t&&this.dragListenerKeys_.push(G(this.element_.getRootNode(),eh.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const e=new th(eh.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(e)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const e=!(!this.down_||!this.isMoving_(t));this.dispatchEvent(new th(eh.POINTERMOVE,this.map_,t,e))}handleTouchMove_(t){const e=this.originalPointerMoveEvent_;(!e||e.defaultPrevented)&&("boolean"!=typeof t.cancelable||!0===t.cancelable)&&t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(q(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(B.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(q(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(q),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const rh=ih,oh={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},ah={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},sh=1/0;class lh{constructor(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,O(this.queuedElements_)}dequeue(){const t=this.elements_,e=this.priorities_,n=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));const i=this.keyFunction_(n);return delete this.queuedElements_[i],n}enqueue(t){rt(!(this.keyFunction_(t)in this.queuedElements_),31);const e=this.priorityFunction_(t);return e!=sh&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)}getCount(){return this.elements_.length}getLeftChildIndex_(t){return 2*t+1}getRightChildIndex_(t){return 2*t+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return 0===this.elements_.length}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const e=this.elements_,n=this.priorities_,i=e.length,r=e[t],o=n[t],a=t;for(;t>1;){const r=this.getLeftChildIndex_(t),o=this.getRightChildIndex_(t),a=ot;){const t=this.getParentIndex_(e);if(!(i[t]>o))break;n[e]=n[t],i[e]=i[t],e=t}n[e]=r,i[e]=o}reprioritize(){const t=this.priorityFunction_,e=this.elements_,n=this.priorities_;let i=0;const r=e.length;let o,a,s;for(a=0;a0;)i=this.dequeue()[0],r=i.getKey(),n=i.getState(),n===Rl.IDLE&&!(r in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++o,i.load())}}const ch=uh;function dh(t,e,n,i,r){if(!t||!(n in t.wantedTiles)||!t.wantedTiles[n][e.getKey()])return sh;const o=t.viewState.center,a=i[0]-o[0],s=i[1]-o[1];return 65536*Math.log(r)+Math.sqrt(a*a+s*s)/r}class gh extends Q{constructor(t){super();const e=t.element;e&&!t.target&&!e.style.pointerEvents&&(e.style.pointerEvents="auto"),this.element=e||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){Lr(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&Lr(this.element);for(let e=0,n=this.listenerKeys.length;ee.getAttributions(t)))),n=!this.getMap().getAllLayers().some(t=>t.getSource()&&!1===t.getSource().getAttributionsCollapsible());return this.overrideCollapsible_||this.setCollapsible(n),e}updateElement_(t){if(!t)return void(this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1));const e=this.collectSourceAttributions_(t),n=e.length>0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!z(e,this.renderedAttributions_)){kr(this.ulElement_);for(let t=0,n=e.length;t0&&e%(2*Math.PI)!==0?t.animate({rotation:0,duration:this.duration_,easing:Yo}):t.setRotation(0))}render(t){const e=t.frameState;if(!e)return;const n=e.viewState.rotation;if(n!=this.rotation_){const t="rotate("+n+"rad)";if(this.autoHide_){const t=this.element.classList.contains(Dr);t||0!==n?t&&0!==n&&this.element.classList.remove(Dr):this.element.classList.add(Dr)}this.label_.style.transform=t}this.rotation_=n}}const vh=yh;class _h extends fh{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const e=void 0!==t.className?t.className:"ol-zoom",n=void 0!==t.delta?t.delta:1,i=void 0!==t.zoomInClassName?t.zoomInClassName:e+"-in",r=void 0!==t.zoomOutClassName?t.zoomOutClassName:e+"-out",o=void 0!==t.zoomInLabel?t.zoomInLabel:"+",a=void 0!==t.zoomOutLabel?t.zoomOutLabel:"–",s=void 0!==t.zoomInTipLabel?t.zoomInTipLabel:"Zoom in",l=void 0!==t.zoomOutTipLabel?t.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=i,h.setAttribute("type","button"),h.title=s,h.appendChild("string"==typeof o?document.createTextNode(o):o),h.addEventListener(B.CLICK,this.handleClick_.bind(this,n),!1);const u=document.createElement("button");u.className=r,u.setAttribute("type","button"),u.title=l,u.appendChild("string"==typeof a?document.createTextNode(a):a),u.addEventListener(B.CLICK,this.handleClick_.bind(this,-n),!1);const c=e+" "+jr+" "+Nr,d=this.element;d.className=c,d.appendChild(h),d.appendChild(u),this.duration_=void 0!==t.duration?t.duration:250}handleClick_(t,e){e.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const e=this.getMap().getView();if(!e)return;const n=e.getZoom();if(void 0!==n){const i=e.getConstrainedZoom(n+t);this.duration_>0?(e.getAnimating()&&e.cancelAnimations(),e.animate({zoom:i,duration:this.duration_,easing:Yo})):e.setZoom(i)}}}const xh=_h;function bh(t){t=t||{};const e=new it;return(void 0===t.zoom||t.zoom)&&e.push(new xh(t.zoomOptions)),(void 0===t.rotate||t.rotate)&&e.push(new vh(t.rotateOptions)),(void 0===t.attribution||t.attribution)&&e.push(new mh(t.attributionOptions)),e}const wh={ACTIVE:"active"};class Sh extends Q{constructor(t){super(),this.on,this.once,this.un,t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(wh.ACTIVE)}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set(wh.ACTIVE,t)}setMap(t){this.map_=t}}function Ah(t,e,n){const i=t.getCenterInternal();if(i){const r=[i[0]+e[0],i[1]+e[1]];t.animateInternal({duration:void 0!==n?n:250,easing:Ko,center:t.getConstrainedCenter(r)})}}function Ch(t,e,n,i){const r=t.getZoom();if(void 0===r)return;const o=t.getConstrainedZoom(r+e),a=t.getResolutionForZoom(o);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:a,anchor:n,duration:void 0!==i?i:250,easing:Yo})}const Th=Sh;class Ih extends Th{constructor(t){super(),t=t||{},this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:250}handleEvent(t){let e=!1;if(t.type==eh.DBLCLICK){const n=t.originalEvent,i=t.map,r=t.coordinate,o=n.shiftKey?-this.delta_:this.delta_,a=i.getView();Ch(a,o,r,this.duration_),n.preventDefault(),e=!0}return!e}}const Mh=Ih;class Eh extends Th{constructor(t){t=t||{},super(t),t.handleDownEvent&&(this.handleDownEvent=t.handleDownEvent),t.handleDragEvent&&(this.handleDragEvent=t.handleDragEvent),t.handleMoveEvent&&(this.handleMoveEvent=t.handleMoveEvent),t.handleUpEvent&&(this.handleUpEvent=t.handleUpEvent),t.stopDown&&(this.stopDown=t.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(t){return!1}handleDragEvent(t){}handleEvent(t){if(!t.originalEvent)return!0;let e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==eh.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==eh.POINTERUP){const e=this.handleUpEvent(t);this.handlingDownUpSequence=e&&this.targetPointers.length>0}}else if(t.type==eh.POINTERDOWN){const n=this.handleDownEvent(t);this.handlingDownUpSequence=n,e=this.stopDown(n)}else t.type==eh.POINTERMOVE&&this.handleMoveEvent(t);return!e}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}}function zh(t){const e=t.length;let n=0,i=0;for(let r=0;r0&&this.condition_(t)){const e=t.map.getView();return this.lastCentroid=null,e.getAnimating()&&e.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}const Zh=Hh;class Yh extends Ph{constructor(t){t=t||{},super({stopDown:k}),this.condition_=t.condition?t.condition:Rh,this.lastAngle_=void 0,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){if(!Wh(t))return;const e=t.map,n=e.getView();if(n.getConstraints().rotation===qo)return;const i=e.getSize(),r=t.pixel,o=Math.atan2(i[1]/2-r[1],r[0]-i[0]/2);if(void 0!==this.lastAngle_){const t=o-this.lastAngle_;n.adjustRotationInternal(-t)}this.lastAngle_=o}handleUpEvent(t){return!Wh(t)||(t.map.getView().endInteraction(this.duration_),!1)}handleDownEvent(t){return!!(Wh(t)&&Fh(t)&&this.condition_(t))&&(t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0)}}const Xh=Yh;class Kh extends A{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,e=this.endPixel_,n="px",i=this.element_.style;i.left=Math.min(t[0],e[0])+n,i.top=Math.min(t[1],e[1])+n,i.width=Math.abs(e[0]-t[0])+n,i.height=Math.abs(e[1]-t[1])+n}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const t=this.element_.style;t.left="inherit",t.top="inherit",t.width="inherit",t.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new Xi([n])}getGeometry(){return this.geometry_}}const Jh=Kh,Qh={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class $h extends b{constructor(t,e,n){super(t),this.coordinate=e,this.mapBrowserEvent=n}}class tu extends Ph{constructor(t){super(),this.on,this.once,this.un,t=t||{},this.box_=new Jh(t.className||"ol-dragbox"),this.minArea_=void 0!==t.minArea?t.minArea:64,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition?t.condition:Fh,this.boxEndCondition_=t.boxEndCondition?t.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(t,e,n){const i=n[0]-e[0],r=n[1]-e[1];return i*i+r*r>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new $h(Qh.BOXDRAG,t.coordinate,t))}handleUpEvent(t){this.box_.setMap(null);const e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new $h(e?Qh.BOXEND:Qh.BOXCANCEL,t.coordinate,t)),!1}handleDownEvent(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new $h(Qh.BOXSTART,t.coordinate,t)),!0)}onBoxEnd(t){}}const eu=tu;class nu extends eu{constructor(t){t=t||{};const e=t.condition?t.condition:Vh;super({condition:e,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=void 0!==t.duration?t.duration:200,this.out_=void 0!==t.out&&t.out}onBoxEnd(t){const e=this.getMap().getView();let n=this.getGeometry();if(this.out_){const t=e.rotatedExtentForGeometry(n),i=e.getResolutionForExtentInternal(t),r=e.getResolution()/i;n=n.clone(),n.scale(r*r)}e.fitInternal(n,{duration:this.duration_,easing:Yo})}}const iu=nu,ru={LEFT:37,UP:38,RIGHT:39,DOWN:40};class ou extends Th{constructor(t){super(),t=t||{},this.defaultCondition_=function(t){return Gh(t)&&qh(t)},this.condition_=void 0!==t.condition?t.condition:this.defaultCondition_,this.duration_=void 0!==t.duration?t.duration:100,this.pixelDelta_=void 0!==t.pixelDelta?t.pixelDelta:128}handleEvent(t){let e=!1;if(t.type==B.KEYDOWN){const n=t.originalEvent,i=n.keyCode;if(this.condition_(t)&&(i==ru.DOWN||i==ru.LEFT||i==ru.RIGHT||i==ru.UP)){const r=t.map.getView(),o=r.getResolution()*this.pixelDelta_;let a=0,s=0;i==ru.DOWN?s=-o:i==ru.LEFT?a=-o:i==ru.RIGHT?a=o:s=o;const l=[a,s];on(l,r.getRotation()),Ah(r,l,this.duration_),n.preventDefault(),e=!0}}return!e}}const au=ou;class su extends Th{constructor(t){super(),t=t||{},this.condition_=t.condition?t.condition:qh,this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:100}handleEvent(t){let e=!1;if(t.type==B.KEYDOWN||t.type==B.KEYPRESS){const n=t.originalEvent,i=n.key;if(this.condition_(t)&&("+"===i||"-"===i)){const r=t.map,o="+"===i?this.delta_:-this.delta_,a=r.getView();Ch(a,o,void 0,this.duration_),n.preventDefault(),e=!0}}return!e}}const lu=su;class hu extends Th{constructor(t){t=t||{},super(t),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=void 0!==t.maxDelta?t.maxDelta:1,this.duration_=void 0!==t.duration?t.duration:250,this.timeout_=void 0!==t.timeout?t.timeout:80,this.useAnchor_=void 0===t.useAnchor||t.useAnchor,this.constrainResolution_=void 0!==t.constrainResolution&&t.constrainResolution;const e=t.condition?t.condition:jh;this.condition_=t.onFocusOnly?Lh(Oh,e):e,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();t&&t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(t){if(!this.condition_(t)||t.type!==B.WHEEL)return!0;const e=t.map,n=t.originalEvent;let i;if(n.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate),t.type==B.WHEEL&&(i=n.deltaY,ht&&n.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(i/=gt),n.deltaMode===WheelEvent.DOM_DELTA_LINE&&(i*=40)),0===i)return!1;this.lastDelta_=i;const r=Date.now();void 0===this.startTime_&&(this.startTime_=r),(!this.mode_||r-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(i)<4?"trackpad":"wheel");const o=e.getView();if("trackpad"===this.mode_&&!o.getConstrainResolution()&&!this.constrainResolution_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(o.getAnimating()&&o.cancelAnimations(),o.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),o.adjustZoom(-i/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=r,!1;this.totalDelta_+=i;const a=Math.max(this.timeout_-(r-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,e),a),!1}handleWheelZoom_(t){const e=t.getView();e.getAnimating()&&e.cancelAnimations();let n=-qe(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(n=n?n>0?1:-1:0),Ch(e,n,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}}const uu=hu;class cu extends Ph{constructor(t){t=t||{};const e=t;e.stopDown||(e.stopDown=k),super(e),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=void 0!==t.threshold?t.threshold:.3,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){let e=0;const n=this.targetPointers[0],i=this.targetPointers[1],r=Math.atan2(i.clientY-n.clientY,i.clientX-n.clientX);if(void 0!==this.lastAngle_){const t=r-this.lastAngle_;this.rotationDelta_+=t,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=t}this.lastAngle_=r;const o=t.map,a=o.getView();a.getConstraints().rotation!==qo&&(this.anchor_=o.getCoordinateFromPixelInternal(o.getEventPixel(zh(this.targetPointers))),this.rotating_&&(o.render(),a.adjustRotationInternal(e,this.anchor_)))}handleUpEvent(t){return!(this.targetPointers.length<2)||(t.map.getView().endInteraction(this.duration_),!1)}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}}const du=cu;class gu extends Ph{constructor(t){t=t||{};const e=t;e.stopDown||(e.stopDown=k),super(e),this.anchor_=null,this.duration_=void 0!==t.duration?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let e=1;const n=this.targetPointers[0],i=this.targetPointers[1],r=n.clientX-i.clientX,o=n.clientY-i.clientY,a=Math.sqrt(r*r+o*o);void 0!==this.lastDistance_&&(e=this.lastDistance_/a),this.lastDistance_=a;const s=t.map,l=s.getView();1!=e&&(this.lastScaleDelta_=e),this.anchor_=s.getCoordinateFromPixelInternal(s.getEventPixel(zh(this.targetPointers))),s.render(),l.adjustResolutionInternal(e,this.anchor_)}handleUpEvent(t){if(this.targetPointers.length<2){const e=t.map.getView(),n=this.lastScaleDelta_>1?1:-1;return e.endInteraction(this.duration_,n),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}}const fu=gu;function pu(t){t=t||{};const e=new it,n=new Gl(-.005,.05,100);return(void 0===t.altShiftDragRotate||t.altShiftDragRotate)&&e.push(new Xh),(void 0===t.doubleClickZoom||t.doubleClickZoom)&&e.push(new Mh({delta:t.zoomDelta,duration:t.zoomDuration})),(void 0===t.dragPan||t.dragPan)&&e.push(new Zh({onFocusOnly:t.onFocusOnly,kinetic:n})),(void 0===t.pinchRotate||t.pinchRotate)&&e.push(new du),(void 0===t.pinchZoom||t.pinchZoom)&&e.push(new fu({duration:t.zoomDuration})),(void 0===t.keyboard||t.keyboard)&&(e.push(new au),e.push(new lu({delta:t.zoomDelta,duration:t.zoomDuration}))),(void 0===t.mouseWheelZoom||t.mouseWheelZoom)&&e.push(new uu({onFocusOnly:t.onFocusOnly,duration:t.zoomDuration})),(void 0===t.shiftDragZoom||t.shiftDragZoom)&&e.push(new iu({duration:t.zoomDuration})),e}function mu(t){t instanceof la?t.setMapInternal(null):t instanceof Kl&&t.getLayers().forEach(mu)}function yu(t,e){if(t instanceof la)t.setMapInternal(e);else if(t instanceof Kl){const n=t.getLayers().getArray();for(let t=0,i=n.length;tthis.updateSize()),this.controls=e.controls||bh(),this.interactions=e.interactions||pu({onFocusOnly:!0}),this.overlays_=e.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new ch(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(ah.LAYERGROUP,this.handleLayerGroupChanged_),this.addChangeListener(ah.VIEW,this.handleViewChanged_),this.addChangeListener(ah.SIZE,this.handleSizeChanged_),this.addChangeListener(ah.TARGET,this.handleTargetChanged_),this.setProperties(e.values);const n=this;t.view&&!(t.view instanceof oa)&&t.view.then((function(t){n.setView(new oa(t))})),this.controls.addEventListener($.ADD,t=>{t.element.setMap(this)}),this.controls.addEventListener($.REMOVE,t=>{t.element.setMap(null)}),this.interactions.addEventListener($.ADD,t=>{t.element.setMap(this)}),this.interactions.addEventListener($.REMOVE,t=>{t.element.setMap(null)}),this.overlays_.addEventListener($.ADD,t=>{this.addOverlayInternal_(t.element)}),this.overlays_.addEventListener($.REMOVE,t=>{const e=t.element.getId();void 0!==e&&delete this.overlayIdIndex_[e.toString()],t.element.setMap(null)}),this.controls.forEach(t=>{t.setMap(this)}),this.interactions.forEach(t=>{t.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(t){this.getControls().push(t)}addInteraction(t){this.getInteractions().push(t)}addLayer(t){this.getLayerGroup().getLayers().push(t)}handleLayerAdd_(t){yu(t.layer,this)}addOverlay(t){this.getOverlays().push(t)}addOverlayInternal_(t){const e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(t,e,n){if(!this.frameState_||!this.renderer_)return;const i=this.getCoordinateFromPixelInternal(t);n=void 0!==n?n:{};const r=void 0!==n.hitTolerance?n.hitTolerance:0,o=void 0!==n.layerFilter?n.layerFilter:L,a=!1!==n.checkWrapped;return this.renderer_.forEachFeatureAtCoordinate(i,this.frameState_,r,a,e,null,o,null)}getFeaturesAtPixel(t,e){const n=[];return this.forEachFeatureAtPixel(t,(function(t){n.push(t)}),e),n}getAllLayers(){const t=[];function e(n){n.forEach((function(n){n instanceof Kl?e(n.getLayers()):t.push(n)}))}return e(this.getLayers()),t}hasFeatureAtPixel(t,e){if(!this.frameState_||!this.renderer_)return!1;const n=this.getCoordinateFromPixelInternal(t);e=void 0!==e?e:{};const i=void 0!==e.layerFilter?e.layerFilter:L,r=void 0!==e.hitTolerance?e.hitTolerance:0,o=!1!==e.checkWrapped;return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,r,o,i,null)}getEventCoordinate(t){return this.getCoordinateFromPixel(this.getEventPixel(t))}getEventCoordinateInternal(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))}getEventPixel(t){const e=this.viewport_.getBoundingClientRect(),n=this.getSize(),i=e.width/n[0],r=e.height/n[1],o="changedTouches"in t?t.changedTouches[0]:t;return[(o.clientX-e.left)/i,(o.clientY-e.top)/r]}getTarget(){return this.get(ah.TARGET)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(t){return Bn(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())}getCoordinateFromPixelInternal(t){const e=this.frameState_;return e?St(e.pixelToCoordinateTransform,t.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(t){const e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(ah.LAYERGROUP)}setLayers(t){const e=this.getLayerGroup();if(t instanceof it)return void e.setLayers(t);const n=e.getLayers();n.clear(),n.extend(t)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,n=t.length;e=0;n--){const i=e[n];if(i.getMap()===this&&i.getActive()&&this.getTargetElement()&&(!i.handleEvent(t)||t.propagationStopped))break}}}handlePostRender(){const t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){let n=this.maxTilesLoading_,i=n;if(t){const e=t.viewHints;if(e[Lo.ANIMATING]||e[Lo.INTERACTING]){const e=Date.now()-t.time>8;n=e?0:8,i=e?0:2}}e.getTilesLoading(){this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(t){const e=this.getLayerGroup();e&&this.handleLayerRemove_(new Zl("removelayer",e)),this.set(ah.LAYERGROUP,t)}setSize(t){this.set(ah.SIZE,t)}setTarget(t){this.set(ah.TARGET,t)}setView(t){if(!t||t instanceof oa)return void this.set(ah.VIEW,t);this.set(ah.VIEW,new oa);const e=this;t.then((function(t){e.setView(new oa(t))}))}updateSize(){const t=this.getTargetElement();let e;if(t){const n=getComputedStyle(t),i=t.offsetWidth-parseFloat(n.borderLeftWidth)-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight)-parseFloat(n.borderRightWidth),r=t.offsetHeight-parseFloat(n.borderTopWidth)-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom)-parseFloat(n.borderBottomWidth);!isNaN(i)&&!isNaN(r)&&(e=[i,r],!dr(e)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&_n("No map visible because the map container's width or height are 0."))}const n=this.getSize();e&&(!n||!z(e,n))&&(this.setSize(e),this.updateViewportSize_())}updateViewportSize_(){const t=this.getView();if(t){let e;const n=getComputedStyle(this.viewport_);n.width&&n.height&&(e=[parseInt(n.width,10),parseInt(n.height,10)]),t.setViewportSize(e)}}}function _u(t){let e=null;void 0!==t.keyboardEventTarget&&(e="string"==typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);const n={},i=t.layers&&"function"==typeof t.layers.getLayers?t.layers:new Kl({layers:t.layers});let r,o,a;return n[ah.LAYERGROUP]=i,n[ah.TARGET]=t.target,n[ah.VIEW]=t.view instanceof oa?t.view:new oa,void 0!==t.controls&&(Array.isArray(t.controls)?r=new it(t.controls.slice()):(rt("function"==typeof t.controls.getArray,47),r=t.controls)),void 0!==t.interactions&&(Array.isArray(t.interactions)?o=new it(t.interactions.slice()):(rt("function"==typeof t.interactions.getArray,48),o=t.interactions)),void 0!==t.overlays?Array.isArray(t.overlays)?a=new it(t.overlays.slice()):(rt("function"==typeof t.overlays.getArray,49),a=t.overlays):a=new it,{controls:r,interactions:o,keyboardEventTarget:e,overlays:a,values:n}}const xu=vu,bu={ELEMENT:"element",MAP:"map",OFFSET:"offset",POSITION:"position",POSITIONING:"positioning"};class wu extends Q{constructor(t){super(),this.on,this.once,this.un,this.options=t,this.id=t.id,this.insertFirst=void 0===t.insertFirst||t.insertFirst,this.stopEvent=void 0===t.stopEvent||t.stopEvent,this.element=document.createElement("div"),this.element.className=void 0!==t.className?t.className:"ol-overlay-container "+Or,this.element.style.position="absolute",this.element.style.pointerEvents="auto",this.autoPan=!0===t.autoPan?{}:t.autoPan||void 0,this.rendered={transform_:"",visible:!0},this.mapPostrenderListenerKey=null,this.addChangeListener(bu.ELEMENT,this.handleElementChanged),this.addChangeListener(bu.MAP,this.handleMapChanged),this.addChangeListener(bu.OFFSET,this.handleOffsetChanged),this.addChangeListener(bu.POSITION,this.handlePositionChanged),this.addChangeListener(bu.POSITIONING,this.handlePositioningChanged),void 0!==t.element&&this.setElement(t.element),this.setOffset(void 0!==t.offset?t.offset:[0,0]),this.setPositioning(t.positioning||"top-left"),void 0!==t.position&&this.setPosition(t.position)}getElement(){return this.get(bu.ELEMENT)}getId(){return this.id}getMap(){return this.get(bu.MAP)||null}getOffset(){return this.get(bu.OFFSET)}getPosition(){return this.get(bu.POSITION)}getPositioning(){return this.get(bu.POSITIONING)}handleElementChanged(){kr(this.element);const t=this.getElement();t&&this.element.appendChild(t)}handleMapChanged(){this.mapPostrenderListenerKey&&(Lr(this.element),q(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);const t=this.getMap();if(t){this.mapPostrenderListenerKey=G(t,oh.POSTRENDER,this.render,this),this.updatePixelPosition();const e=this.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this.insertFirst?e.insertBefore(this.element,e.childNodes[0]||null):e.appendChild(this.element),this.performAutoPan()}}render(){this.updatePixelPosition()}handleOffsetChanged(){this.updatePixelPosition()}handlePositionChanged(){this.updatePixelPosition(),this.performAutoPan()}handlePositioningChanged(){this.updatePixelPosition()}setElement(t){this.set(bu.ELEMENT,t)}setMap(t){this.set(bu.MAP,t)}setOffset(t){this.set(bu.OFFSET,t)}setPosition(t){this.set(bu.POSITION,t)}performAutoPan(){this.autoPan&&this.panIntoView(this.autoPan)}panIntoView(t){const e=this.getMap();if(!e||!e.getTargetElement()||!this.get(bu.POSITION))return;const n=this.getRect(e.getTargetElement(),e.getSize()),i=this.getElement(),r=this.getRect(i,[Er(i),zr(i)]);t=t||{};const o=void 0===t.margin?20:t.margin;if(!Bt(n,r)){const i=r[0]-n[0],a=n[2]-r[2],s=r[1]-n[1],l=n[3]-r[3],h=[0,0];if(i<0?h[0]=i-o:a<0&&(h[0]=Math.abs(a)+o),s<0?h[1]=s-o:l<0&&(h[1]=Math.abs(l)+o),0!==h[0]||0!==h[1]){const n=e.getView().getCenterInternal(),i=e.getPixelFromCoordinateInternal(n);if(!i)return;const r=[i[0]+h[0],i[1]+h[1]],o=t.animation||{};e.getView().animateInternal({center:e.getCoordinateFromPixelInternal(r),duration:o.duration,easing:o.easing})}}}getRect(t,e){const n=t.getBoundingClientRect(),i=n.left+window.pageXOffset,r=n.top+window.pageYOffset;return[i,r,i+e[0],r+e[1]]}setPositioning(t){this.set(bu.POSITIONING,t)}setVisible(t){this.rendered.visible!==t&&(this.element.style.display=t?"":"none",this.rendered.visible=t)}updatePixelPosition(){const t=this.getMap(),e=this.getPosition();if(!t||!t.isRendered()||!e)return void this.setVisible(!1);const n=t.getPixelFromCoordinate(e),i=t.getSize();this.updateRenderedPosition(n,i)}updateRenderedPosition(t,e){const n=this.element.style,i=this.getOffset(),r=this.getPositioning();this.setVisible(!0);const o=Math.round(t[0]+i[0])+"px",a=Math.round(t[1]+i[1])+"px";let s="0%",l="0%";"bottom-right"==r||"center-right"==r||"top-right"==r?s="-100%":("bottom-center"==r||"center-center"==r||"top-center"==r)&&(s="-50%"),"bottom-left"==r||"bottom-center"==r||"bottom-right"==r?l="-100%":("center-left"==r||"center-center"==r||"center-right"==r)&&(l="-50%");const h=`translate(${s}, ${l}) translate(${o}, ${a})`;this.rendered.transform_!=h&&(this.rendered.transform_=h,n.transform=h)}getOptions(){return this.options}}const Su=wu;class Au{constructor(t){this.highWaterMark=void 0!==t?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(t){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let e=this.oldest_;for(;e;)t(e.value_,e.key_,this),e=e.newer}get(t,e){const n=this.entries_[t];return rt(void 0!==n,15),n===this.newest_||(n===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(n.newer.older=n.older,n.older.newer=n.newer),n.newer=null,n.older=this.newest_,this.newest_.newer=n,this.newest_=n),n.value_}remove(t){const e=this.entries_[t];return rt(void 0!==e,15),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let e,n=0;for(e=this.newest_;e;e=e.older)t[n++]=e.key_;return t}getValues(){const t=new Array(this.count_);let e,n=0;for(e=this.newest_;e;e=e.older)t[n++]=e.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){if(this.containsKey(t))return this.entries_[t].value_}pop(){const t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_}replace(t,e){this.get(t),this.entries_[t].value_=e}set(t,e){rt(!(t in this.entries_),16);const n={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=n:this.oldest_=n,this.newest_=n,this.entries_[t]=n,++this.count_}setSize(t){this.highWaterMark=t}}const Cu=Au;function Tu(t,e,n,i){return void 0!==i?(i[0]=t,i[1]=e,i[2]=n,i):[t,e,n]}function Iu(t,e,n){return t+"/"+e+"/"+n}function Mu(t){return Iu(t[0],t[1],t[2])}function Eu(t){return t.split("/").map(Number)}function zu(t){return(t[1]<n||n>e.getMaxZoom())return!1;const o=e.getFullTileRange(n);return!o||o.containsXY(i,r)}class Lu extends Cu{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(t){for(;this.canExpireCache()&&!(this.peekLast().getKey()in t);)this.pop().release()}pruneExceptNewestZ(){if(0===this.getCount())return;const t=this.peekFirstKey(),e=Eu(t)[0];this.forEach(t=>{t.tileCoord[0]!==e&&(this.remove(Mu(t.tileCoord)),t.release())})}}const ku=Lu;class Ru{constructor(t,e,n,i){this.minX=t,this.maxX=e,this.minY=n,this.maxY=i}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minXthis.maxX&&(this.maxX=t.maxX),t.minYthis.maxY&&(this.maxY=t.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function Du(t,e,n,i,r){return void 0!==r?(r.minX=t,r.maxX=e,r.minY=n,r.maxY=i,r):new Ru(t,e,n,i)}const Ou=Ru;class ju extends Ph{constructor(t){t=t||{},super(t),this.condition_=t.condition?t.condition:Vh,this.lastAngle_=void 0,this.lastMagnitude_=void 0,this.lastScaleDelta_=0,this.duration_=void 0!==t.duration?t.duration:400}handleDragEvent(t){if(!Wh(t))return;const e=t.map,n=e.getSize(),i=t.pixel,r=i[0]-n[0]/2,o=n[1]/2-i[1],a=Math.atan2(o,r),s=Math.sqrt(r*r+o*o),l=e.getView();if(void 0!==this.lastAngle_){const t=this.lastAngle_-a;l.adjustRotationInternal(t)}this.lastAngle_=a,void 0!==this.lastMagnitude_&&l.adjustResolutionInternal(this.lastMagnitude_/s),void 0!==this.lastMagnitude_&&(this.lastScaleDelta_=this.lastMagnitude_/s),this.lastMagnitude_=s}handleUpEvent(t){if(!Wh(t))return!0;const e=t.map.getView(),n=this.lastScaleDelta_>1?1:-1;return e.endInteraction(this.duration_,n),this.lastScaleDelta_=0,!1}handleDownEvent(t){return!(!Wh(t)||!this.condition_(t))&&(t.map.getView().beginInteraction(),this.lastAngle_=void 0,this.lastMagnitude_=void 0,!0)}}const Fu=ju;class Nu extends ni{constructor(t,e,n){super(),void 0!==n&&void 0===e?this.setFlatCoordinates(n,t):(e=e||0,this.setCenterAndRadius(t,e,n))}clone(){const t=new Nu(this.flatCoordinates.slice(),void 0,this.layout);return t.applyProperties(this),t}closestPointXY(t,e,n,i){const r=this.flatCoordinates,o=t-r[0],a=e-r[1],s=o*o+a*a;if(s=e[0]||t[1]<=e[1]&&t[3]>=e[1]||$t(t,this.intersectsCoordinate.bind(this))}return!1}setCenter(t){const e=this.stride,n=this.flatCoordinates[e]-this.flatCoordinates[0],i=t.slice();i[e]=i[0]+n;for(let r=1;r=n?t[e-n]:t[e]}function nc(t,e,n){let i,r;ea){const e=hc(t,i),n=hc(t,r);return tc(e,n)}let s=0;if(it.startIndex?it.startIndex&&(i-=n.length)),l=i,s=c)}const h=e.targets[s];let u=h.ring;if(e.targetIndex===s&&u){const t=hc(h.coordinates,l),r=n.getPixelFromCoordinate(t);ln(r,e.startPx)>i&&(u=!1)}if(u){const t=h.coordinates,e=t.length,n=h.startIndex,i=l;if(n=n?i-=n:i<0&&(i+=n);let o=i+1;o>=n&&(o-=n);const a=t[i],s=a[0],l=a[1],h=t[o],u=h[0]-s,c=h[1]-l;return[s+u*r,l+c*r]}class uc extends Ph{constructor(t){const e=t;e.stopDown||(e.stopDown=k),super(e),this.on,this.once,this.un,this.shouldHandle_=!1,this.downPx_=null,this.downTimeout_,this.lastDragTime_,this.pointerType_,this.freehand_=!1,this.source_=t.source?t.source:null,this.features_=t.features?t.features:null,this.snapTolerance_=t.snapTolerance?t.snapTolerance:12,this.type_=t.type,this.mode_=fc(this.type_),this.stopClick_=!!t.stopClick,this.minPoints_=t.minPoints?t.minPoints:"Polygon"===this.mode_?3:2,this.maxPoints_="Circle"===this.mode_?2:t.maxPoints?t.maxPoints:1/0,this.finishCondition_=t.finishCondition?t.finishCondition:L,this.geometryLayout_=t.geometryLayout?t.geometryLayout:"XY";let n=t.geometryFunction;if(!n){const t=this.mode_;if("Circle"===t)n=function(t,e,n){const i=e||new Bu([NaN,NaN]),r=Gn(t[0]),o=sn(r,Gn(t[t.length-1]));return i.setCenterAndRadius(r,Math.sqrt(o),this.geometryLayout_),i};else{let e;"Point"===t?e=Ei:"LineString"===t?e=sr:"Polygon"===t&&(e=Xi),n=function(n,i,r){return i?"Polygon"===t?n[0].length?i.setCoordinates([n[0].concat([n[0][0]])],this.geometryLayout_):i.setCoordinates([],this.geometryLayout_):i.setCoordinates(n,this.geometryLayout_):i=new e(n,this.geometryLayout_),i}}}this.geometryFunction_=n,this.dragVertexDelay_=void 0!==t.dragVertexDelay?t.dragVertexDelay:500,this.finishCoordinate_=null,this.sketchFeature_=null,this.sketchPoint_=null,this.sketchCoords_=null,this.sketchLine_=null,this.sketchLineCoords_=null,this.squaredClickTolerance_=t.clickTolerance?t.clickTolerance*t.clickTolerance:36,this.overlay_=new pl({source:new El({useSpatialIndex:!1,wrapX:!!t.wrapX&&t.wrapX}),style:t.style?t.style:cc(),updateWhileInteracting:!0}),this.geometryName_=t.geometryName,this.condition_=t.condition?t.condition:Gh,this.freehandCondition_,t.freehand?this.freehandCondition_=jh:this.freehandCondition_=t.freehandCondition?t.freehandCondition:Vh,this.traceCondition_,this.setTrace(t.trace||!1),this.traceState_={active:!1},this.traceSource_=t.traceSource||t.source||null,this.addChangeListener(wh.ACTIVE,this.updateState_)}setTrace(t){let e;e=t?!0===t?jh:t:Nh,this.traceCondition_=e}setMap(t){super.setMap(t),this.updateState_()}getOverlay(){return this.overlay_}handleEvent(t){t.originalEvent.type===B.CONTEXTMENU&&t.originalEvent.preventDefault(),this.freehand_="Point"!==this.mode_&&this.freehandCondition_(t);let e=t.type===eh.POINTERMOVE,n=!0;return!this.freehand_&&this.lastDragTime_&&t.type===eh.POINTERDRAG&&(Date.now()-this.lastDragTime_>=this.dragVertexDelay_?(this.downPx_=t.pixel,this.shouldHandle_=!this.freehand_,e=!0):this.lastDragTime_=void 0,this.shouldHandle_&&void 0!==this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0)),this.freehand_&&t.type===eh.POINTERDRAG&&null!==this.sketchFeature_?(this.addToDrawing_(t.coordinate),n=!1):this.freehand_&&t.type===eh.POINTERDOWN?n=!1:e&&this.getPointerCount()<2?(n=t.type===eh.POINTERMOVE,n&&this.freehand_?(this.handlePointerMove_(t),this.shouldHandle_&&t.originalEvent.preventDefault()):("mouse"===t.originalEvent.pointerType||t.type===eh.POINTERDRAG&&void 0===this.downTimeout_)&&this.handlePointerMove_(t)):t.type===eh.DBLCLICK&&(n=!1),super.handleEvent(t)&&n}handleDownEvent(t){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=t.pixel,this.finishCoordinate_||this.startDrawing_(t.coordinate),!0):this.condition_(t)?(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout(()=>{this.handlePointerMove_(new th(eh.POINTERMOVE,t.map,t.originalEvent,!1,t.frameState))},this.dragVertexDelay_),this.downPx_=t.pixel,!0):(this.lastDragTime_=void 0,!1)}deactivateTrace_(){this.traceState_={active:!1}}toggleTraceState_(t){if(!this.traceSource_||!this.traceCondition_(t))return;if(this.traceState_.active)return void this.deactivateTrace_();const e=this.getMap(),n=e.getCoordinateFromPixel([t.pixel[0]-this.snapTolerance_,t.pixel[1]+this.snapTolerance_]),i=e.getCoordinateFromPixel([t.pixel[0]+this.snapTolerance_,t.pixel[1]-this.snapTolerance_]),r=Rt([n,i]),o=this.traceSource_.getFeaturesInExtent(r);if(0===o.length)return;const a=$u(t.coordinate,o);a.length&&(this.traceState_={active:!0,startPx:t.pixel.slice(),targets:a,targetIndex:-1})}addOrRemoveTracedCoordinates_(t,e){const n=t.startIndex<=t.endIndex,i=t.startIndex<=e;n===i?n&&e>t.endIndex||!n&&et.endIndex)&&this.removeTracedCoordinates_(e,t.endIndex):(this.removeTracedCoordinates_(t.startIndex,t.endIndex),this.addTracedCoordinates_(t,t.startIndex,e))}removeTracedCoordinates_(t,e){if(t===e)return;let n=0;if(t0&&this.removeLastPoints_(n)}addTracedCoordinates_(t,e,n){if(e===n)return;const i=[];if(e=o;--e)i.push(ec(t.coordinates,e))}i.length&&this.appendCoordinates(i)}updateTrace_(t){const e=this.traceState_;if(!e.active||-1===e.targetIndex&&ln(e.startPx,t.pixel)this.squaredClickTolerance_:o<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?(this.updateTrace_(t),this.modifyDrawing_(t.coordinate)):this.createOrUpdateSketchPoint_(t.coordinate.slice())}atFinish_(t,e){let n=!1;if(this.sketchFeature_){let i=!1,r=[this.finishCoordinate_];const o=this.mode_;if("Point"===o)n=!0;else if("Circle"===o)n=2===this.sketchCoords_.length;else if("LineString"===o)i=!e&&this.sketchCoords_.length>this.minPoints_;else if("Polygon"===o){const t=this.sketchCoords_;i=t[0].length>this.minPoints_,r=[t[0][0],t[0][t[0].length-2]],r=e?[t[0][0]]:[t[0][0],t[0][t[0].length-2]]}if(i){const e=this.getMap();for(let i=0,o=r.length;i=this.maxPoints_&&(this.freehand_?r.pop():i=!0),r.push(t.slice()),this.geometryFunction_(r,e,n)):"Polygon"===o&&(r=this.sketchCoords_[0],r.length>=this.maxPoints_&&(this.freehand_?r.pop():i=!0),r.push(t.slice()),i&&(this.finishCoordinate_=r[0]),this.geometryFunction_(this.sketchCoords_,e,n)),this.createOrUpdateSketchPoint_(t.slice()),this.updateSketchFeatures_(),i&&this.finishDrawing()}removeLastPoints_(t){if(!this.sketchFeature_)return;const e=this.sketchFeature_.getGeometry(),n=this.getMap().getView().getProjection(),i=this.mode_;for(let r=0;r=2){this.finishCoordinate_=t[t.length-2].slice();const e=this.finishCoordinate_.slice();t[t.length-1]=e,this.createOrUpdateSketchPoint_(e)}this.geometryFunction_(t,e,n),"Polygon"===e.getType()&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(e)}else if("Polygon"===i){t=this.sketchCoords_[0],t.splice(-2,1);const i=this.sketchLine_.getGeometry();if(t.length>=2){const e=t[t.length-2].slice();t[t.length-1]=e,this.createOrUpdateSketchPoint_(e)}i.setCoordinates(t),this.geometryFunction_(this.sketchCoords_,e,n)}if(1===t.length){this.abortDrawing();break}}this.updateSketchFeatures_()}removeLastPoint(){this.removeLastPoints_(1)}finishDrawing(){const t=this.abortDrawing_();if(!t)return;let e=this.sketchCoords_;const n=t.getGeometry(),i=this.getMap().getView().getProjection();"LineString"===this.mode_?(e.pop(),this.geometryFunction_(e,n,i)):"Polygon"===this.mode_&&(e[0].pop(),this.geometryFunction_(e,n,i),e=n.getCoordinates()),"MultiPoint"===this.type_?t.setGeometry(new Zu([e])):"MultiLineString"===this.type_?t.setGeometry(new Uu([e])):"MultiPolygon"===this.type_&&t.setGeometry(new Ku([e])),this.dispatchEvent(new Qu(Ju.DRAWEND,t)),this.features_&&this.features_.push(t),this.source_&&this.source_.addFeature(t)}abortDrawing_(){this.finishCoordinate_=null;const t=this.sketchFeature_;return this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0),this.deactivateTrace_(),t}abortDrawing(){const t=this.abortDrawing_();t&&this.dispatchEvent(new Qu(Ju.DRAWABORT,t))}appendCoordinates(t){const e=this.mode_,n=!this.sketchFeature_;let i;if(n&&this.startDrawing_(t[0]),"LineString"===e||"Circle"===e)i=this.sketchCoords_;else{if("Polygon"!==e)return;i=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[]}n&&i.shift(),i.pop();for(let o=0;o=0;--i){const t=n[i];for(let e=this.dragSegments_.length-1;e>=0;--e)this.dragSegments_[e][0]===t&&this.dragSegments_.splice(e,1);e.remove(t)}}setActive(t){this.vertexFeature_&&!t&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),super.setActive(t)}setMap(t){this.overlay_.setMap(t),super.setMap(t)}getOverlay(){return this.overlay_}handleSourceAdd_(t){t.feature&&this.features_.push(t.feature)}handleSourceRemove_(t){t.feature&&this.features_.remove(t.feature)}handleFeatureAdd_(t){this.addFeature_(t.element)}handleFeatureChange_(t){if(!this.changingFeature_){const e=t.target;this.removeFeature_(e),this.addFeature_(e)}}handleFeatureRemove_(t){this.removeFeature_(t.element)}writePointGeometry_(t,e){const n=e.getCoordinates(),i={feature:t,geometry:e,segment:[n,n]};this.rBush_.insert(e.getExtent(),i)}writeMultiPointGeometry_(t,e){const n=e.getCoordinates();for(let i=0,r=n.length;i=0;--t)this.insertVertex_(i[t],r)}return!!this.vertexFeature_}handleUpEvent(t){for(let e=this.dragSegments_.length-1;e>=0;--e){const t=this.dragSegments_[e][0],n=t.geometry;if("Circle"===n.getType()){const e=n.getCenter(),i=t.featureSegments[0],r=t.featureSegments[1];i.segment[0]=e,i.segment[1]=e,r.segment[0]=e,r.segment[1]=e,this.rBush_.update(Ht(e),i);let o=n;this.rBush_.update(o.getExtent(),r)}else this.rBush_.update(Rt(t.segment),t)}return this.featuresBeingModified_&&(this.dispatchEvent(new bc(xc.MODIFYEND,this.featuresBeingModified_,t)),this.featuresBeingModified_=null),!1}handlePointerMove_(t){this.lastPixel_=t.pixel,this.handlePointerAtPixel_(t.pixel,t.map,t.coordinate)}handlePointerAtPixel_(t,e,n){const i=n||e.getCoordinateFromPixel(t);e.getView().getProjection();const r=function(t,e){return Ac(i,t)-Ac(i,e)};let o,a;if(this.hitDetection_){const n="object"==typeof this.hitDetection_?t=>t===this.hitDetection_:void 0;e.forEachFeatureAtPixel(t,(t,e,n)=>{const i=n||t.getGeometry();if("Point"===i.getType()&&t instanceof st&&this.features_.getArray().includes(t)){a=i;const e=a.getFlatCoordinates().slice(0,2);o=[{feature:t,geometry:a,segment:[e,e]}]}return!0},{layerFilter:n})}if(!o){const t=qn(Ht(i,vc)),n=e.getView().getResolution()*this.pixelTolerance_,r=Vn(Ot(t,n,vc));o=this.rBush_.getInExtent(r)}if(o&&o.length>0){const n=o.sort(r)[0],s=n.segment;let l=Cc(i,n);const h=e.getPixelFromCoordinate(l);let u=ln(t,h);if(a||u<=this.pixelTolerance_){const t={};if(t[Y(s)]=!0,this.snapToPointer_||(this.delta_[0]=l[0]-i[0],this.delta_[1]=l[1]-i[1]),"Circle"===n.geometry.getType()&&n.index===yc)this.snappedToVertex_=!0,this.createOrUpdateVertexFeature_(l,[n.feature],[n.geometry]);else{const i=e.getPixelFromCoordinate(s[0]),r=e.getPixelFromCoordinate(s[1]),a=sn(h,i),c=sn(h,r);u=Math.sqrt(Math.min(a,c)),this.snappedToVertex_=u<=this.pixelTolerance_,this.snappedToVertex_&&(l=a>c?s[1]:s[0]),this.createOrUpdateVertexFeature_(l,[n.feature],[n.geometry]);const d={};d[Y(n.geometry)]=!0;for(let e=1,n=o.length;e=0;--a)r=t[a],c=r[0],d=Y(c.feature),c.depth&&(d+="-"+c.depth.join("-")),d in e||(e[d]={}),0===r[1]?(e[d].right=c,e[d].index=c.index):1==r[1]&&(e[d].left=c,e[d].index=c.index+1);for(d in e){switch(u=e[d].right,l=e[d].left,s=e[d].index,h=s-1,c=void 0!==l?l:u,h<0&&(h=0),o=c.geometry,i=o.getCoordinates(),n=i,g=!1,o.getType()){case"MultiLineString":i[c.depth[0]].length>2&&(i[c.depth[0]].splice(s,1),g=!0);break;case"LineString":i.length>2&&(i.splice(s,1),g=!0);break;case"MultiPolygon":n=n[c.depth[1]];case"Polygon":n=n[c.depth[0]],n.length>4&&(s==n.length-1&&(s=0),n.splice(s,1),g=!0,0===s&&(n.pop(),n.push(n[0]),h=n.length-1));break}if(g){this.setGeometryCoordinates_(o,i);const e=[];if(void 0!==l&&(this.rBush_.remove(l),e.push(l.segment[0])),void 0!==u&&(this.rBush_.remove(u),e.push(u.segment[1])),void 0!==l&&void 0!==u){const t={depth:c.depth,feature:c.feature,geometry:c.geometry,index:h,segment:e};this.rBush_.insert(Rt(t.segment),t)}this.updateSegmentIndices_(o,s,c.depth,-1),this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),t.length=0}}return g}setGeometryCoordinates_(t,e){this.changingFeature_=!0,t.setCoordinates(e),this.changingFeature_=!1}updateSegmentIndices_(t,e,n,i){this.rBush_.forEachInExtent(t.getExtent(),(function(r){r.geometry===t&&(void 0===n||void 0===r.depth||z(r.depth,n))&&r.index>e&&(r.index+=i)}))}}function Sc(t,e){return t.index-e.index}function Ac(t,e,n){const i=e.geometry;if("Circle"===i.getType()){let n=i;if(e.index===yc){const e=sn(n.getCenter(),Gn(t)),i=Math.sqrt(e)-n.getRadius();return i*i}}const r=Gn(t);return _c[0]=Gn(e.segment[0]),_c[1]=Gn(e.segment[1]),hn(r,_c)}function Cc(t,e,n){const i=e.geometry;if("Circle"===i.getType()&&e.index===yc)return Bn(i.getClosestPoint(Gn(t)));const r=Gn(t);return _c[0]=Gn(e.segment[0]),_c[1]=Gn(e.segment[1]),Bn(nn(r,_c))}function Tc(){const t=So();return function(e,n){return t.Point}}const Ic=wc,Mc={SELECT:"select"};class Ec extends b{constructor(t,e,n,i){super(t),this.selected=e,this.deselected=n,this.mapBrowserEvent=i}}const zc={};class Pc extends Th{constructor(t){let e;if(super(),this.on,this.once,this.un,t=t||{},this.boundAddFeature_=this.addFeature_.bind(this),this.boundRemoveFeature_=this.removeFeature_.bind(this),this.condition_=t.condition?t.condition:Bh,this.addCondition_=t.addCondition?t.addCondition:Nh,this.removeCondition_=t.removeCondition?t.removeCondition:Nh,this.toggleCondition_=t.toggleCondition?t.toggleCondition:Vh,this.multi_=!!t.multi&&t.multi,this.filter_=t.filter?t.filter:L,this.hitTolerance_=t.hitTolerance?t.hitTolerance:0,this.style_=void 0!==t.style?t.style:Lc(),this.features_=t.features||new it,t.layers)if("function"==typeof t.layers)e=t.layers;else{const n=t.layers;e=function(t){return n.includes(t)}}else e=L;this.layerFilter_=e,this.featureLayerAssociation_={}}addFeatureLayerAssociation_(t,e){this.featureLayerAssociation_[Y(t)]=e}getFeatures(){return this.features_}getHitTolerance(){return this.hitTolerance_}getLayer(t){return this.featureLayerAssociation_[Y(t)]}setHitTolerance(t){this.hitTolerance_=t}setMap(t){this.getMap()&&this.style_&&this.features_.forEach(this.restorePreviousStyle_.bind(this)),super.setMap(t),t?(this.features_.addEventListener($.ADD,this.boundAddFeature_),this.features_.addEventListener($.REMOVE,this.boundRemoveFeature_),this.style_&&this.features_.forEach(this.applySelectedStyle_.bind(this))):(this.features_.removeEventListener($.ADD,this.boundAddFeature_),this.features_.removeEventListener($.REMOVE,this.boundRemoveFeature_))}addFeature_(t){const e=t.element;if(this.style_&&this.applySelectedStyle_(e),!this.getLayer(e)){const t=this.getMap().getAllLayers().find((function(t){if(t instanceof pl&&t.getSource()&&t.getSource().hasFeature(e))return t}));t&&this.addFeatureLayerAssociation_(e,t)}}removeFeature_(t){this.style_&&this.restorePreviousStyle_(t.element)}getStyle(){return this.style_}applySelectedStyle_(t){const e=Y(t);e in zc||(zc[e]=t.getStyle()),t.setStyle(this.style_)}restorePreviousStyle_(t){const e=this.getMap().getInteractions().getArray();for(let i=e.length-1;i>=0;--i){const n=e[i];if(n!==this&&n instanceof Pc&&n.getStyle()&&-1!==n.getFeatures().getArray().lastIndexOf(t))return void t.setStyle(n.getStyle())}const n=Y(t);t.setStyle(zc[n]),delete zc[n]}removeFeatureLayerAssociation_(t){delete this.featureLayerAssociation_[Y(t)]}handleEvent(t){if(!this.condition_(t))return!0;const e=this.addCondition_(t),n=this.removeCondition_(t),i=this.toggleCondition_(t),r=!e&&!n&&!i,o=t.map,a=this.getFeatures(),s=[],l=[];if(r){O(this.featureLayerAssociation_),o.forEachFeatureAtPixel(t.pixel,(t,e)=>{if(t instanceof st&&this.filter_(t,e))return this.addFeatureLayerAssociation_(t,e),l.push(t),!this.multi_},{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(let t=a.getLength()-1;t>=0;--t){const e=a.item(t),n=l.indexOf(e);n>-1?l.splice(n,1):(a.remove(e),s.push(e))}0!==l.length&&a.extend(l)}else{o.forEachFeatureAtPixel(t.pixel,(t,r)=>{if(t instanceof st&&this.filter_(t,r))return!e&&!i||a.getArray().includes(t)?(n||i)&&a.getArray().includes(t)&&(s.push(t),this.removeFeatureLayerAssociation_(t)):(this.addFeatureLayerAssociation_(t,r),l.push(t)),!this.multi_},{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(let t=s.length-1;t>=0;--t)a.remove(s[t]);a.extend(l)}return(l.length>0||s.length>0)&&this.dispatchEvent(new Ec(Mc.SELECT,l,s,t)),!0}}function Lc(){const t=So();return E(t.Polygon,t.LineString),E(t.GeometryCollection,t.LineString),function(e){return e.getGeometry()?t[e.getGeometry().getType()]:null}}const kc=Pc;function Rc(t){return t.feature?t.feature:t.element?t.element:void 0}const Dc=[];class Oc extends Ph{constructor(t){t=t||{};const e=t;e.handleDownEvent||(e.handleDownEvent=L),e.stopDown||(e.stopDown=k),super(e),this.source_=t.source?t.source:null,this.vertex_=void 0===t.vertex||t.vertex,this.edge_=void 0===t.edge||t.edge,this.features_=t.features?t.features:null,this.featuresListenerKeys_=[],this.featureChangeListenerKeys_={},this.indexedFeaturesExtents_={},this.pendingFeatures_={},this.pixelTolerance_=void 0!==t.pixelTolerance?t.pixelTolerance:10,this.rBush_=new yl,this.GEOMETRY_SEGMENTERS_={Point:this.segmentPointGeometry_.bind(this),LineString:this.segmentLineStringGeometry_.bind(this),LinearRing:this.segmentLineStringGeometry_.bind(this),Polygon:this.segmentPolygonGeometry_.bind(this),MultiPoint:this.segmentMultiPointGeometry_.bind(this),MultiLineString:this.segmentMultiLineStringGeometry_.bind(this),MultiPolygon:this.segmentMultiPolygonGeometry_.bind(this),GeometryCollection:this.segmentGeometryCollectionGeometry_.bind(this),Circle:this.segmentCircleGeometry_.bind(this)}}addFeature(t,e){e=void 0===e||e;const n=Y(t),i=t.getGeometry();if(i){const e=this.GEOMETRY_SEGMENTERS_[i.getType()];if(e){this.indexedFeaturesExtents_[n]=i.getExtent(qt());const r=[];if(e(r,i),1===r.length)this.rBush_.insert(Rt(r[0]),{feature:t,segment:r[0]});else if(r.length>1){const e=r.map(t=>Rt(t)),n=r.map(e=>({feature:t,segment:e}));this.rBush_.load(e,n)}}}e&&(this.featureChangeListenerKeys_[n]=G(t,B.CHANGE,this.handleFeatureChange_,this))}getFeatures_(){let t;return this.features_?t=this.features_:this.source_&&(t=this.source_.getFeatures()),t}handleEvent(t){const e=this.snapTo(t.pixel,t.coordinate,t.map);return e&&(t.coordinate=e.vertex.slice(0,2),t.pixel=e.vertexPixel),super.handleEvent(t)}handleFeatureAdd_(t){const e=Rc(t);this.addFeature(e)}handleFeatureRemove_(t){const e=Rc(t);this.removeFeature(e)}handleFeatureChange_(t){const e=t.target;if(this.handlingDownUpSequence){const t=Y(e);t in this.pendingFeatures_||(this.pendingFeatures_[t]=e)}else this.updateFeature_(e)}handleUpEvent(t){const e=Object.values(this.pendingFeatures_);return e.length&&(e.forEach(this.updateFeature_.bind(this)),this.pendingFeatures_={}),!1}removeFeature(t,e){const n=void 0===e||e,i=Y(t),r=this.indexedFeaturesExtents_[i];if(r){const e=this.rBush_,n=[];e.forEachInExtent(r,(function(e){t===e.feature&&n.push(e)}));for(let t=n.length-1;t>=0;--t)e.remove(n[t])}n&&(q(this.featureChangeListenerKeys_[i]),delete this.featureChangeListenerKeys_[i])}setMap(t){const e=this.getMap(),n=this.featuresListenerKeys_,i=this.getFeatures_();e&&(n.forEach(q),n.length=0,this.rBush_.clear(),Object.values(this.featureChangeListenerKeys_).forEach(q),this.featureChangeListenerKeys_={}),super.setMap(t),t&&(this.features_?n.push(G(this.features_,$.ADD,this.handleFeatureAdd_,this),G(this.features_,$.REMOVE,this.handleFeatureRemove_,this)):this.source_&&n.push(G(this.source_,bl.ADDFEATURE,this.handleFeatureAdd_,this),G(this.source_,bl.REMOVEFEATURE,this.handleFeatureRemove_,this)),i.forEach(t=>this.addFeature(t)))}snapTo(t,e,n){n.getView().getProjection();const i=Gn(e),r=Vn(Ot(Rt([i]),n.getView().getResolution()*this.pixelTolerance_)),o=this.rBush_.getInExtent(r),a=o.length;if(0===a)return null;let s,l=1/0;const h=this.pixelTolerance_*this.pixelTolerance_,u=()=>{if(s){const e=n.getPixelFromCoordinate(s);if(sn(t,e)<=h)return{vertex:s,vertexPixel:[Math.round(e[0]),Math.round(e[1])]}}return null};if(this.vertex_){for(let e=0;e{const e=Gn(t),n=sn(i,e);n{t.push([e])})}segmentMultiPolygonGeometry_(t,e){const n=e.getCoordinates();for(let i=0,r=n.length;iu*Zc||h>c*Zc?this.resetExtent_():Bt(o,i)||this.recenter_()}resetExtent_(){const t=this.getMap(),e=this.ovmap_,n=t.getSize(),i=t.getView().calculateExtentInternal(n),r=e.getView(),o=Math.log(Zc/Yc)/Math.LN2,a=1/(Math.pow(2,o/2)*Yc);pe(i,a),r.fitInternal(Ki(i))}recenter_(){const t=this.getMap(),e=this.ovmap_,n=t.getView();e.getView().setCenterInternal(n.getCenterInternal())}updateBox_(){const t=this.getMap(),e=this.ovmap_;if(!t.isRendered()||!e.isRendered())return;const n=t.getSize(),i=t.getView(),r=e.getView(),o=this.rotateWithView_?0:-i.getRotation(),a=this.boxOverlay_,s=this.boxOverlay_.getElement(),l=i.getCenterInternal(),h=i.getResolution(),u=r.getResolution(),c=n[0]*h/u,d=n[1]*h/u;if(a.setPosition(l),s){s.style.width=c+"px",s.style.height=d+"px";const t="rotate("+o+"rad)";s.style.transform=t}}updateBoxAfterOvmapIsRendered_(){this.ovmapPostrenderKey_||(this.ovmapPostrenderKey_=V(this.ovmap_,oh.POSTRENDER,(function(t){delete this.ovmapPostrenderKey_,this.updateBox_()}),this))}handleClick_(t){t.preventDefault(),this.handleToggle_()}handleToggle_(){this.element.classList.toggle(Br),this.collapsed_?Pr(this.collapseLabel_,this.label_):Pr(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_;const t=this.ovmap_;if(!this.collapsed_){if(t.isRendered())return this.viewExtent_=void 0,void t.render();t.updateSize(),this.resetExtent_(),this.updateBoxAfterOvmapIsRendered_()}}getCollapsible(){return this.collapsible_}setCollapsible(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),!t&&this.collapsed_&&this.handleToggle_())}setCollapsed(t){!this.collapsible_||this.collapsed_===t||this.handleToggle_()}getCollapsed(){return this.collapsed_}getRotateWithView(){return this.rotateWithView_}setRotateWithView(t){this.rotateWithView_!==t&&(this.rotateWithView_=t,0!==this.getMap().getView().getRotation()&&(this.rotateWithView_?this.handleRotationChanged_():this.ovmap_.getView().setRotation(0),this.viewExtent_=void 0,this.validateExtent_(),this.updateBox_()))}getOverviewMap(){return this.ovmap_}render(t){this.validateExtent_(),this.updateBox_()}}const Kc=Xc,Jc="units",Qc=[1,2,5],$c=25.4/.28;class td extends fh{constructor(t){t=t||{};const e=document.createElement("div");e.style.pointerEvents="none",super({element:e,render:t.render,target:t.target}),this.on,this.once,this.un;const n=void 0!==t.className?t.className:t.bar?"ol-scale-bar":"ol-scale-line";this.innerElement_=document.createElement("div"),this.innerElement_.className=n+"-inner",this.element.className=n+" "+jr,this.element.appendChild(this.innerElement_),this.viewState_=null,this.minWidth_=void 0!==t.minWidth?t.minWidth:64,this.maxWidth_=t.maxWidth,this.renderedVisible_=!1,this.renderedWidth_=void 0,this.renderedHTML_="",this.addChangeListener(Jc,this.handleUnitsChanged_),this.setUnits(t.units||"metric"),this.scaleBar_=t.bar||!1,this.scaleBarSteps_=t.steps||4,this.scaleBarText_=t.text||!1,this.dpi_=t.dpi||void 0}getUnits(){return this.get(Jc)}handleUnitsChanged_(){this.updateElement_()}setUnits(t){this.set(Jc,t)}setDpi(t){this.dpi_=t}updateElement_(){const t=this.viewState_;if(!t)return void(this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1));const e=t.center,n=t.projection,i=this.getUnits(),r="degrees"==i?"degrees":"m";let o=In(n,t.resolution,e,r);const a=this.minWidth_*(this.dpi_||$c)/$c,s=void 0!==this.maxWidth_?this.maxWidth_*(this.dpi_||$c)/$c:void 0;let l=a*o,h="";if("degrees"==i){const t=xe.degrees;l*=t,l=s){u=g,c=f,d=p;break}if(c>=a)break;g=u,f=c,p=d,++m}const y=this.scaleBar_?this.createScaleBar(c,u,h):u.toFixed(d<0?-d:0)+" "+h;this.renderedHTML_!=y&&(this.innerElement_.innerHTML=y,this.renderedHTML_=y),this.renderedWidth_!=c&&(this.innerElement_.style.width=c+"px",this.renderedWidth_=c),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)}createScaleBar(t,e,n){const i=this.getScaleForResolution(),r=i<1?Math.round(1/i).toLocaleString()+" : 1":"1 : "+Math.round(i).toLocaleString(),o=this.scaleBarSteps_,a=t/o,s=[this.createMarker("absolute")];for(let l=0;l
`+this.createMarker("relative")+(l%2===0||2===o?this.createStepText(l,t,!1,e,n):"")+"")}return s.push(this.createStepText(o,t,!0,e,n)),(this.scaleBarText_?`
`+r+"
":"")+s.join("")}createMarker(t){return`
`}createStepText(t,e,n,i,r){const o=(0===t?0:Math.round(i/this.scaleBarSteps_*t*100)/100)+(0===t?"":" "+r),a=0===t?-3:e/this.scaleBarSteps_*-1,s=0===t?0:e/this.scaleBarSteps_*2;return`
`+o+"
"}getScaleForResolution(){const t=In(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center,"m"),e=this.dpi_||$c,n=1e3/25.4;return t*n*e}render(t){const e=t.frameState;this.viewState_=e?e.viewState:null,this.updateElement_()}}const ed=td,nd={VERTICAL:0,HORIZONTAL:1};class id extends fh{constructor(t){t=t||{},super({element:document.createElement("div"),render:t.render}),this.dragListenerKeys_=[],this.currentResolution_=void 0,this.direction_=nd.VERTICAL,this.dragging_,this.heightLimit_=0,this.widthLimit_=0,this.startX_,this.startY_,this.thumbSize_=null,this.sliderInitialized_=!1,this.duration_=void 0!==t.duration?t.duration:200;const e=void 0!==t.className?t.className:"ol-zoomslider",n=document.createElement("button");n.setAttribute("type","button"),n.className=e+"-thumb "+jr;const i=this.element;i.className=e+" "+jr+" "+Nr,i.appendChild(n),i.addEventListener(nh.POINTERDOWN,this.handleDraggerStart_.bind(this),!1),i.addEventListener(nh.POINTERMOVE,this.handleDraggerDrag_.bind(this),!1),i.addEventListener(nh.POINTERUP,this.handleDraggerEnd_.bind(this),!1),i.addEventListener(B.CLICK,this.handleContainerClick_.bind(this),!1),n.addEventListener(B.CLICK,x,!1)}setMap(t){super.setMap(t),t&&t.render()}initSlider_(){const t=this.element;let e=t.offsetWidth,n=t.offsetHeight;if(0===e&&0===n)return this.sliderInitialized_=!1;const i=getComputedStyle(t);e-=parseFloat(i.paddingRight)+parseFloat(i.paddingLeft),n-=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom);const r=t.firstElementChild,o=getComputedStyle(r),a=r.offsetWidth+parseFloat(o.marginRight)+parseFloat(o.marginLeft),s=r.offsetHeight+parseFloat(o.marginTop)+parseFloat(o.marginBottom);return this.thumbSize_=[a,s],e>n?(this.direction_=nd.HORIZONTAL,this.widthLimit_=e-a):(this.direction_=nd.VERTICAL,this.heightLimit_=n-s),this.sliderInitialized_=!0}handleContainerClick_(t){const e=this.getMap().getView(),n=this.getRelativePosition_(t.offsetX-this.thumbSize_[0]/2,t.offsetY-this.thumbSize_[1]/2),i=this.getResolutionForPosition_(n),r=e.getConstrainedZoom(e.getZoomForResolution(i));e.animateInternal({zoom:r,duration:this.duration_,easing:Yo})}handleDraggerStart_(t){if(!this.dragging_&&t.target===this.element.firstElementChild){const e=this.element.firstElementChild;if(this.getMap().getView().beginInteraction(),this.startX_=t.clientX-parseFloat(e.style.left),this.startY_=t.clientY-parseFloat(e.style.top),this.dragging_=!0,0===this.dragListenerKeys_.length){const t=this.handleDraggerDrag_,e=this.handleDraggerEnd_,n=this.getMap().getOwnerDocument();this.dragListenerKeys_.push(G(n,nh.POINTERMOVE,t,this),G(n,nh.POINTERUP,e,this))}}}handleDraggerDrag_(t){if(this.dragging_){const e=t.clientX-this.startX_,n=t.clientY-this.startY_,i=this.getRelativePosition_(e,n);this.currentResolution_=this.getResolutionForPosition_(i),this.getMap().getView().setResolution(this.currentResolution_)}}handleDraggerEnd_(t){this.dragging_&&(this.getMap().getView().endInteraction(),this.dragging_=!1,this.startX_=void 0,this.startY_=void 0,this.dragListenerKeys_.forEach(q),this.dragListenerKeys_.length=0)}setThumbPosition_(t){const e=this.getPositionForResolution_(t),n=this.element.firstElementChild;this.direction_==nd.HORIZONTAL?n.style.left=this.widthLimit_*e+"px":n.style.top=this.heightLimit_*e+"px"}getRelativePosition_(t,e){let n;return n=this.direction_===nd.HORIZONTAL?t/this.widthLimit_:e/this.heightLimit_,qe(n,0,1)}getResolutionForPosition_(t){return this.getMap().getView().getResolutionForValueFunction()(1-t)}getPositionForResolution_(t){const e=this.getMap().getView().getValueForResolutionFunction();return qe(1-e(t),0,1)}render(t){if(!t.frameState||!this.sliderInitialized_&&!this.initSlider_())return;const e=t.frameState.viewState.resolution;this.currentResolution_=e,this.setThumbPosition_(e)}}const rd=id;var od=["zh","ch","sh","z","c","s","b","p","m","f","d","t","n","l","g","k","h","j","q","x","r","y","w",""],ad={"南宫":"nán gōng","第五":"dì wǔ","万俟":"mò qí","司马":"sī mǎ","上官":"shàng guān","欧阳":"ōu yáng","夏侯":"xià hóu","诸葛":"zhū gě","闻人":"wén rén","东方":"dōng fāng","赫连":"hè lián","皇甫":"huáng pǔ","尉迟":"yù chí","公羊":"gōng yáng","澹台":"tán tái","公冶":"gōng yě","宗政":"zōng zhèng","濮阳":"pú yáng","淳于":"chún yú","单于":"chán yú","太叔":"tài shū","申屠":"shēn tú","公孙":"gōng sūn","仲孙":"zhòng sūn","轩辕":"xuān yuán","令狐":"líng hú","钟离":"zhōng lí","宇文":"yǔ wén","长孙":"zhǎng sūn","慕容":"mù róng","鲜于":"xiān yú","闾丘":"lǘ qiū","司徒":"sī tú","司空":"sī kōng","亓官":"qí guān","司寇":"sī kòu","仉督":"zhǎng dū","子车":"zǐ jū","颛孙":"zhuān sūn","端木":"duān mù","巫马":"wū mǎ","公西":"gōng xī","漆雕":"qī diāo","乐正":"yuè zhèng","壤驷":"rǎng sì","公良":"gōng liáng","拓跋":"tuò bá","夹谷":"jiá gǔ","宰父":"zǎi fǔ","榖梁":"gǔ liáng","段干":"duàn gān","百里":"bǎi lǐ","东郭":"dōng guō","南门":"nán mén","呼延":"hū yán","羊舌":"yáng shé","梁丘":"liáng qiū","左丘":"zuǒ qiū","东门":"dōng mén","西门":"xī mén","赵":"zhào","钱":"qián","孙":"sūn","李":"lǐ","周":"zhōu","吴":"wú","郑":"zhèng","王":"wáng","冯":"féng","陈":"chén","褚":"chǔ","卫":"wèi","蒋":"jiǎng","沈":"shěn","韩":"hán","杨":"yáng","朱":"zhū","秦":"qín","尤":"yóu","许":"xǔ","何":"hé","吕":"lǚ","施":"shī","张":"zhāng","孔":"kǒng","曹":"cáo","严":"yán","华":"huà","金":"jīn","魏":"wèi","陶":"táo","姜":"jiāng","戚":"qī","谢":"xiè","邹":"zōu","喻":"yù","柏":"bǎi","水":"shuǐ","窦":"dòu","章":"zhāng","云":"yún","苏":"sū","潘":"pān","葛":"gě","奚":"xī","范":"fàn","彭":"péng","郎":"láng","鲁":"lǔ","韦":"wéi","昌":"chāng","马":"mǎ","苗":"miáo","凤":"fèng","花":"huā","方":"fāng","俞":"yú","任":"rèn","袁":"yuán","柳":"liǔ","酆":"fēng","鲍":"bào","史":"shǐ","唐":"táng","费":"fèi","廉":"lián","岑":"cén","薛":"xuē","雷":"léi","贺":"hè","倪":"ní","汤":"tāng","滕":"téng","殷":"yīn","罗":"luó","毕":"bì","郝":"hǎo","邬":"wū","安":"ān","常":"cháng","乐":"yuè","于":"yú","时":"shí","傅":"fù","皮":"pí","卞":"biàn","齐":"qí","康":"kāng","伍":"wǔ","余":"yú","元":"yuán","卜":"bǔ","顾":"gù","孟":"mèng","平":"píng","黄":"huáng","和":"hé","穆":"mù","萧":"xiāo","尹":"yǐn","姚":"yáo","邵":"shào","湛":"zhàn","汪":"wāng","祁":"qí","毛":"máo","禹":"yǔ","狄":"dí","米":"mǐ","贝":"bèi","明":"míng","臧":"zāng","计":"jì","伏":"fú","成":"chéng","戴":"dài","谈":"tán","宋":"sòng","茅":"máo","庞":"páng","熊":"xióng","纪":"jì","舒":"shū","屈":"qū","项":"xiàng","祝":"zhù","董":"dǒng","梁":"liáng","杜":"dù","阮":"ruǎn","蓝":"lán","闵":"mǐn","席":"xí","季":"jì","麻":"má","强":"qiáng","贾":"jiǎ","路":"lù","娄":"lóu","危":"wēi","江":"jiāng","童":"tóng","颜":"yán","郭":"guō","梅":"méi","盛":"shèng","林":"lín","刁":"diāo","钟":"zhōng","徐":"xú","邱":"qiū","骆":"luò","高":"gāo","夏":"xià","蔡":"cài","田":"tián","樊":"fán","胡":"hú","凌":"líng","霍":"huò","虞":"yú","万":"wàn","支":"zhī","柯":"kē","昝":"zǎn","管":"guǎn","卢":"lú","莫":"mò","经":"jīng","房":"fáng","裘":"qiú","缪":"miào","干":"gān","解":"xiè","应":"yīng","宗":"zōng","丁":"dīng","宣":"xuān","贲":"bēn","邓":"dèng","郁":"yù","单":"shàn","杭":"háng","洪":"hóng","包":"bāo","诸":"zhū","左":"zuǒ","石":"shí","崔":"cuī","吉":"jí","钮":"niǔ","龚":"gōng","程":"chéng","嵇":"jī","邢":"xíng","滑":"huá","裴":"péi","陆":"lù","荣":"róng","翁":"wēng","荀":"xún","羊":"yáng","於":"yū","惠":"huì","甄":"zhēn","曲":"qū","家":"jiā","封":"fēng","芮":"ruì","羿":"yì","储":"chǔ","靳":"jìn","汲":"jí","邴":"bǐng","糜":"mí","松":"sōng","井":"jǐng","段":"duàn","富":"fù","巫":"wū","乌":"wū","焦":"jiāo","巴":"bā","弓":"gōng","牧":"mù","隗":"kuí","山":"shān","谷":"gǔ","车":"chē","侯":"hóu","宓":"mì","蓬":"péng","全":"quán","郗":"xī","班":"bān","仰":"yǎng","秋":"qiū","仲":"zhòng","伊":"yī","宫":"gōng","宁":"nìng","仇":"qiú","栾":"luán","暴":"bào","甘":"gān","钭":"tǒu","厉":"lì","戎":"róng","祖":"zǔ","武":"wǔ","符":"fú","刘":"liú","景":"jǐng","詹":"zhān","束":"shù","龙":"lóng","叶":"yè","幸":"xìng","司":"sī","韶":"sháo","郜":"gào","黎":"lí","蓟":"jì","薄":"bó","印":"yìn","宿":"sù","白":"bái","怀":"huái","蒲":"pú","邰":"tái","从":"cóng","鄂":"è","索":"suǒ","咸":"xián","籍":"jí","赖":"lài","卓":"zhuó","蔺":"lìn","屠":"tú","蒙":"méng","池":"chí","乔":"qiáo","阴":"yīn","鬱":"yù","胥":"xū","能":"nài","苍":"cāng","双":"shuāng","闻":"wén","莘":"shēn","党":"dǎng","翟":"zhái","谭":"tán","贡":"gòng","劳":"láo","逄":"páng","姬":"jī","申":"shēn","扶":"fú","堵":"dǔ","冉":"rǎn","宰":"zǎi","郦":"lì","雍":"yōng","郤":"xì","璩":"qú","桑":"sāng","桂":"guì","濮":"pú","牛":"niú","寿":"shòu","通":"tōng","边":"biān","扈":"hù","燕":"yān","冀":"jì","郏":"jiá","浦":"pǔ","尚":"shàng","农":"nóng","温":"wēn","别":"bié","庄":"zhuāng","晏":"yàn","柴":"chái","瞿":"qú","阎":"yán","充":"chōng","慕":"mù","连":"lián","茹":"rú","习":"xí","宦":"huàn","艾":"ài","鱼":"yú","容":"róng","向":"xiàng","古":"gǔ","易":"yì","慎":"shèn","戈":"gē","廖":"liào","庾":"yǔ","终":"zhōng","暨":"jì","居":"jū","衡":"héng","步":"bù","都":"dū","耿":"gěng","满":"mǎn","弘":"hóng","匡":"kuāng","国":"guó","文":"wén","寇":"kòu","广":"guǎng","禄":"lù","阙":"quē","东":"dōng","欧":"ōu","殳":"shū","沃":"wò","利":"lì","蔚":"wèi","越":"yuè","夔":"kuí","隆":"lóng","师":"shī","巩":"gǒng","厍":"shè","聂":"niè","晁":"cháo","勾":"gōu","敖":"áo","融":"róng","冷":"lěng","訾":"zǐ","辛":"xīn","阚":"kàn","那":"nā","简":"jiǎn","饶":"ráo","空":"kōng","曾":"zēng","母":"mǔ","沙":"shā","乜":"niè","养":"yǎng","鞠":"jū","须":"xū","丰":"fēng","巢":"cháo","关":"guān","蒯":"kuǎi","相":"xiàng","查":"zhā","后":"hòu","荆":"jīng","红":"hóng","游":"yóu","竺":"zhú","权":"quán","逯":"lù","盖":"gài","益":"yì","桓":"huán","公":"gōng","牟":"móu","哈":"hǎ","言":"yán","福":"fú"},sd={"líng":[12295,20278,20940,21026,22265,22397,22796,22984,23112,23361,23738,24446,25493,26148,26382,26563,26818,27386,27422,27872,28137,28586,28789,29167,29223,29393,29618,29708,29940,30346,30769,31102,31202,31451,31533,32055,32190,32491,32656,32666,32718,32838,33330,33491,33777,34020,34054,34166,34505,34897,35052,35397,36297,36584,36632,37187,37309,37428,37634,38083,38301,38517,38646,38666,38679,38683,38685,38728,39382,39807,39914,40110,40210,40496,40567,40610,40801,40802,40836,40855],"yī":[19968,20042,20234,20381,21307,21530,21695,22123,22769,22777,22785,23259,23300,24332,25558,25742,27321,27593,27938,28175,28458,29823,30057,31054,31125,31270,32324,34524,34916,35689,36791,37116,37291,37541,38129,40406,40549,40671,40691],"dīng zhēng":[19969],"kǎo qiǎo yú":[19970],"qī":[19971,20507,20699,20932,22017,22660,23096,24765,24956,24957,25114,25471,26578,26724,26748,26866,27071,27450,27791,28114,28422,32042,32192,33803,35076,35526,36809,37098,37850,38667,39756,40328],"shàng":[19972,23577,23578,24678,32212,32497],"xià":[19973,19979,20068,22327,22799,22803,25047,26810,30108,30577,32581,37820,37868],"hǎn":[19974,21898,28011,32597,35907],"wàn mò":[19975],"zhàng":[19976,20183,22663,23938,24080,24115,24155,25177,26454,28081,30190,30252,30260,30613,31872,32960,33081,36076,36134,38556],"sān":[19977,21377,21441,24334,27637,27638,27647,29337,39702],"shàng shǎng shang":[19978],"qí jī":[19980,20854,22855],"bù fǒu":[19981],"yǔ yù yú":[19982],"miǎn":[19983,20589,20813,20885,21193,21204,21909,23081,24848,27717,27796,28238,30540,32236,32517,33148,33858,38758,39864],"gài":[19984,20066,21251,21252,25124,27010,27113,27114,28297,28433,29890,33890,37411,38041],"chǒu":[19985,19986,20404,21532,26493,30597,30657,37276,39767],"zhuān":[19987,21440,23269,23554,23560,29820,29966,30742,30935,30938,34788,35567,37151,38995,39067,40004],"qiě jū":[19988],"pī":[19989,20243,20286,22140,22383,23727,25013,25209,25259,28811,29385,29395,30738,30919,30996,30997,31195,31200,32794,35966,37043,37402,37471,37524,37635,37645,38713,39379,39660,39806],"shì":[19990,19991,20106,20107,20181,20365,20895,21183,21218,21323,21609,21980,22124,22763,22893,23317,23460,24066,24335,24337,24338,24640,24643,25146,25325,25555,26159,26160,26558,26623,26683,28584,28882,29046,30466,30478,30497,30551,31034,31035,31598,31789,33296,33299,35179,35222,35270,35298,35430,35475,35553,35610,35797,35877,36016,36147,36606,36732,36893,36990,37320,37322,37323,37424,37443,37501,38088,39166,39193,39197,39280,39960],"qiū":[19992,2e4,22389,23197,24664,24695,27e3,31179,31180,31312,31693,32231,33833,34322,34479,34677,34775,34852,36261,37041,38822,38823,39948,39949,40133,40342,40537,40861],"bǐng":[19993,23643,24626,25254,26142,26170,26564,26821,28851,31104,31177,31263,33514,34499,37044,37429,38467,38790,39173,39200,39292],"yè":[19994,20145,20727,22711,22812,23978,23979,25268,25433,25819,25834,25835,26196,26308,26309,26327,26355,26357,26556,26557,26989,27906,28082,28594,28904,29121,29207,29837,30371,30641,30648,30991,33099,33865,35585,35858,37050,37172,37745,37943,38757,38760,38913,39029,39203,39233,39308,39516,40314,40456],"cóng":[19995,20174,21474,23107,23406,24467,24468,24470,24752,27191,27401,28121,28743,29212,29742,34242,35508,36072,36073,37661],"dōng":[19996,20530,20908,21658,22508,23741,23852,24474,26168,26481,27681,27693,28087,31511,33523,33732,34624,39831,39903,40327,40363,40491,40725],"sī":[19997,20460,20952,21422,21496,21661,22070,22109,23204,24285,24662,25749,26031,26962,27840,28556,29133,31127,31136,31169,31993,32114,32230,32415,32524,32627,34156,34386,34547,34596,34692,34774,34804,37488,37551,37750,37889,38198,39096,39124,39462,40421,40502,40758],"chéng":[19998,21576,22478,22485,22552,22605,22614,23468,23800,24809,25074,25104,25215,25392,25473,25576,26536,26838,27225,27289,27910,28311,28546,29685,29689,30075,31243,31386,31596,32126,33069,33663,35488,35802,37077,37234,37614,38102,39468,39886],"diū":[19999,20002,37545,38117],"liǎng":[20001,20004,20841,21858,25498,32201,33084,34621,35058,39753,39758],"yǒu":[20003,21347,21451,26756,28277,29270,31113,32657,32840,33475,33696,34575,37193,37546,38101,40669],"yán":[20005,21427,21873,21926,22196,22633,22747,22759,22925,23032,23083,23086,23721,23890,23891,24012,24022,24023,24310,25541,26134,26956,27280,27369,27413,27839,28814,28815,29439,29698,30416,30878,31605,31799,33690,34053,34404,34578,35328,35329,35374,35453,35744,37076,38278,38331,38379,38414,38991,38996,39068,40573,40611],"bìng":[20006,20341,20482,20641,22442,25682,26660,30149,31369,31453,35457,38736,39849],"sàng sāng":[20007],"gǔn":[20008,24771,28378,28414,30937,32196,32498,34008,34057,34926,34974,36645,36746,39820,39872,40103],"jiū":[20009,21244,21886,25578,25579,26427,31350,31998,32416,33819,36211,38404,39695,39726,40169,40480],"gè gě":[20010,20491,21508],"yā":[20011,22311,23410,24216,25276,26514,26720,26895,37647,37914,40201,40232,40310,40486,40493],"pán":[20012,23227,24139,27075,27904,28682,29247,30424,30436,30928,32271,33968,34784,36434,36451,37788,38838],"zhōng zhòng":[20013],"jǐ":[20014,22912,24049,25119,25380,25486,25760,25824,27254,27890,29361,33034,34414,34787,39778,40062,40578],"jiè":[20015,20171,20511,21814,22586,23622,23626,23701,24206,24483,25106,26960,29335,29600,29758,30028,30029,30117,30734,34471,34550,34936,35119,35489,35819,37765,39601,39786],"fēng":[20016,20217,20561,20732,20968,20972,20974,22950,23543,23553,23791,23792,23862,26539,26963,27282,27811,27816,28194,28739,28925,29326,29478,29714,30127,30219,30461,30748,30904,31688,34356,34562,34861,35920,37175,37190,37586,37821,37856,38155,38715,38730,39116,40631],"guàn kuàng":[20017],"chuàn":[20018,27724,29588,36055,37351,38031],"chǎn":[20019,20135,20865,21111,22213,23932,26101,27984,28411,28763,29986,29987,31749,33927,34118,35522,35650,35719,35844,37855,38130,38323,38369,38416,39587],"lín":[20020,20903,22755,23818,23961,26036,26237,26301,26519,28542,28726,29136,29747,29848,30645,30852,30967,31910,31932,32343,32759,33256,36692,36762,36980,37051,37168,37883,38462,38563,38678,39502,40023,40158,40592,40607],"zhuó":[20021,21125,21331,21828,22324,22960,23098,25775,25798,25826,26027,26030,26033,26034,26037,26219,26899,27978,27998,28609,28796,28917,29752,30842,31130,31393,31831,31857,32620,33537,34839,34879,35521,35537,35638,35836,37196,37938,38255,40299,40415],"zhǔ":[20022,20027,21167,22065,22225,23444,24126,25284,28186,28624,29009,29038,29149,30633,30682,32604,35421,38524,40448,40584],"bā":[20023,20168,20843,21485,21749,22847,23708,24052,25420,26419,29584,30116,31494,31889,32659,33453,34438,35933,37343],"wán":[20024,21011,23436,23695,25231,25430,27725,28919,29609,29715,31490,32008,32424,32747,33412,36006,38929,39037],"dān":[20025,21231,21296,21336,22921,23173,27546,27563,29972,30472,30723,31658,31774,32828,32829,32835,32888,35101,35148,36525,37112,37170,37206,38933],"wèi wéi":[20026],"jǐng dǎn":[20028],"lì lí":[20029],"jǔ":[20030,24326,25369,25831,26887,27017,27032,27384,27397,30697,31589,32869,33289,33682,33951,35191,36413,40799,40835],"piě":[20031,33508,37893],"fú":[20032,20239,20440,20971,21020,21264,21640,21753,22424,23386,23722,24063,24087,24133,24158,24343,24447,24619,25206,26603,26687,26740,27679,27885,28014,28074,28563,28837,29624,30006,30025,30273,31059,31119,31274,31526,31641,32049,32060,32101,32141,32450,32459,32600,32614,32711,33344,33433,33443,33531,33536,33583,33748,33869,34393,34472,34569,34656,34970,34993,35142,35173,35560,35943,36414,36667,36752,37083,37464,37468,38861,38888,39083,39668,39812,39858,40167,40172,40212,40297,40699],"yí jí":[20033],"yì":[20034,20041,20100,20134,20159,20231,20287,20350,20427,20740,20863,21e3,21139,21166,21210,21225,21255,21587,21613,21625,21768,22216,22299,22340,22460,22520,22869,23253,23313,23537,23673,23748,23975,24095,24096,24134,24281,24322,24328,24331,24441,24518,24584,24639,24722,24847,25014,25036,25087,25233,25401,25953,26131,26233,26304,26318,26457,26509,26861,27023,27128,27277,27485,27540,27562,27577,27589,27970,28005,28019,28249,28322,28521,28602,28727,28808,28978,29088,29092,29116,29146,29153,29169,29512,29620,30064,30123,30188,30231,30238,30257,30292,30410,30614,31315,31465,31698,32266,32374,32377,32462,32546,32681,32703,32714,32716,32755,32764,32820,32900,32906,33161,33222,33367,33402,33413,33477,33823,34042,34191,34265,34269,34329,34377,34612,34720,34922,34979,35028,35035,35129,35196,35378,35379,35405,35427,35516,35695,35696,35739,35758,35793,35811,35850,35929,35931,35959,35990,36096,36295,36726,36920,37009,37139,37303,37364,37408,37808,37951,38226,38257,38435,38591,38700,39248,39365,39515,39551,39598,39848,40322,40323,40333,40385,40394,40423,40446,40451,40541,40546,40659,40824],"nǎi":[20035,20535,22902,23341,24316,27670,30099,33407,36858,37346],"wǔ":[20036,20116,20213,20237,20398,20533,20763,21320,21838,22953,23084,23285,24209,24289,24548,24579,25006,25664,27494,28501,29075,29310,29597,29687,29798,29970,30868,33310,36492,36821,36892,38490,40289,40521],"jiǔ":[20037,20038,20061,20067,22906,26470,27747,28792,29590,32036,33295,37202,38265,38893,38894],"tuō zhé":[20039,26452,39346],"me mó ma yāo":[20040],"zhī":[20043,20481,21358,24053,25624,25903,26624,26772,26917,27056,27713,27868,30135,31063,31084,31187,31257,32149,32930,32977,32989,33026,33437,34357,34584,34940,38587,40183,40242,40709],"wū wù":[20044],"zhà":[20045,21668,23473,25662,27048,28320,30148,34481,35408,35784,37281,38661],"hū":[20046,20079,21282,21291,21628,21823,22033,22400,23523,24160,24573,24794,26130,27473,27864,28148,28409,28864,33528,34381,34390,35644,36580,36727,38608],"fá":[20047,20240,20640,22394,22433,22690,22978,26672,27980,30594,31529,31567,32602,32624,32632,34245,38309,38400],"lè yuè yào lào":[20048,27138],"yín":[20049,21535,22102,22170,22273,22432,22820,23148,23493,23806,23839,23855,27309,27557,27903,28139,28379,28878,29374,29434,29836,30797,30866,33654,34089,35348,35354,35361,35518,37150,37405,37504,38134,38698,40419,40806],"pīng":[20050,20444,23049,28036,30009,30767,32864,33397,38953],"pāng":[20051,28354,33006,33174,38641,38710],"qiáo":[20052,20392,20689,23286,24980,26725,27095,27189,27211,27381,29342,30631,30810,30980,33613,33630,34126,34286,35673,36267,37896,38802,38845,39014],"hǔ":[20053,29733,33792,34382,34397,37695,39921],"guāi":[20054],"chéng shèng":[20055,20056,23053],"yǐ":[20057,20059,20197,20506,20591,23327,23866,24050,24225,25158,25914,25980,26065,26070,27301,30691,30994,31510,33315,33380,33505,33506,34433,34712,34811,35071,36390,36642,36697,36888,37199,37332,37400,37487,38023,38999,40166,40814],"háo yǐ":[20058],"niè miē":[20060],"qǐ":[20062,20225,21551,21784,21843,21844,21855,23117,23674,26462,26856,29592,30400,32186,32494,33425,35564,36215,37012,38361],"yě":[20063,20918,22050,22492,22724,28444,37326],"xí":[20064,21946,23219,23949,24109,26938,27268,28445,32722,33990,34989,35186,35233,35275,35637,36248,37067,37812,38576,38699,39105,39473,39485,39528,39996,40155],"xiāng":[20065,21410,24258,24512,27007,27392,28248,29910,31269,31665,32215,32515,33207,33431,33835,33881,34188,35140,37111,37129,37130,37141,38002,38262,39321,39524,39591,40028,40600],"shū":[20070,20495,20496,20789,21460,23005,23575,25234,25491,25669,25860,26360,26530,26803,27166,27530,27571,27641,27642,28113,28717,28930,30094,30095,32019,32128,32446,33298,33789,34092,36360,36567,36664,36755,37123,38478,39835,40296],"dǒu":[20071,25238,26515,34474,37380,38439,38497],"shǐ":[20072,20351,20824,21490,22987,23465,23630,27009,30690,31542,35925,37442,39387,39542],"jī":[20073,20703,20987,21001,21007,21086,21501,21799,21918,21976,22064,22334,22522,22716,23020,23632,23878,23879,25731,25802,26398,26426,26501,27181,27231,27588,28608,29316,29585,29859,30072,30079,30314,30710,30959,31215,31309,31492,31571,31637,31754,32193,32641,32647,32648,32813,32908,33448,34368,35209,35210,35663,35684,35749,36075,36087,36173,36347,36369,36491,36536,37512,37668,37910,37959,37977,38574,38622,38847,38898,39138,39249,39269,39765,40174,40335,40378,40388,40452,40481,40782,40783,40785],"náng":[20074,22178,27420,34864,39266],"jiā":[20075,20339,20642,21152,22025,25272,26551,26780,27616,27847,27971,28025,29324,29491,29640,30146,31539,31960,32798,33141,33901,34952,35949,35985,36303,36838,37483,37813,38227,40208,40602],"jù":[20076,20520,20534,20855,21095,21127,21230,22503,22526,22729,22998,23654,23656,23712,24040,24042,24583,24807,24883,25029,25084,25298,25312,26139,27499,27952,28605,28844,28901,29323,31212,31405,31414,31796,31892,32799,32858,34401,34487,35406,35765,35942,36317,36382,36486,36989,37037,37301,37445,37947,38044,39094,39123,39375,39828],"shí":[20077,21313,22488,22610,23036,23454,23455,23508,23526,23765,23925,26102,26105,26178,27055,28252,28321,28859,31055,31437,34432,34645,36795,36936,37456,39136,39267,39830,39971,40101,40747,40749],"mǎo":[20078,20871,21359,23745,25148,26164,27862,31543,34025,37466,38086],"mǎi":[20080,22058,33644,34130,36023,40438],"luàn":[20081,20098,37344],"rǔ":[20083,25833,27741,32919,36785,37135],"xué":[20084,23398,23416,23747,23976,25992,27894,28585,29154,31348,33555,34965,36357,40445,40500],"yǎn":[20085,20456,20547,20796,20822,20823,21411,21428,22110,23373,23875,24024,24026,24327,24861,25133,25162,25217,25513,25564,26350,26940,27327,27783,28215,28436,29744,29975,30524,32616,33810,34648,34893,35095,36541,36931,37118,38546,39017,39751,39768,39947,40352,40673,40676,40684,40685,40694,40756,40761,40820,40849],"fǔ":[20086,20428,20443,20463,24220,24355,25242,25290,25771,26023,26920,28367,28964,29995,30425,31776,33104,33105,34565,36628,36741,37081,37340,37345,38429,38955,39732,40700],"shā":[20087,21798,26432,26732,27578,27630,29440,30183,30722,30832,32023,32378,32433,34097,35039,37801,38121,38327,39679,39782,39882,39883,40104],"nǎ":[20088,38635],"qián":[20089,20097,20209,20546,21069,22680,23178,23698,25297,25518,27049,27244,27500,28507,28508,28659,28746,31645,33893,34388,36577,37392,37463,37549,37666,37766,38052,38065,38067,38764,39450,39453,39980,40660,40666],"suǒ":[20090,21794,21993,25152,26267,28305,28345,29712,29713,29795,32034,35112,37782,37819,37825,38145],"yú":[20091,20110,20112,20227,20313,22563,22572,22948,23067,23087,23089,23337,23859,23886,23899,24858,25205,25540,26079,26977,26992,27014,27428,27464,27487,27510,28180,28189,28257,28417,28574,29263,29427,29591,29593,29788,29877,30402,30574,31404,31485,31813,32685,33140,33278,33281,33286,33349,33584,33838,33848,34125,34331,34398,34422,34643,34744,34919,35093,35238,35278,35547,35619,35840,36400,36671,36701,36926,37016,37201,37725,38533,38611,38633,39192,39296,39455,39596,39619,39770,39779,39869,39922,39941,40060,40416,40454,40821],"zhù":[20092,20267,20295,20303,22398,22712,22772,23872,25280,26492,26609,27174,27574,27880,28855,30128,30493,31069,31081,31450,31599,31672,31723,31767,32053,32056,32443,32668,32741,33486,33671,34496,35387,36015,36142,36307,36596,37458,37619,37956,38136,39349,39376,39547],"zhě":[20093,32773,35126,35189,36205,36407,37754,38167],"qián gān":[20094],"zhì luàn":[20095],"guī":[20096,22317,22955,23215,23266,23296,24112,24402,25707,26909,27131,27132,27383,27512,29674,29808,29853,29900,30344,30625,30789,33573,34348,35215,35268,37053,37068,38312,38394,39465,39734,39737],"lǐn lìn":[20099],"jué":[20101,20915,21012,21122,21303,21413,22090,23378,23379,23835,23851,23973,24399,24992,25008,25092,25225,25367,25496,25899,26743,27227,27228,27438,27666,27770,28749,28979,29094,29201,29236,29237,29527,29571,29606,29608,29647,29812,30234,30669,30689,30724,32085,32118,32477,33220,33461,34141,34152,34419,34792,34793,35286,35310,35324,35363,35662,35776,35890,35996,36221,36233,36471,36521,37388,37901,37917,38017,38242,40194,40195,40418],"le liǎo":[20102],"gè mā":[20103],"yǔ yú":[20104,25049],"zhēng":[20105,20290,20967,22979,23196,23781,23837,23842,24449,24496,28833,28893,29229,29424,29465,30309,30480,30529,30556,31581,31631,31708,32839,33024,33976,36397,37478,37658,37875,39687],"èr":[20108,21045,21665,24333,24336,27186,35456,36014,36019,36144,39670],"chù":[20109,20631,20746,24629,25015,25616,26038,27484,29695,29729,30679,31436,32064,32460,33221,35302,35320,35926,37136,38310,40668],"kuī":[20111,21042,23743,24011,30420,31397,31418,32871,34407,38362,39005],"yún":[20113,20253,21243,21248,22249,22936,24874,25251,26112,27218,27780,28066,28339,28560,29065,30023,31184,31612,31700,32028,32284,32429,32792,33464,33975,34131,37095,37142,37574,38642],"hù":[20114,20913,21952,22171,23135,23277,23278,23733,24077,24342,24601,25142,25143,25144,25149,25160,25252,26120,27124,27789,27818,28396,29097,29920,31068,31503,31748,31888,32148,34096,35703,35952,37152,37721,38912,40047,40160,40184,40460,40561],"qí":[20115,21080,22524,23696,23699,23822,23900,24877,25489,25993,25994,26050,26071,26826,26827,27313,27328,27495,28103,28637,29449,29570,29734,29738,29826,30054,30119,30849,30869,31041,31048,31098,31141,31442,31791,31793,31823,31928,32165,32166,32949,33040,33229,33385,33450,33793,33813,34162,34244,34308,34449,34458,34548,34589,34590,34727,34832,35072,36573,37183,37358,37665,38172,38509,38926,39040,39438,39439,39481,39568,39569,39696,39743,39893,39981,40111,40141,40312,40320,40594,40609],"jǐng":[20117,20742,21037,21060,22355,23441,24156,25004,26299,27532,27755,27756,28555,29828,29855,29861,31357,32956,34812,35686,38449,38938,38968],"sì":[20118,20288,20385,20777,20821,21987,22235,22994,23088,23392,23546,24051,26614,27065,27740,27863,27876,27917,27936,28056,28675,29293,31040,31145,31458,31525,32796,32898,32902,34172,35223,35972,37362,37430,37435,39140,39164,39282,39391,39427,39543],"suì":[20119,23320,23681,23895,26078,27286,27506,27507,28603,29035,29159,29874,30741,30862,31071,31149,31298,31319,31327,32320,32336,32376,35162,35510,35682,35847,36069,36995,37894,37929,38567,38882],"gèn":[20120,20121,25583,25604,33563],"yà":[20122,20124,20473,20916,21148,22292,22304,22497,23045,23149,25568,27689,27692,29373,30737,31247,32848,35198,35200,35357,35766,36711,36819,40830],"xiē suò":[20123],"qí zhāi":[20125,40778],"yā yà":[20126,21387,22445,22739,38100],"jí qì":[20127,28943],"tóu":[20128,25237,38957,39600],"wáng wú":[20129],"kàng háng gāng":[20130],"dà":[20131,30484],"jiāo":[20132,20716,23047,23308,23783,23957,23971,24973,26898,27975,28550,28966,30977,31322,31781,33014,33184,33202,33581,33582,34121,34400,34527,34797,36324,36679,37066,37902,39509,39556,39851,40091,40257,40422,40430,40554],"hài":[20133,21968,23475,27686,39168,39258,39405,39412,39559],"hēng pēng":[20136],"mǔ":[20137,22982,23764,25287,27597,29281,29299,30018,30022,30034,30045,30046,30062,30762,32991,36359,37479],ye:[20138],"xiǎng":[20139,20143,21709,24819,26193,34435,34817,38911,39144,39177,39255,39287,39837,39895,40054,40094],"jīng":[20140,20144,20834,22357,22361,23131,24778,26060,26061,26230,27256,27902,28039,29444,30555,31188,31241,31923,31934,32076,32147,32161,32857,33096,33550,33606,33610,33729,33871,39514,39912,40120,40321,40324,40598,40608,40753],"tíng":[20141,20572,23159,23881,24237,24311,26975,27059,31603,32868,33691,33910,34579,34639,35562,37010,38662,40750],"liàng":[20142,21928,24738,26238,28280,35538,35845,36620,36635,36742,37700],"qīn qìng":[20146,35242],"bó":[20147,20194,20412,20720,21338,24091,24893,25066,25388,25615,27394,28001,28159,28196,29055,29268,29403,29917,31028,31201,31636,31769,31978,32969,33046,33162,33334,33354,33825,33895,34991,35151,35182,35592,36387,37091,37432,37457,37581,37787,37998,38073,38082,38216,39226,39310,39323,39326,39361,39406,39539,39622,40275,40513],"yòu":[20148,20305,20326,20369,21448,21491,21706,21760,22271,23031,23461,23775,24188,29398,31056,34484,35480,35825,35969,36854,37229,37321,40748],"xiè":[20149,20275,20574,20592,20673,21352,21368,22119,22638,22801,23199,23633,23655,24296,24482,25032,26284,26800,27021,27053,27899,27945,28203,28581,28681,28707,28794,28839,28840,29166,29205,29548,31044,31164,31951,32050,32079,32108,32370,32392,32449,32567,34210,34212,34809,34831,35081,35131,35613,35874,36510,36994,38782,38896,40770,40792,40795,40805],"dǎn dàn":[20150,39358],"lián":[20151,21126,21298,21299,22009,22098,22849,22889,23294,24088,24265,24604,24976,28063,28451,28610,28627,28718,29073,29163,31806,31842,31848,32314,32756,32852,32872,32875,32878,32879,33217,33714,34030,34197,34698,34826,35042,35123,35229,35632,36453,36830,36899,37772,37934,38256,39697,39985,40098],"duǒ":[20152,21722,22194,22517,23836,26421,26422,32158,32525,36243,36529,36530,36547],"wěi mén":[20153,26006],"rén":[20154,20155,20161,22764,24520,24526,26418,31170,33442,39772,40256],"jí":[20156,20157,20235,20342,20590,21337,21363,21373,21450,21469,21513,22578,22601,23006,23241,23692,23924,23983,24438,24547,24613,24881,25122,25572,26497,26840,26987,26997,27081,27293,27547,27762,28242,28503,30142,30240,30349,31496,31679,31821,32026,32423,33164,33381,33978,34112,34170,34637,34703,35147,35289,35899,36374,36432,36516,36655,36698,36753,37062,37537,37715,37878,38598,38631,38709,40545],"wáng":[20158,20220,20838,33699,34463],"shén shí":[20160],"lè":[20162,21499,24519,27707,27856,29583,30771,31765,33403,38430,38903,39182,39987,40051,40147],"dīng":[20163,21486,24068,29582,30100,30447,32821,34416,38762],"zè":[20164,23857,24194,25425,26115,26135,27716],"jǐn jìn":[20165,20677,23268],"pú pū":[20166],"chóu qiú":[20167],"zhǎng":[20169,24165,25484,30979],"jīn":[20170,22587,24062,24781,26020,27941,29650,29755,29857,30747,31563,33621,34943,35167,35284,37329,37330,37375,38021,40566,40645],"bīng":[20172,20178,20853,20907,20912,25508,27703,37618],"réng":[20173,31037,33471,36792,38526],"fó":[20175,22386,26811],"jīn sǎn":[20176],"lún":[20177,20262,20374,20523,22261,22279,23144,23832,23833,26822,27814,28138,30958,33088,33749,34598,36378,36650,36718,37632,38511,39913],"cāng":[20179,20218,20489,20948,23906,27815,28356,28664,29514,33329,33369,33485,33980,34725,40487],"zǎi zǐ zī":[20180],"tā":[20182,22604,23427,27033,28347,29280,31042,35103,36287,36962],"fù":[20184,20585,20613,20904,21103,21648,22399,22797,22919,23142,23181,23316,23500,24489,26929,31060,31139,31438,32238,32283,32538,33145,33839,34151,34489,34519,34652,34670,34973,35079,35204,35206,35331,35394,35747,36e3,36070,36091,36127,36171,36185,36212,36665,37713,37730,38428,38468,39333,39385,39544,39826,39954,40075,40134],"xiān":[20185,20186,20321,20682,20722,20808,22037,22910,23667,24303,24570,25016,25472,26297,26484,27673,29655,31046,31176,31868,32330,32398,32406,33518,35132,35187,36345,36462,36506,37232,37697,38184,38895,38897,39334,40059,40369],"tuō chà duó":[20187],"hóng":[20188,21552,22444,22917,23042,23439,23446,24344,24395,27759,27859,27946,28004,28209,28482,29586,29596,30804,31441,31460,31690,31904,32024,32045,32139,32430,32707,32733,32830,33520,33645,33874,33875,35897,35900,37404,37495,37584,38286,38387,38672,38687,38787,39775,40251,40511,40649,40652],"tóng":[20189,20319,21699,23746,23773,24221,24420,26189,26312,26704,27651,28021,28540,29341,29534,30510,30643,30780,31217,31461,31905,33191,33596,34450,35447,36200,37230,37462,37493,37509,38108,39175,39846,40086],"rèn":[20190,20205,20995,20996,22922,23001,23675,23683,25192,29283,31053,32009,32029,32077,32427,32436,32917,33101,34941,34997,35346,35469,35748,35761,36564,36715,37395,38765,38769,38860,38887,39146,39169,39274],"qiān":[20191,20325,20681,21315,22322,22903,23407,23693,24749,24838,24947,25190,25322,25652,25729,25872,25873,25875,26436,27343,27736,27751,29301,29309,31439,31614,31805,31830,31844,31873,33418,33598,34440,35120,35536,35609,35878,35896,36801,36983,37370,37382,37467,37874,38030,38433,38854,38981,39467,39582,39708,39709,40302,40528],"gǎn hàn":[20192],"yì gē":[20193],"dài":[20195,20386,21447,22408,22509,23729,24082,24102,24111,24118,24279,24608,25140,26307,26571,27526,28731,29619,29767,29977,31780,32063,32255,32464,33372,34675,34955,35190,36003,36151,36443,36561,36570,36585,36714,36840,38708,38726,40207,40667,40689],"lìng líng lǐng":[20196],"chào":[20198,32790,35288],"cháng zhǎng":[20199,20815,38263,38271],"sā":[20200],"cháng":[20201,20607,20767,22039,22160,23270,23581,24120,24476,29818,29946,29982,32928,33144,33171,33484,33799,38264,40040,40127],"yí":[20202,20359,20736,20893,21276,21670,22319,22839,23016,23440,23452,23463,23538,23763,23980,23991,24056,24411,24412,24413,24414,24609,24670,25157,26246,26648,26924,26936,27778,27935,29098,29941,30157,31227,31747,31822,32672,33008,33811,34534,34708,35322,35643,36029,36155,36320,36859,36986,37844,38921,38948,38949,38986,39056,39284,39847,40250],"mù":[20203,20969,21215,22675,24149,24153,24916,24917,26286,26287,26408,26968,27619,27792,28817,29287,29383,30446,30566,31302,33362,33500,33711,34462,37484,38076,38638,38658],"men mén":[20204],"fǎn":[20206,21453,27214,36820],"chào miǎo":[20207],"yǎng áng":[20208],"zhòng":[20210,20247,22585,22933,23185,29382,30526,31052,31575,33597,34459,34886,34934,35557],"pǐ pí":[20211],"wò":[20212,20563,21351,23177,24132,25569,26947,27779,28197,28643,29889,30595,30826,32927,33115,33253,40823,40844],"jiàn":[20214,20468,20581,20717,21073,21091,21105,21133,21134,21138,21140,22713,23499,24314,24484,25846,26068,26967,27645,27914,28071,28567,29294,29652,30647,30965,30976,31661,31947,32349,33137,33270,33328,33382,33616,34214,35256,35539,35563,35675,35855,36046,36068,36145,36253,36341,36368,36410,36702,37492,37747,37749,37937,37969,37970,37996,38003,38190,38291,39198,39279],"jià jiè jie":[20215],"yǎo fó":[20216],"rèn rén":[20219],"fèn bīn":[20221],"dī":[20222,20302,21874,22494,22564,23739,24445,27136,28404,30974,31210,32669,34971,36230,38532,38830],"fǎng":[20223,20515,26058,26121,26136,29932,30470,32033,32442,33323,35370,35775,39651,40365],"zhōng":[20224,21027,22928,24146,24440,24544,26570,27767,27848,28802,30405,31846,32066,32456,33327,34080,34585,34724,34749,34931,34935,36465,37409,37758,37912,38047,38202,40228,40744],"pèi":[20226,20329,23029,24084,26046,26054,27803,28031,29678,34012,36705,36756,37197,38664,39351],"diào":[20228,21514,24340,25481,30265,30404,31374,31413,31464,35339,37347,37407,37553,37629,37955,38035,38110,38655,39777],"dùn":[20229,28513,28822,29129,30462,30744,30903,36402,36871,36929,36975,37389,38045],"wěn":[20230,21006,21563,21573,25222,26749,31283,31311,31337,32010,32947,33047],"xǐn":[20232],"kàng":[20233,21279,22245,25239,28821,37415,38058],"ài":[20236,20734,22631,22738,23250,23329,24859,25043,26279,26326,29233,29815,29862,30375,30649,30777,30795,30861,31001,34182,35706,36089,37952,38552,38729,39218,39332,40043,40241],"jì qí":[20238,34234],"xiū xǔ":[20241],"jìn yín":[20242],"dǎn":[20244,21008,25762,29612,29933,32030,32966,33213,34932,36071,36181,40661],"fū":[20245,21579,23056,23413,23555,24612,25071,25975,26057,29598,30726,31235,31583,31952,32146,32932,33178,33602,33652,34925,36282,36311,37022,37148,37212,37383,40617,40620,40625,40632],"tǎng":[20246,20645,20795,22507,25091,26349,29219,30680,36538,37810,38018,38219],"yōu":[20248,20778,21606,22168,23795,24189,24551,24736,24962,25912,27340,28410,28672,32395,32682,32816,36876,37182,40576],"huǒ":[20249,22821,28779,29047,37033,37413,38060],"huì kuài":[20250,26371,27981,29871],"yǔ":[20251,20417,20451,20554,20660,21292,22131,22276,22281,23431,23513,23679,23996,24254,25383,25940,26014,26944,29760,30224,31076,31161,31333,31411,32701,33287,33837,35984,37125,38952,40588,40812,40841],"cuì":[20252,21851,24560,24756,27635,28140,28960,30121,30209,31425,31883,31929,32035,32183,32710,32736,33027,33030,33082,33196,33205,33230,33795,35146,38983],"sǎn":[20254,20632,31972,32342,39242,39315],"wěi":[20255,20266,20553,20605,20702,20784,23059,23530,23843,23945,24491,24839,25444,26256,26806,27943,27992,28200,28828,29010,29477,29614,29771,30207,32239,32428,33138,33353,33435,33479,33649,33806,33894,33933,34111,34620,35529,35839,36371,37729,38865,38873,38881,38890,38944,39097,39593,39594,39595,39850,40084],"chuán zhuàn":[20256,20659],"chē jū":[20257,20453,36554,36710],"yá":[20258,21393,21395,22544,23688,23829,23830,28079,28420,29273,29601,29706,30554,31500,33469,34460,34905,40790],"qiàn":[20259,20436,20521,20761,21003,22733,23345,24723,26824,26912,27111,27424,27465,30360,31695,31711,32308,33441,33960,34099,36644],"shāng":[20260,20663,21830,22674,24943,27527,27556,28403,28449,29109,34063,34730,35294,35316,35626,39738],"chāng":[20261,20480,23100,26124,26905,28112,29462,29737,33750,35054,37673,38176,38326,38410,39911,40115,40730],"chen cāng":[20263],"xùn":[20264,20378,21314,22080,24058,24061,24455,24891,27529,27582,27739,28512,29413,34120,35338,35347,35353,35757,35759,36805,36863,36874,36956,37954,39016,39348,39535],"xìn":[20265,22239,23390,33066,33291,34885,35371,37313,38432,38998],"chǐ":[20268,20360,21366,21498,22417,24677,27503,32827,32916,32995,34439,35053,35115,35913,37497,40786,40831],"xián xuán":[20269],"nú nǔ":[20270],"bǎi bó":[20271],"gū gù":[20272],"nǐ":[20273,20320,20766,23412,25311,25836,26062,26226,29396,33512,34239,38572],"nì ní":[20274],"bàn":[20276,21150,21322,22981,24593,25198,29923,31194,32070,32458,36774,37473,38781],"xù":[20277,20368,21206,21207,21369,21465,22463,22779,23167,24207,24676,25933,25944,26093,26155,26370,27090,27440,27528,27775,27776,27947,28294,28469,28490,28869,28924,29030,29533,29676,30434,30593,31288,32110,32154,32210,32214,32396,32490,32493,32851,32863,33988,34266,35385,36041,37207,38922,40046],"zhòu":[20279,20733,20881,21610,21650,21678,23449,26172,26205,29955,30385,30394,31808,31826,31829,31897,32002,32272,32419,32457,32964,33646,33892,35403,37198,39374,39519,39588],"shēn":[20280,20353,20831,21627,22548,22973,23072,23678,23799,25183,25938,26321,26587,27680,28145,29130,29637,29985,29991,30003,30482,30775,31356,31862,31864,31938,32051,32453,32601,32615,33888,34017,34072,34195,35025,35383,35445,35804,36523,39402,39891,39925,39994,40121,40290],"qū":[20281,20297,21284,21631,22373,23624,23702,23732,23943,24968,25278,25978,27968,28992,31067,31553,31916,32992,34502,34512,34986,35259,35416,35790,36237,36527,36544,38457,39366,39368,39493,39537,39671,39804,39992,40011,40332,40623,40628,40633,40674],"sì cì":[20282],"bēng":[20283,22051,22879,23849,23917,38285],"sì shì":[20284],"jiā qié gā":[20285],"yǐ chì":[20289],"diàn tián":[20291,38079],"hān gàn":[20292],"mài":[20293,21154,21233,21334,21787,22770,33032,34887,36067,36808,36993,38689,38690,40613,40614],"dàn":[20294,20708,21846,21847,21887,22089,22186,24078,25018,26086,26598,27694,27786,27897,28129,29402,30093,30298,31147,31390,33093,33807,34014,34507,34577,35291,35345,35477,35806,36105,38702,39204,39247,39411,39655,40224],"bù":[20296,21199,21541,21656,22487,22496,24067,24269,24598,24721,27493,27496,27497,29951,31728,33657,34048,36356,37096,37110,37384,38042,39202],"bǐ":[20298,20478,21269,22838,22947,24444,26428,26560,27604,27614,27800,30101,31189,31508,31558,31875,32859,33325,35983,37145],"zhāo shào":[20299],"cǐ":[20300,27492,27866,30345],"wèi":[20301,21355,21619,21890,22683,23206,24944,25024,26410,28205,29023,29101,29338,29484,30031,32237,32635,32963,33535,33739,34287,34358,34655,34737,34907,34910,35133,35586,35718,35727,35859,36503,36507,36558,36682,37839,38696,39207,39221,39254,39759,39815,40154],"zuǒ":[20304,24038,32339],"yǎng":[20306,20639,20859,22385,23711,24899,25065,25857,27687,27697,28852,30162,30306,31010,32059,34630,36590,39178,39386],"tǐ tī":[20307,39636],"zhàn":[20308,20577,23960,25112,25126,25136,26632,26719,26855,28251,31449,32187,32509,33754,34360,34405,34406,35687,36687,39503],"hé hē hè":[20309],"bì":[20310,21639,21716,22006,22354,22555,22721,22896,22972,23138,23318,24065,24163,24164,24199,24243,24294,24330,24379,24380,24387,24517,24621,24842,24846,25949,25987,26768,27605,27606,27609,28258,28375,28397,28535,29007,29082,29428,29528,29529,29644,29863,30016,30050,30122,30201,30202,30357,30564,30887,31578,31621,31622,31718,31731,31882,32188,32298,32372,32636,33143,33534,33628,33798,33822,34006,34045,34109,34204,34572,34960,35141,35166,35171,35313,35414,35792,36017,36116,36177,36344,36437,36483,36484,36991,37042,37160,37162,37453,37838,37940,38091,38279,38281,38303,38381,38491,38880,39158,39238,39325,39388,39494,39616,39763,39813,40413,40425,40714],"tuó":[20311,22376,22582,23726,27094,27216,27825,30755,30756,30882,32061,35409,36302,37217,38436,38464,38465,39389,39390,39464,39506,39517,39548,39808,40213,40501,40713,40717,40743],"shé":[20312,33292,34421,34533],"yì dié":[20314,26163,27846,36604],"fó fú bì bó":[20315],"zuò zuō":[20316],"gōu":[20317,27807,28317,30144,31709,31804,32241,32529,34983,35104,37390,37476,38057,38834,38877],"nìng":[20318,20395,20543,23509,27870,28573,28632],"qú":[20322,21164,25141,26026,27403,27412,27661,28141,28744,29216,29846,29865,30319,30962,31847,32071,32970,33246,33731,33867,34134,34343,34781,34871,34876,34896,34914,36515,36581,38010,40221,40476,40498,40745],"yōng yòng":[20323],"wǎ":[20324,21651,30745,37047],"kǎ":[20327,22448,33001,35011,37490],"bāo":[20328,21241,21253,23394,29042,31523,32990,33502,34132,35046,35090,35139,38337,40793,40837],"huái huí":[20330],"gé hè":[20331],"lǎo":[20332,21694,24645,26675,29419,29679,30803,32769,32770,33622,34543,36689,37536,38097,39857],"xiáng":[20333,24224,26649,31077,32116,32724,35443,36333],"gé":[20334,21260,21572,21981,22629,24837,25356,25663,27077,27338,28358,33160,33269,33558,35297,35581,36661,36693,38307,38401,38548,38839,38864,38874,39444,39612,39855],"yáng":[20335,21175,22431,23864,24457,25196,25562,25965,26104,26140,26264,26472,26954,27915,28800,29660,30113,30221,30523,34520,35577,36656,37722,38038,38438,38451,38525,38711,39098,39119,39953,40249,40457],"bǎi":[20336,25453,25670,25850,26658,30334,31457,31912,35180],"fǎ":[20337,23772,27861,28747,30749,37701],"mǐng":[20338,20949,23027,24911,37225],"èr nài":[20340],"hěn":[20343,24456,29408,35434],"huó":[20344,27963],"guǐ":[20345,21286,21293,21420,22429,23037,23428,24203,24234,24657,26231,28224,30328,31082,31755,34539,34785,35300,35437,35809,36556,36712,38482,39740],"quán":[20346,20840,21875,22498,23038,23761,24015,25331,25660,26435,27006,27177,27402,27849,27940,28278,29303,29320,29780,30154,30786,31564,32275,33603,33906,34615,34872,35296,35438,35808,36327,36385,36615,36737,37275,37523,38120,38350,39028,39079,39401,39457,39688,39937,40136,40804],"tiāo":[20347,24227,26091,31079,32846],"jiǎo":[20348,20748,23362,25378,25605,25759,25785,25898,25963,25981,25983,26184,26270,26322,28762,29150,29409,29868,30350,30374,32094,32400,32478,33139,33259,34780,35665,36043,36363,37496,38128,39171,39290,40014,40867],"cì":[20349,21054,24219,26431,26664,27425,32088,33574,33727,34515,34694,36060,36176],"xíng":[20352,21009,21720,22411,23065,24418,27920,30798,34549,37026,37065,37379,37494,37522,38040,38095,38473,38488,39219],"tuō":[20354,21635,21660,22315,25176,25301,25302,27729,33067,33073,33676,34981,35351,35756,39141,39270,39776,39861],"kǎn":[20355,20568,20890,22350,24770,30733,33712,36641,36695,38993],"zhí":[20356,20516,20540,22516,22519,23018,23298,25120,25191,25709,26893,27188,28116,28432,30452,31107,32119,32310,32832,32844,32887,33201,34777,36310,36399,36448,36497,36548,37342,39357],"gāi":[20357,22419,23007,23760,26192,30049,31092,33604,35442,35813,35941,36037,36044,36165,38484],"lái":[20358,20459,20488,23811,23821,24242,26469,26814,26870,28062,28150,29453,29724,31577,31618,33713,33802,36904,37106,37688,38140,39435,39904,40326,40627],"kuǎ":[20361,21685,22446,37529],"gōng":[20362,20844,21151,21265,21268,22632,23467,23470,24037,24138,24339,24685,25915,26459,30909,31996,31999,32945,35301,35317,36524,36531,39672,40852,40858],"lì":[20363,20432,20458,20616,20782,20791,20947,21033,21147,21169,21237,21382,21385,21412,21423,21426,21459,21519,21590,21774,21811,22182,22215,22364,22619,22754,23091,23151,23668,23718,24743,24759,24900,25150,25646,26278,26310,26334,26424,26533,26627,26647,26651,27306,27348,27370,27408,27508,27511,27813,27828,28054,28327,28671,28701,29199,29345,29441,29653,29806,29893,29905,29925,30124,30178,30311,30445,30553,30725,30778,30782,30975,31018,31019,31024,31154,31197,31435,31520,31717,31890,31901,31986,33079,33480,33560,33620,33669,33673,33946,33950,34294,34488,34510,34528,34599,34679,34823,34851,35400,35720,36210,36706,36707,36729,37192,37469,38582,38583,38643,38722,38731,39681,40168,40215,40389,40604],"yīn":[20364,20944,21905,22142,22233,22240,22420,22553,23035,23139,24852,24903,26678,27684,27911,28341,28646,30230,31115,31221,31555,32106,32248,33589,33937,34093,35008,35570,37542,38111,38345,38437,38452,38512,38523,38530,38674,38688,38791,38899,38910,39408,39555,40791],"mǐ":[20366,23370,24365,25929,27939,28211,28758,31859,31886,32651,33042,33416,33886,34077,37540],"zhū":[20367,26666,27104,27237,27367,27371,27929,28532,28710,29482,29664,30787,31228,32081,33585,34127,34523,34667,34857,35006,35461,35576,35803,35832,35948,36326,37054,37526,38114,39407,39842,39930,40248,40708],"ān":[20370,20579,23189,23433,23766,24245,26697,27688,30438,30443,33124,33780,33851,33866,34029,35485,35571,35865,38796,38797,38909,39331,39839,40298,40341,40524],"lù":[20371,20679,21198,21216,22309,22388,22646,23101,23757,24280,24404,24405,25134,25693,26882,27162,28117,28133,28172,28425,28510,29741,29840,29994,30429,30569,30793,31103,31108,31249,31307,31635,31759,31788,31797,31798,31833,31926,34061,34135,34370,34736,36034,36162,36258,36335,36379,36439,36613,36678,36738,36760,36911,37249,37636,37682,37684,37876,38520,39428,39484,39909,40252,40294,40305,40442,40557,40575,40595],"móu":[20372,21178,24648,30520,34513,35584,35851,36366,37738,40254,40624],"ér":[20373,20799,20816,20818,23759,26669,27919,31915,32780,33017,33611,35003,36608,36700,38481,38573,39669,39838,40085,40239,40504],"dòng tǒng tóng":[20375],"chà":[20376,22908,23033,23700,27722,35435,35815],"chì":[20377,20666,21189,21201,21489,21883,24435,24668,24919,24975,25048,25270,25941,26021,26456,28225,28795,28861,28926,29118,30163,30200,30235,32708,32709,32740,32744,33119,36196,36265,36971,37459,38644,39149,39276,40338,40408],"gòng gōng":[20379,20849],"zhōu":[20380,21608,21900,24030,24479,27954,28109,28863,28880,29656,30698,33311,35589,35704,35788,36057,36178,36616,36630,36736,36913,37102,37506,38668,39410,39430,40259,40508],"rú":[20382,20754,22149,22914,23340,23418,24100,26328,26695,28202,28641,31566,33593,34144,34231,34657,34837,35005,35174,37018,37305,37539,38135,39020,39077,40044,40209,40253],"jiàn cún":[20383],"xiá":[20384,20448,21283,23777,23805,25966,26247,26585,28832,28890,29390,29421,29433,29672,29781,30806,30820,30892,31083,31594,32278,32712,33309,33338,34168,36206,36676,36758,36944,37724,37771,38492,38527,38686,39458,39803,40375,40672],"lǚ":[20387,20406,20770,21525,21570,23649,23650,23653,25364,25435,26053,26784,28946,31075,31238,31341,32125,32311,32533,33154,33168,35099,35128,37080,37569,38109],ta:[20388],"jiǎo yáo":[20389,20709,24506],"zhēn":[20390,20597,23498,24103,24106,24128,25656,26015,26722,26984,27035,27196,27549,27976,28254,28519,28597,29513,29645,29646,29799,29956,30494,30495,30759,30890,31087,31118,31131,31668,32983,33275,33908,33942,33985,34237,35998,36126,36675,36937,37209,37341,37441,37681,37756,38024,40053],"cè zè zhāi":[20391,20596],"kuài":[20393,20744,20983,21721,22130,22310,22359,22602,24028,24293,24555,26077,27443,29423,29546,31607,31977,33037,33214,37072,37174,40032,40089],"chái":[20394,20757,21901,26612,29362,31073,35962],"nóng":[20396,20738,20892,21725,22117,27266,27393,27987,28611,29174,31151,31230,31328,33043,33215,34173,35163,35688,36786,36787,37298,39710],"jǐn":[20397,20760,21370,21418,24057,27135,28428,29822,32039,32202,33771,34035,35641,35880,37670,38182,39241,39313],"hóu hòu":[20399,30694],"jiǒng":[20400,20690,20879,22247,27842,28547,28847,28913,29018,29019,29106,29147,31384,32151,35111,36837,36872,38984,39054],"chěng tǐng":[20401],"zhèn zhēn":[20402,25557],"zuò":[20403,20570,21777,22352,23709,23710,24231,31066,31987,32985,33859,33860,34009,34959,38460],"qīn":[20405,20819,23175,23898,23956,27453,34942,35483,38054,38985,39416,39566,39868],"jú":[20407,21881,23109,23616,24008,26888,27224,27878,28119,28264,28951,29329,29386,31927,33738,34332,36252,36348,36459,36610,37113,38320,39414,39527,40281,40308,40362,40752,40755],"shù dōu":[20408],"tǐng":[20409,22306,23063,25402,28047,28918,29693,33057,33351,35476,38962,39051],"shèn":[20410,24892,24910,26138,28033,28183,28402,30214,30254,30488,31091,32958,32962,33060,33102,34563,34564,37600],"tuì tuó":[20411],"nán":[20413,21891,23066,25257,26260,26511,26591,26976,30007,30040,33710,33843,36950],"xiāo":[20414,21715,22069,22203,22210,23115,23471,23477,24232,24391,25585,26541,26549,26783,27385,27466,27594,28040,28487,28703,28785,28786,28875,28935,29447,29538,30170,30175,30813,30819,31385,31659,31768,31787,32131,32481,32731,33198,33831,34157,34376,34387,34754,34767,34800,34856,36355,36877,37559,38144,38660,39093,39501,39553,39623,39632,39752,40222,40245,40397,40494],"biàn pián":[20415,32246,32527],"tuǐ":[20416,33151,36422,39613],"xì":[20418,21304,21324,21612,22669,23619,23635,23661,24549,24620,24644,26910,28509,28511,28569,29058,29332,30966,31114,32048,32140,32280,32454,32484,33283,33284,34158,34409,34891,35236,36201,36231,37092,37363,38411,38553,38559,38716,39228,39273,39721,40662],"cù":[20419,23208,25009,29469,30212,30255,31751,32300,33064,34079,35470,36247,36391,36415,36441,36468,36469,37259,39011,40704],"é":[20420,22254,23077,23753,23784,23785,28048,29684,30354,30539,30912,33706,35355,35472,35660,35769,36823,37387,37608,38151,38943,38989,39069,39780,40285,40286,40517],"qiú":[20421,21492,21778,22234,23863,24047,24048,25167,26754,27535,27628,27714,27731,27845,27991,28269,29034,29360,29580,29699,29830,30387,30426,32012,32127,32909,33409,33677,34412,34415,34551,35032,35283,35305,35332,35333,36053,36167,36878,36881,36946,37195,37338,37371,37558,38916,39810,39876,39997,40765],"xú":[20422,24464,31121],"guàng kuāng":[20423],"kù":[20424,21950,22195,24211,24235,24292,30228,32093,32468,34996,35044,35122,37239],"wù":[20425,21153,21209,21247,21372,22366,22626,22886,23162,23524,23676,23689,23912,24546,24734,24735,24750,25098,25188,26212,26444,28329,28944,29059,29289,30182,30713,31417,31877,34305,35492,35823,37576,38434,38550,38654,38682,38695,38768,39446,39579,40361,40540,40767,40768],"jùn":[20426,20737,21569,22472,23535,23803,25039,25411,25887,26201,26846,29127,29690,30063,31459,31647,34592,36048,37089,38486,39189,39298,39423,39567,40276,40277,40280],"liáng":[20429,22682,26753,26891,27153,31918,31921,31975,33391,36652,36748],"zǔ":[20430,21800,29244,31062,32068,32452,35419,35781,37818,38459,38779],"qiào xiào":[20431],"yǒng":[20433,21191,21192,21647,22471,22606,23921,24430,24634,24703,24704,24805,24849,24889,24898,26593,26640,27704,27891,28263,29996,34553,35424,36362,36404,39890,40108],"hùn":[20434,20529,22274,23585,24897,25485,28343,28957,30580,35304,35554,35816],"jìng":[20435,20665,22659,22924,23129,23143,24362,24371,24452,24465,25964,26324,26737,26807,27972,28702,29517,30153,30169,31454,31455,31467,31478,31480,33003,33051,33686,35497,36353,36851,36885,37857,38236,38742,38745,38748,40283],"sàn":[20437,38288],"pěi":[20438],"sú":[20439],"xī":[20441,20694,20846,20958,21349,21376,21560,21775,21821,22075,22095,22193,22805,22874,23302,23305,23638,23904,24007,24076,24454,24495,24687,24713,24725,24769,24796,26132,26206,26224,26227,26342,26512,26744,27069,27176,27200,27447,27685,27728,28e3,28101,28179,28330,28911,28929,28936,28959,29060,29064,29081,29113,29114,29115,29160,29204,29306,29312,29344,29351,29707,30236,30361,30542,30630,30717,30802,30926,30978,31232,31352,31416,31902,31974,32198,32357,32690,32725,32726,32952,32953,33181,33342,33667,33765,33952,34597,34693,34763,34869,35199,35321,35325,35327,35654,35903,35904,35944,35951,35989,36197,37020,37134,37189,37295,37368,37675,37869,37898,38004,38177,38581,39183,39246,39291,39889,40279,40450,40759],"lǐ":[20442,23052,23778,23794,26446,27418,28012,28583,29702,31036,31150,31924,35023,35041,35914,36902,37008,37300,37616,38146,39881,40039,40049,40100,40162],"bǎo":[20445,22562,23212,23453,23514,23539,23542,29668,32229,33862,34293,35091,36082,38732,39161,39165,39281,39362,40181,40199,40488],"yú shù yù":[20446],"sì qí":[20447],"xìn shēn":[20449],"xiū":[20450,20462,21691,24229,27143,28876,32670,33049,33065,33273,35973,37533,37760,39117,39240,39312,39652,39673,39860,40003,40258,40506],"dì":[20452,20569,20672,22474,22673,22700,23075,24093,24607,26099,26762,28941,29587,29963,30513,30535,30898,31094,31128,31532,32224,32532,33123,33730,33922,34069,34627,34669,34734,35558,35867,36406,36882,36883,36958,36976,37482],"chóu":[20454,20756,23334,24774,24833,25060,26662,29181,30068,30087,30359,31264,31609,31820,32082,32162,32504,33751,35446,35726,35728,36364,36490,37223,37228,37307,38612,38624,38630],"zhì":[20455,20587,20776,21046,21141,22401,23073,23512,24089,24092,24159,24226,24228,24268,24408,24463,24477,24535,24558,25061,25067,25347,25370,25527,25711,25842,26072,26186,26234,26633,26702,26813,27341,27355,27835,27959,28365,28382,28399,28492,28676,28825,29099,29438,29464,29839,29894,30164,30179,31017,31057,31209,31223,31258,31290,31305,31378,32041,32251,32622,32720,33187,33267,33268,33430,34541,34975,34976,35069,35231,35287,35311,35318,35468,35921,35922,36013,36074,36100,36136,36157,36337,36396,36499,36618,36734,37061,37517,37589,37973,38106,38183,38495,38578,38601,39396,39469,39482,39495,39576,39919,40217,40409,40503],"liǎ liǎng":[20457],"jiǎn":[20461,20537,20745,20943,21098,22591,24383,24389,25129,25132,25315,25400,25441,25536,25791,26535,26604,26776,26816,26908,27298,28187,28245,28733,29776,30545,30652,30839,30897,30982,31509,31591,31616,31777,32120,32365,32742,33575,34246,34834,35045,35143,35145,35194,35395,35591,35629,35710,35883,36284,36423,37911,39691,39950,40568,40571,40572],"huò":[20464,21663,22191,22207,22895,24416,24785,25110,25837,26084,26340,27316,27790,28273,28694,29554,30312,30483,30672,31096,31117,31339,31394,32815,33243,33383,33719,33958,34303,34838,35595,36008,36135,37699,37962,38252,38616,38669,38723,38852],"jù jū":[20465,25454,37624,38191],"xiào":[20466,20634,21177,21682,21742,21880,22027,22056,22063,23389,25928,25989,25990,27479,28045,29117,31505,35432,35487],"pái":[20467,24472,29260,29348,29445,31792,31794,36651],"biào":[20469,39998,40148],"chù tì":[20470],"fèi":[20471,21077,21406,21536,23645,24223,24259,24290,26162,26314,27360,27832,28663,29394,30280,32954,33801,36027,36153,37928,38212,38507,38725,40739],"fèng":[20472,20964,22857,28247,28968,29e3,36085,36183,40175,40179,40204],"ǎn":[20474,21813,22511,25566,32623,37544,38133],"bèi":[20475,20493,20573,20601,20633,20675,22791,24726,24811,24834,24970,26113,26774,28953,29292,29333,29384,29437,29692,29746,30874,31129,31954,33501,34003,34557,35097,35997,36125,36592,36649,36744,37046,37093,37121,37575,37950,38049,38785,38836],"yù":[20476,20773,21893,21929,21947,22495,22537,22954,23255,23507,23786,23950,24253,24423,24481,24840,24958,25131,26161,26843,26844,26859,27378,27406,27421,27442,27603,28020,28143,28394,28495,28582,28778,28980,29020,29135,29152,29225,29425,29508,29577,29721,30217,30290,30753,30818,30834,30983,30998,31004,31142,31191,31266,31286,31741,31838,31858,31894,32206,32621,32895,32896,33352,33419,33420,33567,33966,34019,34041,34167,34316,34591,34606,34988,35029,35465,35565,35709,35861,35947,36553,36621,36915,36935,36985,37057,37287,37434,37578,37669,37933,38064,38334,38408,38628,38705,38928,39044,39147,39239,39275,39341,39496,39533,39728,39729,39739,39754,40010,40191,40229,40231,40234,40274,40440,40466,40518,40556],"xīn":[20477,22138,22945,23324,24286,24515,24516,24571,24798,26032,26133,26490,27427,27462,28824,30458,34218,35362,36763,37028,37386,37573,37995,38156,39336,39339],"hǔ chí":[20479],"jiù":[20483,20710,21267,21275,21302,21417,21646,23601,24260,24271,24272,24934,25412,25937,26087,26601,26622,26709,27405,27559,30106,33276,33285,33290,39910,40434,40555,40596,40808],"yáo":[20484,20636,21954,22426,22575,23002,23217,23591,23597,23779,23970,23972,24493,25594,25622,25671,25727,26266,27043,28391,28881,29243,29498,29671,29796,29814,30936,31377,31407,31408,32948,34344,35616,35617,35875,36602,36730,36953,36965,37006,39012,39099,39126,39174,39194,39977,40025,40144],"cuì zú":[20485],"liǎng liǎ":[20486],"wǎn":[20487,21773,23113,24779,25405,26202,26213,26217,26236,26778,26880,29740,30073,30358,30412,30871,32169,32176,32510,33048,33814,36384,36627,37588],"zǒng":[20490,20588,20655,23928,24635,24803,25460,25603,25696,29162,32207,32235,32258,32317,34007],"guān":[20492,20851,23448,26874,30237,30287,31396,33924,38306,38359,38364,39973,40030,40143],"tiǎn":[20494,21818,24541,24767,26218,27524,28127,30547,33094,33300,35237,35277,36063,37674,39170],"mén":[20497,25194,25451,29834,33755,34379,37702,38036,38272,38277,38376],"dǎo dào":[20498],"tán tàn":[20499,22510],"juè jué":[20500],"chuí":[20501,22402,22464,25462,25637,26712,26864,27084,31648,33092,33753,37656,37786,38180,38514,38976],"xìng":[20502,22995,23134,23353,24184,24615,24763,26447,28076,32200,33238,33607,33685,33877],"péng":[20503,20656,22620,22643,24376,24969,25408,26379,26842,26902,27173,30844,31261,31484,31735,32388,33192,33411,34028,34325,34778,34779,34998,36643,37643,37981,38904,38908,39471,39676,39685,39700,40300,40527],"tǎng cháng":[20504],"hòu":[20505,21402,21518,22421,22560,24460,27913,33577,35934,36869,37064,39836,40031,40078,40088],"tì":[20508,21059,22159,22164,23625,23644,24716,24720,24789,24790,25147,25510,26367,26385,27474,27554,28053,29899,31545,31818,34201,35077,36886,36919,39664,39680,39684],"gàn":[20509,20942,24185,27046,27274,28134,28776,30448,32058,32448,35404,36113,36195,39597],"liàng jìng":[20510,38739],"suī":[20512,21752,22794,28374,28617,30509,30562,33429,33661,33662,34429,38614,38806],"chàng chāng":[20513],"jié":[20514,20604,20625,21030,21031,21052,21163,21180,21353,21354,23125,23211,23377,23690,23848,23909,23995,24e3,24175,25130,25463,25526,25838,26117,26466,26480,26688,26717,26988,26998,27044,27905,28368,28500,29412,30571,30989,31469,31680,32687,33709,34037,34531,34576,34840,34846,34877,34929,35002,35344,35440,35505,35750,36373,36860,37475,37755,38268,38945,39834,40082],"kǒng kōng":[20517],"juàn":[20518,21173,22854,24955,26698,28099,29431,29543,30519,30538,30560,32109,32121,32482,32613,32642,33091,34088,37124,39179],"zōng":[20519,22571,23447,23887,23893,24830,26401,26837,26934,29095,29475,30955,32195,32746,33113,33916,34668,35957,36392,36394,36452,37712,37953,39436,39459,39572,39683,39689,39735,39918,39932],"ní":[20522,22381,22527,23612,23636,24617,28131,29450,31870,32867,34477,34618,35308,35982,36316,36631,37107,37422,38092,38675,39324,39906,40117,40593,40815],"zhuō":[20524,25305,25417,26700,26802,26817,26867,27093,28095,31399,37935],"wō wēi":[20525],"luǒ":[20526,21062,26346,30256,30323,33245,33999,34819,35064,36534],"sōng":[20527,20935,23040,23847,23913,24250,25021,26494,26496,26537,26583,26789,27303,28126,28621,30841,33752,39686],"lèng":[20528,22542,24867,30550,36380],"zì":[20531,21082,23383,24675,28173,28460,29304,30501,30502,32980,33022,33258,33569,33634],"bèn":[20532,22348,25465,25770,28160,31528,36905],"cǎi":[20536,21835,23111,24425,25505,26828,27613,30572,32181,36340,36393],"zhài":[20538,20661,23528,30261,30758],"yē":[20539,21524,22094,25832,26253,26928,27467,28529,34862],"shà":[20541,21820,21922,27459,31633,32732,32739,33808,38319,38670],"qīng":[20542,20670,21375,22282,23496,27682,27691,28152,28165,34619,36605,36629,36731,37100,37638,37963,38737,38738,39894],"yīng":[20544,22052,22111,22198,23156,23190,23240,23344,23366,23422,24869,25732,25878,26400,26716,27185,27387,28214,29008,29681,29787,29838,29908,29959,29974,30884,31023,32211,32403,32492,32552,32578,32579,32588,33210,33521,33722,34337,34663,34867,35118,35707,36047,36552,37965,38195,38681,38906,40236,40337,40359,40367,40426,40441,40462,40474,40550,40560],"chēng chèn":[20545,29231],"ruǎn":[20548,26378,29772,29888,30877,31005,33117,36575,36653,36719,38446],"zhòng tóng":[20549],"chǔn":[20550,24823,30582,33846,34850,36080],"jiǎ jià":[20551],"jì jié":[20552],"bǐng bìng":[20555],"ruò":[20556,21458,23926,24369,26953,28971,29191,31660,31707,33979,37120,39961,39983,40376],"tí":[20557,21399,21884,21953,23865,28477,29765,30588,31157,31242,32249,32519,32612,34139,35078,35605,36263,36420,36431,37261,37719,38988,39064,39456,39863,39927,40128,40284,40420,40520],"wēi":[20558,21361,21940,23041,23193,23990,24013,24494,24836,25547,25595,26931,26994,28326,28883,29032,29168,30291,32261,33896,33907,34183,34610,34651,35235,35444,36918,38535,38536,38714,39939,39940,40130],"piān":[20559,22248,23205,26948,29327,31687,32745,37698],"yàn":[20560,21388,21421,21761,21933,22152,22181,22576,22943,23026,23306,23359,23476,24421,24422,25957,26191,26277,26325,26339,28383,28750,28756,28775,28777,28948,28976,28977,29078,29124,29290,29458,30746,30831,33395,33398,33399,35214,35267,35326,35578,35724,35742,35866,35891,35923,35924,36107,36119,36189,36549,37184,37245,37308,37317,38593,39181,39260,39440,39443,39476,39511,39520,39564,39731,40171,40200,40243,40387,40432,40798],"tǎng dàng":[20562],"è":[20564,21262,21374,21380,21597,21666,22121,22441,22538,22574,23691,23871,24261,24746,24853,25145,25212,25636,25657,25820,27374,27486,27514,28226,29735,30728,30736,30790,33133,33482,33852,34138,34437,34625,35240,35556,35725,35860,35935,36571,36598,36717,36940,36943,36987,37122,37418,37716,37993,38199,38440,38456,38942,38990,39066,39187,39209,39295,39952,39978,40055,40132,40346,40535,40771,40822],"xié":[20565,21232,21327,21332,21963,22437,22858,24650,24886,25337,25658,25783,25813,25847,25884,26012,26090,29057,29170,32138,32243,32256,32556,32723,32961,33029,33031,33035,33166,34658,34938,35181,35559,35735,35856,38795,38837,40868],"chě":[20566,25199,25766],"shěng":[20567,28219,30490],"chā":[20571,21967,25184,25407,25554,25591,30080,33279,33366,37535,37732,38200,39223],"huáng":[20575,20976,21924,22573,22708,23187,23858,24488,24822,27003,28255,29004,29530,29789,29852,30272,30343,30970,31316,31681,31783,33358,33887,34647,34789,35579,36266,36945,37728,37892,38205,38541,38905,39213,39452,39945,40017,40135,40428,40643,40644],"yǎo":[20576,21676,23161,23438,23686,26483,26620,27034,28308,29397,31365,31368,33280,33517,38340,39445,40405,40809],"chǒu qiào":[20578],"yóu":[20580,23588,24238,24611,27787,27833,27999,28216,29369,29494,29495,30001,30115,31198,32940,33692,33720,34133,34480,34659,35367,36623,36662,36912,36938,37038,37109,37438,38080,39360,39799,39819,40063,40073],"xū":[20582,22687,23213,23299,26952,27432,27476,29176,30110,30449,32135,32259,32379,32997,34150,34391,34394,34395,34641,35015,35343,35377,35549,35651,35870,37968,38656,38920,39035,39036,39497,39706,39750,39766],"zhā":[20583,21747,25263,25363,25592,25699,27165,28195,30390,35312,35655,40772,40775],"cī":[20584,30133,34816,36224,39604,39626,40825],"bī":[20586,23620,26949,27636,35917,36924,39951,40126,40278],"xún":[20593,22106,23547,23563,23755,24033,24309,24490,24642,25559,25907,26092,26442,26642,26730,27187,27957,27988,28527,29125,29142,29667,29845,30019,32003,33600,34803,35426,35810,37161,40015,40024,40095],"cāi sī":[20594],"duān":[20595,23183,31471,35085,37748],"ǒu":[20598,21528,22036,32806,33122,34117,34261],"tōu":[20599,20600,37742],"zán zá zǎ":[20602],"lǚ lóu":[20603,20674],"fèn":[20606,20712,22859,22894,24325,24575,24868,24996,28725,30611,31182,31914,31966,33209,40029,40124],"kuǐ guī":[20608],"sǒu":[20609,21468,21471,22014,27362,30605,34222,34282],"zhì sī tí":[20610],"sù":[20611,20723,21961,22608,22609,22809,23242,24875,24991,27041,27150,27157,27536,27869,28049,28335,28344,28506,28517,29578,29663,29851,31756,31899,31903,32032,32292,32899,32901,33158,34060,34263,35307,35380,35606,35785,35873,36250,36444,36895,36961,36972,37577,39191,39500,39573,40016,40427,40532],"xiā":[20612,28998,30606,35898,39084,39957],"yuàn yuán":[20614,23195],"rǒng":[20615,20887,23426,27652,36597],"nù":[20617,24594],"yùn":[20618,23381,24701,24818,24864,24909,26527,33130,34164,34176,34292,34314,35102,35999,36816,36939,37075,37126,37213,37270,37278,38871,38878,38901,38907,39211],"gòu jiǎng":[20619],"mà":[20620,22044,27050,30576,31043,31137,32629,38273,39393,39554,39701],"bàng":[20621,22621,26834,29604,31254,33365,33953,34607,35607,35876,37770,38225],"diān":[20622,21415,23918,24005,24019,24020,25474,25895,25921,27079,28359,30315,30322,36430,39002,39003,39072,40827],"táng":[20623,21776,21882,22371,22530,22616,25642,26848,27062,28303,28447,29051,29805,30916,31135,31702,31939,31958,31963,33157,33179,33998,34711,34739,36207,36412,37132,37283,37781,38554,39225,39236,40374],"hào":[20624,21728,24655,26122,26150,26215,26272,26276,26285,26317,28009,28111,28564,28751,28765,30355,30364,30366,30369,30373,32791,32853,34179,34399,37143,39013,39074,39965],"xī xì":[20626],"shān":[20627,21024,21034,21116,22328,23665,25403,25639,26613,27270,28536,28568,29053,29414,29642,31512,32319,32692,32694,33056,33314,33439,34923,36314,36565,37014,38282,39877],"qiàn jiān":[20628],"què jué":[20629,22470],"cāng chen":[20630],"róng":[20635,23222,23238,23339,23481,23797,23896,23992,25102,25608,26343,26628,27029,27054,27061,27623,28342,28700,28927,29076,29416,29794,31297,32104,32466,32674,32924,33561,33592,33635,33993,34686,34701,34702,34833,35107,37780,38229,39397],"tà tàn":[20637],"suō":[20638,21766,21965,21990,23057,25677,26731,26797,30531,31761,31764,32679,33679,34001,36246,39867],"dǎi":[20643,27513],"zài":[20644,20750,20877,22312,25175,27909,36617,37224],"gǔ":[20646,21476,21842,23603,24882,27030,27070,27753,28104,28658,28692,29295,30391,30396,30444,30653,31296,32607,32662,32929,33077,33228,34211,34506,34865,35393,35778,36674,36903,37431,38068,39222,39305,40723,40724],"bīn":[20647,23486,24428,25996,26901,28392,28626,28657,28661,28693,32381,32548,34408,35945,35955,36051,36052,37024,37964,38228,38694,39022],"chǔ":[20648,20786,26485,26904,26970,26990,27290,28619,29876,30784,30990,31111,34389,40813,40828],"nuó":[20649,20794,25386,26779,27232],"cān càn":[20650],"lěi":[20651,20769,21437,22418,22593,22744,22760,27344,28741,30295,30667,30922,31016,32786,34124,34174,34271,34365,34845,35460,35716,35796,38008,40467],"cuī":[20652,20951,22676,23828,23903,24923,25703,27057,29525,30954,37849],"yōng":[20653,21960,22665,22725,23262,24248,24305,24949,25317,25793,28413,28745,29253,30152,30293,30320,33219,37013,37114,37144,37854,38235,38605,38621,39252,40005,40153,40411],"zāo cáo":[20654],"sǒng":[20657,23927,24578,24730,24879,24939,31462,32824,32883,39415],"ào":[20658,22387,22407,22714,22881,23279,23705,23728,23988,25034,25817,28595,37834,39489,39580],"qī còu":[20662],"chuǎng":[20664,30946,38358,38383],"shǎ":[20667,20749],"hàn":[20668,22462,24717,25022,25182,25421,25750,25788,26097,26200,26293,27721,28038,28450,28698,28938,29442,30356,30533,32752,33695,33761,34559,34605,34706,35648,36634,37356,37554,37582,38615,38967,38980,39060,39419,40382],"zhāng":[20669,23260,24352,24373,24432,24926,26290,27167,28467,29520,29835,31456,31931,34049,34769,36967,37155,37873,39206,39487,40006,40606],"yān yàn":[20671,22677,23342],"piào biāo":[20676,39584],"liàn":[20678,22556,23201,24651,25088,26973,27539,27566,28229,28491,28592,28722,28860,29001,29779,32244,32414,32451,33840,37676,37706,37832,38142,39946],"màn":[20680,22657,24148,24930,26364,28459,28599,29107,29516,32309,32550,34052,34352,37156,37853,38232],"tàn tǎn":[20683],"yíng":[20684,21942,22603,23348,25869,27001,27391,28289,28299,28386,28486,28633,28634,28660,28677,28699,28704,28719,28752,28764,29074,29151,29801,30401,30408,31132,31837,31855,32264,33556,33639,33721,33828,33829,33830,33854,34021,34240,34509,34631,34687,34722,34821,35597,36111,36194,36814,37795],"dòng":[20685,20923,20941,21160,21205,23003,25113,25359,26635,26847,28265,30800,33e3,33012,33110,36853,38680,39399],"zhuàn":[20686,21869,22208,22559,25776,28791,29777,31686,33118,33923,35144,35668,39244,39316],"xiàng":[20687,21224,21521,22190,23008,23953,26319,27233,29670,32575,34771,34902,35152,35937,37900,38917,39033,40012],"shàn":[20688,21892,22688,22689,23319,25797,25982,26923,27199,27482,27733,28759,30109,30960,32341,32558,33203,34798,34810,35349,35590,35697,35754,36109,36193,36216,37167,37925,39245,39480,39583,40019,40020,40157],"tuí tuǐ":[20691],"zǔn":[20692,22082,25753,35664],"pú":[20693,21261,22308,22691,28654,29531,29854,30632,31321,33670,33744,33769,33889,33969,33970,36108,37242,37879,38244],"láo":[20695,21171,21172,21214,21744,23810,23959,24997,26405,28022,29282,30184,30278,31362,31785,37290,37906,38137,39007,39645],"chǎng":[20696,21424,24288,25950,26166,27653,37625],"guāng":[20697,20809,21667,22425,23023,27960,28782,28823,28826,28827,28897,29654,33009,33578,36612,37543,40646],"liáo":[20698,22073,23293,23525,23534,23582,23658,23930,23962,23963,24299,24960,25977,26296,27217,29536,29849,30103,30274,31426,31773,32346,32557,32842,33163,33195,34260,34783,35906,36095,36440,36797,36988,39113,39630,40431,40553],"dèng":[20700,20979,22705,23965,27336,30634,30964,35252,37011,37159,38565],"chán zhàn zhuàn":[20701],"bō":[20704,23955,25320,25765,25773,27874,28298,29627,30326,30411,30773,30854,31009,32573,33760,34992,36467,37474,38069,39185,39293,39499,40013],"huì":[20705,21295,21321,21913,22034,22166,22298,23314,23533,23670,23671,24407,24409,24410,24507,24666,24693,24800,24935,24979,25075,26214,26291,27109,27230,27269,27352,27719,27851,28377,28499,28905,29172,29545,29860,30650,30794,31229,31330,31730,32117,32362,32472,32729,32765,33631,34087,34137,34184,34185,34794,35439,35496,35569,35667,35711,35763,35826,36036,36159,37932,38368,38419,38759,38958,39018,39058,39215],"chuǎn":[20706,21912,33307,33608,36403],"tiě jiàn":[20707],"sēng":[20711,39705],"xiàn":[20713,20724,21743,22455,22634,23021,23050,23466,23704,23796,25010,25738,26203,27212,27258,28032,28695,29486,29563,29616,29694,30476,30541,31919,31982,32100,32171,32218,32447,32528,32673,32680,33146,33236,33277,33483,33703,35490,35919,37607,37646,38480,38501,38519,38704,39201,39301,40626,40760],"yù jú":[20714],"è wū":[20715],"tóng zhuàng":[20718],"lǐn":[20719,20955,20956,24297,24298,25037,25044,25755,27265,27305,28575,30299,30301],"gù":[20721,20933,22266,22540,23827,23854,25925,26767,26845,29311,30204,31099,37678,38178,38599,39015,39038,39901,40116],"jiāng":[20725,22723,23004,27263,27565,27743,30037,30085,30995,32366,32560,32734,33587,33857,34193,34688,34751,35911,38849,40002,40137],"mǐn":[20726,20922,21025,21188,24751,24829,24845,24924,25003,25279,25923,25935,25967,27887,28515,30399,31522,31549,31778,34848,38292,38313,38389,38397,39989,40152,40701],"jìn":[20728,20954,22116,22157,22672,22743,22935,23335,25634,26185,26187,26499,27555,27989,28024,28301,28613,28636,28908,29025,29180,29710,29800,29878,30433,31090,32265,32537,33641,34254,35250,35280,36078,36112,36166,36817,36827,36914,38771,40829],"jià jie":[20729],"qiào":[20730,23789,24105,25772,27579,31373,31429,35482,35822,36488,38487,38825,38866,39642],"pì":[20731,23218,23251,23617,28604,29971,30088,35692,38370,40447,40458],"sài":[20735,31802,36093,36187],"chán tǎn shàn":[20739],"dāng dàng":[20741,24403,38371],"xuān":[20743,21927,22599,23191,23459,24835,24843,25550,26125,26244,29002,29014,29764,30587,30670,31140,31662,32743,32766,33841,33842,34002,34175,34300,34320,34646,34825,35552,35580,35678,35862,36562,36713,37753,39421,39962],"dān dàn":[20747,25812,30213],"càn":[20751,28591,28799,29158,29864,31922,34194,35634],"bīn bìn":[20752],"án àn":[20753],"tái":[20755,22382,23343,25260,25825,27311,28849,28850,31817,33274,34233,36294,37040,39089,39824,40080],"lán":[20758,20848,22226,23146,23706,23888,24177,25318,25876,26003,26005,26639,27396,27415,28572,28734,28742,28769,29155,29175,29884,31726,31811,31843,32383,33915,34013,34253,34347,34349,35124,35157,35172,35188,35197,35659,35733,35888,36509,37997,38247,38348,38417,38858],"nǐ yì ài yí":[20759],"méng":[20762,24170,26330,26406,27223,27308,27659,28309,28635,29965,30015,30431,31006,33384,33684,33804,34116,34427,34673,37171,37176,38719,38720,39021,39259,39885,40463,40562],"níng":[20764,20957,21659,22144,23331,26592,27235,27320,29406,29552,32845,32889,34228,37967,39713,40459],"qióng":[20765,21357,23430,24824,24972,26703,27241,28970,28973,29026,29069,29756,29898,30552,31351,31353,31406,31430,31547,31559,33340,33557,34257,34285,34537,34540,36217,36331,37019,37518],"liè":[20768,20925,21015,21155,21181,22482,22483,23028,23771,24036,25362,25449,26677,27916,27990,28872,28910,29037,29347,29454,29471,29557,32855,33055,33570,34522,36244,36496,36862,39090,39707,39715,39844,40050,40247],"kuǎng":[20771,22844,25069],"bào":[20772,21245,22577,24513,25253,25265,26323,29190,29350,33762,34403,34475,35961,37451,37988,38087,39602,39665,39825,40077],"biāo":[20774,22658,24150,24426,26631,27161,28398,28684,29083,29186,29451,30253,30950,33176,33237,35620,36102,37858,37987,38230,38259,39086,39095,39110,39111,39112,39114,39121,39129,39130,39531,39561,39647],"zǎn":[20775,20793,22086,25861,26141,36273,36274],"háo":[20779,21989,22071,22097,22158,22741,26883,27612,27627,28640,29510,29524,31443,31815,34461,34836,35705,35946],"qìng":[20780,20938,24198,24950,27366,28650,30851,30956,32580,38744],"chèn":[20781,22187,27015,27372,30114,34924,35183,35734,35894,36225,36226,40787,40788,40832],"téng":[20783,24144,28373,28443,30140,31824,31832,32290,33150,34276,34373,34723,35466,35588,36998,39398,39472,39523,39975],"lǒng lóng lòng":[20785],"chán chàn":[20787],"ráng xiāng":[20788,21239],"huì xié":[20790],"luó":[20792,25886,26916,27407,29473,29568,31657,31854,32599,32645,33078,33121,33821,34367,34746,35260,36923,37007,37837,38012,38179,38233,39264,39486,39512,39585,40449],"léi":[20797,23256,27281,27417,29891,30078,32306,32397,32413,32551,32589,32696,34050,34354,34374,36704,37939,37976,38253,38647,38721,40041,40762],"nàng nāng":[20798],"wù wū":[20800],"yǔn":[20801,21911,22845,25230,27538,27550,29377,30930,33658,36081,37399,38445,38504,38549,38691,39355,40811,40819],"zān":[20802,27253,31786,31790,31948,37909,37919,40292],"yuán":[20803,20870,21407,21409,21429,22253,22278,22286,22290,22291,22435,22636,23220,23236,25588,27038,27052,27260,27358,27781,28274,28304,28306,29232,29480,29503,31502,32227,32257,32536,32689,33554,34199,34653,34671,34696,34945,35108,35612,36677,36757,37005,37031,37211,37416,37809,39477,39789,40354,40368,40703,40715],"xiōng":[20804,20807,20982,21250,21256,21701,24567,24671,27769,27958,33015,33016,33422,35369,35454,35771],"chōng":[20805,22019,24545,24963,24999,25679,27798,28026,29675,32639,32704,33282,33375,33594,34909,36438],"zhào":[20806,22423,26064,26316,26523,27330,29031,29171,29411,30654,31498,32576,32617,32644,32897,32903,32904,35412,35791,36213,36249,39841],"duì ruì yuè":[20810,20812,20817],"kè":[20811,21051,21184,21194,22529,23060,23458,24682,24857,27690,28312,30886,32217,32514,33360,34889,35506,35838,37633,38174,39437,39570],"tù":[20814,20820,22541,36812,40309],"dǎng":[20826,25897,27411,35681,35740,35872,40680],"dōu":[20828,20832,21783,27255,31740,34104],"huǎng":[20836,22875,24140,24627,24653,26180,28862,29056,32296,35428,35594,35854],"rù":[20837,21973,23223,25174,26433,27955,28349,32287,32539,34e3,35109,40176],"nèi":[20839,27677,27678,37655],"yú shù":[20842],"liù lù":[20845],han:[20847,29235],"tiān":[20850,22825,23126,28155,37215,38740,38749,40647],"xīng xìng":[20852],"diǎn":[20856,22200,22860,23152,25951,26915,28857,30872,33959,34119,36398,40670],"zī cí":[20857],"jiān":[20860,20927,22223,22362,22533,22904,23014,23015,23574,24181,24804,25099,25108,25627,26942,27179,27388,27516,27569,27570,28244,28688,28728,29006,29086,29112,29259,29770,30583,31003,31031,31546,31627,32216,32273,32516,32547,32937,33392,33393,33733,33786,33868,33977,34090,34129,34163,34371,35708,35932,37999,38595,38831,38848,38857,39216,39330,39956,39964,39993,40099,40146,40273,40307,40380,40547,40585],"shòu":[20861,21463,21806,22781,22784,23551,25480,29417,29539,29560,30185,30246,32172,32502,33156],"jì":[20862,20864,21058,21092,21137,21219,22358,22413,22600,22931,23395,23490,23492,24301,24401,24475,24524,24760,24782,25083,25216,26081,26082,26083,26280,26281,26305,26782,27285,27317,27918,28419,28424,28721,30197,30304,31133,31273,31287,31300,31306,31335,32e3,32153,32318,32331,32380,32487,32489,32637,33262,33456,33549,33572,33898,34015,34055,34186,34318,34350,34363,35034,35136,35244,35274,35336,35352,35467,35745,35760,36321,36349,36447,36857,38469,38555,38657,38717,39525,39589,39675,39742,39773,39781,39898,39933,39990,39999,4e4,40045,40090,40107,40267,40401,40780],"jiōng":[20866,20875,22384,22491,25155,34319,34324,39369,39403],"mào":[20867,20880,23202,24125,24855,25035,26259,26581,26969,27639,29761,30339,30474,30592,32772,33538,33850,34640,34980,35218,35980,36031,36152,37146,37166],"rǎn":[20868,20873,22988,23203,26579,29635,33490,33925],"nèi nà":[20869],"gāng":[20872,20910,21018,21083,22536,22589,23713,25478,25667,26849,29288,29317,30104,32177,32434,32568,32577,32609,32923,37357,37792],"cè":[20874,20876,21397,21408,22824,24257,24699,24827,24993,25927,27979,28204,31527,31574,31582,31604,31651,33629,33815,33844,34011],"guǎ":[20878,21072,21102,21479,23521],"mào mò":[20882],"gòu":[20883,21826,22392,22434,22815,22816,23230,24384,25606,25728,26500,27083,29049,35247,35279,35389,35436,35807,36092,36141,36952,38602],"xǔ":[20884,21923,26250,26665,29661,30440,31944,35425,35583,35817,37158,37265],"mì":[20886,20906,22055,22611,23483,23494,23770,24130,24142,24166,24637,27027,27154,27329,27752,28135,28405,28446,28631,29072,32643,34084,34588,35219,35220,35227,35269,35600,35879,40719],"yóu yín":[20888],"xiě":[20889,20905,34267],"jūn":[20891,21531,22343,26750,27758,30386,30392,30393,30853,33689,34448,34944,35232,36557,37406,37505,37534,37717,38055,38965,39862,40106,40591],"mí":[20894,25823,28720,29218,29461,29564,31074,31152,32315,33982,34252,34346,34364,34990,35448,35598,36855,37274,37310,37311,37316,38270,40461,40586,40587,40603],"guān guàn":[20896,35212,35251,35264,35266],"měng":[20897,21200,25077,25529,29467,29556,33355,34594,34835,37683,38192,39917,40710],"zhǒng":[20898,22618,23600,27505,28996,30215,32959,33131,36405],"zuì":[20899,23989,26220,26368,26668,27100,27271,27276,31101,32074,32618,34142,36768,37204,37243,37257,37642],"yuān":[20900,21064,22246,23357,23491,26857,28149,28161,28166,28170,28181,28737,30498,32921,33918,33964,34574,34613,39372,40182,40219,40311,40482,40499,40531,40728,40733],"míng":[20901,21517,26126,26269,26393,27040,27962,28319,29501,30464,30515,30609,33559,34719,35245,35450,37133,37528,38125,40180,40483],"kòu":[20902,21481,23484,23495,25187,25922,28401,31387,31576,31750,34098,34107,37350,40391],"tài":[20909,22826,22835,24562,24577,24907,27760,27761,27888,28313,32957,33318,37214,37414,38043],"féng píng":[20911,39342],"chōng chòng":[20914],"kuàng":[20917,22329,22745,23730,25068,26103,26175,26336,26694,27841,29196,30486,30518,30719,30783,31014,31340,32075,32086,32394,32425,36026,36150,36582,37021,37178,37489,37595,37979,40651],"lěng":[20919],"pàn":[20920,21028,21467,27804,27886,28351,28813,29257,30036,30460,34978,35195,35402,37612,38011,38934,40293],"fā":[20921,24386,27831,30330,30332],"xiǎn":[20924,23583,23584,23812,23982,24176,25863,26174,27382,27624,28774,28877,29177,29405,29443,29547,29550,29569,31122,31557,31666,34259,34330,34476,34566,35683,36219,36323,37708,38505,38522,38570,38853,38997,39023],"qià":[20926,22326,24098,24688,27534,27965,30792,32994,39618],"jìng chēng":[20928,20936,28136],"sōu":[20929,21974,24256,24267,25436,25628,25673,28338,29504,33368,33936,34699,37131,37273,37802,38204,39100,39125,39231,39306,39466],"měi":[20930,23172,23226,23309,23876,25396,27598,27599,28028,28220,29144,32654,36542,37762,38209,40675],"tú":[20931,22259,22270,22294,22295,22615,23648,23801,23902,24233,24284,24466,24711,25580,28034,30223,31585,33135,33660,33956,36351,36884,37236,37423,37710,39327,39420,40268,40351,40395,40437],"zhǔn":[20934,20950,22523,28310],"liáng liàng":[20937,28092,37327],"diāo":[20939,20993,21023,21500,22877,24372,24427,27720,29745,30857,31763,34413,34497,35970,37677,38613,39817,39899,40119,40304,40742],"còu":[20945,28234,33120,36659,36751],"ái":[20946,21824,22026,25457,28336,30284,30353,30362],"duó":[20953,21099,22842,22890,30181,36401,37420,37944,38094],"dú":[20959,21301,23355,26911,27357,27568,28060,29261,29272,29322,29346,29420,29544,29892,30398,35067,35501,35712,35743,35908,36117,37654,37983,38855,38883,38885,39475,39633,40681,40695],"jǐ jī":[20960],"fán":[20961,20962,20963,21285,22694,26443,26569,26853,27146,28735,28902,29033,29140,29856,30718,31020,31538,31861,32208,32691,33316,33319,34208,34345,34844,35150,36463,37353,37895,37922,38034,40429],"jū":[20965,21258,23093,23150,23621,23820,25221,25398,25516,26798,26896,27275,27625,27633,27843,28090,29401,29722,30141,30752,32605,33106,33357,34587,35070,35530,36308,36376,36537,38513,38606,38816,38827,39378,39545,39816,40225,40331],"chù chǔ":[20966,22788],"zhǐ":[20970,21159,21675,22336,22375,24075,24649,25210,25351,26088,26547,27490,27750,27802,27924,28157,30139,30731,31049,31190,32025,32440,33463,33547,34274,34937,35175,35368,36286,36601,36725,37231,38447,40697],"píng":[20973,20980,21615,22378,22592,23740,24097,24114,24136,24179,24959,24977,26544,27956,28969,29622,29942,29953,31470,31667,31752,32574,33619,33805,34033,34482,34530,35413,35780,36607,36647,37105,39811,40070],"kǎi":[20975,20977,21056,21108,22450,22607,24698,24887,24936,26271,33928,36614,37703,37799,38112,38196,38355,38399,39101],"gān":[20978,22377,23602,23604,23606,23607,26577,27860,28455,29589,29976,30131,30712,31487,31608,31891,32925,33527,36800,37200,39760],"kǎn qiǎn":[20981],"tū":[20984,22551,23936,25464,28043,28261,30172,31167,31171,31361,33878,37621,40282,40757],"āo wā":[20985],"chū":[20986,21021,23680,25716,27019,27159,35993,40803],"dàng":[20988,22325,22449,22731,26723,27284,27705,29847,29949,30442,30602,30720,30893,30993,31772,33633,33770,34153,34351,36260,36927,38652],"hán":[20989,20990,21547,22277,23074,23506,23841,26199,26770,27995,28085,28559,28947,29696,29981,31592,34604,37015,37039,37601,38867,38889],"záo":[20991,38015],"dāo":[20992,20994,24521,27672,33312,34729,37334,39771,40061],"chuāng":[20997,25680,29262,29269,30126,30241,31379,31383,31419],"fēn fèn":[20998],"qiè qiē":[20999],"kān":[21002,21208,22570,25121,26654,40853,40859],"cǔn":[21004,24534],"chú":[21005,21416,24174,24282,27249,27337,27365,28353,29331,31720,32801,33467,33954,33965,34573,34805,35936,36238,36464,36487,36501,37455,37604,38148,38500,38607,38619,40373],"huà huá":[21010],"lí":[21013,21075,21114,21145,21400,21937,22175,22212,23264,23415,24306,24737,26792,26808,26819,28435,28757,29313,29314,29432,29709,29827,29896,30432,30557,31163,31346,31472,31587,31729,31852,31950,32301,32545,32633,33347,33650,33758,34016,34110,34268,34362,34570,34765,34808,34859,35125,35623,35981,37288,37611,37637,37867,37975,38626,39530,39562,39887,39916,40058,40097,40313,40477,40514,40654,40679],"yuè":[21014,23347,23684,23731,23997,24689,24709,24742,25097,25224,25459,26376,27198,28729,29210,29605,31039,31156,31703,31814,31845,31856,31908,31925,34341,34446,34447,35500,36234,36288,36291,36493,36559,37381,37470,38e3,38074,38321,38322,38405,40465,40473,40678,40864],"liú":[21016,21129,22176,23225,23911,26056,26066,27060,27210,27969,27983,28687,29705,29792,29804,29858,30020,30041,30065,30081,30244,30277,30827,33957,33989,34761,35031,37775,37840,37890,38240,39104,39109,39127,39392,39413,39470,39505,39581,39969,40377,40544,40589],"zé":[21017,21063,21863,22038,23271,24123,24152,25246,27149,27509,27810,27854,28333,30367,30612,30688,30987,31654,31744,33332,34102,34828,35159,35630,36094,36188,36846,40453,40794,40816],"chuàng chuāng":[21019,21109],"qù":[21022,21434,21435,38324,38339,38418,40622,40705],"bié biè":[21029,21035],"páo bào":[21032],"chǎn chàn":[21036,21079,24157],"guā":[21038,21120,26736,27460,29041,29916,32973,36411,39082,39091,39463,40240,40505],"gēng":[21039,24218,26921,28013,28991,30026,32090,32686,32697,32789,33774,36065,36179,40330,40530],"dào":[21040,22133,24764,26913,27300,29182,29913,30423,30428,31282,31291,32411,32767,33364,33791,34908,34911,36551,36947],"chuàng":[21041,21071,21081,24582,24884],"kū":[21043,21741,22288,22528,26543,26701,30715,31391,36301,37056,39607,39852],"duò":[21044,21057,22703,23598,24816,24988,25349,26711,33333,36325,36346,38474,38479,39167,39283,40317],"shuā shuà":[21047],"quàn xuàn":[21048],"chà shā":[21049,21070],"cì cī":[21050],"guì":[21053,21055,21130,21132,25740,25904,26123,26690,26914,27126,27195,27331,29476,31148,31552,34005,35160,36020,36149,36330,37888,37966,38844,40022,40037],"lóu":[21061,23044,23105,24276,27004,27155,28295,28426,29089,32807,32812,33371,33932,34078,34684,34747,35633,36545,36977,38843,39621,39631],"cuò":[21065,21074,21405,22798,25387,25514,26852,33693,33697,33996,36906,37564,37679,38153,38169],"xiāo xuē":[21066],"kēi kè":[21067,23557],"là lá":[21068],"tī":[21076,26799,36386,37563,38161,40392,40393],"pōu":[21078],"wān":[21084,22598,22762,24117,24367,24398,28286,28523,28771,30549,34623,35916],"bāo bō":[21085,21093],"duō":[21087,21636,21702,22153,22810,22811,25479,27634,30035,35056],"qíng":[21088,21197,22813,24773,25806,26228,26258,26878,27144,27296,27696,29984,30808,33885,40677],"yǎn shàn":[21089],"dū zhuó":[21090],"yān":[21094,23267,23846,23958,24697,25045,25064,27182,28106,28153,28473,28895,28937,28945,29017,29658,31734,33005,33241,33784,37154,37251,38329,38409,40683],"huō":[21096,21136,21529,25865,31220,32800,38186,39454],"shèng":[21097,21104,21213,22307,22701,23882,26208,27066,27251,29726,32854,34114,36025,36088],"duān zhì":[21100],"wū":[21101,21596,21978,22316,23627,24043,24345,26439,27469,27737,27738,27745,27967,28879,31375,31676,34704,35464,35491,35820,37036,37140,37794,38056,39966,40238],"gē":[21106,21733,22314,24385,25096,25107,25128,27468,28370,29365,32912,35004,35596,37814,40218,40255,40509],"dá zhá":[21107],"chuán":[21110,26295,26941,31685,33313,33321,33337,36658,36932],"tuán zhuān":[21112,28441,31743],"lù jiū":[21113],"pēng":[21115,21257,22061,24614,24690,25256,26760,28921,30768,36591,39373],"piāo":[21117,21217,24915,26074,29349,32754,34741,39107,39108,39128,39762],"kōu":[21118,24388,25248,25715,30477,30616,33444],"jiǎo chāo":[21119,21131,21222,25719],"qiāo":[21121,21226,22685,24167,25970,27207,27587,29126,30807,30973,32337,36268,36343,36365,36474,36475,37115,37153,37157,37739,37740,37936,38201,38941],"huá huà":[21123],"zhā zhá":[21124],"pī pǐ":[21128,24706],"tāng":[21135,22049,32688,34202,34666,36442,38842,40734],"chán":[21142,22197,22757,23157,23307,24009,24283,26830,27610,28281,28537,28538,28598,28685,28730,29016,29521,30939,32254,32399,32402,32544,33388,34633,34768,34796,34814,35479,35730,35863,36500,37181,37185,37579,38001,38261,39262,39307],"zuān":[21143,36508,36518,37446,37978],"mó":[21144,23275,23332,23351,23579,25721,25845,27205,31970,33180,34278,34321,35624,35625,35871,39235,39261,39309,39629,39764,39801],"zhú":[21146,26040,26351,27416,28767,28834,28891,29165,29221,30211,31481,31489,31516,33331,33599,34027,34827,34878,36485,36880,36907,38019,40001],"quàn":[21149,21223,21240,29302,38863],"jìn jìng":[21156,21170,21185],"kēng":[21157,22353,29308,30785,30812,35481,37557,37726,37847,38143,38444],"xié liè":[21158],"zhù chú":[21161],"nǔ":[21162,24361,30766,33004],"shào":[21165,21362,21736,28530,32057,32164,32461,34961,37045],"miǎo":[21168,26474,28156,28218,30471,31186,31694,32242,32520,34256,37e3],"kǒu":[21174,21475],"wā":[21176,22380,23090,23207,23666,25366,25896,27964,28315,28453,29950,30038,31349,31370,31402,34521,38856,40707],"kuāng":[21179,21281,21289,21712,24647,27949,31568,31610,35462,35795,36589,37052],"hé":[21182,21642,21853,22976,23750,25926,26359,26567,26945,27644,27827,28088,28206,28565,29062,30380,30407,30409,30413,30418,31166,31701,31866,31917,32750,33743,33794,35208,35384,35429,37059,37339,37452,37961,38305,38356,38402,38422,38824,38940,39172,39288,39802,40534,40615,40789,40833,40866],"gào":[21186,21567,21578,23804,31086,31088,31134,31606,35493,35824,37084,37615,38150],"bó bèi":[21187],"láng":[21190,23247,24266,25999,26745,27028,27139,27444,29436,29701,29807,30816,31234,33350,33992,34571,34690,36532,37074,37086,37571,37807,38162],"xūn":[21195,21211,21234,21235,22161,22339,22489,22628,22734,22758,26331,29179,29551,30660,32385,33232,34219,34224,34317,37306],"juàn juān":[21196,29945],"lè lēi":[21202],"kài":[21203,28812,28887,37774],"wěng yǎng":[21212],"qín":[21220,21994,22105,23964,24200,25027,25028,25446,25810,26035,27278,28607,29665,29748,29753,30269,31165,31206,32825,33449,33465,33766,34707,34820,37401,37419,38594,38770,40185,40301],"jiàng":[21221,21278,21280,23929,24348,24374,25726,27364,27930,28400,29343,31969,31976,32115,32475,35645,37233,37284,37292],"fān":[21227,23311,24070,24161,24539,24995,26073,26075,32345,32763,34281,36691,39103,39132,40021],"juān":[21228,23010,23071,25424,28051,34866,35024,37816,37931,38220,40515],"tóng dòng":[21229,28884,29137,29418],"lǜ":[21236,22415,23874,24459,24942,27695,28388,28670,29192,31675,32160,32322,33183,33870,34385,37986],"chè":[21238,22396,24443,24505,25507,25764,28552,28898,29217,30638,30825,32837,36832,38937],"sháo":[21242,29631,38902],"gōu gòu":[21246],"cōng":[21254,22250,22257,24553,24625,24740,26288,27180,28439,29821,29825,30619,31733,32369,32865,32870,32874,32880,33473,33552,33905,34031,34085,34764,37743,37843,37862,39448,39492,39586],"táo yáo":[21259,38518],"páo":[21263,21638,22409,24214,29230,29389,34957,35100,36595,38788,40581],"dá":[21266,22962,24603,28831,29173,30051,31530,32653,33625,34200,34813,35418,36798,36815,36822,36826,36921,36948,37949,38780,38801,38851,40854,40856],"huà huā":[21270],"běi bèi":[21271],"nǎo":[21272,22452,22550,23248,24700,24745,24817,29785,30895,33041,33075,33126],"chí shi":[21273],"fāng":[21274,22543,26041,28115,29285,33459,37025,37377,37690,38059,40203],"zā":[21277,21634,24064,27806,33244,33250,36810,37460,39795],"qiè":[21287,21394,22974,24623,24719,24812,24860,25352,31317,31363,31434,31521,31655,31691,31841,36389,37733,38194,39900],"zāng cáng":[21288],"fěi":[21290,22876,24753,26832,27047,31706,32737,34140,35513,35837],"kuì guì":[21294,21297],"suǎn":[21300],"pǐ":[21305,22141,22189,22318,24192,30174,30294,33076,33481,37538,40196],"qū ōu":[21306,21312],"kē qià":[21308],"yǎn yàn":[21309,26858],"biǎn":[21310,24828,25561,30885,31272,31366,34250,35082,36022,36140,40216],"nì":[21311,22532,23263,23354,24772,24885,26165,26289,27708,30500,30568,32268,32978,33147,33193,36870],"niàn":[21316,21816,22493,24319,24565,24791,33356],"sà":[21317,27346,33038,33832,34159,34217,37394,38561,39087,39122,39354],"zú":[21318,21739,23850,26063,31652,36275,36388,38238],"shēng":[21319,21583,22768,26008,26119,26363,26529,27525,27881,28262,28986,29298,29636,29983,29989,31444,31513,32882,37454,37727,38441,38494,38521,40319,40746],"wàn":[21325,21328,24552,26468,30627,33045,33109,33836,34755,36110,36624,37693],"huá huà huā":[21326,33775],"bēi":[21329,24754,25593,26479,26734,30403,30865,34275,40303,40526],"zú cù":[21330],"dān shàn chán":[21333,21934],"nán nā":[21335],"shuài lǜ":[21339],"bǔ bo pú":[21340],"kuàng guàn":[21341],"biàn":[21342,21464,22793,23749,24321,24487,24557,25219,26154,27763,27764,29603,33361,33476,35213,35546,35722,36769,36775,36776,36777,36779,36782,36783,36941,37318],"bǔ":[21343,21754,25429,34917,35036,40468],"zhàn zhān":[21344,35249],"kǎ qiǎ":[21345],"lú":[21346,22183,22406,22746,24208,24300,26341,26534,26636,27368,27896,28696,28809,29200,29561,29576,29904,30439,30673,31834,32401,32591,33002,33242,33326,33339,33387,33446,34310,34854,36708,36723,37417,37994,39025,39045,39359,39639,39794,40056,40072,40469,40492,40696],"lǔ":[21348,22647,25523,25796,27152,27257,27347,27660,28407,28571,28674,30837,30944,31326,33379,33386,34046,34383,34396,37824,37930,37989,38245,39791,40065,40565],"guà":[21350,21865,25346,25499,32611,35074,35455,35798],"áng yǎng":[21356],"yìn":[21360,22461,22583,24277,24941,24982,24983,25050,27925,28250,29452,30282,32996,33562,37235,39843],"què":[21364,21371,22617,23813,24747,24872,24932,25609,27063,29161,29751,30389,30830,30906,31021,38347,38421,40306,40522],"luǎn":[21365],"juàn juǎn":[21367,24059],"chǎng ān hàn":[21378],"wěi yán":[21379],"tīng":[21381,21403,21548,24193,24304,24307,27712,28867,28916,32142,32787,32884,32892,32893,38803],"zhé zhái":[21383],"hàn àn":[21384,23677],"yǎ":[21386,21782,24204,30166,30210,34149],"shè":[21389,21401,24381,24913,24948,25086,25666,27399,28041,28091,28169,28384,28740,31038,33294,34062,34818,35373,35774,36198,39431,40605],"dǐ":[21390,21607,22360,24356,25269,25310,25483,29300,30757,33767,35293,35398,35787,36583,37048,38458,39606,39923],"zhǎ zhǎi":[21391],"páng":[21392,23246,24222,24492,33152,33341,34691,36868,39967,40145,40846,40848],"zhì shī":[21396],"máng":[21398,21506,21732,23055,24537,24702,26455,26471,27730,27997,29307,30173,30450,30829,31488,33426,33579,34313,37017,37359,37609,38099,39417],"zuī":[21404,27190,32407,34773],"shà xià":[21414,24264],"áo":[21419,22007,22008,24274,25942,28406,29522,29523,29832,32753,32758,32762,32881,34076,34735,35639,35640,36968,37846,38558,39986,40140,40404,40711],"lán qiān":[21425],"sī mǒu":[21430],"gōng hóng":[21431],"lín miǎo":[21432],"qiú róu":[21433],"dū":[21438,22047,30563,37263],"xiàn xuán":[21439,32291],"cān shēn cēn sān":[21442,21443,21444,21445],"ài yǐ":[21446],"chā chà chǎ chá":[21449],"shuāng":[21452,23360,23367,27398,31029,33389,38617,38684,39483,39526,39590,40414,40472,40564],"shōu":[21454,25910],"guái":[21455],"bá":[21456,22957,25244,25300,28838,30329,32968,33543,33757,35417,36299,36599,39747,40741],"fā fà":[21457],"zhuó yǐ lì jué":[21461],"qǔ":[21462,23094,31468,34682,35411,40818,40843],"jiǎ xiá":[21466,24486],"wèi yù":[21470,23561,34074],"dié":[21472,22436,22558,23756,24137,24654,24821,25116,26337,27548,27662,29251,29266,29918,30067,30082,30089,30090,30879,32112,32470,32778,32779,32965,33363,33525,34600,34678,35083,35396,35548,35853,36334,36416,36845,38267,39944,40125,40233],"ruì":[21473,26520,27757,29790,30591,33454,34443,34617,37555,37613,38160],"jù gōu":[21477],"lìng":[21478,21604,28841,34342],"dāo dáo tāo":[21480],"zhī zhǐ":[21482],"jiào":[21483,21580,22018,22054,22093,23315,25997,26016,28376,28438,29541,29651,30381,31382,34272,35334,35685,36269,36611,36686,36735,36739,37237,37294,37314],"zhào shào":[21484],"kě kè":[21487],"tái tāi":[21488,33492],"pǒ":[21493,23552,31544,31653,37461,38071,39370],"yè xié":[21494],"hào háo":[21495],"tàn":[21497,22022,25506,27470,28256,28845,30899,33301],"hōng hóng":[21503],"miē":[21504,21673,21750,23405],"xū yū yù":[21505],"chī":[21507,21735,21931,21988,22084,22939,23224,24424,24434,25691,25889,27558,29947,30196,30305,30517,30621,31518,31898,33013,34473,34733,35381,39761,40223,40260,40497,40656,40797],"xuān sòng":[21509],"yāo":[21510,21907,22829,22934,24186,26950,27520,31045,33136,33917,35358,36992,40193,40226],"zǐ":[21511,22985,22986,23376,26445,26771,27039,27252,28371,30711,31213,31531,31869,32043,32788,34424,35391,37352],"hé gě":[21512,40068],"cùn yīngcùn":[21515],"tóng tòng":[21516],"tǔ tù":[21520,21771],"zhà zhā":[21522,22867],"xià hè":[21523],"ā yā":[21526],"ma má mǎ":[21527],"lìn":[21533,24673,24715,27209,28955,29968,33190,34106,34298,36035,36161,36472,36495,36505,36522,36709,38325],"tūn":[21534,26302,26396,28958],"bǐ pǐ":[21537],"qìn":[21538,21539,21786,25227,25599,25607,25779,27777,28697,33763,34301],"jiè gè":[21540],"fǒu pǐ":[21542],"ba bā":[21543],"dūn":[21544,22136,22697,22698,24775,25737,25780,29340,29540,30981,34611,36478,39504],"fēn":[21545,24073,26128,26374,26788,26875,27675,31445,32027,32439,32706,33452,34927,35356,36526,37210,37398,38640,39220,39257,39322],"é huā":[21546],"kēng háng":[21549,22932],"shǔn":[21550],"zhī zī":[21553],"yǐn shěn":[21554],"wú":[21555,21556,21577,22706,23807,26791,27206,27595,27926,28015,28961,29688,29841,31078,33436,33571,33665,34154,34568,34801,35669,37082,37593,38139,39875,40272,40417,40512,40751],"chǎo chāo":[21557],"nà nè":[21558],"xuè chuò jué":[21559],"chuī":[21561,28810,40865],"dōu rú":[21562],"hǒu":[21564,29372],"hōng hǒu ōu":[21565],"wú yù":[21566],"ya yā":[21568],"è e":[21571],"dāi":[21574,25051,29507],"mèn qǐ":[21575],"hōng":[21581,22173,25544,28788,28888,28962,30817,34216,35335,35902,36579,36663,36703,36720,37735],"chǐ yīngchǐ":[21582],"nà":[21584,25466,31517,32013,32435,32941,33971,34930,35965,35968,36572,37069,37385,38048,38777,39798],"tūn tiān":[21585],"ḿ":[21586],"dāi tǎi":[21588],"ǒu ōu òu":[21589],"bài bei":[21591],"yuán yún yùn":[21592,21729],"guō":[21593,21871,22035,22490,22557,22670,23838,24393,24397,25046,29459,30225,32850,34632,34760,37101,37403,37707,38149],"huá qì":[21594],"qiàng qiāng":[21595,36292],"shī":[21598,22833,23608,23629,24072,24107,26045,27977,28260,28287,28334,28348,28629,29422,29509,29793,32065,33913,33938,33997,34417,34664,35127,35193,35433,35799,37055,37315,37447,37734,39924,39972,40122,40178,40190,40371,40484],"juǎn":[21599,22477,33223,33764,37640,38185],"pěn":[21600,32760],"wěn mǐn":[21601],"ne ní":[21602],"ḿ m̀":[21603],"rán":[21605,22059,28982,29123,32334,32944,34470,34490,34939,34951,34977,39653,39663],"tiè chè":[21611],"qì zhī":[21614],"zǐ cī":[21616],"guā gū guǎ":[21617],"cī zī":[21618],"hǒu xǔ gòu":[21620],"hē ā á ǎ à a":[21621],"náo":[21622,22802,23793,23977,24014,25376,25747,29489,30791,34546,34799,35401,35658,37891,38105],"xiā gā":[21623],"pēi":[21624,24588,32935,32986,34883,37253],"háo xiāo":[21626],"mìng":[21629,25525],"dá dàn":[21630],"zuǐ jǔ":[21632],"xián gān":[21633],"pǒu":[21637,21731,29315],"yǎng yāng":[21641],"zǎ zé zhā":[21643],"hé hè huó huò hú":[21644],"hāi":[21645],"dā":[21649,21714,22112,22710,25645,25752,32823,35105,37789],"kǎ kā":[21652],"gū":[21653,21762,21763,22993,23284,23396,24044,24045,26599,27245,27837,27858,31250,31519,31629,31643,31696,32603,33533,33735,33776,33991,35290,36593,36594,36721,36764,37220,37426,39829,40227,40490],"kā gā":[21654],zuo:[21655],"lóng":[21657,22184,23952,24003,24004,26173,26344,26407,26634,27102,27379,28272,28381,28427,29206,29649,29903,30275,30508,30675,30779,31025,31026,31423,31452,32843,32894,32999,33551,34338,34858,34860,35185,35909,37863,37992,38707,38727,39521,40471,40845,40850,40857],"xiàn xián":[21662],"qì":[21664,21805,22096,22120,22817,24323,24967,25001,26275,26820,27435,27668,27671,27683,27732,27773,27875,28230,28231,28801,29960,30453,30709,30875,30902,30940,30951,32586,33438,33914,34258,34815,35350,35755,36804,37905],"xì dié":[21669],"liē liě lié lie":[21671],"zī":[21672,21982,22997,23039,23388,23411,23414,23856,23915,26661,26900,28100,28285,28363,28588,29574,31116,31222,31906,32014,32199,32213,32387,32513,33546,33586,33880,35566,35864,36018,36039,36160,36164,36220,36241,36262,36636,36666,36750,37137,37421,37657,37759,37793,38193,38211,38974,38975,39661,39892,39974,40123,40325,40722,40781,40796,40839],"mī":[21674],"jī xī qià":[21677],"gē luò kǎ lo":[21679],"shù xún":[21680],"zán zá zǎ zan":[21681],"hāi ké":[21683],"huī":[21684,22085,22101,23118,23176,24145,24509,24674,25339,25381,25582,26198,26249,26958,27907,28680,28784,28787,28899,30579,31112,32730,32748,34355,34950,35096,35452,35801,35927,36637,36745,39988,40638],"huài shì":[21686],"táo":[21687,21845,26691,27310,27950,28120,31097,32175,32505,33796,34602,35050,36847,36867,37252,37630,38784,38793,39232,39395,39434,40727],"xián":[21688,21859,23092,23097,23153,23244,23290,23291,24358,25382,25743,28046,28282,28566,29961,30187,30279,30286,32067,32984,33335,34262,34495,34525,34900,34904,35512,35572,36066,36114,36132,36657,37262,37532,37990,38289,38386,40435,40436,40444,40519,40569,40601],"è àn":[21689],"xuān xuǎn":[21690,28892],"wāi hé wǒ guǎ guō":[21692],"yàn yè yān":[21693],"āi":[21696,21710,22467,28350,37552,37764,38207],"pǐn":[21697,27008],"shěn":[21698,23158,23352,23457,23479,23529,24350,26315,28182,28683,30635,30692,30695,35262,35360,35543,35717,35842,35849,37029,38947,39787],"hǒng hōng hòng":[21700],"wā wa":[21703],"hā hǎ hà":[21704],"zāi":[21705,26685,28221,28328,28797,28798,28886,30581,36083],"dì diè":[21707],"pài":[21708,27808,27966,28178,28227,33934,37763],"gén hěn":[21711],"yǎ yā":[21713,38597],"yuě huì":[21717,22118],"nián":[21718,24180,31178,31205,39822,39920,40071,40118,40263,40655],"huá huā":[21719,22057],"jì jiē zhāi":[21724,22156],"mōu":[21726],"yō yo":[21727,21938],"lòng":[21730,26759,36122],"ò ó é":[21734],"lī lǐ li":[21737],"nǎ na nǎi né něi":[21738],"hè":[21740,22414,22737,23497,24786,28931,28994,29178,29184,30283,30859,32751,35088,35614,36032,36154,36203,38733,38734,38735,40372,40470,40548],"bō pò bā":[21745],"zhé":[21746,21856,21894,22174,22481,24714,25722,26210,26211,27517,30714,30739,30932,31863,31885,34420,34544,34756,34985,35423,35627,35642,35713,35723,35882,36626,36633,36685,36740,36761,39871],"liàng láng":[21748],"liè lǜ":[21751],"hān":[21755,25e3,34486,35901,37219,38919,39032,39328,39805,40766],"hēng hng":[21756],"gěng":[21757,22466,23802,25389,26775,32134,32480,32831,33668,37088,39614,39873,40096],"chuò yuè":[21758],"gě jiā":[21759],"bei bài":[21764],"hán hàn":[21765],"chún":[21767,28017,28283,28387,28440,29321,32020,32431,33059,33724,33939,34036,37255,37269,37662,38489,39897,40329,40529],"ài āi":[21769],"jiá qiǎn":[21770],"yán dàn xián":[21772],"chē":[21779,30743,30824,33687,34556],"wú ńg ń":[21780],"zào":[21781,21795,22122,24933,26765,28790,29040,29157,30337,30338,31427,31432,31753,33345,35679,36270,36481,36896],"dí":[21785,21831,22016,22145,23265,24312,25932,25973,26769,28068,28364,29380,31515,31860,31988,33494,33659,34059,34064,34273,35263,35276,35956,36842,38766,38932,39344,39650,40464],"gòng hǒng gǒng":[21789,21962],"dóu":[21790],"lào láo":[21792,22062,24998],"liǎng yīngliǎng":[21793],"huàn":[21796,21914,22850,22864,23462,23880,24187,24739,24844,25442,25563,25808,25868,26777,27125,28003,28067,28185,28470,28579,28873,28949,29029,29773,30186,30227,30534,32914,34279,35938,36696,36909,39879,39926,39936,40105],"léng":[21797,22596,26974,30864,34192],"wō wěi":[21801],"fěng":[21802,35202,35575,35773],"yín jìn":[21803],"hǔ xià":[21804],"wéi":[21807,22260,22285,22749,23767,23774,23916,24079,24119,24131,24799,26693,27817,27912,28064,28235,28296,28493,28505,28543,28656,29353,30656,32173,32500,34038,35257,36829,36949,37164,37248,37711,38344,38385,38859,38886,39840],"shuā":[21808],"chàng":[21809,24581,24757,26274,28987,30021,30076,35503,38868,39727],"ér wā":[21810],"qiàng":[21812,28829,29079,32699],"yō":[21815],"yū":[21817,28132,30208,30419,31626,32006,32417,36796,36802,36803,38483],"lài":[21819,28625,28712,28716,30302,30313,30544,30558,31809,31839,34302,36058,36084,36169,36182,38972,38978,40291],"tuò":[21822,23966,26589,27620,27643,31656,31836,33818,34304,36293],"zhōu zhāo tiào":[21825],"kěn":[21827,22438,22718,24691,25031,32910,32943,32955,35940,37689],"zhuó zhào":[21829,28655],"hēng hèng":[21832,24729],"lín lán":[21833],"a ā á ǎ à":[21834],"qiāng":[21836,22004,23944,25109,25700,26024,26538,27085,28332,29252,29456,29511,32652,32663,33108,34595,35602,37848,38166,38197],"tūn zhūn xiāng duǐ":[21837],"wèn":[21839,22927,25598,25653,29882,38382,38992],"cuì qi":[21840],"dié shà jié tì":[21841],"yuē wā":[21848],"zǐ cǐ":[21849],"bǐ tú":[21850],"chuò chuài":[21852],"yǎ yā è":[21854],"fēi":[21857,23123,23124,25161,26243,28164,29446,32203,32495,35062,38671,38750,38751,39131,39133,39134,39205,39329,39441,39451,39905,40113],"pí":[21860,22720,26503,27607,27608,28983,29749,30130,30382,31738,32628,32646,33086,33111,33165,34445,34493,34609,34743,34863,35964,35988,37099,37433,38448,38516,38566,39790,39821,40079,40295,40729],"shá":[21861],"lā la":[21862],"yīng qíng":[21864],"pā":[21866,22929,33317,33897,36276],"zhě shì":[21867],"sè":[21868,21959,25038,25804,26652,27502,28073,28171,28544,28545,28615,28623,28690,29791,29873,30263,31313,31329,31343,32364,35653,36694,37547,37884,38127,39115],"niè":[21870,21995,22107,22169,22209,22227,22332,23420,23421,23922,23981,24021,24071,25948,26559,27127,27377,28037,28284,30150,31710,31819,31985,31989,32834,32886,33260,33266,34326,34853,35736,36354,36375,36377,36433,36513,37660,37811,37960,38007,38016,38218,38221,38353,38503,38537,39027,39070,40807],"luō luó luo":[21872,22217],"tān chǎn tuō":[21876],bo:[21877,34068],"dìng":[21878,23450,26903,30708,30855,30880,30968,32866,33114,33827,35330,35746,37664,38189,38977,39139,39268],"lāng":[21879],"án ān":[21885],"kā":[21888,25814],"yóng yú":[21889],"lā lá lǎ":[21895],"jiē":[21896,21948,21983,22566,23192,25509,25522,25809,28253,29039,30102,30158,30308,30342,31224,31277,33083,34644,34903,35631,38454,38542,38786,40347],"hóu":[21897,24127,29492,30218,30586,31692,31943,32749,33876,37127,37741,39217,39610,39928],"dié zhá":[21899],"wāi":[21902,27498,31477],"nuò rě":[21903],"xù huò guó":[21904],"zán":[21906],"wō ō":[21908],"hú":[21910,22045,22251,22774,22775,22778,23209,24359,25648,26011,26972,27122,28246,28715,28928,29043,29392,29474,29786,29939,31670,32087,32288,32993,33899,34075,34676,34716,34906,35315,37264,37752,38966,39212,39693,39793,39959,40288,40344,40358,40533],"huàn yuán xuǎn hé":[21915],"xǐ":[21916,22221,22736,23651,24473,24985,26546,27250,27478,28423,29626,29885,30678,31143,32304,33864,33912,34032,34786,35601,36445,36519,37410,37480,37481,40026],"hē hè yè":[21917],"kuì":[21919,22067,23231,23303,24870,24871,24978,31697,31779,31812,32873,32877,32885,33197,34146,35593,39229,39243,39304],"zhǒng chuáng":[21920],"wéi wèi":[21921,28858,29234],"duó zhà":[21925],"sāng sàng":[21930],"qiáo jiāo":[21932],"pèn bēn":[21935],"cān sūn qī":[21936],"zhā chā":[21939],"miāo":[21941],"pēn pèn":[21943],"kuí":[21945,22804,22862,24025,25123,25542,26182,26252,26959,26961,27334,29354,30589,33909,34248,34359,34369,34672,36520,36917,37128,37736,37751,38959,39319,39460,39577,39745],"lou lóu":[21949],"zào qiāo":[21951],"hè xiāo xiào hù":[21955],"á shà":[21956],"xiù":[21957,23723,23744,28340,29659,29703,29843,31168,32137,32333,32353,32483,34705,34966,35086,35087,37561,37861,37885,38152,40773],"qiāng qiàng":[21958,25111,25127,36428,36449],"ài yì":[21964,33406],"má mǎ ma":[21966],"kè kē":[21969],"dā tà":[21970,37769],"sǎng":[21971,25633,30921,35116,37791,39001,39073],"chēn":[21972,25275,29723,30603,35523,35603,36061,37108],"wā gǔ":[21975],"pǎng bēng":[21977],"xián qiǎn qiān":[21979],"lào":[21984,23274,27247,28061,28551,32802,32814,36540,36546,37226],"wēng":[21985,32705,32876,34697,37779,40370,40543],"wà":[21986,33149,33155,34972,35178,38884],"hēi hāi":[21992],"hē":[21996,27441,34842,35382,35779],zi:[21997],"sǎi":[21998],"ǹg ńg ňg":[21999],"gě":[22e3,33336],"ná":[22001,25295,25343,37823,38222],"diǎ":[22002],"ài ǎi āi":[22003],"tōng":[22005,27147,28853,34026],"zuī suī":[22010],"zhē zhè zhù zhe":[22011],"mò":[22012,22333,22651,22696,22970,23292,23518,24094,26153,26411,26554,27519,27521,27819,28448,29189,29519,30268,30348,30525,30527,30608,30617,30750,31027,31203,32072,32390,32817,33545,33672,34022,34536,34772,35971,35978,35992,37510,37836,38214,38476,38778,39488,39785,40664,40665],"sòu":[22013,30262],"tǎn":[22015,22374,24528,25011,25019,26298,27631,29870,33788,34962,35170,37267,37485,38077],"jiào dǎo":[22020],"kǎi gě":[22021],"shān càn":[22023],"cáo":[22024,23942,26361,26362,27133,28437,33370,34040,34732,35135,37866],"piào":[22028,24497,34056,39491],"lóu lou":[22029],"gǎ":[22030,23573,29581],"gǔ jiǎ":[22031],"jiāo xiāo":[22032],"xū shī":[22040,22099],"pó":[22041,22185,23110,27335,30372,37169],"dē dēi":[22042],"ma má":[22043],"lē lei":[22046],"gā gá gǎ":[22048],"sāi":[22053,22139,27618,33134,38987,39955],"zuō chuài":[22060],"cháo zhāo":[22066,26397,40706],"zuǐ":[22068,22143,23946,29883],"fǔ ḿ":[22072],"qiáo qiào":[22074,32761,35887],"chù xù shòu":[22076],"tān chǎn":[22077],"dàn tán":[22078,24382,24392,24788,28601],"hēi mò":[22079],"ě":[22081,30760,38923,39424,40264],"fān bo":[22083],"chuáng":[22087,24202,29248],"cù zā hé":[22088],"tūn kuò":[22091],"cēng chēng":[22092],"dēng":[22100,23297,28783,29128,29842,30331,31475,31782,33376,35915],"pū":[22103,25169,25778,25908,25909,28541,28807,38496],"juē":[22104,23657,23659,25767],"lū":[22108,22165,25784,25852,35618],"zhān":[22113,23742,24777,26051,26076,26540,26676,27617,27656,27658,27838,30651,34205,34501,35392,35449,35691,35893,36232,36997,38298,38673,39142,39256,39513,39769,40035,40455,40559],"ō":[22114],"zhòu zhuó":[22115],"jiào qiào chī":[22125],"yuàn":[22126,22964,24616,24895,25534,29783,31120,33489,34895,35051,35089,38498,39e3],"ǎi ài āi":[22127],"yōng yǒng":[22128,28589],"jué xué":[22129],"pēn pèn fèn":[22132],"gá":[22134,23580,37331,37687,38022],"hm hěn xīn hèn":[22135],"dāng":[22137,28578,29680,29867,31580,31801,33377,34807,35014,35168],"làn":[22146,28389,28651,28866,29143,29185,29211,29220,29907,31991,38020],"tà":[22147,22202,23817,25374,25640,25787,27067,27261,27646,28094,28606,28620,31138,31887,35515,35702,36427,36473,36482,36514,36957,37652,38354,38373,38396,38424,38812,38835],"huō huò ǒ":[22148],"hāo":[22150,33568,33983,34181],"hè xià":[22151],"xiù pì":[22154],"zhōu chóu":[22155,30441,35818],"mē":[22162],"chā cā":[22163],"bó pào bào":[22167],"me mèi mò":[22172],"xié hái":[22177],"áo xiāo":[22179],"mō":[22180,25720],"pín":[22188,23078,23252,23338,29613,30665,34226,34841,36007,36139,39024,39078],"mè":[22192,28665],"rǎng rāng":[22199],"lá":[22201,26095],"jiáo jué jiào":[22204],"chuò":[22205,23062,25801,27488,28080,30957,36352,36639,36749,36789,36790,37227,37985,39199,40810,40842],"huān huàn":[22206],"zá cà":[22211],"chài":[22214,34431,34822,34947,35341],"náng nāng":[22218],"zá zàn cān":[22219],"sū":[22220,27375,29990,31267,31308,31395,34311,34323,37221,39874],"zèng":[22222,29111,29969,36104,36192,37605,38147],"zá niè yàn":[22224],"nāng":[22228],"luó luō luo":[22230],"wéi guó":[22231],"huí":[22232,22238,22252,24315,24317,24667,27908,30160,33588,34456,34516,34517,34582,36852,36901,39856],"nín":[22236,24744,33036],"jiǎn nān":[22237],"nān":[22241],"tuán":[22242,22243,22296,24945,25247,25718,27314,31984,37828,40402,40443],"tún dùn":[22244,22345],"guó":[22255,22262,22267,22269,22272,22283,24124,24151,24918,25681,28429,32861,33112,33173,34094,34402,39320],"kùn":[22256,28035,30543],"wéi tōng":[22258],"qūn":[22263,22795,36897],"rì":[22264,26085,34933,37412,39353,39538],"tāi":[22268,23393,32974],"pǔ":[22275,22289,25800,26222,26268,27192,27279,27654,28006,28325,28915,35561,35676,35889,36476,37920,38248],"quān juàn juān":[22280,22287],"chuí chuán":[22284],"tuǎn":[22293,30077,30083],"lüè":[22297,25504,30053,30055,31268,37597,37602,38154],"huán yuán":[22300],"luán":[22301,22302,22897,23048,23372,23402,23423,23782,24018,25371,25891,26347,26686,27410,28390,28772,30324,30325,32649,33044,33248,34378,37550,38014,40265,40478,40510],"tǔ":[22303,22305,37367,38029],"xū wéi":[22313],"dì de":[22320,23987],"qiān sú":[22321],"zhèn":[22323,22630,25355,25391,26389,26650,30013,30521,32022,32124,32444,35499,36049,36168,37620,37805,37806,38215,38453,38499,38663,40198,40489],"chǎng cháng":[22330,22580,22642],"qí yín":[22331],"jiá":[22335,24550,24669,25118,25204,33061,33626,33698,34545,34554,35020,36338,37071,37087,37583,38103,38956,38960,39050,40246,40266],"zhǐ zhì":[22337],"bǎn":[22338,23685,26116,26495,29256,29930,31876,33320,34626,37393,38051,38442,39788],"qǐn":[22341,23505,23517,23522,26129,26795,31497,34748,36222,37599,38163],"méi fén":[22342],"rǒng kēng":[22344],"fāng fáng":[22346],"fèn bèn":[22347],"tān":[22349,24633,25674,25849,25892,28393,28760,30251,30321,33297,36010,36138],"huài pēi pī péi":[22351],"dì làn":[22356],"tán":[22363,22704,22709,22727,22748,23122,24987,26137,26311,27011,27264,28525,29122,30192,30969,32584,32590,34283,35527,35674,35680,35848,35885,35994,37103,37296,37663,38979],"bà":[22365,22459,22761,24349,27419,28766,29240,30706,35207,38712,39809,40069],"fén":[22367,22707,22946,23694,24169,26508,26876,27774,28954,29132,29139,32658,32693,33974,34145,34464,34465,35950,35958,36690,37948,38571,39337,39797,40642,40726,40738],"zhuì":[22368,22684,24820,29952,30071,30984,32180,32267,32512,32530,33103,33159,35528,36101,36184,37258,37667,37958],"pō":[22369,23717,27900,28300,28497,37337,37882,38027,38935,39047],"pǎn bàn":[22370],"kūn":[22372,22531,22546,23824,23825,26118,26204,28489,28956,29108,29457,29736,29819,33742,34603,35016,35049,35084,37260,37653,38175,39433,39648,39649,39656,39908,40114,40318,40356,40525],"diàn":[22379,22443,22666,22722,22880,23133,24215,24806,25154,27202,27583,28096,28593,29623,29716,30005,30300,31775,34580,37439,38651,38747,39508],"mù mǔ":[22390],"kē kě":[22391,36603],"xuè":[22393,23716,26710,28709,29400,30642,35604,35857,36240],"dǐ chí":[22395,26594],"lā":[22403,26566,33736,37003],"lǒng":[22404,22405,22751,22752,25314,25871,31433,38471,38580],"mín":[22410,22980,23735,23823,25450,26107,26108,27665,29641,29720,29725,29769,30203,30463,30727,32205,32225,32535,32608,33504,37425,37641,37746,40214],"dòng tóng":[22412,23762,27934],"cí":[22416,23336,24904,26572,28648,29633,29943,29958,30913,31008,31072,31949,33576,35422,35789,36765,36766,36772,36781,38604,39162,39176,40220,40383,40384,40538],"duī":[22422,22534,22624,30205,30931,37907,37916,40237],"duò duǒ":[22427],"duǒ duò":[22428,25350],"chá":[22430,23519,23894,25661,27086,27307,29497,33580,33590,35431,38763],"shǎng":[22439,26188,27145,36062,36120,36175,37631,37851,37980],"shǒu":[22440,23432,25163,25164,33359,39318],da:[22447,32360,36342],"háng":[22451,26043,26477,31573,32078,32471,33322,33472,34466,35012,36005,36818,38927,39043,39783],"ān ǎn":[22453],"xīng":[22454,24826,26143,26320,29003,29481,29766,30376,31682,33125,33288,35306,35314,35587,39426,39565,39823,39929],"yuàn huán":[22456],"bāng":[22457,24110,24135,24154,24171,25440,26758,27996,37030,37035,38820],"póu fú":[22458],"cén":[22465,23697,28052],"běng fēng":[22468],"dì fáng":[22469],"xiá jiā":[22473],"mái mán":[22475],"làng":[22476,23808,28010,33943,38316],"shān yán":[22479],"qín jīn":[22480],"pǔ bù":[22484],"huā":[22486,23154,26907,30836,31936,33457,33930,34340,35502,37685],"suì sù":[22499],"pí pì":[22500],"qīng zhēng":[22501,40109],"wǎn wān":[22502],"lǔn":[22504,31248],"zhēng chéng":[22505],"kōng":[22506,23814,31644,36539,37651,40316],"cǎi cài":[22512,23488,37319],"chù tòu":[22513],"běng":[22514,29739,33782,38811],"kǎn xiàn":[22515],"yì shì":[22518,37299],"péi":[22521,27632,35060,35061,36064,36180,37639,38187,38443,38506],"sào sǎo":[22525],"jǐn qīn jìn":[22535],"péng bèng":[22539],"qiàn zàn jiàn":[22545],"àn":[22547,23669,23736,25353,26263,26696,33018,33612,35963,35979,37644,38343,38540,40687],"duò huī":[22549,22702],"huán":[22554,23503,23536,23768,26707,27961,28596,29506,29615,29872,31979,32367,32563,32678,33601,33800,33809,35954,37744,37942,38206,38254,38372,38427,38600,39711,40558],"bǎo bǔ pù":[22561],"máo móu wǔ":[22565],"ruán":[22567,22742,25739],"ài è yè":[22568],"gèng":[22569,26245],"méi":[22579,22650,23186,23883,24510,25879,26522,26626,26757,26979,26995,27089,28228,28232,29028,29496,29611,29691,29762,30473,30530,31126,33028,33058,33116,33530,33683,33919,37119,37238,37767,38213,38665,40357,40539,40692],"dǔ":[22581,29757,30585,31491,31716,35241,36077,36172],"féng":[22584,32152,33346,36898],"hèng":[22588],"chūn":[22590,23179,26110,26149,26265,26486,26943,27078,27201,27332,29763,31674,33797,34685,36660,39942,40350],"jiǎng":[22594,22870,22888,22892,26728,27123,29518,32809,33177,33931,34083,35611,35762,39004],"huāng":[22595,24031,24908,32915,33618,34881],"duàn":[22597,26029,26039,26932,27573,27592,28997,29782,30891,31766,31850,32222,32526,33142,33902,36502,37723,38203],"tǎ":[22612,22678,29549,29562,39833,39976,40142],"wěng":[22613,22883,23905,25882,26273,30600,33994],"sāi sài sè":[22622],"zàng":[22623,24329,33235,33247,33900,34101,37562],"tián":[22625,23623,24684,27834,28233,29875,29979,29980,3e4,30027,30033,30901,30924,32971,38352,38423,40235,40390,40399],"zhèng":[22627,24129,25919,35388,35533,35657,35777,35812,37073,37165,38741,40202],"tián zhèn":[22635],"wēn":[22637,26167,27058,27551,28201,28331,29797,30239,34160,35953,36668,36672,36754,37822,39234,39963,39982,40129],"liù":[22639,24263,30943,32719,38625,38692,39230,39736,40410,40552],"hǎi":[22640,28023,28920,37244,37282],"lǎng":[22641,26390,26391,26404,28922,34018],"bèng":[22644,25596,27893,29967,32179,36454,36856,36908,37872,38234],"chén":[22645,23480,23576,24561,25936,25974,26216,26335,26645,27140,27785,28993,30222,33251,33566,33664,33680,34095,34236,34740,35366,35574,36569,36784,36839,37378,38472,38515,38659,40400,40590],"ōu qiū":[22648],"qiàn jiàn":[22649],"zhuān tuán":[22652],"shuǎng":[22653,24929,28474,29245,32276,37871],"shú":[22654,23116,23408,29881,31211,36118,36174],"lǒu":[22655,23901,23937,29962,31699,31757],"chí":[22656,24347,25345,27744,28454,31486,31554,31630,31722,33548,33614,34483,35608,36030,36223,36383,36831,36833,36933,36959,36978,37705,39347,39536],"shù":[22661,24246,24251,24631,24661,25101,26463,26641,27193,27821,28465,28484,28630,31446,31466,32073,33127,33623,33921,34410,34899,35019,35918,36848,37477,37680,37859,38676,40336],"dì zhì":[22662,30096],"kàn":[22664,23809,30640,30681,30945,34894,39723],"chěn":[22667,22822,30838,30876,30947,36098,36283,36408,37718],"zhǐ zhuó":[22668],"qiǎng":[22671,32328,32358,32677,35137],"zēng":[22679,22686,24974,29844,30704,30963,32638,35652,37163,40027],"qiáng":[22681,22715,23281,23321,27183,27299,28434,29254,33378,34051,34103,34336],"kuài tuí":[22692],"tuǎn dǒng":[22693],"qiáo què":[22695],"zūn dūn":[22699],"qiāo áo":[22717],"yì tú":[22719],"xué bó jué":[22726],"lǎn":[22728,23358,23364,23375,25042,25078,25597,25829,25900,27012,27414,28008,28452,28768,32412,32518,32625,35239,35261,35272,37250,39026],"huài":[22730,22750,34366],"rǎng":[22732,22756,25880,29209],"làn xiàn":[22735],"dǎo":[22740,23548,23566,23707,23798,23947,23948,23993,25443,25623,25827,27101,31095,31106,31153,36424,38502,38557,38575],"ruǐ":[22753,26741,27236,32352,34122,34123,34306,34307],san:[22765],"zhuàng":[22766,22767,22773,25758,28939,29366,29376],"ké qiào":[22771,27580],"kǔn":[22776,22780,24707,25414,26801,30833,31093,31239,31259,32145,35021,38315,38328,38403],"mǎng":[22782,28461,33595,33725,33726,34830],"cún":[22783,23384],"zhǐ zhōng":[22786],"gǔ yíng":[22787],"jiàng xiáng":[22789,38477],"páng féng fēng":[22790],"zhāi":[22792,25434,25688,25995,25998,27064,31874,40779],"xuàn xiòng":[22800],"wài":[22806,39009],"wǎn yuàn wān yuān":[22807],"mǎo wǎn":[22808],"mèng":[22818,22819,23391,26790,30310,38693],"dà dài":[22823],"fū fú":[22827,22983,26510,31920],"guài":[22828,24618,24672],"yāng":[22830,22990,25264,27523,27889,31207,32998,37472,37704,38645,40230,40495],"hāng bèn":[22831],"gǎo":[22832,25630,26482,27072,27073,27322,31233,31294,31295,32286,32543,33746,34241,34291],"tāo běn":[22834],"tóu tou":[22836],"yǎn tāo":[22837],"kuā kuà":[22840,35463],"jiá jiā gā xiá":[22841],"huà":[22843,23155,23295,23301,23819,25702,26489,26528,26726,27116,27194,28549,30011,30059,30069,32355,33305,35441,35545,35694,35805,40650],"jiā jiá gā xiá":[22846],"ēn":[22848,24681,33981],"dī tì":[22851],"yǎn yān":[22852,28208],"pào":[22853,30129,30384,30770,31007,31022,38756,40621],"nài":[22856,26608,28223,32784,33816,35110,37692,40720],"quān juàn":[22861,24366,26860],"zòu":[22863,25549],"qì qiè xiè":[22865],"kāi":[22866,24320,25577,37926,38158,38283],"bēn bèn":[22868,27853],"tào":[22871],"zàng zhuǎng":[22872],"běn":[22873,26412,26957,30042,32713,33519],"xùn zhuì":[22878],"shē":[22882,27304,29470,30061,30066,36050,36054,36170,36619],"hǎ pò tǎi":[22884],"ào yù":[22885,22887,28570],"yūn":[22891,27698,27699,33920,33941,34681,36103,36191],"duǒ chě":[22898],"nǚ rǔ":[22899],"nú":[22900,23397,31535,39377,39549],"dīng dǐng tiǎn":[22901],"tā jiě":[22905],"nuán":[22907],"hǎo hào":[22909],"fàn":[22911,23310,26805,27726,27867,28412,28714,29359,30024,30421,31541,31684,33539,35337,36009,36137,36588,36669,39151,39152,39277],"shuò":[22913,25632,26388,27082,28865,29197,30687,33972,37785,37984,38084],"fēi pèi":[22915],"wàng":[22916,24536,26106,26395,26402],"zhuāng":[22918,22941,23076,24196,24210,26729,26761,27137,31911,31962,33624,33674,35013,35037],"mā":[22920,23229],"fū yōu":[22923],"hài jiè":[22926],"dù":[22930,22956,26460,27564,28193,31226,33423,33648,34713,34855,34873,37709,38208,38767],"miào":[22937,24217,24255,24287,29573,31447],"fǒu pēi pī":[22938],"yuè jué":[22940],"niū":[22942],"nà nàn":[22944],"tuǒ":[22949,23287,24249,26925,26965,27234,39692,39958,40270],"wàn yuán":[22951],"fáng":[22952,25151,32938,38450,39796,40066],"nī":[22958],"zhóu":[22959,30881],"zhāo":[22961,24054,25307,26157,37335,37450,37731,38026,39371],"nǎi nǐ":[22963],"tǒu":[22965,25960,32015,34339,40648],"xián xuán xù":[22966],"zhí yì":[22967,31175],"ē":[22968,22975,23104,23641],"mèi":[22969,23194,23504,25274,26048,26151,27820,29021,30167,30491,30584,31065,31683,34654,34946,36298,39741,39749],"qī qì":[22971],"xū xǔ":[22977,31280],"shān shàn":[22989,22999,33515,37348,38032],"mán":[22991,24946,27168,34542,34875,35646,39237,39314,39703,39704,39995,40151],"jiě":[22992,23182,27294,27601,39159],"wěi wēi":[22996],"pīn":[23e3,25340,30999,31334,39338,39518],"huá huó":[23009],"jiāo xiáo":[23011],"gòu dù":[23012],"lǎo mǔ":[23013],"nián niàn":[23017],"zhěn":[23019,23634,24363,25262,26147,26517,30043,30137,30485,31289,32285,32293,32540,32836,33817,34967,35030,35225,35386,35786,36587,36728,36788,39383,39698],"héng":[23022,24646,24658,28870,29673,33019,34309,34913,37957,40244,40262,40507],"jūn xún":[23024],"kuā hù":[23025],"è yà":[23030],"xiān shēn":[23034],"wá":[23043],"ráo rǎo":[23046,23304],"shào shāo":[23051],"xiē":[23054,25587,26964,27463,34638,34829],"wǔ méi mǔ":[23058],"chuò lài":[23061],"niáng":[23064,23330,23363],"nà nuó":[23068],"pōu bǐ":[23069],"něi suī":[23070],"tuì":[23079,29050,34555,34581,36864,39422],"mǎn":[23080,23640,28288,28385,28415,34728,34766,35156,37835],"wú wù yú":[23082],"xī āi":[23085],"zhuì shuì":[23095],"dōng dòng":[23099],"ǎi ái è":[23102],"ē ě":[23103],"mián":[23106,23349,23424,26467,26825,27312,27339,30496,30664,30666,30671,32191,32220,32501,33415,34642],"pǒu péi bù":[23108],"biǎo":[23114,33087,34920,35057,35134,35544,37686],"fù fàn":[23119],"wǒ":[23120,23121,25105],"ní nǐ":[23127,26879],"quán juàn":[23128,24787],"hūn":[23130,26127,26156,26836,28093,30567,30575,30856,33636,33911,34066,36683,38333,38413],"qiān jǐn":[23132],"wān wà":[23136],"lái lài":[23137,24469,24480],"zhōu chōu":[23140],"chuò nào":[23141],"nüè àn":[23145],"hùn kūn":[23147],"dàng yáng":[23160],"nàn":[23163],"ruò chuò":[23164],"jiǎ":[23165,23724,26010,26013,27022,27098,27295,29630,30002,32987,37440,38078],"tōu yú":[23166,23214],"yù yú":[23168],"wéi wěi":[23169],"dì tí":[23170,29686,33488],"róu":[23171,25545,26580,28184,29027,29768,29895,31160,31880,31941,33052,33132,33863,34650,36418,36654,37714,38819,39461,39943,40340],"ruǎn nèn":[23174],"miáo":[23180,23289,25551,30596,33495,40339,40523],"yí pèi":[23184],"mián miǎn":[23188],"tí shì":[23198,24831],"duò tuó":[23200,27826],"ǎo":[23210,23228,33401,33466,34948,35158,38266],"chú zòu":[23216],"yìng":[23221,26144,26254,30828,33185,40038],"qín shēn":[23232],"jià":[23233,24143,26550,27042,31292,39381,39550],"sǎo":[23234],"zhēn zhěn":[23235],"jiē suǒ":[23237],"míng mǐng":[23239],"niǎo":[23243,23325,23346,33553,34086,34949,35018,35117,40479],"tāo":[23245,24141,24354,24902,25487,25647,27076,28059,28372,28644,29803,32091,32282,32295,32486,35420,35615,36673,38833,38876,38892,39160,39253],"biáo":[23249],"piáo piāo":[23254,34232],"xuán":[23257,24748,25080,26294,27272,28457,29572,29831,29887,30147,34561],"màn mān":[23258],"kāng":[23261,23931,24247,24951,27130,28462,30730,31301,31968,36543,37870,40007],"hān nǎn":[23272],"nèn":[23273,23280],"zhē":[23276,36974],"mā má":[23282],"piè":[23283],"zhǎn":[23288,23637,25612,26025,26028,29718,30415,30430,36670,37254,39085,39120],"xiān yǎn jìn":[23312],"liǎn":[23322,25947,25986,29711,29833,32695,33080,33225,34105,34333,34334,35043,35165,37179],"qióng huán xuān":[23323],"dǒng":[23326,25026,31677,33891,34155,35532],"cān":[23328,28236,29208,39137,39184,39490,39574],"tiǎo":[23333,23464,26176,26387,31409,33025],"bí":[23350,33656,40763],"liǔ":[23356,26611,26625,26718,26746,27246,29102,29643,32185,32506,32630,32640,37622,38157],"qiān xiān":[23365,27430],"xié huī":[23368],"huān quán":[23369],"lí lì":[23371,40599],"zhú chuò":[23374],"kǒng":[23380,24656],"mā zī":[23382],"sūn xùn":[23385,23403],"bèi bó":[23387,35478],"yòu niū":[23399],"zhuǎn":[23400,31473,36681],"hái":[23401,39608],"nāo":[23404],"chán càn":[23409],"bò":[23417,27287,34327,35666],"nái":[23419,33097],"níng nìng":[23425,23501,23511,23516,23527,29999],"zhái":[23429],"tū jiā":[23434],"sòng":[23435,35359,35494,35772,35829,36865,37817,38924,39042,39224],"ròu":[23437,32905,35699],"zhūn":[23442,31360,34912,35524,35846,36813],"mì fú":[23443],"dàng tàn":[23445],"wǎn yuān":[23451],"chǒng":[23456,23541],"qún":[23469,23790,24108,32675,32676,35033,35040],"zǎi":[23472,23869],"bǎo shí":[23474],"jiā jia jie":[23478],"huāng huǎng":[23482],"kuān":[23485,23515,23532,33239,37991,39627,39638],"sù xiǔ xiù":[23487],"jié zǎn":[23489],"bìng bǐng":[23502],"jìn qǐn":[23510],"lóu jù":[23520],"xiě xiè":[23531],"qīn qìn":[23540],"cùn":[23544,31871],"duì":[23545,23550,23565,24636,24989,25055,28647,28713,30867,31051,32144,34225,35656,35701,36699,38431,38510],"lüè luó":[23549],"shè yè yì":[23556],"jiāng jiàng qiāng":[23558],"jiāng jiàng":[23559,27974,28479,30074],"zūn":[23562,23967,27197,32583,36981,37903,40018,40159,40334,40439],"shù zhù":[23564,28557],"xiǎo":[23567,26195,26241,26313,30363,30370,31601,31615,31712,35599],"jié jí":[23568,35800,38794],"shǎo shào":[23569],"ěr":[23570,23571,23572,26670,27622,27953,29246,29669,32819,34238,34888,36272,36841,36999,37498,38098,39180,39285,39404],"wāng yóu":[23586],"wāng":[23587,23593,23594,23595,27754],"liào":[23589,23590,24278,25730,26009,28819,31415,37904,38243],"méng máng lóng páng":[23592],"gà":[23596,39744],"kuì kuǐ":[23599],"tuí":[23605,24346,31336,34312,36458,38564,38969,38970,38973,39059,39755],"yǐn":[23609,23998,24341,26372,27267,27324,27389,28158,28645,30270,30318,31884,34335,34451,34750,35732,36218,36251,36625,37391,38775],"chǐ chě":[23610],"kāo":[23611,39643],"jìn jǐn":[23613],"wěi yǐ":[23614],"niào suī":[23615],"céng":[23618,23652,23954,39507],"diǎo":[23628],"bīng píng bǐng":[23631],uu:[23639,26338,32833,34418,34634,38375],"lòu":[23642,28431,30232,30266,30267,37860,38210,38475],"shǔ zhǔ":[23646,23660],"xiè tì":[23647],"chè cǎo":[23662],"tún zhūn":[23663],"nì jǐ":[23664],"hóng lóng":[23672],"qǐ kǎi":[23682,35912],"áng":[23687,26114,26171],"gǎng gāng":[23703,23831],"kě":[23714,25956,28167,28212,28835],"gǒu":[23715,29399,29629,31537,32775,32776,32777,33503,35967],"tiáo":[23719,23737,27172,31058,31524,33408,33812,34010,34024,34601,36834,37594,37797,38807,39659,39880,39991,40102,40800,40838],"qū jū":[23720],"lǐng":[23725,23994,38936,39046],"pò":[23734,25920,27942,28240,28894,29632,30772,30774,31893,33962,39748],"bā kè":[23751],"luò":[23752,25694,27931,27932,29334,29662,31551,32409,33638,35451,38610,39409,39558,40261],"fù niè":[23754],"ěn":[23758],"zhì shì":[23769,23867],"qiǎ":[23776,36306,37216,38800],"qiáo jiào":[23780,30276],"xié yé":[23787],"bū":[23788,24239,26209,35495,36875,37437,37691,38072,39188,40271],"chóng":[23815,23816,29214,34411,34665,34802,35080,38528],"zú cuì":[23826,26890],"líng léng":[23834],"dòng dōng":[23840],"xiáo":[23844,27944,28102,35364,35509],"pí bǐ":[23845,33432],"zhǎn chán":[23853,23939,23940],"wǎi wēi":[23860],"yáng dàng":[23861],"shì dié":[23868],"yào":[23870,26332,29070,29183,30661,31358,31380,31556,32768,33374,33647,33903,34220,34277,34958,35230,35407,35729,38783,40386,40542,40764],"kān zhàn":[23873],"hán dǎng":[23877],"qiàn kàn":[23884],"wù máo":[23885],"kě jié":[23889,23985],"wēi wěi":[23892],"kē":[23897,26607,26869,27068,27158,29249,29297,29328,29634,30132,30604,30933,31002,31185,31262,31392,33834,34198,34485,34636,36279,36722,37272,37427,38070,38950,38982,39063,39617],"dàng táng":[23907],"róng yíng":[23908,29187],"ái kǎi":[23910],"kāo qiāo":[23914],"cuó":[23919,23923,30180,30700,33963,34070,34392,40570,40574],"qiǎn qīn":[23920],"dì dié":[23933],"cēn":[23934],"dǐng":[23935,33404,34209,37924,38914,39030,40718,40721],"áo ào":[23941],"pǐ pèi":[23951],"jiào qiáo":[23968,28496],"jué guì":[23969,40156],"zhān shàn":[23974,40163],"xiè jiè":[23984],"guī xī juàn":[23986],"rū":[23999],"lì liè":[24001,26841,29188,32159],"xī guī juàn":[24002],"yíng hōng":[24006],"yǐng":[24010,24302,24433,25708,26796,28481,30271,30317,30696,31310,37090,37915,38964,39053,39061,39062],"chǎo":[24016,28818,29052,30503,40616],"cuán":[24017,27349,27409],"chuān":[24027,24029,27674,29775,31359],"jīng xíng":[24032],"cháo":[24034,24035,26177,28421,28526,29258,31410,32634,35647,36680,37147,40716],"qiǎo":[24039,24832,39644],"gǒng":[24041,24318,25329,25330,26673,27742,29657,36609,38799],"chà chā chāi cī":[24046],"xiàng hàng":[24055],"shuài":[24069,24101,34752],"pà":[24074,24085,24597,34969],"tǎng nú":[24081],"mò wà":[24083],"tiē tiě tiè":[24086],"zhǒu":[24090,26221,30107,30573,31634,32920,33783,39902],"juǎn juàn":[24099],"shuì":[24104,28055,28058,30561,31237,31246,35038],"chóu dào":[24113,24172],"jiǎn jiān sàn":[24116],"shà qiè":[24121],"qí jì":[24122,33632],"shān qiāo shēn":[24147],"zhuàng chuáng":[24162],"chān chàn":[24168],"miè":[24173,25073,25635,28357,28781,28885,31011,31742,34065,34190,34843,34890,37974,40052,40211],"gān gàn":[24178],"bìng bīng":[24182,24183],"jī jǐ":[24190],"guǎng ān":[24191],"guǎng":[24195,24291,29367,29559],me:[24197],"dùn tún":[24201],"bài tīng":[24205],"yìng yīng":[24212],"dǐ de":[24213],"dù duó":[24230],"máng méng páng":[24236],"bìng píng":[24240],"chěng":[24241,24732,30536,36894,39425,39563],"jī cuò":[24244],"qǐng":[24252,24270,27326,28416,33496,35531,35622,35831,38915,39031],"guī wěi huì":[24262],"jǐn qín":[24273],"kuò":[24275,25193,25313,25844,28662,31560,33855,33856,34526,38346,38420,38697,38815,38841,38869,38946,39712],"qiáng sè":[24295,34196],"yǐn yìn":[24308,38544,38560,38577,39150,39154,39278],"pò pǎi":[24313,36843],"nòng lòng":[24324],"dì tì tuí":[24351],"jué zhāng":[24353],"mí mǐ":[24357,24396,38753],"chāo":[24360,24586,25220,27433,35372,36229,37396,38046],yi:[24364],"shāo":[24368,26067,28903,28988,29138,31602,33348,33847,34161,36622,39678,39865],"xuān yuān":[24370],"qiáng qiǎng jiàng":[24375,24378],"tán dàn":[24377,37256],"biè":[24390],"qiáng jiàng qiǎng":[24394],"jì xuě":[24400],"tuàn":[24406,35094],"yuē":[24415,26352,26353,30705],"shān xiǎn":[24417],"wén":[24419,25991,28806,29683,30226,32359,32862,33440,34441,34442,34721,34753,38330,38335,38341,38374,38395,38412,38639,39356,39367,39792,40188,40205,40740],"péng bāng":[24429],"piāo piào":[24431],"zhuó bó":[24436],"tuǒ yí":[24437],"páng fǎng":[24439],"wǎng":[24442,24448,24451,24792,26505,26850,32178,32593,32594,32595,32596,32598,33781,34535,34628,35511,36638,36747,39757],"cú":[24450,27522],"dài dāi":[24453],"huái":[24458,24576,25040,25079,27088,28142,32818,34361,35106,35121,36381],"wā wàng jiā":[24461],"chěng zhèng":[24462],"dé děi de":[24471],"cóng zòng":[24478],"shì tǐ":[24485],"tí chí":[24498,40343,40345],"dé":[24499,24503,24692,24755,24810,28098,37696,38173],"zhǐ zhēng":[24500,24501],"bié":[24502,30335,33666,34498,35154,36457],"chōng zhǒng":[24504],"jiǎo jiào":[24508,31493,31562],"lòng lǒng":[24511],"qú jù":[24514,28192,30655,34742],"dìng tìng":[24522],"gǎi":[24523,25913],"rěn":[24525,26656,26659,31225,31252,32155,33615,33653,36533],"chàn":[24527,25076,25082,30815,32700,38850,39019],"tè":[24529,24925,29305,34776,37617,38141],"tè tēi tuī":[24530],"gān hàn":[24531,25916],"yì qì":[24532],"tài shì":[24533],"xī liě":[24538],"yīng yìng":[24540,25033,35661],"mǐn wěn mín":[24542,24543],"sōng zhōng":[24554],"yù shū":[24556,24710],"qí shì":[24559,32774],"tún zhūn dùn":[24563],"qián qín":[24564,25202],"hún":[24566,27985,28222,39195,39300,39746,40754],"niǔ":[24568,25197,28804,29379,32016,32445,33701,37397,38062,38773],"kuáng wǎng":[24569],"kāng hàng":[24572],"kài xì":[24574,24894],"òu":[24580,24938],"bǎo bào":[24585],"mín mén":[24587],"zuò zhà":[24589],"zěn":[24590],"yàng":[24591,24665,26679,27096,27171,28478,32661,35399],"kòu jù":[24592],"náo niú":[24595],"zhēng zhèng":[24596,25497,38066,38126],"tiē zhān":[24599],"hù gù":[24600],"cū jù zū":[24602],"sī sāi":[24605],"yóu chóu":[24606],"tū dié":[24610],"yōu yào":[24622],"xuàn":[24624,26145,26982,27883,28210,28843,29700,30505,30905,32098,32316,32335,32474,34073,34898,34984,36121,37449,37831,38089,38239,39092],"xù xuè":[24628],"bì pī":[24630],"xī shù":[24632],"nèn nín":[24641],"tiāo yáo":[24652],"xī qī xù":[24659],"xiào jiǎo":[24660],"hū kuā":[24663],"nǜ":[24679,26386,34882,34884],"hèn":[24680],"dòng tōng":[24683],"quán zhuān":[24686],"è wù ě wū":[24694,24801],"tòng":[24696,24927,24965,30171,34901],"yuān juàn":[24705],"qiāo qiǎo":[24708],"jiè kè":[24712],"hào jiào":[24718],"huǐ":[24724,27283,27584,27585,27591,29164,35693],"mán mèn":[24727,38804],"yī yì":[24728,34915],"quān":[24731,31646,37897],"kuī lǐ":[24733],"yì niàn":[24741],"mèn mēn":[24758],"guàn":[24761,24762,24815,24931,25532,25692,27148,27423,27892,28075,28485,28748,29215,29912,30437,31030,31100,32582,32592,36011,36143,36480,36966,37830,38005,40057,40475,40563],"kōng kǒng":[24766],"lǔn lùn":[24768],"guǒ":[24776,26524,26881,27112,31935,32182,33747,34622,35065,35073,36640,39196,39299],"yuān wǎn":[24780,31650],"lán lín":[24783],"yù xù":[24784,28130],"chuò chuì":[24793],"hūn mèn":[24795],"chǎng tǎng":[24797],"suǒ ruǐ":[24802],"cǎn":[24808,24920,25007,40682,40690],"cán":[24813,24921,24922,27531,27544,34453,34629,34870,34874],"dàn dá":[24814,24986],"rě":[24825],"yú tōu":[24841],"kài qì":[24850],"dàng táng shāng yáng":[24851],"chén xìn dān":[24854],"kè qià":[24856],"nuò":[24862,25062,25063,25535,25638,27026,31276,31332,31953,31973,31983,35582,35834,36419,36925,37737,38168],"gǎn":[24863,25792,25954,26751,27204,28553,28600,30383,31174,31240,31540,33417,34918,36214,36245,40036,40161],"còng sōng":[24865],"sāi sī sǐ":[24866],"gōng gòng hǒng":[24873,24912],"shuò sù":[24876,27948],"yáo yào":[24878],"huàng":[24880,26306,27045,28361,30365,30377,37796],"zhěng":[24888,25229,25327,25972,26232],"cǎo":[24890,33400,33609,39474],"xì xié":[24896],"cǎo sāo":[24901],"xù chù":[24905],"qiè qiàn":[24906],"cáo cóng":[24914],"ào áo":[24928],"lián liǎn":[24937,26815,27108,27363],"jìn qín jǐn":[24940],"dì chì":[24952],"zhí zhé":[24953],"lóu lǚ":[24954,40412],"còng":[24961,35621],"zhī zhì":[24964,30693,32340,32455],"chēng":[24966,25690,25744,25745,26239,26621,26854,27221,27273,27871,28030,29732,30624,30848,32253,32585,34511,34806,36202,36204,37887,37923,38455,38743,38963,39251],"biē":[24971,34380,40009,40150,40712,40862],"chéng dèng zhèng":[24981],"xǐ xī":[24984],"duì dùn tūn":[24990],"xiāo jiāo":[24994],"xián xiàn":[25002],"liáo liǎo":[25005,29134,29198,29202],"shéng":[25012,32260,32329,32361,32499,35677],"náo nǎo náng":[25017],"jǐng jìng":[25020],"jǐ jiǎo":[25023],"xuān huān":[25025],"cǎo sāo sào":[25030],"mèn":[25041,25059,26282,28950,29148],"mèng méng měng":[25052],"ài yì nǐ":[25053],"méng měng":[25054,30626,30674],"qí jī jì":[25056],"mǒ":[25057],"lán xiàn":[25058],"yōu yǒu":[25070],"liú liǔ":[25072,34288],"ràng":[25081,35698,35731,35753],"huān":[25085,27426,27475,27489,29566,35737,35995,37188,39529,40197,40269],"nǎn":[25089,25543,28275,29045,33129,34683,36199],"mí mó":[25090],"gàng zhuàng":[25093,25094],"zhuàng gàng":[25095],"qu xū":[25100],"xì hū":[25103,25135,25138],"jiá gā":[25115],"zéi":[25117,34824,36042,36156,39938,40033,40087],"děng":[25125,31561],"hū xì":[25137],"chuō":[25139,36372,36916],"biǎn piān":[25153],"shǎng jiōng":[25156],"shàn shān":[25159],"cái":[25165,26448,32404,35009,36001,36130],"zhā zā zhá":[25166],"lè lì cái":[25168],"bā pá":[25170],"dǎ dá":[25171],"rēng":[25172],"fǎn fú":[25173],"diǎo dí yuē lì":[25178],"káng gāng":[25179],"yū wū":[25180],"yū wū kū":[25181],"tuō chǐ yǐ":[25185],"gǔ jié xì gē":[25186],"dèn":[25189,25213],"sǎo sào":[25195,25475],"rǎo":[25200,25854,38562],"xī chā qì":[25201],"bān pān":[25203],"bā ào":[25207],"xī zhé":[25208],"zhì sǔn kǎn":[25211],"zhǎo":[25214,27836,29813],"kuáng wǎng zài":[25218],"hú gǔ":[25223,40516,40536],"bǎ bà":[25226],"dǎn shěn":[25228],"nè nì ruì nà":[25232],"zhuā":[25235,27291,31803,33212,39677],"póu":[25236,35026],"zhé shé zhē":[25240],"póu pōu fū":[25241,25418],"pāo":[25243,25291,33068,33826],"ǎo ào niù":[25245],"lūn lún":[25249,25476],"qiǎng qiāng chēng":[25250],"zhǐ zhǎi":[25255],"bù pū":[25258,26600],"yǎo tāo":[25261],"hē hè qiā":[25266],"nǐ ní":[25267],"pī pēi":[25271],"mǒ mò mā":[25273],"chōu":[25277,29352,29355,30259,31704],"jiā yá":[25281],"fú bì":[25282,30032,40349],"zhǎ":[25283,30504,30751,39866,40093],"dān dàn dǎn":[25285],"chāi cā":[25286],"niān":[25288,34091],"lā lá lǎ là":[25289],"bàn pàn":[25292],"pāi":[25293],"līn":[25294],"guǎi":[25296,26548,26618],"tuò tà zhí":[25299],"ào ǎo niù":[25303],"jū gōu":[25304],"pīn pàn fān":[25306],"bài bái":[25308],"bài":[25309,25943,31255,31930,34221,36097,36133,38875],"qiá":[25316],"nǐng níng nìng":[25319],"zé zhái":[25321,25799],"hén":[25323,30165,38798],"kuò guā":[25324],"jié jiá":[25326],"nǐn":[25328],"shuān":[25332,26643,38274,38377],"cún zùn":[25333],"zā zǎn":[25334,26714],"kǎo":[25335,25911,26674,28900,32771],"yí chǐ hài":[25336],"cè sè chuò":[25338],"zhuài zhuāi yè":[25341],"shí shè":[25342],"bāi":[25344,25520],"kuò guāng":[25348],"nòng":[25354,25397,40776],"jiào jiāo":[25357,25934,25945],"kuà kū":[25358],"ná rú":[25360],"tiāo tiǎo":[25361],"dié shè":[25365],"liě":[25368,27615],"yà yǎ":[25372,25495],"wō zhuā":[25373],"xié jiā":[25375,25406],"dǎng dàng":[25377,25803],"zhèng zhēng":[25379,27491,30151],"āi ái":[25384],"tuō shuì":[25385,25437],"tǐ tì":[25390],"suō shā":[25393],"sā shā suō":[25394],"kēng qiān":[25395,25724],"bàng péng":[25399],"ruó ruá":[25404],"jiǎo kù":[25409],"wǔ wú":[25410],"tǒng":[25413,26742,31570,31593,32113,32130,32479],"huò chì":[25415],"tú shū chá":[25416],"lǚ luō":[25419],"shāo shào":[25422,31245],"niē":[25423,25553],"shù sǒng sōu":[25426],"yé yú":[25427],"jué zhuó":[25428],"bù pú zhì":[25431],"zùn":[25432,37516],"lāo":[25438,25736,31913],"sǔn":[25439,25613,27051,31499,31565,31664,37800,38588],"wàn wǎn wān yù":[25445],"pěng":[25447,28110,30351],"shě":[25448],"fǔ fù bǔ":[25452],"dáo":[25455],"luò luǒ wǒ":[25456],"juǎn quán":[25458],"chēn tiǎn":[25461],"niǎn niē":[25467],"ruó wěi ré":[25468],"zuó":[25469,26152,31208,31251,31600,33675,37436],"wò xiá":[25470],"qìng qiàn":[25477],"póu pǒu":[25482],"qiā":[25488,33884],"pái pǎi":[25490],"qiān wàn":[25492],"yè yē":[25494],"niè nǐ yì":[25500],"huò xù":[25501],"yàn shàn yǎn":[25502],"zhěng dìng":[25503],"kòng":[25511,38810],"tuī":[25512,34039,34284],"zōu zhōu chōu":[25515],"tiàn":[25517,33306],"kèn":[25519,35017,35075],"pá":[25521,26487,28502,29228,29750,31586],"guó guāi":[25524],"dǎn shàn":[25528,25763],"chān xiān càn shǎn":[25530],"sāo":[25531,25620,28318,32325,32555,34726,39442,39479,39968,40034,40139],"pèng":[25533,26922,27120,30896,36395],"zhēng kēng":[25537],"jiū yóu":[25538],"jiān jiǎn":[25539,31835],"pì chè":[25546],"sāi zǒng cāi":[25548],"tí dī dǐ":[25552],"zǒng sōng":[25556],"huáng yóng":[25560],"zǎn zuàn":[25565],"xū jū":[25567],"ké qiā":[25570],"chuāi chuǎi chuài tuán zhuī":[25571],"dì tì":[25573],"lá là":[25574],"là":[25575,26955,28290,29902,30220,32715,33240,34635,34674,34847,36770,36771,37982,38260,39694,39931],"jiē qì":[25581],"chòng dǒng":[25584],"dié shé yè":[25586],"jiàn qián jiǎn":[25589],"yé":[25590,29239,29242,29784,37603,37761,38104],"chān":[25600,25723,25881,35047,35164,35224,35271,36799,37587],"gē gé":[25601,25841],"lǒu lōu":[25602,25695],"chōu zǒu":[25610],"chuāi":[25611],"sūn":[25614,27074,29426,29499,33642,33984,34165,34206,39143,39153],"róng náng nǎng":[25617],"péng bàng":[25618],"cuō":[25619,29811,30923,36425,36979,37277],"kē è":[25621],"nù nuò nòu":[25625],"lā xié xiàn":[25626],"qiǔ":[25629,31959],"xiǎn xiān":[25631],"jié zhé":[25641],"pán bān pó":[25643],"bān":[25644,25917,26001,26002,29677,30242,30285,32934,34689,34700,35113,36780,38930,39041],"zhì nái":[25649],"wā wǎ wà":[25650],"huá":[25651,25782,28369,29502,34128,34710,35649,37877,38119,39498,39557,40424],"qiāng qiǎng chēng":[25654],"tián shēn":[25655],"ná nuò":[25659],"èn":[25665],"shè niè":[25668,25885],"bìn":[25672,25839,27553,27567,33169,33231,39628,39637,39657,39682,39699,39714],"shā sà shǎi":[25675],"chǎn sùn":[25676],"jiū liú liáo jiǎo náo":[25678],"féng pěng":[25683],"shuāi":[25684],"dì tú zhí":[25685],"qì jì chá":[25686],"sōu sǒng":[25687],"liǎn liàn":[25689],"gài xì":[25697],"hù chū":[25698],"tàng":[25701,28907,29145,37899],"nái zhì":[25704],"mó mā":[25705],"jiāng qiàng":[25706],"áo qiáo":[25710],"niè chè":[25712],"mán màn":[25713],"chàn cán":[25714],"sè mí sù":[25717],"biāo biào":[25725],"juē jué":[25733],"piē":[25734,26300,27669,30629],"piě piē":[25735],"zǎn zān zēn qián":[25741],"sā sǎ":[25746],"hòng":[25748,35340,35751,38336,39720],"héng guàng":[25751],"niǎn":[25754,25781,25862,28042,28990,30910,31760,36429,36456,36494,36646,36743],"chéng zhěng":[25756],"huī wéi":[25757],"cāo":[25761,25805,31961],"xiāo sōu":[25768],"liáo liāo":[25769],"cuō zuǒ":[25774],"wěi tuǒ":[25777],"cuān":[25786,25883,27718,36479,36517,38009,38249],"qiào yāo jī":[25789],"zhuā wō":[25790],"lèi léi":[25794],"nǎng":[25795,25902,26345,28770],"qíng jǐng":[25807],"kuǎi":[25811,33967],"pǐ bò":[25815],"bò bāi":[25816],"jù jǐ":[25818],"mēng":[25821],"sǒu sòu":[25822],"xǐng":[25828,31669,37266],"cā":[25830],"níng nǐng nìng":[25840],"zhì jié":[25843],"là liè":[25848,29193],"sòu sǒu":[25851],"lì luò yuè":[25853],"tī zhāi zhì":[25855],"pān":[25856,28504,30469,33824],"lèi":[25858,27882,28057,28122,31159,31867,32391,34353,37241,37511,37649,38939,38954,39006,39075],"cā sǎ":[25859],"jùn pèi":[25864],"lì luò":[25866,36498],"là lài":[25867,27380],"lú luó":[25870],"zǎn cuán":[25874],"xiān jiān":[25877],"mí mǐ mó":[25888],"zǎn cuán zàn zuān":[25890],"zuàn":[25893],"lì shài":[25894],"lì luǒ":[25901],"guǐ guì":[25905],"jī qī yǐ":[25906],"fàng":[25918],"wù móu":[25924],"chù shōu":[25930],"gé guó è":[25931],"duó duì":[25939,25946],"duō què":[25952,25962],"sàn sǎn":[25955],"dūn duì":[25958,38246],"qī yǐ jī":[25959],"xiào xué":[25961],"shù shǔ shuò":[25968,25976],"ái zhú":[25969,25971],"xiòng xuàn":[25979],"zhuó zhú":[25984],"yì dù":[25985],"lí tái":[25988],"fěi fēi":[26e3],"yǔ zhōng":[26004],"dòu dǒu":[26007],"wò guǎn":[26017],"tǒu tiǎo":[26018],"dòu":[26019,26794,28002,30168,31398,31431,33072,33651,35910,36887,37078,37208,38295,38360,39190,39294,39717,39718,39722,39724,39725],"yín zhì":[26022],"chǎn jiè":[26042],"wū yū yú":[26044],"yóu liú":[26047],"páng bàng":[26049],"máo mào":[26052],"pī bì":[26055],"xuán xuàn":[26059],"wú mó":[26080],"zǎo":[26089,26531,26630,26839,28577,29866,34235,34299,34468],"gā":[26094],"gàn hàn":[26096],"tái yīng":[26098],"xū xù":[26100],"tūn zhùn":[26109],"wù wǔ":[26111],"pò pèi":[26146],"zòng":[26158,29460,30125,30258,31933,31945,31981,32294],"ǎi":[26169,27600,30702,34108,34297,35690,36535,38701,38724],"huàng huǎng":[26179],"xuǎn":[26181,30307,30316,36873,36984],"xù kuā":[26183],"hǒng":[26190],"shài":[26194,26348],"yūn yùn":[26197,29044],"shèng chéng":[26207,26889,30427],"jǐng yǐng":[26223],"shǎn":[26225,29068,30546,35234,38275,38378,38485,38493],"qǐ dù":[26229],"ǎn àn yǎn":[26235],"wǎng wàng":[26240],"zàn":[26242,26283,29897,29906,29914,31158,35192,35715,35738,36059,36106,36190,36436,37180,37694,37864,39265],"yùn yūn":[26248],"mín mǐn":[26251],"dǔ shǔ":[26255],"shǔ":[26257,26329,28539,30297,31980,32626,34213,34223,34295,34560,34868,35169,35177,40042,40048,40653,40736,40737],"jiǎn lán":[26261],"nuǎn":[26262,29015,39210],"bào pù":[26292],"xī xǐ":[26303],"pù bào":[26333,28689],"qū qǔ":[26354,32054],"gèng gēng":[26356],"hū hù":[26358,38653],"zēng céng":[26365,27239],"céng zēng":[26366,31474],"cǎn qián jiàn":[26369],"qiè hé":[26373],"bì pí":[26375,31110,31507,35048],"yǒu yòu":[26377],"bān fén":[26380,40187],"fú fù":[26381,27921],"fěi kū":[26383,32976],"qú xù chǔn":[26384],"juān zuī":[26392],"huāng máng wáng":[26394],"qī jī":[26399],"tóng chuáng":[26403,27238],"zhá":[26413,29264,31642,34491,35671,37720,38113,38296,38392],"zhú shù shú":[26414],"shù shú zhú":[26415],"zhū shú":[26417],"pǔ pò pō piáo":[26420],"dāo tiáo mù":[26423],"guǐ qiú":[26425],"xiǔ":[26429,28395,28483,31956],"chéng chēng":[26430],"zá":[26434,27823,30776,35149,38609,38620,38629,38900],"yú wū":[26437],"gān gǎn":[26438],"chā chà":[26440],"shān shā":[26441],"cūn":[26449,30388,31476,33189,36358,37032],"rèn ér":[26450,26773],"sháo biāo":[26451],"dì duò":[26453,26532],"gū gài":[26458],"yí zhì lí duò":[26461],"gàng gāng":[26464],"tiáo tiāo":[26465,26781],"mà mǎ":[26473],"sì zhǐ xǐ":[26475],"yuán wán":[26476,34454],"bèi fèi":[26478],"shū duì":[26488],"niǔ chǒu":[26491],"wò yuè":[26498,33234],"máo":[26502,27611,27650,28213,29286,30683,32606,33541,33542,34661,34762,36574,37205,37502,37672,38170,39654,40348],"pī mì":[26504],"àng":[26506,30414,37280],"fāng bìng":[26507],"hù dǐ":[26513],"xín":[26516,35153,37908,39733],"yāo yǎo":[26518],"ě è":[26521],"zhī qí":[26525],"cōng zōng":[26526,27141],"xiān zhēn":[26542],"tái sì":[26545],"gǒu jǔ gōu":[26552],"bāo fú":[26553],"yì xiè":[26555,26663],"tuó duò":[26561,39345,39364,39534],"yí duò lí":[26562],"nǐ chì":[26565],"pán bàn":[26568,36312],"yǎng yàng yāng yīng":[26573],"fù fū fǔ":[26574],"bǎi bó bò":[26575],"mǒu":[26576],"sháo shào":[26582],"zhè":[26584,27164,27993,28123,34071,34757,36889,40403,40551],"yòu yóu":[26586,27390],"guì jǔ":[26588],"zhà zuò":[26590],"dié zhì":[26595,30512],"zhā zǔ zū":[26596],"chá zhā":[26597,26619],"āo ào":[26602,36586],"bā fú pèi bó biē":[26605],"duò zuó wù":[26606],"bì bié":[26610],"zhù chù":[26615],"bēi pēi":[26616],"shì fèi":[26617],"shān zhà shi cè":[26629],"lì yuè":[26638,27359],"qì qiè":[26644,30732],"qī xī":[26646,36426],"guā kuò":[26653],"bīng bēn":[26655],"xiào jiào":[26657],"jiàn zùn":[26667,35e3],"yǒu yù":[26671],"hé hú":[26680],"gēn":[26681,36319],"zhī yì":[26682],"gé gē":[26684],"héng háng":[26689],"guàng guāng":[26692],"yí tí":[26699,33617],"sāng":[26705,26706,27105],"jú jié":[26708],"yú móu":[26713],"ráo náo":[26721,27208],"guì huì":[26727,27292],"chén zhèn":[26733],"tīng yíng":[26735],po:[26738],"bèn fàn":[26739],"fēng fèng":[26747,33873],"sù yìn":[26752],"tǐng tìng":[26755],"xuān juān xié":[26763],"tú chá":[26764],"āo yòu":[26766],"kuǎn":[26785,27445,27454,27456],"shāo sào":[26786],"qín chén cén":[26787],"lí sì qǐ":[26793],"chān yán":[26804],"bīn bīng":[26809,27103,27315],"táo chóu dào":[26812],"cōng sōng":[26823],"gùn hùn":[26829],"dé zhé":[26831],"pái bèi pèi":[26833],"bàng pǒu bèi bēi":[26835],"dì dài tì":[26851],"sēn":[26862,26926,27118,35138],"rěn shěn":[26863],"léng lēng líng":[26865],"fú sù":[26868],"zōu sǒu":[26871],"zōu":[26872,31619,32197,35535,35833,37049,37104,37138,37177,38508,39478,39546,39915,40112,40640,40817,40826],"zhào zhuō":[26873],"chēn shēn":[26877],"jiē qiè":[26884],"yǐ yī":[26885],"chóu zhòu diāo":[26886],"qiāng kōng":[26892],"zhuī chuí":[26894],"bēi pí":[26897],"mēn":[26906],"quān juàn quán":[26918],"duǒ chuán":[26927],"wěi huī":[26930],"jiǎ jiā":[26933],"hán jiān":[26935],"shèn zhēn":[26937],"yàn yà":[26939],"zhā chá":[26946],"guō kuǎ":[26951],"jí zhì":[26966],"kǔ hù":[26971],"yóu yǒu":[26978],"sǒng cōng":[26980],"yuán xuàn":[26981],"yǎng yàng yīng":[26983],"pián":[26985,33020,33089,36038,36417,39394,39432,39560,39615],"dié yè":[26986],"dùn shǔn":[26991],"còu zòu":[26993],"dì dǐ shì":[26996],"kǎi jiē":[26999],"róu ròu":[27002],"lè yuè":[27005],"wēn yùn":[27013,38832],"lǘ":[27016,27354,27648,33186,34264,38317,38398,39522,39540],"shén":[27018,31070,37486,39984],"bī pi":[27020],"zhǎn niǎn zhèn":[27024],"fú fù bó":[27025],"jiàn jìn":[27031],"bǎng bàng":[27036],"shā xiè":[27037,27175],"nòu":[27080,32808,37778,37918],"qiǎn lián xiàn":[27087],"gàng":[27091,28981,28985,31611],"gāo":[27092,27129,27248,27356,30590,31705,31957,32660,33263,38879,39227,39640,39641,40398,40433,40731],"diān zhěn zhēn":[27097],"kǎn jiàn":[27099],"xí dié":[27106],"jī guī":[27107],"róng yōng":[27110],"tuán shuàn quán":[27115],"qì sè":[27117],"cuī zhǐ":[27119],"yǒu chǎo":[27121],"màn wàn":[27134],"lí chī":[27142],"léi lěi":[27151,27345,30988],"cháo jiǎo chāo":[27156],"chēng táng":[27160],"jiū liáo":[27163],"mó mú":[27169],"niǎo mù":[27170],"héng hèng":[27178,27243],"xuě":[27184,33188,33373,36684,38634,40008,40149],"fá fèi":[27203],"rùn":[27213,28070,28516,33206,38287,38304,38384],"zhǎn jiǎn":[27215],"shùn":[27219,30618,30636,33308,34147,38918,39034,39690],"tuí dūn":[27220],"táng chēng":[27222],"sù qiū":[27226],"tán diàn":[27229],"fén fèn fèi":[27240],"rǎn yān":[27242],"cū chu":[27259],"shū qiāo":[27262],"píng bò":[27288],"zhái shì tú":[27297],"biǎo biāo":[27302],"qiān lián":[27318],"nǐ mí":[27319],"jiàn kǎn":[27323],"nòu ruǎn rú":[27325],"jī jì":[27333,31144],"huǎng guǒ gǔ":[27342],"lǜ chū":[27350],"miè mèi":[27351],"ōu":[27353,27431,27472,27572,27590,29935,29964,33170,34290,35635,35764,37826,40206,40407,40485],"zhù zhuó":[27361],"jué jì":[27373],"huái guī":[27376],"chán zhàn":[27395],"wéi zuì":[27400],"cáng":[27404,38006],"yù yì":[27429],"chù qù xì":[27434],"kài ài":[27436],"yì yīn":[27437],"xì kài":[27439],"shuò sòu":[27446],"ǎi ēi éi ěi èi":[27448],"qī yī":[27449],"chuā xū":[27451],"chǐ chuài":[27452],"kǎn qiàn":[27455],"kǎn kè":[27457],"chuǎn chuán":[27458],"yīn yān":[27461],"jìn qūn":[27471],"pēn":[27477],"xū chuā":[27480],"xī shè":[27481],"liǎn hān":[27483],"zhì chí":[27501],"sè shà":[27504],"sǐ":[27515],"wěn mò":[27518],"piǎo":[27533,30379,30623,37285,39008],"qíng jìng":[27537],"fǒu bó":[27541],"zhí shi":[27542],"yè yān yàn":[27543],"hūn mèi":[27545],"chòu":[27552,33264,36954],"kuì huì":[27560,28291,28528],"cuàn":[27561,29110,29224,31388,31428,31713,31762],"yīn yān yǐn":[27575],"qìng kēng shēng":[27576],"yáo xiáo xiào":[27581],"gū gǔ":[27586,34500],"guàn wān":[27596],"dú dài":[27602],"xún xùn":[27621],"mú":[27626,27649],"dòu nuò":[27629],"sāi suī":[27640],lu:[27655],"sào":[27657,30233,30658,39646],"shì zhī":[27663],"dī dǐ":[27664],"máng méng":[27667],"yáng rì":[27676],"shuǐ":[27700,27701,27706,38294],"zhěng chéng zhèng":[27702],"tǔn":[27709],"fán fàn":[27710],"guǐ jiǔ":[27711],"bīn pà pā":[27715],"zhuó què":[27723],"dà tài":[27727],"pìn":[27734,29277,32856],"hàn hán":[27735,39343],tu:[27746],"tāng shāng":[27748,28271],"zhī jì":[27749],"gàn hán cén":[27765],"wèn mén":[27766],"fāng pāng":[27768],"hǔ huǎng":[27771],"niú yóu":[27772],"hàng":[27782],"shěn chén":[27784],"dùn zhuàn":[27788],"nǜ niǔ":[27793],"méi mò":[27794,27809],"tà dá":[27795],"mì wù":[27797],"hóng pāng":[27799],"shā shà":[27801],"zhuǐ zǐ":[27805],"ōu òu":[27812,28442],"jǔ jù":[27822],"tuō duó":[27824],"mǐ lì":[27829],"yí chí":[27830],"xiè yì":[27844],"bó pō":[27850],"mì bì":[27852,31192],"chù shè":[27855],"yōu yòu āo":[27857],"pēng píng":[27865,30801],"pào pāo":[27873],"ní nì":[27877,31196],"yuè sà":[27879],"jué xuè":[27884,30118],"lóng shuāng":[27895,28711],"luò pō":[27898,28668],"zé shì":[27901,28580],"sǎ xǐ":[27922],"sè qì zì":[27923],"xǐ xiǎn":[27927],"kǎo kào":[27928],"àn yàn è":[27933],"lěi lèi":[27937],"qiè jié":[27951],"qiǎn jiān":[27973],"jì jǐ":[27982,28168,28639,32426],"hǔ xǔ":[27986,28408],"jùn xùn":[27994,28652],"yǐng chéng yíng":[28007],"liàn lì":[28016],"féng hóng":[28018,28292],"jiǒng jiōng":[28027],"suī něi":[28029],"yǒng chōng":[28044],"tūn yūn":[28050],"wō guō":[28065,28198],"hēng":[28069,33053],"zhǎng zhàng":[28072,28466],"shòu tāo":[28077],"shuàn":[28078,33128],"kōng náng":[28083],"wò wǎn yuān":[28084],"tuō tuò":[28086],"wō":[28089,29479,31389,31401,33716,33845,34583,34680,36370],"qiè jí":[28097],"guǒ guàn":[28105],"lín lìn":[28107,29532,30084],"tǎng chǎng":[28108],"nào chuò zhuō":[28118],"péng píng":[28124],"féi":[28125,32933,33107,34608],"pì pèi":[28128],"niǎn shěn":[28144],"biāo hǔ":[28146],"chún zhūn":[28147],"hùn hún":[28151],"qiǎn":[28154,32382,32561,32951,33153,34616,35700,35892,36963,37971],"wèn mín":[28162],"rè ruò luò":[28163],"dú dòu":[28174,28678,35835],"jiàn jiān":[28176,28293,28472,28666],"miǎn shéng":[28177,28576],"nuǎn nuán":[28188],"qiú wù":[28190],"tíng tīng":[28191],"dì tí dī":[28199],"gǎng jiǎng":[28207],"hōng qìng":[28217],"tuān":[28237,29011],"huì mǐn xū":[28239],"xǔ xù":[28241],"pén":[28243,29931,30406,33872],"mǐn hūn":[28259],"tuàn nuǎn":[28266],"qiū jiǎo":[28267,28268],"yān yīn":[28270],"bàn pán":[28276],"zhuāng hún":[28279],"yàn guì":[28302],"lián liǎn nián xián xiàn":[28307],"dá tǎ":[28314],"liū liù":[28316,28561,36435],"lùn":[28323],"mǎ":[28324,29368,29505,29595,29802,30721,30908,36964,37815,39340,39532,39970,40396],"zhēn qín":[28337],"nì niào":[28346],"chù xù":[28352,30044],"wěng wēng":[28355],"hào xuè":[28360],"qì xì xiē":[28362],"xíng yíng":[28366],"zé hào":[28380],"piāo piào piǎo":[28418],"cóng sǒng":[28430],"féng péng":[28456],"luò tà":[28463],"pēng bēn":[28464],"chóng shuāng":[28468],"huǒ kuò huò":[28471],"liáo liú":[28475],"cuǐ cuī":[28476],"cóng zǒng":[28480],"cóng zōng":[28488],"pì piē":[28494],"dàng xiàng":[28498],"huáng guāng":[28514],"liáo lào lǎo":[28518],"cōng zòng":[28520],"zhí zhì":[28522],"tān shàn":[28524],"tú zhā":[28531],"sàn sǎ":[28533],"hēi":[28534,40657,40658],"chéng dèng":[28548,28691],"cūn cún":[28554],"péng pēng":[28558],"hòng gǒng":[28562,37566],"wàn màn":[28587],"kuài huì":[28590],"guō wō":[28612],"pēn fén":[28614],"jí shà":[28616],"huì huò":[28618],"dǐng tìng":[28622],"mǐ nǐ":[28628],"bì pì":[28638],"cuì zuǐ":[28642],"hù huò":[28649],"ǎi kài kè":[28653],"wěi duì":[28667,28706],"zàn cuán":[28669,28754],"yǎng yàng":[28673],"wǎng wāng":[28679],"mò miè":[28686,30492],"suǐ":[28705,33208,39635],"huái wāi":[28708],"zùn jiàn":[28723],"yīng yǐng yìng":[28724],"ráng ràng":[28732],"shuàng":[28736],"zhuó jiào zé":[28738],"sǎ":[28753,35375,38776],"luán luàn":[28755],"dǎng tǎng":[28761],"xún quán quàn":[28773],"huǒ biāo":[28780],"zhà yù":[28793],"fén bèn":[28803],"jiǒng guì":[28805],"pàng fēng":[28816],"quē":[28820,32570,32572,33947],"biān":[28830,29048,29954,30765,31550,31663,31849,32232,32534,34649,37001,37002,37757,38829,39934,39935,40138],"zhāo zhào":[28836],"zhuō chù":[28842],"pào páo bāo":[28846],"páo fǒu":[28848],"shǎn qián shān":[28854],"zhà zhá":[28856],"jiǎo yào":[28868],"quǎn":[28871,29356,29357,30030,32163,32507,34375],"yàng yáng":[28874],"lào luò":[28889],"huí huǐ":[28896],"rè":[28909,29105],"fú páo":[28912],"xiè chè":[28914,28942],"yàn shān":[28923],"hūn xūn":[28932],"kào":[28933,29330,37548,38096,38752,39859,39884,40083],"juān yè":[28934],"jùn qū":[28940],"tāo dào":[28952],"chǎo jù":[28963],"wò ài":[28965],"zǒng cōng":[28967],"xī yì":[28972],"xìn xīn":[28974],"chāo zhuō":[28975],"xiǒng yīng":[28984,28989],"kuǐ":[28995,36332,36446,38925],"huī yùn xūn":[28999],"jiǎo qiāo":[29005],"qián shǎn shān":[29012],"xī yí":[29013],"shà shā":[29022],"yè zhá":[29024],"yáng yàng":[29036],"ēn yūn":[29054],"yūn yǔn":[29061],"hè xiāo":[29063],"xióng":[29066,29067,38596],"xūn xùn":[29071,29195],"gòng":[29077,36002,36129],"liū":[29080],"cōng zǒng":[29084],"lù āo":[29085],"shú shóu":[29087],"fēng péng":[29090],"cuǐ suī":[29091],"tēng":[29093,33199,40735],"yùn yù":[29096],"áo āo":[29100],"hàn rǎn":[29103],"ōu ǒu":[29104],"huáng huǎng":[29119],"chǎn dǎn chàn":[29120],"jiāo zhuó qiáo jué":[29131],"yàn yān":[29141],"tài liè":[29156],"āo":[29194],"yàn xún":[29203],"jué jiào":[29213,35216,35226,35258,35273],"lǎn làn":[29222],"zhuǎ zhǎo":[29226],"zhǎo zhuǎ":[29227],"fù fǔ":[29238],"diē":[29241,35130,36300],"zāng":[29250,32664,33255,36045,36056,36115,36124,36163,39634],"piàn piān":[29255],"biān miàn":[29265],"bǎng":[29267,32129,32465],"yǒu yōng":[29271],"chēng chèng":[29274,31424],"niú":[29275,29276],"jiū lè":[29278],"mù móu":[29279],"māng":[29284],"gē qiú":[29291],"yòu chōu":[29296],"tè zhí":[29318],"bēn":[29319,37659,38171],"jiān qián":[29325,29610],"má":[29336,30194,34100,34759,40635],"máo lí":[29339],"bá quǎn":[29358],"zhuó bào":[29363],"àn hān":[29364],"kàng gǎng":[29370],"pèi fèi":[29371],"fān huān":[29375],"kuáng":[29378,29381,35473,35827,36566,36576,40287],"yí quán chí":[29387],"xīng shēng":[29388],"tuó yí":[29391],"kǔ":[29404,33510],"huán huān":[29407],"hé mò":[29410],"tà shì":[29415],"máng dòu":[29429],"xī shǐ":[29430],"suān":[29435,30176,37240],"bài pí":[29448],"jiān yàn":[29455,35939],"yī yǐ":[29463],"yá wèi":[29466],"cāi":[29468],"māo máo":[29483,35987],"chuàn chuān":[29485],"tuān tuàn":[29487,35986],"yà jiá qiè":[29488],"hè xiē gé hài":[29490],"biān piàn":[29493,29553],"bó pò":[29500],"háo gāo":[29515],"fén fèn":[29526],"yào xiāo":[29535],"shuò xī":[29537],"gé liè xiē":[29542],"nòu rú":[29555],"náo nǎo yōu":[29558],"ráng":[29565,29924,31155,31331,31344,34328,36511,39716],"náo yōu":[29567],"lǜ shuài":[29575],"wáng wàng":[29579],"yáng chàng":[29594],"mín wén":[29599],"bīn fēn":[29602],"mén yǔn":[29607],"qiāng cāng":[29617,29810,31724],"án gān":[29621],"xuán xián":[29625],"cī cǐ":[29628,36304],"yí tāi":[29638],"zǔ jù":[29639],"fà":[29648,29754,34143,39658,39662],"yín kèn":[29666],"huī hún":[29682],"xuán qióng":[29697],"fú fū":[29704],"bǐng pín":[29717],"cuì sè":[29719],"yù wéi":[29727],"tiǎn tiàn":[29728],"zhuó zuó":[29730],"běng pěi":[29731],"guǎn":[29743,29869,30191,31590,31649,33304,36648,37671,39208,39302,40164],"hún huī":[29759],"xié jiē":[29774],"chàng dàng yáng":[29778],"tiàn zhèn":[29809],"bīn pián":[29816,29880],"tú shū":[29817],"cuǐ":[29824,30368,36257],"zǎo suǒ":[29829],"jué qióng":[29850],"lú fū":[29879],"jì zī":[29886],"suí":[29901,32143,32485,36928,38543,38568,39620],"mí xǐ":[29909],"qióng wěi wèi":[29911],"huán yè yà":[29915],"bó páo":[29919],"zhí hú":[29921],"piáo":[29922,38365],"wǎ wà":[29926],"xiáng hóng":[29928],"wèng":[29934,29973,32587,34169,40774],"bǎiwǎ":[29944],"shèn shén":[29978],"ruí":[29988,32204,34148],"yòng":[29992,30781,33498,33935,37279],"shuǎi":[29993],"béng":[29997,29998],"yóu zhá":[30004],"diàn tián shèng":[30008],"tǐng dīng":[30010,30012],"zāi zī":[30014],"bì qí":[30017],"dá fú":[30039],"cè jì":[30047],"zāi zī tián":[30048],"zhì chóu shì":[30052],"fān pān":[30056,30058],"shē yú":[30060],"dāng dàng dǎng":[30070],"jiāng qiáng":[30086],"pǐ yǎ shū":[30091],"jié qiè":[30092],"yí nǐ":[30097],"nè":[30098,30514,35365,35767],"gē yì":[30105],"nüè yào":[30111,30247],"lì lài":[30112,30296],"yǎ xiā":[30120],"xuē":[30134,33926,34203,36773,36778,38772,38846],"dǎn da":[30136],"fá biǎn":[30138],"fèi féi":[30143,30193],"shān diàn":[30145],"téng chóng":[30155],"tōng tóng":[30156],"wěi yòu yù":[30159],"tān shǐ":[30161],"pū pù":[30177,37610],"bēng péng":[30189],"má lìn":[30195],"tiǎn diàn":[30198],"ān yè è":[30199],"kē ē":[30206],"zhì chì":[30216],"jiǎ xiá xiā":[30229],"lěi huì":[30243],"chài cuó":[30245],"diān chēn":[30248],"da dá":[30249],"biě biē":[30250],"qué":[30264],"dàn dān":[30281],"guì wēi":[30288],"nòng nóng":[30289],"biē biě":[30303],"bō bǒ":[30327],"bái":[30333],"jí bī":[30336],"de dì dí dī":[30340],"pā bà":[30341],"gāo háo":[30347],"gāo yáo":[30352],"lì luò bō":[30378],"zhā cǔ":[30395],"zhāo zhǎn dǎn":[30397],"jiān jiàn":[30417,30435,37627,38388,38828],"gài gě hé":[30422],"máng wàng":[30451],"yuǎn":[30454,36922,36960],"tián xián":[30455],"xiāng xiàng":[30456],"dǔn":[30457,36280,36489],"xì pǎn":[30459],"shěng xǐng":[30465],"yún hùn":[30467],"miǎn miàn":[30468],"kàn kān":[30475],"yìng yāng yǎng":[30479],"yǎo āo ǎo":[30481],"jū xū kōu":[30487],"yí chì":[30489],"dié tì":[30499],"bǐng fǎng":[30506],"pàng pán":[30507],"mī mí":[30511,30599],"xuàn shùn xún":[30516],"tiào":[30522,31900,31990,35228,36242],"zhe zhuó zháo zhāo":[30528],"qiáo shào xiāo":[30532],"cuó zhuài":[30537],"gùn":[30548,35636],"suì zuì":[30559],"pì bì":[30565,31275,36767],"yì zé gāo":[30570],"xǐng xìng":[30578],"guì wèi kuì":[30598],"kòu jì":[30601],"qióng huán":[30607],"mán mén":[30610,30622],"diāo dōu":[30615],"lou lóu lǘ":[30620],"shùn rún":[30628],"liào liǎo":[30637,38028],"jiàn xián":[30639],"wǔ mí":[30644],"guì kuì":[30646],"nǐng chēng":[30659],"huò yuè":[30662],"mēng méng":[30663],"kuàng guō":[30668],"guàn quán":[30676],"mǎn mán":[30677],"jīn guān qín":[30684],"jīn qín guān":[30685],"yù xù jué":[30686],"jiǎo jiáo":[30699,30703],"duǎn":[30701],"shí dàn":[30707],"gāng qiāng kòng":[30716],"huā xū":[30729],"pīn bīn fēn":[30735],"yán yàn":[30740,30799],"luǒ kē":[30754],"fú fèi":[30761,31536],"zhǔ zhù":[30763],"lá lì lā":[30764],"kuāng guāng":[30788],"gè luò":[30796],"shuò shí":[30805,30889],"wèi wéi ái":[30809],"què kè kù":[30814],"mǎng bàng":[30821],"luò lòng":[30822],"yǒng tóng":[30823],"nüè":[30840,34384],"kēng kěng":[30843],"yān yǎn":[30845],"zhuì chuí duǒ":[30846],"kōng kòng":[30847],"zòng cóng":[30850],"jiān zhàn":[30858],"lù liù":[30860,38470],"què xī":[30863],"lún lǔn lùn":[30870],"náo gāng":[30873],"jié yà":[30883],"wèi wěi":[30888],"tí dī":[30894],"chá chā":[30900],"qiāo què":[30907],"sù xiè":[30911],"liú liù":[30914,36955,37798,39311],"sī tí":[30915],"bàng páng":[30917],"huá kě gū":[30918],"wěi kuǐ":[30920],"xiá qià yà":[30925],"lián qiān":[30927],"wèi ái gài":[30929],"lá lā":[30934],"áo qiāo":[30941],"pēng pèng":[30942,38299],"yīn yǐn":[30948],"lěi léi":[30949],"mó mò":[30952],"qì zhú":[30953],"láo luò":[30961],"pán bō":[30971],"jí shé":[30972],"hé qiāo qiào":[30985],"kè huò":[30986],"què hú":[30992],"è qì":[31e3],"cǎ":[31012,31032],"xián xín":[31013],"léi lěi lèi":[31015],"yán yǎn":[31033],"qí zhǐ":[31047,34452],"bēng fāng":[31050],"bì mì":[31061],"suàn":[31064,31495,31597,31639,33948],"piào piāo":[31080],"jì zhài":[31085],"shuì lèi":[31089],"jìn jīn":[31105],"chán shàn":[31109],"yáng shāng":[31123],"zhī zhǐ tí":[31124],"shàn chán":[31146],"yú yù ǒu":[31162],"zǐ zì":[31172],"chá ná":[31173],"zhòng zhǒng chóng":[31181],"hào mào":[31183],"kù kū":[31193],"zū":[31199,33861],"chèng":[31204,31338],"huó kuò":[31214,31219],"chēng chèn chèng":[31216,31281],"shì zhì":[31218,37556],"fù pū":[31231],"xùn zè":[31236],"tú shǔ":[31244],"zhùn zhǔn":[31253],"jī qí":[31256,32168,35309],"léng líng":[31260],"zuì zú sū":[31265],"xì qiè":[31271,37060],"zhǒng zhòng":[31278],"zōng zǒng":[31279],"xián jiān liàn":[31284],"zī jiū":[31285],"jī qǐ":[31293],"ròng":[31299],"shān cǎn cēn":[31303],"mén méi":[31304],"jǐ jì":[31318],"xiāo rào":[31320],"zhuō bó":[31323],"tóng zhǒng zhòng":[31324],"zuō":[31325],"biāo pāo":[31342,34280],"zhuō jué":[31345],"cuán zàn":[31347],"kōng kòng kǒng":[31354],"yū yǔ":[31355],"zhǎi":[31364,37465],"báo":[31367,38649],"kū zhú":[31371],"jiào liáo liù":[31372],"wā guī":[31376],"tiǎo yáo":[31381],"xūn yìn":[31400],"yà yē":[31403],"tián diān yǎn":[31412],"chāo kē":[31420],"kuǎn cuàn":[31421,31422],"chù qì":[31440],"qǔ kǒu":[31448],"jìng zhěn":[31463],"kǎn kàn":[31479],"zhú dǔ":[31482],"lè jīn":[31483],"zhuì ruì":[31501],"háng hàng":[31504],"cén jìn hán":[31506],"dā xiá nà":[31514],"zé zuó":[31534],"lóng lǒng":[31548,31725,31840,36504,40851],"zhù zhú":[31569,31689],"dá dā":[31572,33605],"shāi":[31579,31721,31745,31853],"yún jūn":[31584],"láng làng":[31588,37070,38406],"zhì zhǐ":[31595],o:[31613],"póu bù fú pú":[31617],"pái bēi":[31620],"gè":[31623,34428,37499,38124],"tái chí":[31624],"guǎi dài":[31625],"zhào dào":[31628],"jīng qìng":[31632],"lín lǐn":[31638],"jùn qūn":[31640],"shī yí":[31671,37366],"yuē yào chuò":[31673],"xiāo shuò qiào":[31678],"gōng gǎn lǒng":[31714],"páng péng":[31715],"zhuó huò":[31719],"jiǎn jiān":[31727],"dí zhú":[31732],"zān cēn cǎn":[31736],"zhuàn suǎn zuàn":[31737],"piǎo biāo":[31739],"guó guì":[31746],"cè jí":[31758],"mì miè":[31770],"shāi sī":[31771],"sǔn zhuàn":[31784],"gàn gǎn":[31795],"bò bǒ":[31800],"bó bù":[31807],shi:[31810],"zhēn jiān":[31816],"zhuàn zuǎn":[31825],"fān pān biān":[31827],"sǒu shǔ":[31828],"zuǎn":[31851,32356,32386,32393,32408,32565],"nǚ":[31865,37369,38037],"shā chǎo":[31878],"kāng jīng":[31879],"fěn":[31881,40698],"cū":[31895,35285,40577,40580,40612],"nián zhān":[31896],"cè sè":[31907],"zhōu yù":[31909],"shēn sǎn":[31937],"biān biǎn":[31940,33849],"miàn":[31942,38754,38755,40618,40619,40629,40634],"hú hū hù":[31946],"gǔ gòu":[31955],"mí méi":[31964],"sǎn shēn":[31965,31971],"zāo":[31967,36455,36973,37289],"mì sī":[31992],"jiū jiǔ":[31994],"xì jì":[31995,32363],"zhēng zhěng":[31997],"chà chǎ":[32001,34921],"yuē yāo":[32004,32422],"hóng gōng":[32005,32418],"hé gē":[32007,32421],"wén wèn":[32011,32441],"fóu":[32017],"jì jié jiè":[32018],"pī pí bǐ":[32021,32432],"jīn jìn":[32031],"zhā zā":[32037,32046],"hā":[32038],"fū fù":[32040],"chōu chóu":[32044],"lèi léi lěi":[32047],"bō bì":[32052],"tiǎn zhěn":[32062],"jiōng jiǒng":[32069],"jié jiē":[32080,32467,33410],"guà kuā":[32083],"bǎi mò":[32084],"gēng huán":[32089],"jié xié":[32092],"quán shuān":[32095],"gǎi ǎi":[32096],"luò lào":[32097,32476],"bīng bēng pēng":[32099],"gěi jǐ":[32102,32473],"tóng tōng dòng":[32103],"tiào diào dào":[32105],"lěi lèi léi":[32107],"gāi hài":[32111],"chī zhǐ":[32122],"wèn miǎn mán wàn":[32123],"huán huàn wàn":[32132],"qīn xiān":[32133],"tì tí":[32136],"yán xiàn":[32150],"zōng zèng zòng":[32156],"chēn lín":[32157],"zhǔn zhùn":[32167],"qiàn qīng zhēng":[32170],"qìng qǐ":[32174],"lún guān":[32184,32438],"chuò chāo":[32189,32496],"tián tǎn chān":[32194],"lǜ lù":[32209,32511],"ruǎn ruàn":[32219],"jí qī":[32221],"zhòng chóng":[32223,37325],"miáo máo":[32226],"xiè yè":[32228],"huǎn":[32233,32531],"gēng gèng":[32234,32262],"tōu xū shū":[32240],"zōng zòng":[32245,32332],"yùn gǔn":[32247],"guā wō":[32250],"yùn yūn wēn":[32252,32277],"bāng bàng":[32269],"gǔ hú":[32270,40379],"cī cuò suǒ":[32274],"cuī shuāi":[32279],"róng rǒng ròng":[32281],"zài zēng":[32289],"cài":[32297,33756,34081],"féng fèng":[32299],"suō sù":[32302,32553],"yǎn yǐn":[32303,37203],"zòng zǒng":[32305,32437],"zhuàn juàn":[32307],"mò mù":[32312,33707],"piǎo piāo":[32313,32549],"fán pó":[32321],"bēng bèng":[32323],"móu miù miào liǎo":[32326],"yáo yóu zhòu":[32327],"zēng zèng":[32338,32559],"jú jué":[32344],"chuō chuò":[32347],"zūn zǔn":[32348],"rào":[32350,32469,36982],"chǎn chán":[32351],"huì huí":[32354,32523,34289],"qiāo sāo zǎo":[32368],"jiǎo zhuó":[32371,32564],"dàn tán chán":[32373],"nǒng":[32375],"pú fú":[32384],"yào lì":[32389],"rǎng xiāng":[32405],"lí sǎ xǐ lǐ":[32410],"xiān qiàn":[32420],"jīng jìng":[32463],"tí tì":[32488],"bēng běng bèng":[32503],"zōng zèng":[32508],"jī qī":[32521],"wēn yùn yūn":[32522],"fèng féng":[32541],"shuāi cuī suī":[32542],"miù móu liáo miào mù":[32554],"qiāo sāo":[32562],"fǒu":[32566,32569,32571,38636,40192],"bà ba pí":[32610,32631],"guà guǎi":[32619],"yáng xiáng":[32650,32655],"měi gāo":[32665],"yì xī":[32667],"qiǎng qiān":[32671],"qiāng kòng":[32683],"qián xián yán":[32684],"nóu":[32698],"hóng gòng":[32702],"pī bì pō":[32717],"qú yù":[32721],"ké":[32727],"qiào qiáo":[32728],"zhái dí":[32735],"dào zhōu":[32738],"hóu qú":[32757],"shuǎ":[32781],"ruǎn nuò":[32782],"ér nài":[32783],"zhuān duān":[32785],"pá bà":[32793],"chí sì":[32795],"qù chú":[32797],"lún lǔn":[32803],"jí jiè":[32804],"tāng tǎng":[32805],"pǎng":[32810,35243],"zhá zé":[32811],"yē yé":[32822],"yún yíng":[32826],"wà tuǐ zhuó":[32841],"ér nǜ":[32847],"tiē zhé":[32849],"dǐ zhì":[32860],"qié":[32890],"nǐ jiàn":[32891],"lèi lē":[32907],"cào":[32911,35161,37173,40732],"bó dí":[32913],"xiào xiāo":[32918],"dù dǔ":[32922],"chāi":[32926,37365,38039],"hán qín hàn":[32931],"pàng pán pàn":[32936,32982],"zhūn chún":[32939],"āng":[32942,39599],"yù yō":[32946],"pí bǐ bì":[32950],"fèi bì":[32967],"bèi bēi":[32972],"fèi zǐ":[32975],"píng pēng":[32979,33529],"fū fú zhǒu":[32981],"shèng shēng":[32988],"kuà":[33007,36328,39611],"gǎi hǎi":[33010],"gē gé gā":[33011],"néng nài":[33021],"guī kuì":[33023],"mài mò":[33033],"zāng zàng":[33039],"jiǎo jué":[33050,35282],"cuǒ":[33054],"de te":[33062],"zuī juān":[33063],"něi":[33070,33095,39186,39297,39870,39896],"pú fǔ":[33071],"niào":[33074],"shuí":[33085],"guò":[33090,36942,37945],"là xī":[33098],"yān ā":[33100],"gāo gào":[33167],"lù biāo":[33172],"chuái":[33175],"zhuān chuán chún zhuǎn":[33182],"chuài":[33194,36409],"fán pán":[33200],"wǔ hū":[33204],"shān dàn":[33211],"tún":[33216,33227,34508,35928,35930,36568,38677,39145,39272,39784,40064,40663],"bì bei":[33218],"là gé":[33224],"sào sāo":[33226],"nào":[33233,38297,38393,39719],"ní luán":[33249],"qiān xián":[33252],"guàng jiǒng":[33254],"guǎng jiǒng":[33257],"chòu xiù":[33261],"mián biān":[33265],"dié zhí":[33271],"zhī jìn":[33272],"shè shě":[33293],"pù":[33302,33303],"bān bō pán":[33324],"kuā":[33343],"gèn gěn":[33390],"sè shǎi":[33394],"fú bó":[33396],"jiāo qiú":[33405],"chāi chā":[33414],"sháo què":[33421],"hù xià":[33424],"zì zǐ":[33427],"huì hū":[33428],"tún chūn":[33434],"jiè gài":[33445],"xù zhù":[33447],"yuán yán":[33451],"xīn xìn":[33455],"lún huā":[33458],"wù hū":[33460],"gōu gǒu":[33462],"mào máo":[33468],"fèi fú":[33470],"chán yín":[33474],"qiē":[33478],"sū sù":[33487],"tiáo sháo":[33493],"lì jī":[33497],"kē hē":[33499],"jù qǔ":[33507],"ruò rě":[33509],"zhù níng":[33511],"pā bó":[33513],"xiú":[33516],"zhǎ zuó":[33522],"jū chá":[33524],"nié":[33526],"shēng ruí":[33532],"qié jiā":[33540],"zǐ cí":[33544],"qiàn xī":[33564],"chǎi":[33565],"fá pèi":[33591],"ráo":[33627,34136,35155,39250,39286],"yíng xíng":[33637],"qián xún":[33640,34113],"yìn yīn":[33643],"hé hè":[33655],"shā suō":[33678],"péng fēng":[33681],"shēn xīn":[33688],"wǎn guān guǎn":[33694],"yóu sù":[33700],"shāo xiāo":[33702,34552],"làng liáng":[33704],"piǎo fú":[33705],"wèn wǎn miǎn":[33708],"shì shí":[33715,33940],"tù tú":[33717],"xiān liǎn":[33718,34207],"wǎn yù":[33728],"zōu chù":[33734],"lù lǜ":[33737],"jūn jùn":[33740],"niè rěn":[33741],"zī zì zāi":[33745],"tú tù":[33759],"jiē shà":[33768],"qiáo zhǎo":[33772],"tái zhī chí":[33773],"fēi fěi":[33778,34586],"qín qīn jīn":[33779],"zū jù":[33785,33961],"lǐn má":[33787],"tián tiàn":[33790],"tiē":[33820,36028,36148],"luò là lào luō":[33853],"zhù zhuó zhe":[33879],"shèn rèn":[33882],"gě gé":[33883],"jùn suǒ":[33904],"kuì kuài":[33929],"rú ná":[33944],"méng mēng měng":[33945],"yuán huán":[33949],"xú shú":[33955],"xí xì":[33973],"mì míng":[33986],"sōu sǒu":[33987],"gài gě hé hài":[33995],"yǎo zhuó":[34004],"diào tiáo dí":[34023],"xū qiū fū":[34034],"zí jú":[34043],"liǎo lù":[34044],xu:[34047],"hàn hǎn":[34058],"màn wàn mán":[34067],"pó bò":[34082],"fān fán bō":[34115],"hóng hòng":[34171],"yù ào":[34177,38569],"xí xiào":[34178],"báo bó bò":[34180],"cí zī":[34187],"wàn luàn":[34189],"kǎo hāo":[34215],"yuǎn wěi":[34227],"zhòu chóu":[34229],"wō mái":[34230],"xiāo hào":[34243],"yù xù xū":[34247],"jiè jí":[34249],"diào zhuó":[34251],"cáng zàng":[34255],"lǎ":[34270],"chú zhū":[34296],"pín píng":[34315],"gān hán":[34423],"hóng jiàng":[34425],"huī huǐ":[34426],"xiā há":[34430],"mǎ mà mā":[34434],"fāng bàng":[34436],"bàng bèng":[34444],"jué quē":[34455],"qín qián":[34457],"gōng zhōng":[34467],"fǔ fù":[34469],"dài dé":[34478],"gǒu qú xù":[34492],"bǒ pí":[34494],"shé yí":[34503],"tiě":[34504,37444,37525,37921,37941,38081,39510],"gé luò":[34514],"máng bàng":[34518],"yì xǔ":[34529],"há gé":[34532],"qiè ní":[34538],"é yǐ":[34558],"zhē zhé":[34567],"là zhà":[34593],"suò":[34614,36900],"yóu qiú":[34660],"xiā hā":[34662],"xī qī":[34695],"bī pí":[34709],"nài něng":[34714],"hé xiá":[34715],"guì huǐ":[34717],"mǎ mā mà":[34718],"shì zhē":[34731],"zhì dié":[34738],"jiàn chán":[34745],"ma má mò":[34758],"mǎng měng":[34770],"biē bié":[34782],"bēn fèi":[34790],"láo liáo":[34791],"yín xún":[34795],"lí lǐ":[34849],"xuè xiě":[34880],"xíng háng hàng héng":[34892],"shuāi cuī":[34928],"tuó tuō":[34953],"lǐng líng":[34954],"bào páo pào":[34956],"jù jiē":[34963],"hè kè":[34964],"yí yì":[34968,36004],"nà jué":[34982],"bèi pī":[34987],"chǐ nuǒ":[34994],"chǐ qǐ duǒ nuǒ":[34995],"jiá qiā jié":[34999],"bó mò":[35001],"guī guà":[35007],"liè liě":[35010],"chéng chěng":[35022],"jiē gé":[35027],"dāo chóu":[35055],"shang cháng":[35059],"yuān gǔn":[35063],"yǎn ān":[35066],"tì xī":[35068],"fù fú":[35092],"chǔ zhǔ":[35098],"tuì tùn":[35114],"lǎi":[35184],"yào yāo":[35201],"qín tán":[35203],"jiàn xiàn":[35211,35265],"piǎn":[35217,35550,35869,36021],"piē miè":[35221],"yíng yǐng":[35246],"qù qū":[35248,35255,35281],"jiàn biǎn":[35253],"luó luǎn":[35254],"zī zuǐ":[35292],"huà xiè":[35295],"jiě jiè xiè":[35299,35303],"xué hù":[35319],"lì lù":[35323],"tǎo":[35342,35752],"zhùn":[35376],"zī zǐ":[35390],"yí dài":[35410,35794],"xiòng":[35415,35783],"diào tiǎo":[35458],"yí chǐ chì":[35459],"lǎng làng":[35471],"ēi éi ěi èi xī":[35474,35830],"shuà":[35484],"yǔ yù":[35486,35821,38632],"shuō shuì yuè":[35498,35828],"shuí shéi":[35504,35841],"qū juè":[35507],"chī lài":[35514],"nì ná":[35517],"diào tiáo":[35519],"pǐ bēi":[35520],"jì jī":[35525],"zé zuò zhǎ cuò":[35534],"chù jí":[35540],"háo xià":[35541],"lùn lún":[35542,35770],"shì dì":[35551],"huà guā":[35555],"xǐ shāi āi":[35568],"nán nàn":[35573,38627],"miù":[35628,35884],"zèn":[35670,35886],"shí zhì":[35672,35782],"juàn xuān":[35714],"yí tuī":[35721],"zhán":[35741],"xǔ hǔ":[35768],"xiáng yáng":[35814],"tiáo diào zhōu":[35843],"chén shèn":[35852],"mí mèi":[35868],"màn mán":[35881],"gǔ yù":[35895],"huō huò huá":[35905],"zhì zhài":[35960],"huān huán":[35974],"kěn kūn":[35975],"mò hé":[35976],"mò hé háo":[35977],"jù lóu":[35991],"zé zhài":[36012,36131],"dài tè":[36024],"bì bēn":[36033],"jiǎ gǔ jià":[36040],"xiōng mín":[36079],"càng":[36086],"zhuàn zuàn":[36090,36186],"wàn zhuàn":[36099],"gàn gòng zhuàng":[36123],"yuán yùn":[36128],"bēn bì":[36146],"jiǎ gǔ":[36158],"zǒu":[36208,36209,39888],"dié tú":[36227],"jū qiè":[36228],"qū cù":[36235,36264],"jí jié":[36236],"guā huó":[36239],"què qì jí":[36254],"tàng tāng":[36255],"chuō zhuó":[36256],"qù cù":[36259],"yuè tì":[36271],"bō bào":[36277],"kuà wù":[36278],"guì jué":[36281],"fāng fàng páng":[36285],"páo bà":[36289],"qí qǐ":[36290],"jiàn chén":[36296],"pǎo páo":[36305],"diǎn diē tiē":[36309],"jū jù qiè":[36313],"bǒ":[36315],"luò lì":[36318],"dài duò duō chí":[36322],"zhuǎi":[36329],"bèng pián":[36336],"tiào táo":[36339],"shū chōu":[36350],"liàng liáng":[36361],"tà tā":[36367],"chǎ":[36421,37972,38258],"dí zhí":[36450],"dēng dèng":[36460,37913,38251],"cèng":[36461],"dūn cún":[36466],"juě jué":[36470],"liāo":[36477],"xiè sǎ":[36512],"tǐ":[36528,36550,39605],"yà zhá gá":[36555],"xìn xiàn":[36560],"fàn guǐ":[36563],"zhuàn zhuǎn":[36578],"zhóu zhòu":[36600,36724],"bú":[36688,37293,40170],"zhuǎn zhuàn zhuǎi":[36716],"zǎi zài":[36733],"niǎn zhǎn":[36759],"biān bian":[36793],"dào biān":[36794],"yǐ yí":[36806,36836,36849],"guò guo guō":[36807],"wàng kuāng":[36811],"hái huán":[36824],"zhè zhèi":[36825],"yuǎn yuàn":[36828],"zhì lì":[36835],"zhù wǎng":[36844],"zhuī duī":[36861],"shì kuò":[36866],"tòu":[36879],"tōng tòng":[36890],"guàng":[36891],"dǎi dài":[36910],"suì suí":[36930],"tí dì":[36934],"yí wèi":[36951],"shì dí zhé":[36969],"cà":[36970],"huán hái":[36996],"lí chí":[37004],"kàng háng":[37023],"nà nèi nā":[37027],"xié yá yé yú xú":[37034],"gāi hái":[37058],"huán xún":[37063],"chī xī":[37079],"hǎo":[37085],"lì zhí":[37094],"xiáo ǎo":[37097],"dōu dū":[37117],"liǎo":[37149,38269],"zàn cuán cuó":[37186,37191],"dīng dǐng":[37194],"cù zuò":[37218],"fā pō":[37222],"shāi shī":[37246],"niàng":[37247,37304],"qiú chōu":[37268],"pō fā":[37271,37297],"chǎn chěn":[37286],"yàn liǎn xiān":[37302],"niàng niáng":[37312],"lǐ li":[37324],"lí xǐ xī":[37328],"liǎo liào":[37333],"dīng dìng":[37336,38025],"qiǎo jiǎo":[37349],"yú huá":[37354],"huá wū":[37355],"rì rèn jiàn":[37360,37372],"dì dài":[37361],"pī zhāo":[37373],"yá yé":[37374],"bǎ pá":[37376,38063],"tā tuó":[37448,38090],"běi":[37491],"bǐng píng":[37500],"hā kē":[37503,38122],"chòng":[37507,38131],"xiǎng jiōng":[37508],"yù sì":[37513],"xù huì":[37514],"rén rěn":[37515],"shàn shuò":[37519],"chì lì":[37520],"xiǎn xǐ":[37521,38115],"hóu xiàng":[37527],"diào tiáo yáo":[37530],"xiān kuò tiǎn guā":[37531,37565,38118],"zhé niè":[37560],"zhōng yōng":[37567],"tōu tù dòu":[37568],"méi méng":[37570],"wàn jiǎn":[37572,37803],"tǐng dìng":[37580,38116],"juān jiān cuān":[37585],"sī tuó":[37590],"juān xuān juàn":[37591],"wú huá wū":[37592],"zhuó chuò":[37596],"xíng xìng jīng":[37598],"jū jú":[37606,38164],"zuì niè":[37623],"yuān yuǎn wǎn wān":[37626],"gāng gàng":[37628,38050],"zhuī":[37648,38181,39429,39571,40315],"ā":[37650,38165],"cuō chā":[37768],"suǒ sè":[37773],"yáo zú":[37776],"yè tà gé":[37777],"qiāng chēng":[37783],"gé lì":[37784,38217,39730],"bī pī bì":[37790],"gǎo hào":[37804],"zú chuò":[37827],"xiū xiù":[37829],"shòu sōu":[37833],"dí dī":[37841,38237],"qiāo sǎn càn":[37842],"lù áo":[37845],"tāng táng":[37852],"jiàn zàn":[37865],"huì suì ruì":[37880],"qiǎng qiāng":[37881,38250],"sǎn xiàn sà":[37886],"jiǎn jiàn":[37927,38159],"dāng chēng":[37946,38107],"zuān zuàn":[38013],"sà xì":[38033],"yào yuè":[38053],"tǒu dǒu":[38061],"zuàn zuān":[38075],"qiān yán":[38085],"pí pī":[38093],"yáo diào tiáo":[38123],"tāng tàng":[38132],"pù pū":[38138],"tán xiān":[38188],"liù liú":[38223],"hào gǎo":[38224],"táng tāng":[38231],"tán chán xín":[38241],"huò shǎn":[38276],"hàn bì":[38280,38380],"kāng kàng":[38284,38390],"xián jiàn jiān jiǎn":[38290],"xiā xiǎ":[38293],"xiǎ kě":[38300],"biàn guān":[38302],"hé gé":[38308,39052],"hòng xiàng":[38311],"sē xī":[38314],"tíng tǐng":[38318],"è yān":[38332,38415],"hòng juǎn xiàng":[38338],"bǎn pàn":[38342],"dū shé":[38349,38407],"què quē":[38357],"tāng táng chāng":[38363],"kàn hǎn":[38366,38426],"xì sè tà":[38367],"mēn mèn":[38391],"quē què":[38425],"yán diàn":[38461],"ā ē":[38463],"bēi pō pí":[38466],"yàn yǎn":[38529],"yú yáo shù":[38531],"lóng lōng":[38534],"duì zhuì":[38538],"suí duò":[38539],"gāi qí ái":[38545],"huī duò":[38547,38579],"wěi kuí":[38551],"lì dài":[38584],"zhuī cuī wéi":[38585],"hè hú":[38586,40366],"jùn juàn":[38589,38603],"nán nàn nuó":[38590],"què qiāo qiǎo":[38592],"guàn huán":[38618],"guī xī":[38623],"sè xí":[38637],"án":[38648],"wù méng":[38650],"tèng":[38703],"lù lòu":[38706],"mái":[38718],"jìng liàng":[38746],"gé jí":[38761],"bǎ":[38774],"yāng yàng":[38789],"gé tà sǎ":[38792],"biān yìng":[38805],"qiào shāo":[38808],"juān xuān":[38809],"shàng zhǎng":[38813],"pí bǐng bì bēi":[38814],la:[38817],"xiè dié":[38818],"ēng":[38821],"móu mù":[38826],"bì bǐng":[38840],"mèi wà":[38862],"rǒu":[38870],"shè xiè":[38872],"yùn wēn":[38891],"dùn dú":[38931,39039],"duǐ":[38951],"luō":[38961],"bīn pín":[38971],"yóng":[38994,39065,39979],"mān":[39010,39071],"jǐng gěng":[39048],"jié xié jiá":[39049],"kē ké":[39055],"pín bīn":[39057],"chàn zhàn":[39076],"fēng fěng":[39080,39118],"biāo diū":[39081],"bá fú":[39088],"sāo sōu":[39102],"liù liáo":[39106],"shí sì yì":[39135],"yǎng juàn":[39148],"zhù tǒu":[39155],"yí sì":[39156],"zuò zé zhā":[39157],"tiè":[39163,39214],"xiǎng náng":[39263],"táng xíng":[39271],"gē le":[39289],"chā zha":[39303],"náng nǎng":[39317],"yūn wò":[39335],"zhī shì":[39350],"xìn jìn":[39352],"kuài jué":[39363],"zǎng":[39380,39541],"tái dài":[39384],"xún xuān":[39400],"liáng láng":[39418],"piàn":[39447,39449,39575,39800],"dài tái":[39552],"sāo sǎo":[39578],"gǔ gū":[39592],"bèi mó":[39603],"xiāo qiāo":[39609],"bǎng pǎng":[39624],"bó jué":[39625],"bì pǒ":[39666],"máo méng":[39667],"kuò yuè":[39674],"bā bà":[39774,40067],"jì cǐ":[39814],"bó bà":[39818],"zhǎ zhà":[39827,40074],"chóu dài":[39832],"luò gé":[39845],"guī xié wā kuí":[39853],"xiān xiǎn":[39854,40092],"pū bū":[39878],"yì sī":[39907],"bà bó":[40076],"guī xié":[40081],"sāi xǐ":[40131],"niǎo diǎo":[40165],"diāo zhāo":[40173],"gān hàn yàn":[40177],"fū guī":[40186],"jiān qiān zhān":[40189],"hé jiè":[40353],"piān biǎn":[40355],"chuàn zhì":[40360],"cāng qiāng":[40364],"sǔn xùn":[40381],"biāo páo":[40579],"zhù cū":[40582],"jūn qún":[40583,40597],chi:[40630],"mó me":[40636],"mó me ma":[40637],"mí mǒ":[40639],"dàn shèn":[40686],"zhěn yān":[40688],"dǎn zhǎn":[40693],"miǎn mǐn měng":[40702],"hōu":[40769],"nàng":[40777],"qí jì zī zhāi":[40784],"yín kěn yǎn":[40834],"yín kěn":[40840],"gōng wò":[40847],"guī jūn qiū":[40860,40863]},ld=[];Object.keys(sd).forEach((function(t){for(var e=0,n=sd[t];e=19968&&e<=40869}var dd={};function gd(t){void 0===t&&(t={}),dd={},Object.keys(t).sort((function(t,e){return ud(e)-ud(t)})).forEach((function(e){dd[e]=t[e]}))}var fd=function(){return dd};function pd(){for(var t in dd)return!0;return!1}var md=[{},{},{"一个":"yí gè","这个":"zhè ge","不是":"bú shì","成为":"chéng wéi","一种":"yī zhǒng","认为":"rèn wéi","作为":"zuò wéi","部分":"bù fèn","要求":"yāo qiú","各种":"gè zhǒng","应该":"yīng gāi","增长":"zēng zhǎng","不会":"bú huì","提供":"tí gōng","那些":"nèi xiē","觉得":"jué de","任务":"rèn wu","那个":"nà ge","称为":"chēng wéi","为主":"wéi zhǔ","了解":"liǎo jiě","处理":"chǔ lǐ","皇上":"huáng shang","只要":"zhǐ yào","心里":"xīn li","大量":"dà liàng","力量":"lì liàng","几乎":"jī hū","干部":"gàn bù","目的":"mù dì","行为":"xíng wéi","只见":"zhǐ jiàn","认识":"rèn shi","市长":"shì zhǎng","师父":"shī fu","调查":"diào chá","重新":"chóng xīn","分为":"fēn wéi","知识":"zhī shi","导弹":"dǎo dàn","行业":"háng yè","质量":"zhì liàng","银行":"yín háng","参与":"cān yù","充分":"chōng fèn","尽管":"jǐn guǎn","生长":"shēng zhǎng","数量":"shù liàng","应当":"yīng dāng","院长":"yuàn zhǎng","强调":"qiáng diào","只能":"zhǐ néng","音乐":"yīn yuè","以为":"yǐ wéi","处于":"chǔ yú","分子":"fèn zǐ","晚上":"wǎn shang","部长":"bù zhǎng","蒙古":"měng gǔ","只有":"zhǐ yǒu","适当":"shì dàng","品种":"pǐn zhǒng","只好":"zhǐ hǎo","成长":"chéng zhǎng","高兴":"gāo xìng","不了":"bù liǎo","产量":"chǎn liàng","胖子":"pàng zi","种类":"zhǒng lèi","显得":"xiǎn de","只是":"zhǐ shì","似的":"shì de","率领":"shuài lǐng","改为":"gǎi wéi","不禁":"bù jīn","成分":"chéng fèn","答应":"dā yìng","少年":"shào nián","兴趣":"xìng qù","太监":"tài jiàn","休息":"xiū xi","校长":"xiào zhǎng","更新":"gēng xīn","合同":"hé tong","喝道":"hè dào","重庆":"chóng qìng","重建":"chóng jiàn","使得":"shǐ de","审查":"shěn zhā","累计":"lěi jì","给予":"jǐ yǔ","上去":"shǎng qù","行情":"háng qíng","种种":"zhǒng zhǒng","极为":"jí wéi","冠军":"guàn jūn","仿佛":"fǎng fú","头发":"tóu fa","投降":"tóu xiáng","家长":"jiā zhǎng","仔细":"zǐ xì","要是":"yào shi","将领":"jiàng lǐng","含量":"hán liàng","更为":"gèng wéi","只得":"zhǐ de","哪些":"něi xiē","积累":"jī lěi","地处":"dì chǔ","县长":"xiàn zhǎng","少女":"shào nǚ","路上":"lù shang","只怕":"zhǐ pà","能量":"néng liàng","一度":"yí dù","储量":"chǔ liàng","供应":"gōng yìng","挑战":"tiǎo zhàn","西藏":"xī zàng","记得":"jì de","影片":"yǐng piān","总量":"zǒng liàng","当真":"dàng zhēn","将士":"jiàng shì","差别":"chā bié","较为":"jiào wéi","一处":"yī chǔ","照片":"zhào piān","长老":"zhǎng lǎo","大夫":"dài fū","差异":"chā yì","懂得":"dǒng de","尽量":"jǐn liàng","模样":"mú yàng","的确":"dí què","鱼肚":"yú dǔ","种子":"zhǒng zi","为首":"wéi shǒu","便宜":"pián yí","更名":"gēng míng","石头":"shí tou","州长":"zhōu zhǎng","为止":"wéi zhǐ","漂亮":"piào liàng","炮弹":"pào dàn","藏族":"zàng zú","哪个":"něi gè","角色":"jué sè","当作":"dàng zuò","尽快":"jǐn kuài","人为":"rén wéi","重复":"chóng fù","胡同":"hú tòng","差距":"chā jù","弟兄":"dì xiong","大将":"dà jiàng","几种":"jǐ zhǒng","肚子":"dǔ zi","睡觉":"shuì jiào","团长":"tuán zhǎng","队长":"duì zhǎng","区长":"qū zhǎng","难得":"nán de","丫头":"yā tou","打听":"dǎ ting","会长":"huì zhǎng","弟弟":"dì di","王爷":"wáng ye","当天":"dàng tiān","重量":"zhòng liàng","鱼种":"yú zhǒng","誉为":"yù wéi","家伙":"jiā huo","华山":"huà shān","椅子":"yǐ zi","流量":"liú liàng","长大":"zhǎng dà","勉强":"miǎn qiǎng","会计":"kuài jì","分散":"fēn sǎn","过分":"guò fèn","三种":"sān zhǒng","济南":"jǐ nán","调动":"diào dòng","燕京":"yān jīng","少将":"shào jiàng","中毒":"zhòng dú","晓得":"xiǎo de","特种":"tè zhǒng","变更":"biàn gēng","认得":"rèn de","苹果":"pín guǒ","念头":"niàn tou","挣扎":"zhēng zhá","三藏":"sān zàng","剥削":"bō xuē","丞相":"chéng xiàng","少量":"shǎo liàng","寻思":"xín sī","夺得":"duó de","干线":"gàn xiàn","呼吁":"hū yù","戏曲":"xì qǔ","处罚":"chǔ fá","长官":"zhǎng guān","见长":"jiàn zhǎng","柏林":"bó lín","亲戚":"qīn qi","身分":"shēn fèn","胳膊":"gē bo","着手":"zhuó shǒu","炸弹":"zhà dàn","咳嗽":"ké sou","西边":"xī bian","赢得":"yíng de","叶子":"yè zi","外长":"wài zhǎng","供给":"gōng jǐ","师长":"shī zhǎng","变量":"biàn liàng","应有":"yīng yǒu","下载":"xià zài","乐器":"yuè qì","间接":"jiàn jiē","底下":"dǐ xia","种族":"zhǒng zú","打扮":"dǎ ban","子弹":"zǐ dàn","弹药":"dàn yào","热量":"rè liàng","削弱":"xuē ruò","骨干":"gǔ gàn","容量":"róng liàng","模糊":"mó hu","转动":"zhuàn dòng","落下":"là xià","称呼":"chēng hu","科长":"kē zhǎng","处置":"chǔ zhì","歌曲":"gē qǔ","着重":"zhuó zhòng","着急":"zháo jí","强迫":"qiǎng pò","庭长":"tíng zhǎng","首相":"shǒu xiàng","喇嘛":"lǎ ma","镇长":"zhèn zhǎng","只管":"zhǐ guǎn","重重":"chóng chóng","免得":"miǎn de","灾难":"zāi nàn","着实":"zhuó shí","所得":"suǒ de","度假":"dù jià","真相":"zhēn xiàng","相貌":"xiàng mào","处分":"chǔ fèn","干预":"gàn yù","委屈":"wěi qu","为期":"wéi qī","伯伯":"bó bo","圈子":"quān zi","见识":"jiàn shi","笼罩":"lǒng zhào","外边":"wài bian","与会":"yù huì","都督":"dū du","宰相":"zǎi xiàng","较量":"jiào liàng","对称":"duì chèn","总长":"zǒng zhǎng","相公":"xiàng gong","空白":"kòng bái","大王":"dài wáng","打量":"dǎ liang","水分":"shuǐ fèn","舌头":"shé tou","没收":"mò shōu","行李":"xíng li","判处":"pàn chǔ","散文":"sǎn wén","处境":"chǔ jìng","树种":"shù zhǒng","孙子":"sūn zi","拳头":"quán tou","打发":"dǎ fa","组长":"zǔ zhǎng","骨头":"gú tou","宁可":"nìng kě","更换":"gēng huàn","薄弱":"bó ruò","还原":"huán yuán","重修":"chóng xiū","东边":"dōng bian","同行":"tóng háng","只顾":"zhǐ gù","爱好":"ài hào","馒头":"mán tou","军长":"jūn zhǎng","散发":"sàn fà","首长":"shǒu zhǎng","厂长":"chǎng zhǎng","司长":"sī zhǎng","长子":"zhǎng zǐ","强劲":"qiáng jìng","恰当":"qià dàng","头儿":"tou er","站长":"zhàn zhǎng","折腾":"zhē teng","相处":"xiāng chǔ","统率":"tǒng shuài","中将":"zhōng jiàng","命中":"mìng zhòng","名将":"míng jiàng","左边":"zuǒ bian","木头":"mù tou","动弹":"dòng dàn","地壳":"dì qiào","干活":"gàn huó","少爷":"shào ye","难民":"nàn mín","水量":"shuǐ liàng","补给":"bǔ jǐ","尾巴":"wěi ba","来得":"lái de","好奇":"hào qí","钥匙":"yào shi","当做":"dàng zuò","沉着":"chén zhuó","哑巴":"yǎ ba","车子":"chē zi","上将":"shàng jiàng","播种":"bō zhǒng","恶心":"ě xin","不对":"bú duì","担子":"dàn zi","应届":"yīng jiè","行列":"háng liè","主角":"zhǔ jué","运转":"yùn zhuàn","兄长":"xiōng zhǎng","格式":"gé shi","正月":"zhēng yuè","营长":"yíng zhǎng","当成":"dàng chéng","右边":"yòu bian","女婿":"nǚ xu","咽喉":"yān hóu","当晚":"dàng wǎn","重阳":"chóng yáng","化为":"huà wéi","双重":"shuāng chóng","吐蕃":"tǔ bō","钻进":"zuān jìn","乐队":"yuè duì","不当":"bù dàng","亮相":"liàng xiàng","被子":"bèi zi","舍得":"shě de","杉木":"shā mù","击中":"jī zhòng","无处":"wú chǔ","里边":"lǐ bian","排长":"pái zhǎng","假期":"jià qī","分量":"fèn liàng","数次":"shuò cì","提防":"dī fáng","吆喝":"yāo he","查处":"chá chǔ","量子":"liàng zǐ","里头":"lǐ tou","两行":"liǎng háng","调研":"diào yán","伺候":"cì hou","重申":"chóng shēn","枕头":"zhěn tou","拚命":"pàn mìng","社长":"shè zhǎng","苦难":"kǔ nàn","归还":"guī huán","危难":"wēi nàn","批量":"pī liàng","畜牧":"xù mù","点着":"diǎn zháo","甚为":"shèn wéi","小将":"xiǎo jiàng","着眼":"zhuó yǎn","处死":"chǔ sǐ","厌恶":"yàn wù","鼓乐":"gǔ yuè","树干":"shù gàn","秘鲁":"bì lǔ","大方":"dà fang","外头":"wài tou","班长":"bān zhǎng","星宿":"xīng xiù","宁愿":"nìng yuàn","钦差":"qīn chāi","为数":"wéi shù","勾当":"gòu dàng","削减":"xuē jiǎn","一发":"yī fà","间谍":"jiàn dié","埋怨":"mán yuàn","结实":"jiē shi","计量":"jì liàng","淹没":"yān mò","村长":"cūn zhǎng","连长":"lián zhǎng","自给":"zì jǐ","下边":"xià bian","物种":"wù zhǒng","武将":"wǔ jiàng","温差":"wēn chā","直奔":"zhí bèn","供求":"gōng qiú","剂量":"jì liàng","道长":"dào zhǎng","泄露":"xiè lòu","王八":"wáng ba","切割":"qiē gē","间隔":"jiàn gé","一晃":"yī huǎng","长假":"cháng jià","令狐":"líng hú","为害":"wéi hài","句子":"jù zi","偿还":"cháng huán","疙瘩":"gē dā","燕山":"yān shān","堵塞":"dǔ sè","夺冠":"duó guàn","下调":"xià diào","扎实":"zhā shi","电荷":"diàn hè","看守":"kān shǒu","复辟":"fù bì","郁闷":"yù mèn","尽早":"jǐn zǎo","切断":"qiē duàn","指头":"zhǐ tou","为生":"wéi shēng","畜生":"chù sheng","切除":"qiē chú","着力":"zhuó lì","着想":"zhuó xiǎng","级差":"jí chā","投奔":"tóu bèn","棍子":"gùn zi","含糊":"hán hu","少妇":"shào fù","兴致":"xìng zhì","杂种":"zá zhǒng","四种":"sì zhǒng","纳闷":"nà mèn","干流":"gàn liú","卷起":"juǎn qǐ","扇子":"shàn zi","更改":"gēng gǎi","笼络":"lǒng luò","喇叭":"lǎ ba","载荷":"zài hè","妥当":"tuǒ dàng","为难":"wéi nán","着陆":"zhuó lù","燕子":"yàn zi","干吗":"gàn má","白发":"bái fà","总得":"zǒng děi","夹击":"jiā jī","曝光":"bào guāng","曲调":"qǔ diào","相机":"xiàng jī","叫化":"jiào huā","角逐":"jué zhú","啊哟":"ā yō","载重":"zài zhòng","长辈":"zhǎng bèi","出差":"chū chāi","垛口":"duǒ kǒu","撇开":"piē kāi","厅长":"tīng zhǎng","组分":"zǔ fèn","误差":"wù chā","家当":"jiā dàng","传记":"zhuàn jì","个子":"gè zi","铺设":"pū shè","干事":"gàn shì","杆菌":"gǎn jūn","五更":"wǔ gēng","定量":"dìng liàng","运载":"yùn zài","会儿":"huì er","酋长":"qiú zhǎng","重返":"chóng fǎn","差额":"chā é","露面":"lòu miàn","钻研":"zuān yán","大城":"dài chéng","上当":"shàng dàng","销量":"xiāo liàng","洋行":"yáng háng","作坊":"zuō fang","照相":"zhào xiàng","哎呀":"āi yā","调集":"diào jí","看中":"kàn zhòng","议长":"yì zhǎng","风筝":"fēng zheng","一应":"yī yīng","辟邪":"bì xié","空隙":"kòng xì","更迭":"gēng dié","偏差":"piān chā","声调":"shēng diào","农行":"nóng háng","适量":"shì liàng","屯子":"tún zi","搜查":"sōu zhā","无量":"wú liàng","空地":"kòng dì","调度":"diào dù","一曲":"yī qǔ","散射":"sǎn shè","种姓":"zhǒng xìng","太行":"tài háng","创伤":"chuāng shāng","海参":"hǎi shēn","满载":"mǎn zài","重叠":"chóng dié","军种":"jūn zhǒng","落差":"luò chā","单调":"dān diào","老将":"lǎo jiàng","人参":"rén shēn","间断":"jiàn duàn","重现":"chóng xiàn","夹杂":"jiā zá","调用":"diào yòng","萝卜":"luó bo","附着":"fù zhuó","应声":"yīng shēng","主将":"zhǔ jiàng","罪过":"zuì guo","咀嚼":"jǔ jué","为政":"wéi zhèng","过量":"guò liàng","乐曲":"yuè qǔ","负荷":"fù hè","枪弹":"qiāng dàn","悄然":"qiǎo rán","处方":"chǔ fāng","悄声":"qiǎo shēng","曲子":"qǔ zi","情调":"qíng diào","一着":"yī zhāo","挑衅":"tiǎo xìn","代为":"dài wéi","了结":"liǎo jié","打中":"dǎ zhòng","酒吧":"jiǔ bā","作曲":"zuò qǔ","懒得":"lǎn de","增量":"zēng liàng","衣着":"yī zhuó","部将":"bù jiàng","要塞":"yào sài","茶几":"chá jī","杠杆":"gàng gǎn","出没":"chū mò","鲜有":"xiǎn yǒu","间隙":"jiàn xì","重担":"zhòng dàn","重演":"chóng yǎn","应酬":"yìng chou","只当":"zhǐ dāng","毋宁":"wú nìng","包扎":"bāo zā","前头":"qián tou","卷烟":"juǎn yān","非得":"fēi děi","五种":"wǔ zhǒng","弹道":"dàn dào","上调":"shàng diào","杆子":"gān zi","门将":"mén jiàng","后头":"hòu tou","标识":"biāo zhì","喝彩":"hè cǎi","暖和":"nuǎn huo","更深":"gēng shēn","累积":"lěi jī","引得":"yǐn de","调遣":"diào qiǎn","倔强":"jué jiàng","宝藏":"bǎo zàng","丧事":"sāng shì","约莫":"yuē mo","纤夫":"qiàn fū","更替":"gēng tì","装载":"zhuāng zài","背包":"bēi bāo","帖子":"tiě zi","种群":"zhǒng qún","松散":"sōng sǎn","支行":"zhī háng","呼喝":"hū hè","可恶":"kě wù","自转":"zì zhuàn","供电":"gōng diàn","反省":"fǎn xǐng","坦率":"tǎn shuài","苏打":"sū dá","本分":"běn fèn","落得":"luò de","鄙薄":"bǐ bó","相间":"xiāng jiàn","单薄":"dān bó","混蛋":"hún dàn","发难":"fā nàn","贞观":"zhēn guàn","语种":"yǔ zhǒng","附和":"fù hè","育种":"yù zhǒng","能耐":"néng nai","吓唬":"xià hu","未了":"wèi liǎo","引着":"yǐn zháo","抽调":"chōu diào","沙子":"shā zi","席卷":"xí juǎn","标的":"biāo dì","人种":"rén zhǒng","别扭":"biè niu","思量":"sī liang","喝采":"hè cǎi","论语":"lún yǔ","盖子":"gài zi","曲艺":"qǔ yì","分外":"fèn wài","弄堂":"lòng táng","乐舞":"yuè wǔ","雨量":"yǔ liàng","毛发":"máo fà","差遣":"chāi qiǎn","曲目":"qǔ mù","背负":"bēi fù","转速":"zhuàn sù","声乐":"shēng yuè","夹攻":"jiā gōng","供水":"gōng shuǐ","主干":"zhǔ gàn","逃难":"táo nàn","惩处":"chéng chǔ","长相":"zhǎng xiàng","公差":"gōng chāi","行当":"háng dang","榴弹":"liú dàn","省得":"shěng de","条子":"tiáo zi","重围":"chóng wéi","阻塞":"zǔ sè","劲风":"jìng fēng","纠葛":"jiū gé","颠簸":"diān bǒ","点中":"diǎn zhòng","避难":"bì nàn","重创":"zhòng chuāng","姥姥":"lǎo lao","迷糊":"mí hu","公家":"gōng jia","几率":"jī lǜ","苦闷":"kǔ mèn","度量":"dù liàng","差错":"chā cuò","暑假":"shǔ jià","参差":"cēn cī","搭载":"dā zài","助长":"zhù zhǎng","相称":"xiāng chèn","红晕":"hóng yùn","舍命":"shě mìng","喜好":"xǐ hào","列传":"liè zhuàn","劲敌":"jìng dí","蛤蟆":"há má","三重":"sān chóng","请假":"qǐng jià","钉子":"dīng zi","剧种":"jù zhǒng","沉没":"chén mò","高丽":"gāo lí","休假":"xiū jià","无为":"wú wéi","巴结":"bā jì","了得":"liǎo de","变相":"biàn xiàng","核弹":"hé dàn","亲家":"qìng jia","承载":"chéng zài","行家":"háng jia","喝问":"hè wèn","还击":"huán jī","交还":"jiāo huán","当夜":"dàng yè","将令":"jiàng lìng","单于":"chán yú","空缺":"kòng quē","绿林":"lù lín","胆量":"dǎn liàng","执着":"zhí zhuó","低调":"dī diào","责难":"zé nàn","闭塞":"bì sè","轻薄":"qīng bó","得当":"dé dàng","占卜":"zhān bǔ","排行":"pái háng","扫帚":"sào zhou","龟兹":"qiū cí","年长":"nián zhǎng","外传":"wài zhuàn","头子":"tóu zi","裁缝":"cái féng","礼乐":"lǐ yuè","血泊":"xuè pō","散乱":"sǎn luàn","动量":"dòng liàng","倒腾":"dǎo teng","取舍":"qǔ shě","咱家":"zá jiā","长发":"cháng fà","爪哇":"zhǎo wā","弹壳":"dàn ké","省悟":"xǐng wù","嚷嚷":"rāng rang","连累":"lián lěi","应得":"yīng dé","族长":"zú zhǎng","患难":"huàn nàn","抽查":"chōu zhā","柜子":"guì zi","擂鼓":"léi gǔ","眩晕":"xuàn yùn","调配":"diào pèi","躯干":"qū gàn","差役":"chāi yì","坎坷":"kǎn kě","少儿":"shào ér","乐团":"yuè tuán","养分":"yǎng fèn","退还":"tuì huán","格调":"gé diào","语调":"yǔ diào","音调":"yīn diào","乐府":"yuè fǔ","古朴":"gǔ piáo","打点":"dǎ dian","差使":"chāi shǐ","磨难":"mó nàn","匀称":"yún chèn","瘦削":"shòu xuē","变种":"biàn zhǒng","膏药":"gāo yao","吞没":"tūn mò","调任":"diào rèn","散居":"sǎn jū","上头":"shàng tou","大难":"dà nàn","风靡":"fēng mǐ","放假":"fàng jià","估量":"gū liang","失当":"shī dàng","中弹":"zhòng dàn","妄为":"wàng wéi","长者":"zhǎng zhě","起哄":"qǐ hòng","末了":"mò liǎo","相声":"xiàng sheng","校正":"jiào zhèng","劝降":"quàn xiáng","矢量":"shǐ liàng","沉闷":"chén mèn","给与":"jǐ yǔ","解法":"xiè fǎ","塞外":"sài wài","将校":"jiàng xiào","嗜好":"shì hào","没落":"mò luò","朴刀":"pō dāo","良种":"liáng zhǒng","片子":"piān zi","切削":"qiē xiāo","弹丸":"dàn wán","昆曲":"kūn qǔ","雅致":"yǎ zhi","稀薄":"xī bó","亏得":"kuī de","死难":"sǐ nàn","间歇":"jiàn xiē","翘首":"qiáo shǒu","同种":"tóng zhǒng","色调":"sè diào","处决":"chǔ jué","表率":"biǎo shuài","尺子":"chǐ zi","兵种":"bīng zhǒng","招降":"zhāo xiáng","有种":"yǒu zhǒng","称职":"chèn zhí","斗篷":"dǒu peng","铺子":"pù zi","底子":"dǐ zi","负载":"fù zài","干警":"gàn jǐng","倒数":"dào shǔ","将官":"jiàng guān","锄头":"chú tou","归降":"guī xiáng","疟疾":"nüè ji","唠叨":"láo dao","限量":"xiàn liàng","一打":"yī dá","屏息":"bǐng xī","重逢":"chóng féng","器乐":"qì yuè","氢弹":"qīng dàn","脖颈":"bó gěng","妃子":"fēi zi","追查":"zhuī zhā","处事":"chǔ shì","参量":"cān liàng","轻率":"qīng shuài","缥缈":"piāo miǎo","幸得":"xìng de","中奖":"zhòng jiǎng","才干":"cái gàn","施舍":"shī shě","卷子":"juǎn zi","游说":"yóu shuì","巷子":"xiàng zi","臂膀":"bì bǎng","切勿":"qiē wù","看管":"kān guǎn","风头":"fēng tou","精干":"jīng gàn","高差":"gāo chā","恐吓":"kǒng hè","扁担":"biǎn dàn","给养":"jǐ yǎng","格子":"gé zi","供需":"gōng xū","反差":"fǎn chā","飞弹":"fēi dàn","微薄":"wēi bó","发型":"fà xíng","勘查":"kān zhā","即兴":"jí xìng","攒动":"cuán dòng","间或":"jiàn huò","浅薄":"qiǎn bó","乐章":"yuè zhāng","顺差":"shùn chā","调子":"diào zi","相位":"xiàng wèi","转子":"zhuàn zǐ","劲旅":"jìng lǚ","咔嚓":"kā chā","了事":"liǎo shì","转悠":"zhuàn you","芍药":"sháo yao","当铺":"dàng pù","爪子":"zhuǎ zi","单子":"dān zi","好战":"hào zhàn","燕麦":"yān mài","只许":"zhǐ xǔ","干练":"gàn liàn","女将":"nǚ jiàng","酒量":"jiǔ liàng","划船":"huá chuán","伎俩":"jì liǎng","挑拨":"tiǎo bō","少校":"shào xiào","着落":"zhuó luò","憎恶":"zēng wù","刻薄":"kè bó","口角":"kǒu jué","马尾":"mǎ yǐ","要挟":"yāo xié","引种":"yǐn zhǒng","用处":"yòng chǔ","还手":"huán shǒu","模具":"mú jù","执著":"zhí zhuó","喝令":"hè lìng","火种":"huǒ zhǒng","争得":"zhēng de","保长":"bǎo zhǎng","吸着":"xī zhuó","症结":"zhēng jié","公转":"gōng zhuàn","校勘":"jiào kān","重提":"chóng tí","扫兴":"sǎo xìng","舞曲":"wǔ qǔ","铺盖":"pū gài","长史":"zhǎng shǐ","差价":"chā jià","压根":"yà gēn","怔住":"zhèng zhù","强人":"qiǎng rén","应允":"yīng yǔn","切入":"qiē rù","战将":"zhàn jiàng","年少":"nián shào","舍身":"shě shēn","执拗":"zhí niù","处世":"chǔ shì","中风":"zhòng fēng","等量":"děng liàng","不菲":"bù fěi","放量":"fàng liàng","腔调":"qiāng diào","老少":"lǎo shào","没入":"mò rù","瓜葛":"guā gé","将帅":"jiàng shuài","车载":"chē zài","窝囊":"wō nāng","长进":"zhǎng jìn","可汗":"kè hán","并州":"bīng zhōu","供销":"gōng xiāo","切片":"qiē piàn","差事":"chāi shì","知会":"zhī hui","鹰爪":"yīng zhǎo","处女":"chǔ nǚ","切磋":"qiē cuō","日头":"rì tou","押解":"yā jiè","滋长":"zī zhǎng","道观":"dào guàn","脚色":"jué sè","当量":"dāng liàng","婆家":"pó jia","缘分":"yuán fèn","空闲":"kòng xián","曲牌":"qǔ pái","好色":"hào sè","行会":"háng huì","怒喝":"nù hè","笼统":"lǒng tǒng","边塞":"biān sài","何曾":"hé zēng","重合":"chóng hé","插曲":"chā qǔ","零散":"líng sǎn","轰隆":"hōng lōng","化子":"huā zi","内蒙":"nèi měng","数落":"shǔ luo","逆差":"nì chā","牟利":"móu lì","栅栏":"zhà lan","中标":"zhòng biāo","调档":"diào dàng","佝偻":"gōu lóu","场子":"chǎng zi","甲壳":"jiǎ qiào","重温":"chóng wēn","炮制":"páo zhì","返还":"fǎn huán","自传":"zì zhuàn","高调":"gāo diào","词曲":"cí qǔ","受难":"shòu nàn","殷红":"yān hóng","要约":"yāo yuē","固着":"gù zhuó","强求":"qiǎng qiú","本相":"běn xiàng","骄横":"jiāo hèng","草率":"cǎo shuài","气闷":"qì mèn","着色":"zhuó sè","宁肯":"nìng kěn","兴头":"xìng tou","拘泥":"jū nì","夹角":"jiā jiǎo","发髻":"fà jì","猛将":"měng jiàng","劫难":"jié nàn","约摸":"yuē mo","拖累":"tuō lěi","呢绒":"ní róng","钻探":"zuān tàn","夹层":"jiā céng","把子":"bà zi","落魄":"luò tuò","巷道":"hàng dào","运量":"yùn liàng","头里":"tóu li","解闷":"jiě mèn","空儿":"kòng ér","估摸":"gū mo","好客":"hào kè","小曲":"xiǎo qǔ","折衷":"shé zhōng","钻孔":"zuān kǒng","序曲":"xù qǔ","糊弄":"hù nong","荥阳":"xíng yáng","道行":"dào héng","烦闷":"fán mèn","仓卒":"cāng cù","分叉":"fēn chà","曲率":"qǔ lǜ","相片":"xiàng piān","内行":"nèi háng","工种":"gōng zhǒng","厂子":"chǎng zi","小调":"xiǎo diào","少阳":"shào yáng","受降":"shòu xiáng","染坊":"rǎn fáng","胳臂":"gē bei","将门":"jiàng mén","模板":"mú bǎn","配给":"pèi jǐ","为伍":"wéi wǔ","跟头":"gēn tou","划算":"huá suàn","累赘":"léi zhui","哄笑":"hōng xiào","晕眩":"yùn xuàn","干掉":"gàn diào","缝制":"féng zhì","难处":"nán chǔ","着意":"zhuó yì","蛮横":"mán hèng","干将":"gàn jiàng","奇数":"jī shù","短发":"duǎn fà","生还":"shēng huán","还清":"huán qīng","看护":"kān hù","直率":"zhí shuài","奏乐":"zòu yuè","载客":"zài kè","专横":"zhuān hèng","湮没":"yān mò","空格":"kòng gé","铺垫":"pū diàn","良将":"liáng jiàng","哗啦":"huā lā","散漫":"sǎn màn","脱发":"tuō fà","两重":"liǎng chóng","送还":"sòng huán","埋没":"mái mò","累及":"lěi jí","薄雾":"bó wù","调离":"diào lí","舌苔":"shé tāi","机长":"jī zhǎng","栓塞":"shuān sè","配角":"pèi jué","切口":"qiē kǒu","创口":"chuāng kǒu","哈欠":"hā qian","实弹":"shí dàn","铺平":"pū píng","哈达":"hǎ dá","懒散":"lǎn sǎn","实干":"shí gàn","填空":"tián kòng","刁钻":"diāo zuān","乐师":"yuè shī","量变":"liàng biàn","诱降":"yòu xiáng","搪塞":"táng sè","购得":"gòu de","征调":"zhēng diào","夹道":"jiā dào","干咳":"gān ké","乐工":"yuè gōng","商行":"shāng háng","划过":"huá guò","着火":"zháo huǒ","更正":"gēng zhèng","给付":"jǐ fù","空子":"kòng zi","哪吒":"né zhā","散曲":"sǎn qǔ","行规":"háng guī","正着":"zhèng zháo","刁难":"diāo nàn","刷子":"shuā zi","丧葬":"sāng zàng","夹带":"jiā dài","安分":"ān fèn","中意":"zhòng yì","长孙":"zhǎng sūn","校订":"jiào dìng","卷曲":"juǎn qū","载运":"zài yùn","投弹":"tóu dàn","柞蚕":"zuò cán","份量":"fèn liàng","外行":"wài háng","调换":"diào huàn","了然":"liǎo rán","咧嘴":"liě zuǐ","典当":"diǎn dàng","寒假":"hán jià","长兄":"zhǎng xiōng","给水":"jǐ shuǐ","须发":"xū fà","枝干":"zhī gàn","属相":"shǔ xiang","哄抢":"hōng qiǎng","刻划":"kè huá","手把":"shǒu bà","塞子":"sāi zi","单干":"dān gàn","还乡":"huán xiāng","兆头":"zhào tou","寺观":"sì guàn","督率":"dū shuài","受累":"shòu lěi","天台":"tiān tāi","啊哈":"ā hā","割舍":"gē shě","抹布":"mā bù","好恶":"hào wù","下处":"xià chǔ","消长":"xiāo zhǎng","离间":"lí jiàn","准头":"zhǔn tou","校对":"jiào duì","什物":"shí wù","番禺":"pān yú","佛爷":"fó ye","备查":"bèi zhā","吗啡":"mǎ fēi","盐分":"yán fèn","当月":"dàng yuè","虎将":"hǔ jiàng","薄荷":"bò he","独处":"dú chǔ","空位":"kòng wèi","铺路":"pū lù","乌拉":"wù la","调回":"diào huí","来头":"lái tou","闲散":"xián sǎn","胶卷":"jiāo juǎn","冒失":"mào shi","干劲":"gàn jìn","弦乐":"xián yuè","行伍":"háng wǔ","相国":"xiàng guó","查查":"zhā zhā","丹参":"dān shēn","助兴":"zhù xìng","铺开":"pū kāi","次长":"cì zhǎng","发卡":"fà qiǎ","拮据":"jié jū","刹车":"shā chē","生发":"shēng fà","重播":"chóng bō","缝合":"féng hé","音量":"yīn liàng","少尉":"shào wèi","殉难":"xùn nàn","冲压":"chòng yā","苍劲":"cāng jìng","厚薄":"hòu bó","威吓":"wēi hè","外相":"wài xiàng","曲谱":"qǔ pǔ","呼号":"hū háo","着迷":"zháo mí","挑担":"tiāo dàn","纹路":"wén lu","一沓":"yī dá","还俗":"huán sú","强横":"qiáng hèng","四行":"sì háng","着数":"zhāo shù","国难":"guó nàn","降顺":"xiáng shùn","挑明":"tiǎo míng","眯缝":"mī feng","分内":"fèn nèi","更衣":"gēng yī","软和":"ruǎn huo","尽兴":"jìn xìng","号子":"hào zi","爪牙":"zhǎo yá","败将":"bài jiàng","猜中":"cāi zhòng","结扎":"jié zā","没空":"méi kòng","夹缝":"jiā fèng","拾掇":"shí duo","掺和":"chān huo","簸箕":"bò ji","电量":"diàn liàng","荷载":"hè zǎi","漯河":"luò tà hé","调式":"diào shì","处身":"chǔ shēn","打手":"dǎ shou","弹弓":"dàn gōng","横蛮":"hèng mán","能干":"néng gàn","校点":"jiào diǎn","加载":"jiā zài","干校":"gàn xiào","哄传":"hōng chuán","校注":"jiào zhù","淤塞":"yū sè","马扎":"mǎ zhá","月氏":"yuè zhī","高干":"gāo gàn","经传":"jīng zhuàn","曾孙":"zēng sūn","好斗":"hào dòu","关卡":"guān qiǎ","逃奔":"táo bèn","磨蹭":"mó ceng","牟取":"móu qǔ","颤栗":"zhàn lì","蚂蚱":"mà zha","撮合":"cuō he","趔趄":"liè qie","摔打":"shuāi dá","台子":"tái zi","分得":"fēn de","粘着":"nián zhuó","采邑":"cài yì","散装":"sǎn zhuāng","婀娜":"ē nuó","兴味":"xìng wèi","行头":"xíng tou","气量":"qì liàng","调运":"diào yùn","处治":"chǔ zhì","乐音":"yuè yīn","组曲":"zǔ qǔ","充塞":"chōng sè","恫吓":"dòng hè","论调":"lùn diào","相中":"xiāng zhòng","民乐":"mín yuè","炮仗":"pào zhang","丧服":"sāng fú","骁将":"xiāo jiàng","量刑":"liàng xíng","缝补":"féng bǔ","财会":"cái kuài","大干":"dà gàn","呱呱":"gū gū","历数":"lì shǔ","校场":"jiào chǎng","塞北":"sài běi","识相":"shí xiàng","辱没":"rǔ mò","鲜亮":"xiān liang","语塞":"yǔ sè","露脸":"lòu liǎn","凉快":"liáng kuai","腰杆":"yāo gǎn","溜达":"liū da","嘎嘎":"gā gā","公干":"gōng gàn","桔梗":"jié gěng","挑逗":"tiǎo dòu","看门":"kān mén","海难":"hǎi nàn","乐歌":"yuè gē","拓片":"tà piàn","挑动":"tiǎo dòng","准将":"zhǔn jiàng","落难":"luò nàn","遒劲":"qiú jìng","磨坊":"mò fáng","逶迤":"wēi yí","搅和":"jiǎo huo","摩挲":"mā sā","作弄":"zuō nòng","苗头":"miáo tou","打颤":"dǎ zhàn","大藏":"dà zàng","畜牲":"chù sheng","勾搭":"gōu da","树荫":"shù yīn","树杈":"shù chà","铁杆":"tiě gǎn","将相":"jiàng xiàng","份子":"fèn zi","视差":"shì chā","绿荫":"lǜ yīn","枪杆":"qiāng gǎn","缝纫":"féng rèn","愁闷":"chóu mèn","点将":"diǎn jiàng","华佗":"huà tuó","劲射":"jìng shè","箱笼":"xiāng lǒng","终了":"zhōng liǎo","鬓发":"bìn fà","结巴":"jiē ba","苦干":"kǔ gàn","看家":"kān jiā","正旦":"zhēng dàn","中肯":"zhòng kěn","文种":"wén zhǒng","食量":"shí liàng","宫调":"gōng diào","间作":"jiàn zuò","弹片":"dàn piàn","差池":"chā chí","漂白":"piǎo bái","杠子":"gàng zi","调处":"tiáo chǔ","好动":"hào dòng","转炉":"zhuàn lú","屏气":"bǐng qì","夹板":"jiā bǎn","哀乐":"āi yuè","干道":"gàn dào","苦处":"kǔ chǔ","劈柴":"pǐ chái","长势":"zhǎng shì","天华":"tiān huā","共处":"gòng chǔ","严查":"yán zhā","校验":"jiào yàn","出塞":"chū sài","弹子":"dàn zǐ","磨盘":"mò pán","萎靡":"wěi mǐ","奔丧":"bēn sāng","唱和":"chàng hè","大调":"dà diào","非分":"fēi fèn","钻营":"zuān yíng","夹子":"jiā zi","超载":"chāo zài","更始":"gēng shǐ","铃铛":"líng dang","披散":"pī sǎn","遭难":"zāo nàn","发还":"fā huán","转轮":"zhuàn lún","横财":"hèng cái","泡桐":"pāo tóng","抛撒":"pāo sǎ","天呀":"tiān yā","糊糊":"hū hū","躯壳":"qū qiào","通量":"tōng liàng","奉还":"fèng huán","午觉":"wǔ jiào","闷棍":"mèn gùn","浪头":"làng tou","砚台":"yàn tāi","油坊":"yóu fáng","学长":"xué zhǎng","过载":"guò zài","笔调":"bǐ diào","衣被":"yì bèi","畜产":"xù chǎn","打更":"dǎ gēng","调阅":"diào yuè","蛮干":"mán gàn","曾祖":"zēng zǔ","本行":"běn háng","提干":"tí gàn","变调":"biàn diào","覆没":"fù mò","模子":"mú zi","乐律":"yuè lǜ","称心":"chèn xīn","木杆":"mù gǎn","套曲":"tào qǔ","重印":"chóng yìn","自省":"zì xǐng","提调":"tí diào","看相":"kàn xiàng","芋头":"yù tou","下切":"xià qiē","塞上":"sài shàng","铺张":"pū zhāng","藤蔓":"téng wàn","薄幸":"bó xìng","非难":"fēi nàn","解数":"xiè shù","劣种":"liè zhǒng","褪去":"tùn qù","霰弹":"xiàn dàn","柚木":"yóu mù","重载":"zhòng zài","二重":"èr chóng","痕量":"hén liàng","雅乐":"yǎ yuè","号哭":"háo kū","诈降":"zhà xiáng","猪圈":"zhū juàn","咋舌":"zé shé","铣床":"xǐ chuáng","防弹":"fáng dàn","健将":"jiàn jiàng","丽水":"lí shuǐ","削发":"xuē fà","空当":"kòng dāng","多相":"duō xiàng","鲜见":"xiǎn jiàn","划桨":"huá jiǎng","载波":"zài bō","跳蚤":"tiào zao","俏皮":"qiào pi","吧嗒":"bā dā","结发":"jié fà","了断":"liǎo duàn","同调":"tóng diào","石磨":"shí mò","时差":"shí chā","鼻塞":"bí sè","挑子":"tiāo zi","推磨":"tuī mò","武侯":"wǔ hòu","抹煞":"mǒ shā","调转":"diào zhuǎn","籍没":"jí mò","测度":"cè duó","还债":"huán zhài","调演":"diào yǎn","分划":"fēn huá","奇偶":"jī ǒu","断喝":"duàn hè","闷雷":"mèn léi","狼藉":"láng jí","饭量":"fàn liàng","还礼":"huán lǐ","转调":"zhuǎn diào","星相":"xīng xiàng","手相":"shǒu xiàng","配乐":"pèi yuè","盖头":"gài tou","连杆":"lián gǎn","簿记":"bù jì","刀把":"dāo bà","量词":"liàng cí","名角":"míng jué","步调":"bù diào","校本":"jiào běn","曲江":"qǔ jiāng","账簿":"zhàng bù","隽永":"juàn yǒng","哈罗":"hā luo","稍为":"shāo wéi","易传":"yì zhuàn","乐谱":"yuè pǔ","牵累":"qiān lěi","答理":"dā li","喝斥":"hè chì","吟哦":"yín é","干渠":"gàn qú","海量":"hǎi liàng","精当":"jīng dàng","着床":"zhuó chuáng","月相":"yuè xiàng","庶几":"shù jī","宫观":"gōng guàn","论处":"lùn chǔ","征辟":"zhēng bì","厚朴":"hòu pò","介壳":"jiè qiào","吭哧":"kēng chi","咯血":"kǎ xiě","铺陈":"pū chén","重生":"chóng shēng","乐理":"yuè lǐ","哀号":"āi háo","藏历":"zàng lì","琴曲":"qín qǔ","神曲":"shén qǔ","刚劲":"gāng jìng","削平":"xuē píng","浓荫":"nóng yīn","城垛":"chéng duǒ","钢种":"gāng zhǒng","识记":"zhì jì","当差":"dāng chāi","正传":"zhèng zhuàn","并处":"bìng chǔ","空难":"kōng nàn","创面":"chuāng miàn","旦角":"dàn jué","薄礼":"bó lǐ","晃荡":"huàng dang","臊子":"sào zi","家什":"jiā shí","闷头":"mèn tóu","美发":"měi fà","度数":"dù shu","着凉":"zháo liáng","闯将":"chuǎng jiàng","几案":"jī àn","姘头":"pīn tou","急难":"jí nàn","差数":"chā shù","散碎":"sǎn suì","壅塞":"yōng sè","寒颤":"hán zhàn","牵强":"qiān qiǎng","无间":"wú jiàn","轮转":"lún zhuàn","号叫":"háo jiào","铺排":"pū pái","降伏":"xiáng fú","轧钢":"zhá gāng","东阿":"dōng ē","病假":"bìng jià","累加":"lěi jiā","梗塞":"gěng sè","弹夹":"dàn jiā","钻心":"zuān xīn","晃眼":"huǎng yǎn","魔爪":"mó zhǎo","标量":"biāo liàng","憋闷":"biē mèn","猜度":"cāi duó","处士":"chǔ shì","官差":"guān chāi","讨还":"tǎo huán","长门":"zhǎng mén","馏分":"liú fèn","里弄":"lǐ lòng","色相":"sè xiàng","雅兴":"yǎ xìng","角力":"jué lì","弹坑":"dàn kēng","枝杈":"zhī chà","夹具":"jiā jù","处刑":"chǔ xíng","悍将":"hàn jiàng","好学":"hào xué","银发":"yín fà","扫把":"sào bǎ","法相":"fǎ xiàng","贵干":"guì gàn","供气":"gōng qì","空余":"kòng yú","捆扎":"kǔn zā","瘠薄":"jí bó","浆糊":"jiàng hu","嘎吱":"gā zhī","不遂":"bù suí","调令":"diào lìng","法帖":"fǎ tiè","淋病":"lìn bìng","调派":"diào pài","转盘":"zhuàn pán","供稿":"gōng gǎo","差官":"chāi guān","忧闷":"yōu mèn","重犯":"chóng fàn","教长":"jiào zhǎng","重唱":"chóng chàng","税种":"shuì zhǒng","绝种":"jué zhǒng","酒兴":"jiǔ xìng","乐坛":"yuè tán","花呢":"huā ní","叱喝":"chì hè","膀臂":"bǎng bì","重头":"chóng tóu","得空":"dé kòng","转圈":"zhuàn quān","横暴":"hèng bào","哄抬":"hōng tái","引吭":"yǐn háng","载货":"zài huò","中计":"zhòng jì","官长":"guān zhǎng","相面":"xiàng miàn","看头":"kàn tou","盼头":"pàn tou","意兴":"yì xìng","军乐":"jūn yuè","累次":"lěi cì","骨嘟":"gū dū","燕赵":"yān zhào","报丧":"bào sāng","弥撒":"mí sa","挨斗":"ái dòu","扁舟":"piān zhōu","丑角":"chǒu jué","吊丧":"diào sāng","强将":"qiáng jiàng","行号":"háng háo","重奏":"chóng zòu","发辫":"fà biàn","着魔":"zháo mó","着法":"zhāo fǎ","盛放":"chéng fàng","填塞":"tián sè","凶横":"xiōng hèng","稽首":"qǐ shǒu","碑帖":"bēi tiè","冲量":"chōng liàng","发菜":"fà cài","假发":"jiǎ fà","翻卷":"fān juǎn","小量":"xiǎo liàng","胶着":"jiāo zhuó","里子":"lǐ zi","调调":"diào diao","散兵":"sǎn bīng","高挑":"gāo tiǎo","播撒":"bō sǎ","夹心":"jiā xīn","扇动":"shān dòng","叨扰":"tāo rǎo","霓裳":"ní cháng","捻子":"niǎn zi","弥缝":"mí féng","撒布":"sǎ bù","元曲":"yuán qǔ","场院":"cháng yuàn","纯种":"chún zhǒng","省亲":"xǐng qīn","提拉":"dī le","惯量":"guàn liàng","强逼":"qiǎng bī","强征":"qiǎng zhēng","晕车":"yùn chē","数道":"shǔ dào","带累":"dài lěi","拓本":"tà běn","嫌恶":"xián wù","宿将":"sù jiàng","龟裂":"jūn liè","缠夹":"chán jiā","发式":"fà shì","隔扇":"gé shān","行货":"háng huò","天分":"tiān fèn","癖好":"pǐ hào","四通":"sì tòng","白术":"bái zhú","划伤":"huá shāng","角斗":"jué dòu","听差":"tīng chāi","岁差":"suì chā","丧礼":"sāng lǐ","脉脉":"mò mò","削瘦":"xuē shòu","撒播":"sǎ bō","莎草":"suō cǎo","犍为":"qián wéi","调头":"diào tóu","龙卷":"lóng juǎn","外调":"wài diào","字帖":"zì tiè","卷发":"juǎn fà","孬种":"nāo zhǒng","九种":"jiǔ zhǒng","揣度":"chuǎi duó","洋相":"yáng xiàng","散光":"sǎn guāng","骨碌":"gū lu","薄命":"bó mìng","笼头":"lóng tou","咽炎":"yān yán","碌碡":"liù zhou","片儿":"piān er","纤手":"qiàn shǒu","散体":"sǎn tǐ","内省":"nèi xǐng","强留":"qiǎng liú","解送":"jiè sòng","反间":"fǎn jiàn","少壮":"shào zhuàng","一服":"yī fù","留空":"liú kòng","告假":"gào jià","咳血":"ké xiě","薄暮":"bó mù","铺轨":"pū guǐ","磨削":"mó xuē","治丧":"zhì sāng","叉子":"chā zi","哄动":"hōng dòng","蛾子":"é zi","糜子":"méi zi","出落":"chū là","股长":"gǔ zhǎng","贵处":"guì chǔ","还魂":"huán hún","例假":"lì jià","曲池":"qǔ chí","刹住":"shā zhù","身量":"shēn liàng","懂行":"dǒng háng","同好":"tóng hào","孽种":"niè zhǒng","选种":"xuǎn zhǒng","小种":"xiǎo zhǒng","模量":"mó liàng","更生":"gēng shēng","服丧":"fú sāng","率直":"shuài zhí","字模":"zì mú","散架":"sǎn jià","答腔":"dā qiāng","交恶":"jiāo wù","薄情":"bó qíng","眼泡":"yǎn pāo","袅娜":"niǎo nuó","草垛":"cǎo duǒ","冲劲":"chòng jìn","呢喃":"ní nán","切中":"qiè zhòng","挑灯":"tiǎo dēng","还愿":"huán yuàn","激将":"jī jiàng","更鼓":"gēng gǔ","没药":"mò yào","难友":"nàn yǒu","败兴":"bài xìng","切面":"qiē miàn","散户":"sǎn hù","累进":"lěi jìn","背带":"bēi dài","秤杆":"chèng gǎn","碾坊":"niǎn fáng","簿子":"bù zi","扳手":"bān shou","铅山":"yán shān","儒将":"rú jiàng","重光":"chóng guāng","剪发":"jiǎn fà","行话":"háng huà","长上":"zhǎng shàng","配种":"pèi zhǒng","小传":"xiǎo zhuàn","压轴":"yā zhòu","谱曲":"pǔ qǔ","弱冠":"ruò guàn","花卷":"huā juǎn","横祸":"hèng huò","夹克":"jiā kè","光晕":"guāng yùn","披靡":"pī mǐ","对调":"duì diào","夹持":"jiā chí","空额":"kòng é","平调":"píng diào","铺床":"pū chuáng","丧钟":"sāng zhōng","作乐":"zuò yuè","少府":"shào fǔ","数数":"shuò shuò","奔头":"bèn tou","进给":"jìn jǐ","率性":"shuài xìng","乐子":"lè zi","绑扎":"bǎng zā","挑唆":"tiǎo suō","漂洗":"piǎo xǐ","夹墙":"jiā qiáng","咳喘":"ké chuǎn","乜斜":"miē xie","错处":"cuò chǔ","复种":"fù zhǒng","闷酒":"mèn jiǔ","时调":"shí diào","重孙":"chóng sūn","经幢":"jīng chuáng","圩场":"xū cháng","调门":"diào mén","花头":"huā tou","划拉":"huá la","套色":"tào shǎi","粗率":"cū shuài","相率":"xiāng shuài","款识":"kuǎn zhì","吁请":"yù qǐng","荫蔽":"yīn bì","文蛤":"wén gé","嘀嗒":"dī dā","调取":"diào qǔ","交差":"jiāo chāi","落子":"lào zǐ","相册":"xiàng cè","絮叨":"xù dáo","落发":"luò fà","异相":"yì xiàng","浸没":"jìn mò","角抵":"jué dǐ","卸载":"xiè zài","春卷":"chūn juǎn","扎挣":"zhá zheng","畜养":"xù yǎng","吡咯":"bǐ luò","垛子":"duǒ zi","恶少":"è shào","发际":"fà jì","红苕":"hóng sháo","糨糊":"jiàng hù","哭丧":"kū sang","泡子":"pāo zǐ","稍息":"shào xī","晕船":"yùn chuán","校样":"jiào yàng","外差":"wài chāi","红曲":"hóng qǔ","脚爪":"jiǎo zhǎo","铺展":"pū zhǎn","驮子":"duò zi","芫荽":"yán sui","夹紧":"jiā jǐn","尿泡":"suī pào","丧乱":"sāng luàn","凶相":"xiōng xiàng","华发":"huá fà","打场":"dǎ cháng","云量":"yún liàng","正切":"zhèng qiē","处子":"chǔ zǐ","留难":"liú nàn","划拳":"huá quán","划艇":"huá tǐng","评传":"píng zhuàn","拉纤":"lā qiàn","句读":"jù dòu","散剂":"sǎn jì","骨殖":"gǔ shi","塞音":"sè yīn","铺叙":"pū xù","阏氏":"yān zhī","冷颤":"lěng zhàn","煞住":"shā zhù","夜曲":"yè qǔ","种籽":"zhǒng zǐ","采种":"cǎi zhǒng","少男":"shào nán","格登":"gē dēng","管乐":"guǎn yuè","号啕":"háo táo","纳降":"nà xiáng","拥塞":"yōng sè","万乘":"wàn shèng","杆儿":"gǎn ér","葛藤":"gé téng","芯子":"xìn zi","簿籍":"bù jí","垫圈":"diàn juàn","皮夹":"pí jiā","校准":"jiào zhǔn","行款":"háng kuǎn","黑种":"hēi zhǒng","龙种":"lóng zhǒng","允当":"yǔn dàng","器量":"qì liàng","选调":"xuǎn diào","扮相":"bàn xiàng","干才":"gàn cái","基干":"jī gàn","三校":"sān jiào","割切":"gē qiē","国乐":"guó yuè","卡壳":"qiǎ ké","呢子":"ní zi","辟谷":"bì gǔ","磨房":"mò fáng","咿呀":"yī yā","芥末":"jiè mo","薄技":"bó jì","产假":"chǎn jià","诗兴":"shī xìng","重出":"chóng chū","转椅":"zhuàn yǐ","酌量":"zhuó liàng","簿册":"bù cè","藏青":"zàng qīng","的士":"dí shì","调人":"diào rén","解元":"jiè yuán","茎干":"jīng gàn","巨量":"jù liàng","榔头":"láng tou","率真":"shuài zhēn","喷香":"pèn xiāng","锁钥":"suǒ yuè","虾蟆":"há má","相图":"xiàng tú","兴会":"xìng huì","灶头":"zào tou","重婚":"chóng hūn","钻洞":"zuān dòng","忖度":"cǔn duó","党参":"dǎng shēn","调温":"diào wēn","杆塔":"gǎn tǎ","葛布":"gé bù","拱券":"gǒng xuàn","冠子":"guàn zi","划子":"huá zǐ","夹生":"jiā shēng","露馅":"lòu xiàn","恰切":"qià qiē","散见":"sǎn jiàn","哨卡":"shào qiǎ","烫发":"tàng fà","体量":"tǐ liàng","挺括":"tǐng guā","系带":"jì dài","相士":"xiàng shì","羊圈":"yáng juàn","转矩":"zhuàn jǔ","吧台":"bā tái","苍术":"cāng zhú","菲薄":"fěi bó","蛤蚧":"gé jiè","蛤蜊":"gé lí","瓜蔓":"guā wàn","怪相":"guài xiàng","罹难":"lí nàn","临帖":"lín tiè","女红":"nǚ gōng","刨床":"bào chuáng","翘楚":"qiáo chǔ","数九":"shǔ jiǔ","谈兴":"tán xìng","心曲":"xīn qǔ","雄劲":"xióng jìng","扎染":"zā rǎn","遮荫":"zhē yīn","周正":"zhōu zhēng","赚头":"zhuàn tou","扒手":"pá shǒu","搀和":"chān huo","诚朴":"chéng piáo","肚量":"dù liàng","干结":"gàn jié","工尺":"gōng chě","家累":"jiā lěi","曲水":"qǔ shuǐ","沙参":"shā shēn","挑花":"tiǎo huā","行距":"háng jù","种别":"zhǒng bié","种草":"zhǒng cǎo","阿门":"ā mēn","背篓":"bēi lǒu","瘪三":"biē sān","裁处":"cái chǔ","创痛":"chuāng tòng","福相":"fú xiàng","更动":"gēng dòng","豪兴":"háo xìng","还阳":"huán yáng","还嘴":"huán zuǐ","借调":"jiè diào","卷云":"juǎn yún","卡子":"qiǎ zi","流弹":"liú dàn","络子":"lào zi","磨子":"mò zǐ","下种":"xià zhǒng","想头":"xiǎng tou","削价":"xuē jià","校阅":"jiào yuè","八行":"bā háng","雅量":"yǎ liàng","别传":"bié zhuàn","薄酒":"bó jiǔ","春假":"chūn jià","发妻":"fà qī","哗哗":"huā huā","宽绰":"kuān chuo","了悟":"liǎo wù","切花":"qiē huā","审度":"shěn duó","应许":"yīng xǔ","转台":"zhuàn tái","仔猪":"zǐ zhū","奔命":"bèn mìng","裁量":"cái liàng","蚕种":"cán zhǒng","藏戏":"zàng xì","乘兴":"chéng xìng","绸缪":"chóu móu","摧折":"cuī shé","调经":"diào jīng","调职":"diào zhí","缝缀":"féng zhuì","骨朵":"gū duǒ","核儿":"hú ér","恒量":"héng liàng","还价":"huán jià","浑朴":"hún piáo","苦差":"kǔ chāi","面糊":"miàn hù","曲张":"qǔ zhāng","煞车":"shā chē","省视":"xǐng shì","什锦":"shí jǐn","信差":"xìn chāi","余切":"yú qiē","攒眉":"cuán méi","炸糕":"zhá gāo","钻杆":"zuàn gǎn","扒灰":"pá huī","白种":"bái zhǒng","拌和":"bàn huò","长调":"cháng diào","大溜":"dà liù","抖搂":"dǒu lōu","飞转":"fēi zhuàn","赴难":"fù nàn","干仗":"gàn zhàng","好胜":"hào shèng","画片":"huà piān","搅混":"jiǎo gǔn","螺杆":"luó gǎn","木模":"mù mú","怒号":"nù háo","频数":"pín shuò","无宁":"wú nìng","选曲":"xuǎn qǔ","遗少":"yí shào","邮差":"yóu chāi","占卦":"zhān guà","占星":"zhān xīng","重审":"chóng shěn","自量":"zì liàng","待查":"dài zhā","调防":"diào fáng","发廊":"fà láng","翻查":"fān zhā","反调":"fǎn diào","缝子":"fèng zi","更夫":"gēng fū","骨子":"gǔ zi","光杆":"guāng gǎn","夹棍":"jiā gùn","居丧":"jū sāng","巨贾":"jù gǔ","看押":"kān yā","空转":"kōng zhuàn","量力":"liàng lì","蒙尘":"meng chen","蒙难":"méng nàn","炮烙":"páo luò","赔还":"péi huán","扑扇":"pū shān","散记":"sǎn jì","散件":"sǎn jiàn","删削":"shān xuē","射干":"yè gàn","条几":"tiáo jī","偷空":"tōu kòng","削壁":"xuē bì","校核":"jiào hé","阴干":"yīn gàn","择菜":"zhái cài","种马":"zhǒng mǎ","重九":"chóng jiǔ","主调":"zhǔ diào","自禁":"zì jīn","吧唧":"bā jī","堡子":"bǔ zi","便溺":"biàn niào","词调":"cí diào","叨咕":"dáo gu","干粉":"gàn fěn","俚曲":"lǐ qǔ","落枕":"lào zhěn","铺砌":"pū qì","刷白":"shuà bái","委靡":"wěi mǐ","系泊":"jì bó","相马":"xiàng mǎ","行辈":"háng bèi","熨帖":"yù tiē","转筋":"zhuàn jīn","籽种":"zǐ zhǒng","棒喝":"bàng hè","傧相":"bīn xiàng","传种":"chuán zhǒng","镐头":"gǎo tóu","间苗":"jiàn miáo","乐池":"yuè chí","卖相":"mài xiàng","难为":"nán wéi","屏弃":"bǐng qì","铅弹":"qiān dàn","切变":"qiē biàn","请调":"qǐng diào","曲度":"qǔ dù","群氓":"qún méng","散板":"sǎn bǎn","省察":"xǐng chá","事假":"shì jià","纤绳":"qiàn shéng","种麻":"zhǒng má","重影":"chóng yǐng"},{"为什么":"wèi shén me","实际上":"shí jì shang","检察长":"jiǎn chá zhǎng","不由得":"bù yóu de","差不多":"chà bu duō","只不过":"zhǐ bu guò","国内外":"guó nèi wai","老人家":"lǎo ren jia","干什么":"gàn shén me","可不是":"kě bù shì","这会儿":"zhè huì er","尽可能":"jǐn kě néng","董事长":"dǒng shì zhǎng","了不起":"liǎo bù qǐ","参谋长":"cān móu zhǎng","舍不得":"shě bu de","朝鲜族":"cháo xiǎn zú","恨不得":"hèn bu de","海内外":"hǎi nèi wai","禁不住":"jīn bú zhù","柏拉图":"bó lā tú","怪不得":"guài bu de","不在乎":"bù zài hu","洛杉矶":"luò shān ji","有点儿":"yǒu diǎnr","迫击炮":"pǎi jī pào","大丈夫":"dà zhàng fu","进行曲":"jìn xíng qǔ","免不了":"miǎn bu liǎo","不得了":"bù dé liǎo","过日子":"guò rì zi","马尾松":"mǎ wěi sōng","运输量":"yùn shū liàng","发脾气":"fā pí qi","过不去":"guò bu qù","臭豆腐":"chòu dòu fu","士大夫":"shì dà fū","三部曲":"sān bù qǔ","少不了":"shǎo bu liǎo","仡佬族":"gē lǎo zú","交响曲":"jiāo xiǎng qǔ","分子式":"fēn zǐ shì","好日子":"hǎo rì zi","看样子":"kàn yàng zi","鸭绿江":"yā lù jiāng","巴不得":"bā bu de","协奏曲":"xié zòu qǔ","没关系":"méi guān xi","不见得":"bú jiàn de","压根儿":"yà gēnr","对得起":"duì de qǐ","那会儿":"nà huìr","自个儿":"zì gěr","物理量":"wù lǐ liàng","怎么着":"zěn me zhāo","明晃晃":"míng huǎng huǎng","节假日":"jié jià rì","心里话":"xīn lǐ huà","发行量":"fā xíng liàng","兴冲冲":"xìng chōng chōng","分子量":"fēn zǐ liàng","大不了":"dà bu liǎo","国子监":"guó zǐ jiàn","老大难":"lǎo dà nán","了不得":"liǎo bu dé","石狮子":"shí shī zi","莫不是":"mò bù shì","少不得":"shǎo bu dé","党内外":"dǎng nèi wai","这么着":"zhè me zhāo","少奶奶":"shào nǎi nai","暗地里":"àn dì li","看不起":"kàn bu qǐ","更年期":"gēng nián qī","工作量":"gōng zuò liàng","背地里":"bèi dì li","山里红":"shān li hóng","好好儿":"hǎo hāor","交响乐":"jiāo xiǎng yuè","好意思":"hǎo yì si","吐谷浑":"tǔ yù hún","没意思":"méi yì si","理发师":"lǐ fà shī","奏鸣曲":"zòu míng qǔ","塔什干":"tǎ shí gàn","充其量":"chōng qí liàng","靠得住":"kào de zhù","车行道":"chē háng dào","中郎将":"zhōng láng jiàng","犯不着":"fàn bu zháo","照明弹":"zhào míng dàn","一溜烟":"yī liù yān","烟幕弹":"yān mù dàn","没奈何":"mò nài hé","乱哄哄":"luàn hōng hōng","惠更斯":"huì gēng sī","载重量":"zài zhòng liàng","瞧得起":"qiáo de qǐ","纪传体":"jì zhuàn tǐ","蚌埠市":"bèng bù shì","冷不丁":"lěng bu dīng","阿房宫":"ē páng gōng","怨不得":"yuàn bu de","卷心菜":"juǎn xīn cài","戏班子":"xì bān zi","过得去":"guò děi qù","大肚子":"dà dù zi","花岗石":"huā gāng shí","外甥女":"wài sheng nǚ","团团转":"tuán tuán zhuàn","大堡礁":"dà pù jiāo","燃烧弹":"rán shāo dàn","劳什子":"láo shí zi","摇滚乐":"yáo gǔn yuè","身子骨":"shēn zi gǔ","夹竹桃":"jiā zhú táo","一刀切":"yī dāo qiē","闹哄哄":"nào hōng hōng","三连冠":"sān lián guàn","重头戏":"zhòng tóu xì","二人转":"èr rén zhuàn","节骨眼":"jiē gu yǎn","知识面":"zhī shī miàn","护士长":"hù shì zhǎng","架子车":"jià zi chē","信号弹":"xìn hào dàn","干电池":"gàn diàn chí","枪杆子":"qiāng gǎn zi","哭丧棒":"kū sāng bàng","鼻咽癌":"bí yān ái","瓦岗军":"wǎ gāng jūn","买得起":"mǎi de qǐ","拗不过":"niù bu guò","癞蛤蟆":"lài há ma","脊梁骨":"jǐ liang gǔ","子母弹":"zǐ mǔ dàn","开小差":"kāi xiǎo chāi","女强人":"nǚ qiáng rén","英雄传":"yīng xióng zhuàn","大嫂子":"dà sǎo zi","爵士乐":"jué shì yuè","说笑话":"shuō xiào hua","混日子":"hùn rì zi","大鼻子":"dà bí zi","碰头会":"pèng tóu kuài","玻璃钢":"bō li gāng","曳光弹":"yè guāng dàn","少林拳":"shào lín quán","咏叹调":"yǒng tàn diào","豆腐干":"dòu fǔ gàn","一个劲":"yī gè jìn","少先队":"shào xiān duì","灵长目":"líng zhǎng mù","对着干":"duì zhe gàn","蒙蒙亮":"mēng mēng liàng","软骨头":"ruǎn gǔ tou","不省得":"bù xǐng de","铺盖卷":"pū gài juǎn","和稀泥":"huò xī ní","亭子间":"tíng zi jiān","背黑锅":"bēi hēi guō","红彤彤":"hóng tōng tōng","武侯祠":"wǔ hóu cí","打哆嗦":"dǎ duō suo","地窨子":"dì yìn zi","狂想曲":"kuáng xiǎng qǔ","幻想曲":"huàn xiǎng qǔ","户口簿":"hù kǒu bù","腿肚子":"tuǐ dù zi","马尾藻":"mǎ wěi zǎo","练习曲":"liàn xí qǔ","夜猫子":"yè māo zi","折子戏":"zhé zi xì","打手势":"dǎ shǒu shì","龙王爷":"lóng wáng yé","要面子":"yào miàn zi","气头上":"qì tóu shang","糊涂虫":"hú tu chóng","笔杆子":"bǐ gǎn zi","占便宜":"zhàn pián yi","打主意":"dǎ zhǔ yi","多弹头":"duō dàn tóu","露一手":"lòu yī shǒu","堰塞湖":"yàn sè hú","保得住":"bǎo de zhù","趵突泉":"bào tū quán","钻空子":"zuān kòng zi","奥得河":"ào de hé","司务长":"sī wù zhǎng","禁不起":"jīn bu qǐ","什刹海":"shí chà hǎi","莲花落":"lián huā lào","一场空":"yī cháng kōng","前奏曲":"qián zòu qǔ","见世面":"xiàn shì miàn","分子筛":"fēn zǐ shāi","豁出去":"huō chu qu","电位差":"diàn wèi chā","挨个儿":"āi gèr","那阵儿":"nà zhènr","给面子":"gěi miàn zi","肺活量":"fèi huó liàng","大师傅":"dà shī fū","掷弹筒":"zhì dàn tǒng","打呼噜":"dǎ hū lu","广渠门":"ān qú mén","未见得":"wèi jiàn de","大婶儿":"dà shěnr","谈得来":"tán de lái","狮子头":"shī zi tóu","脚丫子":"jiǎo yā zi","变奏曲":"biàn zòu qǔ","空包弹":"kōng bāo dàn","窝里斗":"wō li dòu","弹着点":"dàn zhuó diǎn","免不得":"miǎn bu de","个头儿":"gè tóur","看得起":"kàn de qǐ","来不得":"lái bu de","糊涂账":"hú tu zhàng","大猩猩":"dà xīng xing","一溜儿":"yī liù ér","禁得起":"jīn de qǐ","法相宗":"fǎ xiāng zōng","可怜相":"kě lián xiàng","吃得下":"chī de xià","汉堡包":"hàn pù bāo","闹嚷嚷":"nào rāng rāng","数来宝":"shǔ lái bǎo","抹脖子":"mǒ bó zi","合得来":"hé de lái","干性油":"gàn xìng yóu","上辈子":"shàng bèi zi","闷葫芦":"mèn hú lú","呱呱叫":"guā guā jiào","西洋参":"xī yáng shēn","碰钉子":"pèng dìng zǐ","林荫道":"lín yīn dào","拉家常":"lá jiā cháng","卷铺盖":"juǎn pū gài","过得硬":"guò de yìng","飞将军":"fēi jiàng jūn","挑大梁":"tiǎo dà liáng","哈巴狗":"hǎ bā gǒu","过家家":"guō jiā jiā","催泪弹":"cuī lèi dàn","雨夹雪":"yǔ jiā xuě","敲竹杠":"qiāo zhū gàng","列车长":"liè chē zhǎng","回旋曲":"huí xuán qǔ","华达呢":"huá dá ní","犯得着":"fàn de zháo","土疙瘩":"tǔ gē da","煞风景":"shā fēng jǐng","轻量级":"qīng liàng jí","羞答答":"xiū dā dā","石子儿":"shí zǐ er","大帽子":"dà mào zi","达姆弹":"dá mǔ dàn","摇篮曲":"yáo lán qǔ","科教片":"kē jiào piān","侃大山":"kǎn tài shān","丁点儿":"dīng diǎn er","吃得消":"chī de xiāo","捋虎须":"luō hǔ xū","间奏曲":"jiàn zòu qǔ","高丽参":"gāo lí shēn","安魂曲":"ān hún qǔ","众生相":"zhòng shēng xiàng","咽峡炎":"yān xiá yán","禁得住":"jīn de zhù","打拍子":"dǎ pāi zi","催眠曲":"cuī mián qǔ","臭架子":"chòu jià zi","吃得开":"chī de kāi","柞丝绸":"zuò sī chóu","应声虫":"yìng shēng chóng","数得着":"shǔ de zháo","傻劲儿":"shǎ jìn er","铅玻璃":"qiān bō li","抹不开":"mò bù kāi","可的松":"kě dì sōng","划得来":"huá de lái","红帽子":"hóng mào zi","孩子王":"hái zi wáng","晕乎乎":"yùn hū hū","台柱子":"tái zhù zi","屎壳郎":"shǐ ke làng","尥蹶子":"liào jué zǐ","空架子":"kōng jià zi","藏红花":"zàng hóng huā","说不着":"shuō bù zháo","闷罐车":"mèn guàn chē","卡脖子":"qiǎ bó zi","红澄澄":"hóng deng deng","赶得及":"gǎn de jí","当间儿":"dāng jiàn ér","露马脚":"lòu mǎ jiǎo","鸡内金":"jī nà jīn","犯得上":"fàn děi shàng","钉齿耙":"dīng chǐ bà","饱和点":"bǎo huó diǎn","文曲星":"wén qǔ xīng","翘辫子":"qiào biàn zi","龙爪槐":"lóng zhǎo huái","喝倒彩":"hè dào cǎi","鸽子笼":"gē zi lóng","定冠词":"dìng guàn cí","担担面":"dàn dan miàn","吃得住":"chī de zhù","爪尖儿":"zhuǎ jiān er","支着儿":"zhī zhāo ér","折跟头":"zhē gēn tou","炸丸子":"zhá wán zǐ","阴着儿":"yīn zhāo ér","烟卷儿":"yān juǎn ér","宣传弹":"xuān chuán dàn","信皮儿":"xìn pí er","弦切角":"xián qiē jiǎo","跳房子":"tiào fáng zi","缩砂密":"sù shā mì","说得来":"shuō de lái","水漂儿":"shuǐ piǎo ér","耍笔杆":"shuǎ bǐ gǎn","数得上":"shǔ děi shàng","数不着":"shǔ bù zháo","数不清":"shǔ bù qīng","什件儿":"shí jiàn ér","狮子会":"shī zi huì","生死簿":"shēng sǐ bù","扇风机":"shān fēng jī","散摊子":"sàn tān zi","撒呓挣":"sā yì zhēng","日记簿":"rì jì bù","热得快":"rè de kuài","曲别针":"qǔ bié zhēn","亲家公":"qìng jiā gōng","奇函数":"jī hán shù","炮子儿":"pào zǐ er","拍纸簿":"pāi zhǐ bù","努劲儿":"nǔ jìn er","泥娃娃":"ní wá wa","内切圆":"nèi qiē yuán","哪会儿":"něi huì er","摸不着":"mō bù zháo","闷头儿":"mèn tou er","没谱儿":"méi pǔ er","铆劲儿":"mǎo jìn er","溜肩膀":"liū jiān bǎng","了望台":"liào wàng tái","老来少":"lǎo lái shào","坤角儿":"kūn jué ér","考勤簿":"kǎo qín bù","卷笔刀":"juǎn bǐ dāo","九重霄":"jiǔ chóng xiāo","进给量":"jìn jǐ liàng","划不来":"huá bù lái","汗褂儿":"hàn guà er","鼓囊囊":"gǔ nāng nang","够劲儿":"gòu jìn er","公切线":"gōng qiē xiàn","搁得住":"gé de zhù","搁不住":"gé bú zhù","赶浪头":"gǎn làng tóu","赶得上":"gǎn děi shàng","干酵母":"gàn jiào mǔ","嘎渣儿":"gā zhā ér","嘎嘣脆":"gā bēng cuì","对得住":"duì de zhù","逗闷子":"dòu mèn zǐ","豆角儿":"dòu jué ér","顶呱呱":"dǐng guā guā","滴溜儿":"dī liù ér","大轴子":"dà zhòu zǐ","打板子":"dǎ bǎn zi","寸劲儿":"cùn jìn er","醋劲儿":"cù jìn er","创牌子":"chuàng pái zi","揣手儿":"chuāi shǒu er","冲劲儿":"chòng jìn er","吃得来":"chī de lái","不更事":"bù gēng shì","奔头儿":"bèn tou er","百夫长":"bǎi fū zhǎng","娃娃亲":"wá wa qīn","死劲儿":"sǐ jìng er","骨朵儿":"gū duǒ er","功劳簿":"gōng láo bù"},{"成吉思汗":"chéng jí sī hán","四通八达":"sì tōng bā dá","一模一样":"yī mú yī yàng","青藏高原":"qīng zàng gāo yuán","阿弥陀佛":"ē mí tuó fó","解放思想":"jiè fàng sī xiǎng","多种多样":"duō zhǒng duō yàng","所作所为":"suǒ zuò suǒ wéi","迷迷糊糊":"mí mí hu hū","荷枪实弹":"hè qiāng shí dàn","兴高采烈":"xìng gāo cǎi liè","无能为力":"wú néng wéi lì","融为一体":"róng wéi yī tǐ","布鲁塞尔":"bù lǔ sài ěr","为所欲为":"wéi suǒ yù wéi","审时度势":"shěn shí duó shì","克什米尔":"kè shí mǐ ěr","没完没了":"méi wán méi liǎo","不为人知":"bù wéi rén zhī","结结巴巴":"jiē jiē bā bā","巴尔干半岛":"bā ěr gàn bàn dǎo","前仆后继":"qián pū hòu jì","一年一度":"yì nián yí dù","各行各业":"gè háng gè yè","布尔什维克":"bù ěr shí wéi kè","合二为一":"hé èr wéi yī","被子植物":"bèi zǐ zhí wù","铺天盖地":"pū tiān gài dì","直截了当":"zhí jié liǎo dàng","供不应求":"gōng bù yìng qiú","御史大夫":"yù shǐ dà fū","不为瓦全":"bù wéi wǎ quán","不可收拾":"bù kě shōu shi","胡作非为":"hú zuò fēi wéi","分毫不差":"fēn háo bù chā","模模糊糊":"mó mó hu hū","不足为奇":"bù zú wéi qí","如之奈何":"rú zhī nai hé","悄无声息":"qiǎo wú shēng xī","卷土重来":"juǎn tǔ chóng lái","了如指掌":"liǎo rú zhǐ zhǎng","深恶痛绝":"shēn wù tòng jué","高高兴兴":"gāo gāo xìng xìng","唉声叹气":"āi shēng tàn qì","混为一谈":"hùn wéi yī tán","不了了之":"bù liǎo liǎo zhī","汉藏语系":"hàn zàng yǔ xì","处心积虑":"chǔ xīn jī lǜ","泣不成声":"qǐ bù chéng shēng","半夜三更":"bàn yè sān gēng","失魂落魄":"shī hún luò pò","二十八宿":"èr shí bā xiù","转来转去":"zhuàn lái zhuàn qù","数以万计":"shǔ yǐ wàn jì","相依为命":"xiāng yī wéi mìng","恋恋不舍":"liàn liàn bù shě","屈指可数":"qū zhǐ kě shǔ","神出鬼没":"shén chū guǐ mò","结结实实":"jiē jiē shí shí","有的放矢":"yǒu dì fàng shǐ","叽哩咕噜":"jī lǐ gū lū","合而为一":"hé ér wéi yī","调兵遣将":"diào bīng qiǎn jiàng","载歌载舞":"zài gē zài wǔ","转危为安":"zhuǎn wēi wéi ān","踏踏实实":"tā tā shi shí","桑给巴尔":"sāng jǐ bā ěr","装模作样":"zhuāng mú zuò yàng","见义勇为":"jiàn yì yǒng wéi","相差无几":"xiāng chā wú jǐ","叹为观止":"tàn wéi guān zhǐ","闷闷不乐":"mèn mèn bù lè","喜怒哀乐":"xǐ nù āi lè","鲜为人知":"xiǎn wéi rén zhī","张牙舞爪":"zhāng yá wǔ zhǎo","为非作歹":"wéi fēi zuò dǎi","一蹶不振":"yī jué bù zhèn","含糊其辞":"hán hú qí cí","疲于奔命":"pí yú bēn mìng","勉为其难":"miǎn wéi qí nán","依依不舍":"yī yī bù shě","何乐而不为":"hé lè ér bù wéi","顶头上司":"dǐng tóu shàng si","不着边际":"bù zhuó biān jì","大模大样":"dà mú dà yàng","寻欢作乐":"xún huān zuò lè","一走了之":"yī zǒu liǎo zhī","一年到头":"yì nián dào tóu","字里行间":"zì lǐ háng jiān","含含糊糊":"hán hán hu hū","数一数二":"shǔ yī shǔ èr","恰如其分":"qià rú qí fèn","破涕为笑":"pò tì wéi xiào","先下手为强":"xiān xià shǒu wéi qiáng","深更半夜":"shēn gēng bàn yè","千差万别":"qiān chā wàn bié","数不胜数":"shǔ bù shèng shǔ","据为己有":"jù wéi jǐ yǒu","天旋地转":"tiān xuán dì zhuàn","养尊处优":"yǎng zūn chǔ yōu","玻璃纤维":"bō li xiān wéi","吵吵闹闹":"chāo chao nào nào","晕头转向":"yūn tóu zhuàn xiàng","土生土长":"tǔ shēng tǔ zhǎng","宁死不屈":"nìng sǐ bù qū","不省人事":"bù xǐng rén shì","尽力而为":"jìn lì ér wéi","精明强干":"jīng míng qiáng gàn","唠唠叨叨":"láo lao dāo dāo","叽叽喳喳":"jī ji zhā zhā","功不可没":"gōng bù kě mò","锲而不舍":"qiè ér bù shě","排忧解难":"pái yōu jiě nàn","稀里糊涂":"xī li hú tú","异曲同工":"yì qǔ tóng gōng","各有所长":"gè yǒu suǒ chéng","的的确确":"dí dí què què","一言为定":"yī yán wéi dìng","哄堂大笑":"hōng táng dà xiào","听而不闻":"tīng ér bú wén","刀耕火种":"dāo gēng huǒ zhòng","说不过去":"shuō bu guò qù","内分泌腺":"nèi fèn mì xiàn","化险为夷":"huà xiǎn wéi yí","百发百中":"bǎi fā bǎi zhòng","重见天日":"chóng jiàn tiān rì","反败为胜":"fǎn bài wéi shèng","一了百了":"yī liǎo bǎi liǎo","大大咧咧":"dà da liē liē","心急火燎":"xīn jí huǒ liǎo","粗心大意":"cū xīn dà yi","鸡皮疙瘩":"jī pí gē da","夷为平地":"yí wéi píng dì","日积月累":"rì jī yuè lěi","设身处地":"shè shēn chǔ dì","投其所好":"tóu qí suǒ hào","间不容发":"jiān bù róng fà","人满为患":"rén mǎn wéi huàn","穷追不舍":"qióng zhuī bù shě","为时已晚":"wéi shí yǐ wǎn","如数家珍":"rú shǔ jiā zhēn","心里有数":"xīn lǐ yǒu shù","一盘散沙":"yī pán sǎn shā","以牙还牙":"yǐ yá huán yá","神不守舍":"shén bù shǒu shě","孟什维克":"mèng shí wéi kè","各自为战":"gè zì wéi zhàn","怨声载道":"yuàn shēng zài dào","一哄而散":"yī hòng ér sàn","亚得里亚海":"yà de lǐ yà hǎi","救苦救难":"jiù kǔ jiù nàn","好好先生":"hǎo hǎo xiān sheng","怪模怪样":"guài mú guài yàng","抛头露面":"pāo tóu lù miàn","游手好闲":"yóu shǒu hào xián","无所不为":"wú suǒ bù wéi","调虎离山":"diào hǔ lí shān","步步为营":"bù bù wéi yíng","好大喜功":"hào dà xǐ gōng","众矢之的":"zhòng shǐ zhī dì","长生不死":"cháng shēng bū sǐ","蔚为壮观":"wèi wéi zhuàng guān","不可胜数":"bù kě shèng shǔ","鬼使神差":"guǐ shǐ shén chāi","洁身自好":"jié shēn zì hào","敢作敢为":"gǎn zuò gǎn wéi","蒙得维的亚":"méng de wéi de yà","巴尔喀什湖":"bā ěr kā shí hú","茅塞顿开":"máo sè dùn kāi","走马换将":"zǒu mǎ huàn jiàng","为时过早":"wéi shí guò zǎo","为人师表":"wéi rén shī biǎo","阴差阳错":"yīn chā yáng cuò","油腔滑调":"yóu qiāng huá diào","重蹈覆辙":"chóng dǎo fù zhé","骂骂咧咧":"mà ma liē liē","絮絮叨叨":"xù xù dāo dāo","如履薄冰":"rú lǚ bó bīng","损兵折将":"sǔn bīng zhé jiàng","无可比拟":"wú kě bǐ nì","拐弯抹角":"guǎi wān mò jiǎo","像模像样":"xiàng mú xiàng yàng","供过于求":"gōng guò yú qiú","开花结果":"kāi huā jiē guǒ","仔仔细细":"zǐ zǐ xì xì","川藏公路":"chuān zàng gōng lù","河北梆子":"hé běi bāng zi","长年累月":"cháng nián lěi yuè","正儿八经":"zhèng er bā jīng","不识抬举":"bù shí tái ju","重振旗鼓":"chóng zhèn qí gǔ","气息奄奄":"qì xī yān yān","紧追不舍":"jǐn zhuī bù shě","服服帖帖":"fú fu tiē tiē","强词夺理":"qiǎng cí duó lǐ","噼里啪啦":"pī li pā lā","人才济济":"rén cái jǐ jǐ","发人深省":"fā rén shēn xǐng","不足为凭":"bù zú wéi píng","为富不仁":"wéi fù bù rén","连篇累牍":"lián piān lěi dú","呼天抢地":"hū tiān qiāng dì","落落大方":"luò luò dà fāng","自吹自擂":"zì chuī zì léi","乐善好施":"lè shàn hào shī","以攻为守":"yǐ gōng wéi shǒu","磨磨蹭蹭":"mó mó cèng cèng","削铁如泥":"xuē tiě rú ní","助纣为虐":"zhù zhòu wéi nüè","以退为进":"yǐ tuì wéi jìn","重整旗鼓":"chóng zhěng qí gǔ","嘁嘁喳喳":"qī qī chā chā","枪林弹雨":"qiāng lín dàn yǔ","风情万种":"fēng qíng wàn zhǒng","令人发指":"lìng rén fà zhǐ","转败为胜":"zhuǎn bài wéi shèng","转弯抹角":"zhuǎn wān mò jiǎo","在劫难逃":"zài jié nán táo","正当防卫":"zhèng dàng fáng wèi","不足为怪":"bù zú wéi guài","难兄难弟":"nàn xiōng nàn dì","咿咿呀呀":"yī yī yā yā","弹尽粮绝":"dàn jìn liáng jué","八旗子弟":"bā qí zi dì","阿谀奉承":"ē yú fèng chéng","稀里哗啦":"xī li huā lā","返老还童":"fǎn lǎo huán tóng","好高骛远":"hào gāo wù yuǎn","灾难深重":"zāi nán shēn zhòng","鹿死谁手":"lù sǐ shéi shǒu","差强人意":"chā qiáng rén yì","大吹大擂":"dà chuī dà léi","成家立业":"chéng jiā lì yiè","自怨自艾":"zì yuàn zì yì","负债累累":"fù zhai lěi lěi","古为今用":"gǔ wéi jīn yòng","入土为安":"rù tǔ wéi ān","下不为例":"xià bù wéi lì","一哄而上":"yì hōng ér shàng","一股劲儿":"yī gǔ jìn er","没头苍蝇":"méi tóu cāng ying","天差地远":"tiān chā dì yuǎn","风卷残云":"fēng juǎn cán yún","多灾多难":"duō zāi duō nàn","乳臭未干":"rǔ xiù wèi gān","行家里手":"háng jiā lǐ shǒu","狼狈为奸":"láng bèi wéi jiān","处变不惊":"chǔ biàn bù jīng","一唱一和":"yī chàng yī hè","一念之差":"yī niàn zhī chā","金蝉脱壳":"jīn chán tuō qiào","滴滴答答":"dī dī dā dā","硕果累累":"shuò guǒ léi léi","只知其一":"zhǐ zhī qí yī","好整以暇":"hào zhěng yǐ xiá","红得发紫":"hóng de fā zǐ","传为美谈":"chuán wéi měi tán","富商大贾":"fù shāng dà gǔ","四海为家":"sì hǎi wéi jiā","失而复得":"shī ér fù de","了若指掌":"liǎo ruò zhǐ zhǎng","大有可为":"dà yǒu kě wéi","出头露面":"chū tóu lù miàn","鼓鼓囊囊":"gǔ gu nāng nāng","窗明几净":"chuāng míng jī jìng","泰然处之":"tài rán chǔ zhī","怒发冲冠":"nù fà chōng guān","不甚了了":"bù shèn liǎo liǎo","有机玻璃":"yǒu jī bō li","骨头架子":"gú tou jià zi","义薄云天":"yì bó yún tiān","一丁点儿":"yī dīng diǎnr","时来运转":"shí lái yùn zhuǎn","陈词滥调":"chén cí làn diào","七十二行":"qī shí èr háng","化整为零":"huà zhěng wéi líng","物以稀为贵":"wù yǐ xī wéi guì","民以食为天":"mín yǐ shí wéi tiān","火烧火燎":"huǒ shāo huǒ liǎo","干脆利索":"gàn cuì lì suǒ","吊儿郎当":"diào er láng dāng","广种薄收":"guǎng zhòng bó shōu","难舍难分":"nán shě nán fēn","歃血为盟":"shà xuè wéi méng","奋发有为":"fèn fā yǒu wéi","阴错阳差":"yīn cuò yáng chā","东躲西藏":"dōng duǒ xī cáng","烟熏火燎":"yān xūn huǒ liǎo","钻牛角尖":"zuān niú jiǎo jiān","乔装打扮":"qiáo zhuāng dǎ bàn","改弦更张":"gǎi xián gēng zhāng","河南梆子":"hé nán bāng zi","好吃懒做":"hào chī lǎn zuò","何乐不为":"hé lè bù wéi","大出风头":"dà chū fēng tóu","攻城掠地":"gōng chéng lüě dì","漂漂亮亮":"piào piào liang liang","折衷主义":"zhé zhōng zhǔ yì","大马哈鱼":"dà mǎ hǎ yú","绿树成荫":"lǜ shù chéng yīn","率先垂范":"shuài xiān chuí fàn","家长里短":"jiā cháng lǐ duǎn","宽大为怀":"kuān dà wéi huái","左膀右臂":"zuǒ bǎng yòu bì","影子内阁":"yǐng zi nèi gé","一笑了之":"yī xiào liǎo zhī","天下为公":"tiān xià wéi gōng","还我河山":"huán wǒ hé shān","何足为奇":"hé zú wéi qí","好自为之":"hào zì wéi zhī","风姿绰约":"fēng zī chuō yué","大雨滂沱":"dà yǔ páng tuó","传为佳话":"chuán wéi jiā huà","吃里扒外":"chī lǐ pá wài","重操旧业":"chóng cāo jiù yè","小家子气":"xiǎo jiā zi qì","少不更事":"shào bù gēng shì","难分难舍":"nán fēn nán shě","只争朝夕":"zhǐ zhēng zhāo xī","添砖加瓦":"tiān zhuān jiē wǎ","是非分明":"shì fēi fēn míng","舍我其谁":"shě wǒ qí shuí","偏听偏信":"piān tīng piāng xìn","量入为出":"liàng rù wéi chū","降龙伏虎":"xiáng lóng fú hǔ","故伎重演":"gù jì zhòng yǎn","钢化玻璃":"gāng huà bō li","有鼻子有眼":"yǒu bí zi yǒu yǎn","正中下怀":"zhèng zhòng xià huái","以身许国":"yǐ shēng xǔ guó","一语中的":"yī yǔ zhōng dì","丧魂落魄":"sàng hún luò pò","三座大山":"sān zuò tài shān","济济一堂":"jǐ jǐ yī táng","好事之徒":"hào shì zhī tú","干净利索":"gàn jìng lì suǒ","出将入相":"chū jiàng rù xiàng","竹筒倒豆子":"zhú tǒng dǎo dòu zi","袅袅娜娜":"niǎo niǎo nuó nuó","狐狸尾巴":"hú li wěi ba","好逸恶劳":"hào yì wù láo","大而无当":"dà ér wú dàng","打马虎眼":"dǎ mǎ hu yǎn","板上钉钉":"bǎn shàng dìng dīng","眼不见为净":"yǎn bù jiàn wéi jìng","吆五喝六":"yāo wǔ hè liù","虾兵蟹将":"xiā bīng xiè jiàng","水调歌头":"shuǐ diào gē tóu","数典忘祖":"shǔ diǎn wàng zǔ","人事不省":"rén shì bù xǐng","曲高和寡":"qǔ gāo hè guǎ","偶一为之":"ǒu yī wéi zhī","屡教不改":"lǚ jiàn bù gǎi","互为因果":"hù wéi yīn guò","互为表里":"hù wéi biǎo lǐ","厚此薄彼":"hòu cǐ bó bǐ","过关斩将":"guò guān zhǎn jiàng","疙疙瘩瘩":"gē gē dā dá","否极泰来":"pǐ jí tài lái","大腹便便":"dà fù pián pián","行行出状元":"háng háng chū zhuàng yuán","拧成一股绳":"níng chéng yī gǔ shéng","走为上策":"zǒu wéi shàng cè","冤家对头":"yuān jia duì tóu","有隙可乘":"yǒu xì kě chèng","一无所得":"yī wú suǒ dé","一鳞半爪":"yī lín bàn zhǎo","一哄而起":"yī hōng ér qǐ","片言只语":"piàn yán zhǐ yǔ","开花结实":"kāi huā jié shí","旧地重游":"jiù dì chóng yóu","经年累月":"jīng nián lěi yuè","含糊其词":"hán hú qí cí","寡廉鲜耻":"guǎ lián xiǎn chǐ","成年累月":"chéng nián lěi yuè","不徇私情":"bù xún sī qíng","不当人子":"bù dāng rén zǐ","膀大腰圆":"bǎng dà yāo yuán","指腹为婚":"zhǐ fù wéi hūn","这么点儿":"zhè me diǎn er","意兴索然":"yì xīng suǒ rán","绣花枕头":"xiù huā zhěn tóu","无的放矢":"wú dì fàng shǐ","望闻问切":"wàng wén wèn qiē","舍己为人":"shě jǐ wèi rén","穷年累月":"qióng nián lěi yuè","排难解纷":"pái nàn jiě fēn","处之泰然":"chǔ zhī tài rán","指鹿为马":"zhǐ lù wéi mǎ","一吐为快":"yī tǔ wéi kuài","一丘之貉":"yī qiū zhī hé","危如累卵":"wēi rú lěi luǎn","天兵天将":"tiān bīng tiān jiàng","舍近求远":"shě jìn qiú yuǎn","南腔北调":"nán qiāng běi diào","苦中作乐":"kǔ zhōng zuò lè","厚积薄发":"hòu jī bó fā","戴绿帽子":"dài lǜ mào zi","臭味相投":"xiù wèi xiāng tóu","长幼有序":"zhǎng yòu yǒu xù","逼良为娼":"bī liáng wéi chāng","悲悲切切":"bēi bēi qiè qiē","败军之将":"bài jūn zhī jiàng","赶鸭子上架":"gǎn yā zī shàng jià","欺行霸市":"qī háng bà shì","削足适履":"xuē zú shì lǚ","先睹为快":"xiān dǔ wéi kuài","啼饥号寒":"tí jī háo hán","疏不间亲":"shū bù jiàn qīn","神差鬼使":"shén chāi guǐ shǐ","敲敲打打":"qiāo qiāo dā dā","平铺直叙":"píng pū zhí xù","没头没尾":"méi tóu mò wěi","寥寥可数":"liáo liáo kě shǔ","哼哈二将":"hēng hā èr jiàng","鹤发童颜":"hè fà tóng yán","各奔前程":"gè bèn qián chéng","弹无虚发":"dàn wú xū fā","大人先生":"dà rén xiān sheng","与民更始":"yǔ rén gēng shǐ","叶落归根":"yè luò huī gēn","一目十行":"yī mù shí háng","虚晃一枪":"xiù huàng yī qiāng","树碑立传":"shù bēi lì zhuàn","是非得失":"shì fēi dé shī","实逼处此":"shí bī chǔ cǐ","塞翁失马":"sài wēng shī mǎ","日薄西山":"rì bó xī shān","切身体会":"qiē shēn tǐ huì","片言只字":"piàn yán zhǐ zì","跑马卖解":"pǎo mǎ mài xiè","宁折不弯":"nìng zhé bù wān","零零散散":"líng líng sǎn sǎn","量体裁衣":"liàng tǐ cái yī","连中三元":"lián zhòng sān yuán","礼崩乐坏":"lǐ bēng yuè huài","胡子拉碴":"hú zǐ lā chā","不为已甚":"bù wéi yǐ shèn","转悲为喜":"zhuǎn bēi wéi xǐ","以眼还眼":"yǐ yǎn huán yǎn","蔚为大观":"wèi wéi dà guān","未为不可":"wèi wéi bù kě","童颜鹤发":"tóng yán hè fà","朋比为奸":"péng bǐ wéi jiān","莫此为甚":"mò cǐ wéi shèn","老调重弹":"lǎo diào zhòng dàn","夹枪带棒":"jiā qiāng dài bàng","富商巨贾":"fù shāng jù jiǎ","多劳多得":"duō láo duō de","淡然处之":"dàn rán chǔ zhī","箪食壶浆":"dān sì hú jiāng","创巨痛深":"chuāng jù tòng shēn","草长莺飞":"cǎo zhǎng yīng fēi","坐视不救":"zuò shī bù jiù","重起炉灶":"chóng qǐ lú zào","以己度人":"yǐ jǐ duó rén","随行就市":"suí háng jiù shì","文以载道":"wén yǐ zài dào","文不对题":"wén bù duì tí","铁板钉钉":"tiě bǎn dìng dīng","身体发肤":"shēn tǐ fà fū","缺吃少穿":"quē chī xhǎo chuān","目无尊长":"mù wú zūn zhǎng","吉人天相":"jí rén tiān xiàng","毁家纾难":"huǐ jiā shū nàn","钢筋铁骨":"gāng jīng tiě gǔ","丢卒保车":"diū zú bǎo jū","丢三落四":"diū sān là sì","闭目塞听":"bì mù sè tīng","不幸而言中":"bù xìng ér yán zhòng","削尖脑袋":"xuē jiān nǎo dài","为非作恶":"wéi fēi zuò è","人才难得":"rén cái cái dé","情非得已":"qíng fēi dé yǐ","切中要害":"qiē zhōng yào hài","火急火燎":"huǒ jí huǒ liǎo","画地为牢":"huà dì wéi láo","好酒贪杯":"hào jiǔ tān bēi","长歌当哭":"cháng gē dàng kū","事后诸葛亮":"shì hòu zhū gé liàng","载沉载浮":"zài chén zài fú","遇难呈祥":"yù nàn chéng xiáng","榆木疙瘩":"yú mù gē da","以邻为壑":"yǐ lín wéi hè","洋为中用":"yáng wéi zhōng yòng","言为心声":"yán wéi xīn shēng","言必有中":"yán bì yǒu zhòng","图穷匕见":"tú qióng bǐ xiàn","滂沱大雨":"páng tuó dà yǔ","目不暇给":"mù bù xiá jǐ","量才录用":"liàng cái lù yòng","教学相长":"jiào xué xiāng zhǎng","悔不当初":"huǐ bù dāng chū","呼幺喝六":"hū yāo hè liù","不足为训":"bù zú wéi xùn","不拘形迹":"bù jū xíng jī","傍若无人":"páng ruò wú rén","八大山人":"bā tài shān rén","罪责难逃":"zuì zé nán táo","自我吹嘘":"zì wǒ chuí xū","转祸为福":"zhuǎn huò wéi fú","重峦叠嶂":"chóng luán dié zhàng","勇冠三军":"yǒng guàn sān jūn","易地而处":"yì dì ér chǔ","一语破的":"yī yǔ pò dì","卸磨杀驴":"xiè mò shā lǘ","玩儿不转":"wán ér bù zhuàn","天道好还":"tiān dào hǎo huán","身单力薄":"shēn dān lì bó","撒豆成兵":"sǎ dòu chéng bīng","曲里拐弯":"qū lǐ guǎn wān","片纸只字":"piàn zhǐ yán zì","宁缺毋滥":"nìng quē wù làn","没没无闻":"mò mò wú wén","量力而为":"liàng lì ér wéi","历历可数":"lì lì kě shǔ","口碑载道":"kǒu bēi zài dào","君子好逑":"jūn zǐ hào qiú","好为人师":"hào wéi rén shī","豪商巨贾":"háo shāng jù jiǎ","各有所好":"gè yǒu suǒ hào","度德量力":"duó dé liàng lì","读书种子":"dú shū zhǒng zǐ","便宜从事":"biàn yí cóng shì","苛政猛于虎":"kē zhè měng yú hǔ","指天为誓":"zhǐ tiān wéi shì","逸兴遄飞":"yì xìng chuán fēi","心宽体胖":"xīn kuān tǐ pán","为德不卒":"wéi dé bù zú","纨袴子弟":"wán kǔ zǐ dì","天下为家":"tiān xià wéi jiā","视为畏途":"shì wéi wèi tú","舍己从人":"shě jǐ cóng rén","三灾八难":"sān zāi bā nàn","人自为战":"rén zì wéi zhàn","群雌粥粥":"qún cí yù yù","那么点儿":"nà me diǎn er","沐猴而冠":"mù hóu ér guàn","谋为不轨":"móu wéi bù guǐ","明窗净几":"míng chuāng jìng jī","哩哩啦啦":"li li lā lā","见缝就钻":"jiàn fèng jiù zuān","夹层玻璃":"jiā céng bō li","急公好义":"jí gōng hào yì","积年累月":"jī nián lěi yuè","划地为牢":"huá dì wéi láo","更名改姓":"gèng míng gǎi xìng","奉为圭臬":"fèng wéi guī niè","多难兴邦":"duō nàn xīng bāng","顿开茅塞":"dùn kāi máo sè","弹尽援绝":"dàn jìn yuán jué","大脖子病":"dà bó zi bìng","不破不立":"bù può bù lì","坐地自划":"zuò dì zì huá","坐不重席":"zuò bù chóng xí","坐不窥堂":"zùo bù kuī táng","作舍道旁":"zuò shě dào páng","作嫁衣裳":"zuò jià yī shāng","左支右吾":"zuǒ zhī yòu wū","左枝右梧":"zuǒ zhī yòu wū","左宜右有":"zuǒ yí yòu fú","罪应万死":"zuì yīng wàn sǐ","钻心刺骨":"zuàn xīn cì gǔ","钻穴逾墙":"zuān xué yú qiáng","钻穴逾隙":"zuān xué yú xì","钻隙逾墙":"zuān xì yú qiáng","钻头觅缝":"zuān tóu mì fèng","钻天觅缝":"zuàn tiān mì féng","钻天打洞":"zuān tiān dǎ dòng","钻皮出羽":"zuān pí chū yǔ","钻懒帮闲":"zuān lǎn bāng xián","钻火得冰":"zuān huǒ dé bīng","钻洞觅缝":"zuàn dòng mì féng","钻冰求火":"zuān bīng qiú huǒ","钻冰求酥":"zuān bīng qiú sū","走为上着":"zǒu wèi shàng zhaō","走花溜水":"zǒu huā liū bīng","纵曲枉直":"zòng qǔ wǎng zhí","自相惊忧":"zì xiāng jīng rǎo","子为父隐":"zǐ wéi fù yǐn","资深望重":"zī shēng wàng zhòng","擢发难数":"zhuó fà nán shǔ","擢发莫数":"zhuó fà mò shǔ","着书立说":"zhù shū lì shuō","着人先鞭":"zhuó rén xiān biān","斫琱为朴":"zhuó diāo wéi pǔ","斫雕为朴":"zhuó diāo wéi pǔ","锥处囊中":"zhuī chǔ náng zhōng","椎膺顿足":"chuí yīng dùn zú","椎胸跌足":"chuí xiōng diē zú","椎胸顿足":"chuí xiōng dùn zú","椎心饮泣":"chuí xīn yǐn qì","椎心泣血":"chuí xīn qì xuè","椎心呕血":"chuí xīn ǒu xuè","椎心顿足":"chuí xīn dùn zú","椎天抢地":"chuí tiān qiǎng dì","椎牛飨士":"chuí niú xiǎng shì","椎牛歃血":"chuí niú shà xuè","椎牛发冢":"chuí niú fā zhǒng","椎埋屠狗":"chuí mái tú gǒu","椎埋狗窃":"chuí mái gǒu qiè","椎肤剥体":"chuí fū bō tǐ","椎肤剥髓":"chuí fū bō suǐ","椎锋陷阵":"chuí fēng xiàn zhèn","椎锋陷陈":"chuī fēng xiàn chén","追欢作乐":"zhuī huān zuò lè","追风摄景":"zhuī fēng niè jǐng","壮发冲冠":"zhuàng fā chōng guàn","庄严宝相":"zhuāng yán bǎo xiàng","转灾为福":"zhuǎn zāi wéi fú","转湾抹角":"zhuǎn wān mò jiǎo","转愁为喜":"zhuǎn chóu wéi xǐ","转嗔为喜":"zhuǎn chēn wéi xǐ","转败为成":"zhuǎn bài wéi chéng","转败为功":"zhuǎn bài wéi gōng","拽巷攞街":"zhuài xiàng luǒ jiē","拽巷啰街":"zhuài xiàng luó jiē","拽耙扶犁":"zhuāi pá fú lí","拽布拖麻":"zhuāi bù tuō má","箸长碗短":"zhù chàng wǎn duǎn","铸剑为犁":"zhù jiàn wéi lí","杼柚之空":"zhù zhóu zhī kōng","杼柚其空":"zhù zhóu qí kōng","杼柚空虚":"zhù zhóu kōng xū","助天为虐":"zhù tiān wéi nüè","助桀为虐":"zhù jié wéi nüè","属垣有耳":"zhǔ yuán yǒu ěr","属毛离里":"zhǔ máo lí lǐ","属辞比事":"zhǔ cí bǐ shì","属词比事":"zhǔ cí bǐ shì","逐物不还":"zhú wù bù huán","铢铢校量":"zhū zhū xiào liàng","铢量寸度":"zhū liáng cùn duó","铢两悉称":"zhū liǎng xī chèn","铢积寸累":"zhū jī cùn lěi","侏儒一节":"zhū rǔ yī jié","侏儒观戏":"zhū rǔ guān xì","朱槃玉敦":"zhū pán yù duì","朱盘玉敦":"zhū pán yù duì","朱轓皁盖":"zhū fān hǎi gài","昼干夕惕":"zhòu gàn xī tì","昼度夜思":"zhòu duó yè sī","诪张为幻":"zhōu zhāng wéi huàn","周郎顾曲":"zhōu láng gù qǔ","侜张为幻":"zhōu zhāng wéi huàn","重足一迹":"chóng zú yī jì","重足屏息":"chóng zú bǐng xī","重足屏气":"chóng zú bǐng qì","重足累息":"chóng zú lèi xī","重足而立":"chóng zú ér lì","重纸累札":"chóng zhǐ lèi zhá","重垣叠锁":"chóng yuán dié suǒ","重垣迭锁":"chóng yuán dié suǒ","重裀列鼎":"chóng yīn liè dǐng","重岩叠嶂":"chóng yán dié zhàng","重兴旗鼓":"chóng xīng qí gǔ","重熙累叶":"chóng xī lěi yè","重熙累盛":"chóng xī lěi shèng","重手累足":"chóng shǒu lěi zú","重山峻岭":"chóng shān jùn lǐng","重山复水":"chóng shān fù shuǐ","重山复岭":"chóng shān fù lǐng","重三叠四":"chóng sān dié sì","重三迭四":"chóng sān dié sì","重气徇命":"zhòng qì xùn míng","重纰貤缪":"chóng pī yí miù","重葩累藻":"chóng pā lèi zǎo","重明继焰":"chóng míng jì yàn","重峦复嶂":"chóng luán fù zhàng","重峦叠巘":"chóng luán dié yǎn","重峦迭巘":"chóng luán dié yǎn","重理旧业":"chóng lǐ jiù yè","重金袭汤":"chóng jīn xí tāng","重金兼紫":"chóng jīn jiān zǐ","重迹屏气":"chóng jì bǐng qì","重珪叠组":"chóng guī dié zǔ","重规袭矩":"chóng guī xí jǔ","重规叠矩":"chóng guī dié jǔ","重规累矩":"chóng guī lèi jǔ","重规迭矩":"chóng guī dié jǔ","重规沓矩":"chóng guī tà jǔ","重圭叠组":"chóng guī dié zǔ","重睹天日":"chóng dǔ tiān rì","重床叠屋":"chóng chuáng dié wū","重床叠架":"chóng chuáng dié jià","重床迭屋":"chóng chuáng dié wū","重床迭架":"chóng chuáng dié jià","众啄同音":"zhòng zhòu tóng yīn","众星攒月":"zhòng xīng cuán yuè","众毛攒裘":"zhòng máo cuán qiú","众好众恶":"zhòng hào zhòng wù","钟鼎人家":"zhōng dǐng rén jia","擿植索涂":"zhāi zhí suǒ tú","擿埴索涂":"zhāi zhí suǒ tú","擿埴索途":"zhāi zhí suǒ tú","稚齿婑媠":"zhì chǐ wǒ tuǒ","致远任重":"zhì yuǎn rèn zhàng","栉比鳞差":"zhì bǐ lín cǐ","至当不易":"zhì dàng bù yì","指皁为白":"zhǐ zào wéi bái","指皂为白":"zhǐ zào wéi bái","指雁为羹":"zhǐ yàn wéi gēng","指树为姓":"zhǐ shù wéi xìng","指山说磨":"zhǐ shān shuō mò","指山卖磨":"zhǐ shān mài mò","只争旦夕":"zhǐ zhēng dàn xī","止戈为武":"zhǐ gē wéi wǔ","植发穿冠":"zhí fà chuān guàn","植发冲冠":"zhí fà chōng guàn","直言切谏":"zhí yán qiē jiàn","直扑无华":"zhí pǔ wú huá","知疼着痒":"zhī téng zháo yǎng","枝叶相持":"zhī yè xīng chí","枝干相持":"zhī gàn xiāng xhí","枝附叶着":"zhī fù yiè zhuó","枝附叶著":"zhī fù yiè zhuó","枝大于本":"zhī dà yù běn","支吾其词":"zhī wū qí cí","支分族解":"zhī fē zú jiě","正中己怀":"zhèng zhòng jǐ huái","正身率下":"zhèng shēn shuài xià","正冠纳履":"zhèng guàn nà lǚ","正冠李下":"zhèng guàn lǐ xià","整冠纳履":"zhěng guàn nà lǚ","整躬率物":"zhěng gōng shuài wù","整顿干坤":"zhěng dùn gàn kūn","蒸沙为饭":"zhēng shā wéi fàn","振兵泽旅":"zhèn bīng shì lǚ","枕席还师":"zhěn xí huán shī","枕石漱流":"zhěn shí sòu liú","枕石嗽流":"zhěn shí shù liú","真相毕露":"zhēn xiāng bì lù","针头削铁":"zhēn tóu xuē tiě","贞松劲柏":"zhēn sōng jìng bǎi","赭衣塞路":"zhě yī sài lù","折腰五斗":"shé yāo wǔ dòu","折箭为誓":"shé jiàn wéi shì","折而族之":"zhe er zu zi","昭德塞违":"zhāo dé sè wéi","彰明较着":"zhāng míng jiào zhù","章句小儒":"zhāng jù xiāo rú","湛恩汪濊":"zhàn ēn wāng hún","占风望气":"zhān fēng wàng qì","占风使帆":"zhān fēng shǐ fān","斩将刈旗":"zhǎn jiàng yì qí","斩将搴旗":"zhǎn jiàng qiān qí","斩钉切铁":"zhǎn dīng qiē tiě","詹言曲说":"zhān yán qǔ shuō","沾沾自好":"zhān zhān zì hào","曾母投杼":"zēng mǔ tóu zhù","曾参杀人":"zēng shēn shā rén","曾不惨然":"zeng bu chan ran","造谣中伤":"zào yáo zhòng shāng","早占勿药":"zǎo zhān wù yào","凿龟数策":"záo guī shǔ cè","攒三集五":"cuán sān jí wǔ","攒三聚五":"cuán sān jù wǔ","攒眉苦脸":"zǎn méi kǔ liǎn","攒眉蹙额":"cuán mei cù é","攒零合整":"cuán líng hé zhěng","攒锋聚镝":"cuán fēng jù dí","载舟覆舟":"zài zhōu fù zhōu","载一抱素":"zài yī bào sù","载笑载言":"zài xiào zài yán","载驱载驰":"zài qū zài chí","载酒问字":"zài jiǔ wèn zì","载歌且舞":"zài gē qiě wǔ","运转时来":"yùn zhuǎn shí lái","殒身不恤":"yǔn shēn bú xù","云舒霞卷":"yún shū xiá juǎn","云泥之差":"yún ní zhī chā","岳镇渊渟":"yuè zhèn yuān tīng","月中折桂":"yuè zhōng shé guì","月没参横":"yuè mò shēn héng","月落参横":"yuè luò shēn héng","远不间亲":"yuǎn bù jiàn qīn","鬻驽窃价":"yù nǔ qiè jià","鬻鸡为凤":"yù jī wéi fèng","遇难成祥":"yù nàn chéng xiáng","郁郁累累":"yù yù lěi lěi","吁天呼地":"yù tiān hū dì","吁咈都俞":"yù fú dōu yú","玉卮无当":"yù zhī wú dàng","语笑喧阗":"yǔ xiào xuān tiān","与世沉浮":"yú shì chén fú","与时消息":"yǔ shí xiāo xi","与民除害":"yǔ hǔ chú hài","逾墙钻隙":"yú qiáng zuān xì","渔阳鞞鼓":"yǔ yáng pí gǔ","渔夺侵牟":"yú duó qīn móu","鱼目混珎":"yú mù hùn zhū","杅穿皮蠹":"yú chuān shuǐ dù","余勇可贾":"yú yǒng kě gǔ","予智予雄":"yú zhì yú xióng","予取予携":"yú qǔ yú xié","予取予求":"yú qǔ yú qiú","予取予夺":"yú qǔ yú duó","于家为国":"yú jiā wéi guó","又弱一个":"yòu ruò yī gè","有借无还":"yǒu jiè wú huán","有加无已":"yǒu jiā wǔ yǐ","有国难投":"yǒu guó nán tóu","有蠙可乘":"yǒu bīn kě chéng","游必有方":"yōu bì yǒu fāng","油干灯尽":"yóu gàn dēng jìn","尤云殢雨":"yóu yún zhì yǔ","饔飧不给":"yōng sūn bù jǐ","庸中皦皦":"yōng zhōng bì tóng","蝇攒蚁聚":"yíng cuán yǐ jù","郢书燕说":"yǐng shū yān shuō","蝇攒蚁附":"yíng cuán yǐ fù","营蝇斐锦":"yíng yíng fēi jǐn","盈千累万":"yíng qiān lěi wàn","盈篇累牍":"yíng piān lěi dú","鹰心雁爪":"yīng xīn yàn zhǎo","莺吟燕儛":"yīng yín yàn sāi","应天顺时":"yīng tiān shùn shí","印累绶若":"yìn léi shòu ruò","隐占身体":"yin zhan shen qi","饮犊上流":"yìn dú shàng liú","饮冰食蘖":"yǐn bīng shí bò","引绳切墨":"yǐn shéng qiē mò","龈齿弹舌":"yín chǐ dàn shé","淫言媟语":"yín yán liǎng yǔ","淫词艳曲":"yín cí yàn qǔ","因缘为市":"yīn yuán wéi shì","因树为屋":"yīn shù wéi wū","因祸为福":"yīn huò wéi fú","因敌为资":"yīn dí wéi zī","溢美溢恶":"yì měi yì lè","逸兴云飞":"yì xìng yún fēi","逸兴横飞":"yì xìng héng fēi","抑塞磊落":"yì sè lěi luò","倚闾望切":"yǐ lǘ wàng qiē","蚁拥蜂攒":"yǐ yōng fēng cuán","以紫为朱":"yǐ zǐ wéi zhū","以意为之":"yǐ yì wéi zhī","以言为讳":"yǐ yán wéi huì","以微知着":"yǐ wēi zhī zhù","以疏间亲":"yǐ shū jiàn qīn","以水济水":"yǐ shuǐ jǐ shuǐ","以书为御":"yǐ shū wéi yù","以守为攻":"yǐ shǒu wéi gōng","以升量石":"yǐ shēng liáng dàn","以慎为键":"yǐ shèn wéi jiàn","以日为年":"yǐ rì wéi nián","以筌为鱼":"yǐ quán wéi yú","以鹿为马":"yǐ lù wéi mǎ","以利累形":"yǐ lì lěi xíng","以毁为罚":"yǐ huǐ wéi fá","以黑为白":"yǐ hēi wéi bái","以规为瑱":"yǐ guī wéi tiàn","以古为鉴":"yǐ gǔ wéi jiàn","以宫笑角":"yǐ gōng xiào jué","以法为教":"yǐ fǎ wéi jiào","以耳为目":"yǐ ěr wéi mù","以大恶细":"yǐ dà wù xì","以不济可":"yǐ fǒu jì kě","以白为黑":"yǐ bái wéi hēi","乙种射线":"yǐ zhǒng shè xiàn","乙种粒子":"yǐ zhǒng lì zǐ","遗世忘累":"yí shì wàng lěi","遗寝载怀":"yí qǐn zài huái","移孝为忠":"yí xiào wéi zhōng","移的就箭":"yí dì jiù jiàn","依头缕当":"yī tóu lǚ dàng","衣租食税":"yì zū shí shuì","衣轻乘肥":"yì qīng chéng féi","衣裳之会":"yī shāng zhī huì","衣锦食肉":"yì jǐn shí ròu","衣锦过乡":"yì jǐn guò xiāng","衣单食薄":"yī dān shí bó","一重一掩":"yī chóng yī yǎn","一之为甚":"yī zhī wéi shèn","一笑了事":"yī xiào le shì","一现昙华":"yī xiàn tán huā","一岁载赦":"yī suì zài shè","一切万物":"yī qiē wàn wù","一目五行":"yī mù wǔ háng","一鳞一爪":"yī lín yī zhǎo","一鳞片爪":"yī lín piàn zhǎo","一了百当":"yī liǎo bǎi dàng","一见了然":"yī jiàn le rán","一还一报":"yī huán yī bào","一毫不差":"yī háo bù chā","一倡百和":"yī chàng bǎi hè","一鞭先著":"yī biān xiān zhuó","一笔抹摋":"yī bǐ mò sà","一暴十寒":"yī pù shí hán","夜静更阑":"yè jìng gēng lán","叶公好龙":"yè gōng hào lóng","野调无腔":"yě diào wú qiāng","咬血为盟":"yǎo xuè wéi méng","瑶池女使":"yáo shi nǚ shǐ","幺麽小丑":"yāo mǒ xiǎo chǒu","养精畜锐":"yǎng jīng xù ruì","仰屋着书":"yǎng wū zhù shū","卬首信眉":"áng shǒu shēn méi","洋洋纚纚":"yáng yáng sǎ sǎ","羊羔美酒":"yán gāo měi jiǔ","羊肠九曲":"yáng cháng jiǔ qǔ","扬眉眴目":"yáng méi shùn mù","扬厉铺张":"yáng lì pù zhāng","扬风扢雅":"yáng fēng bào yǎ","燕子衔食":"yàn zǐ xián shí","燕昭市骏":"yān zhāo shì jùn","燕昭好马":"yān zhāo hǎo mǎ","燕石妄珍":"yān shí wàng zhēn","燕雀处屋":"yàn què chǔ wū","燕骏千金":"yān jùn qiān jīn","燕金募秀":"yān jīn mù xiù","燕驾越毂":"yān jià yuè gū","燕歌赵舞":"yān gē zhào wǔ","燕岱之石":"yān dài zhī shí","燕处焚巢":"yàn chǔ fén cháo","燕处危巢":"yàn chǔ wēi cháo","燕巢幙上":"yàn cháo yú shàng","掞藻飞声":"shǎn zǎo fēi shēng","偃革为轩":"yǎn gé wéi xuān","岩栖穴处":"yán qī xué chǔ","岩居穴处":"yán jū xué chǔ","妍蚩好恶":"yán chī hǎo è","压良为贱":"yā liáng wéi jiàn","搀行夺市":"chān háng duó shì","三十六行":"sān shí liù háng","泣数行下":"qì shù háng xià","当行出色":"dāng háng chū sè","目下十行":"mù xià shí háng","秀出班行":"xiù chū bān háng","儿女成行":"ér nǚ chéng háng","大行大市":"dà háng dà shì","十行俱下":"shí háng jù xià","寻行数墨":"xún háng shǔ mò","熏莸同器":"xún yóu tóng qì","埙篪相和":"xūn chí xiāng hè","血债累累":"xuè zhài lěi lěi","雪鸿指爪":"xuě hóng zhǐ zhǎo","衒玉贾石":"zuì yù jiǎ shí","炫玉贾石":"xuàn yù gǔ shí","炫石为玉":"xuàn shí wéi yù","旋干转坤":"xuán qián zhuǎn kūn","悬石程书":"xuán dàn chéng shū","悬狟素飡":"xuán huán sù kòu","悬龟系鱼":"xuán guī jì yú","揎拳捰袖":"xuān quán lǒng xiù","揎拳捋袖":"xuān quán luō xiù","轩鹤冠猴":"xuān hè guàn hóu","畜妻养子":"xù qī yǎng zǐ","魆风骤雨":"zhuō fēng zhòu yǔ","褎然冠首":"yòu rán guàn shǒu","羞人答答":"xiū rén dā dā","修鳞养爪":"xiū lín yǎng zhǎo","熊据虎跱":"xióng jù hǔ shēn","汹涌淜湃":"xiōng yǒng péng pai","兄死弟及":"xiōng féi dì jí","腥闻在上":"xíng wén zài shàng","兴文匽武":"xīng wén diào wǔ","兴如嚼蜡":"xìng rú jiáo là","兴观群怨":"xìng guān qún yuàn","兴高彩烈":"xìng gāo cǎi liè","心瞻魏阙":"xīn zhān wèi què","心在魏阙":"xīn zài wèi què","心同止水":"xīn rú zhǐ shuǐ","心手相应":"xīn shǒu xiāng yìng","心手相忘":"xīn shǒu xiāng wàng","心口相应":"xīn kǒu xiāng yīng","心广体胖":"xīn guǎng tǐ pán","心驰魏阙":"xīn chí wèi què","心不应口":"xīn bù yīng kǒu","挟势弄权":"jiā shì nòng quán","胁肩累足":"xié jiān lěi zú","邪魔外祟":"xié mó wai suì","敩学相长":"zuàn xué xiāng cháng","校短量长":"jiào duǎn liáng cháng","小眼薄皮":"xiǎo yǎn bó pí","小廉曲谨":"xiǎo lián qǔ jǐn","硝云弹雨":"xiāo yún dàn yǔ","鸮鸣鼠暴":"zhāng míng shǔ bào","削株掘根":"xuē zhū jué gēn","削铁无声":"xuē tiě wú shēng","削职为民":"xuē zhí wéi mín","削木为吏":"xuē mù wéi lì","削草除根":"xuē cǎo chú gēn","橡皮钉子":"xiàng pí dìng zǐ","想望风褱":"xiǎng wàng fēng shèng","香培玉琢":"xiang pei yu zuo","相与为一":"xiāng yǔ wéi yī","相鼠有皮":"xiàng shǔ yǒu pí","相时而动":"xiàng shí ér dòng","相切相磋":"xiāng qiē xiāng cuō","相女配夫":"xiàng nǚ pèi fū","相门有相":"xiàng mén yǒu xiàng","挦章撦句":"lóng zhāng zōng jù","闲愁万种":"xián chóu wàn zhǒng","先我着鞭":"xiān wǒ zhuó biān","习焉不察":"xī yān bù chá","歙漆阿胶":"shè qī ē jiāo","晰毛辨发":"xī máo biàn fà","悉索薄赋":"xī suǒ bó fù","雾鳞云爪":"wù lín yún zhǎo","误作非为":"wù zuò fēi wéi","物稀为贵":"wù xī wéi guì","舞爪张牙":"wǔ zhǎo zhāng yá","碔砆混玉":"zhì fū hùn yù","武断专横":"wǔ duàn zhuān héng","五石六鹢":"wǔ shí liù yī","五色相宣":"wǔ sè xiāng xuān","五侯七贵":"wǔ hòu qī guì","五侯蜡烛":"wǔ hòu là zhú","五羖大夫":"wǔ gǔ dà fū","吾自有处":"wu zi you chu","无与为比":"wú yǔ wéi bǐ","无下箸处":"wú xià zhù chǔ","无適无莫":"wú dí wú mò","无伤无臭":"wú shēng wú xiù","无能为役":"wú néng wéi yì","无寇暴死":"wu kou bào shi","无孔不钻":"wú kǒng bù zuān","无间可伺":"wú jiān kě sì","无间可乘":"wú jiān kě chéng","无间冬夏":"wú jiān dōng xià","无缝天衣":"wú féng tiān yī","无恶不为":"wú è bù wéi","无动为大":"wú dòng wéi dà","无地自处":"wú dì zì chǔ","诬良为盗":"wū liáng wéi dào","握粟出卜":"wò sù chū bo","握拳透爪":"wò quán tòu zhǎo","稳操左券":"wén cāo zuǒ quàn","闻风响应":"wén fēng xiǎng yīng","文武差事":"wén wǔ chà shì","文身剪发":"wén shēn jiǎn fā","文房四侯":"wén fáng sì hòu","温枕扇席":"wēn zhěn shān xí","温席扇枕":"wēn xí shān zhěn","温凊定省":"wēn qǐng dìng shěng","温衾扇枕":"wēn qīn shān zhěn","亹亹不倦":"tān wěi bù juàn","委委佗佗":"wēi wēi tuó tuó","委曲成全":"wěi qǔ chéng quán","尾大难掉":"wěi dà nán diào","惟所欲为":"wéi suǒ yù wéi","惟日为岁":"wéi rì wéi suì","惟利是趋":"wéi lì shì qú","帷薄不修":"wéi bó bù xiū","唯唯否否":"wěi wěi fǒu fǒu","唯所欲为":"wéi suǒ yù wéi","为蛇添足":"wéi shé tiān zú","为善最乐":"wéi shàn zuì lè","为蛇画足":"wéi shé huà zú","为山止篑":"wéi shān zhǐ kuì","为仁不富":"wéi rén bù fù","为裘为箕":"wéi qiú wéi jī","为民父母":"wéi mín fù mǔ","为虺弗摧":"wéi huǐ fú cuī","为好成歉":"wéi hǎo chéng qiàn","为鬼为蜮":"wéi guǐ wéi yù","为法自弊":"wéi fǎ zì bì","为恶不悛":"wéi è bù quān","为德不终":"wéi dé bù zhōng","煨干就湿":"wēi gàn jiù shī","煨干避湿":"wēi gàn bì shī","危于累卵":"wēi yú lěi luǎn","望风响应":"wàng fēng xiǎng yīng","望尘僄声":"wàng chén bù shēng","枉曲直凑":"wǎng qǔ zhí còu","往渚还汀":"wǎng zhǔ huán tīng","王贡弹冠":"wáng gòng dàn guàn","亡魂失魄":"wáng hún shī hún","亡国大夫":"wáng guó dà fū","万载千秋":"wàn zài qiān qiū","万贯家私":"wàn guàn ji sī","万夫不当":"wàn fū bù dāng","万别千差":"wàn bié qiān chā","晚食当肉":"wǎn shí dàng ròu","晚节不保":"wǎn jíe bù bǎo","玩岁愒月":"wán suì yī yuè","玩岁愒时":"wán suì yī shí","玩时愒日":"wán shí ài rì","蛙蟆胜负":"wā má shèng fù","吞言咽理":"tūn yán yān lǐ","颓垣断堑":"tuí yuán duàn piàn","推枯折腐":"tuī kū shé fǔ","推干就湿":"tuī gàn jiù shī","剸繁治剧":"shí fán zhì jù","剸繁决剧":"shí fán jué jù","团头聚面":"tuàn tóu jù miàn","兔走鹘落":"tù zǒu gǔ luò","兔丝燕麦":"tù sī yàn mài","兔头麞脑":"tù tóu suō nǎo","兔葵燕麦":"tù kuí yàn mài","兔角龟毛":"tu jiao gui mao","吐哺握发":"tǔ bǔ wò fà","徒讬空言":"tú tún kōng yán","投传而去":"tóu zhuàn ér qù","头足异处":"tóu zú yì chǔ","头上著头":"tóu shàng zhuó tóu","头没杯案":"tóu mò bēi àn","头昏脑闷":"tóu hūn nǎo mèn","头会箕敛":"tóu kuàn jī liǎn","头会箕赋":"tóu kuài jī fù","头出头没":"tóu chū tóu mò","痛自创艾":"tòng zì chuāng yì","痛深恶绝":"tòng shēn wù jué","同源异派":"tóng yuán yì pai","同心僇力":"tóng xīn jié lì","同工异曲":"tóng gōng yì qǔ","同恶相助":"tóng wù xiāng zhù","同恶相恤":"tóng wù xiāng xù","痌瘝在抱":"tōng guān zào bào","通文调武":"tōng wén diào wǔ","通同一气":"tōng tóng yī yì","铤鹿走险":"dìng lù zǒu xiǎn","停留长智":"tíng liú zhǎng zhì","铁树开华":"tiě shù kāi huā","条贯部分":"tiáo guàn bù fēn","挑牙料唇":"tiǎo yá liào chún","挑么挑六":"tiāo yāo tiāo liù","挑唇料嘴":"tiǎo chún liào zuǐ","靦颜事仇":"tiǎn yán shì chóu","恬不为意":"tián bù wéi yì","恬不为怪":"tián bù wéi guài","天下为笼":"tiān xià wéi lóng","天台路迷":"tiān tái lù mí","天年不遂":"tiān nián bù suì","天宝当年":"tian bao dang nian","桃蹊柳曲":"táo qī liǔ qǔ","堂皇冠冕":"táng huáng guàn miǎn","探囊胠箧":"tàn náng wú qiè","谭言微中":"tán yán wēi zhòng","谈言微中":"tán yán wēi zhòng","贪夫狥财":"tān fū huái cái","泰山盘石":"tai shān pán shí","泰来否往":"tài lái pǐ wǎng","泰来否极":"tai lái fǒu jí","泰极而否":"tài jí ér pǐ","狧穅及米":"shì kǎn jí mǐ","损军折将":"sǔn jūn zhé jiàng","遂心应手":"suì xīn yīng shǒu","遂迷不窹":"suí méi bù wù","岁月不居":"suì yuè bù jú","岁聿其莫":"suì yù qí mù","随物应机":"suí wù yīng jī","随风而靡":"suí fēng ér mǐ","宿雨餐风":"xiǔ yǔ cān fēng","宿水飡风":"xiǔ shuǐ cān fēng","宿水餐风":"xiǔ shuǐ cān fēng","夙兴夜处":"sù xīng yè chǔ","搜岩采干":"sōu yán cǎi gàn","薮中荆曲":"sǒu zhōng jí qǔ","宋斤鲁削":"sòng jīn lǔ xuē","松筠之节":"sōng jūn zhī jié","騃童钝夫":"ái tóng dùn fū","騃女痴男":"ái nǚ chī nán","四亭八当":"sì tíng bā dàng","四马攒蹄":"sì mǎ cuán tí","四不拗六":"sì bù niù liù","斯事体大":"ī shì tǐ dà","思所逐之":"si shuo zhu zi","丝恩发怨":"sī ēn fà yuàn","硕望宿德":"shuò wàng xiǔ dé","铄古切今":"shuò gǔ qiē jīn","顺天应时":"shùn tiān yīng shí","顺风转舵":"shǔn fēng zhuǎn duò","顺风驶船":"shǔn fēng shǐ chuán","顺风使船":"shǔn fēng shǐ chuán","顺风而呼":"shǔn fēng ér hū","顺风吹火":"shǔn fēng chuī huǒ","水中捉月":"shui zhong zhuo yue","水中著盐":"shuǐ zhōng zhuó yán","水宿风餐":"shuǐ xiǔ fēng cān","水米无干":"shuǐ mǐ wú gàn","水长船高":"shuǐ zhǎng chuán gāo","双足重茧":"shuāng zú chóng jiǎn","双柑斗酒":"shuài gān dǒu jiǔ","数米而炊":"shǔ mǐ ér chuī","数往知来":"shǔ wǎng zhī lái","数米量柴":"shǔ mǐ ér chái","数理逻辑":"shù lǐ luó ji","数见不鲜":"shuò jiàn bù xiān","数黄道黑":"shu huang dao hei","数黑论黄":"shǔ hēi lùn huáng","数短论长":"shǔ duǎn lùn cháng","数白论黄":"shǔ bái lùn huáng","束缊还妇":"shù yūn huán fù","束缊举火":"shù yūn jǔ huǒ","束身自好":"shù shēn zì hào","束蒲为脯":"shù pú wéi pú","束带结发":"shù dài jié fā","束椽为柱":"shù chuán wéi zhù","书缺有间":"shū quē yǒu jiàn","瘦骨梭棱":"shòu gǔ léng léng","首足异处":"shǒu zú yì chǔ","手足重茧":"shǒu zú chóng jiǎn","手足异处":"shǒu zú yì chǔ","手脚干净":"shǒu jiǎo gàn jìng","手不应心":"shǒu bù yīng xīn","收因种果":"shōu yīn zhǒng guǒ","螫手解腕":"shì shǒu jǐe wǎn","释知遗形":"shì shì yí xíng","适时应务":"shì shí yīng wù","适如其分":"shì rú qí fèn","适情率意":"shì qíng shuài yì","适居其反":"shì jú qí fǎn","适当其时":"shì dāng qí shí","适当其冲":"shì dāng qí chōng","饰非遂过":"shì fēi suí guò","视为知己":"shì wéi zhī jǐ","视为儿戏":"shì wéi ér xì","视微知著":"shì wēi zhī zhuó","事与心违":"shì yù xīn wéi","使羊将狼":"shǐ yáng jiàng láng","食为民天":"shí wéi mín tiān","食不重味":"shí bù chóng wèi","食不重肉":"shí bù zhóng ròu","拾掇无遗":"shi duo wu yi","拾带重还":"shí dài zhòng huán","实与有力":"shí yù yǒu lì","实偪处此":"shí bèng chǔ cǐ","识微知著":"shí wēi zhī zhuó","时运不齐":"shí yùn bù jì","时亨运泰":"shí hēng yùn tai","石英玻璃":"shí yīng bō li","石室金匮":"shí shì jīn guì","什袭珍藏":"shí xí zhēn cáng","什袭以藏":"shí xí yǐ cáng","什伍东西":"shí wǔ dōng xī","什袭而藏":"shí xī ér cáng","什围伍攻":"shí wéi wǔ gōng","十魔九难":"shí mó jiǔ nàn","十夫楺椎":"shí fū zhī zhuī","十不当一":"shí bù huò yī","诗书发冢":"shī shū fà zhǒng","虱处裈中":"shī chǔ kūn zhōng","师直为壮":"shī zhí wéi zhuàng","失马塞翁":"shī mǎ sài wēng","尸居龙见":"shī jū lóng xiàn","盛水不漏":"chéng shuǐ bù lòu","圣经贤传":"shèng jīng xián zhuàn","圣君贤相":"shèng jīng xián xiàng","生拖死拽":"shēng tuō sǐ zhuāi","审曲面埶":"shěn qǔ miàn xīn","审己度人":"shěn jǐ duó rén","沈博绝丽":"chén bó jué lì","神武挂冠":"shén wǔ guà guàn","神龙失埶":"shén lóng shī zhì","神号鬼哭":"shén háo guǐ kū","神不收舍":"shén bù shōu shě","深文周内":"shēn wén zhōu nà","深文曲折":"shēn wén qǔ shé","深切着明":"shēn qiē zhe míng","深切着白":"shēn qiē zhe bái","深厉浅揭":"shēn lì qiǎn qì","深谷为陵":"shēn gǔ wéi líng","深恶痛疾":"shēn wù tòng jí","深恶痛嫉":"shēn wù tòng jí","深仇宿怨":"shēn chóu xiǔ yuàn","设心处虑":"shè xīn chǔ lǜ","舍近务远":"shě jìn wù yuǎn","舍己为公":"shě jǐ wèi gōng","舍近即远":"shě jìn jí yuǎn","舍短取长":"shě duǎn qǔ cháng","舍策追羊":"shě cè zhuī yáng","蛇蝎为心":"shé xiē wéi xīn","少年老诚":"shǎo nián lǎo chéng","少成若性":"shào chéng ruò xìng","少不经事":"shào bù jīng shì","上当学乖":"shàng dāng xué guāi","赏不当功":"shǎng bù dāng gōng","善自为谋":"shàn zì wéi móu","善为说辞":"shàn wéi shuō cí","善善恶恶":"shàn shàn wù è","善贾而沽":"shàn jià ér gū","善财难舍":"shàn cái nán shě","扇枕温席":"shān zhěn wēn xí","扇枕温被":"shān zhěn wēn chuáng","苫眼铺眉":"shān yǎn pū méi","讪牙闲嗑":"shàn yá xián kē","山峙渊渟":"shān zhì yuān zī","山阴乘兴":"shān yīn chéng xīng","山殽野湋":"shān yāo yě fù","山溜穿石":"shān liù chuān shí","山节藻棁":"shān jié zǎo lì","沙鸥翔集":"sha ou xiang ji","杀衣缩食":"shài yī suō shí","杀鸡为黍":"shā jī wéi shǔ","色厉胆薄":"sè lì dǎn bó","丧胆销魂":"sàng hún xiāo hún","桑荫未移":"sāng yīn wèi yí","桑荫不徙":"sāng yīn bù xǐ","桑土绸缪":"sāng tǔ chóu miù","桑户棬枢":"sāng hù juàn shū","三战三北":"sān zhān sān běi","三占从二":"sān zhān cóng èr","三瓦两舍":"sān wǎ liǎng shě","三人为众":"sān rén wèi zhòng","三差五错":"sān chā wǔ cuò","三差两错":"sān chā liǎng cuò","三不拗六":"sān bù niù liù","塞翁之马":"sài wēng zhī mǎ","塞翁得马":"sài wēng dé mǎ","塞井焚舍":"sāi jǐng fén shě","洒心更始":"sǎ xīn gèng shǐ","洒扫应对":"sǎ sào yìng duì","软红香土":"ruǎn hóng xiāng yù","入孝出弟":"rù xiào chū tì","入吾彀中":"rù wǔ gòu zhōng","入铁主簿":"rù tiě zhǔ bù","入理切情":"rù lǐ qiē qíng","汝成人耶":"nu cheng ren ye","如水投石":"rú shǔ tóu shí","如切如磋":"rú qiē rú cuō","如登春台":"rú dé chūn tái","肉薄骨并":"ròu bó gǔ bìng","柔情绰态":"róu qíng chuō tai","戎马劻勷":"róng mǎ dān xiào","日朘月削":"rì juān yuè xuē","日中为市":"rì zhōng wéi shì","日中必湲":"rì zhōng bì tóng","日月参辰":"rì yuè shēn chén","日省月修":"rì xǐng yuè xiū","日削月割":"rì xuē yuè gē","日削月朘":"rì xuē yuè juān","日省月试":"rì xǐng yuè shì","日省月课":"rì xǐng yuè kè","日不暇给":"rì bù xiá jǐ","认贼为父":"rèn zéi wéi fù","任达不拘":"rèn láo bù jū","认影为头":"rèn yǐng wéi tóu","认贼为子":"rèn zéi wéi zǐ","人足家给":"rén zú jiā jǐ","人言藉藉":"rén yán jí jí","人模狗样":"rén mú gǒu yàng","人莫予毒":"rén mò yú dú","人给家足":"rén jǐ jiā zú","热熬翻饼":"rě áo fān bǐng","染须种齿":"rǎn xū zhǒng chǐ","群居穴处":"qún jū xué chǔ","却老还童":"què lǎo huán tóng","权倾中外":"quán qīng zhōng wai","圈牢养物":"juàn láo yǎng wù","去太去甚":"qù tai qù shèn","取予有节":"qǔ yù yǒu jié","诎要桡腘":"qū yào ráo yù","曲终奏雅":"qǔ zhōng zòu yǎ","曲意迎合":"qǔ yì yíng hé","曲意奉迎":"qǔ yì fèng yíng","曲意承迎":"qǔ yì chéng yíng","曲学阿世":"qǔ xué ā shì","曲突移薪":"qǔ tū yí xīn","曲眉丰颊":"qǔ méi fēng jiá","曲肱而枕":"qǔ gōng ér zhěn","秋实春华":"qiū shí chūn huā","穷形尽相":"qióng xíng jìn xiàng","穷年累世":"qióng nián lěi shì","情凄意切":"qíng qī yì qiē","情见埶竭":"qíng jiàn zhōu jié","情见势屈":"qíng xiàn shì qū","情见力屈":"qíng xiàn lì qū","情见乎辞":"qíng xiàn hū cí","清风劲节":"qīng fēng jìng jié","清都绛阙":"qīng dōu jiàng què","清辞丽曲":"qīng cí lì qǔ","倾肠倒肚":"qīng cháng dào dǔ","轻嘴薄舌":"qīng zuǐ bó shé","轻傜薄赋":"qīng yāo báo fù","轻骑简从":"qīng jì jiǎn cóng","轻财好义":"qīng cái hào yì","轻薄无知":"qīng báo wú zhī","轻才好施":"qīng cái hào shī","轻薄无礼":"qīng báo wú lǐ","青紫被体":"qīng zǐ pī tǐ","青林黑塞":"qīng lín hēi sài","青红皁白":"qīng hóng tóu bái","寝苫枕干":"qǐn shān zhěn gàn","螓首蛾眉":"qín shǒu ér méi","擒奸擿伏":"qín jiān fā fú","琴瑟之好":"qí sè zhī hǎo","挈瓶之知":"qiè píng zhī zhì","且住为佳":"qiě zhù wéi jiā","切树倒根":"qiē shù dǎo gēn","切理餍心":"qiē lǐ yàn xīn","切理厌心":"qiē lǐ yàn xīn","切理会心":"qiē lǐ huì xīn","切近的当":"qiē jìn de dāng","切瑳琢磨":"qiē cùn zhuó mó","翘足引领":"qiáo zú yǐn lǐng","翘足而待":"qiáo zú ér dài","巧发奇中":"qiǎo fā qí zhòng","抢地呼天":"qiāng dì hū tiān","强嘴拗舌":"jiàng zuǐ niù shé","强自取折":"qiáng zì qǔ shé","强直自遂":"qiáng zhí zì suí","强文浉醋":"qiǎng wén jiǎ cù","强文假醋":"qiǎng wén jiǎ cù","强死强活":"qiǎng sǐ qiǎng huó","强死赖活":"qiǎng sǐ lài huó","强食自爱":"qiǎng shí zì ài","强食靡角":"qiǎng shí mí jiǎo","强识博闻":"qiǎng shí bó wén","强弓劲弩":"qiáng gōng jìng nǔ","强聒不舍":"qiǎng guō bù shě","强凫变鹤":"qiǎng fú biàn hè","强而后可":"qiǎng ér hòu kě","强词夺正":"qiǎng cí duó zhèng","强得易贫":"qiǎng dé yì pín","遣兴陶情":"qiǎn xìng táo qíng","遣将调兵":"qiǎn jiāng diào bīng","遣兵调将":"qiǎn bīng diào jiàng","前跋后疐":"qián bá hòu máo","搴旗斩将":"qiān qí zhǎn jiàng","搴旗取将":"qiān qí qǔ jiàng","牵羊担酒":"qiān yáng dàn jiǔ","牵强附合":"qiān qiáng fù hé","千姿万态":"qiān zī wàn tai","千状万态":"qiān zhuàng wàn tai","千载一合":"qiān zài yī hé","千载一弹":"qiān zǎi yī dàn","千态万状":"qiān tai wàn zhuàng","千磨百折":"qiān mó bǎi shé","千了万当":"qiān le wàn dàng","千了百当":"qiān liǎo bǎi dàng","千古绝调":"qiān gǔ jué diào","泣下如雨":"qǐ xià rú yǔ","弃之度外":"qì zhī dù wai","气克斗牛":"qì kè dǒu niú","起偃为竖":"qǐ yǎn wéi shù","岂弟君子":"kǎi tì jūn zǐ","綦溪利跂":"qí xī lì guì","棋输先着":"qí shū xiān zhāo","棋输先著":"qí shū xiān zhuó","奇葩异卉":"qí pā yì hùi","齐王舍牛":"qí wáng shě niú","齐量等观":"qí liàng děng guān","欺天诳地":"qī tiān kuāng dì","栖风宿雨":"qī fēng xiǔ yǔ","妻梅子鹤":"qī mén zǐ hè","妻儿老少":"qī ér lǎo shǎo","普天率土":"pǔ tiān shuài tǔ","铺胸纳地":"pū xiōng nà dì","铺眉苫眼":"pū méi shàn yǎn","铺眉蒙眼":"pū méi méng yǎn","铺锦列绣":"pū jǐn liè xiù","破矩为圆":"pò jǔ wéi yuán","破镜重合":"pò jìng zhòng hé","破家为国":"pò jiā wéi guó","破觚为圜":"pò gū wéi yuán","破愁为笑":"pò chóu wéi xiào","瓶坠簪折":"píng zhùi zān zhé","萍飘蓬转":"píng piāo péng zhuàn","帡天极地":"jú tiān jí dì","屏声息气":"bǐng shēng xī qì","屏气吞声":"píng qì tūn shēng","凭几据杖":"píng jī jù zhàng","娉婷婀娜":"pīng tíng ē nà","品竹调弦":"pǐn zhú diào xián","贫嘴薄舌":"pín zuǐ bó shé","骈肩累足":"pián jiān lěi zú","骈肩累迹":"pián jiān lěi jì","翩翩年少":"piān piān nián shǎo","片语只辞":"piàn yán zhǐ cí","片鳞半爪":"piàn lín bàn zhǎo","片甲不还":"piàn jiǎ bù huán","披发缨冠":"pī fā yīng guàn","披发文身":"pī fà wén shēn","批砉导窾":"pī huā dǎo táo","批隙导窾":"pī xì dǎo yín","批吭捣虚":"pī háng dǎo xū","批风抹月":"pī fēng mò yuè","烹龙炮凤":"pēng lóng páo fèng","炰鳖脍鲤":"fèng biē kuài lǐ","炮凤烹龙":"páo fèng pēng lóng","旁指曲谕":"páng zhǐ qǔ yù","旁引曲证":"páng yǐn qǔ zhèng","旁通曲畅":"páng tōng qǔ chàng","庞眉皓发":"páng méi hào fà","攀花折柳":"pān huā shé liǔ","攀蟾折桂":"pān chán shé guì","女大难留":"nǚ dà nán liú","女长须嫁":"nǚ zhǎng xū jià","女长当嫁":"nǚ zhǎng dāng jià","弄竹弹丝":"nòng zhú dàn sī","弄玉吹箫":"nòng yù chuí xiāo","弄管调弦":"nòng guǎn diào xián","弄粉调朱":"nòng fěn diào zhū","弄兵潢池":"nòng bīng huáng shi","浓装艳抹":"nóng zhuāng yàn mò","浓抹淡妆":"nóng mò dàn zhuāng","扭转干坤":"niǔ zhuǎn gàn kūn","扭直作曲":"niǔ zhí zuò qū","牛骥同皁":"niú jì tóng wěn","宁缺勿滥":"nìng quē wù làn","孽障种子":"niè zhàng zhǒng zǐ","啮血为盟":"niè xuè wéi méng","捻土为香":"niǎn tǔ wéi xiāng","年谊世好":"nián yì shì hào","年华垂暮":"nián huá thuí mù","儗不于伦":"lǐ bù yú lún","泥名失实":"nì míng shī shí","泥而不滓":"niè ér bù zǐ","能者为师":"néng zhě wéi shī","能不称官":"néng bù chèn guān","挠直为曲":"náo zhí wéi qū","囊萤照读":"náng yíng zhào shū","难进易退":"nan jin yi tui","难乎为继":"nán hū wéi jì","难乎为情":"nán hū wéi qíng","难更仆数":"nán gēng pú shǔ","难得糊涂":"nán dé hú tú","南蛮鴂舌":"nán mán xiāng shé","南贩北贾":"nán fàn běi gǔ","内修外攘":"nèi xiū wai rǎng","内柔外刚":"nèi róu wai gāng","内峻外和":"nèi jùn wai hé","拿腔作调":"ná qiāng zuò diào","拿粗夹细":"ná cū jiā xì","慕古薄今":"mù gǔ bó jīn","牧猪奴戏":"mù zhòu nú xì","沐猴衣冠":"mù hóu yī guàn","目眢心忳":"mù yuān xīn wǎng","目挑心招":"mù tiǎo xīn zhāo","目空余子":"mù kōng yú zǐ","目量意营":"mù liàng yì yíng","目瞪舌彊":"mù dèng shé jiàng","木头木脑":"mù tóu mù nǎo","木干鸟栖":"mù gàn niǎo qī","侔色揣称":"móu sè chuǎi chèn","莫知所为":"mò zhī suǒ wéi","莫予毒也":"mò yù dú yě","莫为已甚":"mò wéi yǐ shèn","抹月秕风":"mǒ yuè pī fēng","抹粉施脂":"mò fěn shī zhī","磨砻镌切":"mó lóng juān qiē","磨棱刓角":"mó léng liǎng jiǎo","摸头不着":"mō tóu bù zháo","摸门不着":"mō mén bù zháo","摸不着边":"mō bù zhuó biān","缪种流传":"miù zhǒng liú chuán","命中注定":"mìng zhōng zhù dìng","鸣鹤之应":"míng hè zhī yīng","鸣凤朝阳":"míng fèng zhāo yáng","明效大验":"míng xiào dà yà","名我固当":"ming wo gu dang","灭景追风":"miè yǐng zhuī fēng","邈处欿视":"miǎo chǔ jī shì","面折庭争":"miàn shé tíng zhēng","俛拾地芥":"bì shí dì jiè","俛首帖耳":"mǎ shǒu tiē ěr","黾穴鸲巢":"měng xué qú cháo","绵力薄材":"mián lì bó cái","绵里薄材":"mián lǐ bó cái","靡有孑遗":"mǐ yǒu jié yí","靡衣媮食":"mǐ yī tōu shí","靡衣偷食":"mǐ yī tōu shí","靡然从风":"mǐ rán cóng fēng","靡靡之乐":"mǐ mǐ zhī yuè","迷恋骸骨":"mí liàn hài gǔ","蒙头转向":"mēng tóu zhuàn xiàng","闷海愁山":"mèn hǎi chóu shān","扪参历井":"mén shēn lì jǐng","门单户薄":"mén dān hù bó","昧旦晨兴":"mèi dàn chún xīng","没衷一是":"mò zhōng yī shì","没金饮羽":"mò jīn yǐn yǔ","冒名接脚":"mào míng jiě jiǎo","毛头小子":"máo tóu xiǎo zi","毛遂堕井":"máo suí duò jǐng","毛发耸然":"máo fā sǒng rán","毛发倒竖":"máo fā dǎo shù","毛发不爽":"máo fā bù shuǎng","猫鼠同处":"māo shǔ tóng chǔ","尨眉皓发":"máng méi hào fà","漫天遍地":"màn shān biàn dì","脉脉相通":"mài mài xiāng tōng","卖文为生":"mài wén wéi shēn","卖李钻核":"mài lǐ zuān hé","买椟还珠":"mǎi dú huán zhū","埋天怨地":"mán tiān yuàn dì","埋三怨四":"mán sān yuàn sì","马上房子":"mǎ shàng fáng zi","马入华山":"mǎ rù huá shān","落魄江湖":"luò pò jīng hú","落魄不偶":"luo tuo bu ou","落魄不羁":"luò pò bù jī","落落难合":"luò luò nán hé","落草为寇":"luò cǎo wéi kòu","裸裎袒裼":"luǒ chéng tǎn xī","罗织构陷":"luò zhī gòu xiàn","捋袖揎拳":"luō xiù xuān quán","论黄数黑":"lùn huáng shǔ hēi","乱作胡为":"luàn zuò hú wéi","乱箭攒心":"luàn jiàn cuán xīn","鸾凤和鸣":"luán fèng hè míng","绿叶成荫":"lǜ yè chéng yīn","绿女红男":"lǜ nǚ hóng nán","率由旧章":"shuài yóu jiù zhāng","率由旧则":"shuài yóu jiù zé","率以为常":"shuài yǐ wéi cháng","率土宅心":"shuài tǔ zhái xīn","率土同庆":"shuài tǔ tóng qìng","率兽食人":"shuài shòu shí rén","率土归心":"shuài tǔ guī xīn","率马以骥":"shuài mǎ yǐ jì","率尔成章":"shuài ěr chéng zhāng","履薄临深":"lǚ bó lín shēn","鲁斤燕削":"lǔ jīn yàn xuē","露面抛头":"lù miàn pāo tóu","漏尽更阑":"lòu jìn gēng lán","笼鸟槛猿":"lóng niǎo jiàn yuán","笼鸟池鱼":"lóng niǎo shi yú","龙游曲沼":"long you qu zhao","龙血玄黄":"lóng xuě xuán huáng","龙雕凤咀":"lóng diāo fèng jǔ","龙雏凤种":"lóng chú fèng zhǒng","六神不安":"liù shén bǔ ān","六尺之讬":"liù chǐ zhī quàn","柳巷花街":"liǔ xiòng huā jiē","柳街花巷":"liǔ jiē huā xiòng","柳骨颜筋":"jiǔ gǔ yán jīn","流离颠疐":"liú lí diān shǔ","令原之戚":"líng yuán zhī qī","令人捧腹":"lìng rén pěng fǔ","陵劲淬砺":"líng jìng cuì lì","临难不惧":"lín nàn bù jǔ","临敌易将":"lín dí yì jiàng","裂裳衣疮":"liè sháng yī chuāng","裂裳裹足":"liè cháng guǒ zú","裂冠毁冕":"liè guàn huǐ miǎn","埒才角妙":"liè cái jué miào","了无惧色":"liǎo wū jǔ sè","了身达命":"liǎo shēn dá mìng","了然无闻":"le rán wú wén","了不可见":"liǎo bù kě jiàn","了不长进":"liǎo bù zhǎng jǐn","燎如观火":"liǎo rú guān huǒ","燎发摧枯":"liǎo fà cuī kū","量小力微":"liàng xiǎo lì wēi","量时度力":"liàng shí dù lì","量枘制凿":"liàng ruì zhì záo","量入计出":"liàng rù jì chū","量如江海":"liàng rú jiāng hǎi","量力度德":"liàng lì duó dé","量金买赋":"liàng jīn mǎi fù","量己审分":"liàng jǐ shěn fēn","量材录用":"liàng cái lù yòng","量才器使":"liàng cái qì shǐ","量才而为":"liàng cái ér wéi","梁孟相敬":"liáng mèng xiāng jìn","恋恋难舍":"liàn liàn nán shě","敛声屏息":"liǎn shēng píng xī","敛骨吹魂":"liǎn gǔ chuí hún","联篇累牍":"lián piān lěi dú","连编累牍":"lián biān lěi dú","詈夷为跖":"lì yí wéi zhí","利令志惛":"lì lìng zhì zào","历精为治":"lì jīng wéi zhì","历精更始":"lì jīng gèng shǐ","哩哩罗罗":"li li luō luō","李广不侯":"lǐ guǎng bù hòu","礼为情貌":"lǐ wéi qíng mào","礼让为国":"lǐ ràng wéi guó","礼坏乐崩":"lǐ huài yuè bēng","犁庭扫闾":"lí tíng sǎo lǚ","犁生骍角":"lí shēng yuè jiǎo","犁牛骍角":"lí niú mài jiǎo","离山调虎":"lí shān diào hǔ","离本趣末":"lí běn qū mò","离本徼末":"lí běn yāo mò","楞眉横眼":"lèng méi héng yǎn","擂天倒地":"léi tiān dǎo dì","累足成步":"lěi zú chéng bù","累月经年":"lěi yuè jīng nián","累屋重架":"lěi wū chóng jià","累瓦结绳":"lěi wǎ jié shéng","累土至山":"lěi tǔ zhì shān","累土聚沙":"lěi tǔ jù shā","累苏积块":"lěi sū jī kuài","累卵之危":"lěi luǎn zhī wēi","累累如珠":"lěi lěi rú zhū","累块积苏":"lěi kuài jī sū","累教不改":"lěi jiào bù gǎi","累牍连篇":"lěi dú lián piān","乐山乐水":"yào shān yào shuǐ","潦原浸天":"lǎo yuán jìn tiān","老师宿儒":"lǎo shī xiǔ rú","牢什古子":"láo shí gǔ zi","琅嬛福地":"láng huán fú dì","狼号鬼哭":"láng háo guǐ kū","狼飡虎咽":"láng cān hǔ yān","阑风长雨":"lán fēng zhàng yǔ","拉枯折朽":"lā kū shé xiǔ","揆情度理":"kuí qíng duó lǐ","揆理度情":"kuí lǐ duó qíng","窥间伺隙":"kuī jiàn sì xì","旷日累时":"kuàng rì lěi shí","匡救弥缝":"kuāng jiù mí fèng","枯树生华":"kū shù shēng huā","口轻舌薄":"kǒu qīng shé bó","口角生风":"kǒu jiǎo shēng fēng","口角春风":"kǒu jiǎo chūn fēng","口角风情":"kǒu jiǎo fēng qíng","口干舌焦":"kǒu gàn shé jiāo","口腹之累":"kǒu fù zhī lěi","口出大言":"kǒu chū dā yán","空腹便便":"kōng fù pián pián","嗑牙料嘴":"kē yá liào zuǐ","刻木为吏":"kè mù wéi lì","刻木为鹄":"kè mù wéi hú","咳珠唾玉":"ké zhū tuò yù","咳唾成珠":"ké tuò chéng zhū","抗颜为师":"kàng yán wéi shī","糠豆不赡":"kang dou bu shan","开华结果":"kāi huā jié guǒ","峻阪盐车":"jùn bǎn yún chē","攫为己有":"jué wéi jǐ yǒu","嚼铁咀金":"jiáo tiě jǔ jīn","嚼墨喷纸":"jué mò pēn zhǐ","倔头强脑":"juè tóu jiàng nǎo","倔头倔脑":"juè tou juè nǎo","倦鸟知还":"juàn niǎo zhī huán","卷席而葬":"juǎn xí ér zàng","卷旗息鼓":"juǎn qí xī gǔ","卷甲倍道":"juǎn jiǎ bèi dào","聚米为山":"jù mǐ wéi shān","聚米为谷":"jù mǐ wéi gǔ","锯牙钩爪":"jù yá gōu zhǎo","举手相庆":"jǔ shǒu xiāng qìng","举世混浊":"jǔ shì hún zhuó","鞫为茂草":"jū wéi mào cǎo","鞠为茂草":"jū wéi mào cǎo","拘神遣将":"jū shén qiǎn jiàng","居轴处中":"jū zhóu chǔ zhōng","居下讪上":"jú xià shàn shàng","居不重茵":"jū bù chóng yīn","居不重席":"jū bù chóng xí","旧事重提":"jiù shì zhòng tí","旧调重弹":"jiù diào chóng tán","灸艾分痛":"jiù ài fēn tòng","久要不忘":"jiǔ yāo bù wàng","九转功成":"jiǔ zhuàn gōng chéng","九蒸三熯":"jiǔ zhēng sān shēng","敬业乐群":"jìng yè yào qún","井底虾蟆":"jǐng dǐ xiā má","旌旗卷舒":"jīng qí juǎn shū","惊魂落魄":"jīng hún luò pò","荆棘载途":"jīng jí zài tú","荆棘塞途":"jīng jí sè tú","经纶济世":"jing lun ji shi","禁舍开塞":"jìn shě kāi sāi","祲威盛容":"lóng wēi shèng róng","进种善群":"jìn zhǒng shàn qún","进退中度":"jìn tuì zhòng dù","进退消长":"jìn tuì xiāo cháng","进退应矩":"jìn tuì yīng jǔ","进退触籓":"jìn tuì chù zǔ","进退出处":"jìn tuì chū chǔ","进退跋疐":"jìn tuì bá zǔ","进寸退尺":"jǐn cùn tuì chǐ","尽多尽少":"jǐn duō jǐn shǎo","锦囊还矢":"jǐn náng huán shǐ","矜名嫉能":"jīn míng jì néng","矜己自饰":"jīn jǐ zhì shì","矜功负气":"jīn gōng fǔ qì","津关险塞":"jīn guān xiǎn sài","金吾不禁":"jīn wú bù jìn","金匮石室":"jīn guì shí shì","金翅擘海":"jīn chì bāi hǎi","戒奢宁俭":"jiè shē nìng jiān","解衣衣人":"jiè yī yī rén","解人难得":"jiě rén nán dé","解铃系铃":"jiě líng jì líng","解发佯狂":"jiě fà yáng kuáng","截铁斩钉":"jié tiě zhǎn dìng","诘屈謷牙":"jié qū dà yá","诘屈磝碻":"jié qū bìng zhòu","诘曲聱牙":"jié qǔ áo yá","教一识百":"jiāo yī shí bǎi","教猱升木":"jiāo náo shēng mù","较瘦量肥":"jiào shòu liàng féi","矫矫不群":"jiǎo jiǎo bù qùn","矫国更俗":"jiǎo guó gēng sú","皎阳似火":"jiǎo yáng shì huǒ","挢抂过正":"jiǎo kuāng guò zhèng","角立杰出":"jiao li jie chu","焦沙烂石":"jiāo shā shí làn","焦唇干舌":"jiāo chún gàn shé","骄泰淫泆":"jiāo tai yín zhuàng","骄奢淫泆":"jiāo shē yín yí","骄儿騃女":"jiāo ér bā nǚ","浇风薄俗":"jiāo fēng bó sú","降妖捉怪":"xiáng yāo zhuō guài","将遇良材":"jiàng yù liáng cái","将取固予":"jiāng qǔ gū yǔ","将门有将":"jiàng mén yǒu jiàng","将功折过":"jiāng gōng shé guò","将夺固与":"jiāng duó gū yǔ","将伯之助":"qiāng bó zhī zhù","将伯之呼":"qiāng bó zhī hū","槛花笼鹤":"jiàn huā lóng hè","鉴影度形":"jiàn yǐng duó xíng","渐不可长":"jiàn bù kě zhǎng","剑首一吷":"jiàn shǒu yī guī","见义敢为":"jiàn yì gǎn wéi","见义当为":"jiàn yì dāng wéi","见义必为":"jiàn yì bì wéi","见素抱朴":"xiàn sù bào pǔ","见弃于人":"jiàn qì yǔ rén","见几而作":"jiàn jī ér zuò","见弹求鸮":"jiàn dàn qiú háo","简丝数米":"jiǎn sī shǔ mǐ","俭不中礼":"jiǎn bù zhòng lǐ","间见层出":"jiàn xiàn céng chū","间不容息":"jiàn bù róng xī","间不容瞚":"jiān bù róng xǐ","尖嘴薄舌":"jiān zuǐ bó shé","假洋鬼子":"jiǎ yáng guǐ zi","甲冠天下":"jiǎ guàn tiān xià","葭莩之亲":"jiā fú zhī qīn","家无担石":"jiā wú dàn shí","家累千金":"jiā lèi qiān jīn","家给人足":"jiā jǐ rén zú","家给民足":"jiā jǐ mín zú","家道从容":"jiā dào cōng róng","家长礼短":"jiā cháng lǐ duǎn","夹枪带棍":"jiā qiāng dài gùn","夹袋人物":"jiā dài rén wù","霁风朗月":"jī fēng lǎng yuè","寄兴寓情":"jì xìng yù qíng","纪纲人论":"jì gāng rén lún","计深虑远":"jì shēng lǜ yuǎn","计功量罪":"jì gōng liàng zuì","掎裳连襼":"jǐ shang lián zhēng","虮虱相吊":"jǐ shī xiēng diào","几不欲生":"jī bù yù shēng","集腋为裘":"jí yè wéi qiú","疾不可为":"jí bù kě wéi","急脉缓灸":"jí mài huǎn jiù","急景凋年":"jí yǐng diāo nián","急公好施":"jí gōng hào shī","极深研几":"jí shēn yán jī","及宾有鱼":"jí bīn yoǔ yú","激薄停浇":"jī bó tíng jiāo","稽古揆今":"jī gǔ zhèn jīn","赍志而没":"jī zhì ér mò","积铢累寸":"jī zhū lěi cùn","积岁累月":"jī suì lěi yuè","积素累旧":"jī sù lěi jiù","积时累日":"jī shí lěi rì","积日累岁":"jī rì lěi suì","积日累月":"jī rì lěi yuè","积日累久":"jī rì lěi jiǔ","积年累岁":"jī nián lěi suì","积露为波":"jī lù wéi bō","积德累仁":"jī dé lěi rén","积德累善":"jī dé lěi shàn","积德累功":"jī dé lěi gōng","积谗糜骨":"jī chán méi gǔ","鸡皮鹤发":"jī pí hè fà","饥寒交切":"jī hán jiāo qiē","饥冻交切":"jī dòng jiāo qiē","击排冒没":"jī pái mào mò","祸为福先":"huò wéi fú xiān","祸福相依":"huò fú xiāng yī","祸福相生":"huò fú xiāng shēng","获隽公车":"huò jūn gōng chē","货而不售":"huo er bu shou","火耕流种":"huǒ gēng liú zhǒng","混应滥应":"hùn yīng làn yīng","魂飞魄丧":"hún fēi pò sāng","魂不着体":"hún bù zhuó tǐ","魂不著体":"hún bù zhuó tǐ","浑抡吞枣":"hún lún tūn zǎo","昏迷不省":"hūn mí bù xǐng","昏镜重磨":"hūn jìng chóng mó","昏镜重明":"hūn jìng chóng míng","昏定晨省":"hūn dìng chén xǐng","毁舟为杕":"huǐ zhōu wéi duò","毁钟为铎":"huǐ zhōng wéi duó","毁冠裂裳":"huǐ guān liè cháng","晦盲否塞":"huì máng pǐ sè","诲人不惓":"huì rén bù tiě","悔过自责":"huǐ guò zì zè","回船转舵":"huí chuán zhǎn duò","潢池盗弄":"huáng shi dào nòng","黄冠野服":"huáng guàn yě fú","黄冠草履":"huáng guàn cǎo lǚ","黄冠草服":"huáng guàn cǎo fú","黄发儿齿":"huáng fà ér chǐ","黄发垂髫":"huáng fà chuí tiáo","还珠合浦":"huán zhū hé pǔ","还珠返璧":"huán zhū fǎn bì","还元返本":"huán yuán fǎn běn","还朴反古":"huán pǔ fǎn gǔ","还年驻色":"huán nián zhù sè","还年却老":"huán nián què lǎo","还年卻老":"huán nián què lǎo","还醇返朴":"huán chún fǎn pǔ","还淳返朴":"huán chún fǎn pǔ","还淳反素":"huán chún fǎn sù","还淳反朴":"huán chún fǎn pǔ","还淳反古":"huán chún fǎn gǔ","坏裳为裤":"huài shang wéi kù","槐南一梦":"huái nán yī mēng","画蛇著足":"huà shé zhuó zú","画地为狱":"huà dì wéi yù","画荻和丸":"huà dí huò wán","化枭为鸠":"huà xiāo wéi jiū","化零为整":"huà líng wéi zhěng","化腐为奇":"huà fǔ wéi qí","化鸱为凤":"huà chī wéi fèng","华亭鹤唳":"huà tíng hè lì","花攒锦聚":"huā cuán jǐn jù","花攒锦簇":"huā cuán jǐn cù","花簇锦攒":"huā cù jǐn cuán","花不棱登":"huā bù lēng dēng","户限为穿":"hù xiàn wéi chuān","胡作乱为":"hú zuò luàn wéi","胡作胡为":"hú zuò hú wéi","胡思乱量":"hú sī luàn liàng","呼天吁地":"hū tiān yù dì","呼卢喝雉":"hū lú hè zhì","呼来喝去":"hū lái hè qù","呼不给吸":"hū bù jǐ xī","厚味腊毒":"hòu wèi xī dú","厚今薄古":"hòu jīn bó gǔ","厚德载物":"hòu dé zài wù","鸿泥雪爪":"hóng ní xuě zhǎo","鸿渐于干":"hóng jiàn yú gàn","鸿飞雪爪":"hóng fēi xuě zhǎo","洪炉燎发":"hóng lú liáo fà","红绳系足":"hóng shéng jì zú","红不棱登":"hóng bù lēng dēng","衡石量书":"héng shí liàng shū","横征苛役":"hèng zhēng kē yì","横征苛敛":"hèng zhēng kē liǎn","横征暴赋":"hèng zhēng bào fù","横灾飞祸":"hèng zāi fēi huò","横殃飞祸":"hèng yāng fēi huò","横无忌惮":"hèng wú jì dàn","横拖倒拽":"héng tuō dào zhuāi","横抢硬夺":"hèng qiǎng yìng duó","横抢武夺":"hèng qiǎng wǔ duó","横科暴敛":"hèng kē bào liǎn","横恩滥赏":"hèng ēn làn shǎng","恨海难填":"hèn hǎi nán tián","黑更半夜":"hēi gēng bàn yè","鹤发松姿":"hè fà sōng zī","鹤发鸡皮":"hè fà jī pí","鹤处鸡群":"hè chǔ jī qún","涸思干虑":"hé sī qián lǜ","河涸海干":"hé hé hǎi qián","和颜说色":"hé yán yuè sè","何所不为":"hé suǒ bù wéi","合浦还珠":"hé pǔ huán zhū","合两为一":"hé liǎng wéi yī","合从连衡":"hé zòng lián héng","浩浩汤汤":"hào hào shāng shāng","号咷大哭":"háo táo dà kū","号寒啼饥":"háo hán tí jī","好勇斗狠":"hào yǒng dòu hěn","好佚恶劳":"hǎo yì wù láo","好问则裕":"hào wèn zé yù","好为事端":"hào wéi shì duān","好问决疑":"hào wèn jué yí","好生之德":"hào shēng zhī dé","好善乐施":"hào shàn lè shī","好善恶恶":"hǎo shàn wù è","好骑者堕":"hào qí zhě duò","好奇尚异":"hǎo qí shàng yì","好谋善断":"hào móu shàn duàn","好恶不同":"hǎo è bù tóng","好丹非素":"hào dān fēi sù","豪干暴取":"háo gàn bào qǔ","毫发不爽":"háo fà bù shuǎng","寒酸落魄":"hán suān luò pò","邯郸重步":"hán dān zhóng bù","含英咀华":"hán yīng jǔ huá","含商咀征":"hán shāng jǔ zhēng","含菁咀华":"hán jīng jǔ huá","含糊不明":"hán hú bù míng","含垢藏疾":"hán gǒu cáng jí","含宫咀征":"hán gōng jǔ zhēng","过隙白驹":"guò xī bái jū","过为已甚":"guò wéi yǐ shèn","桂折一枝":"guì shé yī zhī","桂折兰摧":"guì shé lán cuī","规重矩叠":"guī chóng jǔ dié","规旋矩折":"guī xuán jǔ shé","广文先生":"guǎng wén xiān sheng","广譬曲谕":"guǎng pì qǔ yù","广陵散绝":"guǎng líng sǎn jué","冠山戴粒":"guàn shān dài lì","冠绝一时":"guàn jué yī shí","冠屦倒施":"guàn jù dǎo shī","官官相为":"guān guān xiāng wéi","关情脉脉":"guān qíng mài mài","挂席为门":"guà xí wéi mén","寡见鲜闻":"guǎ jiàn xiǎn wén","瓜葛相连":"guā gě xiāng lián","顾曲周郎":"gù qǔ zhōu láng","顾景惭形":"gù yǐng cán xíng","故态复还":"gù tài fù huán","鼓吻奋爪":"gǔ wěn fèn zhǎo","鼓唇咋舌":"gǔ chún zǎ shé","古调单弹":"gǔ diào dān tán","古调不弹":"gǔ diào bù tán","沽名干誉":"gū míng gàn yù","孤独矜寡":"gū dú guān guǎ","姑射神人":"gū yè shén rén","苟合取容":"gǒu hé qǔ ān","狗续侯冠":"gǒu xù hòu guàn","钩爪锯牙":"gōu zhǎo jù yá","共枝别干":"gòng zhī bié gàn","共为唇齿":"gòng wéi chún chǐ","拱手而降":"gǒng shòu ér xiáng","拱肩缩背":"gǒng jān suō bèi","功薄蝉翼":"gōng bó chán yì","弓调马服":"gōng diào mǎ fú","更姓改物":"gēng xìng gǎi wù","更弦易辙":"gēng xián yì zhé","更弦改辙":"gēng xián gǎi zhé","更仆难终":"gēng pú nán zhōng","更仆难数":"gēng pú nán shǔ","更难仆数":"gēng nán pú shù","更令明号":"gēng lìng míng hào","更阑人静":"gēng lán rén jǐng","更待干罢":"gèng dài gàn bà","更唱叠和":"gēng chàng dié hé","更唱迭和":"gēng chàng dié hé","更长梦短":"gēng cháng mèng duǎn","亘古奇闻":"gèn gǔ qī wén","根生土长":"gēn shēn tǔ zhǎng","各色名样":"gè sè gè yàng","格格不纳":"gē gē bù nà","格格不吐":"gē gē bù tǔ","歌莺舞燕":"gē yíng wǔ yàn","告朔饩羊":"gù shuò xì yáng","告老还家":"gào lǎo huán jiā","膏唇岐舌":"gào chún qí shé","膏唇贩舌":"gào chún fàn shé","膏车秣马":"gào chē mò mǎ","高义薄云":"gāo yì bó yún","高风劲节":"gāo fēng jìng jié","岗头泽底":"gāng tóu zé dǐ","敢为敢做":"gǎn wéi gǎn zuò","竿头日上":"gān tóu rí shàng","甘分随时":"gān fèn suí shí","甘处下流":"gān chǔ xià liú","干霄蔽日":"gàn xiāo bì rì","干啼湿哭":"gàn tí shī kū","干名犯义":"gàn míng fàn yì","干将莫邪":"gān jiàng mò yé","干端坤倪":"gàn duān kūn ní","干城之将":"gān chéng zhī jiàng","改张易调":"gǎi zhāng yì diào","改弦易调":"gǎi xián yì diào","改曲易调":"gǎi qǔ yì diào","改恶为善":"gǎi è wéi shàn","腹载五车":"fù zài wǔ chē","富国彊兵":"fù guó jiāng bīng","父债子还":"fù zhài zǐ huán","父为子隐":"fù wéi zǐ yǐn","辅世长民":"fǔ shì zhǎng mín","拊背搤吭":"fǔ bèi hè kēng","福为祸先":"fú wéi huò xiān","福为祸始":"fú wéi huò shǐ","符号逻辑":"fú hào luó ji","浮收勒折":"fú shōu lè shé","伏虎降龙":"fú hǔ xiáng lóng","肤受之愬":"fū shòu zhī xiāng","肤皮潦草":"fū pǐ liǎo cǎo","肤见謭识":"fū jiàn guǎng shí","否终则泰":"pǐ zhōng zé tài","否终复泰":"pǐ zhōng fù tài","否往泰来":"pǐ wǎng tài lái","否去泰来":"pǐ qù tài lái","否极阳回":"pǐ jí yáng huí","否极泰回":"pǐ jí tài huí","佛头著粪":"fó tóu zhuó fèn","奉为楷模":"fèng wéi kǎi mó","凤鸣朝阳":"fèng míng zhāo yáng","凤靡鸾吪":"fèng mǐ luán é","逢场作乐":"féng chǎng zuò lè","蜂攒蚁聚":"fēng cuán yǐ jù","蜂攒蚁集":"fēng cuán yǐ jí","蜂腰削背":"fēng yāo xuē bèi","蜂扇蚁聚":"fēng shān yǐ jù","封豨修蛇":"fēng xī yǒu shé","风影敷衍":"fēng yǐng fū yān","风驰云卷":"fēng chí yún juǎn","风驰电卷":"fēng chí diàn juǎn","风驰草靡":"fēng chí cǎo mǐ","丰屋蔀家":"fēng wū zhī jiā","粪土不如":"fèn tú bù rú","分风劈流":"fēn fēng pǐ liú","沸沸汤汤":"fèi fèi shāng shāng","匪伊朝夕":"fěi yí zhāo xī","菲食薄衣":"fěi shí bó yī","飞沙走砾":"fēi shē zǒu lì","飞将数奇":"fē jiàng shù jī","飞鸿雪爪":"fēi hóng xuě zhǎo","放辟邪侈":"fàng pì xié chǐ","方领圆冠":"fāng lǐng yuán guàn","方寸万重":"fāng cùn wàn chóng","贩夫皁隶":"fàn fū yě lì","泛应曲当":"fàn yīng qǔ dāng","犯而不校":"fàn ér bù jiào","返朴还真":"fǎn pǔ huán zhēn","返本还源":"fǎn běn huán yuán","返本还元":"fǎn běn huán yuán","反老还童":"fǎn lǎo huán tóng","反劳为逸":"fǎn láo wéi yì","翻黄倒皁":"fān huáng dǎo yí","翻肠倒肚":"fān cháng dǎo dǔ","法轮常转":"fǎ lún cháng zhuàn","罚不当罪":"fá bù dāng zuì","发植穿冠":"fà zhí chuān guān","发踊冲冠":"fà yǒng chōng guān","发引千钧":"fà yǐn qiān jūn","发上指冠":"fā shàng zhǐ guàn","发上冲冠":"fā shàng chōng guàn","发怒穿冠":"fà nù chuān guān","发怒冲冠":"fā nù chōng guàn","发蒙解缚":"fā méng jiě fu","发奸擿伏":"fā jiān tì fú","发短心长":"fà duǎn xīn cháng","二竖为虐":"èr shù wéi nüè","耳目闭塞":"ěr mù bì sāi","儿女心肠":"ér nǘ xīn cháng","儿女亲家":"ér nǚ qìng jiā","恩不放债":"ēn bù fàng zhai","遏恶扬善":"è è yán shàn","饿殍枕藉":"è piǎo zhěn jí","饿殍载道":"è piǎo zài dào","恶紫夺朱":"wù zǐ duó zhū","恶醉强酒":"wù zuì qiǎng jiǔ","恶意中伤":"è yì zhòng shāng","恶湿居下":"wù shī jū xià","恶居下流":"wù jū xià liú","恶恶从短":"wù wù cóng duǎn","恶不去善":"wù bù qù shàn","扼吭拊背":"è gāng fǔ bèi","扼吭夺食":"è gāng duó shí","扼襟控咽":"è jīn kòng yān","额手相庆":"é shǒu xiāng qìng","峨峨汤汤":"é é shāng shāng","屙金溺银":"ē jīn niào yín","朵颐大嚼":"duǒ yī dà jiáo","夺人所好":"duó rén suǒ hào","多言数穷":"duō yán shuò qióng","多文为富":"duō wén wéi fù","多钱善贾":"duō qián shàn gǔ","多端寡要":"duō duān guǎi yào","多财善贾":"duō cái shàn gǔ","遁逸无闷":"dùn yì wú mèn","遁俗无闷":"dùn sú wú mèn","遁世无闷":"dùn shì wú mèn","遁迹黄冠":"dùn jì huáng guàn","顿学累功":"dùn xué lěi gōng","对薄公堂":"duì bù gōng táng","堆案盈几":"duī àn yíng jī","断还归宗":"duàn huán guī zōng","断发文身":"duàn fà wén shēn","断长续短":"duàn chāng xù duǎn","断长补短":"duàn chāng bǔ duǎn","短见薄识":"duǎn jiàn bó shí","蠹居棋处":"dù jū qí chǔ","蠹居棊处":"dù jū què chǔ","度己以绳":"duó jǐ yǐ shéng","杜默为诗":"dù mò wéi shī","杜鹃啼血":"dù juān tí xuě","笃志好学":"dǔ zhì hǎo xué","笃近举远":"dǔ jìn jǔ juǎn","独有千秋":"dú yòu qiān qiū","读书得间":"dú shū dé jiàn","斗转参横":"dǒu zhuǎn shēn héng","兜肚连肠":"dōu dǔ lián cháng","洞见症结":"dòng jiàn zhèng jié","栋折榱坏":"dòng shé cuī huài","恫疑虚猲":"dòng yí xū gé","恫疑虚喝":"dòng yí xū hè","动中窾要":"dòng zhōng zhe yào","东抹西涂":"dōng mò xī tú","东鸣西应":"dōng míng xī yīng","东鳞西爪":"dōng lín xī zhǎo","东量西折":"dōng liàng xī shé","东家西舍":"dōng jiā xī shě","东观西望":"dōng guāng xī wàng","东方将白":"dong fang jiang bai","东扯西拽":"dōng chě xī zhuāi","丢魂丧胆":"diu1 hún sàng dǎn","鼎折餗覆":"dǐng shé sù fù","鼎折覆餗":"dǐng shé fù sù","鼎鼐调和":"dǐng nai tiáo hé","鼎铛有耳":"dǐng chēng yǒu ěr","鼎铛玉石":"dǐng chēng yù shí","钉头磷磷":"ding tou lin lin","叠矩重规":"dié jǔ chóng guī","迭矩重规":"dié jǔ chóng guī","跌宕不羁":"dié dàng bù jī","跌弹斑鸠":"diē dàn bān jiū","调嘴调舌":"tiáo zuǐ diào shé","调弦品竹":"diào xián pǐn zhú","吊尔郎当":"diào er láng dāng","雕心雁爪":"diāo xīn yàn zhǎo","雕虫薄技":"diāo chóng báo jì","刁钻促搯":"diāo zuàn cù chāo","点指划脚":"diǎn zhǐ jí jiǎo","点石为金":"diǎn shí wéi jīn","点手划脚":"diǎn shǒu jí jiǎo","颠乾倒坤":"diān qiān dǎo kūn","颠来簸去":"diān lái bǒ qù","颠倒衣裳":"diān dǎo yī cháng","颠倒干坤":"diān dǎo gàn kūn","掂斤抹两":"diān jīn mò liǎng","低唱浅酌":"dì chàng qiǎn zhuó","低唱浅斟":"dì chàng qiǎn zhēn","登台拜将":"dēng tái bài jiàng","灯尽油干":"dēng jìn yóu gàn","灯蛾扑火":"dé é pū huǒ","的一确二":"dí yī què èr","德薄能鲜":"dé bó néng xiǎn","得手应心":"dé shǒu yīng xīn","得马折足":"dé mǎ shé zú","得薄能鲜":"dé bó néng xiān","道远日暮":"dào yuàn rì mù","蹈其覆辙":"dǎo qì fù zhé","捣虚撇抗":"dǎo xū piē kàng","倒载干戈":"dào zài gān gē","倒因为果":"dǎo yīn wéi guǒ","倒裳索领":"dào cháng suǒ lǐng","倒果为因":"dào guǒ wéi yīn","叨在知己":"tāo zài zhī jǐ","叨陪末座":"tāo péi mò zuò","党豺为虐":"dǎng chái wéi nüè","当轴处中":"dāng zhóu chǔ zhōng","当着不着":"dāng zhuó bù zhuó","当务始终":"dang wu shi zhong","淡妆轻抹":"dàn zhuāng qīng mò","淡汝浓抹":"dàn zhuāng nóng mǒ","弹雨枪林":"dàn yǔ qiāng lín","弹丸脱手":"tán wán tuō shǒu","弹铗无鱼":"dàn jiá wú yú","胆大心粗":"dǎn dā xīn cū","箪食瓢饮":"dān sì piáo yǐn","箪食壶酒":"dān sì hú jiǔ","大喜若狂":"dā xǐ ruò kuáng","大璞不完":"tài bú bù wán","大明法度":"dà jíng fǎ dù","大处着墨":"dà chù zhuó mò","大车以载":"dà chē yǐ zài","打闷葫芦":"dǎ mèn hú lu","打家截舍":"dǎ jiā jié shě","沓来踵至":"tǎ lái zhǒng zhì","沓来麕至":"tà lái yǒu zhì","厝火燎原":"cuò huǒ liǎo yuán","撮土焚香":"cuō gǔ fén xiāng","撮科打哄":"cuō kē dǎ hòng","寸积铢累":"cùn jī zhū lěi","啛啛喳喳":"cuì cuì chā chā","榱栋崩折":"cuī dòng bēng shé","榱崩栋折":"cuī bēng dòng shé","摧折豪强":"cuī zhé háo qiáng","摧刚为柔":"cuī gāng wéi róu","从俗就简":"cóng sú jiù jiǎ","此呼彼应":"cǐ hū bǐ yīng","此发彼应":"cǐ fā bǐ yīng","此动彼应":"cǐ dòng bǐ yīng","此唱彼和":"cǐ chàng bǐ hè","慈悲为本":"cí bēi wéi běn","纯属骗局":"chún shú piàn jú","春笋怒发":"chūn sǔn mù fā","春风一度":"chūn fēng yī dù","春风风人":"chūn fēng fèng rén","垂头搨翼":"chuí tóu dá yì","吹竹弹丝":"chuí zhú dàn sī","传为笑谈":"chuán wéi xiào tán","传为笑柄":"chuán wéi xiào bǐng","传风扇火":"chuán fēng shān huǒ","传风搧火":"chuán fēng yǒu huǒ","穿红着绿":"chuān hóng zhuó lǜ","川渟岳峙":"chuān tīng yuè zhì","啜英咀华":"chuò yīng jǔ huá","揣时度力":"chuǎi shí duó lì","触处机来":"chù chǔ jī lái","处尊居显":"chǔ zūn jū xiǎn","处堂燕鹊":"chǔ táng yàn què","处堂燕雀":"chǔ táng yàn què","处实效功":"chǔ shí xiào gōng","处高临深":"chǔ gāo lín shēn","出入无间":"chū rù wú jiān","出奇划策":"chū qí huá cè","出门应辙":"chū mén yīng zhé","出处语默":"chū chǔ yǔ mò","出处殊途":"chū chǔ shū tú","出处殊涂":"chū chǔ shū tú","出处进退":"chū chǔ jìn tuì","愁山闷海":"chóu shān mèn hǎi","愁红惨绿":"chóu hóng cǎn lü","冲冠眦裂":"chōng guàn zì liè","冲冠怒发":"chōng guàn nù fà","冲冠发怒":"chōng guàn fā nù","赤绳系足":"chì shéng jì zú","耻与哙伍":"chǐ yú kuài wǔ","齿牙为祸":"chǐ yá wéi huò","尺二冤家":"chǐ èr yuān jia","尺短寸长":"chǐ duǎn cù cháng","尺寸之功":"chǐ cù zhī gōng","吃着不尽":"chī zhuó bù jìn","乘肥衣轻":"chéng féi yì qīng","城北徐公":"chéng běi xǘ gōng","成一家言":"chěng yī jiān yán","成败兴废":"chéng bài xīng fèi","趁水和泥":"chèn shuǐ huò ní","趁哄打劫":"chèn hōng dǎ jié","称雨道晴":"chēng yǔ dào aíng","称体载衣":"chèn tǐ cái yī","称体裁衣":"chèn tǐ cái yī","称家有无":"chèn jiā yǒu wú","称德度功":"chēng dé duó gōng","沉吟章句":"chén yīn zhāng jù","沉吟不决":"chén yīn bù jué","沉谋重虑":"chén móu chóng lǜ","沉疴宿疾":"chén kē sù jì","嗔目切齿":"chēn mù qiē chǐ","扯纤拉烟":"chě qiàn lā yān","扯顺风旗":"chě shǔn fēng qí","车载船装":"chē zǎi chuán zhuāng","车尘马迹":"chē zhén mǎ jì","朝种暮获":"zhāo zhǒng mù hù","朝折暮折":"zhāo shé mù shé","朝阳鸣凤":"zhāo yáng míng fèng","朝升暮合":"zhāo shēng mù gě","朝乾夕愓":"zhāo qián xī dàng","朝前夕惕":"zhāo qiáng xī tì","朝攀暮折":"zhāo pān mù shé","朝成暮徧":"cháo chéng mù shí","巢居穴处":"cháo jū xué chǔ","超今冠古":"chāo jīn guàn gǔ","倡条冶叶":"chāng tiáo yě yè","倡而不和":"chàng ér bù hè","畅所欲为":"chàng suǒ yù wéi","苌弘碧血":"cháng hóng bì xuě","长幼尊卑":"zhǎng yòu zūn bēi","长幼有叙":"zhǎng yòu yǒu xù","长绳系日":"cháng shéng jì rì","长篇累牍":"cháng piān lěi dú","长年三老":"zhǎng nián sān lǎo","长虺成蛇":"zhǎng huǐ chéng shé","长恶靡悛":"cháng è mǐ quān","长春不老":"cháng chún bù lǎo","长傲饰非":"zhǎng ào shì fēi","昌亭旅食":"cháng tíng lǚ shí","谄上抑下":"chǎn shàng yi xià","禅絮沾泥":"chán xū zhān ní","差三错四":"chā sān cuò sì","层台累榭":"céng tái lěi xiè","层见迭出":"céng chū dié jiàn","草率将事":"cǎo lǜ jiāng shì","操奇逐赢":"cāo qì zhù yíng","操戈同室":"cāo gē tóon shì","藏踪蹑迹":"cáng zōng niè jī","苍蝇见血":"cāng yíng jiàn xuě","惨绿愁红":"cǎn lü chóu hóng","餐松啖柏":"cān sōng dàn biǎ","餐风宿草":"cān fēng sù xuě","骖风驷霞":"cēn fēng sì xiá","参伍错综":"cēn wǔ cuò zōng","参横斗转":"shēn héng dǒu zhuǎn","参回斗转":"shēn huí dǒu zhuǎn","参辰卯酉":"shēn chén mǎo yǒu","参辰日月":"shēn chén rì yuè","材优干济":"cái yōu gàn jǐ","材轻德薄":"cái qīng dé bó","材大难用":"cái dà nán yòng","材薄质衰":"cái bó zhì shuāi","才占八斗":"cái zhān bā dǒu","才疏德薄":"cái shū dé bó","才轻德薄":"cái qīng dé bó","才大难用":"cái dà nán yòng","才薄智浅":"cāi bó zhì qiǎn","擦拳抹掌":"cā quán mò zhǎng","不足为意":"bù zú wéi yì","不足为据":"bù zú wéi jù","不足为法":"bù zú wéi fǎ","不足齿数":"bù zú chǐ shǔ","不着疼热":"bù zhuó téng rè","不知薡蕫":"bù zhī dīng dǒng","不越雷池":"bù yuè léi shi","不亦善夫":"bù yi shàn fū","不相为谋":"bù xiāng wéi móu","不贪为宝":"bù tān wé bǎo","不随以止":"bu shui yi zi","不奈之何":"bù nai zhī hé","不露锋铓":"bù lù fēng huì","不了而了":"bù liǎo ér liǎo","不可胜举":"bù kě shèng jù","不可奈何":"bù kě mài hé","不可揆度":"bù kě kuí duó","不绝如发":"bù jué rú fà","不揪不睬":"bù chǒu bù cǎi","不间不界":"bù gān bù gà","不遑启处":"bù huáng qǐ chǔ","不遑宁处":"bù huáng níng chǔ","不根之谈":"bù gān zhī tán","不分青白":"bù fēn qīng béi","不当不正":"bù dāng bù zhèng","不差什么":"bù chà shí mǒ","不差上下":"bù chā shàng xià","不差累黍":"bù chā lěi shǔ","不差毫厘":"bù chā háo lí","不差毫发":"bù chā háo fà","不辟斧钺":"bù bì fǔ yuè","不拔一毛":"bù bá yì máo","餔糟啜漓":"bǔ zāo chuò lí","擘两分星":"bó liǎng fēn xīng","簸土扬沙":"bǒ tǔ yáng shā","薄物细故":"bó wù xì gù","薄情无义":"báo qíng wú yì","薄寒中人":"bó hán zhòng rén","博文约礼":"bó wén yuè lǐ","伯乐一顾":"bō lè yī gù","播糠眯目":"bō kāng mǐ mù","播穅眯目":"bō kāng mǐ mù","剥皮抽筋":"bō pí chōu jīn","剥肤椎髓":"bō fū chuí suǐ","波属云委":"bō zhǔ yún wěi","波骇云属":"bō hài yún zhǔ","拨乱为治":"bō luàn wéi zhì","病入骨隨":"bìng rù gǔ suǐ","并赃拿贼":"bìng zhuō ná zéi","并为一谈":"bìng wéi yī tán","丙种射线":"bǐng zhǒng shè xiàn","兵未血刃":"bīng wèi xuě rèn","兵微将寡":"bīng wēi jiàng guǎ","兵强将勇":"bīng qiáng àng yǒng","兵多将广":"bīng duō jiàng guǎng","兵不由将":"bīng bù yóu jiàng","冰解的破":"bīng jiě dì pò","彬彬济济":"bīn bīn jǐ jǐ","别类分门":"bié lèi fān mén","别开一格":"bié kāi yí gé","别鹤离鸾":"bié hè lí láun","别创一格":"bié chuàng yí gé","摽梅之年":"biào mén zhī nián","表里为奸":"biǎo lǐ wéi jiān","飙发电举":"biāo fā diàn jù","变贪厉薄":"biǎn tān lì bó","变危为安":"biàn wēi wéi ān","变幻不测":"biàn huà bù cè","变风改俗":"biàn fēng yì sú","鞭约近里":"biān yuē jīn lǐ","鞭擗向里":"biān bì xiàng lǐ","鞭擗进里":"bīan pì jìn lǐ","鞭辟着里":"biān bì zhuó lǐ","鞭辟向里":"biān bì xiàng lǐ","避难趋易":"bì nán qiù yì","蔽明塞聪":"bì míng sè cōng","蔽聪塞明":"bì cōng sè míng","敝帷不弃":"bǐ wéi bù qì","敝盖不弃":"bǐ gài bù qì","闭目塞耳":"bì mù sè ěr","闭明塞聪":"bì míng sè cōng","闭门思愆":"bì gé sī qiān","闭门扫迹":"bì kǒu sǎo guǐ","闭门塞户":"bì kǒu sè hù","闭门塞窦":"bì kǒu sè dòu","闭门合辙":"bì kǒu hé shé","闭合自责":"bì gé zì zé","闭合思过":"bì gé sī guò","秕言谬说":"bǐ yán miù shuò","彼唱此和":"bǐ chàng cǐ hè","彼倡此和":"bǐ chàng cǐ hè","比物属事":"bǐ wù zhǔ shì","比量齐观":"bǐ liàng qí guān","本枝百世":"běn zhī bǒi shì","被山带河":"pī shān dài hé","被甲执兵":"pī jiǎ zhí bīng","被甲枕戈":"pī jiǎ zhěn gē","被甲据鞍":"pī jiǎ jù ān","被甲持兵":"pī jiǎ chí bīng","被褐怀珠":"pī hè huái zhū","被褐怀玉":"pī hè huái yù","被发缨冠":"pī fà yīng guàn","被发文身":"pī fà wén shēn","背义忘恩":"bèi yù wàng ēn","背义负信":"bèi yù fù xìn","背义负恩":"bèi yù fù ēn","背曲腰弯":"bèi qǔ yāo wān","背曲腰躬":"bèi qǔ yāo gōng","北门管钥":"běi mén guǎn yuè","北窗高卧":"bēi chuāng gāo wò","北辰星拱":"bēi chén xīng gǒng","北鄙之音":"bēi bǐ zhī yīn","北鄙之声":"bēi bǐ zhī shēng","悲声载道":"bēi shēng zài dào","卑宫菲食":"bēi gōng fěi shí","暴衣露冠":"pù yī lù guàn","暴衣露盖":"pù yī lù gài","暴腮龙门":"pù sāi lóng mén","暴露文学":"bào lòu wén xué","暴虎冯河":"bào hǔ píng hé","抱蔓摘瓜":"bào wàn zhāi guā","抱关执钥":"bào guān zhí yuè","抱法处势":"bào fǎ chǔ shì","褒贬与夺":"bǎo biǎn yǔ duó","帮闲钻懒":"bāng xián zuān lǎn","半上落下":"bàn shàng luò xià","半间不界":"bàn gān bù gà","半间半界":"bàn gān bàn gà","半筹莫展":"bàn chóu mò chǎn","拜将封侯":"bài jiàng fēng hóu","百中百发":"bǎi zhòng bǎi fā","百下百着":"bǎi xià bǎi zháo","百兽率舞":"bǎi shòu shuài wǔ","百舍重趼":"bǎi shè chóng jiǎn","百舍重茧":"bǎi shè chóng jiǎn","百了千当":"bǎi liǎo qiān dāng","百孔千创":"bǎi kǒng qiān chuāng","百堕俱举":"bǎi huī jù jǔ","百不当一":"bǎi bù dāng yī","白衣卿相":"bái yī qīng xiàng","白首相庄":"bái shǒu xiāng zhuāng","白首为郎":"bái shǒu wéi láng","白首相知":"bái shǒu xiāng zhī","白不呲咧":"bái bù cī liě","把玩无厌":"bǎ wán wǔ yàn","拔锅卷席":"bá guō juǎn xí","拔本塞源":"bá běn sè yuán","拔本塞原":"bá běn sè yuán","扒耳搔腮":"pá ěr sāo sāi","八难三灾":"bā nàn sān zāi","傲不可长":"ào bù kě zhǎng","鳌鸣鳖应":"áo míng biē yīng","熬更守夜":"áo gēng shǒu yè","敖不可长":"ào bù kě zhǎng","暗箭中人":"àn jiàn zhòng rén","安时处顺":"ān shí chǔ shùn","安身为乐":"ān shēn wéi lè","安老怀少":"ān lǎo huái shào","安常处顺":"ān cháng chǔ shùn","安步当车":"ān bù dàng chē","爱生恶死":"ài shēng wù sǐ","爱人好士":"ài rén hào shì","矮子观场":"ǎi zǐ guān cháng","矮人观场":"ǎi rén guān cháng","捱风缉缝":"āi fēng qī fèng","挨山塞海":"āi shān sè hǎi","挨肩擦膀":"āi jiān cā bǎng","阿其所好":"ē qí suǒ hào","阿家阿翁":"ā gū ā wēng","阿党相为":"ē dǎng xiāng wéi","追亡逐北":"zhuī bēn zhú běi","转忧为喜":"zhuǎn yōu wéi xǐ","竹篮打水":"zhú lán dá shuǐ","重铬酸钾":"chóng gè suān jiǎ","知疼着热":"zhī téng zháo rè","语不惊人":"yǔ bù jīng rèn","于今为烈":"yú jīn wéi liè","以古为镜":"yǐ gǔ wéi jìng","一日三省":"yī rì sān xǐng","燕雀处堂":"yàn què chǔ táng","穴居野处":"xué jū yě chǔ","五脊六兽":"wǔ jí liù shòu","无声无臭":"wú shēng wú xiù","谓予不信":"wèi yú bù xìn","万箭攒心":"wàn jiàn cuán xīn","舍身为国":"shě shēn wéi guó","杀妻求将":"shā qī qiú jiàng","曲不离口":"qǔ bù lí kǒu","强作解人":"qiǎng zuò jiě rén","气冲斗牛":"qì chōng dǒu niú","毛发悚然":"máo fā sǒng rán","临深履薄":"lín shēn lǚ bó","老调重谈":"lǎo diào chóng tán","钧天广乐":"jūn tiān guǎng yuè","艰难竭蹶":"jiān nán jié jué","夹七夹八":"jiā qī jiā bā","霁月光风":"jī yuè guāng fēng","急功好利":"jí gōng hào lì","祸福相倚":"huò fú xiāng yī","混混噩噩":"hún hún è è","厚古薄今":"hòu gǔ bó jīn","鬼怕恶人":"guǐ pà èr én","伽马射线":"gā mǎ shè xiàn","佛头着粪":"fó tóu zhuó fèn","奉为至宝":"fèng wéi zhì bǎo","恶语中伤":"è yǔ zhòng shāng","丢三拉四":"diu sān lā sì","登坛拜将":"dēng tán bài jiàng","晨昏定省":"chén hūn dìng xǐng","察察为明":"chá chá wéi míng","博闻强识":"bó wén qiáng zhì","避难就易":"bì nán jiù yì"},{"巴尔干半岛":"bā ěr gàn bàn dǎo","巴尔喀什湖":"bā ěr kā shí hú","不幸而言中":"bù xìng ér yán zhòng","布尔什维克":"bù ěr shí wéi kè","赶鸭子上架":"gǎn yā zī shàng jià","何乐而不为":"hé lè ér bù wéi","苛政猛于虎":"kē zhè měng yú hǔ","蒙得维的亚":"méng de wéi de yà","民以食为天":"mín yǐ shí wéi tiān","拧成一股绳":"níng chéng yī gǔ shéng","事后诸葛亮":"shì hòu zhū gé liàng","物以稀为贵":"wù yǐ xī wéi guì","先下手为强":"xiān xià shǒu wéi qiáng","行行出状元":"háng háng chū zhuàng yuán","亚得里亚海":"yà de lǐ yà hǎi","眼不见为净":"yǎn bù jiàn wéi jìng","有鼻子有眼":"yǒu bí zi yǒu yǎn","竹筒倒豆子":"zhú tǒng dǎo dòu zi"}],yd=function(t){var e=t.charCodeAt(0),n=ld[e];return n?n.split(" ")[0]:t},vd=function(t,e,n){var i=n.mode,r=void 0===i?"normal":i,o=n.useCustomConfig,a=void 0!==o&&o,s=n.nonZh;if(a)return xd(t,{mode:r,nonZh:s});if("surname"===r)return _d(t,{nonZh:s});if(e>5)return vd(t,5,{nonZh:s});var l="",h=!1;if(1===e){for(var u=0;u-1){var p=t.slice(0,f),m=p?vd(p,p.length,{nonZh:s})+" ":"",y=t.slice(f+g.length),v=y?" "+vd(y,y.length,{nonZh:s}):"";l=""+m+md[e][g]+v;break}}return l||vd(t,e-1,{nonZh:s})},_d=function(t,e){var n=e.nonZh,i=t;for(var r in ad){var o=i.indexOf(r);if(o>-1){var a=t.slice(0,o),s=a?vd(a,a.length,{mode:"surname",nonZh:n})+" ":"",l=t.slice(o+r.length),h=l?" "+vd(l,l.length,{mode:"surname",nonZh:n}):"";return""+s+ad[r]+h}}return vd(t,t.length,{nonZh:n})},xd=function(t,e){var n=e.mode,i=e.nonZh,r=fd(),o=t;for(var a in r){var s=o.indexOf(a);if(s>-1){var l=t.slice(0,s),h=l?vd(l,l.length,{mode:n,useCustomConfig:!0,nonZh:i})+" ":"",u=t.slice(s+a.length),c=u?" "+vd(u,u.length,{mode:n,useCustomConfig:!0,nonZh:i}):"";return""+h+r[a]+c}}return vd(t,t.length,{mode:n,nonZh:i})},bd=function(t){return t.replace(/(ā|á|ǎ|à)/g,"a").replace(/(ō|ó|ǒ|ò)/g,"o").replace(/(ē|é|ě|è)/g,"e").replace(/(ī|í|ǐ|ì)/g,"i").replace(/(ū|ú|ǔ|ù)/g,"u").replace(/(ǖ|ǘ|ǚ|ǜ)/g,"ü").replace(/(ń|ň|ǹ)/g,"n")},wd=function(t){for(var e=[],n=[],i=0,r=t.split(" ");i{const e=Td.findIndex(e=>e.name===t||e.name===t+"市"||Cd(e.name.split("市")[0],{toneType:"none",type:"array"}).join("")===t.toLowerCase());return e>-1&&[Td[e].longitude,Td[e].latitude]};function Md(t){return function(e,n,i){const r=e.length,o=i||2;let a;a=n||(2!==o?e.slice():new Array(r));for(let s=0;sn;)t-=i;for(;t=kd.LLBAND[o]){a=kd.LL2MC[o];break}if(null===a)for(o=kd.LLBAND.length-1;o>=0;--o)if(r<=-kd.LLBAND[o]){a=kd.LL2MC[o];break}e[n]=i,e[n+1]=r,Ld(e,e,n,a)})),inverse:Md((function(t,e,n){const i=Math.abs(t[n+1]);let r=null;for(let o=0;o=kd.MCBAND[o]){r=kd.MC2LL[o];break}Ld(t,e,n,r)}))},Rd={PI:Math.PI,AXIS:6378245,OFFSET:.006693421622965943,delta:function(t,e){let n=this.transformLat(t-105,e-35),i=this.transformLon(t-105,e-35);const r=e/180*this.PI;let o=Math.sin(r);o=1-this.OFFSET*o*o;const a=Math.sqrt(o);return n=180*n/(this.AXIS*(1-this.OFFSET)/(o*a)*this.PI),i=180*i/(this.AXIS/a*Math.cos(r)*this.PI),[i,n]},outOfChina:function(t,e){return t<72.004||t>137.8347||(e<.8293||e>55.8271)},transformLat:function(t,e){let n=2*t-100+3*e+.2*e*e+.1*t*e+.2*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*this.PI)+20*Math.sin(2*t*this.PI))/3,n+=2*(20*Math.sin(e*this.PI)+40*Math.sin(e/3*this.PI))/3,n+=2*(160*Math.sin(e/12*this.PI)+320*Math.sin(e*this.PI/30))/3,n},transformLon:function(t,e){let n=300+t+2*e+.1*t*t+.1*t*e+.1*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*this.PI)+20*Math.sin(2*t*this.PI))/3,n+=2*(20*Math.sin(t*this.PI)+40*Math.sin(t/3*this.PI))/3,n+=2*(150*Math.sin(t/12*this.PI)+300*Math.sin(t/30*this.PI))/3,n},toWGS84:Md((function(t,e,n){let i=t[n],r=t[n+1];if(!Rd.outOfChina(i,r)){const t=Rd.delta(i,r);i-=t[0],r-=t[1]}e[n]=i,e[n+1]=r})),fromWGS84:Md((function(t,e,n){let i=t[n],r=t[n+1];if(!Rd.outOfChina(i,r)){const t=Rd.delta(i,r);i+=t[0],r+=t[1]}e[n]=i,e[n+1]=r}))},Dd={PI:Math.PI,X_PI:3e3*Math.PI/180,toGCJ02:function(t,e,n){const i=t[n]-.0065,r=t[n+1]-.006,o=Math.sqrt(i*i+r*r)-2e-5*Math.sin(r*Dd.X_PI),a=Math.atan2(r,i)-3e-6*Math.cos(i*Dd.X_PI);return e[n]=o*Math.cos(a),e[n+1]=o*Math.sin(a),e},fromGCJ02:function(t,e,n){const i=t[n],r=t[n+1],o=Math.sqrt(i*i+r*r)+2e-5*Math.sin(r*Dd.X_PI),a=Math.atan2(r,i)+3e-6*Math.cos(i*Dd.X_PI);return e[n]=o*Math.cos(a)+.0065,e[n+1]=o*Math.sin(a)+.006,e},toWGS84:function(t,e,n){const i=Md(Dd.toGCJ02)(t,e,n);return Rd.toWGS84(i,i,n)},fromWGS84:function(t,e,n){const i=Rd.fromWGS84(t,e,n);return Md(Dd.fromGCJ02)(i,i,n)}},Od={smerc2bmerc:function(t,e,n){let i=Ed.inverse(t,e,n);return i=Dd.fromWGS84(i,i,n),kd.forward(i,i,n)},bmerc2smerc:function(t,e,n){let i=kd.inverse(t,e,n);return i=Dd.toWGS84(i,i,n),Ed.forward(i,i,n)},bmerc2ll:function(t,e,n){const i=kd.inverse(t,e,n);return Dd.toWGS84(i,i,n)},ll2bmerc:function(t,e,n){const i=Dd.fromWGS84(t,e,n);return kd.forward(i,i,n)},mc2gcj02mc:function(t,e,n){let i=Ed.inverse(t,e,n);return i=Rd.fromWGS84(i,i,n),Ed.forward(i,i,n)},gcj02mc2mc:function(t,e,n){let i=Ed.inverse(t,e,n);return i=Rd.toWGS84(i,i,n),Ed.forward(i,i,n)},gcj02mc2ll:function(t,e,n){const i=Ed.inverse(t,e,n);return Rd.toWGS84(i,i,n)},ll2gcj02mc:function(t,e,n){const i=Rd.fromWGS84(t,e,n);return Ed.forward(i,i,n)},ll2smerc:Ed.forward,smerc2ll:Ed.inverse};var jd=6371008.8,Fd={centimeters:100*jd,centimetres:100*jd,degrees:jd/111325,feet:3.28084*jd,inches:39.37*jd,kilometers:jd/1e3,kilometres:jd/1e3,meters:jd,metres:jd,miles:jd/1609.344,millimeters:1e3*jd,millimetres:1e3*jd,nauticalmiles:jd/1852,radians:1,yards:1.0936*jd};function Nd(t,e,n){void 0===n&&(n={});var i={type:"Feature"};return(0===n.id||n.id)&&(i.id=n.id),n.bbox&&(i.bbox=n.bbox),i.properties=e||{},i.geometry=t,i}function Bd(t,e,n){if(void 0===n&&(n={}),!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!Zd(t[0])||!Zd(t[1]))throw new Error("coordinates must contain numbers");var i={type:"Point",coordinates:t};return Nd(i,e,n)}function Gd(t,e,n){void 0===n&&(n={});for(var i=0,r=t;i=2&&!Array.isArray(t[0])&&!Array.isArray(t[1]))return t;throw new Error("coord must be GeoJSON Point or an Array of numbers")}var Jd="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{};function Qd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function $d(t){var e=t.default;if("function"==typeof e){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var i=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,i.get?i:{enumerable:!0,get:function(){return t[e]}})})),n}function tg(t,e,n){void 0===n&&(n={});var i=Kd(t),r=Kd(e),o=Hd(r[1]-i[1]),a=Hd(r[0]-i[0]),s=Hd(i[1]),l=Hd(r[1]),h=Math.pow(Math.sin(o/2),2)+Math.pow(Math.sin(a/2),2)*Math.cos(s)*Math.cos(l);return qd(2*Math.atan2(Math.sqrt(h),Math.sqrt(1-h)),n.units)}function eg(t,e,n,i){void 0===i&&(i={});var r=Kd(t),o=Hd(r[0]),a=Hd(r[1]),s=Hd(n),l=Wd(e,i.units),h=Math.asin(Math.sin(a)*Math.cos(l)+Math.cos(a)*Math.sin(l)*Math.cos(s)),u=o+Math.atan2(Math.sin(s)*Math.sin(l)*Math.cos(a),Math.cos(l)-Math.sin(a)*Math.sin(h)),c=Ud(u),d=Ud(h);return Bd([c,d],i.properties)}function ng(t,e,n){if(void 0===n&&(n={}),!0===n.final)return ig(t,e);var i=Kd(t),r=Kd(e),o=Hd(i[0]),a=Hd(r[0]),s=Hd(i[1]),l=Hd(r[1]),h=Math.sin(a-o)*Math.cos(l),u=Math.cos(s)*Math.sin(l)-Math.sin(s)*Math.cos(l)*Math.cos(a-o);return Ud(Math.atan2(h,u))}function ig(t,e){var n=ng(e,t);return n=(n+180)%360,n}function rg(t,e){void 0===e&&(e={});var n=0,i=0,r=0;return Xd(t,(function(t){n+=t[0],i+=t[1],r++}),!0),Bd([n/r,i/r],e.properties)}var og={exports:{}};function ag(t,e,n){n=n||2;var i,r,o,a,s,l,h,u=e&&e.length,c=u?e[0]*n:t.length,d=sg(t,0,c,n,!0),g=[];if(!d||d.next===d.prev)return g;if(u&&(d=fg(t,e,d,n)),t.length>80*n){i=o=t[0],r=a=t[1];for(var f=n;fo&&(o=s),l>a&&(a=l);h=Math.max(o-i,a-r),h=0!==h?32767/h:0}return hg(d,g,n,i,r,h,0),g}function sg(t,e,n,i,r){var o,a;if(r===jg(t,e,n,i)>0)for(o=e;o=e;o-=i)a=Rg(o,t[o],t[o+1],a);return a&&Tg(a,a.next)&&(Dg(a),a=a.next),a}function lg(t,e){if(!t)return t;e||(e=t);var n,i=t;do{if(n=!1,i.steiner||!Tg(i,i.next)&&0!==Cg(i.prev,i,i.next))i=i.next;else{if(Dg(i),i=e=i.prev,i===i.next)break;n=!0}}while(n||i!==e);return e}function hg(t,e,n,i,r,o,a){if(t){!a&&o&&_g(t,i,r,o);for(var s,l,h=t;t.prev!==t.next;)if(s=t.prev,l=t.next,o?cg(t,i,r,o):ug(t))e.push(s.i/n|0),e.push(t.i/n|0),e.push(l.i/n|0),Dg(t),t=l.next,h=l.next;else if(t=l,t===h){a?1===a?(t=dg(lg(t),e,n),hg(t,e,n,i,r,o,2)):2===a&&gg(t,e,n,i,r,o):hg(lg(t),e,n,i,r,o,1);break}}}function ug(t){var e=t.prev,n=t,i=t.next;if(Cg(e,n,i)>=0)return!1;for(var r=e.x,o=n.x,a=i.x,s=e.y,l=n.y,h=i.y,u=ro?r>a?r:a:o>a?o:a,g=s>l?s>h?s:h:l>h?l:h,f=i.next;f!==e;){if(f.x>=u&&f.x<=d&&f.y>=c&&f.y<=g&&Sg(r,s,o,l,a,h,f.x,f.y)&&Cg(f.prev,f,f.next)>=0)return!1;f=f.next}return!0}function cg(t,e,n,i){var r=t.prev,o=t,a=t.next;if(Cg(r,o,a)>=0)return!1;for(var s=r.x,l=o.x,h=a.x,u=r.y,c=o.y,d=a.y,g=sl?s>h?s:h:l>h?l:h,m=u>c?u>d?u:d:c>d?c:d,y=bg(g,f,e,n,i),v=bg(p,m,e,n,i),_=t.prevZ,x=t.nextZ;_&&_.z>=y&&x&&x.z<=v;){if(_.x>=g&&_.x<=p&&_.y>=f&&_.y<=m&&_!==r&&_!==a&&Sg(s,u,l,c,h,d,_.x,_.y)&&Cg(_.prev,_,_.next)>=0||(_=_.prevZ,x.x>=g&&x.x<=p&&x.y>=f&&x.y<=m&&x!==r&&x!==a&&Sg(s,u,l,c,h,d,x.x,x.y)&&Cg(x.prev,x,x.next)>=0))return!1;x=x.nextZ}for(;_&&_.z>=y;){if(_.x>=g&&_.x<=p&&_.y>=f&&_.y<=m&&_!==r&&_!==a&&Sg(s,u,l,c,h,d,_.x,_.y)&&Cg(_.prev,_,_.next)>=0)return!1;_=_.prevZ}for(;x&&x.z<=v;){if(x.x>=g&&x.x<=p&&x.y>=f&&x.y<=m&&x!==r&&x!==a&&Sg(s,u,l,c,h,d,x.x,x.y)&&Cg(x.prev,x,x.next)>=0)return!1;x=x.nextZ}return!0}function dg(t,e,n){var i=t;do{var r=i.prev,o=i.next.next;!Tg(r,o)&&Ig(r,i,i.next,o)&&Pg(r,o)&&Pg(o,r)&&(e.push(r.i/n|0),e.push(i.i/n|0),e.push(o.i/n|0),Dg(i),Dg(i.next),i=t=o),i=i.next}while(i!==t);return lg(i)}function gg(t,e,n,i,r,o){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&Ag(a,s)){var l=kg(a,s);return a=lg(a,a.next),l=lg(l,l.next),hg(a,e,n,i,r,o,0),void hg(l,e,n,i,r,o,0)}s=s.next}a=a.next}while(a!==t)}function fg(t,e,n,i){var r,o,a,s,l,h=[];for(r=0,o=e.length;r=i.next.y&&i.next.y!==i.y){var s=i.x+(o-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=r&&s>a&&(a=s,n=i.x=i.x&&i.x>=u&&r!==i.x&&Sg(on.x||i.x===n.x&&vg(n,i)))&&(n=i,d=l)),i=i.next}while(i!==h);return n}function vg(t,e){return Cg(t.prev,t,e.prev)<0&&Cg(e.next,t,t.next)<0}function _g(t,e,n,i){var r=t;do{0===r.z&&(r.z=bg(r.x,r.y,e,n,i)),r.prevZ=r.prev,r.nextZ=r.next,r=r.next}while(r!==t);r.prevZ.nextZ=null,r.prevZ=null,xg(r)}function xg(t){var e,n,i,r,o,a,s,l,h=1;do{for(n=t,t=null,o=null,a=0;n;){for(a++,i=n,s=0,e=0;e0||l>0&&i;)0!==s&&(0===l||!i||n.z<=i.z)?(r=n,n=n.nextZ,s--):(r=i,i=i.nextZ,l--),o?o.nextZ=r:t=r,r.prevZ=o,o=r;n=i}o.nextZ=null,h*=2}while(a>1);return t}function bg(t,e,n,i,r){return t=(t-n)*r|0,e=(e-i)*r|0,t=16711935&(t|t<<8),t=252645135&(t|t<<4),t=858993459&(t|t<<2),t=1431655765&(t|t<<1),e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),t|e<<1}function wg(t){var e=t,n=t;do{(e.x=(t-a)*(o-s)&&(t-a)*(i-s)>=(n-a)*(e-s)&&(n-a)*(o-s)>=(r-a)*(i-s)}function Ag(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!zg(t,e)&&(Pg(t,e)&&Pg(e,t)&&Lg(t,e)&&(Cg(t.prev,t,e.prev)||Cg(t,e.prev,e))||Tg(t,e)&&Cg(t.prev,t,t.next)>0&&Cg(e.prev,e,e.next)>0)}function Cg(t,e,n){return(e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y)}function Tg(t,e){return t.x===e.x&&t.y===e.y}function Ig(t,e,n,i){var r=Eg(Cg(t,e,n)),o=Eg(Cg(t,e,i)),a=Eg(Cg(n,i,t)),s=Eg(Cg(n,i,e));return!!(r!==o&&a!==s||0===r&&Mg(t,n,e)||0===o&&Mg(t,i,e)||0===a&&Mg(n,t,i)||0===s&&Mg(n,e,i))}function Mg(t,e,n){return e.x<=Math.max(t.x,n.x)&&e.x>=Math.min(t.x,n.x)&&e.y<=Math.max(t.y,n.y)&&e.y>=Math.min(t.y,n.y)}function Eg(t){return t>0?1:t<0?-1:0}function zg(t,e){var n=t;do{if(n.i!==t.i&&n.next.i!==t.i&&n.i!==e.i&&n.next.i!==e.i&&Ig(n,n.next,t,e))return!0;n=n.next}while(n!==t);return!1}function Pg(t,e){return Cg(t.prev,t,t.next)<0?Cg(t,e,t.next)>=0&&Cg(t,t.prev,e)>=0:Cg(t,e,t.prev)<0||Cg(t,t.next,e)<0}function Lg(t,e){var n=t,i=!1,r=(t.x+e.x)/2,o=(t.y+e.y)/2;do{n.y>o!=n.next.y>o&&n.next.y!==n.y&&r<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(i=!i),n=n.next}while(n!==t);return i}function kg(t,e){var n=new Og(t.i,t.x,t.y),i=new Og(e.i,e.x,e.y),r=t.next,o=e.prev;return t.next=e,e.prev=t,n.next=r,r.prev=n,i.next=n,n.prev=i,o.next=i,i.prev=o,i}function Rg(t,e,n,i){var r=new Og(t,e,n);return i?(r.next=i.next,r.prev=i,i.next.prev=r,i.next=r):(r.prev=r,r.next=r),r}function Dg(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function Og(t,e,n){this.i=t,this.x=e,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function jg(t,e,n,i){for(var r=0,o=e,a=n-i;o=u&&c===r.length-1);c++){if(u>e&&0===o.length){if(a=e-u,!a)return o.push(r[c]),Vd(o);s=ng(r[c],r[c-1])-180,l=eg(r[c],a,s,i),o.push(l.geometry.coordinates)}if(u>=n)return a=n-u,a?(s=ng(r[c],r[c-1])-180,l=eg(r[c],a,s,i),o.push(l.geometry.coordinates),Vd(o)):(o.push(r[c]),Vd(o));if(u>=e&&o.push(r[c]),c===r.length-1)return Vd(o);u+=tg(r[c],r[c+1],i)}if(u0&&(i+=t[r-1].length,n.holes.push(i))}return n};var Ng,Bg=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;var i=42;for(e in t[e]=i,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(o.value!==i||!0!==o.enumerable)return!1}return!0},Gg="undefined"!=typeof Symbol&&Symbol,Vg=Bg,qg=function(){return"function"==typeof Gg&&"function"==typeof Symbol&&"symbol"==typeof Gg("foo")&&"symbol"==typeof Symbol("bar")&&Vg()},Wg="Function.prototype.bind called on incompatible ",Ug=Array.prototype.slice,Hg=Object.prototype.toString,Zg="[object Function]",Yg=function(t){var e=this;if("function"!=typeof e||Hg.call(e)!==Zg)throw new TypeError(Wg+e);for(var n,i=Ug.call(arguments,1),r=function(){if(this instanceof n){var r=e.apply(this,i.concat(Ug.call(arguments)));return Object(r)===r?r:this}return e.apply(t,i.concat(Ug.call(arguments)))},o=Math.max(0,e.length-i.length),a=[],s=0;s1&&"boolean"!=typeof e)throw new ef('"allowMissing" argument must be a boolean');if(null===xf(/^%?[^%]*%?$/g,t))throw new $g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Sf(t),i=n.length>0?n[0]:"",r=Af("%"+i+"%",e),o=r.name,a=r.value,s=!1,l=r.alias;l&&(i=l[0],yf(n,mf([0,1],l)));for(var h=1,u=!0;h=n.length){var f=rf(a,c);u=!!f,a=u&&"get"in f&&!("originalValue"in f.get)?f.get:a[c]}else u=pf(a,c),a=a[c];u&&!s&&(cf[o]=a)}}return a},Tf={exports:{}};(function(t){var e=Kg,n=Cf,i=n("%Function.prototype.apply%"),r=n("%Function.prototype.call%"),o=n("%Reflect.apply%",!0)||e.call(r,i),a=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),l=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch(u){s=null}t.exports=function(t){var n=o(e,r,arguments);if(a&&s){var i=a(n,"length");i.configurable&&s(n,"length",{value:1+l(0,t.length-(arguments.length-1))})}return n};var h=function(){return o(e,i,arguments)};s?s(t.exports,"apply",{value:h}):t.exports.apply=h})(Tf);var If=Cf,Mf=Tf.exports,Ef=Mf(If("String.prototype.indexOf")),zf=function(t,e){var n=If(t,!!e);return"function"==typeof n&&Ef(t,".prototype.")>-1?Mf(n):n};const Pf=52.35987755982988,Lf=3.141592653589793,kf=6378245,Rf=.006693421622965943,Df=function(t,e){t=+t,e=+e;const n=t-.0065,i=e-.006,r=Math.sqrt(n*n+i*i)-2e-5*Math.sin(i*Pf),o=Math.atan2(i,n)-3e-6*Math.cos(n*Pf),a=r*Math.cos(o),s=r*Math.sin(o);return[a,s]},Of=function(t,e){e=+e,t=+t;const n=Math.sqrt(t*t+e*e)+2e-5*Math.sin(e*Pf),i=Math.atan2(e,t)+3e-6*Math.cos(t*Pf),r=n*Math.cos(i)+.0065,o=n*Math.sin(i)+.006;return[r,o]},jf=function(t,e){if(e=+e,t=+t,qf(t,e))return[t,e];{let n=Gf(t-105,e-35),i=Vf(t-105,e-35);const r=e/180*Lf;let o=Math.sin(r);o=1-Rf*o*o;const a=Math.sqrt(o);n=180*n/(kf*(1-Rf)/(o*a)*Lf),i=180*i/(kf/a*Math.cos(r)*Lf);const s=e+n;return[t+i,s]}},Ff=function(t,e){if(e=+e,t=+t,qf(t,e))return[t,e];{const n=jf(t,e);return Of(n[0],n[1])}},Nf=function(t,e){if(e=+e,t=+t,qf(t,e))return[t,e];{let n=Gf(t-105,e-35),i=Vf(t-105,e-35);const r=e/180*Lf;let o=Math.sin(r);o=1-Rf*o*o;const a=Math.sqrt(o);n=180*n/(kf*(1-Rf)/(o*a)*Lf),i=180*i/(kf/a*Math.cos(r)*Lf);const s=e+n,l=t+i;return[2*t-l,2*e-s]}},Bf=function(t,e){if(e=+e,t=+t,qf(t,e))return[t,e];{const n=Df(t,e);return Nf(n[0],n[1])}},Gf=function(t,e){e=+e,t=+t;let n=2*t-100+3*e+.2*e*e+.1*t*e+.2*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*Lf)+20*Math.sin(2*t*Lf))/3,n+=2*(20*Math.sin(e*Lf)+40*Math.sin(e/3*Lf))/3,n+=2*(160*Math.sin(e/12*Lf)+320*Math.sin(e*Lf/30))/3,n},Vf=function(t,e){e=+e,t=+t;let n=300+t+2*e+.1*t*t+.1*t*e+.1*Math.sqrt(Math.abs(t));return n+=2*(20*Math.sin(6*t*Lf)+20*Math.sin(2*t*Lf))/3,n+=2*(20*Math.sin(t*Lf)+40*Math.sin(t/3*Lf))/3,n+=2*(150*Math.sin(t/12*Lf)+300*Math.sin(t/30*Lf))/3,n},qf=function(t,e){return e=+e,t=+t,!(t>73.66&&t<135.05&&e>3.86&&e<53.55)},Wf={bd09togcj02:Df,gcj02tobd09:Of,wgs84togcj02:jf,gcj02towgs84:Nf,bd09towgs84:Bf,wgs84tobd09:Ff},Uf=.5,Hf=10,Zf=.25;class Yf{constructor(t,e,n,i,r,o){this.sourceProj_=t,this.targetProj_=e;let a={};const s=jn(this.targetProj_,this.sourceProj_);this.transformInv_=function(t){const e=t[0]+"/"+t[1];return a[e]||(a[e]=s(t)),a[e]},this.maxSourceExtent_=i,this.errorThresholdSquared_=r*r,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!i&&!!this.sourceProj_.getExtent()&&ce(i)==ce(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?ce(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?ce(this.targetProj_.getExtent()):null;const l=he(n),h=ue(n),u=ne(n),c=ee(n),d=this.transformInv_(l),g=this.transformInv_(h),f=this.transformInv_(u),p=this.transformInv_(c),m=Hf+(o?Math.max(0,Math.ceil(Math.log2(te(n)/(o*o*256*256)))):0);if(this.addQuad_(l,h,u,c,d,g,f,p,m),this.wrapsXInSource_){let t=1/0;this.triangles_.forEach((function(e,n,i){t=Math.min(t,e.source[0][0],e.source[1][0],e.source[2][0])})),this.triangles_.forEach(e=>{if(Math.max(e.source[0][0],e.source[1][0],e.source[2][0])-t>this.sourceWorldWidth_/2){const n=[[e.source[0][0],e.source[0][1]],[e.source[1][0],e.source[1][1]],[e.source[2][0],e.source[2][1]]];n[0][0]-t>this.sourceWorldWidth_/2&&(n[0][0]-=this.sourceWorldWidth_),n[1][0]-t>this.sourceWorldWidth_/2&&(n[1][0]-=this.sourceWorldWidth_),n[2][0]-t>this.sourceWorldWidth_/2&&(n[2][0]-=this.sourceWorldWidth_);const i=Math.min(n[0][0],n[1][0],n[2][0]);Math.max(n[0][0],n[1][0],n[2][0])-i.5&&u<1;let g=!1;if(l>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const r=Rt([t,e,n,i]);g=ce(r)/this.targetWorldWidth_>Zf||g}!d&&this.sourceProj_.isGlobal()&&u&&(g=u>Zf||g)}if(!g&&this.maxSourceExtent_&&isFinite(h[0])&&isFinite(h[1])&&isFinite(h[2])&&isFinite(h[3])&&!de(h,this.maxSourceExtent_))return;let f=0;if(!g&&(!isFinite(r[0])||!isFinite(r[1])||!isFinite(o[0])||!isFinite(o[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(s[0])||!isFinite(s[1])))if(l>0)g=!0;else if(f=(isFinite(r[0])&&isFinite(r[1])?0:8)+(isFinite(o[0])&&isFinite(o[1])?0:4)+(isFinite(a[0])&&isFinite(a[1])?0:2)+(isFinite(s[0])&&isFinite(s[1])?0:1),1!=f&&2!=f&&4!=f&&8!=f)return;if(l>0){if(!g){const e=[(t[0]+n[0])/2,(t[1]+n[1])/2],i=this.transformInv_(e);let o;o=d?(Ye(r[0],c)+Ye(a[0],c))/2-Ye(i[0],c):(r[0]+a[0])/2-i[0];const s=(r[1]+a[1])/2-i[1];g=o*o+s*s>this.errorThresholdSquared_}if(g){if(Math.abs(t[0]-n[0])<=Math.abs(t[1]-n[1])){const h=[(e[0]+n[0])/2,(e[1]+n[1])/2],u=this.transformInv_(h),c=[(i[0]+t[0])/2,(i[1]+t[1])/2],d=this.transformInv_(c);this.addQuad_(t,e,h,c,r,o,u,d,l-1),this.addQuad_(c,h,n,i,d,u,a,s,l-1)}else{const h=[(t[0]+e[0])/2,(t[1]+e[1])/2],u=this.transformInv_(h),c=[(n[0]+i[0])/2,(n[1]+i[1])/2],d=this.transformInv_(c);this.addQuad_(t,h,c,i,r,u,d,s,l-1),this.addQuad_(h,e,n,c,u,o,a,d,l-1)}return}}if(d){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}0==(11&f)&&this.addTriangle_(t,n,i,r,a,s),0==(14&f)&&this.addTriangle_(t,n,e,r,a,o),f&&(0==(13&f)&&this.addTriangle_(e,i,t,o,s,r),0==(7&f)&&this.addTriangle_(e,i,n,o,s,a))}calculateSourceExtent(){const t=qt();return this.triangles_.forEach((function(e,n,i){const r=e.source;Kt(t,r[0]),Kt(t,r[1]),Kt(t,r[2])})),t}getTriangles(){return this.triangles_}}const Xf=Yf;let Kf;const Jf=[];function Qf(t,e,n,i,r){t.beginPath(),t.moveTo(0,0),t.lineTo(e,n),t.lineTo(i,r),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,i)+1,Math.max(n,r)),t.restore()}function $f(t,e){return Math.abs(t[4*e]-210)>2||Math.abs(t[4*e+3]-191.25)>2}function tp(){if(void 0===Kf){const t=Ir(6,6,Jf);t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",Qf(t,4,5,4,0),Qf(t,4,5,0,5);const e=t.getImageData(0,0,3,3).data;Kf=$f(e,0)||$f(e,4)||$f(e,8),Mr(t),Jf.push(t.canvas)}return Kf}function ep(t,e,n,i){const r=Fn(n,e,t);let o=In(e,i,n);const a=e.getMetersPerUnit();void 0!==a&&(o*=a);const s=t.getMetersPerUnit();void 0!==s&&(o/=s);const l=t.getExtent();if(!l||Nt(l,r)){const e=In(t,o,r)/o;isFinite(e)&&e>0&&(o/=e)}return o}function np(t,e,n,i){const r=ie(n);let o=ep(t,e,r,i);return(!isFinite(o)||o<=0)&&$t(n,(function(n){return o=ep(t,e,n,i),isFinite(o)&&o>0})),o}function ip(t,e,n,i,r,o,a,s,l,h,u,c){const d=Ir(Math.round(n*t),Math.round(n*e),Jf);if(c||(d.imageSmoothingEnabled=!1),0===l.length)return d.canvas;function g(t){return Math.round(t*n)/n}d.scale(n,n),d.globalCompositeOperation="lighter";const f=qt();l.forEach((function(t,e,n){Xt(f,t.extent)}));const p=ce(f),m=se(f),y=Ir(Math.round(n*p/i),Math.round(n*m/i),Jf);c||(y.imageSmoothingEnabled=!1);const v=n/i;l.forEach((function(t,e,n){const i=t.extent[0]-f[0],r=-(t.extent[3]-f[3]),o=ce(t.extent),a=se(t.extent);t.image.width>0&&t.image.height>0&&y.drawImage(t.image,h,h,t.image.width-2*h,t.image.height-2*h,i*v,r*v,o*v,a*v)}));const _=he(a);return s.getTriangles().forEach((function(t,e,r){const a=t.source,s=t.target;let l=a[0][0],h=a[0][1],u=a[1][0],p=a[1][1],m=a[2][0],v=a[2][1];const x=g((s[0][0]-_[0])/o),b=g(-(s[0][1]-_[1])/o),w=g((s[1][0]-_[0])/o),S=g(-(s[1][1]-_[1])/o),A=g((s[2][0]-_[0])/o),C=g(-(s[2][1]-_[1])/o),T=l,I=h;l=0,h=0,u-=T,p-=I,m-=T,v-=I;const M=[[u,p,0,0,w-x],[m,v,0,0,A-x],[0,0,u,p,S-b],[0,0,m,v,C-b]],E=He(M);if(E){if(d.save(),d.beginPath(),tp()||!c){d.moveTo(w,S);const t=4,e=x-w,n=b-S;for(let i=0;ithis.getImageInternal(t,e,n,r),this.getInterpolate()),this.reprojectedRevision_=this.getRevision(),this.reprojectedImage_}getImageInternal(t,e,n,i){return H()}handleImageChange(t){const e=t.target;let n;switch(e.getState()){case ur.LOADING:this.loading=!0,n=ap.IMAGELOADSTART;break;case ur.LOADED:this.loading=!1,n=ap.IMAGELOADEND;break;case ur.ERROR:this.loading=!1,n=ap.IMAGELOADERROR;break;default:return}this.hasListener(n)&&this.dispatchEvent(new sp(n,e))}}function hp(t,e){t.getImage().src=e}const up=lp;class cp extends up{constructor(t){t=t||{},super({attributions:t.attributions,interpolate:t.interpolate,projection:t.projection,resolutions:t.resolutions,state:t.state}),this.canvasFunction_=t.canvasFunction,this.canvas_=null,this.renderedRevision_=0,this.ratio_=void 0!==t.ratio?t.ratio:1.5}getImageInternal(t,e,n,i){e=this.findNearestResolution(e);let r=this.canvas_;if(r&&this.renderedRevision_==this.getRevision()&&r.getResolution()==e&&r.getPixelRatio()==n&&Bt(r.getExtent(),t))return r;t=t.slice(),pe(t,this.ratio_);const o=ce(t)/e,a=se(t)/e,s=[o*n,a*n],l=this.canvasFunction_.call(this,t,e,n,s,i);return l&&(r=new kl(t,e,n,l)),this.canvas_=r,this.renderedRevision_=this.getRevision(),r}}const dp=cp,gp=function(t,e,n,i,r,o){t.getSource()._forEachFeatureAtCoordinate&&t.getSource()._forEachFeatureAtCoordinate(e,n,(function(e){return i(e,t)}),r,o)};xu.prototype.forEachSmFeatureAtPixel=function(t,e,n,i){const r=n&&n.layerFilter?n.layerFilter:function(){return!0},o=this.getLayers().getArray(),a=this.getView().getResolution(),s=this.getCoordinateFromPixel(t);for(let l=0;l=0;a--){const s=o[a]._style;if(!s)return;const l=o[a]._coordinates,h=s.getImage();let u=!1;const c=[];h.getAnchor()&&(c[0]=l[0]-h.getAnchor()[0]*e,c[2]=l[0]+h.getAnchor()[0]*e,c[1]=l[1]-h.getAnchor()[1]*e,c[3]=l[1]+h.getAnchor()[1]*e),Nt(c,t)&&(u=!0),!0!==u?c.isHighLight&&c._highLightClose():(c.isHighLight&&c._highLight(l,h,o[a],i),n&&n(o[a],r))}};class pp extends st{constructor(){super(...arguments),g(this,"setPosition",(function(t){bp(this,t)})),g(this,"getPosition",(function(){return this.getGeometry().getCoordinates()})),g(this,"setRotateAngle",(function(t){this.getStyle().getImage().setRotation(.01745329251*t)})),g(this,"update",(function(t,e){"style"===t&&this.setStyle(Cp(e)),"position"===t&&bp(this,e)}))}}const mp=new we({code:"baidu",units:"m"}),yp=new we({code:"BD09",extent:ye([-180,-90,180,90],Od.ll2bmerc),units:"m"});An(mp),An(yp),Ln("EPSG:4326",mp,Od.ll2bmerc,Od.bmerc2ll),Ln("EPSG:4326",yp,Od.ll2bmerc,Od.bmerc2ll),Ln("EPSG:3857",mp,Od.smerc2bmerc,Od.bmerc2smerc),Ln("EPSG:3857",yp,Od.smerc2bmerc,Od.bmerc2smerc);const vp=new we({code:"GCJ02",extent:ye([-180,-90,180,90],Od.ll2gcj02mc),units:"m"});An(vp),Ln("EPSG:4326",vp,Od.ll2gcj02mc,Od.gcj02mc2ll),Ln("EPSG:3857",vp,Od.mc2gcj02mc,Od.gcj02mc2mc);const _p=(t,e)=>!(!t||!Object.prototype.hasOwnProperty.call(t,e))&&("object"==typeof t[e]?Object.keys(t[e]).length>0:"boolean"!=typeof t[e]||t[e]),xp=t=>"function"==typeof t&&"number"!=typeof t.nodeType,bp=(t,e)=>{t.getGeometry().setCoordinates(e)},wp=(t,e)=>{switch(e){case"bd-84":return Wf.bd09towgs84(t[0],t[1]);case"bd-gd":return Wf.bd09togcj02(t[0],t[1]);case"gd-84":return Wf.gcj02towgs84(t[0],t[1]);case"gd-bd":return Wf.gcj02tobd09(t[0],t[1]);case"84-gd":return Wf.wgs84togcj02(t[0],t[1]);case"84-bd":return Wf.wgs84tobd09(t[0],t[1]);case"3857-4326":return Fn(t,"EPSG:3857","EPSG:4326");case"4326-3857":return Fn(t,"EPSG:4326","EPSG:3857");default:return t}},Sp=t=>{const e={radius:t.radius||2,fill:new er(t.fill||{color:"blue"}),stroke:new hr(t.stroke||{color:"white"})};return new vo(e)},Ap=t=>{const e=c(c({},{font:"14px sans-serif",padding:[2,5,2,5]}),t),n=new Mo(e);if(_p(t,"fill")){const e=new er(t.fill);n.setFill(e)}if(_p(t,"backgroundFill")){const e=new er(t.backgroundFill);n.setBackgroundFill(e)}if(_p(t,"stroke")){const e=new hr(t.stroke);n.setStroke(e)}if(_p(t,"backgroundStroke")){const e=new hr(t.backgroundStroke);n.setBackgroundStroke(e)}return n},Cp=t=>{const e=new Co;if(_p(t,"fill")?e.setFill(new er(t.fill)):e.setFill(new er({color:"rgba(67,126,255,0.15)"})),_p(t,"stroke")?e.setStroke(new hr(t.stroke)):e.setStroke(new hr({color:"rgba(67,126,255,1)",width:1})),_p(t,"icon")&&e.setImage(new Ba(t.icon)),_p(t,"circle")){const n=Sp(t.circle);e.setImage(n)}if(_p(t,"text")){const n=t.text,i=Ap(n);e.setText(i)}if(_p(t,"shape")){let n,i;_p(t.shape,"fill")&&(n=new er(t.shape.fill)),_p(t.shape,"stroke")&&(i=new hr(t.shape.stroke));const r=d(c({},t.shape),{stroke:i,fill:n}),o=new mo(r);e.setImage(o)}return e},Tp=(t,e,n)=>{const i=Cp(e);if(t.setStyle(i),_p(e,"styleFunction")?t.setStyle((function(t,r){return e.styleFunction(t,r,n,i)})):t.setStyle(i),_p(e,"gif")){const i=e.gif,r=c({opacity:1,scale:1,offset:[0,0],offsetOrigin:"top-left",anchor:[.5,.5],anchorOrigin:"top-left",rotation:0,rotateWithView:!1},i);gifler(r.src).frames(document.createElement("canvas"),(function(e,i){t.setStyle(new Co({image:new Ba({img:e.canvas,imgSize:[i.width,i.height],opacity:r.opacity,offset:r.offset,offsetOrigin:r.offsetOrigin,anchor:r.anchor,anchorOrigin:r.anchorOrigin,scale:r.scale,rotation:r.rotation,rotateWithView:r.rotateWithView})})),e.clearRect(0,0,i.width,i.height),e.drawImage(i.buffer,i.x,i.y),n.render()}),!0)}},Ip=(t,e,n=!1)=>t.map(t=>Mp(t,e,n)),Mp=(t,e,n=!1)=>{if(!_p(t,"type"))return Ep(t,e,n);switch(t.type){case"point":case"Point":return Ep(t,e,n);case"polygon":case"Polygon":return zp(t);case"MultiPolygon":return Pp(t);case"polyline":case"Polyline":case"LineString":return Lp(t);case"circle":case"Circle":return kp(t,e);default:return Ep(t,e,n)}},Ep=(t,e,n=!1)=>{const i=wp(t.coordinates,t.convert),r=new pp({geometry:new Ei(i)});if(_p(t,"style")?Tp(r,t.style,e):n||r.setStyle(new Co({zIndex:1,image:new vo({radius:4,fill:new er({color:"blue"})})})),_p(t,"id")?r.setId(t.id):r.setId("feature-"+p()),"object"==typeof t)for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&r.set(o,t[o]);return _p(t,"coordinates")&&_p(t,"convert")&&r.set("coordinates",i),r},zp=t=>{let e=[];_p(t,"convert")&&t.convert?t.coordinates.forEach(n=>{e.push(wp(n,t.convert))}):e=t.coordinates;const n=new pp({geometry:new Xi([e])});if(n.setId(t.id||"polygon-"+p()),"object"==typeof t)for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.set(i,t[i]);return n},Pp=t=>{let e=[];_p(t,"convert")&&t.convert?t.coordinates.forEach(n=>{e.push(wp(n,t.convert))}):e=t.coordinates;const n=new pp({geometry:new Ku([e])});if(n.setId(t.id||"polygon-"+p()),"object"==typeof t)for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.set(i,t[i]);return n},Lp=t=>{let e=[];_p(t,"convert")&&t.convert?t.coordinates.forEach(n=>{e.push(wp(n,t.convert))}):e=t.coordinates;const n=new pp({geometry:new sr(e)});if(n.setId(t.id||"polyline-"+p()),n.set("style",t.style||null),n.set("type",t.type||"polyline"),n.set("properties",t.properties||null),"object"==typeof t)for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.set(i,t[i]);return n},kp=(t,e)=>{const n=wp(t.center,t.convert),i=new pp({geometry:new Bu(n,Rp(e,t.radius))});return i.setId(t.id||"circle-"+p()),i.set("style",t.style||null),i.set("type",t.type||"circle"),i.set("properties",t.properties||null),i},Rp=(t,e)=>{const n=t.getView().getProjection().getMetersPerUnit();return e/n},Dp=(t,e)=>{let n=[];_p(t,"features")&&(n=t.features),_p(t,"projection")&&"GCJ02"===t.projection&&(t.projection=Nf);const i=d(c({},t),{features:Ip(n,e)});return new El(i)},Op=(t,e)=>{const n=d(c({},t.text),{text:e});return d(c({},t),{text:n})},jp=(t,e)=>{const n=t.source,i=t.source.getSource().getFeatures().length,r={},o={source:n,style:function(e){const n=e.get("features").length;let o=r[n];if(n>1){if(!o){let e={};_p(t,"style")&&t.style?t.style instanceof Array?(t.style.forEach(r=>{let o=0,a=i;if(_p(r,"min")||_p(r,"max"))o=r.min,a=r.max,o0){const r=i/t.style.length;for(let i=0;i0?Cp(t):new Co({image:new vo({radius:4,fill:new er({color:"blue"})})})}return o}};return new pl(o)},Fp=t=>new Promise(e=>{const n=new Image;n.src=t.src,n.onload=()=>e(new Co({image:new Ba({img:n,imgSize:[34,37]})}))}),Np=(t,e)=>{t.getView().animate(e)},Bp=(t,e)=>{const n=e.duration||2e3,i=t.getView(),r=e.zoom||i.getZoom();let o=2,a=!1;function s(){--o,!a&&0===o&&(a=!0)}i.animate({center:e.center,duration:n},s),i.animate({zoom:e.flyZoom||r-1,duration:n/2},{zoom:r,duration:n/2},s)},Gp=(t,e)=>{t.getView().setCenter(e)},Vp=(t,e)=>{t.getView().setZoom(e)},qp=(t,e)=>{t.getView().setConstrainResolution(e)},Wp=(t,e)=>{t.getView().setMaxZoom(e)},Up=(t,e)=>{t.getView().setMinZoom(e)},Hp=(t,e)=>{t.once("rendercomplete",(function(){const n=document.createElement("canvas"),i=t.getSize();n.width=i[0],n.height=i[1];const r=n.getContext("2d");if(Array.prototype.forEach.call(t.getViewport().querySelectorAll(".ol-layer canvas, canvas.ol-layer"),(function(t){if(t.width>0){const e=t.parentNode.style.opacity||t.style.opacity;r.globalAlpha=""===e?1:Number(e);const n=t.parentNode.style.backgroundColor;let i;n&&(r.fillStyle=n,r.fillRect(0,0,t.width,t.height));const o=t.style.transform;i=o?o.match(/^matrix\(([^\(]*)\)$/)[1].split(",").map(Number):[parseFloat(t.style.width)/t.width,0,0,parseFloat(t.style.height)/t.height,0,0],CanvasRenderingContext2D.prototype.setTransform.apply(r,i),r.drawImage(t,0,0)}})),r.globalAlpha=1,navigator.msSaveBlob)navigator.msSaveBlob(n.msToBlob(),"map.png");else{const t=document.getElementById(e);t.href=n.toDataURL(),t.click()}})),t.renderSync()},Zp=(t,e,n="kilometers")=>{const i=Bd(t),r=Bd(e);return tg(i,r,{units:n})},Yp=t=>{let e,n,i;const r=t.getType();if("Polygon"===r){let i=0,r=0,o=0;n=t.getCoordinates()[0].slice(1),n.forEach((function(t){i+=t[0],r+=t[1],o++})),e=[i/o,r/o]}else"LineString"===r?(e=t.getCoordinateAt(.5),n=t.getCoordinates()):e=ie(t.getExtent());let o;return n?(o=n.map((function(t){const n=t[0]-e[0],i=t[1]-e[1];return n*n+i*i})),i=Math.sqrt(Math.max.apply(Math,o))/3):i=Math.max(ce(t.getExtent()),se(t.getExtent()))/3,{center:e,coordinates:n,minRadius:i,sqDistances:o}},Xp=t=>{const e=Gd(t);return rg(e)},Kp=(t,e,n,i)=>{"zoom"===e?($p.map.mapControlsZoom&&t.removeControl($p.map.mapControlsZoom),n&&($p.map.mapControlsZoom=new xh(i||$p.map.mapControlsZoomOptions),t.addControl($p.map.mapControlsZoom))):"rotate"===e?($p.map.mapControlsRotate&&t.removeControl($p.map.mapControlsRotate),n&&($p.map.mapControlsRotate=new vh(i||$p.map.mapControlsRotateOptions),t.addControl($p.map.mapControlsRotate))):"attribution"===e?($p.map.mapControlsAttribution&&t.removeControl($p.map.mapControlsAttribution),n&&($p.map.mapControlsAttribution=new mh(i||$p.map.mapControlsAttributionOptions),t.addControl($p.map.mapControlsAttribution))):"FullScreen"===e?($p.map.mapControlsFullScreen&&t.removeControl($p.map.mapControlsFullScreen),n&&($p.map.mapControlsFullScreen=new Hc($p.map.mapControlsFullScreen),t.addControl($p.map.mapControlsFullScreen))):"ScaleLine"===e?($p.map.mapControlsScaleLine&&t.removeControl($p.map.mapControlsScaleLine),n&&($p.map.mapControlsScaleLine=new ed($p.map.mapControlsScaleLine),t.addControl($p.map.mapControlsScaleLine))):"ZoomSlider"===e&&($p.map.mapControlsZoomSlider&&t.removeControl($p.map.mapControlsZoomSlider),n&&($p.map.mapControlsZoomSlider=new rd($p.map.mapControlsZoomSlider),t.addControl($p.map.mapControlsZoomSlider)))},Jp=t=>{const e=pn(t,{projection:"EPSG:4326"});return{format:{kilo:Math.round(e/1e3*100)/100,meter:Math.round(100*e)/100},length:e}},Qp=t=>{const e=yn(t,{projection:"EPSG:4326"});return{format:{kilo:Math.round(e/1e6*100)/100,meter:Math.round(100*e)/100},area:e}};class $p{constructor(t={}){g(this,"map",$p),g(this,"controls",{zoom:void 0,zoomOptions:void 0,attribution:void 0,attributionOptions:void 0,rotate:void 0,rotateOptions:void 0,FullScreen:void 0,ScaleLine:void 0,ZoomSlider:void 0}),g(this,"interactions",{DragRotateAndZoom:void 0});const e={center:[108.5525,34.3227],zoom:5,constrainResolution:!0,projection:"EPSG:4326"},n=c(c({},e),t.view);_p(n,"city")&&n.city&&(n.center=Id(n.city)||n.center||e.center);const i=new oa(n),r=c(c({},{zoom:!1,zoomOptions:void 0,rotate:!1,rotateOptions:void 0,attribution:!1,attributionOptions:void 0}),t.controls);this.map=new xu({target:t.target,view:i,controls:[],interactions:pu(t.interactions)});for(const o in r)"zoom"===o?(this.controls[o]=new xh(r.zoomOptions),r[o]?this.map.addControl(this.controls[o]):this.map.removeControl(this.controls[o])):"attribution"===o?(this.controls[o]=new mh(r.attributionOptions),r[o]?this.map.addControl(this.controls[o]):this.map.removeControl(this.controls[o])):"rotate"===o?(this.controls[o]=new vh(r.rotateOptions),r[o]?this.map.addControl(this.controls[o]):this.map.removeControl(this.controls[o])):"FullScreen"===o?(this.controls[o]=new Hc(r[o]),r[o]?this.map.addControl(this.controls[o]):this.map.removeControl(this.controls[o])):"ScaleLine"===o?(this.controls[o]=new ed(r[o]),r[o]?this.map.addControl(this.controls[o]):this.map.removeControl(this.controls[o])):"ZoomSlider"===o&&(this.controls[o]=new rd(r[o]),r[o]?this.map.addControl(this.controls[o]):this.map.removeControl(this.controls[o]));for(const o in t.interactions)"DragRotateAndZoom"===o&&(this.interactions[o]=new Fu(t.interactions[o]),t.interactions[o]?this.map.addInteraction(this.interactions[o]):this.map.removeInteraction(this.interactions[o]))}static panTo(t){return Np($p.map.map,t)}static flyTo(t){return Bp($p.map.map,t)}static setCenter(t){return Gp($p.map.map,t)}static setZoom(t){return Vp($p.map.map,t)}static setConstrainResolution(t){return qp($p.map.map,t)}static setMaxZoom(t){return Wp($p.map.map,t)}static setMinZoom(t){return Up($p.map.map,t)}static exportPNG(t){return Hp($p.map.map,t)}static getDistancePoint(t,e,n){return Zp(t,e,n)}static calculateCenter(t){return Yp(t)}static getControl(t){return $p.map.controls[t]}static setControl(t,e,n){return Kp($p.map.map,t,e,n)}get mapControlsZoom(){return $p.map.controls.zoom}set mapControlsZoom(t){$p.map.controls.zoom=t}get mapControlsRotate(){return $p.map.controls.rotate}set mapControlsRotate(t){$p.map.controls.rotate=t}get mapControlsAttribution(){return $p.map.controls.attribution}set mapControlsAttribution(t){$p.map.controls.attribution=t}get mapControlsZoomOptions(){return $p.map.controls.zoomOptions}set mapControlsZoomOptions(t){$p.map.controls.zoomOptions=t}get mapControlsRotateOptions(){return $p.map.controls.rotateOptions}set mapControlsRotateOptions(t){$p.map.controls.rotateOptions=t}get mapControlsAttributionOptions(){return $p.map.controls.attributionOptions}set mapControlsAttributionOptions(t){$p.map.controls.attributionOptions=t}get mapControlsFullScreen(){return $p.map.controls.FullScreen}set mapControlsFullScreen(t){$p.map.controls.FullScreen=t}get mapControlsScaleLine(){return $p.map.controls.ScaleLine}set mapControlsScaleLine(t){$p.map.controls.ScaleLine=t}get mapControlsZoomSlider(){return $p.map.controls.ZoomSlider}set mapControlsZoomSlider(t){$p.map.controls.ZoomSlider=t}}const tm=Object.freeze(Object.defineProperty({__proto__:null,FeatureExt:pp,AMapMercatorProj:vp,validObjKey:_p,isFunction:xp,setPosition:bp,convertCoordinate:wp,setCircleStyle:Sp,setText:Ap,setStyle:Cp,setFeatureStyle:Tp,setFeatures:Ip,setFeature:Mp,setPointFeature:Ep,setPolygon:zp,setMultiPolygon:Pp,setPolyline:Lp,setCircle:kp,getRadiusByUnit:Rp,addVectorSource:Dp,clusterFeatureStyle:Op,addClusterLayer:jp,setImage:Fp,panTo:Np,flyTo:Bp,setCenter:Gp,setZoom:Vp,setConstrainResolution:qp,setMaxZoom:Wp,setMinZoom:Up,exportPNG:Hp,getDistancePoint:Zp,calculateCenter:Yp,getCentroid:Xp,setControl:Kp,formatLength:Jp,formatArea:Qp,OlMap:$p},Symbol.toStringTag,{value:"Module"}));var em=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{style:{width:t.mapWidth,height:t.mapHeight},attrs:{id:t.target}},[n("a",{attrs:{id:t.downLoadId,download:t.downloadName}}),t.load?t._t("default"):t._e()],2)},nm=[];function im(t,e,n,i,r,o,a,s){var l,h="function"==typeof t?t.options:t;if(e&&(h.render=e,h.staticRenderFns=n,h._compiled=!0),i&&(h.functional=!0),o&&(h._scopeId="data-v-"+o),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!t&&"undefined"!=typeof __VUE_SSR_CONTEXT__&&(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},h._ssrRegister=l):r&&(l=s?function(){r.call(this,(h.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(h.functional){h._injectStyles=l;var u=h.render;h.render=function(t,e){return l.call(e),u(t,e)}}else{var c=h.beforeCreate;h.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:h}}em._withStripped=!0;const rm={name:"v-map",provide(){return{VMap:this}},props:{width:{type:[String,Number],default(){return"100%"}},height:{type:[String,Number],default(){return"100%"}},target:{type:String,default:"map-"+p()},view:{type:Object},controls:{type:Object},interactions:{type:Object}},computed:{mapOption(){return{target:this.target,view:this.view,controls:this.controls,interactions:this.interactions}},map(){return $p.map.map},mapWidth(){return"string"==typeof this.width?this.width:this.width.toString()+"px"},mapHeight(){return"string"==typeof this.height?this.height:this.height.toString()+"px"}},watch:{"view.center":{handler(t){t&&this.setCenter(t)},immediate:!1,deep:!0},"view.zoom":{handler(t){t&&this.setZoom(t)},immediate:!1,deep:!0},"view.constrainRotation":{handler(t){t&&this.setConstrainResolution(t)},immediate:!1,deep:!0},"view.maxZoom":{handler(t){t&&this.setMaxZoom(t)},immediate:!1,deep:!0},"view.minZoom":{handler(t){t&&this.setMinZoom(t)},immediate:!1,deep:!0},"controls.zoom":{handler(t){$p.map.mapControlsZoom&&$p.setControl("zoom",t,this.controls.zoomOptions)},immediate:!1,deep:!0},"controls.rotate":{handler(t){$p.map.mapControlsRotate&&$p.setControl("rotate",t,this.controls.rotateOptions)},immediate:!1,deep:!0},"controls.attribution":{handler(t){$p.map.mapControlsAttribution&&$p.setControl("attribution",t,this.controls.attributionOptions)},immediate:!1,deep:!0},"controls.FullScreen":{handler(t){$p.map.mapControlsFullScreen&&$p.setControl("FullScreen",t)},immediate:!1,deep:!0},"controls.ScaleLine":{handler(t){$p.map.mapControlsScaleLine&&$p.setControl("ScaleLine",t)},immediate:!1,deep:!0}},data(){return{vMap:null,load:!1,downLoadId:"download-"+p(),downloadName:"map.png",noBase:!0,properties:{isDefault:!0}}},methods:{initMap(){this.init().then(t=>{if("success"===t){const t=["singleclick","click","dblclick","pointerdrag","contextmenu","precompose","postrender","loadend","loadstart","moveend","movestart"];this.map.getView().once("change:resolution",()=>{this.map.once("moveend",t=>{this.zoomEnd(t)})}),this.map.on("pointermove",t=>{const e=this.map.getEventPixel(t.originalEvent),n=this.map.hasFeatureAtPixel(e);this.map.getTargetElement().style.cursor=n?"pointer":"",this.map.getLayers().getArray().forEach(e=>{if("graphic"===e.get("type")||"wms"===e.get("type")){const i=e.getData(t.pixel),r=i&&i[3]>0;this.map.getTargetElement().style.cursor=r||n?"pointer":""}}),this.$emit("pointermove",t,this.map)}),t.forEach(t=>{this.map.on(t,e=>{this.$emit(t,e,this.map)})}),this.$emit("load",this.map),this.load=!0}})},init(){return new Promise((t,e)=>{$p.map=new $p(this.mapOption),$p.map.map?t("success"):e(new Error("fail"))})},dispose(){this.map&&([...this.map.getLayers().getArray()].forEach(t=>{t&&t.get("users")&&(t.getSource().clear(),t.getRenderer().dispose(),t.setSource(void 0),this.map.removeLayer(t))}),this.map.disposeInternal())},zoomEnd(t){this.$emit("changeZoom",t,this.map),t.map.once("moveend",t=>{this.zoomEnd(t)})},setCenter(t){$p.setCenter(t)},setZoom(t){$p.setZoom(t)},setConstrainResolution(t){$p.setConstrainResolution(t)},setMaxZoom(t){$p.setMaxZoom(t)},setMinZoom(t){$p.setMinZoom(t)},setControl(t,e){$p.setControl(t,e)},panTo(t){$p.panTo(t)},flyTo(t){$p.flyTo(t)},getCenterByExtent(t){return ie(t)},boundingExtent(t){return Rt(t)},calculateCenter(t){return $p.calculateCenter(t)},exportPNG(t){t?t.indexOf(".png")>-1?this.downloadName=t:this.downloadName=t+".png":this.downloadName=`map-export-${p()}.png`,$p.exportPNG(this.downLoadId)},getDistancePoint(t,e,n){return $p.getDistancePoint(t,e,n)},closeOverlays(){this.map.getOverlays().forEach(t=>{t.setPosition(void 0);const e=t.get("close");e&&e()})},updateFeature(t,e,n){"style"===e&&t.setStyle(Cp(n))}},mounted(){this.initMap()},beforeDestroy(){this.dispose()}},om={};var am=im(rm,em,nm,!1,sm,null,null,null);function sm(t){for(let e in om)this[e]=om[e]}am.options.__file="src/components/map/index.vue";const lm=function(){return am.exports}();lm.install=function(t){t.component(lm.name,lm)};const hm={render(t,e){return null},props:{className:{type:String,default:"ol-layer"},opacity:{type:Number,default:1},visible:{type:Boolean,default:!0},extent:{type:Array},zIndex:{type:Number},minResolution:{type:Number},maxResolution:{type:Number},minZoom:{type:Number},maxZoom:{type:Number},title:{type:String},name:{type:String},preview:{type:String},baseLayer:{type:Boolean},properties:{type:Object,default:()=>{}}}};let um,cm;const dm={};var gm=im(hm,um,cm,!1,fm,null,null,null);function fm(t){for(let e in dm)this[e]=dm[e]}gm.options.__file="src/components/layers/BaseLayer.vue";const pm=function(){return gm.exports}(),mm=[0,0,0],ym=5;class vm{constructor(t){let e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,rt(P(this.resolutions_,(function(t,e){return e-t}),!0),17),!t.origins)for(let i=0,r=this.resolutions_.length-1;i=this.minZoom;){if(2===this.zoomFactor_?(o=Math.floor(o/2),a=Math.floor(a/2),r=Du(o,o,a,a,n)):r=this.getTileRangeForExtentAndZ(s,l,n),e(l,r))return!0;--l}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,e,n){if(t[0]this.maxZoom||e{e&&e.getState()==Rl.LOADED&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}),this.sourceTiles_.length=0,0===t.length)this.state=Rl.ERROR;else{const e=this.wrappedTileCoord_[0],n=this.targetTileGrid_.getTileSize(e),i="number"==typeof n?n:n[0],r="number"==typeof n?n:n[1],o=this.targetTileGrid_.getResolution(e),a=this.sourceTileGrid_.getResolution(this.sourceZ_),s=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=ip(i,r,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),o,s,this.triangulation_,t,this.gutter_,this.renderEdges_,this.interpolate),this.state=Rl.LOADED}this.changed()}load(){if(this.state==Rl.IDLE){this.state=Rl.LOADING,this.changed();let t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(e=>{const n=e.getState();if(n==Rl.IDLE||n==Rl.LOADING){t++;const n=G(e,B.CHANGE,(function(i){const r=e.getState();(r==Rl.LOADED||r==Rl.ERROR||r==Rl.EMPTY)&&(q(n),t--,0===t&&(this.unlistenSources_(),this.reproject_()))}),this);this.sourcesListenerKeys_.push(n)}}),0===t?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach((function(t,e,n){t.getState()==Rl.IDLE&&t.load()}))}}unlistenSources_(){this.sourcesListenerKeys_.forEach(q),this.sourcesListenerKeys_=null}release(){this.canvas_&&(Mr(this.canvas_.getContext("2d")),Jf.push(this.canvas_),this.canvas_=null),super.release()}}const bm=xm,wm={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"};function Sm(t){let e=t.getDefaultTileGrid();return e||(e=Mm(t),t.setDefaultTileGrid(e)),e}function Am(t,e,n){const i=e[0],r=t.getTileCoordCenter(e),o=Em(n);if(!Nt(o,r)){const e=ce(o),n=Math.ceil((o[0]-r[0])/e);return r[0]+=e*n,t.getTileCoordForCoordAndZ(r,i)}return e}function Cm(t,e,n,i){i=void 0!==i?i:"top-left";const r=Im(t,e,n);return new _m({extent:t,origin:re(t,i),resolutions:r,tileSize:n})}function Tm(t){const e=t||{},n=e.extent||Tn("EPSG:3857").getExtent(),i={extent:n,minZoom:e.minZoom,tileSize:e.tileSize,resolutions:Im(n,e.maxZoom,e.tileSize,e.maxResolution)};return new _m(i)}function Im(t,e,n,i){e=void 0!==e?e:Ro,n=fr(void 0!==n?n:Do);const r=se(t),o=ce(t);i=i>0?i:Math.max(o/n[0],r/n[1]);const a=e+1,s=new Array(a);for(let l=0;ln.highWaterMark&&(n.highWaterMark=t)}useTile(t,e,n,i){}}class Pm extends b{constructor(t,e){super(t),this.tile=e}}const Lm=zm;function km(t,e){const n=/\{z\}/g,i=/\{x\}/g,r=/\{y\}/g,o=/\{-y\}/g;return function(a,s,l){if(a)return t.replace(n,a[0].toString()).replace(i,a[1].toString()).replace(r,a[2].toString()).replace(o,(function(){const t=a[0],n=e.getFullTileRange(t);return rt(n,55),(n.getHeight()-a[2]-1).toString()}))}}function Rm(t,e){const n=t.length,i=new Array(n);for(let r=0;rthis.getTileInternal(t,e,n,i,o),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return f.key=u,l?(f.interimTile=l,f.refreshInterimChain(),a.replace(h,f)):a.set(h,f),f}getTileInternal(t,e,n,i,r){let o=null;const a=Iu(t,e,n),s=this.getKey();if(this.tileCache.containsKey(a)){if(o=this.tileCache.get(a),o.key!=s){const l=o;o=this.createTile_(t,e,n,i,r,s),l.getState()==Rl.IDLE?o.interimTile=l.interimTile:o.interimTile=l,o.refreshInterimChain(),this.tileCache.replace(a,o)}}else o=this.createTile_(t,e,n,i,r,s),this.tileCache.set(a,o);return o}setRenderReprojectionEdges(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear();this.changed()}}setTileGridForProjection(t,e){const n=Tn(t);if(n){const t=Y(n);t in this.tileGridForProjection||(this.tileGridForProjection[t]=e)}}clear(){super.clear();for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear()}}function Bm(t,e){t.getImage().src=e}const Gm=Nm;class Vm extends Gm{constructor(t){t=t||{};const e=void 0!==t.projection?t.projection:"EPSG:3857",n=void 0!==t.tileGrid?t.tileGrid:Tm({extent:Em(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:n,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:void 0===t.wrapX||t.wrapX,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=void 0!==t.gutter?t.gutter:0}getGutter(){return this.gutter_}}const qm=Vm;class Wm extends El{constructor(t){super({attributions:t.attributions,wrapX:t.wrapX}),this.resolution=void 0,this.distance=void 0!==t.distance?t.distance:20,this.minDistance=t.minDistance||0,this.interpolationRatio=0,this.features=[],this.geometryFunction=t.geometryFunction||function(t){const e=t.getGeometry();return rt("Point"==e.getType(),10),e},this.createCustomCluster_=t.createCluster,this.source=null,this.boundRefresh_=this.refresh.bind(this),this.updateDistance(this.distance,this.minDistance),this.setSource(t.source||null)}clear(t){this.features.length=0,super.clear(t)}getDistance(){return this.distance}getSource(){return this.source}loadFeatures(t,e,n){this.source.loadFeatures(t,e,n),e!==this.resolution&&(this.resolution=e,this.refresh())}setDistance(t){this.updateDistance(t,this.minDistance)}setMinDistance(t){this.updateDistance(this.distance,t)}getMinDistance(){return this.minDistance}setSource(t){this.source&&this.source.removeEventListener(B.CHANGE,this.boundRefresh_),this.source=t,t&&t.addEventListener(B.CHANGE,this.boundRefresh_),this.refresh()}refresh(){this.clear(),this.cluster(),this.addFeatures(this.features)}updateDistance(t,e){const n=0===t?0:Math.min(e,t)/t,i=t!==this.distance||this.interpolationRatio!==n;this.distance=t,this.minDistance=e,this.interpolationRatio=n,i&&this.refresh()}cluster(){if(void 0===this.resolution||!this.source)return;const t=qt(),e=this.distance*this.resolution,n=this.source.getFeatures(),i={};for(let r=0,o=n.length;r=0;--a){const e=this.geometryFunction(t[a]);e?tn(n,e.getCoordinates()):t.splice(a,1)}an(n,1/t.length);const i=ie(e),r=this.interpolationRatio,o=new Ei([n[0]*(1-r)+i[0]*r,n[1]*(1-r)+i[1]*r]);return this.createCustomCluster_?this.createCustomCluster_(o,t):new st({geometry:o,features:t})}}const Um=Wm,Hm=new Proxy({},{get(t,e){throw new Error(`Module "" has been externalized for browser compatibility. Cannot access ".${e}" in client code.`)}}),Zm=Object.freeze(Object.defineProperty({__proto__:null,default:Hm},Symbol.toStringTag,{value:"Module"}));function Ym(t,e){const n=[];Object.keys(e).forEach((function(t){null!==e[t]&&void 0!==e[t]&&n.push(t+"="+encodeURIComponent(e[t]))}));const i=n.join("&");return t=t.replace(/[?&]$/,""),t+=t.includes("?")?"&":"?",t+i}class Xm extends up{constructor(t){const e=void 0!==t.crossOrigin?t.crossOrigin:null,n=void 0!==t.imageLoadFunction?t.imageLoadFunction:hp;super({attributions:t.attributions,interpolate:t.interpolate,projection:Tn(t.projection)}),this.url_=t.url,this.imageExtent_=t.imageExtent,this.image_=new Da(this.imageExtent_,void 0,1,this.url_,e,n,Ir(1,1)),this.imageSize_=t.imageSize?t.imageSize:null,this.image_.addEventListener(B.CHANGE,this.handleImageChange.bind(this))}getImageExtent(){return this.imageExtent_}getImageInternal(t,e,n,i){return de(t,this.image_.getExtent())?this.image_:null}getUrl(){return this.url_}handleImageChange(t){if(this.image_.getState()==ur.LOADED){const t=this.image_.getExtent(),e=this.image_.getImage();let n,i;this.imageSize_?(n=this.imageSize_[0],i=this.imageSize_[1]):(n=e.width,i=e.height);const r=ce(t),o=se(t),a=r/n,s=o/i;let l=n,h=i;if(a>s?l=Math.round(r/s):h=Math.round(o/a),l!==n||h!==i){const t=Ir(l,h);this.getInterpolate()||(t.imageSmoothingEnabled=!1);const r=t.canvas;t.drawImage(e,0,0,n,i,0,0,r.width,r.height),this.image_.setImage(r)}}super.handleImageChange(t)}}const Km=Xm,Jm="1.3.0",Qm='© OpenStreetMap contributors.';class $m extends qm{constructor(t){let e;t=t||{},e=void 0!==t.attributions?t.attributions:[Qm];const n=void 0!==t.crossOrigin?t.crossOrigin:"anonymous",i=void 0!==t.url?t.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:e,attributionsCollapsible:!1,cacheSize:t.cacheSize,crossOrigin:n,interpolate:t.interpolate,maxZoom:void 0!==t.maxZoom?t.maxZoom:19,opaque:void 0===t.opaque||t.opaque,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:i,wrapX:t.wrapX,zDirection:t.zDirection})}}const ty=$m;class ey extends la{constructor(t){t=t||{},super(t)}}const ny=ey;class iy extends Ts{constructor(t){super(t),this.image_=null}getImage(){return this.image_?this.image_.getImage():null}prepareFrame(t){const e=t.layerStatesArray[t.layerIndex],n=t.pixelRatio,i=t.viewState,r=i.resolution,o=this.getLayer().getSource(),a=t.viewHints;let s=t.extent;if(void 0!==e.extent&&(s=le(s,qn(e.extent,i.projection))),!a[Lo.ANIMATING]&&!a[Lo.INTERACTING]&&!ge(s))if(o){const t=i.projection,e=o.getImage(s,r,n,t);e&&(this.loadImage(e)?this.image_=e:e.getState()===ur.EMPTY&&(this.image_=null))}else this.image_=null;return!!this.image_}getData(t){const e=this.frameState;if(!e)return null;const n=this.getLayer(),i=St(e.pixelToCoordinateTransform,t.slice()),r=n.getExtent();if(r&&!Nt(r,i))return null;const o=this.image_.getExtent(),a=this.getImage(),s=ce(o),l=Math.floor(a.width*((i[0]-o[0])/s));if(l<0||l>=a.width)return null;const h=se(o),u=Math.floor(a.height*((o[3]-i[1])/h));return u<0||u>=a.height?null:this.getImageData(a,l,u)}renderFrame(t,e){const n=this.image_,i=n.getExtent(),r=n.getResolution(),o=n.getPixelRatio(),a=t.layerStatesArray[t.layerIndex],s=t.pixelRatio,l=t.viewState,h=l.center,u=l.resolution,c=s*r/(u*o),d=t.extent,g=l.resolution,f=l.rotation,p=Math.round(ce(d)/g*s),m=Math.round(se(d)/g*s);Mt(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/s,1/s,f,-p/2,-m/2),Et(this.inversePixelTransform,this.pixelTransform);const y=Lt(this.pixelTransform);this.useContainer(e,y,this.getBackground(t));const v=this.context,_=v.canvas;_.width!=p||_.height!=m?(_.width=p,_.height=m):this.containerReused||v.clearRect(0,0,p,m);let x=!1,b=!0;if(a.extent){const e=qn(a.extent,l.projection);b=de(e,t.extent),x=b&&!Bt(e,t.extent),x&&this.clipUnrotated(v,t,e)}const w=this.getImage(),S=Mt(this.tempTransform,p/2,m/2,c,c,0,o*(i[0]-h[0])/r,o*(h[1]-i[3])/r);this.renderedResolution=r*s/o;const A=w.width*S[0],C=w.height*S[3];if(this.getLayer().getSource().getInterpolate()||(v.imageSmoothingEnabled=!1),this.preRender(v,t),b&&A>=.5&&C>=.5){const t=S[4],e=S[5],n=a.opacity;let i;1!==n&&(i=v.globalAlpha,v.globalAlpha=n),v.drawImage(w,0,0,+w.width,+w.height,t,e,A,C),1!==n&&(v.globalAlpha=i)}return this.postRender(v,t),x&&v.restore(),v.imageSmoothingEnabled=!0,y!==_.style.transform&&(_.style.transform=y),this.container}}const ry=iy;class oy extends ny{constructor(t){super(t)}createRenderer(){return new ry(this)}getData(t){return super.getData(t)}}const ay=oy,sy={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class ly extends la{constructor(t){t=t||{};const e=Object.assign({},t);delete e.preload,delete e.useInterimTilesOnError,super(e),this.on,this.once,this.un,this.setPreload(void 0!==t.preload?t.preload:0),this.setUseInterimTilesOnError(void 0===t.useInterimTilesOnError||t.useInterimTilesOnError)}getPreload(){return this.get(sy.PRELOAD)}setPreload(t){this.set(sy.PRELOAD,t)}getUseInterimTilesOnError(){return this.get(sy.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(t){this.set(sy.USE_INTERIM_TILES_ON_ERROR,t)}getData(t){return super.getData(t)}}const hy=ly;class uy extends Ts{constructor(t){super(t),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=qt(),this.tmpTileRange_=new Ou(0,0,0,0)}isDrawableTile(t){const e=this.getLayer(),n=t.getState(),i=e.getUseInterimTilesOnError();return n==Rl.LOADED||n==Rl.EMPTY||n==Rl.ERROR&&!i}getTile(t,e,n,i){const r=i.pixelRatio,o=i.viewState.projection,a=this.getLayer();let s=a.getSource().getTile(t,e,n,r,o);return s.getState()==Rl.ERROR&&a.getUseInterimTilesOnError()&&a.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(s)||(s=s.getInterimTile()),s}getData(t){const e=this.frameState;if(!e)return null;const n=this.getLayer(),i=St(e.pixelToCoordinateTransform,t.slice()),r=n.getExtent();if(r&&!Nt(r,i))return null;const o=e.pixelRatio,a=e.viewState.projection,s=e.viewState,l=n.getRenderSource(),h=l.getTileGridForProjection(s.projection),u=l.getTilePixelRatio(e.pixelRatio);for(let c=h.getZForResolution(s.resolution);c>=h.getMinZoom();--c){const t=h.getTileCoordForCoordAndZ(i,c),e=l.getTile(c,t[1],t[2],o,a);if(!(e instanceof Nl||e instanceof bm)||e instanceof bm&&e.getState()===Rl.EMPTY)return null;if(e.getState()!==Rl.LOADED)continue;const n=h.getOrigin(c),r=fr(h.getTileSize(c)),d=h.getResolution(c),g=Math.floor(u*((i[0]-n[0])/d-t[1]*r[0])),f=Math.floor(u*((n[1]-i[1])/d-t[2]*r[1])),p=Math.round(u*l.getGutterForProjection(s.projection));return this.getImageData(e.getImage(),g+p,f+p)}return null}loadedTileCallback(t,e,n){return!!this.isDrawableTile(n)&&super.loadedTileCallback(t,e,n)}prepareFrame(t){return!!this.getLayer().getSource()}renderFrame(t,e){const n=t.layerStatesArray[t.layerIndex],i=t.viewState,r=i.projection,o=i.resolution,a=i.center,s=i.rotation,l=t.pixelRatio,h=this.getLayer(),u=h.getSource(),c=u.getRevision(),d=u.getTileGridForProjection(r),g=d.getZForResolution(o,u.zDirection),f=d.getResolution(g);let p=t.extent;const m=t.viewState.resolution,y=u.getTilePixelRatio(l),v=Math.round(ce(p)/m*l),_=Math.round(se(p)/m*l),x=n.extent&&qn(n.extent);x&&(p=le(p,qn(n.extent)));const b=f*v/2/y,w=f*_/2/y,S=[a[0]-b,a[1]-w,a[0]+b,a[1]+w],A=d.getTileRangeForExtentAndZ(p,g),C={};C[g]={};const I=this.createLoadedTileFinder(u,r,C),M=this.tmpExtent,E=this.tmpTileRange_;this.newTiles_=!1;const z=s?ae(i.center,m,s,t.size):void 0;for(let T=A.minX;T<=A.maxX;++T)for(let e=A.minY;e<=A.maxY;++e){if(s&&!d.tileCoordIntersectsViewport([g,T,e],z))continue;const i=this.getTile(g,T,e,t);if(this.isDrawableTile(i)){const e=Y(this);if(i.getState()==Rl.LOADED){C[g][i.tileCoord.toString()]=i;let t=i.inTransition(e);t&&1!==n.opacity&&(i.endTransition(e),t=!1),!this.newTiles_&&(t||!this.renderedTiles.includes(i))&&(this.newTiles_=!0)}if(1===i.getAlpha(e,t.time))continue}const r=d.getTileCoordChildTileRange(i.tileCoord,E,M);let o=!1;r&&(o=I(g+1,r)),o||d.forEachTileCoordParentTileRange(i.tileCoord,I,E,M)}const P=f/o*l/y;Mt(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/l,1/l,s,-v/2,-_/2);const L=Lt(this.pixelTransform);this.useContainer(e,L,this.getBackground(t));const k=this.context,R=k.canvas;Et(this.inversePixelTransform,this.pixelTransform),Mt(this.tempTransform,v/2,_/2,P,P,0,-v/2,-_/2),R.width!=v||R.height!=_?(R.width=v,R.height=_):this.containerReused||k.clearRect(0,0,v,_),x&&this.clipUnrotated(k,t,x),u.getInterpolate()||(k.imageSmoothingEnabled=!1),this.preRender(k,t),this.renderedTiles.length=0;let D,O,j,F=Object.keys(C).map(Number);F.sort(T),1!==n.opacity||this.containerReused&&!u.getOpaque(t.viewState.projection)?(D=[],O=[]):F=F.reverse();for(let T=F.length-1;T>=0;--T){const e=F[T],n=u.getTilePixelSize(e,l,r),i=d.getResolution(e)/f,o=n[0]*i*P,a=n[1]*i*P,s=d.getTileCoordForCoordAndZ(he(S),e),h=d.getTileCoordExtent(s),c=St(this.tempTransform,[y*(h[0]-S[0])/f,y*(S[3]-h[3])/f]),p=y*u.getGutterForProjection(r),m=C[e];for(const r in m){const n=m[r],i=n.tileCoord,l=s[1]-i[1],h=Math.round(c[0]-(l-1)*o),d=s[2]-i[2],f=Math.round(c[1]-(d-1)*a),y=Math.round(c[0]-l*o),v=Math.round(c[1]-d*a),_=h-y,x=f-v,b=g===e,w=b&&1!==n.getAlpha(Y(this),t.time);let S=!1;if(!w)if(D){j=[y,v,y+_,v,y+_,v+x,y,v+x];for(let t=0,n=D.length;t=0}tileUrlFunction(t,e,n){let i=this.getTileGrid();if(i||(i=this.getTileGridForProjection(n)),i.getResolutions().length<=t[0])return;1!=e&&(!this.hidpi_||void 0===this.serverType_)&&(e=1);const r=i.getResolution(t[0]);let o=i.getTileCoordExtent(t,this.tmpExtent_),a=fr(i.getTileSize(t[0]),this.tmpSize);const s=this.gutter_;0!==s&&(a=cr(a,s,this.tmpSize),o=Ot(o,r*s,o)),1!=e&&(a=gr(a,e,this.tmpSize));const l={SERVICE:"WMS",VERSION:Jm,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};return Object.assign(l,this.params_),this.getRequestUrl_(t,a,o,e,n,l)}}const yy=my;var vy=class extends Q{constructor(t){super(t),this._listener=[],t&&!1===t.active?this.set("active",!1):this.set("active",!0)}setActive(t){this.set("active",!0===t)}getActive(){return this.get("active")}};(function(){function t(t){this.get("active")&&t.context&&this.precompose(t)}function e(t){this.get("active")&&t.context&&this.postcompose(t)}function n(){if(this.renderSync)try{this.renderSync()}catch(t){}else this.changed()}function i(i){this.filters_||(this.filters_=[]),this.filters_.push(i),i.addToLayer&&i.addToLayer(this),i.precompose&&i._listener.push({listener:this.on(["precompose","prerender"],t.bind(i)),target:this}),i.postcompose&&i._listener.push({listener:this.on(["postcompose","postrender"],e.bind(i)),target:this}),i._listener.push({listener:i.on("propertychange",n.bind(this)),target:this}),n.call(this)}function r(t){var e;if(this.filters_||(this.filters_=[]),t){for(e=this.filters_.length-1;e>=0;e--)this.filters_[e]===t&&this.filters_.splice(e,1);for(e=t._listener.length-1;e>=0;e--)t._listener[e].target===this&&(t.removeFromLayer&&t.removeFromLayer(this),U(t._listener[e].listener),t._listener.splice(e,1));n.call(this)}else this.filters_.forEach(function(t){this.removeFilter(t)}.bind(this))}xu.prototype.addFilter=function(t){i.call(this,t)},xu.prototype.removeFilter=function(t){r.call(this,t)},xu.prototype.getFilters=function(){return this.filters_||[]},Po.prototype.addFilter=function(t){i.call(this,t)},Po.prototype.removeFilter=function(t){r.call(this,t)},Po.prototype.getFilters=function(){return this.filters_||[]}})();var _y=class extends vy{constructor(t){if(t=t||{},super(t),t.feature)switch(t.feature.getGeometry().getType()){case"Polygon":case"MultiPolygon":this.feature_=t.feature;break}this.set("inner",t.inner),this._fillColor=t.fill&&_r(t.fill.getColor())||"rgba(0,0,0,0.2)",this._shadowColor=t.shadowColor&&_r(t.shadowColor)||"rgba(0,0,0,0.5)",this.set("shadowWidth",t.shadowWidth||0),this.set("shadowMapUnits",!0===t.shadowMapUnits)}setFillColor(t){this._fillColor=t&&_r(t)||"rgba(0,0,0,0.2)"}setShadowColor(t){this._shadowColor=t&&_r(t)||"rgba(0,0,0,0.5)"}drawFeaturePath_(t,e){var n,i=t.context,r=i.canvas,o=t.frameState.pixelRatio;if(t.frameState.coordinateToPixelTransform){var a=t.frameState.coordinateToPixelTransform;if(t.inversePixelTransform){var s=t.inversePixelTransform;n=function(t){return t=[t[0]*a[0]+t[1]*a[1]+a[4],t[0]*a[2]+t[1]*a[3]+a[5]],[t[0]*s[0]-t[1]*s[1]+s[4],-t[0]*s[2]+t[1]*s[3]+s[5]]}}else n=function(t){return[(t[0]*a[0]+t[1]*a[1]+a[4])*o,(t[0]*a[2]+t[1]*a[3]+a[5])*o]}}else a=t.frameState.coordinateToPixelMatrix,n=function(t){return[(t[0]*a[0]+t[1]*a[1]+a[12])*o,(t[0]*a[4]+t[1]*a[5]+a[13])*o]};var l=this.feature_.getGeometry().getCoordinates();function h(t){for(var e=0;em&&([p,m]=[m,p]);for(var y=p;y<=m;y++)h(y*c)}else h(0)}postcompose(t){if(this.feature_){var e=t.context;if(e.save(),this.drawFeaturePath_(t,!this.get("inner")),e.fillStyle=this._fillColor,e.fill("evenodd"),this.get("shadowWidth")){var n=this.get("shadowWidth")*t.frameState.pixelRatio;this.get("shadowMapUnits")&&(n/=t.frameState.viewState.resolution),e.clip("evenodd"),e.filter="blur("+n+"px)",e.strokeStyle=this._shadowColor,e.lineCap="round",e.lineJoin="round",e.lineWidth=n,e.stroke()}e.restore()}}};const xy={name:"v-tile",render(t,e){return null},extends:pm,inject:["VMap"],props:{layerId:{type:String,default(){return"tile-layer-"+p()}},preload:{type:Number,default:0},tileType:{type:String,default:"TD",validator:t=>["TD","TD_IMG","XYZ","BD","BD_DARK","BD_BLUE","GD","GD_IMG","OSM","WMS","ARCGIS_BLUE","ARCGIS_WARM","ARCGIS_NORMAL","ARCGIS_GRAY","PGIS_XM_GA","PGIS_XM_GA_IMG","FJ_BLUE","FJ_BLUE_GA"].includes(t.toUpperCase())},tdVec:{type:String},tdCva:{type:String},tdImg:{type:String},tdCia:{type:String},gdUrl:{type:String},base:{type:Boolean,default:!0},xyz:{type:Object,default(){return{}}},tileArcGISRest:{type:Object,default(){return{}}},wms:{type:Object,default(){}},mask:{type:Object}},data(){return{layer:null,layers:[],addForOverview:!1,filterMask:null}},computed:{map(){return this.VMap.map}},watch:{tileType:{handler(t,e){t&&t!==e&&(this.clear(e),this.init())},immediate:!1,deep:!0},visible:{handler(t){this.layers.map(e=>e.setVisible(t))},immediate:!1},zIndex:{handler(t){this.layers.map(e=>e.setZIndex(t))},immediate:!1},maxZoom:{handler(t){this.layers.map(e=>e.setMaxZoom(t))},immediate:!1},minZoom:{handler(t){this.layers.map(e=>e.setMinZoom(t))},immediate:!1},extent:{handler(t){this.layers.map(e=>e.setExtent(t))},immediate:!1},"xyz.attributions":{handler(t){this.layers.map(e=>e.getSource().setAttributions(t))},immediate:!1,deep:!0},mask:{handler(t,e){t&&t!==e?this.layers.forEach(t=>{t.removeFilter(this.filterMask),this.addMask(t,this.mask)}):t||this.layers.forEach(t=>{t.removeFilter(this.filterMask)})},immediate:!1,deep:!0}},methods:{clear(t){const e=this.map.getLayers().getArray().filter(t=>t.get("base"));e&&e.length>0&&e.forEach(e=>{(e.get("tileType")===t||e.get("isDefault"))&&this.map.removeLayer(e)})},init(){switch(this.tileType.toUpperCase()){case"XYZ":this.initTileXYZ();break;case"PGIS_XM_GA":this.initTilePGISXMGA();break;case"FJ_BLUE":this.initTileFJBlue();break;case"FJ_BLUE_GA":this.initTileFJBlueGA();break;case"WMS":this.initTileWMS();break;case"TD":this.initTD();break;case"TD_IMG":this.initTDIMG();break;case"BD":this.initBD();break;case"BD_BLUE":this.initBD("midnight");break;case"BD_DARK":this.initBD("dark");break;case"ARCGISREST":this.initTileArcGISRest();break;case"ARCGIS_BLUE":this.initArcgisTile("blue");break;case"ARCGIS_WARM":this.initArcgisTile("warm");break;case"ARCGIS_NORMAL":this.initArcgisTile("normal");break;case"ARCGIS_GRAY":this.initArcgisTile("gray");break;case"GD":this.initGD();break;case"GD_IMG":this.initAMapImage();break;case"OSM":this.initTileOSM();break;default:this.initTD();break}},initTileArcGISRest(){let t;_p(this.tileArcGISRest,"tileGrid")&&(t=new _m(this.tileArcGISRest.tileGrid));const e=d(c({},this.tileArcGISRest),{tileGrid:t}),n=new py(e),i=d(c({},this.$props),{source:n});this.layer=new gy(i),this.layer.set("base",this.base),this.layers=[this.layer],this.addForOverview||this.layers.forEach(t=>{this.mask&&Object.keys(this.mask).length>0&&this.addMask(t,this.mask),this.map.addLayer(t)})},initTileXYZ(){let t;_p(this.xyz,"tileGrid")&&(t=new _m(this.xyz.tileGrid));const e=d(c({},this.xyz),{tileGrid:t}),n=new qm(e),i=d(c({},this.$props),{source:n});this.layer=new gy(i),this.layer.set("base",this.base),this.zIndex&&this.layer.setZIndex(this.zIndex),this.layers=[this.layer],this.addForOverview||this.layers.forEach(t=>{this.mask&&Object.keys(this.mask).length>0&&this.addMask(this.mask),this.map.addLayer(t)})},initTileFJBlue(){const t="http://172.16.28.120:6080/arcgis/rest/services/xiamen/MapServer/tile";this.layer=this.initXYZbyURL(t+"/{z}/{y}/{x}",{projection:"EPSG:4326"}),this.layers=[this.layer],this.addForOverview||this.layers.forEach(t=>{this.zIndex&&t.setZIndex(this.zIndex),this.map.addLayer(t)})},initTileFJBlueGA(){const t="http://10.130.145.45:5001/xmblue";this.layer=this.initXYZbyURL(t+"/{z}/{y}/{x}.png",{projection:"EPSG:4326"}),this.layers=[this.layer],this.addForOverview||this.layers.forEach(t=>{this.zIndex&&t.setZIndex(this.zIndex),this.map.addLayer(t)})},initTilePGISXMGA(){const t={projection:"EPSG:4326",tileUrlFunction:function(t){if(!t)return"";const e=t[0],n=t[1],i=t[2];return`http://44.64.18.11/Tile_sl2019/40219e3adef540b4b3d0b9b5e1d66c53/EzMap?Service=getImage&Type=RGB&ZoomOffset=0&Col=${n}&Row=${i}&Zoom=${e}&V=1.0.0`},crossOrigin:"anonymous"},e=new qm(t),n=d(c({},this.$props),{source:e});this.layer=new gy(n),this.layers=[this.layer],this.addForOverview||this.layers.forEach(t=>{this.zIndex&&t.setZIndex(this.zIndex),this.map.addLayer(t)})},initTileWMS(){let t;_p(this.wms,"tileGrid")&&(t=new _m(this.wms.tileGrid));const e=d(c({},this.wms),{tileGrid:t}),n=new yy(e),i=d(c({},this.$props),{source:n});this.layer=new gy(i),this.layer.set("base",this.base),this.layer.set("type","wms"),this.zIndex&&this.layer.setZIndex(this.zIndex),this.layers=[this.layer],this.addForOverview||this.layers.forEach(t=>{this.mask&&Object.keys(this.mask).length>0&&this.addMask(t,this.mask),this.map.addLayer(t)})},initTD(){const t=this.initXYZbyURL(this.tdVec||"https://t4.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=88e2f1d5ab64a7477a7361edd6b5f68a"),e=this.initXYZbyURL(this.tdCva||"https://t3.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=88e2f1d5ab64a7477a7361edd6b5f68a");this.layers=[t,e],this.addForOverview||this.layers.forEach(t=>{this.zIndex&&t.setZIndex(this.zIndex),this.map.addLayer(t)})},initXYZbyURL(t,e={}){const n=d(c({crossOrigin:"anonymous"},this.$props.xyz),{url:t}),i=new qm(c(c({},n),e)),r=d(c({},this.$props),{source:i}),o=new gy(r);return o.set("base",!0),this.zIndex&&o.setZIndex(this.zIndex),this.mask&&Object.keys(this.mask).length>0&&this.addMask(o,this.mask),o},initTDIMG(){const t=this.initXYZbyURL(this.tdImg||"https://t4.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=88e2f1d5ab64a7477a7361edd6b5f68a"),e=this.initXYZbyURL(this.tdCia||"https://t3.tianditu.gov.cn/DataServer?T=cia_w&x={x}&y={y}&l={z}&tk=88e2f1d5ab64a7477a7361edd6b5f68a");this.layers=[t,e],this.addForOverview||this.layers.forEach(t=>{this.map.addLayer(t)})},initArcgisTile(t){let e="";switch(t){case"blue":e="http:",e+="//map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetPurplishBlue/MapServer/tile/";break;case"warm":e="http:",e+="//cache1.arcgisonline.cn/arcgis/rest/services/ChinaOnlineStreetWarm/MapServer/tile";break;case"normal":e="http:",e+="//cache1.arcgisonline.cn/arcgis/rest/services/ChinaOnlineCommunity/MapServer/tile";break;case"gray":e="http:",e+="//cache1.arcgisonline.cn/arcgis/rest/services/ChinaOnlineStreetGray/MapServer/tile";break;default:e="http:",e+="//cache1.arcgisonline.cn/arcgarcgis/rest/services/ChinaOnlineCommunity/MapServer/tile";break}this.layer=this.initXYZbyURL(e+"/{z}/{y}/{x}",{projection:"GCJ02"}),this.layers=[this.layer],this.addForOverview||this.layers.forEach(t=>{this.zIndex&&t.setZIndex(this.zIndex),this.map.addLayer(t)})},initBD(t){this.layers=this.getBDMap(this.xyz,this.$props,t),this.layers.length>0&&(this.addForOverview||this.layers.forEach(t=>{this.mask&&Object.keys(this.mask).length>0&&this.addMask(t,this.mask),this.map.addLayer(t)}))},getBDMap(t,e,n=""){const i=[];for(let h=0;h<19;h++)i[h]=Math.pow(2,18-h);const r=new _m({origin:[0,0],resolutions:i}),o=d(c({},t),{projection:"baidu",tileGrid:r,tileUrlFunction:function(t,e,i){if(!t)return"";const r=t[0],o=t[1],a=-t[2]-1;return n?"http://api0.map.bdimg.com/customimage/tile?&x="+o+"&y="+a+"&z="+r+"udt=20220819&scale=1&ak=5ieMMexWmzB9jivTq6oCRX9j&customid="+n:"https://maponline1.bdimg.com/tile/?qt=vtile&x="+o+"&y="+a+"&z="+r+"&styles=pl&scaler=1&udt=20220113&from=jsapi2_0"},crossOrigin:"anonymous"}),a=new qm(o),s=d(c({},e),{source:a}),l=new gy(s);return l.set("type","bd"),l.set("name","bd"),l.set("base",!0),this.zIndex&&l.setZIndex(this.zIndex),[l]},initGD(){this.layers=[this.getAMap(this.xyz,this.$props,this.gdUrl)],this.addForOverview||this.layers.forEach(t=>{this.mask&&Object.keys(this.mask).length>0&&this.addMask(t,this.mask),this.map.addLayer(t)})},initAMapImage(){this.layers=[this.getAMap(this.xyz,this.$props,"https://wprd0{1-4}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=6"),this.getAMap(this.xyz,this.$props,"https://wprd0{1-4}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=8")],this.addForOverview||this.layers.forEach(t=>{this.mask&&Object.keys(this.mask).length>0&&this.addMask(t,this.mask),this.map.addLayer(t)})},getAMap(t,e,n){const i=d(c({},t),{url:n||"https://wprd0{1-4}.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=7",projection:vp,crossOrigin:"anonymous"}),r=new qm(i),o=d(c({},e),{source:r}),a=new gy(o);return a.set("type","AMap"),a.set("name","AMap"),a.set("base",!0),this.zIndex&&a.setZIndex(this.zIndex),a},initTileOSM(){const t=new ty,e=d(c({},this.$props),{source:t});this.layer=new gy(e),this.layer.set("base",this.base),this.layers=[this.layer],this.addForOverview||this.layers.forEach(t=>{this.mask&&Object.keys(this.mask).length>0&&this.addMask(t,this.mask),this.zIndex&&t.setZIndex(this.zIndex),this.map.addLayer(t)})},addMask(t,e){const n={feature:e.feature,wrapX:e.wrapX||!0,inner:e.inner||!1,shadowWidth:e.shadowWidth||0,fill:e.fill||"rgba(255, 255, 255, 0.8)"},i=Mp(n.feature,this.map);this.filterMask=new _y({feature:i,wrapX:n.wrapX||!0,inner:n.inner||!1,fill:new er({color:n.fill})}),this.filterMask.set("shadowWidth",n.shadowWidth||0),t.addFilter(this.filterMask)}},updated(){this.init()},mounted(){this.init()},beforeDestroy(){this.layers.forEach(t=>{t.getSource().clear(),this.map.removeLayer(t)})}};let by,wy;const Sy={};var Ay=im(xy,by,wy,!1,Cy,null,null,null);function Cy(t){for(let e in Sy)this[e]=Sy[e]}Ay.options.__file="src/components/layers/tile/index.vue";const Ty=function(){return Ay.exports}(),Iy={name:"v-overview",render(t,e){return null},extends:Ty,inject:["VMap"],props:{className:{type:String},collapsed:{type:Boolean},collapseLabel:{type:String},collapsible:{type:Boolean},render:{type:Function},rotateWithView:{type:Boolean},target:{type:String},tipLabel:{type:String},view:{type:Object}},computed:{map(){return this.VMap.map}},watch:{tileType:{handler(t,e){t&&t!==e&&(this.clearLayer(e),this.initLayers(),this.initOverview())},immediate:!1,deep:!0},rotateWithView:{handler(t){this.overview.setRotateWithView(t)},immediate:!1},collapsed:{handler(t){this.overview.setCollapsed(t)},immediate:!1},collapsible:{handler(t){this.overview.setCollapsible(t)},immediate:!1}},data(){return{overview:null}},methods:{initLayers(){this.addForOverview=!0,this.init()},clearLayer(t){const e=this.overview.getOverviewMap().getLayers().getArray().filter(t=>t.get("base"));e&&e.length>0&&e.forEach(e=>{(e.get("tileType")===t||e.get("isDefault"))&&this.overview.getOverviewMap().removeLayer(e)})},initOverview(){const t=c({constrainResolution:!1,projection:"EPSG:4326"},this.view),e=d(c({},this.$props),{view:new oa(t),layers:this.layers});this.overview=new Kc(e),this.map.addControl(this.overview)}},mounted(){this.initLayers(),this.initOverview()},beforeDestroy(){this.addForOverview=!1,this.map.removeControl(this.overview)}};let My,Ey;const zy={};var Py=im(Iy,My,Ey,!1,Ly,null,null,null);function Ly(t){for(let e in zy)this[e]=zy[e]}Py.options.__file="src/components/overviewMap/index.vue";const ky=function(){return Py.exports}();ky.install=t=>{t.component(ky.name,ky)};var Ry=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.className,attrs:{id:t.element}},[t._t("default",null,{data:t.data})],2)},Dy=[];Ry._withStripped=!0;const Oy={name:"v-overlay",inject:["VMap"],props:{overlayId:{type:String,default(){return"overlay-id-"+p()}},element:{type:String,default(){return"overlay-el-"+p()}},position:{type:[Array,void 0],default(){}},positioning:{type:String},offset:{type:Array,default(){return[0,0]}},autoPan:{type:Boolean,default:!1},className:{type:[String,Array]},data:{type:Array},close:{type:Function}},data(){return{overlay:null}},computed:{map(){return this.VMap.map}},watch:{position:{handler(t){this.overlay.setPosition(t)},immediate:!1},positioning:{handler(t){this.overlay.setPositioning(t)},immediate:!1},offset:{handler(t){this.overlay.setOffset(t)},immediate:!1}},methods:{setPosition(t){this.overlay.setPosition(t)}},mounted(){let t;"string"==typeof this.element&&(t=document.getElementById(this.element.toString()));const e=d(c({},this.$props),{id:this.overlayId,element:t});this.overlay=new Su(e);for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.overlay.set(n,e[n]);this.map.addOverlay(this.overlay),this.$emit("load",this.overlay,this.map)},beforeDestroy(){this.map.removeOverlay(this.overlay)}},jy={};var Fy=im(Oy,Ry,Dy,!1,Ny,null,null,null);function Ny(t){for(let e in jy)this[e]=jy[e]}Fy.options.__file="src/components/overlay/index.vue";const By=function(){return Fy.exports}();By.install=t=>{t.component(By.name,By)},Ty.install=function(t){t.component(Ty.name,Ty)};const Gy=function(t){let e=0;for(let n=0,i=t.length-1;nt.y&&e.x===t.x?a=Math.PI/2:e.y===t.y&&e.xt.x?a=0:e.y>t.y&&e.x>t.x?a=o:e.y>t.y&&e.xt.x&&(a=2*Math.PI-o),a},qy=function(t){const e=t.map,n=t.pixel,i=t.coordinates,r=[];for(let o=0;o{const{map:e,source:n,icon:i}=t,r={pixel:t.pixel||50,coordinates:t.coordinates,map:e},o=qy(r),a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABfUlEQVQ4T3WTTSvFYRDFf8dLKIqytFckthTpJkQWlyhF2fgEVr6BheytpChEsqB08xbZWPgOJAs7ieRlNMzV//75P7vnmZkz58ycR2ZWD7QBF5KM1DGzTuBO0k065neZ2S3QBGwAU5I+iolmNgrsAI9An6SrNIgDnAE9EdgFJiS9+93MuoEToBx4AgYkXSZBHKAWOAS6IrAP5CW9BUge2AIqgJdg8guiSKoBDoDeDJBhwNlVBsiQpNPvGST0VgF7TjPeCsCIpNdo0g84O2fibx4r/AJEUjVwlJDjXbybU/eZjAGbMROXmC8BiKQ64BxoDyYLkuYTTCeB9WD/9B9AA3AMdGQAzALLAfCcluDF3r01itMS5oDFiP3MIUHNi90T7ko/XjyYGOIMsFJSXByimTVGQbFzegOuew0o+7PGKL4AmjM8MA2shua/RjIzX1suw8pucZfiUjOt/AC4BHfaeOoz+d63oziX9Zla3CzAkqTP9G8zM4/dS7r+7zt/Aaattn1kX8VgAAAAAElFTkSuQmCC",s=.5;for(let l=0;l{if(!t.map||!t.coordinates||t.coordinates.length<2)return;const{source:e}=t;Wy(d(c({},t),{source:e}))};function Hy(t){const e=t.frameState,n=xt(t.inversePixelTransform.slice(),e.coordinateToPixelTransform);return new Us(t.context,e.pixelRatio,e.extent,n,e.viewState.rotation)}window.ol&&(ol.util?ol.util.VERSION||(ol.util.VERSION=ol.VERSION||"6.1.0"):ol.util={VERSION:ol.VERSION||"5.3.0"});var Zy=X.split(".");Zy=100*parseInt(Zy[0])+parseInt(Zy[1]);var Yy=function(t,e){var n=t.frameState.pixelRatio;if(Zy>605&&1!==n&&e.getImage()instanceof Ba){e=e.clone();var i=e.getImage();i.setScale(i.getScale()*n);var r=i.getAnchor();if(i.setDisplacement){var o=i.getDisplacement();o&&(o[0]-=r[0]/n,o[1]+=r[1]/n,i.setAnchor([0,0]))}else r&&(r[0]/=n,r[1]/=n)}return e},Xy=class extends Q{constructor(t){t=t||{},super(),this.duration_="number"==typeof t.duration?t.duration>=0?t.duration:0:1e3,this.fade_="function"==typeof t.fade?t.fade:null,this.repeat_=Number(t.repeat);var e="function"==typeof t.easing?t.easing:Ko;t.revers?this.easing_=function(t){return 1-e(t)}:this.easing_=e,this.hiddenStyle=t.hiddenStyle}drawGeom_(t,e,n){this.fade_&&(t.context.globalAlpha=this.fade_(1-t.elapsed));for(var i=t.style,r=0;r=0;l--)0===e[l].duration_&&e.splice(l,1);var h=0,u=0,c=n&&this.getFilters?this.getFilters():[];function d(n){s.type=n.type;try{s.vectorContext=n.vectorContext||Hy(n)}catch(o){}if(s.frameState=n.frameState,s.inversePixelTransform=n.inversePixelTransform,s.extent||(s.extent=n.frameState.extent,s.start=n.frameState.time,s.context=n.context),s.time=n.frameState.time-s.start,s.elapsed=s.time/e[u].duration_,s.elapsed>1&&(s.elapsed=1),n.context.save(),c.forEach((function(t){t.get("active")&&t.precompose(n)})),this.getOpacity&&(n.context.globalAlpha=this.getOpacity()),e[u].animate(s)){var i={type:"animating",step:u,start:s.start,time:s.time,elapsed:s.elapsed,rotation:s.rotation||0,geom:s.geom,coordinate:s.coord,feature:t,extra:s.extra||{}};e[u].dispatchEvent(i),r.dispatchEvent(i)}else h++,h0);this.clusterObj.getSource().addFeatures(n),this.$emit("change",n)}else{const e=this.layer.getSource();e.clear();const i=Ip(t,this.map,this.FeatureStyle&&(null==(n=Object.keys(this.FeatureStyle))?void 0:n.length)>0);i.forEach(t=>{"polyline"===t.type&&_p(t,"arrow")&&Uy(c({coordinates:t.coordinates,map:this.map,source:e},t.arrow))}),e.addFeatures(i),this.$emit("change",i)}this.modify&&this.setModify(),this.setFlashAnimate(),this.flashTime&&(this.flashInterval=setInterval(()=>{this.setFlashAnimate()},this.flashTime))},immediate:!1,deep:!0},visible:{handler(t){this.layer.setVisible(t)},immediate:!1},zIndex:{handler(t){this.layer.setZIndex(t)},immediate:!1},maxZoom:{handler(t){this.layer.setMaxZoom(t)},immediate:!1},minZoom:{handler(t){this.layer.setMinZoom(t)},immediate:!1},extent:{handler(t){this.layer.setExtent(t)},immediate:!1,deep:!0},modify:{handler(t){t?this.setModify():(this.selectObj&&(this.map.removeInteraction(this.selectObj),this.selectObj=null),this.modifyObj&&(this.map.removeInteraction(this.modifyObj),this.modifyObj=null))},immediate:!1}},methods:{init(t){const e=Dp(this.source,this.map);if(this.features.length>0){e.clear();const t=Ip(this.features,this.map,this.FeatureStyle&&Object.keys(this.FeatureStyle).length>0);e.addFeatures(t)}if(this.cluster){let t={};t="boolean"==typeof this.cluster&&this.cluster?c(c({},t),this.clusterDefault):this.cluster;const n=d(c({},t),{source:e});this.clusterObj=new Um(n),this.layerOpt=d(c({},this.$props),{source:this.clusterObj,style:n.style}),this.layer=jp(this.layerOpt,this.map),this.layer.set("cluster",!0),this.layer.set("overlay",this.overlay)}else this.layerOpt=d(c({},this.$props),{source:e}),this.layer=new pl(this.layerOpt),this.layer.setStyle(t=>t.get("style")?Tp(t,t.get("style"),this.map):this.FeatureStyle&&Object.keys(this.FeatureStyle).length>0?Cp(this.FeatureStyle):Cp({fill:{color:"rgba(67,126,255,0.15)"},stroke:{color:"rgba(67,126,255,1)",width:1}}));this.layer.set("id",this.layerId),this.layer.set("type","vector"),this.layer.set("users",!0),this.zIndex&&this.layer.setZIndex(this.zIndex),this.map.addLayer(this.layer),this.features.forEach(t=>{("polyline"===t.type||"Polyline"===t.type||"LineString"===t.type)&&_p(t,"arrow")&&Uy(c({coordinates:t.coordinates,map:this.map,source:e},t.arrow))}),this.map.getView().on("change:resolution",()=>{const t=this.map.getView().getZoom();e.getFeatures().forEach(t=>{t.get("isArrow")&&this.layer.getSource().removeFeature(t)}),Math.round(t)===t&&this.features.forEach(t=>{"polyline"===t.type&&_p(t,"arrow")&&Uy(c({coordinates:t.coordinates,map:this.map,source:e},t.arrow))})}),this.setFlashAnimate(),this.flashTime&&(this.flashInterval=setInterval(()=>{this.setFlashAnimate()},this.flashTime)),this.$emit("load",this.layer,this.map),this.modify&&this.setModify(),t&&this.$emit("change",e.getFeatures()),this.eventList.forEach(t=>{this.eventRender.push(this.map.on(t,e=>this.eventHandler(t,e)))})},getFeatureAtPixel(t){return this.map.forEachFeatureAtPixel(t,(t,e)=>{var n;if((null==e?void 0:e.get("id"))===(null==(n=this.layer)?void 0:n.get("id")))return t},{})},eventHandler(t,e){const{pixel:n}=e,i=this.getFeatureAtPixel(n);this.$emit(t,e,i)},setFlashAnimate(){var t;if(this.cluster){const e=(null==(t=this.clusterObj)?void 0:t.getFeatures())||[];e.length>0&&e.forEach(t=>{const e=t.get("features");1===e.length&&e.forEach(t=>{t.get("flash")&&this.pulseFeature(t)})})}else{const t=this.layer.getSource();t&&t.getFeatures().forEach(t=>{t.get("flash")&&this.pulseFeature(t)})}},dispose(){this.eventRender.forEach(t=>{U(t)}),this.clusterObj&&(this.clusterObj.getSource().clear(),this.clusterObj=null),this.map.removeLayer(this.layer),this.map.removeInteraction(this.selectObj),this.map.removeInteraction(this.modifyObj)},getFeatureById(t){const e=this.layer.getSource().getFeatures();let n;return e.forEach(e=>{(e.get("id")===t||e.getId()===t)&&(n=e)}),n},updateFeatureById(t,e){this.layer.getSource().getFeatures().forEach(n=>{if(n.get("id")===t&&"object"==typeof e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.update(t,e[t])})},getFeatures(){return this.layer.getSource().getFeatures()},setModify(){let t,e=[];if(this.select){let t;_p(this.select,"style")&&(t=Cp(this.select.style)),this.selectObj=new kc({style:t,layers:[this.layer]}),this.map.addInteraction(this.selectObj),this.selectObj.on("select",t=>{this.$emit("select",t,this.map)}),e=this.selectObj.getFeatures()}else e=new it(this.layer.getSource().getFeatures());_p(this.modify,"style")&&(t=Cp(this.modify.style)),this.modifyObj=new Ic({features:e,style:t}),this.map.addInteraction(this.modifyObj),this.modifyObj.on("modifystart",t=>{this.$emit("modifystart",t,this.map),e.getArray().forEach(t=>{t.getGeometry().on("change",e=>{this.$emit("modifychange",e,this.map,t)})})}),this.modifyObj.on("modifyend",t=>{const e=d(c({},t),{select:this.selectObj});this.$emit("modifyend",e,this.map)})},pulseFeature(t){const e=t.get("coordinates"),n=new pp(new Ei(e)),i=t.get("flash"),{radius:r,color:o,duration:a,width:s}=i;n.setStyle(new Co({image:new vo({radius:r||30,stroke:new hr({color:o,width:s})})})),this.layer.animateFeature(n,new Ky({fade:Yo,duration:a,easing:Yo}))},flash(t){const e=t.get("flash"),{radius:n,timeout:i}=e,r=1e3*Number(e.rate)||3e3,o=Date.now(),a=t.getGeometry().clone(),s=this.layer.on("postrender",u),l=this.map;let h=t.get("timer");function u(t){const i=t.frameState.time-o;if(i>=r)return void U(s);const h=Pl(t),u=i/r,c=Yo(u)*((n>10?n:25)||25),d=wr(e.color||"rgba(255, 0, 0, 1)");d.slice();const g=Yo(1-u),f=new Co({zIndex:0,image:new vo({radius:c,stroke:new hr({color:`rgba(${d[0]},${d[1]},${d[2]},${g})`,width:g})})});h.setStyle(f),h.drawGeometry(a),l.render()}h&&(U(s),clearTimeout(h),t.set("timer",null)),i&&i>0&&(h=setTimeout(()=>{this.flash(t)},i))},overlayClose(){this.overlay.close()},getClosestFeatureToCoordinate(t,e){return this.layer.getSource().getClosestFeatureToCoordinate(t,e)}},mounted(){this.init()},beforeDestroy(){this.dispose()}},tv={};var ev=im($y,Jy,Qy,!1,nv,null,null,null);function nv(t){for(let e in tv)this[e]=tv[e]}ev.options.__file="src/components/layers/vector/index.vue";const iv=function(){return ev.exports}();iv.install=function(t){t.component(iv.name,iv)};var rv=class extends ay{constructor(t){super(t)}getExtent(){return this.getSource().getExtent()}},ov=class extends dp{constructor(t){var e={attributions:t.attributions,logo:t.logo,projection:t.projection,canvasFunction:function(t,e,n,i){return this.calculateImage(t,e,n,i)}};super(e),this._image=t.image?t.image:new Image,this._image.crossOrigin=t.crossOrigin,this._image.onload=function(){this.setCrop(this.crop),this.changed()}.bind(this),t.image||(this._image.src=t.url),this.center=t.imageCenter,this.setScale(t.imageScale),this.rotate=t.imageRotate?t.imageRotate:0,this.crop=t.imageCrop,this.mask=t.imageMask,this.setCrop(this.crop),this.on("change",function(){this.set("extent",this.calculateExtent())}.bind(this))}calculateImage(t,e,n,i){if(this.center){var r=document.createElement("canvas");r.width=i[0],r.height=i[1];var o=r.getContext("2d");if(!this._imageSize)return r;if(this.mask){o.beginPath();var a=g(this.mask[0]);o.moveTo(a[0],a[1]);for(var s=1;s{t.component(dv.name,dv)};var gv={exports:{}},fv={exports:{}},pv=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i0;)o=i[r],a[o]||(e[o]=t[o],a[o]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e}function Uv(t,e,n){t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;var i=t.indexOf(e,n);return-1!==i&&i===n}function Hv(t){if(!t)return null;var e=t.length;if(bv(e))return null;for(var n=new Array(e);e-- >0;)n[e]=t[e];return n}var Zv=function(t){return function(e){return t&&e instanceof t}}("undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array)),Yv={isArray:xv,isArrayBuffer:Sv,isBuffer:wv,isFormData:Dv,isArrayBufferView:Av,isString:Cv,isNumber:Tv,isObject:Iv,isPlainObject:Mv,isUndefined:bv,isDate:Ev,isFile:zv,isBlob:Pv,isFunction:kv,isStream:Rv,isURLSearchParams:Ov,isStandardBrowserEnv:Fv,forEach:Nv,merge:Bv,extend:Gv,trim:jv,stripBOM:Vv,inherits:qv,toFlatObject:Wv,kindOf:vv,kindOfTest:_v,endsWith:Uv,toArray:Hv,isTypedArray:Zv,isFileList:Lv},Xv=Yv;function Kv(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Jv=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(Xv.isURLSearchParams(e))i=e.toString();else{var r=[];Xv.forEach(e,(function(t,e){null===t||"undefined"==typeof t||(Xv.isArray(t)?e+="[]":t=[t],Xv.forEach(t,(function(t){Xv.isDate(t)?t=t.toISOString():Xv.isObject(t)&&(t=JSON.stringify(t)),r.push(Kv(e)+"="+Kv(t))})))})),i=r.join("&")}if(i){var o=t.indexOf("#");-1!==o&&(t=t.slice(0,o)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t},Qv=Yv;function $v(){this.handlers=[]}$v.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},$v.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},$v.prototype.forEach=function(t){Qv.forEach(this.handlers,(function(e){null!==e&&t(e)}))};var t_=$v,e_=Yv,n_=function(t,e){e_.forEach(t,(function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])}))},i_=Yv;function r_(t,e,n,i,r){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r)}i_.inherits(r_,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o_=r_.prototype,a_={};["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"].forEach((function(t){a_[t]={value:t}})),Object.defineProperties(r_,a_),Object.defineProperty(o_,"isAxiosError",{value:!0}),r_.from=function(t,e,n,i,r,o){var a=Object.create(o_);return i_.toFlatObject(t,a,(function(t){return t!==Error.prototype})),r_.call(a,t.message,e,n,i,r),a.name=t.name,o&&Object.assign(a,o),a};var s_=r_,l_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},h_=Yv;function u_(t,e){e=e||new FormData;var i=[];function r(t){return null===t?"":h_.isDate(t)?t.toISOString():h_.isArrayBuffer(t)||h_.isTypedArray(t)?"function"==typeof Blob?new Blob([t]):n.from(t):t}function o(t,n){if(h_.isPlainObject(t)||h_.isArray(t)){if(-1!==i.indexOf(t))throw Error("Circular reference detected in "+n);i.push(t),h_.forEach(t,(function(t,i){if(!h_.isUndefined(t)){var a,s=n?n+"."+i:i;if(t&&!n&&"object"==typeof t)if(h_.endsWith(i,"{}"))t=JSON.stringify(t);else if(h_.endsWith(i,"[]")&&(a=h_.toArray(t)))return void a.forEach((function(t){!h_.isUndefined(t)&&e.append(s,r(t))}));o(t,s)}})),i.pop()}else e.append(n,r(t))}return o(t),e}var c_,d_,g_,f_,p_=u_;function m_(){if(d_)return c_;d_=1;var t=s_;return c_=function(e,n,i){var r=i.config.validateStatus;i.status&&r&&!r(i.status)?n(new t("Request failed with status code "+i.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i)):e(i)},c_}function y_(){if(f_)return g_;f_=1;var t=Yv;return g_=t.isStandardBrowserEnv()?function(){return{write:function(e,n,i,r,o,a){var s=[];s.push(e+"="+encodeURIComponent(n)),t.isNumber(i)&&s.push("expires="+new Date(i).toGMTString()),t.isString(r)&&s.push("path="+r),t.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),g_}var v_,__,x_,b_,w_,S_,A_,C_,T_,I_,M_,E_,z_=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},P_=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t},L_=z_,k_=P_,R_=function(t,e){return t&&!L_(e)?k_(t,e):e};function D_(){if(__)return v_;__=1;var t=Yv,e=["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"];return v_=function(n){var i,r,o,a={};return n&&t.forEach(n.split("\n"),(function(n){if(o=n.indexOf(":"),i=t.trim(n.substr(0,o)).toLowerCase(),r=t.trim(n.substr(o+1)),i){if(a[i]&&e.indexOf(i)>=0)return;a[i]="set-cookie"===i?(a[i]?a[i]:[]).concat([r]):a[i]?a[i]+", "+r:r}})),a},v_}function O_(){if(b_)return x_;b_=1;var t=Yv;return x_=t.isStandardBrowserEnv()?function(){var e,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function r(t){var e=t;return n&&(i.setAttribute("href",e),e=i.href),i.setAttribute("href",e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return e=r(window.location.href),function(n){var i=t.isString(n)?r(n):n;return i.protocol===e.protocol&&i.host===e.host}}():function(){return function(){return!0}}(),x_}function j_(){if(S_)return w_;S_=1;var t=s_,e=Yv;function n(e){t.call(this,null==e?"canceled":e,t.ERR_CANCELED),this.name="CanceledError"}return e.inherits(n,t,{__CANCEL__:!0}),w_=n,w_}function F_(){return C_||(C_=1,A_=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}),A_}function N_(){if(I_)return T_;I_=1;var t=Yv,e=m_(),n=y_(),i=Jv,r=R_,o=D_(),a=O_(),s=l_,l=s_,h=j_(),u=F_();return T_=function(c){return new Promise((function(d,g){var f,p=c.data,m=c.headers,y=c.responseType;function v(){c.cancelToken&&c.cancelToken.unsubscribe(f),c.signal&&c.signal.removeEventListener("abort",f)}t.isFormData(p)&&t.isStandardBrowserEnv()&&delete m["Content-Type"];var _=new XMLHttpRequest;if(c.auth){var x=c.auth.username||"",b=c.auth.password?unescape(encodeURIComponent(c.auth.password)):"";m.Authorization="Basic "+btoa(x+":"+b)}var w=r(c.baseURL,c.url);function S(){if(_){var t="getAllResponseHeaders"in _?o(_.getAllResponseHeaders()):null,n=y&&"text"!==y&&"json"!==y?_.response:_.responseText,i={data:n,status:_.status,statusText:_.statusText,headers:t,config:c,request:_};e((function(t){d(t),v()}),(function(t){g(t),v()}),i),_=null}}if(_.open(c.method.toUpperCase(),i(w,c.params,c.paramsSerializer),!0),_.timeout=c.timeout,"onloadend"in _?_.onloadend=S:_.onreadystatechange=function(){!_||4!==_.readyState||0===_.status&&(!_.responseURL||0!==_.responseURL.indexOf("file:"))||setTimeout(S)},_.onabort=function(){!_||(g(new l("Request aborted",l.ECONNABORTED,c,_)),_=null)},_.onerror=function(){g(new l("Network Error",l.ERR_NETWORK,c,_,_)),_=null},_.ontimeout=function(){var t=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",e=c.transitional||s;c.timeoutErrorMessage&&(t=c.timeoutErrorMessage),g(new l(t,e.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,c,_)),_=null},t.isStandardBrowserEnv()){var A=(c.withCredentials||a(w))&&c.xsrfCookieName?n.read(c.xsrfCookieName):void 0;A&&(m[c.xsrfHeaderName]=A)}"setRequestHeader"in _&&t.forEach(m,(function(t,e){"undefined"==typeof p&&"content-type"===e.toLowerCase()?delete m[e]:_.setRequestHeader(e,t)})),t.isUndefined(c.withCredentials)||(_.withCredentials=!!c.withCredentials),y&&"json"!==y&&(_.responseType=c.responseType),"function"==typeof c.onDownloadProgress&&_.addEventListener("progress",c.onDownloadProgress),"function"==typeof c.onUploadProgress&&_.upload&&_.upload.addEventListener("progress",c.onUploadProgress),(c.cancelToken||c.signal)&&(f=function(t){!_||(g(!t||t&&t.type?new h:t),_.abort(),_=null)},c.cancelToken&&c.cancelToken.subscribe(f),c.signal&&(c.signal.aborted?f():c.signal.addEventListener("abort",f))),p||(p=null);var C=u(w);C&&-1===["http","https","file"].indexOf(C)?g(new l("Unsupported protocol "+C+":",l.ERR_BAD_REQUEST,c)):_.send(p)}))},T_}function B_(){return E_||(E_=1,M_=null),M_}var G_=Yv,V_=n_,q_=s_,W_=l_,U_=p_,H_={"Content-Type":"application/x-www-form-urlencoded"};function Z_(t,e){!G_.isUndefined(t)&&G_.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function Y_(){var t;return("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof i&&"[object process]"===Object.prototype.toString.call(i))&&(t=N_()),t}function X_(t,e,n){if(G_.isString(t))try{return(e||JSON.parse)(t),G_.trim(t)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(t)}var K_={transitional:W_,adapter:Y_(),transformRequest:[function(t,e){if(V_(e,"Accept"),V_(e,"Content-Type"),G_.isFormData(t)||G_.isArrayBuffer(t)||G_.isBuffer(t)||G_.isStream(t)||G_.isFile(t)||G_.isBlob(t))return t;if(G_.isArrayBufferView(t))return t.buffer;if(G_.isURLSearchParams(t))return Z_(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var n,i=G_.isObject(t),r=e&&e["Content-Type"];if((n=G_.isFileList(t))||i&&"multipart/form-data"===r){var o=this.env&&this.env.FormData;return U_(n?{"files[]":t}:t,o&&new o)}return i||"application/json"===r?(Z_(e,"application/json"),X_(t)):t}],transformResponse:[function(t){var e=this.transitional||K_.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,r=!n&&"json"===this.responseType;if(r||i&&G_.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(r)throw"SyntaxError"===o.name?q_.from(o,q_.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:B_()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};G_.forEach(["delete","get","head"],(function(t){K_.headers[t]={}})),G_.forEach(["post","put","patch"],(function(t){K_.headers[t]=G_.merge(H_)}));var J_,Q_,$_=K_,tx=Yv,ex=$_,nx=function(t,e,n){var i=this||ex;return tx.forEach(n,(function(n){t=n.call(i,t,e)})),t};function ix(){return Q_||(Q_=1,J_=function(t){return!(!t||!t.__CANCEL__)}),J_}var rx=Yv,ox=nx,ax=ix(),sx=$_,lx=j_();function hx(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new lx}var ux,cx,dx=function(t){hx(t),t.headers=t.headers||{},t.data=ox.call(t,t.data,t.headers,t.transformRequest),t.headers=rx.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),rx.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||sx.adapter;return e(t).then((function(e){return hx(t),e.data=ox.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return ax(e)||(hx(t),e&&e.response&&(e.response.data=ox.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},gx=Yv,fx=function(t,e){e=e||{};var n={};function i(t,e){return gx.isPlainObject(t)&&gx.isPlainObject(e)?gx.merge(t,e):gx.isPlainObject(e)?gx.merge({},e):gx.isArray(e)?e.slice():e}function r(n){return gx.isUndefined(e[n])?gx.isUndefined(t[n])?void 0:i(void 0,t[n]):i(t[n],e[n])}function o(t){if(!gx.isUndefined(e[t]))return i(void 0,e[t])}function a(n){return gx.isUndefined(e[n])?gx.isUndefined(t[n])?void 0:i(void 0,t[n]):i(void 0,e[n])}function s(n){return n in e?i(t[n],e[n]):n in t?i(void 0,t[n]):void 0}var l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials: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};return gx.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=l[t]||r,i=e(t);gx.isUndefined(i)&&e!==s||(n[t]=i)})),n};function px(){return cx||(cx=1,ux={version:"0.27.2"}),ux}var mx=px().version,yx=s_,vx={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){vx[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var _x={};function xx(t,e,n){if("object"!=typeof t)throw new yx("options must be an object",yx.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(t),r=i.length;r-- >0;){var o=i[r],a=e[o];if(a){var s=t[o],l=void 0===s||a(s,o,t);if(!0!==l)throw new yx("option "+o+" must be "+l,yx.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new yx("Unknown option "+o,yx.ERR_BAD_OPTION)}}vx.transitional=function(t,e,n){function i(t,e){return"[Axios v"+mx+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,o){if(!1===t)throw new yx(i(r," has been removed"+(e?" in "+e:"")),yx.ERR_DEPRECATED);return e&&!_x[r]&&(_x[r]=!0),!t||t(n,r,o)}};var bx={assertOptions:xx,validators:vx},Sx=Yv,Ax=Jv,Cx=t_,Tx=dx,Ix=fx,Mx=R_,Ex=bx,zx=Ex.validators;function Px(t){this.defaults=t,this.interceptors={request:new Cx,response:new Cx}}Px.prototype.request=function(t,e){"string"==typeof t?(e=e||{},e.url=t):e=t||{},e=Ix(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&Ex.assertOptions(n,{silentJSONParsing:zx.transitional(zx.boolean),forcedJSONParsing:zx.transitional(zx.boolean),clarifyTimeoutError:zx.transitional(zx.boolean)},!1);var i=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,i.unshift(t.fulfilled,t.rejected))}));var o,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!r){var s=[Tx,void 0];for(Array.prototype.unshift.apply(s,i),s=s.concat(a),o=Promise.resolve(e);s.length;)o=o.then(s.shift(),s.shift());return o}for(var l=e;i.length;){var h=i.shift(),u=i.shift();try{l=h(l)}catch(c){u(c);break}}try{o=Tx(l)}catch(c){return Promise.reject(c)}for(;a.length;)o=o.then(a.shift(),a.shift());return o},Px.prototype.getUri=function(t){t=Ix(this.defaults,t);var e=Mx(t.baseURL,t.url);return Ax(e,t.params,t.paramsSerializer)},Sx.forEach(["delete","get","head","options"],(function(t){Px.prototype[t]=function(e,n){return this.request(Ix(n||{},{method:t,url:e,data:(n||{}).data}))}})),Sx.forEach(["post","put","patch"],(function(t){function e(e){return function(n,i,r){return this.request(Ix(r||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Px.prototype[t]=e(),Px.prototype[t+"Form"]=e(!0)}));var Lx,kx,Rx,Dx,Ox,jx,Fx=Px;function Nx(){if(kx)return Lx;kx=1;var t=j_();function e(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(t){n=t}));var i=this;this.promise.then((function(t){if(i._listeners){var e,n=i._listeners.length;for(e=0;e-1e3&&t<1e3||_b.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var i=t<0?-Sb(-t):Sb(t);if(i!==t){var r=String(i),o=pb.call(e,r.length+1);return mb.call(r,n,"$&_")+"."+mb.call(mb.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return mb.call(e,n,"$&_")}var Lb=Kx,kb=Lb.custom,Rb=Ub(kb)?kb:null,Db=function t(e,n,i,r){var o=n||{};if(Yb(o,"quoteStyle")&&"single"!==o.quoteStyle&&"double"!==o.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Yb(o,"maxStringLength")&&("number"==typeof o.maxStringLength?o.maxStringLength<0&&o.maxStringLength!==1/0:null!==o.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!Yb(o,"customInspect")||o.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Yb(o,"indent")&&null!==o.indent&&"\t"!==o.indent&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Yb(o,"numericSeparator")&&"boolean"!=typeof o.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=o.numericSeparator;if("undefined"==typeof e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return rw(e,o);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var l=String(e);return s?Pb(e,l):l}if("bigint"==typeof e){var h=String(e)+"n";return s?Pb(e,h):h}var u="undefined"==typeof o.depth?5:o.depth;if("undefined"==typeof i&&(i=0),i>=u&&u>0&&"object"==typeof e)return Fb(e)?"[Array]":"[Object]";var c=uw(o,i);if("undefined"==typeof r)r=[];else if(Jb(r,e)>=0)return"[Circular]";function d(e,n,a){if(n&&(r=wb.call(r),r.push(n)),a){var s={depth:o.depth};return Yb(o,"quoteStyle")&&(s.quoteStyle=o.quoteStyle),t(e,s,i+1,r)}return t(e,o,i+1,r)}if("function"==typeof e&&!Bb(e)){var g=Kb(e),f=dw(e,d);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(f.length>0?" { "+bb.call(f,", ")+" }":"")}if(Ub(e)){var p=Ib?mb.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Tb.call(e);return"object"!=typeof e||Ib?p:aw(p)}if(iw(e)){for(var m="<"+vb.call(String(e.nodeName)),y=e.attributes||[],v=0;v",m}if(Fb(e)){if(0===e.length)return"[]";var _=dw(e,d);return c&&!hw(_)?"["+cw(_,c)+"]":"[ "+bb.call(_,", ")+" ]"}if(Gb(e)){var x=dw(e,d);return"cause"in Error.prototype||!("cause"in e)||Eb.call(e,"cause")?0===x.length?"["+String(e)+"]":"{ ["+String(e)+"] "+bb.call(x,", ")+" }":"{ ["+String(e)+"] "+bb.call(xb.call("[cause]: "+d(e.cause),x),", ")+" }"}if("object"==typeof e&&a){if(Rb&&"function"==typeof e[Rb]&&Lb)return Lb(e,{depth:u-i});if("symbol"!==a&&"function"==typeof e.inspect)return e.inspect()}if(Qb(e)){var b=[];return tb.call(e,(function(t,n){b.push(d(n,e,!0)+" => "+d(t,e))})),lw("Map",$x.call(e),b,c)}if(ew(e)){var w=[];return rb.call(e,(function(t){w.push(d(t,e))})),lw("Set",ib.call(e),w,c)}if($b(e))return sw("WeakMap");if(nw(e))return sw("WeakSet");if(tw(e))return sw("WeakRef");if(qb(e))return aw(d(Number(e)));if(Hb(e))return aw(d(Ab.call(e)));if(Wb(e))return aw(cb.call(e));if(Vb(e))return aw(d(String(e)));if(!Nb(e)&&!Bb(e)){var S=dw(e,d),A=zb?zb(e)===Object.prototype:e instanceof Object||e.constructor===Object,C=e instanceof Object?"":"null prototype",T=!A&&Mb&&Object(e)===e&&Mb in e?pb.call(Xb(e),8,-1):C?"Object":"",I=A||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"",M=I+(T||C?"["+bb.call(xb.call([],T||[],C||[]),": ")+"] ":"");return 0===S.length?M+"{}":c?M+"{"+cw(S,c)+"}":M+"{ "+bb.call(S,", ")+" }"}return String(e)};function Ob(t,e,n){var i="double"===(n.quoteStyle||e)?'"':"'";return i+t+i}function jb(t){return mb.call(String(t),/"/g,""")}function Fb(t){return"[object Array]"===Xb(t)&&(!Mb||!("object"==typeof t&&Mb in t))}function Nb(t){return"[object Date]"===Xb(t)&&(!Mb||!("object"==typeof t&&Mb in t))}function Bb(t){return"[object RegExp]"===Xb(t)&&(!Mb||!("object"==typeof t&&Mb in t))}function Gb(t){return"[object Error]"===Xb(t)&&(!Mb||!("object"==typeof t&&Mb in t))}function Vb(t){return"[object String]"===Xb(t)&&(!Mb||!("object"==typeof t&&Mb in t))}function qb(t){return"[object Number]"===Xb(t)&&(!Mb||!("object"==typeof t&&Mb in t))}function Wb(t){return"[object Boolean]"===Xb(t)&&(!Mb||!("object"==typeof t&&Mb in t))}function Ub(t){if(Ib)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!Tb)return!1;try{return Tb.call(t),!0}catch(e){}return!1}function Hb(t){if(!t||"object"!=typeof t||!Ab)return!1;try{return Ab.call(t),!0}catch(e){}return!1}var Zb=Object.prototype.hasOwnProperty||function(t){return t in this};function Yb(t,e){return Zb.call(t,e)}function Xb(t){return db.call(t)}function Kb(t){if(t.name)return t.name;var e=fb.call(gb.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function Jb(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;ne.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return rw(pb.call(t,0,e.maxStringLength),e)+i}var r=mb.call(mb.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ow);return Ob(r,"single",e)}function ow(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+yb.call(e.toString(16))}function aw(t){return"Object("+t+")"}function sw(t){return t+" { ? }"}function lw(t,e,n,i){var r=i?cw(n,i):bb.call(n,", ");return t+" ("+e+") {"+r+"}"}function hw(t){for(var e=0;e=0)return!1;return!0}function uw(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=bb.call(Array(t.indent+1)," ")}return{base:n,prev:bb.call(Array(e+1),n)}}function cw(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+bb.call(t,","+n)+"\n"+e.prev}function dw(t,e){var n=Fb(t),i=[];if(n){i.length=t.length;for(var r=0;r1;){var e=t.pop(),n=e.obj[e.prop];if(Ow(n)){for(var i=[],r=0;r=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||r===Rw.RFC1738&&(40===l||41===l)?a+=o.charAt(s):l<128?a+=jw[l]:l<2048?a+=jw[192|l>>6]+jw[128|63&l]:l<55296||l>=57344?a+=jw[224|l>>12]+jw[128|l>>6&63]+jw[128|63&l]:(s+=1,l=65536+((1023&l)<<10|1023&o.charCodeAt(s)),a+=jw[240|l>>18]+jw[128|l>>12&63]+jw[128|l>>6&63]+jw[128|63&l])}return a},Ww=function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],i=0;i0?y.join(",")||null:void 0}];else if(eS(l))T=l;else{var M=Object.keys(y);T=h?M.sort(h):M}for(var E=r&&eS(y)&&1===y.length?n+"[]":n,z=0;z0?f+g:""},gS=Xw,fS=Object.prototype.hasOwnProperty,pS=Array.isArray,mS={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:gS.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},yS=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},vS=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},_S="utf8=%26%2310003%3B",xS="utf8=%E2%9C%93",bS=function(t,e){var n,i={},r=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=e.parameterLimit===1/0?void 0:e.parameterLimit,a=r.split(e.delimiter,o),s=-1,l=e.charset;if(e.charsetSentinel)for(n=0;n-1&&(u=pS(u)?[u]:u),fS.call(i,h)?i[h]=gS.combine(i[h],u):i[h]=u}return i},wS=function(t,e,n,i){for(var r=i?e:vS(e,n),o=t.length-1;o>=0;--o){var a,s=t[o];if("[]"===s&&n.parseArrays)a=[].concat(r);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,h=parseInt(l,10);n.parseArrays||""!==l?!isNaN(h)&&s!==l&&String(h)===l&&h>=0&&n.parseArrays&&h<=n.arrayLimit?(a=[],a[h]=r):"__proto__"!==l&&(a[l]=r):a={0:r}}r=a}return r},SS=function(t,e,n,i){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,s=n.depth>0&&o.exec(r),l=s?r.slice(0,s.index):r,h=[];if(l){if(!n.plainObjects&&fS.call(Object.prototype,l)&&!n.allowPrototypes)return;h.push(l)}for(var u=0;n.depth>0&&null!==(s=a.exec(r))&&u0?(t={barriers:e,polylineBarriers:n,polygonBarriers:i,outSR:r,ignoreInvalidLocations:o,accumulateAttributeNames:a,impedanceAttributeName:s,restrictionAttributeNames:l,attributeParameterValues:h,restrictUTurns:u,useHierarchy:c,returnDirections:d,returnRoutes:g,returnStops:f,returnBarriers:p,returnPolygonBarriers:m,directionsLanguage:y,directionsStyleName:v,outputLines:_,findBestSequence:x,preserveFirstStop:b,preserveLastStop:w,useTimeWindows:S,startTime:A,startTimeIsUTC:C,outputGeometryPrecision:T,outputGeometryPrecisionUnits:I,directionsOutputType:M,directionsTimeAttributeName:E,directionsLengthUnits:z,returnZ:P,travelMode:L,f:k,stops:this.stops.join(";")},"POST"===this.method.toUpperCase()?Xx.post(this.serviceUrl,ES.stringify(t)).then(t=>(200===t.status&&t.data&&(this.routeData=t.data),this.getArcgisData(t))):Xx.get(this.serviceUrl,{params:t}).then(t=>(200===t.status&&t.data&&(this.routeData=t.data),this.getArcgisData(t)))):[]}))},getArcgisData(t){if(!(200===t.status&&t.data&&t.data.routes.features.length>0))return[];{const e=t.data.routes;if(e.features[0].geometry.paths.length>0){const t=[];return this.showStart&&t.push({type:"point",style:this.routeStyle?this.routeStyle.start:this.defaultStyle.start,coordinates:e.features[0].geometry.paths[0][0],featureType:"start",convert:this.convert}),t.push({type:"polyline",style:this.routeStyle?this.routeStyle.line:this.defaultStyle.line,coordinates:e.features[0].geometry.paths[0],featureType:"line",convert:this.convert}),this.showPass&&this.stops.length>1&&this.stops.slice(1,this.stops.length-1).forEach((e,n)=>{t.push({type:"point",style:this.routeStyle?this.routeStyle.pass:this.defaultStyle.pass,coordinates:e,stopIndex:n,featureType:"stops"})}),this.showEnd&&t.push({type:"point",style:this.routeStyle?this.routeStyle.end:this.defaultStyle.end,coordinates:e.features[0].geometry.paths[0][e.features[0].geometry.paths[0].length-1],featureType:"end",convert:this.convert}),Ip(t,this.map)}}},getGraphhopperRouteData(){return f(this,null,(function*(){const{type:t,points_encoded:e,point_hint:n,locale:i,vehicle:r,weighting:o,elevation:a,convert:s}=this.$props;let l=ES.stringify({type:t,points_encoded:e,point_hint:n,locale:i,vehicle:r,weighting:o,elevation:a,convert:s});if(this.stops.length>0){let t="&point=";return this.stops.forEach((e,n)=>{t=t+e[1]+","+e[0]+(n(200===t.status&&t.data&&(this.routeData=t.data),this.getGraphhopperData(t))):Xx.get(this.serviceUrl+"?"+l).then(t=>(200===t.status&&t.data&&(this.routeData=t.data),this.getGraphhopperData(t)))}return[]}))},getGraphhopperData(t){if(!(200===t.status&&t.data&&t.data.paths[0].points.coordinates.length>0))return[];{const e=t.data.paths[0];if(e.points.coordinates.length>0){const t=[];return this.showStart&&t.push({type:"point",style:this.routeStyle?this.routeStyle.start:this.defaultStyle.start,coordinates:e.points.coordinates[0],featureType:"start"}),t.push({type:"polyline",style:this.routeStyle?this.routeStyle.line:this.defaultStyle.line,coordinates:e.points.coordinates,featureType:"line"}),this.showPass&&this.stops.slice(1,this.stops.length-1).forEach((e,n)=>{t.push({type:"point",style:this.routeStyle?this.routeStyle.pass:this.defaultStyle.pass,coordinates:e,featureType:"stops",stopIndex:n})}),this.showEnd&&t.push({type:"point",style:this.routeStyle?this.routeStyle.end:this.defaultStyle.end,coordinates:e.points.coordinates[e.points.coordinates.length-1],featureType:"end"}),Ip(t,this.map)}}},init(){return f(this,null,(function*(){if(this.features=[],this.source?this.source.clear():this.source=Dp({},this.map),this.stops.length<=0)return!1;if(1===this.stops.length){const t=[{type:"point",style:this.routeStyle?this.routeStyle.start:this.defaultStyle.start,coordinates:this.stops[0],featureType:"start"}];this.features=Ip(t,this.map)}else this.stops.length>=2&&(this.features="arcgis"===this.routeType?yield this.getArcgisRouteData():yield this.getGraphhopperRouteData());this.source.addFeatures(this.features);const t=d(c({},this.$props),{source:this.source});this.layer||(this.layer=new pl(t),this.layer.setStyle(t=>t.get("style")?Cp(t.get("style")):this.FeatureStyle?Cp(this.FeatureStyle):Cp({fill:{color:"rgba(67,126,255,0.15)"},stroke:{color:"rgba(67,126,255,1)",width:1}})),this.layer.set("id",this.layerId),this.layer.set("type","vector"),this.layer.set("users",!0),this.zIndex&&this.layer.setZIndex(this.zIndex),this.map.addLayer(this.layer)),this.stops.length>=2&&(this.arrow&&this.layer.on("postrender",()=>{const t=this.map.getView().getZoom();this.layer.getSource().getFeatures().forEach(t=>{t.get("isArrow")&&this.layer.getSource().removeFeature(t)}),Math.round(t)===t&&Uy(c({coordinates:"arcgis"===this.routeType?this.routeData.routes.features[0].geometry.paths[0]:this.routeData.paths[0].points.coordinates,map:this.map,source:this.layer.getSource()},this.arrow))}),this.$emit("render",this.routeData,this.map,this.features))}))},dispose(){this.map.removeLayer(this.layer)}}};let PS,LS;const kS={};var RS=im(zS,PS,LS,!1,DS,null,null,null);function DS(t){for(let e in kS)this[e]=kS[e]}RS.options.__file="src/components/layers/route/index.vue";const OS=function(){return RS.exports}();OS.install=t=>{t.component(OS.name,OS)};const jS=34962,FS=34963,NS=35040,BS=35044,GS=35048,VS=5121,qS=5123,WS=5125,US=5126,HS=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function ZS(t,e){e=Object.assign({preserveDrawingBuffer:!0,antialias:!ut},e);const n=HS.length;for(let r=0;r{this.uniforms_.push({value:t.uniforms[n],location:e.getUniformLocation(this.renderTargetProgram_,n)})})}getGL(){return this.gl_}init(t){const e=this.getGL(),n=[e.drawingBufferWidth*this.scaleRatio_,e.drawingBufferHeight*this.scaleRatio_];if(e.bindFramebuffer(e.FRAMEBUFFER,this.getFrameBuffer()),e.viewport(0,0,n[0],n[1]),!this.renderTargetTextureSize_||this.renderTargetTextureSize_[0]!==n[0]||this.renderTargetTextureSize_[1]!==n[1]){this.renderTargetTextureSize_=n;const t=0,i=e.RGBA,r=0,o=e.RGBA,a=e.UNSIGNED_BYTE,s=null;e.bindTexture(e.TEXTURE_2D,this.renderTargetTexture_),e.texImage2D(e.TEXTURE_2D,t,i,n[0],n[1],r,o,a,s),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.renderTargetTexture_,0)}}apply(t,e,n,i){const r=this.getGL(),o=t.size;if(r.bindFramebuffer(r.FRAMEBUFFER,e?e.getFrameBuffer():null),r.activeTexture(r.TEXTURE0),r.bindTexture(r.TEXTURE_2D,this.renderTargetTexture_),!e){const e=Y(r.canvas);if(!t.renderTargets[e]){const n=r.getContextAttributes();n&&n.preserveDrawingBuffer&&(r.clearColor(0,0,0,0),r.clear(r.COLOR_BUFFER_BIT)),t.renderTargets[e]=!0}}r.enable(r.BLEND),r.blendFunc(r.ONE,r.ONE_MINUS_SRC_ALPHA),r.viewport(0,0,r.drawingBufferWidth,r.drawingBufferHeight),r.bindBuffer(r.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),r.useProgram(this.renderTargetProgram_),r.enableVertexAttribArray(this.renderTargetAttribLocation_),r.vertexAttribPointer(this.renderTargetAttribLocation_,2,r.FLOAT,!1,0,0),r.uniform2f(this.renderTargetUniformLocation_,o[0],o[1]),r.uniform1i(this.renderTargetTextureLocation_,0);const a=t.layerStatesArray[t.layerIndex].opacity;r.uniform1f(this.renderTargetOpacityLocation_,a),this.applyUniforms(t),n&&n(r,t),r.drawArrays(r.TRIANGLES,0,6),i&&i(r,t)}getFrameBuffer(){return this.frameBuffer_}applyUniforms(t){const e=this.getGL();let n,i=1;this.uniforms_.forEach((function(r){if(n="function"==typeof r.value?r.value(t):r.value,n instanceof HTMLCanvasElement||n instanceof ImageData)r.texture||(r.texture=e.createTexture()),e.activeTexture(e["TEXTURE"+i]),e.bindTexture(e.TEXTURE_2D,r.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),n instanceof ImageData?e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,n.width,n.height,0,e.UNSIGNED_BYTE,new Uint8Array(n.data)):e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,n),e.uniform1i(r.location,i++);else if(Array.isArray(n))switch(n.length){case 2:return void e.uniform2f(r.location,n[0],n[1]);case 3:return void e.uniform3f(r.location,n[0],n[1],n[2]);case 4:return void e.uniform4f(r.location,n[0],n[1],n[2],n[3]);default:return}else"number"==typeof n&&e.uniform1f(r.location,n)}))}}const nA=eA;function iA(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function rA(t,e){return t[0]=e[0],t[1]=e[1],t[4]=e[2],t[5]=e[3],t[12]=e[4],t[13]=e[5],t}const oA={PROJECTION_MATRIX:"u_projectionMatrix",OFFSET_SCALE_MATRIX:"u_offsetScaleMatrix",OFFSET_ROTATION_MATRIX:"u_offsetRotateMatrix",TIME:"u_time",ZOOM:"u_zoom",RESOLUTION:"u_resolution",SIZE_PX:"u_sizePx",PIXEL_RATIO:"u_pixelRatio"},aA={UNSIGNED_BYTE:VS,UNSIGNED_SHORT:qS,UNSIGNED_INT:WS,FLOAT:US},sA={};function lA(t){return"shared/"+t}let hA=0;function uA(){const t="unique/"+hA;return hA+=1,t}function cA(t){let e=sA[t];if(!e){const n=document.createElement("canvas");n.style.position="absolute",n.style.left="0",e={users:0,canvas:n},sA[t]=e}return e.users+=1,e.canvas}function dA(t){const e=sA[t];if(!e||(e.users-=1,e.users>0))return;const n=e.canvas,i=ZS(n).getExtension("WEBGL_lose_context");i&&i.loseContext(),delete sA[t]}class gA extends A{constructor(t){super(),t=t||{},this.boundHandleWebGLContextLost_=this.handleWebGLContextLost.bind(this),this.boundHandleWebGLContextRestored_=this.handleWebGLContextRestored.bind(this),this.canvasCacheKey_=t.canvasCacheKey?lA(t.canvasCacheKey):uA(),this.canvas_=cA(this.canvasCacheKey_),this.gl_=ZS(this.canvas_),this.bufferCache_={},this.extensionCache_={},this.currentProgram_=null,this.canvas_.addEventListener(QS.LOST,this.boundHandleWebGLContextLost_),this.canvas_.addEventListener(QS.RESTORED,this.boundHandleWebGLContextRestored_),this.offsetRotateMatrix_=vt(),this.offsetScaleMatrix_=vt(),this.tmpMat4_=iA(),this.uniformLocations_={},this.attribLocations_={},this.uniforms_=[],t.uniforms&&this.setUniforms(t.uniforms);const e=this.getGL();this.postProcessPasses_=t.postProcesses?t.postProcesses.map((function(t){return new nA({webGlContext:e,scaleRatio:t.scaleRatio,vertexShader:t.vertexShader,fragmentShader:t.fragmentShader,uniforms:t.uniforms})})):[new nA({webGlContext:e})],this.shaderCompileErrors_=null,this.startTime_=Date.now()}setUniforms(t){this.uniforms_=[];for(const e in t)this.uniforms_.push({name:e,value:t[e]});this.uniformLocations_={}}canvasCacheKeyMatches(t){return this.canvasCacheKey_===lA(t)}getExtension(t){if(t in this.extensionCache_)return this.extensionCache_[t];const e=this.gl_.getExtension(t);return this.extensionCache_[t]=e,e}bindBuffer(t){const e=this.getGL(),n=Y(t);let i=this.bufferCache_[n];if(!i){const r=e.createBuffer();i={buffer:t,webGlBuffer:r},this.bufferCache_[n]=i}e.bindBuffer(t.getType(),i.webGlBuffer)}flushBufferData(t){const e=this.getGL();this.bindBuffer(t),e.bufferData(t.getType(),t.getArray(),t.getUsage())}deleteBuffer(t){const e=this.getGL(),n=Y(t),i=this.bufferCache_[n];i&&!e.isContextLost()&&e.deleteBuffer(i.webGlBuffer),delete this.bufferCache_[n]}disposeInternal(){this.canvas_.removeEventListener(QS.LOST,this.boundHandleWebGLContextLost_),this.canvas_.removeEventListener(QS.RESTORED,this.boundHandleWebGLContextRestored_),dA(this.canvasCacheKey_),delete this.gl_,delete this.canvas_}prepareDraw(t,e){const n=this.getGL(),i=this.getCanvas(),r=t.size,o=t.pixelRatio;i.width=r[0]*o,i.height=r[1]*o,i.style.width=r[0]+"px",i.style.height=r[1]+"px";for(let a=this.postProcessPasses_.length-1;a>=0;a--)this.postProcessPasses_[a].init(t);n.bindTexture(n.TEXTURE_2D,null),n.clearColor(0,0,0,0),n.clear(n.COLOR_BUFFER_BIT),n.enable(n.BLEND),n.blendFunc(n.ONE,e?n.ZERO:n.ONE_MINUS_SRC_ALPHA)}prepareDrawToRenderTarget(t,e,n){const i=this.getGL(),r=e.getSize();i.bindFramebuffer(i.FRAMEBUFFER,e.getFramebuffer()),i.viewport(0,0,r[0],r[1]),i.bindTexture(i.TEXTURE_2D,e.getTexture()),i.clearColor(0,0,0,0),i.clear(i.COLOR_BUFFER_BIT),i.enable(i.BLEND),i.blendFunc(i.ONE,n?i.ZERO:i.ONE_MINUS_SRC_ALPHA)}drawElements(t,e){const n=this.getGL();this.getExtension("OES_element_index_uint");const i=n.UNSIGNED_INT,r=4,o=e-t,a=t*r;n.drawElements(n.TRIANGLES,o,i,a)}finalizeDraw(t,e,n){for(let i=0,r=this.postProcessPasses_.length;i{if(n="function"==typeof r.value?r.value(t):r.value,n instanceof HTMLCanvasElement||n instanceof HTMLImageElement||n instanceof ImageData)r.texture||(r.prevValue=void 0,r.texture=e.createTexture()),e.activeTexture(e["TEXTURE"+i]),e.bindTexture(e.TEXTURE_2D,r.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),(!(n instanceof HTMLImageElement)||n.complete)&&r.prevValue!==n&&(r.prevValue=n,e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,n)),e.uniform1i(this.getUniformLocation(r.name),i++);else if(Array.isArray(n)&&6===n.length)this.setUniformMatrixValue(r.name,rA(this.tmpMat4_,n));else if(Array.isArray(n)&&n.length<=4)switch(n.length){case 2:return void e.uniform2f(this.getUniformLocation(r.name),n[0],n[1]);case 3:return void e.uniform3f(this.getUniformLocation(r.name),n[0],n[1],n[2]);case 4:return void e.uniform4f(this.getUniformLocation(r.name),n[0],n[1],n[2],n[3]);default:return}else"number"==typeof n&&e.uniform1f(this.getUniformLocation(r.name),n)})}useProgram(t,e){this.getGL().useProgram(t),this.currentProgram_=t,this.uniformLocations_={},this.attribLocations_={},this.applyFrameState(e),this.applyUniforms(e)}compileShader(t,e){const n=this.getGL(),i=n.createShader(e);return n.shaderSource(i,t),n.compileShader(i),i}getProgram(t,e){const n=this.getGL(),i=this.compileShader(t,n.FRAGMENT_SHADER),r=this.compileShader(e,n.VERTEX_SHADER),o=n.createProgram();if(n.attachShader(o,i),n.attachShader(o,r),n.linkProgram(o),!n.getShaderParameter(i,n.COMPILE_STATUS)){const t="Fragment shader compilation failed: "+n.getShaderInfoLog(i);throw new Error(t)}if(n.deleteShader(i),!n.getShaderParameter(r,n.COMPILE_STATUS)){const t="Vertex shader compilation failed: "+n.getShaderInfoLog(r);throw new Error(t)}if(n.deleteShader(r),!n.getProgramParameter(o,n.LINK_STATUS)){const t="GL program linking failed: "+n.getShaderInfoLog(r);throw new Error(t)}return o}getUniformLocation(t){return void 0===this.uniformLocations_[t]&&(this.uniformLocations_[t]=this.getGL().getUniformLocation(this.currentProgram_,t)),this.uniformLocations_[t]}getAttributeLocation(t){return void 0===this.attribLocations_[t]&&(this.attribLocations_[t]=this.getGL().getAttribLocation(this.currentProgram_,t)),this.attribLocations_[t]}makeProjectionTransform(t,e){const n=t.size,i=t.viewState.rotation,r=t.viewState.resolution,o=t.viewState.center;return _t(e),Mt(e,0,0,2/(r*n[0]),2/(r*n[1]),-i,-o[0],-o[1]),e}setUniformFloatValue(t,e){this.getGL().uniform1f(this.getUniformLocation(t),e)}setUniformFloatVec2(t,e){this.getGL().uniform2fv(this.getUniformLocation(t),e)}setUniformFloatVec4(t,e){this.getGL().uniform4fv(this.getUniformLocation(t),e)}setUniformMatrixValue(t,e){this.getGL().uniformMatrix4fv(this.getUniformLocation(t),!1,e)}enableAttributeArray_(t,e,n,i,r){const o=this.getAttributeLocation(t);o<0||(this.getGL().enableVertexAttribArray(o),this.getGL().vertexAttribPointer(o,e,n,!1,i,r))}enableAttributes(t){const e=fA(t);let n=0;for(let i=0;ithis.size_[0]||e>=this.size_[1])return vA[0]=0,vA[1]=0,vA[2]=0,vA[3]=0,vA;this.readAll();const n=Math.floor(t)+(this.size_[1]-Math.floor(e)-1)*this.size_[0];return vA[0]=this.data_[4*n],vA[1]=this.data_[4*n+1],vA[2]=this.data_[4*n+2],vA[3]=this.data_[4*n+3],vA}getTexture(){return this.texture_}getFramebuffer(){return this.framebuffer_}updateSize_(){const t=this.size_,e=this.helper_.getGL();this.texture_=this.helper_.createTexture(t,null,this.texture_),e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.viewport(0,0,t[0],t[1]),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.texture_,0),this.data_=new Uint8Array(t[0]*t[1]*4)}}const xA=_A,bA={GENERATE_POLYGON_BUFFERS:"GENERATE_POLYGON_BUFFERS",GENERATE_POINT_BUFFERS:"GENERATE_POINT_BUFFERS",GENERATE_LINE_STRING_BUFFERS:"GENERATE_LINE_STRING_BUFFERS"};function wA(t,e){e=e||[];const n=256,i=n-1;return e[0]=Math.floor(t/n/n/n)/i,e[1]=Math.floor(t/n/n)%n/i,e[2]=Math.floor(t/n)%n/i,e[3]=t%n/i,e}function SA(t){let e=0;const n=256,i=n-1;return e+=Math.round(t[0]*n*n*n*i),e+=Math.round(t[1]*n*n*i),e+=Math.round(t[2]*n*i),e+=Math.round(t[3]*i),e}function AA(){const t='const e="GENERATE_POLYGON_BUFFERS",t="GENERATE_POINT_BUFFERS",n="GENERATE_LINE_STRING_BUFFERS",r={1:"The view center is not defined",2:"The view resolution is not defined",3:"The view rotation is not defined",4:"`image` and `src` cannot be provided at the same time",5:"`imgSize` must be set when `image` is provided",7:"`format` must be set when `url` is set",8:"Unknown `serverType` configured",9:"`url` must be configured or set using `#setUrl()`",10:"The default `geometryFunction` can only handle `Point` geometries",11:"`options.featureTypes` must be an Array",12:"`options.geometryName` must also be provided when `options.bbox` is set",13:"Invalid corner",14:"Invalid color",15:"Tried to get a value for a key that does not exist in the cache",16:"Tried to set a value for a key that is used already",17:"`resolutions` must be sorted in descending order",18:"Either `origin` or `origins` must be configured, never both",19:"Number of `tileSizes` and `resolutions` must be equal",20:"Number of `origins` and `resolutions` must be equal",22:"Either `tileSize` or `tileSizes` must be configured, never both",24:"Invalid extent or geometry provided as `geometry`",25:"Cannot fit empty extent provided as `geometry`",26:"Features must have an id set",27:"Features must have an id set",28:\'`renderMode` must be `"hybrid"` or `"vector"`\',30:"The passed `feature` was already added to the source",31:"Tried to enqueue an `element` that was already added to the queue",32:"Transformation matrix cannot be inverted",33:"Invalid units",34:"Invalid geometry layout",36:"Unknown SRS type",37:"Unknown geometry type found",38:"`styleMapValue` has an unknown type",39:"Unknown geometry type",40:"Expected `feature` to have a geometry",41:"Expected an `ol/style/Style` or an array of `ol/style/Style.js`",42:"Question unknown, the answer is 42",43:"Expected `layers` to be an array or a `Collection`",47:"Expected `controls` to be an array or an `ol/Collection`",48:"Expected `interactions` to be an array or an `ol/Collection`",49:"Expected `overlays` to be an array or an `ol/Collection`",50:"`options.featureTypes` should be an Array",51:"Either `url` or `tileJSON` options must be provided",52:"Unknown `serverType` configured",53:"Unknown `tierSizeCalculation` configured",55:"The {-y} placeholder requires a tile grid with extent",56:"mapBrowserEvent must originate from a pointer event",57:"At least 2 conditions are required",59:"Invalid command found in the PBF",60:"Missing or invalid `size`",61:"Cannot determine IIIF Image API version from provided image information JSON",62:"A `WebGLArrayBuffer` must either be of type `ELEMENT_ARRAY_BUFFER` or `ARRAY_BUFFER`",64:"Layer opacity must be a number",66:"`forEachFeatureAtCoordinate` cannot be used on a WebGL layer if the hit detection logic has not been enabled. This is done by providing adequate shaders using the `hitVertexShader` and `hitFragmentShader` properties of `WebGLPointsLayerRenderer`",67:"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both",68:"A VectorTile source can only be rendered if it has a projection compatible with the view projection",69:"`width` or `height` cannot be provided together with `scale`"};class o extends Error{constructor(e){const t=r[e];super(t),this.code=e,this.name="AssertionError",this.message=t}}var i=o;function a(e,t){const n=t[0],r=t[1];return t[0]=e[0]*n+e[2]*r+e[4],t[1]=e[1]*n+e[3]*r+e[5],t}function s(e,t){const n=(r=t)[0]*r[3]-r[1]*r[2];var r;!function(e,t){if(!e)throw new i(t)}(0!==n,32);const o=t[0],a=t[1],s=t[2],u=t[3],f=t[4],x=t[5];return e[0]=u/n,e[1]=-a/n,e[2]=-s/n,e[3]=o/n,e[4]=(s*x-u*f)/n,e[5]=-(o*x-a*f)/n,e}new Array(6);var u={};function f(e,t,n){n=n||2;var r,o,i,a,s,u,f,l=t&&t.length,c=l?t[0]*n:e.length,v=x(e,0,c,n,!0),d=[];if(!v||v.next===v.prev)return d;if(l&&(v=function(e,t,n,r){var o,i,a,s=[];for(o=0,i=t.length;o80*n){r=i=e[0],o=a=e[1];for(var y=n;yi&&(i=s),u>a&&(a=u);f=0!==(f=Math.max(i-r,a-o))?32767/f:0}return h(v,d,n,r,o,f,0),d}function x(e,t,n,r,o){var i,a;if(o===B(e,t,n,r)>0)for(i=t;i=t;i-=r)a=k(i,e[i],e[i+1],a);return a&&M(a,a.next)&&(z(a),a=a.next),a}function l(e,t){if(!e)return e;t||(t=e);var n,r=e;do{if(n=!1,r.steiner||!M(r,r.next)&&0!==Z(r.prev,r,r.next))r=r.next;else{if(z(r),(r=t=r.prev)===r.next)break;n=!0}}while(n||r!==t);return t}function h(e,t,n,r,o,i,a){if(e){!a&&i&&function(e,t,n,r){var o=e;do{0===o.z&&(o.z=m(o.x,o.y,t,n,r)),o.prevZ=o.prev,o.nextZ=o.next,o=o.next}while(o!==e);o.prevZ.nextZ=null,o.prevZ=null,function(e){var t,n,r,o,i,a,s,u,f=1;do{for(n=e,e=null,i=null,a=0;n;){for(a++,r=n,s=0,t=0;t0||u>0&&r;)0!==s&&(0===u||!r||n.z<=r.z)?(o=n,n=n.nextZ,s--):(o=r,r=r.nextZ,u--),i?i.nextZ=o:e=o,o.prevZ=i,i=o;n=r}i.nextZ=null,f*=2}while(a>1)}(o)}(e,r,o,i);for(var s,u,f=e;e.prev!==e.next;)if(s=e.prev,u=e.next,i?v(e,r,o,i):c(e))t.push(s.i/n|0),t.push(e.i/n|0),t.push(u.i/n|0),z(e),e=u.next,f=u.next;else if((e=u)===f){a?1===a?h(e=d(l(e),t,n),t,n,r,o,i,2):2===a&&y(e,t,n,r,o,i):h(l(e),t,n,r,o,i,1);break}}}function c(e){var t=e.prev,n=e,r=e.next;if(Z(t,n,r)>=0)return!1;for(var o=t.x,i=n.x,a=r.x,s=t.y,u=n.y,f=r.y,x=oi?o>a?o:a:i>a?i:a,c=s>u?s>f?s:f:u>f?u:f,v=r.next;v!==t;){if(v.x>=x&&v.x<=h&&v.y>=l&&v.y<=c&&A(o,s,i,u,a,f,v.x,v.y)&&Z(v.prev,v,v.next)>=0)return!1;v=v.next}return!0}function v(e,t,n,r){var o=e.prev,i=e,a=e.next;if(Z(o,i,a)>=0)return!1;for(var s=o.x,u=i.x,f=a.x,x=o.y,l=i.y,h=a.y,c=su?s>f?s:f:u>f?u:f,y=x>l?x>h?x:h:l>h?l:h,p=m(c,v,t,n,r),b=m(d,y,t,n,r),g=e.prevZ,w=e.nextZ;g&&g.z>=p&&w&&w.z<=b;){if(g.x>=c&&g.x<=d&&g.y>=v&&g.y<=y&&g!==o&&g!==a&&A(s,x,u,l,f,h,g.x,g.y)&&Z(g.prev,g,g.next)>=0)return!1;if(g=g.prevZ,w.x>=c&&w.x<=d&&w.y>=v&&w.y<=y&&w!==o&&w!==a&&A(s,x,u,l,f,h,w.x,w.y)&&Z(w.prev,w,w.next)>=0)return!1;w=w.nextZ}for(;g&&g.z>=p;){if(g.x>=c&&g.x<=d&&g.y>=v&&g.y<=y&&g!==o&&g!==a&&A(s,x,u,l,f,h,g.x,g.y)&&Z(g.prev,g,g.next)>=0)return!1;g=g.prevZ}for(;w&&w.z<=b;){if(w.x>=c&&w.x<=d&&w.y>=v&&w.y<=y&&w!==o&&w!==a&&A(s,x,u,l,f,h,w.x,w.y)&&Z(w.prev,w,w.next)>=0)return!1;w=w.nextZ}return!0}function d(e,t,n){var r=e;do{var o=r.prev,i=r.next.next;!M(o,i)&&F(o,r,r.next,i)&&S(o,i)&&S(i,o)&&(t.push(o.i/n|0),t.push(r.i/n|0),t.push(i.i/n|0),z(r),z(r.next),r=e=i),r=r.next}while(r!==e);return l(r)}function y(e,t,n,r,o,i){var a=e;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&E(a,s)){var u=U(a,s);return a=l(a,a.next),u=l(u,u.next),h(a,t,n,r,o,i,0),void h(u,t,n,r,o,i,0)}s=s.next}a=a.next}while(a!==e)}function p(e,t){return e.x-t.x}function b(e,t){var n=function(e,t){var n,r=t,o=e.x,i=e.y,a=-1/0;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var s=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(s<=o&&s>a&&(a=s,n=r.x=r.x&&r.x>=x&&o!==r.x&&A(in.x||r.x===n.x&&g(n,r)))&&(n=r,h=u)),r=r.next}while(r!==f);return n}(e,t);if(!n)return t;var r=U(n,e);return l(r,r.next),l(n,n.next)}function g(e,t){return Z(e.prev,e,t.prev)<0&&Z(t.next,e,e.next)<0}function m(e,t,n,r,o){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-n)*o|0)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-r)*o|0)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function w(e){var t=e,n=e;do{(t.x=(e-a)*(i-s)&&(e-a)*(r-s)>=(n-a)*(t-s)&&(n-a)*(i-s)>=(o-a)*(r-s)}function E(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&F(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(e,t)&&(S(e,t)&&S(t,e)&&function(e,t){var n=e,r=!1,o=(e.x+t.x)/2,i=(e.y+t.y)/2;do{n.y>i!=n.next.y>i&&n.next.y!==n.y&&o<(n.next.x-n.x)*(i-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}(e,t)&&(Z(e.prev,e,t.prev)||Z(e,t.prev,t))||M(e,t)&&Z(e.prev,e,e.next)>0&&Z(t.prev,t,t.next)>0)}function Z(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function M(e,t){return e.x===t.x&&e.y===t.y}function F(e,t,n,r){var o=I(Z(e,t,n)),i=I(Z(e,t,r)),a=I(Z(n,r,e)),s=I(Z(n,r,t));return o!==i&&a!==s||(!(0!==o||!T(e,n,t))||(!(0!==i||!T(e,r,t))||(!(0!==a||!T(n,e,r))||!(0!==s||!T(n,t,r)))))}function T(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function I(e){return e>0?1:e<0?-1:0}function S(e,t){return Z(e.prev,e,e.next)<0?Z(e,t,e.next)>=0&&Z(e,e.prev,t)>=0:Z(e,t,e.prev)<0||Z(e,e.next,t)<0}function U(e,t){var n=new R(e.i,e.x,e.y),r=new R(t.i,t.x,t.y),o=e.next,i=t.prev;return e.next=t,t.prev=e,n.next=o,o.prev=n,r.next=n,n.prev=r,i.next=r,r.prev=i,r}function k(e,t,n,r){var o=new R(e,t,n);return r?(o.next=r.next,o.prev=r,r.next.prev=o,r.next=o):(o.prev=o,o.next=o),o}function z(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function R(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function B(e,t,n,r){for(var o=0,i=t,a=n-r;i0&&(r+=e[o-1].length,n.holes.push(r))}return n};const N=[],P={vertexPosition:0,indexPosition:0};function C(e,t,n,r,o){e[t+0]=n,e[t+1]=r,e[t+2]=o}function _(e,t,n,r,o,i){const a=3+o,s=e[t+0],u=e[t+1],f=N;f.length=o;for(let n=0;n0?u:2*Math.PI-u}const g=null!==o;let m=0,w=0;if(null!==r){m=b(d,y,a(x,[...[e[r],e[r+1]]]))}if(g){w=b(y,d,a(x,[...[e[o],e[o+1]]]))}i.push(c[0],c[1],v[0],v[1],p(0,m,w)),i.push(...u),i.push(c[0],c[1],v[0],v[1],p(1,m,w)),i.push(...u),i.push(c[0],c[1],v[0],v[1],p(2,m,w)),i.push(...u),i.push(c[0],c[1],v[0],v[1],p(3,m,w)),i.push(...u),s.push(h,h+1,h+2,h+1,h+3,h+2)}function L(e,t,n,r,o){const i=2+o;let a=t;const s=e.slice(a,a+o);a+=o;const f=e[a++];let x=0;const l=new Array(f-1);for(let t=0;t{const o=r.data;switch(o.type){case t:{const e=3,t=2,n=o.customAttributesCount,r=t+n,i=new Float32Array(o.renderInstructions),a=i.length/r,s=4*a*(n+e),u=new Uint32Array(6*a),f=new Float32Array(s);let x;for(let e=0;e0?a+(n-1)*r:null,n{const e=t.data;if(e.type===bA.GENERATE_POINT_BUFFERS){const n=e.projectionTransform;e.hitDetection?(this.hitVerticesBuffer_.fromArrayBuffer(e.vertexBuffer),this.helper.flushBufferData(this.hitVerticesBuffer_)):(this.verticesBuffer_.fromArrayBuffer(e.vertexBuffer),this.helper.flushBufferData(this.verticesBuffer_)),this.indicesBuffer_.fromArrayBuffer(e.indexBuffer),this.helper.flushBufferData(this.indicesBuffer_),this.renderTransform_=n,Et(this.invertRenderTransform_,this.renderTransform_),e.hitDetection?this.hitRenderInstructions_=new Float32Array(t.data.renderInstructions):(this.renderInstructions_=new Float32Array(t.data.renderInstructions),e.generateBuffersRun===this.generateBuffersRun_&&(this.ready=!0)),this.getLayer().changed()}}),this.featureCache_={},this.featureCount_=0;const o=this.getLayer().getSource();this.sourceListenKeys_=[G(o,bl.ADDFEATURE,this.handleSourceFeatureAdded_,this),G(o,bl.CHANGEFEATURE,this.handleSourceFeatureChanged_,this),G(o,bl.REMOVEFEATURE,this.handleSourceFeatureDelete_,this),G(o,bl.CLEAR,this.handleSourceFeatureClear_,this)],o.forEachFeature(t=>{this.featureCache_[Y(t)]={feature:t,properties:t.getProperties(),geometry:t.getGeometry()},this.featureCount_++})}afterHelperCreated(){this.program_=this.helper.getProgram(this.fragmentShader_,this.vertexShader_),this.hitDetectionEnabled_&&(this.hitProgram_=this.helper.getProgram(this.hitFragmentShader_,this.hitVertexShader_),this.hitRenderTarget_=new xA(this.helper))}handleSourceFeatureAdded_(t){const e=t.feature;this.featureCache_[Y(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()},this.featureCount_++}handleSourceFeatureChanged_(t){const e=t.feature;this.featureCache_[Y(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()}}handleSourceFeatureDelete_(t){const e=t.feature;delete this.featureCache_[Y(e)],this.featureCount_--}handleSourceFeatureClear_(){this.featureCache_={},this.featureCount_=0}renderFrame(t){const e=this.helper.getGL();this.preRender(e,t);const n=t.viewState.projection,i=this.getLayer().getSource().getWrapX()&&n.canWrapX(),r=n.getExtent(),o=t.extent,a=i?ce(r):null,s=i?Math.ceil((o[2]-r[2])/a)+1:1,l=i?Math.floor((o[0]-r[0])/a):0;let h=l;const u=this.indicesBuffer_.getSize();do{this.helper.makeProjectionTransform(t,this.currentTransform_),It(this.currentTransform_,h*a,0),xt(this.currentTransform_,this.invertRenderTransform_),this.helper.applyUniforms(t),this.helper.drawElements(0,u)}while(++h{const e=this.weightFunction_(t);return void 0!==e?qe(e,0,1):1}}],vertexShader:"\n precision mediump float;\n uniform mat4 u_projectionMatrix;\n uniform mat4 u_offsetScaleMatrix;\n uniform float u_size;\n attribute vec2 a_position;\n attribute float a_index;\n attribute float a_weight;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n\n void main(void) {\n mat4 offsetMatrix = u_offsetScaleMatrix;\n float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n v_texCoord = vec2(u, v);\n v_weight = a_weight;\n }",fragmentShader:"\n precision mediump float;\n uniform float u_blurSlope;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n\n void main(void) {\n vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n float alpha = smoothstep(0.0, 1.0, value) * v_weight;\n gl_FragColor = vec4(alpha, alpha, alpha, alpha);\n }",hitVertexShader:"\n precision mediump float;\n uniform mat4 u_projectionMatrix;\n uniform mat4 u_offsetScaleMatrix;\n uniform float u_size;\n attribute vec2 a_position;\n attribute float a_index;\n attribute float a_weight;\n attribute vec4 a_hitColor;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n varying vec4 v_hitColor;\n\n void main(void) {\n mat4 offsetMatrix = u_offsetScaleMatrix;\n float offsetX = a_index == 0.0 || a_index == 3.0 ? -u_size / 2.0 : u_size / 2.0;\n float offsetY = a_index == 0.0 || a_index == 1.0 ? -u_size / 2.0 : u_size / 2.0;\n vec4 offsets = offsetMatrix * vec4(offsetX, offsetY, 0.0, 0.0);\n gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0) + offsets;\n float u = a_index == 0.0 || a_index == 3.0 ? 0.0 : 1.0;\n float v = a_index == 0.0 || a_index == 1.0 ? 0.0 : 1.0;\n v_texCoord = vec2(u, v);\n v_hitColor = a_hitColor;\n v_weight = a_weight;\n }",hitFragmentShader:"\n precision mediump float;\n uniform float u_blurSlope;\n\n varying vec2 v_texCoord;\n varying float v_weight;\n varying vec4 v_hitColor;\n\n void main(void) {\n vec2 texCoord = v_texCoord * 2.0 - vec2(1.0, 1.0);\n float sqRadius = texCoord.x * texCoord.x + texCoord.y * texCoord.y;\n float value = (1.0 - sqrt(sqRadius)) * u_blurSlope;\n float alpha = smoothstep(0.0, 1.0, value) * v_weight;\n if (alpha < 0.05) {\n discard;\n }\n\n gl_FragColor = v_hitColor;\n }",uniforms:{u_size:()=>2*(this.get(IA.RADIUS)+this.get(IA.BLUR)),u_blurSlope:()=>this.get(IA.RADIUS)/Math.max(1,this.get(IA.BLUR))},postProcesses:[{fragmentShader:"\n precision mediump float;\n\n uniform sampler2D u_image;\n uniform sampler2D u_gradientTexture;\n uniform float u_opacity;\n\n varying vec2 v_texCoord;\n\n void main() {\n vec4 color = texture2D(u_image, v_texCoord);\n gl_FragColor.a = color.a * u_opacity;\n gl_FragColor.rgb = texture2D(u_gradientTexture, vec2(0.5, color.a)).rgb;\n gl_FragColor.rgb *= gl_FragColor.a;\n }",uniforms:{u_gradientTexture:()=>this.gradient_,u_opacity:()=>this.getOpacity()}}]})}renderDeclutter(){}}function zA(t){const e=Ir(1,256),n=e.createLinearGradient(0,0,1,256),i=1/(t.length-1);for(let r=0,o=t.length;r0){const e=Ip(t,this.map);this.layer.getSource().addFeatures(e)}},immediate:!1},blur:{handler(t){this.layer.setBlur(t)},immediate:!1},radius:{handler(t){this.layer.setRadius(t)},immediate:!1},gradient:{handler(t){this.layer.setGradient(t)},immediate:!1,deep:!0},visible:{handler(t){this.layer.setVisible(t)},immediate:!1},zIndex:{handler(t){this.layer.setZIndex(t)},immediate:!1},maxZoom:{handler(t){this.layer.setMaxZoom(t)},immediate:!1},minZoom:{handler(t){this.layer.setMinZoom(t)},immediate:!1},extent:{handler(t){this.layer.setExtent(t)},immediate:!1}},computed:{map(){return this.VMap.map}},mounted(){const t=Dp(this.source,this.map);if(this.source.features.length<=0&&this.features.length>0){const e=Ip(this.features,this.map);t.addFeatures(e)}const e=d(c({},this.$props),{source:t});this.layer=new PA(e),this.layer.set("id",this.layerId),this.layer.set("type","heatmap"),this.layer.set("users",!0),this.zIndex&&this.layer.setZIndex(this.zIndex),this.map.addLayer(this.layer)},beforeDestroy(){this.map.removeLayer(this.layer)}};let nC,iC;const rC={};var oC=im(eC,nC,iC,!1,aC,null,null,null);function aC(t){for(let e in rC)this[e]=rC[e]}oC.options.__file="src/components/layers/heatmap/index.vue";const sC=function(){return oC.exports}();sC.install=t=>{t.component(sC.name,sC)};const lC={name:"v-graphic",render(t,e){return null},extends:pm,inject:["VMap"],data(){return{layer:null}},props:{layerId:{type:String,default(){return"graphic-layer-"+p()}},features:{type:Array,default(){return[]}},featureStyle:{type:Object}},computed:{map(){return this.VMap.map}},watch:{features:{handler(t){this.layer.getSource().refresh()},immediate:!1},visible:{handler(t){this.layer.setVisible(t)},immediate:!1},zIndex:{handler(t){this.layer.setZIndex(t)},immediate:!1},maxZoom:{handler(t){this.layer.setMaxZoom(t)},immediate:!1},minZoom:{handler(t){this.layer.setMinZoom(t)},immediate:!1},extent:{handler(t){this.layer.setExtent(t)},immediate:!1}},mounted(){this.init()},beforeDestroy(){this.map.removeLayer(this.layer),this.layer.dispose()},methods:{init(){let t;this.featureStyle?Fp(this.featureStyle.icon).then(e=>{t=this.setSource(e),this.setLayer(t)}):(t=this.setSource(),this.setLayer(t))},setSource(t){const e=new dp({canvasFunction:(n,i,r,o,a)=>{const s=[],l=document.createElement("canvas"),h=o[0]/r,u=o[1]/r,c=zl(l.getContext("2d"),{size:[h,u]});t&&c.setStyle(t);const d=this.map.getSize(),g=[(h-d[0])/2,(u-d[1])/2],f=-this.map.getView().getRotation(),p=this.map.getPixelFromCoordinate(this.map.getView().getCenter());return this.features.length>0&&this.features.forEach(e=>{const n=e.coordinates,i=this.map.getPixelFromCoordinate(n),r=function(t,e,n){return[Math.cos(e)*(t[0]-n[0])-Math.sin(e)*(t[1]-n[1])+n[0],Math.sin(e)*(t[0]-n[0])+Math.cos(e)*(t[1]-n[1])+n[1]]}(function(t,e,n){return[(t[0]-e[0])*n+e[0],(t[1]-e[1])*n+e[1]]}(i,p,1),f,p),o=[r[0]+g[0],r[1]+g[1]],a=new Ei(o,"XY"),l=new pp(a);l._coordinates=n;for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&l.set(t,e[t]);_p(e,"style")?(t=Cp(e.style),c.drawFeature(l,t)):c.drawGeometry(a),l._style=t,s.push(l)}),e.set("graphics",s),l}});return e},setLayer(t){const e=d(c({},this.$props),{source:t});this.layer=new ay(e),this.layer.set("id",this.layerId),this.layer.set("type","graphic"),this.layer.set("users",!0),this.zIndex&&this.layer.setZIndex(this.zIndex),this.map.addLayer(this.layer)}}};let hC,uC;const cC={};var dC=im(lC,hC,uC,!1,gC,null,null,null);function gC(t){for(let e in cC)this[e]=cC[e]}dC.options.__file="src/components/layers/graphic/index.vue";const fC=function(){return dC.exports}();fC.install=t=>{t.component(fC.name,fC)};const pC={name:"v-draw",extends:pm,inject:["VMap"],render(t,e){return null},props:{layerId:{type:String,default(){return"draw-layer-"+p()}},features:{type:Array,default(){return[]}},source:{type:Object,default(){return{features:[]}}},featureStyle:{type:[Object,Boolean],default(){return!1}},type:{type:String,default:""},clickTolerance:{type:Number,default:6},dragVertexDelay:{type:Number,default:500},snapTolerance:{type:Number,default:12},stopClick:{type:Boolean,default(){return!1}},maxPoints:{type:Number,default:void 0},minPoints:{type:Number,default:void 0},drawOnce:{type:Boolean,default(){return!1}},endRight:{type:Boolean,default(){return!1}},endDblclick:{type:Boolean,default(){return!1}},editable:{type:Boolean,default(){return!1}},clear:{type:Boolean,default(){return!1}},wrapX:{type:Boolean,default(){return!1}},finishCondition:{type:Object},geometryFunction:{type:Function},geometryName:{type:String},condition:{type:Object},freehand:{type:Boolean,default(){return!1}},freehandCondition:{type:Object},drawStyle:{type:[Object,Boolean],default(){return!1}},arrow:{type:[Object,Boolean],default(){return!1}}},data(){return{layer:null,draw:null,modify:null,select:null}},computed:{map(){return this.VMap.map}},watch:{visible:{handler(t){this.layer.setVisible(t)},immediate:!1},zIndex:{handler(t){this.layer.setZIndex(t)},immediate:!1},maxZoom:{handler(t){this.layer.setMaxZoom(t)},immediate:!1},minZoom:{handler(t){this.layer.setMinZoom(t)},immediate:!1},extent:{handler(t){this.layer.setExtent(t)},immediate:!1,deep:!0},type:{handler(t){t?this.initDraw():this.dispose()},immediate:!1}},mounted(){this.init()},beforeDestroy(){this.dispose()},methods:{init(){const t=Dp(this.source,this.map);if(this.source.features.length<=0&&this.features.length>0){const e=Ip(this.features,this.map);t.addFeatures(e)}const e=d(c({},this.$props),{source:t});this.layer=new pl(e),this.layer.setStyle(t=>t.get("style")?Cp(t.get("style")):this.featureStyle?Cp(this.featureStyle):Cp({fill:{color:"rgba(67,126,255,0.15)"},stroke:{color:"rgba(67,126,255,1)",width:1}})),this.layer.set("id",this.layerId),this.layer.set("type","draw"),this.layer.set("users",!0),this.zIndex&&this.layer.setZIndex(this.zIndex),this.map.addLayer(this.layer),this.type&&this.initDraw()},initDraw(){this.resetDraw(),this.draw.set("type","draw"),this.map.addInteraction(this.draw),this.draw.on("drawstart",t=>{this.$emit("drawstart",t,this.map),this.clear&&this.layer.getSource().clear()}),this.draw.on("drawend",t=>{const e=t.feature.getGeometry();"LineString"===this.type?t.measure=Jp(e):"Polygon"===this.type&&(t.measure=Qp(e)),this.$emit("drawend",t,this.map),this.drawOnce&&this.draw.setActive(!1),this.endRight&&this.type&&this.map.on("contextmenu",t=>{this.draw.setActive(!1)}),this.endDblclick&&this.map.on("dblclick",t=>{this.draw.setActive(!1)})}),this.editable&&(this.select=new jc({source:this.layer.getSource()}),this.map.addInteraction(this.select),this.modify=new Ic({source:this.layer.getSource()}),this.modify.set("type","modify"),this.map.addInteraction(this.modify),this.modify.on("modifystart",t=>{this.$emit("modifystart",t,this.map)}),this.modify.on("modifyend",t=>{const e=t.features.getArray()[0].getGeometry();"LineString"===this.type?t.measure=Jp(e):"Polygon"===this.type&&(t.measure=Qp(e)),this.$emit("modifyend",t,this.map)}))},resetDraw(){this.draw&&(this.map.removeInteraction(this.draw),this.draw=null);const t={source:this.layer.getSource(),type:this.type,freehand:this.freehand,clickTolerance:this.clickTolerance,features:Ip(this.features,this.map),dragVertexDelay:this.dragVertexDelay,snapTolerance:this.snapTolerance,stopClick:this.stopClick,maxPoints:this.maxPoints,minPoints:this.minPoints,wrapX:this.wrapX,geometryName:this.geometryName,geometryFunction:this.geometryFunction,style:this.drawStyle?Cp(this.drawStyle):null};if("Rectangle"===this.type){const e=d(c({},t),{type:"Circle",geometryFunction:gc()});this.draw=new pc(e)}else if("Square"===this.type){const e=d(c({},t),{type:"Circle",geometryFunction:dc(4)});this.draw=new pc(e)}else if(this.type.indexOf("Star")>-1){const e=this.type.split("-")[1]||5,n=function(t,n){const i=t[0],r=t[t.length-1],o=i[0]-r[0],a=i[1]-r[1],s=Math.sqrt(o*o+a*a),l=Math.atan2(a,o),h=[],u=2*Number(e);for(let e=0;e{const t=this.map.getView().getZoom();this.layer.getSource().getFeatures().forEach(t=>{t.get("isArrow")&&this.layer.getSource().removeFeature(t)}),Math.round(t)===t&&this.layer.getSource().getFeatures().forEach(t=>{Uy(c({coordinates:t.getGeometry().getCoordinates(),map:this.map,source:this.layer.getSource()},this.arrow))})})},dispose(){this.map.removeInteraction(this.draw),this.map.removeInteraction(this.select),this.map.removeInteraction(this.modify),this.layer.getSource().clear()},finish(){this.draw.finishDrawing()},remove(){this.draw&&(this.map.removeInteraction(this.draw),this.layer.getSource().clear(),this.map.removeInteraction(this.select),this.map.removeInteraction(this.modify))},setActive(t){this.draw.setActive(t)}}};let mC,yC;const vC={};var _C=im(pC,mC,yC,!1,xC,null,null,null);function xC(t){for(let e in vC)this[e]=vC[e]}_C.options.__file="src/components/layers/draw/index.vue";const bC=function(){return _C.exports}();bC.install=t=>{t.component(bC.name,bC)};const wC={name:"v-measure",extends:pm,inject:["VMap"],render(t,e){return null},props:{layerId:{type:String,default(){return"measure-layer-"+p()}},features:{type:Array,default(){return[]}},source:{type:Object,default(){return{features:[]}}},featureStyle:{type:[Object,Boolean],default(){return!1}},type:{type:String,default:""},clear:{type:Boolean,default:!1},segments:{type:Boolean,default:!1},endRight:{type:Boolean,default:!1},modifiable:{type:Boolean,default:!0},labelStyle:{type:[Object,Boolean],default(){return!1}},tipStyle:{type:[Object,Boolean],default(){return!1}},modifyStyle:{type:[Object,Boolean],default(){return!1}}},data(){return{layer:null,draw:null,modify:null,select:null}},computed:{map(){return this.VMap.map}},watch:{type:{handler(t){this.map.removeInteraction(this.draw),this.map.removeInteraction(this.select),this.map.removeInteraction(this.modify),t&&this.init()},immediate:!1}},mounted(){this.type&&this.init()},beforeDestroy(){this.map.removeLayer(this.layer),this.dispose()},methods:{init(){const t=Dp(this.source,this.map);if(this.source.features.length<=0&&this.features.length>0){const e=Ip(this.features,this.map);t.addFeatures(e)}const e=new Co({fill:new er({color:"rgba(255, 255, 255, 0.2)"}),stroke:new hr({color:"rgba(0, 0, 0, 0.5)",lineDash:[10,10],width:2}),image:new vo({radius:5,stroke:new hr({color:"rgba(0, 0, 0, 0.7)"}),fill:new er({color:"rgba(255, 255, 255, 0.2)"})})}),n=this.labelStyle?Cp(this.labelStyle):this.labelDefaultStyle(),i=this.tipStyle?Cp(this.tipStyle):this.tipDefaultStyle(),r=this.modifyStyle?Cp(this.modifyStyle):this.modifyDefaultStyle(),o=new Co({text:new Mo({font:"12px Calibri,sans-serif",fill:new er({color:"rgba(255, 255, 255, 1)"}),backgroundFill:new er({color:"rgba(0, 0, 0, 0.4)"}),padding:[2,2,2,2],textBaseline:"bottom",offsetY:-12}),image:new mo({radius:6,points:3,angle:Math.PI,displacement:[0,8],fill:new er({color:"rgba(0, 0, 0, 0.4)"})})}),a=[o],s=function(t){const e=pn(t,{projection:"EPSG:4326"});let n;return n=e>100?Math.round(e/1e3*100)/100+" km":Math.round(100*e)/100+" m",n},l=function(t){const e=yn(t,{projection:"EPSG:4326"});let n;return n=e>1e4?Math.round(e/1e6*100)/100+" km²":Math.round(100*e)/100+" m²",n};let h;this.modify=new Ic({source:t,style:r});const u=(t,r,u,c)=>{const d=[this.featureStyle?Cp(this.featureStyle):e],g=t.getGeometry(),f=g.getType();let p,m,y;if((!u||u===f)&&("Polygon"===f?(p=g.getInteriorPoint(),m=l(g),y=new sr(g.getCoordinates()[0])):"LineString"===f&&(p=new Ei(g.getLastCoordinate()),m=s(g),y=g)),r&&y){let t=0;y.forEachSegment((function(e,n){const i=new sr([e,n]),r=s(i);a.length-1u(t,this.segments)),this.layer.set("id",this.layerId),this.layer.set("type","measure"),this.layer.set("users",!0),this.zIndex&&this.layer.setZIndex(this.zIndex),this.map.addLayer(this.layer),this.modify.set("type","measure"),this.modifiable&&this.map.addInteraction(this.modify);const f=this.type,p="点击继续测量"+("Polygon"===f?"面积":"长度"),m="点击开始测量";let y=m;this.draw=new pc({source:this.layer.getSource(),type:f,style:t=>u(t,this.segments,f,y)}),this.draw.set("type","measure"),this.draw.set("measureDraw",!0),this.draw.on("drawstart",e=>{this.clear&&t.clear(),this.modify.setActive(!1),y=p,this.$emit("measurestart",e,this.map)}),this.draw.on("drawend",t=>{r.setGeometry(h),this.modify.setActive(!0),this.map.once("pointermove",()=>{r.setGeometry()}),y=m,this.endRight&&this.draw.setActive(!1),this.$emit("measureend",t,this.map)}),this.modify.setActive(!0),this.map.addInteraction(this.draw)},dispose(){this.map.removeInteraction(this.draw),this.map.removeInteraction(this.select),this.map.removeInteraction(this.modify),this.map.removeLayer(this.layer)},finish(){this.draw.finishDrawing()},remove(){this.map.removeInteraction(this.draw)},setActive(t){this.draw.setActive(t)},labelDefaultStyle(){return new Co({text:new Mo({font:"14px Calibri,sans-serif",fill:new er({color:"rgba(255, 255, 255, 1)"}),backgroundFill:new er({color:"rgba(0, 0, 0, 0.7)"}),padding:[3,3,3,3],textBaseline:"bottom",offsetY:-15}),image:new mo({radius:8,points:3,angle:Math.PI,displacement:[0,10],fill:new er({color:"rgba(0, 0, 0, 0.7)"})})})},tipDefaultStyle(){return new Co({text:new Mo({font:"12px Calibri,sans-serif",fill:new er({color:"rgba(255, 255, 255, 1)"}),backgroundFill:new er({color:"rgba(0, 0, 0, 0.4)"}),padding:[2,2,2,2],textAlign:"left",offsetX:15})})},modifyDefaultStyle(){return new Co({image:new vo({radius:5,stroke:new hr({color:"rgba(0, 0, 0, 0.7)"}),fill:new er({color:"rgba(0, 0, 0, 0.4)"})}),text:new Mo({text:"编辑测量",font:"12px Calibri,sans-serif",fill:new er({color:"rgba(255, 255, 255, 1)"}),backgroundFill:new er({color:"rgba(0, 0, 0, 0.7)"}),padding:[2,2,2,2],textAlign:"left",offsetX:15})})}}};let SC,AC;const CC={};var TC=im(wC,SC,AC,!1,IC,null,null,null);function IC(t){for(let e in CC)this[e]=CC[e]}TC.options.__file="src/components/layers/measure/index.vue";const MC=function(){return TC.exports}();MC.install=t=>{t.component(MC.name,MC)};var EC={},zC={};"undefined"!=typeof window||"undefined"!=typeof Jd&&Jd.__DEV__;var PC={},LC=2311;function kC(){return LC++}var RC=kC,DC={};DC="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:jC(navigator.userAgent);var OC=DC;function jC(t){var e={},n={},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);return i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1]),a&&(n.weChat=!0),{browser:n,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!=typeof document}}var FC=OC,NC={},BC={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},GC={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},VC=Object.prototype.toString,qC=Array.prototype,WC=qC.forEach,UC=qC.filter,HC=qC.slice,ZC=qC.map,YC=qC.reduce,XC={};function KC(t,e){"createCanvas"===t&&(nT=null),XC[t]=e}function JC(t){if(null==t||"object"!=typeof t)return t;var e=t,n=VC.call(t);if("[object Array]"===n){if(!kT(t)){e=[];for(var i=0,r=t.length;i3&&(i=UT.call(i,1));for(var o=e.length,a=0;a4&&(i=UT.call(i,1,i.length-1));for(var o=i[i.length-1],a=e.length,s=0;s>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[h]+":0",i[1-l]+":auto",r[1-h]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}function cI(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=!0,s=[],l=[],h=0;h<4;h++){var u=t[h].getBoundingClientRect(),c=2*h,d=u.left,g=u.top;s.push(d,g),a=a&&o&&d===o[c]&&g===o[c+1],l.push(t[h].offsetLeft,t[h].offsetTop)}return a&&r?r:(e.srcCoords=s,e[i]=n?oI(l,s):oI(s,l))}function dI(t){return"CANVAS"===t.nodeName.toUpperCase()}QT.transformLocalCoord=lI,QT.transformCoordWithViewport=hI,QT.isCanvasEl=dI;var gI=KT;JT.Dispatcher=gI;var fI=FC,pI=QT,mI=pI.isCanvasEl,yI=pI.transformCoordWithViewport,vI="undefined"!=typeof window&&!!window.addEventListener,_I=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xI=[];function bI(t,e,n,i){return n=n||{},i||!fI.canvasSupported?wI(t,e,n):fI.browser.firefox&&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):wI(t,e,n),n}function wI(t,e,n){if(fI.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(mI(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(yI(xI,t,i,r))return n.zrX=xI[0],void(n.zrY=xI[1])}n.zrX=n.zrY=0}function SI(t){return t||window.event}function AI(t,e,n){if(e=SI(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var o="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];o&&bI(t,o,e,n)}else bI(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var a=e.button;return null==e.which&&void 0!==a&&_I.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function CI(t,e,n,i){vI?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)}function TI(t,e,n,i){vI?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)}var II=vI?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function MI(t){return 2===t.which||3===t.which}function EI(t){return t.which>1}JT.clientToLocal=bI,JT.getNativeEvent=SI,JT.normalizeEvent=AI,JT.addEventListener=CI,JT.removeEventListener=TI,JT.stop=II,JT.isMiddleOrRightButtonOnMouseUpDown=MI,JT.notLeftMouse=EI;var zI=JT,PI=function(){this._track=[]};function LI(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function kI(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}PI.prototype={constructor:PI,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_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;o1&&i&&i.length>1){var o=LI(i)/LI(r);!isFinite(o)&&(o=1),e.pinchScale=o;var a=kI(i);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},DI=PI,OI=DI,jI=NC,FI=BT(),NI=WT,BI=KT,GI=JT,VI=OI,qI="silent";function WI(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:UI}}function UI(){GI.stop(this.event)}function HI(){}HI.prototype.dispose=function(){};var ZI=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],YI=function(t,e,n,i){BI.call(this),this.storage=t,this.painter=e,this.painterRoot=i,n=n||new HI,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,NI.call(this),this.setHandlerProxy(n)};function XI(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,r=t;r;){if(r.clipPath&&!r.clipPath.contain(e,n))return!1;r.silent&&(i=!0),r=r.parent}return!i||qI}return!1}function KI(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}YI.prototype={constructor:YI,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(jI.each(ZI,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=KI(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(r=this.findHover(r.x,r.y),o=r.target);var a=this._hovered=i?{x:e,y: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)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!n&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){for(var r="on"+e,o=WI(e,t,n);i&&(i[r]&&(o.cancelBubble=i[r].call(i,o)),i.trigger(e,o),i=i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),r={x:t,y:e},o=i.length-1;o>=0;o--){var a;if(i[o]!==n&&!i[o].ignore&&(a=XI(i[o],t,e))&&(!r.topTarget&&(r.topTarget=i[o]),a!==qI)){r.target=i[o];break}}return r},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new VI);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,this.dispatchToElement({target:i.target},r,i.event)}}},jI.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){YI.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=KI(this,r,o);if(("mouseup"!==t||!a)&&(n=this.findHover(r,o),i=n.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||FI.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}})),jI.mixin(YI,BI),jI.mixin(YI,NI);var JI,QI=YI,$I=QI,tM={};function eM(){if(JI)return tM;JI=1;var t="undefined"==typeof Float32Array?Array:Float32Array;function e(){var e=new t(6);return n(e),e}function n(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function i(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 r(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 o(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 a(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],h=Math.sin(n),u=Math.cos(n);return t[0]=i*u+a*h,t[1]=-i*h+a*u,t[2]=r*u+s*h,t[3]=-r*h+u*s,t[4]=u*o+h*l,t[5]=u*l-h*o,t}function s(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 l(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}function h(t){var n=e();return i(n,t),n}return tM.create=e,tM.identity=n,tM.copy=i,tM.mul=r,tM.translate=o,tM.rotate=a,tM.scale=s,tM.invert=l,tM.clone=h,tM}var nM=eM(),iM=BT(),rM=nM.identity,oM=5e-5;function aM(t){return t>oM||t<-oM}var sM=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},lM=sM.prototype;lM.transform=null,lM.needLocalTransform=function(){return aM(this.rotation)||aM(this.position[0])||aM(this.position[1])||aM(this.scale[0]-1)||aM(this.scale[1]-1)};var hM=[];lM.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),i=this.transform;if(n||e){i=i||nM.create(),n?this.getLocalTransform(i):rM(i),e&&(n?nM.mul(i,t.transform,i):nM.copy(i,t.transform)),this.transform=i;var r=this.globalScaleRatio;if(null!=r&&1!==r){this.getGlobalScale(hM);var o=hM[0]<0?-1:1,a=hM[1]<0?-1:1,s=((hM[0]-o)*r+o)/hM[0]||0,l=((hM[1]-a)*r+a)/hM[1]||0;i[0]*=s,i[1]*=s,i[2]*=l,i[3]*=l}this.invTransform=this.invTransform||nM.create(),nM.invert(this.invTransform,i)}else i&&rM(i)},lM.getLocalTransform=function(t){return sM.getLocalTransform(this,t)},lM.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},lM.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var uM=[],cM=nM.create();lM.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=this.position,r=this.scale;aM(e-1)&&(e=Math.sqrt(e)),aM(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],r[0]=e,r[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},lM.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(nM.mul(uM,t.invTransform,e),e=uM);var n=this.origin;n&&(n[0]||n[1])&&(cM[4]=n[0],cM[5]=n[1],nM.mul(uM,e,cM),uM[4]-=n[0],uM[5]-=n[1],e=uM),this.setLocalTransform(e)}},lM.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)},lM.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&iM.applyTransform(n,n,i),n},lM.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&iM.applyTransform(n,n,i),n},sM.getLocalTransform=function(t,e){e=e||[],rM(e);var n=t.origin,i=t.scale||[1,1],r=t.rotation||0,o=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),nM.scale(e,e,i),r&&nM.rotate(e,e,r),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=o[0],e[5]+=o[1],e};var dM=sM,gM=dM,fM={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,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):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-fM.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*fM.bounceIn(2*t):.5*fM.bounceOut(2*t-1)+.5}},pM=fM,mM=pM,yM=mM;function vM(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}vM.prototype={constructor:vM,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)this._pausedTime+=e;else{var n=(t-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var i=this.easing,r="string"==typeof i?yM[i]:i,o="function"==typeof r?r(n):n;return this.fire("frame",o),1===n?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var _M=vM,xM=_M,bM={},wM=function(){this.head=null,this.tail=null,this._len=0},SM=wM.prototype;SM.insert=function(t){var e=new AM(t);return this.insertEntry(e),e},SM.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++},SM.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--},SM.len=function(){return this._len},SM.clear=function(){this.head=this.tail=null,this._len=0};var AM=function(t){this.value=t,this.next,this.prev},CM=function(t){this._list=new wM,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},TM=CM.prototype;TM.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 AM(e),a.key=t,n.insertEntry(a),i[t]=a}return r},TM.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},TM.clear=function(){this._list.clear(),this._map={}};var IM=CM,MM=IM,EM=MM,zM={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 PM(t){return t=Math.round(t),t<0?0:t>255?255:t}function LM(t){return t=Math.round(t),t<0?0:t>360?360:t}function kM(t){return t<0?0:t>1?1:t}function RM(t){return t.length&&"%"===t.charAt(t.length-1)?PM(parseFloat(t)/100*255):PM(parseInt(t,10))}function DM(t){return t.length&&"%"===t.charAt(t.length-1)?kM(parseFloat(t)/100):kM(parseFloat(t))}function OM(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 jM(t,e,n){return t+(e-t)*n}function FM(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function NM(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var BM=new EM(20),GM=null;function VM(t,e){GM&&NM(GM,e),GM=BM.put(t,GM||e.slice())}function qM(t,e){if(t){e=e||[];var n=BM.get(t);if(n)return NM(e,n);t+="";var i=t.replace(/ /g,"").toLowerCase();if(i in zM)return NM(e,zM[i]),VM(t,e),e;if("#"===i.charAt(0)){if(4===i.length){var r=parseInt(i.substr(1),16);return r>=0&&r<=4095?(FM(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,1),VM(t,e),e):void FM(e,0,0,0,1)}if(7===i.length){r=parseInt(i.substr(1),16);return r>=0&&r<=16777215?(FM(e,(16711680&r)>>16,(65280&r)>>8,255&r,1),VM(t,e),e):void FM(e,0,0,0,1)}return}var o=i.indexOf("("),a=i.indexOf(")");if(-1!==o&&a+1===i.length){var s=i.substr(0,o),l=i.substr(o+1,a-(o+1)).split(","),h=1;switch(s){case"rgba":if(4!==l.length)return void FM(e,0,0,0,1);h=DM(l.pop());case"rgb":return 3!==l.length?void FM(e,0,0,0,1):(FM(e,RM(l[0]),RM(l[1]),RM(l[2]),h),VM(t,e),e);case"hsla":return 4!==l.length?void FM(e,0,0,0,1):(l[3]=DM(l[3]),WM(l,e),VM(t,e),e);case"hsl":return 3!==l.length?void FM(e,0,0,0,1):(WM(l,e),VM(t,e),e);default:return}}FM(e,0,0,0,1)}}function WM(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=DM(t[1]),r=DM(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return e=e||[],FM(e,PM(255*OM(a,o,n+1/3)),PM(255*OM(a,o,n)),PM(255*OM(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function UM(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,h=(s+a)/2;if(0===l)e=0,n=0;else{n=h<.5?l/(s+a):l/(2-s-a);var u=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-c:r===s?e=1/3+u-d:o===s&&(e=2/3+c-u),e<0&&(e+=1),e>1&&(e-=1)}var g=[360*e,n,h];return null!=t[3]&&g.push(t[3]),g}}function HM(t,e){var n=qM(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:t[i]<0&&(n[i]=0);return tE(n,4===n.length?"rgba":"rgb")}}function ZM(t){var e=qM(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function YM(t,e,n){if(e&&e.length&&(t>=0&&t<=1)){n=n||[];var 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]=PM(jM(a[0],s[0],l)),n[1]=PM(jM(a[1],s[1],l)),n[2]=PM(jM(a[2],s[2],l)),n[3]=kM(jM(a[3],s[3],l)),n}}var XM=YM;function KM(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=qM(e[r]),s=qM(e[o]),l=i-r,h=tE([PM(jM(a[0],s[0],l)),PM(jM(a[1],s[1],l)),PM(jM(a[2],s[2],l)),kM(jM(a[3],s[3],l))],"rgba");return n?{color:h,leftIndex:r,rightIndex:o,value:i}:h}}var JM=KM;function QM(t,e,n,i){if(t=qM(t),t)return t=UM(t),null!=e&&(t[0]=LM(e)),null!=n&&(t[1]=DM(n)),null!=i&&(t[2]=DM(i)),tE(WM(t),"rgba")}function $M(t,e){if(t=qM(t),t&&null!=e)return t[3]=kM(e),tE(t,"rgba")}function tE(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+")"}}bM.parse=qM,bM.lift=HM,bM.toHex=ZM,bM.fastLerp=YM,bM.fastMapToColor=XM,bM.lerp=KM,bM.mapToColor=JM,bM.modifyHSL=QM,bM.modifyAlpha=$M,bM.stringify=tE;var eE=xM,nE=bM,iE=NC,rE=iE.isArrayLike,oE=Array.prototype.slice;function aE(t,e){return t[e]}function sE(t,e,n){t[e]=n}function lE(t,e,n){return(e-t)*n+t}function hE(t,e,n){return n>.5?e:t}function uE(t,e,n,i,r){var o=t.length;if(1===r)for(var a=0;ar;if(o)t.length=r;else for(var a=i;a=0&&!(m[n]<=e);n--);n=Math.min(n,h-2)}else{for(n=z;ne);n++);n=Math.min(n-1,h-2)}z=n,P=e;var i=m[n+1]-m[n];if(0!==i)if(C=(e-m[n])/i,l)if(I=y[n],T=y[0===n?n:n-1],M=y[n>h-2?h-1:n+1],E=y[n>h-3?h-1:n+2],d)gE(T,I,M,E,C,C*C,C*C*C,a(t,r),p);else{if(g)o=gE(T,I,M,E,C,C*C,C*C*C,L,1),o=mE(L);else{if(f)return hE(I,M,C);o=fE(T,I,M,E,C,C*C,C*C*C)}s(t,r,o)}else if(d)uE(y[n],y[n+1],C,a(t,r),p);else{var o;if(g)uE(y[n],y[n+1],C,L,1),o=mE(L);else{if(f)return hE(y[n],y[n+1],C);o=lE(y[n],y[n+1],C)}s(t,r,o)}},R=new eE({target:t._target,life:u,loop:t._loop,delay:t._delay,onframe:k,ondestroy:n});return e&&"spline"!==e&&(R.easing=e),R}}}var _E=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||aE,this._setter=i||sE,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};_E.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==t&&n[i].push({time:0,value:pE(r)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t0&&t.animate(e,!1).when(null==r?500:r,s).delay(o||0)}function VE(t,e,n,i){if(e){var r={};r[e]={},r[e][n]=i,t.attr(r)}else t.attr(n,i)}NE.prototype={constructor:NE,animate:function(t,e){var n,i=!1,r=this,o=this.__zr;if(t){var a=t.split("."),s=r;i="shape"===a[0];for(var l=0,h=a.length;l=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new rz(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},rz.create=function(t){return new rz(t.x,t.y,t.width,t.height)};var oz=rz,az=oz,sz=NC,lz=QE,hz=az,uz=function(t){for(var e in t=t||{},lz.call(this,t),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};uz.prototype={constructor:uz,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n=0&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof uz&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,i=this._children,r=sz.indexOf(i,t);return r<0||(i.splice(r,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof uz&&t.delChildrenFromStorage(n)),e&&e.refresh()),this},removeAll:function(){var t,e,n=this._children,i=this.__storage;for(e=0;e=gz;)e|=1&t,t>>=1;return t+e}function mz(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function yz(t,e,n){for(n--;e>>1,r(a,t[o])<0?l=o:s=o+1;var h=i-s;switch(h){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(;h>0;)t[s+h]=t[s+h-1],h--}t[s]=a}}function _z(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l0;)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;ls&&(l=s);var h=a;a=r-l,l=r-h}for(a++;a>>1);o(t,e[n+u])>0?a=u+1:l=u}return l}function xz(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;ls&&(l=s);var h=a;a=r-l,l=r-h}else{for(s=i-r;l=0;)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a>>1);o(t,e[n+u])<0?l=u:a=u+1}return l}function bz(t,e){var n,i,r=fz,o=0;t.length;var a=[];function s(t,e){n[o]=t,i[o]=e,o+=1}function l(){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])break;u(t)}}function h(){for(;o>1;){var t=o-2;t>0&&i[t-1]=fz||g>=fz);if(f)break;p<0&&(p=0),p+=2}if(r=p,r<1&&(r=1),1===i){for(l=0;l=0;l--)t[g+l]=t[d+l];if(0===i){y=!0;break}}if(t[c--]=a[u--],1===--s){y=!0;break}if(m=s-_z(t[h],a,0,s,s-1,e),0!==m){for(c-=m,u-=m,s-=m,g=c+1,d=u+1,l=0;l=fz||m>=fz);if(y)break;f<0&&(f=0),f+=2}if(r=f,r<1&&(r=1),1===s){for(c-=i,h-=i,g=c+1,d=h+1,l=i-1;l>=0;l--)t[g+l]=t[d+l];t[c]=a[u]}else{if(0===s)throw new Error;for(d=c-(s-1),l=0;l=0;l--)t[g+l]=t[d+l];t[c]=a[u]}else for(d=c-(s-1),l=0;ls&&(l=s),vz(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 Sz=wz,Az=NC,Cz=FC,Tz=dz,Iz=Sz;function Mz(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Ez=function(){this._roots=[],this._displayList=[],this._displayListLen=0};Ez.prototype={constructor:Ez,traverse:function(t,e){for(var n=0;n=0&&(this.delFromStorage(t),this._roots.splice(r,1),t instanceof Tz&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:Mz};var zz=Ez,Pz=zz,Lz={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function kz(t,e,n){return Lz.hasOwnProperty(e)?n*=t.dpr:n}var Rz=kz,Dz={},Oz={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},jz=9;Dz.ContextCachedBy=Oz,Dz.WILL_BE_RESTORED=jz;var Fz=Rz,Nz=Dz,Bz=Nz.ContextCachedBy,Gz=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],Vz=function(t){this.extendFrom(t,!1)};function qz(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;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=isNaN(i)?0:i,r=isNaN(r)?1:r,o=isNaN(o)?0:o,a=isNaN(a)?0:a;var s=t.createLinearGradient(i,o,r,a);return s}function Wz(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;e.global||(a=a*i+n.x,s=s*r+n.y,l*=o);var h=t.createRadialGradient(a,s,0,a,s,l);return h}Vz.prototype={constructor:Vz,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){var i=this,r=n&&n.style,o=!r||t.__attrCachedBy!==Bz.STYLE_BIND;t.__attrCachedBy=Bz.STYLE_BIND;for(var a=0;a0},extendFrom:function(t,e){if(t)for(var n in t)t.hasOwnProperty(n)&&(!0===e||(!1===e?!this.hasOwnProperty(n):null!=t[n]))&&(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var i="radial"===e.type?Wz:qz,r=i(t,e,n),o=e.colorStops,a=0;azP&&(EP=0,MP={}),EP++,MP[n]=r,r}function OP(t,e,n,i,r,o,a,s){return a?FP(t,e,n,i,r,o,a,s):jP(t,e,n,i,r,o,s)}function jP(t,e,n,i,r,o,a){var s=XP(t,e,r,o,a),l=DP(t,e);r&&(l+=r[1]+r[3]);var h=s.outerHeight,u=NP(0,l,n),c=BP(0,h,i),d=new xP(u,c,l,h);return d.lineHeight=s.lineHeight,d}function FP(t,e,n,i,r,o,a,s){var l=KP(t,{rich:a,truncate:s,font:e,textAlign:n,textPadding:r,textLineHeight:o}),h=l.outerWidth,u=l.outerHeight,c=NP(0,h,n),d=BP(0,u,i);return new xP(c,d,h,u)}function NP(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function BP(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function GP(t,e,n){var i=e.textPosition,r=e.textDistance,o=n.x,a=n.y;r=r||0;var s=n.height,l=n.width,h=s/2,u="left",c="top";switch(i){case"left":o-=r,a+=h,u="right",c="middle";break;case"right":o+=r+l,a+=h,c="middle";break;case"top":o+=l/2,a-=r,u="center",c="bottom";break;case"bottom":o+=l/2,a+=s+r,u="center";break;case"inside":o+=l/2,a+=h,u="center",c="middle";break;case"insideLeft":o+=r,a+=h,c="middle";break;case"insideRight":o+=l-r,a+=h,u="right",c="middle";break;case"insideTop":o+=l/2,a+=r,u="center";break;case"insideBottom":o+=l/2,a+=s-r,u="center",c="bottom";break;case"insideTopLeft":o+=r,a+=r;break;case"insideTopRight":o+=l-r,a+=r,u="right";break;case"insideBottomLeft":o+=r,a+=s-r,c="bottom";break;case"insideBottomRight":o+=l-r,a+=s-r,u="right",c="bottom";break}return t=t||{},t.x=o,t.y=a,t.textAlign=u,t.textVerticalAlign=c,t}function VP(t,e,n){var i={textPosition:t,textDistance:n};return GP({},i,e)}function qP(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=WP(e,n,i,r);for(var a=0,s=o.length;a=o;s++)a-=o;var l=DP(n,e);return l>a&&(n="",l=0),a=t-l,i.ellipsis=n,i.ellipsisWidth=l,i.contentWidth=a,i.containerWidth=t,i}function UP(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=DP(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?HP(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;t=t.substr(0,s),o=DP(t,i)}return""===t&&(t=e.placeholder),t}function HP(t,e,n,i){for(var r=0,o=0,a=t.length;ou)t="",a=[];else if(null!=c)for(var d=WP(c-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),g=0,f=a.length;gr&&JP(n,t.substring(r,o)),JP(n,i[2],i[1]),r=PP.lastIndex}rg)return{lines:[],width:0,height:0};_.textWidth=DP(_.text,w);var A=x.textWidth,C=null==A||"auto"===A;if("string"==typeof A&&"%"===A.charAt(A.length-1))_.percentWidth=A,h.push(_),A=0;else{if(C){A=_.textWidth;var T=x.textBackgroundColor,I=T&&T.image;I&&(I=bP.findExistImage(I),bP.isImageReady(I)&&(A=Math.max(A,I.width*S/I.height)))}var M=b?b[1]+b[3]:0;A+=M;var E=null!=d?d-y:null;null!=E&&Eh&&(a=n+i,n*=h/a,i*=h/a),r+o>h&&(a=r+o,r*=h/a,o*=h/a),i+r>u&&(a=i+r,i*=u/a,r*=u/a),n+o>u&&(a=n+o,n*=u/a,o*=u/a),t.moveTo(s+n,l),t.lineTo(s+h-i,l),0!==i&&t.arc(s+h-i,l+i,i,-Math.PI/2,0),t.lineTo(s+h,l+u-r),0!==r&&t.arc(s+h-r,l+u-r,r,0,Math.PI/2),t.lineTo(s+o,l+u),0!==o&&t.arc(s+o,l+u-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)}$P.buildPath=tL;var eL,nL,iL=NC,rL=iL.retrieve2,oL=iL.retrieve3,aL=iL.each,sL=iL.normalizeCssArray,lL=iL.isString,hL=iL.isObject,uL=dP,cL=$P,dL=gP,gL=Rz,fL=Dz,pL=fL.ContextCachedBy,mL=fL.WILL_BE_RESTORED,yL=uL.DEFAULT_FONT,vL={left:1,right:1,center:1},_L={top:1,bottom:1,middle:1},xL=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],bL={},wL={};function SL(t){return AL(t),aL(t.rich,AL),t}function AL(t){if(t){t.font=uL.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||vL[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||_L[n]?n:"top";var i=t.textPadding;i&&(t.textPadding=sL(t.textPadding))}}function CL(t,e,n,i,r,o){i.rich?IL(t,e,n,i,r,o):TL(t,e,n,i,r,o)}function TL(t,e,n,i,r,o){var a,s=PL(i),l=!1,h=e.__attrCachedBy===pL.PLAIN_TEXT;o!==mL?(o&&(a=o.style,l=!s&&h&&a),e.__attrCachedBy=s?pL.NONE:pL.PLAIN_TEXT):h&&(e.__attrCachedBy=pL.NONE);var u=i.font||yL;(!l||u!==(a.font||yL))&&(e.font=u);var c=t.__computedFont;t.__styleFont!==u&&(t.__styleFont=u,c=t.__computedFont=e.font);var d=i.textPadding,g=i.textLineHeight,f=t.__textCotentBlock;(!f||t.__dirtyText)&&(f=t.__textCotentBlock=uL.parsePlainText(n,c,d,g,i.truncate));var p=f.outerHeight,m=f.lines,y=f.lineHeight,v=RL(wL,t,i,r),_=v.baseX,x=v.baseY,b=v.textAlign||"left",w=v.textVerticalAlign;EL(e,i,r,_,x);var S=uL.adjustTextY(x,p,w),A=_,C=S;if(s||d){var T=uL.getWidth(n,c),I=T;d&&(I+=d[1]+d[3]);var M=uL.adjustTextX(_,I,b);s&&LL(t,e,i,M,S,I,p),d&&(A=NL(_,b,d),C+=d[0])}e.textAlign=b,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var E=0;E=0&&(x=w[E],"right"===x.textAlign);)zL(t,e,x,i,A,y,M,"right"),C-=x.width,M-=x.width,E--;for(I+=(o-(I-m)-(v-M)-C)/2;T<=E;)x=w[T],zL(t,e,x,i,A,y,I+x.width/2,"center"),I+=x.width,T++;y+=A}}function EL(t,e,n,i,r){if(n&&e.textRotation){var o=e.textOrigin;"center"===o?(i=n.width/2+n.x,r=n.height/2+n.y):o&&(i=o[0]+n.x,r=o[1]+n.y),t.translate(i,r),t.rotate(-e.textRotation),t.translate(-i,-r)}}function zL(t,e,n,i,r,o,a,s){var l=i.rich[n.styleName]||{};l.text=n.text;var h=n.textVerticalAlign,u=o+r/2;"top"===h?u=o+n.height/2:"bottom"===h&&(u=o+r-n.height/2),!n.isLineHolder&&PL(l)&&LL(t,e,l,"right"===s?a-n.width:"center"===s?a-n.width/2:a,u-n.height/2,n.width,n.height);var c=n.textPadding;c&&(a=NL(a,s,c),u-=n.height/2-c[2]-n.textHeight/2),DL(e,"shadowBlur",oL(l.textShadowBlur,i.textShadowBlur,0)),DL(e,"shadowColor",l.textShadowColor||i.textShadowColor||"transparent"),DL(e,"shadowOffsetX",oL(l.textShadowOffsetX,i.textShadowOffsetX,0)),DL(e,"shadowOffsetY",oL(l.textShadowOffsetY,i.textShadowOffsetY,0)),DL(e,"textAlign",s),DL(e,"textBaseline","middle"),DL(e,"font",n.font||yL);var d=OL(l.textStroke||i.textStroke,f),g=jL(l.textFill||i.textFill),f=rL(l.textStrokeWidth,i.textStrokeWidth);d&&(DL(e,"lineWidth",f),DL(e,"strokeStyle",d),e.strokeText(n.text,a,u)),g&&(DL(e,"fillStyle",g),e.fillText(n.text,a,u))}function PL(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function LL(t,e,n,i,r,o,a){var s=n.textBackgroundColor,l=n.textBorderWidth,h=n.textBorderColor,u=lL(s);if(DL(e,"shadowBlur",n.textBoxShadowBlur||0),DL(e,"shadowColor",n.textBoxShadowColor||"transparent"),DL(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),DL(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),u||l&&h){e.beginPath();var c=n.textBorderRadius;c?cL.buildPath(e,{x:i,y:r,width:o,height:a,r:c}):e.rect(i,r,o,a),e.closePath()}if(u)if(DL(e,"fillStyle",s),null!=n.fillOpacity){var d=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=d}else e.fill();else if(hL(s)){var g=s.image;g=dL.createOrUpdateImage(g,null,t,kL,s),g&&dL.isImageReady(g)&&e.drawImage(g,i,r,o,a)}if(l&&h)if(DL(e,"lineWidth",l),DL(e,"strokeStyle",h),null!=n.strokeOpacity){d=e.globalAlpha;e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=d}else e.stroke()}function kL(t,e){e.image=t}function RL(t,e,n,i){var r=n.x||0,o=n.y||0,a=n.textAlign,s=n.textVerticalAlign;if(i){var l=n.textPosition;if(l instanceof Array)r=i.x+FL(l[0],i.width),o=i.y+FL(l[1],i.height);else{var h=e&&e.calculateTextPosition?e.calculateTextPosition(bL,n,i):uL.calculateTextPosition(bL,n,i);r=h.x,o=h.y,a=a||h.textAlign,s=s||h.textVerticalAlign}var u=n.textOffset;u&&(r+=u[0],o+=u[1])}return t=t||{},t.baseX=r,t.baseY=o,t.textAlign=a,t.textVerticalAlign=s,t}function DL(t,e,n){return t[e]=gL(t,e,n),t[e]}function OL(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function jL(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function FL(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function NL(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function BL(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}function GL(){if(nL)return eL;nL=1;var t=cP,e=az,n=Dz,i=n.WILL_BE_RESTORED,r=new e,o=function(){};o.prototype={constructor:o,drawRectText:function(e,n){var o=this.style;n=o.textRect||n,this.__dirty&&t.normalizeTextStyle(o,!0);var a=o.text;if(null!=a&&(a+=""),t.needDrawText(a,o)){e.save();var s=this.transform;o.transformText?this.setTransform(e):s&&(r.copy(n),r.applyTransform(s),n=r),t.renderText(this,e,a,o,n,i),e.restore()}}};var a=o;return eL=a,eL}cP.normalizeTextStyle=SL,cP.renderText=CL,cP.getBoxPosition=RL,cP.getStroke=OL,cP.getFill=jL,cP.parsePercent=FL,cP.needDrawText=BL;var VL=NC,qL=Xz,WL=QE,UL=GL();function HL(t){for(var e in t=t||{},WL.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new qL(t.style),this._rect=null,this.__clipPaths=null}HL.prototype={constructor:HL,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return i.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?WL.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new qL(t),this.dirty(!1),this},calculateTextPosition:null},VL.inherits(HL,WL),VL.mixin(HL,UL);var ZL=HL,YL=ZL,XL=YL,KL=az,JL=NC,QL=gP;function $L(t){XL.call(this,t)}$L.prototype={constructor:$L,type:"image",brush:function(t,e){var n=this.style,i=n.image;n.bind(t,this,e);var r=this._image=QL.createOrUpdateImage(i,this._image,this,this.onload);if(r&&QL.isImageReady(r)){var o=n.x||0,a=n.y||0,s=n.width,l=n.height,h=r.width/r.height;if(null==s&&null!=l?s=l*h:null==l&&null!=s?l=s/h:null==s&&null==l&&(s=r.width,l=r.height),this.setTransform(t),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;t.drawImage(r,u,c,n.sWidth,n.sHeight,o,a,s,l)}else if(n.sx&&n.sy){u=n.sx,c=n.sy;var d=s-u,g=l-c;t.drawImage(r,u,c,d,g,o,a,s,l)}else t.drawImage(r,o,a,s,l);null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new KL(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},JL.inherits($L,XL);var tk=$L,ek=tk,nk=wE,ik=nk.devicePixelRatio,rk=NC,ok=zE,ak=az,sk=Sz,lk=lP,hk=uP,uk=ek,ck=FC,dk=1e5,gk=314159,fk=.01,pk=.001;function mk(t){return parseInt(t,10)}function yk(t){return!!t&&(!!t.__builtin__||!("function"!=typeof t.resize||"function"!=typeof t.refresh))}var vk=new ak(0,0,0,0),_k=new ak(0,0,0,0);function xk(t,e,n){return vk.copy(t.getBoundingRect()),t.transform&&vk.applyTransform(t.transform),_k.width=e,_k.height=n,!vk.intersect(_k)}function bk(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n=0&&n.splice(i,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n15)break}}o.__drawIndex=p,o.__drawIndex0&&t>i[0]){for(a=0;at);a++);o=n[i[a]]}if(i.splice(a+1,0,t),n[t]=e,!e.virtual)if(o){var l=o.dom;l.nextSibling?s.insertBefore(e.dom,l.nextSibling):s.appendChild(e.dom)}else s.firstChild?s.insertBefore(e.dom,s.firstChild):s.appendChild(e.dom)}else ok("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,i,r=this._zlevelList;for(i=0;i0?fk:0),this._needsManuallyCompositing),s.__builtin__||ok("ZLevel "+l+" has been used by unkown layer "+s.id),s!==o&&(s.__used=!0,s.__startIndex!==n&&(s.__dirty=!0),s.__startIndex=n,s.incremental?s.__drawIndex=-1:s.__drawIndex=n,e(n),o=s),i.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=n))}e(n),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)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?rk.merge(n[t],e,!0):n[t]=e;for(var i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n=n.length&&n.push({option:t})}})),n}function WR(t){var e=LR.createHashMap();RR(t,(function(t,n){var i=t.exist;i&&e.set(i.id,t)})),RR(t,(function(t,n){var i=t.option;LR.assert(!i||null==i.id||!e.get(i.id)||e.get(i.id)===t,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&e.set(i.id,t),!t.keyInfo&&(t.keyInfo={})})),RR(t,(function(t,n){var i=t.exist,r=t.option,o=t.keyInfo;if(DR(r)){if(o.name=null!=r.name?r.name+"":i?i.name:jR+n,i)o.id=i.id;else if(null!=r.id)o.id=r.id+"";else{var a=0;do{o.id="\0"+o.name+"\0"+a++}while(e.get(o.id))}e.set(o.id,t)}}))}function UR(t){var e=t.name;return!(!e||!e.indexOf(jR))}function HR(t){return DR(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}function ZR(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=0||r&&t.indexOf(r,s)<0)){var l=n.getShallow(s);null!=l&&(o[e[a][0]]=l)}}return o}}return uD=e,uD}function SD(){if(gD)return dD;gD=1;var t=wD(),e=t([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),n={getLineStyle:function(t){var n=e(this,t);return n.lineDash=this.getLineDash(n.lineWidth),n},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),i=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[i,i]:[n,n])}};return dD=n,dD}function AD(){if(pD)return fD;pD=1;var t=wD(),e=t([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),n={getAreaStyle:function(t,n){return e(this,t,n)}};return fD=n,fD}iD.parseClassType=sD,iD.enableClassExtend=hD,iD.enableClassCheck=yD,iD.enableClassManagement=xD,iD.setReadOnly=bD;var CD={},TD={},ID={},MD=BT(),ED=MD.create,zD=MD.distSquare,PD=Math.pow,LD=Math.sqrt,kD=1e-8,RD=1e-4,DD=LD(3),OD=1/3,jD=ED(),FD=ED(),ND=ED();function BD(t){return t>-kD&&tkD||t<-kD}function VD(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 qD(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function WD(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),h=t-r,u=s*s-3*a*l,c=s*l-9*a*h,d=l*l-3*s*h,g=0;if(BD(u)&&BD(c))if(BD(s))o[0]=0;else{var f=-l/s;f>=0&&f<=1&&(o[g++]=f)}else{var p=c*c-4*u*d;if(BD(p)){var m=c/u,y=(f=-s/a+m,-m/2);f>=0&&f<=1&&(o[g++]=f),y>=0&&y<=1&&(o[g++]=y)}else if(p>0){var v=LD(p),_=u*s+1.5*a*(-c+v),x=u*s+1.5*a*(-c-v);_=_<0?-PD(-_,OD):PD(_,OD),x=x<0?-PD(-x,OD):PD(x,OD);f=(-s-(_+x))/(3*a);f>=0&&f<=1&&(o[g++]=f)}else{var b=(2*u*s-3*a*c)/(2*LD(u*u*u)),w=Math.acos(b)/3,S=LD(u),A=Math.cos(w),C=(f=(-s-2*S*A)/(3*a),y=(-s+S*(A+DD*Math.sin(w)))/(3*a),(-s+S*(A-DD*Math.sin(w)))/(3*a));f>=0&&f<=1&&(o[g++]=f),y>=0&&y<=1&&(o[g++]=y),C>=0&&C<=1&&(o[g++]=C)}}return g}function UD(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(BD(a)){if(GD(o)){var h=-s/o;h>=0&&h<=1&&(r[l++]=h)}}else{var u=o*o-4*a*s;if(BD(u))r[0]=-o/(2*a);else if(u>0){var c=LD(u),d=(h=(-o+c)/(2*a),(-o-c)/(2*a));h>=0&&h<=1&&(r[l++]=h),d>=0&&d<=1&&(r[l++]=d)}}return l}function HD(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,h=(s-a)*r+a,u=(l-s)*r+s,c=(u-h)*r+h;o[0]=t,o[1]=a,o[2]=h,o[3]=c,o[4]=c,o[5]=u,o[6]=l,o[7]=i}function ZD(t,e,n,i,r,o,a,s,l,h,u){var c,d,g,f,p,m=.005,y=1/0;jD[0]=l,jD[1]=h;for(var v=0;v<1;v+=.05)FD[0]=VD(t,n,r,a,v),FD[1]=VD(e,i,o,s,v),f=zD(jD,FD),f=0&&f=0&&h<=1&&(r[l++]=h)}}else{var u=a*a-4*o*s;if(BD(u)){h=-a/(2*o);h>=0&&h<=1&&(r[l++]=h)}else if(u>0){var c=LD(u),d=(h=(-a+c)/(2*o),(-a-c)/(2*o));h>=0&&h<=1&&(r[l++]=h),d>=0&&d<=1&&(r[l++]=d)}}return l}function JD(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function QD(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 $D(t,e,n,i,r,o,a,s,l){var h,u=.005,c=1/0;jD[0]=a,jD[1]=s;for(var d=0;d<1;d+=.05){FD[0]=YD(t,n,r,d),FD[1]=YD(e,i,o,d);var g=zD(jD,FD);g=0&&g1e-4)return f[0]=e-i,f[1]=n-u,p[0]=e+i,void(p[1]=n+u);if(s[0]=o(c)*i+e,s[1]=r(c)*u+n,l[0]=o(d)*i+e,l[1]=r(d)*u+n,m(f,s,l),y(p,s,l),c%=a,c<0&&(c+=a),d%=a,d<0&&(d+=a),c>d&&!g?d+=a:cc&&(h[0]=o(x)*i+e,h[1]=r(x)*u+n,m(f,h,f),y(p,h,p))}return eO.fromPoints=u,eO.fromLine=c,eO.fromCubic=f,eO.fromQuadratic=p,eO.fromArc=m,eO}var iO=ID,rO=BT(),oO=nO(),aO=az,sO=wE,lO=sO.devicePixelRatio,hO={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},uO=[],cO=[],dO=[],gO=[],fO=Math.min,pO=Math.max,mO=Math.cos,yO=Math.sin,vO=Math.sqrt,_O=Math.abs,xO="undefined"!=typeof Float32Array,bO=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};bO.prototype={constructor:bO,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){n=n||0,this._ux=_O(n/lO/t)||0,this._uy=_O(n/lO/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(hO.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=_O(t-this._xi)>this._ux||_O(e-this._yi)>this._uy||this._len<5;return this.addData(hO.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,r,o){return this.addData(hO.C,t,e,n,i,r,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,r,o):this._ctx.bezierCurveTo(t,e,n,i,r,o)),this._xi=r,this._yi=o,this},quadraticCurveTo:function(t,e,n,i){return this.addData(hO.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,r,o){return this.addData(hO.A,t,e,n,n,i,r-i,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=mO(r)*n+t,this._yi=yO(r)*n+e,this},arcTo:function(t,e,n,i,r){return this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(hO.R,t,e,n,i),this},closePath:function(){this.addData(hO.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;n0&&g<=t||u<0&&g>=t||0===u&&(c>0&&f<=e||c<0&&f>=e);)i=this._dashIdx,n=a[i],g+=u*n,f+=c*n,this._dashIdx=(i+1)%p,!(u>0&&gl||c>0&&fh)&&s[i%2?"moveTo":"lineTo"](u>=0?fO(g,t):pO(g,t),c>=0?fO(f,e):pO(f,e));u=g-t,c=f-e,this._dashOffset=-vO(u*u+c*c)},_dashedBezierTo:function(t,e,n,i,r,o){var a,s,l,h,u,c=this._dashSum,d=this._dashOffset,g=this._lineDash,f=this._ctx,p=this._xi,m=this._yi,y=iO.cubicAt,v=0,_=this._dashIdx,x=g.length,b=0;for(d<0&&(d=c+d),d%=c,a=0;a<1;a+=.1)s=y(p,t,n,r,a+.1)-y(p,t,n,r,a),l=y(m,e,i,o,a+.1)-y(m,e,i,o,a),v+=vO(s*s+l*l);for(;_d));_++);for(a=(b-d)/v;a<=1;)h=y(p,t,n,r,a),u=y(m,e,i,o,a),_%2?f.moveTo(h,u):f.lineTo(h,u),a+=g[_]/v,_=(_+1)%x;_%2!==0&&f.lineTo(r,o),s=r-h,l=o-u,this._dashOffset=-vO(s*s+l*l)},_dashedQuadraticTo:function(t,e,n,i){var r=n,o=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,xO&&(this.data=new Float32Array(t)))},getBoundingRect:function(){uO[0]=uO[1]=dO[0]=dO[1]=Number.MAX_VALUE,cO[0]=cO[1]=gO[0]=gO[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,r=0,o=0;ol||_O(a-r)>h||c===u-1)&&(t.lineTo(o,a),i=o,r=a);break;case hO.C:t.bezierCurveTo(s[c++],s[c++],s[c++],s[c++],s[c++],s[c++]),i=s[c-2],r=s[c-1];break;case hO.Q:t.quadraticCurveTo(s[c++],s[c++],s[c++],s[c++]),i=s[c-2],r=s[c-1];break;case hO.A:var g=s[c++],f=s[c++],p=s[c++],m=s[c++],y=s[c++],v=s[c++],_=s[c++],x=s[c++],b=p>m?p:m,w=p>m?1:p/m,S=p>m?m/p:1,A=Math.abs(p-m)>.001,C=y+v;A?(t.translate(g,f),t.rotate(_),t.scale(w,S),t.arc(0,0,b,y,C,1-x),t.scale(1/w,1/S),t.rotate(-_),t.translate(-g,-f)):t.arc(g,f,b,y,C,1-x),1===c&&(e=mO(y)*p+g,n=yO(y)*m+f),i=mO(C)*p+g,r=yO(C)*m+f;break;case hO.R:e=i=s[c],n=r=s[c+1],t.rect(s[c++],s[c++],s[c++],s[c++]);break;case hO.Z:t.closePath(),i=e,r=n}}}},bO.CMD=hO;var wO=bO,SO=wO,AO={},CO={};function TO(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0,h=t;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&u>i+c&&u>o+c&&u>s+c||ut+c&&h>n+c&&h>r+c&&h>a+c||he+h&&l>i+h&&l>o+h||lt+h&&s>n+h&&s>r+h||sn||u+hr&&(r+=BO);var d=Math.atan2(l,s);return d<0&&(d+=BO),d>=i&&d<=r||d+BO>=i&&d+BO<=r}function VO(t,e,n,i,r,o){if(o>e&&o>i||or?a:0}RO.containStroke=GO;var qO=VO,WO=SO,UO=CO,HO=IO,ZO=zO,YO=RO,XO=DO,KO=XO.normalizeRadian,JO=ID,QO=qO,$O=WO.CMD,tj=2*Math.PI,ej=1e-4;function nj(t,e){return Math.abs(t-e)e&&h>i&&h>o&&h>s||h1&&oj(),c=JO.cubicAt(e,i,o,s,rj[0]),f>1&&(d=JO.cubicAt(e,i,o,s,rj[1]))),2===f?me&&s>i&&s>o||s=0&&h<=1){for(var u=0,c=JO.quadraticAt(e,i,o,h),d=0;dn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);ij[0]=-l,ij[1]=l;var h=Math.abs(i-r);if(h<1e-4)return 0;if(h%tj<1e-4){i=0,r=tj;var u=o?1:-1;return a>=ij[0]+t&&a<=ij[1]+t?u:0}if(o){l=i;i=KO(r),r=KO(l)}else i=KO(i),r=KO(r);i>r&&(r+=tj);for(var c=0,d=0;d<2;d++){var g=ij[d];if(g+t>a){var f=Math.atan2(s,g);u=o?1:-1;f<0&&(f=tj+f),(f>=i&&f<=r||f+tj>=i&&f+tj<=r)&&(f>Math.PI/2&&f<1.5*Math.PI&&(u=-u),c+=u)}}return c}function hj(t,e,n,i,r){for(var o=0,a=0,s=0,l=0,h=0,u=0;u1&&(n||(o+=QO(a,s,l,h,i,r))),1===u&&(a=t[u],s=t[u+1],l=a,h=s),c){case $O.M:l=t[u++],h=t[u++],a=l,s=h;break;case $O.L:if(n){if(UO.containStroke(a,s,t[u],t[u+1],e,i,r))return!0}else o+=QO(a,s,t[u],t[u+1],i,r)||0;a=t[u++],s=t[u++];break;case $O.C:if(n){if(HO.containStroke(a,s,t[u++],t[u++],t[u++],t[u++],t[u],t[u+1],e,i,r))return!0}else o+=aj(a,s,t[u++],t[u++],t[u++],t[u++],t[u],t[u+1],i,r)||0;a=t[u++],s=t[u++];break;case $O.Q:if(n){if(ZO.containStroke(a,s,t[u++],t[u++],t[u],t[u+1],e,i,r))return!0}else o+=sj(a,s,t[u++],t[u++],t[u],t[u+1],i,r)||0;a=t[u++],s=t[u++];break;case $O.A:var d=t[u++],g=t[u++],f=t[u++],p=t[u++],m=t[u++],y=t[u++];u+=1;var v=1-t[u++],_=Math.cos(m)*f+d,x=Math.sin(m)*p+g;u>1?o+=QO(a,s,_,x,i,r):(l=_,h=x);var b=(i-d)*p/f+d;if(n){if(YO.containStroke(d,g,p,m,m+y,v,e,b,r))return!0}else o+=lj(d,g,p,m,m+y,v,b,r);a=Math.cos(m+y)*f+d,s=Math.sin(m+y)*p+g;break;case $O.R:l=a=t[u++],h=s=t[u++];var w=t[u++],S=t[u++];_=l+w,x=h+S;if(n){if(UO.containStroke(l,h,_,h,e,i,r)||UO.containStroke(_,h,_,x,e,i,r)||UO.containStroke(_,x,l,x,e,i,r)||UO.containStroke(l,x,l,h,e,i,r))return!0}else o+=QO(_,h,_,x,i,r),o+=QO(l,x,l,h,i,r);break;case $O.Z:if(n){if(UO.containStroke(a,s,l,h,e,i,r))return!0}else o+=QO(a,s,l,h,i,r);a=l,s=h;break}}return!n&&!nj(s,h)&&(o+=QO(a,s,l,h,i,r)||0),0!==o}function uj(t,e,n){return hj(t,0,!1,e,n)}function cj(t,e,n,i){return hj(t,e,!0,n,i)}AO.contain=uj,AO.containStroke=cj;var dj=YL,gj=NC,fj=SO,pj=AO,mj=Qz,yj=mj.prototype.getCanvasPattern,vj=Math.abs,_j=new fj(!0);function xj(t){dj.call(this,t),this.path=null}xj.prototype={constructor:xj,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,i=this.style,r=this.path||_j,o=i.hasStroke(),a=i.hasFill(),s=i.fill,l=i.stroke,h=a&&!!s.colorStops,u=o&&!!l.colorStops,c=a&&!!s.image,d=o&&!!l.image;(i.bind(t,this,e),this.setTransform(t),this.__dirty)&&(h&&(n=n||this.getBoundingRect(),this._fillGradient=i.getGradient(t,s,n)),u&&(n=n||this.getBoundingRect(),this._strokeGradient=i.getGradient(t,l,n)));h?t.fillStyle=this._fillGradient:c&&(t.fillStyle=yj.call(s,t)),u?t.strokeStyle=this._strokeGradient:d&&(t.strokeStyle=yj.call(l,t));var g=i.lineDash,f=i.lineDashOffset,p=!!t.setLineDash,m=this.getGlobalScale();if(r.setScale(m[0],m[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!p&&o?(r.beginPath(t),g&&!p&&(r.setLineDash(g),r.setLineDashOffset(f)),this.buildPath(r,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),a)if(null!=i.fillOpacity){var y=t.globalAlpha;t.globalAlpha=i.fillOpacity*i.opacity,r.fill(t),t.globalAlpha=y}else r.fill(t);if(g&&p&&(t.setLineDash(g),t.lineDashOffset=f),o)if(null!=i.strokeOpacity){y=t.globalAlpha;t.globalAlpha=i.strokeOpacity*i.opacity,r.stroke(t),t.globalAlpha=y}else r.stroke(t);g&&p&&t.setLineDash([]),null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new fj},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;i||(i=this.path=new fj),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){r.copy(t);var o=e.lineWidth,a=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),a>1e-10&&(r.width+=o/a,r.height+=o/a,r.x-=o/a/2,r.y-=o/a/2)}return r}return t},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.data;if(r.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(r.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),pj.containStroke(o,a/s,t,e)))return!0}if(r.hasFill())return pj.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):dj.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(gj.isObject(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&vj(t[0]-1)>1e-10&&vj(t[3]-1)>1e-10?Math.sqrt(vj(t[0]*t[3]-t[2]*t[1])):1}},xj.extend=function(t){var e=function(e){xj.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}t.init&&t.init.call(this,e)};for(var n in gj.inherits(e,xj),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},gj.inherits(xj,dj);var bj=xj,wj=bj,Sj=SO,Aj=BT(),Cj=Aj.applyTransform,Tj=Sj.CMD,Ij=[[],[],[]],Mj=Math.sqrt,Ej=Math.atan2;function zj(t,e){var n,i,r,o,a,s=t.data,l=Tj.M,h=Tj.C,u=Tj.L,c=Tj.R,d=Tj.A,g=Tj.Q;for(r=0,o=0;r1&&(a*=Dj(f),s*=Dj(f));var p=(r===o?-1:1)*Dj((a*a*(s*s)-a*a*(g*g)-s*s*(d*d))/(a*a*(g*g)+s*s*(d*d)))||0,m=p*a*g/s,y=p*-s*d/a,v=(t+n)/2+jj(c)*m-Oj(c)*y,_=(e+i)/2+Oj(c)*m+jj(c)*y,x=Gj([1,0],[(d-m)/a,(g-y)/s]),b=[(d-m)/a,(g-y)/s],w=[(-1*d-m)/a,(-1*g-y)/s],S=Gj(b,w);Bj(b,w)<=-1&&(S=Fj),Bj(b,w)>=1&&(S=0),0===o&&S>0&&(S-=2*Fj),1===o&&S<0&&(S+=2*Fj),u.addData(h,v,_,a,s,x,S,c,o)}var qj=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Wj=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Uj(t){if(!t)return new kj;for(var e,n=0,i=0,r=n,o=i,a=new kj,s=kj.CMD,l=t.match(qj),h=0;h=11?function(){var e,n=this.__clipPaths,i=this.style;if(n)for(var r=0;rn-2?n-1:c+1],h=t[c>n-3?n-1:c+2]);var f=d*d,p=d*f;i.push([wF(s[0],g[0],l[0],h[0],d,f,p),wF(s[1],g[1],l[1],h[1],d,f,p)])}return i}var AF=SF,CF=BT(),TF=CF.min,IF=CF.max,MF=CF.scale,EF=CF.distance,zF=CF.add,PF=CF.clone,LF=CF.sub;function kF(t,e,n,i){var r,o,a,s,l=[],h=[],u=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,g=t.length;d=2){if(r&&"spline"!==r){var o=OF(i,r,n,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],h=o[2*s+1],u=i[(s+1)%a];t.bezierCurveTo(l[0],l[1],h[0],h[1],u[0],u[1])}}else{"spline"===r&&(i=DF(i,n)),t.moveTo(i[0][0],i[0][1]);s=1;for(var c=i.length;s=0),l=!s&&null!=r;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=r)}t.insideRollback=e}function SG(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function AG(t,e){var n=e&&e.getModel("textStyle");return KN.trim([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(" "))}function CG(t,e,n,i,r,o){"function"==typeof r&&(o=r,r=null);var a=i&&i.isAnimationEnabled();if(a){var s=t?"Update":"",l=i.getShallow("animationDuration"+s),h=i.getShallow("animationEasing"+s),u=i.getShallow("animationDelay"+s);"function"==typeof u&&(u=u(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"==typeof l&&(l=l(r)),l>0?e.animateTo(n,l,u||0,h,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}function TG(t,e,n,i,r){CG(!0,t,e,n,i,r)}function IG(t,e,n,i,r){CG(!1,t,e,n,i,r)}function MG(t,e){for(var n=$N.identity([]);t&&t!==e;)$N.mul(n,t.getLocalTransform(),n),t=t.parent;return n}function EG(t,e,n){return e&&!KN.isArrayLike(e)&&(e=nB.getLocalTransform(e)),n&&(e=$N.invert([],e)),tB.applyTransform([],t,e)}function zG(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=EG(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function PG(t,e,n,i){if(t&&e){var r=o(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var i=a(t);t.attr(a(e)),TG(t,i,n,t.dataIndex)}}}))}function o(t){var e={};return t.traverse((function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)})),e}function a(t){var e={position:tB.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=KN.extend({},t.shape)),e}}function LG(t,e){return KN.map(t,(function(t){var n=t[0];n=bB(n,e.x),n=wB(n,e.x+e.width);var i=t[1];return i=bB(i,e.y),i=wB(i,e.y+e.height),[n,i]}))}function kG(t,e){var n=bB(t.x,e.x),i=wB(t.x+t.width,e.x+e.width),r=bB(t.y,e.y),o=wB(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 RG(t,e,n){e=KN.extend({rectHover:!0},e);var i=e.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),KN.defaults(i,n),new iB(e)):DB(t.replace("path://",""),e,n,"center")}function DG(t,e,n,i,r){for(var o=0,a=r[r.length-1];o1)return!1;var m=jG(g,f,u,c)/d;return!(m<0||m>1)}function jG(t,e,n,i){return t*i-n*e}function FG(t){return t<=1e-6&&t>=-1e-6}function NG(){if(UB)return WB;UB=1;var t=dP,e=CD,n=["textStyle","color"],i={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(n):null)},getFont:function(){return e.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(e){return t.getBoundingRect(e,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};return WB=i,WB}function BG(){if(ZB)return HB;ZB=1;var t=wD(),e=t([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),n={getItemStyle:function(t,n){var i=e(this,t,n),r=this.getBorderLineDash();return r&&(i.lineDash=r),i},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}};return HB=n,HB}function GG(){if(XB)return YB;XB=1;var t=NC,e=FC,n=PR,i=n.makeInner,r=iD,o=r.enableClassExtend,a=r.enableClassCheck,s=SD(),l=AD(),h=NG(),u=BG(),c=t.mixin,d=i();function g(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function f(t,e,n){for(var i=0;i=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,i,r){if(t.length){var o=n(e),a=o.graph,s=o.noEntryList,l={};for(qG.each(t,(function(t){l[t]=!0}));s.length;){var h=s.pop(),u=a[h],c=!!l[h];c&&(i.call(r,h,u.originalDeps.slice()),delete l[h]),qG.each(u.successor,c?g:d)}qG.each(l,(function(){throw new Error("Circle dependency may exists")}))}function d(t){a[t].entryCount--,0===a[t].entryCount&&s.push(t)}function g(t){l[t]=!0,d(t)}}}VG.getUID=ZG,VG.enableSubTypeDefaulter=YG,VG.enableTopologicalTravel=XG;var KG,JG={},QG={};function $G(){if(KG)return QG;KG=1;var t=NC,e=1e-4;function n(t){return t.replace(/^\s+|\s+$/g,"")}function i(t,e,n,i){var r=e[1]-e[0],o=n[1]-n[0];if(0===r)return 0===o?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/r*o+n[0]}function r(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"==typeof t?n(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function o(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function a(t){return t.sort((function(t,e){return t-e})),t}function s(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}function l(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var r=e.indexOf(".");return r<0?0:e.length-1-r}function h(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 u(e,n,i){if(!e[n])return 0;var r=t.reduce(e,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===r)return 0;for(var o=Math.pow(10,i),a=t.map(e,(function(t){return(isNaN(t)?0:t)/r*o*100})),s=100*o,l=t.map(a,(function(t){return Math.floor(t)})),h=t.reduce(l,(function(t,e){return t+e}),0),u=t.map(a,(function(t,e){return t-l[e]}));hc&&(c=u[g],d=g);++l[d],u[d]=0,++h}return l[n]/o}var c=9007199254740991;function d(t){var e=2*Math.PI;return(t%e+e)%e}function g(t){return t>-e&&t=10&&e++,e}function v(t,e){var n,i=y(t),r=Math.pow(10,i),o=t/r;return n=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,t=n*r,i>=-20?+t.toFixed(i<0?-i:0):t}function _(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 x(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0}return QG.linearMap=i,QG.parsePercent=r,QG.round=o,QG.asc=a,QG.getPrecision=s,QG.getPrecisionSafe=l,QG.getPixelPrecision=h,QG.getPercentWithPrecision=u,QG.MAX_SAFE_INTEGER=c,QG.remRadian=d,QG.isRadianAroundZero=g,QG.parseDate=p,QG.quantity=m,QG.quantityExponent=y,QG.nice=v,QG.quantile=_,QG.reformIntervals=x,QG.isNumeric=b,QG}var tV,eV={};function nV(){if(tV)return eV;tV=1;var t=NC,e=dP,n=$G();function i(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:""))}function r(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 o=t.normalizeCssArray,a=/([&<>"'])/g,s={"&":"&","<":"<",">":">",'"':""","'":"'"};function l(t){return null==t?"":(t+"").replace(a,(function(t,e){return s[e]}))}var h=["a","b","c","d","e","f","g"],u=function(t,e){return"{"+t+(null==e?"":e)+"}"};function c(e,n,i){t.isArray(n)||(n=[n]);var r=n.length;if(!r)return"";for(var o=n[0].$vars||[],a=0;a':'':{renderMode:o,content:"{marker"+a+"|} ",style:{color:i}}:""}function f(t,e){return t+="","0000".substr(0,e-t.length)+t}function p(t,e,i){("week"===t||"month"===t||"quarter"===t||"half-year"===t||"year"===t)&&(t="MM-dd\nyyyy");var r=n.parseDate(e),o=i?"UTC":"",a=r["get"+o+"FullYear"](),s=r["get"+o+"Month"]()+1,l=r["get"+o+"Date"](),h=r["get"+o+"Hours"](),u=r["get"+o+"Minutes"](),c=r["get"+o+"Seconds"](),d=r["get"+o+"Milliseconds"]();return t=t.replace("MM",f(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",f(l,2)).replace("d",l).replace("hh",f(h,2)).replace("h",h).replace("mm",f(u,2)).replace("m",u).replace("ss",f(c,2)).replace("s",c).replace("SSS",f(d,3)),t}function m(t){return t&&t.charAt(0).toUpperCase()+t.substr(1)}var y=e.truncateText;function v(t){return e.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function _(t,n,i,r,o,a,s,l){return e.getBoundingRect(t,n,i,r,o,l,a,s)}function x(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location=t}else window.open(t,e)}return eV.addCommas=i,eV.toCamelCase=r,eV.normalizeCssArray=o,eV.encodeHTML=l,eV.formatTpl=c,eV.formatTplSimple=d,eV.getTooltipMarker=g,eV.formatTime=p,eV.capitalFirst=m,eV.truncateText=y,eV.getTextBoundingRect=v,eV.getTextRect=_,eV.windowOpen=x,eV}var iV=NC,rV=az,oV=$G(),aV=oV.parsePercent,sV=nV(),lV=iV.each,hV=["left","right","top","bottom","width","height"],uV=[["width","left","right"],["height","top","bottom"]];function cV(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,h){var u,c,d=l.position,g=l.getBoundingRect(),f=e.childAt(h+1),p=f&&f.getBoundingRect();if("horizontal"===t){var m=g.width+(p?-p.x+g.x:0);u=o+m,u>i||l.newline?(o=0,u=m,a+=s+n,s=g.height):s=Math.max(s,g.height)}else{var y=g.height+(p?-p.y+g.y:0);c=a+y,c>r||l.newline?(o+=s+n,a=0,c=y,s=g.width):s=Math.max(s,g.width)}l.newline||(d[0]=o,d[1]=a,"horizontal"===t?o=u+n:a=c+n)}))}var dV=cV,gV=iV.curry(cV,"vertical"),fV=iV.curry(cV,"horizontal");function pV(t,e,n){var i=e.width,r=e.height,o=aV(t.x,i),a=aV(t.y,r),s=aV(t.x2,i),l=aV(t.y2,r);return(isNaN(o)||isNaN(parseFloat(t.x)))&&(o=0),(isNaN(s)||isNaN(parseFloat(t.x2)))&&(s=i),(isNaN(a)||isNaN(parseFloat(t.y)))&&(a=0),(isNaN(l)||isNaN(parseFloat(t.y2)))&&(l=r),n=sV.normalizeCssArray(n||0),{width:Math.max(s-o-n[1]-n[3],0),height:Math.max(l-a-n[0]-n[2],0)}}function mV(t,e,n){n=sV.normalizeCssArray(n||0);var i=e.width,r=e.height,o=aV(t.left,i),a=aV(t.top,r),s=aV(t.right,i),l=aV(t.bottom,r),h=aV(t.width,i),u=aV(t.height,r),c=n[2]+n[0],d=n[1]+n[3],g=t.aspect;switch(isNaN(h)&&(h=i-s-d-o),isNaN(u)&&(u=r-l-c-a),null!=g&&(isNaN(h)&&isNaN(u)&&(g>i/r?h=.8*i:u=.8*r),isNaN(h)&&(h=g*u),isNaN(u)&&(u=h/g)),isNaN(o)&&(o=i-s-h-d),isNaN(a)&&(a=r-l-u-c),t.left||t.right){case"center":o=i/2-h/2-n[3];break;case"right":o=i-h-d;break}switch(t.top||t.bottom){case"middle":case"center":a=r/2-u/2-n[0];break;case"bottom":a=r-u-c;break}o=o||0,a=a||0,isNaN(h)&&(h=i-d-o-(s||0)),isNaN(u)&&(u=r-c-a-(l||0));var f=new rV(o+n[3],a+n[0],h,u);return f.margin=n,f}function yV(t,e,n,i,r){var o=!r||!r.hv||r.hv[0],a=!r||!r.hv||r.hv[1],s=r&&r.boundingMode||"all";if(o||a){var l;if("raw"===s)l="group"===t.type?new rV(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();l=l.clone(),l.applyTransform(h)}e=mV(iV.defaults({width:l.width,height:l.height},e),n,i);var u=t.position,c=o?e.x-l.x:0,d=a?e.y-l.y:0;t.attr("position","raw"===s?[c,d]:[u[0]+c,u[1]+d])}}function vV(t,e){return null!=t[uV[e][0]]||null!=t[uV[e][1]]&&null!=t[uV[e][2]]}function _V(t,e,n){!iV.isObject(n)&&(n={});var i=n.ignoreSize;!iV.isArray(i)&&(i=[i,i]);var r=a(uV[0],0),o=a(uV[1],1);function a(n,r){var o={},a=0,h={},u=0,c=2;if(lV(n,(function(e){h[e]=t[e]})),lV(n,(function(t){s(e,t)&&(o[t]=h[t]=e[t]),l(o,t)&&a++,l(h,t)&&u++})),i[r])return l(e,n[1])?h[n[2]]=null:l(e,n[2])&&(h[n[1]]=null),h;if(u===c||!a)return h;if(a>=c)return o;for(var d=0;d=0;o--)r=AV.merge(r,e[o],!0);t.defaultOption=r}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});function OV(t){var e=[];return AV.each(DV.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=AV.map(e,(function(t){return EV(t).main})),"dataset"!==t&&AV.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e}MV(DV,{registerWhenExtend:!0}),TV.enableSubTypeDefaulter(DV),TV.enableTopologicalTravel(DV,OV),AV.mixin(DV,kV);var jV=DV,FV=jV,NV="";"undefined"!=typeof navigator&&(NV=navigator.platform||"");var BV={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:NV.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},GV=BV,VV=PR,qV=VV.makeInner,WV=VV.normalizeToArray,UV=qV();function HV(t,e){for(var n=t.length,i=0;ie)return t[i];return t[n-1]}var ZV={clearColorPalette:function(){UV(this).colorIdx=0,UV(this).colorNameMap={}},getColorFromPalette:function(t,e,n){e=e||this;var i=UV(e),r=i.colorIdx||0,o=i.colorNameMap=i.colorNameMap||{};if(o.hasOwnProperty(t))return o[t];var a=WV(this.get("color",!0)),s=this.get("colorLayer",!0),l=null!=n&&s?HV(s,n):a;if(l=l||a,l&&l.length){var h=l[r];return t&&(o[t]=h),i.colorIdx=(r+1)%l.length,h}}},YV=ZV,XV={},KV={},JV="original",QV="arrayRows",$V="objectRows",tq="keyedColumns",eq="unknown",nq="typedArray",iq="column",rq="row";KV.SOURCE_FORMAT_ORIGINAL=JV,KV.SOURCE_FORMAT_ARRAY_ROWS=QV,KV.SOURCE_FORMAT_OBJECT_ROWS=$V,KV.SOURCE_FORMAT_KEYED_COLUMNS=tq,KV.SOURCE_FORMAT_UNKNOWN=eq,KV.SOURCE_FORMAT_TYPED_ARRAY=nq,KV.SERIES_LAYOUT_BY_COLUMN=iq,KV.SERIES_LAYOUT_BY_ROW=rq;var oq=NC,aq=oq.createHashMap,sq=oq.isTypedArray,lq=iD,hq=lq.enableClassCheck,uq=KV,cq=uq.SOURCE_FORMAT_ORIGINAL,dq=uq.SERIES_LAYOUT_BY_COLUMN,gq=uq.SOURCE_FORMAT_UNKNOWN,fq=uq.SOURCE_FORMAT_TYPED_ARRAY,pq=uq.SOURCE_FORMAT_KEYED_COLUMNS;function mq(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===pq?{}:[]),this.sourceFormat=t.sourceFormat||gq,this.seriesLayoutBy=t.seriesLayoutBy||dq,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&aq(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}mq.seriesDataToSource=function(t){return new mq({data:t,sourceFormat:sq(t)?fq:cq,fromDataset:!1})},hq(mq);var yq=mq,vq=yq,_q=PR,xq=_q.makeInner,bq=_q.getDataItemValue,wq=NC,Sq=wq.createHashMap,Aq=wq.each,Cq=wq.map,Tq=wq.isArray,Iq=wq.isString,Mq=wq.isObject,Eq=wq.isTypedArray,zq=wq.isArrayLike,Pq=wq.extend;wq.assert;var Lq=vq,kq=KV,Rq=kq.SOURCE_FORMAT_ORIGINAL,Dq=kq.SOURCE_FORMAT_ARRAY_ROWS,Oq=kq.SOURCE_FORMAT_OBJECT_ROWS,jq=kq.SOURCE_FORMAT_KEYED_COLUMNS,Fq=kq.SOURCE_FORMAT_UNKNOWN,Nq=kq.SOURCE_FORMAT_TYPED_ARRAY,Bq=kq.SERIES_LAYOUT_BY_ROW,Gq={Must:1,Might:2,Not:3},Vq=xq();function qq(t){var e=t.option.source,n=Fq;if(Eq(e))n=Nq;else if(Tq(e)){0===e.length&&(n=Dq);for(var i=0,r=e.length;i=0;i--)mW.isIdInner(e[i])&&e.splice(i,1);t[n]=e}})),delete t[SW],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},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);if(!a||!a.length)return[];if(null!=i)aW(i)||(i=[i]),n=rW(oW(i,(function(t){return a[t]})),(function(t){return!!t}));else if(null!=r){var s=aW(r);n=rW(a,(function(t){return s&&sW(r,t.id)>=0||!s&&t.id===r}))}else if(null!=o){var l=aW(o);n=rW(a,(function(t){return l&&sW(o,t.name)>=0||!l&&t.name===o}))}else n=a.slice();return PW(n,t)},findComponents:function(t){var e=t.query,n=t.mainType,i=o(e),r=i?this.queryComponents(i):this._componentsMap.get(n);return a(PW(r,t));function o(t){var e=n+"Index",i=n+"Id",r=n+"Name";return!t||null==t[e]&&null==t[i]&&null==t[r]?null:{mainType:n,index:t[e],id:t[i],name:t[r]}}function a(e){return t.filter?rW(e,t.filter):e}},eachComponent:function(t,e,n){var i=this._componentsMap;if("function"==typeof t)n=e,e=t,i.each((function(t,i){iW(t,(function(t,r){e.call(n,i,t,r)}))}));else if(hW(t))iW(i.get(t),e,n);else if(lW(t)){var r=this.findComponents(t);iW(r,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return rW(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return rW(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){iW(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},eachRawSeries:function(t,e){iW(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){iW(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},eachRawSeriesByType:function(t,e,n){return iW(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){var n=rW(this._componentsMap.get("series"),t,e);zW(this,n)},restoreData:function(t){var e=this._componentsMap;zW(this,e.get("series"));var n=[];e.each((function(t,e){n.push(e)})),vW.topologicalTravel(n,vW.getAllClassMainTypes(),(function(n,i){iW(e.get(n),(function(e){("series"!==n||!CW(e,t))&&e.restoreData()}))}))}});function CW(t,e){if(e){var n=e.seiresIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}function TW(t,e){var n=t.color&&!t.colorLayer;iW(e,(function(e,i){"colorLayer"===i&&n||vW.hasClass(i)||("object"==typeof e?t[i]=t[i]?gW(t[i],e,!1):dW(e):null==t[i]&&(t[i]=e))}))}function IW(t){t=t,this.option={},this.option[SW]=1,this._componentsMap=uW({series:[]}),this._seriesIndices,this._seriesIndicesMap,TW(t,this._theme.option),gW(t,_W,!1),this.mergeOption(t)}function MW(t,e){aW(e)||(e=e?[e]:[]);var n={};return iW(e,(function(e){n[e]=(t.get(e)||[]).slice()})),n}function EW(t,e,n){var i=e.type?e.type:n?n.subType:vW.determineSubType(t,e);return i}function zW(t,e){t._seriesIndicesMap=uW(t._seriesIndices=oW(e,(function(t){return t.componentIndex}))||[])}function PW(t,e){return e.hasOwnProperty("subType")?rW(t,(function(t){return t.subType===e.subType})):t}pW(AW,xW);var LW=AW,kW=LW,RW=NC,DW=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function OW(t){RW.each(DW,(function(e){this[e]=RW.bind(t[e],t)}),this)}var jW=OW,FW=jW,NW=NC,BW={};function GW(){this._coordinateSystems=[]}GW.prototype={constructor:GW,create:function(t,e){var n=[];NW.each(BW,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},update:function(t,e){NW.each(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},GW.register=function(t,e){BW[t]=e},GW.get=function(t){return BW[t]};var VW=GW,qW=VW,WW=NC,UW=PR,HW=FV,ZW=WW.each,YW=WW.clone,XW=WW.map,KW=WW.merge,JW=/^(min|max)?(.+)$/;function QW(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function $W(t,e,n){var i,r,o=[],a=[],s=t.timeline;if(t.baseOption&&(r=t.baseOption),(s||t.options)&&(r=r||{},o=(t.options||[]).slice()),t.media){r=r||{};var l=t.media;ZW(l,(function(t){t&&t.option&&(t.query?a.push(t):i||(i=t))}))}return r||(r=t),r.timeline||(r.timeline=s),ZW([r].concat(o).concat(WW.map(a,(function(t){return t.option}))),(function(t){ZW(e,(function(e){e(t,n)}))})),{baseOption:r,timelineOptions:o,mediaDefault:i,mediaList:a}}function tU(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return WW.each(t,(function(t,e){var n=e.match(JW);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();eU(i[a],t,o)||(r=!1)}})),r}function eU(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function nU(t,e){return t.join(",")===e.join(",")}function iU(t,e){e=e||{},ZW(e,(function(e,n){if(null!=e){var i=t[n];if(HW.hasClass(n)){e=UW.normalizeToArray(e),i=UW.normalizeToArray(i);var r=UW.mappingToExists(i,e);t[n]=XW(r,(function(t){return t.option&&t.exist?KW(t.exist,t.option,!0):t.exist||t.option}))}else t[n]=KW(i,e,!0)}}))}QW.prototype={constructor:QW,setOption:function(t,e){t&&WW.each(UW.normalizeToArray(t.series),(function(t){t&&t.data&&WW.isTypedArray(t.data)&&WW.setAsPrimitive(t.data)})),t=YW(t);var n=this._optionBackup,i=$W.call(this,t,e,!n);this._newBaseOption=i.baseOption,n?(iU(n.baseOption,i.baseOption),i.timelineOptions.length&&(n.timelineOptions=i.timelineOptions),i.mediaList.length&&(n.mediaList=i.mediaList),i.mediaDefault&&(n.mediaDefault=i.mediaDefault)):this._optionBackup=i},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=XW(e.timelineOptions,YW),this._mediaList=XW(e.mediaList,YW),this._mediaDefault=YW(e.mediaDefault),this._currentMediaIndices=[],YW(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=YW(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,o=[],a=[];if(!i.length&&!r)return a;for(var s=0,l=i.length;s=0;f--){var p=t[f];if(s||(c=p.data.rawIndexOf(p.stackedByDimension,u)),c>=0){var m=p.data.getByRawIndex(p.stackResultDimension,c);if(d>=0&&m>0||d<=0&&m<0){d+=m,g=m;break}}}return i[0]=d,i[1]=g,i}));a.hostModel.setData(l),e.data=l}))}var BU=FU,GU={},VU=NC;VU.isTypedArray;var qU=VU.extend;VU.assert;var WU=VU.each,UU=VU.isObject,HU=PR,ZU=HU.getDataItemValue,YU=HU.isDataItemOption,XU=$G(),KU=XU.parseDate,JU=vq,QU=KV,$U=QU.SOURCE_FORMAT_TYPED_ARRAY,tH=QU.SOURCE_FORMAT_ARRAY_ROWS,eH=QU.SOURCE_FORMAT_ORIGINAL,nH=QU.SOURCE_FORMAT_OBJECT_ROWS;function iH(t,e){JU.isInstance(t)||(t=JU.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,i=t.sourceFormat;i===$U&&(this._offset=0,this._dimSize=e,this._data=n);var r=oH[i===tH?i+"_"+t.seriesLayoutBy:i];qU(this,r)}var rH=iH.prototype;rH.pure=!1,rH.persistent=!0,rH.getSource=function(){return this._source};var oH={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:lH},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i=1)&&(t=1),t}(a!==l||s!==h)&&(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=RH(this,i)),this._modBy=l,this._modDataCount=h;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,g=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||d1&&i>0?s:a}};return o;function a(){return e=t?null:o":"\n",a="richText"===i,s={},l=0;function h(n){var o=DH.reduce(n,(function(t,e,n){var i=c.getDimensionInfo(n);return t|(i&&!1!==i.tooltip&&null!=i.displayName)}),0),h=[];function u(t,n){var u=c.getDimensionInfo(n);if(u&&!1!==u.otherDims.tooltip){var d=u.type,g="sub"+r.seriesIndex+"at"+l,f=GH({color:m,type:"subItem",renderMode:i,markerId:g}),p="string"==typeof f?f:f.content,y=(o?p+NH(u.displayName||"-")+": ":"")+NH("ordinal"===d?t+"":"time"===d?e?"":FH("yyyy/MM/dd hh:mm:ss",t):BH(t));y&&h.push(y),a&&(s[g]=m,++l)}}d.length?DH.each(d,(function(e){u(eZ(c,t,e),e)})):DH.each(n,u);var g=o?a?"\n":"
":"",f=g+h.join(g||", ");return{renderMode:i,content:f,style:s}}function u(t){return{renderMode:i,content:NH(BH(t)),style:s}}var c=this.getData(),d=c.mapDimension("defaultedTooltip",!0),g=d.length,f=this.getRawValue(t),p=DH.isArray(f),m=c.getItemVisual(t,"color");DH.isObject(m)&&m.colorStops&&(m=(m.colorStops[0]||{}).color),m=m||"transparent";var y=g>1||p&&!g?h(f):u(g?eZ(c,t,d[0]):p?f[0]:f),v=y.content,_=r.seriesIndex+"at"+l,x=GH({color:m,type:"item",renderMode:i,markerId:_});s[_]=m,++l;var b=c.getName(t),w=this.name;VH.isNameSpecified(this)||(w=""),w=w?NH(w)+(e?": ":o):"";var S="string"==typeof x?x:x.content,A=e?S+w+v:w+S+(b?NH(b)+": "+v:v);return{html:A,markers:s}},isAnimationEnabled:function(){if(OH.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,r=WH.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function rZ(t){var e=t.name;VH.isNameSpecified(t)||(t.name=oZ(t)||e)}function oZ(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),i=[];return DH.each(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}function aZ(t){return t.model.getRawData().count()}function sZ(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),lZ}function lZ(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function hZ(t,e){DH.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,DH.curry(uZ,e))}))}function uZ(t){var e=cZ(t);e&&e.setOutputEnd(this.count())}function cZ(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}}DH.mixin(iZ,UH),DH.mixin(iZ,WH);var dZ=iZ,gZ=dZ,fZ=dz,pZ=VG,mZ=iD,yZ=function(){this.group=new fZ,this.uid=pZ.getUID("viewComponent")};yZ.prototype={constructor:yZ,init:function(t,e){},render:function(t,e,n,i){},dispose:function(){},filterForExposedEvent:null};var vZ=yZ.prototype;vZ.updateView=vZ.updateLayout=vZ.updateVisual=function(t,e,n,i){},mZ.enableClassExtend(yZ),mZ.enableClassManagement(yZ,{registerWhenExtend:!0});var _Z=yZ,xZ=_Z,bZ=PR,wZ=bZ.makeInner;function SZ(){var t=wZ();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 AZ=SZ,CZ=NC,TZ=CZ.each,IZ=dz,MZ=VG,EZ=iD,zZ=PR,PZ=CD,LZ=TH,kZ=LZ.createTask,RZ=AZ,DZ=zZ.makeInner(),OZ=RZ();function jZ(){this.group=new IZ,this.uid=MZ.getUID("viewChart"),this.renderTask=kZ({plan:GZ,reset:VZ}),this.renderTask.context={view:this}}jZ.prototype={type:"chart",init:function(t,e){},render:function(t,e,n,i){},highlight:function(t,e,n,i){BZ(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){BZ(t.getData(),i,"normal")},remove:function(t,e){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var FZ=jZ.prototype;function NZ(t,e,n){if(t&&(t.trigger(e,n),t.isGroup&&!PZ.isHighDownDispatcher(t)))for(var i=0,r=t.childCount();i=0?c():u=setTimeout(c,-r),l=i};return d.clear=function(){u&&(clearTimeout(u),u=null)},d.debounceNextCall=function(t){s=t},d}function JZ(t,e,n,i){var r=t[e];if(r){var o=r[ZZ]||r,a=r[XZ],s=r[YZ];if(s!==n||a!==i){if(null==n||!i)return t[e]=o;r=t[e]=KZ(o,n,"debounce"===i),r[ZZ]=o,r[XZ]=i,r[YZ]=n}return r}}function QZ(t,e){var n=t[e];n&&n[ZZ]&&(t[e]=n[ZZ])}HZ.throttle=KZ,HZ.createOrUpdate=JZ,HZ.clear=QZ;var $Z=PN,tY=NC,eY=tY.isFunction,nY={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(i),o=!eY(r)||r instanceof $Z?null:r;(!r||o)&&(r=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",r);var a=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),s=t.get(a);if(n.setVisual("borderColor",s),!e.isSeriesFiltered(t)){o&&n.each((function(e){n.setItemVisual(e,"color",o(t.getDataParams(e)))}));var l=function(t,e){var n=t.getItemModel(e),r=n.get(i,!0),o=n.get(a,!0);null!=r&&t.setItemVisual(e,"color",r),null!=o&&t.setItemVisual(e,"borderColor",o)};return{dataEach:n.hasItemOption?l:null}}}},iY=nY,rY={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:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}},oY=rY,aY=NC,sY=oY,lY=GU,hY=lY.retrieveRawValue;function uY(t,e){var n=e.getModel("aria");if(n.get("show"))if(n.get("description"))t.setAttribute("aria-label",n.get("description"));else{var i=0;e.eachSeries((function(t,e){++i}),this);var r,o=n.get("data.maxCount")||10,a=n.get("series.maxCount")||10,s=Math.min(i,a);if(!(i<1)){var l=g();r=l?c(d("general.withTitle"),{title:l}):d("general.withoutTitle");var h=[],u=i>1?"series.multiple.prefix":"series.single.prefix";r+=c(d(u),{seriesCount:i}),e.eachSeries((function(t,e){if(e1?"multiple":"single")+".";n=d(r?a+"withName":a+"withoutName"),n=c(n,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:f(t.subType)});var l=t.getData();window.data=l,l.count()>o?n+=c(d("data.partialData"),{displayCnt:o}):n+=d("data.allData");for(var u=[],g=0;gn.blockIndex,o=r?n.step:null,a=i&&i.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},kY.getPipeline=function(t){return this._pipelineMap.get(t)},kY.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),r=i.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,a=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},kY.restorePipelines=function(t){var e=this,n=e._pipelineMap=wY();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}),ZY(e,t,t.dataTask)}))},kY.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;_Y(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,[]);i.reset&&OY(this,i,r,e,n),i.overallReset&&jY(this,i,r,e,n)}),this)},kY.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,ZY(this,e,r)},kY.performDataProcessorTasks=function(t,e){RY(this,this._dataProcessorHandlers,t,e,{block:!0})},kY.performVisualTasks=function(t,e,n){RY(this,this._visualHandlers,t,e,n)},kY.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},kY.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)}))};var DY=kY.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function OY(t,e,n,i,r){var o=n.seriesTaskMap||(n.seriesTaskMap=wY()),a=e.seriesType,s=e.getTargetSeries;function l(n){var a=n.uid,s=o.get(a)||o.set(a,CY({plan:VY,reset:qY,count:HY}));s.context={model:n,ecModel:i,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},ZY(t,n,s)}e.createOnAllSeries?i.eachRawSeries(l):a?i.eachRawSeriesByType(a,l):s&&s(i,r).each(l);var h=t._pipelineMap;o.each((function(t,e){h.get(e)||(t.dispose(),o.removeKey(e))}))}function jY(t,e,n,i,r){var o=n.overallTask=n.overallTask||CY({reset:FY});o.context={ecModel:i,api:r,overallReset:e.overallReset,scheduler:t};var a=o.agentStubMap=o.agentStubMap||wY(),s=e.seriesType,l=e.getTargetSeries,h=!0,u=e.modifyOutputEnd;function c(e){var n=e.uid,i=a.get(n);i||(i=a.set(n,CY({reset:NY,onDirty:GY})),o.dirty()),i.context={model:e,overallProgress:h,modifyOutputEnd:u},i.agent=o,i.__block=h,ZY(t,e,i)}s?i.eachRawSeriesByType(s,c):l?l(i,r).each(c):(h=!1,_Y(i.getSeries(),c));var d=t._pipelineMap;a.each((function(t,e){d.get(e)||(t.dispose(),o.dirty(),a.removeKey(e))}))}function FY(t){t.overallReset(t.ecModel,t.api,t.payload)}function NY(t,e){return t.overallProgress&&BY}function BY(){this.agent.dirty(),this.getDownstream().dirty()}function GY(){this.agent&&this.agent.dirty()}function VY(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function qY(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=PY(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?xY(e,(function(t,e){return UY(e)})):WY}var WY=UY(0);function UY(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o=4&&(r={x:parseFloat(u[0]||0),y:parseFloat(u[1]||0),width:parseFloat(u[2]),height:parseFloat(u[3])})}if(r&&null!=s&&null!=l&&(o=iK(r,s,l),!e.ignoreViewBox)){var c=i;i=new xX,i.add(c),c.scale=o.scale.slice(),c.position=o.position.slice()}return!e.ignoreRootClip&&null!=s&&null!=l&&i.setClipPath(new AX({shape:{x:0,y:0,width:s,height:l}})),{root:i,width:s,height:l,viewBoxRect:r,viewBoxTransform:o}},qX.prototype._parseNode=function(t,e){var n,i=t.nodeName.toLowerCase();if("defs"===i?this._isDefine=!0:"text"===i&&(this._isText=!0),this._isDefine){var r=UX[i];if(r){var o=r.call(this,t),a=t.getAttribute("id");a&&(this._defs[a]=o)}}else{r=WX[i];r&&(n=r.call(this,t,e),e.add(n))}for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===i?this._isDefine=!1:"text"===i&&(this._isText=!1)},qX.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,i=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var r=new wX({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});ZX(e,r),KX(t,r,this._defs);var o=r.style.fontSize;o&&o<9&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=o/9,r.scale[1]*=o/9);var a=r.getBoundingRect();return this._textX+=a.width,e.add(r),r};var WX={g:function(t,e){var n=new xX;return ZX(e,n),KX(t,n,this._defs),n},rect:function(t,e){var n=new AX;return ZX(e,n),KX(t,n,this._defs),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},circle:function(t,e){var n=new SX;return ZX(e,n),KX(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new TX;return ZX(e,n),KX(t,n,this._defs),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},ellipse:function(t,e){var n=new CX;return ZX(e,n),KX(t,n,this._defs),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},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=YX(n));var i=new MX({shape:{points:n||[]}});return ZX(e,i),KX(t,i,this._defs),i},polyline:function(t,e){var n=new IX;ZX(e,n),KX(t,n,this._defs);var i=t.getAttribute("points");i&&(i=YX(i));var r=new EX({shape:{points:i||[]}});return r},image:function(t,e){var n=new bX;return ZX(e,n),KX(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),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 xX;return ZX(e,a),KX(t,a,this._defs),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 xX;return ZX(e,a),KX(t,a,this._defs),this._textX+=r,this._textY+=o,a},path:function(t,e){var n=t.getAttribute("d")||"",i=RX(n);return ZX(e,i),KX(t,i,this._defs),i}},UX={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 zX(e,n,i,r);return HX(t,o),o},radialgradient:function(t){}};function HX(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType){var i=n.getAttribute("offset");i=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var r=n.getAttribute("stop-color")||"#000000";e.addColorStop(i,r)}n=n.nextSibling}}function ZX(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),FX(e.__inheritedStyle,t.__inheritedStyle))}function YX(t){for(var e=NX(t).split(GX),n=[],i=0;i0;o-=2){var a=r[o],s=r[o-1];switch(i=i||LX.create(),s){case"translate":a=NX(a).split(GX),LX.translate(i,i,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=NX(a).split(GX),LX.scale(i,i,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=NX(a).split(GX),LX.rotate(i,i,parseFloat(a[0]));break;case"skew":a=NX(a).split(GX);break;case"matrix":a=NX(a).split(GX);i[0]=parseFloat(a[0]),i[1]=parseFloat(a[1]),i[2]=parseFloat(a[2]),i[3]=parseFloat(a[3]),i[4]=parseFloat(a[4]),i[5]=parseFloat(a[5]);break}}e.setLocalTransform(i)}}var eK=/([^\s:;]+)\s*:\s*([^:;]+)/g;function nK(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i,r={};for(eK.lastIndex=0;null!=(i=eK.exec(e));)r[i[1]]=i[2];for(var o in XX)XX.hasOwnProperty(o)&&null!=r[o]&&(n[XX[o]]=r[o]);return n}function iK(t,e,n){var i=e/t.width,r=n/t.height,o=Math.min(i,r),a=[o,o],s=[-(t.x+t.width/2)*o+e/2,-(t.y+t.height/2)*o+n/2];return{scale:a,position:s}}function rK(t,e){var n=new qX;return n.parse(t,e)}mX.parseXML=VX,mX.makeViewBoxTransform=iK,mX.parseSVG=rK;var oK=NC,aK=oK.createHashMap,sK=oK.isString,lK=oK.isArray,hK=oK.each;oK.assert;var uK,cK,dK=mX,gK=dK.parseXML,fK=aK(),pK={registerMap:function(t,e,n){var i;return lK(e)?i=e:e.svg?i=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),i=[{type:"geoJSON",source:e,specialAreas:n}]),hK(i,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var n=mK[e];n(t)})),fK.set(t,i)},retrieveMap:function(t){return fK.get(t)}},mK={geoJSON:function(t){var e=t.source;t.geoJSON=sK(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=gK(t.source)}},yK=pK,vK={},_K={};function xK(){if(cK)return uK;function t(t){return t}function e(e,n,i,r,o){this._old=e,this._new=n,this._oldKeyGetter=i||t,this._newKeyGetter=r||t,this.context=o}function n(t,e,n,i,r){for(var o=0;o65535?p:y}function _(t){var e=t.constructor;return e===Array?t.slice():new e(t)}var x=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],b=["_extent","_approximateExtent","_rawExtent"];function w(e,n){t.each(x.concat(n.__wrappedMethods||[]),(function(t){n.hasOwnProperty(t)&&(e[t]=n[t])})),e.__wrappedMethods=n.__wrappedMethods,t.each(b,(function(i){e[i]=t.clone(n[i])})),e._calculationInfo=t.extend(n._calculationInfo)}var S=function(e,n){e=e||["x","y"];for(var i={},r=[],o={},a=0;a=0?this._indices[t]:-1}function z(t,e){var n=t._idList[e];return null==n&&(n=I(t,t._idDimIdx,e)),null==n&&(n=g+e),n}function P(e){return t.isArray(e)||(e=[e]),e}function L(e,n){var i=e.dimensions,r=new S(t.map(i,e.getDimensionInfo,e),e.hostModel);w(r,e);for(var o=r._storage={},a=e._storage,s=0;s=0?(o[l]=k(a[l]),r._rawExtent[l]=R(),r._extent[l]=null):o[l]=a[l])}return r}function k(t){for(var e=new Array(t.length),n=0;n_[1]&&(_[1]=v)}e&&(this._nameList[g]=e[f])}this._rawCount=this._count=l,this._extent={},T(this)},A._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,i=this._chunkSize,r=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,h=this._nameList,u=this._idList,c=this._rawExtent,d=this._nameRepeatCount={},g=this._chunkCount,f=0;fA[1]&&(A[1]=S)}if(!r.pure){var I=h[v];if(y&&null==I)if(null!=y.name)h[v]=I=y.name;else if(null!=n){var M=a[n],E=o[M][_];if(E){I=E[x];var z=l[M].ordinalMeta;z&&z.categories.length&&(I=z.categories[I])}}var P=null==y?null:y.id;null==P&&null!=I&&(d[I]=d[I]||0,P=I,d[I]>0&&(P+="__ec__"+d[I]),d[I]++),null!=P&&(u[v]=P)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},T(this)}},A.count=function(){return this._count},A.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,n=this._count;if(e===Array){r=new e(n);for(var i=0;i=0&&e=0&&es&&(s=h)}return i=[a,s],this._extent[t]=i,i},A.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},A.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},A.getCalculationInfo=function(t){return this._calculationInfo[t]},A.setCalculationInfo=function(e,n){u(e)?t.extend(this._calculationInfo,e):this._calculationInfo[e]=n},A.getSum=function(t){var e=this._storage[t],n=0;if(e)for(var i=0,r=this.count();i=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},A.indicesOfNearest=function(t,e,n){var i=this._storage,r=i[t],o=[];if(!r)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,h=0,u=this.count();h=0&&s<0)&&(a=d,s=c,l=0),c===s&&(o[l++]=h))}return o.length=l,o},A.getRawIndex=M,A.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n=h&&_<=u||isNaN(_))&&(a[s++]=d),d++}c=!0}else if(2===i){g=this._storage[l];var x=this._storage[e[1]],b=t[e[1]][0],w=t[e[1]][1];for(f=0;f=h&&_<=u||isNaN(_))&&(A>=b&&A<=w||isNaN(A))&&(a[s++]=d),d++}}c=!0}}if(!c)if(1===i)for(y=0;y=h&&_<=u||isNaN(_))&&(a[s++]=C)}else for(y=0;yt[I][1])&&(T=!1)}T&&(a[s++]=this.getRawIndex(y))}return sw[1]&&(w[1]=b)}}}return o},A.downSample=function(t,e,n,i){for(var r=L(this,[t]),o=r._storage,a=[],s=Math.floor(1/e),l=o[t],h=this.count(),u=this._chunkSize,c=r._rawExtent[t],d=new(v(this))(h),g=0,f=0;fh-f&&(s=h-f,a.length=s);for(var p=0;pc[1]&&(c[1]=x),d[g++]=b}return r._count=g,r._indices=d,r.getRawIndex=E,r},A.getItemModel=function(t){var n=this.hostModel;return new e(this.getRawDataItem(t),n,n&&n.ecModel)},A.diff=function(t){var e=this;return new n(t?t.getIndices():[],this.getIndices(),(function(e){return z(t,e)}),(function(t){return z(e,t)}))},A.getVisual=function(t){var e=this._visual;return e&&e[t]},A.setVisual=function(t,e){if(u(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},A.setLayout=function(t,e){if(u(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},A.getLayout=function(t){return this._layout[t]},A.getItemLayout=function(t){return this._itemLayouts[t]},A.setItemLayout=function(e,n,i){this._itemLayouts[e]=i?t.extend(this._itemLayouts[e]||{},n):n},A.clearItemLayouts=function(){this._itemLayouts.length=0},A.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],r=i&&i[e];return null!=r||n?r:this.getVisual(e)},A.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=i,u(e))for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o],r[o]=!0);else i[e]=n,r[e]=!0},A.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var D=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};A.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(D,e)),this._graphicEls[t]=e},A.getItemGraphicEl=function(t){return this._graphicEls[t]},A.eachItemGraphicEl=function(e,n){t.each(this._graphicEls,(function(t,i){t&&e&&e.call(n,t,i)}))},A.cloneShallow=function(e){if(!e){var n=t.map(this.dimensions,this.getDimensionInfo,this);e=new S(n,this.hostModel)}if(e._storage=this._storage,w(e,this),this._indices){var i=this._indices.constructor;e._indices=new i(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?E:M,e},A.wrapMethod=function(e,n){var i=this[e];"function"==typeof i&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=i.apply(this,arguments);return n.apply(this,[e].concat(t.slice(arguments)))})},A.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],A.CHANGABLE_METHODS=["filterSelf","selectRange"];var O=S;return AK=O,AK}function RK(){if(IK)return TK;IK=1;var t=NC,e=t.createHashMap,n=t.each,i=t.isString,r=t.defaults,o=t.extend,a=t.isObject,s=t.clone,l=PR,h=l.normalizeToArray,u=XV,c=u.guessOrdinal,d=u.BE_ORDINAL,g=vq,f=PK(),p=f.OTHER_DIMENSIONS,m=LK();function y(t,l,u){g.isInstance(l)||(l=g.seriesDataToSource(l)),u=u||{},t=(t||[]).slice();for(var f=(u.dimsDef||[]).slice(),y=e(),x=e(),b=[],w=v(l,t,f,u.dimCount),S=0;S=e[0]&&t<=e[1]},e.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},e.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e.prototype.getLabel=null,t.enableClassExtend(e),t.enableClassManagement(e,{registerWhenExtend:!0});var n=e;return UK=n,UK}function $K(){if(YK)return ZK;YK=1;var t=NC,e=t.createHashMap,n=t.isObject,i=t.map;function r(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this._map}r.createByAxisModel=function(t){var e=t.option,n=e.data,o=n&&i(n,s);return new r({categories:o,needCollect:!o,deduplication:!1!==e.dedplication})};var o=r.prototype;function a(t){return t._map||(t._map=e(t.categories))}function s(t){return n(t)&&null!=t.value?t.value:t+""}o.getOrdinal=function(t){return a(this).get(t)},o.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=a(this);return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e};var l=r;return ZK=l,ZK}function tJ(){if(KK)return XK;KK=1;var t=NC,e=QK(),n=$K(),i=e.prototype,r=e.extend({type:"ordinal",init:function(e,i){(!e||t.isArray(e))&&(e=new n({categories:e})),this._ordinalMeta=e,this._extent=i||[0,e.categories.length-1]},parse:function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),i.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return i.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(i.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push(n),n++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:t.noop,niceExtent:t.noop});r.create=function(){return new r};var o=r;return XK=o,XK}var eJ,nJ,iJ,rJ={};function oJ(){if(eJ)return rJ;eJ=1;var t=$G(),e=t.round;function n(n,r,a,s){var l={},h=n[1]-n[0],u=l.interval=t.nice(h/r,!0);null!=a&&us&&(u=l.interval=s);var c=l.intervalPrecision=i(u),d=l.niceTickExtent=[e(Math.ceil(n[0]/u)*u,c),e(Math.floor(n[1]/u)*u,c)];return o(d,n),l}function i(e){return t.getPrecisionSafe(e)+2}function r(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function o(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),r(t,0,e),r(t,1,e),t[0]>t[1]&&(t[0]=t[1])}return rJ.intervalScaleNiceTicks=n,rJ.getIntervalPrecision=i,rJ.fixExtent=o,rJ}function aJ(){if(iJ)return nJ;iJ=1;var t=$G(),e=nV(),n=QK(),i=oJ(),r=t.round,o=n.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),o.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=i.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,i=this._niceExtent,o=this._intervalPrecision,a=[];if(!e)return a;var s=1e4;n[0]s)return[];var h=a.length?a[a.length-1]:i[1];return n[1]>h&&(t?a.push(r(h+e,o)):a.push(n[1])),a},getMinorTicks:function(e){for(var n=this.getTicks(!0),i=[],r=this.getExtent(),o=1;or[0]&&d0&&(a=null===a?l:Math.min(a,l))}i[r]=a}}return i}function f(e){var i=g(e),r=[];return t.each(e,(function(t){var e,o=t.coordinateSystem,a=o.getBaseAxis(),s=a.getExtent();if("category"===a.type)e=a.getBandWidth();else if("value"===a.type||"time"===a.type){var l=a.dim+"_"+a.index,c=i[l],d=Math.abs(s[1]-s[0]),g=a.scale.getExtent(),f=Math.abs(g[1]-g[0]);e=c?d/f*c:d}else{var p=t.getData();e=Math.abs(s[1]-s[0])/p.count()}var m=n(t.get("barWidth"),e),y=n(t.get("barMaxWidth"),e),v=n(t.get("barMinWidth")||1,e),_=t.get("barGap"),x=t.get("barCategoryGap");r.push({bandWidth:e,barWidth:m,barMaxWidth:y,barMinWidth:v,barGap:_,barCategoryGap:x,axisKey:u(a),stackId:h(t)})})),p(r)}function p(e){var i={};t.each(e,(function(t,e){var n=t.axisKey,r=t.bandWidth,o=i[n]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=o.stacks;i[n]=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 h=t.barMaxWidth;h&&(a[s].maxWidth=h);var u=t.barMinWidth;u&&(a[s].minWidth=u);var c=t.barGap;null!=c&&(o.gap=c);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var r={};return t.each(i,(function(e,i){r[i]={};var o=e.stacks,a=e.bandWidth,s=n(e.categoryGap,a),l=n(e.gap,1),h=e.remainedWidth,u=e.autoWidthCount,c=(h-s)/(u+(u-1)*l);c=Math.max(c,0),t.each(o,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){var i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,h-=i+l*i,u--}else{i=c;e&&ei&&(i=n),i!==c&&(t.width=i,h-=i+l*i,u--)}})),c=(h-s)/(u+(u-1)*l),c=Math.max(c,0);var d,g=0;t.each(o,(function(t,e){t.width||(t.width=c),d=t,g+=t.width*(1+l)})),d&&(g-=d.width*l);var f=-g/2;t.each(o,(function(t,e){r[i][e]=r[i][e]||{bandWidth:a,offset:f,width:t.width},f+=t.width*(1+l)}))})),r}function m(t,e,n){if(t&&e){var i=t[u(e)];return null!=i&&null!=n&&(i=i[h(n)]),i}}function y(e,n){var i=d(e,n),o=f(i),a={};t.each(i,(function(t){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),s=h(t),l=o[u(i)][s],c=l.offset,d=l.width,g=n.getOtherAxis(i),f=t.get("barMinHeight")||0;a[s]=a[s]||[],e.setLayout({bandWidth:l.bandWidth,offset:c,size:d});for(var p=e.mapDimension(g.dim),m=e.mapDimension(i.dim),y=r(e,p),v=g.isHorizontal(),_=b(i,g),x=0,w=e.count();x=0?"p":"n",z=_;if(y&&(a[s][M]||(a[s][M]={p:_,n:_}),z=a[s][M][E]),v){var P=n.dataToPoint([I,M]);S=z,A=P[1]+c,C=P[0]-_,T=d,Math.abs(C)s||(d=s),{progress:g}}function g(t,e){for(var s,g=t.count,f=new l(2*g),p=new l(2*g),m=new l(g),y=[],v=[],_=0,x=0;null!=(s=t.next());)v[c]=e.get(a,s),v[1-c]=e.get(h,s),y=n.dataToPoint(v,null,y),p[_]=u?i.x+i.width:y[0],f[_++]=y[0],p[_]=u?y[1]:i.y+i.height,f[_++]=y[1],m[x++]=s;e.setLayout({largePoints:f,largeDataIndices:m,largeBackgroundPoints:p,barWidth:d,valueAxisStart:b(r,o),backgroundStart:u?i.x:i.y,valueAxisHorizontal:u})}}};function _(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function x(t){return t.pipelineContext&&t.pipelineContext.large}function b(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}return pJ.getLayoutOnAxis=c,pJ.prepareLayoutBarSeries=d,pJ.makeColumnLayout=f,pJ.retrieveColumnLayout=m,pJ.layout=y,pJ.largeLayout=v,pJ}function yJ(){if(hJ)return lJ;hJ=1;var t=NC,e=$G(),n=nV(),i=oJ(),r=aJ(),o=r.prototype,a=Math.ceil,s=Math.floor,l=1e3,h=60*l,u=60*h,c=24*u,d=function(t,e,n,i){for(;n>>1;t[r][1]r&&(h=r);var u=f.length,c=d(f,h,0,u),g=f[Math.min(c,u-1)],p=g[1];if("year"===g[0]){var m=l/p,y=e.nice(m/t,!0);p*=y}var v=this.getSetting("useUTC")?0:60*new Date(+o[0]||+o[1]).getTimezoneOffset()*1e3,_=[Math.round(a((o[0]-v)/p)*p+v),Math.round(s((o[1]-v)/p)*p+v)];i.fixExtent(_,o),this._stepLvl=g,this._interval=p,this._niceExtent=_},parse:function(t){return+e.parseDate(t)}});t.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return o[t].call(this,this.parse(e))}}));var f=[["hh:mm:ss",l],["hh:mm:ss",5*l],["hh:mm:ss",10*l],["hh:mm:ss",15*l],["hh:mm:ss",30*l],["hh:mm\nMM-dd",h],["hh:mm\nMM-dd",5*h],["hh:mm\nMM-dd",10*h],["hh:mm\nMM-dd",15*h],["hh:mm\nMM-dd",30*h],["hh:mm\nMM-dd",u],["hh:mm\nMM-dd",2*u],["hh:mm\nMM-dd",6*u],["hh:mm\nMM-dd",12*u],["MM-dd\nyyyy",c],["MM-dd\nyyyy",2*c],["MM-dd\nyyyy",3*c],["MM-dd\nyyyy",4*c],["MM-dd\nyyyy",5*c],["MM-dd\nyyyy",6*c],["week",7*c],["MM-dd\nyyyy",10*c],["week",14*c],["week",21*c],["month",31*c],["week",42*c],["month",62*c],["week",70*c],["quarter",95*c],["month",31*c*4],["month",31*c*5],["half-year",380*c/2],["month",31*c*8],["month",31*c*10],["year",380*c]];g.create=function(t){return new g({useUTC:t.ecModel.get("useUTC")})};var p=g;return lJ=p,lJ}function vJ(){if(cJ)return uJ;cJ=1;var t=NC,e=QK(),n=$G(),i=aJ(),r=e.prototype,o=i.prototype,a=n.getPrecisionSafe,s=n.round,l=Math.floor,h=Math.ceil,u=Math.pow,c=Math.log,d=e.extend({type:"log",base:10,$constructor:function(){e.apply(this,arguments),this._originalScale=new i},getTicks:function(e){var i=this._originalScale,r=this._extent,a=i.getExtent();return t.map(o.getTicks.call(this,e),(function(t){var e=n.round(u(this.base,t));return e=t===r[0]&&i.__fixMin?g(e,a[0]):e,e=t===r[1]&&i.__fixMax?g(e,a[1]):e,e}),this)},getMinorTicks:o.getMinorTicks,getLabel:o.getLabel,scale:function(t){return t=r.scale.call(this,t),u(this.base,t)},setExtent:function(t,e){var n=this.base;t=c(t)/c(n),e=c(e)/c(n),o.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=r.getExtent.call(this);e[0]=u(t,e[0]),e[1]=u(t,e[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(e[0]=g(e[0],i[0])),n.__fixMax&&(e[1]=g(e[1],i[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=c(t[0])/c(e),t[1]=c(t[1])/c(e),r.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var r=n.quantity(i),o=t/i*r;for(o<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var a=[n.round(h(e[0]/r)*r),n.round(l(e[1]/r)*r)];this._interval=r,this._niceExtent=a}},niceExtent:function(t){o.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function g(t,e){return s(t,a(e))}t.each(["contain","normalize"],(function(t){d.prototype[t]=function(e){return e=c(e)/c(this.base),r[t].call(this,e)}})),d.create=function(){return new d};var f=d;return uJ=f,uJ}function _J(){if(dJ)return JK;dJ=1;var t=NC,e=tJ(),n=aJ(),i=QK(),r=$G(),o=mJ(),a=o.prepareLayoutBarSeries,s=o.makeColumnLayout,l=o.retrieveColumnLayout,h=az;function u(e,n){var i,o,l,h=e.type,u=n.getMin(),d=n.getMax(),g=e.getExtent();"ordinal"===h?i=n.getCategories().length:(o=n.get("boundaryGap"),t.isArray(o)||(o=[o||0,o||0]),"boolean"==typeof o[0]&&(o=[0,0]),o[0]=r.parsePercent(o[0],1),o[1]=r.parsePercent(o[1],1),l=g[1]-g[0]||Math.abs(g[0])),"dataMin"===u?u=g[0]:"function"==typeof u&&(u=u({min:g[0],max:g[1]})),"dataMax"===d?d=g[1]:"function"==typeof d&&(d=d({min:g[0],max:g[1]}));var f=null!=u,p=null!=d;null==u&&(u="ordinal"===h?i?0:NaN:g[0]-o[0]*l),null==d&&(d="ordinal"===h?i?i-1:NaN:g[1]+o[1]*l),(null==u||!isFinite(u))&&(u=NaN),(null==d||!isFinite(d))&&(d=NaN),e.setBlank(t.eqNaN(u)||t.eqNaN(d)||"ordinal"===h&&!e.getOrdinalMeta().categories.length),n.getNeedCrossZero()&&(u>0&&d>0&&!f&&(u=0),u<0&&d<0&&!p&&(d=0));var m=n.ecModel;if(m&&"time"===h){var y,v=a("bar",m);if(t.each(v,(function(t){y|=t.getBaseAxis()===n.axis})),y){var _=s(v),x=c(u,d,n,_);u=x.min,d=x.max}}return{extent:[u,d],fixMin:f,fixMax:p}}function c(e,n,i,r){var o=i.axis.getExtent(),a=o[1]-o[0],s=l(r,i.axis);if(void 0===s)return{min:e,max:n};var h=1/0;t.each(s,(function(t){h=Math.min(t.offset,h)}));var u=-1/0;t.each(s,(function(t){u=Math.max(t.offset+t.width,u)})),h=Math.abs(h),u=Math.abs(u);var c=h+u,d=n-e,g=1-(h+u)/a,f=d/g-d;return n+=f*(u/c),e-=f*(h/c),{min:e,max:n}}function d(t,e){var n=u(t,e),i=n.extent,r=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var a=e.get("interval");null!=a&&t.setInterval&&t.setInterval(a)}function g(t,r){if(r=r||t.get("type"),r)switch(r){case"category":return new e(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new n;default:return(i.getClass(r)||n).create(t)}}function f(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function p(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof e?(e=function(e){return function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}}(e),e):"function"==typeof e?function(i,r){return null!=n&&(r=i-n),e(m(t,i),r)}:function(e){return t.scale.getLabel(e)}}function m(t,e){return"category"===t.type?t.scale.getLabel(e):e}function y(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,r,o="category"===t.type,a=n.getExtent();o?r=n.count():(i=n.getTicks(),r=i.length);var s,l=t.getLabelModel(),h=p(t),u=1;r>40&&(u=Math.ceil(r/40));for(var c=0;c>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=o,r=s,o=l,i.push([s/n,l/n])}return i}function r(i,r){return n(i),t.map(t.filter(i.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(n){var i=n.properties,o=n.geometry,a=o.coordinates,s=[];"Polygon"===o.type&&s.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===o.type&&t.each(a,(function(t){t[0]&&s.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var l=new e(i[r||"name"],s,i.cp);return l.properties=i,l}))}return EJ=r,EJ}var DJ,OJ,jJ,FJ,NJ={};function BJ(){if(DJ)return NJ;DJ=1;var t=NC,e=dP,n=PR,i=n.makeInner,r=_J(),o=r.makeLabelFormatter,a=r.getOptionCategoryInterval,s=r.shouldShowAllLabels,l=i();function h(t){return"category"===t.type?c(t):f(t)}function u(t,e){return"category"===t.type?g(t,e):{ticks:t.scale.getTicks()}}function c(t){var e=t.getLabelModel(),n=d(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function d(e,n){var i,r,o=p(e,"labels"),s=a(n),l=m(o,s);return l||(t.isFunction(s)?i=w(e,s):(r="auto"===s?v(e):s,i=b(e,r)),y(o,s,{labels:i,labelCategoryInterval:r}))}function g(e,n){var i,r,o=p(e,"ticks"),s=a(n),l=m(o,s);if(l)return l;if((!n.get("show")||e.scale.isBlank())&&(i=[]),t.isFunction(s))i=w(e,s,!0);else if("auto"===s){var h=d(e,e.getLabelModel());r=h.labelCategoryInterval,i=t.map(h.labels,(function(t){return t.tickValue}))}else r=s,i=b(e,r,!0);return y(o,s,{ticks:i,tickCategoryInterval:r})}function f(e){var n=e.scale.getTicks(),i=o(e);return{labels:t.map(n,(function(t,n){return{formattedLabel:i(t,n),rawLabel:e.scale.getLabel(t),tickValue:t}}))}}function p(t,e){return l(t)[e]||(l(t)[e]=[])}function m(t,e){for(var n=0;n40&&(u=Math.max(1,Math.floor(h/40)));for(var c=s[0],d=t.dataToCoord(c+1)-t.dataToCoord(c),g=Math.abs(d*Math.cos(r)),f=Math.abs(d*Math.sin(r)),p=0,m=0;c<=s[1];c+=u){var y=0,v=0,_=e.getBoundingRect(i(c),n.font,"center","top");y=1.3*_.width,v=1.3*_.height,p=Math.max(p,y,7),m=Math.max(m,v,7)}var b=p/g,w=m/f;isNaN(b)&&(b=1/0),isNaN(w)&&(w=1/0);var S=Math.max(0,Math.floor(Math.min(b,w))),A=l(t.model),C=t.getExtent(),T=A.lastAutoInterval,I=A.lastTickCount;return null!=T&&null!=I&&Math.abs(T-S)<=1&&Math.abs(I-h)<=1&&T>S&&A.axisExtend0===C[0]&&A.axisExtend1===C[1]?S=T:(A.lastTickCount=h,A.lastAutoInterval=S,A.axisExtend0=C[0],A.axisExtend1=C[1]),S}function x(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()}}function b(t,e,n){var i=o(t),r=t.scale,a=r.getExtent(),l=t.getLabelModel(),h=[],u=Math.max((e||0)+1,1),c=a[0],d=r.count();0!==c&&u>1&&d/u>2&&(c=Math.round(Math.ceil(c/u)*u));var g=s(t),f=l.get("showMinLabel")||g,p=l.get("showMaxLabel")||g;f&&c!==a[0]&&y(a[0]);for(var m=c;m<=a[1];m+=u)y(m);function y(t){h.push(n?t:{formattedLabel:i(t),rawLabel:r.getLabel(t),tickValue:t})}return p&&m-u!==a[1]&&y(a[1]),h}function w(e,n,i){var r=e.scale,a=o(e),s=[];return t.each(r.getTicks(),(function(t){var e=r.getLabel(t);n(t,e)&&s.push(i?t:{formattedLabel:a(t),rawLabel:e,tickValue:t})})),s}return NJ.createAxisLabels=h,NJ.createAxisTicks=u,NJ.calculateCategoryInterval=_,NJ}function GJ(){if(jJ)return OJ;jJ=1;var t=NC,e=t.each,n=t.map,i=$G(),r=i.linearMap,o=i.getPixelPrecision,a=i.round,s=BJ(),l=s.createAxisTicks,h=s.createAxisLabels,u=s.calculateCategoryInterval,c=[0,1],d=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function g(t,e){var n=t[1]-t[0],i=e,r=n/i/2;t[0]+=r,t[1]-=r}function f(t,n,i,r){var o=n.length;if(t.onBand&&!i&&o){var s,l,h=t.getExtent();if(1===o)n[0].coord=h[0],s=n[1]={coord:h[0]};else{var u=n[o-1].tickValue-n[0].tickValue,c=(n[o-1].coord-n[0].coord)/u;e(n,(function(t){t.coord-=c/2}));var d=t.scale.getExtent();l=1+d[1]-n[o-1].tickValue,s={coord:n[o-1].coord+c*l},n.push(s)}var g=h[0]>h[1];f(n[0].coord,h[0])&&(r?n[0].coord=h[0]:n.shift()),r&&f(h[0],n[0].coord)&&n.unshift({coord:h[0]}),f(h[1],s.coord)&&(r?s.coord=h[1]:n.pop()),r&&f(s.coord,h[1])&&n.push({coord:h[1]})}function f(t,e){return t=a(t),e=a(e),g?t>e:t=n&&t<=i},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return o(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&(n=n.slice(),g(n,i.count())),r(t,c,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),g(n,i.count()));var o=r(t,n,c,e);return this.scale.scale(o)},pointToData:function(t,e){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),i=l(this,e),r=i.ticks,o=n(r,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this),a=e.get("alignWithLabel");return f(this,o,a,t.clamp),o},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var i=this.scale.getMinorTicks(e),r=n(i,(function(t){return n(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return r},getViewLabels:function(){return h(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},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},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return u(this)}};var p=d;return OJ=p,OJ}function VJ(){if(FJ)return vK;FJ=1;var t=PC;vK.zrender=t;var e=eM();vK.matrix=e;var n=BT();vK.vector=n;var i=NC,r=bM;vK.color=r;var o=CD,a=$G();vK.number=a;var s=nV();vK.format=s;var l=HZ;l.throttle,vK.throttle=l.throttle;var h=CJ();vK.helper=h;var u=RJ();vK.parseGeoJSON=u;var c=kK();vK.List=c;var d=GG();vK.Model=d;var g=GJ();vK.Axis=g;var f=FC;vK.env=f;var p=u,m={};i.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){m[t]=i[t]}));var y={};return i.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){y[t]=o[t]})),vK.parseGeoJson=p,vK.util=m,vK.graphic=y,vK}(function(t){var e=PC,n=NC,i=bM,r=FC,o=Sz,a=KT,s=kW,l=FW,h=qW,u=oU,c=RU,d=BU,g=FV,f=gZ,p=xZ,m=UZ,y=CD,v=PR,_=HZ,x=_.throttle,b=iY,w=cY,S=yY,A=tX,C=iX,T=hX,I=yK,M=n.assert,E=n.each,z=n.isFunction,P=n.isObject,L=g.parseClassType,k="4.9.0",R={zrender:"4.3.2"},D=1,O=1e3,j=800,F=900,N=5e3,B=1e3,G=1100,V=2e3,q=3e3,W=3500,U=4e3,H=5e3,Z={PROCESSOR:{FILTER:O,SERIES_FILTER:j,STATISTIC:N},VISUAL:{LAYOUT:B,PROGRESSIVE_LAYOUT:G,GLOBAL:V,CHART:q,POST_CHART_LAYOUT:W,COMPONENT:U,BRUSH:H}},Y="__flagInMainProcess",X="__optionUpdated",K=/^[a-zA-Z0-9_]+$/;function J(t,e){return function(n,i,r){e||!this._disposed?(n=n&&n.toLowerCase(),a.prototype[t].call(this,n,i,r)):this.id}}function Q(){a.call(this)}function $(t,i,r){r=r||{},"string"==typeof i&&(i=Mt[i]),this.id,this.group,this._dom=t;var s="canvas",l=this._zr=e.init(t,{renderer:r.renderer||s,devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height});this._throttledZrFlush=x(n.bind(l.flush,l),17);i=n.clone(i);i&&c(i,!0),this._theme=i,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var u=this._api=xt(this);function d(t,e){return t.__prio-e.__prio}o(It,d),o(At,d),this._scheduler=new A(this,u,At,It),a.call(this,this._ecEventProcessor=new bt),this._messageCenter=new Q,this._initEvents(),this.resize=n.bind(this.resize,this),this._pendingActions=[],l.animation.on("frame",this._onframe,this),ht(l,this),n.setAsPrimitive(this)}Q.prototype.on=J("on",!0),Q.prototype.off=J("off",!0),Q.prototype.one=J("one",!0),n.mixin(Q,a);var tt=$.prototype;function et(t,e,n){if(this._disposed)this.id;else{var i,r=this._model,o=this._coordSysMgr.getCoordinateSystems();e=v.parseFinder(r,e);for(var a=0;a0&&t.unfinished);t.unfinished||this._zr.flush()}}},tt.getDom=function(){return this._dom},tt.getZr=function(){return this._zr},tt.setOption=function(t,e,n){if(this._disposed)this.id;else{var i;if(P(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[Y]=!0,!this._model||e){var r=new u(this._api),o=this._theme,a=this._model=new s;a.scheduler=this._scheduler,a.init(null,null,o,r)}this._model.setOption(t,Ct),n?(this[X]={silent:i},this[Y]=!1):(it(this),nt.update.call(this),this._zr.flush(),this[X]=!1,this[Y]=!1,st.call(this,i),lt.call(this,i))}},tt.setTheme=function(){},tt.getModel=function(){return this._model},tt.getOption=function(){return this._model&&this._model.getOption()},tt.getWidth=function(){return this._zr.getWidth()},tt.getHeight=function(){return this._zr.getHeight()},tt.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},tt.getRenderedCanvas=function(t){if(r.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},tt.getSvgDataURL=function(){if(r.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return n.each(e,(function(t){t.stopAnimation(!0)})),t.painter.toDataURL()}},tt.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,i=[],r=this;E(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.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return E(i,(function(t){t.group.ignore=!1})),o}this.id},tt.getConnectedDataURL=function(t){if(this._disposed)this.id;else if(r.canvasSupported){var i="svg"===t.type,o=this.group,a=Math.min,s=Math.max,l=1/0;if(Pt[o]){var h=l,u=l,c=-l,d=-l,g=[],f=t&&t.pixelRatio||1;n.each(zt,(function(e,r){if(e.group===o){var l=i?e.getZr().painter.getSvgDom().innerHTML:e.getRenderedCanvas(n.clone(t)),f=e.getDom().getBoundingClientRect();h=a(f.left,h),u=a(f.top,u),c=s(f.right,c),d=s(f.bottom,d),g.push({dom:l,left:f.left,top:f.top})}})),h*=f,u*=f,c*=f,d*=f;var p=c-h,m=d-u,v=n.createCanvas(),_=e.init(v,{renderer:i?"svg":"canvas"});if(_.resize({width:p,height:m}),i){var x="";return E(g,(function(t){var e=t.left-h,n=t.top-u;x+=''+t.dom+""})),_.painter.getSvgRoot().innerHTML=x,t.connectedBackgroundColor&&_.painter.setBackgroundColor(t.connectedBackgroundColor),_.refreshImmediately(),_.painter.toDataURL()}return t.connectedBackgroundColor&&_.add(new y.Rect({shape:{x:0,y:0,width:p,height:m},style:{fill:t.connectedBackgroundColor}})),E(g,(function(t){var e=new y.Image({style:{x:t.left*f-h,y:t.top*f-u,image:t.dom}});_.add(e)})),_.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},tt.convertToPixel=n.curry(et,"convertToPixel"),tt.convertFromPixel=n.curry(et,"convertFromPixel"),tt.containPixel=function(t,e){if(!this._disposed){var i,r=this._model;return t=v.parseFinder(r,t),n.each(t,(function(t,r){r.indexOf("Models")>=0&&n.each(t,(function(t){var n=t.coordinateSystem;if(n&&n.containPoint)i|=!!n.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(i|=o.containPoint(e,t))}}),this)}),this),!!i}this.id},tt.getVisual=function(t,e){var n=this._model;t=v.parseFinder(n,t,{defaultMainType:"series"});var i=t.seriesModel,r=i.getData(),o=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?r.indexOfRawIndex(t.dataIndex):null;return null!=o?r.getItemVisual(o,e):r.getVisual(e)},tt.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},tt.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var nt={prepareAndUpdate:function(t){it(this),nt.update.call(this,t)},update:function(t){var e=this._model,n=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(e){s.restoreData(e,t),s.performSeriesTasks(e),a.create(e,n),s.performDataProcessorTasks(e,t),ot(this,e),a.update(e,n),ct(e),s.performVisualTasks(e,t),dt(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(r.canvasSupported)o.setBackgroundColor(l);else{var h=i.parse(l);l=i.stringify(h,"rgb"),0===h[3]&&(l="transparent")}pt(e,n)}},updateTransform:function(t){var e=this._model,i=this,r=this._api;if(e){var o=[];e.eachComponent((function(n,a){var s=i.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,e,r,t);l&&l.update&&o.push(s)}else o.push(s)}));var a=n.createHashMap();e.eachSeries((function(n){var o=i._chartsMap[n.__viewId];if(o.updateTransform){var s=o.updateTransform(n,e,r,t);s&&s.update&&a.set(n.uid,1)}else a.set(n.uid,1)})),ct(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:a}),ft(i,e,r,t,a),pt(e,this._api)}},updateView:function(t){var e=this._model;!e||(m.markUpdateMethod(t,"updateView"),ct(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),dt(this,this._model,this._api,t),pt(e,this._api))},updateVisual:function(t){nt.update.call(this,t)},updateLayout:function(t){nt.update.call(this,t)}};function it(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),ut(t,"component",e,n),ut(t,"chart",e,n),n.plan()}function rt(t,e,i,r,o){var a=t._model;if(r){var s={};s[r+"Id"]=i[r+"Id"],s[r+"Index"]=i[r+"Index"],s[r+"Name"]=i[r+"Name"];var l={mainType:r,query:s};o&&(l.subType=o);var h=i.excludeSeriesId;null!=h&&(h=n.createHashMap(v.normalizeToArray(h))),a&&a.eachComponent(l,(function(e){(!h||null==h.get(e.id))&&u(t["series"===r?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else E(t._componentsViews.concat(t._chartsViews),u);function u(n){n&&n.__alive&&n[e]&&n[e](n.__model,a,t._api,i)}}function ot(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))}function at(t,e){var i=t.type,r=t.escapeConnect,o=wt[i],a=o.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&L(s[0]),this[Y]=!0;var h=[t],u=!1;t.batch&&(u=!0,h=n.map(t.batch,(function(e){return e=n.defaults(n.extend({},e),t),e.batch=null,e})));var c,d=[],g="highlight"===i||"downplay"===i;E(h,(function(t){c=o.action(t,this._model,this._api),c=c||n.extend({},t),c.type=a.event||c.type,d.push(c),g?rt(this,l,t,"series"):s&&rt(this,l,t,s.main,s.sub)}),this),"none"!==l&&!g&&!s&&(this[X]?(it(this),nt.update.call(this,t),this[X]=!1):nt[l].call(this,t)),c=u?{type:a.event||i,escapeConnect:r,batch:d}:d[0],this[Y]=!1,!e&&this._messageCenter.trigger(c.type,c)}function st(t){for(var e=this._pendingActions;e.length;){var n=e.shift();at.call(this,n,t)}}function lt(t){!t&&this.trigger("updated")}function ht(t,e){t.on("rendered",(function(){e.trigger("rendered"),t.animation.isFinished()&&!e[X]&&!e._scheduler.unfinished&&!e._pendingActions.length&&e.trigger("finished")}))}function ut(t,e,n,i){for(var r="component"===e,o=r?t._componentsViews:t._chartsViews,a=r?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,h=0;he.get("hoverLayerThreshold")&&!r.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.useHoverLayer=!0}))}}))}function vt(t,e){var n=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||t.style.blend!==n&&t.setStyle("blend",n),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",n)}))}))}function _t(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))}))}function xt(t){var e=t._coordSysMgr;return n.extend(new l(t),{getCoordinateSystems:n.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}}})}function bt(){this.eventInfo}tt._initEvents=function(){E(mt,(function(t){var e=function(e){var i,r=this.getModel(),o=e.target,a="globalout"===t;if(a)i={};else if(o&&null!=o.dataIndex){var s=o.dataModel||r.getSeriesByIndex(o.seriesIndex);i=s&&s.getDataParams(o.dataIndex,o.dataType,o)||{}}else o&&o.eventData&&(i=n.extend({},o.eventData));if(i){var l=i.componentType,h=i.componentIndex;("markLine"===l||"markPoint"===l||"markArea"===l)&&(l="series",h=i.seriesIndex);var u=l&&null!=h&&r.getComponent(l,h),c=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:o,packedEvent:i,model:u,view:c},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),E(St,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},tt.isDisposed=function(){return this._disposed},tt.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},tt.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,v.setAttribute(this.getDom(),Rt,"");var t=this._api,e=this._model;E(this._componentsViews,(function(n){n.dispose(e,t)})),E(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete zt[this.id]}},n.mixin($,a),bt.prototype={constructor:bt,normalizeQuery:function(t){var e={},i={},r={};if(n.isString(t)){var o=L(t);e.mainType=o.main||null,e.subType=o.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};n.each(t,(function(t,n){for(var o=!1,l=0;l0&&u===n.length-h.length){var c=n.slice(0,u);"data"!==c&&(e.mainType=c,e[h.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(n)&&(i[n]=t,o=!0),o||(r[n]=t)}))}return{cptQuery:e,dataQuery:i,otherQuery:r}},filter:function(t,e,n){var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,o=i.packedEvent,a=i.model,s=i.view;if(!a||!s)return!0;var l=e.cptQuery,h=e.dataQuery;return u(l,a,"mainType")&&u(l,a,"subType")&&u(l,a,"index","componentIndex")&&u(l,a,"name")&&u(l,a,"id")&&u(h,o,"name")&&u(h,o,"dataIndex")&&u(h,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,o));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var wt={},St={},At=[],Ct=[],Tt=[],It=[],Mt={},Et={},zt={},Pt={},Lt=new Date-0,kt=new Date-0,Rt="_echarts_instance_";function Dt(t){var e=0,n=1,i=2,r="__connectUpdateStatus";function o(t,e){for(var n=0;n0?n=i[0]:i[1]<0&&(n=i[1]),n}function a(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)}return oQ.prepareDataCoordInfo=r,oQ.getStackedOnPoint=a,oQ}function sQ(){if(rQ)return iQ;rQ=1;var t=aQ(),e=t.prepareDataCoordInfo,n=t.getStackedOnPoint;function i(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}function r(t,r,o,a,s,l,h,u){for(var c=i(t,r),d=[],g=[],f=[],p=[],m=[],y=[],v=[],_=e(s,r,h),x=e(l,t,u),b=0;b=r||m<0)break;if(u(v)){if(f){m+=o;continue}break}if(m===n)t[o>0?"moveTo":"lineTo"](v[0],v[1]);else if(d>0){var _=e[p],x="y"===g?1:0,b=(v[x]-_[x])*d;a(l,_),l[x]=_[x]+b,a(h,v),h[x]=v[x]-b,t.bezierCurveTo(l[0],l[1],h[0],h[1],v[0],v[1])}else t.lineTo(v[0],v[1]);p=m,m+=o}return y}function g(t,n,c,d,g,f,p,m,y,v,_){for(var x=0,b=c,w=0;w=g||b<0)break;if(u(S)){if(_){b+=f;continue}break}if(b===c)t[f>0?"moveTo":"lineTo"](S[0],S[1]),a(l,S);else if(y>0){var A=b+f,C=n[A];if(_)for(;C&&u(n[A]);)A+=f,C=n[A];var T=.5,I=n[x];C=n[A];if(!C||u(C))a(h,S);else{var M,E;if(u(C)&&!_&&(C=S),e.sub(s,C,I),"x"===v||"y"===v){var z="x"===v?0:1;M=Math.abs(S[z]-I[z]),E=Math.abs(S[z]-C[z])}else M=e.dist(S,I),E=e.dist(S,C);T=E/(E+M),o(h,S,s,-y*(1-T))}i(l,l,m),r(l,l,p),i(h,h,m),r(h,h,p),t.bezierCurveTo(l[0],l[1],h[0],h[1],S[0],S[1]),o(l,S,s,y*T)}else t.lineTo(S[0],S[1]);x=b,b+=f}return w}function f(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var r=0;ri[0]&&(i[0]=o[0]),o[1]>i[1]&&(i[1]=o[1])}return{min:e?n:i,max:e?i:n}}var p=t.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:n(t.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,r=n.length,o=f(n,e.smoothConstraint);if(e.connectNulls){for(;r>0&&u(n[r-1]);r--);for(;i0&&u(n[o-1]);o--);for(;r=0;s--){var l=i[s].dimension,h=e.dimensions[l],u=e.getDimensionInfo(h);if(r=u&&u.coordDim,"x"===r||"y"===r){o=i[s];break}}if(o){var c=n.getAxis(r),d=t.map(o.stops,(function(t){return{coord:c.toGlobalCoord(c.dataToCoord(t.value)),color:t.color}})),g=d.length,f=o.outerColors.slice();g&&d[0].coord>d[g-1].coord&&(d.reverse(),f.reverse());var p=10,m=d[0].coord-p,y=d[g-1].coord+p,v=y-m;if(v<.001)return"transparent";t.each(d,(function(t){t.offset=(t.coord-m)/v})),d.push({offset:g?d[g-1].offset:.5,color:f[1]||"transparent"}),d.unshift({offset:g?d[0].offset:.5,color:f[0]||"transparent"});var _=new a.LinearGradient(0,0,0,0,d,!0);return _[r]=m,_[r+"2"]=y,_}}}function A(e,n,i){var r=e.get("showAllSymbol"),o="auto"===r;if(!r||o){var a=i.getAxesByScale("ordinal")[0];if(a&&(!o||!C(a,n))){var s=n.mapDimension(a.dim),l={};return t.each(a.getViewLabels(),(function(t){l[t.tickValue]=1})),function(t){return!l.hasOwnProperty(n.get(s,t))}}}}function C(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var o=e.count(),a=Math.max(1,Math.round(o/5)),s=0;si)return!1;return!0}function T(t,e,n){if("cartesian2d"===t.type){var i=t.getBaseAxis().isHorizontal(),r=m(t,e,n);if(!n.get("clip",!0)){var o=r.shape,a=Math.max(o.width,o.height);i?(o.y-=a,o.height+=2*a):(o.x-=a,o.width+=2*a)}return r}return y(t,e,n)}var I=c.extend({type:"line",init:function(){var t=new a.Group,e=new i;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(e,n,i){var r=e.coordinateSystem,o=this.group,a=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),h=a.mapArray(a.getItemLayout),u="polar"===r.type,c=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,m=this._lineGroup,y=e.get("animation"),_=!l.isEmpty(),C=l.get("origin"),I=g(r,a,C),M=b(r,a,I),E=e.get("showSymbol"),z=E&&!u&&A(e,a,r),P=this._data;P&&P.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),P.setItemGraphicEl(e,null))})),E||d.remove(),o.add(m);var L,k=!u&&e.get("step");r&&r.getArea&&e.get("clip",!0)&&(L=r.getArea(),null!=L.width?(L.x-=.1,L.y-=.1,L.width+=.2,L.height+=.2):L.r0&&(L.r0-=.5,L.r1+=.5)),this._clipShapeForSymbol=L,f&&c.type===r.type&&k===this._step?(_&&!p?p=this._newPolygon(h,M,r,y):p&&!_&&(m.remove(p),p=this._polygon=null),m.setClipPath(T(r,!1,e)),E&&d.updateData(a,{isIgnore:z,clipShape:L}),a.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),(!v(this._stackedOnPoints,M)||!v(this._points,h))&&(y?this._updateAnimation(a,M,r,i,k,C):(k&&(h=w(h,r,k),M=w(M,r,k)),f.setShape({points:h}),p&&p.setShape({points:h,stackedOnPoints:M})))):(E&&d.updateData(a,{isIgnore:z,clipShape:L}),k&&(h=w(h,r,k),M=w(M,r,k)),f=this._newPolyline(h,r,y),_&&(p=this._newPolygon(h,M,r,y)),m.setClipPath(T(r,!0,e)));var R=S(a,r)||a.getVisual("color");f.useStyle(t.defaults(s.getLineStyle(),{fill:"none",stroke:R,lineJoin:"bevel"}));var D=e.get("smooth");if(D=x(e.get("smooth")),f.setShape({smooth:D,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),p){var O=a.getCalculationInfo("stackedOnSeries"),j=0;p.useStyle(t.defaults(l.getAreaStyle(),{fill:R,opacity:.7,lineJoin:"bevel"})),O&&(j=x(O.get("smooth"))),p.setShape({smooth:D,stackedOnSmooth:j,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=a,this._coordSys=r,this._stackedOnPoints=M,this._points=h,this._step=k,this._valueOrigin=C},dispose:function(){},highlight:function(t,e,n,i){var o=t.getData(),a=s.queryDataIndex(o,i);if(!(a instanceof Array)&&null!=a&&a>=0){var l=o.getItemGraphicEl(a);if(!l){var h=o.getItemLayout(a);if(!h||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(h[0],h[1]))return;l=new r(o,a),l.position=h,l.setZ(t.get("zlevel"),t.get("z")),l.ignore=isNaN(h[0])||isNaN(h[1]),l.__temp=!0,o.setItemGraphicEl(a,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else c.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var r=t.getData(),o=s.queryDataIndex(r,i);if(null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else c.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new u({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,i,r,s){var l=this._polyline,h=this._polygon,u=t.hostModel,c=o(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,s),d=c.current,g=c.stackedOnCurrent,f=c.next,p=c.stackedOnNext;if(r&&(d=w(c.current,n,r),g=w(c.stackedOnCurrent,n,r),f=w(c.next,n,r),p=w(c.stackedOnNext,n,r)),_(d,f)>3e3||h&&_(g,p)>3e3)return l.setShape({points:f}),void(h&&h.setShape({points:f,stackedOnPoints:p}));l.shape.__points=c.current,l.shape.points=d,a.updateProps(l,{shape:{points:f}},u),h&&(h.setShape({points:d,stackedOnPoints:g}),a.updateProps(h,{shape:{points:f,stackedOnPoints:p}},u));for(var m=[],y=c.status,v=0;ve&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n1)"string"==typeof a?l=t[a]:"function"==typeof a&&(l=a),l&&n.setData(o.downSample(o.mapDimension(u.dim),1/g,l,e))}}}}return vQ=n,vQ}var TQ,IQ,MQ,EQ,zQ,PQ,LQ,kQ,RQ,DQ,OQ,jQ,FQ,NQ,BQ,GQ,VQ={};function qQ(){if(IQ)return TQ;IQ=1;var t=NC;function e(t){return this._axes[t]}var n=function(t){this._axes={},this._dimList=[],this.name=t||""};n.prototype={constructor:n,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return t.map(this._dimList,e,this)},getAxesByScale:function(e){return e=e.toLowerCase(),t.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},r=0;re[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},t.inherits(n,e);var i=n;return zQ=i,zQ}function HQ(){if(kQ)return LQ;kQ=1;var t=NC,e={show:!0,zlevel: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:"#333",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,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},n={};n.categoryAxis=t.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},e),n.valueAxis=t.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},e),n.timeAxis=t.defaults({scale:!0,min:"dataMin",max:"dataMax"},n.valueAxis),n.logAxis=t.defaults({scale:!0,logBase:10},n.valueAxis);var i=n;return LQ=i,LQ}function ZQ(){if(DQ)return RQ;DQ=1;var t=NC,e=HQ(),n=FV,i=JG,r=i.getLayoutParams,o=i.mergeLayoutParam,a=$K(),s=["value","category","time","log"];function l(i,l,h,u){t.each(s,(function(n){l.extend({type:i+"Axis."+n,mergeDefaultAndTheme:function(e,a){var s=this.layoutMode,l=s?r(e):{},u=a.getTheme();t.merge(e,u.get(n+"Axis")),t.merge(e,this.getDefaultOption()),e.type=h(i,e),s&&o(e,l,s)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=a.createByAxisModel(this))},getCategories:function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:t.mergeAll([{},e[n+"Axis"],u],!0)})})),n.registerSubTypeDefaulter(i+"Axis",t.curry(h,i))}return RQ=l,RQ}function YQ(){if(jQ)return OQ;jQ=1;var t=NC,e=FV,n=ZQ(),i=xJ(),r=e.extend({type:"cartesian2dAxis",axis:null,init:function(){r.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){r.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){r.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function o(t,e){return e.type||(e.data?"category":"value")}t.merge(r.prototype,i);var a={offset:0};n("x",r,o,a),n("y",r,o,a);var s=r;return OQ=s,OQ}function XQ(){if(NQ)return FQ;NQ=1,YQ();var t=FV,e=t.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});return FQ=e,FQ}function KQ(){if(GQ)return BQ;GQ=1;var t=NC,e=t.isObject,n=t.each,i=t.map,r=t.indexOf;t.retrieve;var o=JG,a=o.getLayoutRect,s=_J(),l=s.createScaleByModel,h=s.ifAxisCrossZero,u=s.niceScaleExtent,c=s.estimateLabelUnionRect,d=WQ(),g=UQ(),f=qW,p=qK(),m=p.getStackedDimension;function y(t,e,n){return t.getCoordSysModel()===e}function v(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}XQ();var _=v.prototype;function x(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)b(o[l])&&(r=o[l]);else for(var h in o)if(o.hasOwnProperty(h)&&b(o[h])&&!i[u(o[h])]){r=o[h];break}r&&(i[u(r)]=!0)}function u(t){return t.dim+"_"+t.index}}function b(t){return t&&"category"!==t.type&&"time"!==t.type&&h(t)}function w(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}}_.type="grid",_.axisPointerEnabled=!0,_.getRect=function(){return this._rect},_.update=function(t,e){var i=this._axesMap;this._updateScale(t,this.model),n(i.x,(function(t){u(t.scale,t.model)})),n(i.y,(function(t){u(t.scale,t.model)}));var r={};n(i.x,(function(t){x(i,"y",t,r)})),n(i.y,(function(t){x(i,"x",t,r)})),this.resize(this.model,e)},_.resize=function(t,e,i){var r=a(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=r;var o=this._axesList;function s(){n(o,(function(t){var e=t.isHorizontal(),n=e?[0,r.width]:[0,r.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),w(t,e?r.x:r.y)}))}s(),!i&&t.get("containLabel")&&(n(o,(function(t){if(!t.model.get("axisLabel.inside")){var e=c(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get("axisLabel.margin");r[n]-=e[n]+i,"top"===t.position?r.y+=e.height+i:"left"===t.position&&(r.x+=e.width+i)}}})),s())},_.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n){if(null==e)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[e]}},_.getAxes=function(){return this._axesList.slice()},_.getCartesian=function(t,n){if(null!=t&&null!=n){var i="x"+t+"y"+n;return this._coordsMap[i]}e(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var r=0,o=this._coordsList;rg[1]?-1:1,p=["start"===h?g[0]-f*d:"end"===h?g[1]+f*d:(g[0]+g[1])/2,M(h)?t.labelOffset+u*d:0],m=n.get("nameRotate");null!=m&&(m=m*v/180),M(h)?s=w(t.rotation,null!=m?m:t.rotation,u):(s=S(t,h,m||0,g),l=t.axisNameAvailableWidth,null!=l&&(l=Math.abs(l/Math.sin(s.rotation)),!isFinite(l)&&(l=null)));var y=c.getFont(),_=n.get("nameTruncate",!0)||{},x=_.ellipsis,C=e(t.nameTruncateMaxWidth,_.maxWidth,l),T=null!=x&&null!=C?o.truncateText(r,C,y,x,{minChar:2,placeholder:_.placeholder}):r,I=n.get("tooltip",!0),E=n.mainType,z={componentType:E,name:r,$vars:["name"]};z[E+"Index"]=n.componentIndex;var P=new a.Text({anid:"name",__fullText:r,__truncatedText:T,position:p,rotation:s.rotation,silent:A(n),z2:1,tooltip:I&&I.show?i({content:r,formatter:function(){return r},formatterParams:z},I):null});a.setTextStyle(P.style,c,{text:T,textFont:y,textFill:c.getTextColor()||n.get("axisLine.lineStyle.color"),textAlign:c.get("align")||s.textAlign,textVerticalAlign:c.get("verticalAlign")||s.textVerticalAlign}),n.get("triggerEvent")&&(P.eventData=b(n),P.eventData.targetType="axisName",P.eventData.name=r),this._dumbGroup.add(P),P.updateTransform(),this.group.add(P),P.decomposeTransform()}}},b=_.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},w=_.innerTextLayout=function(t,e,n){var i,r,o=u(e-t);return h(o)?(r=n>0?"top":"bottom",i="center"):h(o-v)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}};function S(t,e,n,i){var r,o,a=u(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return h(a-v/2)?(o=l?"bottom":"top",r="center"):h(a-1.5*v)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*v&&a>v/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}var A=_.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function C(t,e,n){if(!y(t.axis)){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],h=n[0],u=n[1],c=n[n.length-1],d=n[n.length-2];!1===i?(T(o),T(h)):I(o,a)&&(i?(T(a),T(u)):(T(o),T(h))),!1===r?(T(s),T(c)):I(l,s)&&(r?(T(l),T(d)):(T(s),T(c)))}}function T(t){t&&(t.ignore=!0)}function I(t,e,n){var i=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(i&&r){var o=g.identity([]);return g.rotate(o,o,-t.rotation),i.applyTransform(g.mul([],o,t.getLocalTransform())),r.applyTransform(g.mul([],o,e.getLocalTransform())),i.intersect(r)}}function M(t){return"middle"===t||"center"===t}function E(t,e,n,i,r){for(var o=[],s=[],l=[],h=0;h=0||e===n}function u(t){var e=c(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=g(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]),at&&(t=e),t},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}}});return A$=e,A$}var E$,z$,P$,L$,k$,R$,D$,O$,j$={};function F$(){if(E$)return j$;E$=1;var t=CD,e=$J(),n=e.getDefaultLabel;function i(e,i,o,a,s,l,h){var u=o.getModel("label"),c=o.getModel("emphasis.label");t.setLabelStyle(e,i,u,c,{labelFetcher:s,labelDataIndex:l,defaultText:n(s.getData(),l),isRectText:!0,autoColor:a}),r(e),r(i)}function r(t,e){"outside"===t.textPosition&&(t.textPosition=e)}return j$.setLabel=i,j$}function N$(){if(P$)return z$;P$=1;var t=wD(),e=t([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),n={getBarItemStyle:function(t){var n=e(this,t);if(this.getBorderLineDash){var i=this.getBorderLineDash();i&&(n.lineDash=i)}return n}};return z$=n,z$}function B$(){if(k$)return L$;k$=1;var t=CD,e=t.extendShape,n=e({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},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,h=e.endAngle,u=e.clockwise,c=Math.cos(l),d=Math.sin(l),g=Math.cos(h),f=Math.sin(h),p=u?h-l<2*Math.PI:l-h<2*Math.PI;p&&(t.moveTo(c*r+n,d*r+i),t.arc(c*s+n,d*s+i,a,-Math.PI+l,l,!u)),t.arc(n,i,o,l,h,!u),t.moveTo(g*o+n,f*o+i),t.arc(g*s+n,f*s+i,a,h-2*Math.PI,h-Math.PI,!u),0!==r&&(t.arc(n,i,r,h,l,u),t.moveTo(c*r+n,f*r+i)),t.closePath()}});return L$=n,L$}function G$(){if(D$)return R$;D$=1;var t=zC,e=NC,n=CD,i=F$(),r=i.setLabel,o=GG(),a=N$(),s=wj,l=dz,h=HZ,u=h.throttle,c=bQ(),d=c.createClipPath,g=B$(),f=["itemStyle","barBorderWidth"],p=[0,0];function m(t,e){var n=t.getArea&&t.getArea();if("cartesian2d"===t.type){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}e.extend(o.prototype,a);var y=t.extendChartView({type:"bar",render:function(t,e,n){this._updateDrawMode(t);var i=t.get("coordinateSystem");return("cartesian2d"===i||"polar"===i)&&(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n)),this.group},incrementalPrepareRender:function(t,e,n){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,n,i){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t,e,i){var r,o=this.group,a=t.getData(),s=this._data,h=t.coordinateSystem,u=h.getBaseAxis();"cartesian2d"===h.type?r=u.isHorizontal():"polar"===h.type&&(r="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,d=t.get("clip",!0),g=m(h,a);o.removeClipPath();var f=t.get("roundCap",!0),p=t.get("showBackground",!0),y=t.getModel("backgroundStyle"),v=y.get("barBorderRadius")||0,_=[],C=this._backgroundEls||[],I=function(t){var e=A[h.type](a,t),n=D(h,r,e);return n.useStyle(y.getBarItemStyle()),"cartesian2d"===h.type&&n.setShape("r",v),_[t]=n,n};a.diff(s).add((function(e){var n=a.getItemModel(e),i=A[h.type](a,e,n);if(p&&I(e),a.hasValue(e)){if(d){var s=x[h.type](g,i);if(s)return void o.remove(l)}var l=b[h.type](e,i,r,c,!1,f);a.setItemGraphicEl(e,l),o.add(l),T(l,a,e,n,i,t,r,"polar"===h.type)}})).update((function(e,i){var l=a.getItemModel(e),u=A[h.type](a,e,l);if(p){var m;0===C.length?m=I(i):(m=C[i],m.useStyle(y.getBarItemStyle()),"cartesian2d"===h.type&&m.setShape("r",v),_[e]=m);var w=A[h.type](a,e),S=R(r,w,h);n.updateProps(m,{shape:S},c,e)}var M=s.getItemGraphicEl(i);if(a.hasValue(e)){if(d){var E=x[h.type](g,u);if(E)return void o.remove(M)}M?n.updateProps(M,{shape:u},c,e):M=b[h.type](e,u,r,c,!0,f),a.setItemGraphicEl(e,M),o.add(M),T(M,a,e,l,u,t,r,"polar"===h.type)}else o.remove(M)})).remove((function(t){var e=s.getItemGraphicEl(t);"cartesian2d"===h.type?e&&w(t,c,e):e&&S(t,c,e)})).execute();var M=this._backgroundGroup||(this._backgroundGroup=new l);M.removeAll();for(var E=0;E<_.length;++E)M.add(_[E]);o.add(M),this._backgroundEls=_,this._data=a},_renderLarge:function(t,e,n){this._clear(),E(t,this.group);var i=t.get("clip",!0)?d(t.coordinateSystem,!1,t):null;i?this.group.setClipPath(i):this.group.removeClipPath()},_incrementalRenderLarge:function(t,e){this._removeBackground(),E(e,this.group,!0)},dispose:e.noop,remove:function(t){this._clear(t)},_clear:function(t){var e=this.group,n=this._data;t&&t.get("animation")&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){"sector"===e.type?S(e.dataIndex,t,e):w(e.dataIndex,t,e)}))):e.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),v=Math.max,_=Math.min,x={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=v(e.x,t.x),o=_(e.x+e.width,t.x+t.width),a=v(e.y,t.y),s=_(e.y+e.height,t.y+t.height);e.x=r,e.y=a,e.width=o-r,e.height=s-a;var l=e.width<0||e.height<0;return n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),l},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}i=_(e.r,t.r);var r=v(e.r0,t.r0);e.r=i,e.r0=r;var o=i-r<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return o}},b={cartesian2d:function(t,i,r,o,a){var s=new n.Rect({shape:e.extend({},i),z2:1});if(s.name="item",o){var l=s.shape,h=r?"height":"width",u={};l[h]=0,u[h]=i[h],n[a?"updateProps":"initProps"](s,{shape:u},o,t)}return s},polar:function(t,i,r,o,a,s){var l=i.startAngle0?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}}};function C(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function T(t,i,o,a,s,l,h,u){var c=i.getItemVisual(o,"color"),d=i.getItemVisual(o,"opacity"),g=i.getVisual("borderColor"),f=a.getModel("itemStyle"),p=a.getModel("emphasis.itemStyle").getBarItemStyle();u||t.setShape("r",f.get("barBorderRadius")||0),t.useStyle(e.defaults({stroke:C(s)?"none":g,fill:C(s)?"none":c,opacity:d},f.getBarItemStyle()));var m=a.getShallow("cursor");m&&t.attr("cursor",m);var y=h?s.height>0?"bottom":"top":s.width>0?"left":"right";u||r(t.style,p,a,c,l,o,y),C(s)&&(p.fill=p.stroke="none"),n.setHoverStyle(t,p)}function I(t,e){var n=t.get(f)||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),r=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(n,i,r)}var M=s.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,i=this.__startPoint,r=this.__baseDimIdx,o=0;o=0?n:null}),30,!1);function P(t,e,n){var i=t.__baseDimIdx,r=1-i,o=t.shape.points,a=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[r];p[0]=e,p[1]=n;for(var h=p[i],u=p[1-i],c=h-s,d=h+s,g=0,f=o.length/2;g=c&&y<=d&&(l<=v?u>=l&&u<=v:u>=v&&u<=l))return a[g]}return-1}function L(t,e,n){var i=n.getVisual("borderColor")||n.getVisual("color"),r=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(r),t.style.fill=null,t.style.stroke=i,t.style.lineWidth=n.getLayout("barWidth")}function k(t,e,n){var i=e.get("borderColor")||e.get("color"),r=e.getItemStyle(["color","borderColor"]);t.useStyle(r),t.style.fill=null,t.style.stroke=i,t.style.lineWidth=n.getLayout("barWidth")}function R(t,e,n){var i,r="polar"===n.type;return i=r?n.getArea():n.grid.getRect(),r?{cx:i.cx,cy:i.cy,r0:t?i.r0:e.r0,r:t?i.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:i.x,y:t?i.y:e.y,width:t?e.width:i.width,height:t?i.height:e.height}}function D(t,e,i){var r="polar"===t.type?n.Sector:n.Rect;return new r({shape:R(e,i,t),silent:!0,z2:0})}return R$=y,R$}function V$(){if(O$)return T$;O$=1;var t=zC,e=NC,n=mJ(),i=n.layout,r=n.largeLayout;return KQ(),M$(),G$(),x$(),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,e.curry(i,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,r),t.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}}),T$}var q$,W$,U$,H$,Z$,Y$,X$,K$,J$,Q$,$$,t2,e2,n2,i2,r2,o2,a2,s2,l2,h2,u2={};function c2(){if(W$)return q$;W$=1;var t=DK(),e=kK(),n=NC,i=n.extend,r=n.isArray;function o(n,o,a){o=r(o)&&{coordDimensions:o}||i({},o);var s=n.getSource(),l=t(s,o),h=new e(l,n);return h.initData(s,a),h}return q$=o,q$}function d2(){if(H$)return U$;H$=1;var t=NC,e={updateSelectedMap:function(e){this._targetList=t.isArray(e)?e.slice():[],this._selectTargetMap=t.reduce(e||[],(function(t,e){return t.set(e.name,e),t}),t.createHashMap())},select:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t),i=this.get("selectedMode");"single"===i&&this._selectTargetMap.each((function(t){t.selected=!1})),n&&(n.selected=!0)},unSelect:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);n&&(n.selected=!1)},toggleSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);if(null!=n)return this[n.selected?"unSelect":"select"](t,e),n.selected},isSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return n&&n.selected}};return U$=e,U$}function g2(){if(Y$)return Z$;function t(t,e){this.getAllNames=function(){var t=e();return t.mapArray(t.getName)},this.containName=function(t){var n=e();return n.indexOfName(t)>=0},this.indexOfName=function(e){var n=t();return n.indexOfName(e)},this.getItemVisual=function(e,n){var i=t();return i.getItemVisual(e,n)}}Y$=1;var e=t;return Z$=e,Z$}function f2(){if(K$)return X$;K$=1;var t=zC,e=c2(),n=NC,i=PR,r=$G(),o=r.getPercentWithPrecision,a=d2(),s=GU,l=s.retrieveRawAttr,h=XV,u=h.makeSeriesEncodeForNameBased,c=g2(),d=t.extendSeriesModel({type:"series.pie",init:function(t){d.superApply(this,"init",arguments),this.legendVisualProvider=new c(n.bind(this.getData,this),n.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){d.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,i){return e(this,{coordDimensions:["value"],encodeDefaulter:n.curry(u,this)})},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,r=t.count();i0&&(c?"scale"!==d:"transition"!==g)){for(var m=s.getItemLayout(0),y=1;isNaN(m.startAngle)&&y=i.r0}}}),l=s;return J$=l,J$}function m2(){if(t2)return $$;t2=1;var t=zC,e=NC;function n(n,i){e.each(i,(function(e){e.update="updateView",t.registerAction(e,(function(t,i){var r={};return i.eachComponent({mainType:"series",subType:n,query:t},(function(n){n[e.method]&&n[e.method](t.name,t.dataIndex);var i=n.getData();i.each((function(t){var e=i.getName(t);r[e]=n.isSelected(e)||!1}))})),{name:t.name,selected:r,seriesId:t.seriesId}}))}))}return $$=n,$$}function y2(){if(n2)return e2;n2=1;var t=NC,e=t.createHashMap;function n(t){return{getTargetSeries:function(n){var i={},r=e();return n.eachSeriesByType(t,(function(t){t.__paletteScope=i,r.set(t.uid,t)})),r},reset:function(t,e){var n=t.getRawData(),i={},r=t.getData();r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(e){var o,a=i[e],s=null!=a&&r.getItemVisual(a,"color",!0),l=null!=a&&r.getItemVisual(a,"borderColor",!0);if((!s||!l)&&(o=n.getItemModel(e)),!s){var h=o.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count());null!=a&&r.setItemVisual(a,"color",h)}if(!l){var u=o.get("itemStyle.borderColor");null!=a&&r.setItemVisual(a,"borderColor",u)}}))}}}return e2=n,e2}function v2(){if(r2)return i2;r2=1;var t=dP,e=$G(),n=e.parsePercent,i=Math.PI/180;function r(t,e,n,i,r,o,a,s,l,h){function u(e,n,i,r){for(var o=e;ol+a);o++)if(t[o].y+=i,o>e&&o+1t[o].y+t[o].height)return void c(o,i/2);c(n-1,i/2)}function c(e,n){for(var i=e;i>=0&&!(t[i].y-n0&&t[i].y>t[i-1].y+t[i-1].height));i--);}function d(t,e,n,i,r,o){for(var a=e?Number.MAX_VALUE:0,s=0,l=t.length;s=a&&(d=a-10),!e&&d<=a&&(d=a+10),t[s].x=n+d*o,a=d}}t.sort((function(t,e){return t.y-e.y}));for(var g,f=0,p=t.length,m=[],y=[],v=0;v=n?y.push(t[v]):m.push(t[v]);d(m,!1,e,n,i,r),d(y,!0,e,n,i,r)}function o(e,n,i,o,s,l,h,u){for(var c=[],d=[],g=Number.MAX_VALUE,f=-Number.MAX_VALUE,p=0;p0?"right":"left":z>0?"left":"right"}var G,V=h.get("rotate");G="number"==typeof V?V*(Math.PI/180):V?z<0?-E+Math.PI:-E:0,f=!!G,o.label={x:C,y:T,position:m,height:k.height,len:S,len2:A,linePoints:I,textAlign:M,verticalAlign:"middle",rotation:G,inside:R,labelDistance:y,labelAlignTo:v,labelMargin:_,bleedMargin:x,textRect:k,text:L,font:b},R||g.push(o.label)}})),!f&&e.get("avoidLabelOverlap")&&o(g,u,c,r,a,s,l,h)}return i2=s,i2}function _2(){if(a2)return o2;a2=1;var t=$G(),e=t.parsePercent,n=t.linearMap,i=JG,r=v2(),o=NC,a=2*Math.PI,s=Math.PI/180;function l(t,e){return i.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function h(t,i,h,u){i.eachSeriesByType(t,(function(t){var i=t.getData(),u=i.mapDimension("value"),c=l(t,h),d=t.get("center"),g=t.get("radius");o.isArray(g)||(g=[0,g]),o.isArray(d)||(d=[d,d]);var f=e(c.width,h.getWidth()),p=e(c.height,h.getHeight()),m=Math.min(f,p),y=e(d[0],f)+c.x,v=e(d[1],p)+c.y,_=e(g[0],m/2),x=e(g[1],m/2),b=-t.get("startAngle")*s,w=t.get("minAngle")*s,S=0;i.each(u,(function(t){!isNaN(t)&&S++}));var A=i.getSum(u),C=Math.PI/(A||S)*2,T=t.get("clockwise"),I=t.get("roseType"),M=t.get("stillShowZeroSum"),E=i.getDataExtent(u);E[0]=0;var z=a,P=0,L=b,k=T?1:-1;if(i.each(u,(function(t,e){var r;if(isNaN(t))i.setItemLayout(e,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:T,cx:y,cy:v,r0:_,r:I?NaN:x,viewRect:c});else{r="area"!==I?0===A&&M?C:t*C:a/S,r=0;s--){var l=2*s,h=i[l]-o/2,u=i[l+1]-a/2;if(t>=h&&e>=u&&t<=h+o&&e<=u+a)return s}return-1}});function a(){this.group=new t.Group}var s=a.prototype;s.isPersistent=function(){return!this._incremental},s.updateData=function(t,e){this.group.removeAll();var n=new o({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},s.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");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)}))}},s.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new i({silent:!0})),this.group.add(this._incremental)):this._incremental=null},s.incrementalUpdate=function(t,e,n){var i;this._incremental?(i=new o,this._incremental.addDisplayable(i,!0)):(i=new o({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end}),i.incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(i,e,!!this._incremental,n)},s._setCommon=function(t,e,i,o){var a=e.hostModel;o=o||{};var s=e.getVisual("symbolSize");t.setShape("size",s instanceof Array?s:[s,s]),t.softClipShape=o.clipShape||null,t.symbolProxy=n(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var l=t.shape.size[0]=0&&(t.dataIndex=n+(t.startIndex||0))})))},s.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},s._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var l=a;return T2=l,T2}function L2(){if(M2)return z2;M2=1;var t=zC,e=eQ(),n=P2(),i=AQ();return t.extendChartView({type:"scatter",render:function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},incrementalPrepareRender:function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.incrementalPrepareUpdate(i),this._finished=!1},incrementalRender:function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},updateTransform:function(t,e,n){var r=t.getData();if(this.group.dirty(),!this._finished||r.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=i().reset(t);o.progress&&o.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_getClipShape:function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},_updateSymbolDraw:function(t,i){var r=this._symbolDraw,o=i.pipelineContext,a=o.large;return(!r||a!==this._isLargeDraw)&&(r&&r.remove(),r=this._symbolDraw=a?new n:new e,this._isLargeDraw=a,this.group.removeAll()),this.group.add(r.group),r},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}}),z2}function k2(){if(E2)return A2;E2=1;var t=zC;C2(),L2();var e=SQ(),n=AQ();return x$(),t.registerVisual(e("scatter","circle")),t.registerLayout(n("scatter")),A2}var R2,D2,O2,j2,F2,N2,B2,G2,V2,q2,W2,U2,H2,Z2,Y2,X2,K2,J2,Q2={},$2={};function t0(){if(D2)return R2;D2=1;var t=NC,e=GJ();function n(t,n,i){e.call(this,t,n,i),this.type="value",this.angle=0,this.name="",this.model}t.inherits(n,e);var i=n;return R2=i,R2}function e0(){if(j2)return O2;j2=1;var t=NC,e=t0(),n=aJ(),i=$G(),r=_J(),o=r.getScaleExtent,a=r.niceScaleExtent,s=qW,l=vJ();function h(i,r,o){this._model=i,this.dimensions=[],this._indicatorAxes=t.map(i.getIndicatorModels(),(function(t,i){var r="indicator_"+i,o=new e(r,"log"===t.get("axisType")?new l:new n);return o.name=t.get("name"),o.model=t,t.axis=o,this.dimensions.push(r),o}),this),this.resize(i,o),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},h.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e],i=n.angle,r=this.cx+t*Math.cos(i),o=this.cy-t*Math.sin(i);return[r,o]},h.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;ln[0]&&isFinite(p)&&isFinite(n[0]))}else{var g=s.getTicks().length-1;g>l&&(d=h(d));var f=Math.ceil(n[1]/d)*d,p=i.round(f-d*l);s.setExtent(p,f),s.setInterval(d)}}))},h.dimensions=[],h.create=function(t,e){var n=[];return t.eachComponent("radar",(function(i){var r=new h(i,t,e);n.push(r),i.coordinateSystem=r})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])})),n},s.register("radar",h);var u=h;return O2=u,O2}function n0(){if(N2)return F2;N2=1;var t=zC,e=NC,n=HQ(),i=GG(),r=xJ(),o=n.valueAxis;function a(t,n){return e.defaults({show:n},t)}var s=t.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),n=this.get("splitNumber"),o=this.get("scale"),a=this.get("axisLine"),s=this.get("axisTick"),l=this.get("axisType"),h=this.get("axisLabel"),u=this.get("name"),c=this.get("name.show"),d=this.get("name.formatter"),g=this.get("nameGap"),f=this.get("triggerEvent"),p=e.map(this.get("indicator")||[],(function(p){null!=p.max&&p.max>0&&!p.min?p.min=0:null!=p.min&&p.min<0&&!p.max&&(p.max=0);var m=u;if(null!=p.color&&(m=e.defaults({color:p.color},u)),p=e.merge(e.clone(p),{boundaryGap:t,splitNumber:n,scale:o,axisLine:a,axisTick:s,axisType:l,axisLabel:h,name:p.text,nameLocation:"end",nameGap:g,nameTextStyle:m,triggerEvent:f},!1),c||(p.name=""),"string"==typeof d){var y=p.name;p.name=d.replace("{value}",null!=y?y:"")}else"function"==typeof d&&(p.name=d(p.name,p));var v=e.extend(new i(p,null,this.ecModel),r);return v.mainType="radar",v.componentIndex=this.componentIndex,v}),this);this.getIndicatorModels=function(){return p}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:e.merge({lineStyle:{color:"#bbb"}},o.axisLine),axisLabel:a(o.axisLabel,!1),axisTick:a(o.axisTick,!1),axisType:"interval",splitLine:a(o.splitLine,!0),splitArea:a(o.splitArea,!0),indicator:[]}}),l=s;return F2=l,F2}function i0(){if(G2)return B2;G2=1;var t=zC,e=NC,n=e$(),i=CD,r=["axisLine","axisTickLabel","axisName"],o=t.extendComponentView({type:"radar",render:function(t,e,n){var i=this.group;i.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var i=t.coordinateSystem,o=i.getIndicatorAxes(),a=e.map(o,(function(t){var e=new n(t.model,{position:[i.cx,i.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return e}));e.each(a,(function(t){e.each(r,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var n=t.coordinateSystem,r=n.getIndicatorAxes();if(r.length){var o=t.get("shape"),a=t.getModel("splitLine"),s=t.getModel("splitArea"),l=a.getModel("lineStyle"),h=s.getModel("areaStyle"),u=a.get("show"),c=s.get("show"),d=l.get("color"),g=h.get("color");d=e.isArray(d)?d:[d],g=e.isArray(g)?g:[g];var f=[],p=[];if("circle"===o)for(var m=r[0].getTicksCoords(),y=n.cx,v=n.cy,_=0;_":"\n";return r(""===h?this.name:h)+u+n.map(l,(function(e,n){var i=a.get(a.mapDimension(e.dim),t);return r(e.name+" : "+i)})).join(u)},getTooltipPosition:function(t){if(null!=t)for(var e=this.getData(),i=this.coordinateSystem,r=e.getValues(n.map(i.dimensions,(function(t){return e.mapDimension(t)})),t,!0),o=0,a=r.length;o":"\n";return u.join(", ")+f+r(l+" : "+s)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,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)"}},nameProperty:"name"}});t.mixin(d,a);var g=d;return A0=g,A0}var D0,O0,j0,F0={};function N0(){if(D0)return F0;D0=1;var t=zC,e="\0_ec_interaction_mutex";function n(t,e,n){var i=o(t);i[e]=n}function i(t,e,n){var i=o(t),r=i[e];r===n&&(i[e]=null)}function r(t,e){return!!o(t)[e]}function o(t){return t[e]||(t[e]={})}return t.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),F0.take=n,F0.release=i,F0.isTaken=r,F0}function B0(){if(j0)return O0;j0=1;var t=NC,e=KT,n=JT,i=N0();function r(n){this.pointerChecker,this._zr=n,this._opt={};var i=t.bind,r=i(o,this),u=i(a,this),c=i(s,this),d=i(l,this),g=i(h,this);e.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,i){this.disable(),this._opt=t.defaults(t.clone(i)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),(!0===e||"move"===e||"pan"===e)&&(n.on("mousedown",r),n.on("mousemove",u),n.on("mouseup",c)),(!0===e||"scale"===e||"zoom"===e)&&(n.on("mousewheel",d),n.on("pinch",g))},this.disable=function(){n.off("mousedown",r),n.off("mousemove",u),n.off("mouseup",c),n.off("mousewheel",d),n.off("pinch",g)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function o(t){if(!(n.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)){var e=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,i)&&(this._x=e,this._y=i,this._dragging=!0)}}function a(t){if(this._dragging&&d("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!i.isTaken(this._zr,"globalPan")){var e=t.offsetX,r=t.offsetY,o=this._x,a=this._y,s=e-o,l=r-a;this._x=e,this._y=r,this._opt.preventDefaultMouseMove&&n.stop(t.event),c(this,"pan","moveOnMouseMove",t,{dx:s,dy:l,oldX:o,oldY:a,newX:e,newY:r})}}function s(t){n.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function l(t){var e=d("zoomOnMouseWheel",t,this._opt),n=d("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,l=i>0?s:1/s;u(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:o,originY:a})}if(n){var h=Math.abs(i),c=(i>0?1:-1)*(h>3?.4:h>1?.15:.05);u(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:o,originY:a})}}}function h(t){if(!i.isTaken(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;u(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY})}}function u(t,e,i,r,o){t.pointerChecker&&t.pointerChecker(r,o.originX,o.originY)&&(n.stop(r.event),c(t,e,i,r,o))}function c(e,n,i,r,o){o.isAvailableBehavior=t.bind(d,null,i,r),e.trigger(n,o)}function d(e,n,i){var r=i[e];return!e||r&&(!t.isString(r)||n.event[r+"Key"])}t.mixin(r,e);var g=r;return O0=g,O0}var G0,V0={};function q0(){if(G0)return V0;function t(t,e,n){var i=t.target,r=i.position;r[0]+=e,r[1]+=n,i.dirty()}function e(t,e,n,i){var r=t.target,o=t.zoomLimit,a=r.position,s=r.scale,l=t.zoom=t.zoom||1;if(l*=e,o){var h=o.min||0,u=o.max||1/0;l=Math.max(Math.min(u,l),h)}var c=l/t.zoom;t.zoom=l,a[0]-=(n-a[0])*(c-1),a[1]-=(i-a[1])*(c-1),s[0]*=c,s[1]*=c,r.dirty()}return G0=1,V0.updateViewOnPan=t,V0.updateViewOnZoom=e,V0}var W0,U0,H0,Z0,Y0,X0={};function K0(){if(W0)return X0;W0=1;var t={axisPointer:1,tooltip:1,brush:1};function e(e,n,i){var r=n.getComponentByElement(e.topTarget),o=r&&r.coordinateSystem;return r&&r!==i&&!t[r.mainType]&&o&&o.model!==i}return X0.onIrrelevantElement=e,X0}function J0(){if(H0)return U0;H0=1;var t=NC,e=B0(),n=q0(),i=K0(),r=i.onIrrelevantElement,o=CD,a=k0(),s=VG,l=s.getUID,h=gM;function u(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function c(e,n,i,r,o){i.off("click"),i.off("mousedown"),n.get("selectedMode")&&(i.on("mousedown",(function(){e._mouseDownFlag=!0})),i.on("click",(function(a){if(e._mouseDownFlag){e._mouseDownFlag=!1;for(var s=a.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===n.mainType?"geo":"map")+"ToggleSelect",batch:t.map(s.__regions,(function(t){return{name:t.name,from:o.uid}}))};l[n.mainType+"Id"]=n.id,r.dispatchAction(l),d(n,i)}}})))}function d(e,n){n.eachChild((function(n){t.each(n.__regions,(function(t){n.trigger(e.isSelected(t.name)?"emphasis":"normal")}))}))}function g(t,n){var i=new o.Group;this.uid=l("ec_map_draw"),this._controller=new e(t.getZr()),this._controllerHost={target:n?i:null},this.group=i,this._updateGroup=n,this._mouseDownFlag,this._mapName,this._initialized,i.add(this._regionsGroup=new o.Group),i.add(this._backgroundGroup=new o.Group)}g.prototype={constructor:g,draw:function(e,n,i,r,a){var s="geo"===e.mainType,l=e.getData&&e.getData();s&&n.eachComponent({mainType:"series",subType:"map"},(function(t){!l&&t.getHostGeoModel()===e&&(l=t.getData())}));var g=e.coordinateSystem;this._updateBackground(g);var f,p=this._regionsGroup,m=this.group,y=g.getTransformInfo(),v=!p.childAt(0)||a;if(v)m.transform=y.roamTransform,m.decomposeTransform(),m.dirty();else{var _=new h;_.transform=y.roamTransform,_.decomposeTransform();var x={scale:_.scale,position:_.position};f=_.scale,o.updateProps(m,x,e)}var b=y.rawScale,w=y.rawPosition;p.removeAll();var S=["itemStyle"],A=["emphasis","itemStyle"],C=["label"],T=["emphasis","label"],I=t.createHashMap();t.each(g.regions,(function(n){var i=I.get(n.name)||I.set(n.name,new o.Group),r=new o.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});i.add(r);var a,h=e.getRegionModel(n.name)||e,c=h.getModel(S),d=h.getModel(A),g=u(c),y=u(d),_=h.getModel(C),x=h.getModel(T);if(l){a=l.indexOfName(n.name);var M=l.getItemVisual(a,"color",!0);M&&(g.fill=M)}var E=function(t){return[t[0]*b[0]+w[0],t[1]*b[1]+w[1]]};t.each(n.geometries,(function(t){if("polygon"===t.type){for(var e=[],n=0;n=0)&&(R=e);var O=new o.Text({position:E(n.center.slice()),scale:[1/m.scale[0],1/m.scale[1]],z2:10,silent:!0});if(o.setLabelStyle(O.style,O.hoverStyle={},_,x,{labelFetcher:R,labelDataIndex:D,defaultText:n.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!v){var j=[1/f[0],1/f[1]];o.updateProps(O,{scale:j},e)}i.add(O)}if(l)l.setItemGraphicEl(a,i);else{h=e.getRegionModel(n.name);r.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:n.name,region:h&&h.option||{}}}var F=i.__regions||(i.__regions=[]);F.push(n),i.highDownSilentOnTouch=!!e.get("selectedMode"),o.setHoverStyle(i,y),p.add(i)})),this._updateController(e,n,i),c(this,e,p,i,r),d(e,p)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&a.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var n=e.map;this._mapName!==n&&t.each(a.makeGraphic(n,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=n},_updateController:function(e,i,o){var a=e.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=a.getZoom(),s.enable(e.get("roam")||!1);var h=e.mainType;function u(){var t={type:"geoRoam",componentType:h};return t[h+"Id"]=e.id,t}s.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,n.updateViewOnPan(l,e.dx,e.dy),o.dispatchAction(t.extend(u(),{dx:e.dx,dy:e.dy}))}),this),s.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,n.updateViewOnZoom(l,e.scale,e.originX,e.originY),o.dispatchAction(t.extend(u(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var i=this.group.scale;this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/i[0],1/i[1]])}))}}),this),s.setPointerChecker((function(t,n,i){return a.getViewRectAfterRoam().contain(n,i)&&!r(t,o,e)}))}};var f=g;return U0=f,U0}function Q0(){if(Y0)return Z0;Y0=1;var t=zC,e=NC,n=CD,i=J0(),r="__seriesMapHighDown",o="__seriesMapCallKey",a=t.extendChartView({type:"map",render:function(t,e,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var o=this.group;if(o.removeAll(),!t.getHostGeoModel()){if(r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===t.id){var a=this._mapDraw;a&&o.add(a.group)}else if(t.needsDrawMap){a=this._mapDraw||new i(n,!0);o.add(a.group),a.draw(t,e,n,this,r),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(t,i,a){var h=t.originalData,u=this.group;h.each(h.mapDimension("value"),(function(i,a){if(!isNaN(i)){var c=h.getItemLayout(a);if(c&&c.point){var d=c.point,g=c.offset,f=new n.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:d[0]+9*g,cy:d[1],r:3},silent:!0,z2:8+(g?0:n.Z2_EMPHASIS_LIFT+1)});if(!g){var p=t.mainSeries.getData(),m=h.getName(a),y=p.indexOfName(m),v=h.getItemModel(a),_=v.getModel("label"),x=v.getModel("emphasis.label"),b=p.getItemGraphicEl(y),w=e.retrieve2(t.getFormattedLabel(y,"normal"),m),S=e.retrieve2(t.getFormattedLabel(y,"emphasis"),w),A=b[r],C=Math.random();if(!A){A=b[r]={};var T=e.curry(s,!0),I=e.curry(s,!1);b.on("mouseover",T).on("mouseout",I).on("emphasis",T).on("normal",I)}b[o]=C,e.extend(A,{recordVersion:C,circle:f,labelModel:_,hoverLabelModel:x,emphasisText:S,normalText:w}),l(A,!1)}u.add(f)}}}))}});function s(t){var e=this[r];e&&e.recordVersion===this[o]&&l(e,t)}function l(t,e){var i=t.circle,r=t.labelModel,o=t.hoverLabelModel,a=t.emphasisText,s=t.normalText;e?(i.style.extendFrom(n.setTextStyle({},o,{text:o.get("show")?a:null},{isRectText:!0,useInsideStyle:!1},!0)),i.__mapOriginalZ2=i.z2,i.z2+=n.Z2_EMPHASIS_LIFT):(n.setTextStyle(i.style,r,{text:r.get("show")?s:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),i.dirty(!1),null!=i.__mapOriginalZ2&&(i.z2=i.__mapOriginalZ2,i.__mapOriginalZ2=null))}return Z0=a,Z0}var $0,t3,e3,n3,i3,r3,o3,a3,s3,l3,h3,u3,c3,d3,g3,f3,p3,m3={},y3={};function v3(){if($0)return y3;function t(t,e,n){var i=t.getZoom(),r=t.getCenter(),o=e.zoom,a=t.dataToPoint(r);if(null!=e.dx&&null!=e.dy){a[0]-=e.dx,a[1]-=e.dy;r=t.pointToData(a);t.setCenter(r)}if(null!=o){if(n){var s=n.min||0,l=n.max||1/0;o=Math.max(Math.min(i*o,l),s)/i}t.scale[0]*=o,t.scale[1]*=o;var h=t.position,u=(e.originX-h[0])*(o-1),c=(e.originY-h[1])*(o-1);h[0]-=u,h[1]-=c,t.updateTransform();r=t.pointToData(a);t.setCenter(r),t.setZoom(o*i)}return{center:t.getCenter(),zoom:t.getZoom()}}return $0=1,y3.updateCenterAndZoom=t,y3}function _3(){if(t3)return m3;t3=1;var t=zC,e=NC,n=v3(),i=n.updateCenterAndZoom;return t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,n){var r=t.componentType||"series";n.eachComponent({mainType:r,query:t},(function(n){var o=n.coordinateSystem;if("geo"===o.type){var a=i(o,t,n.get("scaleLimit"));n.setCenter&&n.setCenter(a.center),n.setZoom&&n.setZoom(a.zoom),"series"===r&&e.each(n.seriesGroup,(function(t){t.setCenter(a.center),t.setZoom(a.zoom)}))}}))})),m3}function x3(){if(n3)return e3;n3=1;var t=NC,e=BT(),n=eM(),i=az,r=gM,o=e.applyTransform;function a(){r.call(this)}function s(t){this.name=t,this.zoomLimit,r.call(this),this._roamTransformable=new a,this._rawTransformable=new a,this._center,this._zoom}function l(t,e,n,i){var r=n.seriesModel,o=r?r.coordinateSystem:null;return o===this?o[t](i):null}t.mixin(a,r),s.prototype={constructor:s,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,r){return this._rect=new i(t,e,n,r),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,r){this.transformTo(t,e,n,r),this._viewRect=new i(t,e,n,r)},transformTo:function(t,e,n,r){var o=this.getBoundingRect(),a=this._rawTransformable;a.transform=o.calculateTransform(new i(t,e,n,r)),a.decomposeTransform(),this._updateTransform()},setCenter:function(t){!t||(this._center=t,this._updateCenterAndZoom())},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()},getDefaultCenter:function(){var t=this.getBoundingRect(),e=t.x+t.width/2,n=t.y+t.height/2;return[e,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),n=this._roamTransformable,i=this.getDefaultCenter(),r=this.getCenter(),o=this.getZoom();r=e.applyTransform([],r,t),i=e.applyTransform([],i,t),n.origin=r,n.position=[i[0]-r[0],i[1]-r[1]],n.scale=[o,o],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),n.copy(this.transform||(this.transform=[]),e.transform||n.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],n.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,i=this._rawTransformable;return{roamTransform:e?t.slice(e):n.create(),rawScale:t.slice(i.scale),rawPosition:t.slice(i.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,n,i){var r=n?this._rawTransform:this.transform;return i=i||[],r?o(i,t,r):e.copy(i,t)},pointToData:function(t){var e=this.invTransform;return e?o([],t,e):[t[0],t[1]]},convertToPixel:t.curry(l,"dataToPoint"),convertFromPixel:t.curry(l,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},t.mixin(s,r);var h=s;return e3=h,e3}function b3(){if(r3)return i3;r3=1;var t=NC,e=az,n=x3(),i=k0();function r(t,e,r,o){n.call(this,t),this.map=e;var a=i.load(e,r);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=null==o||o,this.regions=a.regions,this._rect=a.boundingRect}function o(t,e,n,i){var r=n.geoModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[t](i):null}r.prototype={constructor:r,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,n=0;n1?(p.width=u,p.height=u/g):(p.height=u,p.width=u*g),p.y=h[1]-p.height/2,p.x=h[0]-p.width/2}else s=t.getBoxLayoutParams(),s.aspect=g,p=i.getLayoutRect(s,{width:c,height:d});this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function l(t,n){e.each(n.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var h={dimensions:n.prototype.dimensions,create:function(t,i){var r=[];t.eachComponent("geo",(function(t,e){var o=t.get("map"),h=t.get("aspectScale"),u=!0,c=a.retrieveMap(o);c&&c[0]&&"svg"===c[0].type?(null==h&&(h=1),u=!1):null==h&&(h=.75);var d=new n(o+e,o,t.get("nameMap"),u);d.aspectScale=h,d.zoomLimit=t.get("scaleLimit"),r.push(d),l(d,t),t.coordinateSystem=d,d.model=t,d.resize=s,d.resize(t,i)})),t.eachSeries((function(t){var e=t.get("coordinateSystem");if("geo"===e){var n=t.get("geoIndex")||0;t.coordinateSystem=r[n]}}));var o={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();o[e]=o[e]||[],o[e].push(t)}})),e.each(o,(function(t,o){var a=e.map(t,(function(t){return t.get("nameMap")})),h=new n(o,o,e.mergeAll(a));h.zoomLimit=e.retrieve.apply(null,e.map(t,(function(t){return t.get("scaleLimit")}))),r.push(h),h.resize=s,h.aspectScale=t[0].get("aspectScale"),h.resize(t[0],i),e.each(t,(function(t){t.coordinateSystem=h,l(h,t)}))})),r},getFilledRegions:function(t,n,i){for(var r=(t||[]).slice(),a=e.createHashMap(),s=0;se&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},o.prototype={constructor:o,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;nl&&(l=t.depth)}));var h=t.expandAndCollapse,u=h&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return a.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=u})),a.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],r=e.getNodeByDataIndex(t),o=r.getValue(),a=r.name;r&&r!==n;)a=r.parentNode.name+"."+a,r=r.parentNode;return i(a+(isNaN(o)||null==o?"":" : "+o))},defaultOption:{zlevel:0,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",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});return L3=o,L3}var F3,N3,B3,G3={};function V3(){if(F3)return G3;F3=1;var t=JG;function e(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,n,i=[t];e=i.pop();)if(n=e.children,e.isExpand&&n.length)for(var r=n.length,o=r-1;o>=0;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}}function n(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){s(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=l(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function i(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function r(t){return arguments.length?t:g}function o(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n}function a(e,n){return t.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function s(t){for(var e=t.children,n=e.length,i=0,r=0;--n>=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}function l(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,g=o.hierNode.modifier,f=a.hierNode.modifier,p=s.hierNode.modifier;s=h(s),o=u(o),s&&o;){r=h(r),a=u(a),r.hierNode.ancestor=t;var m=s.hierNode.prelim+p-o.hierNode.prelim-g+i(s,o);m>0&&(d(c(s,t,n),t,m),g+=m,l+=m),p+=s.hierNode.modifier,g+=o.hierNode.modifier,l+=r.hierNode.modifier,f+=a.hierNode.modifier}s&&!h(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=p-l),o&&!u(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=g-f,n=t)}return n}function h(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function u(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function c(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function d(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 g(t,e){return t.parentNode===e.parentNode?1:2}return G3.init=e,G3.firstWalk=n,G3.secondWalk=i,G3.separation=r,G3.radialCoordinate=o,G3.getViewRect=a,G3}function q3(){if(B3)return N3;B3=1;var t=NC,e=CD,n=tQ(),i=V3(),r=i.radialCoordinate,o=zC,a=nO(),s=x3(),l=q0(),h=B0(),u=K0(),c=u.onIrrelevantElement,d=$G(),g=d.parsePercent,f=e.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},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,h=1-l,u=g(e.forkPosition,1),c=[];c[l]=r[l],c[h]=r[h]+(a[h]-r[h])*u,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var d=1;dS.x,b||(x-=Math.PI));var T=b?"left":"right",I=s.labelModel.get("rotate"),M=I*(Math.PI/180);v.setStyle({textPosition:s.labelModel.get("position")||T,textRotation:null==I?-x:M,textOrigin:"center",verticalAlign:"middle"})}_(a,h,c,r,p,f,m,o,s)}function _(n,i,r,o,a,s,l,h,u){var c=u.edgeShape,d=o.__edge;if("curve"===c)i.parentNode&&i.parentNode!==r&&(d||(d=o.__edge=new e.BezierCurve({shape:b(u,a,a),style:t.defaults({opacity:0,strokeNoScale:!0},u.lineStyle)})),e.updateProps(d,{shape:b(u,s,l),style:t.defaults({opacity:1},u.lineStyle)},n));else if("polyline"===c&&"orthogonal"===u.layout&&i!==r&&i.children&&0!==i.children.length&&!0===i.isExpand){for(var g=i.children,p=[],m=0;m=0;o--)i.push(r[o])}}return Z3=1,J3.eachAfter=t,J3.eachBefore=e,J3}function $3(){if(X3)return Y3;X3=1;var t=Q3(),e=t.eachAfter,n=t.eachBefore,i=V3(),r=i.init,o=i.firstWalk,a=i.secondWalk,s=i.separation,l=i.radialCoordinate,h=i.getViewRect;function u(t,e){t.eachSeriesByType("tree",(function(t){c(t,e)}))}function c(t,i){var u=h(t,i);t.layoutInfo=u;var c=t.get("layout"),d=0,g=0,f=null;"radial"===c?(d=2*Math.PI,g=Math.min(u.height,u.width)/2,f=s((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(d=u.width,g=u.height,f=s());var p=t.getData().tree.root,m=p.children[0];if(m){r(p),e(m,o,f),p.hierNode.modifier=-m.hierNode.prelim,n(m,a);var y=m,v=m,_=m;n(m,(function(t){var e=t.getLayout().x;ev.getLayout().x&&(v=t),t.depth>_.depth&&(_=t)}));var x=y===v?1:f(y,v)/2,b=x-y.getLayout().x,w=0,S=0,A=0,C=0;if("radial"===c)w=d/(v.getLayout().x+x+b),S=g/(_.depth-1||1),n(m,(function(t){A=(t.getLayout().x+b)*w,C=(t.depth-1)*S;var e=l(A,C);t.setLayout({x:e.x,y:e.y,rawX:A,rawY:C},!0)}));else{var T=t.getOrient();"RL"===T||"LR"===T?(S=g/(v.getLayout().x+x+b),w=d/(_.depth-1||1),n(m,(function(t){C=(t.getLayout().x+b)*S,A="LR"===T?(t.depth-1)*w:d-(t.depth-1)*w,t.setLayout({x:A,y:C},!0)}))):("TB"===T||"BT"===T)&&(w=d/(v.getLayout().x+x+b),S=g/(_.depth-1||1),n(m,(function(t){A=(t.getLayout().x+b)*w,C="TB"===T?(t.depth-1)*S:g-(t.depth-1)*S,t.setLayout({x:A,y:C},!0)})))}}}return Y3=u,Y3}function t1(){if(K3)return R3;K3=1;var t=zC;j3(),q3(),H3();var e=SQ(),n=$3();return t.registerVisual(e("tree","circle")),t.registerLayout(n),R3}var e1,n1,i1,r1,o1,a1={},s1={};function l1(){if(e1)return s1;e1=1;var t=NC;function e(e,n,i){if(e&&t.indexOf(n,e.type)>=0){var r=i.getData().tree.root,o=e.targetNode;if("string"==typeof o&&(o=r.getNodeById(o)),o&&r.contains(o))return{node:o};var a=e.targetNodeId;if(null!=a&&(o=r.getNodeById(a)))return{node:o}}}function n(t){for(var e=[];t;)t=t.parentNode,t&&e.push(t);return e.reverse()}function i(e,i){var r=n(e);return t.indexOf(r,i)>=0}function r(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}return s1.retrieveTargetInfo=e,s1.getPathToRoot=n,s1.aboveViewRoot=i,s1.wrapTreePathInfo=r,s1}function h1(){if(i1)return n1;i1=1;var t=NC,e=gZ,n=O3(),i=GG(),r=nV(),o=r.encodeHTML,a=r.addCommas,s=l1(),l=s.wrapTreePathInfo,h=e.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,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)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(e,r){var o={name:e.name,children:e.data};u(o);var a=e.levels||[],s=this.designatedVisualItemStyle={},l=new i({itemStyle:s},this,r);a=e.levels=c(a,r);var h=t.map(a||[],(function(t){return new i(t,l,r)}),this),d=n.createTree(o,this,g);function g(t){t.wrapMethod("getItemModel",(function(t,e){var n=d.getNodeByDataIndex(e),i=h[n.depth];return t.parentModel=i||l,t}))}return d.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var n=this.getData(),i=this.getRawValue(e),r=t.isArray(i)?a(i[0]):a(i),s=n.getName(e);return o(s+": "+r)},getDataParams:function(t){var n=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=l(i,this),n},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},t.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var n=this._idIndexMap;n||(n=this._idIndexMap=t.createHashMap(),this._idIndexMapCount=0);var i=n.get(e);return null==i&&n.set(e,i=this._idIndexMapCount++),i},getViewRoot:function(){return this._viewRoot},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)}});function u(e){var n=0;t.each(e.children,(function(e){u(e);var i=e.value;t.isArray(i)&&(i=i[0]),n+=i}));var i=e.value;t.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=n),i<0&&(i=0),t.isArray(e.value)?e.value[0]=i:e.value=i}function c(e,n){var r=n.get("color");if(r){var o;if(e=e||[],t.each(e,(function(t){var e=new i(t),n=e.get("color");(e.get("itemStyle.color")||n&&"none"!==n)&&(o=!0)})),!o){var a=e[0]||(e[0]={});a.color=r.slice()}return e}}return n1=h,n1}function u1(){if(o1)return r1;o1=1;var t=CD,e=JG,n=NC,i=l1(),r=i.wrapTreePathInfo,o=8,a=8,s=5;function l(e){this.group=new t.Group,e.add(this.group)}function h(t,e,n,i,r,o){var a=[[r?t:t-s,e],[t+n,e],[t+n,e+i],[r?t:t-s,e+i]];return!o&&a.splice(2,0,[t+n+s,e+i/2]),!r&&a.push([t,e+i/2]),a}function u(t,e,n){t.eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&r(n,e)}}l.prototype={constructor:l,render:function(t,n,i,r){var o=t.getModel("breadcrumb"),a=this.group;if(a.removeAll(),o.get("show")&&i){var s=o.getModel("itemStyle"),l=s.getModel("textStyle"),h={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:n.getWidth(),height:n.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,h,l),this._renderContent(t,h,s,l,r),e.positionElement(a,h.pos,h.box)}},_prepare:function(t,e,n){for(var i=t;i;i=i.parentNode){var r=i.getModel().get("name"),s=n.getTextRect(r),l=Math.max(s.width+2*o,e.emptyItemWidth);e.totalWidth+=l+a,e.renderList.push({node:i,text:r,width:l})}},_renderContent:function(i,r,o,s,l){for(var c=0,d=r.emptyItemWidth,g=i.get("breadcrumb.height"),f=e.getAvailableSize(r.pos,r.box),p=r.totalWidth,m=r.renderList,y=m.length-1;y>=0;y--){var v=m[y],_=v.node,x=v.width,b=v.text;p>f.width&&(p-=x-d,x=d,b=null);var w=new t.Polygon({shape:{points:h(c,0,x,g,y===m.length-1,0===y)},style:n.defaults(o.getItemStyle(),{lineJoin:"bevel",text:b,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:n.curry(l,_)});this.group.add(w),u(w,i,_),c+=x+a}},remove:function(){this.group.removeAll()}};var c=l;return r1=c,r1}var c1,d1,g1,f1={};function p1(){if(c1)return f1;c1=1;var t=NC;function e(){var e,n=[],i={};return{add:function(e,r,o,a,s){return t.isString(a)&&(s=a,a=0),!i[e.id]&&(i[e.id]=1,n.push({el:e,target:r,time:o,delay:a,easing:s}),!0)},done:function(t){return e=t,this},start:function(){for(var t=n.length,r=0,o=n.length;ry||Math.abs(t.dy)>y)){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}})}},_onZoom:function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new s(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo;e-=a.x,n-=a.y;var h=l.create();l.translate(h,h,[-e,-n]),l.scale(h,h,[t.scale,t.scale]),l.translate(h,h,[e,n]),o.applyTransform(h),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(t){t.on("click",(function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var i=n.node;if(i.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var r=i.hostTree.data.getItemModel(i.dataIndex),o=r.get("link",!0),a=r.get("target",!0)||"blank";o&&d(o,a)}}}}}),this)},_renderBreadcrumb:function(t,e,n){function i(e){"animating"!==this._state&&(r.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new o(this.group))).render(t,e,n.node,g(i,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=M(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n,i=this.seriesModel.getViewRoot();return i.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}});function M(){return{nodeGroup:[],background:[],content:[]}}function E(t,i,r,o,a,s,l,h,u,c){if(l){var d=l.getLayout(),g=t.getData();if(g.setItemGraphicEl(l.dataIndex,null),d&&d.isInView){var m=d.width,y=d.height,w=d.borderWidth,I=d.invisible,M=l.getRawIndex(),E=h&&h.getRawIndex(),P=l.viewChildren,L=d.upperHeight,k=P&&P.length,R=l.getModel("itemStyle"),D=l.getModel("emphasis.itemStyle"),O=U("nodeGroup",f);if(O){if(u.add(O),O.attr("position",[d.x||0,d.y||0]),O.__tmNodeWidth=m,O.__tmNodeHeight=y,d.isAboveViewRoot)return O;var j=l.getModel(),F=U("background",p,c,S);if(F&&B(O,F,k&&d.upperLabelHeight),k)n.isHighDownDispatcher(O)&&n.setAsHighDownDispatcher(O,!1),F&&(n.setAsHighDownDispatcher(F,!0),g.setItemGraphicEl(l.dataIndex,F));else{var N=U("content",p,c,A);N&&G(O,N),F&&n.isHighDownDispatcher(F)&&n.setAsHighDownDispatcher(F,!1),n.setAsHighDownDispatcher(O,!0),g.setItemGraphicEl(l.dataIndex,O)}return O}}}function B(e,i,r){if(i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex,i.setShape({x:0,y:0,width:m,height:y}),I)V(i);else{i.invisible=!1;var o=l.getVisual("borderColor",!0),a=D.get("borderColor"),s=T(R);s.fill=o;var h=C(D);if(h.fill=a,r){var u=m-2*w;q(s,h,o,u,L,{x:w,y:0,width:u,height:L})}else s.text=h.text=null;i.setStyle(s),n.setElementHoverStyle(i,h)}e.add(i)}function G(e,i){i.dataIndex=l.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(m-2*w,0),o=Math.max(y-2*w,0);if(i.culling=!0,i.setShape({x:w,y:w,width:r,height:o}),I)V(i);else{i.invisible=!1;var a=l.getVisual("color",!0),s=T(R);s.fill=a;var h=C(D);q(s,h,a,r,o),i.setStyle(s),n.setElementHoverStyle(i,h)}e.add(i)}function V(t){!t.invisible&&s.push(t)}function q(i,r,o,a,s,h){var u=j.get("name"),c=j.getModel(h?x:v),g=j.getModel(h?b:_),f=c.getShallow("show");n.setLabelStyle(i,r,c,g,{defaultText:f?u:null,autoColor:o,isRectText:!0,labelFetcher:t,labelDataIndex:l.dataIndex,labelProp:h?"upperLabel":"label"}),W(i,h,d),W(r,h,d),h&&(i.textRect=e.clone(h)),i.truncate=f&&c.get("ellipsis")?{outerWidth:a,outerHeight:s,minChar:2}:null}function W(e,n,i){var r=e.text;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function U(t,e,n,o){var s=null!=E&&r[t][E],l=a[t];return s?(r[t][E]=null,H(l,s,t)):I||(s=new e({z:z(n,o)}),s.__tmDepth=n,s.__tmStorageName=t,Z(l,s,t)),i[t][M]=s}function H(t,n,i){var r=t[M]={};r.old="nodeGroup"===i?n.position.slice():e.extend({},n.shape)}function Z(t,e,n){var i=t[M]={},r=l.parentNode;if(r&&(!o||"drillDown"===o.direction)){var s=0,h=0,u=a.background[r.getRawIndex()];!o&&u&&u.old&&(s=u.old.width,h=u.old.height),i.old="nodeGroup"===n?[0,h]:{x:s,y:h,width:0,height:0}}i.fadein="nodeGroup"!==n}}function z(t,e){var n=t*w+e;return(n-1)/n}return d1=I,d1}var y1,v1,_1,x1,b1,w1,S1,A1,C1={};function T1(){if(y1)return C1;y1=1;for(var t=zC,e=l1(),n=function(){},i=["treemapZoomToNode","treemapRender","treemapMove"],r=0;r=0;l--)null==i[l]&&(delete o[n[l]],n.pop())}function c(e,n){var i=e.visual,o=[];t.isObject(i)?r(i,(function(t){o.push(t)})):null!=i&&o.push(i);var a={color:1,symbol:1};!n&&1===o.length&&!a.hasOwnProperty(e.type)&&(o[1]=o[0]),_(e,o)}function d(t){return{applyVisual:function(e,n,i){e=this.mapValueToVisual(e),i("color",t(n("color"),e))},_doMap:y([0,1])}}function g(t){var e=this.option.visual;return e[Math.round(i(t,[0,1],[0,e.length-1],!0))]||{}}function f(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function p(t){var e=this.option.visual;return e[this.option.loop&&t!==a?t%e.length:t]}function m(){return this.option.visual[0]}function y(t){return{linear:function(e){return i(e,t,this.option.visual,!0)},category:p,piecewise:function(e,n){var r=v.call(this,n);return null==r&&(r=i(e,t,this.option.visual,!0)),r},fixed:m}}function v(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=s.findPieceIndex(t,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function _(n,i){return n.visual=i,"color"===n.type&&(n.parsedVisual=t.map(i,(function(t){return e.parse(t)}))),i}var x={linear:function(t){return i(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=s.findPieceIndex(t,e,!0);if(null!=n)return i(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?a:e},fixed:t.noop};function b(t,e,n){return t?e<=n:e=i.length||t===i[t.depth]){var n=g(u,m,t,e,x,o);a(t,n,i,o)}}))}else f=l(m),t.setVisual("color",f)}}function s(t,e,i){var r=n.extend({},e),o=i.designatedVisualItemStyle;return n.each(["color","colorAlpha","colorSaturation"],(function(n){o[n]=e[n];var i=t.get(n);o[n]=null,null!=i&&(r[n]=i)})),r}function l(t){var n=u(t,"color");if(n){var i=u(t,"colorAlpha"),r=u(t,"colorSaturation");return r&&(n=e.modifyHSL(n,null,null,r)),i&&(n=e.modifyAlpha(n,i)),n}}function h(t,n){return null!=n?e.modifyHSL(n,null,null,t):null}function u(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function c(e,n,i,r,o,a){if(a&&a.length){var s=d(n,"color")||null!=o.color&&"none"!==o.color&&(d(n,"colorAlpha")||d(n,"colorSaturation"));if(s){var l=n.get("visualMin"),h=n.get("visualMax"),u=i.dataExtent.slice();null!=l&&lu[1]&&(u[1]=h);var c=n.get("colorMappingBy"),g={type:s.name,dataExtent:u,visual:s.range};"color"!==g.type||"index"!==c&&"id"!==c?g.mappingMethod="linear":(g.mappingMethod="category",g.loop=!0);var f=new t(g);return f.__drColorMappingBy=c,f}}}function d(t,e){var n=t.get(e);return i(n)&&n.length?{name:e,range:n}:null}function g(t,e,i,r,o,a){var s=n.extend({},e);if(o){var l=o.type,h="color"===l&&o.__drColorMappingBy,u="index"===h?r:"id"===h?a.mapIdToIndex(i.getId()):i.getValue(t.get("visualDimension"));s[l]=o.mapValueToVisual(u)}return s}return x1=o,x1}function E1(){if(S1)return w1;S1=1;var t=NC,e=az,n=$G(),i=n.parsePercent,r=n.MAX_SAFE_INTEGER,o=JG,a=l1(),s=Math.max,l=Math.min,h=t.retrieve,u=t.each,c=["itemStyle","borderWidth"],d=["itemStyle","gapWidth"],g=["upperLabel","show"],f=["upperLabel","height"],p={seriesType:"treemap",reset:function(n,r,s,l){var c=s.getWidth(),d=s.getHeight(),g=n.option,f=o.getLayoutRect(n.getBoxLayoutParams(),{width:s.getWidth(),height:s.getHeight()}),p=g.size||[],y=i(h(f.width,p[0]),c),v=i(h(f.height,p[1]),d),_=l&&l.type,x=["treemapZoomToNode","treemapRootToNode"],b=a.retrieveTargetInfo(l,x,n),w="treemapRender"===_||"treemapMove"===_?l.rootRect:null,T=n.getViewRoot(),I=a.getPathToRoot(T);if("treemapMove"!==_){var M="treemapZoomToNode"===_?S(n,b,T,y,v):w?[w.width,w.height]:[y,v],E=g.sort;E&&"asc"!==E&&"desc"!==E&&(E="desc");var z={squareRatio:g.squareRatio,sort:E,leafDepth:g.leafDepth};T.hostTree.clearLayouts();var P={x:0,y:0,width:M[0],height:M[1],area:M[0]*M[1]};T.setLayout(P),m(T,z,!1,0);P=T.getLayout();u(I,(function(e,n){var i=(I[n+1]||T).getValue();e.setLayout(t.extend({dataExtent:[i,i],borderWidth:0,upperHeight:0},P))}))}var L=n.getData().tree.root;L.setLayout(A(f,w,b),!0),n.setLayoutInfo(f),C(L,new e(-f.x,-f.y,c,d),I,T,0)}};function m(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var h=t.getModel(),u=h.get(c),g=h.get(d)/2,f=T(h),p=Math.max(u,f),v=u-g,_=p-g;h=t.getModel();t.setLayout({borderWidth:u,upperHeight:p,upperLabelHeight:f},!0),r=s(r-2*v,0),o=s(o-v-_,0);var x=r*o,S=y(t,h,x,e,n,i);if(S.length){var A={x:v,y:_,width:r,height:o},C=l(r,o),I=1/0,M=[];M.area=0;for(var E=0,z=S.length;E=0;l--){var h=r["asc"===i?a-l-1:l].getValue();h/n*es[1]&&(s[1]=e)}))}else s=[NaN,NaN];return{sum:i,dataExtent:s}}function b(t,e,n){for(var i,r=0,o=1/0,a=0,l=t.length;ar&&(r=i));var h=t.area*t.area,u=e*e*n;return h?s(u*r/h,h/(u*o)):1/0}function w(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,h=["x","y"],u=["width","height"],c=n[h[o]],d=e?t.area/e:0;(r||d>n[u[a]])&&(d=n[u[a]]);for(var g=0,f=t.length;gr&&(u=r),a=l}u=0&&t.call(e,n[r],r)},o.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},o.breadthFirstTraverse=function(t,e,n,r){if(a.isInstance(e)||(e=this._nodesMap[i(e)]),e){for(var o="out"===n?"outEdges":"in"===n?"inEdges":"edges",s=0;s=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},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)}}};t.mixin(a,l("hostGraph","data")),t.mixin(s,l("hostGraph","edgeData")),r.Node=a,r.Edge=s,n(a),n(s);var h=r;return P1=h,P1}function j1(){if(R1)return k1;R1=1;var t=NC,e=kK(),n=O1(),i=D3(),r=DK(),o=qW,a=WK();function s(s,l,h,u,c){for(var d=new n(u),g=0;g "+_)),m++)}var x,b=h.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)x=a(s,h);else{var w=o.get(b),S=w&&"view"!==w.type&&w.dimensions||[];t.indexOf(S,"value")<0&&S.concat(["value"]);var A=r(s,{coordDimensions:S});x=new e(A,h),x.initData(s)}var C=new e(["value"],h);return C.initData(p,f),c&&c(x,C),i({mainData:x,struct:d,structAttr:"graph",datas:{node:x,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}return k1=s,k1}var F1,N1,B1,G1,V1,q1,W1,U1,H1,Z1={};function Y1(){if(F1)return Z1;F1=1;var t=NC,e="--\x3e",n=function(t){return t.get("autoCurveness")||null},i=function(e,i){var r=n(e),o=20,a=[];if("number"==typeof r)o=r;else if(t.isArray(r))return void(e.__curvenessList=r);i>o&&(o=i);var s=o%2?o+2:o+3;a=[];for(var l=0;l ")),r.value&&(h+=" : "+s(r.value)),h}return g.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=n.map(this.option.categories||[],(function(t){return null!=t.value?t:n.extend({value:0},t)})),i=new e(["value"],this);i.initData(t),this._categoriesData=i,this._categoriesModels=i.mapArray((function(t){return i.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return g.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,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:{label:{show:!0}}}}),f=g;return N1=f,N1}function K1(){if(V1)return G1;V1=1;var t=CD,e=BT(),n=t.Line.prototype,i=t.BezierCurve.prototype;function r(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var o=t.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(t,e){this[r(e)?"_buildPathLine":"_buildPathCurve"](t,e)},_buildPathLine:n.buildPath,_buildPathCurve:i.buildPath,pointAt:function(t){return this[r(this.shape)?"_pointAtLine":"_pointAtCurve"](t)},_pointAtLine:n.pointAt,_pointAtCurve:i.pointAt,tangentAt:function(t){var n=this.shape,i=r(n)?[n.x2-n.x1,n.y2-n.y1]:this._tangentAtCurve(t);return e.normalize(i,i)},_tangentAtCurve:i.tangentAt});return G1=o,G1}function J1(){if(W1)return q1;W1=1;var t=NC,e=BT(),n=AJ(),i=K1(),r=CD,o=$G(),a=o.round,s=["fromSymbol","toSymbol"];function l(t){return"_"+t+"Type"}function h(e,i,r){var o=i.getItemVisual(r,e);if(o&&"none"!==o){var a=i.getItemVisual(r,"color"),s=i.getItemVisual(r,e+"Size"),l=i.getItemVisual(r,e+"Rotate");t.isArray(s)||(s=[s,s]);var h=n.createSymbol(o,-s[0]/2,-s[1]/2,s[0],s[1],a);return h.__specifiedRotation=null==l||isNaN(l)?void 0:+l*Math.PI/180||0,h.name=e,h}}function u(t){var e=new i({name:"line",subPixelOptimize:!0});return c(e.shape,t),e}function c(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)}function d(){var t=this,n=t.childOfName("fromSymbol"),i=t.childOfName("toSymbol"),r=t.childOfName("label");if(n||i||!r.ignore){for(var o=1,a=this.parent;a;)a.scale&&(o/=a.scale[0]),a=a.parent;var s=t.childOfName("line");if(this.__dirty||s.__dirty){var l=s.shape.percent,h=s.pointAt(0),u=s.pointAt(l),c=e.sub([],u,h);if(e.normalize(c,c),n){n.attr("position",h);var d=n.__specifiedRotation;if(null==d){var g=s.tangentAt(0);n.attr("rotation",Math.PI/2-Math.atan2(g[1],g[0]))}else n.attr("rotation",d);n.attr("scale",[o*l,o*l])}if(i){i.attr("position",u);d=i.__specifiedRotation;if(null==d){g=s.tangentAt(1);i.attr("rotation",-Math.PI/2-Math.atan2(g[1],g[0]))}else i.attr("rotation",d);i.attr("scale",[o*l,o*l])}if(!r.ignore){r.attr("position",u);var f,p,m,y,v=r.__labelDistance,_=v[0]*o,x=v[1]*o,b=l/2,w=(g=s.tangentAt(b),[g[1],-g[0]]),S=s.pointAt(b);w[1]>0&&(w[0]=-w[0],w[1]=-w[1]);var A,C=g[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var T=-Math.atan2(g[1],g[0]);u[0].8?"left":c[0]<-.8?"right":"center",m=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":f=[-c[0]*_+h[0],-c[1]*x+h[1]],p=c[0]>.8?"right":c[0]<-.8?"left":"center",m=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":f=[_*C+h[0],h[1]+A],p=g[0]<0?"right":"left",y=[-_*C,-A];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":f=[S[0],S[1]+A],p="center",y=[0,-A];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":f=[-_*C+u[0],u[1]+A],p=g[0]>=0?"right":"left",y=[_*C,-A];break}r.attr({style:{textVerticalAlign:r.__verticalAlign||m,textAlign:r.__textAlign||p},position:f,scale:[o,o],origin:y})}}}}function g(t,e,n){r.Group.call(this),this._createLine(t,e,n)}var f=g.prototype;f.beforeUpdate=d,f._createLine=function(e,n,i){var o=e.hostModel,a=e.getItemLayout(n),c=u(a);c.shape.percent=0,r.initProps(c,{shape:{percent:1}},o,n),this.add(c);var d=new r.Text({name:"label",lineLabelOriginalOpacity:1});this.add(d),t.each(s,(function(t){var i=h(t,e,n);this.add(i),this[l(t)]=e.getItemVisual(n,t)}),this),this._updateCommonStl(e,n,i)},f.updateData=function(e,n,i){var o=e.hostModel,a=this.childOfName("line"),u=e.getItemLayout(n),d={shape:{}};c(d.shape,u),r.updateProps(a,d,o,n),t.each(s,(function(t){var i=e.getItemVisual(n,t),r=l(t);if(this[r]!==i){this.remove(this.childOfName(t));var o=h(t,e,n);this.add(o)}this[r]=i}),this),this._updateCommonStl(e,n,i)},f._updateCommonStl=function(e,n,i){var o=e.hostModel,l=this.childOfName("line"),h=i&&i.lineStyle,u=i&&i.hoverLineStyle,c=i&&i.labelModel,d=i&&i.hoverLabelModel;if(!i||e.hasItemOption){var g=e.getItemModel(n);h=g.getModel("lineStyle").getLineStyle(),u=g.getModel("emphasis.lineStyle").getLineStyle(),c=g.getModel("label"),d=g.getModel("emphasis.label")}var f=e.getItemVisual(n,"color"),p=t.retrieve3(e.getItemVisual(n,"opacity"),h.opacity,1);l.useStyle(t.defaults({strokeNoScale:!0,fill:"none",stroke:f,opacity:p},h)),l.hoverStyle=u,t.each(s,(function(t){var e=this.childOfName(t);e&&(e.setColor(f),e.setStyle({opacity:p}))}),this);var m,y,v=c.getShallow("show"),_=d.getShallow("show"),x=this.childOfName("label");if((v||_)&&(m=f||"#000",y=o.getFormattedLabel(n,"normal",e.dataType),null==y)){var b=o.getRawValue(n);y=null==b?e.getName(n):isFinite(b)?a(b):b}var w=v?y:null,S=_?t.retrieve2(o.getFormattedLabel(n,"emphasis",e.dataType),y):null,A=x.style;if(null!=w||null!=S){r.setTextStyle(x.style,c,{text:w},{autoColor:m}),x.__textAlign=A.textAlign,x.__verticalAlign=A.textVerticalAlign,x.__position=c.get("position")||"middle";var C=c.get("distance");t.isArray(C)||(C=[C,C]),x.__labelDistance=C}x.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},x.ignore=!v&&!_,r.setHoverStyle(this)},f.highlight=function(){this.trigger("emphasis")},f.downplay=function(){this.trigger("normal")},f.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},f.setLinePoints=function(t){var e=this.childOfName("line");c(e.shape,t),e.dirty()},t.inherits(g,r.Group);var p=g;return q1=p,q1}function Q1(){if(H1)return U1;H1=1;var t=CD,e=J1();function n(n){this._ctor=n||e,this.group=new t.Group}var i=n.prototype;function r(t,e,n,i){var r=e.getItemLayout(n);if(h(r)){var o=new t._ctor(e,n,i);e.setItemGraphicEl(n,o),t.group.add(o)}}function o(t,e,n,i,r,o){var a=e.getItemGraphicEl(i);h(n.getItemLayout(r))?(a?a.updateData(n,r,o):a=new t._ctor(n,r,o),n.setItemGraphicEl(r,a),t.group.add(a)):t.group.remove(a)}function a(t){return t.animators&&t.animators.length>0}function s(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function l(t){return isNaN(t[0])||isNaN(t[1])}function h(t){return!l(t[0])&&!l(t[1])}i.isPersistent=function(){return!0},i.updateData=function(t){var e=this,n=e.group,i=e._lineData;e._lineData=t,i||n.removeAll();var a=s(t);t.diff(i).add((function(n){r(e,t,n,a)})).update((function(n,r){o(e,i,t,r,n,a)})).remove((function(t){n.remove(i.getItemGraphicEl(t))})).execute()},i.updateLayout=function(){var t=this._lineData;!t||t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},i.incrementalPrepareUpdate=function(t){this._seriesScope=s(t),this._lineData=null,this.group.removeAll()},i.incrementalUpdate=function(t,e){function n(t){!t.isGroup&&!a(t)&&(t.incremental=t.useHoverLayer=!0)}for(var i=t.start;i=0?i+=p:i-=p:x>=0?i-=p:i+=p}return i}function c(n,r){var o=[],a=t.quadraticSubdivide,s=[[],[],[]],l=[[],[]],h=[];r/=2,n.eachEdge((function(t,n){var c=t.getLayout(),d=t.getVisual("fromSymbol"),g=t.getVisual("toSymbol");c.__original||(c.__original=[e.clone(c[0]),e.clone(c[1])],c[2]&&c.__original.push(e.clone(c[2])));var f=c.__original;if(null!=c[2]){if(e.copy(s[0],f[0]),e.copy(s[1],f[2]),e.copy(s[2],f[1]),d&&"none"!==d){var p=i(t.node1),m=u(s,f[0],p*r);a(s[0][0],s[1][0],s[2][0],m,o),s[0][0]=o[3],s[1][0]=o[4],a(s[0][1],s[1][1],s[2][1],m,o),s[0][1]=o[3],s[1][1]=o[4]}if(g&&"none"!==g){p=i(t.node2),m=u(s,f[1],p*r);a(s[0][0],s[1][0],s[2][0],m,o),s[1][0]=o[1],s[2][0]=o[2],a(s[0][1],s[1][1],s[2][1],m,o),s[1][1]=o[1],s[2][1]=o[2]}e.copy(c[0],s[0]),e.copy(c[1],s[2]),e.copy(c[2],s[1])}else{if(e.copy(l[0],f[0]),e.copy(l[1],f[1]),e.sub(h,l[1],l[0]),e.normalize(h,h),d&&"none"!==d){p=i(t.node1);e.scaleAndAdd(l[0],l[0],h,p*r)}if(g&&"none"!==g){p=i(t.node2);e.scaleAndAdd(l[1],l[1],h,-p*r)}e.copy(c[0],l[0]),e.copy(c[1],l[1])}}))}return t4=c,t4}function s4(){if(i4)return n4;i4=1;var t=zC,e=NC,n=eQ(),i=Q1(),r=B0(),o=q0(),a=K0(),s=a.onIrrelevantElement,l=CD,h=a4(),u=o4(),c=u.getNodeGlobalScale,d="__focusNodeAdjacency",g="__unfocusNodeAdjacency",f=["itemStyle","opacity"],p=["lineStyle","opacity"];function m(t,e){var n=t.getVisual("opacity");return null!=n?n:t.getModel().get(e)}function y(t,e,n){var i=t.getGraphicEl(),r=m(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(t){if(!t.isGroup){var e=t.lineLabelOriginalOpacity;(null==e||null!=n)&&(e=r),t.setStyle("opacity",e)}}))}function v(t,e){var n=m(t,e),i=t.getGraphicEl();i.traverse((function(t){!t.isGroup&&t.setStyle("opacity",n)})),i.highlight&&i.highlight()}var _=t.extendChartView({type:"graph",init:function(t,e){var o=new n,a=new i,s=this.group;this._controller=new r(e.getZr()),this._controllerHost={target:s},s.add(o.group),s.add(a.group),this._symbolDraw=o,this._lineDraw=a,this._firstRender=!0},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("view"===r.type){var u={position:r.position,scale:r.scale};this._firstRender?s.attr(u):l.updateProps(s,u,t)}h(t.getGraph(),c(t));var f=t.getData();o.updateData(f);var p=t.getEdgeData();a.updateData(p),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var m=t.forceLayout,y=t.get("force.layoutAnimation");m&&this._startForceLayoutIteration(m,y),f.eachItemGraphicEl((function(e,r){var o=f.getItemModel(r);e.off("drag").off("dragend");var a=o.get("draggable");a&&e.on("drag",(function(){m&&(m.warmUp(),!this._layouting&&this._startForceLayoutIteration(m,y),m.setFixed(r),f.setItemLayout(r,e.position))}),this).on("dragend",(function(){m&&m.setUnfixed(r)}),this),e.setDraggable(a&&m),e[d]&&e.off("mouseover",e[d]),e[g]&&e.off("mouseout",e[g]),o.get("focusNodeAdjacency")&&(e.on("mouseover",e[d]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,dataIndex:e.dataIndex})}),e.on("mouseout",e[g]=function(){i._dispatchUnfocus(n)}))}),this),f.graph.eachEdge((function(e){var r=e.getGraphicEl();r[d]&&r.off("mouseover",r[d]),r[g]&&r.off("mouseout",r[g]),e.getModel().get("focusNodeAdjacency")&&(r.on("mouseover",r[d]=function(){i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:t.id,edgeDataIndex:e.dataIndex})}),r.on("mouseout",r[g]=function(){i._dispatchUnfocus(n)}))}));var v="circular"===t.get("layout")&&t.get("circular.rotateLabel"),_=f.getLayout("cx"),x=f.getLayout("cy");f.eachItemGraphicEl((function(t,e){var n=f.getItemModel(e),i=n.get("label.rotate")||0,r=t.getSymbolPath();if(v){var o=f.getItemLayout(e),a=Math.atan2(o[1]-x,o[0]-_);a<0&&(a=2*Math.PI+a);var s=o[0]<_;s&&(a-=Math.PI);var h=s?"left":"right";l.modifyLabelStyle(r,{textRotation:-a,textPosition:h,textOrigin:"center"},{textPosition:h})}else l.modifyLabelStyle(r,{textRotation:i*=Math.PI/180})})),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(t,e){var n=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){n._unfocusDelayTimer=null,t.dispatchAction({type:"unfocusNodeAdjacency",seriesId:n._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(t,n,i,r){var o=t.getData(),a=o.graph,s=r.dataIndex,l=r.edgeDataIndex,h=a.getNodeByIndex(s),u=a.getEdgeByIndex(l);!h&&!u||(a.eachNode((function(t){y(t,f,.1)})),a.eachEdge((function(t){y(t,p,.1)})),h&&(v(h,f),e.each(h.edges,(function(t){t.dataIndex<0||(v(t,p),v(t.node1,f),v(t.node2,f))}))),u&&(v(u,p),v(u.node1,f),v(u.node2,f)))},unfocusNodeAdjacency:function(t,e,n,i){var r=t.getData().graph;r.eachNode((function(t){y(t,f)})),r.eachEdge((function(t){y(t,p)}))},_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())}))})()},_updateController:function(t,e,n){var i=this._controller,r=this._controllerHost,a=this.group;i.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!s(e,n,t)})),"view"===t.coordinateSystem.type?(i.enable(t.get("roam")),r.zoomLimit=t.get("scaleLimit"),r.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){o.updateViewOnPan(r,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){o.updateViewOnZoom(r,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),this._updateNodeAndLinkScale(),h(t.getGraph(),c(t)),this._lineDraw.updateLayout()}),this)):i.disable()},_updateNodeAndLinkScale:function(){var t=this._model,e=t.getData(),n=c(t),i=[n,n];e.eachItemGraphicEl((function(t,e){t.attr("scale",i)}))},updateLayout:function(t){h(t.getGraph(),c(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});return n4=_,n4}var l4,h4,u4,c4,d4,g4,f4,p4,m4={},y4={};function v4(){if(l4)return y4;l4=1;var t=zC;return t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){})),y4}function _4(){if(h4)return m4;h4=1;var t=zC,e=v3(),n=e.updateCenterAndZoom;v4();var i={type:"graphRoam",event:"graphRoam",update:"none"};return t.registerAction(i,(function(t,e){e.eachComponent({mainType:"series",query:t},(function(e){var i=e.coordinateSystem,r=n(i,t);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))})),m4}function x4(){if(c4)return u4;function t(t){var e=t.findComponents({mainType:"legend"});!e||!e.length||t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph(),r=i.data,o=n.mapArray(n.getName);r.filterSelf((function(t){var n=r.getItemModel(t),i=n.getShallow("category");if(null!=i){"number"==typeof i&&(i=o[i]);for(var a=0;a=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)}});return Y4=e,Y4}function n5(){if(J4)return K4;J4=1;var t=e5(),e=CD,n=UZ,i=$G(),r=i.parsePercent,o=i.round,a=i.linearMap;function s(t,e){var n=t.get("center"),i=e.getWidth(),o=e.getHeight(),a=Math.min(i,o),s=r(n[0],e.getWidth()),l=r(n[1],e.getHeight()),h=r(t.get("radius"),a/2);return{cx:s,cy:l,r:h}}function l(t,e){return e&&("string"==typeof e?t=e.replace("{value}",null!=t?t:""):"function"==typeof e&&(t=e(t))),t}var h=2*Math.PI,u=n.extend({type:"gauge",render:function(t,e,n){this.group.removeAll();var i=t.get("axisLine.lineStyle.color"),r=s(t,n);this._renderMain(t,e,n,i,r)},dispose:function(){},_renderMain:function(t,n,i,r,o){for(var a=this.group,s=t.getModel("axisLine"),l=s.getModel("lineStyle"),u=t.get("clockwise"),c=-t.get("startAngle")/180*Math.PI,d=-t.get("endAngle")/180*Math.PI,g=(d-c)%h,f=c,p=l.get("width"),m=s.get("show"),y=0;m&&y=t&&(0===e?0:r[e-1][0]).4?"bottom":"middle",textAlign:P<-.4?"left":P>.4?"right":"center"},{autoColor:O}),silent:!0}))}if(_.get("show")&&z!==b){for(var j=0;j<=w;j++){P=Math.cos(C),L=Math.sin(C);var F=new e.Line({shape:{x1:P*p+g,y1:L*p+f,x2:P*(p-A)+g,y2:L*(p-A)+f},silent:!0,style:E});"auto"===E.stroke&&F.setStyle({stroke:a((z+j/w)/b)}),d.add(F),C+=I}C-=I}else C+=T}},_renderPointer:function(n,i,o,s,l,h,u,c){var d=this.group,g=this._data;if(n.get("pointer.show")){var f=[+n.get("min"),+n.get("max")],p=[h,u],m=n.getData(),y=m.mapDimension("value");m.diff(g).add((function(i){var r=new t({shape:{angle:h}});e.initProps(r,{shape:{angle:a(m.get(y,i),f,p,!0)}},n),d.add(r),m.setItemGraphicEl(i,r)})).update((function(t,i){var r=g.getItemGraphicEl(i);e.updateProps(r,{shape:{angle:a(m.get(y,t),f,p,!0)}},n),d.add(r),m.setItemGraphicEl(t,r)})).remove((function(t){var e=g.getItemGraphicEl(t);d.remove(e)})).execute(),m.eachItemGraphicEl((function(t,n){var i=m.getItemModel(n),o=i.getModel("pointer");t.setShape({x:l.cx,y:l.cy,width:r(o.get("width"),l.r),r:r(o.get("length"),l.r)}),t.useStyle(i.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",s(a(m.get(y,n),f,[0,1],!0))),e.setHoverStyle(t,i.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else g&&g.eachItemGraphicEl((function(t){d.remove(t)}))},_renderTitle:function(t,n,i,o,s){var l=t.getData(),h=l.mapDimension("value"),u=t.getModel("title");if(u.get("show")){var c=u.get("offsetCenter"),d=s.cx+r(c[0],s.r),g=s.cy+r(c[1],s.r),f=+t.get("min"),p=+t.get("max"),m=t.getData().get(h,0),y=o(a(m,[f,p],[0,1],!0));this.group.add(new e.Text({silent:!0,style:e.setTextStyle({},u,{x:d,y:g,text:l.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:y,forceRich:!0})}))}},_renderDetail:function(t,n,i,o,s){var h=t.getModel("detail"),u=+t.get("min"),c=+t.get("max");if(h.get("show")){var d=h.get("offsetCenter"),g=s.cx+r(d[0],s.r),f=s.cy+r(d[1],s.r),p=r(h.get("width"),s.r),m=r(h.get("height"),s.r),y=t.getData(),v=y.get(y.mapDimension("value"),0),_=o(a(v,[u,c],[0,1],!0));this.group.add(new e.Text({silent:!0,style:e.setTextStyle({},h,{x:g,y:f,text:l(v,h.get("formatter")),textWidth:isNaN(p)?null:p,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:_,forceRich:!0})}))}}}),c=u;return K4=c,K4}function i5(){return Q4||(Q4=1,t5(),n5()),$4}var r5,o5,a5,s5,l5,h5,u5,c5={};function d5(){if(o5)return r5;o5=1;var t=zC,e=NC,n=c2(),i=PR,r=i.defaultEmphasis,o=XV,a=o.makeSeriesEncodeForNameBased,s=g2(),l=t.extendSeriesModel({type:"series.funnel",init:function(t){l.superApply(this,"init",arguments),this.legendVisualProvider=new s(e.bind(this.getData,this),e.bind(this.getRawData,this)),this._defaultLabelLine(t)},getInitialData:function(t,i){return n(this,{coordDimensions:["value"],encodeDefaulter:e.curry(a,this)})},_defaultLabelLine:function(t){r(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},getDataParams:function(t){var e=this.getData(),n=l.superCall(this,"getDataParams",t),i=e.mapDimension("value"),r=e.getSum(i);return n.percent=r?+(e.get(i,t)/r*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,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,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),h=l;return r5=h,r5}function g5(){if(s5)return a5;s5=1;var t=CD,e=NC,n=UZ;function i(e,n){t.Group.call(this);var i=new t.Polygon,r=new t.Polyline,o=new t.Text;this.add(i),this.add(r),this.add(o),this.highDownOnUpdate=function(t,e){"emphasis"===e?(r.ignore=r.hoverIgnore,o.ignore=o.hoverIgnore):(r.ignore=r.normalIgnore,o.ignore=o.normalIgnore)},this.updateData(e,n,!0)}var r=i.prototype,o=["itemStyle","opacity"];r.updateData=function(n,i,r){var a=this.childAt(0),s=n.hostModel,l=n.getItemModel(i),h=n.getItemLayout(i),u=n.getItemModel(i).get(o);u=null==u?1:u,a.useStyle({}),r?(a.setShape({points:h.points}),a.setStyle({opacity:0}),t.initProps(a,{style:{opacity:u}},s,i)):t.updateProps(a,{style:{opacity:u},shape:{points:h.points}},s,i);var c=l.getModel("itemStyle"),d=n.getItemVisual(i,"color");a.setStyle(e.defaults({lineJoin:"round",fill:d},c.getItemStyle(["opacity"]))),a.hoverStyle=c.getModel("emphasis").getItemStyle(),this._updateLabel(n,i),t.setHoverStyle(this)},r._updateLabel=function(e,n){var i=this.childAt(1),r=this.childAt(2),o=e.hostModel,a=e.getItemModel(n),s=e.getItemLayout(n),l=s.label,h=e.getItemVisual(n,"color");t.updateProps(i,{shape:{points:l.linePoints||l.linePoints}},o,n),t.updateProps(r,{style:{x:l.x,y:l.y}},o,n),r.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var u=a.getModel("label"),c=a.getModel("emphasis.label"),d=a.getModel("labelLine"),g=a.getModel("emphasis.labelLine");h=e.getItemVisual(n,"color");t.setLabelStyle(r.style,r.hoverStyle={},u,c,{labelFetcher:e.hostModel,labelDataIndex:n,defaultText:e.getName(n),autoColor:h,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),r.ignore=r.normalIgnore=!u.get("show"),r.hoverIgnore=!c.get("show"),i.ignore=i.normalIgnore=!d.get("show"),i.hoverIgnore=!g.get("show"),i.setStyle({stroke:h}),i.setStyle(d.getModel("lineStyle").getLineStyle()),i.hoverStyle=g.getModel("lineStyle").getLineStyle()},e.inherits(i,t.Group);var a=n.extend({type:"funnel",render:function(t,e,n){var r=t.getData(),o=this._data,a=this.group;r.diff(o).add((function(t){var e=new i(r,t);r.setItemGraphicEl(t,e),a.add(e)})).update((function(t,e){var n=o.getItemGraphicEl(e);n.updateData(r,t),a.add(n),r.setItemGraphicEl(t,n)})).remove((function(t){var e=o.getItemGraphicEl(t);a.remove(e)})).execute(),this._data=r},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),s=a;return a5=s,a5}function f5(){if(h5)return l5;h5=1;var t=JG,e=$G(),n=e.parsePercent,i=e.linearMap;function r(e,n){return t.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function o(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();as&&(i[1-o]=i[o]+g.sign*s),i}function e(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 n(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}return A5=1,S5=t,S5}function D5(){if(T5)return C5;T5=1;var t=NC,e=eM(),n=JG,i=_J(),r=k5(),o=CD,a=$G(),s=R5(),l=t.each,h=Math.min,u=Math.max,c=Math.floor,d=Math.ceil,g=a.round,f=Math.PI;function p(e,n,i){this._axesMap=t.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,n,i)}function m(t,e){return h(u(t,e[0]),e[1])}function y(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function v(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,h=s,u=!1;return t=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var r=n.getData();l(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(r,r.mapDimension(t)),i.niceScaleExtent(e.scale,e.model)}),this)}}),this)},resize:function(t,e){this._rect=n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_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],h=this.dimensions.length,u=m(e.get("axisExpandWidth"),l),f=m(e.get("axisExpandCount")||0,[0,h]),p=e.get("axisExpandable")&&h>3&&h>f&&f>1&&u>0&&s>0,y=e.get("axisExpandWindow");if(y)t=m(y[1]-y[0],l),y[1]=y[0]+t;else{t=m(u*(f-1),l);var v=e.get("axisExpandCenter")||c(h/2);y=[u*v-t/2],y[1]=y[0]+t}var _=(s-t)/(h-f);_<3&&(_=0);var x=[c(g(y[0]/u,1))+1,d(g(y[1]/u,1))-1],b=_/u*y[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:u,axisCollapseWidth:_,axisExpandWindow:y,axisCount:h,winInnerIndices:x,axisExpandWindow0Pos:b}},_layoutAxes:function(){var t=this._rect,n=this._axesMap,i=this.dimensions,r=this._makeLayoutInfo(),o=r.layout;n.each((function(t){var e=[0,r.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),l(i,(function(n,i){var a=(r.axisExpandable?v:y)(i,r),s={horizontal:{x:a.position,y:r.axisLength},vertical:{x:0,y:a.position}},l={horizontal:f/2,vertical:0},h=[s[o].x+t.x,s[o].y+t.y],u=l[o],c=e.create();e.rotate(c,c,u),e.translate(c,c,h),this._axesLayout[n]={position:h,rotation:u,transform:c,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(e,n,i,r){null==i&&(i=0),null==r&&(r=e.count());var o=this._axesMap,a=this.dimensions,s=[],l=[];t.each(a,(function(t){s.push(e.mapDimension(t)),l.push(o.get(t).model)}));for(var h=this.hasAxisBrushed(),u=i;ur*(1-g[0])?(c="jump",a=l-r*(1-g[2])):(a=l-r*g[1])>=0&&(a=l-r*(1-g[1]))<=0&&(a=0),a*=e.axisExpandWidth/d,a?s(a,i,o,"all"):c="none";else{r=i[1]-i[0];var p=o[1]*l/r;i=[u(0,p-r/2)],i[1]=h(o[1],i[0]+r),i[0]=i[1]-r}return{axisExpandWindow:i,behavior:c}}};var _=p;return C5=_,C5}function O5(){if(I5)return L5;I5=1;var t=D5(),e=qW;function n(e,n){var i=[];return e.eachComponent("parallel",(function(r,o){var a=new t(r,e,n);a.name="parallel_"+o,a.resize(r,n),r.coordinateSystem=a,a.model=r,i.push(a)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}})),i}return e.register("parallel",{create:n}),L5}function j5(){if(E5)return M5;E5=1;var t=NC,e=FV,n=wD(),i=ZQ(),r=$G(),o=xJ(),a=e.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return n([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var n=this.activeIntervals=t.clone(e);if(n)for(var i=n.length-1;i>=0;i--)r.asc(n[i])},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;id}function D(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function O(t,e,i,r){var s=new n.Group;return s.add(new n.Rect({name:"main",style:B(i),silent:!0,draggable:!0,cursor:"move",drift:o(t,e,s,"nswe"),ondragend:o(k,e,{isEnd:!0})})),a(r,(function(i){s.add(new n.Rect({name:i,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:o(t,e,s,i),ondragend:o(k,e,{isEnd:!0})}))})),s}function j(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=h(r,g),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],d=n[1][1],f=c-o+r/2,p=d-o+r/2,m=c-a,y=d-s,v=m+r,_=y+r;N(t,e,"main",a,s,m,y),i.transformable&&(N(t,e,"w",l,u,o,_),N(t,e,"e",f,u,o,_),N(t,e,"n",l,u,v,o),N(t,e,"s",l,p,v,o),N(t,e,"nw",l,u,o,o),N(t,e,"ne",f,u,o,o),N(t,e,"sw",l,p,o,o),N(t,e,"se",f,p,o,o))}function F(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(B(n)),r.attr({silent:!i,cursor:i?"move":"default"}),a(["w","e","n","s","se","sw","ne","nw"],(function(n){var r=e.childOfName(n),o=q(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?m[o]+"-resize":null})}))}function N(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(Y(Z(t,e,[[i,r],[i+o,r+a]])))}function B(e){return t.defaults({strokeNoScale:!0},e.brushStyle)}function G(t,e,n,i){var r=[l(t,n),l(e,i)],o=[h(t,n),h(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function V(t){return n.getTransform(t.group)}function q(t,e){if(e.length>1){e=e.split("");var i=[q(t,e[0]),q(t,e[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}var r={w:"left",e:"right",n:"top",s:"bottom"},o={left:"w",right:"e",top:"n",bottom:"s"};i=n.transformDirection(r[e],V(t));return o[i]}function W(t,e,n,i,r,o,s,l){var h=i.__brushOption,u=t(h.range),c=H(n,o,s);a(r.split(""),(function(t){var e=p[t];u[e[0]][e[1]]+=c[e[0]]})),h.range=e(G(u[0][0],u[1][0],u[0][1],u[1][1])),M(n,i),k(n,{isEnd:!1})}function U(t,e,n,i,r){var o=e.__brushOption.range,s=H(t,n,i);a(o,(function(t){t[0]+=s[0],t[1]+=s[1]})),M(t,e),k(t,{isEnd:!1})}function H(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 Z(e,n,i){var r=P(e,n);return r&&!0!==r?r.clipPath(i,e._transform):t.clone(i)}function Y(t){var e=l(t[0][0],t[1][0]),n=l(t[0][1],t[1][1]),i=h(t[0][0],t[1][0]),r=h(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}function X(t,e,n){if(t._brushType&&!nt(t,e)){var i=t._zr,r=t._covers,o=z(t,e,n);if(!t._dragging)for(var a=0;ai.getWidth()||n<0||n>i.getHeight()}var it={lineX:rt(0),lineY:rt(1),rect:{createCover:function(t,e){return O(o(W,(function(t){return t}),(function(t){return t})),t,e,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(t){var e=D(t);return G(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){j(t,e,n,i)},updateCommon:F,contain:J},polygon:{createCover:function(t,e){var i=new n.Group;return i.add(new n.Polyline({name:"main",style:B(e),silent:!0})),i},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new n.Polygon({name:"main",draggable:!0,drift:o(U,t,e),ondragend:o(k,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:Z(t,e,n)})},updateCommon:F,contain:J}};function rt(t){return{createCover:function(e,n){return O(o(W,(function(e){var n=[e,[0,100]];return t&&n.reverse(),n}),(function(e){return e[t]})),e,n,[["w","e"],["n","s"]][t])},getCreatingRange:function(e){var n=D(e),i=l(n[0][t],n[1][t]),r=h(n[0][t],n[1][t]);return[i,r]},updateCoverShape:function(e,n,i,r){var o,a=P(e,n);if(!0!==a&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t,e._transform);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),j(e,n,l,r)},updateCommon:F,contain:J}}var ot=_;return B5=ot,B5}var H5,Z5,Y5,X5,K5,J5,Q5,$5,t6,e6,n6,i6,r6={};function o6(){if(H5)return r6;H5=1;var t=az,e=K0(),n=e.onIrrelevantElement,i=CD;function r(t){return t=s(t),function(e,n){return i.clipPointsByRect(e,t)}}function o(t,e){return t=s(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 a(t,e,i){return t=s(t),function(r,o,a){return t.contain(o[0],o[1])&&!n(r,e,i)}}function s(e){return t.create(e)}return r6.makeRectPanelClipPath=r,r6.makeLinearBrushOtherExtent=o,r6.makeRectIsTargetByCursor=a,r6}function a6(){if(Y5)return Z5;Y5=1;var t=zC,e=NC,n=e$(),i=U5(),r=o6(),o=CD,a=["axisLine","axisTickLabel","axisName"],s=t.extendComponentView({type:"parallelAxis",init:function(t,n){s.superApply(this,"init",arguments),(this._brushController=new i(n.getZr())).on("brush",e.bind(this._onBrush,this))},render:function(t,i,r,s){if(!l(t,i,s)){this.axisModel=t,this.api=r,this.group.removeAll();var h=this._axisGroup;if(this._axisGroup=new o.Group,this.group.add(this._axisGroup),t.get("show")){var c=u(t,i),d=c.coordinateSystem,g=t.getAreaSelectStyle(),f=g.width,p=t.axis.dim,m=d.getAxisLayout(p),y=e.extend({strokeContainThreshold:f},m),v=new n(t,y);e.each(a,v.add,v),this._axisGroup.add(v.getGroup()),this._refreshBrushController(y,g,t,c,f,r);var _=s&&!1===s.animation?null:t;o.groupTransition(h,this._axisGroup,_)}}},_refreshBrushController:function(t,e,n,i,a,s){var l=n.axis.getExtent(),u=l[1]-l[0],c=Math.min(30,.1*Math.abs(u)),d=o.BoundingRect.create({x:l[0],y:-a/2,width:u,height:a});d.x-=c,d.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:r.makeRectPanelClipPath(d),isTargetByCursor:r.makeRectIsTargetByCursor(d,s,i),getLinearBrushOtherExtent:r.makeLinearBrushOtherExtent(d,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(h(n))},_onBrush:function(t,n){var i=this.axisModel,r=i.axis,o=e.map(t,(function(t){return[r.coordToData(t.range[0],!0),r.coordToData(t.range[1],!0)]}));(!i.option.realtime===n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:o})},dispose:function(){this._brushController.dispose()}});function l(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}function h(t){var n=t.axis;return e.map(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[n.dataToCoord(t[0],!0),n.dataToCoord(t[1],!0)]}}))}function u(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var c=s;return Z5=c,Z5}function s6(){return X5||(X5=1,O5(),W5(),a6()),V5}function l6(){if(K5)return _5;K5=1;var t=zC,e=NC,n=HZ,i=x5();O5(),F5(),s6();var r=5;t.extendComponentView({type:"parallel",render:function(t,i,r){this._model=t,this._api=r,this._handlers||(this._handlers={},e.each(o,(function(t,n){r.getZr().on(n,this._handlers[n]=e.bind(t,this))}),this)),n.createOrUpdate(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},dispose:function(t,n){e.each(this._handlers,(function(t,e){n.getZr().off(e,t)})),this._handlers=null},_throttledDispatchExpand:function(t){this._dispatchExpand(t)},_dispatchExpand:function(t){t&&this._api.dispatchAction(e.extend({type:"parallelAxisExpand"},t))}});var o={mousedown:function(t){a(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(a(this,"click")&&e){var n=[t.offsetX,t.offsetY],i=Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2);if(i>r)return;var o=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==o.behavior&&this._dispatchExpand({axisExpandWindow:o.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&a(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})}}};function a(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}return t.registerPreprocessor(i),_5}function h6(){if(Q5)return J5;Q5=1;var t=NC,e=t.each,n=t.createHashMap,i=gZ,r=WK(),o=i.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var n=this.getSource();return a(n,this),r(n,this)},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},defaultOption:{zlevel:0,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"}});function a(t,i){if(!t.encodeDefine){var r=i.ecModel.getComponent("parallel",i.get("parallelIndex"));if(r){var o=t.encodeDefine=n();e(r.dimensions,(function(t){var e=s(t);o.set(t,e)}))}}}function s(t){return+t.replace("dim","")}return J5=o,J5}function u6(){if(t6)return $5;t6=1;var t=CD,e=UZ,n=.3,i=e.extend({type:"parallel",init:function(){this._dataGroup=new t.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,n,i,h){var u=this._dataGroup,c=e.getData(),d=this._data,g=e.coordinateSystem,f=g.dimensions,p=s(e);function m(t){var e=a(c,u,t,f,g);l(e,c,t,p)}function y(n,i){var r=d.getItemGraphicEl(i),a=o(c,n,f,g);c.setItemGraphicEl(n,r);var s=h&&!1===h.animation?null:e;t.updateProps(r,{shape:{points:a}},s,n),l(r,c,n,p)}function v(t){var e=d.getItemGraphicEl(t);u.remove(e)}if(c.diff(d).add(m).update(y).remove(v).execute(),!this._initialized){this._initialized=!0;var _=r(g,e,(function(){setTimeout((function(){u.removeClipPath()}))}));u.setClipPath(_)}this._data=c},incrementalPrepareRender:function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,h=s(e),u=t.start;u=0&&(s[a[l].depth]=new r(a[l],this,n));if(o&&i){var h=e(o,i,this,!0,u);return h.data}function u(t,e){t.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getData().getItemLayout(e).depth,r=n.levelModels[i];return r||this.parentModel})),t})),e.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,i=n.getGraph().getEdgeByIndex(e),r=i.node1.getLayout().depth,o=n.levelModels[r];return o||this.parentModel})),t}))}},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,n){if("edge"===n){var r=this.getDataParams(t,n),a=r.data,s=a.source+" -- "+a.target;return r.value&&(s+=" : "+r.value),i(s)}if("node"===n){var l=this.getGraph().getNodeByIndex(t),h=l.getLayout().value,u=this.getDataParams(t,n).data.name;if(h)s=u+" : "+h;return i(s)}return o.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var n=o.superCall(this,"getDataParams",t,e);if(null==n.value&&"node"===e){var i=this.getGraph().getNodeByIndex(t),r=i.getLayout().value;n.value=r}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}}),a=o;return g6=a,g6}function _6(){if(m6)return p6;m6=1;var t=CD,e=zC,n=NC,i=["itemStyle","opacity"],r=["emphasis","itemStyle","opacity"],o=["lineStyle","opacity"],a=["emphasis","lineStyle","opacity"];function s(t,e){return t.getVisual("opacity")||t.getModel().get(e)}function l(t,e,n){var i=t.getGraphicEl(),r=s(t,e);null!=n&&(null==r&&(r=1),r*=n),i.downplay&&i.downplay(),i.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",r)}))}function h(t,e){var n=s(t,e),i=t.getGraphicEl();i.traverse((function(t){"group"!==t.type&&t.setStyle("opacity",n)})),i.highlight&&i.highlight()}var u=t.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},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()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),c=e.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,n,i){var r=this,o=e.getGraph(),a=this.group,s=e.layoutInfo,l=s.width,h=s.height,c=e.getData(),g=e.getData("edge"),f=e.get("orient");this._model=e,a.removeAll(),a.attr("position",[s.x,s.y]),o.eachEdge((function(n){var i=new u;i.dataIndex=n.dataIndex,i.seriesIndex=e.seriesIndex,i.dataType="edge";var r,o,s,c,d,p,m,y,v=n.getModel("lineStyle"),_=v.get("curveness"),x=n.node1.getLayout(),b=n.node1.getModel(),w=b.get("localX"),S=b.get("localY"),A=n.node2.getLayout(),C=n.node2.getModel(),T=C.get("localX"),I=C.get("localY"),M=n.getLayout();switch(i.shape.extent=Math.max(1,M.dy),i.shape.orient=f,"vertical"===f?(r=(null!=w?w*l:x.x)+M.sy,o=(null!=S?S*h:x.y)+x.dy,s=(null!=T?T*l:A.x)+M.ty,c=null!=I?I*h:A.y,d=r,p=o*(1-_)+c*_,m=s,y=o*_+c*(1-_)):(r=(null!=w?w*l:x.x)+x.dx,o=(null!=S?S*h:x.y)+M.sy,s=null!=T?T*l:A.x,c=(null!=I?I*h:A.y)+M.ty,d=r*(1-_)+s*_,p=o,m=r*_+s*(1-_),y=c),i.setShape({x1:r,y1:o,x2:s,y2:c,cpx1:d,cpy1:p,cpx2:m,cpy2:y}),i.setStyle(v.getItemStyle()),i.style.fill){case"source":i.style.fill=n.node1.getVisual("color");break;case"target":i.style.fill=n.node2.getVisual("color");break}t.setHoverStyle(i,n.getModel("emphasis.lineStyle").getItemStyle()),a.add(i),g.setItemGraphicEl(n.dataIndex,i)})),o.eachNode((function(n){var i=n.getLayout(),r=n.getModel(),o=r.get("localX"),s=r.get("localY"),u=r.getModel("label"),d=r.getModel("emphasis.label"),g=new t.Rect({shape:{x:null!=o?o*l:i.x,y:null!=s?s*h:i.y,width:i.dx,height:i.dy},style:r.getModel("itemStyle").getItemStyle()}),f=n.getModel("emphasis.itemStyle").getItemStyle();t.setLabelStyle(g.style,f,u,d,{labelFetcher:e,labelDataIndex:n.dataIndex,defaultText:n.id,isRectText:!0}),g.setStyle("fill",n.getVisual("color")),t.setHoverStyle(g,f),a.add(g),c.setItemGraphicEl(n.dataIndex,g),g.dataType="node"})),c.eachItemGraphicEl((function(t,n){var o=c.getItemModel(n);o.get("draggable")&&(t.drift=function(t,o){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(n),localX:this.shape.x/l,localY:this.shape.y/h})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(i)}))})),g.eachItemGraphicEl((function(t,n){var o=g.getItemModel(n);t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){r._focusAdjacencyDisabled||(r._clearTimer(),i.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){r._focusAdjacencyDisabled||r._dispatchUnfocus(i)}))})),!this._data&&e.get("animation")&&a.setClipPath(d(a.getBoundingRect(),e,(function(){a.removeClipPath()}))),this._data=e.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(t){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){e._unfocusDelayTimer=null,t.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(t,e,s,u){var c=t.getData(),d=c.graph,g=u.dataIndex,f=c.getItemModel(g),p=u.edgeDataIndex;if(null!=g||null!=p){var m=d.getNodeByIndex(g),y=d.getEdgeByIndex(p);if(d.eachNode((function(t){l(t,i,.1)})),d.eachEdge((function(t){l(t,o,.1)})),m){h(m,r);var v=f.get("focusNodeAdjacency");"outEdges"===v?n.each(m.outEdges,(function(t){t.dataIndex<0||(h(t,a),h(t.node2,r))})):"inEdges"===v?n.each(m.inEdges,(function(t){t.dataIndex<0||(h(t,a),h(t.node1,r))})):"allEdges"===v&&n.each(m.edges,(function(t){t.dataIndex<0||(h(t,a),t.node1!==m&&h(t.node1,r),t.node2!==m&&h(t.node2,r))}))}y&&(h(y,a),h(y.node1,r),h(y.node2,r))}},unfocusNodeAdjacency:function(t,e,n,r){var a=t.getGraph();a.eachNode((function(t){l(t,i)})),a.eachEdge((function(t){l(t,o)}))}});function d(e,n,i){var r=new t.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return t.initProps(r,{shape:{width:e.width+20}},n,i),r}return p6=c,p6}var x6,b6,w6,S6,A6,C6,T6={};function I6(){if(x6)return T6;x6=1;var t=zC;return v4(),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])}))})),T6}function M6(){if(w6)return b6;w6=1;var t=JG,e=NC,n=PR,i=n.groupData;function r(t,n,i){t.eachSeriesByType("sankey",(function(t){var i=t.get("nodeWidth"),r=t.get("nodeGap"),l=o(t,n);t.layoutInfo=l;var h=l.width,u=l.height,c=t.getGraph(),d=c.nodes,g=c.edges;s(d);var f=e.filter(d,(function(t){return 0===t.getLayout().value})),p=0!==f.length?0:t.get("layoutIterations"),m=t.get("orient"),y=t.get("nodeAlign");a(d,g,i,r,h,u,p,m,y)}))}function o(e,n){return t.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})}function a(t,e,n,i,r,o,a,s,h){l(t,e,n,r,o,s,h),g(t,e,o,r,i,a,s),T(t,s)}function s(t){e.each(t,(function(t){var e=A(t.outEdges,S),n=A(t.inEdges,S),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}function l(t,e,n,i,r,o,a){for(var s=[],l=[],h=[],c=[],g=0,f=0,p=0;p=0;x&&_.depth>m&&(m=_.depth),v.setLayout({depth:x?_.depth:g},!0),"vertical"===o?v.setLayout({dy:n},!0):v.setLayout({dx:n},!0);for(var b=0;bg-1?m:g-1;a&&"left"!==a&&u(t,a,o,T);f="vertical"===o?(r-n)/T:(i-n)/T;d(t,f,o)}function h(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function u(t,n,i,r){if("right"===n){for(var o=[],a=t,s=0;a.length;){for(var l=0;l0;o--)l*=.99,y(s,l,a),m(s,r,n,i,a),C(s,l,a),m(s,r,n,i,a)}function f(t,n){var r=[],o="vertical"===n?"y":"x",a=i(t,(function(t){return t.getLayout()[o]}));return a.keys.sort((function(t,e){return t-e})),e.each(a.keys,(function(t){r.push(a.buckets.get(t))})),r}function p(t,n,i,r,o,a){var s=1/0;e.each(t,(function(t){var n=t.length,l=0;e.each(t,(function(t){l+=t.getLayout().value}));var h="vertical"===a?(r-(n-1)*o)/l:(i-(n-1)*o)/l;h0&&(e=s.getLayout()[a]+l,"vertical"===o?s.setLayout({x:e},!0):s.setLayout({y:e},!0)),h=s.getLayout()[a]+s.getLayout()[c]+n;var g="vertical"===o?r:i;if(l=h-n-g,l>0)for(e=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:e},!0):s.setLayout({y:e},!0),h=e,d=u-2;d>=0;--d)s=t[d],l=s.getLayout()[a]+s.getLayout()[c]+n-h,l>0&&(e=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:e},!0):s.setLayout({y:e},!0)),h=s.getLayout()[a]}))}function y(t,n,i){e.each(t.slice().reverse(),(function(t){e.each(t,(function(t){if(t.outEdges.length){var e=A(t.outEdges,v,i)/A(t.outEdges,S,i);if(isNaN(e)){var r=t.outEdges.length;e=r?A(t.outEdges,_,i)/r:0}if("vertical"===i){var o=t.getLayout().x+(e-w(t,i))*n;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(e-w(t,i))*n;t.setLayout({y:a},!0)}}}))}))}function v(t,e){return w(t.node2,e)*t.getValue()}function _(t,e){return w(t.node2,e)}function x(t,e){return w(t.node1,e)*t.getValue()}function b(t,e){return w(t.node1,e)}function w(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function S(t){return t.getValue()}function A(t,e,n){for(var i=0,r=t.length,o=-1;++oa&&(a=e)})),e.each(r,(function(e){var i=new t({type:"color",mappingMethod:"linear",dataExtent:[o,a],visual:n.get("color")}),r=i.mapValueToVisual(e.getLayout().value),s=e.getModel().get("itemStyle.color");null!=s?e.setVisual("color",s):e.setVisual("color",r)}))}}))}return S6=n,S6}function z6(){if(C6)return y6;C6=1;var t=zC;v6(),_6(),I6();var e=M6(),n=E6();return t.registerLayout(e),t.registerVisual(n),y6}var P6,L6,k6,R6,D6,O6,j6,F6,N6,B6,G6={},V6={};function q6(){if(P6)return V6;P6=1;var t=c2(),e=NC,n=PK(),i=n.getDimensionTypeByAxis,r=XV,o=r.makeSeriesEncodeForAxisCoordSys,a={_baseAxisDim:null,getInitialData:function(n,r){var a,s,l=r.getComponent("xAxis",this.get("xAxisIndex")),h=r.getComponent("yAxis",this.get("yAxisIndex")),u=l.get("type"),c=h.get("type");"category"===u?(n.layout="horizontal",a=l.getOrdinalMeta(),s=!0):"category"===c?(n.layout="vertical",a=h.getOrdinalMeta(),s=!0):n.layout=n.layout||"horizontal";var d=["x","y"],g="horizontal"===n.layout?0:1,f=this._baseAxisDim=d[g],p=d[1-g],m=[l,h],y=m[g].get("type"),v=m[1-g].get("type"),_=n.data;if(_&&s){var x=[];e.each(_,(function(t,n){var i;t.value&&e.isArray(t.value)?(i=t.value.slice(),t.value.unshift(n)):e.isArray(t)?(i=t.slice(),t.unshift(n)):i=t,x.push(i)})),n.data=x}var b=this.defaultValueDimensions,w=[{name:f,type:i(y),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:p,type:i(v),dimsDef:b.slice()}];return t(this,{coordDimensions:w,dimensionsCount:b.length+1,encodeDefaulter:e.curry(o,w,this)})},getBaseAxis:function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis}};return V6.seriesModelMixin=a,V6}function W6(){if(k6)return L6;k6=1;var t=NC,e=gZ,n=q6(),i=n.seriesModelMixin,r=e.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});t.mixin(r,i,!0);var o=r;return L6=o,L6}function U6(){if(D6)return R6;D6=1;var t=NC,e=UZ,n=CD,i=wj,r=["itemStyle"],o=["emphasis","itemStyle"],a=e.extend({type:"boxplot",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=i.getItemLayout(t),n=l(e,i,t,a,!0);i.setItemGraphicEl(t,n),r.add(n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?h(s,n,i,t):n=l(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},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:t.noop}),s=i.extend({type:"boxplotBoxPath",shape:{},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();i0?"P":"N",o=i.getVisual("borderColor"+r)||i.getVisual("color"+r),s=n.getModel(a).getItemStyle(l);e.useStyle(s),e.style.fill=null,e.style.stroke=o}var v=h;return J6=v,J6}function h8(){if(t8)return $6;t8=1;var t=NC;function e(e){!e||!t.isArray(e.series)||t.each(e.series,(function(e){t.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}return $6=e,$6}function u8(){if(n8)return e8;n8=1;var t=AZ,e=["itemStyle","borderColor"],n=["itemStyle","borderColor0"],i=["itemStyle","color"],r=["itemStyle","color0"],o={seriesType:"candlestick",plan:t(),performRawSeries:!0,reset:function(t,o){var a=t.getData();if(a.setVisual({legendSymbol:"roundRect",colorP:h(1,t),colorN:h(-1,t),borderColorP:u(1,t),borderColorN:u(-1,t)}),!o.isSeriesFiltered(t)){var s=t.pipelineContext.large;return!s&&{progress:l}}function l(t,e){for(var n;null!=(n=t.next());){var i=e.getItemModel(n),r=e.getItemLayout(n).sign;e.setItemVisual(n,{color:h(r,i),borderColor:u(r,i)})}}function h(t,e){return e.get(t>0?i:r)}function u(t,i){return i.get(t>0?e:n)}}};return e8=o,e8}function c8(){if(r8)return i8;r8=1;var t=CD,e=t.subPixelOptimize,n=AZ,i=$G(),r=i.parsePercent,o=NC,a=o.retrieve2,s="undefined"!=typeof Float32Array?Float32Array:Array,l={seriesType:"candlestick",plan:n(),reset:function(t){var n=t.coordinateSystem,i=t.getData(),r=u(t,i),o=0,a=1,l=["x","y"],c=i.mapDimension(l[o]),d=i.mapDimension(l[a],!0),g=d[0],f=d[1],p=d[2],m=d[3];if(i.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(null==c||d.length<4))return{progress:t.pipelineContext.large?v:y};function y(t,i){for(var s;null!=(s=t.next());){var l=i.get(c,s),u=i.get(g,s),d=i.get(f,s),y=i.get(p,s),v=i.get(m,s),_=Math.min(u,d),x=Math.max(u,d),b=T(_,l),w=T(x,l),S=T(y,l),A=T(v,l),C=[];I(C,w,0),I(C,b,1),C.push(E(A),E(w),E(S),E(b)),i.setItemLayout(s,{sign:h(i,s,u,d,f),initBaseline:u>d?w[a]:b[a],ends:C,brushRect:M(y,v,l)})}function T(t,e){var i=[];return i[o]=e,i[a]=t,isNaN(e)||isNaN(t)?[NaN,NaN]:n.dataToPoint(i)}function I(t,n,i){var a=n.slice(),s=n.slice();a[o]=e(a[o]+r/2,1,!1),s[o]=e(s[o]-r/2,1,!0),i?t.push(a,s):t.push(s,a)}function M(t,e,n){var i=T(t,n),a=T(e,n);return i[o]-=r/2,a[o]-=r/2,{x:i[0],y:i[1],width:r,height:a[1]-i[1]}}function E(t){return t[o]=e(t[o],1),t}}function v(t,e){for(var i,r,l=new s(4*t.count),u=0,d=[],y=[];null!=(r=t.next());){var v=e.get(c,r),_=e.get(g,r),x=e.get(f,r),b=e.get(p,r),w=e.get(m,r);isNaN(v)||isNaN(b)||isNaN(w)?(l[u++]=NaN,u+=3):(l[u++]=h(e,r,_,x,f),d[o]=v,d[a]=b,i=n.dataToPoint(d,null,y),l[u++]=i?i[0]:NaN,l[u++]=i?i[1]:NaN,d[a]=w,i=n.dataToPoint(d,null,y),l[u++]=i?i[1]:NaN)}e.setLayout("largePoints",l)}}};function h(t,e,n,i,r){var o;return o=n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1,o}function u(t,e){var n,i=t.getBaseAxis(),o="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),s=r(a(t.get("barMaxWidth"),o),o),l=r(a(t.get("barMinWidth"),1),o),h=t.get("barWidth");return null!=h?r(h,o):Math.max(Math.min(o/2,s),l)}return i8=l,i8}function d8(){if(o8)return a8;o8=1;var t=zC;s8(),l8();var e=h8(),n=u8(),i=c8();return t.registerPreprocessor(e),t.registerVisual(n),t.registerLayout(i),a8}var g8,f8,p8,m8,y8,v8,_8,x8={};function b8(){if(f8)return g8;f8=1;var t=WK(),e=gZ,n=e.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,n){return t(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});return g8=n,g8}function w8(){if(m8)return p8;m8=1;var t=NC,e=AJ(),n=e.createSymbol,i=CD,r=i.Group,o=$G(),a=o.parsePercent,s=tQ(),l=3;function h(e){return t.isArray(e)||(e=[+e,+e]),e}function u(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}})}))}function c(t,e){r.call(this);var n=new s(t,e),i=new r;this.add(n),this.add(i),i.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(t,e)}var d=c.prototype;d.stopEffectAnimation=function(){this.childAt(1).removeAll()},d.startEffectAnimation=function(t){for(var e=t.symbolType,i=t.color,r=this.childAt(1),o=0;o "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!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}}}),d=c;return C8=d,C8}function W8(){if(M8)return I8;M8=1;var t=CD,e=J1(),n=NC,i=AJ(),r=i.createSymbol,o=BT(),a=ID;function s(e,n,i){t.Group.call(this),this.add(this.createLine(e,n,i)),this._updateEffectSymbol(e,n)}var l=s.prototype;l.createLine=function(t,n,i){return new e(t,n,i)},l._updateEffectSymbol=function(t,e){var i=t.getItemModel(e),o=i.getModel("effect"),a=o.get("symbolSize"),s=o.get("symbol");n.isArray(a)||(a=[a,a]);var l=o.get("color")||t.getItemVisual(e,"color"),h=this.childAt(1);this._symbolType!==s&&(this.remove(h),h=r(s,-.5,-.5,1,1,l),h.z2=100,h.culling=!0,this.add(h)),h&&(h.setStyle("shadowColor",l),h.setStyle(o.getItemStyle(["color"])),h.attr("scale",a),h.setColor(l),h.attr("scale",a),this._symbolType=s,this._symbolScale=a,this._updateEffectAnimation(t,o,e))},l._updateEffectAnimation=function(t,e,i){var r=this.childAt(1);if(r){var o=this,a=t.getItemLayout(i),s=1e3*e.get("period"),l=e.get("loop"),h=e.get("constantSpeed"),u=n.retrieve(e.get("delay"),(function(e){return e/t.count()*s/3})),c="function"==typeof u;if(r.ignore=!0,this.updateAnimationPoints(r,a),h>0&&(s=this.getLineLength(r)/h*1e3),s!==this._period||l!==this._loop){r.stopAnimation();var d=u;c&&(d=u(i)),r.__t>0&&(d=-s*r.__t),r.__t=0;var g=r.animate("",l).when(s,{__t:1}).delay(d).during((function(){o.updateSymbolPosition(r)}));l||g.done((function(){o.remove(r)})),g.start()}this._period=s,this._loop=l}},l.getLineLength=function(t){return o.dist(t.__p1,t.__cp1)+o.dist(t.__cp1,t.__p2)},l.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]},l.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},l.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t,s=t.position,l=[s[0],s[1]],h=a.quadraticAt,u=a.quadraticDerivativeAt;s[0]=h(e[0],i[0],n[0],r),s[1]=h(e[1],i[1],n[1],r);var c=u(e[0],i[0],n[0],r),d=u(e[1],i[1],n[1],r);if(t.rotation=-Math.atan2(d,c)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==t.__lastT&&t.__lastT=0&&!(r[l]<=e);l--);l=Math.min(l,o-2)}else{for(var l=a;le);l++);l=Math.min(l-1,o-2)}i.lerp(t.position,n[l],n[l+1],(e-r[l])/(r[l+1]-r[l]));var h=n[l+1][0]-n[l][0],u=n[l+1][1]-n[l][1];t.rotation=-Math.atan2(u,h)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=e,t.ignore=!1}},e.inherits(r,n);var a=r;return P8=a,P8}function Z8(){if(R8)return k8;R8=1;var t=CD,e=XN,n=CO,i=zO,r=t.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(t,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var r=0;r0){t.moveTo(n[r++],n[r++]);for(var a=1;a0){var c=(s+h)/2-(l-u)*i,d=(l+u)/2-(h-s)*i;t.quadraticCurveTo(c,d,h,u)}else t.lineTo(h,u)}},findDataIndex:function(t,e){var r=this.shape,o=r.segs,a=r.curveness;if(r.polyline)for(var s=0,l=0;l0)for(var u=o[l++],c=o[l++],d=1;d0){var p=(u+g)/2-(c-f)*a,m=(c+f)/2-(g-u)*a;if(i.containStroke(u,c,p,m,g,f))return s}else if(n.containStroke(u,c,g,f))return s;s++}return-1}});function o(){this.group=new t.Group}var a=o.prototype;a.isPersistent=function(){return!this._incremental},a.updateData=function(t){this.group.removeAll();var e=new r({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},a.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new e({silent:!0})),this.group.add(this._incremental)):this._incremental=null},a.incrementalUpdate=function(t,e){var n=new r;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._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("color");r&&t.setStyle("stroke",r),t.setStyle("fill"),n||(t.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n+t.__startIndex)})))},a._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()};var s=o;return k8=s,k8}function Y8(){if(O8)return D8;O8=1;var t=AZ,e={seriesType:"lines",plan:t(),reset:function(t){var e=t.coordinateSystem,n=t.get("polyline"),i=t.pipelineContext.large;function r(r,o){var a=[];if(i){var s,l=r.end-r.start;if(n){for(var h=0,u=r.start;u0){var M=a(_)?l:h;_>0&&(_=_*T+A),b[w++]=M[I],b[w++]=M[I+1],b[w++]=M[I+2],b[w++]=M[I+3]*_*256}else w+=4}return d.putImageData(x,0,0),c},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=t.createCanvas()),n=this.pointSize+this.blurSize,i=2*n;e.width=i,e.height=i;var r=e.getContext("2d");return r.clearRect(0,0,i,i),r.shadowOffsetX=i,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-n,n,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},_getGradient:function(t,e,n){for(var i=this._gradientPixels,r=i[n]||(i[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],a=0,s=0;s<256;s++)e[n](s/255,!0,o),r[a++]=o[0],r[a++]=o[1],r[a++]=o[2],r[a++]=o[3];return r}};var i=n;return t7=i,t7}function l7(){if(i7)return n7;i7=1;var t=zC,e=CD,n=s7(),i=NC;function r(t,e,n){var r=t[1]-t[0];e=i.map(e,(function(e){return{interval:[(e.interval[0]-t[0])/r,(e.interval[1]-t[0])/r]}}));var o=e.length,a=0;return function(t){for(var i=a;i=0;i--){r=e[i].interval;if(r[0]<=t&&t<=r[1]){a=i;break}}return i>=0&&i=e[0]&&t<=e[1]}}function a(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var s=t.extendChartView({type:"heatmap",render:function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):a(r)&&this._renderOnGeo(r,t,i,n)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,i){var r=e.coordinateSystem;r&&this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,n,r,o,a){var s,l,h=t.coordinateSystem;if("cartesian2d"===h.type){var u=h.getAxis("x"),c=h.getAxis("y");s=u.getBandWidth(),l=c.getBandWidth()}for(var d=this.group,g=t.getData(),f="itemStyle",p="emphasis.itemStyle",m="label",y="emphasis.label",v=t.getModel(f).getItemStyle(["color"]),_=t.getModel(p).getItemStyle(),x=t.getModel(m),b=t.getModel(y),w=h.type,S="cartesian2d"===w?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],A=r;A0?1:a<0?-1:0}function m(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function y(t,n,i,r,o,s,l,h,u,c){var d=u.valueDim,g=u.categoryDim,f=Math.abs(i[g.wh]),p=t.getItemVisual(n,"symbolSize");e.isArray(p)?p=p.slice():(null==p&&(p="100%"),p=[p,p]),p[g.index]=a(p[g.index],f),p[d.index]=a(p[d.index],r?f:Math.abs(s)),c.symbolSize=p;var m=c.symbolScale=[p[0]/h,p[1]/h];m[d.index]*=(u.isHorizontal?-1:1)*l}function v(t,e,n,i,r){var o=t.get(u)||0;o&&(d.attr({scale:e.slice(),rotation:n}),d.updateTransform(),o/=d.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o}function _(t,n,i,r,o,l,h,u,c,d,g,f){var p=g.categoryDim,m=g.valueDim,y=f.pxSign,v=Math.max(n[m.index]+u,0),_=v;if(r){var x=Math.abs(c),b=e.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=a(b,n[m.index]);var S=Math.max(v+2*b,0),A=w?0:2*b,C=s(r),T=C?r:O((x+A)/S),I=x-T*v;b=I/2/(w?T:T-1),S=v+2*b,A=w?0:2*b,!C&&"fixed"!==r&&(T=d?O((Math.abs(d)+A)/S):0),_=T*S-A,f.repeatTimes=T,f.symbolMargin=b}var M=y*(_/2),E=f.pathPosition=[];E[p.index]=i[p.wh]/2,E[m.index]="start"===h?M:"end"===h?c-M:c/2,l&&(E[0]+=l[0],E[1]+=l[1]);var z=f.bundlePosition=[];z[p.index]=i[p.xy],z[m.index]=i[m.xy];var P=f.barRectShape=e.extend({},i);P[m.wh]=y*Math.max(Math.abs(i[m.wh]),Math.abs(E[m.index]+M)),P[p.wh]=i[p.wh];var L=f.clipShape={};L[p.xy]=-i[p.xy],L[p.wh]=g.ecSize[p.wh],L[m.xy]=0,L[m.wh]=i[m.wh]}function x(t){var e=t.symbolPatternSize,n=r(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function b(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,h=n.repeatTimes||0,u=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(k(t,(function(t){t.__pictorialAnimationIndex=u,t.__pictorialRepeatTimes=h,u0:i<0)&&(r=h-1-t),e[l.index]=c*(r-h/2+.5)+s[l.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function p(){k(t,(function(t){t.trigger("emphasis")}))}function m(){k(t,(function(t){t.trigger("normal")}))}}function w(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;function a(){this.trigger("emphasis")}function s(){this.trigger("normal")}o?R(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,i):(o=t.__pictorialMainPath=x(n),r.add(o),R(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,i),o.on("mouseover",a).on("mouseout",s)),M(o,n)}function S(t,i,r){var o=e.extend({},i.barRectShape),a=t.__pictorialBarRect;a?R(a,null,{shape:o},i,r):(a=t.__pictorialBarRect=new n.Rect({z2:2,shape:o,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(a))}function A(t,i,r,o){if(r.symbolClip){var a=t.__pictorialClipPath,s=e.extend({},r.clipShape),l=i.valueDim,h=r.animationModel,u=r.dataIndex;if(a)n.updateProps(a,{shape:s},h,u);else{s[l.wh]=0,a=new n.Rect({shape:s}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var c={};c[l.wh]=r.clipShape[l.wh],n[o?"updateProps":"initProps"](a,{shape:c},h,u)}}}function C(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=T,n.isAnimationEnabled=I,n}function T(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function M(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function E(t,e,i,r){var o=new n.Group,a=new n.Group;return o.add(a),o.__pictorialBundle=a,a.attr("position",i.bundlePosition.slice()),i.symbolRepeat?b(o,e,i):w(o,e,i),S(o,i,r),A(o,e,i,r),o.__pictorialShapeStr=L(t,i),o.__pictorialSymbolMeta=i,o}function z(t,e,i){var r=i.animationModel,o=i.dataIndex,a=t.__pictorialBundle;n.updateProps(a,{position:i.bundlePosition.slice()},r,o),i.symbolRepeat?b(t,e,i,!0):w(t,e,i,!0),S(t,i,!0),A(t,e,i,!0)}function P(t,i,r,o){var a=o.__pictorialBarRect;a&&(a.style.text=null);var s=[];k(o,(function(t){s.push(t)})),o.__pictorialMainPath&&s.push(o.__pictorialMainPath),o.__pictorialClipPath&&(r=null),e.each(s,(function(t){n.updateProps(t,{scale:[0,0]},r,i,(function(){o.parent&&o.parent.remove(o)}))})),t.setItemGraphicEl(i,null)}function L(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function k(t,n,i){e.each(t.__pictorialBundle.children(),(function(e){e!==t.__pictorialBarRect&&n.call(i,e)}))}function R(t,e,i,r,o,a){e&&t.attr(e),r.symbolClip&&!o?i&&t.attr(i):i&&n[o?"updateProps":"initProps"](t,i,r.animationModel,r.dataIndex,a)}function D(t,i,r){var o=r.color,a=r.dataIndex,s=r.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");k(t,(function(t){t.setColor(o),t.setStyle(e.defaults({fill:o,opacity:r.opacity},l)),n.setHoverStyle(t,u),c&&(t.cursor=c),t.z2=r.z2}));var d={},g=i.valueDim.posDesc[+(r.boundingLength>0)],f=t.__pictorialBarRect;h(f.style,d,s,o,i.seriesModel,a,g),n.setHoverStyle(f,d)}function O(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var j=g;return d7=j,d7}function v7(){if(f7)return p7;f7=1;var t=zC,e=NC;KQ(),m7(),y7();var n=mJ(),i=n.layout,r=SQ();return x$(),t.registerLayout(e.curry(i,"pictorialBar")),t.registerVisual(r("pictorialBar","roundRect")),p7}var _7,x7,b7,w7,S7,A7={},C7={},T7={};function I7(){if(x7)return _7;x7=1;var t=NC,e=GJ(),n=function(t,n,i,r,o){e.call(this,t,n,i),this.type=r||"value",this.position=o||"bottom",this.orient=null};n.prototype={constructor:n,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},t.inherits(n,e);var i=n;return _7=i,_7}function M7(){if(w7)return b7;w7=1;var t=I7(),e=_J(),n=JG,i=n.getLayoutRect,r=NC,o=r.each;function a(t,e,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(t,e,n),this.model=t}a.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:a,_init:function(n,i,r){var o=this.dimension,a=new t(o,e.createScaleByModel(n),[0,0],n.get("type"),n.get("position")),s="category"===a.type;a.onBand=s&&n.get("boundaryGap"),a.inverse=n.get("inverse"),a.orient=n.get("orient"),n.axis=a,a.model=n,a.coordinateSystem=this,this._axis=a},update:function(t,n){t.eachSeries((function(t){if(t.coordinateSystem===this){var n=t.getData();o(n.mapDimension(this.dimension,!0),(function(t){this._axis.scale.unionExtentFromData(n,t)}),this),e.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(t,e){this._rect=i({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()},getRect:function(){return this._rect},_adjustAxis:function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},_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}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(t){var e=this.getRect(),n=this.getAxis(),i=n.orient;return"horizontal"===i?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},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},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}};var s=a;return b7=s,b7}function E7(){if(S7)return T7;S7=1;var t=M7(),e=qW;function n(e,n){var i=[];return e.eachComponent("singleAxis",(function(r,o){var a=new t(r,e,n);a.name="single_"+o,a.resize(r,n),r.coordinateSystem=a,i.push(a)})),e.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=n&&n.coordinateSystem}})),i}return e.register("single",{create:n,dimensions:t.prototype.dimensions}),T7}var z7,P7,L7,k7,R7,D7={};function O7(){if(z7)return D7;z7=1;var t=NC;function e(e,n){n=n||{};var i=e.coordinateSystem,r=e.axis,o={},a=r.position,s=r.orient,l=i.getRect(),h=[l.x,l.x+l.width,l.y,l.y+l.height],u={horizontal:{top:h[2],bottom:h[3]},vertical:{left:h[0],right:h[1]}};o.position=["vertical"===s?u.vertical[a]:h[0],"horizontal"===s?u.horizontal[a]:h[3]];var c={horizontal:0,vertical:1};o.rotation=Math.PI/2*c[s];var d={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=d[a],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),t.retrieve(n.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var g=n.rotate;return null==g&&(g=e.get("axisLabel.rotate")),o.labelRotation="top"===a?-g:g,o.z2=1,o}return D7.layout=e,D7}function j7(){if(L7)return P7;L7=1;var t=NC,e=e$(),n=CD,i=O7(),r=s$(),o=y$(),a=o.rectCoordAxisBuildSplitArea,s=o.rectCoordAxisHandleRemove,l=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine"],u=r.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(r,o,a,s){var c=this.group;c.removeAll();var d=this._axisGroup;this._axisGroup=new n.Group;var g=i.layout(r),f=new e(r,g);t.each(l,f.add,f),c.add(this._axisGroup),c.add(f.getGroup()),t.each(h,(function(t){r.get(t+".show")&&this["_"+t](r)}),this),n.groupTransition(d,this._axisGroup,r),u.superCall(this,"render",r,o,a,s)},remove:function(){s(this)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var i=t.getModel("splitLine"),r=i.getModel("lineStyle"),o=r.get("width"),a=r.get("color");a=a instanceof Array?a:[a];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),h=[],u=0,c=e.getTicksCoords({tickModel:i}),d=[],g=[],f=0;f=0&&l<0)&&(s=p,l=f,r=u,a.length=0),o(c,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:r}}function c(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function d(t,e,n,r){var o=n.payloadBatch,a=e.axis,s=a.model,l=e.axisPointerModel;if(e.triggerTooltip&&o.length){var h=e.coordSys.model,u=i.makeKey(h),c=t.map[u];c||(c=t.map[u]={coordSysId:h.id,coordSysIndex:h.componentIndex,coordSysType:h.type,coordSysMainType:h.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:a.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:r,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:o.slice()})}}function g(t,e,n){var i=n.axesInfo=[];o(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})}))}function f(t,e,n,i){if(!v(e)&&t.list.length){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})}else i({type:"hideTip"})}function p(e,n,i){var r=i.getZr(),a="axisPointerLastHighlights",l=s(r)[a]||{},h=s(r)[a]={};o(e,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&o(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;h[e]=t}))}));var u=[],c=[];t.each(l,(function(t,e){!h[e]&&c.push(t)})),t.each(h,(function(t,e){!l[e]&&u.push(t)})),c.length&&i.dispatchAction({type:"downplay",escapeConnect:!0,batch:c}),u.length&&i.dispatchAction({type:"highlight",escapeConnect:!0,batch:u})}function m(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}}function y(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 v(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}return G7=l,G7}function Y7(){if(W7)return q7;W7=1;var t=zC,e=t.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},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}}}),n=e;return q7=n,q7}var X7,K7,J7,Q7,$7,t9={};function e9(){if(X7)return t9;X7=1;var t=NC,e=FC,n=PR,i=n.makeInner,r=i(),o=t.each;function a(t,n,i){if(!e.node){var o=n.getZr();r(o).records||(r(o).records={}),s(o,n);var a=r(o).records[t]||(r(o).records[t]={});a.handler=i}}function s(e,n){function i(t,i){e.on(t,(function(t){var a=c(n);o(r(e).records,(function(e){e&&i(e,t,a.dispatchAction)})),l(a.pendings,n)}))}r(e).initialized||(r(e).initialized=!0,i("click",t.curry(u,"click")),i("mousemove",t.curry(u,"mousemove")),i("globalout",h))}function l(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))}function h(t,e,n){t.handler("leave",null,n)}function u(t,e,n,i){e.handler(t,n,i)}function c(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}}function d(t,n){if(!e.node){var i=n.getZr(),o=(r(i).records||{})[t];o&&(r(i).records[t]=null)}}return t9.register=a,t9.unregister=d,t9}function n9(){if(J7)return K7;J7=1;var t=zC,e=e9(),n=t.extendComponentView({type:"axisPointer",render:function(t,n,i){var r=n.getComponent("tooltip"),o=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";e.register("axisPointer",i,(function(t,e,n){"none"!==o&&("leave"===t||o.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,i){e.unregister(i.getZr(),"axisPointer"),n.superApply(this._model,"remove",arguments)},dispose:function(t,i){e.unregister("axisPointer",i),n.superApply(this._model,"dispose",arguments)}}),i=n;return K7=i,K7}function i9(){if($7)return Q7;$7=1;var t=NC,e=iD,n=CD,i=a$(),r=JT,o=HZ,a=PR,s=a.makeInner,l=s(),h=t.clone,u=t.bind;function c(){}function d(t,e,i,r){g(l(i).lastProp,r)||(l(i).lastProp=r,e?n.updateProps(i,r,t):(i.stopAnimation(),i.attr(r)))}function g(e,n){if(t.isObject(e)&&t.isObject(n)){var i=!0;return t.each(n,(function(t,n){i=i&&g(e[n],t)})),!!i}return e===n}function f(t,e){t[e.get("label.show")?"show":"hide"]()}function p(t){return{position:t.position.slice(),rotation:t.rotation||0}}function m(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)}))}c.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,i,r,o){var a=i.get("value"),s=i.get("status");if(this._axisModel=e,this._axisPointerModel=i,this._api=r,o||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,h=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(h&&h.hide());l&&l.show(),h&&h.show();var u={};this.makeElOption(u,a,e,i,r);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=c;var g=this._moveAnimation=this.determineAnimation(e,i);if(l){var f=t.curry(d,i,g);this.updatePointerEl(l,u,f,i),this.updateLabelEl(l,u,f,i)}else l=this._group=new n.Group,this.createPointerEl(l,u,e,i),this.createLabelEl(l,u,e,i),r.getZr().add(l);m(l,i,!0),this._renderHandle(a)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),r=t.axis,o="category"===r.type,a=e.get("snap");if(!a&&!o)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(o&&r.getBandWidth()>s)return!0;if(a){var l=i.getAxisInfo(t).seriesDataCount,h=r.getExtent();return Math.abs(h[0]-h[1])/l>s}return!1}return!0===n},makeElOption:function(t,e,n,i,r){},createPointerEl:function(t,e,i,r){var o=e.pointer;if(o){var a=l(t).pointerEl=new n[o.type](h(e.pointer));t.add(a)}},createLabelEl:function(t,e,i,r){if(e.label){var o=l(t).labelEl=new n.Rect(h(e.label));t.add(o),f(o,r)}},updatePointerEl:function(t,e,n){var i=l(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){var r=l(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{shape:e.label.shape,position:e.label.position}),f(r,i))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var i,a=this._axisPointerModel,s=this._api.getZr(),l=this._handle,h=a.getModel("handle"),c=a.get("status");if(!h.get("show")||!c||"hide"===c)return l&&s.remove(l),void(this._handle=null);this._handle||(i=!0,l=this._handle=n.createIcon(h.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){r.stop(t.event)},onmousedown:u(this._onHandleDragMove,this,0,0),drift:u(this._onHandleDragMove,this),ondragend:u(this._onHandleDragEnd,this)}),s.add(l)),m(l,a,!1);var d=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];l.setStyle(h.getItemStyle(null,d));var g=h.get("size");t.isArray(g)||(g=[g,g]),l.attr("scale",[g[0]/2,g[1]/2]),o.createOrUpdate(this,"_doDispatchAxisPointer",h.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,i)}},_moveHandleToValue:function(t,e){d(this._axisPointerModel,!e&&this._moveAnimation,this._handle,p(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(p(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(p(i)),l(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},_onHandleDragEnd:function(t){this._dragging=!1;var e=this._handle;if(e){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,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)},doClear:function(){},buildLabel:function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}},c.prototype.constructor=c,e.enableClassExtend(c);var y=c;return Q7=y,Q7}var r9,o9,a9,s9,l9,h9,u9,c9,d9,g9,f9,p9,m9,y9,v9,_9,x9={};function b9(){if(r9)return x9;r9=1;var t=NC,e=CD,n=dP,i=nV(),r=eM(),o=_J(),a=e$();function s(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle(),e.fill=null):"shadow"===n&&(e=i.getAreaStyle(),e.stroke=null),e}function l(t,e,r,o,a){var s=r.get("value"),l=u(s,e.axis,e.ecModel,r.get("seriesDataIndices"),{precision:r.get("label.precision"),formatter:r.get("label.formatter")}),c=r.getModel("label"),d=i.normalizeCssArray(c.get("padding")||0),g=c.getFont(),f=n.getBoundingRect(l,g),p=a.position,m=f.width+d[1]+d[3],y=f.height+d[0]+d[2],v=a.align;"right"===v&&(p[0]-=m),"center"===v&&(p[0]-=m/2);var _=a.verticalAlign;"bottom"===_&&(p[1]-=y),"middle"===_&&(p[1]-=y/2),h(p,m,y,o);var x=c.get("backgroundColor");(!x||"auto"===x)&&(x=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:m,height:y,r:c.get("borderRadius")},position:p.slice(),style:{text:l,textFont:g,textFill:c.getTextColor(),textPosition:"inside",textPadding:d,fill:x,stroke:c.get("borderColor")||"transparent",lineWidth:c.get("borderWidth")||0,shadowBlur:c.get("shadowBlur"),shadowColor:c.get("shadowColor"),shadowOffsetX:c.get("shadowOffsetX"),shadowOffsetY:c.get("shadowOffsetY")},z2:10}}function h(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)}function u(e,n,i,r,a){e=n.scale.parse(e);var s=n.scale.getLabel(e,{precision:a.precision}),l=a.formatter;if(l){var h={value:o.getAxisRawValue(n,e),axisDimension:n.dim,axisIndex:n.index,seriesData:[]};t.each(r,(function(t){var e=i.getSeriesByIndex(t.seriesIndex),n=t.dataIndexInside,r=e&&e.getDataParams(n);r&&h.seriesData.push(r)})),t.isString(l)?s=l.replace("{value}",s):t.isFunction(l)&&(s=l(h))}return s}function c(t,n,i){var o=r.create();return r.rotate(o,o,i.rotation),r.translate(o,o,i.position),e.applyTransform([t.dataToCoord(n),(i.labelOffset||0)+(i.labelDirection||1)*(i.labelMargin||0)],o)}function d(t,e,n,i,r,o){var s=a.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get("label.margin"),l(e,i,r,o,{position:c(i.axis,t,n),align:s.textAlign,verticalAlign:s.textVerticalAlign})}function g(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function f(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function p(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}return x9.buildElStyle=s,x9.buildLabelElOption=l,x9.getValueLabel=u,x9.getTransformedPosition=c,x9.buildCartesianSingleLabelElOption=d,x9.makeLineShape=g,x9.makeRectShape=f,x9.makeSectorShape=p,x9}function w9(){if(a9)return o9;a9=1;var t=i9(),e=b9(),n=u$(),i=s$(),r=t.extend({makeElOption:function(t,i,r,s,l){var h=r.axis,u=h.grid,c=s.get("type"),d=o(u,h).getOtherAxis(h).getGlobalExtent(),g=h.toGlobalCoord(h.dataToCoord(i,!0));if(c&&"none"!==c){var f=e.buildElStyle(s),p=a[c](h,g,d);p.style=f,t.graphicKey=p.type,t.pointer=p}var m=n.layout(u.model,r);e.buildCartesianSingleLabelElOption(i,t,m,r,s,l)},getHandleTransform:function(t,i,r){var o=n.layout(i.axis.grid.model,i,{labelInside:!1});return o.labelMargin=r.get("handle.margin"),{position:e.getTransformedPosition(i.axis,t,o),rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var r=n.axis,a=r.grid,s=r.getGlobalExtent(!0),l=o(a,r).getOtherAxis(r).getGlobalExtent(),h="x"===r.dim?0:1,u=t.position;u[h]+=e[h],u[h]=Math.min(s[1],u[h]),u[h]=Math.max(s[0],u[h]);var c=(l[1]+l[0])/2,d=[c,c];d[h]=u[h];var g=[{verticalAlign:"middle"},{align:"center"}];return{position:u,rotation:t.rotation,cursorPoint:d,tooltipOption:g[h]}}});function o(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var a={line:function(t,n,i){var r=e.makeLineShape([n,i[0]],[n,i[1]],s(t));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(t,n,i){var r=Math.max(1,t.getBandWidth()),o=i[1]-i[0];return{type:"Rect",shape:e.makeRectShape([n-r/2,i[0]],[r,o],s(t))}}};function s(t){return"x"===t.dim?0:1}i.registerAxisPointerClass("CartesianAxisPointer",r);var l=r;return o9=l,o9}function S9(){if(s9)return U7;s9=1;var t=zC,e=NC,n=a$(),i=Z7();return Y7(),n9(),w9(),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var n=t.axisPointer.link;n&&!e.isArray(n)&&(t.axisPointer.link=[n])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=n.collect(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},i),U7}function A9(){if(h9)return l9;h9=1;var t=i9(),e=b9(),n=O7(),i=s$(),r=["x","y"],o=["width","height"],a=t.extend({makeElOption:function(t,i,r,o,a){var u=r.axis,c=u.coordinateSystem,d=h(c,1-l(u)),g=c.dataToPoint(i)[0],f=o.get("type");if(f&&"none"!==f){var p=e.buildElStyle(o),m=s[f](u,g,d);m.style=p,t.graphicKey=m.type,t.pointer=m}var y=n.layout(r);e.buildCartesianSingleLabelElOption(i,t,y,r,o,a)},getHandleTransform:function(t,i,r){var o=n.layout(i,{labelInside:!1});return o.labelMargin=r.get("handle.margin"),{position:e.getTransformedPosition(i.axis,t,o),rotation:o.rotation+(o.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=l(r),s=h(o,a),u=t.position;u[a]+=e[a],u[a]=Math.min(s[1],u[a]),u[a]=Math.max(s[0],u[a]);var c=h(o,1-a),d=(c[1]+c[0])/2,g=[d,d];return g[a]=u[a],{position:u,rotation:t.rotation,cursorPoint:g,tooltipOption:{verticalAlign:"middle"}}}}),s={line:function(t,n,i){var r=e.makeLineShape([n,i[0]],[n,i[1]],l(t));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(t,n,i){var r=t.getBandWidth(),o=i[1]-i[0];return{type:"Rect",shape:e.makeRectShape([n-r/2,i[0]],[r,o],l(t))}}};function l(t){return t.isHorizontal()?0:1}function h(t,e){var n=t.getRect();return[n[r[e]],n[r[e]]+n[o[e]]]}i.registerAxisPointerClass("SingleAxisPointer",a);var u=a;return l9=u,l9}function C9(){if(u9)return C7;u9=1;var t=zC;return E7(),j7(),F7(),S9(),A9(),t.extendComponentView({type:"single"}),C7}function T9(){if(d9)return c9;d9=1;var t=gZ,e=DK(),n=PK(),i=n.getDimensionTypeByAxis,r=kK(),o=NC,a=PR,s=a.groupData,l=nV(),h=l.encodeHTML,u=g2(),c=2,d=t.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){d.superApply(this,"init",arguments),this.legendVisualProvider=new u(o.bind(this.getData,this),o.bind(this.getRawData,this))},fixData:function(t){var e=t.length,n={},i=s(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;ao&&(o=h),i.push(h)}for(var u=0;uo&&(o=d)}return a.y0=r,a.max=o,a}return p9=n,p9}function E9(){if(v9)return y9;v9=1;var t=NC,e=t.createHashMap;function n(t){t.eachSeriesByType("themeRiver",(function(t){var n=t.getData(),i=t.getRawData(),r=t.get("color"),o=e();n.each((function(t){o.set(n.getRawIndex(t),t)})),i.each((function(e){var a=i.getName(e),s=r[(t.nameMap.get(a)-1)%r.length];i.setItemVisual(e,"color",s);var l=o.get(e);null!=l&&n.setItemVisual(l,"color",s)}))}))}return y9=n,y9}function z9(){if(_9)return A7;_9=1;var t=zC;C9(),T9(),I9();var e=M9(),n=E9(),i=x2();return t.registerLayout(e),t.registerVisual(n),t.registerProcessor(i("themeRiver")),A7}var P9,L9,k9,R9,D9,O9,j9={};function F9(){if(L9)return P9;L9=1;var t=NC,e=gZ,n=O3(),i=GG(),r=l1(),o=r.wrapTreePathInfo,a=e.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,r){var o={name:e.name,children:e.data};s(o);var a=t.map(e.levels||[],(function(t){return new i(t,this,r)}),this),l=n.createTree(o,this,h);function h(t){t.wrapMethod("getItemModel",(function(t,e){var n=l.getNodeByDataIndex(e),i=a[n.depth];return i&&(t.parentModel=i),t}))}return l.data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var n=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=o(i,this),n},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",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},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},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)}});function s(e){var n=0;t.each(e.children,(function(e){s(e);var i=e.value;t.isArray(i)&&(i=i[0]),n+=i}));var i=e.value;t.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=n),i<0&&(i=0),t.isArray(e.value)?e.value[0]=i:e.value=i}return P9=a,P9}function N9(){if(R9)return k9;R9=1;var t=NC,e=CD,n={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},i=2,r=4;function o(t,n,o){e.Group.call(this);var a=new e.Sector({z2:i});a.seriesIndex=n.seriesIndex;var s=new e.Text({z2:r,silent:t.getModel("label").get("silent")});function l(){s.ignore=s.hoverIgnore}function h(){s.ignore=s.normalIgnore}this.add(a),this.add(s),this.updateData(!0,t,"normal",n,o),this.on("emphasis",l).on("normal",h).on("mouseover",l).on("mouseout",h)}var a=o.prototype;a.updateData=function(n,i,r,o,a){this.node=i,i.piece=this,o=o||this._seriesModel,a=a||this._ecModel;var s=this.childAt(0);s.dataIndex=i.dataIndex;var h=i.getModel(),u=i.getLayout(),d=t.extend({},u);d.label=null;var g=l(i,o,a);c(i,o,g);var f,p=h.getModel("itemStyle").getItemStyle();if("normal"===r)f=p;else{var m=h.getModel(r+".itemStyle").getItemStyle();f=t.merge(m,p)}f=t.defaults({lineJoin:"bevel",fill:f.fill||g},f),n?(s.setShape(d),s.shape.r=u.r0,e.updateProps(s,{shape:{r:u.r}},o,i.dataIndex),s.useStyle(f)):"object"==typeof f.fill&&f.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(e.updateProps(s,{shape:d},o),s.useStyle(f)):e.updateProps(s,{shape:d,style:f},o),this._updateLabel(o,g,r);var y=h.getShallow("cursor");if(y&&s.attr("cursor",y),n){var v=o.getShallow("highlightPolicy");this._initEvents(s,i,o,v)}this._seriesModel=o||this._seriesModel,this._ecModel=a||this._ecModel,e.setHoverStyle(this)},a.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode((function(i){i.piece&&(e.node===i?i.piece.updateData(!1,i,"emphasis"):u(i,e.node,t)?i.piece.childAt(0).trigger("highlight"):t!==n.NONE&&i.piece.childAt(0).trigger("downplay"))}))},a.onNormal=function(){this.node.hostTree.root.eachNode((function(t){t.piece&&t.piece.updateData(!1,t,"normal")}))},a.onHighlight=function(){this.updateData(!1,this.node,"highlight")},a.onDownplay=function(){this.updateData(!1,this.node,"downplay")},a._updateLabel=function(n,i,r){var o=this.node.getModel(),a=o.getModel("label"),s="normal"===r||"emphasis"===r?a:o.getModel(r+".label"),l=o.getModel("emphasis.label"),h=s.get("formatter"),u=h?r:"normal",c=t.retrieve(n.getFormattedLabel(this.node.dataIndex,u,null,null,"label"),this.node.name);!1===I("show")&&(c="");var d=this.node.getLayout(),g=s.get("minAngle");null==g&&(g=a.get("minAngle")),g=g/180*Math.PI;var f=d.endAngle-d.startAngle;null!=g&&Math.abs(f)Math.PI/2?"right":"left"):w&&"center"!==w?"left"===w?(m=d.r0+b,y>Math.PI/2&&(w="right")):"right"===w&&(m=d.r-b,y>Math.PI/2&&(w="left")):(m=(d.r+d.r0)/2,w="center"),p.attr("style",{text:c,textAlign:w,textVerticalAlign:I("verticalAlign")||"middle",opacity:I("opacity")});var S=m*v+d.cx,A=m*_+d.cy;p.attr("position",[S,A]);var C=I("rotate"),T=0;function I(t){var e=s.get(t);return null==e?a.get(t):e}"radial"===C?(T=-y,T<-Math.PI/2&&(T+=Math.PI)):"tangential"===C?(T=Math.PI/2-y,T>Math.PI/2?T-=Math.PI:T<-Math.PI/2&&(T+=Math.PI)):"number"==typeof C&&(T=C*Math.PI/180),p.attr("rotation",T)},a._initEvents=function(t,e,n,i){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this,o=function(){r.onEmphasis(i)},a=function(){r.onNormal()},s=function(){r.onDownplay()},l=function(){r.onHighlight()};n.isAnimationEnabled()&&t.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",s).on("highlight",l)},t.inherits(o,e.Group);var s=o;function l(t,e,n){var i=t.getVisual("color"),r=t.getVisual("visualMeta");(!r||0===r.length)&&(i=null);var o=t.getModel("itemStyle").get("color");if(o)return o;if(i)return i;if(0===t.depth)return n.option.color[0];var a=n.option.color.length;return o=n.option.color[h(t)%a],o}function h(e){for(var n=e;n.depth>1;)n=n.parentNode;var i=e.getAncestors()[0];return t.indexOf(i.children,n)}function u(t,e,i){return i!==n.NONE&&(i===n.SELF?t===e:i===n.ANCESTOR?t===e||t.isAncestorOf(e):t===e||t.isDescendantOf(e))}function c(t,e,n){var i=e.getData();i.setItemVisual(t.dataIndex,"color",n)}return k9=s,k9}function B9(){if(O9)return D9;O9=1;var t=NC,e=UZ,n=N9(),i=xK(),r=nV(),o=r.windowOpen,a="sunburstRootToNode",s=e.extend({type:"sunburst",init:function(){},render:function(e,r,o,a){var s=this;this.seriesModel=e,this.api=o,this.ecModel=r;var l=e.getData(),h=l.tree.root,u=e.getViewRoot(),c=this.group,d=e.get("renderLabelForZeroData"),g=[];u.eachNode((function(t){g.push(t)}));var f=this._oldChildren||[];if(y(g,f),x(h,u),a&&a.highlight&&a.highlight.piece){var p=e.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(p)}else if(a&&a.unhighlight){var m=this.virtualPiece;!m&&h.children.length&&(m=h.children[0].piece),m&&m.onNormal()}function y(e,n){function r(t){return t.getId()}function o(t,i){var r=null==t?null:e[t],o=null==i?null:n[i];v(r,o)}0===e.length&&0===n.length||new i(n,e,r,r).add(o).update(o).remove(t.curry(o,null)).execute()}function v(t,i){if(!d&&t&&!t.getValue()&&(t=null),t!==h&&i!==h)if(i&&i.piece)t?(i.piece.updateData(!1,t,"normal",e,r),l.setItemGraphicEl(t.dataIndex,i.piece)):_(i);else if(t){var o=new n(t,e,r);c.add(o),l.setItemGraphicEl(t.dataIndex,o)}}function _(t){!t||t.piece&&(c.remove(t.piece),t.piece=null)}function x(t,i){if(i.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,t,"normal",e,r):(s.virtualPiece=new n(t,e,r),c.add(s.virtualPiece)),i.piece._onclickEvent&&i.piece.off("click",i.piece._onclickEvent);var o=function(t){s._rootToNode(i.parentNode)};i.piece._onclickEvent=o,s.virtualPiece.on("click",o)}else s.virtualPiece&&(c.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=g},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var n=!1,i=t.seriesModel.getViewRoot();i.eachNode((function(i){if(!n&&i.piece&&i.piece.childAt(0)===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var a=i.getModel(),s=a.get("link");if(s){var l=a.get("target",!0)||"_blank";o(s,l)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:a,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n=e.getData(),i=n.getItemLayout(0);if(i){var r=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}}}),l=s;return D9=l,D9}var G9,V9,q9,W9,U9={};function H9(){if(G9)return U9;G9=1;var t=zC,e=l1(),n="sunburstRootToNode";t.registerAction({type:n,update:"updateView"},(function(t,i){function r(i,r){var o=e.retrieveTargetInfo(t,[n],i);if(o){var a=i.getViewRoot();a&&(t.direction=e.aboveViewRoot(a,o.node)?"rollUp":"drillDown"),i.resetViewRoot(o.node)}}i.eachComponent({mainType:"series",subType:"sunburst",query:t},r)}));var i="sunburstHighlight";t.registerAction({type:i,update:"updateView"},(function(t,n){function r(n,r){var o=e.retrieveTargetInfo(t,[i],n);o&&(t.highlight=o.node)}n.eachComponent({mainType:"series",subType:"sunburst",query:t},r)}));var r="sunburstUnhighlight";return t.registerAction({type:r,update:"updateView"},(function(t,e){function n(e,n){t.unhighlight=!0}e.eachComponent({mainType:"series",subType:"sunburst",query:t},n)})),U9}function Z9(){if(q9)return V9;q9=1;var t=$G(),e=t.parsePercent,n=NC,i=Math.PI/180;function r(t,r,a,s){r.eachSeriesByType(t,(function(t){var r=t.get("center"),s=t.get("radius");n.isArray(s)||(s=[0,s]),n.isArray(r)||(r=[r,r]);var l=a.getWidth(),h=a.getHeight(),u=Math.min(l,h),c=e(r[0],l),d=e(r[1],h),g=e(s[0],u/2),f=e(s[1],u/2),p=-t.get("startAngle")*i,m=t.get("minAngle")*i,y=t.getData().tree.root,v=t.getViewRoot(),_=v.depth,x=t.get("sort");null!=x&&o(v,x);var b=0;n.each(v.children,(function(t){!isNaN(t.getValue())&&b++}));var w=v.getValue(),S=Math.PI/(w||b)*2,A=v.depth>0,C=v.height-(A?-1:1),T=(f-g)/(C||1),I=t.get("clockwise"),M=t.get("stillShowZeroSum"),E=I?1:-1,z=function(t,i){if(t){var r=i;if(t!==y){var o=t.getValue(),a=0===w&&M?S:o*S;ao[1]&&o.reverse(),{coordSys:{type:"polar",cx:n.cx,cy:n.cy,r:o[1],r0:o[0]},api:{coord:t.bind((function(t){var e=i.dataToRadius(t[0]),o=r.dataToAngle(t[1]),a=n.coordToPoint([e,o]);return a.push(e,o*Math.PI/180),a})),size:t.bind(e,n)}}}return ett=n,ett}function ctt(){if(rtt)return itt;function t(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)}}}}return rtt=1,itt=t,itt}function dtt(){if(ott)return att;ott=1;var t=NC,e=CD,n=$J(),i=n.getDefaultLabel,r=WK(),o=mJ(),a=o.getLayoutOnAxis,s=xK(),l=gZ,h=GG(),u=UZ,c=bQ(),d=c.createClipPath,g=stt(),f=ltt(),p=htt(),m=utt(),y=ctt(),v=e.CACHED_LABEL_STYLE_PROPERTIES,_=["itemStyle"],x=["emphasis","itemStyle"],b=["label"],w=["emphasis","label"],S="e\0\0",A={cartesian2d:g,geo:f,singleAxis:p,polar:m,calendar:y};function C(t){var n,i=t.type;if("path"===i){var r=t.shape,o=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,a=N(r);n=e.makePath(a,null,o,r.layout||"center"),n.__customPathData=a}else if("image"===i)n=new e.Image({}),n.__customImagePath=t.style.image;else if("text"===i)n=new e.Text({}),n.__customText=t.style.text;else if("group"===i)n=new e.Group;else{if("compoundPath"===i)throw new Error('"compoundPath" is not supported yet.');var s=e.getShapeClass(i);n=new s}return n.__customGraphicType=i,n.name=t.name,n}function T(n,i,r,o,a,s,l){var h={},u=r.style||{};if(r.shape&&(h.shape=t.clone(r.shape)),r.position&&(h.position=r.position.slice()),r.scale&&(h.scale=r.scale.slice()),r.origin&&(h.origin=r.origin.slice()),r.rotation&&(h.rotation=r.rotation),"image"===n.type&&r.style){var c=h.style={};t.each(["x","y","width","height"],(function(t){I(t,c,u,n.style,s)}))}if("text"===n.type&&r.style){c=h.style={};t.each(["x","y"],(function(t){I(t,c,u,n.style,s)})),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke)}if("group"!==n.type&&(n.useStyle(u),s)){n.style.opacity=0;var d=u.opacity;null==d&&(d=1),e.initProps(n,{style:{opacity:d}},o,i)}s?n.attr(h):e.updateProps(n,h,o,i),r.hasOwnProperty("z2")&&n.attr("z2",r.z2||0),r.hasOwnProperty("silent")&&n.attr("silent",r.silent),r.hasOwnProperty("invisible")&&n.attr("invisible",r.invisible),r.hasOwnProperty("ignore")&&n.attr("ignore",r.ignore),r.hasOwnProperty("info")&&n.attr("info",r.info);var g=r.styleEmphasis;e.setElementHoverStyle(n,g),l&&e.setAsHighDownDispatcher(n,!1!==g)}function I(t,e,n,i,r){null!=n[t]&&!r&&(e[t]=n[t],n[t]=i[t])}function M(n,r,o,s){var l=n.get("renderItem"),h=n.coordinateSystem,u={};h&&(u=h.prepareCustoms?h.prepareCustoms():A[h.type](h));var c,d,g,f,p,m=t.defaults({getWidth:s.getWidth,getHeight:s.getHeight,getZr:s.getZr,getDevicePixelRatio:s.getDevicePixelRatio,value:C,style:T,styleEmphasis:I,visual:M,barLayout:z,currentSeriesIndices:P,font:L},u.api||{}),y={context:{},seriesId:n.id,seriesName:n.name,seriesIndex:n.seriesIndex,coordSys:u.coordSys,dataInsideLength:r.count(),encode:E(n.getData())},v=!0;return function(e,n){return c=e,v=!0,l&&l(t.defaults({dataIndexInside:e,dataIndex:r.getRawIndex(e),actionType:n?n.type:null},y),m)};function S(t){null==t&&(t=c),v&&(d=r.getItemModel(t),g=d.getModel(b),f=d.getModel(w),p=r.getItemVisual(t,"color"),v=!1)}function C(t,e){return null==e&&(e=c),r.get(r.getDimension(t||0),e)}function T(o,a){null==a&&(a=c),S(a);var s=d.getModel(_).getItemStyle();null!=p&&(s.fill=p);var l=r.getItemVisual(a,"opacity");null!=l&&(s.opacity=l);var h=o?O(o,g):g;return e.setTextStyle(s,h,null,{autoColor:p,isRectText:!0}),s.text=h.getShallow("show")?t.retrieve2(n.getFormattedLabel(a,"normal"),i(r,a)):null,o&&j(s,o),s}function I(o,a){null==a&&(a=c),S(a);var s=d.getModel(x).getItemStyle(),l=o?O(o,f):f;return e.setTextStyle(s,l,null,{isRectText:!0},!0),s.text=l.getShallow("show")?t.retrieve3(n.getFormattedLabel(a,"emphasis"),n.getFormattedLabel(a,"normal"),i(r,a)):null,o&&j(s,o),s}function M(t,e){return null==e&&(e=c),r.getItemVisual(e,t)}function z(e){if(h.getBaseAxis){var n=h.getBaseAxis();return a(t.defaults({axis:n},e),s)}}function P(){return o.getCurrentSeriesIndices()}function L(t){return e.getFont(t,o)}}function E(e){var n={};return t.each(e.dimensions,(function(t,i){var r=e.getDimensionInfo(t);if(!r.isExtraCoord){var o=r.coordDim,a=n[o]=n[o]||[];a[r.coordDimIndex]=i}})),n}function z(t,e,n,i,r,o){return t=P(t,e,n,i,r,o,!0),t&&o.setItemGraphicEl(e,t),t}function P(t,e,n,i,r,o,a){var s=!n;n=n||{};var l=n.type,h=n.shape,u=n.style;if(t&&(s||null!=l&&l!==t.__customGraphicType||"path"===l&&B(h)&&N(h)!==t.__customPathData||"image"===l&&G(u,"image")&&u.image!==t.__customImagePath||"text"===l&&G(h,"text")&&u.text!==t.__customText)&&(r.remove(t),t=null),!s){var c=!t;return!t&&(t=C(n)),T(t,e,n,i,o,c,a),"group"===l&&L(t,e,n,i,o),r.add(t),t}}function L(t,e,n,i,r){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,h=!1===s;if(a||l||h){if(l)return void k({oldChildren:t.children()||[],newChildren:o||[],dataIndex:e,animatableModel:i,group:t,data:r});h&&t.removeAll();for(var u=0;u=0?"p":"n",k=S;if(b&&(s[u][P]||(s[u][P]={p:S,n:S}),k=s[u][P][L]),"radius"===f.dim){var R=f.dataToRadius(z)-S,D=i.dataToAngle(P);Math.abs(R)g?g=p:(f.lastTickCount=a,f.lastAutoInterval=g),g}},t.inherits(a,n);var s=a;return wtt=s,wtt}function Ett(){if(Ctt)return Att;Ctt=1;var t=Itt(),e=Mtt(),n=function(n){this.name=n||"",this.cx=0,this.cy=0,this._radiusAxis=new t,this._angleAxis=new e,this._radiusAxis.polar=this._angleAxis.polar=this};n.prototype={type:"polar",axisPointerEnabled:!0,constructor:n,dimensions:["radius","angle"],model:null,containPoint:function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},containData:function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},getAxis:function(t){return this["_"+t+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},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},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},dataToPoint:function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},pointToData:function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},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,h=la;)l+=360*h;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI,i=Math.cos(n)*e+this.cx,r=-Math.sin(n)*e+this.cy;return[i,r]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var i=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}}};var i=n;return Att=i,Att}var ztt,Ptt,Ltt,ktt,Rtt={};function Dtt(){if(ztt)return Rtt;ztt=1;var t=NC,e=FV,n=ZQ(),i=xJ(),r=e.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});t.merge(r.prototype,i);var o={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function a(t,e){return e.type||(e.data?"category":"value")}return n("angle",r,a,o.angle),n("radius",r,a,o.radius),Rtt}function Ott(){if(Ltt)return Ptt;Ltt=1;var t=zC;Dtt();var e=t.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e,n=this.ecModel;return n.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});return Ptt=e,Ptt}function jtt(){if(ktt)return Ttt;ktt=1;var t=NC,e=Ett(),n=$G(),i=n.parsePercent,r=_J(),o=r.createScaleByModel,a=r.niceScaleExtent,s=qW,l=qK(),h=l.getStackedDimension;function u(e,n,r){var o=n.get("center"),a=r.getWidth(),s=r.getHeight();e.cx=i(o[0],a),e.cy=i(o[1],s);var l=e.getRadiusAxis(),h=Math.min(a,s)/2,u=n.get("radius");null==u?u=[0,"100%"]:t.isArray(u)||(u=[0,u]),u=[i(u[0],h),i(u[1],h)],l.inverse?l.setExtent(u[1],u[0]):l.setExtent(u[0],u[1])}function c(e,n){var i=this,r=i.getAngleAxis(),o=i.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===i){var n=e.getData();t.each(n.mapDimension("radius",!0),(function(t){o.scale.unionExtentFromData(n,h(n,t))})),t.each(n.mapDimension("angle",!0),(function(t){r.scale.unionExtentFromData(n,h(n,t))}))}})),a(r.scale,r.model),a(o.scale,o.model),"category"===r.type&&!r.onBand){var s=r.getExtent(),l=360/r.scale.count();r.inverse?s[1]+=l:s[1]-=l,r.setExtent(s[0],s[1])}}function d(t,e){if(t.type=e.get("type"),t.scale=o(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}Ott();var g={dimensions:e.prototype.dimensions,create:function(t,n){var i=[];return t.eachComponent("polar",(function(t,r){var o=new e(r);o.update=c;var a=o.getRadiusAxis(),s=o.getAngleAxis(),l=t.findAxisModel("radiusAxis"),h=t.findAxisModel("angleAxis");d(a,l),d(s,h),u(o,t,n),i.push(o),t.coordinateSystem=o,o.model=t})),t.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=n.coordinateSystem}})),i}};return s.register("polar",g),Ttt}var Ftt,Ntt,Btt,Gtt={};function Vtt(){if(Ntt)return Ftt;Ntt=1;var t=NC,e=CD,n=GG(),i=s$(),r=e$(),o=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function a(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 s(t){var e=t.getRadiusAxis();return e.inverse?0:1}function l(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 h=i.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,n){if(this.group.removeAll(),e.get("show")){var i=e.axis,r=i.polar,a=r.getRadiusAxis().getExtent(),s=i.getTicksCoords(),h=i.getMinorTicksCoords(),u=t.map(i.getViewLabels(),(function(e){e=t.clone(e);return e.coord=i.dataToCoord(e.tickValue),e}));l(u),l(s),t.each(o,(function(t){e.get(t+".show")&&(!i.scale.isBlank()||"axisLine"===t)&&this["_"+t](e,r,s,h,a,u)}),this)}},_axisLine:function(t,n,i,r,o){var a,l=t.getModel("axisLine.lineStyle"),h=s(n),u=h?0:1;a=0===o[u]?new e.Circle({shape:{cx:n.cx,cy:n.cy,r:o[h]},style:l.getLineStyle(),z2:1,silent:!0}):new e.Ring({shape:{cx:n.cx,cy:n.cy,r:o[h],r0:o[u]},style:l.getLineStyle(),z2:1,silent:!0}),a.style.fill=null,this.group.add(a)},_axisTick:function(n,i,r,o,l){var h=n.getModel("axisTick"),u=(h.get("inside")?-1:1)*h.get("length"),c=l[s(i)],d=t.map(r,(function(t){return new e.Line({shape:a(i,[c,c+u],t.coord)})}));this.group.add(e.mergePath(d,{style:t.defaults(h.getModel("lineStyle").getLineStyle(),{stroke:n.get("axisLine.lineStyle.color")})}))},_minorTick:function(n,i,r,o,l){if(o.length){for(var h=n.getModel("axisTick"),u=n.getModel("minorTick"),c=(h.get("inside")?-1:1)*u.get("length"),d=l[s(i)],g=[],f=0;fy?"left":"right",x=Math.abs(m[1]-v)/p<.3?"middle":m[1]>v?"top":"bottom";c&&c[u]&&c[u].textStyle&&(l=new n(c[u].textStyle,d,d.ecModel));var b=new e.Text({silent:r.isLabelSilent(i)});this.group.add(b),e.setTextStyle(b.style,l,{x:m[0],y:m[1],textFill:l.getTextColor()||i.get("axisLine.lineStyle.color"),text:t.formattedLabel,textAlign:_,textVerticalAlign:x}),f&&(b.eventData=r.makeAxisEventDataBase(i),b.eventData.targetType="axisLabel",b.eventData.value=t.rawLabel)}),this)},_splitLine:function(n,i,r,o,s){var l=n.getModel("splitLine"),h=l.getModel("lineStyle"),u=h.get("color"),c=0;u=u instanceof Array?u:[u];for(var d=[],g=0;g_?"left":"right",g=Math.abs(c[1]-x)/v<.3?"middle":c[1]>x?"top":"bottom"}return{position:c,align:d,verticalAlign:g}}var h={line:function(t,e,n,r,o){return"angle"===t.dim?{type:"Line",shape:i.makeLineShape(e.coordToPoint([r[0],n]),e.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,r,o){var a=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:i.makeSectorShape(e.cx,e.cy,r[0],r[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:i.makeSectorShape(e.cx,e.cy,n-a/2,n+a/2,0,2*Math.PI)}}};a.registerAxisPointerClass("PolarAxisPointer",s);var u=s;return Ztt=u,Ztt}function tet(){if(Xtt)return vtt;Xtt=1;var t=zC,e=NC,n=_tt();return jtt(),qtt(),Qtt(),S9(),$tt(),t.registerLayout(e.curry(n,"bar")),t.extendComponentView({type:"polar"}),vtt}var eet,net,iet,ret,oet,aet={};function set(){if(net)return eet;net=1;var t=NC,e=PR,n=FV,i=GG(),r=d2(),o=w3(),a=n.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){n.prototype.init.apply(this,arguments),e.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var e=this.option,n=this;e.regions=o.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=t.reduce(e.regions||[],(function(t,e){return e.name&&t.set(e.name,new i(e,n)),t}),t.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,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",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new i(null,this,this.ecModel)},getFormattedLabel:function(t,e){e=e||"normal";var n=this.getRegionModel(t),i=n.get(("normal"===e?"":e+".")+"label.formatter"),r={name:t};return"function"==typeof i?(r.status=e,i(r)):"string"==typeof i?i.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});t.mixin(a,r);var s=a;return eet=s,eet}function het(){if(ret)return iet;ret=1;var t=J0(),e=zC,n=e.extendComponentView({type:"geo",init:function(e,n){var i=new t(n,!0);this._mapDraw=i,this.group.add(i.group)},render:function(t,e,n,i){if(!i||"geoToggleSelect"!==i.type||i.from!==this.uid){var r=this._mapDraw;t.get("show")?r.draw(t,e,n,this,i):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});return iet=n,iet}function uet(){if(oet)return aet;oet=1;var t=zC,e=NC;function n(n,i){i.update="updateView",t.registerAction(i,(function(t,i){var r={};return i.eachComponent({mainType:"geo",query:t},(function(i){i[n](t.name);var o=i.coordinateSystem;e.each(o.regions,(function(t){r[t.name]=i.isSelected(t.name)||!1}))})),{selected:r,name:t.name}}))}return set(),w3(),het(),_3(),n("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),n("select",{type:"geoSelect",event:"geoselected"}),n("unSelect",{type:"geoUnSelect",event:"geounselected"}),aet}var cet,det,get,fet,pet,met,yet,vet={};function _et(){if(det)return cet;det=1;var t=NC,e=JG,n=$G(),i=qW,r=864e5;function o(t,e,n){this._model=t}function a(t,e,n,i){var r=n.calendarModel,o=n.seriesModel,a=r?r.coordinateSystem:o?o.coordinateSystem:null;return a===this?a[t](i):null}o.prototype={constructor:o,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(t){t=n.parseDate(t);var e=t.getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var r=t.getDate();r=r<10?"0"+r:r;var o=t.getDay();return o=Math.abs((o+7-this.getFirstDayOfWeek())%7),{y:e,m:i,d:r,day:o,time:t.getTime(),formatedDate:e+"-"+i+"-"+r,date:t}},getNextNDay:function(t,e){return e=e||0,0===e||(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e)),this.getDateInfo(t)},update:function(n,i){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 r=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[r,7]:[7,r];t.each([0,1],(function(t){c(a,t)&&(s[o[t]]=a[t]*l[t])}));var h={width:i.getWidth(),height:i.getHeight()},u=this._rect=e.getLayoutRect(s,h);function c(t,e){return null!=t[e]&&"auto"!==t[e]}t.each([0,1],(function(t){c(a,t)||(a[t]=u[o[t]]/l[t])})),this._sw=a[0],this._sh=a[1]},dataToPoint:function(e,n){t.isArray(e)&&(e=e[0]),null==n&&(n=!0);var i=this.getDateInfo(e),o=this._rangeInfo,a=i.formatedDate;if(n&&!(i.time>=o.start.time&&i.timea.end.time&&e.reverse(),e},_getRangeInfo:function(t){var e;t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],t[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/r)-Math.floor(t[0].time/r)+1,i=new Date(t[0].time),o=i.getDate(),a=t[1].date.getDate();i.setDate(o+n-1);var s=i.getDate();if(s!==a)for(var l=i.getTime()-t[1].time>0?1:-1;(s=i.getDate())!==a&&(i.getTime()-t[1].time)*l>0;)n-=l,i.setDate(s-l);var h=Math.floor((n+t[0].day+6)/7),u=e?1-h:h-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:h,nthWeek:u,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return!1;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(i.start.d+r),this.getDateInfo(o)}},o.dimensions=o.prototype.dimensions,o.getDimensionsInfo=o.prototype.getDimensionsInfo,o.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(t){var e=new o(t);n.push(e),t.coordinateSystem=e})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},i.register("calendar",o);var s=o;return cet=s,cet}function xet(){if(fet)return get;fet=1;var t=NC,e=FV,n=JG,i=n.getLayoutParams,r=n.sizeCalculable,o=n.mergeLayoutParam,a=e.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,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%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,n,r){var o=i(t);a.superApply(this,"init",arguments),s(t,o)},mergeOption:function(t,e){a.superApply(this,"mergeOption",arguments),s(this.option,t)}});function s(e,n){var i=e.cellSize;t.isArray(i)?1===i.length&&(i[1]=i[0]):i=e.cellSize=[i,i];var a=t.map([0,1],(function(t){return r(n,t)&&(i[t]="auto"),null!=i[t]&&"auto"!==i[t]}));o(e,n,{type:"box",ignoreSize:a})}var l=a;return get=l,get}function bet(){if(met)return pet;met=1;var t=zC,e=NC,n=CD,i=nV(),r=$G(),o={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},a={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},s=t.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,a,i),this._renderWeekText(t,o,a,i)},_renderDayRect:function(t,e,i){for(var r=t.coordinateSystem,o=t.getModel("itemStyle").getItemStyle(),a=r.getCellWidth(),s=r.getCellHeight(),l=e.start.time;l<=e.end.time;l=r.getNextNDay(l,1).time){var h=r.dataToRect([l],!1).tl,u=new n.Rect({shape:{x:h[0],y:h[1],width:a,height:s},cursor:"default",style:o});i.add(u)}},_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 h=e.start,u=0;h.time<=e.end.time;u++){d(h.formatedDate),0===u&&(h=o.getDateInfo(e.start.y+"-"+e.start.m));var c=h.date;c.setMonth(c.getMonth()+1),h=o.getDateInfo(c)}function d(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)}d(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)},_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},_drawSplitline:function(t,e,i){var r=new n.Polyline({z2:20,shape:{points:t},style:e});i.add(r)},_getLinePointsOfOneWeek:function(t,e,n){var i=t.coordinateSystem;e=i.getDateInfo(e);for(var r=[],o=0;o<7;o++){var a=i.getNextNDay(e.time,o),s=i.dataToRect([a.time],!1);r[2*a.day]=s.tl,r[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return r},_formatterLabel:function(t,e){return"string"==typeof t&&t?i.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,r){e=e.slice();var o=["center","bottom"];"bottom"===i?(e[1]+=r,o=["center","top"]):"left"===i?e[0]-=r:"right"===i?(e[0]+=r,o=["center","top"]):e[1]-=r;var a=0;return("left"===i||"right"===i)&&(a=Math.PI/2),{rotation:a,position:e,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(t,e,i,r){var o=t.getModel("yearLabel");if(o.get("show")){var a=o.get("margin"),s=o.get("position");s||(s="horizontal"!==i?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],h=(l[0][0]+l[1][0])/2,u=(l[0][1]+l[1][1])/2,c="horizontal"===i?0:1,d={top:[h,l[c][1]],bottom:[h,l[1-c][1]],left:[l[1-c][0],u],right:[l[c][0],u]},g=e.start.y;+e.end.y>+e.start.y&&(g=g+"-"+e.end.y);var f=o.get("formatter"),p={start:e.start.y,end:e.end.y,nameMap:g},m=this._formatterLabel(f,p),y=new n.Text({z2:30});n.setTextStyle(y.style,o,{text:m}),y.attr(this._yearTextPositionControl(y,d[s],i,s,a)),r.add(y)}},_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,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(t,i,r){var a=t.getModel("monthLabel");if(a.get("show")){var s=a.get("nameMap"),l=a.get("margin"),h=a.get("position"),u=a.get("align"),c=[this._tlpoints,this._blpoints];e.isString(s)&&(s=o[s.toUpperCase()]||[]);var d="start"===h?0:1,g="horizontal"===i?0:1;l="start"===h?-l:l;for(var f="center"===u,p=0;p=0;u--)null==a[u]?a.splice(u,1):delete a[u].$action},_flatten:function(t,n,i){e.each(t,(function(t){if(t){i&&(t.parentOption=i),n.push(t);var e=t.children;"group"===t.type&&e&&this._flatten(e,n,t),delete t.children}}),this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function h(t,e,n,r){var o=n.type,a=s.hasOwnProperty(o)?s[o]:i.getShapeClass(o),l=new a(n);e.add(l),r.set(t,l),l.__ecGraphicId=t}function u(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){u(t,e)})),e.removeKey(t.__ecGraphicId),n.remove(t))}function c(t){return t=e.extend({},t),e.each(["id","parentId","$action","hv","bounding"].concat(r.LOCATION_PARAMS),(function(e){delete t[e]})),t}function d(t,n){var i;return e.each(n,(function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)})),i}function g(t,e){var n=t.exist;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}function f(t,n,i){var o=e.extend({},i),a=t[n],s=i.$action||"merge";"merge"===s?a?(e.merge(a,o,!0),r.mergeLayoutParam(a,o,{ignoreSize:!0}),r.copyLayoutParams(i,a)):t[n]=o:"replace"===s?t[n]=o:"remove"===s&&a&&(t[n]=null)}function p(t,e){!t||(t.hv=e.hv=[d(e,["left","right"]),d(e,["top","bottom"])],"group"===t.type&&(null==t.width&&(t.width=e.width=0),null==t.height&&(t.height=e.height=0)))}function m(t,e,n){var i=t.eventData;!t.silent&&!t.ignore&&!i&&(i=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),i&&(i.info=t.info)}return t.extendComponentView({type:"graphic",init:function(t,n){this._elMap=e.createHashMap(),this._lastGraphicModel},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},_updateElements:function(t){var n=t.useElOptionsToUpdate();if(n){var i=this._elMap,r=this.group;e.each(n,(function(e){var n=e.$action,o=e.id,a=i.get(o),s=e.parentId,l=null!=s?i.get(s):r,d=e.style;"text"===e.type&&d&&(e.hv&&e.hv[1]&&(d.textVerticalAlign=d.textBaseline=null),!d.hasOwnProperty("textFill")&&d.fill&&(d.textFill=d.fill),!d.hasOwnProperty("textStroke")&&d.stroke&&(d.textStroke=d.stroke));var g=c(e);n&&"merge"!==n?"replace"===n?(u(a,i),h(o,l,g,i)):"remove"===n&&u(a,i):a?a.attr(g):h(o,l,g,i);var f=i.get(o);f&&(f.__ecGraphicWidthOption=e.width,f.__ecGraphicHeightOption=e.height,m(f,t))}))}},_relocate:function(t,e){for(var n=t.option.elements,i=this.group,o=this._elMap,s=e.getWidth(),l=e.getHeight(),h=0;h=0;h--){u=n[h],c=o.get(u.id);if(c){d=c.parent;var f=d===i?{width:s,height:l}:{width:d.__ecGraphicWidth,height:d.__ecGraphicHeight};r.positionElement(c,u,f,null,{hv:u.hv,boundingMode:u.bounding})}}},_clear:function(){var t=this._elMap;t.each((function(e){u(e,t)})),this._elMap=e.createHashMap()},dispose:function(){this._clear()}}),Cet}var Iet,Met,Eet,zet={},Pet={};function Let(){if(Iet)return Pet;Iet=1;var t={};function e(e,n){t[e]=n}function n(e){return t[e]}return Pet.register=e,Pet.get=n,Pet}function ket(){if(Eet)return Met;Eet=1;var t=zC,e=NC,n=Let(),i=t.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){i.superApply(this,"optionUpdated",arguments),e.each(this.option.feature,(function(t,i){var r=n.get(i);r&&e.merge(t,r.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,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}}}),r=i;return Met=r,Met}var Ret,Det,Oet,jet,Fet,Net,Bet,Get,Vet,qet,Wet,Uet={};function Het(){if(Ret)return Uet;Ret=1;var t=JG,e=t.getLayoutRect,n=t.box,i=t.positionElement,r=nV(),o=CD;function a(t,r,o){var a=r.getBoxLayoutParams(),s=r.get("padding"),l={width:o.getWidth(),height:o.getHeight()},h=e(a,l,s);n(r.get("orient"),t,r.get("itemGap"),h.width,h.height),i(t,a,l,s)}function s(t,e){var n=r.normalizeCssArray(e.get("padding")),i=e.getItemStyle(["color","opacity"]);i.fill=e.get("backgroundColor");t=new o.Rect({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});return t}return Uet.layout=a,Uet.makeBackground=s,Uet}function Zet(){if(Oet)return Det;Oet=1;var t=zC,e=NC,n=dP,i=Let(),r=CD,o=GG(),a=xK(),s=Het(),l=t.extendComponentView({type:"toolbox",render:function(t,l,u,c){var d=this.group;if(d.removeAll(),t.get("show")){var g=+t.get("itemSize"),f=t.get("feature")||{},p=this._features||(this._features={}),m=[];e.each(f,(function(t,e){m.push(e)})),new a(this._featureNames||[],m).add(y).update(y).remove(e.curry(y,null)).execute(),this._featureNames=m,s.layout(d,t,u),d.add(s.makeBackground(d.getBoundingRect(),t)),d.eachChild((function(t){var e=t.__title,i=t.hoverStyle;if(i&&e){var r=n.getBoundingRect(e,n.makeFont(i)),o=t.position[0]+d.position[0],a=t.position[1]+d.position[1]+g,s=!1;a+r.height>u.getHeight()&&(i.textPosition="top",s=!0);var l=s?-5-r.height:g+8;o+r.width/2>u.getWidth()?(i.textPosition=["100%",l],i.textAlign="right"):o-r.width/2<0&&(i.textPosition=[0,l],i.textAlign="left")}}))}function y(e,n){var r,a=m[e],s=m[n],d=f[a],g=new o(d,t,t.ecModel);if(c&&null!=c.newTitle&&c.featureName===a&&(d.title=c.newTitle),a&&!s){if(h(a))r={model:g,onclick:g.option.onclick,featureName:a};else{var y=i.get(a);if(!y)return;r=new y(g,l,u)}p[a]=r}else{if(r=p[s],!r)return;r.model=g,r.ecModel=l,r.api=u}a||!s?g.get("show")&&!r.unusable?(v(g,r,a),g.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},r.render&&r.render(g,l,u,c)):r.remove&&r.remove(l,u):r.dispose&&r.dispose(l,u)}function v(n,i,o){var a=n.getModel("iconStyle"),s=n.getModel("emphasis.iconStyle"),h=i.getIcons?i.getIcons():n.get("icon"),c=n.get("title")||{};if("string"==typeof h){var f=h,p=c;h={},c={},h[o]=f,c[o]=p}var m=n.iconPaths={};e.each(h,(function(o,h){var f=r.createIcon(o,{},{x:-g/2,y:-g/2,width:g,height:g});f.setStyle(a.getItemStyle()),f.hoverStyle=s.getItemStyle(),f.setStyle({text:c[h],textAlign:s.get("textAlign"),textBorderRadius:s.get("textBorderRadius"),textPadding:s.get("textPadding"),textFill:null});var p=t.getModel("tooltip");p&&p.get("show")&&f.attr("tooltip",e.extend({content:c[h],formatter:p.get("formatter",!0)||function(){return c[h]},formatterParams:{componentType:"toolbox",name:h,title:c[h],$vars:["name","title"]},position:p.get("position",!0)||"bottom"},p.option)),r.setHoverStyle(f),t.get("showTitle")&&(f.__title=c[h],f.on("mouseover",(function(){var e=s.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";f.setStyle({textFill:s.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:s.get("textBackgroundColor"),textPosition:s.get("textPosition")||n})})).on("mouseout",(function(){f.setStyle({textFill:null,textBackgroundColor:null})}))),f.trigger(n.get("iconStatus."+h)||"normal"),d.add(f),f.on("click",e.bind(i.onclick,i,l,u,h)),m[h]=f}))}},updateView:function(t,n,i,r){e.each(this._features,(function(t){t.updateView&&t.updateView(t.model,n,i,r)}))},remove:function(t,n){e.each(this._features,(function(e){e.remove&&e.remove(t,n)})),this.group.removeAll()},dispose:function(t,n){e.each(this._features,(function(e){e.dispose&&e.dispose(t,n)}))}});function h(t){return 0===t.indexOf("my")}return Det=l,Det}function Yet(){if(Fet)return jet;Fet=1;var t=FC,e=oY,n=Let(),i=e.toolbox.saveAsImage;function r(t){this.model=t}r.defaultOption={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:i.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:i.lang.slice()},r.prototype.unusable=!t.canvasSupported;var o=r.prototype;o.onclick=function(e,n){var i=this.model,r=i.get("name")||e.get("title.0.text")||"echarts",o="svg"===n.getZr().painter.getType(),a=o?"svg":i.get("type",!0)||"png",s=n.getConnectedDataURL({type:a,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")});if("function"!=typeof MouseEvent||t.browser.ie||t.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var l=atob(s.split(",")[1]),h=l.length,u=new Uint8Array(h);h--;)u[h]=l.charCodeAt(h);var c=new Blob([u]);window.navigator.msSaveOrOpenBlob(c,r+"."+a)}else{var d=i.get("lang"),g='',f=window.open();f.document.write(g)}else{var p=document.createElement("a");p.download=r+"."+a,p.target="_blank",p.href=s;var m=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});p.dispatchEvent(m)}},n.register("saveAsImage",r);var a=r;return jet=a,jet}function Xet(){if(Bet)return Net;Bet=1;var t=zC,e=NC,n=oY,i=Let(),r=n.toolbox.magicType,o="__ec_magicType_stack__";function a(t){this.model=t}a.defaultOption={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:e.clone(r.title),option:{},seriesIndex:{}};var s=a.prototype;s.getIcons=function(){var t=this.model,n=t.get("icon"),i={};return e.each(t.get("type"),(function(t){n[t]&&(i[t]=n[t])})),i};var l={line:function(t,n,i,r){if("bar"===t)return e.merge({id:n,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},r.get("option.line")||{},!0)},bar:function(t,n,i,r){if("line"===t)return e.merge({id:n,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},r.get("option.bar")||{},!0)},stack:function(t,n,i,r){var a=i.get("stack")===o;if("line"===t||"bar"===t)return r.setIconStatus("stack",a?"normal":"emphasis"),e.merge({id:n,stack:a?"":o},r.get("option.stack")||{},!0)}},h=[["line","bar"],["stack"]];s.onclick=function(t,n,i){var a=this.model,s=a.get("seriesIndex."+i);if(l[i]){var u,c={series:[]},d=function(n){var r=n.subType,o=n.id,s=l[i](r,o,n,a);s&&(e.defaults(s,n.option),c.series.push(s));var h=n.coordinateSystem;if(h&&"cartesian2d"===h.type&&("line"===i||"bar"===i)){var u=h.getAxesByScale("ordinal")[0];if(u){var d=u.dim,g=d+"Axis",f=t.queryComponents({mainType:g,index:n.get(name+"Index"),id:n.get(name+"Id")})[0],p=f.componentIndex;c[g]=c[g]||[];for(var m=0;m<=p;m++)c[g][p]=c[g][p]||{};c[g][p].boundaryGap="bar"===i}}};if(e.each(h,(function(t){e.indexOf(t,i)>=0&&e.each(t,(function(t){a.setIconStatus(t,"normal")}))})),a.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==s?null:{seriesIndex:s}},d),"stack"===i){var g=c.series&&c.series[0]&&c.series[0].stack===o;u=g?e.merge({stack:r.title.tiled},r.title):e.clone(r.title)}n.dispatchAction({type:"changeMagicType",currentType:i,newOption:c,newTitle:u,featureName:"magicType"})}},t.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)})),i.register("magicType",a);var u=a;return Net=u,Net}function Ket(){if(Vet)return Get;Vet=1;var t=zC,e=NC,n=JT,i=oY,r=Let(),o=i.toolbox.dataView,a=new Array(60).join("-"),s="\t";function l(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}}function h(t){var n=[];return e.each(t,(function(t,i){var r=t.categoryAxis,o=t.valueAxis,a=o.dim,l=[" "].concat(e.map(t.series,(function(t){return t.name}))),h=[r.model.getCategories()];e.each(t.series,(function(t){var e=t.getRawData();h.push(t.getRawData().mapArray(e.mapDimension(a),(function(t){return t})))}));for(var u=[l.join(s)],c=0;c=0)return!0}var f=new RegExp("["+s+"]+","g");function p(t){for(var n=t.split(/\n+/g),i=d(n.shift()).split(f),r=[],o=e.map(i,(function(t){return{name:t,data:[]}})),a=0;a=0)&&t(s,i,a)}))}var u=h.prototype;function c(t){return t[0]>t[1]&&t.reverse(),t}function d(t,e){return n.parseFinder(t,e,{includeMainTypes:l})}u.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=m[t.brushType](0,n,e);t.__rangeOffset={offset:v[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}))},u.matchOutputRanges=function(e,n,i){r(e,(function(e){var r=this.findTargetInfo(e,n);r&&!0!==r&&t.each(r.coordSyses,(function(t){var r=m[e.brushType](1,t,e.range);i(e,r.values,t,n)}))}),this)},u.setInputRanges=function(t,e){r(t,(function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i=m[t.brushType](0,n.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?v[t.brushType](i.values,r.offset,x(i.xyMinMax,r.xyMinMax)):i.values}}),this)},u.makePanelOpts=function(e,n){return t.map(this._targetInfoList,(function(t){var r=t.getPanelRect();return{panelId:t.panelId,defaultBrushType:n&&n(t),clipPath:i.makeRectPanelClipPath(r),isTargetByCursor:i.makeRectIsTargetByCursor(r,e,t.coordSysModel),getLinearBrushOtherExtent:i.makeLinearBrushOtherExtent(r)}}))},u.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&o(i.coordSyses,e.coordinateSystem)>=0},u.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=d(e,t),r=0;r=0||o(a,t.getAxis("y").model)>=0)&&s.push(t)})),n.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:s[0],coordSyses:s,getPanelRect:p.grid,xAxisDeclared:h[t.id],yAxisDeclared:u[t.id]})})))},geo:function(t,e){r(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:p.geo})}))}},f=[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}],p={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,n=t.getBoundingRect().clone();return n.applyTransform(e.getTransform(t)),n}},m={lineX:a(y,0),lineY:a(y,1),rect:function(t,e,n){var i=e[s[t]]([n[0][0],n[1][0]]),r=e[s[t]]([n[0][1],n[1][1]]),o=[c([i[0],r[0]]),c([i[1],r[1]])];return{values:o,xyMinMax:o}},polygon:function(e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]],o=t.map(i,(function(t){var i=n[s[e]](t);return r[0][0]=Math.min(r[0][0],i[0]),r[1][0]=Math.min(r[1][0],i[1]),r[0][1]=Math.max(r[0][1],i[0]),r[1][1]=Math.max(r[1][1],i[1]),i}));return{values:o,xyMinMax:r}}};function y(e,n,i,r){var o=i.getAxis(["x","y"][e]),a=c(t.map([0,1],(function(t){return n?o.coordToData(o.toLocalCoord(r[t])):o.toGlobalCoord(o.dataToCoord(r[t]))}))),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var v={lineX:a(_,0),lineY:a(_,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(e,n,i){return t.map(e,(function(t,e){return[t[0]-i[0]*n[e][0],t[1]-i[1]*n[e][1]]}))}};function _(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function x(t,e){var n=b(t),i=b(e),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function b(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var w=h;return qet=w,qet}var Qet,$et={};function tnt(){if(Qet)return $et;Qet=1;var t=NC,e=t.each,n="\0_ec_hist_store";function i(t,n){var i=s(t);e(n,(function(e,n){for(var r=i.length-1;r>=0;r--){var o=i[r];if(o[n])break}if(r<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(a){var s=a.getPercentRange();i[0][n]={dataZoomId:n,start:s[0],end:s[1]}}}})),i.push(n)}function r(t){var n=s(t),i=n[n.length-1];n.length>1&&n.pop();var r={};return e(i,(function(t,e){for(var i=n.length-1;i>=0;i--){t=n[i][e];if(t){r[e]=t;break}}})),r}function o(t){t[n]=null}function a(t){return s(t).length}function s(t){var e=t[n];return e||(e=t[n]=[{}]),e}return $et.push=i,$et.pop=r,$et.clear=o,$et.count=a,$et}var ent,nnt={},int={};function rnt(){if(ent)return int;ent=1;var t=FV;return t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})),int}var ont,ant,snt,lnt,hnt,unt,cnt,dnt,gnt,fnt,pnt,mnt={};function ynt(){if(ont)return mnt;ont=1;var t=NC,e=nV(),n=["x","y","z","radius","angle","single"],i=["cartesian2d","polar","singleAxis"];function r(e){return t.indexOf(i,e)>=0}function o(n,i){n=n.slice();var r=t.map(n,e.capitalFirst);i=(i||[]).slice();var o=t.map(i,e.capitalFirst);return function(e,a){t.each(n,(function(t,n){for(var s={name:t,capital:r[n]},l=0;l=0}function o(e,r){var o=!1;return n((function(n){t.each(i(e,n)||[],(function(t){r.records[n.name][t]&&(o=!0)}))})),o}function a(e,r){r.nodes.push(e),n((function(n){t.each(i(e,n)||[],(function(t){r.records[n.name][t]=!0}))}))}}return mnt.isCoordSupported=r,mnt.createNameEach=o,mnt.eachAxisDim=a,mnt.createLinkedNodesFinder=s,mnt}function vnt(){if(snt)return ant;snt=1;var t=NC,e=$G(),n=ynt(),i=R5(),r=t.each,o=e.asc,a=function(t,e,n,i){this._dimName=t,this._axisIndex=e,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=i,this._dataZoomModel=n};function s(t,e,n){var i=[1/0,-1/0];return r(n,(function(t){var n=t.getData();n&&r(n.mapDimension(e,!0),(function(t){var e=n.getApproximateExtent(t);e[0]i[1]&&(i[1]=e[1])}))})),i[1]0?0:NaN);var a=n.getMax(!0);return null!=a&&"dataMax"!==a&&"function"!=typeof a?e[1]=a:r&&(e[1]=o>0?o-1:NaN),n.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0)),e}function h(t,n){var i=t.getAxisModel(),r=t._percentWindow,o=t._valueWindow;if(r){var a=e.getPixelPrecision(o,[0,500]);a=Math.min(a,20);var s=n||0===r[0]&&100===r[1];i.setRange(s?null:+o[0].toFixed(a),s?null:+o[1].toFixed(a))}}function u(t){var n=t._minMaxSpan={},i=t._dataZoomModel,o=t._dataExtent;r(["min","max"],(function(r){var a=i.get(r+"Span"),s=i.get(r+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?a=e.linearMap(o[0]+s,o,[0,100],!0):null!=a&&(s=e.linearMap(a,[0,100],o,!0)-o[0]),n[r+"Span"]=a,n[r+"ValueSpan"]=s}))}a.prototype={constructor:a,hostedBy:function(t){return this._dataZoomModel===t},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var t=[],e=this.ecModel;return e.eachSeries((function(i){if(n.isCoordSupported(i.get("coordinateSystem"))){var r=this._dimName,o=e.queryComponents({mainType:r+"Axis",index:i.get(r+"AxisIndex"),id:i.get(r+"AxisId")})[0];this._axisIndex===(o&&o.componentIndex)&&t.push(i)}}),this),t},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var t,e,n,i=this._dimName,r=this.ecModel,o=this.getAxisModel(),a="x"===i||"y"===i;return a?(e="gridIndex",t="x"===i?"y":"x"):(e="polarIndex",t="angle"===i?"radius":"angle"),r.eachComponent(t+"Axis",(function(t){(t.get(e)||0)===(o.get(e)||0)&&(n=t)})),n},getMinMaxSpan:function(){return t.clone(this._minMaxSpan)},calculateDataWindow:function(t){var n,a=this._dataExtent,s=this.getAxisModel(),l=s.axis.scale,h=this._dataZoomModel.getRangePropMode(),u=[0,100],c=[],d=[];r(["start","end"],(function(i,r){var o=t[i],s=t[i+"Value"];"percent"===h[r]?(null==o&&(o=u[r]),s=l.parse(e.linearMap(o,u,a))):(n=!0,s=null==s?a[r]:l.parse(s),o=e.linearMap(s,a,u)),d[r]=s,c[r]=o})),o(d),o(c);var g=this._minMaxSpan;function f(t,n,r,o,a){var s=a?"Span":"ValueSpan";i(0,t,r,"all",g["min"+s],g["max"+s]);for(var h=0;h<2;h++)n[h]=e.linearMap(t[h],r,o,!0),a&&(n[h]=l.parse(n[h]))}return n?f(d,c,a,u,!1):f(c,d,u,a,!0),{valueWindow:d,percentWindow:c}},reset:function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=s(this,this._dimName,e),u(this);var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,h(this)}},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,h(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),o=t.get("filterMode"),a=this._valueWindow;"none"!==o&&r(i,(function(t){var e=t.getData(),i=e.mapDimension(n,!0);!i.length||("weakFilter"===o?e.filterSelf((function(t){for(var n,r,o,s=0;sa[1];if(h&&!u&&!c)return!0;h&&(o=!0),u&&(n=!0),c&&(r=!0)}return o&&n&&r})):r(i,(function(n){if("empty"===o)t.setData(e=e.map(n,(function(t){return s(t)?t:NaN})));else{var i={};i[n]=a,e.selectRange(i)}})),r(i,(function(t){e.setApproximateExtent(a,t)})))}))}function s(t){return t>=a[0]&&t<=a[1]}}};var c=a;return ant=c,ant}function _nt(){if(hnt)return lnt;hnt=1;var t=zC,e=NC,n=FC,i=PR,r=ynt(),o=vnt(),a=e.each,s=r.eachAxisDim,l=t.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(t,e,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var i=h(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this.doInit(i)},mergeOption:function(t){var n=h(t);e.merge(this.option,t,!0),e.merge(this.settledOption,n,!0),this.doInit(n)},doInit:function(t){var e=this.option;n.canvasSupported||(e.realtime=!1),this._setDefaultThrottle(t),u(this,t);var i=this.settledOption;a([["start","startValue"],["end","endValue"]],(function(t,n){"value"===this._rangePropMode[n]&&(e[t[0]]=i[t[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var t=this._axisProxies;this.eachTargetAxis((function(e,n,i,r){var a=this.dependentModels[e.axis][n],s=a.__dzAxisProxy||(a.__dzAxisProxy=new o(e.name,n,this,r));t[e.name+"_"+n]=s}),this)},_resetTarget:function(){var t=this.option,e=this._judgeAutoMode();s((function(e){var n=e.axisIndex;t[n]=i.normalizeToArray(t[n])}),this),"axisIndex"===e?this._autoSetAxisIndex():"orient"===e&&this._autoSetOrient()},_judgeAutoMode:function(){var t=this.option,e=!1;s((function(n){null!=t[n.axisIndex]&&(e=!0)}),this);var n=t.orient;return null==n&&e?"orient":e?void 0:(null==n&&(t.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var t=!0,n=this.get("orient",!0),i=this.option,r=this.dependentModels;if(t){var o="vertical"===n?"y":"x";r[o+"Axis"].length?(i[o+"AxisIndex"]=[0],t=!1):a(r.singleAxis,(function(e){t&&e.get("orient",!0)===n&&(i.singleAxisIndex=[e.componentIndex],t=!1)}))}t&&s((function(e){if(t){var n=[],r=this.dependentModels[e.axis];if(r.length&&!n.length)for(var o=0,a=r.length;o0?100:20}},getFirstTargetAxisModel:function(){var t;return s((function(e){if(null==t){var n=this.get(e.axisIndex);n.length&&(t=this.dependentModels[e.axis][n[0]])}}),this),t},eachTargetAxis:function(t,e){var n=this.ecModel;s((function(i){a(this.get(i.axisIndex),(function(r){t.call(e,i,r,this,n)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var n=this.getAxisProxy(t,e);return n&&n.getAxisModel()},setRawRange:function(t){var e=this.option,n=this.settledOption;a([["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),u(this,t)},setCalculatedRange:function(t){var e=this.option;a(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},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},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var n in e)if(e.hasOwnProperty(n)&&e[n].hostedBy(this))return e[n];for(var n in e)if(e.hasOwnProperty(n)&&!e[n].hostedBy(this))return e[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function h(t){var e={};return a(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}function u(t,e){var n=t._rangePropMode,i=t.get("rangeMode");a([["start","startValue"],["end","endValue"]],(function(t,r){var o=null!=e[t[0]],a=null!=e[t[1]];o&&!a?n[r]="percent":!o&&a?n[r]="value":i?n[r]=i[r]:o&&(n[r]="percent")}))}var c=l;return lnt=c,lnt}function xnt(){if(cnt)return unt;cnt=1;var t=xZ,e=t.extend({type:"dataZoom",render:function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.dataZoomModel,e=this.ecModel,n={};function i(t,e,n,i){for(var r,o=0;o1?"emphasis":"normal")}function m(t,e,n,r,o){var a=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(a="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=a,t.setIconStatus("zoom",a?"emphasis":"normal");var s=new i(f(t.option),e,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(o,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!a&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}d._onBrush=function(t,e){if(e.isEnd&&t.length){var n={},a=this.ecModel;this._brushController.updateCovers([]);var s=new i(f(this.model.option),a,{include:["grid"]});s.matchOutputRanges(t,a,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(l("x",n,e[0]),l("y",n,e[1])):l({lineX:"x",lineY:"y"}[i],n,e)}})),r.push(a,n),this._dispatchZoomAction(n)}function l(t,e,i){var r=e.getAxis(t),s=r.model,l=h(t,s,a),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();(null!=u.minValueSpan||null!=u.maxValueSpan)&&(i=o(0,i.slice(),r.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}function h(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var r=n.getAxisModel(t,e.componentIndex);r&&(i=n)})),i}},d._dispatchZoomAction=function(t){var n=[];h(t,(function(t,i){n.push(e.clone(t))})),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},s.register("dataZoom",c),t.registerPreprocessor((function(t){if(t){var n=t.dataZoom||(t.dataZoom=[]);e.isArray(n)||(t.dataZoom=n=[n]);var i=t.toolbox;if(i&&(e.isArray(i)&&(i=i[0]),i&&i.feature)){var r=i.feature.dataZoom;o("xAxis",r),o("yAxis",r)}}function o(t,i){if(i){var r=t+"Index",o=i[r];null!=o&&"all"!==o&&!e.isArray(o)&&(o=!1===o||"none"===o?[]:[o]),a(t,(function(a,s){if(null==o||"all"===o||-1!==e.indexOf(o,s)){var l={type:"select",$fromToolbox:!0,filterMode:i.filterMode||"filter",id:u+t+s};l[r]=s,n.push(l)}}))}}function a(n,i){var r=t[n];e.isArray(r)||(r=r?[r]:[]),h(r,i)}}));var y=c;return Mnt=y,Mnt}function jnt(){if(Pnt)return znt;Pnt=1;var t=zC,e=tnt(),n=oY,i=Let(),r=n.toolbox.restore;function o(t){this.model=t}o.defaultOption={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:r.title};var a=o.prototype;a.onclick=function(t,n,i){e.clear(t),n.dispatchAction({type:"restore",from:this.uid})},i.register("restore",o),t.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var s=o;return znt=s,znt}function Fnt(){return Lnt||(Lnt=1,ket(),Zet(),Yet(),Xet(),Ket(),Ont(),jnt()),zet}var Nnt,Bnt,Gnt,Vnt,qnt,Wnt,Unt,Hnt,Znt,Ynt={};function Xnt(){if(Bnt)return Nnt;Bnt=1;var t=zC,e=t.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});return Nnt=e,Nnt}function Knt(){if(Vnt)return Gnt;Vnt=1;var t=NC,e=bM,n=JT,i=QT,r=FC,o=nV(),a=t.each,s=o.toCamelCase,l=["","-webkit-","-moz-","-o-"],h="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function u(e){var n="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+e+"s "+n+",top "+e+"s "+n;return t.map(l,(function(t){return t+"transition:"+i})).join(";")}function c(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont());var r=t.get("lineHeight");null==r&&(r=Math.round(3*n/2)),n&&e.push("line-height:"+r+"px");var o=t.get("textShadowColor"),s=t.get("textShadowBlur")||0,l=t.get("textShadowOffsetX")||0,h=t.get("textShadowOffsetY")||0;return s&&e.push("text-shadow:"+l+"px "+h+"px "+s+"px "+o),a(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}function d(t){var n=[],i=t.get("transitionDuration"),l=t.get("backgroundColor"),h=t.getModel("textStyle"),d=t.get("padding");return i&&n.push(u(i)),l&&(r.canvasSupported?n.push("background-Color:"+l):(n.push("background-Color:#"+e.toHex(l)),n.push("filter:alpha(opacity=70)"))),a(["width","color","radius"],(function(e){var i="border-"+e,r=s(i),o=t.get(r);null!=o&&n.push(i+":"+o+("color"===e?"":"px"))})),n.push(c(h)),null!=d&&n.push("padding:"+o.normalizeCssArray(d).join("px ")+"px"),n.join(";")+";"}function g(t,e,n,r,o){var a=e&&e.painter;if(n){var s=a&&a.getViewportRoot();s&&i.transformLocalCoord(t,s,document.body,r,o)}else{t[0]=r,t[1]=o;var l=a&&a.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function f(t,e,i){if(r.wxa)return null;var o=document.createElement("div");o.domBelongToZr=!0,this.el=o;var a=this._zr=e.getZr(),s=this._appendToBody=i&&i.appendToBody;this._styleCoord=[0,0,0,0],g(this._styleCoord,a,s,e.getWidth()/2,e.getHeight()/2),s?document.body.appendChild(o):t.appendChild(o),this._container=t,this._show=!1,this._hideTimeout;var l=this;o.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},o.onmousemove=function(t){if(t=t||window.event,!l._enterable){var e=a.handler,i=a.painter.getViewportRoot();n.normalizeEvent(i,t,!0),e.dispatch("mousemove",t)}},o.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}f.prototype={constructor:f,_enterable:!0,update:function(t){var e=this._container,n=e.currentStyle||document.defaultView.getComputedStyle(e),i=e.style;"absolute"!==i.position&&"absolute"!==n.position&&(i.position="relative");var r=t.get("alwaysShowContent");r&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),i=e*this._zr.getHeight();this.moveTo(n,i)},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,n=this._styleCoord;e.style.cssText=h+d(t)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n=this._styleCoord;g(n,this._zr,this._appendToBody,t,e);var i=this.el.style;i.left=n[0]+"px",i.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){this._show&&(!this._inContent||!this._enterable)&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(t.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(t+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),e+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:t,height:e}}};var p=f;return Gnt=p,Gnt}function Jnt(){if(Wnt)return qnt;Wnt=1;var t=NC,e=rF,n=CD;function i(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}function r(t){var e=this._zr=t.getZr();this._styleCoord=[0,0,0,0],i(this._styleCoord,e,t.getWidth()/2,t.getHeight()/2),this._show=!1,this._hideTimeout}r.prototype={constructor:r,_enterable:!0,update:function(t){var e=t.get("alwaysShowContent");e&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var t=this._styleCoord[2],e=this._styleCoord[3],n=t*this._zr.getWidth(),i=e*this._zr.getHeight();this.moveTo(n,i)},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,i,r){this.el&&this._zr.remove(this.el);for(var o={},a=t,s="{marker",l="|}",h=a.indexOf(s);h>=0;){var u=a.indexOf(l),c=a.substr(h+s.length,u-h-s.length);c.indexOf("sub")>-1?o["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:i[c],textOffset:[3,0]}:o["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:i[c]},a=a.substr(u+1),h=a.indexOf("{marker")}var d=r.getModel("textStyle"),g=d.get("fontSize"),f=r.get("textLineHeight");null==f&&(f=Math.round(3*g/2)),this.el=new e({style:n.setTextStyle({},d,{rich:o,text:t,textBackgroundColor:r.get("backgroundColor"),textBorderRadius:r.get("borderRadius"),textFill:r.get("textStyle.color"),textPadding:r.get("padding"),textLineHeight:f}),z:r.get("z")}),this._zr.add(this.el);var p=this;this.el.on("mouseover",(function(){p._enterable&&(clearTimeout(p._hideTimeout),p._show=!0),p._inContent=!0})),this.el.on("mouseout",(function(){p._enterable&&p._show&&p.hideLater(p._hideDelay),p._inContent=!1}))},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){if(this.el){var n=this._styleCoord;i(n,this._zr,t,e),this.el.attr("position",[n[0],n[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){this._show&&(!this._inContent||!this._enterable)&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(t.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var o=r;return qnt=o,qnt}function Qnt(){if(Hnt)return Unt;Hnt=1;var t=zC,e=NC,n=FC,i=Knt(),r=Jnt(),o=nV(),a=$G(),s=CD,l=H7(),h=JG,u=GG(),c=e9(),d=_J(),g=b9(),f=PR,p=f.getTooltipRenderMode,m=e.bind,y=e.each,v=a.parsePercent,_=new s.Rect({shape:{x:-1,y:-1,width:2,height:2}}),x=t.extendComponentView({type:"tooltip",init:function(t,e){if(!n.node){var o,a=t.getComponent("tooltip"),s=a.get("renderMode");this._renderMode=p(s),"html"===this._renderMode?(o=new i(e.getDom(),e,{appendToBody:a.get("appendToBody",!0)}),this._newLine="
"):(o=new r(e),this._newLine="\n"),this._tooltipContent=o}},render:function(t,e,i){if(!n.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var r=this._tooltipContent;r.update(t),r.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");c.register("itemTooltip",this._api,m((function(t,n,i){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,i):"leave"===t&&this._hide(i))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY})}))}},manuallyShowTip:function(t,e,i,r){if(r.from!==this.uid&&!n.node){var o=w(r,i);this._ticket="";var a=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var s=_;s.position=[r.x,r.y],s.update(),s.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:s},o)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},o);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,r))return;var h=l(r,e),u=h.point[0],c=h.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:r.position,target:h.el},o)}else null!=r.x&&null!=r.y&&(i.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:i.getZr().findHover(r.x,r.y).target},o))}},manuallyHideTip:function(t,e,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(w(i,n))},_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){var l=s.getData();t=b([l.getItemModel(o),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}}},_tryShow:function(t,e){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,n){var i=t.get("showDelay");n=e.bind(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},_showAxisTooltip:function(t,n){var i=this._ecModel,r=this._tooltipModel,a=[n.offsetX,n.offsetY],s=[],l=[],h=b([n.tooltipOption,r]),u=this._renderMode,c=this._newLine,f={};y(t,(function(t){y(t.dataByAxis,(function(t){var n=i.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value,a=[];if(n&&null!=r){var h=g.getValueLabel(r,n.axis,i,t.seriesDataIndices,t.valueLabelOpt);e.each(t.seriesDataIndices,(function(o){var s=i.getSeriesByIndex(o.seriesIndex),c=o.dataIndexInside,g=s&&s.getDataParams(c);if(g.axisDim=t.axisDim,g.axisIndex=t.axisIndex,g.axisType=t.axisType,g.axisId=t.axisId,g.axisValue=d.getAxisRawValue(n.axis,r),g.axisValueLabel=h,g){l.push(g);var p,m=s.formatTooltip(c,!0,null,u);if(e.isObject(m)){p=m.html;var y=m.markers;e.merge(f,y)}else p=m;a.push(p)}}));var p=h;"html"!==u?s.push(a.join(c)):s.push((p?o.encodeHTML(p)+c:"")+a.join(c))}}))}),this),s.reverse(),s=s.join(this._newLine+this._newLine);var p=n.position;this._showOrMove(h,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(h,p,a[0],a[1],this._tooltipContent,l):this._showTooltipContent(h,s,l,Math.random(),a[0],a[1],p,void 0,f)}))},_showSeriesItemTooltip:function(t,n,i){var r=this._ecModel,o=n.seriesIndex,a=r.getSeriesByIndex(o),s=n.dataModel||a,l=n.dataIndex,h=n.dataType,u=s.getData(h),c=b([u.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),d=c.get("trigger");if(null==d||"item"===d){var g,f,p=s.getDataParams(l,h),m=s.formatTooltip(l,!1,h,this._renderMode);e.isObject(m)?(g=m.html,f=m.markers):(g=m,f=null);var y="item_"+s.name+"_"+l;this._showOrMove(c,(function(){this._showTooltipContent(c,g,p,y,t.offsetX,t.offsetY,t.position,t.target,f)})),i({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip;if("string"==typeof i){var r=i;i={content:r,formatter:r}}var o=new u(i,this._tooltipModel,this._ecModel),a=o.get("content"),s=Math.random();this._showOrMove(o,(function(){this._showTooltipContent(o,a,o.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,i,r,a,s,l,h){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,c=t.get("formatter");s=s||t.get("position");var d=e;if(c&&"string"==typeof c)d=o.formatTpl(c,n,!0);else if("function"==typeof c){var g=m((function(e,i){e===this._ticket&&(u.setContent(i,h,t),this._updatePosition(t,s,r,a,u,n,l))}),this);this._ticket=i,d=c(n,i,g)}u.setContent(d,h,t),u.show(t),this._updatePosition(t,s,r,a,u,n,l)}},_updatePosition:function(t,n,i,r,o,a,s){var l=this._api.getWidth(),u=this._api.getHeight();n=n||t.get("position");var c=o.getSize(),d=t.get("align"),g=t.get("verticalAlign"),f=s&&s.getBoundingRect().clone();if(s&&f.applyTransform(s.transform),"function"==typeof n&&(n=n([i,r],a,o.el,f,{viewSize:[l,u],contentSize:c.slice()})),e.isArray(n))i=v(n[0],l),r=v(n[1],u);else if(e.isObject(n)){n.width=c[0],n.height=c[1];var p=h.getLayoutRect(n,{width:l,height:u});i=p.x,r=p.y,d=null,g=null}else if("string"==typeof n&&s){var m=C(n,f,c);i=m[0],r=m[1]}else{m=S(i,r,o,l,u,d?null:20,g?null:20);i=m[0],r=m[1]}if(d&&(i-=T(d)?c[0]/2:"right"===d?c[0]:0),g&&(r-=T(g)?c[1]/2:"bottom"===g?c[1]:0),t.get("confine")){m=A(i,r,o,l,u);i=m[0],r=m[1]}o.moveTo(i,r)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&y(e,(function(e,i){var r=e.dataByAxis||{},o=t[i]||{},a=o.dataByAxis||[];n&=r.length===a.length,n&&y(r,(function(t,e){var i=a[e]||{},r=t.seriesDataIndices||[],o=i.seriesDataIndices||[];n&=t.value===i.value&&t.axisType===i.axisType&&t.axisId===i.axisId&&r.length===o.length,n&&y(r,(function(t,e){var i=o[e];n&=t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex}))}))})),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){n.node||(this._tooltipContent.dispose(),c.unregister("itemTooltip",e))}});function b(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(u.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new u(n,e,e.ecModel))}return e}function w(t,n){return t.dispatchAction||e.bind(n.dispatchAction,n)}function S(t,e,n,i,r,o,a){var s=n.getOuterSize(),l=s.width,h=s.height;return null!=o&&(t+l+o>i?t-=l+o:t+=o),null!=a&&(e+h+a>r?e-=h+a:e+=a),[t,e]}function A(t,e,n,i,r){var o=n.getOuterSize(),a=o.width,s=o.height;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]}function C(t,e,n){var i=n[0],r=n[1],o=5,a=0,s=0,l=e.width,h=e.height;switch(t){case"inside":a=e.x+l/2-i/2,s=e.y+h/2-r/2;break;case"top":a=e.x+l/2-i/2,s=e.y-r-o;break;case"bottom":a=e.x+l/2-i/2,s=e.y+h+o;break;case"left":a=e.x-i-o,s=e.y+h/2-r/2;break;case"right":a=e.x+l+o,s=e.y+h/2-r/2}return[a,s]}function T(t){return"center"===t||"middle"===t}return Unt=x,Unt}function $nt(){if(Znt)return Ynt;Znt=1;var t=zC;return S9(),Xnt(),Qnt(),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){})),Ynt}var tit,eit,nit={};function iit(){if(eit)return tit;eit=1;var t=NC,e=["rect","polygon","keep","clear"];function n(n,r){var o=n&&n.brush;if(t.isArray(o)||(o=o?[o]:[]),o.length){var a=[];t.each(o,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(a=a.concat(e))}));var s=n&&n.toolbox;t.isArray(s)&&(s=s[0]),s||(s={feature:{}},n.toolbox=[s]);var l=s.feature||(s.feature={}),h=l.brush||(l.brush={}),u=h.type||(h.type=[]);u.push.apply(u,a),i(u),r&&!u.length&&u.push.apply(u,e)}}function i(e){var n={};t.each(e,(function(t){n[t]=1})),e.length=0,t.each(n,(function(t,n){e.push(n)}))}return tit=n,tit}var rit,oit,ait,sit,lit,hit,uit,cit,dit={},git={};function fit(){if(rit)return git;rit=1;var t=NC,e=I1(),n=t.each;function i(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function r(i,r,o){var a={};return n(r,(function(r){var l=a[r]=s();n(i[r],(function(n,i){if(e.isValidType(i)){var a={type:i,visual:n};o&&o(a,r),l[i]=new e(a),"opacity"===i&&(a=t.clone(a),a.type="colorAlpha",l.__hidden.__alphaForOpacity=new e(a))}}))})),a;function s(){var t=function(){};t.prototype.__hidden=t.prototype;var e=new t;return e}}function o(e,n,r){var o;t.each(r,(function(t){n.hasOwnProperty(t)&&i(n[t])&&(o=!0)})),o&&t.each(r,(function(r){n.hasOwnProperty(r)&&i(n[r])?e[r]=t.clone(n[r]):delete e[r]}))}function a(n,i,r,o,a,s){var l,h={};function u(t){return r.getItemVisual(l,t)}function c(t,e){r.setItemVisual(l,t,e)}function d(t,e){l=null==s?t:e;var n=r.getRawDataItem(l);if(!n||!1!==n.visualMap)for(var d=o.call(a,t),g=i[d],f=h[d],p=0,m=f.length;pe[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&_(e)}};function _(t){return new n(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}return dit.layoutCovers=c,dit}function yit(){if(hit)return lit;hit=1;var t=zC,e=NC,n=fit(),i=GG(),r=["#ddd"],o=t.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(t,e){var i=this.option;!e&&n.replaceVisualOption(i,t,["inBrush","outOfBrush"]);var o=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:r},o.hasOwnProperty("liftZ")||(o.liftZ=5)},setAreas:function(t){!t||(this.areas=e.map(t,(function(t){return a(this.option,t)}),this))},setBrushOption:function(t){this.brushOption=a(this.option,t),this.brushType=this.brushOption.brushType}});function a(t,n){return e.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new i(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},n,!0)}var s=o;return lit=s,lit}function vit(){if(cit)return uit;cit=1;var t=zC,e=NC,n=U5(),i=mit(),r=i.layoutCovers,o=t.extendComponentView({type:"brush",init:function(t,i){this.ecModel=t,this.api=i,this.model,(this._brushController=new n(i.getZr())).on("brush",e.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,a.apply(this,arguments)},updateTransform:function(t,e){return r(e),a.apply(this,arguments)},updateView:a,dispose:function(){this._brushController.dispose()},_onBrush:function(t,n){var i=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:e.clone(t),$from:i}),n.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:i,areas:e.clone(t),$from:i})}});function a(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}return uit=o,uit}var _it,xit,bit,wit,Sit={};function Ait(){if(_it)return Sit;_it=1;var t=zC;return t.registerAction({type:"brush",event:"brush"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){})),Sit}function Cit(){if(bit)return xit;bit=1;var t=NC,e=Let(),n=oY,i=n.toolbox.brush;function r(t,e,n){this.model=t,this.ecModel=e,this.api=n,this._brushType,this._brushMode}r.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],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.clone(i.title)};var o=r.prototype;o.render=o.updateView=function(e,n,i){var r,o,a;n.eachComponent({mainType:"brush"},(function(t){r=t.brushType,o=t.brushOption.brushMode||"single",a|=t.areas.length})),this._brushType=r,this._brushMode=o,t.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?a:t===r)?"emphasis":"normal")}))},o.getIcons=function(){var e=this.model,n=e.get("icon",!0),i={};return t.each(e.get("type",!0),(function(t){n[t]&&(i[t]=n[t])})),i},o.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.register("brush",r);var a=r;return xit=a,xit}function Tit(){if(wit)return nit;wit=1;var t=zC,e=iit();return mit(),yit(),vit(),Ait(),Cit(),t.registerPreprocessor(e),nit}var Iit,Mit={};function Eit(){if(Iit)return Mit;Iit=1;var t=NC,e=zC,n=CD,i=JG,r=i.getLayoutRect,o=nV(),a=o.windowOpen;return e.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,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:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),e.extendComponentView({type:"title",render:function(e,i,o){if(this.group.removeAll(),e.get("show")){var s=this.group,l=e.getModel("textStyle"),h=e.getModel("subtextStyle"),u=e.get("textAlign"),c=t.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),d=new n.Text({style:n.setTextStyle({},l,{text:e.get("text"),textFill:l.getTextColor()},{disableBox:!0}),z2:10}),g=d.getBoundingRect(),f=e.get("subtext"),p=new n.Text({style:n.setTextStyle({},h,{text:f,textFill:h.getTextColor(),y:g.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),m=e.get("link"),y=e.get("sublink"),v=e.get("triggerEvent",!0);d.silent=!m&&!v,p.silent=!y&&!v,m&&d.on("click",(function(){a(m,"_"+e.get("target"))})),y&&p.on("click",(function(){a(y,"_"+e.get("subtarget"))})),d.eventData=p.eventData=v?{componentType:"title",componentIndex:e.componentIndex}:null,s.add(d),f&&s.add(p);var _=s.getBoundingRect(),x=e.getBoxLayoutParams();x.width=_.width,x.height=_.height;var b=r(x,{width:o.getWidth(),height:o.getHeight()},e.get("padding"));u||(u=e.get("left")||e.get("right"),"middle"===u&&(u="center"),"right"===u?b.x+=b.width:"center"===u&&(b.x+=b.width/2)),c||(c=e.get("top")||e.get("bottom"),"center"===c&&(c="middle"),"bottom"===c?b.y+=b.height:"middle"===c&&(b.y+=b.height/2),c=c||"top"),s.attr("position",[b.x,b.y]);var w={textAlign:u,textVerticalAlign:c};d.setStyle(w),p.setStyle(w),_=s.getBoundingRect();var S=b.margin,A=e.getItemStyle(["color","opacity"]);A.fill=e.get("backgroundColor");var C=new n.Rect({shape:{x:_.x-S[3],y:_.y-S[0],width:_.width+S[1]+S[3],height:_.height+S[0]+S[2],r:e.get("borderRadius")},style:A,subPixelOptimize:!0,silent:!0});s.add(C)}}}),Mit}var zit,Pit,Lit={};function kit(){if(Pit)return zit;Pit=1;var t=NC;function e(e){var i=e&&e.timeline;t.isArray(i)||(i=i?[i]:[]),t.each(i,(function(t){!t||n(t)}))}function n(e){var n=e.type,o={number:"value",time:"time"};if(o[n]&&(e.axisType=o[n],delete e.type),i(e),r(e,"controlPosition")){var a=e.controlStyle||(e.controlStyle={});r(a,"position")||(a.position=e.controlPosition),"none"===a.position&&!r(a,"show")&&(a.show=!1,delete a.position),delete e.controlPosition}t.each(e.data||[],(function(e){t.isObject(e)&&!t.isArray(e)&&(!r(e,"value")&&r(e,"name")&&(e.value=e.name),i(e))}))}function i(e){var n=e.itemStyle||(e.itemStyle={}),i=n.emphasis||(n.emphasis={}),o=e.label||e.label||{},a=o.normal||(o.normal={}),s={normal:1,emphasis:1};t.each(o,(function(t,e){!s[e]&&!r(a,e)&&(a[e]=t)})),i.label&&!r(o,"emphasis")&&(o.emphasis=i.label,delete i.label)}function r(t,e){return t.hasOwnProperty(e)}return zit=e,zit}var Rit,Dit={};function Oit(){if(Rit)return Dit;Rit=1;var t=FV;return t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),Dit}var jit,Fit,Nit,Bit,Git,Vit,qit,Wit,Uit,Hit,Zit,Yit,Xit={};function Kit(){if(jit)return Xit;jit=1;var t=zC,e=NC;return t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,n){var i=n.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.setPlayState(!1)),n.resetOption("timeline"),e.defaults({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)})),Xit}function Jit(){if(Nit)return Fit;Nit=1;var t=NC,e=FV,n=kK(),i=PR,r=e.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,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:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){r.superApply(this,"mergeOption",arguments),this._initData()},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},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,r=e.data||[],o=e.axisType,a=this._names=[];if("category"===o){var s=[];t.each(r,(function(e,n){var r,o=i.getDataItemValue(e);t.isObject(e)?(r=t.clone(e),r.value=n):r=n,s.push(r),!t.isString(o)&&(null==o||isNaN(o))&&(o=""),a.push(o+"")})),r=s}var l={category:"ordinal",time:"time"}[o]||"number",h=this._data=new n([{name:"value",type:l}],this);h.initData(r,a)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),o=r;return Fit=o,Fit}function Qit(){if(Git)return Bit;Git=1;var t=NC,e=Jit(),n=CH,i=e.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,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:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});t.mixin(i,n);var r=i;return Bit=r,Bit}function $it(){if(qit)return Vit;qit=1;var t=xZ,e=t.extend({type:"timeline"});return Vit=e,Vit}function trt(){if(Uit)return Wit;Uit=1;var t=NC,e=GJ(),n=function(t,n,i,r){e.call(this,t,n,i),this.type=r||"value",this.model=null};n.prototype={constructor:n,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},t.inherits(n,e);var i=n;return Wit=i,Wit}function ert(){if(Zit)return Hit;Zit=1;var t=NC,e=az,n=eM(),i=CD,r=JG,o=$it(),a=trt(),s=AJ(),l=s.createSymbol,h=_J(),u=$G(),c=nV(),d=c.encodeHTML,g=t.bind,f=t.each,p=Math.PI,m=o.extend({type:"timeline.slider",init:function(t,e){this.api=e,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(t,e,n,i){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var r=this._layout(t,n),o=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(r,t);t.formatTooltip=function(t){return d(s.scale.getLabel(t))},f(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](r,o,s,t)}),this),this._renderAxisLabel(r,a,s,t),this._position(r,t)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(t,e){var n=t.get("label.position"),i=t.get("orient"),r=y(t,e);null==n||"auto"===n?n="horizontal"===i?r.y+r.height/2=0||"+"===n?"left":"right"},a={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},s={horizontal:0,vertical:p/2},l="vertical"===i?r.height:r.width,h=t.getModel("controlStyle"),u=h.get("show",!0),c=u?h.get("itemSize"):0,d=u?h.get("itemGap"):0,g=c+d,f=t.get("label.rotate")||0;f=f*p/180;var m,v,_,x,b=h.get("position",!0),w=u&&h.get("showPlayBtn",!0),S=u&&h.get("showPrevBtn",!0),A=u&&h.get("showNextBtn",!0),C=0,T=l;return"left"===b||"bottom"===b?(w&&(m=[0,0],C+=g),S&&(v=[C,0],C+=g),A&&(_=[T-c,0],T-=g)):(w&&(m=[T-c,0],T-=g),S&&(v=[0,0],C+=g),A&&(_=[T-c,0],T-=g)),x=[C,T],t.get("inverse")&&x.reverse(),{viewRect:r,mainLength:l,orient:i,rotation:s[i],labelRotation:f,labelPosOpt:n,labelAlign:t.get("label.align")||o[i],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||a[i],playPosition:m,prevBtnPosition:v,nextBtnPosition:_,axisExtent:x,controlSize:c,controlGap:d}},_position:function(t,e){var i=this._mainGroup,r=this._labelGroup,o=t.viewRect;if("vertical"===t.orient){var a=n.create(),s=o.x,l=o.y+o.height;n.translate(a,a,[-s,-l]),n.rotate(a,a,-p/2),n.translate(a,a,[s,l]),o=o.clone(),o.applyTransform(a)}var h=v(o),u=v(i.getBoundingRect()),c=v(r.getBoundingRect()),d=i.position,g=r.position;g[0]=d[0]=h[0][0];var f=t.labelPosOpt;if(isNaN(f)){var m="+"===f?0:1;_(d,u,h,1,m),_(g,c,h,1,1-m)}else{m=f>=0?0:1;_(d,u,h,1,m),g[1]=d[1]+f}function y(t){var e=t.position;t.origin=[h[0][0]-e[0],h[1][0]-e[1]]}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function _(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}i.attr("position",d),r.attr("position",g),i.rotation=r.rotation=t.rotation,y(i),y(r)},_createAxis:function(t,e){var n=e.getData(),i=e.get("axisType"),r=h.createScaleByModel(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return t}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.niceTicks();var s=new a("value",r,t.axisExtent,i);return s.model=e,s},_createGroup:function(t){var e=this["_"+t]=new i.Group;return this.group.add(e),e},_renderAxisLine:function(e,n,r,o){var a=r.getExtent();!o.get("lineStyle.show")||n.add(new i.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:t.extend({lineCap:"round"},o.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,r){var o=r.getData(),a=n.scale.getTicks();f(a,(function(t){var a=n.dataToCoord(t),s=o.getItemModel(t),l=s.getModel("itemStyle"),h=s.getModel("emphasis.itemStyle"),u={position:[a,0],onclick:g(this._changeTimeline,this,t)},c=_(s,l,e,u);i.setHoverStyle(c,h.getItemStyle()),s.get("tooltip")?(c.dataIndex=t,c.dataModel=r):c.dataIndex=c.dataModel=null}),this)},_renderAxisLabel:function(t,e,n,r){var o=n.getLabelModel();if(o.get("show")){var a=r.getData(),s=n.getViewLabels();f(s,(function(r){var o=r.tickValue,s=a.getItemModel(o),l=s.getModel("label"),h=s.getModel("emphasis.label"),u=n.dataToCoord(r.tickValue),c=new i.Text({position:[u,0],rotation:t.labelRotation-t.rotation,onclick:g(this._changeTimeline,this,o),silent:!1});i.setTextStyle(c.style,l,{text:r.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(c),i.setHoverStyle(c,i.setTextStyle({},h))}),this)}},_renderControl:function(t,e,n,r){var o=t.controlSize,a=t.rotation,s=r.getModel("controlStyle").getItemStyle(),l=r.getModel("emphasis.controlStyle").getItemStyle(),h=[0,-o/2,o,o],u=r.getPlayState(),c=r.get("inverse",!0);function d(t,n,u,c){if(t){var d={position:t,origin:[o/2,0],rotation:c?-a:0,rectHover:!0,style:s,onclick:u},g=v(r,n,h,d);e.add(g),i.setHoverStyle(g,l)}}d(t.nextBtnPosition,"controlStyle.nextIcon",g(this._changeTimeline,this,c?"-":"+")),d(t.prevBtnPosition,"controlStyle.prevIcon",g(this._changeTimeline,this,c?"+":"-")),d(t.playPosition,"controlStyle."+(u?"stopIcon":"playIcon"),g(this._handlePlayClick,this,!u),!0)},_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=g(s._handlePointerDrag,s),t.ondragend=g(s._handlePointerDragend,s),x(t,o,n,i,!0)},onUpdate:function(t){x(t,o,n,i)}};this._currentPointer=_(a,a,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,r=u.asc(i.getExtent().slice());n>r[1]&&(n=r[1]),n":"\n";return(null!=l||u)&&(c+=d),u&&(c+=s(u),null!=l&&(c+=" : ")),null!=l&&(c+=s(h)),c},getData:function(){return this._data},setData:function(t){this._data=t}});e.mixin(h,o);var u=h;return irt=u,irt}function hrt(){if(art)return ort;art=1;var t=lrt(),e=t.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});return ort=e,ort}var urt,crt,drt,grt,frt,prt,mrt={};function yrt(){if(urt)return mrt;urt=1;var t=NC,e=$G(),n=qK(),i=n.isDimensionStacked,r=t.indexOf;function o(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function a(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function s(t,n,r,o,a,s){var l=[],h=i(n,o),u=h?n.getCalculationInfo("stackResultDimension"):o,c=p(n,u,t),d=n.indicesOfNearest(u,c)[0];l[a]=n.get(r,d),l[s]=n.get(u,d);var g=n.get(o,d),f=e.getPrecision(n.get(o,d));return f=Math.min(f,20),f>=0&&(l[s]=+l[s].toFixed(f)),[l,g]}var l=t.curry,h={min:l(s,"min"),max:l(s,"max"),average:l(s,"average")};function u(e,n){var i=e.getData(),o=e.coordinateSystem;if(n&&!a(n)&&!t.isArray(n.coord)&&o){var s=o.dimensions,l=c(n,i,o,e);if(n=t.clone(n),n.type&&h[n.type]&&l.baseAxis&&l.valueAxis){var u=r(s,l.baseAxis.dim),d=r(s,l.valueAxis.dim),g=h[n.type](i,l.baseDataDim,l.valueDataDim,u,d);n.coord=g[0],n.value=g[1]}else{for(var f=[null!=n.xAxis?n.xAxis:n.radiusAxis,null!=n.yAxis?n.yAxis:n.angleAxis],m=0;m<2;m++)h[f[m]]&&(f[m]=p(i,i.mapDimension(s[m]),f[m]));n.coord=f}}return n}function c(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(d(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 d(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var r=0;r=0&&"number"==typeof u&&(u=+u.toFixed(Math.min(y,20))),p.coord[g]=m.coord[g]=u,o=[p,m,{type:l,valueIndex:o.valueIndex,value:u}]}return o=[i.dataTransform(e,o[0]),i.dataTransform(e,o[1]),t.extend({},o[2])],o[2].type=o[2].type||"",t.merge(o[2],o[0]),t.merge(o[2],o[1]),o};function h(t){return!isNaN(t)&&!isFinite(t)}function u(t,e,n,i){var r=1-t,o=i.dimensions[t];return h(e[r])&&h(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function c(t,e){if("cartesian2d"===t.type){var n=e[0].coord,r=e[1].coord;if(n&&r&&(u(1,n,r,t)||u(0,n,r,t)))return!0}return i.dataFilter(t,e[0])&&i.dataFilter(t,e[1])}function d(t,e,i,r,o){var a,s=r.coordinateSystem,l=t.getItemModel(e),u=n.parsePercent(l.get("x"),o.getWidth()),c=n.parsePercent(l.get("y"),o.getHeight());if(isNaN(u)||isNaN(c)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,g=t.get(d[0],e),f=t.get(d[1],e);a=s.dataToPoint([g,f])}if("cartesian2d"===s.type){var p=s.getAxis("x"),m=s.getAxis("y");d=s.dimensions;h(t.get(d[0],e))?a[0]=p.toGlobalCoord(p.getExtent()[i?0:1]):h(t.get(d[1],e))&&(a[1]=m.toGlobalCoord(m.getExtent()[i?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];t.setItemLayout(e,a)}var g=o.extend({type:"markLine",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markLineModel;if(e){var i=e.getData(),r=e.__from,o=e.__to;r.each((function(e){d(r,e,!0,t,n),d(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)},renderSeries:function(e,n,i,o){var a=e.coordinateSystem,s=e.id,l=e.getData(),h=this.markerGroupMap,u=h.get(s)||h.set(s,new r);this.group.add(u.group);var c=f(a,e,n),g=c.from,p=c.to,m=c.line;n.__from=g,n.__to=p,n.setData(m);var y=n.get("symbol"),v=n.get("symbolSize");function _(t,n,i){var r=t.getItemModel(n);d(t,n,i,e,o),t.setItemVisual(n,{symbolRotate:r.get("symbolRotate"),symbolSize:r.get("symbolSize")||v[i?0:1],symbol:r.get("symbol",!0)||y[i?0:1],color:r.get("itemStyle.color")||l.getVisual("color")})}t.isArray(y)||(y=[y,y]),"number"==typeof v&&(v=[v,v]),c.from.each((function(t){_(g,t,!0),_(p,t,!1)})),m.each((function(t){var e=m.getItemModel(t).get("lineStyle.color");m.setItemVisual(t,{color:e||g.getItemVisual(t,"color")}),m.setItemLayout(t,[g.getItemLayout(t),p.getItemLayout(t)]),m.setItemVisual(t,{fromSymbolRotate:g.getItemVisual(t,"symbolRotate"),fromSymbolSize:g.getItemVisual(t,"symbolSize"),fromSymbol:g.getItemVisual(t,"symbol"),toSymbolRotate:p.getItemVisual(t,"symbolRotate"),toSymbolSize:p.getItemVisual(t,"symbolSize"),toSymbol:p.getItemVisual(t,"symbol")})})),u.updateData(m),c.line.eachItemGraphicEl((function(t,e){t.traverse((function(t){t.dataModel=n}))})),u.__keep=!0,u.group.silent=n.get("silent")||e.get("silent")}});function f(n,r,o){var a;a=n?t.map(n&&n.dimensions,(function(e){var n=r.getData().getDimensionInfo(r.getData().mapDimension(e))||{};return t.defaults({name:e},n)})):[{name:"value",type:"float"}];var s=new e(a,o),h=new e(a,o),u=new e([],o),d=t.map(o.get("data"),t.curry(l,r,n,o));n&&(d=t.filter(d,t.curry(c,n)));var g=n?i.dimValueGetter:function(t){return t.value};return s.initData(t.map(d,(function(t){return t[0]})),null,g),h.initData(t.map(d,(function(t){return t[1]})),null,g),u.initData(t.map(d,(function(t){return t[2]}))),u.hasItemOption=!0,{from:s,to:h,line:u}}return Srt=g,Srt}function Ert(){if(Crt)return Trt;Crt=1;var t=zC;return Irt(),Mrt(),t.registerPreprocessor((function(t){t.markLine=t.markLine||{}})),Trt}var zrt,Prt,Lrt={};function krt(){if(Prt)return zrt;Prt=1;var t=lrt(),e=t.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});return zrt=e,zrt}var Rrt,Drt,Ort={};function jrt(){if(Rrt)return Ort;Rrt=1;var t=NC,e=bM,n=kK(),i=$G(),r=CD,o=yrt(),a=vrt(),s=function(e,n,i,r){var a=o.dataTransform(e,r[0]),s=o.dataTransform(e,r[1]),l=t.retrieve,h=a.coord,u=s.coord;h[0]=l(h[0],-1/0),h[1]=l(h[1],-1/0),u[0]=l(u[0],1/0),u[1]=l(u[1],1/0);var c=t.mergeAll([{},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 l(t){return!isNaN(t)&&!isFinite(t)}function h(t,e,n,i){var r=1-t;return l(e[r])&&l(n[r])}function u(t,e){var n=e.coord[0],i=e.coord[1];return!("cartesian2d"!==t.type||!n||!i||!h(1,n,i)&&!h(0,n,i))||(o.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||o.dataFilter(t,{coord:i,x:e.x1,y:e.y1}))}function c(t,e,n,r,o){var a,s=r.coordinateSystem,h=t.getItemModel(e),u=i.parsePercent(h.get(n[0]),o.getWidth()),c=i.parsePercent(h.get(n[1]),o.getHeight());if(isNaN(u)||isNaN(c)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(n,e));else{var d=t.get(n[0],e),g=t.get(n[1],e),f=[d,g];s.clampData&&s.clampData(f,f),a=s.dataToPoint(f,!0)}if("cartesian2d"===s.type){var p=s.getAxis("x"),m=s.getAxis("y");d=t.get(n[0],e),g=t.get(n[1],e);l(d)?a[0]=p.toGlobalCoord(p.getExtent()["x0"===n[0]?0:1]):l(g)&&(a[1]=m.toGlobalCoord(m.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];return a}var d=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function g(e,i,r){var o,a,l=["x0","y0","x1","y1"];e?(o=t.map(e&&e.dimensions,(function(e){var n=i.getData(),r=n.getDimensionInfo(n.mapDimension(e))||{};return t.defaults({name:e},r)})),a=new n(t.map(l,(function(t,e){return{name:t,type:o[e%2].type}})),r)):(o=[{name:"value",type:"float"}],a=new n(o,r));var h=t.map(r.get("data"),t.curry(s,i,e,r));e&&(h=t.filter(h,t.curry(u,e)));var c=e?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value};return a.initData(h,null,c),a.hasItemOption=!0,a}return a.extend({type:"markArea",updateTransform:function(e,n,i){n.eachSeries((function(e){var n=e.markAreaModel;if(n){var r=n.getData();r.each((function(n){var o=t.map(d,(function(t){return c(r,n,t,e,i)}));r.setItemLayout(n,o);var a=r.getItemGraphicEl(n);a.setShape("points",o)}))}}),this)},renderSeries:function(n,i,o,a){var s=n.coordinateSystem,h=n.id,u=n.getData(),f=this.markerGroupMap,p=f.get(h)||f.set(h,{group:new r.Group});this.group.add(p.group),p.__keep=!0;var m=g(s,n,i);i.setData(m),m.each((function(e){var i=t.map(d,(function(t){return c(m,e,t,n,a)})),r=!0;t.each(d,(function(t){if(r){var n=m.get(t[0],e),i=m.get(t[1],e);(l(n)||s.getAxis("x").containData(n))&&(l(i)||s.getAxis("y").containData(i))&&(r=!1)}})),m.setItemLayout(e,{points:i,allClipped:r}),m.setItemVisual(e,{color:u.getVisual("color")})})),m.diff(p.__data).add((function(t){var e=m.getItemLayout(t);if(!e.allClipped){var n=new r.Polygon({shape:{points:e.points}});m.setItemGraphicEl(t,n),p.group.add(n)}})).update((function(t,e){var n=p.__data.getItemGraphicEl(e),o=m.getItemLayout(t);o.allClipped?n&&p.group.remove(n):(n?r.updateProps(n,{shape:{points:o.points}},i,t):n=new r.Polygon({shape:{points:o.points}}),m.setItemGraphicEl(t,n),p.group.add(n))})).remove((function(t){var e=p.__data.getItemGraphicEl(t);p.group.remove(e)})).execute(),m.eachItemGraphicEl((function(n,o){var a=m.getItemModel(o),s=a.getModel("label"),l=a.getModel("emphasis.label"),h=m.getItemVisual(o,"color");n.useStyle(t.defaults(a.getModel("itemStyle").getItemStyle(),{fill:e.modifyAlpha(h,.4),stroke:h})),n.hoverStyle=a.getModel("emphasis.itemStyle").getItemStyle(),r.setLabelStyle(n.style,n.hoverStyle,s,l,{labelFetcher:i,labelDataIndex:o,defaultText:m.getName(o)||"",isRectText:!0,autoColor:h}),r.setHoverStyle(n,{}),n.dataModel=i})),p.__data=m,p.group.silent=i.get("silent")||n.get("silent")}}),Ort}function Frt(){if(Drt)return Lrt;Drt=1;var t=zC;return krt(),jrt(),t.registerPreprocessor((function(t){t.markArea=t.markArea||{}})),Lrt}var Nrt,Brt,Grt={},Vrt={};function qrt(){if(Brt)return Nrt;Brt=1;var t=zC,e=NC,n=GG(),i=PR,r=i.isNameSpecified,o=oY,a=o.legend.selector,s={all:{type:"all",title:e.clone(a.all)},inverse:{type:"inverse",title:e.clone(a.inverse)}},l=t.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){l.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var n=t.selector;!0===n&&(n=t.selector=["all","inverse"]),e.isArray(n)&&e.each(n,(function(t,i){e.isString(t)&&(t={type:t}),n[i]=e.merge(t,s[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,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,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},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}}}),h=l;return Nrt=h,Nrt}var Wrt,Urt,Hrt,Zrt,Yrt,Xrt,Krt,Jrt,Qrt,$rt,tot={};function eot(){if(Wrt)return tot;Wrt=1;var t=zC,e=NC;function n(t,n,i){var r,o={},a="toggleSelected"===t;return i.eachComponent("legend",(function(i){a&&null!=r?i[r?"select":"unSelect"](n.name):"allSelect"===t||"inverseSelect"===t?i[t]():(i[t](n.name),r=i.isSelected(n.name));var s=i.getData();e.each(s,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var n=i.isSelected(e);o.hasOwnProperty(e)?o[e]=o[e]&&n:o[e]=n}}))})),"allSelect"===t||"inverseSelect"===t?{selected:o}:{name:n.name,selected:o}}return t.registerAction("legendToggleSelect","legendselectchanged",e.curry(n,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",e.curry(n,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",e.curry(n,"inverseSelect")),t.registerAction("legendSelect","legendselected",e.curry(n,"select")),t.registerAction("legendUnSelect","legendunselected",e.curry(n,"unSelect")),tot}function not(){if(Hrt)return Urt;Hrt=1;var t=zC,e=NC,n=AJ(),i=n.createSymbol,r=CD,o=Het(),a=o.makeBackground,s=JG,l=e.curry,h=e.each,u=r.Group,c=t.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new u),this._backgroundEl,this.group.add(this._selectorGroup=new u),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,n,i){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var o=t.get("align"),l=t.get("orient");(!o||"auto"===o)&&(o="right"===t.get("left")&&"vertical"===l?"right":"left");var h=t.get("selector",!0),u=t.get("selectorPosition",!0);h&&(!u||"auto"===u)&&(u="horizontal"===l?"end":"start"),this.renderInner(o,t,n,i,h,l,u);var c=t.getBoxLayoutParams(),d={width:i.getWidth(),height:i.getHeight()},g=t.get("padding"),f=s.getLayoutRect(c,d,g),p=this.layoutInner(t,o,f,r,h,u),m=s.getLayoutRect(e.defaults({width:p.width,height:p.height},c),d,g);this.group.attr("position",[m.x-p.x,m.y-p.y]),this.group.add(this._backgroundEl=a(p,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(t,n,i,r,o,a,s){var c=this.getContentGroup(),d=e.createHashMap(),m=n.get("selectedMode"),y=[];i.eachRawSeries((function(t){!t.get("legendHoverLink")&&y.push(t.id)})),h(n.getData(),(function(e,o){var a=e.get("name");if(this.newlineDisabled||""!==a&&"\n"!==a){var s=i.getSeriesByName(a)[0];if(!d.get(a))if(s){var h=s.getData(),v=h.getVisual("color"),_=h.getVisual("borderColor");"function"==typeof v&&(v=v(s.getDataParams(0))),"function"==typeof _&&(_=_(s.getDataParams(0)));var x=h.getVisual("legendSymbol")||"roundRect",b=h.getVisual("symbol"),w=this._createItem(a,o,e,n,x,b,t,v,_,m);w.on("click",l(g,a,null,r,y)).on("mouseover",l(f,s.name,null,r,y)).on("mouseout",l(p,s.name,null,r,y)),d.set(a,!0)}else i.eachRawSeries((function(i){if(!d.get(a)&&i.legendVisualProvider){var s=i.legendVisualProvider;if(!s.containName(a))return;var h=s.indexOfName(a),u=s.getItemVisual(h,"color"),c=s.getItemVisual(h,"borderColor"),v="roundRect",_=this._createItem(a,o,e,n,v,null,t,u,c,m);_.on("click",l(g,null,a,r,y)).on("mouseover",l(f,null,a,r,y)).on("mouseout",l(p,null,a,r,y)),d.set(a,!0)}}),this)}else c.add(new u({newline:!0}))}),this),o&&this._createSelector(o,n,r,a,s)},_createSelector:function(t,e,n,i,o){var a=this.getSelectorGroup();function s(t){var i=t.type,o=new r.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});a.add(o);var s=e.getModel("selectorLabel"),l=e.getModel("emphasis.selectorLabel");r.setLabelStyle(o.style,o.hoverStyle={},s,l,{defaultText:t.title,isRectText:!1}),r.setHoverStyle(o)}h(t,(function(t){s(t)}))},_createItem:function(t,n,o,a,s,l,h,c,g,f){var p=a.get("itemWidth"),m=a.get("itemHeight"),y=a.get("inactiveColor"),v=a.get("inactiveBorderColor"),_=a.get("symbolKeepAspect"),x=a.getModel("itemStyle"),b=a.isSelected(t),w=new u,S=o.getModel("textStyle"),A=o.get("icon"),C=o.getModel("tooltip"),T=C.parentModel;s=A||s;var I=i(s,0,0,p,m,b?c:y,null==_||_);if(w.add(d(I,s,x,g,v,b)),!A&&l&&(l!==s||"none"===l)){var M=.8*m;"none"===l&&(l="circle");var E=i(l,(p-M)/2,(m-M)/2,M,M,b?c:y,null==_||_);w.add(d(E,l,x,g,v,b))}var z="left"===h?p+5:-5,P=h,L=a.get("formatter"),k=t;"string"==typeof L&&L?k=L.replace("{name}",null!=t?t:""):"function"==typeof L&&(k=L(t)),w.add(new r.Text({style:r.setTextStyle({},S,{text:k,x:z,y:m/2,textFill:b?S.getTextColor():y,textAlign:P,textVerticalAlign:"middle"})}));var R=new r.Rect({shape:w.getBoundingRect(),invisible:!0,tooltip:C.get("show")?e.extend({content:t,formatter:T.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:a.componentIndex,name:t,$vars:["name"]}},C.option):null});return w.add(R),w.eachChild((function(t){t.silent=!0})),R.silent=!f,this.getContentGroup().add(w),r.setHoverStyle(w),w.__legendDataIndex=n,w},layoutInner:function(t,e,n,i,r,o){var a=this.getContentGroup(),l=this.getSelectorGroup();s.box(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var h=a.getBoundingRect(),u=[-h.x,-h.y];if(r){s.box("horizontal",l,t.get("selectorItemGap",!0));var c=l.getBoundingRect(),d=[-c.x,-c.y],g=t.get("selectorButtonGap",!0),f=t.getOrient().index,p=0===f?"width":"height",m=0===f?"height":"width",y=0===f?"y":"x";"end"===o?d[f]+=h[p]+g:u[f]+=c[p]+g,d[1-f]+=h[m]/2-c[m]/2,l.attr("position",d),a.attr("position",u);var v={x:0,y:0};return v[p]=h[p]+g+c[p],v[m]=Math.max(h[m],c[m]),v[y]=Math.min(0,c[y]+d[1-f]),v}return a.attr("position",u),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function d(t,e,n,i,r,o){var a;return"line"!==e&&e.indexOf("empty")<0?(a=n.getItemStyle(),t.style.stroke=i,o||(a.stroke=r)):a=n.getItemStyle(["borderWidth","borderColor"]),t.setStyle(a)}function g(t,e,n,i){p(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),f(t,e,n,i)}function f(t,e,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function p(t,e,n,i){var r=n.getZr().storage.getDisplayList()[0];r&&r.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}return Urt=c,Urt}function iot(){if(Yrt)return Zrt;function t(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;no[s],m=[-g.x,-g.y];r||(m[a]=u.position[a]);var y=[0,0],v=[-f.x,-f.y],_=t.retrieve2(i.get("pageButtonGap",!0),i.get("itemGap",!0));if(p){var x=i.get("pageButtonPosition",!0);"end"===x?v[a]+=o[s]-f[s]:y[a]+=f[s]+_}v[1-a]+=g[l]/2-f[l]/2,u.attr("position",m),c.attr("position",y),d.attr("position",v);var b={x:0,y:0};if(b[s]=p?o[s]:g[s],b[l]=Math.max(g[l],f[l]),b[h]=Math.min(0,f[h]+v[1-a]),c.__rectSize=o[s],p){var w={x:0,y:0};w[s]=Math.max(o[s]-f[s]-_,0),w[l]=b[l],c.setClipPath(new e.Rect({shape:w})),c.__rectSize=w[s]}else d.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var S=this._getPageInfo(i);return null!=S.pageIndex&&e.updateProps(u,{position:S.contentPosition},!!p&&i),this._updatePageInfoView(i,S),b},_pageGo:function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},_updatePageInfoView:function(e,n){var i=this._controllerGroup;t.each(["pagePrev","pageNext"],(function(t){var r=null!=n[t+"DataIndex"],o=i.childOfName(t);o&&(o.setStyle("fill",r?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var r=i.childOfName("pageText"),o=e.get("pageFormatter"),a=n.pageIndex,s=null!=a?a+1:0,l=n.pageCount;r&&o&&r.setStyle("text",t.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,s=o[r],l=a[r],h=this._findTargetItemIndex(e),u=n.children(),c=u[h],d=u.length,g=d?1:0,f={contentPosition:n.position.slice(),pageCount:g,pageIndex:g-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return f;var p=x(c);f.contentPosition[r]=-p.s;for(var m=h+1,y=p,v=p,_=null;m<=d;++m)_=x(u[m]),(!_&&v.e>y.s+i||_&&!b(_,y.s))&&(y=v.i>y.i?v:_,y&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=y.i),++f.pageCount)),v=_;for(m=h-1,y=p,v=p,_=null;m>=-1;--m)_=x(u[m]),(!_||!b(v,_.s))&&y.i=e&&t.s<=e+i}},_findTargetItemIndex:function(t){if(!this._showController)return 0;var e,n,i=this.getContentGroup();return i.eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n}}),l=s;return Qrt=l,Qrt}var sot,lot,hot={};function uot(){if(sot)return hot;sot=1;var t=zC;return 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)}))})),hot}function cot(){return lot||(lot=1,rot(),oot(),aot(),uot()),Grt}var dot,got,fot,pot,mot,yot={},vot={};function _ot(){if(got)return dot;got=1;var t=_nt(),e=t.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),n=e;return dot=n,dot}function xot(){if(pot)return fot;pot=1;var t=NC,e=JT,n=CD,i=HZ,r=xnt(),o=$G(),a=JG,s=R5(),l=n.Rect,h=o.linearMap,u=o.asc,c=t.bind,d=t.each,g=7,f=1,p=30,m="horizontal",y="vertical",v=5,_=["line","bar","candlestick","scatter"],x=r.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,n,r){x.superApply(this,"render",arguments),i.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?((!r||"dataZoom"!==r.type||r.from!==this.uid)&&this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){x.superApply(this,"remove",arguments),i.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),i.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new n.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,n=this.api,i=this._findCoordRect(),r={width:n.getWidth(),height:n.getHeight()},o=this._orient===m?{right:r.width-i.x-i.width,top:r.height-p-g,width:i.width,height:p}:{right:g,top:i.y,width:p,height:i.height},s=a.getLayoutParams(e.option);t.each(["right","top","width","height"],(function(t){"ph"===s[t]&&(s[t]=o[t])}));var l=a.getLayoutRect(s,r,e.padding);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===y&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==m||r?n===m&&r?{scale:a?[-1,1]:[-1,-1]}:n!==y||r?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]});var s=t.getBoundingRect([o]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,n=this._size,i=this._displayables.barGroup;i.add(new l({silent:!0,shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:e.get("backgroundColor")},z2:-40})),i.add(new l({shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:"transparent"},z2:0,onclick:t.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var i=this._size,r=e.series,o=r.getRawData(),a=r.getShadowDim?r.getShadowDim():e.otherDim;if(null!=a){var s=o.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,i[1]],d=[0,i[0]],g=[[i[0],0],[0,0]],f=[],p=d[1]/(o.count()-1),m=0,y=Math.round(o.count()/i[0]);o.each([a],(function(t,e){if(y>0&&e%y)m+=p;else{var n=null==t||isNaN(t)||""===t,i=n?0:h(t,s,c,!0);n&&!u&&e?(g.push([g[g.length-1][0],0]),f.push([f[f.length-1][0],0])):!n&&u&&(g.push([m,0]),f.push([m,0])),g.push([m,i]),f.push([m,i]),m+=p,u=n}}));var v=this.dataZoomModel;this._displayables.barGroup.add(new n.Polygon({shape:{points:g},style:t.defaults({fill:v.get("dataBackgroundColor")},v.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new n.Polyline({shape:{points:f},style:v.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,n=e.get("showDataShadow");if(!1!==n){var i,r=this.ecModel;return e.eachTargetAxis((function(o,a){var s=e.getAxisProxy(o.name,a).getTargetSeriesModels();t.each(s,(function(e){if(!i&&!(!0!==n&&t.indexOf(_,e.get("type"))<0)){var s,l=r.getComponent(o.axis,a).axis,h=b(o.name),u=e.coordinateSystem;null!=h&&u.getOtherAxis&&(s=u.getOtherAxis(l).inverse),h=e.getData().mapDimension(h),i={thisAxis:l,series:e,thisDim:o.name,otherDim:h,otherAxisInverse:s}}}),this)}),this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],r=this._displayables.barGroup,a=this._size,s=this.dataZoomModel;r.add(t.filler=new l({draggable:!0,cursor:w(this._orient),drift:c(this._onDragMove,this,"all"),ondragstart:c(this._showDataInfo,this,!0),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),r.add(new l({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:f,fill:"rgba(0,0,0,0)"}})),d([0,1],(function(t){var a=n.createIcon(s.get("handleIcon"),{cursor:w(this._orient),draggable:!0,drift:c(this._onDragMove,this,t),ondragend:c(this._onDragEnd,this),onmouseover:c(this._showDataInfo,this,!0),onmouseout:c(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),l=a.getBoundingRect();this._handleHeight=o.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,a.setStyle(s.getModel("handleStyle").getItemStyle());var h=s.get("handleColor");null!=h&&(a.style.fill=h),r.add(e[t]=a);var u=s.textStyleModel;this.group.add(i[t]=new n.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:u.getTextColor(),textFont:u.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[h(t[0],[0,100],e,!0),h(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];s(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?h(o.minSpan,a,r,!0):null,null!=o.maxSpan?h(o.maxSpan,a,r,!0):null);var l=this._range,c=this._range=u([h(i[0],r,a,!0),h(i[1],r,a,!0)]);return!l||l[0]!==c[0]||l[1]!==c[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,i=u(n.slice()),r=this._size;d([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scale:[o/2,o/2],position:[n[t],r[1]/2-o/2]})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,r=i.handleLabels,o=this._orient,a=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,h=this._range,c=t?s.calculateDataWindow({start:h[0],end:h[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var d=u(this._handleEnds.slice());function g(t){var e=n.getTransform(i.handles[t].parent,this.group),s=n.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+v,h=n.applyTransform([d[t]+(0===t?-l:l),this._size[1]/2],e);r[t].setStyle({x:h[0],y:h[1],textVerticalAlign:o===m?"middle":s,textAlign:o===m?s:"center",text:a[t]})}g.call(this,0),g.call(this,1)},_formatLabel:function(e,n){var i=this.dataZoomModel,r=i.get("labelFormatter"),o=i.get("labelPrecision");(null==o||"auto"===o)&&(o=n.getPixelPrecision());var a=null==e||isNaN(e)?"":"category"===n.type||"time"===n.type?n.scale.getLabel(Math.round(e)):e.toFixed(Math.min(o,20));return t.isFunction(r)?r(e,a):t.isString(r)?r.replace("{value}",a):a},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,i,r,o){this._dragging=!0,e.stop(o.event);var a=this._displayables.barGroup.getLocalTransform(),s=n.applyTransform([i,r],a,!0),l=this._updateInterval(t,s[0]),h=this.dataZoomModel.get("realtime");this._updateView(!h),l&&h&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.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()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(d(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}})),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});function b(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function w(t){return"vertical"===t?"ns-resize":"ew-resize"}var S=x;return fot=S,fot}function bot(){return mot||(mot=1,rnt(),_nt(),xnt(),_ot(),xot(),Cnt(),Rnt()),vot}var wot,Sot,Aot={};function Cot(){if(Sot)return wot;Sot=1;var t=_nt(),e=t.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});return wot=e,wot}var Tot,Iot,Mot,Eot,zot,Pot={};function Lot(){if(Tot)return Pot;Tot=1;var t=NC,e=B0(),n=HZ,i="\0_ec_dataZoom_roams";function r(e,i){var r=s(e),o=i.dataZoomId,a=i.coordId;t.each(r,(function(e,n){var r=e.dataZoomInfos;r[o]&&t.indexOf(i.allCoordIds,a)<0&&(delete r[o],e.count--)})),h(r);var d=r[a];d||(d=r[a]={coordId:a,dataZoomInfos:{},count:0},d.controller=l(e,d),d.dispatchAction=t.curry(u,e)),!d.dataZoomInfos[o]&&d.count++,d.dataZoomInfos[o]=i;var g=c(d.dataZoomInfos);d.controller.enable(g.controlType,g.opt),d.controller.setPointerChecker(i.containsPoint),n.createOrUpdate(d,"dispatchAction",i.dataZoomModel.get("throttle",!0),"fixRate")}function o(e,n){var i=s(e);t.each(i,(function(t){t.controller.dispose();var e=t.dataZoomInfos;e[n]&&(delete e[n],t.count--)})),h(i)}function a(t){return t.type+"\0_"+t.id}function s(t){var e=t.getZr();return e[i]||(e[i]={})}function l(n,i){var r=new e(n.getZr());return t.each(["pan","zoom","scrollMove"],(function(e){r.on(e,(function(n){var r=[];t.each(i.dataZoomInfos,(function(t){if(n.isAvailableBehavior(t.dataZoomModel.option)){var o=(t.getRange||{})[e],a=o&&o(i.controller,n);!t.dataZoomModel.get("disabled",!0)&&a&&r.push({dataZoomId:t.dataZoomId,start:a[0],end:a[1]})}})),r.length&&i.dispatchAction(r)}))})),r}function h(e){t.each(e,(function(t,n){t.count||(t.controller.dispose(),delete e[n])}))}function u(t,e){t.dispatchAction({type:"dataZoom",batch:e})}function c(e){var n,i="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return t.each(e,(function(t){var e=t.dataZoomModel,a=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");r[i+a]>r[i+n]&&(n=a),o&=e.get("preventDefaultMouseMove",!0)})),{controlType:n,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}return Pot.register=r,Pot.unregister=o,Pot.generateCoordId=a,Pot}function kot(){if(Mot)return Iot;Mot=1;var t=NC,e=xnt(),n=R5(),i=Lot(),r=t.bind,o=e.extend({type:"dataZoom.inside",init:function(t,e){this._range},render:function(e,n,s,l){o.superApply(this,"render",arguments),this._range=e.getPercentRange(),t.each(this.getTargetCoordInfo(),(function(n,o){var l=t.map(n,(function(t){return i.generateCoordId(t.model)}));t.each(n,(function(n){var h=n.model,u={};t.each(["pan","zoom","scrollMove"],(function(t){u[t]=r(a[t],this,n,o)}),this),i.register(s,{coordId:i.generateCoordId(h),allCoordIds:l,containsPoint:function(t,e,n){return h.coordinateSystem.containPoint([e,n])},dataZoomId:e.id,dataZoomModel:e,getRange:u})}),this)}),this)},dispose:function(){i.unregister(this.api,this.dataZoomModel.id),o.superApply(this,"dispose",arguments),this._range=null}}),a={zoom:function(t,e,i,r){var o=this._range,a=o.slice(),s=t.axisModels[0];if(s){var h=l[e](null,[r.originX,r.originY],s,i,t),u=(h.signal>0?h.pixelStart+h.pixelLength-h.pixel:h.pixel-h.pixelStart)/h.pixelLength*(a[1]-a[0])+a[0],c=Math.max(1/r.scale,0);a[0]=(a[0]-u)*c+u,a[1]=(a[1]-u)*c+u;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(n(0,a,[0,100],0,d.minSpan,d.maxSpan),this._range=a,o[0]!==a[0]||o[1]!==a[1])return a}},pan:s((function(t,e,n,i,r,o){var a=l[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:s((function(t,e,n,i,r,o){var a=l[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n);return a.signal*(t[1]-t[0])*o.scrollDelta}))};function s(t){return function(e,i,r,o){var a=this._range,s=a.slice(),l=e.axisModels[0];if(l){var h=t(s,l,e,i,r,o);if(n(h,s,[0,100],"all"),this._range=s,a[0]!==s[0]||a[1]!==s[1])return s}}}var l={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(),h=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=h[1]-h[0],a.pixelStart=h[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}},h=o;return Iot=h,Iot}function Rot(){return Eot||(Eot=1,rnt(),_nt(),xnt(),Cot(),kot(),Cnt(),Rnt()),Aot}function Dot(){return zot||(zot=1,bot(),Rot()),yot}var Oot,jot,Fot={},Not={};function Bot(){if(jot)return Oot;jot=1;var t=NC,e=t.each;function n(n){var r=n&&n.visualMap;t.isArray(r)||(r=r?[r]:[]),e(r,(function(n){if(n){i(n,"splitList")&&!i(n,"pieces")&&(n.pieces=n.splitList,delete n.splitList);var r=n.pieces;r&&t.isArray(r)&&e(r,(function(e){t.isObject(e)&&(i(e,"start")&&!i(e,"min")&&(e.min=e.start),i(e,"end")&&!i(e,"max")&&(e.max=e.end))}))}}))}function i(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}return Oot=n,Oot}var Got,Vot={};function qot(){if(Got)return Vot;Got=1;var t=FV;return t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),Vot}var Wot,Uot,Hot,Zot,Yot,Xot,Kot,Jot,Qot,$ot={};function tat(){if(Wot)return $ot;Wot=1;var t=zC,e=NC,n=fit(),i=I1(),r=t.PRIORITY.VISUAL.COMPONENT;function o(t,e,n,r){for(var o=e.targetVisuals[r],a=i.prepareVisualTypes(o),s={color:t.getData().getVisual("color")},l=0,h=a.length;l"],e.isArray(t)&&(t=t.slice(),r=!0),o=n?t:r?[u(t[0]),u(t[1])]:u(t),e.isString(h)?h.replace("{value}",r?o[0]:o).replace("{value2}",r?o[1]:o):e.isFunction(h)?r?h(t[0],t[1]):h(t):r?t[0]===l[0]?i[0]+" "+o[1]:t[1]===l[1]?i[1]+" "+o[0]:o[0]+" - "+o[1]:o;function u(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=d([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,r=i.length-1;r>=0;r--){var o=i[r],a=t.getDimensionInfo(o);if(!a.isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,n=this.option,o={inRange:n.inRange,outOfRange:n.outOfRange},a=n.target||(n.target={}),s=n.controller||(n.controller={});e.merge(a,o),e.merge(s,o);var d=this.isCategory();function f(r){u(n.color)&&!r.inRange&&(r.inRange={color:n.color.slice().reverse()}),r.inRange=r.inRange||{color:t.get("gradientColor")},c(this.stateList,(function(t){var n=r[t];if(e.isString(n)){var o=i.get(n,"active",d);o?(r[t]={},r[t][n]=o):delete r[t]}}),this)}function p(t,e,n){var o=t[e],a=t[n];o&&!a&&(a=t[n]={},c(o,(function(t,e){if(r.isValidType(e)){var n=i.get(e,"inactive",d);null!=n&&(a[e]=n,"color"===e&&!a.hasOwnProperty("opacity")&&!a.hasOwnProperty("colorAlpha")&&(a.opacity=[0,0]))}})))}function m(t){var n=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,r=this.get("inactiveColor");c(this.stateList,(function(o){var a=this.itemSize,s=t[o];s||(s=t[o]={color:d?r:[r]}),null==s.symbol&&(s.symbol=n&&e.clone(n)||(d?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=i&&e.clone(i)||(d?a[0]:[a[0],a[0]])),s.symbol=l(s.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t}));var u=s.symbolSize;if(null!=u){var c=-1/0;h(u,(function(t){t>c&&(c=t)})),s.symbolSize=l(u,(function(t){return g(t,[0,c],[0,a[0]],!0)}))}}),this)}f.call(this,a),f.call(this,s),p.call(this,a,"inRange","outOfRange"),m.call(this,s)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:f,getValueState:f,getVisualMeta:f}),m=p;return Zot=m,Zot}function iat(){if(Kot)return Xot;Kot=1;var t=NC,e=nat(),n=$G(),i=[20,140],r=e.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){r.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){r.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=i[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=i[1])},_resetRange:function(){var e=this.getExtent(),n=this.option.range;!n||n.auto?(e.auto=1,this.option.range=e):t.isArray(n)&&(n[0]>n[1]&&n.reverse(),n[0]=Math.max(n[0],e[0]),n[1]=Math.min(n[1],e[1]))},completeVisualOption:function(){e.prototype.completeVisualOption.apply(this,arguments),t.each(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=n.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getVisualMeta:function(t){var e=o(this,"outOfRange",this.getExtent()),n=o(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var a=0,s=0,l=n.length,h=e.length;st[1])break;i.push({color:this.getControllerVisual(a,"color",e),offset:o/n})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},_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]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new r.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,a=n.handleLabels;u([0,1],(function(s){var l=o[s];l.setStyle("fill",e.handlesColor[s]),l.position[1]=t[s];var h=r.applyTransform(n.handleLabelPoints[s],r.getTransform(l,this.group));a[s].setStyle({x:h[0],y:h[1],text:i.formatValueText(this._dataInterval[s]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===s?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(t,e,n,i){var o=this.visualMapModel,a=o.getExtent(),s=o.itemSize,l=[0,s[1]],u=h(t,a,l,!0),c=this._shapes,d=c.indicator;if(d){d.position[1]=u,d.attr("invisible",!1),d.setShape("points",v(!!n,i,u,s[1]));var g={convertOpacityToAlpha:!0},f=this.getControllerVisual(t,"color",g);d.setStyle("fill",f);var p=r.applyTransform(c.indicatorLabelPoint,r.getTransform(d,this.group)),m=c.indicatorLabel;m.attr("invisible",!1);var y=this._applyTransform("left",c.barGroup),_=this._orient;m.setStyle({text:(n||"")+o.formatValueText(e),textVerticalAlign:"horizontal"===_?y:"middle",textAlign:"horizontal"===_?"center":y,x:p[0],y:p[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);i[1]=c(d(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()}))},_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()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=c(d(r[0],t),r[1]);var a=_(n,o,r),u=[t-a,t+a],g=h(t,r,o,!0),f=[h(u[0],r,o,!0),h(u[1],r,o,!0)];u[0]r[1]&&(f[1]=1/0),e&&(f[0]===-1/0?this._showIndicator(g,f[1],"< ",a):f[1]===1/0?this._showIndicator(g,f[0],"> ",a):this._showIndicator(g,g,"≈ ",a));var p=this._hoverLinkDataIndices,m=[];(e||x(n))&&(m=this._hoverLinkDataIndices=n.findTargetDataIndices(f));var y=l.compressBatches(p,m);this._dispatchHighDown("downplay",s.makeHighDownBatch(y[0],n)),this._dispatchHighDown("highlight",s.makeHighDownBatch(y[1],n))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=e.dataIndex){var i=this.ecModel.getSeriesByIndex(e.seriesIndex);if(n.isTargetSeries(i)){var r=i.getData(e.dataType),o=r.get(n.getDataDimension(r),e.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",s.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(e,n,i,o){var a=r.getTransform(n,o?null:this.group);return r[t.isArray(e)?"applyTransform":"transformDirection"](e,a,i)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function m(t,e,i,o){return new r.Polygon({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){n.stop(t.event)},ondragend:o})}function y(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}function v(t,e,n,i){return t?[[0,-c(e,d(n,0))],[f,0],[0,c(e,d(i-n,0))]]:[[0,0],[5,-5],[5,5]]}function _(t,e,n){var i=g/2,r=t.get("hoverLinkDataSize");return r&&(i=h(r,e,n,!0)/2),i}function x(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function b(t){return"vertical"===t?"ns-resize":"ew-resize"}var w=p;return aat=w,aat}var cat,dat,gat={};function fat(){if(cat)return gat;cat=1;var t=zC,e={type:"selectDataRange",event:"dataRangeSelected",update:"update"};return t.registerAction(e,(function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))})),gat}function pat(){if(dat)return Not;dat=1;var t=zC,e=Bot();return qot(),tat(),iat(),uat(),fat(),t.registerPreprocessor(e),Not}var mat,yat,vat,_at,xat,bat,wat={};function Sat(){if(yat)return mat;yat=1;var t=NC,e=nat(),n=I1(),i=eat(),r=$G(),o=r.reformIntervals,a=e.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(e,n){a.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var i=this._mode=this._determineMode();s[this._mode].call(this),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(e,n){"categories"===i?(e.mappingMethod="category",e.categories=t.clone(r)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=t.map(this._pieceList,(function(e){e=t.clone(e);return"inRange"!==n&&(e.visual=null),e})))}))},completeVisualOption:function(){var r=this.option,o={},a=n.listVisualTypes(),s=this.isCategory();function l(e,n,i){return e&&e[n]&&(t.isObject(e[n])?e[n].hasOwnProperty(i):e[n]===i)}t.each(r.pieces,(function(e){t.each(a,(function(t){e.hasOwnProperty(t)&&(o[t]=1)}))})),t.each(o,(function(e,n){var o=0;t.each(this.stateList,(function(t){o|=l(r,t,n)||l(r.target,t,n)}),this),!o&&t.each(this.stateList,(function(t){(r[t]||(r[t]={}))[n]=i.get(n,"inRange"===t?"active":"inactive",s)}))}),this),e.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,n){var i=this.option,r=this._pieceList,o=(n?i:e).selected||{};if(i.selected=o,t.each(r,(function(t,e){var n=this.getSelectedMapKey(t);o.hasOwnProperty(n)||(o[n]=!0)}),this),"single"===i.selectedMode){var a=!1;t.each(r,(function(t,e){var n=this.getSelectedMapKey(t);o[n]&&(a?o[n]=!1:a=!0)}),this)}},getSelectedMapKey:function(t){return"categories"===this._mode?t.value+"":t.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=t.clone(e)},getValueState:function(t){var e=n.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimension(o),(function(e,i){var o=n.findPieceIndex(e,this._pieceList);o===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},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},getVisualMeta:function(e){if(!this.isCategory()){var n=[],i=[],r=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),a=o[o.length-1].interval[1],a!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return t.each(o,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:n,outerColors:i}}function l(t,o){var a=r.getRepresentValue({interval:t});o||(o=r.getValueState(a));var s=e(a,o);t[0]===-1/0?i[0]=s:t[1]===1/0?i[1]=s:n.push({value:t[0],color:s},{value:t[1],color:s})}}}),s={splitNumber:function(){var e=this.option,n=this._pieceList,i=Math.min(e.precision,20),r=this.getExtent(),a=e.splitNumber;a=Math.max(parseInt(a,10),1),e.splitNumber=a;for(var s=(r[1]-r[0])/a;+s.toFixed(i)!==s&&i<5;)i++;e.precision=i,s=+s.toFixed(i),e.minOpen&&n.push({interval:[-1/0,r[0]],close:[0,0]});for(var l=0,h=r[0];l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function l(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var h=a;return mat=h,mat}function Aat(){if(_at)return vat;_at=1;var t=NC,e=rat(),n=CD,i=AJ(),r=i.createSymbol,o=JG,a=hat(),s=e.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var i=this.visualMapModel,r=i.get("textGap"),a=i.textStyleModel,s=a.getFont(),l=a.getTextColor(),h=this._getItemAlign(),u=i.itemSize,c=this._getViewData(),d=c.endsText,g=t.retrieve(i.get("showLabel",!0),!d);function f(o){var a=o.piece,c=new n.Group;c.onclick=t.bind(this._onItemClick,this,a),this._enableHoverLink(c,o.indexInModelPieceList);var d=i.getRepresentValue(a);if(this._createItemSymbol(c,d,[0,0,u[0],u[1]]),g){var f=this.visualMapModel.getValueState(d);c.add(new n.Text({style:{x:"right"===h?-r:u[0]+r,y:u[1]/2,text:a.text,textVerticalAlign:"middle",textAlign:h,textFont:s,textFill:l,opacity:"outOfRange"===f?.5:1}}))}e.add(c)}d&&this._renderEndsText(e,d[0],u,g,h),t.each(c.viewPieceList,f,this),d&&this._renderEndsText(e,d[1],u,g,h),o.box(i.get("orient"),e,i.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,n){function i(t){var e=this.visualMapModel;e.option.hoverLink&&this.api.dispatchAction({type:t,batch:a.makeHighDownBatch(e.findTargetDataIndices(n),e)})}e.on("mouseover",t.bind(i,this,"highlight")).on("mouseout",t.bind(i,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return a.getItemAlign(t,this.api,t.itemSize);var n=e.align;return(!n||"auto"===n)&&(n="left"),n},_renderEndsText:function(t,e,i,r,o){if(e){var a=new n.Group,s=this.visualMapModel.textStyleModel;a.add(new n.Text({style:{x:r?"right"===o?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:r?o:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(a)}},_getViewData:function(){var e=this.visualMapModel,n=t.map(e.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),i=e.get("text"),r=e.get("orient"),o=e.get("inverse");return("horizontal"===r?o:!o)?n.reverse():i&&(i=i.slice().reverse()),{viewPieceList:n,endsText:i}},_createItemSymbol:function(t,e,n){t.add(r(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},_onItemClick:function(e){var n=this.visualMapModel,i=n.option,r=t.clone(i.selected),o=n.getSelectedMapKey(e);"single"===i.selectedMode?(r[o]=!0,t.each(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})}}),l=s;return vat=l,vat}function Cat(){if(xat)return wat;xat=1;var t=zC,e=Bot();return qot(),tat(),Sat(),Aat(),fat(),t.registerPreprocessor(e),wat}function Tat(){return bat||(bat=1,pat(),Cat()),Fot}var Iat,Mat,Eat,zat,Pat,Lat={},kat={},Rat={};function Dat(){if(Iat)return Rat;Iat=1;var t,e=FC,n="urn:schemas-microsoft-com:vml",i="undefined"==typeof window?null:window,r=!1,o=i&&i.document;function a(e){return t(e)}if(o&&!e.canvasSupported)try{!o.namespaces.zrvml&&o.namespaces.add("zrvml",n),t=function(t){return o.createElement("')}}catch(l){t=function(t){return o.createElement("<"+t+' xmlns="'+n+'" class="zrvml">')}}function s(){if(!r&&o){r=!0;var t=o.styleSheets;t.length<31?o.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}return Rat.doc=o,Rat.createNode=a,Rat.initVML=s,Rat}function Oat(){if(Mat)return kat;Mat=1;var t=FC,e=BT(),n=e.applyTransform,i=az,r=bM,o=dP,a=cP,s=GL(),l=YL,h=ek,u=rF,c=wj,d=SO,g=PN,f=Dat(),p=d.CMD,m=Math.round,y=Math.sqrt,v=Math.abs,_=Math.cos,x=Math.sin,b=Math.max;if(!t.canvasSupported){var w=",",S="progid:DXImageTransform.Microsoft",A=21600,C=A/2,T=1e5,I=1e3,M=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=A+","+A,t.coordorigin="0,0"},E=function(t){return String(t).replace(/&/g,"&").replace(/"/g,""")},z=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},P=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},L=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},k=function(t,e,n){return(parseFloat(t)||0)*T+(parseFloat(e)||0)*I+n},R=a.parsePercent,D=function(t,e,n){var i=r.parse(e);n=+n,isNaN(n)&&(n=1),i&&(t.color=z(i[0],i[1],i[2]),t.opacity=n*i[3])},O=function(t){var e=r.parse(t);return[z(e[0],e[1],e[2]),e[3]]},j=function(t,e,i){var r=e.fill;if(null!=r)if(r instanceof g){var o,a=0,s=[0,0],l=0,h=1,u=i.getBoundingRect(),c=u.width,d=u.height;if("linear"===r.type){o="gradient";var f=i.transform,p=[r.x*c,r.y*d],m=[r.x2*c,r.y2*d];f&&(n(p,p,f),n(m,m,f));var y=m[0]-p[0],v=m[1]-p[1];a=180*Math.atan2(y,v)/Math.PI,a<0&&(a+=360),a<1e-6&&(a=0)}else{o="gradientradial";p=[r.x*c,r.y*d],f=i.transform;var _=i.scale,x=c,w=d;s=[(p[0]-u.x)/x,(p[1]-u.y)/w],f&&n(p,p,f),x/=_[0]*A,w/=_[1]*A;var S=b(x,w);l=0/S,h=2*r.r/S-l}var C=r.colorStops.slice();C.sort((function(t,e){return t.offset-e.offset}));for(var T=C.length,I=[],M=[],E=0;E=2){var L=I[0][0],k=I[1][0],R=I[0][1]*e.opacity,j=I[1][1]*e.opacity;t.type=o,t.method="none",t.focus="100%",t.angle=a,t.color=L,t.color2=k,t.colors=M.join(","),t.opacity=j,t.opacity2=R}"radial"===o&&(t.focusposition=s.join(","))}else D(t,r,e.opacity)},F=function(t,e){e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null!=e.stroke&&!(e.stroke instanceof g)&&D(t,e.stroke,e.opacity)},N=function(t,e,n,i){var r="fill"===e,o=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(r||!r&&n.lineWidth)?(t[r?"filled":"stroked"]="true",n[e]instanceof g&&L(t,o),o||(o=f.createNode(e)),r?j(o,n,i):F(o,n),P(t,o)):(t[r?"filled":"stroked"]="false",L(t,o))},B=[[],[],[]],G=function(t,e){var i,r,o,a,s,l,h=p.M,u=p.C,c=p.L,d=p.A,g=p.Q,f=[],v=t.data,b=t.len();for(a=0;a.01?q&&(W+=270/A):Math.abs(U-j)<1e-4?q&&WO?M-=270/A:M+=270/A:q&&Uj?I+=270/A:I-=270/A),f.push(H,m(((O-F)*k+P)*A-C),w,m(((j-N)*R+L)*A-C),w,m(((O+F)*k+P)*A-C),w,m(((j+N)*R+L)*A-C),w,m((W*k+P)*A-C),w,m((U*R+L)*A-C),w,m((I*k+P)*A-C),w,m((M*R+L)*A-C)),s=I,l=M;break;case p.R:var Z=B[0],Y=B[1];Z[0]=v[a++],Z[1]=v[a++],Y[0]=Z[0]+v[a++],Y[1]=Z[1]+v[a++],e&&(n(Z,Z,e),n(Y,Y,e)),Z[0]=m(Z[0]*A-C),Y[0]=m(Y[0]*A-C),Z[1]=m(Z[1]*A-C),Y[1]=m(Y[1]*A-C),f.push(" m ",Z[0],w,Z[1]," l ",Y[0],w,Z[1]," l ",Y[0],w,Y[1]," l ",Z[0],w,Y[1]);break;case p.Z:f.push(" x ")}if(i>0){f.push(r);for(var X=0;XZ&&(H=0,U={});var n,i=Y.style;try{i.font=t,n=i.fontFamily.split(",")[0]}catch(r){}e={style:i.fontStyle||W,variant:i.fontVariant||W,weight:i.fontWeight||W,size:0|parseFloat(i.fontSize||12),family:n||"Microsoft YaHei"},U[t]=e,H++}return e};o.$override("measureText",(function(t,e){var n=f.doc;q||(q=n.createElement("div"),q.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",f.doc.body.appendChild(q));try{q.style.font=e}catch(i){}return q.innerHTML="",q.appendChild(n.createTextNode(t)),{width:q.offsetWidth}}));for(var K=new i,J=function(t,e,i,r){var s=this.style;this.__dirty&&a.normalizeTextStyle(s,!0);var l=s.text;if(null!=l&&(l+=""),l){if(s.rich){var h=o.parseRichText(l,s);l=[];for(var u=0;u-y}function x(t,e){var n=e?t.textFill:t.fill;return null!=n&&n!==u}function b(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&n!==u}function w(t,e){e&&S(t,"transform","matrix("+h.call(e,",")+")")}function S(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function A(t,e,n){t.setAttributeNS("http://www.w3.org/1999/xlink",e,n)}function C(t,e,n,i){if(x(e,n)){var r=n?e.textFill:e.fill;r="transparent"===r?u:r,S(t,"fill",r),S(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else S(t,"fill",u);if(b(e,n)){var o=n?e.textStroke:e.stroke;o="transparent"===o?u:o,S(t,"stroke",o);var a=n?e.textStrokeWidth:e.lineWidth,s=!n&&e.strokeNoScale?i.getLineScale():1;S(t,"stroke-width",a/s),S(t,"paint-order",n?"stroke":"fill"),S(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity);var l=e.lineDash;l?(S(t,"stroke-dasharray",e.lineDash.join(",")),S(t,"stroke-dashoffset",c(e.lineDashOffset||0))):S(t,"stroke-dasharray",""),e.lineCap&&S(t,"stroke-linecap",e.lineCap),e.lineJoin&&S(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&S(t,"stroke-miterlimit",e.miterLimit)}else S(t,"stroke",u)}function T(t){for(var e=[],n=t.data,i=t.len(),r=0;r=p:-w>=p),I=w>0?w%p:w%p+p,M=!1;M=!!T||!_(C)&&I>=f==!!A;var E=v(h+y*g(b)),z=v(u+x*d(b));T&&(w=A?p-1e-4:1e-4-p,M=!0,9===r&&e.push("M",E,z));var P=v(h+y*g(b+w)),L=v(u+x*d(b+w));e.push("A",v(y),v(x),c(S*m),+M,+A,P,L);break;case l.Z:a="Z";break;case l.R:P=v(n[r++]),L=v(n[r++]);var k=v(n[r++]),R=v(n[r++]);e.push("M",P,L,"L",P+k,L,"L",P+k,L+R,"L",P,L+R,"L",P,L);break}a&&e.push(a);for(var D=0;DR){for(;L=a&&c+1>=s){for(var d=[],g=0;g=a&&g+1>=s)return e(o,h.components);u[r]=h}else u[r]=void 0}l++}for(;l<=h;){var p=f();if(p)return p}},pushComponent:function(t,e,n){var i=t[t.length-1];i&&i.added===e&&i.removed===n?t[t.length-1]={count:i.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,i){for(var r=e.length,o=n.length,a=t.newPos,s=a-i,l=0;a+1=0;--i)if(e[i]===t)return!0;return!1}),n):null:n[0]},d.prototype.update=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var i=this.add(t);i&&(t[this._domName]=i)}}},d.prototype.addDom=function(t){var e=this.getDefs(!0);e.appendChild(t)},d.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},d.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return n.each(this._tagNames,(function(n){var i=t.getElementsByTagName(n);e=e.concat([].slice.call(i))})),e},d.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;n.each(t,(function(t){t[e._markLabel]=u}))},d.prototype.markUsed=function(t){t&&(t[this._markLabel]=c)},d.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),i=this;n.each(e,(function(e){e[i._markLabel]!==c&&t.removeChild(e)}))}},d.prototype.getSvgProxy=function(t){return t instanceof i?s:t instanceof r?l:t instanceof o?h:s},d.prototype.getTextSvgElement=function(t){return t.__textSvgEl},d.prototype.getSvgElement=function(t){return t.__svgEl};var g=d;return qat=g,qat}function sst(){if(Hat)return Uat;Hat=1;var t=ast(),e=NC,n=zE,i=bM;function r(e,n){t.call(this,e,n,["linearGradient","radialGradient"],"__gradient_in_use__")}e.inherits(r,t),r.prototype.addWithoutUpdate=function(t,n){if(n&&n.style){var i=this;e.each(["fill","stroke"],(function(e){if(n.style[e]&&("linear"===n.style[e].type||"radial"===n.style[e].type)){var r,o=n.style[e],a=i.getDefs(!0);o._dom?(r=o._dom,a.contains(o._dom)||i.addDom(r)):r=i.add(o),i.markUsed(n);var s=r.getAttribute("id");t.setAttribute(e,"url(#"+s+")")}}))}},r.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return n("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},r.prototype.update=function(e){var n=this;t.prototype.update.call(this,e,(function(){var t=e.type,i=e._dom.tagName;"linear"===t&&"linearGradient"===i||"radial"===t&&"radialGradient"===i?n.updateDom(e,e._dom):(n.removeDom(e),n.add(e))}))},r.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void n("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var r=t.colorStops,o=0,a=r.length;o-1){var h=i.parse(l)[3],u=i.toHex(l);s.setAttribute("stop-color","#"+u),s.setAttribute("stop-opacity",h)}else s.setAttribute("stop-color",r[o].color);e.appendChild(s)}t._dom=e},r.prototype.markUsed=function(e){if(e.style){var n=e.style.fill;n&&n._dom&&t.prototype.markUsed.call(this,n._dom),n=e.style.stroke,n&&n._dom&&t.prototype.markUsed.call(this,n._dom)}};var o=r;return Uat=o,Uat}function lst(){if(Yat)return Zat;Yat=1;var t=ast(),e=NC,n=eM();function i(e,n){t.call(this,e,n,"clipPath","__clippath_in_use__")}e.inherits(i,t),i.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var n=this.getTextSvgElement(t);n&&this.updateDom(n,t.__clipPaths,!0),this.markUsed(t)},i.prototype.updateDom=function(t,e,i){if(e&&e.length>0){var r,o,a=this.getDefs(!0),s=e[0],l=i?"_textDom":"_dom";s[l]?(o=s[l].getAttribute("id"),r=s[l],a.contains(r)||a.appendChild(r)):(o="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,r=this.createElement("clipPath"),r.setAttribute("id",o),a.appendChild(r),s[l]=r);var h=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!i){var u=Array.prototype.slice.call(s.transform);n.mul(s.transform,s.parent.invTransform,s.transform),h.brush(s),s.transform=u}else h.brush(s);var c=this.getSvgElement(s);r.innerHTML="",r.appendChild(c.cloneNode()),t.setAttribute("clip-path","url(#"+o+")"),e.length>1&&this.updateDom(r,e.slice(1),i)}else t&&t.setAttribute("clip-path","none")},i.prototype.markUsed=function(n){var i=this;n.__clipPaths&&e.each(n.__clipPaths,(function(e){e._dom&&t.prototype.markUsed.call(i,e._dom),e._textDom&&t.prototype.markUsed.call(i,e._textDom)}))};var r=i;return Zat=r,Zat}function hst(){if(Kat)return Xat;Kat=1;var t=ast(),e=NC;function n(e,n){t.call(this,e,n,["filter"],"__filter_in_use__","_shadowDom")}function i(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}e.inherits(n,t),n.prototype.addWithoutUpdate=function(t,e){if(e&&i(e.style)){var n;if(e._shadowDom){n=e._shadowDom;var r=this.getDefs(!0);r.contains(e._shadowDom)||this.addDom(n)}else n=this.add(e);this.markUsed(e);var o=n.getAttribute("id");t.style.filter="url(#"+o+")"}},n.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},n.prototype.update=function(e,n){var r=n.style;if(i(r)){var o=this;t.prototype.update.call(this,n,(function(){o.updateDom(n,n._shadowDom)}))}else this.remove(e,n)},n.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},n.prototype.updateDom=function(t,e){var n=e.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var i,r,o,a,s=t.style,l=t.scale&&t.scale[0]||1,h=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)i=s.shadowOffsetX||0,r=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);i=s.textShadowOffsetX||0,r=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",i/l),n.setAttribute("dy",r/h),n.setAttribute("flood-color",a);var u=o/2/l,c=o/2/h,d=u+" "+c;n.setAttribute("stdDeviation",d),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(o/2*200)+"%"),e.setAttribute("height",Math.ceil(o/2*200)+"%"),e.appendChild(n),t._shadowDom=e},n.prototype.markUsed=function(e){e._shadowDom&&t.prototype.markUsed.call(this,e._shadowDom)};var r=n;return Xat=r,Xat}function ust(){if(Qat)return Jat;Qat=1;var t=ist(),e=t.createElement,n=NC,i=zE,r=wj,o=ek,a=rF,s=ost(),l=sst(),h=lst(),u=hst(),c=rst(),d=c.path,g=c.image,f=c.text;function p(t){return parseInt(t,10)}function m(t){return t instanceof r?d:t instanceof o?g:t instanceof a?f:d}function y(t,e){return e&&t&&e.parentNode!==t}function v(t,e,n){if(y(t,e)&&n){var i=n.nextSibling;i?t.insertBefore(e,i):t.appendChild(e)}}function _(t,e){if(y(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function x(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function b(t){return t.__textSvgEl}function w(t){return t.__svgEl}var S=function(t,i,r,o){this.root=t,this.storage=i,this._opts=r=n.extend({},r||{});var a=e("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=e("g");a.appendChild(s);var c=e("g");a.appendChild(c),this.gradientManager=new l(o,c),this.clipPathManager=new h(o,c),this.shadowManager=new u(o,c);var d=document.createElement("div");d.style.cssText="overflow:hidden;position:relative",this._svgDom=a,this._svgRoot=c,this._backgroundRoot=s,this._viewport=d,t.appendChild(d),d.appendChild(a),this.resize(r.width,r.height),this._visibleList=[]};function A(t){return function(){i('In SVG mode painter not support method "'+t+'"')}}S.prototype={constructor:S,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var n=e("rect");n.setAttribute("width",this.getWidth()),n.setAttribute("height",this.getHeight()),n.setAttribute("x",0),n.setAttribute("y",0),n.setAttribute("id",0),n.style.fill=t,this._backgroundRoot.appendChild(n),this._backgroundNode=n},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,n=this._svgRoot,i=this._visibleList,r=t.length,o=[];for(e=0;e=0;--n)if(e[n]===t)return!0;return!1}),i}return null}return i[0]},resize:function(t,e){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var r=n.style;r.width=t+"px",r.height=e+"px";var o=this._svgDom;o.setAttribute("width",t),o.setAttribute("height",e)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],r=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[i]||p(s[n])||p(a.style[n]))-(p(s[r])||0)-(p(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var t=encodeURIComponent(this._svgDom.outerHTML.replace(/>\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+t}},n.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){S.prototype[t]=A(t)}));var C=S;return Jat=C,Jat}function cst(){if($at)return tst;$at=1,rst();var t=PC,e=t.registerPainter,n=ust();return e("svg",n),tst}(function(t){var e=zC;(function(){for(var n in e){if(null==e||!e.hasOwnProperty(n)||"default"===n||"__esModule"===n)return;t[n]=e[n]}})();var n=VJ();(function(){for(var e in n){if(null==n||!n.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=n[e]}})(),b$(),V$(),b2(),k2(),h0(),I3(),t1(),z1(),U4(),i5(),p5(),d6(),z6(),Y6(),d8(),A8(),J8(),h7(),v7(),z9(),Y9(),dtt(),ptt(),tet(),uet(),C9(),l6(),wet(),Tet(),Fnt(),$nt(),S9(),Tit(),Eit(),nrt(),xrt(),Ert(),Frt(),cot(),rot(),Dot(),Rot(),bot(),Tat(),pat(),Cat(),Fat(),cst()})(EC);const dst=Qd(EC); /*! * author: sakitam-fdd * ol-echarts v2.0.5 * build-time: 2022-1-6 15:31 * LICENSE: MIT * (c) 2017-2022 https://sakitam-fdd.github.io/ol3Echarts */ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */var gst=function(t,e){return gst=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},gst(t,e)};function fst(t,e){function n(){this.constructor=t}gst(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var pst=function(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)},mst=function(t,e){return Object.keys(e).forEach((function(n){pst(e[n])&&pst(t[n])?mst(t[n],e[n]):t[n]=e[n]})),t},yst=function(t,e){for(var n=arguments,i=[],r=2;r>e/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}return t()};function xst(t,e){t.forEach((function(t){!e[t]||(e[t]=e[t].bind(e))}))}function bst(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function wst(t,e){var n=new MouseEvent(t,{bubbles:!0,cancelable:!0,button:e.pointerEvent.button,buttons:e.pointerEvent.buttons,clientX:e.pointerEvent.clientX,clientY:e.pointerEvent.clientY,zrX:e.pointerEvent.offsetX,zrY:e.pointerEvent.offsetY,movementX:e.pointerEvent.movementX,movementY:e.pointerEvent.movementY,relatedTarget:e.pointerEvent.relatedTarget,screenX:e.pointerEvent.screenX,screenY:e.pointerEvent.screenY,view:window});return n.zrX=e.pointerEvent.offsetX,n.zrY=e.pointerEvent.offsetY,n.event=n,n}function Sst(t,e){for(var n=t.split("."),i=e.split("."),r=0;r<3;r++){var o=Number(n[r]),a=Number(i[r]);if(o>a)return 1;if(a>o)return-1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return-1}return 0}var Ast=function(t){return!t.UTF8Encoding},Cst=function(t,e,n){for(var i=[],r=[e[0],e[1]],o=r[0],a=r[1],s=0;s>1^-(1&l),h=h>>1^-(1&h),l+=o,h+=a,o=l,a=h,i.push([l/n,h/n])}return i},Tst=function(t){if(Ast(t))return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,i=0;i0})),(function(t){var e=t.properties,n=t.geometry,i=n.coordinates,r=[];return"Polygon"===n.type&&r.push(i[0]),"MultiPolygon"===n.type&&dst.util.each(i,(function(t){t[0]&&r.push(t[0])})),{properties:e,type:"Feature",geometry:{type:"Polygon",coordinates:r}}}));return{type:"FeatureCollection",crs:{},features:n}}var Mst=function(t,e,n){return e.center=n.dataToPoint(e.coordinates),e},Est=function(t,e,n){return pst(t.grid)&&!Array.isArray(t.grid)||Array.isArray(t.grid)&&(t.grid=t.grid.map((function(e,i){var r=n.dataToPoint(t.series[i].coordinates);return e.left=r[0]-parseFloat(e.width)/2,e.top=r[1]-parseFloat(e.height)/2,e}))),e},zst=function(t,e,n){return pst(t.grid)&&!Array.isArray(t.grid)||Array.isArray(t.grid)&&(t.grid=t.grid.map((function(e,i){var r=n.dataToPoint(t.series[i].coordinates);return e.left=r[0]-parseFloat(e.width)/2,e.top=r[1]-parseFloat(e.height)/2,e}))),e},Pst=Object.freeze({pie:Mst,bar:Est,line:zst}),Lst={forcedRerender:!1,forcedPrecomposeRerender:!1,hideOnZooming:!1,hideOnMoving:!1,hideOnRotating:!1,convertTypes:["pie","line","bar"],insertFirst:!1,stopEvent:!1,polyfillEvents:Sst(X,"6.1.1")<=0},kst=function(t){function e(e,n,i){var r=this,o=Object.assign(Lst,n);return r=t.call(this,o)||this,r._options=o,r._chartOptions=e,r.set("chartOptions",e),r.$chart=null,r.$container=void 0,r._isRegistered=!1,r._initEvent=!1,r._incremental=[],r._coordinateSystem=null,r.coordinateSystemId="",r.prevVisibleState="",xst(["redraw","onResize","onZoomEnd","onCenterChange","onDragRotateEnd","onMoveStart","onMoveEnd","mouseDown","mouseUp","onClick","mouseMove"],r),i&&r.setMap(i),r}return fst(e,t),e.prototype.appendTo=function(t,e){void 0===e&&(e=!1),this.setMap(t,e)},e.prototype.getMap=function(){return this._map},e.prototype.setMap=function(t,e){var n=this;if(void 0===e&&(e=!1),!t||!(e||t instanceof xu))throw new Error("not ol map object");this._map=t,this._map.once("postrender",(function(){n.handleMapChanged()})),this._map.renderSync()},e.prototype.getChartOptions=function(){return this.get("chartOptions")},e.prototype.setChartOptions=function(t){return void 0===t&&(t={}),this._chartOptions=t,this.set("chartOptions",t),this.clearAndRedraw(),this},e.prototype.appendData=function(t,e){return void 0===e&&(e=!0),t&&(e&&(this._incremental=vst(this._incremental,{index:this._incremental.length,data:t.data,seriesIndex:t.seriesIndex})),this.$chart.appendData({data:t.data.copyWithin(),seriesIndex:t.seriesIndex})),this},e.prototype.clear=function(t){t||(this._incremental=[]),this.$chart&&this.$chart.clear()},e.prototype.remove=function(){this.clear(),this.$chart&&this.$chart.dispose(),this._initEvent&&this.$container&&(this.$container&&bst(this.$container),this.unBindEvent()),delete this.$chart,delete this._map},e.prototype.show=function(){this.setVisible(!0)},e.prototype.innerShow=function(){this.$container&&(this.$container.style.display=this.prevVisibleState,this.prevVisibleState="")},e.prototype.hide=function(){this.setVisible(!1)},e.prototype.innerHide=function(){this.$container&&(this.prevVisibleState=this.$container.style.display,this.$container.style.display="none")},e.prototype.isVisible=function(){return this.$container&&"none"!==this.$container.style.display},e.prototype.showLoading=function(){this.$chart&&this.$chart.showLoading()},e.prototype.hideLoading=function(){this.$chart&&this.$chart.hideLoading()},e.prototype.setZIndex=function(t){this.$container&&("number"==typeof t&&(t=String(t)),this.$container.style.zIndex=t)},e.prototype.getZIndex=function(){return this.$container&&this.$container.style.zIndex},e.prototype.setVisible=function(t){t?(this.$container&&(this.$container.style.display=""),this._chartOptions=this.getChartOptions(),this.clearAndRedraw()):(this.$container&&(this.$container.style.display="none"),this.clear(!0),this._chartOptions={},this.clearAndRedraw())},e.prototype.render=function(){!this.$chart&&this.$container?(this.$chart=dst.init(this.$container),this._chartOptions&&(this.registerMap(),this.$chart.setOption(this.convertData(this._chartOptions),!1)),this.dispatchEvent({type:"load",source:this,value:this.$chart})):this.isVisible()&&this.redraw()},e.prototype.redraw=function(){this.clearAndRedraw()},e.prototype.updateViewSize=function(t){!this.$container||(this.$container.style.width=t[0]+"px",this.$container.style.height=t[1]+"px",this.$container.setAttribute("width",String(t[0])),this.$container.setAttribute("height",String(t[1])))},e.prototype.onResize=function(t){var e=this.getMap();if(e){var n=e.getSize();this.updateViewSize(n),this.clearAndRedraw(),t&&this.dispatchEvent({type:"change:size",source:this,value:n})}},e.prototype.onZoomEnd=function(){this._options.hideOnZooming&&this.innerShow();var t=this.getMap();t&&t.getView()&&(this.clearAndRedraw(),this.dispatchEvent({type:"zoomend",source:this,value:t.getView().getZoom()}))},e.prototype.onDragRotateEnd=function(){this._options.hideOnRotating&&this.innerShow();var t=this.getMap();t&&t.getView()&&(this.clearAndRedraw(),this.dispatchEvent({type:"change:rotation",source:this,value:t.getView().getRotation()}))},e.prototype.onMoveStart=function(){this._options.hideOnMoving&&this.innerHide();var t=this.getMap();t&&t.getView()&&this.dispatchEvent({type:"movestart",source:this,value:t.getView().getCenter()})},e.prototype.onMoveEnd=function(){this._options.hideOnMoving&&this.innerShow();var t=this.getMap();t&&t.getView()&&(this.clearAndRedraw(),this.dispatchEvent({type:"moveend",source:this,value:t.getView().getCenter()}))},e.prototype.onClick=function(t){this.$chart&&this.$chart.getZr().painter.getViewportRoot().dispatchEvent(wst("click",t))},e.prototype.mouseDown=function(t){this.$chart&&this.$chart.getZr().painter.getViewportRoot().dispatchEvent(wst("mousedown",t))},e.prototype.mouseUp=function(t){this.$chart&&this.$chart.getZr().painter.getViewportRoot().dispatchEvent(wst("mouseup",t))},e.prototype.mouseMove=function(t){if(this.$chart)for(var e=t.originalEvent.target;e;){if("ol-overlaycontainer-stopevent"===e.className)return void this.$chart.getZr().painter.getViewportRoot().dispatchEvent(wst("mousemove",t));e=e.parentElement}},e.prototype.onCenterChange=function(){var t=this.getMap();t&&t.getView()&&(this.clearAndRedraw(),this.dispatchEvent({type:"change:center",source:this,value:t.getView().getCenter()}))},e.prototype.handleMapChanged=function(){var t=this.getMap();if(this._initEvent&&this.$container&&(this.$container&&bst(this.$container),this.unBindEvent()),this.$container||(this.createLayerContainer(),this.onResize(!1)),t){var e=this._options.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this._options.insertFirst?e.insertBefore(this.$container,e.childNodes[0]||null):e.appendChild(this.$container),this.render(),this.bindEvent(t)}},e.prototype.createLayerContainer=function(){this.$container=document.createElement("div"),this.$container.style.position="absolute",this.$container.style.top="0px",this.$container.style.left="0px",this.$container.style.right="0px",this.$container.style.bottom="0px",this.$container.style.pointerEvents="auto"},e.prototype.bindEvent=function(t){var e=t.getView();this._options.forcedPrecomposeRerender&&t.on("precompose",this.redraw),t.on("change:size",this.onResize),e.on("change:resolution",this.onZoomEnd),e.on("change:center",this.onCenterChange),e.on("change:rotation",this.onDragRotateEnd),t.on("movestart",this.onMoveStart),t.on("moveend",this.onMoveEnd),this._options.polyfillEvents&&(t.on("pointerdown",this.mouseDown),t.on("pointerup",this.mouseUp),t.on("pointermove",this.mouseMove),t.on("click",this.onClick)),this._initEvent=!0},e.prototype.unBindEvent=function(){var t=this.getMap();if(t){var e=t.getView();!e||(t.un("precompose",this.redraw),t.un("change:size",this.onResize),e.un("change:resolution",this.onZoomEnd),e.un("change:center",this.onCenterChange),e.un("change:rotation",this.onDragRotateEnd),t.un("movestart",this.onMoveStart),t.un("moveend",this.onMoveEnd),this._options.polyfillEvents&&(t.un("pointerdown",this.mouseDown),t.un("pointerup",this.mouseUp),t.un("pointermove",this.mouseMove),t.un("click",this.onClick)),this._initEvent=!1)}},e.prototype.clearAndRedraw=function(){if(this.$chart&&this.isVisible()){if(this._options.forcedRerender&&this.$chart.clear(),this.$chart.resize(),this._chartOptions&&(this.registerMap(),this.$chart.setOption(this.convertData(this._chartOptions),!1),this._incremental&&this._incremental.length>0))for(var t=0;t=0;n--)e.indexOf(t[n].type)>-1||(t[n].coordinateSystem=this.coordinateSystemId),t[n].animation=!1}}},e.prototype.convertData=function(t){var e=t.series;if(e&&e.length>0){if(!this._coordinateSystem){var n=this.getCoordinateSystem(this._options);this._coordinateSystem=new n(this.getMap())}if(e&&pst(e)){var i=this._options.convertTypes;if(i)for(var r=e.length-1;r>=0;r--)i.indexOf(e[r].type)>-1&&e[r]&&e[r].hasOwnProperty("coordinates")&&(e[r]=Pst[e[r].type](t,e[r],this._coordinateSystem))}}return t},e.prototype.getCoordinateSystem=function(t){var e=this.getMap(),n=this.coordinateSystemId,i=function(t){this.map=t,this._mapOffset=[0,0],this.dimensions=["lng","lat"],this.projCode=i.getProjectionCode(this.map)};return i.dimensions=i.prototype.dimensions||["lng","lat"],i.prototype.getZoom=function(){return this.map.getView().getZoom()},i.prototype.setZoom=function(t){return this.map.getView().setZoom(t)},i.prototype.getViewRectAfterRoam=function(){return this.getViewRect().clone()},i.prototype.setMapOffset=function(t){this._mapOffset=t},i.prototype.dataToPoint=function(e){var n;if(e&&Array.isArray(e)&&e.length>0){n=e.map((function(t){var e=0;return e="string"==typeof t?Number(t):t,e}));var i=t&&t.source||"EPSG:4326",r=t&&t.destination||this.projCode,o=this.map.getPixelFromCoordinate(Fn(n,i,r)),a=this._mapOffset;return[o[0]-a[0],o[1]-a[1]]}return[0,0]},i.prototype.pointToData=function(t){var e=this._mapOffset;return this.map.getCoordinateFromPixel([t[0]+e[0],t[1]+e[1]])},i.prototype.getViewRect=function(){var t=this.map.getSize();return new dst.graphic.BoundingRect(0,0,t[0],t[1])},i.prototype.getRoamTransform=function(){return dst.matrix.create()},i.prototype.prepareCustoms=function(){var t=this.getViewRect();return{coordSys:{type:n,x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:yst(this.dataToPoint,this),size:yst(i.dataToCoordsSize,this)}}},i.create=function(t){t.eachSeries((function(t){t.get("coordinateSystem")===n&&(t.coordinateSystem=new i(e))}))},i.getProjectionCode=function(t){var e="";return e=t?t.getView()&&t.getView().getProjection().getCode():"EPSG:3857",e},i.dataToCoordsSize=function(t,e){var n=this;return void 0===e&&(e=[0,0]),[0,1].map((function(i){var r=e[i],o=[],a=[],s=t[i]/2;o[i]=r-s,a[i]=r+s,o[1-i]=e[1-i],a[1-i]=e[1-i];var l=n.dataToPoint(o)[i]-n.dataToPoint(a)[i];return Math.abs(l)}),this)},i},e.prototype.dispatchEvent=function(e){return t.prototype.dispatchEvent.call(this,e)},e.prototype.set=function(e,n,i){return t.prototype.set.call(this,e,n,i)},e.prototype.get=function(e){return t.prototype.get.call(this,e)},e.prototype.unset=function(e,n){return t.prototype.unset.call(this,e,n)},e.prototype.on=function(e,n){return t.prototype.on.call(this,e,n)},e.prototype.un=function(e,n){return t.prototype.un.call(this,e,n)},e.formatGeoJSON=Ist,e.bind=yst,e.merge=mst,e.uuid=_st,e.bindAll=xst,e.arrayAdd=vst,e.removeNode=bst,e.isObject=pst,e}(Q);const Rst={name:"v-echarts",extends:pm,inject:["VMap"],render(t,e){return null},props:{layerId:{type:String,default(){return"draw-layer-"+p()}},options:{type:Object}},data(){return{layer:null}},computed:{map(){return this.VMap.map},map3d(){return this.VMap.map3d}},watch:{visible:{handler(t){this.layer.setVisible(t)},immediate:!1},zIndex:{handler(t){this.layer.setZIndex(t)},immediate:!1},maxZoom:{handler(t){this.layer.setMaxZoom(t)},immediate:!1},minZoom:{handler(t){this.layer.setMinZoom(t)},immediate:!1},extent:{handler(t){this.layer.setExtent(t)},immediate:!1,deep:!0}},mounted(){this.init()},beforeDestroy(){this.map.removeLayer(this.layer),this.dispose()},methods:{init(){this.layer=new kst(this.options),this.zIndex&&this.layer.setZIndex(this.zIndex),this.layer.appendTo(this.map)},dispose(){this.layer.remove()}}};let Dst,Ost;const jst={};var Fst=im(Rst,Dst,Ost,!1,Nst,null,null,null);function Nst(t){for(let e in jst)this[e]=jst[e]}Fst.options.__file="src/components/layers/echarts/index.vue";const Bst=function(){return Fst.exports}();function Gst(t,e){let n;return e.getLayers().forEach(e=>{e&&e.get("id")===t&&(n=e)}),n}Bst.install=t=>{t.component(Bst.name,Bst)};const Vst=class{constructor(t,e,n,i,r,o,a,s,l){!e||e.length<1||(this.id=l.id,this.changeCarRotate=l.changeCarRotate,this.centerAtCar=l.centerAtCar,this._moving=!0,this._ismove=!1,this._map=t,this._labelShow=o,this._timeContentClass=a,this._vacuate=i,this._wholePathInfo=e,this._timeOverlayList=[],i?(this._pathInfo=n,this._convertPaths(n)):(this._pathInfo=e,this._convertPaths(e)),this._vacuatePath=n,this._path=[],this._passPath=[],this._pointIndexDistance=20,this._tracePoints=[],this._tracePointsModePlay=r,this._traceTimedivDom=t.traceTimedivDom,this._tracePointsFromTime=[],this._traceEnd=!1,this.traceLayer=new pl({source:new El,zIndex:99}),this.traceLayer.set("isTrack",!0),t.addLayer(this.traceLayer),this.tracePassLayer=new pl({source:new El,zIndex:100}),this.tracePassLayer.set("isTrack",!0),t.addLayer(this.tracePassLayer),this.arrowsLayer=new pl({source:new El,zIndex:101}),this.arrowsLayer.set("isTrack",!0),t.addLayer(this.arrowsLayer),this.carLayer=new pl({source:new El,zIndex:102}),this.carLayer.set("isTrack",!0),t.addLayer(this.carLayer),this.traceNodes=[],this.traceLineList=[],this.carMarker=null,this._carInfoWin=null,this._pointIndex=0,this._traceIndex=0,this._speedUp=1,this._intervalTraceFlag=null,this._intervalTimeFlag=null,this._opts={carIcon:{src:"",scale:1},speed:0,defaultContent:"",startIcon:{src:"",scale:1},endIcon:{src:"",scale:1},passFlag:!0,showInfoWin:!1,arrowPixel:50,tracePlay:!1},this._setOptions(l),this._initFlag=1,this._showTracePoint=s)}};let qst=Vst;function Wst(t,e,n,i,r){"distance"===i?Ust(t,e,n,r):"track"===i&&Hst(t,e,n,r)}function Ust(t,e,n,i){const r=[];e.forEach((function(t,e){r.push(t)}));let o=!0;for(let a=0;a=3){o=!1,a+11&&o.push(r[r.length-1]);const a=o.sort((function(t,e){return t.ide.id?1:0}));i(a)}g(qst,"track",Vst),qst.prototype._setOptions=function(t){if(t)for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(this._opts[e]=t[e])},qst.prototype.getSpeed=function(){return this._opts.speed},qst.prototype.getSpeedUp=function(){return this._speedUp},qst.prototype.getPaths=function(){return this._pathInfo},qst.prototype.getTraceIndex=function(){return this._pointIndex},qst.prototype.setTraceIndex=function(t){this._pointIndex=t;const e=this._path[t];this.carMarker.setPosition(e)},qst.prototype.getPercentnum=function(){const t=this._tracePoints,e=this.carMarker.getPosition();for(let n=0;nt.maxEndTime&&(t.maxEndTime=i),e._intervalTimeFlag=setInterval((function(){if(!e._traceEnd&&!e._fromPause&&!e._fromStop){if(e._traceTime=new Date(e._traceTime).getTime()+1e3*e._speedUp,t.maxEndTime0||!isNaN(i))for(let r=0;r=e.length)return;if(t._pointIndex+=t._speedUp,t._pointIndex>=e.length&&(t._pointIndex=e.length-1),t.carMarker.setPosition([e[t._pointIndex].longitude,e[t._pointIndex].latitude]),1===t._pointIndex&&n.push([e[t._pointIndex-1].longitude,e[t._pointIndex-1].latitude]),n.push([e[t._pointIndex].longitude,e[t._pointIndex].latitude]),t._opts.passFlag){const n=new pp({geometry:new sr([[e[t._pointIndex-1].longitude,e[t._pointIndex-1].latitude],[e[t._pointIndex].longitude,e[t._pointIndex].latitude]])});n.setStyle(new Co({stroke:new hr({color:t._opts.passlineColor,width:5})})),t.tracePassLayer.getSource().addFeature(n)}t._opts.showInfoWin&&(t._carInfoWin.getElement().innerText=e[t._pointIndex].info);const i=t._map.getView().calculateExtent(),r=t.carMarker.getPosition();!Nt(i,r)&&t.centerAtCar&&t._map.getView().animate({center:r})}),1e3);this._fromPause=!1,this._fromStop=!1},qst.prototype.timePointsPlay=function(){const t=this,e=t._tracePoints,n=t._tracePointsFromTime,i=t._passPath;if(0===i.length&&t.tracePassLayer.getSource().clear(),0===t._opts.speed){let e=Number.MAX_VALUE;const i=new Date(t._traceTimedivDom.innerText).getTime();if(i>0||!isNaN(i))for(let r=0;r=n.length)return;const o=n[t._pointIndex].temBreakPointsFromTime,a=n[t._pointIndex].differenceTime,s=n[t._pointIndex].length;let l=0;if(l=0===r?10*(s/a/50).toFixed(2)*t._speedUp:10*(r/50).toFixed(2),t._fromPause||t._fromStop||t._pointIndex>=e.length-1||t._pointIndex>=n.length)return;if(t._traceIndex+=l,t._traceIndex=Math.round(t._traceIndex),t._traceIndex>=o.length){t._traceIndex=o.length-1,t._pointIndex++;const e=o.slice(0,t._traceIndex);for(let t=0;t0&&this.carLayer.getSource().removeFeature(this.carMarker),clearInterval(this._intervalTraceFlag));const e=Qst(this._path[0],this._opts);this.carLayer.getSource().addFeature(e),this.carMarker=e,e.on=function(n,i){if("move"===n){const n=setInterval((function(){if(!t._moving)return;const r=e.getPosition(),o=t._pathInfo;for(let t=0;tt.y&&e.x===t.x?a=Math.PI/2:e.y===t.y&&e.xt.x?a=0:e.y>t.y&&e.x>t.x?a=o:e.y>t.y&&e.xt.x&&(a=2*Math.PI-o),a},qst.prototype.getAngleFromPixel=function(t,e){t={x:t[0],y:t[1]},e={x:e[0],y:e[1]};const n=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y),r=Math.sqrt(n*n+i*i),o=Math.round(Math.asin(i/r)/Math.PI*180);let a=0;return e.yt.y&&e.x===t.x?a=90:e.y===t.y&&e.xt.x?a=0:e.y>t.y&&e.x>t.x?a=360-o:e.y>t.y&&e.xt.x&&(a=o),a},qst.prototype._troughPointIndex=function(t){const e=this._pointIndexDistance,n=this._path;for(let i=0;i0&&i0&&t.arrowsLayer.getSource().clear(),e.wheelDelta<0&&t.arrowsLayer.getSource().clear()):e.detail&&(e.detail>0&&t.arrowsLayer.getSource().clear(),e.detail<0&&t.arrowsLayer.getSource().clear())};document.addEventListener&&document.addEventListener("DOMMouseScroll",e,!1),window.onmousewheel=document.onmousewheel=e},qst.prototype.dispose=function(){this._intervalTimeFlag&&(clearInterval(this._intervalTimeFlag),this._intervalTimeFlag=null),this._intervalTraceFlag&&(clearInterval(this._intervalTraceFlag),this._intervalTraceFlag=null);const t=this._map.getLayers().getArray().filter(t=>t.get("isTrack")&&!0===t.get("isTrack"));t&&t.length>0&&t.forEach(t=>{t.getSource().clear(),this._map.removeLayer(t)})};const Zst=function(t,e,n,i,r,o){if(ia&&(a=i,s=n)}a>=o&&(n.push(e[s]),Zst(t,e,n,i,s,o),Zst(t,e,n,s,r,o))}return n},Yst=function(t,e,n,i){const r=Math.abs(Xst(t,e,n)),o=Math.abs(Xst(t,e,i)),a=Math.abs(Xst(t,n,i)),s=(r+o+a)/2;return 2*Math.sqrt(Math.abs(s*(s-r)*(s-o)*(s-a)))/r},Xst=function(t,e,n){const i=e.latitude,r=n.latitude,o=e.longitude,a=n.longitude,s=t.getPixelFromCoordinate([o,i]),l=t.getPixelFromCoordinate([a,r]);return Math.sqrt(Math.pow(l[0]-s[0],2)+Math.pow(l[1]-s[1],2))};var Kst=function(t){let e=0;for(let n=0,i=t.length-1;n=n&&tlt(t,e,n,i,r),t.on("moveend",(function(o){t.getView().getZoom()>=n?tlt(t,e,n,i,r):r.getSource().clear()})),r}function tlt(t,e,n,i,r){i=[],r.getSource().clear();for(let u=0;u=n.x||r.y<=e.y||i.y>=n.y};const ilt=function(t){let{map:e,paths:n,id:i,opts:r,vacuate:o,smokeMode:a,tracePointsModePlay:s,vacuateDistance:l,labelShow:h,labelStyle:u,showTracePoint:c}=t;r.id=i||p(),r.changeCarRotate=t.changeCarRotate,r.centerAtCar=t.centerAtCar;let d,g=n,f=e.getView().getZoom();return o?Wst(e,n,l,a,(function(t){g=t,d=new qst(e,n,g,o,s,h,u,c,r),d._initLinesAndMarkers(),h&&d._creatTimeOverlays(),d.createArrows()})):(d=new qst(e,n,g,o,s,h,u,c,r),d._initLinesAndMarkers(),h&&d._creatTimeOverlays(),d.createArrows()),d.setPaths=function(t){n=t,d.arrowsLayer.getSource().clear();for(let n=0;n0&&this.carLayer.removeFeature(this.carMarker),"undefined"!=typeof this.textLayer&&e.removeLayer(this.textLayer)},e.getView().on("change:resolution",(function(){if(0!==n.length&&(f=e.getView().getZoom(),d.arrowsLayer.getSource().clear(),Math.round(f)===f))if(d._initFlag=2,d.createArrows(),o)Wst(e,n,l,a,(function(t){g=t;for(let n=0;n0||this.paths&&this.paths.length>0){const e=d(c({},this.$props),{map:this.map,paths:t||this.paths,opts:this.options});this.track=ilt(e),this.$emit("onLoad",this.track),this.autoPlay&&this.start()}},start(){this.track.start()},pause(){this.track.pause()},stop(){this.track.stop()},dispose(){this.track.dispose()}}};let olt,alt;const slt={};var llt=im(rlt,olt,alt,!1,hlt,null,null,null);function hlt(t){for(let e in slt)this[e]=slt[e]}llt.options.__file="src/components/track/index.vue";const ult=function(){return llt.exports}();ult.install=t=>{t.component(ult.name,ult)};var clt={exports:{}};(function(t){(function(){function e(t,e){var n=t.x-e.x,i=t.y-e.y;return n*n+i*i}function n(t,e,n){var i=e.x,r=e.y,o=n.x-i,a=n.y-r;if(0!==o||0!==a){var s=((t.x-i)*o+(t.y-r)*a)/(o*o+a*a);s>1?(i=n.x,r=n.y):s>0&&(i+=o*s,r+=a*s)}return o=t.x-i,a=t.y-r,o*o+a*a}function i(t,n){for(var i,r=t[0],o=[r],a=1,s=t.length;an&&(o.push(i),r=i);return r!==i&&o.push(i),o}function r(t,e,i,o,a){for(var s,l=o,h=e+1;hl&&(s=h,l=u)}l>o&&(s-e>1&&r(t,e,s,o,a),a.push(t[s]),i-s>1&&r(t,s,i,o,a))}function o(t,e){var n=t.length-1,i=[t[0]];return r(t,0,n,e,i),i.push(t[n]),i}function a(t,e,n){if(t.length<=2)return t;var r=void 0!==e?e*e:1;return t=n?t:i(t,r),t=o(t,r),t}t.exports=a,t.exports.default=a})()})(clt);const dlt=clt.exports;class glt{constructor(t,e){g(this,"min",{x:0,y:0}),g(this,"max",{x:0,y:0}),this.min=t,this.max=e}intersects(t){const e=this.min,n=this.max,i=t.min,r=t.max;return r.x<=e.x||i.x>=n.x||r.y<=e.y||i.y>=n.y}}class flt extends pl{constructor(t){var e,n;const i=Object.assign({},t);delete i.map,super(i),g(this,"map",null),g(this,"pointsArr",[]),g(this,"zoom",1),g(this,"textBounds",[]),g(this,"styleOptions",{fillColor:"rgb(26,58,91)",strokeColor:"rgb(26,58,91)",textColor:"white",fontCss:"bolder 15px sans-serif",boxWidth:50}),g(this,"textViewCom",[]),this.map=t.map?t.map:this.map,this.pointsArr=t.pointsArr?t.pointsArr:this.pointsArr,this.zoom=t.zoom?t.zoom:this.zoom,this.styleOptions=t.styleOptions?t.styleOptions:this.styleOptions,(null==(e=this.map)?void 0:e.getView().getZoom())>=this.zoom&&this.drawText();const r=this;null==(n=this.map)||n.on("moveend",t=>{var e;(null==(e=r.map)?void 0:e.getView().getZoom())>=r.zoom?(r.drawText(),r.keepVisible()):r.clear()})}getLayerStatesArray(t){}getLayersArray(t){}getSourceState(){}drawText(){var t;const e=this.styleOptions;this.getSource().clear();const n=document.createElement("canvas").getContext("2d");e.fontCss&&(n.font=e.fontCss);const i=[];null==(t=this.map)||t.once("postrender",()=>{this.pointsArr.forEach(t=>{var r,o,a,s,l,h,u;const c=kn(t.position,"EPSG:3857"),d=null==(r=this.map)?void 0:r.getPixelFromCoordinate(c);if(Nt(null==(o=this.map)?void 0:o.getView().calculateExtent(),c)){t.text=t.text||"";let r=e.boxWidth||Math.ceil(n.measureText(t.text).width);r+=30;const o=d[0]+10,c=d[0]+r,g=d[1]-40,f=d[1]-10,p=[o,Number(((g+f)/2).toFixed(0))],m={x:o,y:g},y={x:c,y:f},v=new glt(m,y),_=d[0]-r,x=d[0]-10,b=d[1]-40,w=d[1]-10,S=[x,Number(((b+w)/2).toFixed(0))],A={x:_,y:b},C={x:x,y:w},T=new glt(A,C),I=d[0]-r,M=d[0]-10,E=d[1]+10,z=d[1]+40,P=[M,Number(((E+z)/2).toFixed(0))],L={x:I,y:E},k={x:M,y:z},R=new glt(L,k),D=d[0]+10,O=d[0]+r,j=d[1]+10,F=d[1]+40,N=[D,Number(((j+F)/2).toFixed(0))],B={x:D,y:j},G={x:O,y:F},V=new glt(B,G),q={bound:v,minx:o,miny:g,maxx:c,maxy:f,polylineCenter:p},W={bound:T,minx:_,miny:b,maxx:x,maxy:w,polylineCenter:S},U={bound:R,minx:I,miny:E,maxx:M,maxy:z,polylineCenter:P},H={bound:V,minx:D,miny:j,maxx:O,maxy:F,polylineCenter:N},Z=new Map([["rightTopBounds",q],["leftTopBounds",W],["leftBomBounds",U],["rightBomBounds",H]]);let Y=!0,X=0,K=0,J=0,Q=0,$=[0,0],tt="";for(const[t,e]of Z){for(let t=0;t=0;e--){const t=this.textViewCom[e];this.textVisibility(t.text,!1)}}textVisibility(t,e){var n,i,r,o,a;const s=this.getObjectByText(t);this.textViewCom=this.get("invisible");let l=!1,h=0;if(this.textViewCom instanceof Array)for(let u=(null==(n=this.textViewCom)?void 0:n.length)-1;u>=0;u--){const e=this.textViewCom[u];t===e.text&&(l=!0,h=u)}if(s.length>0)for(let u=s.length-1;u>=0;u--){const t=s[u];if(e){if(this.textViewCom instanceof Array&&l){this.textViewCom.splice(h,1);const n=this.getObjectByText(t.text);for(let t=n.length-1;t>=0;t--)null==(o=n[t].textBack)||o.setVisible(e),null==(a=n[t].polyline)||a.setVisible(e)}}else this.textViewCom instanceof Array?!l&&this.textViewCom.push(t):this.set("invisible",[t]),null==(i=t.textBack)||i.setVisible(e),null==(r=t.polyline)||r.setVisible(e)}else e?l&&this.textViewCom.splice(h,1):this.textViewCom instanceof Array?!l&&this.textViewCom.push({text:t}):this.set("invisible",[{text:t}])}getObjectByText(t){const e=this.get("textComponent"),n=[];for(let i=(null==e?void 0:e.length)-1;i>=0;i--){const r=e[i];r.text===t&&n.push(r)}return n}}class plt{constructor(t){var e;g(this,"_operators"),g(this,"_carIcon"),g(this,"_direction"),g(this,"_map"),g(this,"_status"),g(this,"_pathInfo"),g(this,"_bubble"),g(this,"_moving"),g(this,"_tracePointsModePlay"),g(this,"_lineLayer"),g(this,"_movePath"),g(this,"_originPath"),g(this,"_revealLayer"),g(this,"_showTracePoint"),g(this,"_nodesLayer"),g(this,"_moveNodes"),g(this,"_timeStep"),g(this,"_speed"),g(this,"_speedUp"),g(this,"_nowTime"),g(this,"_moveIdx"),g(this,"_animateLayer"),g(this,"_animateLine"),g(this,"_group"),g(this,"_tracekEvent"),g(this,"_simplifyEvent"),g(this,"_eventType"),g(this,"_animateStart"),g(this,"_textLayer"),g(this,"_moveListener"),g(this,"_step"),g(this,"_viewCode"),g(this,"_defaultStyles"),g(this,"_nodesCollection"),g(this,"_nodeInfos"),t=t||{};const n=void 0!==t.bubble&&t.bubble,i=!!t.showTracePoint&&t.showTracePoint,r=t.tracePointsModePlay?t.tracePointsModePlay:"animation",o=void 0!==t.mapObj?t.mapObj:null,a=void 0!==t.path?t.path:[],s=t.options||{},l=Date.now();!t.path||t.path.length,this._operators={carIcon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACsAAAAVCAYAAADfLRcdAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkQ0RkExMTQ2Rjc4NzExRTQ4QkI3QTA2OTk3QzQ4M0IzIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkQ0RkExMTQ3Rjc4NzExRTQ4QkI3QTA2OTk3QzQ4M0IzIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6RDRGQTExNDRGNzg3MTFFNDhCQjdBMDY5OTdDNDgzQjMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6RDRGQTExNDVGNzg3MTFFNDhCQjdBMDY5OTdDNDgzQjMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz62sMp6AAAFiklEQVR42tRXW2wUVRj+zpmZvc4uS2mhhQK21FLshoKGWkBMSAwQSVBf0QfiJciDLya+8KAx8RJfeJV440GJaDAmGGKUmAASI+GhDQ1a7t1Kb1tot7s7uzvX4z8zC+12bdHVkDjJn5md/c853/nO918GeEDXkfe2f5+9+KzxxeuQap2D/RPn5BO7Aowxns/n9Ju958Q8PjL5yIxz4+KZk86spRLG5Y1T/Zfbf31sz7HN/xqsuIo4THwgStgr8lBtDcwxwQxa0rKB4WkFBcOGpgNSwIFusYoJjv0ATOQYdm9lWBQX4Iz2I8iDxhsGMDSm4mx/FJ3LR/HWi4ASokEmmeYj4UG6K/Tock9jSjxRjG/PRCrADn4SHVi8ttTOGM0sHAguIRKyCSlgF4HsOPDxKY7T4zvQ3NqFYmYSsbp6BEKhe0Bt08LR41/CsSzse34fZEWBbdPGtCxKWhoxeQiNketIhHOYyEgYGAqgc/UU3n5VgbA5iBQyAccWYLKCYLOCnLmLNrhNJHte5h7Ys/ubIlsPjGp3F/3tViOefEVCOCJjSYKjqZ6jdTnwdI+Fp5IppCaAvmsKxiZlondGCYQLJ34S2Ngp0LMBqFMFHmmxUb+U4+DhNpz4WYIlhWgTAWKIAHGOyVQKR98dx45uYoXTKZGRA/S0BT1n+6cd74G8qNlRO76WmNXLHI/R8nXom7U4eqENJdNAUSczdJR0HW/s1HDwhavehMIDx2BbtChj4Ip7hvDeuyYp7pHSe9l//8yBNTh/MwhOALnrf/fu2GhWBnDms+IMWMk1eOM8IxVYsV2QMl9F+Wyg7tV3hTxZZdw5BHZLlzEjdJpEJn0FVeaZEvYtEPF/yyECMivm9+6hDdoOLJKKSTIxPLNh0USXLnN6XiCqluiQE9Ok5dXTfO5/wxN2lb9D7LYtz9ectjat1wioQSdhklmkTdN7NuguB6O4cInhdobPM9oNnAFg1UtSlUc2J+5FuEuw+yyIBTVUqBnsyiYNsUiUpOOza7msEmg3KCUKxOvDAvUJZ/4JBKUlnmdVYHXzL9KnEEioVs1gFbmIjofbEVdjPleOQ8zaHruCIIxO3C/du/nNgDz3tUWpIzAnATNKZ6SFKi3/7UuYXgA9vqkbBun/xuAgbo0OwyESbLKcJhauT+765FIFVuaiapi7e/CAv2hNpUchEhxkclliWcGa1lY82rXBA/Hdt8cxli5XgXnHc28vVWCDgWqhu+kpk5eRiNYG1rTCsOjohRtYrgQoZVmZKciyjKYlDejZOHyfyk+5kM67CllcZeWBvrlAGU2aL0Vq1uwfo1EPbIlqrmGY0F0z3WfK41oOHQ8tlA1cGFE6BFVUeaxcVj2IB4O4NqLWDPb8RZU2WyKAZZBkJQJsUoAVs5Po7lwoGxAeaR01Fp/aXAhWEf5d7Y4X/XPBnusLVOjdomZGzwvPzKJvRsH/bZXcGj8z/sPjEeSKBWJU98B6DNN9enwMmzflEJDn32hxiMOciJKWUovkXw43qrN7g53dWbx/pB/hsIS6ONBRz9DSBGxoc+u1QCot0HtNxshtmbojp6I3OHmaoWudg571lOpiDpKtDhoaOVqWljB+I0xlWYFpu5o1vPSlpdM49OYcRnkchdQUrHLBVBq2UOgpDu9Cwe+6Dsf765Jap9fPubRJ1MgEK7uuj04xfN6XBFOXUe9WBAuGPS3fY5vQ3kmPeRVq6YqVVG4l74Qc26Tw0NCcyCC54g4a4yZ+H4njythibGm5gndeo+ChVtM2yl0XrRmKUC1vYDD4Hmjmc6Ju1W5eUz+rUT9bmK+f/ZH62eycfrbsQRL1+9le6mebqZ/dT6xF3XMmm/KlyWNelvMbGPK3pfpieNvtyP/yS+GBXf/FN9ifAgwAIOzB+qcKmLcAAAAASUVORK5CYII=",speed:1e3,timeStep:1,startIcon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADb0lEQVRYR8WWW4jcZBzFz8lukn1Si5fOjKK20NmEKtoFL+C1IBX0RQQFQeoiIipeHnxQCioURPBJhQo+yFJFEfRFKIKIN1wKFZGqtJPZbgtFTWa7i1LFy+bbyZHsztJ1MpkkI9I85vufc375/798CXGWL57lfFQDENgw/g4Qt0loQroE5CKl410r+WphPJkF55erPFQ5AMFuGO8RiU+TuCwvQNAioWdDuz0DQmVACgE2aeu5E8Y9QODGMoZpjaSP6fx2d8jwzyLNcADBrht/lsC1RUYD1g//ZS/f+itPnB6mHQpQj71XCT45QnhPooOhHdwEIsnzyAXYrMktluExgmODxJIiED8D2JFXszaO5P7Ibb9TGaAee28QfLhfKGhJ1L0du/15ura2R+xpgHsJnpMJkuZCN5isBiCMNYy/mPr3CeNEnOq4R4/0G9bi5jWEdYhgpquJzPaOO390EMTAEVwgr+kYtrMC7Qud4PG8p6nH3rsE7+tfT5A82HHaM6UB6sa/mcKX2fZjd+S03s4DqMXetAVmgkTtiezgpdIANTO505L12QDBQ6HTejMfwN9tAfsz4FUBGtp6KYx7csAI3gudINPi9bpa7L1mgU9kRmDhzs5466PSHUgLG8v+HIhtG0WC1JWuPuW2v+836+2bHwA4/9bAJPYvmxa48EclgLrx9lB8cUAXTgt6/m/b7F8/5WrGu4XC+wQvzLRf+DByW3dVew0BXKQtm8fMxE8ExgceRFAXwGEIDZL1vIAE3es6ztzXlQFWxxB7MwCn88RF9wV9EjnBrmF1Q78F6WaUcU4MO2qHmXexcv2Cc+zQyABrXfD3AXis6Gmzs9cHkRvcU6Qr/B+4WN75MpwHcF6R2Zl1LcM220Ie/7FIUwiQGtTiyUctWK8Xma2vJ9QLHTvYW6a+FAAE1o33DcGpQlOpHTrBFSBWCmuB8j+ljdifEpRCDIVOqJ0dO/iiTHhaU64DPbd67L9C4Kk8c0FvRU7wQNnwygDQ5RONeOI7kM0BJ95J4yRXLrH9+/8HkJ6QcfOqMVjfErQ2Bq1QN5yyg4NVwqt3oOdeM/5zlnBmlwsvh27rmarhIwOsvhWxf4DEHQA+De3W7SDSb0Plq9Im3Oi+9jPqzBqbu5bYiion9wQjA6zqtd0Bj8Sjho8+gv+S2Kf9B1+VRDBEEbAnAAAAAElFTkSuQmCC",endIcon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADdElEQVRYR8WWXYjcVBiG3zfJGb1oq4todXZnVOpsMlbRLtQK1p+CVNAbERQEqUVEVPy58EIpqFAQwasqVOhFWdrSIuiNUAQR/3ApVIr0hzozu93KJtktsgWRxeLmJPlKho52JzOTZIo2t+d7v/c5b76cHOIqP7zK/igEIADPlNWGyJBHQY4DHANlUcBZI4p/MubDqRqwXGRTuQAEUM0x9TIMvkXg1r4GIosA3rE9PUlA8oBkAsyO4Dq9Sh0GuTlPw3aN4Os1UfBUeQEXsjQDAZKdtypqCuR9WY3S63JcLelH1v2BPwdpBwI0q+pjgG8UN+8o5Ijt6gcJxP169AVorsXtKKkZkGYvsQDnKDIPYEO/mrYuxnOOHxwsDNCoqj0EX0oJRc4jlmec+fD7ZK09I6vVdgA7Aa7prhfBdN0L7EIAApjNqlokOHK5UCCBBU7U3OB0d8NWRW0U4CjIVKomsL7mBr/2guj5ChqjGKdZaqV3I7vrnn6t324aFXWI5LM9UnvB8fRkboDpivVQTOPHbgEh22xXHxgAsJ1kykgQ76i74Ye5AZqj1haYxncpQSwvOr7e2w+gVVXbBNyXSq4owGwZVW2V5nq8gs/qnk5HfKmwVVWfCPh6Krk4esL2o69yJ5AUNiqlaRK1FSIRgfBexw9OdjdL5gamOkWw1DW4emRZj9z8O/4qCGDtII0P0iJJTrb31JLe1znlZsashyPyc5A3pgcQXzpe8GShzzApPnsT1i5fo3ySVk+xSCTEcYBlArf0NYhlk+3rnwsDJIJWRU0KmRwyQz0i8k3d01sHiQf+C9rDaKqzA4/aAd2NWO4f9/XRoQESYbOidoN8dYgIvnDc4OksXeZ9oDGKG2iqMwCvz2r277osW6Gu3bEAL0uTCXAphVdAfprVrLPOOH7f9sOdeepzASR3wWZVHSM4kaNpy3aDuwiEOWrzX0pnymoiMnGs199uxcETx1vqfvhDHvOkJlcCnWbNMbULBt/s11xE9tc9/Xxe88IAv92Ga/+OSidIjHebCDDHC8Hdznks/WcA7cNpVN0jBn4BaayIPowfqC+ER4qYF07gn1dRsd4Fjcun/CPHDd4uaj40QPJVtKqlwwAeB+Rb29WPEYj+N4DEKLmMBqvUlBh6651zODeM+dAJdMxOA6X1QDCs+RUDXIlxR3sRcjswMD6XvKYAAAAASUVORK5CYII=",showInfoWin:!1,arrowPixel:.2,textStyle:{}};for(const d of Object.keys(this._operators))s[d]&&(this._operators[d]=s[d]);const h=new er({color:"rgba(255,255,255,0.4)"}),u=new hr({color:"#3399CC",width:1.25});this._defaultStyles=[new Co({image:new vo({fill:h,stroke:u,radius:5}),fill:h,stroke:u})],this._nodesCollection=null,this._nodeInfos=[];const c=new Ba({src:this._operators.carIcon,scale:1,anchor:[.5,.5],offset:[0,0]});c.load(),this._carIcon=new Co({image:c}),this._direction=0,o&&(this._map=o),this._viewCode=null==(e=this._map)?void 0:e.getView().getProjection().getCode(),this._status="stop",this._pathInfo=a,this._bubble=n,this._moving=!1,this._tracePointsModePlay=r,this._lineLayer=new pl({source:new El({features:[],strategy:Sl}),properties:{vzBelong:"vzTrackPath",vzTime:l}}),this._lineLayer.set("projection",this._viewCode,!0),this._lineLayer.set("track-type","trackPath"),this._movePath=[],this._originPath=null,this._revealLayer=new pl({source:new El({features:[],strategy:Sl}),properties:{vzBelong:"vzTrackPath",vzTime:l}}),this._revealLayer.set("projection",this._viewCode,!0),this._revealLayer.set("track-type","trackReveal"),this._showTracePoint=i,this._nodesLayer=new pl({source:new El({features:[],strategy:Sl}),style:null,properties:{vzBelong:"vzTrackPath",vzTime:l}}),this._nodesLayer.set("projection",this._viewCode,!0),this._nodesLayer.set("track-type","trackNodes"),this._nodesLayer.setVisible(this._showTracePoint),this._moveNodes=[],this._speed=this._operators.speed,this._timeStep=this._operators.timeStep,this._speedUp=1,this._nowTime=null,this._moveIdx=1,this._animateLayer=new pl({source:new El({features:[],strategy:Sl}),style:new Co({stroke:new hr({color:"red",width:2})}),properties:{vzBelong:"vzTrackPath",vzTime:l}}),this._animateLayer.set("projection",this._viewCode,!0),this._animateLayer.set("track-type","trackAnimate"),this._animateLine=new st({geometry:new sr([])}),this._group=new Kl({layers:[this._lineLayer,this._revealLayer,this._nodesLayer,this._animateLayer],zIndex:99,properties:{type:"vzTrackPath",vzTime:l}}),null==o||o.addLayer(this._group),this._tracekEvent=null==o?void 0:o.on(["singleclick","pointermove"],t=>{this.eventListener(t)}),this._eventType=["nodeClick","nodeMouseover","nodeMouseout","pathClick","pathMouseover","pathMouseout","move"],this._simplifyEvent=null==o?void 0:o.getView().on("change:resolution",t=>{Number.isInteger(t.target.getZoom())&&this.simplifyOpera(t)}),this.initLinesAndMarkers()}simplifyOpera(t){var e,n;let i=[];const r=t.target.getProjection().getCode(),o=this._viewCode!==r,a=t.target.getResolution();i=this._nodesCollection.map(t=>{var e;if(o&&!1===t.get("isSimplify")){const n=null==(e=t.getGeometry())?void 0:e.transform(this._viewCode,r);n instanceof Ei&&t.setGeometry(n)}const n=t.getGeometry().getCoordinates();return{x:n[0]/a,y:n[1]/a,idx:t.get("node_idx")}}),o&&(this._viewCode=r);const s=dlt(i,2,!1),l=[],h=[];s.forEach(t=>{l.push([t.x*a,t.y*a]),h.push(t.idx)}),this._originPath instanceof sr&&this._originPath.setCoordinates(l),!this._moving&&"moving"!==this._status&&null!==this._moveListener&&"animation"===this._tracePointsModePlay&&this._originPath instanceof sr&&(null==(e=this._animateLine.getGeometry())||e.setCoordinates(l.slice(0,h.indexOf(this._moveIdx)+1).concat([this._animateStart.getGeometry().getCoordinates()]))),null==(n=this._nodesLayer.getSource())||n.clear(),new Promise((t,e)=>{var n;this._nodeInfos=[],this._nodesLayer.getVisible()&&(null==(n=this._nodesCollection)||n.forEach((t,e)=>{t.set("isSimplify",!1),t.setStyle(null),h.includes(e+1)&&(t.set("isSimplify",!0),t.setStyle(this._defaultStyles),this._nodeInfos.push(t))})),t(this._nodeInfos)}).then(t=>{var e;null==(e=this._nodesLayer.getSource())||e.addFeatures(t)})}eventListener(t){var e,n,i,r,o,a,s,l,h;if(null==(e=this._map)?void 0:e.hasFeatureAtPixel(t.pixel,{layerFilter:function(t){return t instanceof pl&&("trackPath"===t.get("track-type")||"trackNodes"===t.get("track-type"))},hitTolerance:0})){this._moveNodes=(null==(n=this._map)?void 0:n.getFeaturesAtPixel(t.pixel,{layerFilter:function(t){return t instanceof pl&&"trackNodes"===t.get("track-type")},hitTolerance:0}))||[],this._movePath=(null==(i=this._map)?void 0:i.getFeaturesAtPixel(t.pixel,{layerFilter:function(t){return t instanceof pl&&"trackPath"===t.get("track-type")},hitTolerance:0}))||[];const e=this._moveNodes.map(t=>t.getProperties()),l=this._movePath.map(t=>t);switch(t.type){case"singleclick":e.length>=1&&(null==(r=this._map)||r.dispatchEvent({type:"nodeClick",target:this._bubble?[e[0]]:e,propagationStopped:!1,defaultPrevented:!1,preventDefault:function(){throw new Error("Function not implemented.")},stopPropagation:function(){throw new Error("Function not implemented.")}})),l.length>=1&&(null==(o=this._map)||o.dispatchEvent({type:"pathClick",target:this._bubble?[l[0]]:l,propagationStopped:!1,defaultPrevented:!1,preventDefault:function(){throw new Error("Function not implemented.")},stopPropagation:function(){throw new Error("Function not implemented.")}}));break;case"pointermove":e.length>=1&&(null==(a=this._map)||a.dispatchEvent({type:"nodeMouseover",target:this._bubble?[e[0]]:e,propagationStopped:!1,defaultPrevented:!1,preventDefault:function(){throw new Error("Function not implemented.")},stopPropagation:function(){throw new Error("Function not implemented.")}})),l.length>=1&&(null==(s=this._map)||s.dispatchEvent({type:"pathMouseover",target:this._bubble?[l[0]]:l,propagationStopped:!1,defaultPrevented:!1,preventDefault:function(){throw new Error("Function not implemented.")},stopPropagation:function(){throw new Error("Function not implemented.")}}));break}}else{const e=this._moveNodes.map(t=>t.getProperties());this._moveNodes.length>0&&this._moveNodes.splice(0,this._moveNodes.length),"pointermove"===t.type&&e.length>0&&(null==(l=this._map)||l.dispatchEvent({type:"nodeMouseout",target:this._bubble?[e[0]]:e,propagationStopped:!1,defaultPrevented:!1,preventDefault:function(){throw new Error("Function not implemented.")},stopPropagation:function(){throw new Error("Function not implemented.")}}));const n=this._movePath.map(t=>t);this._movePath.length>0&&this._movePath.splice(0,this._movePath.length),"pointermove"===t.type&&n.length>0&&(null==(h=this._map)||h.dispatchEvent({type:"pathMouseout",target:this._bubble?[n[0]]:n,propagationStopped:!1,defaultPrevented:!1,preventDefault:function(){throw new Error("Function not implemented.")},stopPropagation:function(){throw new Error("Function not implemented.")}}))}}initLinesAndMarkers(){var t,e,n,i,r,o;const a=null==(t=this._pathInfo)?void 0:t.map(t=>[t.longitude,t.latitude]),s=[],l=[];let h=0;for(const g of a){const t=new st({geometry:new Ei(kn(g,this._viewCode))});let i=null;if(this._pathInfo&&(i=this._pathInfo[h]),i&&(i.node_idx=h+1,i.isSimplify=!1,t.setProperties(i,!0),t.setId("tackNode-"+i.node_idx)),0===h){const n=t.clone();this._animateStart=t.clone(),this._animateStart.setId("moveCarFeature"),n.setStyle(new Co({image:new Ba({src:this._operators.startIcon,anchor:[.5,1]}),text:new Mo({text:""})})),null==(e=this._revealLayer.getSource())||e.addFeature(n)}else if(this._pathInfo&&h===this._pathInfo.length-1){const e=t.clone();e.setStyle(new Co({image:new Ba({src:this._operators.endIcon,anchor:[.5,1]}),text:new Mo({text:""})})),null==(n=this._revealLayer.getSource())||n.addFeature(e)}l.push(t),h++}const u=new sr(a);this._originPath=u.transform("EPSG:4326",this._viewCode);const c=new st({geometry:this._originPath}),d=new Co({image:new Ba({src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABfUlEQVQ4T3WTTSvFYRDFf8dLKIqytFckthTpJkQWlyhF2fgEVr6BheytpChEsqB08xbZWPgOJAs7ieRlNMzV//75P7vnmZkz58ycR2ZWD7QBF5KM1DGzTuBO0k065neZ2S3QBGwAU5I+iolmNgrsAI9An6SrNIgDnAE9EdgFJiS9+93MuoEToBx4AgYkXSZBHKAWOAS6IrAP5CW9BUge2AIqgJdg8guiSKoBDoDeDJBhwNlVBsiQpNPvGST0VgF7TjPeCsCIpNdo0g84O2fibx4r/AJEUjVwlJDjXbybU/eZjAGbMROXmC8BiKQ64BxoDyYLkuYTTCeB9WD/9B9AA3AMdGQAzALLAfCcluDF3r01itMS5oDFiP3MIUHNi90T7ko/XjyYGOIMsFJSXByimTVGQbFzegOuew0o+7PGKL4AmjM8MA2shua/RjIzX1suw8pucZfiUjOt/AC4BHfaeOoz+d63oziX9Zla3CzAkqTP9G8zM4/dS7r+7zt/Aaattn1kX8VgAAAAAElFTkSuQmCC",anchor:[.75,.5],scale:.7,rotateWithView:!1})});c.set("arrow",[new Co({stroke:new hr({color:"rgba(0, 0, 255, 0.6)",width:10})}),d]),c.set("mainView",null==(i=this._map)?void 0:i.getView()),c.setStyle(mlt),s.push(c),null==(r=this._lineLayer.getSource())||r.addFeatures(s),this._nodesCollection=l,null==(o=this._animateLayer.getSource())||o.addFeature(this._animateLine),void 0!==c.get("mainView")&&c.get("mainView").dispatchEvent("change:resolution")}labelVisible(t){var e,n;if(t&&0===this._textLayer){const t=null==(e=this._pathInfo)?void 0:e.map(t=>({position:[t.longitude,t.latitude],text:t.gnssTime}));this._textLayer=new flt({map:this._map,pointsArr:t,zoom:12}),this._textLayer.set("id","lushuText"+(new Date).getTime()),this._group.getLayers().push(this._textLayer)}else null==(n=this._textLayer)||n.setVisible(t)}start(t){var e,n;this._pathInfo&&this._pathInfo.length<1||((this._moving||"pause"===this._status)&&this.stop(),this._moveIdx=t||1,this._moving=!0,this._status="moving",this._nowTime=Date.now(),"skip"===this._tracePointsModePlay?(this._moveListener=this._lineLayer.on("postrender",t=>{this.tracePointsPlay(t)}),null==(e=this._map)||e.render()):"animation"===this._tracePointsModePlay&&(this._step=0,this._moveListener=this._lineLayer.on("postrender",t=>{this.animationPlay(t)}),null==(n=this._map)||n.render()))}stop(t){var e,n,i,r;this._moveIdx=1,this._status="stop",this._moving=!1,this._step=0,null!==this._moveListener&&(U(this._moveListener),this._moveListener=null);const o=null==(e=this._animateLayer.getSource())?void 0:e.getFeatureById("moveCarFeature");o&&(null==(n=this._animateLayer.getSource())||n.removeFeature(o)),null==(i=this._animateLine.getGeometry())||i.setCoordinates([]),this._originPath instanceof sr&&(null==(r=this._animateStart.getGeometry())||r.setCoordinates(this._originPath.getFirstCoordinate()))}pause(){this._status="pause",this._moving=!1}resume(){this._status="moving",this._moving=!0}tracePointsPlay(t){var e,n,i,r,o;const a=t.frameState,s=this._nodesCollection.map(t=>t.getGeometry().getCoordinates()),l=(a.time-this._nowTime)/1e3%60;if(this._moving&&(1===this._moveIdx||l>=this._timeStep)){this._nowTime=a.time;let t=1===this._moveIdx?this._speedUp:this._moveIdx+this._speedUp,o=null;const l=this._animateLine.getGeometry();if(s&&this._moveIdx===s.length)return void this.stop(!0);if(t>=s.length&&this._moveIdx0;--o)0!==t&&t-o<=s.length-1&&(null==l||l.appendCoordinate(s[t-o]))}else if(t0;--n)0!==t&&t-n<=s.length-1&&(null==l||l.appendCoordinate(s[t-n]))}this._animateStart.setStyle(this._carIcon),this._animateStart.getGeometry().setCoordinates(null==(e=null==o?void 0:o.getGeometry())?void 0:e.getCoordinates());const h=null==(n=this._animateLayer.getSource())?void 0:n.getFeatureById("moveCarFeature");(!h||h.length<=0)&&(null==(i=this._animateLayer.getSource())||i.addFeature(this._animateStart)),this._moveIdx=t;const u=null==(r=this._map)?void 0:r.getView().getProjection().getCode(),c={index:this._moveIdx,status:this._status,position:s[t-1],lngLat:Rn(this._animateStart.getGeometry().getCoordinates(),u),passNode:this._nodesCollection[t-1],length:null==l?void 0:l.getLength()};this._animateLayer.dispatchEvent({type:"move",target:c,propagationStopped:!1,defaultPrevented:!1,preventDefault:function(){throw new Error("Function not implemented.")},stopPropagation:function(){throw new Error("Function not implemented.")}})}null==(o=this._map)||o.render()}animationPlay(t){var e,n,i,r;let o=0;if(this._nowTime=t.frameState.time,this._originPath instanceof sr&&this._moving&&void 0!==this._step&&this._step<=1){const t=this._originPath.clone();t.transform(this._viewCode,"EPSG:3857");const r=t.getLength(),a=this._animateLine.getGeometry(),s=this._originPath.clone();if(s instanceof sr&&0!==this._step){const t={geometry:{coordinates:s.getCoordinates(),type:"LineString"},properties:{},type:"Feature"};o=r*this._step;const i=Fg(t,0,o/1e3,{units:"kilometers"});s.setCoordinates(i.geometry.coordinates),s.transform("EPSG:4326",this._viewCode);const l=s.getCoordinates();null==a||a.setCoordinates(l);let h=0,u=0;if(l.length>2){const t=l[l.length-2],e=l[l.length-1];h=t[0]-e[0],u=t[1]-e[1];const n=Math.atan2(u,h);this._direction!==n&&(this._direction=n),this._carIcon.getImage().setRotation(-this._direction+Math.PI)}this._animateStart.setStyle(this._carIcon),this._animateStart.getGeometry().setCoordinates(s.getLastCoordinate());const c=null==(e=this._animateLayer.getSource())?void 0:e.getFeatureById("moveCarFeature");(!c||c.length<=0)&&(null==(n=this._animateLayer.getSource())||n.addFeature(this._animateStart))}const l=null==a?void 0:a.getLength();let h=0,u=0;const c=new sr([]);this._originPath.forEachSegment((function(t,e){c.setCoordinates([t,e]),u<=l&&(u+=c.getLength(),h++)})),this._moveIdx=this._nodeInfos[h-1].get("node_idx"),this._step+=5e-7*this._speed;const d=null==(i=this._map)?void 0:i.getView().getProjection().getCode(),g={index:this._moveIdx,status:this._status,speed:this._speed,position:this._animateStart.getGeometry().getCoordinates(),lngLat:Rn(this._animateStart.getGeometry().getCoordinates(),d),passNode:this._nodesCollection[this._moveIdx-1],length:l};this._animateLayer.dispatchEvent({type:"move",target:g,propagationStopped:!1,defaultPrevented:!1,preventDefault:function(){throw new Error("Function not implemented.")},stopPropagation:function(){throw new Error("Function not implemented.")}})}this._moving&&this._step&&this._step>=1?this.stop(!0):null==(r=this._map)||r.render()}setFitView(t){var e;null!==this._originPath&&this._originPath instanceof sr&&t&&(null==(e=this._map)||e.getView().fit(this._originPath))}getPaths(){return this._pathInfo}setPaths(t){this.clearPaths(),this._pathInfo=t,this.initLinesAndMarkers()}clearPaths(){this._moving&&this.stop(),this._group.getLayersArray().forEach(t=>{t instanceof pl&&t.getSource().clear()})}destroy(){var t;this._moving&&this.stop(),this.clearPaths(),U(this._tracekEvent),null==(t=this._map)||t.getView().removeEventListener("change:resolution",this._simplifyEvent.listener)}getSpeed(){return this._speed}setSpeed(t){this._speed=t}getSpeedUp(){return this._speedUp}setSpeedUp(t){this._speedUp=t,this._speed=this._speed*t}getPercentnum(){return"number"==typeof this._step?this._step.toPrecision(3):0}setPercentnum(t){"number"==typeof t&&t<=1&&t>=0&&(this._step=t)}setTraceLineStyle(t){var e;t=t||{};const n=t.lineColor?t.lineColor:"rgba(0, 0, 255, 0.6)",i=t.lineWidth?t.lineWidth:10,r=null==(e=this._lineLayer.getSource())?void 0:e.getFeatures();null==r||r.forEach(t=>{t.get("arrow")[0].setStroke(new hr({color:n,width:i}))}),this._lineLayer.changed()}setPassLineStyle(t){t=t||{};const e=t.lineColor?t.lineColor:"red",n=t.lineWidth?t.lineWidth:2,i=new Co({stroke:new hr({color:e,width:n})});this._animateLayer.setStyle(i),this._animateLayer.changed()}setTraceNodeStyle(t){var e;t=t||{};const n=t.fillColor?t.fillColor:"rgba(255,255,255,0.4)",i=t.lineColor?t.lineColor:"#3399CC",r=t.lineWidth?t.lineWidth:1.25,o=t.size?t.size:5,a=new er({color:n}),s=new hr({color:i,width:r});this._defaultStyles=[new Co({image:new vo({fill:a,stroke:s,radius:o}),fill:a,stroke:s})],null==(e=this._nodesLayer.getSource())||e.getFeatures().forEach(t=>{t.setStyle(this._defaultStyles),t.changed()})}getEvents(){return this._eventType}on(t,e){var n;if(this._eventType.includes(t))return"move"===t?this._animateLayer.on(t,e):null==(n=this._map)?void 0:n.on(t,e)}once(t,e){var n;if(this._eventType.includes(t))return"move"===t?this._animateLayer.once(t,e):null==(n=this._map)?void 0:n.once(t,e)}un(t,e){var n;if(this._eventType.includes(t))return"move"===t?this._animateLayer.un(t,e):null==(n=this._map)?void 0:n.un(t,e)}}function mlt(t,e){const n=t.get("arrow"),i=t.get("mainView"),r=[n[0]],o=t.getGeometry();if(o&&o instanceof sr){const t=o.getLength(),a=200*e/t;for(let e=0;e<=1;e+=a){const t=o.getCoordinateAt(e);if(Nt(i.calculateExtent(),t)){const i=o.getCoordinateAt(e+5e-5),a=i[0]-t[0],s=i[1]-t[1],l=Math.atan2(s,a);if(0!==e){const e=n[1].clone();e.setGeometry(new Ei(t)),e.getImage().setRotation(-l+2*Math.PI),r.push(e)}}}}return r}const ylt={name:"v-path",render(){return null},inject:["VMap"],props:{id:{type:String,default(){return"track-"+p()}},bubble:{type:Boolean,default:!0},showTracePoint:{type:Boolean,default:!0},tracePointsModePlay:{type:String},path:{type:Array},options:{type:Object},autoPlay:{type:Boolean,default:!1}},data(){return{pathObj:null}},computed:{map(){return this.VMap.map}},methods:{init(t){if(t&&t.length>0||this.path&&this.path.length>0){const e=d(c({},this.$props),{mapObj:this.map,path:t||this.path,options:this.options});this.pathObj=new plt(e),this.pathObj.getEvents().forEach(t=>{this.pathObj.on(t,e=>{this.$emit(t,e)})}),this.$emit("load",this.pathObj),this.autoPlay&&this.start()}},start(t){this.pathObj.start(t)},pause(){this.pathObj.pause()},resume(){this.pathObj.resume()},stop(t){this.pathObj.stop(t)},destroy(){this.pathObj.destroy()}},mounted(){this.init()},beforeDestroy(){this.pathObj.destroy(),this.pathObj=null}};let vlt,_lt;const xlt={};var blt=im(ylt,vlt,_lt,!1,wlt,null,null,null);function wlt(t){for(let e in xlt)this[e]=xlt[e]}blt.options.__file="src/components/path/index.vue";const Slt=function(){return blt.exports}();Slt.install=t=>{t.component(Slt.name,Slt)};const Alt=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],Clt=1,Tlt=8;class Ilt{static from(t){if(!(t instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");const[e,n]=new Uint8Array(t,0,2);if(219!==e)throw new Error("Data does not appear to be in a KDBush format.");const i=n>>4;if(i!==Clt)throw new Error(`Got v${i} data when expected v${Clt}.`);const r=Alt[15&n];if(!r)throw new Error("Unrecognized array type.");const[o]=new Uint16Array(t,2,1),[a]=new Uint32Array(t,4,1);return new Ilt(a,o,r,t)}constructor(t,e=64,n=Float64Array,i){if(isNaN(t)||t<0)throw new Error(`Unpexpected numItems value: ${t}.`);this.numItems=+t,this.nodeSize=Math.min(Math.max(+e,2),65535),this.ArrayType=n,this.IndexArrayType=t<65536?Uint16Array:Uint32Array;const r=Alt.indexOf(this.ArrayType),o=2*t*this.ArrayType.BYTES_PER_ELEMENT,a=t*this.IndexArrayType.BYTES_PER_ELEMENT,s=(8-a%8)%8;if(r<0)throw new Error(`Unexpected typed array class: ${n}.`);i&&i instanceof ArrayBuffer?(this.data=i,this.ids=new this.IndexArrayType(this.data,Tlt,t),this.coords=new this.ArrayType(this.data,Tlt+a+s,2*t),this._pos=2*t,this._finished=!0):(this.data=new ArrayBuffer(Tlt+o+a+s),this.ids=new this.IndexArrayType(this.data,Tlt,t),this.coords=new this.ArrayType(this.data,Tlt+a+s,2*t),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,(Clt<<4)+r]),new Uint16Array(this.data,2,1)[0]=e,new Uint32Array(this.data,4,1)[0]=t)}add(t,e){const n=this._pos>>1;return this.ids[n]=n,this.coords[this._pos++]=t,this.coords[this._pos++]=e,n}finish(){const t=this._pos>>1;if(t!==this.numItems)throw new Error(`Added ${t} items when expected ${this.numItems}.`);return Mlt(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(t,e,n,i){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:r,coords:o,nodeSize:a}=this,s=[0,r.length-1,0],l=[];for(;s.length;){const h=s.pop()||0,u=s.pop()||0,c=s.pop()||0;if(u-c<=a){for(let a=c;a<=u;a++){const s=o[2*a],h=o[2*a+1];s>=t&&s<=n&&h>=e&&h<=i&&l.push(r[a])}continue}const d=c+u>>1,g=o[2*d],f=o[2*d+1];g>=t&&g<=n&&f>=e&&f<=i&&l.push(r[d]),(0===h?t<=g:e<=f)&&(s.push(c),s.push(d-1),s.push(1-h)),(0===h?n>=g:i>=f)&&(s.push(d+1),s.push(u),s.push(1-h))}return l}within(t,e,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:r,nodeSize:o}=this,a=[0,i.length-1,0],s=[],l=n*n;for(;a.length;){const h=a.pop()||0,u=a.pop()||0,c=a.pop()||0;if(u-c<=o){for(let n=c;n<=u;n++)Llt(r[2*n],r[2*n+1],t,e)<=l&&s.push(i[n]);continue}const d=c+u>>1,g=r[2*d],f=r[2*d+1];Llt(g,f,t,e)<=l&&s.push(i[d]),(0===h?t-n<=g:e-n<=f)&&(a.push(c),a.push(d-1),a.push(1-h)),(0===h?t+n>=g:e+n>=f)&&(a.push(d+1),a.push(u),a.push(1-h))}return s}}function Mlt(t,e,n,i,r,o){if(r-i<=n)return;const a=i+r>>1;Elt(t,e,a,i,r,o),Mlt(t,e,n,i,a-1,1-o),Mlt(t,e,n,a+1,r,1-o)}function Elt(t,e,n,i,r,o){for(;r>i;){if(r-i>600){const a=r-i+1,s=n-i+1,l=Math.log(a),h=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*h*(a-h)/a)*(s-a/2<0?-1:1),c=Math.max(i,Math.floor(n-s*h/a+u)),d=Math.min(r,Math.floor(n+(a-s)*h/a+u));Elt(t,e,n,c,d,o)}const a=e[2*n+o];let s=i,l=r;for(zlt(t,e,i,n),e[2*r+o]>a&&zlt(t,e,i,r);sa;)l--}e[2*i+o]===a?zlt(t,e,i,l):(l++,zlt(t,e,l,r)),l<=n&&(i=l+1),n<=l&&(r=l-1)}}function zlt(t,e,n,i){Plt(t,n,i),Plt(e,2*n,2*i),Plt(e,2*n+1,2*i+1)}function Plt(t,e,n){const i=t[e];t[e]=t[n],t[n]=i}function Llt(t,e,n,i){const r=t-n,o=e-i;return r*r+o*o}const klt={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},Rlt=Math.fround||(t=>e=>(t[0]=+e,t[0]))(new Float32Array(1)),Dlt=2,Olt=3,jlt=4,Flt=5,Nlt=6;class Blt{constructor(t){this.options=Object.assign(Object.create(klt),t),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(t){const{log:e,minZoom:n,maxZoom:i}=this.options;t.length;this.points=t;const r=[];for(let a=0;a=n;a--){Date.now();o=this.trees[a]=this._createTree(this._cluster(o,a))}return this}getClusters(t,e){let n=((t[0]+180)%360+360)%360-180;const i=Math.max(-90,Math.min(90,t[1]));let r=180===t[2]?180:((t[2]+180)%360+360)%360-180;const o=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)n=-180,r=180;else if(n>r){const t=this.getClusters([n,i,180,o],e),a=this.getClusters([-180,i,r,o],e);return t.concat(a)}const a=this.trees[this._limitZoom(e)],s=a.range(qlt(n),Wlt(o),qlt(r),Wlt(i)),l=a.data,h=[];for(const u of s){const t=this.stride*u;h.push(l[t+Flt]>1?Glt(l,t,this.clusterProps):this.points[l[t+Olt]])}return h}getChildren(t){const e=this._getOriginId(t),n=this._getOriginZoom(t),i="No cluster with the specified id.",r=this.trees[n];if(!r)throw new Error(i);const o=r.data;if(e*this.stride>=o.length)throw new Error(i);const a=this.options.radius/(this.options.extent*Math.pow(2,n-1)),s=o[e*this.stride],l=o[e*this.stride+1],h=r.within(s,l,a),u=[];for(const c of h){const e=c*this.stride;o[e+jlt]===t&&u.push(o[e+Flt]>1?Glt(o,e,this.clusterProps):this.points[o[e+Olt]])}if(0===u.length)throw new Error(i);return u}getLeaves(t,e,n){e=e||10,n=n||0;const i=[];return this._appendLeaves(i,t,e,n,0),i}getTile(t,e,n){const i=this.trees[this._limitZoom(t)],r=Math.pow(2,t),{extent:o,radius:a}=this.options,s=a/o,l=(n-s)/r,h=(n+1+s)/r,u={features:[]};return this._addTileFeatures(i.range((e-s)/r,l,(e+1+s)/r,h),i.data,e,n,r,u),0===e&&this._addTileFeatures(i.range(1-s/r,l,1,h),i.data,r,n,r,u),e===r-1&&this._addTileFeatures(i.range(0,l,s/r,h),i.data,-1,n,r,u),u.features.length?u:null}getClusterExpansionZoom(t){let e=this._getOriginZoom(t)-1;for(;e<=this.options.maxZoom;){const n=this.getChildren(t);if(e++,1!==n.length)break;t=n[0].properties.cluster_id}return e}_appendLeaves(t,e,n,i,r){const o=this.getChildren(e);for(const a of o){const e=a.properties;if(e&&e.cluster?r+e.point_count<=i?r+=e.point_count:r=this._appendLeaves(t,e.cluster_id,n,i,r):r1;let l,h,u;if(s)l=Vlt(e,t,this.clusterProps),h=e[t],u=e[t+1];else{const n=this.points[e[t+Olt]];l=n.properties;const[i,r]=n.geometry.coordinates;h=qlt(i),u=Wlt(r)}const c={type:1,geometry:[[Math.round(this.options.extent*(h*r-n)),Math.round(this.options.extent*(u*r-i))]],tags:l};let d;d=s||this.options.generateId?e[t+Olt]:this.points[e[t+Olt]].id,void 0!==d&&(c.id=d),o.features.push(c)}}_limitZoom(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}_cluster(t,e){const{radius:n,extent:i,reduce:r,minPoints:o}=this.options,a=n/(i*Math.pow(2,e)),s=t.data,l=[],h=this.stride;for(let u=0;ue&&(g+=s[n+Flt])}if(g>d&&g>=o){let t,o=n*d,a=i*d,f=-1;const p=((u/h|0)<<5)+(e+1)+this.points.length;for(const n of c){const i=n*h;if(s[i+Dlt]<=e)continue;s[i+Dlt]=e;const l=s[i+Flt];o+=s[i]*l,a+=s[i+1]*l,s[i+jlt]=p,r&&(t||(t=this._map(s,u,!0),f=this.clusterProps.length,this.clusterProps.push(t)),r(t,this._map(s,i)))}s[u+jlt]=p,l.push(o/g,a/g,1/0,p,-1,g),r&&l.push(f)}else{for(let t=0;t1)for(const t of c){const n=t*h;if(!(s[n+Dlt]<=e)){s[n+Dlt]=e;for(let t=0;t>5}_getOriginZoom(t){return(t-this.points.length)%32}_map(t,e,n){if(t[e+Flt]>1){const i=this.clusterProps[t[e+Nlt]];return n?Object.assign({},i):i}const i=this.points[t[e+Olt]].properties,r=this.options.map(i);return n&&r===i?Object.assign({},r):r}}function Glt(t,e,n){return{type:"Feature",id:t[e+Olt],properties:Vlt(t,e,n),geometry:{type:"Point",coordinates:[Ult(t[e]),Hlt(t[e+1])]}}}function Vlt(t,e,n){const i=t[e+Flt],r=i>=1e4?Math.round(i/1e3)+"k":i>=1e3?Math.round(i/100)/10+"k":i,o=t[e+Nlt],a=-1===o?{}:Object.assign({},n[o]);return Object.assign(a,{cluster:!0,cluster_id:t[e+Olt],point_count:i,point_count_abbreviated:r})}function qlt(t){return t/360+.5}function Wlt(t){const e=Math.sin(t*Math.PI/180),n=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return n<0?0:n>1?1:n}function Ult(t){return 360*(t-.5)}function Hlt(t){const e=(180-360*t)*Math.PI/180;return 360*Math.atan(Math.exp(e))/Math.PI-90}var Zlt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._t("default")],2)},Ylt=[];Zlt._withStripped=!0;const Xlt={name:"v-super-cluster",extends:pm,inject:["VMap"],props:{layerId:{type:String,default(){return"cluster-layer-"+p()}},features:{type:Array,default(){return[]}},FeatureStyle:{type:[Array,void 0],default(){}},cluster:{type:Object},overlay:{type:Object},throttleDelay:{type:Number,default:1e3}},data(){return{layer:null,clusters:null,featureChildren:[],featureCluster:!1,total:0,eventRender:[],eventList:["singleclick","pointermove"]}},computed:{map(){return this.VMap.map}},watch:{cluster:{handler(t){if(t){this.clusters=new Blt(this.cluster),this.clusters.load(this.getGeoFeatures()),this.total=this.clusters.points.length;const t=this.map.getView().calculateExtent(this.map.getSize()),e=this.clusters.getClusters(t,this.map.getView().getZoom()),n={type:"FeatureCollection",features:e},i=this.layer.getSource();i&&(i.clear(),i.addFeatures((new tC).readFeatures(n).map(t=>{const e=t.get("properties");if(e&&"object"==typeof e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.set(n,e[n]);return t})))}},immediate:!1,deep:!0},features:{handler(){this.dispose(),this.init()},immediate:!1,deep:!0},visible:{handler(t){this.layer.setVisible(t)},immediate:!1},zIndex:{handler(t){this.layer.setZIndex(t)},immediate:!1},maxZoom:{handler(t){this.layer.setMaxZoom(t)},immediate:!1},minZoom:{handler(t){this.layer.setMinZoom(t)},immediate:!1},extent:{handler(t){this.layer.setExtent(t)},immediate:!1}},mounted(){this.init()},beforeDestroy(){this.dispose()},methods:{getGeoFeatures(){return this.features.map(t=>{const e=wp(t.coordinates,t.convert);return{type:"Feature",geometry:{type:"Point",coordinates:e},properties:t}})},styleFunction(t,e){const n=e.get("cluster")||0,i=e.get("point_count_abbreviated")||0;let r=t[i];if(n){if(!r){let e={};e={image:new vo({radius:4,fill:new er({color:"blue"})}),text:new Mo({font:"16px sans-serif",text:i.toString()})},_p(this.cluster,"style")?(r=Cp(this.cluster.style),r.getText().setText(i.toString())):r=new Co(e),t[i]=r}}else{const t=e.get("style");r=Cp(t)}return r},init(){this.clusters=new Blt(this.cluster),this.clusters.load(this.getGeoFeatures()),this.total=this.clusters.points.length;const t=this.map.getView().calculateExtent(this.map.getSize()),e=this.clusters.getClusters(t,this.map.getView().getZoom()),n={type:"FeatureCollection",features:e},i={};this.layer=new pl(d(c({},this.$props),{source:new El({features:(new tC).readFeatures(n).map(t=>{const e=t.get("properties");if(e&&"object"==typeof e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.set(n,e[n]);return t})}),style:t=>this.styleFunction(i,t)})),this.layer.set("cluster",!0),this.layer.set("id",this.layerId),this.layer.set("type","vector"),this.layer.set("users",!0),this.zIndex&&this.layer.setZIndex(this.zIndex),this.map.addLayer(this.layer),this.map.on("movestart",t=>{this.$emit("movestart")}),this.map.on("precompose",()=>{const t=this.map.getView().calculateExtent(this.map.getSize()),e=this.clusters.getClusters(t,this.map.getView().getZoom()),n={type:"FeatureCollection",features:e},i=this.layer.getSource();i&&(i.clear(),i.addFeatures((new tC).readFeatures(n).map(t=>{const e=t.get("properties");if(e&&"object"==typeof e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.set(n,e[n]);return t}))),this.$emit("precompose")}),this.eventList.forEach(t=>{this.eventRender.push(this.map.on(t,e=>this.eventHandler(t,e)))})},zoomEnd(t){const e=this.map.getView().calculateExtent(this.map.getSize()),n=this.clusters.getClusters(e,this.map.getView().getZoom()),i={type:"FeatureCollection",features:n},r=this.layer.getSource();r&&(r.clear(),r.addFeatures((new tC).readFeatures(i).map(t=>{const e=t.get("properties");if(e&&"object"==typeof e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.set(n,e[n]);return t}))),this.$emit("moveend"),t.map.once("moveend",t=>{this.zoomEnd(t)})},getFeatureAtPixel(t){return this.map.forEachFeatureAtPixel(t,(t,e)=>{var n;if((null==e?void 0:e.get("id"))===(null==(n=this.layer)?void 0:n.get("id")))return t},{})},eventHandler(t,e){const{pixel:n}=e,i=this.getFeatureAtPixel(n);this.$emit(t,e,i)},getLeaves(t,e){return this.clusters.getLeaves(t,e)},dispose(){this.eventRender.forEach(t=>{U(t)});const t=this.layer.getSource();t&&t.clear(),this.map.removeLayer(this.layer)}}},Klt={};var Jlt=im(Xlt,Zlt,Ylt,!1,Qlt,null,null,null);function Qlt(t){for(let e in Klt)this[e]=Klt[e]}Jlt.options.__file="src/components/layers/cluster/index.vue";const $lt=function(){return Jlt.exports}();function tht(t){t=t||{},this.options=t,t.colors=t.colors||["rgba(0,192,73,0.99609375)","rgba(242,48,48,0.99609375)","rgba(255,159,25,0.99609375)"];var e=t.colors;this.map=t.map,this.canvas=null,this.tileType=t.tileType;const n=this.map.getSize();var i=this.map.getView().calculateExtent(n),r=new ay({extent:i,source:new dp({canvasFunction:this.canvasFunction.bind(this),ratio:1,projection:"EPSG:4326"})});this.layer=r,this.map.on("precompose",()=>{var t=this.map.getSize(),e=this.map.getView().calculateExtent(t);r.setExtent(e)},!1),this.parseColors(e),this.tileSize=256,this.ratio=devicePixelRatio,this.drawTogether=!1,this.cache={},this._loadCount={},t.getTileUrl&&(this.getTileUrl=t.getTileUrl)}$lt.install=t=>{t.component($lt.name,$lt)},tht.prototype.canvasFunction=function(t,e,n,i,r){var o=this.canvas;return o||(this.map.getView(),o=document.createElement("canvas"),this.canvas=o),o.width=i[0],o.height=i[1],this.update({resolution:e,canvas:o}),o.getContext("2d"),o},tht.prototype.parseColors=function(t){this.arrFeatureStyles=[[2,t[0]||"rgba(79,210,125,1)",2,2,0,[],0,0],[2,t[0]||"rgba(79,210,125,1)",3,2,0,[],0,0],[2,t[0]||"rgba(79,210,125,1)",3,2,0,[],0,0],[2,t[0]||"rgba(79,210,125,1)",5,2,0,[],0,0],[2,t[0]||"rgba(79,210,125,1)",6,2,0,[],0,0],[2,t[2]||"rgba(255,208,69,1)",2,2,0,[],0,0],[2,t[2]||"rgba(255,208,69,1)",3,2,0,[],0,0],[2,t[2]||"rgba(255,208,69,1)",3,2,0,[],0,0],[2,t[2]||"rgba(255,208,69,1)",5,2,0,[],0,0],[2,t[2]||"rgba(255,208,69,1)",6,2,0,[],0,0],[2,t[1]||"rgba(232,14,14,1)",2,2,0,[],0,0],[2,t[1]||"rgba(232,14,14,1)",3,2,0,[],0,0],[2,t[1]||"rgba(232,14,14,1)",3,2,0,[],0,0],[2,t[1]||"rgba(232,14,14,1)",5,2,0,[],0,0],[2,t[1]||"rgba(232,14,14,1)",6,2,0,[],0,0],[2,t[3]||"rgba(181,0,0,1)",2,2,0,[],0,0],[2,t[3]||"rgba(181,0,0,1)",3,2,0,[],0,0],[2,t[3]||"rgba(181,0,0,1)",3,2,0,[],0,0],[2,t[3]||"rgba(181,0,0,1)",5,2,0,[],0,0],[2,t[3]||"rgba(181,0,0,1)",6,2,0,[],0,0],[2,"rgba(255,255,255,1)",4,0,0,[],0,0],[2,"rgba(255,255,255,1)",5.5,0,0,[],0,0],[2,"rgba(255,255,255,1)",7,0,0,[],0,0],[2,"rgba(255,255,255,1)",8.5,0,0,[],0,0],[2,"rgba(255,255,255,1)",10,0,0,[],0,0]]},tht.prototype.setColors=function(t){this.parseColors(t)},tht.prototype.initialize=function(t){var e=this;this._initialize||(this.canvaslayer=new CanvasLayer({map:t,update:function(){e.update(this)}}),this._initialize=!0)},tht.prototype.clearCache=function(t){this.cache={}},tht.prototype.setMap=function(t){t?(this.map=t,this._initialize?this.canvaslayer.show():this.initialize(t)):this.canvaslayer.hide()},tht.prototype.draw=function(t){t=t||{},t.clearCache&&this.clearCache(),t.drawTogether&&(this.drawTogether=!0),this.update()},tht.prototype.clear=function(){var t=this.canvaslayer.canvas,e=t.getContext("2d");e.canvas.width=e.canvas.width,e.canvas.height=e.canvas.height},tht.prototype.update=function(t){var e=this.map;t?this.canvaslayer=t:t=this.canvaslayer;var n,i,r=t.canvas,o=r.getContext("2d");this.drawTogether||this.clear(),"bd09"==this.tileType?(n=Math.round(e.getView().getZoom()+1),this.zoomUnits=Math.pow(2,18-n),i=256*this.zoomUnits):"WGS84"==this.tileType?(n=Math.round(e.getView().getZoom()),this.zoomUnits=2*Math.PI*6378137/256/Math.pow(2,n),i=256*this.zoomUnits):(n=Math.round(e.getView().getZoom()),this.zoomUnits=.3515625*Math.pow(2,2-n),i=256*this.zoomUnits);var a,s,l,h,u,c,d=e.getView().getCenter(),g={x:d[0],y:d[1]},f=this.zoomUnits,p=f/this.canvaslayer.resolution,m=e.getSize()[0]/p,y=e.getSize()[1]/p;if("bd09"==this.tileType){a=Math.ceil(g.x/i),s=Math.ceil(g.y/i);var v=[a,s,(g.x-a*i)/i*this.tileSize,(g.y-s*i)/i*this.tileSize];l=v[0]-Math.ceil((m/2-v[2])/this.tileSize),h=v[1]-Math.ceil((y/2-v[3])/this.tileSize),u=v[0]+Math.ceil((m/2+v[2])/this.tileSize),c=v[1]+Math.ceil((y/2+v[3])/this.tileSize)}else"WGS84"==this.tileType?(m=e.getSize()[0],y=e.getSize()[1],a=Math.ceil(Math.round((g.x+20037508.34)/i)),s=Math.ceil(Math.round((20037508.34-g.y)/i)),l=a-Math.ceil(m/2/this.tileSize),u=a+Math.ceil(m/2/this.tileSize),h=s-Math.ceil(y/2/this.tileSize),c=s+Math.ceil(y/2/this.tileSize)):(m=e.getSize()[0],y=e.getSize()[1],a=Math.ceil(Math.round((g.x+180)/i)),s=Math.ceil(Math.round((90-g.y)/i)),l=a-Math.ceil(m/2/this.tileSize),u=a+Math.ceil(m/2/this.tileSize),h=s-Math.ceil(y/2/this.tileSize),c=s+Math.ceil(y/2/this.tileSize));for(var _=[],x=l;x<=u;x++)for(var b=h;b<=c;b++)_.push([x,b]);this.tilesOrder=_,this._loadCount={};var w=e.getSize();o.translate(w[0]*devicePixelRatio*(1-p)/2,w[1]*devicePixelRatio*(1-p)/2),o.scale(this.ratio*p,this.ratio*p);for(x=0;x<_.length;x++){var S=_[x][0],A=_[x][1],C=n;this._loadCount[S+"_"+A+"_"+C]=!1,this.showTile(S,A,C)}},tht.prototype.lngLatToMerc=function(t){if(null==t)return{x:0,y:0};if(t.lng>180||t.lng<-180||t.lat>90||t.lat<-90)return{x:0,y:0};if("WGS84"==this.tileType){var e={},n=6378137;e.lng=t.lng*Math.PI/180*n;var i=t.lat*Math.PI/180;return e.lat=n/2*Math.log((1+Math.sin(i))/(1-Math.sin(i))),{x:Number(e.lng.toFixed(2)),y:Number(e.lat.toFixed(2))}}},tht.prototype.isAllLoaded=function(){var t=!0;for(var e in this._loadCount)if(!this._loadCount[e]){t=!1;break}return t},tht.prototype.showTile=function(t,e,n){this._parseDataAndDraw(t,e,n)},tht.prototype.drawCurrentData=function(){var t;this.clear(),"bd09"==this.tileType?t=Math.round(this.map.getZoom()+1):"WGS84"==this.tileType&&(t=Math.round(this.map.getZoom()));for(var e=0;e=15&&S[3]<=19&&(o.strokeStyle="rgba(186, 0, 0, 1)"),o.lineWidth=C[2],o.lineCap=a(C[3]),o.lineJoin=s(C[4]),o.stroke()}}o.restore()},tht.prototype.request=function(t,e){if(e){var n=(1e5*Math.random()).toFixed(0);BMap._rd["_cbk"+n]=function(t){e&&e(t),delete BMap._rd["_cbk"+n]},t+="&callback=BMap._rd._cbk"+n}var i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.src=t,i.addEventListener?i.addEventListener("load",(function(t){var e=t.target;e.parentNode.removeChild(e)}),!1):i.attachEvent&&i.attachEvent("onreadystatechange",(function(t){var e=window.event.srcElement;e&&("loaded"===e.readyState||"complete"===e.readyState)&&e.parentNode.removeChild(e)})),setTimeout((function(){document.getElementsByTagName("head")[0].appendChild(i),i=null}),1)},tht.prototype.getRGBA=function(t){t>>>=0;var e=t>>24&255,n=t>>16&255,i=t>>8&255,r=(255&t)/256;return"rgba("+e+","+n+","+i+","+r+")"},tht.prototype.getLineCap=function(t){return["butt","square","round"][t]},tht.prototype.getLineJoin=function(t){return["miter","bevel","round"][t]};const eht={name:"v-traffic",render(){return null},extends:pm,inject:["VMap"],props:{layerId:{type:String,default(){return"traffic-layer-"+p()}},timeout:{type:Number},url:{type:String,require:!0},tileType:{type:String},clearCache:{type:Boolean,default:!0}},data(){return{timer:null,trafficLayer:null,eventRender:[],eventList:["singleclick","pointermove"]}},computed:{map(){return this.VMap.map}},watch:{visible:{handler(t){this.trafficLayer.layer.setVisible(t)},immediate:!1},zIndex:{handler(t){this.trafficLayer.layer.setZIndex(t)},immediate:!1},maxZoom:{handler(t){this.trafficLayer.layer.setMaxZoom(t)},immediate:!1},minZoom:{handler(t){this.trafficLayer.layer.setMinZoom(t)},immediate:!1},extent:{handler(t){this.trafficLayer.layer.setExtent(t)},immediate:!1,deep:!0}},methods:{init(){this.trafficLayer=new tht({map:this.map,trafficURL:this.url,tileType:this.tileType}),this.trafficLayer.layer.set("id",this.layerId),this.trafficLayer.layer.set("type","traffic"),this.trafficLayer.layer.set("users",!0),this.zIndex&&this.trafficLayer.layer.setZIndex(this.zIndex),this.trafficLayer.layer.setVisible(this.visible),this.map.addLayer(this.trafficLayer.layer),this.timeout&&(this.timer=setInterval(()=>{this.trafficLayer.draw({clearCache:this.clearCache})},this.timeout)),this.eventList.forEach(t=>{this.eventRender.push(this.map.on(t,e=>this.eventHandler(t,e)))})},getFeatureAtPixel(t){return this.map.forEachFeatureAtPixel(t,(t,e)=>{var n,i;if((null==e?void 0:e.get("id"))===(null==(i=null==(n=this.trafficLayer)?void 0:n.layer)?void 0:i.get("id")))return t},{})},eventHandler(t,e){const{pixel:n}=e,i=this.getFeatureAtPixel(n);this.$emit(t,e,i)},dispose(){this.eventRender.forEach(t=>{U(t)}),this.timer&&(clearInterval(this.timer),this.timer=null),this.trafficLayer&&(this.trafficLayer.layer.getSource().clear(),this.map.removeLayer(this.trafficLayer.layer))}},mounted(){this.init()},update(){this.trafficLayer&&this.dispose(),this.init()},beforeDestroy(){this.dispose()}};let nht,iht;const rht={};var oht=im(eht,nht,iht,!1,aht,null,null,null);function aht(t){for(let e in rht)this[e]=rht[e]}oht.options.__file="src/components/layers/traffic/index.vue";const sht=function(){return oht.exports}();sht.install=function(t){t.component(sht.name,sht)};const lht=[lm,ky,By,Ty,iv,dv,OS,sC,fC,bC,MC,ult,Slt,Bst,$lt,sht],hht=function(t){hht.installed||lht.forEach(e=>{t.component(e.name,e)})};"undefined"!=typeof window&&window.Vue&&hht(window.Vue);const uht=c({install:hht},lht);e.VDraw=bC,e.VEcharts=Bst,e.VGraphic=fC,e.VHeatmap=sC,e.VImage=dv,e.VMap=lm,e.VMeasure=MC,e.VOverlay=By,e.VOverview=ky,e.VPath=Slt,e.VRoute=OS,e.VSuperCluster=$lt,e.VTile=Ty,e.VTrack=ult,e.VTraffic=sht,e.VVector=iv,e.default=uht,e.utils=tm,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}))}).call(this,n("c8ba"),n("b639").Buffer,n("f28c"))},1173:function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},"1fb5":function(t,e,n){"use strict";e.byteLength=u,e.toByteArray=d,e.fromByteArray=p;for(var i=[],r=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var i=n===e?0:4-n%4;return[n,i]}function u(t){var e=h(t),n=e[0],i=e[1];return 3*(n+i)/4-i}function c(t,e,n){return 3*(e+n)/4-n}function d(t){var e,n,i=h(t),a=i[0],s=i[1],l=new o(c(t,a,s)),u=0,d=s>0?a-4:a;for(n=0;n>16&255,l[u++]=e>>8&255,l[u++]=255&e;return 2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,l[u++]=255&e),1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e),l}function g(t){return i[t>>18&63]+i[t>>12&63]+i[t>>6&63]+i[63&t]}function f(t,e,n){for(var i,r=[],o=e;ol?l:s+a));return 1===r?(e=t[n-1],o.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],o.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"=")),o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},"24c5":function(t,e,n){"use strict";var i,r,o,a,s=n("b8e3"),l=n("e53d"),h=n("d864"),u=n("40c3"),c=n("63b6"),d=n("f772"),g=n("79aa"),f=n("1173"),p=n("a22a"),m=n("f201"),y=n("4178").set,v=n("aba2")(),_=n("656e"),x=n("4439"),b=n("bc13"),w=n("cd78"),S="Promise",A=l.TypeError,C=l.process,T=C&&C.versions,I=T&&T.v8||"",M=l[S],E="process"==u(C),z=function(){},P=r=_.f,L=!!function(){try{var t=M.resolve(1),e=(t.constructor={})[n("5168")("species")]=function(t){t(z,z)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(z)instanceof e&&0!==I.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(i){}}(),k=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;v((function(){var i=t._v,r=1==t._s,o=0,a=function(e){var n,o,a,s=r?e.ok:e.fail,l=e.resolve,h=e.reject,u=e.domain;try{s?(r||(2==t._h&&j(t),t._h=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),a=!0)),n===e.promise?h(A("Promise-chain cycle")):(o=k(n))?o.call(n,l,h):l(n)):h(i)}catch(c){u&&!a&&u.exit(),h(c)}};while(n.length>o)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&D(t)}))}},D=function(t){y.call(l,(function(){var e,n,i,r=t._v,o=O(t);if(o&&(e=x((function(){E?C.emit("unhandledRejection",r,t):(n=l.onunhandledrejection)?n({promise:t,reason:r}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",r)})),t._h=E||O(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},O=function(t){return 1!==t._h&&0===(t._a||t._c).length},j=function(t){y.call(l,(function(){var e;E?C.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})}))},F=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw A("Promise can't be resolved itself");(e=k(t))?v((function(){var i={_w:n,_d:!1};try{e.call(t,h(N,i,1),h(F,i,1))}catch(r){F.call(i,r)}})):(n._v=t,n._s=1,R(n,!1))}catch(i){F.call({_w:n,_d:!1},i)}}};L||(M=function(t){f(this,M,S,"_h"),g(t),i.call(this);try{t(h(N,this,1),h(F,this,1))}catch(e){F.call(this,e)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n("5c95")(M.prototype,{then:function(t,e){var n=P(m(this,M));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=h(N,t,1),this.reject=h(F,t,1)},_.f=P=function(t){return t===M||t===a?new o(t):r(t)}),c(c.G+c.W+c.F*!L,{Promise:M}),n("45f2")(M,S),n("4c95")(S),a=n("584a")[S],c(c.S+c.F*!L,S,{reject:function(t){var e=P(this),n=e.reject;return n(t),e.promise}}),c(c.S+c.F*(s||!L),S,{resolve:function(t){return w(s&&this===a?M:this,t)}}),c(c.S+c.F*!(L&&n("4ee1")((function(t){M.all(t)["catch"](z)}))),S,{all:function(t){var e=this,n=P(e),i=n.resolve,r=n.reject,o=x((function(){var n=[],o=0,a=1;p(t,!1,(function(t){var s=o++,l=!1;n.push(void 0),a++,e.resolve(t).then((function(t){l||(l=!0,n[s]=t,--a||i(n))}),r)})),--a||i(n)}));return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=P(e),i=n.reject,r=x((function(){p(t,!1,(function(t){e.resolve(t).then(n.resolve,i)}))}));return r.e&&i(r.v),n.promise}})},2874:function(t,e,n){var i=n("f426");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("5232836e",i,!0,{sourceMap:!0,shadowMode:!1})},3024:function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"3c11":function(t,e,n){"use strict";var i=n("63b6"),r=n("584a"),o=n("e53d"),a=n("f201"),s=n("cd78");i(i.P+i.R,"Promise",{finally:function(t){var e=a(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},4178:function(t,e,n){var i,r,o,a=n("d864"),s=n("3024"),l=n("32fc"),h=n("1ec9"),u=n("e53d"),c=u.process,d=u.setImmediate,g=u.clearImmediate,f=u.MessageChannel,p=u.Dispatch,m=0,y={},v="onreadystatechange",_=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},x=function(t){_.call(t.data)};d&&g||(d=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return y[++m]=function(){s("function"==typeof t?t:Function(t),e)},i(m),m},g=function(t){delete y[t]},"process"==n("6b4c")(c)?i=function(t){c.nextTick(a(_,t,1))}:p&&p.now?i=function(t){p.now(a(_,t,1))}:f?(r=new f,o=r.port2,r.port1.onmessage=x,i=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(t){u.postMessage(t+"","*")},u.addEventListener("message",x,!1)):i=v in h("script")?function(t){l.appendChild(h("script"))[v]=function(){l.removeChild(this),_.call(t)}}:function(t){setTimeout(a(_,t,1),0)}),t.exports={set:d,clear:g}},"43fc":function(t,e,n){"use strict";var i=n("63b6"),r=n("656e"),o=n("4439");i(i.S,"Promise",{try:function(t){var e=r.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},4439:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"465f":function(t,e,n){"use strict";n("d87a")},"4c95":function(t,e,n){"use strict";var i=n("e53d"),r=n("584a"),o=n("d9f6"),a=n("8e60"),s=n("5168")("species");t.exports=function(t){var e="function"==typeof r[t]?r[t]:i[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},"5c95":function(t,e,n){var i=n("35e8");t.exports=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:i(t,r,e[r]);return t}},"656e":function(t,e,n){"use strict";var i=n("79aa");function r(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)}t.exports.f=function(t){return new r(t)}},"696e":function(t,e,n){n("c207"),n("1654"),n("6c1c"),n("24c5"),n("3c11"),n("43fc"),t.exports=n("584a").Promise},7102:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page"},[e("v-map",{ref:"map",staticClass:"map",attrs:{view:t.view,interactions:t.interactions},on:{contextmenu:function(t){t.preventDefault()}}},[e("v-tile",{attrs:{"tile-type":t.tileType,"z-index":0}}),e("v-vector",{ref:"stationLayer",attrs:{"layer-id":"stationLayer",features:t.layers.stationLayer.features,"z-index":2}}),e("v-vector",{ref:"pointLayer",attrs:{"layer-id":"pointLayer",features:t.layers.pointLayer.features,"z-index":2}}),e("v-vector",{ref:"railLayer",attrs:{"layer-id":"railLayer","feature-style":t.layers.railLayer.style,features:t.layers.railLayer.features,"z-index":2},on:{singleclick:t.clickRail,change:t.onRailLayerChange}}),e("v-draw",{ref:"drawLayer",attrs:{type:t.drawType,"feature-style":t.layers.railLayer.style,"end-right":!0,clear:!0,"z-index":3,"draw-once":"",editable:""},on:{drawend:t.drawend}})],1),e("electronic-fence-edit-dialog",{directives:[{name:"show",rawName:"v-show",value:t.showFenceEdit,expression:"showFenceEdit"}],ref:"electronicFenceEdit",attrs:{info:t.info,"electronic-fence-info":t.electronicFenceInfo,"station-id":t.stationId,"station-visible":!1},on:{cancel:t.electronicFenceEditCancel,cleanFigure:t.cleanDrawFigure,draw:t.drawRail}})],1)},r=[],o=(n("8e6e"),n("ac6a"),n("456d"),n("768b")),a=n("bd86"),s=(n("96cf"),n("696e")),l=n.n(s);function h(t,e,n,i,r,o,a){try{var s=t[o](a),h=s.value}catch(t){return void n(t)}s.done?e(h):l.a.resolve(h).then(i,r)}function u(t){return function(){var e=this,n=arguments;return new l.a((function(i,r){var o=t.apply(e,n);function a(t){h(o,i,r,a,s,"next",t)}function s(t){h(o,i,r,a,s,"throw",t)}a(void 0)}))}}n("7f7f"),n("6762"),n("2fdb");var c=n("071b"),d=(n("2874"),n("5c96")),g=n("bc3a"),f=n.n(g),p=f.a.create({baseURL:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_API_ROOT,timeout:1e4});p.interceptors.request.use(function(){var t=u(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=localStorage.getItem("dispatchToken"),n&&(e.headers.dispatchToken=n),t.abrupt("return",e);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),(function(t){return Promise.reject(t)})),p.interceptors.response.use((function(t){var e=t.status,n=t.data;if(200===e){var i=t.config.url;return i.indexOf("json")>-1?n:n.data}}));n("28a5");var m=f.a.create({baseURL:Object({NODE_ENV:"production",BASE_URL:""}).VUE_APP_API_ROOT,timeout:1e4});m.interceptors.request.use(function(){var t=u(regeneratorRuntime.mark((function t(e){var n,i,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=window.location.href.split("?")[1],i=new URLSearchParams(n),r=i.get("accessToken"),r&&(e.headers.accessToken=r),t.abrupt("return",e);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),(function(t){return Promise.reject(t)})),m.interceptors.response.use((function(t){var e=t.status,n=t.data;if(200===e){var i=t.config.url;return i.indexOf("json")>-1?n:n.data}}));var y=m;function v(t){return y({url:"/security-station-rails/search",method:"POST",data:t})}function _(t){return y({url:"/security-station-rails/"+t.id,method:"DELETE",data:t})}function x(t){return y({url:"/security-station-rails/"+t,method:"GET"})}var b=function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:"slide-fade"}},[e("div",{directives:[{name:"drag",rawName:"v-drag"}],staticClass:"station-types"},[e("div",{staticClass:"content"},[e("el-form",{ref:"form",attrs:{model:t.form,"label-width":"70px"}},[e("el-row",[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:"选择区域"}},[e("div",{staticClass:"areaContent"},t._l(t.areaList,(function(n,i){return e("div",{key:i,staticClass:"areaContent-block",class:t.form.shapeType===n.id?"areaContent-block-active":"",on:{click:function(e){return t.changeAreaType(n.id)}}},[e("div",{staticClass:"areaContent-block-img"},[e("img",{attrs:{src:n.icon,alt:""}})]),e("div",{staticClass:"areaContent-block-text"},[t._v("\n "+t._s(n.name)+"\n ")])])})),0)])],1)],1)],1),e("div",{staticClass:"footer-right"},[e("el-button",{attrs:{plain:"",type:"primary"},on:{click:t.reset}},[t._v("重置")]),e("el-button",{attrs:{type:"success"},on:{click:t.saveRail}},[t._v("确认")])],1)],1)])])},w=[],S={name:"trajectory",components:{},props:{stationId:String,info:{type:Object,default:function(){return{}}},electronicFenceInfo:{type:Object,default:function(){return{}}},map:{type:Object,default:function(){return null}},stationVisible:{type:Boolean,default:!0}},watch:{info:{handler:function(t){0!==Object.keys(t).length&&(this.form.stationId=t.stationId,this.form.peopleNum=t.countOfSecurityMan,0===Object.keys(this.electronicFenceInfo).length&&(this.form.stationName=t.name))},immediate:!0,deep:!0},electronicFenceInfo:{handler:function(t){if(t&&0!==Object.keys(t).length){var e=JSON.parse(JSON.stringify(t));this.form.stationName=e.stationName,this.form.id=e.id,this.form.name=e.name,this.form.ruleType=e.ruleType,this.form.shapeType=e.shapeType,this.form.shapedLocation=e.shapedLocation,this.form.stationId=e.stationId,this.form.peopleNum=e.countOfSecurityMan,this.form.time=e.time,this.form.note=e.note,this.isAdd=!1}else this.isAdd=!0,this.reset()},immediate:!0,deep:!0}},data:function(){return{isAdd:!1,typeList:[{id:"Exit",name:"离开告警"},{id:"Enter",name:"进入告警"}],areaList:[{id:"Crib",icon:n("c4e0"),name:"框形选择"},{id:"Circle",icon:n("8e41"),name:"圆形选择"},{id:"Polygon",icon:n("c943"),name:"多边形选择"}],form:{id:"",name:"",ruleType:"Exit",stationId:"",stationName:"",peopleNum:"",time:"",note:"",shapeType:"",peopleList:[],shapedLocation:{geos:[],radius:""}},Circle:null,mousetool:null}},methods:{changeAreaType:function(t){var e=this;this.form.shapeType=t,this.mouseTool&&this.mouseTool.close(!0),this.$emit("cleanFigure"),"Circle"===t?e.drawCircle():"Crib"===t?e.drawRectangle():"Polygon"===t&&e.drawPolygon()},drawPolygon:function(){this.$emit("draw","Polygon")},drawCircle:function(){this.$emit("draw","Circle")},drawRectangle:function(){this.$emit("draw","Rectangle")},setCircle:function(t){},setRectangle:function(t){},setPolygon:function(t){},cancel:function(){this.mouseTool&&this.mouseTool.close(!0),this.$emit("cancel")},updateGeometry:function(t){var e=t.geos,n=t.radius;this.form.shapedLocation={geos:e,radius:n}},updateStation:function(t){this.form.stationName=t.stationName,this.form.peopleNum=t.countOfSecurityMan,this.form.stationId=t.stationId},reset:function(){this.form.id="",this.form.name="",this.form.ruleType="Exit",this.form.time=[],this.form.note="",this.form.shapeType="",this.form.stationName="",this.form.peopleNum="",this.form.shapedLocation={geos:[],radius:""},this.$emit("cleanFigure")},saveRail:function(){0!==this.form.shapedLocation.geos.length?(window.parent.postMessage({shapeType:this.form.shapeType,shapedLocation:this.form.shapedLocation},"*"),this.$message.success("数据保存成功,即将关闭窗口")):this.$message.warning("请选择围栏区域")}}},A=S,C=(n("c621"),n("2877")),T=Object(C["a"])(A,b,w,!1,null,"7371422c",null),I=T.exports;function M(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 E(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:["stationLayer"];for(var e in this.layers)t.includes(e)||(this.layers[e].features=[]);this.$refs.map.closeOverlays()},onChangeLayer:function(t){t.indexOf("default")>-1?this.tileType="GD":this.tileType="GD_IMG"},hideFenceTable:function(){this.isElectronicFenceEditDialog=!1,this.isElectronicFenceStationDialog=!1,this.isElectronicFenceDialog=!1},electronicFenceCancel:function(){this.isElectronicFenceDialog=!1},addElectronic:function(){var t=this;this.isElectronicFenceEditDialog=!0,this.isElectronicFenceDialog=!1,this.electronicFenceInfo=JSON.parse(JSON.stringify(this.info)),this.electronicFenceInfo={},this.$nextTick((function(){t.$refs.electronicFenceEdit.updateStation({stationName:t.station.name,peopleNum:t.station.countOfSecurityMan,countOfSecurityMan:t.station.countOfSecurityMan,stationId:t.station.id})}))},electronicFenceEditFn:function(){var t=u(regeneratorRuntime.mark((function t(e){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.data,this.showRailInfoFromList=!0,this.isElectronicFenceDialog=!1,this.electronicFenceInfo=JSON.parse(JSON.stringify(n)),this.electronicFenceInfo.time=[this.electronicFenceInfo.beginTime,this.electronicFenceInfo.endTime],t.next=7,x(n.id);case 7:i=t.sent,this.info=E(E({},i),this.electronicFenceInfo),this.isElectronicFenceEditDialog=!0,this.showMapEditor(n);case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),delElectronic:function(t){var e=this,n={id:t.data.id};_(n).then((function(t){e.$refs["electronicFence"].getRails(),e.$message({message:"删除成功",type:"success"})})).catch((function(t){}))},electronicFenceEditCancel:function(){var t=this;this.layers.railLayer.features=[],this.isElectronicFenceEditDialog=!1,this.cleanDrawFigure(),v({pageIndex:1,pageSize:10,searchModel:"Station",stationId:this.stationId}).then((function(e){e?t.electronicFenceData=e:Object(d["Message"])({type:"error",message:"查询电子围栏信息失败",onClose:function(){}})})).catch((function(){Object(d["Message"])({type:"error",message:"查询电子围栏信息失败",onClose:function(){}})}))},cleanDrawFigure:function(){this.drawType=""},showMapEditor:function(t){var e=t.shapeType,n=t.shapedLocation;switch(e){case"Circle":this.showCircleEditor(n);break;case"Polygon":this.showPolygonEditor(n);break;case"Crib":this.showCribEditor(n);break}},showPolygonEditor:function(t){var e=t.geos,n=e.map((function(t){return[t.lon,t.lat]}));this.layers.railLayer.features=[{type:"polygon",coordinates:n,style:this.layers.railLayer.style,convert:"gd-84"}],this.$refs.map.flyTo({zoom:13,flyZoom:8,center:n[0]})},showCribEditor:function(t){var e=t.geos,n=e.map((function(t){return[t.lon,t.lat]}));this.layers.railLayer.features=[{type:"polygon",coordinates:n,style:this.layers.railLayer.style,convert:"gd-84"}],this.$refs.map.flyTo({zoom:13,flyZoom:8,center:n[0]})},showCircleEditor:function(t){var e=t.geos,n=t.radius,i=e.map((function(t){return[t.lon,t.lat]})),r=Object(o["a"])(i,1),a=r[0];this.layers.railLayer.features=[{type:"Circle",center:a,radius:n,style:this.layers.railLayer.style,convert:"gd-84"}],this.$refs.map.flyTo({zoom:13,center:a})},drawRail:function(t){this.drawType=t},drawend:function(t,e){var n=t.feature;this.layers.railLayer.features=[];var i=n.getGeometry();if("Rectangle"===this.drawType||"Polygon"===this.drawType){var r=i.getCoordinates(),a=Object(o["a"])(r,1),s=a[0],l=s.map((function(t){return c["utils"].convertCoordinate(t,"84-gd")})),h={geos:l.map((function(t){return{lon:t[0],lat:t[1]}}))};this.$refs.electronicFenceEdit.updateGeometry(h)}else if("Circle"===this.drawType){var u=i.getCenter(),d=i.getRadius(),g=e.getView().getProjection().getMetersPerUnit(),f=(d*g).toFixed(2),p=c["utils"].convertCoordinate(u,"84-gd"),m={geos:[{lon:p[0],lat:p[1]}],radius:f};this.$refs.electronicFenceEdit.updateGeometry(m)}},initPosition:function(t){var e=this;this.$api.getPointListApi({pathId:t,pageIndex:1,pageSize:999999},{onSucess:function(t){var n=t.data.data.map((function(t){return[t.longitude,t.latitude]}));e.layers.stationLayer.features=[{type:"polyline",coordinates:n,convert:"gd-84"}],e.layers.pointLayer.features=n.map((function(t){return{type:"point",coordinates:t,properties:{name:"站点-".concat(t.join(","))}}})),e.$refs.map.flyTo({zoom:9,flyZoom:8,center:n[0]})}})}},mounted:function(){var t=this.$route.query;t&&t.pathId&&(this.showFenceEdit=!1,this.initPosition(t.pathId))}},P=z,L=(n("465f"),Object(C["a"])(P,i,r,!1,null,"051db124",null));e["default"]=L.exports},7275:function(t,e,n){e=t.exports=n("2350")(!0),e.push([t.i,".station-types[data-v-7371422c]{width:100%;background:rgba(233,242,235,.768627451);position:fixed;top:0;z-index:999}.station-types .content[data-v-7371422c]{border-bottom:1px solid #bdcfde;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:15px 15px 0;height:65px}.station-types .content .top[data-v-7371422c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin:16px 0 19px 0}.station-types .content .top .title[data-v-7371422c]{font-size:16px;font-weight:500;color:#0e71ff}.station-types .content .type-icon[data-v-7371422c]{width:16px;height:16px}.station-types .content[data-v-7371422c] .el-radio,.station-types .content[data-v-7371422c] .el-radio .el-radio__label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.station-types .content[data-v-7371422c] .el-radio .el-radio__label{padding-left:8px;font-size:16px;color:#666}.station-types .content .areaContent[data-v-7371422c],.station-types .content .areaContent-block[data-v-7371422c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.station-types .content .areaContent-block[data-v-7371422c]{width:128px;height:32px;line-height:32px;border-radius:6px;opacity:1;border:1px solid #b2a7a7;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:10px;background-color:#f0f8ff;cursor:pointer}.station-types .content .areaContent-block[data-v-7371422c]:nth-child(3){margin-right:0}.station-types .content .areaContent-block-img[data-v-7371422c]{width:24px;height:24px}.station-types .content .areaContent-block-img img[data-v-7371422c]{width:100%;height:100%;vertical-align:baseline}.station-types .content .areaContent-block-text[data-v-7371422c]{margin-left:8px;color:#333;font-size:14px}.station-types .content .areaContent-block-active[data-v-7371422c],.station-types .content .areaContent-block[data-v-7371422c]:hover{background:rgba(14,113,255,.1);border:1px solid #0e71ff}.station-types .content .peopleContent[data-v-7371422c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.station-types .content .peopleContent-block[data-v-7371422c]{width:128px;height:32px;line-height:32px}.station-types .content .peopleNum[data-v-7371422c]{width:50px;font-size:14px;color:#0e70ff;text-decoration:underline;cursor:pointer}.station-types .content .btnContent[data-v-7371422c],.station-types .content .btnContent-block[data-v-7371422c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.station-types .content .btnContent-block[data-v-7371422c]{width:128px;height:32px;line-height:32px;border-radius:6px;opacity:1;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:10px;cursor:pointer;color:#333;font-size:14px}.station-types .content .btnContent-block[data-v-7371422c]:nth-child(3){margin-right:0}.station-types .content .btnContent .success[data-v-7371422c]{color:#00b40c;border:1px solid #00b40c}.station-types .content .btnContent .success[data-v-7371422c]:hover{color:#fff;background:#00b40c}.station-types .content .btnContent .primary[data-v-7371422c]{color:#1677ff;border:1px solid #1677ff}.station-types .content .btnContent .primary[data-v-7371422c]:hover{color:#fff;background:#1677ff}.station-types .content .btnContent .danger[data-v-7371422c]{background:#ff4d4f;color:#fff;border:1px solid #ff4d4f}.station-types .content .btn-row[data-v-7371422c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.station-types .content .btn-row-btn[data-v-7371422c]{width:38px;height:38px;line-height:38px;text-align:center;border-radius:4px;border:1px solid #d9d9d9}.station-types .content .btn-row-btnAc[data-v-7371422c]{background:rgba(22,119,255,.1);border-radius:4px;border:1px solid #1677ff}.station-types .content .btn-row-btnSelf[data-v-7371422c]{width:70px;height:38px}.station-types .content .btn-row-btnSelf[data-v-7371422c] .el-input{width:70px;height:38px;line-height:38px;font-weight:500;color:#666;font-size:14px}.station-types .content .btn-row-btnSelf[data-v-7371422c] .el-input__inner{border:0}.station-types .footer[data-v-7371422c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:20px;margin-bottom:20px}.station-types .footer-left .del[data-v-7371422c]{color:#ff4d4f;background-color:#fff;border-color:#ff4d4f}.station-types .footer-left .del[data-v-7371422c]:hover{color:#fff}.station-types .footer-left .del[data-v-7371422c]:focus,.station-types .footer-left .del[data-v-7371422c]:hover{background-color:#ff4d4f;border-color:#ff4d4f}","",{version:3,sources:["/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/components/electronicFenceEdit.vue"],names:[],mappings:"AACA,gCACE,WACA,wCACA,eACA,MACA,WAAA,CACA,yCACE,gCACA,oBAAA,oBAAA,aACA,yBAAA,sBAAA,8BACA,oBACA,WAAA,CACA,8CACE,oBAAA,oBAAA,aACA,0BAAA,uBAAA,oBACA,uBAAA,oBAAA,2BACA,oBAAA,CACA,qDACE,eACA,gBACA,aAAA,CAIJ,oDACE,WACA,WAAA,CAOA,uHAHA,oBAAA,oBAAA,aACA,yBAAA,sBAAA,kBAOE,CALF,oEAGE,iBACA,eACA,UAAA,CAQF,kHAHA,oBAAA,oBAAA,aACA,yBAAA,sBAAA,kBAcE,CAZF,4DACE,YACA,YACA,iBACA,kBACA,UACA,yBAGA,wBAAA,qBAAA,uBACA,kBACA,yBACA,cAAA,CAEA,yEACE,cAAA,CAGF,gEACE,WACA,WAAA,CAEA,oEACE,WACA,YACA,uBAAA,CAIJ,iEACE,gBACA,WACA,cAAA,CAQJ,qIACE,+BACA,wBAAA,CAIJ,wDACE,oBAAA,oBAAA,aACA,yBAAA,sBAAA,kBAAA,CAEA,8DACE,YACA,YACA,gBAAA,CAIJ,oDACE,WACA,eACA,cACA,0BACA,cAAA,CAOA,gHAHA,oBAAA,oBAAA,aACA,yBAAA,sBAAA,kBAeE,CAbF,2DACE,YACA,YACA,iBACA,kBACA,UAIA,wBAAA,qBAAA,uBACA,kBACA,eACA,WACA,cAAA,CAEA,wEACE,cAAA,CAIJ,8DACE,cACA,wBAAA,CAEA,oEACE,WACA,kBAAA,CAIJ,8DACE,cACA,wBAAA,CAEA,oEACE,WACA,kBAAA,CAIJ,6DACE,mBACA,WACA,wBAAA,CAIJ,kDACE,oBAAA,oBAAA,aACA,yBAAA,sBAAA,kBAAA,CAEA,sDACE,WACA,YACA,iBACA,kBACA,kBACA,wBAAA,CAGF,wDACE,+BACA,kBACA,wBAAA,CAGF,0DACE,WACA,WAAA,CAEA,oEACE,WACA,YACA,iBACA,gBACA,WACA,cAAA,CAGF,2EACE,QAAA,CAMR,wCACE,oBAAA,oBAAA,aACA,yBAAA,sBAAA,mBACA,yBAAA,sBAAA,8BACA,gBACA,kBAAA,CAGE,kDACE,cACA,sBACA,oBAAA,CAEA,wDACE,UAEA,CAGF,gHAJE,yBACA,oBAKA,CAAA",file:"electronicFenceEdit.vue?vue&type=style&index=0&id=7371422c&prod&lang=scss&scoped=true",sourcesContent:["\n.station-types {\n width: 100%;\n background: #e9f2ebc4;\n position: fixed;\n top: 0;\n z-index: 999;\n .content {\n border-bottom: 1px solid #bdcfde;\n display: flex;\n justify-content: space-between;\n padding: 15px 15px 0;\n height: 65px;\n .top {\n display: flex;\n align-items: stretch;\n justify-content: flex-start;\n margin: 16px 0 19px 0;\n .title {\n font-size: 16px;\n font-weight: 500;\n color: #0e71ff;\n }\n }\n\n .type-icon {\n width: 16px;\n height: 16px;\n }\n\n ::v-deep .el-radio {\n display: flex;\n align-items: center;\n\n .el-radio__label {\n display: flex;\n align-items: center;\n padding-left: 8px;\n font-size: 16px;\n color: #666666;\n }\n }\n\n .areaContent {\n display: flex;\n align-items: center;\n\n &-block {\n width: 128px;\n height: 32px;\n line-height: 32px;\n border-radius: 6px;\n opacity: 1;\n border: 1px solid #b2a7a7;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 10px;\n background-color: aliceblue;\n cursor: pointer;\n\n &:nth-child(3) {\n margin-right: 0;\n }\n\n &-img {\n width: 24px;\n height: 24px;\n\n img {\n width: 100%;\n height: 100%;\n vertical-align: baseline;\n }\n }\n\n &-text {\n margin-left: 8px;\n color: #333333;\n font-size: 14px;\n }\n\n &-active {\n background: rgba(14, 113, 255, 0.1);\n border: 1px solid #0e71ff;\n }\n }\n &-block:hover {\n background: rgba(14, 113, 255, 0.1);\n border: 1px solid #0e71ff;\n }\n }\n\n .peopleContent {\n display: flex;\n align-items: center;\n\n &-block {\n width: 128px;\n height: 32px;\n line-height: 32px;\n }\n }\n\n .peopleNum {\n width: 50px;\n font-size: 14px;\n color: #0e70ff;\n text-decoration: underline;\n cursor: pointer;\n }\n\n .btnContent {\n display: flex;\n align-items: center;\n\n &-block {\n width: 128px;\n height: 32px;\n line-height: 32px;\n border-radius: 6px;\n opacity: 1;\n\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 10px;\n cursor: pointer;\n color: #333333;\n font-size: 14px;\n\n &:nth-child(3) {\n margin-right: 0;\n }\n }\n\n .success {\n color: #00b40c;\n border: 1px solid #00b40c;\n\n &:hover {\n color: #ffffff;\n background: #00b40c;\n }\n }\n\n .primary {\n color: #1677ff;\n border: 1px solid #1677ff;\n\n &:hover {\n color: #ffffff;\n background: #1677ff;\n }\n }\n\n .danger {\n background: #ff4d4f;\n color: #ffffff;\n border: 1px solid #ff4d4f;\n }\n }\n\n .btn-row {\n display: flex;\n align-items: center;\n\n &-btn {\n width: 38px;\n height: 38px;\n line-height: 38px;\n text-align: center;\n border-radius: 4px;\n border: 1px solid #d9d9d9;\n }\n\n &-btnAc {\n background: rgba(22, 119, 255, 0.1);\n border-radius: 4px;\n border: 1px solid #1677ff;\n }\n\n &-btnSelf {\n width: 70px;\n height: 38px;\n\n ::v-deep .el-input {\n width: 70px;\n height: 38px;\n line-height: 38px;\n font-weight: 500;\n color: #666666;\n font-size: 14px;\n }\n\n ::v-deep .el-input__inner {\n border: 0;\n }\n }\n }\n }\n\n .footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 20px;\n margin-bottom: 20px;\n\n &-left {\n .del {\n color: rgba(255, 77, 79, 1);\n background-color: #ffffff;\n border-color: rgba(255, 77, 79, 1);\n\n &:hover {\n color: #ffffff;\n background-color: rgba(255, 77, 79, 1);\n border-color: rgba(255, 77, 79, 1);\n }\n\n &:focus {\n background-color: rgba(255, 77, 79, 1);\n border-color: rgba(255, 77, 79, 1);\n }\n }\n }\n }\n}\n"],sourceRoot:""}])},"8e41":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAOnSURBVGiB1ZohaBtRGMd/lMAiIioiKiYCi4ioiKiMiCisoqKiYmKisqKisEAnJgoVHWywiZnBYIMNKlpR2NwGG7RQEbHBREUHgUVURFREdJBCJ9478r2X73Jp8+7S/OBoufvuvf/Lfe/7vvfuIDx5YBNoAl17NO25fAr9BaUMnALXMceptbmTzDJcvBzE7IQ0DmWbvsge0ABK9mjYc9H17QnoS6RNX+CGcn1DXG9nqGskirhuok3WvGcTxI1mQjQCLIj/r4B/is2VPSLuxDxYxIRIf6IuK7Yrns0ZcBJjmzol4CvxkeYcM7iIJXsuzl6bM6nxGJOcpIAecKicP1eEdzFJTUalN1mJf8bgr/eJfnKqAReKjRRfs7ZlK/wjMId5Cqe2j1TY9MS0Ma7hUwL2gEthewnsMzwLyyeyE0p0xCNc8ceYX20YeaACVIHCCH18wXXJYJRxfft4REE3pQD8sH0chGz4CHdSFkM2rlCyf1dwI9mt8GP32A2OiAwWY+UJmaQ+jC1rdF6Kfpu3aaAEPMSdVFnW8WXcqFSi71qxFIFXQAfXba4xESJrXig6OlbjQB1VAVrKDTKOr2ah2rKKm0f8o2U1AyZen3kGXQZLgEtMTE+bKq77XGOyu1+mnFntbImTPWAdyNnGat5AsnClb6K/Nv3SI2e1ycE9ATfSNJQGF3BHnkYSi/AXRguKTUNcb4Lra3GR5o+wqcXYhKAu+mnF2JSFTXcGd5WUU2+Be4EEJiG1xO0hSY1X4JYKu8oNS7hzJE0XmsX1cS3zPxfXj8BMDOl3u5hKs4BZvMj6/jBF8RGHor+O1VCwmnZwB7gO5pFo61ptMZJFNvar37ijiXCnuYRBdEh38vrU0CsCKX5gPSI3Zf0bvmeh2qMIvAX+4gofeZO4gjuILLJwRA5TRiet+hKRWfHzuI3dgH36JcRYG2B13KewMq6yEVj2+qwMN0/mQDTWDdFgAq9Ff0HC9n3ciNAigG8OoQz8wiSpYP0s4iaQc2A+4Z5oW6VCctSoYCJMB+O2qbDGYGJbU+xK6Btbe+jLwnncxPU+pGifNQYXG0f0f7Uaw7Oo3FqMkC8+emSwW11H32n+rYjXNncvgJ/2/x1MwjrC+H09bfERReCdMggpXFaSdfRBx9X8mVHFJB3frbQNAD++94Cn2chMpoorTCOHO1BtuTgxJvaSLyRT/ZoVBl90bwEP7LHFFLzonvpPDWDKP/aIiFZ2J/Q/tzkhpc9t/gMF6+tgPjKu2AAAAABJRU5ErkJggg=="},9152:function(t,e){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ e.read=function(t,e,n,i,r){var o,a,s=8*r-i-1,l=(1<>1,u=-7,c=n?r-1:0,d=n?-1:1,g=t[e+c];for(c+=d,o=g&(1<<-u)-1,g>>=-u,u+=s;u>0;o=256*o+t[e+c],c+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=i;u>0;a=256*a+t[e+c],c+=d,u-=8);if(0===o)o=1-h;else{if(o===l)return a?NaN:1/0*(g?-1:1);a+=Math.pow(2,i),o-=h}return(g?-1:1)*a*Math.pow(2,o-i)},e.write=function(t,e,n,i,r,o){var a,s,l,h=8*o-r-1,u=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,g=i?0:o-1,f=i?1:-1,p=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),e+=a+c>=1?d/l:d*Math.pow(2,1-c),e*l>=2&&(a++,l/=2),a+c>=u?(s=0,a=u):a+c>=1?(s=(e*l-1)*Math.pow(2,r),a+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,r),a=0));r>=8;t[n+g]=255&s,g+=f,s/=256,r-=8);for(a=a<0;t[n+g]=255&a,g+=f,a/=256,h-=8);t[n+g-f]|=128*p}},"962e":function(t,e,n){var i=n("7275");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("383a81f8",i,!0,{sourceMap:!0,shadowMode:!1})},"96cf":function(t,e){!function(e){"use strict";var n,i=Object.prototype,r=i.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag",h="object"===typeof t,u=e.regeneratorRuntime;if(u)h&&(t.exports=u);else{u=e.regeneratorRuntime=h?t.exports:{},u.wrap=x;var c="suspendedStart",d="suspendedYield",g="executing",f="completed",p={},m={};m[a]=function(){return this};var y=Object.getPrototypeOf,v=y&&y(y(L([])));v&&v!==i&&r.call(v,a)&&(m=v);var _=A.prototype=w.prototype=Object.create(m);S.prototype=_.constructor=A,A.constructor=S,A[l]=S.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,l in t||(t[l]="GeneratorFunction")),t.prototype=Object.create(_),t},u.awrap=function(t){return{__await:t}},C(T.prototype),T.prototype[s]=function(){return this},u.AsyncIterator=T,u.async=function(t,e,n,i){var r=new T(x(t,e,n,i));return u.isGeneratorFunction(e)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},C(_),_[l]="Generator",_[a]=function(){return this},_.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},u.values=L,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(z),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(i,r){return s.type="throw",s.arg=t,e.next=i,r&&(e.method="next",e.arg=n),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),h=r.call(a,"finallyLoc");if(l&&h){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),z(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;z(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:L(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=n),p}}}function x(t,e,n,i){var r=e&&e.prototype instanceof w?e:w,o=Object.create(r.prototype),a=new P(i||[]);return o._invoke=I(t,n,a),o}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(i){return{type:"throw",arg:i}}}function w(){}function S(){}function A(){}function C(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function T(t){function e(n,i,o,a){var s=b(t[n],t,i);if("throw"!==s.type){var l=s.arg,h=l.value;return h&&"object"===typeof h&&r.call(h,"__await")?Promise.resolve(h.__await).then((function(t){e("next",t,o,a)}),(function(t){e("throw",t,o,a)})):Promise.resolve(h).then((function(t){l.value=t,o(l)}),a)}a(s.arg)}var n;function i(t,i){function r(){return new Promise((function(n,r){e(t,i,n,r)}))}return n=n?n.then(r,r):r()}this._invoke=i}function I(t,e,n){var i=c;return function(r,o){if(i===g)throw new Error("Generator is already running");if(i===f){if("throw"===r)throw o;return k()}n.method=r,n.arg=o;while(1){var a=n.delegate;if(a){var s=M(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(i===c)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=g;var l=b(t,e,n);if("normal"===l.type){if(i=n.done?f:d,l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=f,n.method="throw",n.arg=l.arg)}}}function M(t,e){var i=t.iterator[e.method];if(i===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,M(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=b(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=n),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function E(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 z(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function L(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,o=function e(){while(++i_;_++)if(m=e?v(a(f=t[_])[0],f[1]):v(t[_]),m===h||m===u)return m}else for(p=y.call(t);!(f=p.next()).done;)if(m=r(p,v,f.value,e),m===h||m===u)return m};e.BREAK=h,e.RETURN=u},aba2:function(t,e,n){var i=n("e53d"),r=n("4178").set,o=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,l="process"==n("6b4c")(a);t.exports=function(){var t,e,n,h=function(){var i,r;l&&(i=a.domain)&&i.exit();while(t){r=t.fn,t=t.next;try{r()}catch(o){throw t?n():e=void 0,o}}e=void 0,i&&i.enter()};if(l)n=function(){a.nextTick(h)};else if(!o||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(h)}}else n=function(){r.call(i,h)};else{var c=!0,d=document.createTextNode("");new o(h).observe(d,{characterData:!0}),n=function(){d.data=c=!c}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},b639:function(t,e,n){"use strict";(function(t){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var i=n("1fb5"),r=n("9152"),o=n("e3db");function a(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return h.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(t,e){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function _(t){return+t!=t&&(t=0),h.alloc(+t)}function x(t,e){if(h.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $(t).length;default:if(i)return K(t).length;e=(""+e).toLowerCase(),i=!0}}function b(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return j(this,e,n);case"utf8":case"utf-8":return L(this,e,n);case"ascii":return D(this,e,n);case"latin1":case"binary":return O(this,e,n);case"base64":return P(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function w(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function S(t,e,n,i,r){if(0===t.length)return-1;if("string"===typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=h.from(e,i)),h.isBuffer(e))return 0===e.length?-1:A(t,e,n,i,r);if("number"===typeof e)return e&=255,h.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):A(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function A(t,e,n,i,r){var o,a=1,s=t.length,l=e.length;if(void 0!==i&&(i=String(i).toLowerCase(),"ucs2"===i||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function h(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(r){var u=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var c=!0,d=0;dr&&(i=r)):i=r;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var a=0;a239?4:h>223?3:h>191?2:1;if(r+c<=n)switch(c){case 1:h<128&&(u=h);break;case 2:o=t[r+1],128===(192&o)&&(l=(31&h)<<6|63&o,l>127&&(u=l));break;case 3:o=t[r+1],a=t[r+2],128===(192&o)&&128===(192&a)&&(l=(15&h)<<12|(63&o)<<6|63&a,l>2047&&(l<55296||l>57343)&&(u=l));break;case 4:o=t[r+1],a=t[r+2],s=t[r+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&h)<<18|(63&o)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(u=l))}null===u?(u=65533,c=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=c}return R(i)}e.Buffer=h,e.SlowBuffer=_,e.INSPECT_MAX_BYTES=50,h.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),e.kMaxLength=s(),h.poolSize=8192,h._augment=function(t){return t.__proto__=h.prototype,t},h.from=function(t,e,n){return u(null,t,e,n)},h.TYPED_ARRAY_SUPPORT&&(h.prototype.__proto__=Uint8Array.prototype,h.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&h[Symbol.species]===h&&Object.defineProperty(h,Symbol.species,{value:null,configurable:!0})),h.alloc=function(t,e,n){return d(null,t,e,n)},h.allocUnsafe=function(t){return g(null,t)},h.allocUnsafeSlow=function(t){return g(null,t)},h.isBuffer=function(t){return!(null==t||!t._isBuffer)},h.compare=function(t,e){if(!h.isBuffer(t)||!h.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,o=Math.min(n,i);r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},h.prototype.compare=function(t,e,n,i,r){if(!h.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,r>>>=0,this===t)return 0;for(var o=r-i,a=n-e,s=Math.min(o,a),l=this.slice(i,r),u=t.slice(e,n),c=0;cr)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return C(this,t,e,n);case"utf8":case"utf-8":return T(this,t,e,n);case"ascii":return I(this,t,e,n);case"latin1":case"binary":return M(this,t,e,n);case"base64":return E(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function R(t){var e=t.length;if(e<=k)return String.fromCharCode.apply(String,t);var n="",i=0;while(ii)&&(n=i);for(var r="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function B(t,e,n,i,r,o){if(!h.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function G(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-n,2);r>>8*(i?r:1-r)}function V(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-n,4);r>>8*(i?r:3-r)&255}function q(t,e,n,i,r,o){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(t,e,n,i,o){return o||q(t,e,n,4,34028234663852886e22,-34028234663852886e22),r.write(t,e,n,i,23,4),n+4}function U(t,e,n,i,o){return o||q(t,e,n,8,17976931348623157e292,-17976931348623157e292),r.write(t,e,n,i,52,8),n+8}h.prototype.slice=function(t,e){var n,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),e0&&(r*=256))i+=this[t+--e]*r;return i},h.prototype.readUInt8=function(t,e){return e||N(t,1,this.length),this[t]},h.prototype.readUInt16LE=function(t,e){return e||N(t,2,this.length),this[t]|this[t+1]<<8},h.prototype.readUInt16BE=function(t,e){return e||N(t,2,this.length),this[t]<<8|this[t+1]},h.prototype.readUInt32LE=function(t,e){return e||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},h.prototype.readUInt32BE=function(t,e){return e||N(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},h.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||N(t,e,this.length);var i=this[t],r=1,o=0;while(++o=r&&(i-=Math.pow(2,8*e)),i},h.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||N(t,e,this.length);var i=e,r=1,o=this[t+--i];while(i>0&&(r*=256))o+=this[t+--i]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*e)),o},h.prototype.readInt8=function(t,e){return e||N(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},h.prototype.readInt16LE=function(t,e){e||N(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},h.prototype.readInt16BE=function(t,e){e||N(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},h.prototype.readInt32LE=function(t,e){return e||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},h.prototype.readInt32BE=function(t,e){return e||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},h.prototype.readFloatLE=function(t,e){return e||N(t,4,this.length),r.read(this,t,!0,23,4)},h.prototype.readFloatBE=function(t,e){return e||N(t,4,this.length),r.read(this,t,!1,23,4)},h.prototype.readDoubleLE=function(t,e){return e||N(t,8,this.length),r.read(this,t,!0,52,8)},h.prototype.readDoubleBE=function(t,e){return e||N(t,8,this.length),r.read(this,t,!1,52,8)},h.prototype.writeUIntLE=function(t,e,n,i){if(t=+t,e|=0,n|=0,!i){var r=Math.pow(2,8*n)-1;B(this,t,e,n,r,0)}var o=1,a=0;this[e]=255&t;while(++a=0&&(a*=256))this[e+o]=t/a&255;return e+n},h.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,255,0),h.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},h.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):G(this,t,e,!0),e+2},h.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):G(this,t,e,!1),e+2},h.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):V(this,t,e,!0),e+4},h.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):V(this,t,e,!1),e+4},h.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);B(this,t,e,n,r-1,-r)}var o=0,a=1,s=0;this[e]=255&t;while(++o>0)-s&255;return e+n},h.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);B(this,t,e,n,r-1,-r)}var o=n-1,a=1,s=0;this[e+o]=255&t;while(--o>=0&&(a*=256))t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},h.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,127,-128),h.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},h.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):G(this,t,e,!0),e+2},h.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):G(this,t,e,!1),e+2},h.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):V(this,t,e,!0),e+4},h.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):V(this,t,e,!1),e+4},h.prototype.writeFloatLE=function(t,e,n){return W(this,t,e,!0,n)},h.prototype.writeFloatBE=function(t,e,n){return W(this,t,e,!1,n)},h.prototype.writeDoubleLE=function(t,e,n){return U(this,t,e,!0,n)},h.prototype.writeDoubleBE=function(t,e,n){return U(this,t,e,!1,n)},h.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e=0;--r)t[r+e]=this[r+n];else if(o<1e3||!h.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(e-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function J(t){for(var e=[],n=0;n>8,r=n%256,o.push(r),o.push(i)}return o}function $(t){return i.toByteArray(Z(t))}function tt(t,e,n,i){for(var r=0;r=e.length||r>=t.length)break;e[r+n]=t[r]}return r}function et(t){return t!==t}}).call(this,n("c8ba"))},bc13:function(t,e,n){var i=n("e53d"),r=i.navigator;t.exports=r&&r.userAgent||""},c4e0:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAZNSURBVGiBzVpdbNNWFP7SGMeU0NjYbn4IIoyW9AcQWdcH0iwVbZc2pQQBoqJoE2NPVFtY2csmFE2R+sDDHtCE9rInNGnaxPOepqE98NBJTCpTG7WiQULQaUJqtpSENn+O91A7dR27SSWS9JMs3Zyce/2d63uO7z3HwCYoAFMAZgCkpOuRJCNQf2jxmdHjYwMwC0DUuR5LOvWCTbqnHp9ZJR8CKvIsy+ZYls2h3Ih6PIkd85mShTRNrwUCgSvySD6f7ypN02uKTjfqYMANJR+fz3dV/iMQCFxR8ZkCNta5CEBUkpchDSB3eFR7/pt8lORlSBxLfAzYcA4zy7L5RCJBao1oNpuFdDrdBCDZ39//ZWtraw4AEonEnhcvXuwDAKvVuu5wOLIAkEqljPF4fP92coZhci6Xaw0AcrmcIRaLWQAgHo9PAzBzHCesrKxoLlmWZXOJRGIPgDQkA0RpjWnCaDTqOVPNLqvVWtTjo/CHFKDw9mAwGFQru93uko/U+xobG/tUzUe1hGYAlROPjY2Nysrt7e1XTSZTaUCCIIo0Tefsdvu63W5fZ1k2S5KkQJKkoJabTCaBJEnBYrFoyltaWvKynOf5jCw3mUyCfD+GYYrDw8MlPwgGg0EtJ6YAzCst53k+T1GUekaeSLq1Rhkfp9NZdDgcGRWfeSWfNgAL0H+c86jvi8xZgc8CAJe6EwXgK2yQzUOxbACY68FaiYmJiX6UE1+UOG6/Etra2kp+QZKkUFuq2ohGoxTDMP8BEG0229876nz8+PEwJAMoimqIAQAwOTn5TiAQuBkOh516Ok1aws7OzpTctlgs+VqQqwZWq/Vfq9W6fOTIkYSeTsXNWVNTk/h2aVUHURQNhw4dml9eXj44MzOzAKBLS0/zCagGeuvkqsHk5GTv8vLyQQCIx+OdoihqOq6mAc+ePdsnt1dXV/fUhuL2MBqNBpVI/RuAjgGvX78ukRYEQbNjrdHf3x/jOG4dAHieXzUYDOtaepoGkCRZ2kgZDA3hj/Hx8fTQ0FDfqVOnImfPnn1fT0/TALfbvSuikCAIseHh4d/v378/t6OOly9f/hjSe8But2s+unrA5XI9BSB2dHT8qadTMQo1ClNTU+8+f/68HQAWFxd7dhSFXr58uVduNyoK5fN59X2rj0IrKysmuV0oFBrixU6n86nZbC4AAM/zb/SikCa6urpuQvIB6YDREFy8ePEMTdPRUCj03o46Xrhw4To2DzeZmrCrEg8ePNj2HKK5hAiCELXa9UZ7e/tf4+Pj/3g8nt/0dHZtFLp9+/bJpaWlkwAwOzs7KIqiZsqnYhRKpVKNSOxidXV1r0pk1NKrGIVyuVxDntLRo0eXmpubiwDAMEwGQPW+6Ha7P0eDj5QA4PV6L7W2tn4XCAQGdtQxFAp9ApQyw9masHtL0FweJpOptBtV7kzrje7u7l8pihI9Hs9Pejq7NgrdunWrOxaLfZDJZDA3N1eWNZehacCrV69KTpxOpxsShQqFwn5Fu6o+FIAIgDkokkmNSmydO3euQyMrviBxLNuZVkotzmEj3VcvuKCaSJQb4pKVKajIcxyXpSiqqOo0i/old7fwOXz4cN5ms62jfFIpQJFeZxgmpawRHDt27BpJkurlJDY3Nwu9vb1fA8Dp06cnWlpastjYuRZ9Pt+3ANDX1xdSyr1e7/cA4PP5hjiOW5PlPT09PwLA4ODgGZ7nU0qSDMMUz58/f13mEwwGgxaL5Y1CZwqoUOAYGBj4CBqP0eFwvAEA6binlGcBwO12P1SREQDA5XL9rB5LFEXCYrF8o5aPjo6WFTj6+vpCCp3HQBUlJqncs2Vwj8fzAwB4vd6ItGMVAYgnTpz4RZrpL1Tyh9JMf6gsmsjnXa/Xe0l6/4gAxAMHDlRVYqqqyEfTdCGZTBoBJMPhcJAgiNTdu3dj8v/T09OdgiBYAWSi0egfsjwSibgJgrATBJGJRCIleTQadQFwZbNZ4c6dO6XKZzgcdt67d29u45a0kEwmKxX5koCirDkyMjKhVvb7/dewOfN1LbP6/f6yMqvEcQsf3UK33+9veKFbacTIyMiEis9nwEaG+olCKHIcl6dpOo+t676enxps+U6Cpuk8x3Hb8rGpjdBQ3k0fezzR4kNgd31uI/N5tB2f/wHSDyE1L9ouDQAAAABJRU5ErkJggg=="},c621:function(t,e,n){"use strict";n("962e")},c66a:function(t,e,n){e=t.exports=n("2350")(!0),e.push([t.i,".page[data-v-051db124]{width:100%;height:100%;position:relative}.page .map[data-v-051db124]{z-index:1}","",{version:3,sources:["/data/jenkins/workspace/badp-bcxin-web-5.x-vue/src/views/ElectronicFence.vue"],names:[],mappings:"AACA,uBACE,WACA,YACA,iBAAA,CACA,4BACE,SAAA,CAAA",file:"ElectronicFence.vue?vue&type=style&index=0&id=051db124&prod&scoped=true&lang=scss",sourcesContent:["\n.page {\n width: 100%;\n height: 100%;\n position: relative;\n .map {\n z-index: 1;\n }\n}\n"],sourceRoot:""}])},c943:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAQjSURBVGiBzZk9aFRZFMd/K1OkGGGKFClSTDGwW1hYWKQIOEXAFBYWFlMsbApBC4uAC2thMeDCCgpaCCIsuEsKBYsNRFBJIIhFBAsDBsLiQooIKVJYjKAwC2Nx3vOde9+97933MZn84ZKXOef+77kf5+O+B8cHbeABsAuMgAPgKdCdnEnhuAgMEMNd7Y/JmZaPOWCI3/i4XZ+UgXl4R2LkLrAQ/d4BninZF2BmEgZmoYNp4KwlbwBvlc5Vm+DEmA3Mwyn1/BL4aMn/B/726AOTn0AIGkWEU8BZkpnuAK+Ar/Xb9Z0/xjnkCOldaAC/ePRT6CGx1/b+AyTMjQv6jO+SxP0OsEagE18lP4ylHKgmVA6jpy2CfeB21PSODHE4UU24n2P8razOK0pxC2gqWTP6LZav1Gw4yAJ+UWMcUrCU2FOdTzvkZ5R8rw6LFVrAB8W/gyxaGzhPTgSKobeqik4Z/KN4B4jjtkjqonshJEV24LCyyQmuYy5MzzHedgiR9oHXHI0PzGMGDr3SsxQ8sq4odDdqdl74uQbjZyzeLdJnfSOS3Q8lDckDcdtEHKwMGsC64jokXcDF8P3uhS8T+9p7YAkpP0JxU/UfAosevXlkcpuYRzoXUxHpr4iT7agBB7gz5gHwGxI9srBo9etn6D5SepXKmAuYKzYP3AE+kZ7IAPGbtoOnTZKgRsALsmO8zszXqkwAZBtjskfRby1gGXF4eyJDJFrFIdm+lOwD0zljLin9yoGjaxnXUbJGNNg26YmMEId9avU/EzBmzLuELFYb984GIw5rI2DVo7No6bnacoEx54DnpEN8n4KODXIctCGujK11V0g7/JMC411y9NftLfnHMIVVRbAWoD+LZNgB4rShq2Zn6SGSkXUQGCG7Uwh2xu4WJQiEPoZbmD53paoNf6nOm9XsdGJa8btes4AZYoNLjRgdzBVYyFYvjDnM1XdhQelsFH2t8h/wUP1/u6iFOfisnn0XeO28nz06mZjBvAJeKEPiwRTmS16bu4FZ3t8oO9A9RfKewKufB3NIWNxDkpzmHiIFYBeZjDbe5yNBaGHWQ0sleXqKI3bKacx7ch1J0Ym+IvtAuV34U3EMSMqMNv7yZIhUy5Vh78KVgD4zwGOSwvAUcnye4H4z3UNqqc2o/Y6ZFypjGfNe0AcuewZpkr4wTRzT+GuWNWTFmyQVpZZnvm07CrQwv6642iFytgdIKXIDqYvqToCloB1whHwO6iNn1rUrx+obl310epa8a8m3KVH+jhMXUfWIR+ex0ql8r/Wh7CcmXdvve3T+Vc8nS46Ti7IT0J+cfvLo/KieSxVd44TtA5cs+aIlz7qCTgx2FFpHCq81TONfTMrAPDTx1ytx2+MYfl3XaCLXTFfcX+UIjP+hJp5ZJPZ3kFvbm+jv2PENDmMG+nDHTSUAAAAASUVORK5CYII="},cd78:function(t,e,n){var i=n("e4ae"),r=n("f772"),o=n("656e");t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},d87a:function(t,e,n){var i=n("c66a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("5a716e10",i,!0,{sourceMap:!0,shadowMode:!1})},e3db:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},f201:function(t,e,n){var i=n("e4ae"),r=n("79aa"),o=n("5168")("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||void 0==(n=i(a)[o])?e:r(n)}},f426:function(t,e,n){e=t.exports=n("2350")(!0),e.push([t.i,':host,:root{--ol-background-color:#fff;--ol-accent-background-color:#f5f5f5;--ol-subtle-background-color:hsla(0,0%,50.2%,0.25);--ol-partial-background-color:hsla(0,0%,100%,0.75);--ol-foreground-color:#333;--ol-subtle-foreground-color:#666;--ol-brand-color:#0af}.ol-box{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;-webkit-transition:all .25s;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:-webkit-box;display:-ms-flexbox;display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{bottom:-5px;font-size:10px;z-index:11}.ol-scale-step-text,.ol-scale-text{position:absolute;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{font-size:12px;text-align:center;bottom:25px}.ol-scale-singlebar{position:relative;height:10px;z-index:9;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;-webkit-transition:opacity .25s linear,visibility 0s linear;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;-webkit-transition:opacity .25s linear,visibility 0s linear .25s;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-flow:row-reverse;flex-flow:row-reverse;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{-ms-flex-negative:0;flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}',"",{version:3,sources:["/data/jenkins/workspace/badp-bcxin-web-5.x-vue/node_modules/v-ol-map/lib/v-ol-map.css"],names:[],mappings:"AAAA,YAAY,2BAA6B,qCAAsC,mDAAuD,mDAAwD,2BAA+B,kCAAsC,qBAAyB,CAAC,QAAQ,8BAAA,sBAAsB,kBAAkB,8CAA8C,mDAAmD,CAAC,mBAAmB,QAAQ,UAAU,iBAAiB,CAAC,eAAe,8CAA8C,kBAAkB,WAAW,SAAS,YAAY,iBAAiB,CAAC,qBAAqB,mDAAmD,gBAAgB,iCAAiC,eAAe,kBAAkB,WAAW,2BAA2B,4BAAA,mBAAmB,CAAC,cAAc,kBAAkB,WAAW,QAAQ,CAAC,oBAAoB,oBAAA,oBAAA,YAAY,CAAC,sBAAsB,UAAU,YAAY,4CAA4C,YAAY,UAAU,CAAC,oBAAsC,YAAY,eAAe,UAAqO,CAAC,mCAAnR,kBAAwD,iCAAiC,yLAAke,CAAxS,eAAiC,eAAe,kBAAkB,WAAsO,CAAC,oBAAoB,kBAAkB,YAAY,UAAU,8BAAA,sBAAsB,2CAA2C,CAAC,yBAAyB,kDAAkD,CAAC,wBAAwB,2CAA2C,CAAC,gBAAgB,YAAY,CAAC,8BAA8B,2BAA2B,yBAAyB,sBAAsB,qBAAA,iBAAiB,uCAAuC,CAAC,oBAAoB,SAAS,CAAC,eAAe,8BAA8B,yBAAyB,sBAAsB,qBAAA,gBAAgB,CAAC,aAAa,wBAA6C,eAAe,CAAC,SAAS,YAAY,oBAAqC,WAAW,CAAC,YAAY,kBAAkB,mDAAmD,iBAAiB,CAAC,SAAS,SAAS,SAAS,CAAC,WAAW,SAAS,WAAW,4DAAA,mDAAmD,CAAC,qBAAqB,UAAU,kBAAkB,iEAAA,wDAAwD,CAAC,gBAAgB,YAAY,SAAS,CAAC,gBAAgB,WAAW,QAAQ,CAAC,mBAAmB,cAAc,WAAW,UAAU,wCAAwC,gBAAgB,qBAAqB,kBAAkB,kBAAkB,eAAe,cAAc,iBAAiB,4CAA4C,YAAY,iBAAiB,CAAC,qCAAqC,YAAY,SAAS,CAAC,uBAAuB,iBAAiB,CAAC,YAAY,cAAc,gBAAgB,qBAAqB,CAAC,6BAA6B,eAAe,CAAC,0BAA0B,SAAS,CAAC,kDAAkD,qBAAqB,oDAAoD,gCAAgC,CAAC,qBAAqB,yBAAyB,CAAC,sBAAsB,yBAAyB,CAAC,gBAAgB,iBAAiB,YAAY,WAAW,6BAA6B,oBAAA,oBAAA,aAAa,8BAAA,8BAAA,0BAAA,sBAAsB,yBAAA,sBAAA,kBAAkB,CAAC,kBAAkB,wCAAwC,oBAAoB,CAAC,mBAAmB,SAAS,iBAAiB,iCAAiC,+CAA+C,cAAc,CAAC,mBAAmB,eAAe,eAAe,CAAC,0CAA0C,WAAW,CAAC,oBAAoB,eAAe,kBAAkB,qBAAqB,CAAC,uBAAuB,oBAAA,aAAa,CAAC,gCAAgC,YAAY,CAAC,mCAAmC,6CAA6C,CAAC,iCAAiC,SAAS,QAAQ,qBAAqB,CAAC,qCAAqC,iBAAiB,gBAAgB,CAAC,wCAAwC,YAAY,CAAC,eAAe,UAAU,UAAU,YAAY,CAAC,sBAAsB,kBAAkB,WAAW,CAAC,yBAAyB,SAAS,CAAC,gBAAgB,UAAU,WAAW,CAAC,iCAAiC,SAAS,OAAO,uBAAuB,CAAC,2DAA2D,aAAa,CAAC,oCAAoC,mDAAmD,aAAa,WAAW,CAAC,0CAA0C,SAAS,OAAO,iBAAiB,CAAC,yFAAyF,YAAY,CAAC,mCAAmC,4CAA4C,CAAC,oBAAoB,qDAAqD,CAAC,0CAA0C,WAAW,CAAA",file:"v-ol-map.css",sourcesContent:[':root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}\n'],sourceRoot:""}])}}]);