123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- webpackJsonp([3],{"++K3":function(e,t){var n,r,i,o,a,s,l,c,u,h,d,f,p,A,g,v=!1;function m(){if(!v){v=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),m=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),h=/Android/i.exec(e),A=/FBAN\/\w+;/i.exec(e),g=/Mobile/i.exec(e),d=!!/Win64/.exec(e),t){(n=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var y=/(?:Trident\/(\d+.\d+))/.exec(e);s=y?parseFloat(y[1])+4:n,r=t[2]?parseFloat(t[2]):NaN,i=t[3]?parseFloat(t[3]):NaN,(o=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),a=t&&t[1]?parseFloat(t[1]):NaN):a=NaN}else n=r=i=a=o=NaN;if(m){if(m[1]){var b=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);l=!b||parseFloat(b[1].replace("_","."))}else l=!1;c=!!m[2],u=!!m[3]}else l=c=u=!1}}var y={ie:function(){return m()||n},ieCompatibilityMode:function(){return m()||s>n},ie64:function(){return y.ie()&&d},firefox:function(){return m()||r},opera:function(){return m()||i},webkit:function(){return m()||o},safari:function(){return y.webkit()},chrome:function(){return m()||a},windows:function(){return m()||c},osx:function(){return m()||l},linux:function(){return m()||u},iphone:function(){return m()||f},mobile:function(){return m()||f||p||h||g},nativeApp:function(){return m()||A},android:function(){return m()||h},ipad:function(){return m()||p}};e.exports=y},"+E39":function(e,t,n){e.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+ZMJ":function(e,t,n){var r=n("lOnJ");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"+tPU":function(e,t,n){n("xGkn");for(var r=n("7KvD"),i=n("hJx8"),o=n("/bQp"),a=n("dSzd")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],h=u&&u.prototype;h&&!h[a]&&i(h,a,c),o[c]=o.Array}},"//Fk":function(e,t,n){e.exports={default:n("U5ju"),__esModule:!0}},"/00o":function(e,t,n){var r=n("To6e"),i=r.System,o=r.VbrMode,a=(r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n),s=(r.new_byte,r.new_double,r.new_float),l=r.new_float_n,c=r.new_int,u=(r.new_int_n,r.assert);function h(){var e=n("zEpL"),t=n("1xnL"),r=h.FFTOFFSET,d=h.MPG_MD_MS_LR,f=null;this.psy=null;var p=null,A=null,g=null;this.setModules=function(e,t,n,r){f=e,this.psy=t,p=t,A=r,g=n};var v=new e;this.lame_encode_mp3_frame=function(e,n,m,y,b,_){var w,x=a([2,2]);x[0][0]=new t,x[0][1]=new t,x[1][0]=new t,x[1][1]=new t;var C,S=a([2,2]);S[0][0]=new t,S[0][1]=new t,S[1][0]=new t,S[1][1]=new t;var B,k,T,E=[null,null],M=e.internal_flags,D=l([2,4]),O=[.5,.5],I=[[0,0],[0,0]],L=[[0,0],[0,0]];if(E[0]=n,E[1]=m,0==M.lame_encode_frame_init&&function(e,t){var n,r,i=e.internal_flags;if(0==i.lame_encode_frame_init){var o,a,l=s(2014),c=s(2014);for(i.lame_encode_frame_init=1,o=0,a=0;o<286+576*(1+i.mode_gr);++o)o<576*i.mode_gr?(l[o]=0,2==i.channels_out&&(c[o]=0)):(l[o]=t[0][a],2==i.channels_out&&(c[o]=t[1][a]),++a);for(r=0;r<i.mode_gr;r++)for(n=0;n<i.channels_out;n++)i.l3_side.tt[r][n].block_type=h.SHORT_TYPE;v.mdct_sub48(i,l,c),u(576>=h.FFTOFFSET),u(i.mf_size>=h.BLKSIZE+e.framesize-h.FFTOFFSET),u(i.mf_size>=512+e.framesize-32)}}(e,E),M.padding=0,(M.slot_lag-=M.frac_SpF)<0&&(M.slot_lag+=e.out_samplerate,M.padding=1),0!=M.psymodel){var P=[null,null],F=0,R=c(2);for(T=0;T<M.mode_gr;T++){for(k=0;k<M.channels_out;k++)P[k]=E[k],F=576+576*T-h.FFTOFFSET;if(0!=(e.VBR==o.vbr_mtrh||e.VBR==o.vbr_mt?p.L3psycho_anal_vbr(e,P,F,T,x,S,I[T],L[T],D[T],R):p.L3psycho_anal_ns(e,P,F,T,x,S,I[T],L[T],D[T],R)))return-4;for(e.mode==MPEGMode.JOINT_STEREO&&(O[T]=D[T][2]+D[T][3],O[T]>0&&(O[T]=D[T][3]/O[T])),k=0;k<M.channels_out;k++){var N=M.l3_side.tt[T][k];N.block_type=R[k],N.mixed_block_flag=0}}}else for(T=0;T<M.mode_gr;T++)for(k=0;k<M.channels_out;k++)M.l3_side.tt[T][k].block_type=h.NORM_TYPE,M.l3_side.tt[T][k].mixed_block_flag=0,L[T][k]=I[T][k]=700;if(function(e){var t,n;if(0!=e.ATH.useAdjust)if(n=e.loudness_sq[0][0],t=e.loudness_sq[1][0],2==e.channels_out?(n+=e.loudness_sq[0][1],t+=e.loudness_sq[1][1]):(n+=n,t+=t),2==e.mode_gr&&(n=Math.max(n,t)),n*=.5,(n*=e.ATH.aaSensitivityP)>.03125)e.ATH.adjust>=1?e.ATH.adjust=1:e.ATH.adjust<e.ATH.adjustLimit&&(e.ATH.adjust=e.ATH.adjustLimit),e.ATH.adjustLimit=1;else{var r=31.98*n+625e-6;e.ATH.adjust>=r?(e.ATH.adjust*=.075*r+.925,e.ATH.adjust<r&&(e.ATH.adjust=r)):e.ATH.adjustLimit>=r?e.ATH.adjust=r:e.ATH.adjust<e.ATH.adjustLimit&&(e.ATH.adjust=e.ATH.adjustLimit),e.ATH.adjustLimit=r}else e.ATH.adjust=1}(M),v.mdct_sub48(M,E[0],E[1]),M.mode_ext=h.MPG_MD_LR_LR,e.force_ms)M.mode_ext=h.MPG_MD_MS_LR;else if(e.mode==MPEGMode.JOINT_STEREO){var H=0,j=0;for(T=0;T<M.mode_gr;T++)for(k=0;k<M.channels_out;k++)H+=L[T][k],j+=I[T][k];if(H<=1*j){var U=M.l3_side.tt[0],Q=M.l3_side.tt[M.mode_gr-1];U[0].block_type==U[1].block_type&&Q[0].block_type==Q[1].block_type&&(M.mode_ext=h.MPG_MD_MS_LR)}}if(M.mode_ext==d?(C=S,B=L):(C=x,B=I),e.analysis&&null!=M.pinfo)for(T=0;T<M.mode_gr;T++)for(k=0;k<M.channels_out;k++)M.pinfo.ms_ratio[T]=M.ms_ratio[T],M.pinfo.ms_ener_ratio[T]=O[T],M.pinfo.blocktype[T][k]=M.l3_side.tt[T][k].block_type,M.pinfo.pe[T][k]=B[T][k],i.arraycopy(M.l3_side.tt[T][k].xr,0,M.pinfo.xr[T][k],0,576),M.mode_ext==d&&(M.pinfo.ers[T][k]=M.pinfo.ers[T][k+2],i.arraycopy(M.pinfo.energy[T][k+2],0,M.pinfo.energy[T][k],0,M.pinfo.energy[T][k].length));if(e.VBR==o.vbr_off||e.VBR==o.vbr_abr){var z,Y;for(z=0;z<18;z++)M.nsPsy.pefirbuf[z]=M.nsPsy.pefirbuf[z+1];for(Y=0,T=0;T<M.mode_gr;T++)for(k=0;k<M.channels_out;k++)Y+=B[T][k];for(M.nsPsy.pefirbuf[18]=Y,Y=M.nsPsy.pefirbuf[9],z=0;z<9;z++)Y+=(M.nsPsy.pefirbuf[z]+M.nsPsy.pefirbuf[18-z])*h.fircoef[z];for(Y=3350*M.mode_gr*M.channels_out/Y,T=0;T<M.mode_gr;T++)for(k=0;k<M.channels_out;k++)B[T][k]*=Y}if(M.iteration_loop.iteration_loop(e,B,O,C),f.format_bitstream(e),w=f.copy_buffer(M,y,b,_,1),e.bWriteVbrTag&&A.addVbrFrame(e),e.analysis&&null!=M.pinfo){for(k=0;k<M.channels_out;k++){var V;for(V=0;V<r;V++)M.pinfo.pcmdata[k][V]=M.pinfo.pcmdata[k][V+e.framesize];for(V=r;V<1600;V++)M.pinfo.pcmdata[k][V]=E[k][V-r]}g.set_frame_pinfo(e,C)}return function(e){var t,n;for(u(0<=e.bitrate_index&&e.bitrate_index<16),u(0<=e.mode_ext&&e.mode_ext<4),e.bitrate_stereoMode_Hist[e.bitrate_index][4]++,e.bitrate_stereoMode_Hist[15][4]++,2==e.channels_out&&(e.bitrate_stereoMode_Hist[e.bitrate_index][e.mode_ext]++,e.bitrate_stereoMode_Hist[15][e.mode_ext]++),t=0;t<e.mode_gr;++t)for(n=0;n<e.channels_out;++n){var r=0|e.l3_side.tt[t][n].block_type;0!=e.l3_side.tt[t][n].mixed_block_flag&&(r=4),e.bitrate_blockType_Hist[e.bitrate_index][r]++,e.bitrate_blockType_Hist[e.bitrate_index][5]++,e.bitrate_blockType_Hist[15][r]++,e.bitrate_blockType_Hist[15][5]++}}(M),w}}h.ENCDELAY=576,h.POSTDELAY=1152,h.MDCTDELAY=48,h.FFTOFFSET=224+h.MDCTDELAY,h.DECDELAY=528,h.SBLIMIT=32,h.CBANDS=64,h.SBPSY_l=21,h.SBPSY_s=12,h.SBMAX_l=22,h.SBMAX_s=13,h.PSFB21=6,h.PSFB12=6,h.BLKSIZE=1024,h.HBLKSIZE=h.BLKSIZE/2+1,h.BLKSIZE_s=256,h.HBLKSIZE_s=h.BLKSIZE_s/2+1,h.NORM_TYPE=0,h.START_TYPE=1,h.SHORT_TYPE=2,h.STOP_TYPE=3,h.MPG_MD_LR_LR=0,h.MPG_MD_LR_I=1,h.MPG_MD_MS_LR=2,h.MPG_MD_MS_I=3,h.fircoef=[-.1039435,-.1892065,5*-.0432472,-.155915,3.898045e-17,.0467745*5,.50455,.756825,.187098*5],e.exports=h},"/bQp":function(e,t){e.exports={}},"/dO2":function(e,t,n){"use strict";
- /**!
- * Sortable 1.10.2
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */
- function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){i(e,t,n[t])})}return e}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"MultiDrag",function(){return yt}),n.d(t,"Sortable",function(){return je}),n.d(t,"Swap",function(){return lt});function c(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),h=c(/Edge/i),d=c(/firefox/i),f=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),p=c(/iP(ad|od|hone)/i),A=c(/chrome/i)&&c(/android/i),g={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!u&&g)}function m(e,t,n){e.removeEventListener(t,n,!u&&g)}function y(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function b(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function _(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&y(e,t):y(e,t))||r&&e===n)return e;if(e===n)break}while(e=b(e))}return null}var w,x=/\s+/g;function C(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(x," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(x," ")}}function S(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function B(e,t){var n="";if("string"==typeof e)n=e;else do{var r=S(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function k(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i<o;i++)n(r[i],i);return r}return[]}function T(){var e=document.scrollingElement;return e||document.documentElement}function E(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var o,a,s,l,c,h,d;if(e!==window&&e!==T()?(a=(o=e.getBoundingClientRect()).top,s=o.left,l=o.bottom,c=o.right,h=o.height,d=o.width):(a=0,s=0,l=window.innerHeight,c=window.innerWidth,h=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!u))do{if(i&&i.getBoundingClientRect&&("none"!==S(i,"transform")||n&&"static"!==S(i,"position"))){var f=i.getBoundingClientRect();a-=f.top+parseInt(S(i,"border-top-width")),s-=f.left+parseInt(S(i,"border-left-width")),l=a+o.height,c=s+o.width;break}}while(i=i.parentNode);if(r&&e!==window){var p=B(i||e),A=p&&p.a,g=p&&p.d;p&&(l=(a/=g)+(h/=g),c=(s/=A)+(d/=A))}return{top:a,left:s,bottom:l,right:c,width:d,height:h}}}function M(e,t,n){for(var r=P(e,!0),i=E(e)[t];r;){var o=E(r)[n];if(!("top"===n||"left"===n?i>=o:i<=o))return r;if(r===T())break;r=P(r,!1)}return!1}function D(e,t,n){for(var r=0,i=0,o=e.children;i<o.length;){if("none"!==o[i].style.display&&o[i]!==je.ghost&&o[i]!==je.dragged&&_(o[i],n.draggable,e,!1)){if(r===t)return o[i];r++}i++}return null}function O(e,t){for(var n=e.lastElementChild;n&&(n===je.ghost||"none"===S(n,"display")||t&&!y(n,t));)n=n.previousElementSibling;return n||null}function I(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===je.clone||t&&!y(e,t)||n++;return n}function L(e){var t=0,n=0,r=T();if(e)do{var i=B(e),o=i.a,a=i.d;t+=e.scrollLeft*o,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function P(e,t){if(!e||!e.getBoundingClientRect)return T();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=S(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return T();if(r||t)return n;r=!0}}}while(n=n.parentNode);return T()}function F(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function R(e,t){return function(){if(!w){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),w=setTimeout(function(){w=void 0},t)}}}function N(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function H(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function j(e,t){S(e,"position","absolute"),S(e,"top",t.top),S(e,"left",t.left),S(e,"width",t.width),S(e,"height",t.height)}function U(e){S(e,"position",""),S(e,"top",""),S(e,"left",""),S(e,"width",""),S(e,"height","")}var Q="Sortable"+(new Date).getTime();function z(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach(function(e){if("none"!==S(e,"display")&&e!==je.ghost){t.push({target:e,rect:E(e)});var n=a({},t[t.length-1].rect);if(e.thisAnimationDuration){var r=B(e,!0);r&&(n.top-=r.f,n.left-=r.e)}e.fromRect=n}})},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var r=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var i=!1,o=0;t.forEach(function(e){var t=0,n=e.target,a=n.fromRect,s=E(n),l=n.prevFromRect,c=n.prevToRect,u=e.rect,h=B(n,!0);h&&(s.top-=h.f,s.left-=h.e),n.toRect=s,n.thisAnimationDuration&&F(l,s)&&!F(a,s)&&(u.top-s.top)/(u.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(t=function(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}(u,l,c,r.options)),F(s,a)||(n.prevFromRect=a,n.prevToRect=s,t||(t=r.options.animation),r.animate(n,u,s,t)),t&&(i=!0,o=Math.max(o,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout(function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null},t),n.thisAnimationDuration=t)}),clearTimeout(e),i?e=setTimeout(function(){"function"==typeof n&&n()},o):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,r){if(r){S(e,"transition",""),S(e,"transform","");var i=B(this.el),o=i&&i.a,a=i&&i.d,s=(t.left-n.left)/(o||1),l=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!l,S(e,"transform","translate3d("+s+"px,"+l+"px,0)"),function(e){e.offsetWidth}(e),S(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),S(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout(function(){S(e,"transition",""),S(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1},r)}}}}var Y=[],V={initializeByDefault:!0},G={mount:function(e){for(var t in V)!V.hasOwnProperty(t)||t in e||(e[t]=V[t]);Y.push(e)},pluginEvent:function(e,t,n){var r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var i=e+"Global";Y.forEach(function(r){t[r.pluginName]&&(t[r.pluginName][i]&&t[r.pluginName][i](a({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](a({sortable:t},n)))})},initializePlugins:function(e,t,n,r){for(var i in Y.forEach(function(r){var i=r.pluginName;if(e.options[i]||r.initializeByDefault){var a=new r(e,t,e.options);a.sortable=e,a.options=e.options,e[i]=a,o(n,a.defaults)}}),e.options)if(e.options.hasOwnProperty(i)){var a=this.modifyOption(e,i,e.options[i]);void 0!==a&&(e.options[i]=a)}},getEventProperties:function(e,t){var n={};return Y.forEach(function(r){"function"==typeof r.eventProperties&&o(n,r.eventProperties.call(t[r.pluginName],e))}),n},modifyOption:function(e,t,n){var r;return Y.forEach(function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))}),r}};function W(e){var t=e.sortable,n=e.rootEl,r=e.name,i=e.targetEl,o=e.cloneEl,s=e.toEl,l=e.fromEl,c=e.oldIndex,d=e.newIndex,f=e.oldDraggableIndex,p=e.newDraggableIndex,A=e.originalEvent,g=e.putSortable,v=e.extraEventProperties;if(t=t||n&&n[Q]){var m,y=t.options,b="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||u||h?(m=document.createEvent("Event")).initEvent(r,!0,!0):m=new CustomEvent(r,{bubbles:!0,cancelable:!0}),m.to=s||n,m.from=l||n,m.item=i||n,m.clone=o,m.oldIndex=c,m.newIndex=d,m.oldDraggableIndex=f,m.newDraggableIndex=p,m.originalEvent=A,m.pullMode=g?g.lastPutMode:void 0;var _=a({},v,G.getEventProperties(r,t));for(var w in _)m[w]=_[w];n&&n.dispatchEvent(m),y[b]&&y[b].call(t,m)}}var X=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=s(n,["evt"]);G.pluginEvent.bind(je)(e,t,a({dragEl:$,parentEl:K,ghostEl:J,rootEl:q,nextEl:ee,lastDownEl:te,cloneEl:ne,cloneHidden:re,dragStarted:ge,putSortable:ce,activeSortable:je.active,originalEvent:r,oldIndex:ie,oldDraggableIndex:ae,newIndex:oe,newDraggableIndex:se,hideGhostForTarget:Fe,unhideGhostForTarget:Re,cloneNowHidden:function(){re=!0},cloneNowShown:function(){re=!1},dispatchSortableEvent:function(e){Z({sortable:t,name:e,originalEvent:r})}},i))};function Z(e){W(a({putSortable:ce,cloneEl:ne,targetEl:$,rootEl:q,oldIndex:ie,oldDraggableIndex:ae,newIndex:oe,newDraggableIndex:se},e))}var $,K,J,q,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,he,de,fe,pe,Ae,ge,ve,me,ye,be,_e=!1,we=!1,xe=[],Ce=!1,Se=!1,Be=[],ke=!1,Te=[],Ee="undefined"!=typeof document,Me=p,De=h||u?"cssFloat":"float",Oe=Ee&&!A&&!p&&"draggable"in document.createElement("div"),Ie=function(){if(Ee){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Le=function(e,t){var n=S(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=D(e,0,t),o=D(e,1,t),a=i&&S(i),s=o&&S(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+E(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+E(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[De]||o&&"none"===n[De]&&l+c>r)?"vertical":"horizontal"},Pe=function(e){function t(e,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,i,o,a),n)(r,i,o,a);var l=(n?r:i).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},i=e.group;i&&"object"==r(i)||(i={name:i}),n.name=i.name,n.checkPull=t(i.pull,!0),n.checkPut=t(i.put),n.revertClone=i.revertClone,e.group=n},Fe=function(){!Ie&&J&&S(J,"display","none")},Re=function(){!Ie&&J&&S(J,"display","")};Ee&&document.addEventListener("click",function(e){if(we)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),we=!1,!1},!0);var Ne=function(e){if($){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,o=e.clientY,xe.some(function(e){if(!O(e)){var t=E(e),n=e[Q].options.emptyInsertThreshold,r=i>=t.left-n&&i<=t.right+n,s=o>=t.top-n&&o<=t.bottom+n;return n&&r&&s?a=e:void 0}}),a);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Q]._onDragOver(n)}}var i,o,a},He=function(e){$&&$.parentNode[Q]._isOutsideThisEl(e.target)};function je(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=o({},t),e[Q]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Le(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==je.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in G.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in Pe(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&Oe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),xe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),o(this,z())}function Ue(e,t,n,r,i,o,a,s){var l,c,d=e[Q],f=d.options.onMove;return!window.CustomEvent||u||h?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=o||E(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),f&&(c=f.call(d,l,a)),c}function Qe(e){e.draggable=!1}function ze(){ke=!1}function Ye(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function Ve(e){return setTimeout(e,0)}function Ge(e){return clearTimeout(e)}je.prototype={constructor:je,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(ve=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,$):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(function(e){Te.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&Te.push(r)}}(n),!$&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled||l.isContentEditable||(s=_(s,r.draggable,n,!1))&&s.animated||te===s)){if(ie=I(s),ae=I(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return Z({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),X("filter",t,{evt:e}),void(i&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some(function(r){if(r=_(l,r.trim(),n,!1))return Z({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),X("filter",t,{evt:e}),!0})))return void(i&&e.cancelable&&e.preventDefault());r.handle&&!_(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!$&&n.parentNode===o){var l=E(n);if(q=o,K=($=n).parentNode,ee=$.nextSibling,te=n,le=a.group,je.dragged=$,ue={target:$,clientX:(t||e).clientX,clientY:(t||e).clientY},pe=ue.clientX-l.left,Ae=ue.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,$.style["will-change"]="all",r=function(){X("delayEnded",i,{evt:e}),je.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!d&&i.nativeDraggable&&($.draggable=!0),i._triggerDragStart(e,t),Z({sortable:i,name:"choose",originalEvent:e}),C($,a.chosenClass,!0))},a.ignore.split(",").forEach(function(e){k($,e.trim(),Qe)}),v(s,"dragover",Ne),v(s,"mousemove",Ne),v(s,"touchmove",Ne),v(s,"mouseup",i._onDrop),v(s,"touchend",i._onDrop),v(s,"touchcancel",i._onDrop),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$.draggable=!0),X("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(h||u))r();else{if(je.eventCanceled)return void this._onDrop();v(s,"mouseup",i._disableDelayedDrag),v(s,"touchend",i._disableDelayedDrag),v(s,"touchcancel",i._disableDelayedDrag),v(s,"mousemove",i._delayedDragTouchMoveHandler),v(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&v(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){$&&Qe($),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;m(e,"mouseup",this._disableDelayedDrag),m(e,"touchend",this._disableDelayedDrag),m(e,"touchcancel",this._disableDelayedDrag),m(e,"mousemove",this._delayedDragTouchMoveHandler),m(e,"touchmove",this._delayedDragTouchMoveHandler),m(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,t?"touchmove":"mousemove",this._onTouchMove):(v($,"dragend",this),v(q,"dragstart",this._onDragStart));try{document.selection?Ve(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(_e=!1,q&&$){X("dragStarted",this,{evt:t}),this.nativeDraggable&&v(document,"dragover",He);var n=this.options;!e&&C($,n.dragClass,!1),C($,n.ghostClass,!0),je.active=this,e&&this._appendGhost(),Z({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(he){this._lastX=he.clientX,this._lastY=he.clientY,Fe();for(var e=document.elementFromPoint(he.clientX,he.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(he.clientX,he.clientY))!==t;)t=e;if($.parentNode[Q]._isOutsideThisEl(e),t)do{if(t[Q]){if(t[Q]._onDragOver({clientX:he.clientX,clientY:he.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Re()}},_onTouchMove:function(e){if(ue){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=J&&B(J,!0),a=J&&o&&o.a,s=J&&o&&o.d,l=Me&&be&&L(be),c=(i.clientX-ue.clientX+r.x)/(a||1)+(l?l[0]-Be[0]:0)/(a||1),u=(i.clientY-ue.clientY+r.y)/(s||1)+(l?l[1]-Be[1]:0)/(s||1);if(!je.active&&!_e){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(J){o?(o.e+=c-(de||0),o.f+=u-(fe||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var h="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");S(J,"webkitTransform",h),S(J,"mozTransform",h),S(J,"msTransform",h),S(J,"transform",h),de=c,fe=u,he=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!J){var e=this.options.fallbackOnBody?document.body:q,t=E($,!0,Me,!0,e),n=this.options;if(Me){for(be=e;"static"===S(be,"position")&&"none"===S(be,"transform")&&be!==document;)be=be.parentNode;be!==document.body&&be!==document.documentElement?(be===document&&(be=T()),t.top+=be.scrollTop,t.left+=be.scrollLeft):be=T(),Be=L(be)}C(J=$.cloneNode(!0),n.ghostClass,!1),C(J,n.fallbackClass,!0),C(J,n.dragClass,!0),S(J,"transition",""),S(J,"transform",""),S(J,"box-sizing","border-box"),S(J,"margin",0),S(J,"top",t.top),S(J,"left",t.left),S(J,"width",t.width),S(J,"height",t.height),S(J,"opacity","0.8"),S(J,"position",Me?"absolute":"fixed"),S(J,"zIndex","100000"),S(J,"pointerEvents","none"),je.ghost=J,e.appendChild(J),S(J,"transform-origin",pe/parseInt(J.style.width)*100+"% "+Ae/parseInt(J.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;X("dragStart",this,{evt:e}),je.eventCanceled?this._onDrop():(X("setupClone",this),je.eventCanceled||((ne=H($)).draggable=!1,ne.style["will-change"]="",this._hideClone(),C(ne,this.options.chosenClass,!1),je.clone=ne),n.cloneId=Ve(function(){X("clone",n),je.eventCanceled||(n.options.removeCloneOnHide||q.insertBefore(ne,$),n._hideClone(),Z({sortable:n,name:"clone"}))}),!t&&C($,i.dragClass,!0),t?(we=!0,n._loopId=setInterval(n._emulateDragOver,50)):(m(document,"mouseup",n._onDrop),m(document,"touchend",n._onDrop),m(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,$)),v(document,"drop",n),S($,"transform","translateZ(0)")),_e=!0,n._dragStartId=Ve(n._dragStarted.bind(n,t,e)),v(document,"selectstart",n),ge=!0,f&&S(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,i,o=this.el,s=e.target,l=this.options,c=l.group,u=je.active,h=le===c,d=l.sort,f=ce||u,p=this,A=!1;if(!ke){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=_(s,l.draggable,o,!0),F("dragOver"),je.eventCanceled)return A;if($.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return H(!1);if(we=!1,u&&!l.disabled&&(h?d||(r=!q.contains($)):ce===this||(this.lastPutMode=le.checkPull(this,u,$,e))&&c.checkPut(this,u,$,e))){if(i="vertical"===this._getDirection(e,s),t=E($),F("dragOverValid"),je.eventCanceled)return A;if(r)return K=q,R(),this._hideClone(),F("revert"),je.eventCanceled||(ee?q.insertBefore($,ee):q.appendChild($)),H(!0);var g=O(o,l.draggable);if(!g||function(e,t,n){var r=E(O(n.el,n.options.draggable));return t?e.clientX>r.right+10||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+10}(e,i,this)&&!g.animated){if(g===$)return H(!1);if(g&&o===e.target&&(s=g),s&&(n=E(s)),!1!==Ue(q,o,$,t,s,n,e,!!s))return R(),o.appendChild($),K=o,j(),H(!0)}else if(s.parentNode===o){n=E(s);var v,m,y,b=$.parentNode!==o,w=!function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,o=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||i===s||r+o/2===a+l/2}($.animated&&$.toRect||t,s.animated&&s.toRect||n,i),x=i?"top":"left",B=M(s,"top","top")||M($,"top","top"),k=B?B.scrollTop:void 0;if(ve!==s&&(m=n[x],Ce=!1,Se=!w&&l.invertSwap||b),0!==(v=function(e,t,n,r,i,o,a,s){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,h=r?n.bottom:n.right,d=!1;if(!a)if(s&&ye<c*i){if(!Ce&&(1===me?l>u+c*o/2:l<h-c*o/2)&&(Ce=!0),Ce)d=!0;else if(1===me?l<u+ye:l>h-ye)return-me}else if(l>u+c*(1-i)/2&&l<h-c*(1-i)/2)return function(e){return I($)<I(e)?1:-1}(t);if((d=d||a)&&(l<u+c*o/2||l>h-c*o/2))return l>u+c/2?1:-1;return 0}(e,s,n,i,w?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Se,ve===s))){var T=I($);do{T-=v,y=K.children[T]}while(y&&("none"===S(y,"display")||y===J))}if(0===v||y===s)return H(!1);ve=s,me=v;var D=s.nextElementSibling,L=!1,P=Ue(q,o,$,t,s,n,e,L=1===v);if(!1!==P)return 1!==P&&-1!==P||(L=1===P),ke=!0,setTimeout(ze,30),R(),L&&!D?o.appendChild($):s.parentNode.insertBefore($,L?D:s),B&&N(B,0,k-B.scrollTop),K=$.parentNode,void 0===m||Se||(ye=Math.abs(m-E(s)[x])),j(),H(!0)}if(o.contains($))return H(!1)}return!1}function F(l,c){X(l,p,a({evt:e,isOwner:h,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:d,fromSortable:f,target:s,completed:H,onMove:function(n,r){return Ue(q,o,$,t,n,E(n),e,r)},changed:j},c))}function R(){F("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function H(t){return F("dragOverCompleted",{insertion:t}),t&&(h?u._hideClone():u._showClone(p),p!==f&&(C($,ce?ce.options.ghostClass:u.options.ghostClass,!1),C($,l.ghostClass,!0)),ce!==p&&p!==je.active?ce=p:p===je.active&&ce&&(ce=null),f===p&&(p._ignoreWhileAnimating=s),p.animateAll(function(){F("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===$&&!$.animated||s===o&&!s.animated)&&(ve=null),l.dragoverBubble||e.rootEl||s===document||($.parentNode[Q]._isOutsideThisEl(e.target),!t&&Ne(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),A=!0}function j(){oe=I($),se=I($,l.draggable),Z({sortable:p,name:"change",toEl:o,newIndex:oe,newDraggableIndex:se,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",Ne),m(document,"mousemove",Ne),m(document,"touchmove",Ne)},_offUpEvents:function(){var e=this.el.ownerDocument;m(e,"mouseup",this._onDrop),m(e,"touchend",this._onDrop),m(e,"pointerup",this._onDrop),m(e,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;oe=I($),se=I($,n.draggable),X("drop",this,{evt:e}),K=$&&$.parentNode,oe=I($),se=I($,n.draggable),je.eventCanceled?this._nulling():(_e=!1,Se=!1,Ce=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ge(this.cloneId),Ge(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&S(document.body,"user-select",""),S($,"transform",""),e&&(ge&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(q===K||ce&&"clone"!==ce.lastPutMode)&&ne&&ne.parentNode&&ne.parentNode.removeChild(ne),$&&(this.nativeDraggable&&m($,"dragend",this),Qe($),$.style["will-change"]="",ge&&!_e&&C($,ce?ce.options.ghostClass:this.options.ghostClass,!1),C($,this.options.chosenClass,!1),Z({sortable:this,name:"unchoose",toEl:K,newIndex:null,newDraggableIndex:null,originalEvent:e}),q!==K?(oe>=0&&(Z({rootEl:K,name:"add",toEl:K,fromEl:q,originalEvent:e}),Z({sortable:this,name:"remove",toEl:K,originalEvent:e}),Z({rootEl:K,name:"sort",toEl:K,fromEl:q,originalEvent:e}),Z({sortable:this,name:"sort",toEl:K,originalEvent:e})),ce&&ce.save()):oe!==ie&&oe>=0&&(Z({sortable:this,name:"update",toEl:K,originalEvent:e}),Z({sortable:this,name:"sort",toEl:K,originalEvent:e})),je.active&&(null!=oe&&-1!==oe||(oe=ie,se=ae),Z({sortable:this,name:"end",toEl:K,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){X("nulling",this),q=$=K=J=ee=ne=te=re=ue=he=ge=oe=se=ie=ae=ve=me=ce=le=je.dragged=je.ghost=je.clone=je.active=null,Te.forEach(function(e){e.checked=!0}),Te.length=de=fe=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":$&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,i=n.length,o=this.options;r<i;r++)_(e=n[r],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||Ye(e));return t},sort:function(e){var t={},n=this.el;this.toArray().forEach(function(e,r){var i=n.children[r];_(i,this.options.draggable,n,!1)&&(t[e]=i)},this),e.forEach(function(e){t[e]&&(n.removeChild(t[e]),n.appendChild(t[e]))})},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return _(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=G.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&Pe(n)},destroy:function(){X("destroy",this);var e=this.el;e[Q]=null,m(e,"mousedown",this._onTapStart),m(e,"touchstart",this._onTapStart),m(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(e,"dragover",this),m(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),xe.splice(xe.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!re){if(X("hideClone",this),je.eventCanceled)return;S(ne,"display","none"),this.options.removeCloneOnHide&&ne.parentNode&&ne.parentNode.removeChild(ne),re=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(re){if(X("showClone",this),je.eventCanceled)return;q.contains($)&&!this.options.group.revertClone?q.insertBefore(ne,$):ee?q.insertBefore(ne,ee):q.appendChild(ne),this.options.group.revertClone&&this.animate($,ne),S(ne,"display",""),re=!1}}else this._hideClone()}},Ee&&v(document,"touchmove",function(e){(je.active||_e)&&e.cancelable&&e.preventDefault()}),je.utils={on:v,off:m,css:S,find:k,is:function(e,t){return!!_(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:R,closest:_,toggleClass:C,clone:H,index:I,nextTick:Ve,cancelNextTick:Ge,detectDirection:Le,getChild:D},je.get=function(e){return e[Q]},je.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(je.utils=a({},je.utils,e.utils)),G.mount(e)})},je.create=function(e,t){return new je(e,t)},je.version="1.10.2";var We,Xe,Ze,$e,Ke,Je,qe=[],et=!1;function tt(){qe.forEach(function(e){clearInterval(e.pid)}),qe=[]}function nt(){clearInterval(Je)}var rt,it=R(function(e,t,n,r){if(t.scroll){var i,o=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=T(),u=!1;Xe!==n&&(Xe=n,tt(),We=t.scroll,i=t.scrollFn,!0===We&&(We=P(n,!0)));var h=0,d=We;do{var f=d,p=E(f),A=p.top,g=p.bottom,v=p.left,m=p.right,y=p.width,b=p.height,_=void 0,w=void 0,x=f.scrollWidth,C=f.scrollHeight,B=S(f),k=f.scrollLeft,M=f.scrollTop;f===c?(_=y<x&&("auto"===B.overflowX||"scroll"===B.overflowX||"visible"===B.overflowX),w=b<C&&("auto"===B.overflowY||"scroll"===B.overflowY||"visible"===B.overflowY)):(_=y<x&&("auto"===B.overflowX||"scroll"===B.overflowX),w=b<C&&("auto"===B.overflowY||"scroll"===B.overflowY));var D=_&&(Math.abs(m-o)<=s&&k+y<x)-(Math.abs(v-o)<=s&&!!k),O=w&&(Math.abs(g-a)<=s&&M+b<C)-(Math.abs(A-a)<=s&&!!M);if(!qe[h])for(var I=0;I<=h;I++)qe[I]||(qe[I]={});qe[h].vx==D&&qe[h].vy==O&&qe[h].el===f||(qe[h].el=f,qe[h].vx=D,qe[h].vy=O,clearInterval(qe[h].pid),0==D&&0==O||(u=!0,qe[h].pid=setInterval(function(){r&&0===this.layer&&je.active._onTouchMove(Ke);var t=qe[this.layer].vy?qe[this.layer].vy*l:0,n=qe[this.layer].vx?qe[this.layer].vx*l:0;"function"==typeof i&&"continue"!==i.call(je.dragged.parentNode[Q],n,t,e,Ke,qe[this.layer].el)||N(qe[this.layer].el,n,t)}.bind({layer:h}),24))),h++}while(t.bubbleScroll&&d!==c&&(d=P(d,!1)));et=u}},30),ot=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,i=e.activeSortable,o=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||i;a();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:r,putSortable:n}))}};function at(){}function st(){}function lt(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;rt=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,i=e.activeSortable,o=e.changed,a=e.cancel;if(i.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=rt;!1!==r(n)?(C(n,l.swapClass,!0),rt=n):rt=null,c&&c!==rt&&C(c,l.swapClass,!1)}o(),t(!0),a()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,r=e.dragEl,i=n||this.sortable,o=this.options;rt&&C(rt,o.swapClass,!1),rt&&(o.swap||n&&n.options.swap)&&r!==rt&&(i.captureAnimationState(),i!==t&&t.captureAnimationState(),function(e,t){var n,r,i=e.parentNode,o=t.parentNode;if(!i||!o||i.isEqualNode(t)||o.isEqualNode(e))return;n=I(e),r=I(t),i.isEqualNode(o)&&n<r&&r++;i.insertBefore(t,i.children[n]),o.insertBefore(e,o.children[r])}(r,rt),i.animateAll(),i!==t&&t.animateAll())},nulling:function(){rt=null}},o(e,{pluginName:"swap",eventProperties:function(){return{swapItem:rt}}})}at.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var r=D(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:ot},o(at,{pluginName:"revertOnSpill"}),st.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:ot},o(st,{pluginName:"removeOnSpill"});var ct,ut,ht,dt,ft,pt=[],At=[],gt=!1,vt=!1,mt=!1;function yt(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?v(document,"pointerup",this._deselectMultiDrag):(v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag)),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(t,n){var r="";pt.length&&ut===e?pt.forEach(function(e,t){r+=(t?", ":"")+e.textContent}):r=n.textContent,t.setData("Text",r)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;ht=t},delayEnded:function(){this.isMultiDrag=~pt.indexOf(ht)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var r=0;r<pt.length;r++)At.push(H(pt[r])),At[r].sortableIndex=pt[r].sortableIndex,At[r].draggable=!1,At[r].style["will-change"]="",C(At[r],this.options.selectedClass,!1),pt[r]===ht&&C(At[r],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,r=e.dispatchSortableEvent,i=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||pt.length&&ut===t&&(bt(!0,n),r("clone"),i()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(bt(!1,n),At.forEach(function(e){S(e,"display","")}),t(),ft=!1,r())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),r=e.cancel;this.isMultiDrag&&(At.forEach(function(e){S(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)}),n(),ft=!0,r())},dragStartGlobal:function(e){e.sortable;!this.isMultiDrag&&ut&&ut.multiDrag._deselectMultiDrag(),pt.forEach(function(e){e.sortableIndex=I(e)}),pt=pt.sort(function(e,t){return e.sortableIndex-t.sortableIndex}),mt=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){pt.forEach(function(e){e!==ht&&S(e,"position","absolute")});var r=E(ht,!1,!0,!0);pt.forEach(function(e){e!==ht&&j(e,r)}),vt=!0,gt=!0}n.animateAll(function(){vt=!1,gt=!1,t.options.animation&&pt.forEach(function(e){U(e)}),t.options.sort&&_t()})}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;vt&&~pt.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,i=e.dragRect;pt.length>1&&(pt.forEach(function(e){r.addAnimationState({target:e,rect:vt?E(e):i}),U(e),e.fromRect=i,t.removeAnimationState(e)}),vt=!1,function(e,t){pt.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,i=e.activeSortable,o=e.parentEl,a=e.putSortable,s=this.options;if(r){if(n&&i._hideClone(),gt=!1,s.animation&&pt.length>1&&(vt||!n&&!i.options.sort&&!a)){var l=E(ht,!1,!0,!0);pt.forEach(function(e){e!==ht&&(j(e,l),o.appendChild(e))}),vt=!0}if(!n)if(vt||_t(),pt.length>1){var c=ft;i._showClone(t),i.options.animation&&!ft&&c&&At.forEach(function(e){i.addAnimationState({target:e,rect:dt}),e.fromRect=dt,e.thisAnimationDuration=null})}else i._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(pt.forEach(function(e){e.thisAnimationDuration=null}),r.options.animation&&!n&&r.multiDrag.isMultiDrag){dt=o({},t);var i=B(ht,!0);dt.top-=i.f,dt.left-=i.e}},dragOverAnimationComplete:function(){vt&&(vt=!1,_t())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,i=e.sortable,o=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,u=r.children;if(!mt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),C(ht,c.selectedClass,!~pt.indexOf(ht)),~pt.indexOf(ht))pt.splice(pt.indexOf(ht),1),ct=null,W({sortable:i,rootEl:n,name:"deselect",targetEl:ht,originalEvt:t});else{if(pt.push(ht),W({sortable:i,rootEl:n,name:"select",targetEl:ht,originalEvt:t}),t.shiftKey&&ct&&i.el.contains(ct)){var h,d,f=I(ct),p=I(ht);if(~f&&~p&&f!==p)for(p>f?(d=f,h=p):(d=p,h=f+1);d<h;d++)~pt.indexOf(u[d])||(C(u[d],c.selectedClass,!0),pt.push(u[d]),W({sortable:i,rootEl:n,name:"select",targetEl:u[d],originalEvt:t}))}else ct=ht;ut=l}if(mt&&this.isMultiDrag){if((r[Q].options.sort||r!==n)&&pt.length>1){var A=E(ht),g=I(ht,":not(."+this.options.selectedClass+")");if(!gt&&c.animation&&(ht.thisAnimationDuration=null),l.captureAnimationState(),!gt&&(c.animation&&(ht.fromRect=A,pt.forEach(function(e){if(e.thisAnimationDuration=null,e!==ht){var t=vt?E(e):A;e.fromRect=t,l.addAnimationState({target:e,rect:t})}})),_t(),pt.forEach(function(e){u[g]?r.insertBefore(e,u[g]):r.appendChild(e),g++}),a===I(ht))){var v=!1;pt.forEach(function(e){e.sortableIndex===I(e)||(v=!0)}),v&&o("update")}pt.forEach(function(e){U(e)}),l.animateAll()}ut=l}(n===r||s&&"clone"!==s.lastPutMode)&&At.forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)})}},nullingGlobal:function(){this.isMultiDrag=mt=!1,At.length=0},destroyGlobal:function(){this._deselectMultiDrag(),m(document,"pointerup",this._deselectMultiDrag),m(document,"mouseup",this._deselectMultiDrag),m(document,"touchend",this._deselectMultiDrag),m(document,"keydown",this._checkKeyDown),m(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==mt&&mt||ut!==this.sortable||e&&_(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;pt.length;){var t=pt[0];C(t,this.options.selectedClass,!1),pt.shift(),W({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[Q];t&&t.options.multiDrag&&!~pt.indexOf(e)&&(ut&&ut!==t&&(ut.multiDrag._deselectMultiDrag(),ut=t),C(e,t.options.selectedClass,!0),pt.push(e))},deselect:function(e){var t=e.parentNode[Q],n=pt.indexOf(e);t&&t.options.multiDrag&&~n&&(C(e,t.options.selectedClass,!1),pt.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return pt.forEach(function(r){var i;t.push({multiDragElement:r,index:r.sortableIndex}),i=vt&&r!==ht?-1:vt?I(r,":not(."+e.options.selectedClass+")"):I(r),n.push({multiDragElement:r,index:i})}),{items:l(pt),clones:[].concat(At),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function bt(e,t){At.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function _t(){pt.forEach(function(e){e!==ht&&e.parentNode&&e.parentNode.removeChild(e)})}je.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):t.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),nt(),tt(),clearTimeout(w),w=void 0},nulling:function(){Ke=Xe=We=et=Je=Ze=$e=null,qe.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,o=document.elementFromPoint(r,i);if(Ke=e,t||h||u||f){it(e,this.options,o,t);var a=P(o,!0);!et||Je&&r===Ze&&i===$e||(Je&&nt(),Je=setInterval(function(){var o=P(document.elementFromPoint(r,i),!0);o!==a&&(a=o,tt()),it(e,n.options,o,t)},10),Ze=r,$e=i)}else{if(!this.options.bubbleScroll||P(o,!0)===T())return void tt();it(e,this.options,P(o,!1),!1)}}},o(e,{pluginName:"scroll",initializeByDefault:!0})}),je.mount(st,at),t.default=je},"/gxq":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=function(){return A++},t.logError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"undefined"!=typeof console&&console.error.apply(console,e)},t.clone=g,t.merge=v,t.mergeAll=function(e,t){for(var n=e[0],r=1,i=e.length;r<i;r++)n=v(n,e[r],t);return n},t.extend=m,t.defaults=y,n.d(t,"createCanvas",function(){return b}),t.indexOf=function(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1},t.inherits=function(e,t){var n=e.prototype;function r(){}for(var i in r.prototype=t.prototype,e.prototype=new r,n)n.hasOwnProperty(i)&&(e.prototype[i]=n[i]);e.prototype.constructor=e,e.superClass=t},t.mixin=function(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var o=r[i];"constructor"!==o&&(n?null!=t[o]:null==e[o])&&(e[o]=t[o])}else y(e,t,n)},t.isArrayLike=function(e){if(!e)return!1;if("string"==typeof e)return!1;return"number"==typeof e.length},t.each=_,t.map=function(e,t,n){if(!e)return[];if(!t)return D(e);if(e.map&&e.map===h)return e.map(t,n);for(var r=[],i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i,e));return r},t.reduce=w,t.filter=function(e,t,n){if(!e)return[];if(!t)return D(e);if(e.filter&&e.filter===c)return e.filter(t,n);for(var r=[],i=0,o=e.length;i<o;i++)t.call(n,e[i],i,e)&&r.push(e[i]);return r},t.find=function(e,t,n){if(!e||!t)return;for(var r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return e[r]},t.keys=x,n.d(t,"bind",function(){return C}),n.d(t,"curry",function(){return S}),t.isArray=B,t.isFunction=k,t.isString=function(e){return"string"==typeof e},t.isStringSafe=function(e){return"[object String]"===a.call(e)},t.isNumber=function(e){return"number"==typeof e},t.isObject=T,t.isBuiltInObject=E,t.isTypedArray=function(e){return!!o[a.call(e)]},t.isDom=M,t.isGradientObject=function(e){return null!=e.colorStops},t.isImagePatternObject=function(e){return null!=e.image},t.isRegExp=function(e){return"[object RegExp]"===a.call(e)},t.eqNaN=function(e){return e!=e},t.retrieve=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e.length;n<r;n++)if(null!=e[n])return e[n]},t.retrieve2=function(e,t){return null!=e?e:t},t.retrieve3=function(e,t,n){return null!=e?e:null!=t?t:n},t.slice=D,t.normalizeCssArray=function(e){if("number"==typeof e)return[e,e,e,e];var t=e.length;if(2===t)return[e[0],e[1],e[0],e[1]];if(3===t)return[e[0],e[1],e[2],e[1]];return e},t.assert=function(e,t){if(!e)throw new Error(t)},t.trim=function(e){return null==e?null:"function"==typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},t.setAsPrimitive=function(e){e[O]=!0},t.isPrimitive=I,n.d(t,"HashMap",function(){return F}),t.createHashMap=function(e){return new F(e)},t.concatArray=function(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];for(var i=e.length,r=0;r<t.length;r++)n[r+i]=t[r];return n},t.createObject=function(e,t){var n;if(Object.create)n=Object.create(e);else{var r=function(){};r.prototype=e,n=new r}t&&m(n,t);return n},t.disableUserSelect=function(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"},t.hasOwn=function(e,t){return e.hasOwnProperty(t)},t.noop=function(){},n.d(t,"RADIAN_TO_DEGREE",function(){return R});var r=n("OwOc"),i=w(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),o=w(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,c=s.filter,u=s.slice,h=s.map,d=function(){}.constructor,f=d?d.prototype:null,p="__proto__",A=2311;function g(e){if(null==e||"object"!=typeof e)return e;var t=e,n=a.call(e);if("[object Array]"===n){if(!I(e)){t=[];for(var r=0,s=e.length;r<s;r++)t[r]=g(e[r])}}else if(o[n]){if(!I(e)){var l=e.constructor;if(l.from)t=l.from(e);else{t=new l(e.length);for(r=0,s=e.length;r<s;r++)t[r]=e[r]}}}else if(!i[n]&&!I(e)&&!M(e))for(var c in t={},e)e.hasOwnProperty(c)&&c!==p&&(t[c]=g(e[c]));return t}function v(e,t,n){if(!T(t)||!T(e))return n?g(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!==p){var i=e[r],o=t[r];!T(o)||!T(i)||B(o)||B(i)||M(o)||M(i)||E(o)||E(i)||I(o)||I(i)?!n&&r in e||(e[r]=g(t[r])):v(i,o,n)}return e}function m(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==p&&(e[n]=t[n]);return e}function y(e,t,n){for(var r=x(t),i=0;i<r.length;i++){var o=r[i];(n?null!=t[o]:null==e[o])&&(e[o]=t[o])}return e}var b=r.d.createCanvas;function _(e,t,n){if(e&&t)if(e.forEach&&e.forEach===l)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function w(e,t,n,r){if(e&&t){for(var i=0,o=e.length;i<o;i++)n=t.call(r,n,e[i],i,e);return n}}function x(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}var C=f&&k(f.bind)?f.call.bind(f.bind):function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(u.call(arguments)))}};function S(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(u.call(arguments)))}}function B(e){return Array.isArray?Array.isArray(e):"[object Array]"===a.call(e)}function k(e){return"function"==typeof e}function T(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function E(e){return!!i[a.call(e)]}function M(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}function D(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return u.apply(e,t)}var O="__ec_primitive__";function I(e){return e[O]}var L=function(){function e(){this.data={}}return e.prototype.delete=function(e){var t=this.has(e);return t&&delete this.data[e],t},e.prototype.has=function(e){return this.data.hasOwnProperty(e)},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){return this.data[e]=t,this},e.prototype.keys=function(){return x(this.data)},e.prototype.forEach=function(e){var t=this.data;for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},e}(),P="function"==typeof Map;var F=function(){function e(t){var n=B(t);this.data=P?new Map:new L;var r=this;function i(e,t){n?r.set(e,t):r.set(t,e)}t instanceof e?t.each(i):t&&_(t,i)}return e.prototype.hasKey=function(e){return this.data.has(e)},e.prototype.get=function(e){return this.data.get(e)},e.prototype.set=function(e,t){return this.data.set(e,t),t},e.prototype.each=function(e,t){this.data.forEach(function(n,r){e.call(t,n,r)})},e.prototype.keys=function(){var e=this.data.keys();return P?Array.from(e):e},e.prototype.removeKey=function(e){this.data.delete(e)},e}();var R=180/Math.PI},"/n6Q":function(e,t,n){n("zQR9"),n("+tPU"),e.exports=n("Kh4W").f("iterator")},"/ocq":function(e,t,n){"use strict";
- /*!
- * vue-router v3.5.1
- * (c) 2021 Evan You
- * @license MIT
- */function r(e,t){0}function i(e,t){for(var n in t)e[n]=t[n];return e}var o=/[!'()*]/g,a=function(e){return"%"+e.charCodeAt(0).toString(16)},s=/%2C/g,l=function(e){return encodeURIComponent(e).replace(o,a).replace(s,",")};function c(e){try{return decodeURIComponent(e)}catch(e){0}return e}var u=function(e){return null==e||"object"==typeof e?e:String(e)};function h(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),r=c(n.shift()),i=n.length>0?c(n.join("=")):null;void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}),t):t}function d(e){var t=e?Object.keys(e).map(function(t){var n=e[t];if(void 0===n)return"";if(null===n)return l(t);if(Array.isArray(n)){var r=[];return n.forEach(function(e){void 0!==e&&(null===e?r.push(l(t)):r.push(l(t)+"="+l(e)))}),r.join("&")}return l(t)+"="+l(n)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}var f=/\/?$/;function p(e,t,n,r){var i=r&&r.options.stringifyQuery,o=t.query||{};try{o=A(o)}catch(e){}var a={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:v(t,i),matched:e?function(e){var t=[];for(;e;)t.unshift(e),e=e.parent;return t}(e):[]};return n&&(a.redirectedFrom=v(n,i)),Object.freeze(a)}function A(e){if(Array.isArray(e))return e.map(A);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=A(e[n]);return t}return e}var g=p(null,{path:"/"});function v(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var i=e.hash;return void 0===i&&(i=""),(n||"/")+(t||d)(r)+i}function m(e,t,n){return t===g?e===t:!!t&&(e.path&&t.path?e.path.replace(f,"")===t.path.replace(f,"")&&(n||e.hash===t.hash&&y(e.query,t.query)):!(!e.name||!t.name)&&(e.name===t.name&&(n||e.hash===t.hash&&y(e.query,t.query)&&y(e.params,t.params))))}function y(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),r=Object.keys(t).sort();return n.length===r.length&&n.every(function(n,i){var o=e[n];if(r[i]!==n)return!1;var a=t[n];return null==o||null==a?o===a:"object"==typeof o&&"object"==typeof a?y(o,a):String(o)===String(a)})}function b(e){for(var t=0;t<e.matched.length;t++){var n=e.matched[t];for(var r in n.instances){var i=n.instances[r],o=n.enteredCbs[r];if(i&&o){delete n.enteredCbs[r];for(var a=0;a<o.length;a++)i._isBeingDestroyed||o[a](i)}}}}var _={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,o=t.parent,a=t.data;a.routerView=!0;for(var s=o.$createElement,l=n.name,c=o.$route,u=o._routerViewCache||(o._routerViewCache={}),h=0,d=!1;o&&o._routerRoot!==o;){var f=o.$vnode?o.$vnode.data:{};f.routerView&&h++,f.keepAlive&&o._directInactive&&o._inactive&&(d=!0),o=o.$parent}if(a.routerViewDepth=h,d){var p=u[l],A=p&&p.component;return A?(p.configProps&&w(A,a,p.route,p.configProps),s(A,a,r)):s()}var g=c.matched[h],v=g&&g.components[l];if(!g||!v)return u[l]=null,s();u[l]={component:v},a.registerRouteInstance=function(e,t){var n=g.instances[l];(t&&n!==e||!t&&n===e)&&(g.instances[l]=t)},(a.hook||(a.hook={})).prepatch=function(e,t){g.instances[l]=t.componentInstance},a.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==g.instances[l]&&(g.instances[l]=e.componentInstance),b(c)};var m=g.props&&g.props[l];return m&&(i(u[l],{route:c,configProps:m}),w(v,a,c,m)),s(v,a,r)}};function w(e,t,n,r){var o=t.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}(n,r);if(o){o=t.props=i({},o);var a=t.attrs=t.attrs||{};for(var s in o)e.props&&s in e.props||(a[s]=o[s],delete o[s])}}function x(e,t,n){var r=e.charAt(0);if("/"===r)return e;if("?"===r||"#"===r)return t+e;var i=t.split("/");n&&i[i.length-1]||i.pop();for(var o=e.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?i.pop():"."!==s&&i.push(s)}return""!==i[0]&&i.unshift(""),i.join("/")}function C(e){return e.replace(/\/\//g,"/")}var S=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},B=j,k=O,T=function(e,t){return L(O(e,t),t)},E=L,M=H,D=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function O(e,t){for(var n,r=[],i=0,o=0,a="",s=t&&t.delimiter||"/";null!=(n=D.exec(e));){var l=n[0],c=n[1],u=n.index;if(a+=e.slice(o,u),o=u+l.length,c)a+=c[1];else{var h=e[o],d=n[2],f=n[3],p=n[4],A=n[5],g=n[6],v=n[7];a&&(r.push(a),a="");var m=null!=d&&null!=h&&h!==d,y="+"===g||"*"===g,b="?"===g||"*"===g,_=n[2]||s,w=p||A;r.push({name:f||i++,prefix:d||"",delimiter:_,optional:b,repeat:y,partial:m,asterisk:!!v,pattern:w?F(w):v?".*":"[^"+P(_)+"]+?"})}}return o<e.length&&(a+=e.substr(o)),a&&r.push(a),r}function I(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function L(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)"object"==typeof e[r]&&(n[r]=new RegExp("^(?:"+e[r].pattern+")$",N(t)));return function(t,r){for(var i="",o=t||{},a=(r||{}).pretty?I:encodeURIComponent,s=0;s<e.length;s++){var l=e[s];if("string"!=typeof l){var c,u=o[l.name];if(null==u){if(l.optional){l.partial&&(i+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(S(u)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var h=0;h<u.length;h++){if(c=a(u[h]),!n[s].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(c)+"`");i+=(0===h?l.prefix:l.delimiter)+c}}else{if(c=l.asterisk?encodeURI(u).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):a(u),!n[s].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+c+'"');i+=l.prefix+c}}else i+=l}return i}}function P(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function F(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function R(e,t){return e.keys=t,e}function N(e){return e&&e.sensitive?"":"i"}function H(e,t,n){S(t)||(n=t||n,t=[]);for(var r=(n=n||{}).strict,i=!1!==n.end,o="",a=0;a<e.length;a++){var s=e[a];if("string"==typeof s)o+=P(s);else{var l=P(s.prefix),c="(?:"+s.pattern+")";t.push(s),s.repeat&&(c+="(?:"+l+c+")*"),o+=c=s.optional?s.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")"}}var u=P(n.delimiter||"/"),h=o.slice(-u.length)===u;return r||(o=(h?o.slice(0,-u.length):o)+"(?:"+u+"(?=$))?"),o+=i?"$":r&&h?"":"(?="+u+"|$)",R(new RegExp("^"+o,N(n)),t)}function j(e,t,n){return S(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return R(e,t)}(e,t):S(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(j(e[i],t,n).source);return R(new RegExp("(?:"+r.join("|")+")",N(n)),t)}(e,t,n):function(e,t,n){return H(O(e,n),t,n)}(e,t,n)}B.parse=k,B.compile=T,B.tokensToFunction=E,B.tokensToRegExp=M;var U=Object.create(null);function Q(e,t,n){t=t||{};try{var r=U[e]||(U[e]=B.compile(e));return"string"==typeof t.pathMatch&&(t[0]=t.pathMatch),r(t,{pretty:!0})}catch(e){return""}finally{delete t[0]}}function z(e,t,n,r){var o="string"==typeof e?{path:e}:e;if(o._normalized)return o;if(o.name){var a=(o=i({},e)).params;return a&&"object"==typeof a&&(o.params=i({},a)),o}if(!o.path&&o.params&&t){(o=i({},o))._normalized=!0;var s=i(i({},t.params),o.params);if(t.name)o.name=t.name,o.params=s;else if(t.matched.length){var l=t.matched[t.matched.length-1].path;o.path=Q(l,s,t.path)}else 0;return o}var c=function(e){var t="",n="",r=e.indexOf("#");r>=0&&(t=e.slice(r),e=e.slice(0,r));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}(o.path||""),d=t&&t.path||"/",f=c.path?x(c.path,d,n||o.append):d,p=function(e,t,n){void 0===t&&(t={});var r,i=n||h;try{r=i(e||"")}catch(e){r={}}for(var o in t){var a=t[o];r[o]=Array.isArray(a)?a.map(u):u(a)}return r}(c.query,o.query,r&&r.options.parseQuery),A=o.hash||c.hash;return A&&"#"!==A.charAt(0)&&(A="#"+A),{_normalized:!0,path:f,query:p,hash:A}}var Y,V=[String,Object],G=[String,Array],W=function(){},X={name:"RouterLink",props:{to:{type:V,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:G,default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,s=o.route,l=o.href,c={},u=n.options.linkActiveClass,h=n.options.linkExactActiveClass,d=null==u?"router-link-active":u,A=null==h?"router-link-exact-active":h,g=null==this.activeClass?d:this.activeClass,v=null==this.exactActiveClass?A:this.exactActiveClass,y=s.redirectedFrom?p(null,z(s.redirectedFrom),null,n):s;c[v]=m(r,y,this.exactPath),c[g]=this.exact||this.exactPath?c[v]:function(e,t){return 0===e.path.replace(f,"/").indexOf(t.path.replace(f,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(r,y);var b=c[v]?this.ariaCurrentValue:null,_=function(e){Z(e)&&(t.replace?n.replace(a,W):n.push(a,W))},w={click:Z};Array.isArray(this.event)?this.event.forEach(function(e){w[e]=_}):w[this.event]=_;var x={class:c},C=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:_,isActive:c[g],isExactActive:c[v]});if(C){if(1===C.length)return C[0];if(C.length>1||!C.length)return 0===C.length?e():e("span",{},C)}if("a"===this.tag)x.on=w,x.attrs={href:l,"aria-current":b};else{var S=function e(t){if(t)for(var n,r=0;r<t.length;r++){if("a"===(n=t[r]).tag)return n;if(n.children&&(n=e(n.children)))return n}}(this.$slots.default);if(S){S.isStatic=!1;var B=S.data=i({},S.data);for(var k in B.on=B.on||{},B.on){var T=B.on[k];k in w&&(B.on[k]=Array.isArray(T)?T:[T])}for(var E in w)E in B.on?B.on[E].push(w[E]):B.on[E]=_;var M=S.data.attrs=i({},S.data.attrs);M.href=l,M["aria-current"]=b}else x.on=w}return e(this.tag,x,this.$slots.default)}};function Z(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function $(e){if(!$.installed||Y!==e){$.installed=!0,Y=e;var t=function(e){return void 0!==e},n=function(e,n){var r=e.$options._parentVnode;t(r)&&t(r=r.data)&&t(r=r.registerRouteInstance)&&r(e,n)};e.mixin({beforeCreate:function(){t(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",_),e.component("RouterLink",X);var r=e.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}}var K="undefined"!=typeof window;function J(e,t,n,r,i){var o=t||[],a=n||Object.create(null),s=r||Object.create(null);e.forEach(function(e){!function e(t,n,r,i,o,a){var s=i.path;var l=i.name;0;var c=i.pathToRegexpOptions||{};var u=function(e,t,n){n||(e=e.replace(/\/$/,""));if("/"===e[0])return e;if(null==t)return e;return C(t.path+"/"+e)}(s,o,c.strict);"boolean"==typeof i.caseSensitive&&(c.sensitive=i.caseSensitive);var h={path:u,regex:function(e,t){var n=B(e,[],t);return n}(u,c),components:i.components||{default:i.component},alias:i.alias?"string"==typeof i.alias?[i.alias]:i.alias:[],instances:{},enteredCbs:{},name:l,parent:o,matchAs:a,redirect:i.redirect,beforeEnter:i.beforeEnter,meta:i.meta||{},props:null==i.props?{}:i.components?i.props:{default:i.props}};i.children&&i.children.forEach(function(i){var o=a?C(a+"/"+i.path):void 0;e(t,n,r,i,h,o)});n[h.path]||(t.push(h.path),n[h.path]=h);if(void 0!==i.alias)for(var d=Array.isArray(i.alias)?i.alias:[i.alias],f=0;f<d.length;++f){var p=d[f];0;var A={path:p,children:i.children};e(t,n,r,A,o,h.path||"/")}l&&(r[l]||(r[l]=h))}(o,a,s,e,i)});for(var l=0,c=o.length;l<c;l++)"*"===o[l]&&(o.push(o.splice(l,1)[0]),c--,l--);return{pathList:o,pathMap:a,nameMap:s}}function q(e,t){var n=J(e),r=n.pathList,i=n.pathMap,o=n.nameMap;function a(e,n,a){var s=z(e,n,!1,t),c=s.name;if(c){var u=o[c];if(!u)return l(null,s);var h=u.regex.keys.filter(function(e){return!e.optional}).map(function(e){return e.name});if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var d in n.params)!(d in s.params)&&h.indexOf(d)>-1&&(s.params[d]=n.params[d]);return s.path=Q(u.path,s.params),l(u,s,a)}if(s.path){s.params={};for(var f=0;f<r.length;f++){var p=r[f],A=i[p];if(ee(A.regex,s.path,s.params))return l(A,s,a)}}return l(null,s)}function s(e,n){var r=e.redirect,i="function"==typeof r?r(p(e,n,null,t)):r;if("string"==typeof i&&(i={path:i}),!i||"object"!=typeof i)return l(null,n);var s=i,c=s.name,u=s.path,h=n.query,d=n.hash,f=n.params;if(h=s.hasOwnProperty("query")?s.query:h,d=s.hasOwnProperty("hash")?s.hash:d,f=s.hasOwnProperty("params")?s.params:f,c){o[c];return a({_normalized:!0,name:c,query:h,hash:d,params:f},void 0,n)}if(u){var A=function(e,t){return x(e,t.parent?t.parent.path:"/",!0)}(u,e);return a({_normalized:!0,path:Q(A,f),query:h,hash:d},void 0,n)}return l(null,n)}function l(e,n,r){return e&&e.redirect?s(e,r||n):e&&e.matchAs?function(e,t,n){var r=a({_normalized:!0,path:Q(n,t.params)});if(r){var i=r.matched,o=i[i.length-1];return t.params=r.params,l(o,t)}return l(null,t)}(0,n,e.matchAs):p(e,n,r,t)}return{match:a,addRoute:function(e,t){var n="object"!=typeof e?o[e]:void 0;J([t||e],r,i,o,n),n&&J(n.alias.map(function(e){return{path:e,children:[t]}}),r,i,o,n)},getRoutes:function(){return r.map(function(e){return i[e]})},addRoutes:function(e){J(e,r,i,o)}}}function ee(e,t,n){var r=t.match(e);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var a=e.keys[i-1];a&&(n[a.name||"pathMatch"]="string"==typeof r[i]?c(r[i]):r[i])}return!0}var te=K&&window.performance&&window.performance.now?window.performance:Date;function ne(){return te.now().toFixed(3)}var re=ne();function ie(){return re}function oe(e){return re=e}var ae=Object.create(null);function se(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var e=window.location.protocol+"//"+window.location.host,t=window.location.href.replace(e,""),n=i({},window.history.state);return n.key=ie(),window.history.replaceState(n,"",t),window.addEventListener("popstate",ue),function(){window.removeEventListener("popstate",ue)}}function le(e,t,n,r){if(e.app){var i=e.options.scrollBehavior;i&&e.app.$nextTick(function(){var o=function(){var e=ie();if(e)return ae[e]}(),a=i.call(e,t,n,r?o:null);a&&("function"==typeof a.then?a.then(function(e){Ae(e,o)}).catch(function(e){0}):Ae(a,o))})}}function ce(){var e=ie();e&&(ae[e]={x:window.pageXOffset,y:window.pageYOffset})}function ue(e){ce(),e.state&&e.state.key&&oe(e.state.key)}function he(e){return fe(e.x)||fe(e.y)}function de(e){return{x:fe(e.x)?e.x:window.pageXOffset,y:fe(e.y)?e.y:window.pageYOffset}}function fe(e){return"number"==typeof e}var pe=/^#\d/;function Ae(e,t){var n,r="object"==typeof e;if(r&&"string"==typeof e.selector){var i=pe.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(i){var o=e.offset&&"object"==typeof e.offset?e.offset:{};t=function(e,t){var n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{x:r.left-n.left-t.x,y:r.top-n.top-t.y}}(i,o={x:fe((n=o).x)?n.x:0,y:fe(n.y)?n.y:0})}else he(e)&&(t=de(e))}else r&&he(e)&&(t=de(e));t&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:t.x,top:t.y,behavior:e.behavior}):window.scrollTo(t.x,t.y))}var ge,ve=K&&((-1===(ge=window.navigator.userAgent).indexOf("Android 2.")&&-1===ge.indexOf("Android 4.0")||-1===ge.indexOf("Mobile Safari")||-1!==ge.indexOf("Chrome")||-1!==ge.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function me(e,t){ce();var n=window.history;try{if(t){var r=i({},n.state);r.key=ie(),n.replaceState(r,"",e)}else n.pushState({key:oe(ne())},"",e)}catch(n){window.location[t?"replace":"assign"](e)}}function ye(e){me(e,!0)}function be(e,t,n){var r=function(i){i>=e.length?n():e[i]?t(e[i],function(){r(i+1)}):r(i+1)};r(0)}var _e={redirected:2,aborted:4,cancelled:8,duplicated:16};function we(e,t){return Ce(e,t,_e.redirected,'Redirected when going from "'+e.fullPath+'" to "'+function(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return Se.forEach(function(n){n in e&&(t[n]=e[n])}),JSON.stringify(t,null,2)}(t)+'" via a navigation guard.')}function xe(e,t){return Ce(e,t,_e.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function Ce(e,t,n,r){var i=new Error(r);return i._isRouter=!0,i.from=e,i.to=t,i.type=n,i}var Se=["params","query","hash"];function Be(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function ke(e,t){return Be(e)&&e._isRouter&&(null==t||e.type===t)}function Te(e){return function(t,n,r){var i=!1,o=0,a=null;Ee(e,function(e,t,n,s){if("function"==typeof e&&void 0===e.cid){i=!0,o++;var l,c=Oe(function(t){var i;((i=t).__esModule||De&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:Y.extend(t),n.components[s]=t,--o<=0&&r()}),u=Oe(function(e){var t="Failed to resolve async component "+s+": "+e;a||(a=Be(e)?e:new Error(t),r(a))});try{l=e(c,u)}catch(e){u(e)}if(l)if("function"==typeof l.then)l.then(c,u);else{var h=l.component;h&&"function"==typeof h.then&&h.then(c,u)}}}),i||r()}}function Ee(e,t){return Me(e.map(function(e){return Object.keys(e.components).map(function(n){return t(e.components[n],e.instances[n],e,n)})}))}function Me(e){return Array.prototype.concat.apply([],e)}var De="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Oe(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var Ie=function(e,t){this.router=e,this.base=function(e){if(!e)if(K){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Le(e,t,n,r){var i=Ee(e,function(e,r,i,o){var a=function(e,t){"function"!=typeof e&&(e=Y.extend(e));return e.options[t]}(e,t);if(a)return Array.isArray(a)?a.map(function(e){return n(e,r,i,o)}):n(a,r,i,o)});return Me(r?i.reverse():i)}function Pe(e,t){if(t)return function(){return e.apply(t,arguments)}}Ie.prototype.listen=function(e){this.cb=e},Ie.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Ie.prototype.onError=function(e){this.errorCbs.push(e)},Ie.prototype.transitionTo=function(e,t,n){var r,i=this;try{r=this.router.match(e,this.current)}catch(e){throw this.errorCbs.forEach(function(t){t(e)}),e}var o=this.current;this.confirmTransition(r,function(){i.updateRoute(r),t&&t(r),i.ensureURL(),i.router.afterHooks.forEach(function(e){e&&e(r,o)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(e){e(r)}))},function(e){n&&n(e),e&&!i.ready&&(ke(e,_e.redirected)&&o===g||(i.ready=!0,i.readyErrorCbs.forEach(function(t){t(e)})))})},Ie.prototype.confirmTransition=function(e,t,n){var i=this,o=this.current;this.pending=e;var a,s,l=function(e){!ke(e)&&Be(e)&&(i.errorCbs.length?i.errorCbs.forEach(function(t){t(e)}):(r(),console.error(e))),n&&n(e)},c=e.matched.length-1,u=o.matched.length-1;if(m(e,o)&&c===u&&e.matched[c]===o.matched[u])return this.ensureURL(),l(((s=Ce(a=o,e,_e.duplicated,'Avoided redundant navigation to current location: "'+a.fullPath+'".')).name="NavigationDuplicated",s));var h=function(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n<r&&e[n]===t[n];n++);return{updated:t.slice(0,n),activated:t.slice(n),deactivated:e.slice(n)}}(this.current.matched,e.matched),d=h.updated,f=h.deactivated,p=h.activated,A=function(t,n){if(i.pending!==e)return l(xe(o,e));try{t(e,o,function(t){!1===t?(i.ensureURL(!0),l(function(e,t){return Ce(e,t,_e.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}(o,e))):Be(t)?(i.ensureURL(!0),l(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(l(we(o,e)),"object"==typeof t&&t.replace?i.replace(t):i.push(t)):n(t)})}catch(e){l(e)}};be([].concat(function(e){return Le(e,"beforeRouteLeave",Pe,!0)}(f),this.router.beforeHooks,function(e){return Le(e,"beforeRouteUpdate",Pe)}(d),p.map(function(e){return e.beforeEnter}),Te(p)),A,function(){be(function(e){return Le(e,"beforeRouteEnter",function(e,t,n,r){return function(e,t,n){return function(r,i,o){return e(r,i,function(e){"function"==typeof e&&(t.enteredCbs[n]||(t.enteredCbs[n]=[]),t.enteredCbs[n].push(e)),o(e)})}}(e,n,r)})}(p).concat(i.router.resolveHooks),A,function(){if(i.pending!==e)return l(xe(o,e));i.pending=null,t(e),i.router.app&&i.router.app.$nextTick(function(){b(e)})})})},Ie.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)},Ie.prototype.setupListeners=function(){},Ie.prototype.teardown=function(){this.listeners.forEach(function(e){e()}),this.listeners=[],this.current=g,this.pending=null};var Fe=function(e){function t(t,n){e.call(this,t,n),this._startLocation=Re(this.base)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,n=t.options.scrollBehavior,r=ve&&n;r&&this.listeners.push(se());var i=function(){var n=e.current,i=Re(e.base);e.current===g&&i===e._startLocation||e.transitionTo(i,function(e){r&&le(t,e,n,!0)})};window.addEventListener("popstate",i),this.listeners.push(function(){window.removeEventListener("popstate",i)})}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){me(C(r.base+e.fullPath)),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.replace=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){ye(C(r.base+e.fullPath)),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.ensureURL=function(e){if(Re(this.base)!==this.current.fullPath){var t=C(this.base+this.current.fullPath);e?me(t):ye(t)}},t.prototype.getCurrentLocation=function(){return Re(this.base)},t}(Ie);function Re(e){var t=window.location.pathname;return e&&0===t.toLowerCase().indexOf(e.toLowerCase())&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Ne=function(e){function t(t,n,r){e.call(this,t,n),r&&function(e){var t=Re(e);if(!/^\/#/.test(t))return window.location.replace(C(e+"/#"+t)),!0}(this.base)||He()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,n=ve&&t;n&&this.listeners.push(se());var r=function(){var t=e.current;He()&&e.transitionTo(je(),function(r){n&&le(e.router,r,t,!0),ve||ze(r.fullPath)})},i=ve?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push(function(){window.removeEventListener(i,r)})}},t.prototype.push=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){Qe(e.fullPath),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.replace=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){ze(e.fullPath),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;je()!==t&&(e?Qe(t):ze(t))},t.prototype.getCurrentLocation=function(){return je()},t}(Ie);function He(){var e=je();return"/"===e.charAt(0)||(ze("/"+e),!1)}function je(){var e=window.location.href,t=e.indexOf("#");return t<0?"":e=e.slice(t+1)}function Ue(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function Qe(e){ve?me(Ue(e)):window.location.hash=e}function ze(e){ve?ye(Ue(e)):window.location.replace(Ue(e))}var Ye=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)},n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)},n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){var e=t.current;t.index=n,t.updateRoute(r),t.router.afterHooks.forEach(function(t){t&&t(r,e)})},function(e){ke(e,_e.duplicated)&&(t.index=n)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Ie),Ve=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=q(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!ve&&!1!==e.fallback,this.fallback&&(t="hash"),K||(t="abstract"),this.mode=t,t){case"history":this.history=new Fe(this,e.base);break;case"hash":this.history=new Ne(this,e.base,this.fallback);break;case"abstract":this.history=new Ye(this,e.base);break;default:0}},Ge={currentRoute:{configurable:!0}};function We(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Ve.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Ge.currentRoute.get=function(){return this.history&&this.history.current},Ve.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()}),!this.app){this.app=e;var n=this.history;if(n instanceof Fe||n instanceof Ne){var r=function(e){n.setupListeners(),function(e){var r=n.current,i=t.options.scrollBehavior;ve&&i&&"fullPath"in e&&le(t,e,r,!1)}(e)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},Ve.prototype.beforeEach=function(e){return We(this.beforeHooks,e)},Ve.prototype.beforeResolve=function(e){return We(this.resolveHooks,e)},Ve.prototype.afterEach=function(e){return We(this.afterHooks,e)},Ve.prototype.onReady=function(e,t){this.history.onReady(e,t)},Ve.prototype.onError=function(e){this.history.onError(e)},Ve.prototype.push=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise(function(t,n){r.history.push(e,t,n)});this.history.push(e,t,n)},Ve.prototype.replace=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise(function(t,n){r.history.replace(e,t,n)});this.history.replace(e,t,n)},Ve.prototype.go=function(e){this.history.go(e)},Ve.prototype.back=function(){this.go(-1)},Ve.prototype.forward=function(){this.go(1)},Ve.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},Ve.prototype.resolve=function(e,t,n){var r=z(e,t=t||this.history.current,n,this),i=this.match(r,t),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(e,t,n){var r="hash"===n?"#"+t:t;return e?C(e+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Ve.prototype.getRoutes=function(){return this.matcher.getRoutes()},Ve.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Ve.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ve.prototype,Ge),Ve.install=$,Ve.version="3.5.1",Ve.isNavigationFailure=ke,Ve.NavigationFailureType=_e,Ve.START_LOCATION=g,K&&window.Vue&&window.Vue.use(Ve),t.a=Ve},"02w1":function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var r,i=n("z+gd"),o=(r=i)&&r.__esModule?r:{default:r};var a="undefined"==typeof window,s=function(e){var t=e,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if((r=t.next()).done)break;i=r.value}var o=i.target.__resizeListeners__||[];o.length&&o.forEach(function(e){e()})}};t.addResizeListener=function(e,t){a||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new o.default(s),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},"06OY":function(e,t,n){var r=n("3Eo+")("meta"),i=n("EqjI"),o=n("D2L2"),a=n("evD5").f,s=0,l=Object.isExtensible||function(){return!0},c=!n("S82l")(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},h=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&h.NEED&&l(e)&&!o(e,r)&&u(e),e}}},"0hxZ":function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=(r.new_float_n,r.new_int),a=(r.new_int_n,r.assert,n("Y2/2"));e.exports=function(){this.linprebuf=i(2*a.MAX_ORDER),this.linpre=0,this.lstepbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.MAX_ORDER),this.lstep=0,this.loutbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.MAX_ORDER),this.lout=0,this.rinprebuf=i(2*a.MAX_ORDER),this.rinpre=0,this.rstepbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.MAX_ORDER),this.rstep=0,this.routbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.MAX_ORDER),this.rout=0,this.sampleWindow=0,this.totsamp=0,this.lsum=0,this.rsum=0,this.freqindex=0,this.first=0,this.A=o(0|a.STEPS_per_dB*a.MAX_dB),this.B=o(0|a.STEPS_per_dB*a.MAX_dB)}},"0kY3":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=114)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},10:function(e,t){e.exports=n("HJMx")},114:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-input-number",e.inputNumberSize?"el-input-number--"+e.inputNumberSize:"",{"is-disabled":e.inputNumberDisabled},{"is-without-controls":!e.controls},{"is-controls-right":e.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":e.minDisabled},attrs:{role:"button"},on:{keydown:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.decrease(t):null}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-down":"minus")})]):e._e(),e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":e.maxDisabled},attrs:{role:"button"},on:{keydown:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.increase(t):null}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-up":"plus")})]):e._e(),n("el-input",{ref:"input",attrs:{value:e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label},on:{blur:e.handleBlur,focus:e.handleFocus,input:e.handleInput,change:e.handleInputChange},nativeOn:{keydown:[function(t){return"button"in t||!e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?(t.preventDefault(),e.increase(t)):null},function(t){return"button"in t||!e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?(t.preventDefault(),e.decrease(t)):null}]}})],1)};r._withStripped=!0;var i=n(10),o=n.n(i),a=n(22),s=n.n(a),l=n(30),c={name:"ElInputNumber",mixins:[s()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:l.a},components:{ElInput:o.a},props:{step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String,placeholder:String,precision:{type:Number,validator:function(e){return e>=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),r=Math.pow(10,n);t=Math.round(t/this.step)*r*this.step/r}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)<this.min},maxDisabled:function(){return this._increase(this.value,this.step)>this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,r=this.precision,i=n(t);return void 0!==r?(i>r&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),r):Math.max(n(e),i)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"==typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),r=0;return-1!==n&&(r=t.length-n-1),r},_increase:function(e,t){if("number"!=typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!=typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"==typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){this.$refs&&this.$refs.input&&this.$refs.input.$refs.input.setAttribute("aria-valuenow",this.currentValue)}},u=n(0),h=Object(u.a)(c,r,[],!1,null,null,null);h.options.__file="packages/input-number/src/input-number.vue";var d=h.exports;d.install=function(e){e.component(d.name,d)};t.default=d},2:function(e,t){e.exports=n("2kvA")},22:function(e,t){e.exports=n("1oZe")},30:function(e,t,n){"use strict";var r=n(2);t.a={bind:function(e,t,n){var i=null,o=void 0,a=function(){return n.context[t.expression].apply()},s=function(){Date.now()-o<100&&a(),clearInterval(i),i=null};Object(r.on)(e,"mousedown",function(e){0===e.button&&(o=Date.now(),Object(r.once)(document,"mouseup",s),clearInterval(i),i=setInterval(a,100))})}}}})},"0mjX":function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=(r.new_float_n,r.new_int),a=(r.new_int_n,r.assert,n("jhNZ"));e.exports=function(){this.xr=i(576),this.l3_enc=o(576),this.scalefac=o(a.SFBMAX),this.xrpow_max=0,this.part2_3_length=0,this.big_values=0,this.count1=0,this.global_gain=0,this.scalefac_compress=0,this.block_type=0,this.mixed_block_flag=0,this.table_select=o(3),this.subblock_gain=o(4),this.region0_count=0,this.region1_count=0,this.preflag=0,this.scalefac_scale=0,this.count1table_select=0,this.part2_length=0,this.sfb_lmax=0,this.sfb_smin=0,this.psy_lmax=0,this.sfbmax=0,this.psymax=0,this.sfbdivide=0,this.width=o(a.SFBMAX),this.window=o(a.SFBMAX),this.count1bits=0,this.sfb_partition_table=null,this.slen=o(4),this.max_nonzero_coeff=0;var e=this;function t(e){return new Int32Array(e)}this.assign=function(n){var r;e.xr=(r=n.xr,new Float32Array(r)),e.l3_enc=t(n.l3_enc),e.scalefac=t(n.scalefac),e.xrpow_max=n.xrpow_max,e.part2_3_length=n.part2_3_length,e.big_values=n.big_values,e.count1=n.count1,e.global_gain=n.global_gain,e.scalefac_compress=n.scalefac_compress,e.block_type=n.block_type,e.mixed_block_flag=n.mixed_block_flag,e.table_select=t(n.table_select),e.subblock_gain=t(n.subblock_gain),e.region0_count=n.region0_count,e.region1_count=n.region1_count,e.preflag=n.preflag,e.scalefac_scale=n.scalefac_scale,e.count1table_select=n.count1table_select,e.part2_length=n.part2_length,e.sfb_lmax=n.sfb_lmax,e.sfb_smin=n.sfb_smin,e.psy_lmax=n.psy_lmax,e.sfbmax=n.sfbmax,e.psymax=n.psymax,e.sfbdivide=n.sfbdivide,e.width=t(n.width),e.window=t(n.window),e.count1bits=n.count1bits,e.sfb_partition_table=n.sfb_partition_table.slice(0),e.slen=t(n.slen),e.max_nonzero_coeff=n.max_nonzero_coeff}}},"1Xk4":function(e,t,n){"use strict";var r=n("awF4"),i=n("Rl2i"),o=n("sD9O"),a=n("q+vg");function s(e,t,n){var r=e;return i(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=a(t,{uri:e}),r.callback=n,r}function l(e,t,n){return c(t=s(e,t,n))}function c(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,i){t||(t=!0,e.callback(n,r,i))};function r(e){return clearTimeout(u),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,v)}function i(){if(!s){var t;clearTimeout(u),t=e.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var r=v,i=null;return 0!==t?(r={body:function(){var e=void 0;if(e=c.response?c.response:c.responseText||function(e){if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;return""!==e.responseType||t?null:e.responseXML}(c),g)try{e=JSON.parse(e)}catch(e){}return e}(),statusCode:t,method:d,headers:{},url:h,rawRequest:c},c.getAllResponseHeaders&&(r.headers=o(c.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),n(i,r,r.body)}}var a,s,c=e.xhr||null;c||(c=e.cors||e.useXDR?new l.XDomainRequest:new l.XMLHttpRequest);var u,h=c.url=e.uri||e.url,d=c.method=e.method||"GET",f=e.body||e.data,p=c.headers=e.headers||{},A=!!e.sync,g=!1,v={body:void 0,headers:{},statusCode:0,method:d,url:h,rawRequest:c};if("json"in e&&!1!==e.json&&(g=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==d&&"HEAD"!==d&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),f=JSON.stringify(!0===e.json?f:e.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(i,0)},c.onload=i,c.onerror=r,c.onprogress=function(){},c.onabort=function(){s=!0},c.ontimeout=r,c.open(d,h,!A,e.username,e.password),A||(c.withCredentials=!!e.withCredentials),!A&&e.timeout>0&&(u=setTimeout(function(){if(!s){s=!0,c.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",r(e)}},e.timeout)),c.setRequestHeader)for(a in p)p.hasOwnProperty(a)&&c.setRequestHeader(a,p[a]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(c.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(c),c.send(f||null),c}e.exports=l,l.XMLHttpRequest=r.XMLHttpRequest||function(){},l.XDomainRequest="withCredentials"in new l.XMLHttpRequest?l.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n<e.length;n++)t(e[n])}(["get","put","post","patch","head","delete"],function(e){l["delete"===e?"del":e]=function(t,n,r){return(n=s(t,n,r)).method=e.toUpperCase(),c(n)}})},"1gAI":function(e,t,n){var r=n("To6e"),i=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays),a=(r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int),s=(r.new_int_n,r.assert),l=n("/00o"),c=n("OSvQ"),u=n("0mjX"),h=n("mlh9");e.exports=function e(){var t=null;function n(e){this.bits=0|e}this.qupvt=null,this.setModules=function(e){this.qupvt=e,t=e};var r=[[0,0],[0,0],[0,0],[0,0],[0,0],[0,1],[1,1],[1,1],[1,2],[2,2],[2,3],[2,3],[3,4],[3,4],[3,4],[4,5],[4,5],[4,6],[5,6],[5,6],[5,7],[6,7],[6,7]];function d(e,t,n,r,i,o){var a=.5946/t;for(s(e>0),e>>=1;0!=e--;)i[o++]=a>n[r++]?0:1,i[o++]=a>n[r++]?0:1}function f(e,n,r,i,o,a){s(e>0);var l=(e>>=1)%2;for(e>>=1;0!=e--;){var c,u,h,d,f,p,A,g;c=r[i++]*n,u=r[i++]*n,f=0|c,h=r[i++]*n,p=0|u,d=r[i++]*n,A=0|h,c+=t.adj43[f],g=0|d,u+=t.adj43[p],o[a++]=0|c,h+=t.adj43[A],o[a++]=0|u,d+=t.adj43[g],o[a++]=0|h,o[a++]=0|d}0!=l&&(f=0|(c=r[i++]*n),p=0|(u=r[i++]*n),c+=t.adj43[f],u+=t.adj43[p],o[a++]=0|c,o[a++]=0|u)}var p=[1,2,5,7,7,10,10,13,13,13,13,13,13,13,13];function A(e,t,n,r){var i=function(e,t,n){var r=0,i=0;do{var o=e[t++],a=e[t++];r<o&&(r=o),i<a&&(i=a)}while(t<n);return r<i&&(r=i),r}(e,t,n);switch(i){case 0:return i;case 1:return function(e,t,n,r){var i=0,o=c.ht[1].hlen;do{var a=2*e[t+0]+e[t+1];t+=2,i+=o[a]}while(t<n);return r.bits+=i,1}(e,t,n,r);case 2:case 3:return function(e,t,n,r,i){var o,a,s=0,l=c.ht[r].xlen;a=2==r?c.table23:c.table56;do{var u=e[t+0]*l+e[t+1];t+=2,s+=a[u]}while(t<n);return o=65535&s,(s>>=16)>o&&(s=o,r++),i.bits+=s,r}(e,t,n,p[i-1],r);case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:return function(e,t,n,r,i){var o=0,a=0,s=0,l=c.ht[r].xlen,u=c.ht[r].hlen,h=c.ht[r+1].hlen,d=c.ht[r+2].hlen;do{var f=e[t+0]*l+e[t+1];t+=2,o+=u[f],a+=h[f],s+=d[f]}while(t<n);var p=r;return o>a&&(o=a,p++),o>s&&(o=s,p=r+2),i.bits+=o,p}(e,t,n,p[i-1],r);default:if(i>h.IXMAX_VAL)return r.bits=h.LARGE_BITS,-1;var o,a;for(i-=15,o=24;o<32&&!(c.ht[o].linmax>=i);o++);for(a=o-8;a<24&&!(c.ht[a].linmax>=i);a++);return function(e,t,n,r,i,o){var a,s=65536*c.ht[r].xlen+c.ht[i].xlen,l=0;do{var u=e[t++],h=e[t++];0!=u&&(u>14&&(u=15,l+=s),u*=16),0!=h&&(h>14&&(h=15,l+=s),u+=h),l+=c.largetbl[u]}while(t<n);return a=65535&l,(l>>=16)>a&&(l=a,r=i),o.bits+=l,r}(e,t,n,a,o,r)}}function g(e,t,r,i,o,a,s,c){for(var u=t.big_values,h=2;h<l.SBMAX_l+1;h++){var d=e.scalefac_band.l[h];if(d>=u)break;var f=o[h-2]+t.count1bits;if(r.part2_3_length<=f)break;var p=new n(f),g=A(i,d,u,p);f=p.bits,r.part2_3_length<=f||(r.assign(t),r.part2_3_length=f,r.region0_count=a[h-2],r.region1_count=h-2-a[h-2],r.table_select[0]=s[h-2],r.table_select[1]=c[h-2],r.table_select[2]=g)}}this.noquant_count_bits=function(e,t,r){var i=t.l3_enc,o=Math.min(576,t.max_nonzero_coeff+2>>1<<1);for(null!=r&&(r.sfb_count1=0);o>1&&0==(i[o-1]|i[o-2]);o-=2);t.count1=o;for(var a=0,u=0;o>3;o-=4){var h;if((2147483647&(i[o-1]|i[o-2]|i[o-3]|i[o-4]))>1)break;h=2*(2*(2*i[o-4]+i[o-3])+i[o-2])+i[o-1],a+=c.t32l[h],u+=c.t33l[h]}var d=a;if(t.count1table_select=0,a>u&&(d=u,t.count1table_select=1),t.count1bits=d,t.big_values=o,0==o)return d;if(t.block_type==l.SHORT_TYPE)(a=3*e.scalefac_band.s[3])>t.big_values&&(a=t.big_values),u=t.big_values;else if(t.block_type==l.NORM_TYPE){if(s(o<=576),a=t.region0_count=e.bv_scf[o-2],u=t.region1_count=e.bv_scf[o-1],s(a+u+2<l.SBPSY_l),u=e.scalefac_band.l[a+u+2],a=e.scalefac_band.l[a+1],u<o){var f=new n(d);t.table_select[2]=A(i,u,o,f),d=f.bits}}else t.region0_count=7,t.region1_count=l.SBMAX_l-1-7-1,(a=e.scalefac_band.l[8])>(u=o)&&(a=u);if(a=Math.min(a,o),u=Math.min(u,o),s(a>=0),s(u>=0),0<a&&(f=new n(d),t.table_select[0]=A(i,0,a,f),d=f.bits),a<u&&(f=new n(d),t.table_select[1]=A(i,a,u,f),d=f.bits),2==e.use_best_huffman&&(t.part2_3_length=d,best_huffman_divide(e,t),d=t.part2_3_length),null!=r&&t.block_type==l.NORM_TYPE){for(var p=0;e.scalefac_band.l[p]<t.big_values;)p++;r.sfb_count1=p}return d},this.count_bits=function(e,n,r,i){var a=r.l3_enc,c=h.IXMAX_VAL/t.IPOW20(r.global_gain);if(r.xrpow_max>c)return h.LARGE_BITS;if(function(e,n,r,i,a){var c,u,h,p=0,A=0,g=0,v=0,m=n,y=0,b=m,_=0,w=e,x=0;for(h=null!=a&&i.global_gain==a.global_gain,u=i.block_type==l.SHORT_TYPE?38:21,c=0;c<=u;c++){var C=-1;if((h||i.block_type==l.NORM_TYPE)&&(C=i.global_gain-(i.scalefac[c]+(0!=i.preflag?t.pretab[c]:0)<<i.scalefac_scale+1)-8*i.subblock_gain[i.window[c]]),s(i.width[c]>=0),h&&a.step[c]==C)0!=A&&(f(A,r,w,x,b,_),A=0),0!=g&&(d(g,r,w,x,b,_),g=0);else{var S,B=i.width[c];if(p+i.width[c]>i.max_nonzero_coeff&&(S=i.max_nonzero_coeff-p+1,o.fill(n,i.max_nonzero_coeff,576,0),(B=S)<0&&(B=0),c=u+1),0==A&&0==g&&(b=m,_=y,w=e,x=v),null!=a&&a.sfb_count1>0&&c>=a.sfb_count1&&a.step[c]>0&&C>=a.step[c]?(0!=A&&(f(A,r,w,x,b,_),A=0,b=m,_=y,w=e,x=v),g+=B):(0!=g&&(d(g,r,w,x,b,_),g=0,b=m,_=y,w=e,x=v),A+=B),B<=0){0!=g&&(d(g,r,w,x,b,_),g=0),0!=A&&(f(A,r,w,x,b,_),A=0);break}}c<=u&&(y+=i.width[c],v+=i.width[c],p+=i.width[c])}0!=A&&(f(A,r,w,x,b,_),A=0),0!=g&&(d(g,r,w,x,b,_),g=0)}(n,a,t.IPOW20(r.global_gain),r,i),0!=(2&e.substep_shaping))for(var u=0,p=r.global_gain+r.scalefac_scale,A=.634521682242439/t.IPOW20(p),g=0;g<r.sfbmax;g++){var v,m=r.width[g];if(s(m>=0),0==e.pseudohalf[g])u+=m;else for(v=u,u+=m;v<u;++v)a[v]=n[v]>=A?a[v]:0}return this.noquant_count_bits(e,r,i)},this.best_huffman_divide=function(e,t){var r=new u,i=t.l3_enc,o=a(23),d=a(23),f=a(23),p=a(23);if(t.block_type!=l.SHORT_TYPE||1!=e.mode_gr){r.assign(t),t.block_type==l.NORM_TYPE&&(function(e,t,r,i,o,a,s){for(var l=t.big_values,c=0;c<=22;c++)i[c]=h.LARGE_BITS;for(c=0;c<16;c++){var u=e.scalefac_band.l[c+1];if(u>=l)break;var d=0,f=new n(d),p=A(r,0,u,f);d=f.bits;for(var g=0;g<8;g++){var v=e.scalefac_band.l[c+g+2];if(v>=l)break;var m=d,y=A(r,u,v,f=new n(m));m=f.bits,i[c+g]>m&&(i[c+g]=m,o[c+g]=c,a[c+g]=p,s[c+g]=y)}}}(e,t,i,o,d,f,p),g(e,r,t,i,o,d,f,p));var v=r.big_values;if(!(0==v||(i[v-2]|i[v-1])>1||(v=t.count1+2)>576)){r.assign(t),r.count1=v;var m=0,y=0;for(s(v<=576);v>r.big_values;v-=4){var b=2*(2*(2*i[v-4]+i[v-3])+i[v-2])+i[v-1];m+=c.t32l[b],y+=c.t33l[b]}if(r.big_values=v,r.count1table_select=0,m>y&&(m=y,r.count1table_select=1),r.count1bits=m,r.block_type==l.NORM_TYPE)g(e,r,t,i,o,d,f,p);else{if(r.part2_3_length=m,(m=e.scalefac_band.l[8])>v&&(m=v),m>0){var _=new n(r.part2_3_length);r.table_select[0]=A(i,0,m,_),r.part2_3_length=_.bits}v>m&&(_=new n(r.part2_3_length),r.table_select[1]=A(i,m,v,_),r.part2_3_length=_.bits),t.part2_3_length>r.part2_3_length&&t.assign(r)}}}};var v=[1,1,1,1,8,2,2,2,4,4,4,8,8,8,16,16],m=[1,2,4,8,1,2,4,8,2,4,8,2,4,8,4,8],y=[0,0,0,0,3,1,1,1,2,2,2,3,3,3,4,4],b=[0,1,2,3,0,1,2,3,1,2,3,1,2,3,2,3];e.slen1_tab=y,e.slen2_tab=b,this.best_scalefac_store=function(e,n,r,i){var o,a,u,h,d=i.tt[n][r],f=0;for(u=0,o=0;o<d.sfbmax;o++){var p=d.width[o];for(s(p>=0),u+=p,h=-p;h<0&&0==d.l3_enc[h+u];h++);0==h&&(d.scalefac[o]=f=-2)}if(0==d.scalefac_scale&&0==d.preflag){var A=0;for(o=0;o<d.sfbmax;o++)d.scalefac[o]>0&&(A|=d.scalefac[o]);if(0==(1&A)&&0!=A){for(o=0;o<d.sfbmax;o++)d.scalefac[o]>0&&(d.scalefac[o]>>=1);d.scalefac_scale=f=1}}if(0==d.preflag&&d.block_type!=l.SHORT_TYPE&&2==e.mode_gr){for(o=11;o<l.SBPSY_l&&!(d.scalefac[o]<t.pretab[o]&&-2!=d.scalefac[o]);o++);if(o==l.SBPSY_l){for(o=11;o<l.SBPSY_l;o++)d.scalefac[o]>0&&(d.scalefac[o]-=t.pretab[o]);d.preflag=f=1}}for(a=0;a<4;a++)i.scfsi[r][a]=0;for(2==e.mode_gr&&1==n&&i.tt[0][r].block_type!=l.SHORT_TYPE&&i.tt[1][r].block_type!=l.SHORT_TYPE&&(function(e,t){for(var n,r=t.tt[1][e],i=t.tt[0][e],o=0;o<c.scfsi_band.length-1;o++){for(n=c.scfsi_band[o];n<c.scfsi_band[o+1]&&!(i.scalefac[n]!=r.scalefac[n]&&r.scalefac[n]>=0);n++);if(n==c.scfsi_band[o+1]){for(n=c.scfsi_band[o];n<c.scfsi_band[o+1];n++)r.scalefac[n]=-1;t.scfsi[e][o]=1}}var a=0,s=0;for(n=0;n<11;n++)-1!=r.scalefac[n]&&(s++,a<r.scalefac[n]&&(a=r.scalefac[n]));for(var u=0,h=0;n<l.SBPSY_l;n++)-1!=r.scalefac[n]&&(h++,u<r.scalefac[n]&&(u=r.scalefac[n]));for(o=0;o<16;o++)if(a<v[o]&&u<m[o]){var d=y[o]*s+b[o]*h;r.part2_length>d&&(r.part2_length=d,r.scalefac_compress=o)}}(r,i),f=0),o=0;o<d.sfbmax;o++)-2==d.scalefac[o]&&(d.scalefac[o]=0);0!=f&&(2==e.mode_gr?this.scale_bitcount(d):this.scale_bitcount_lsf(e,d))};var _=[0,18,36,54,54,36,54,72,54,72,90,72,90,108,108,126],w=[0,18,36,54,51,35,53,71,52,70,88,69,87,105,104,122],x=[0,10,20,30,33,21,31,41,32,42,52,43,53,63,64,74];this.scale_bitcount=function(e){var n,r,i,o=0,a=0,c=e.scalefac;if(s(function(e,t){for(var n=0;n<t;++n)if(e[n]<0)return!1;return!0}(c,e.sfbmax)),e.block_type==l.SHORT_TYPE)i=_,0!=e.mixed_block_flag&&(i=w);else if(i=x,0==e.preflag){for(r=11;r<l.SBPSY_l&&!(c[r]<t.pretab[r]);r++);if(r==l.SBPSY_l)for(e.preflag=1,r=11;r<l.SBPSY_l;r++)c[r]-=t.pretab[r]}for(r=0;r<e.sfbdivide;r++)o<c[r]&&(o=c[r]);for(;r<e.sfbmax;r++)a<c[r]&&(a=c[r]);for(e.part2_length=h.LARGE_BITS,n=0;n<16;n++)o<v[n]&&a<m[n]&&e.part2_length>i[n]&&(e.part2_length=i[n],e.scalefac_compress=n);return e.part2_length==h.LARGE_BITS};var C=[[15,15,7,7],[15,15,7,0],[7,3,0,0],[15,31,31,0],[7,7,7,0],[3,3,0,0]];this.scale_bitcount_lsf=function(e,n){var r,o,c,u,h,d,f,p,A=a(4),g=n.scalefac;for(r=0!=n.preflag?2:0,f=0;f<4;f++)A[f]=0;if(n.block_type==l.SHORT_TYPE){o=1;var v=t.nr_of_sfb_block[r][o];for(p=0,c=0;c<4;c++)for(u=v[c]/3,f=0;f<u;f++,p++)for(h=0;h<3;h++)g[3*p+h]>A[c]&&(A[c]=g[3*p+h])}else for(o=0,v=t.nr_of_sfb_block[r][o],p=0,c=0;c<4;c++)for(u=v[c],f=0;f<u;f++,p++)g[p]>A[c]&&(A[c]=g[p]);for(d=!1,c=0;c<4;c++)A[c]>C[r][c]&&(d=!0);if(!d){var m,y,b,_;for(n.sfb_partition_table=t.nr_of_sfb_block[r][o],c=0;c<4;c++)n.slen[c]=S[A[c]];switch(m=n.slen[0],y=n.slen[1],b=n.slen[2],_=n.slen[3],r){case 0:n.scalefac_compress=(5*m+y<<4)+(b<<2)+_;break;case 1:n.scalefac_compress=400+(5*m+y<<2)+b;break;case 2:n.scalefac_compress=500+3*m+y;break;default:i.err.printf("intensity stereo not implemented yet\n")}}if(!d)for(s(null!=n.sfb_partition_table),n.part2_length=0,c=0;c<4;c++)n.part2_length+=n.slen[c]*n.sfb_partition_table[c];return d};var S=[0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4];this.huffman_init=function(e){for(var t=2;t<=576;t+=2){for(var n,i=0;e.scalefac_band.l[++i]<t;);for(n=r[i][0];e.scalefac_band.l[n+1]>t;)n--;for(n<0&&(n=r[i][0]),e.bv_scf[t-2]=n,n=r[i][1];e.scalefac_band.l[n+e.bv_scf[t-2]+2]>t;)n--;n<0&&(n=r[i][1]),e.bv_scf[t-1]=n}}}},"1kS7":function(e,t){t.f=Object.getOwnPropertySymbols},"1oZe":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},"1xnL":function(e,t,n){var r=n("QG6P");e.exports=function(){this.thm=new r,this.en=new r}},"21It":function(e,t,n){"use strict";var r=n("FtD3");e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},"2KxR":function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},"2kvA":function(e,t,n){"use strict";t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.hasClass=p,t.addClass=function(e,t){if(!e)return;for(var n=e.className,r=(t||"").split(" "),i=0,o=r.length;i<o;i++){var a=r[i];a&&(e.classList?e.classList.add(a):p(e,a)||(n+=" "+a))}e.classList||(e.className=n)},t.removeClass=function(e,t){if(!e||!t)return;for(var n=t.split(" "),r=" "+e.className+" ",i=0,o=n.length;i<o;i++){var a=n[i];a&&(e.classList?e.classList.remove(a):p(e,a)&&(r=r.replace(" "+a+" "," ")))}e.classList||(e.className=u(r))},t.setStyle=function e(t,n,i){if(!t||!n)return;if("object"===(void 0===n?"undefined":r(n)))for(var o in n)n.hasOwnProperty(o)&&e(t,o,n[o]);else"opacity"===(n=h(n))&&c<9?t.style.filter=isNaN(i)?"":"alpha(opacity="+100*i+")":t.style[n]=i};var i,o=n("7+uW");var a=((i=o)&&i.__esModule?i:{default:i}).default.prototype.$isServer,s=/([\:\-\_]+(.))/g,l=/^moz([A-Z])/,c=a?0:Number(document.documentMode),u=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},h=function(e){return e.replace(s,function(e,t,n,r){return r?n.toUpperCase():n}).replace(l,"Moz$1")},d=t.on=!a&&document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!1)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)},f=t.off=!a&&document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!1)}:function(e,t,n){e&&t&&e.detachEvent("on"+t,n)};t.once=function(e,t,n){d(e,t,function r(){n&&n.apply(this,arguments),f(e,t,r)})};function p(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}var A=t.getStyle=c<9?function(e,t){if(!a){if(!e||!t)return null;"float"===(t=h(t))&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(e){return 1}default:return e.style[t]||e.currentStyle?e.currentStyle[t]:null}}catch(n){return e.style[t]}}}:function(e,t){if(!a){if(!e||!t)return null;"float"===(t=h(t))&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(n){return e.style[t]}}};var g=t.isScroll=function(e,t){if(!a)return A(e,null!==t||void 0!==t?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto)/)};t.getScrollContainer=function(e,t){if(!a){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(g(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(a||!e||!t)return!1;var n=e.getBoundingClientRect(),r=void 0;return r=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.top<r.bottom&&n.bottom>r.top&&n.right>r.left&&n.left<r.right}},"2rcl":function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r;function i(e){return["image/png","image/jpeg","image/gif"].some(t=>t===e)}n.r(t),n.d(t,"canvastoDataURL",function(){return a}),n.d(t,"canvastoFile",function(){return s}),n.d(t,"dataURLtoFile",function(){return c}),n.d(t,"dataURLtoImage",function(){return u}),n.d(t,"downloadFile",function(){return h}),n.d(t,"filetoDataURL",function(){return d}),n.d(t,"imagetoCanvas",function(){return p}),n.d(t,"urltoBlob",function(){return A}),n.d(t,"urltoImage",function(){return g}),n.d(t,"compress",function(){return m}),n.d(t,"compressAccurately",function(){return y}),n.d(t,"EImageType",function(){return r}),function(e){e.PNG="image/png",e.JPEG="image/jpeg",e.GIF="image/gif"}(r||(r={}));var o=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})};function a(e,t=.92,n=r.JPEG){return o(this,void 0,void 0,function*(){return i(n)||(n=r.JPEG),e.toDataURL(n,t)})}function s(e,t=.92,n=r.JPEG){return new Promise(r=>e.toBlob(e=>r(e),n,t))}var l=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})};function c(e,t){return l(this,void 0,void 0,function*(){const n=e.split(",");let r=n[0].match(/:(.*?);/)[1];const o=atob(n[1]);let a=o.length;const s=new Uint8Array(a);for(;a--;)s[a]=o.charCodeAt(a);return i(t)&&(r=t),new Blob([s],{type:r})})}function u(e){return new Promise((t,n)=>{const r=new Image;r.onload=(()=>t(r)),r.onerror=(()=>n(new Error("dataURLtoImage(): dataURL is illegal"))),r.src=e})}function h(e,t){const n=document.createElement("a");n.href=window.URL.createObjectURL(e),n.download=t||Date.now().toString(36),document.body.appendChild(n);const r=document.createEvent("MouseEvents");r.initEvent("click",!1,!1),n.dispatchEvent(r),document.body.removeChild(n)}function d(e){return new Promise(t=>{const n=new FileReader;n.onloadend=(e=>t(e.target.result)),n.readAsDataURL(e)})}var f=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})};function p(e,t={}){return f(this,void 0,void 0,function*(){const n=Object.assign({},t),r=document.createElement("canvas"),i=r.getContext("2d");let o,a;for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&(n[e]=Number(n[e]));if(n.scale){const t=n.scale>0&&n.scale<10?n.scale:1;a=e.width*t,o=e.height*t}else a=n.width||n.height*e.width/e.height||e.width,o=n.height||n.width*e.height/e.width||e.height;switch([5,6,7,8].some(e=>e===n.orientation)?(r.height=a,r.width=o):(r.height=o,r.width=a),n.orientation){case 3:i.rotate(180*Math.PI/180),i.drawImage(e,-r.width,-r.height,r.width,r.height);break;case 6:i.rotate(90*Math.PI/180),i.drawImage(e,0,-r.width,r.height,r.width);break;case 8:i.rotate(270*Math.PI/180),i.drawImage(e,-r.height,0,r.height,r.width);break;case 2:i.translate(r.width,0),i.scale(-1,1),i.drawImage(e,0,0,r.width,r.height);break;case 4:i.translate(r.width,0),i.scale(-1,1),i.rotate(180*Math.PI/180),i.drawImage(e,-r.width,-r.height,r.width,r.height);break;case 5:i.translate(r.width,0),i.scale(-1,1),i.rotate(90*Math.PI/180),i.drawImage(e,0,-r.width,r.height,r.width);break;case 7:i.translate(r.width,0),i.scale(-1,1),i.rotate(270*Math.PI/180),i.drawImage(e,-r.height,0,r.height,r.width);break;default:i.drawImage(e,0,0,r.width,r.height)}return r})}function A(e){return fetch(e).then(e=>e.blob())}function g(e){return new Promise((t,n)=>{const r=new Image;r.onload=(()=>t(r)),r.onerror=(()=>n(new Error("urltoImage(): Image failed to load, please check the image URL"))),r.src=e})}var v=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})};function m(e,t={}){return v(this,void 0,void 0,function*(){if(!(e instanceof Blob))throw new Error("compress(): First arg must be a Blob object or a File object.");if("object"!=typeof t&&(t=Object.assign({quality:t})),t.quality=Number(t.quality),Number.isNaN(t.quality))return e;const n=yield d(e);let o=n.split(",")[0].match(/:(.*?);/)[1],s=r.JPEG;i(t.type)&&(s=t.type,o=t.type);const l=yield c(yield a(yield p(yield u(n),Object.assign({},t)),t.quality,s),o);return l.size>e.size?e:l})}function y(e,t={}){return v(this,void 0,void 0,function*(){if(!(e instanceof Blob))throw new Error("compressAccurately(): First arg must be a Blob object or a File object.");if("object"!=typeof t&&(t=Object.assign({size:t})),t.size=Number(t.size),Number.isNaN(t.size))return e;if(1024*t.size>e.size)return e;t.accuracy=Number(t.accuracy),(!t.accuracy||t.accuracy<.8||t.accuracy>.99)&&(t.accuracy=.95);const n=t.size*(2-t.accuracy)*1024,o=1024*t.size,s=t.size*t.accuracy*1024,l=yield d(e);let h=l.split(",")[0].match(/:(.*?);/)[1],f=r.JPEG;i(t.type)&&(f=t.type,h=t.type);const A=yield p(yield u(l),Object.assign({},t));let g,v=.5;const m=[null,null];for(let e=1;e<=7;e++){const t=.75*(g=yield a(A,v,f)).length;if(7===e){(n<t||s>t)&&(g=[g,...m].filter(e=>e).sort((e,t)=>Math.abs(.75*e.length-o)-Math.abs(.75*t.length-o))[0]);break}if(n<t)m[1]=g,v-=Math.pow(.5,e+1);else{if(!(s>t))break;m[0]=g,v+=Math.pow(.5,e+1)}}const y=yield c(g,h);return y.size>e.size?e:y})}}])},e.exports=r()},"3Eo+":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"3a40":function(e,t){!function(e){"use strict";var t=e.jsMind;if(t&&void 0===t.screenshot){var n=e.document,r=function(e){return n.createElement(e)},i=function(e,t){return e.getPropertyValue(t)},o=function(e){var t=i(e,"visibility"),n=i(e,"display");return"hidden"!==t&&"none"!==n},a={rect:function(e,t,n,r,i,o){r<2*o&&(o=r/2),i<2*o&&(o=i/2),e.moveTo(t+o,n),e.arcTo(t+r,n,t+r,n+i,o),e.arcTo(t+r,n+i,t,n+i,o),e.arcTo(t,n+i,t,n,o),e.arcTo(t,n,t+r,n,o)},text_multiline:function(e,t,n,r,i,o,a){var s="",l=t.length,c=t.split(""),u=null;e.textAlign="left",e.textBaseline="top";for(var h=0;h<l;h++)u=s+c[h],e.measureText(u).width>i&&h>0?(e.fillText(s,n,r),s=c[h],r+=a):s=u;e.fillText(s,n,r)},text_ellipsis:function(e,t,n,r,i,o){var s=r+o/2;t=a.fittingString(e,t,i);e.textAlign="left",e.textBaseline="middle",e.fillText(t,n,s,i)},fittingString:function(e,t,n){var r=e.measureText(t).width,i=e.measureText("…").width;if(r<=n||r<=i)return t;for(var o=t.length;r>=n-i&&o-- >0;)t=t.substring(0,o),r=e.measureText(t).width;return t+"…"},image:function(e,t,n,r,i,o,s,l,c){var u=new Image;u.onload=function(){e.save(),e.translate(n,r),e.save(),e.beginPath(),a.rect(e,0,0,i,o,s),e.closePath(),e.clip(),e.translate(i/2,o/2),e.rotate(l*Math.PI/180),e.drawImage(u,-i/2,-o/2),e.restore(),e.restore(),c&&c()},u.src=t}};t.screenshot=function(e){this.jm=e,this.canvas_elem=null,this.canvas_ctx=null,this._inited=!1},t.screenshot.prototype={init:function(){if(!this._inited){console.log("init");var e=r("canvas"),t=e.getContext("2d");this.canvas_elem=e,this.canvas_ctx=t,this.jm.view.e_panel.appendChild(e),this._inited=!0,this.resize()}},shoot:function(e){this.init(),this._draw(function(){e&&e(),this.clean()}.bind(this)),this._watermark()},shootDownload:function(){this.shoot(function(){this._download()}.bind(this))},shootAsDataURL:function(e){this.shoot(function(){e&&e(this.canvas_elem.toDataURL())}.bind(this))},resize:function(){this._inited&&(this.canvas_elem.width=this.jm.view.size.w,this.canvas_elem.height=this.jm.view.size.h)},clean:function(){var e=this.canvas_elem;this.canvas_ctx.clearRect(0,0,e.width,e.height)},_draw:function(e){var t=this.canvas_ctx;t.textAlign="left",t.textBaseline="top",this._draw_lines(function(){this._draw_nodes(e)}.bind(this))},_watermark:function(){var t=this.canvas_elem,n=this.canvas_ctx;n.textAlign="right",n.textBaseline="bottom",n.fillStyle="#000",n.font="11px Verdana,Arial,Helvetica,sans-serif",n.fillText("hizzgdev.github.io/jsmind",t.width-5.5,t.height-2.5),n.textAlign="left",n.fillText(e.location,5.5,t.height-2.5)},_draw_lines:function(e){this.jm.view.graph.copy_to(this.canvas_ctx,e)},_draw_nodes:function(t){var n,r=this.jm.mind.nodes;for(var i in r)n=r[i],this._draw_node(n);!function i(){console.log("check_node_ready"+new Date);var o=!0;for(var a in r)o&=(n=r[a]).ready;o?e.setTimeout(t,200):e.setTimeout(i,200)}()},_draw_node:function(e){var t=this.canvas_ctx,n=e._data.view,r=n.element,s=getComputedStyle(r);if(o(s)){var l=i(s,"background-color"),c=parseInt(i(s,"border-top-left-radius")),u=i(s,"color"),h=parseInt(i(s,"padding-left")),d=parseInt(i(s,"padding-right")),f=parseInt(i(s,"padding-top")),p=parseInt(i(s,"padding-bottom")),A=i(s,"text-overflow"),g=i(s,"font-style")+" "+i(s,"font-variant")+" "+i(s,"font-weight")+" "+i(s,"font-size")+"/"+i(s,"line-height")+" "+i(s,"font-family"),v={x:n.abs_x,y:n.abs_y,w:n.width+1,h:n.height+1},m={x:v.x+h,y:v.y+f,w:v.w-h-d,h:v.h-f-p};if(t.font=g,t.fillStyle=l,t.beginPath(),a.rect(t,v.x,v.y,v.w,v.h,c),t.closePath(),t.fill(),t.fillStyle=u,"background-image"in e.data){var y=i(s,"background-image").slice(5,-2);e.ready=!1;var b=0;"background-rotation"in e.data&&(b=e.data["background-rotation"]),a.image(t,y,v.x,v.y,v.w,v.h,c,b,function(){e.ready=!0})}if(e.topic)if("ellipsis"===A)a.text_ellipsis(t,e.topic,m.x,m.y,m.w,m.h);else{var _=parseInt(i(s,"line-height"));a.text_multiline(t,e.topic,m.x,m.y,m.w,m.h,_)}n.expander&&this._draw_expander(n.expander),"background-image"in e.data||(e.ready=!0)}else e.ready=!0},_draw_expander:function(e){var t=this.canvas_ctx,n=getComputedStyle(e);if(o(n)){var r=i(n,"left"),a=i(n,"top"),s=(i(n,"font"),parseInt(r)),l=parseInt(a),c="+"===e.innerHTML;t.lineWidth=1,t.beginPath(),t.arc(s+7,l+7,5,0,2*Math.PI,!0),t.moveTo(s+10,l+7),t.lineTo(s+4,l+7),c&&(t.moveTo(s+7,l+4),t.lineTo(s+7,l+10)),t.closePath(),t.stroke()}},_download:function(){var e=this.canvas_elem,t=this.jm.mind.name+".png";if(navigator.msSaveBlob&&e.msToBlob){var i=e.msToBlob();navigator.msSaveBlob(i,t)}else{var o=this.canvas_elem.toDataURL(),a=r("a");if("download"in a){a.style.visibility="hidden",a.href=o,a.download=t,n.body.appendChild(a);var s=n.createEvent("MouseEvents");s.initEvent("click",!0,!0),a.dispatchEvent(s),n.body.removeChild(a)}else location.href=o}},jm_event_handle:function(e,n){e===t.event_type.resize&&this.resize()}};var s=new t.plugin("screenshot",function(e){var n=new t.screenshot(e);e.screenshot=n,e.shoot=function(){n.shoot()},e.add_event_listener(function(e,t){n.jm_event_handle.call(n,e,t)})});t.register_plugin(s)}}(window)},"3fo+":function(e,t,n){e.exports=n("YAhB")},"3fs2":function(e,t,n){var r=n("RY/4"),i=n("dSzd")("iterator"),o=n("/bQp");e.exports=n("FeBl").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},"4WTo":function(e,t,n){var r=n("NWt+");e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},"4mcu":function(e,t){e.exports=function(){}},"52gC":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"5PlU":function(e,t,n){var r=n("RY/4"),i=n("dSzd")("iterator"),o=n("/bQp");e.exports=n("FeBl").isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},"5QVw":function(e,t,n){e.exports={default:n("BwfY"),__esModule:!0}},"5VQ+":function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},"5zde":function(e,t,n){n("zQR9"),n("qyJz"),e.exports=n("FeBl").Array.from},"6Twh":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(){if(o.default.prototype.$isServer)return 0;if(void 0!==a)return a;var e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),a=t-r};var r,i=n("7+uW"),o=(r=i)&&r.__esModule?r:{default:r};var a=void 0},"7+uW":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){
- /*!
- * Vue.js v2.6.12
- * (c) 2014-2020 Evan You
- * Released under the MIT License.
- */
- var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function c(e){return"[object Object]"===l.call(e)}function u(e){return"[object RegExp]"===l.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function A(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var g=A("slot,component",!0),v=A("key,ref,slot,slot-scope,is");function m(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(e,t){return y.call(e,t)}function _(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var w=/-(\w)/g,x=_(function(e){return e.replace(w,function(e,t){return t?t.toUpperCase():""})}),C=_(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),S=/\B([A-Z])/g,B=_(function(e){return e.replace(S,"-$1").toLowerCase()});var k=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function T(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function E(e,t){for(var n in t)e[n]=t[n];return e}function M(e){for(var t={},n=0;n<e.length;n++)e[n]&&E(t,e[n]);return t}function D(e,t,n){}var O=function(e,t,n){return!1},I=function(e){return e};function L(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every(function(e,n){return L(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),l=Object.keys(t);return a.length===l.length&&a.every(function(n){return L(e[n],t[n])})}catch(e){return!1}}function P(e,t){for(var n=0;n<e.length;n++)if(L(e[n],t))return n;return-1}function F(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var R="data-server-rendered",N=["component","directive","filter"],H=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],j={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:O,isReservedAttr:O,isUnknownElement:O,getTagNamespace:D,parsePlatformTagName:I,mustUseProp:O,async:!0,_lifecycleHooks:H},U=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Q(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function z(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Y=new RegExp("[^"+U.source+".$_\\d]");var V,G="__proto__"in{},W="undefined"!=typeof window,X="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Z=X&&WXEnvironment.platform.toLowerCase(),$=W&&window.navigator.userAgent.toLowerCase(),K=$&&/msie|trident/.test($),J=$&&$.indexOf("msie 9.0")>0,q=$&&$.indexOf("edge/")>0,ee=($&&$.indexOf("android"),$&&/iphone|ipad|ipod|ios/.test($)||"ios"===Z),te=($&&/chrome\/\d+/.test($),$&&/phantomjs/.test($),$&&$.match(/firefox\/(\d+)/)),ne={}.watch,re=!1;if(W)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){re=!0}}),window.addEventListener("test-passive",null,ie)}catch(e){}var oe=function(){return void 0===V&&(V=!W&&!X&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),V},ae=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var le,ce="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);le="undefined"!=typeof Set&&se(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue=D,he=0,de=function(){this.id=he++,this.subs=[]};de.prototype.addSub=function(e){this.subs.push(e)},de.prototype.removeSub=function(e){m(this.subs,e)},de.prototype.depend=function(){de.target&&de.target.addDep(this)},de.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},de.target=null;var fe=[];function pe(e){fe.push(e),de.target=e}function Ae(){fe.pop(),de.target=fe[fe.length-1]}var ge=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ve={child:{configurable:!0}};ve.child.get=function(){return this.componentInstance},Object.defineProperties(ge.prototype,ve);var me=function(e){void 0===e&&(e="");var t=new ge;return t.text=e,t.isComment=!0,t};function ye(e){return new ge(void 0,void 0,void 0,String(e))}function be(e){var t=new ge(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var _e=Array.prototype,we=Object.create(_e);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=_e[e];z(we,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})});var xe=Object.getOwnPropertyNames(we),Ce=!0;function Se(e){Ce=e}var Be=function(e){var t;this.value=e,this.dep=new de,this.vmCount=0,z(e,"__ob__",this),Array.isArray(e)?(G?(t=we,e.__proto__=t):function(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];z(e,o,t[o])}}(e,we,xe),this.observeArray(e)):this.walk(e)};function ke(e,t){var n;if(s(e)&&!(e instanceof ge))return b(e,"__ob__")&&e.__ob__ instanceof Be?n=e.__ob__:Ce&&!oe()&&(Array.isArray(e)||c(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Be(e)),t&&n&&n.vmCount++,n}function Te(e,t,n,r,i){var o=new de,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!i&&ke(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return de.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,r=0,i=t.length;r<i;r++)(n=t[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!=t&&r!=r||s&&!l||(l?l.call(e,t):n=t,c=!i&&ke(t),o.notify())}})}}function Ee(e,t,n){if(Array.isArray(e)&&h(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Te(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Me(e,t){if(Array.isArray(e)&&h(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||b(e,t)&&(delete e[t],n&&n.dep.notify())}}Be.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Te(e,t[n])},Be.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)ke(e[t])};var De=j.optionMergeStrategies;function Oe(e,t){if(!t)return e;for(var n,r,i,o=ce?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(r=e[n],i=t[n],b(e,n)?r!==i&&c(r)&&c(i)&&Oe(r,i):Ee(e,n,i));return e}function Ie(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,i="function"==typeof e?e.call(n,n):e;return r?Oe(r,i):i}:t?e?function(){return Oe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Le(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Pe(e,t,n,r){var i=Object.create(e||null);return t?E(i,t):i}De.data=function(e,t,n){return n?Ie(e,t,n):t&&"function"!=typeof t?e:Ie(e,t)},H.forEach(function(e){De[e]=Le}),N.forEach(function(e){De[e+"s"]=Pe}),De.watch=function(e,t,n,r){if(e===ne&&(e=void 0),t===ne&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in E(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},De.props=De.methods=De.inject=De.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return E(i,e),t&&E(i,t),i},De.provide=Ie;var Fe=function(e,t){return void 0===t?e:t};function Re(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[x(i)]={type:null});else if(c(n))for(var a in n)i=n[a],o[x(a)]=c(i)?i:{type:i};e.props=o}}(t),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(c(n))for(var o in n){var a=n[o];r[o]=c(a)?E({from:o},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=Re(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=Re(e,t.mixins[r],n);var o,a={};for(o in e)s(o);for(o in t)b(e,o)||s(o);function s(r){var i=De[r]||Fe;a[r]=i(e[r],t[r],n,r)}return a}function Ne(e,t,n,r){if("string"==typeof n){var i=e[t];if(b(i,n))return i[n];var o=x(n);if(b(i,o))return i[o];var a=C(o);return b(i,a)?i[a]:i[n]||i[o]||i[a]}}function He(e,t,n,r){var i=t[e],o=!b(n,e),a=n[e],s=Qe(Boolean,i.type);if(s>-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===B(e)){var l=Qe(String,i.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!b(t,"default"))return;var r=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof r&&"Function"!==je(t.type)?r.call(e):r}(r,i,e);var c=Ce;Se(!0),ke(a),Se(c)}return a}function je(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ue(e,t){return je(e)===je(t)}function Qe(e,t){if(!Array.isArray(t))return Ue(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Ue(t[n],e))return n;return-1}function ze(e,t,n){pe();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(e){Ve(e,r,"errorCaptured hook")}}Ve(e,t,n)}finally{Ae()}}function Ye(e,t,n,r,i){var o;try{(o=n?e.apply(t,n):e.call(t))&&!o._isVue&&d(o)&&!o._handled&&(o.catch(function(e){return ze(e,r,i+" (Promise/async)")}),o._handled=!0)}catch(e){ze(e,r,i)}return o}function Ve(e,t,n){if(j.errorHandler)try{return j.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Ge(t,null,"config.errorHandler")}Ge(e,t,n)}function Ge(e,t,n){if(!W&&!X||"undefined"==typeof console)throw e;console.error(e)}var We,Xe=!1,Ze=[],$e=!1;function Ke(){$e=!1;var e=Ze.slice(0);Ze.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&se(Promise)){var Je=Promise.resolve();We=function(){Je.then(Ke),ee&&setTimeout(D)},Xe=!0}else if(K||"undefined"==typeof MutationObserver||!se(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())We="undefined"!=typeof setImmediate&&se(setImmediate)?function(){setImmediate(Ke)}:function(){setTimeout(Ke,0)};else{var qe=1,et=new MutationObserver(Ke),tt=document.createTextNode(String(qe));et.observe(tt,{characterData:!0}),We=function(){qe=(qe+1)%2,tt.data=String(qe)},Xe=!0}function nt(e,t){var n;if(Ze.push(function(){if(e)try{e.call(t)}catch(e){ze(e,t,"nextTick")}else n&&n(t)}),$e||($e=!0,We()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var rt=new le;function it(e){!function e(t,n){var r,i;var o=Array.isArray(t);if(!o&&!s(t)||Object.isFrozen(t)||t instanceof ge)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=t.length;r--;)e(t[r],n);else for(i=Object.keys(t),r=i.length;r--;)e(t[i[r]],n)}(e,rt),rt.clear()}var ot=_(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function at(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return Ye(r,null,arguments,t,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)Ye(i[o],null,e,t,"v-on handler")}return n.fns=e,n}function st(e,t,n,i,a,s){var l,c,u,h;for(l in e)c=e[l],u=t[l],h=ot(l),r(c)||(r(u)?(r(c.fns)&&(c=e[l]=at(c,s)),o(h.once)&&(c=e[l]=a(h.name,c,h.capture)),n(h.name,c,h.capture,h.passive,h.params)):c!==u&&(u.fns=c,e[l]=u));for(l in t)r(e[l])&&i((h=ot(l)).name,t[l],h.capture)}function lt(e,t,n){var a;e instanceof ge&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function l(){n.apply(this,arguments),m(a.fns,l)}r(s)?a=at([l]):i(s.fns)&&o(s.merged)?(a=s).fns.push(l):a=at([s,l]),a.merged=!0,e[t]=a}function ct(e,t,n,r,o){if(i(t)){if(b(t,n))return e[n]=t[n],o||delete t[n],!0;if(b(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function ut(e){return a(e)?[ye(e)]:Array.isArray(e)?function e(t,n){var s=[];var l,c,u,h;for(l=0;l<t.length;l++)r(c=t[l])||"boolean"==typeof c||(u=s.length-1,h=s[u],Array.isArray(c)?c.length>0&&(ht((c=e(c,(n||"")+"_"+l))[0])&&ht(h)&&(s[u]=ye(h.text+c[0].text),c.shift()),s.push.apply(s,c)):a(c)?ht(h)?s[u]=ye(h.text+c):""!==c&&s.push(ye(c)):ht(c)&&ht(h)?s[u]=ye(h.text+c.text):(o(t._isVList)&&i(c.tag)&&r(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+l+"__"),s.push(c)));return s}(e):void 0}function ht(e){return i(e)&&i(e.text)&&!1===e.isComment}function dt(e,t){if(e){for(var n=Object.create(null),r=ce?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&b(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var l=e[o].default;n[o]="function"==typeof l?l.call(t):l}else 0}}return n}}function ft(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(pt)&&delete n[c];return n}function pt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function At(e,t,r){var i,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=gt(t,l,e[l]))}else i={};for(var c in t)c in i||(i[c]=vt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=i),z(i,"$stable",a),z(i,"$key",s),z(i,"$hasNormal",o),i}function gt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ut(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function vt(e,t){return function(){return e[t]}}function mt(e,t){var n,r,o,a,l;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,o=e.length;r<o;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(s(e))if(ce&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)n.push(t(u.value,n.length)),u=c.next()}else for(a=Object.keys(e),n=new Array(a.length),r=0,o=a.length;r<o;r++)l=a[r],n[r]=t(e[l],l,r);return i(n)||(n=[]),n._isVList=!0,n}function yt(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=E(E({},r),n)),i=o(n)||t):i=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function bt(e){return Ne(this.$options,"filters",e)||I}function _t(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function wt(e,t,n,r,i){var o=j.keyCodes[t]||n;return i&&r&&!j.keyCodes[t]?_t(i,r):o?_t(o,e):r?B(r)!==t:void 0}function xt(e,t,n,r,i){if(n)if(s(n)){var o;Array.isArray(n)&&(n=M(n));var a=function(a){if("class"===a||"style"===a||v(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||j.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=x(a),c=B(a);l in o||c in o||(o[a]=n[a],i&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var l in n)a(l)}else;return e}function Ct(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t?r:(Bt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r)}function St(e,t,n){return Bt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Bt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&kt(e[r],t+"_"+r,n);else kt(e,t,n)}function kt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Tt(e,t){if(t)if(c(t)){var n=e.on=e.on?E({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function Et(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?Et(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return r&&(t.$key=r),t}function Mt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Dt(e,t){return"string"==typeof e?t+e:e}function Ot(e){e._o=St,e._n=p,e._s=f,e._l=mt,e._t=yt,e._q=L,e._i=P,e._m=Ct,e._f=bt,e._k=wt,e._b=xt,e._v=ye,e._e=me,e._u=Et,e._g=Tt,e._d=Mt,e._p=Dt}function It(e,t,r,i,a){var s,l=this,c=a.options;b(i,"_uid")?(s=Object.create(i))._original=i:(s=i,i=i._original);var u=o(c._compiled),h=!u;this.data=e,this.props=t,this.children=r,this.parent=i,this.listeners=e.on||n,this.injections=dt(c.inject,i),this.slots=function(){return l.$slots||At(e.scopedSlots,l.$slots=ft(r,i)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return At(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=At(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,r){var o=Qt(s,e,t,n,r,h);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=i),o}:this._c=function(e,t,n,r){return Qt(s,e,t,n,r,h)}}function Lt(e,t,n,r,i){var o=be(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Pt(e,t){for(var n in t)e[x(n)]=t[n]}Ot(It.prototype);var Ft={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Ft.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,Jt)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var r=t.componentOptions;!function(e,t,r,i,o){0;var a=i.data.scopedSlots,s=e.$scopedSlots,l=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),c=!!(o||e.$options._renderChildren||l);e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i);if(e.$options._renderChildren=o,e.$attrs=i.data.attrs||n,e.$listeners=r||n,t&&e.$options.props){Se(!1);for(var u=e._props,h=e.$options._propKeys||[],d=0;d<h.length;d++){var f=h[d],p=e.$options.props;u[f]=He(f,p,t,e)}Se(!0),e.$options.propsData=t}r=r||n;var A=e.$options._parentListeners;e.$options._parentListeners=r,Kt(e,r,A),c&&(e.$slots=ft(o,i.context),e.$forceUpdate());0}(t.componentInstance=e.componentInstance,r.propsData,r.listeners,t,r.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,nn(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,on.push(t)):tn(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(n&&(t._directInactive=!0,en(t)))return;if(!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);nn(t,"deactivated")}}(t,!0):t.$destroy())}},Rt=Object.keys(Ft);function Nt(e,t,a,l,c){if(!r(e)){var u=a.$options._base;if(s(e)&&(e=u.extend(e)),"function"==typeof e){var h;if(r(e.cid)&&void 0===(e=function(e,t){if(o(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var n=Yt;n&&i(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(o(e.loading)&&i(e.loadingComp))return e.loadingComp;if(n&&!i(e.owners)){var a=e.owners=[n],l=!0,c=null,u=null;n.$on("hook:destroyed",function(){return m(a,n)});var h=function(e){for(var t=0,n=a.length;t<n;t++)a[t].$forceUpdate();e&&(a.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},f=F(function(n){e.resolved=Vt(n,t),l?a.length=0:h(!0)}),p=F(function(t){i(e.errorComp)&&(e.error=!0,h(!0))}),A=e(f,p);return s(A)&&(d(A)?r(e.resolved)&&A.then(f,p):d(A.component)&&(A.component.then(f,p),i(A.error)&&(e.errorComp=Vt(A.error,t)),i(A.loading)&&(e.loadingComp=Vt(A.loading,t),0===A.delay?e.loading=!0:c=setTimeout(function(){c=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,h(!1))},A.delay||200)),i(A.timeout)&&(u=setTimeout(function(){u=null,r(e.resolved)&&p(null)},A.timeout)))),l=!1,e.loading?e.loadingComp:e.resolved}}(h=e,u)))return function(e,t,n,r,i){var o=me();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}(h,t,a,l,c);t=t||{},Sn(e),i(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[r],s=t.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[r]=[s].concat(a)):o[r]=s}(e.options,t);var f=function(e,t,n){var o=t.options.props;if(!r(o)){var a={},s=e.attrs,l=e.props;if(i(s)||i(l))for(var c in o){var u=B(c);ct(a,l,c,u,!0)||ct(a,s,c,u,!1)}return a}}(t,e);if(o(e.options.functional))return function(e,t,r,o,a){var s=e.options,l={},c=s.props;if(i(c))for(var u in c)l[u]=He(u,c,t||n);else i(r.attrs)&&Pt(l,r.attrs),i(r.props)&&Pt(l,r.props);var h=new It(r,l,a,o,e),d=s.render.call(null,h._c,h);if(d instanceof ge)return Lt(d,r,h.parent,s);if(Array.isArray(d)){for(var f=ut(d)||[],p=new Array(f.length),A=0;A<f.length;A++)p[A]=Lt(f[A],r,h.parent,s);return p}}(e,f,t,a,l);var p=t.on;if(t.on=t.nativeOn,o(e.options.abstract)){var A=t.slot;t={},A&&(t.slot=A)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Rt.length;n++){var r=Rt[n],i=t[r],o=Ft[r];i===o||i&&i._merged||(t[r]=i?Ht(o,i):o)}}(t);var g=e.options.name||c;return new ge("vue-component-"+e.cid+(g?"-"+g:""),t,void 0,void 0,void 0,a,{Ctor:e,propsData:f,listeners:p,tag:c,children:l},h)}}}function Ht(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var jt=1,Ut=2;function Qt(e,t,n,l,c,u){return(Array.isArray(n)||a(n))&&(c=l,l=n,n=void 0),o(u)&&(c=Ut),function(e,t,n,a,l){if(i(n)&&i(n.__ob__))return me();i(n)&&i(n.is)&&(t=n.is);if(!t)return me();0;Array.isArray(a)&&"function"==typeof a[0]&&((n=n||{}).scopedSlots={default:a[0]},a.length=0);l===Ut?a=ut(a):l===jt&&(a=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(a));var c,u;if("string"==typeof t){var h;u=e.$vnode&&e.$vnode.ns||j.getTagNamespace(t),c=j.isReservedTag(t)?new ge(j.parsePlatformTagName(t),n,a,void 0,void 0,e):n&&n.pre||!i(h=Ne(e.$options,"components",t))?new ge(t,n,a,void 0,void 0,e):Nt(h,n,e,a,t)}else c=Nt(t,n,e,a);return Array.isArray(c)?c:i(c)?(i(u)&&function e(t,n,a){t.ns=n;"foreignObject"===t.tag&&(n=void 0,a=!0);if(i(t.children))for(var s=0,l=t.children.length;s<l;s++){var c=t.children[s];i(c.tag)&&(r(c.ns)||o(a)&&"svg"!==c.tag)&&e(c,n,a)}}(c,u),i(n)&&function(e){s(e.style)&&it(e.style);s(e.class)&&it(e.class)}(n),c):me()}(e,t,n,l,c)}var zt,Yt=null;function Vt(e,t){return(e.__esModule||ce&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function Gt(e){return e.isComment&&e.asyncFactory}function Wt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(i(n)&&(i(n.componentOptions)||Gt(n)))return n}}function Xt(e,t){zt.$on(e,t)}function Zt(e,t){zt.$off(e,t)}function $t(e,t){var n=zt;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function Kt(e,t,n){zt=e,st(t,n||{},Xt,Zt,$t,e),zt=void 0}var Jt=null;function qt(e){var t=Jt;return Jt=e,function(){Jt=t}}function en(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function tn(e,t){if(t){if(e._directInactive=!1,en(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)tn(e.$children[n]);nn(e,"activated")}}function nn(e,t){pe();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,o=n.length;i<o;i++)Ye(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),Ae()}var rn=[],on=[],an={},sn=!1,ln=!1,cn=0;var un=0,hn=Date.now;if(W&&!K){var dn=window.performance;dn&&"function"==typeof dn.now&&hn()>document.createEvent("Event").timeStamp&&(hn=function(){return dn.now()})}function fn(){var e,t;for(un=hn(),ln=!0,rn.sort(function(e,t){return e.id-t.id}),cn=0;cn<rn.length;cn++)(e=rn[cn]).before&&e.before(),t=e.id,an[t]=null,e.run();var n=on.slice(),r=rn.slice();cn=rn.length=on.length=0,an={},sn=ln=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,tn(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&nn(r,"updated")}}(r),ae&&j.devtools&&ae.emit("flush")}var pn=0,An=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++pn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new le,this.newDepIds=new le,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!Y.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()};An.prototype.get=function(){var e;pe(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;ze(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&it(e),Ae(),this.cleanupDeps()}return e},An.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},An.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},An.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==an[t]){if(an[t]=!0,ln){for(var n=rn.length-1;n>cn&&rn[n].id>e.id;)n--;rn.splice(n+1,0,e)}else rn.push(e);sn||(sn=!0,nt(fn))}}(this)},An.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){ze(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},An.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},An.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},An.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var gn={enumerable:!0,configurable:!0,get:D,set:D};function vn(e,t,n){gn.get=function(){return this[t][n]},gn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,gn)}function mn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Se(!1);var a=function(o){i.push(o);var a=He(o,t,n,e);Te(r,o,a),o in e||vn(e,"_props",o)};for(var s in t)a(s);Se(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?D:k(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;c(t=e._data="function"==typeof t?function(e,t){pe();try{return e.call(t,t)}catch(e){return ze(e,t,"data()"),{}}finally{Ae()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&b(r,o)||Q(o)||vn(e,"_data",o)}ke(t,!0)}(e):ke(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=oe();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new An(e,a||D,D,yn)),i in e||bn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==ne&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)xn(e,n,r[i]);else xn(e,n,r)}}(e,t.watch)}var yn={lazy:!0};function bn(e,t,n){var r=!oe();"function"==typeof n?(gn.get=r?_n(t):wn(n),gn.set=D):(gn.get=n.get?r&&!1!==n.cache?_n(t):wn(n.get):D,gn.set=n.set||D),Object.defineProperty(e,t,gn)}function _n(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),de.target&&t.depend(),t.value}}function wn(e){return function(){return e.call(this,this)}}function xn(e,t,n,r){return c(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var Cn=0;function Sn(e){var t=e.options;if(e.super){var n=Sn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);r&&E(e.extendOptions,r),(t=e.options=Re(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Bn(e){this._init(e)}function kn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=Re(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)vn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)bn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,N.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=E({},a.options),i[r]=a,a}}function Tn(e){return e&&(e.Ctor.options.name||e.tag)}function En(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function Mn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Tn(a.componentOptions);s&&!t(s)&&Dn(n,o,r,i)}}}function Dn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,m(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=Cn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Re(Sn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Kt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,i=r&&r.context;e.$slots=ft(t._renderChildren,i),e.$scopedSlots=n,e._c=function(t,n,r,i){return Qt(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Qt(e,t,n,r,i,!0)};var o=r&&r.data;Te(e,"$attrs",o&&o.attrs||n,null,!0),Te(e,"$listeners",t._parentListeners||n,null,!0)}(t),nn(t,"beforeCreate"),function(e){var t=dt(e.$options.inject,e);t&&(Se(!1),Object.keys(t).forEach(function(n){Te(e,n,t[n])}),Se(!0))}(t),mn(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),nn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(Bn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ee,e.prototype.$delete=Me,e.prototype.$watch=function(e,t,n){if(c(t))return xn(this,e,t,n);(n=n||{}).user=!0;var r=new An(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){ze(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Bn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((o=a[s])===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?T(n):n;for(var r=T(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;o<a;o++)Ye(n[o],t,r,t,i)}return t}}(Bn),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=qt(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){nn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||m(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),nn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(Bn),function(e){Ot(e.prototype),e.prototype.$nextTick=function(e){return nt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=At(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{Yt=t,e=r.call(t._renderProxy,t.$createElement)}catch(n){ze(n,t,"render"),e=t._vnode}finally{Yt=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof ge||(e=me()),e.parent=i,e}}(Bn);var On=[String,RegExp,Array],In={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:On,exclude:On,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Dn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){Mn(e,function(e){return En(t,e)})}),this.$watch("exclude",function(t){Mn(e,function(e){return!En(t,e)})})},render:function(){var e=this.$slots.default,t=Wt(e),n=t&&t.componentOptions;if(n){var r=Tn(n),i=this.include,o=this.exclude;if(i&&(!r||!En(i,r))||o&&r&&En(o,r))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,m(s,l),s.push(l)):(a[l]=t,s.push(l),this.max&&s.length>parseInt(this.max)&&Dn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return j}};Object.defineProperty(e,"config",t),e.util={warn:ue,extend:E,mergeOptions:Re,defineReactive:Te},e.set=Ee,e.delete=Me,e.nextTick=nt,e.observable=function(e){return ke(e),e},e.options=Object.create(null),N.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,E(e.options.components,In),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Re(this.options,e),this}}(e),kn(e),function(e){N.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(Bn),Object.defineProperty(Bn.prototype,"$isServer",{get:oe}),Object.defineProperty(Bn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Bn,"FunctionalRenderContext",{value:It}),Bn.version="2.6.12";var Ln=A("style,class"),Pn=A("input,textarea,option,select,progress"),Fn=function(e,t,n){return"value"===n&&Pn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Rn=A("contenteditable,draggable,spellcheck"),Nn=A("events,caret,typing,plaintext-only"),Hn=function(e,t){return Yn(t)||"false"===t?"false":"contenteditable"===e&&Nn(t)?t:"true"},jn=A("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Un="http://www.w3.org/1999/xlink",Qn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},zn=function(e){return Qn(e)?e.slice(6,e.length):""},Yn=function(e){return null==e||!1===e};function Vn(e){for(var t=e.data,n=e,r=e;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Gn(r.data,t));for(;i(n=n.parent);)n&&n.data&&(t=Gn(t,n.data));return function(e,t){if(i(e)||i(t))return Wn(e,Xn(t));return""}(t.staticClass,t.class)}function Gn(e,t){return{staticClass:Wn(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Wn(e,t){return e?t?e+" "+t:e:t||""}function Xn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r<o;r++)i(t=Xn(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):s(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Zn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},$n=A("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Kn=A("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Jn=function(e){return $n(e)||Kn(e)};function qn(e){return Kn(e)?"svg":"math"===e?"math":void 0}var er=Object.create(null);var tr=A("text,number,password,search,email,tel,url");function nr(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}var rr=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(Zn[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),ir={create:function(e,t){or(t)},update:function(e,t){e.data.ref!==t.data.ref&&(or(e,!0),or(t))},destroy:function(e){or(e,!0)}};function or(e,t){var n=e.data.ref;if(i(n)){var r=e.context,o=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?m(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var ar=new ge("",{},[]),sr=["create","activate","update","remove","destroy"];function lr(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,o=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===o||tr(r)&&tr(o)}(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function cr(e,t,n){var r,o,a={};for(r=t;r<=n;++r)i(o=e[r].key)&&(a[o]=r);return a}var ur={create:hr,update:hr,destroy:function(e){hr(e,ar)}};function hr(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,i,o=e===ar,a=t===ar,s=fr(e.data.directives,e.context),l=fr(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,i.oldArg=r.arg,Ar(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(Ar(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var h=function(){for(var n=0;n<c.length;n++)Ar(c[n],"inserted",t,e)};o?lt(t,"insert",h):h()}u.length&<(t,"postpatch",function(){for(var n=0;n<u.length;n++)Ar(u[n],"componentUpdated",t,e)});if(!o)for(n in s)l[n]||Ar(s[n],"unbind",e,e,a)}(e,t)}var dr=Object.create(null);function fr(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=dr),i[pr(r)]=r,r.def=Ne(t.$options,"directives",r.name);return i}function pr(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Ar(e,t,n,r,i){var o=e.def&&e.def[t];if(o)try{o(n.elm,e,n,r,i)}catch(r){ze(r,n.context,"directive "+e.name+" "+t+" hook")}}var gr=[ir,ur];function vr(e,t){var n=t.componentOptions;if(!(i(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var o,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};for(o in i(c.__ob__)&&(c=t.data.attrs=E({},c)),c)a=c[o],l[o]!==a&&mr(s,o,a);for(o in(K||q)&&c.value!==l.value&&mr(s,"value",c.value),l)r(c[o])&&(Qn(o)?s.removeAttributeNS(Un,zn(o)):Rn(o)||s.removeAttribute(o))}}function mr(e,t,n){e.tagName.indexOf("-")>-1?yr(e,t,n):jn(t)?Yn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Rn(t)?e.setAttribute(t,Hn(t,n)):Qn(t)?Yn(n)?e.removeAttributeNS(Un,zn(t)):e.setAttributeNS(Un,t,n):yr(e,t,n)}function yr(e,t,n){if(Yn(n))e.removeAttribute(t);else{if(K&&!J&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var br={create:vr,update:vr};function _r(e,t){var n=t.elm,o=t.data,a=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Vn(t),l=n._transitionClasses;i(l)&&(s=Wn(s,Xn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var wr,xr,Cr,Sr,Br,kr,Tr={create:_r,update:_r},Er=/[\w).+\-_$\]]/;function Mr(e){var t,n,r,i,o,a=!1,s=!1,l=!1,c=!1,u=0,h=0,d=0,f=0;for(r=0;r<e.length;r++)if(n=t,t=e.charCodeAt(r),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(l)96===t&&92!==n&&(l=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||u||h||d){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:d++;break;case 41:d--;break;case 91:h++;break;case 93:h--;break;case 123:u++;break;case 125:u--}if(47===t){for(var p=r-1,A=void 0;p>=0&&" "===(A=e.charAt(p));p--);A&&Er.test(A)||(c=!0)}}else void 0===i?(f=r+1,i=e.slice(0,r).trim()):g();function g(){(o||(o=[])).push(e.slice(f,r).trim()),f=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==f&&g(),o)for(r=0;r<o.length;r++)i=Dr(i,o[r]);return i}function Dr(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var r=t.slice(0,n),i=t.slice(n+1);return'_f("'+r+'")('+e+(")"!==i?","+i:i)}function Or(e,t){console.error("[Vue compiler]: "+e)}function Ir(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function Lr(e,t,n,r,i){(e.props||(e.props=[])).push(Yr({name:t,value:n,dynamic:i},r)),e.plain=!1}function Pr(e,t,n,r,i){(i?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Yr({name:t,value:n,dynamic:i},r)),e.plain=!1}function Fr(e,t,n,r){e.attrsMap[t]=n,e.attrsList.push(Yr({name:t,value:n},r))}function Rr(e,t,n,r,i,o,a,s){(e.directives||(e.directives=[])).push(Yr({name:t,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:a},s)),e.plain=!1}function Nr(e,t,n){return n?"_p("+t+',"'+e+'")':e+t}function Hr(e,t,r,i,o,a,s,l){var c;(i=i||n).right?l?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete i.right):i.middle&&(l?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup")),i.capture&&(delete i.capture,t=Nr("!",t,l)),i.once&&(delete i.once,t=Nr("~",t,l)),i.passive&&(delete i.passive,t=Nr("&",t,l)),i.native?(delete i.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var u=Yr({value:r.trim(),dynamic:l},s);i!==n&&(u.modifiers=i);var h=c[t];Array.isArray(h)?o?h.unshift(u):h.push(u):c[t]=h?o?[u,h]:[h,u]:u,e.plain=!1}function jr(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}function Ur(e,t,n){var r=Qr(e,":"+t)||Qr(e,"v-bind:"+t);if(null!=r)return Mr(r);if(!1!==n){var i=Qr(e,t);if(null!=i)return JSON.stringify(i)}}function Qr(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var i=e.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===t){i.splice(o,1);break}return n&&delete e.attrsMap[t],r}function zr(e,t){for(var n=e.attrsList,r=0,i=n.length;r<i;r++){var o=n[r];if(t.test(o.name))return n.splice(r,1),o}}function Yr(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function Vr(e,t,n){var r=n||{},i=r.number,o="$$v";r.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(o="_n("+o+")");var a=Gr(t,o);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function Gr(e,t){var n=function(e){if(e=e.trim(),wr=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<wr-1)return(Sr=e.lastIndexOf("."))>-1?{exp:e.slice(0,Sr),key:'"'+e.slice(Sr+1)+'"'}:{exp:e,key:null};xr=e,Sr=Br=kr=0;for(;!Xr();)Zr(Cr=Wr())?Kr(Cr):91===Cr&&$r(Cr);return{exp:e.slice(0,Br),key:e.slice(Br+1,kr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Wr(){return xr.charCodeAt(++Sr)}function Xr(){return Sr>=wr}function Zr(e){return 34===e||39===e}function $r(e){var t=1;for(Br=Sr;!Xr();)if(Zr(e=Wr()))Kr(e);else if(91===e&&t++,93===e&&t--,0===t){kr=Sr;break}}function Kr(e){for(var t=e;!Xr()&&(e=Wr())!==t;);}var Jr,qr="__r",ei="__c";function ti(e,t,n){var r=Jr;return function i(){null!==t.apply(null,arguments)&&ii(e,i,n,r)}}var ni=Xe&&!(te&&Number(te[1])<=53);function ri(e,t,n,r){if(ni){var i=un,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Jr.addEventListener(e,t,re?{capture:n,passive:r}:n)}function ii(e,t,n,r){(r||Jr).removeEventListener(e,t._wrapper||t,n)}function oi(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},o=e.data.on||{};Jr=t.elm,function(e){if(i(e[qr])){var t=K?"change":"input";e[t]=[].concat(e[qr],e[t]||[]),delete e[qr]}i(e[ei])&&(e.change=[].concat(e[ei],e.change||[]),delete e[ei])}(n),st(n,o,ri,ii,ti,t.context),Jr=void 0}}var ai,si={create:oi,update:oi};function li(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in i(l.__ob__)&&(l=t.data.domProps=E({},l)),s)n in l||(a[n]="");for(n in l){if(o=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var c=r(o)?"":String(o);ci(a,c)&&(a.value=c)}else if("innerHTML"===n&&Kn(a.tagName)&&r(a.innerHTML)){(ai=ai||document.createElement("div")).innerHTML="<svg>"+o+"</svg>";for(var u=ai.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(o!==s[n])try{a[n]=o}catch(e){}}}}function ci(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return p(n)!==p(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ui={create:li,update:li},hi=_(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function di(e){var t=fi(e.style);return e.staticStyle?E(e.staticStyle,t):t}function fi(e){return Array.isArray(e)?M(e):"string"==typeof e?hi(e):e}var pi,Ai=/^--/,gi=/\s*!important$/,vi=function(e,t,n){if(Ai.test(t))e.style.setProperty(t,n);else if(gi.test(n))e.style.setProperty(B(t),n.replace(gi,""),"important");else{var r=yi(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},mi=["Webkit","Moz","ms"],yi=_(function(e){if(pi=pi||document.createElement("div").style,"filter"!==(e=x(e))&&e in pi)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<mi.length;n++){var r=mi[n]+t;if(r in pi)return r}});function bi(e,t){var n=t.data,o=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var a,s,l=t.elm,c=o.staticStyle,u=o.normalizedStyle||o.style||{},h=c||u,d=fi(t.data.style)||{};t.data.normalizedStyle=i(d.__ob__)?E({},d):d;var f=function(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=di(i.data))&&E(r,n);(n=di(e.data))&&E(r,n);for(var o=e;o=o.parent;)o.data&&(n=di(o.data))&&E(r,n);return r}(t,!0);for(s in h)r(f[s])&&vi(l,s,"");for(s in f)(a=f[s])!==h[s]&&vi(l,s,null==a?"":a)}}var _i={create:bi,update:bi},wi=/\s+/;function xi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(wi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ci(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(wi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Si(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,Bi(e.name||"v")),E(t,e),t}return"string"==typeof e?Bi(e):void 0}}var Bi=_(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ki=W&&!J,Ti="transition",Ei="animation",Mi="transition",Di="transitionend",Oi="animation",Ii="animationend";ki&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mi="WebkitTransition",Di="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oi="WebkitAnimation",Ii="webkitAnimationEnd"));var Li=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Pi(e){Li(function(){Li(e)})}function Fi(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),xi(e,t))}function Ri(e,t){e._transitionClasses&&m(e._transitionClasses,t),Ci(e,t)}function Ni(e,t,n){var r=ji(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ti?Di:Ii,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},o+1),e.addEventListener(s,u)}var Hi=/\b(transform|all)(,|$)/;function ji(e,t){var n,r=window.getComputedStyle(e),i=(r[Mi+"Delay"]||"").split(", "),o=(r[Mi+"Duration"]||"").split(", "),a=Ui(i,o),s=(r[Oi+"Delay"]||"").split(", "),l=(r[Oi+"Duration"]||"").split(", "),c=Ui(s,l),u=0,h=0;return t===Ti?a>0&&(n=Ti,u=a,h=o.length):t===Ei?c>0&&(n=Ei,u=c,h=l.length):h=(n=(u=Math.max(a,c))>0?a>c?Ti:Ei:null)?n===Ti?o.length:l.length:0,{type:n,timeout:u,propCount:h,hasTransform:n===Ti&&Hi.test(r[Mi+"Property"])}}function Ui(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return Qi(t)+Qi(e[n])}))}function Qi(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function zi(e,t){var n=e.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=Si(e.data.transition);if(!r(o)&&!i(n._enterCb)&&1===n.nodeType){for(var a=o.css,l=o.type,c=o.enterClass,u=o.enterToClass,h=o.enterActiveClass,d=o.appearClass,f=o.appearToClass,A=o.appearActiveClass,g=o.beforeEnter,v=o.enter,m=o.afterEnter,y=o.enterCancelled,b=o.beforeAppear,_=o.appear,w=o.afterAppear,x=o.appearCancelled,C=o.duration,S=Jt,B=Jt.$vnode;B&&B.parent;)S=B.context,B=B.parent;var k=!S._isMounted||!e.isRootInsert;if(!k||_||""===_){var T=k&&d?d:c,E=k&&A?A:h,M=k&&f?f:u,D=k&&b||g,O=k&&"function"==typeof _?_:v,I=k&&w||m,L=k&&x||y,P=p(s(C)?C.enter:C);0;var R=!1!==a&&!J,N=Gi(O),H=n._enterCb=F(function(){R&&(Ri(n,M),Ri(n,E)),H.cancelled?(R&&Ri(n,T),L&&L(n)):I&&I(n),n._enterCb=null});e.data.show||lt(e,"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),O&&O(n,H)}),D&&D(n),R&&(Fi(n,T),Fi(n,E),Pi(function(){Ri(n,T),H.cancelled||(Fi(n,M),N||(Vi(P)?setTimeout(H,P):Ni(n,l,H)))})),e.data.show&&(t&&t(),O&&O(n,H)),R||N||H()}}}function Yi(e,t){var n=e.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=Si(e.data.transition);if(r(o)||1!==n.nodeType)return t();if(!i(n._leaveCb)){var a=o.css,l=o.type,c=o.leaveClass,u=o.leaveToClass,h=o.leaveActiveClass,d=o.beforeLeave,f=o.leave,A=o.afterLeave,g=o.leaveCancelled,v=o.delayLeave,m=o.duration,y=!1!==a&&!J,b=Gi(f),_=p(s(m)?m.leave:m);0;var w=n._leaveCb=F(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),y&&(Ri(n,u),Ri(n,h)),w.cancelled?(y&&Ri(n,c),g&&g(n)):(t(),A&&A(n)),n._leaveCb=null});v?v(x):x()}function x(){w.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),d&&d(n),y&&(Fi(n,c),Fi(n,h),Pi(function(){Ri(n,c),w.cancelled||(Fi(n,u),b||(Vi(_)?setTimeout(w,_):Ni(n,l,w)))})),f&&f(n,w),y||b||w())}}function Vi(e){return"number"==typeof e&&!isNaN(e)}function Gi(e){if(r(e))return!1;var t=e.fns;return i(t)?Gi(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Wi(e,t){!0!==t.data.show&&zi(t)}var Xi=function(e){var t,n,s={},l=e.modules,c=e.nodeOps;for(t=0;t<sr.length;++t)for(s[sr[t]]=[],n=0;n<l.length;++n)i(l[n][sr[t]])&&s[sr[t]].push(l[n][sr[t]]);function u(e){var t=c.parentNode(e);i(t)&&c.removeChild(t,e)}function h(e,t,n,r,a,l,u){if(i(e.elm)&&i(l)&&(e=l[u]=be(e)),e.isRootInsert=!a,!function(e,t,n,r){var a=e.data;if(i(a)){var l=i(e.componentInstance)&&a.keepAlive;if(i(a=a.hook)&&i(a=a.init)&&a(e,!1),i(e.componentInstance))return d(e,t),f(n,e.elm,r),o(l)&&function(e,t,n,r){for(var o,a=e;a.componentInstance;)if(a=a.componentInstance._vnode,i(o=a.data)&&i(o=o.transition)){for(o=0;o<s.activate.length;++o)s.activate[o](ar,a);t.push(a);break}f(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var h=e.data,A=e.children,g=e.tag;i(g)?(e.elm=e.ns?c.createElementNS(e.ns,g):c.createElement(g,e),m(e),p(e,A,t),i(h)&&v(e,t),f(n,e.elm,r)):o(e.isComment)?(e.elm=c.createComment(e.text),f(n,e.elm,r)):(e.elm=c.createTextNode(e.text),f(n,e.elm,r))}}function d(e,t){i(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,g(e)?(v(e,t),m(e)):(or(e),t.push(e))}function f(e,t,n){i(e)&&(i(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function p(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)h(t[r],n,e.elm,null,!0,t,r);else a(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function g(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return i(e.tag)}function v(e,n){for(var r=0;r<s.create.length;++r)s.create[r](ar,e);i(t=e.data.hook)&&(i(t.create)&&t.create(ar,e),i(t.insert)&&n.push(e))}function m(e){var t;if(i(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)i(t=n.context)&&i(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;i(t=Jt)&&t!==e.context&&t!==e.fnContext&&i(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function y(e,t,n,r,i,o){for(;r<=i;++r)h(n[r],o,e,t,!1,n,r)}function b(e){var t,n,r=e.data;if(i(r))for(i(t=r.hook)&&i(t=t.destroy)&&t(e),t=0;t<s.destroy.length;++t)s.destroy[t](e);if(i(t=e.children))for(n=0;n<e.children.length;++n)b(e.children[n])}function _(e,t,n){for(;t<=n;++t){var r=e[t];i(r)&&(i(r.tag)?(w(r),b(r)):u(r.elm))}}function w(e,t){if(i(t)||i(e.data)){var n,r=s.remove.length+1;for(i(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,r),i(n=e.componentInstance)&&i(n=n._vnode)&&i(n.data)&&w(n,t),n=0;n<s.remove.length;++n)s.remove[n](e,t);i(n=e.data.hook)&&i(n=n.remove)?n(e,t):t()}else u(e.elm)}function x(e,t,n,r){for(var o=n;o<r;o++){var a=t[o];if(i(a)&&lr(e,a))return o}}function C(e,t,n,a,l,u){if(e!==t){i(t.elm)&&i(a)&&(t=a[l]=be(t));var d=t.elm=e.elm;if(o(e.isAsyncPlaceholder))i(t.asyncFactory.resolved)?k(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(o(t.isStatic)&&o(e.isStatic)&&t.key===e.key&&(o(t.isCloned)||o(t.isOnce)))t.componentInstance=e.componentInstance;else{var f,p=t.data;i(p)&&i(f=p.hook)&&i(f=f.prepatch)&&f(e,t);var A=e.children,v=t.children;if(i(p)&&g(t)){for(f=0;f<s.update.length;++f)s.update[f](e,t);i(f=p.hook)&&i(f=f.update)&&f(e,t)}r(t.text)?i(A)&&i(v)?A!==v&&function(e,t,n,o,a){for(var s,l,u,d=0,f=0,p=t.length-1,A=t[0],g=t[p],v=n.length-1,m=n[0],b=n[v],w=!a;d<=p&&f<=v;)r(A)?A=t[++d]:r(g)?g=t[--p]:lr(A,m)?(C(A,m,o,n,f),A=t[++d],m=n[++f]):lr(g,b)?(C(g,b,o,n,v),g=t[--p],b=n[--v]):lr(A,b)?(C(A,b,o,n,v),w&&c.insertBefore(e,A.elm,c.nextSibling(g.elm)),A=t[++d],b=n[--v]):lr(g,m)?(C(g,m,o,n,f),w&&c.insertBefore(e,g.elm,A.elm),g=t[--p],m=n[++f]):(r(s)&&(s=cr(t,d,p)),r(l=i(m.key)?s[m.key]:x(m,t,d,p))?h(m,o,e,A.elm,!1,n,f):lr(u=t[l],m)?(C(u,m,o,n,f),t[l]=void 0,w&&c.insertBefore(e,u.elm,A.elm)):h(m,o,e,A.elm,!1,n,f),m=n[++f]);d>p?y(e,r(n[v+1])?null:n[v+1].elm,n,f,v,o):f>v&&_(t,d,p)}(d,A,v,n,u):i(v)?(i(e.text)&&c.setTextContent(d,""),y(d,null,v,0,v.length-1,n)):i(A)?_(A,0,A.length-1):i(e.text)&&c.setTextContent(d,""):e.text!==t.text&&c.setTextContent(d,t.text),i(p)&&i(f=p.hook)&&i(f=f.postpatch)&&f(e,t)}}}function S(e,t,n){if(o(n)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var B=A("attrs,class,staticClass,staticStyle,key");function k(e,t,n,r){var a,s=t.tag,l=t.data,c=t.children;if(r=r||l&&l.pre,t.elm=e,o(t.isComment)&&i(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(i(l)&&(i(a=l.hook)&&i(a=a.init)&&a(t,!0),i(a=t.componentInstance)))return d(t,n),!0;if(i(s)){if(i(c))if(e.hasChildNodes())if(i(a=l)&&i(a=a.domProps)&&i(a=a.innerHTML)){if(a!==e.innerHTML)return!1}else{for(var u=!0,h=e.firstChild,f=0;f<c.length;f++){if(!h||!k(h,c[f],n,r)){u=!1;break}h=h.nextSibling}if(!u||h)return!1}else p(t,c,n);if(i(l)){var A=!1;for(var g in l)if(!B(g)){A=!0,v(t,n);break}!A&&l.class&&it(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,a){if(!r(t)){var l,u=!1,d=[];if(r(e))u=!0,h(t,d);else{var f=i(e.nodeType);if(!f&&lr(e,t))C(e,t,d,null,null,a);else{if(f){if(1===e.nodeType&&e.hasAttribute(R)&&(e.removeAttribute(R),n=!0),o(n)&&k(e,t,d))return S(t,d,!0),e;l=e,e=new ge(c.tagName(l).toLowerCase(),{},[],void 0,l)}var p=e.elm,A=c.parentNode(p);if(h(t,d,p._leaveCb?null:A,c.nextSibling(p)),i(t.parent))for(var v=t.parent,m=g(t);v;){for(var y=0;y<s.destroy.length;++y)s.destroy[y](v);if(v.elm=t.elm,m){for(var w=0;w<s.create.length;++w)s.create[w](ar,v);var x=v.data.hook.insert;if(x.merged)for(var B=1;B<x.fns.length;B++)x.fns[B]()}else or(v);v=v.parent}i(A)?_([e],0,0):i(e.tag)&&b(e)}}return S(t,d,u),t.elm}i(e)&&b(e)}}({nodeOps:rr,modules:[br,Tr,si,ui,_i,W?{create:Wi,activate:Wi,remove:function(e,t){!0!==e.data.show?Yi(e,t):t()}}:{}].concat(gr)});J&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&no(e,"input")});var Zi={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?lt(n,"postpatch",function(){Zi.componentUpdated(e,t,n)}):$i(e,t,n.context),e._vOptions=[].map.call(e.options,qi)):("textarea"===n.tag||tr(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",eo),e.addEventListener("compositionend",to),e.addEventListener("change",to),J&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){$i(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,qi);if(i.some(function(e,t){return!L(e,r[t])}))(e.multiple?t.value.some(function(e){return Ji(e,i)}):t.value!==t.oldValue&&Ji(t.value,i))&&no(e,"change")}}};function $i(e,t,n){Ki(e,t,n),(K||q)&&setTimeout(function(){Ki(e,t,n)},0)}function Ki(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],i)o=P(r,qi(a))>-1,a.selected!==o&&(a.selected=o);else if(L(qi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ji(e,t){return t.every(function(t){return!L(t,e)})}function qi(e){return"_value"in e?e._value:e.value}function eo(e){e.target.composing=!0}function to(e){e.target.composing&&(e.target.composing=!1,no(e.target,"input"))}function no(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ro(e){return!e.componentInstance||e.data&&e.data.transition?e:ro(e.componentInstance._vnode)}var io={model:Zi,show:{bind:function(e,t,n){var r=t.value,i=(n=ro(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,zi(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=ro(n)).data&&n.data.transition?(n.data.show=!0,r?zi(n,function(){e.style.display=e.__vOriginalDisplay}):Yi(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},oo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ao(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ao(Wt(t.children)):e}function so(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[x(o)]=i[o];return t}function lo(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var co=function(e){return e.tag||Gt(e)},uo=function(e){return"show"===e.name},ho={name:"transition",props:oo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(co)).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=ao(i);if(!o)return i;if(this._leaving)return lo(e,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var l=(o.data||(o.data={})).transition=so(this),c=this._vnode,u=ao(c);if(o.data.directives&&o.data.directives.some(uo)&&(o.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,u)&&!Gt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=E({},l);if("out-in"===r)return this._leaving=!0,lt(h,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),lo(e,i);if("in-out"===r){if(Gt(o))return c;var d,f=function(){d()};lt(l,"afterEnter",f),lt(l,"enterCancelled",f),lt(h,"delayLeave",function(e){d=e})}}return i}}},fo=E({tag:String,moveClass:String},oo);function po(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ao(e){e.data.newPos=e.elm.getBoundingClientRect()}function go(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete fo.mode;var vo={Transition:ho,TransitionGroup:{props:fo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=qt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=so(this),s=0;s<i.length;s++){var l=i[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(r){for(var c=[],u=[],h=0;h<r.length;h++){var d=r[h];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?c.push(d):u.push(d)}this.kept=e(t,null,c),this.removed=u}return e(t,null,o)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(po),e.forEach(Ao),e.forEach(go),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;Fi(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Di,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Di,e),n._moveCb=null,Ri(n,t))})}}))},methods:{hasMove:function(e,t){if(!ki)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){Ci(n,e)}),xi(n,t),n.style.display="none",this.$el.appendChild(n);var r=ji(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};Bn.config.mustUseProp=Fn,Bn.config.isReservedTag=Jn,Bn.config.isReservedAttr=Ln,Bn.config.getTagNamespace=qn,Bn.config.isUnknownElement=function(e){if(!W)return!0;if(Jn(e))return!1;if(e=e.toLowerCase(),null!=er[e])return er[e];var t=document.createElement(e);return e.indexOf("-")>-1?er[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:er[e]=/HTMLUnknownElement/.test(t.toString())},E(Bn.options.directives,io),E(Bn.options.components,vo),Bn.prototype.__patch__=W?Xi:D,Bn.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=me),nn(e,"beforeMount"),new An(e,function(){e._update(e._render(),n)},D,{before:function(){e._isMounted&&!e._isDestroyed&&nn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,nn(e,"mounted")),e}(this,e=e&&W?nr(e):void 0,t)},W&&setTimeout(function(){j.devtools&&ae&&ae.emit("init",Bn)},0);var mo=/\{\{((?:.|\r?\n)+?)\}\}/g,yo=/[-.*+?^${}()|[\]\/\\]/g,bo=_(function(e){var t=e[0].replace(yo,"\\$&"),n=e[1].replace(yo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});function _o(e,t){var n=t?bo(t):mo;if(n.test(e)){for(var r,i,o,a=[],s=[],l=n.lastIndex=0;r=n.exec(e);){(i=r.index)>l&&(s.push(o=e.slice(l,i)),a.push(JSON.stringify(o)));var c=Mr(r[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),l=i+r[0].length}return l<e.length&&(s.push(o=e.slice(l)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}var wo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Qr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ur(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var xo,Co={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Qr(e,"style");n&&(e.staticStyle=JSON.stringify(hi(n)));var r=Ur(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},So=function(e){return(xo=xo||document.createElement("div")).innerHTML=e,xo.textContent},Bo=A("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ko=A("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),To=A("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Eo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Mo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Do="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+U.source+"]*",Oo="((?:"+Do+"\\:)?"+Do+")",Io=new RegExp("^<"+Oo),Lo=/^\s*(\/?)>/,Po=new RegExp("^<\\/"+Oo+"[^>]*>"),Fo=/^<!DOCTYPE [^>]+>/i,Ro=/^<!\--/,No=/^<!\[/,Ho=A("script,style,textarea",!0),jo={},Uo={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},Qo=/&(?:lt|gt|quot|amp|#39);/g,zo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Yo=A("pre,textarea",!0),Vo=function(e,t){return e&&Yo(e)&&"\n"===t[0]};function Go(e,t){var n=t?zo:Qo;return e.replace(n,function(e){return Uo[e]})}var Wo,Xo,Zo,$o,Ko,Jo,qo,ea,ta=/^@|^v-on:/,na=/^v-|^@|^:|^#/,ra=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ia=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,oa=/^\(|\)$/g,aa=/^\[.*\]$/,sa=/:(.*)$/,la=/^:|^\.|^v-bind:/,ca=/\.[^.\]]+(?=[^\]]*$)/g,ua=/^v-slot(:|$)|^#/,ha=/[\r\n]/,da=/\s+/g,fa=_(So),pa="_empty_";function Aa(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}(t),rawAttrsMap:{},parent:n,children:[]}}function ga(e,t){Wo=t.warn||Or,Jo=t.isPreTag||O,qo=t.mustUseProp||O,ea=t.getTagNamespace||O;var n=t.isReservedTag||O;(function(e){return!!e.component||!n(e.tag)}),Zo=Ir(t.modules,"transformNode"),$o=Ir(t.modules,"preTransformNode"),Ko=Ir(t.modules,"postTransformNode"),Xo=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=t.whitespace,l=!1,c=!1;function u(e){if(h(e),l||e.processed||(e=va(e,t)),o.length||e===r||r.if&&(e.elseif||e.else)&&ya(r,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children))&&s.if&&ya(s,{exp:a.elseif,block:a});else{if(e.slotScope){var n=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=e}i.children.push(e),e.parent=i}var a,s;e.children=e.children.filter(function(e){return!e.slotScope}),h(e),e.pre&&(l=!1),Jo(e.tag)&&(c=!1);for(var u=0;u<Ko.length;u++)Ko[u](e,t)}function h(e){if(!c)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return function(e,t){for(var n,r,i=[],o=t.expectHTML,a=t.isUnaryTag||O,s=t.canBeLeftOpenTag||O,l=0;e;){if(n=e,r&&Ho(r)){var c=0,u=r.toLowerCase(),h=jo[u]||(jo[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),d=e.replace(h,function(e,n,r){return c=r.length,Ho(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Vo(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-d.length,e=d,B(u,l-c,l)}else{var f=e.indexOf("<");if(0===f){if(Ro.test(e)){var p=e.indexOf("--\x3e");if(p>=0){t.shouldKeepComment&&t.comment(e.substring(4,p),l,l+p+3),x(p+3);continue}}if(No.test(e)){var A=e.indexOf("]>");if(A>=0){x(A+2);continue}}var g=e.match(Fo);if(g){x(g[0].length);continue}var v=e.match(Po);if(v){var m=l;x(v[0].length),B(v[1],m,l);continue}var y=C();if(y){S(y),Vo(y.tagName,e)&&x(1);continue}}var b=void 0,_=void 0,w=void 0;if(f>=0){for(_=e.slice(f);!(Po.test(_)||Io.test(_)||Ro.test(_)||No.test(_)||(w=_.indexOf("<",1))<0);)f+=w,_=e.slice(f);b=e.substring(0,f)}f<0&&(b=e),b&&x(b.length),t.chars&&b&&t.chars(b,l-b.length,l)}if(e===n){t.chars&&t.chars(e);break}}function x(t){l+=t,e=e.substring(t)}function C(){var t=e.match(Io);if(t){var n,r,i={tagName:t[1],attrs:[],start:l};for(x(t[0].length);!(n=e.match(Lo))&&(r=e.match(Mo)||e.match(Eo));)r.start=l,x(r[0].length),r.end=l,i.attrs.push(r);if(n)return i.unarySlash=n[1],x(n[0].length),i.end=l,i}}function S(e){var n=e.tagName,l=e.unarySlash;o&&("p"===r&&To(n)&&B(r),s(n)&&r===n&&B(n));for(var c=a(n)||!!l,u=e.attrs.length,h=new Array(u),d=0;d<u;d++){var f=e.attrs[d],p=f[3]||f[4]||f[5]||"",A="a"===n&&"href"===f[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;h[d]={name:f[1],value:Go(p,A)}}c||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h,start:e.start,end:e.end}),r=n),t.start&&t.start(n,h,c,e.start,e.end)}function B(e,n,o){var a,s;if(null==n&&(n=l),null==o&&(o=l),e)for(s=e.toLowerCase(),a=i.length-1;a>=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=i.length-1;c>=a;c--)t.end&&t.end(i[c].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}B()}(e,{warn:Wo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,h){var d=i&&i.ns||ea(e);K&&"svg"===d&&(n=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];wa.test(r.name)||(r.name=r.name.replace(xa,""),t.push(r))}return t}(n));var f,p=Aa(e,n,i);d&&(p.ns=d),"style"!==(f=p).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||oe()||(p.forbidden=!0);for(var A=0;A<$o.length;A++)p=$o[A](p,t)||p;l||(!function(e){null!=Qr(e,"v-pre")&&(e.pre=!0)}(p),p.pre&&(l=!0)),Jo(p.tag)&&(c=!0),l?function(e){var t=e.attrsList,n=t.length;if(n)for(var r=e.attrs=new Array(n),i=0;i<n;i++)r[i]={name:t[i].name,value:JSON.stringify(t[i].value)},null!=t[i].start&&(r[i].start=t[i].start,r[i].end=t[i].end);else e.pre||(e.plain=!0)}(p):p.processed||(ma(p),function(e){var t=Qr(e,"v-if");if(t)e.if=t,ya(e,{exp:t,block:e});else{null!=Qr(e,"v-else")&&(e.else=!0);var n=Qr(e,"v-else-if");n&&(e.elseif=n)}}(p),function(e){null!=Qr(e,"v-once")&&(e.once=!0)}(p)),r||(r=p),a?u(p):(i=p,o.push(p))},end:function(e,t,n){var r=o[o.length-1];o.length-=1,i=o[o.length-1],u(r)},chars:function(e,t,n){if(i&&(!K||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var r,o,u,h=i.children;if(e=c||e.trim()?"script"===(r=i).tag||"style"===r.tag?e:fa(e):h.length?s?"condense"===s&&ha.test(e)?"":" ":a?" ":"":"")c||"condense"!==s||(e=e.replace(da," ")),!l&&" "!==e&&(o=_o(e,Xo))?u={type:2,expression:o.expression,tokens:o.tokens,text:e}:" "===e&&h.length&&" "===h[h.length-1].text||(u={type:3,text:e}),u&&h.push(u)}},comment:function(e,t,n){if(i){var r={type:3,text:e,isComment:!0};0,i.children.push(r)}}}),r}function va(e,t){var n,r;!function(e){var t=Ur(e,"key");if(t){e.key=t}}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,(r=Ur(n=e,"ref"))&&(n.ref=r,n.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(n)),function(e){var t;"template"===e.tag?(t=Qr(e,"scope"),e.slotScope=t||Qr(e,"slot-scope")):(t=Qr(e,"slot-scope"))&&(e.slotScope=t);var n=Ur(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Pr(e,"slot",n,jr(e,"slot")));if("template"===e.tag){var r=zr(e,ua);if(r){0;var i=ba(r),o=i.name,a=i.dynamic;e.slotTarget=o,e.slotTargetDynamic=a,e.slotScope=r.value||pa}}else{var s=zr(e,ua);if(s){0;var l=e.scopedSlots||(e.scopedSlots={}),c=ba(s),u=c.name,h=c.dynamic,d=l[u]=Aa("template",[],e);d.slotTarget=u,d.slotTargetDynamic=h,d.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=d,!0}),d.slotScope=s.value||pa,e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=Ur(e,"name"))}(e),function(e){var t;(t=Ur(e,"is"))&&(e.component=t);null!=Qr(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var i=0;i<Zo.length;i++)e=Zo[i](e,t)||e;return function(e){var t,n,r,i,o,a,s,l,c=e.attrsList;for(t=0,n=c.length;t<n;t++){if(r=i=c[t].name,o=c[t].value,na.test(r))if(e.hasBindings=!0,(a=_a(r.replace(na,"")))&&(r=r.replace(ca,"")),la.test(r))r=r.replace(la,""),o=Mr(o),(l=aa.test(r))&&(r=r.slice(1,-1)),a&&(a.prop&&!l&&"innerHtml"===(r=x(r))&&(r="innerHTML"),a.camel&&!l&&(r=x(r)),a.sync&&(s=Gr(o,"$event"),l?Hr(e,'"update:"+('+r+")",s,null,!1,0,c[t],!0):(Hr(e,"update:"+x(r),s,null,!1,0,c[t]),B(r)!==x(r)&&Hr(e,"update:"+B(r),s,null,!1,0,c[t])))),a&&a.prop||!e.component&&qo(e.tag,e.attrsMap.type,r)?Lr(e,r,o,c[t],l):Pr(e,r,o,c[t],l);else if(ta.test(r))r=r.replace(ta,""),(l=aa.test(r))&&(r=r.slice(1,-1)),Hr(e,r,o,a,!1,0,c[t],l);else{var u=(r=r.replace(na,"")).match(sa),h=u&&u[1];l=!1,h&&(r=r.slice(0,-(h.length+1)),aa.test(h)&&(h=h.slice(1,-1),l=!0)),Rr(e,r,i,o,h,l,a,c[t])}else Pr(e,r,JSON.stringify(o),c[t]),!e.component&&"muted"===r&&qo(e.tag,e.attrsMap.type,r)&&Lr(e,r,"true",c[t])}}(e),e}function ma(e){var t;if(t=Qr(e,"v-for")){var n=function(e){var t=e.match(ra);if(!t)return;var n={};n.for=t[2].trim();var r=t[1].trim().replace(oa,""),i=r.match(ia);i?(n.alias=r.replace(ia,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(t);n&&E(e,n)}}function ya(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function ba(e){var t=e.name.replace(ua,"");return t||"#"!==e.name[0]&&(t="default"),aa.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function _a(e){var t=e.match(ca);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}var wa=/^xmlns:NS\d+/,xa=/^NS\d+:/;function Ca(e){return Aa(e.tag,e.attrsList.slice(),e.parent)}var Sa=[wo,Co,{preTransformNode:function(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Ur(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=Qr(e,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Qr(e,"v-else",!0),s=Qr(e,"v-else-if",!0),l=Ca(e);ma(l),Fr(l,"type","checkbox"),va(l,t),l.processed=!0,l.if="("+n+")==='checkbox'"+o,ya(l,{exp:l.if,block:l});var c=Ca(e);Qr(c,"v-for",!0),Fr(c,"type","radio"),va(c,t),ya(l,{exp:"("+n+")==='radio'"+o,block:c});var u=Ca(e);return Qr(u,"v-for",!0),Fr(u,":type",n),va(u,t),ya(l,{exp:i,block:u}),a?l.else=!0:s&&(l.elseif=s),l}}}}];var Ba,ka,Ta={expectHTML:!0,modules:Sa,directives:{model:function(e,t,n){n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return Vr(e,r,i),!1;if("select"===o)!function(e,t,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+Gr(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Hr(e,"change",r,null,!0)}(e,r,i);else if("input"===o&&"checkbox"===a)!function(e,t,n){var r=n&&n.number,i=Ur(e,"value")||"null",o=Ur(e,"true-value")||"true",a=Ur(e,"false-value")||"false";Lr(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Hr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Gr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Gr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Gr(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Ur(e,"value")||"null";Lr(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Hr(e,"change",Gr(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?qr:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var h=Gr(t,u);l&&(h="if($event.target.composing)return;"+h),Lr(e,"value","("+t+")"),Hr(e,c,h,null,!0),(s||a)&&Hr(e,"blur","$forceUpdate()")}(e,r,i);else if(!j.isReservedTag(o))return Vr(e,r,i),!1;return!0},text:function(e,t){t.value&&Lr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Lr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:Bo,mustUseProp:Fn,canBeLeftOpenTag:ko,isReservedTag:Jn,getTagNamespace:qn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(Sa)},Ea=_(function(e){return A("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function Ma(e,t){e&&(Ba=Ea(t.staticKeys||""),ka=t.isReservedTag||O,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||g(e.tag)||!ka(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Ba)))}(t);if(1===t.type){if(!ka(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n<r;n++){var i=t.children[n];e(i),i.static||(t.static=!1)}if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++){var s=t.ifConditions[o].block;e(s),s.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var r=0,i=t.children.length;r<i;r++)e(t.children[r],n||!!t.for);if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++)e(t.ifConditions[o].block,n)}}(e,!1))}var Da=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Oa=/\([^)]*?\);*$/,Ia=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,La={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Pa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Fa=function(e){return"if("+e+")return null;"},Ra={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Fa("$event.target !== $event.currentTarget"),ctrl:Fa("!$event.ctrlKey"),shift:Fa("!$event.shiftKey"),alt:Fa("!$event.altKey"),meta:Fa("!$event.metaKey"),left:Fa("'button' in $event && $event.button !== 0"),middle:Fa("'button' in $event && $event.button !== 1"),right:Fa("'button' in $event && $event.button !== 2")};function Na(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Ha(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Ha(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Ha(e)}).join(",")+"]";var t=Ia.test(e.value),n=Da.test(e.value),r=Ia.test(e.value.replace(Oa,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(Ra[s])o+=Ra[s],La[s]&&a.push(s);else if("exact"===s){var l=e.modifiers;o+=Fa(["ctrl","shift","alt","meta"].filter(function(e){return!l[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(ja).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function ja(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=La[e],r=Pa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ua={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:D},Qa=function(e){this.options=e,this.warn=e.warn||Or,this.transforms=Ir(e.modules,"transformCode"),this.dataGenFns=Ir(e.modules,"genData"),this.directives=E(E({},Ua),e.directives);var t=e.isReservedTag||O;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function za(e,t){var n=new Qa(t);return{render:"with(this){return "+(e?Ya(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ya(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Va(e,t);if(e.once&&!e.onceProcessed)return Ga(e,t);if(e.for&&!e.forProcessed)return Xa(e,t);if(e.if&&!e.ifProcessed)return Wa(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Ja(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?ts((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:x(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Ja(t,n,!0);return"_c("+e+","+Za(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Za(e,t));var i=e.inlineTemplate?null:Ja(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}return Ja(e,t)||"void 0"}function Va(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+Ya(e,t)+"}"),t.pre=n,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function Ga(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Wa(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+Ya(e,t)+","+t.onceId+++","+n+")":Ya(e,t)}return Va(e,t)}function Wa(e,t,n,r){return e.ifProcessed=!0,function e(t,n,r,i){if(!t.length)return i||"_e()";var o=t.shift();return o.exp?"("+o.exp+")?"+a(o.block)+":"+e(t,n,r,i):""+a(o.block);function a(e){return r?r(e,n):e.once?Ga(e,n):Ya(e,n)}}(e.ifConditions.slice(),t,n,r)}function Xa(e,t,n,r){var i=e.for,o=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+a+s+"){return "+(n||Ya)(e,t)+"})"}function Za(e,t){var n="{",r=function(e,t){var n=e.directives;if(!n)return;var r,i,o,a,s="directives:[",l=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var c=t.directives[o.name];c&&(a=!!c(e,o,t.warn)),a&&(l=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(l)return s.slice(0,-1)+"]"}(e,t);r&&(n+=r+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var i=0;i<t.dataGenFns.length;i++)n+=t.dataGenFns[i](e);if(e.attrs&&(n+="attrs:"+ts(e.attrs)+","),e.props&&(n+="domProps:"+ts(e.props)+","),e.events&&(n+=Na(e.events,!1)+","),e.nativeEvents&&(n+=Na(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t,n){var r=e.for||Object.keys(t).some(function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||$a(n)}),i=!!e.if;if(!r)for(var o=e.parent;o;){if(o.slotScope&&o.slotScope!==pa||o.for){r=!0;break}o.if&&(i=!0),o=o.parent}var a=Object.keys(t).map(function(e){return Ka(t[e],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(r?",null,true":"")+(!r&&i?",null,false,"+function(e){var t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=za(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+ts(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function $a(e){return 1===e.type&&("slot"===e.tag||e.children.some($a))}function Ka(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Wa(e,t,Ka,"null");if(e.for&&!e.forProcessed)return Xa(e,t,Ka);var r=e.slotScope===pa?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Ja(e,t)||"undefined")+":undefined":Ja(e,t)||"undefined":Ya(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function Ja(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Ya)(a,t)+s}var l=n?function(e,t){for(var n=0,r=0;r<e.length;r++){var i=e[r];if(1===i.type){if(qa(i)||i.ifConditions&&i.ifConditions.some(function(e){return qa(e.block)})){n=2;break}(t(i)||i.ifConditions&&i.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(o,t.maybeComponent):0,c=i||es;return"["+o.map(function(e){return c(e,t)}).join(",")+"]"+(l?","+l:"")}}function qa(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function es(e,t){return 1===e.type?Ya(e,t):3===e.type&&e.isComment?(r=e,"_e("+JSON.stringify(r.text)+")"):"_v("+(2===(n=e).type?n.expression:ns(JSON.stringify(n.text)))+")";var n,r}function ts(e){for(var t="",n="",r=0;r<e.length;r++){var i=e[r],o=ns(i.value);i.dynamic?n+=i.name+","+o+",":t+='"'+i.name+'":'+o+","}return t="{"+t.slice(0,-1)+"}",n?"_d("+t+",["+n.slice(0,-1)+"])":t}function ns(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function rs(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),D}}function is(e){var t=Object.create(null);return function(n,r,i){(r=E({},r)).warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(t[o])return t[o];var a=e(n,r);var s={},l=[];return s.render=rs(a.render,l),s.staticRenderFns=a.staticRenderFns.map(function(e){return rs(e,l)}),t[o]=s}}var os,as,ss=(os=function(e,t){var n=ga(e.trim(),t);!1!==t.optimize&&Ma(n,t);var r=za(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(e){function t(t,n){var r=Object.create(e),i=[],o=[],a=function(e,t,n){(n?o:i).push(e)};if(n)for(var s in n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=E(Object.create(e.directives||null),n.directives)),n)"modules"!==s&&"directives"!==s&&(r[s]=n[s]);r.warn=a;var l=os(t.trim(),r);return l.errors=i,l.tips=o,l}return{compile:t,compileToFunctions:is(t)}})(Ta),ls=(ss.compile,ss.compileToFunctions);function cs(e){return(as=as||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',as.innerHTML.indexOf(" ")>0}var us=!!W&&cs(!1),hs=!!W&&cs(!0),ds=_(function(e){var t=nr(e);return t&&t.innerHTML}),fs=Bn.prototype.$mount;Bn.prototype.$mount=function(e,t){if((e=e&&nr(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ds(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var i=ls(r,{outputSourceRange:!1,shouldDecodeNewlines:us,shouldDecodeNewlinesForHref:hs,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return fs.call(this,e,t)},Bn.compile=ls,t.default=Bn}.call(t,n("DuR2"))},"76UX":function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n("9MlZ");e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},"77Pl":function(e,t,n){var r=n("EqjI");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"7Doy":function(e,t,n){var r=n("EqjI"),i=n("7UMu"),o=n("dSzd")("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},"7GwW":function(e,t,n){"use strict";var r=n("cGG2"),i=n("21It"),o=n("p1b6"),a=n("DQCr"),s=n("Oi+a"),l=n("oJlt"),c=n("GHBc"),u=n("FtD3");e.exports=function(e){return new Promise(function(t,n){var h=e.data,d=e.headers;r.isFormData(h)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",A=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(p+":"+A)}var g=s(e.baseURL,e.url);if(f.open(e.method.toUpperCase(),a(g,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in f?l(f.getAllResponseHeaders()):null,o={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};i(t,n,o),f=null}},f.onabort=function(){f&&(n(u("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){n(u("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var v=(e.withCredentials||c(g))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;v&&(d[e.xsrfHeaderName]=v)}if("setRequestHeader"in f&&r.forEach(d,function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete d[t]:f.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),n(e),f=null)}),h||(h=null),f.send(h)})}},"7J9s":function(e,t,n){"use strict";t.__esModule=!0,t.PopupManager=void 0;var r=l(n("7+uW")),i=l(n("jmaC")),o=l(n("OAzY")),a=l(n("6Twh")),s=n("2kvA");function l(e){return e&&e.__esModule?e:{default:e}}var c=1,u=void 0;t.default={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+c++,o.default.register(this._popupId,this)},beforeDestroy:function(){o.default.deregister(this._popupId),o.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,r.default.nextTick(function(){t.open()}))}else this.close()}},methods:{open:function(e){var t=this;this.rendered||(this.rendered=!0);var n=(0,i.default)({},this.$props||this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var r=Number(n.openDelay);r>0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(n)},r):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,r=e.zIndex;if(r&&(o.default.zIndex=r),n&&(this._closing&&(o.default.closeModal(this._popupId),this._closing=!1),o.default.openModal(this._popupId,o.default.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,s.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,s.getStyle)(document.body,"paddingRight"),10)),u=(0,a.default)();var i=document.documentElement.clientHeight<document.body.scrollHeight,l=(0,s.getStyle)(document.body,"overflowY");u>0&&(i||"scroll"===l)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+u+"px"),(0,s.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=o.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){e._closeTimer=null,e.doClose()},t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){o.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,s.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=o.default},"7KvD":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"7UMu":function(e,t,n){var r=n("R9M2");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"7ar3":function(e,t,n){"use strict";var r=SyntaxError,i=Function,o=TypeError,a=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(e){s=null}var l=function(){throw new o},c=s?function(){try{return arguments.callee,l}catch(e){try{return s(arguments,"callee").get}catch(e){return l}}}():l,u=n("76UX")(),h=Object.getPrototypeOf||function(e){return e.__proto__},d={},f="undefined"==typeof Uint8Array?void 0:h(Uint8Array),p={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":u?h([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?h(h([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?h((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?h((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?h(""[Symbol.iterator]()):void 0,"%Symbol%":u?Symbol:void 0,"%SyntaxError%":r,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},A={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=n("PiFy"),v=n("XfW5"),m=g.call(Function.call,Array.prototype.concat),y=g.call(Function.apply,Array.prototype.splice),b=g.call(Function.call,String.prototype.replace),_=g.call(Function.call,String.prototype.slice),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,C=function(e,t){var n,i=e;if(v(A,i)&&(i="%"+(n=A[i])[0]+"%"),v(p,i)){var s=p[i];if(s===d&&(s=function e(t){var n;if("%AsyncFunction%"===t)n=a("async function () {}");else if("%GeneratorFunction%"===t)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=a("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(n=h(i.prototype))}return p[t]=n,n}(i)),void 0===s&&!t)throw new o("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:s}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new o('"allowMissing" argument must be a boolean');var n=function(e){var t=_(e,0,1),n=_(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var i=[];return b(e,w,function(e,t,n,r){i[i.length]=n?b(r,x,"$1"):t||e}),i}(e),i=n.length>0?n[0]:"",a=C("%"+i+"%",t),l=a.name,c=a.value,u=!1,h=a.alias;h&&(i=h[0],y(n,m([0,1],h)));for(var d=1,f=!0;d<n.length;d+=1){var A=n[d],g=_(A,0,1),S=_(A,-1);if(('"'===g||"'"===g||"`"===g||'"'===S||"'"===S||"`"===S)&&g!==S)throw new r("property names with quotes must have matching quotes");if("constructor"!==A&&f||(u=!0),v(p,l="%"+(i+="."+A)+"%"))c=p[l];else if(null!=c){if(!(A in c)){if(!t)throw new o("base intrinsic for "+e+" exists, but the property is not available.");return}if(s&&d+1>=n.length){var B=s(c,A);c=(f=!!B)&&"get"in B&&!("originalValue"in B.get)?B.get:c[A]}else f=v(c,A),c=c[A];f&&!u&&(p[l]=c)}}return c}},"7t+N":function(e,t,n){var r;
- /*!
- * jQuery JavaScript Library v3.6.0
- * https://jquery.com/
- *
- * Includes Sizzle.js
- * https://sizzlejs.com/
- *
- * Copyright OpenJS Foundation and other contributors
- * Released under the MIT license
- * https://jquery.org/license
- *
- * Date: 2021-03-02T17:08Z
- */
- /*!
- * jQuery JavaScript Library v3.6.0
- * https://jquery.com/
- *
- * Includes Sizzle.js
- * https://sizzlejs.com/
- *
- * Copyright OpenJS Foundation and other contributors
- * Released under the MIT license
- * https://jquery.org/license
- *
- * Date: 2021-03-02T17:08Z
- */
- !function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,u=o.indexOf,h={},d=h.toString,f=h.hasOwnProperty,p=f.toString,A=p.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},m=function(e){return null!=e&&e===e.window},y=n.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,n){var r,i,o=(n=n||y).createElement("script");if(o.text=e,t)for(r in b)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?h[d.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)};function C(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!v(e)&&!m(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:"3.6.0",constructor:x,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(x.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},x.extend=x.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(x.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||x.isPlainObject(n)?n:{},i=!1,a[t]=x.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},x.extend({expando:"jQuery"+("3.6.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&p.call(n)===A)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){_(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(C(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?x.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return l(a)},guid:1,support:g}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=o[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){h["[object "+t+"]"]=t.toLowerCase()});var S=
- /*!
- * Sizzle CSS Selector Engine v2.3.6
- * https://sizzlejs.com/
- *
- * Copyright JS Foundation and other contributors
- * Released under the MIT license
- * https://js.foundation/
- *
- * Date: 2021-02-16
- */
- function(e){var t,n,r,i,o,a,s,l,c,u,h,d,f,p,A,g,v,m,y,b="sizzle"+1*new Date,_=e.document,w=0,x=0,C=le(),S=le(),B=le(),k=le(),T=function(e,t){return e===t&&(h=!0),0},E={}.hasOwnProperty,M=[],D=M.pop,O=M.push,I=M.push,L=M.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",N="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",H="\\["+R+"*("+N+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+R+"*\\]",j=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",U=new RegExp(R+"+","g"),Q=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),z=new RegExp("^"+R+"*,"+R+"*"),Y=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),V=new RegExp(R+"|>"),G=new RegExp(j),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+j),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Z=/HTML$/i,$=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){d()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{I.apply(M=L.call(_.childNodes),_.childNodes),M[_.childNodes.length].nodeType}catch(e){I={apply:M.length?function(e,t){O.apply(e,L.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var o,s,c,u,h,p,v,m=t&&t.ownerDocument,_=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==_&&9!==_&&11!==_)return r;if(!i&&(d(t),t=t||f,A)){if(11!==_&&(h=q.exec(e)))if(o=h[1]){if(9===_){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(m&&(c=m.getElementById(o))&&y(t,c)&&c.id===o)return r.push(c),r}else{if(h[2])return I.apply(r,t.getElementsByTagName(e)),r;if((o=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return I.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!k[e+" "]&&(!g||!g.test(e))&&(1!==_||"object"!==t.nodeName.toLowerCase())){if(v=e,m=t,1===_&&(V.test(e)||Y.test(e))){for((m=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ie):t.setAttribute("id",u=b)),s=(p=a(e)).length;s--;)p[s]=(u?"#"+u:":scope")+" "+ye(p[s]);v=p.join(",")}try{return I.apply(r,m.querySelectorAll(v)),r}catch(t){k(e,!0)}finally{u===b&&t.removeAttribute("id")}}}return l(e.replace(Q,"$1"),t,r,i)}function le(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[b]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function he(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function Ae(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce(function(t){return t=+t,ce(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Z.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:_;return a!=f&&9===a.nodeType&&a.documentElement?(p=(f=a).documentElement,A=!o(f),_!=f&&(i=f.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ue(function(e){return p.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(f.getElementsByClassName),n.getById=ue(function(e){return p.appendChild(e).id=b,!f.getElementsByName||!f.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&A){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&A){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&A)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=J.test(f.querySelectorAll))&&(ue(function(e){var t;p.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+F+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=J.test(m=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",j)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=J.test(p.compareDocumentPosition),y=t||J.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return h=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==f||e.ownerDocument==_&&y(_,e)?-1:t==f||t.ownerDocument==_&&y(_,t)?1:u?P(u,e)-P(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return h=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==f?-1:t==f?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==_?-1:s[r]==_?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&A&&!k[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){k(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&d(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&E.call(r.attrHandle,t.toLowerCase())?i(e,t,!A):void 0;return void 0!==o?o:n.attributes||!A?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,o=0;if(h=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(T),h){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return u=null,e},i=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,h,d,f,p,A=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!l&&!s,y=!1;if(g){if(o){for(;A;){for(d=t;d=d[A];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=A="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&m){for(y=(f=(c=(u=(h=(d=g)[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===w&&c[1])&&c[2],d=f&&g.childNodes[f];d=++f&&d&&d[A]||(y=f=0)||p.pop();)if(1===d.nodeType&&++y&&d===t){u[e]=[w,f,y];break}}else if(m&&(y=f=(c=(u=(h=(d=t)[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]||[])[0]===w&&c[1]),!1===y)for(;(d=++f&&d&&d[A]||(y=f=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++y||(m&&((u=(h=d[b]||(d[b]={}))[d.uniqueID]||(h[d.uniqueID]={}))[e]=[w,y]),d!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=P(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:ce(function(e){var t=[],n=[],r=s(e.replace(Q,"$1"));return r[b]?ce(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:ce(function(e){return function(t){return se(e,t).length>0}}),contains:ce(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}}),lang:ce(function(e){return W.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=A?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:Ae(!1),disabled:Ae(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return $.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ge(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ge(function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:ge(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function me(){}function ye(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=x++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,l){var c,u,h,d=[w,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=(h=t[b]||(t[b]={}))[t.uniqueID]||(h[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[o])&&c[0]===w&&c[1]===s)return d[2]=c[2];if(u[o]=d,d[2]=e(t,n,l))return!0}return!1}}function _e(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function xe(e,t,n,r,i,o){return r&&!r[b]&&(r=xe(r)),i&&!i[b]&&(i=xe(i,o)),ce(function(o,a,s,l){var c,u,h,d=[],f=[],p=a.length,A=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!o&&t?A:we(A,d,e,s,l),v=n?i||(o?e:p||r)?[]:a:g;if(n&&n(g,v,s,l),r)for(c=we(v,f),r(c,[],s,l),u=c.length;u--;)(h=c[u])&&(v[f[u]]=!(g[f[u]]=h));if(o){if(i||e){if(i){for(c=[],u=v.length;u--;)(h=v[u])&&c.push(g[u]=h);i(null,v=[],c,l)}for(u=v.length;u--;)(h=v[u])&&(c=i?P(o,h):d[u])>-1&&(o[c]=!(a[c]=h))}}else v=we(v===a?v.splice(p,v.length):v),i?i(null,a,v,l):I.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,u=be(function(e){return e===t},s,!0),h=be(function(e){return P(t,e)>-1},s,!0),d=[function(e,n,r){var i=!a&&(r||n!==c)||((t=n).nodeType?u(e,n,r):h(e,n,r));return t=null,i}];l<o;l++)if(n=r.relative[e[l].type])d=[be(_e(d),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[b]){for(i=++l;i<o&&!r.relative[e[i].type];i++);return xe(l>1&&_e(d),l>1&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(Q,"$1"),n,l<i&&Ce(e.slice(l,i)),i<o&&Ce(e=e.slice(i)),i<o&&ye(e))}d.push(n)}return _e(d)}return me.prototype=r.filters=r.pseudos,r.setFilters=new me,a=se.tokenize=function(e,t){var n,i,o,a,s,l,c,u=S[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=r.preFilter;s;){for(a in n&&!(i=z.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),n=!1,(i=Y.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(Q," ")}),s=s.slice(n.length)),r.filter)!(i=X[a].exec(s))||c[a]&&!(i=c[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):S(e,l).slice(0)},s=se.compile=function(e,t){var n,i=[],o=[],s=B[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Ce(t[n]))[b]?i.push(s):o.push(s);(s=B(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,l,u){var h,p,g,v=0,m="0",y=o&&[],b=[],_=c,x=o||i&&r.find.TAG("*",u),C=w+=null==_?1:Math.random()||.1,S=x.length;for(u&&(c=a==f||a||u);m!==S&&null!=(h=x[m]);m++){if(i&&h){for(p=0,a||h.ownerDocument==f||(d(h),s=!A);g=e[p++];)if(g(h,a||f,s)){l.push(h);break}u&&(w=C)}n&&((h=!g&&h)&&v--,o&&y.push(h))}if(v+=m,n&&m!==v){for(p=0;g=t[p++];)g(y,b,a,s);if(o){if(v>0)for(;m--;)y[m]||b[m]||(b[m]=D.call(l));b=we(b)}I.apply(l,b),u&&!o&&b.length>0&&v+t.length>1&&se.uniqueSort(l)}return u&&(w=C,c=_),y};return n?ce(o):o}(o,i))).selector=e}return s},l=se.select=function(e,t,n,i){var o,l,c,u,h,d="function"==typeof e&&e,f=!i&&a(e=d.selector||e);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&A&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=X.needsContext.test(e)?0:l.length;o--&&(c=l[o],!r.relative[u=c.type]);)if((h=r.find[u])&&(i=h(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(o,1),!(e=i.length&&ye(l)))return I.apply(n,i),n;break}}return(d||s(e,f))(i,t,!A,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=b.split("").sort(T).join("")===b,n.detectDuplicates=!!h,d(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||he("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||he("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||he(F,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(n);x.find=S,x.expr=S.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=S.uniqueSort,x.text=S.getText,x.isXMLDoc=S.isXML,x.contains=S.contains,x.escapeSelector=S.escape;var B=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r},k=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=x.expr.match.needsContext;function E(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,n){return v(t)?x.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?x.grep(e,function(e){return e===t!==n}):"string"!=typeof t?x.grep(e,function(e){return u.call(t,e)>-1!==n}):x.filter(t,e,n)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t<r;t++)if(x.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)x.find(e,i[t],n);return r>1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&T.test(e)?x(e):e||[],!1).length}});var O,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:I.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),M.test(r[1])&&x.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=y.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,O=x(y);var L=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function F(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(x.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&x(e);if(!T.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(x(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return B(e,"parentNode")},parentsUntil:function(e,t,n){return B(e,"parentNode",n)},next:function(e){return F(e,"nextSibling")},prev:function(e){return F(e,"previousSibling")},nextAll:function(e){return B(e,"nextSibling")},prevAll:function(e){return B(e,"previousSibling")},nextUntil:function(e,t,n){return B(e,"nextSibling",n)},prevUntil:function(e,t,n){return B(e,"previousSibling",n)},siblings:function(e){return k((e.parentNode||{}).firstChild,e)},children:function(e){return k(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(E(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(P[e]||x.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}});var R=/[^\x20\t\r\n\f]+/g;function N(e){return e}function H(e){throw e}function j(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(R)||[],function(e,n){t[n]=!0}),t}(e):x.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){x.each(n,function(n,r){v(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==w(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return x.each(arguments,function(e,t){for(var n;(n=x.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?x.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,r){var i=v(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<o)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(c)?i?c.call(n,a(o,t,N,i),a(o,t,H,i)):(o++,c.call(n,a(o,t,N,i),a(o,t,H,i),a(o,t,N,t.notifyWith))):(r!==N&&(s=void 0,l=[n]),(i||t.resolveWith)(s,l))}},u=i?c:function(){try{c()}catch(n){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(n,u.stackTrace),e+1>=o&&(r!==H&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?u():(x.Deferred.getStackHook&&(u.stackTrace=x.Deferred.getStackHook()),n.setTimeout(u))}}return x.Deferred(function(n){t[0][3].add(a(0,n,v(i)?i:N,n.notifyWith)),t[1][3].add(a(0,n,v(e)?e:N)),t[2][3].add(a(0,n,v(r)?r:H))}).promise()},promise:function(e){return null!=e?x.extend(e,i):i}},o={};return x.each(t,function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=x.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(j(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)j(i[n],a(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&U.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){n.setTimeout(function(){throw e})};var Q=x.Deferred();function z(){y.removeEventListener("DOMContentLoaded",z),n.removeEventListener("load",z),x.ready()}x.fn.ready=function(e){return Q.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||Q.resolveWith(y,[x]))}}),x.ready.then=Q.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(x.ready):(y.addEventListener("DOMContentLoaded",z),n.addEventListener("load",z));var Y=function(e,t,n,r,i,o,a){var s=0,l=e.length,c=null==n;if("object"===w(n))for(s in i=!0,n)Y(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(x(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):l?t(e[0],n):o},V=/^-ms-/,G=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function X(e){return e.replace(V,"ms-").replace(G,W)}var Z=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function $(){this.expando=x.expando+$.uid++}$.uid=1,$.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Z(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(R)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||x.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!x.isEmptyObject(t)}};var K=new $,J=new $,q=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:q.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return J.hasData(e)||K.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=J.get(o),1===o.nodeType&&!K.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=X(r.slice(5)),te(o,r,i[r]));K.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){J.set(this,e)}):Y(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=J.get(o,e))?n:void 0!==(n=te(o,e))?n:void 0;this.each(function(){J.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),x.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=K.get(e,t),n&&(!r||Array.isArray(n)?r=K.access(e,t,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){x.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:x.Callbacks("once memory").add(function(){K.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?x.queue(this[0],e):void 0===t?this:this.each(function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=x.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=K.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],oe=y.documentElement,ae=function(e){return x.contains(e.ownerDocument,e)},se={composed:!0};oe.getRootNode&&(ae=function(e){return x.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===x.css(e,"display")};function ce(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return x.css(e,t,"")},l=s(),c=n&&n[3]||(x.cssNumber[t]?"":"px"),u=e.nodeType&&(x.cssNumber[t]||"px"!==c&&+l)&&re.exec(x.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)x.style(e,t,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,x.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var ue={};function he(e){var t,n=e.ownerDocument,r=e.nodeName,i=ue[r];return i||(t=n.body.appendChild(n.createElement(r)),i=x.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ue[r]=i,i)}function de(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=K.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&le(r)&&(i[o]=he(r))):"none"!==n&&(i[o]="none",K.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}x.fn.extend({show:function(){return de(this,!0)},hide:function(){return de(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){le(this)?x(this).show():x(this).hide()})}});var fe,pe,Ae=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;fe=y.createDocumentFragment().appendChild(y.createElement("div")),(pe=y.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),fe.appendChild(pe),g.checkClone=fe.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!fe.cloneNode(!0).lastChild.defaultValue,fe.innerHTML="<option></option>",g.option=!!fe.lastChild;var me={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ye(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&E(e,t)?x.merge([e],n):n}function be(e,t){for(var n=0,r=e.length;n<r;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td,g.option||(me.optgroup=me.option=[1,"<select multiple='multiple'>","</select>"]);var _e=/<|&#?\w+;/;function we(e,t,n,r,i){for(var o,a,s,l,c,u,h=t.createDocumentFragment(),d=[],f=0,p=e.length;f<p;f++)if((o=e[f])||0===o)if("object"===w(o))x.merge(d,o.nodeType?[o]:o);else if(_e.test(o)){for(a=a||h.appendChild(t.createElement("div")),s=(ge.exec(o)||["",""])[1].toLowerCase(),l=me[s]||me._default,a.innerHTML=l[1]+x.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;x.merge(d,a.childNodes),(a=h.firstChild).textContent=""}else d.push(t.createTextNode(o));for(h.textContent="",f=0;o=d[f++];)if(r&&x.inArray(o,r)>-1)i&&i.push(o);else if(c=ae(o),a=ye(h.appendChild(o),"script"),c&&be(a),n)for(u=0;o=a[u++];)ve.test(o.type||"")&&n.push(o);return h}var xe=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Se(){return!1}function Be(e,t){return e===function(){try{return y.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return x().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=x.guid++)),e.each(function(){x.event.add(this,t,i,r,n)})}function Te(e,t,n){n?(K.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=K.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),K.set(this,t,o),r=n(this,t),this[t](),o!==(i=K.get(this,t))||r?K.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(K.set(this,t,{value:x.event.trigger(x.extend(o[0],x.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&x.event.add(e,t,Ce)}x.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,c,u,h,d,f,p,A,g=K.get(e);if(Z(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&x.find.matchesSelector(oe,i),n.guid||(n.guid=x.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(R)||[""]).length;c--;)f=A=(s=xe.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),f&&(h=x.event.special[f]||{},f=(i?h.delegateType:h.bindType)||f,h=x.event.special[f]||{},u=x.extend({type:f,origType:A,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&x.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,r,p,a)||e.addEventListener&&e.addEventListener(f,a)),h.add&&(h.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),x.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,c,u,h,d,f,p,A,g=K.hasData(e)&&K.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(R)||[""]).length;c--;)if(f=A=(s=xe.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),f){for(h=x.event.special[f]||{},d=l[f=(r?h.delegateType:h.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)u=d[o],!i&&A!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(e,u));a&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,p,g.handle)||x.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)x.event.remove(e,f+t[c],n,r,!0);x.isEmptyObject(l)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),l=x.event.fix(e),c=(K.get(this,"events")||Object.create(null))[l.type]||[],u=x.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=x.event.handlers.call(this,l,c),t=0;(i=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(r=((x.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,o,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?x(i,this).index(c)>-1:x.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&E(t,"input")&&Te(t,"click",Ce),!1},trigger:function(e){var t=this||e;return Ae.test(t.type)&&t.click&&E(t,"input")&&Te(t,"click"),!0},_default:function(e){var t=e.target;return Ae.test(t.type)&&t.click&&E(t,"input")&&K.get(t,"click")||E(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},function(e,t){x.event.special[e]={setup:function(){return Te(this,e,Be),!1},trigger:function(){return Te(this,e),!0},_default:function(){return!0},delegateType:t}}),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||x.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),x.fn.extend({on:function(e,t,n,r){return ke(this,e,t,n,r)},one:function(e,t,n,r){return ke(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each(function(){x.event.remove(this,e,n,t)})}});var Ee=/<script|<style|<link/i,Me=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Oe(e,t){return E(e,"table")&&E(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(K.hasData(e)&&(s=K.get(e).events))for(i in K.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)x.event.add(t,i,s[i][n]);J.hasData(e)&&(o=J.access(e),a=x.extend({},o),J.set(t,a))}}function Fe(e,t,n,r){t=l(t);var i,o,a,s,c,u,h=0,d=e.length,f=d-1,p=t[0],A=v(p);if(A||d>1&&"string"==typeof p&&!g.checkClone&&Me.test(p))return e.each(function(i){var o=e.eq(i);A&&(t[0]=p.call(this,i,o.html())),Fe(o,t,n,r)});if(d&&(o=(i=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=x.map(ye(i,"script"),Ie)).length;h<d;h++)c=i,h!==f&&(c=x.clone(c,!0,!0),s&&x.merge(a,ye(c,"script"))),n.call(e[h],c,h);if(s)for(u=a[a.length-1].ownerDocument,x.map(a,Le),h=0;h<s;h++)c=a[h],ve.test(c.type||"")&&!K.access(c,"globalEval")&&x.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?x._evalUrl&&!c.noModule&&x._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):_(c.textContent.replace(De,""),c,u))}return e}function Re(e,t,n){for(var r,i=t?x.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||x.cleanData(ye(r)),r.parentNode&&(n&&ae(r)&&be(ye(r,"script")),r.parentNode.removeChild(r));return e}x.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,l,c,u=e.cloneNode(!0),h=ae(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(a=ye(u),r=0,i=(o=ye(e)).length;r<i;r++)s=o[r],l=a[r],void 0,"input"===(c=l.nodeName.toLowerCase())&&Ae.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ye(e),a=a||ye(u),r=0,i=o.length;r<i;r++)Pe(o[r],a[r]);else Pe(e,u);return(a=ye(u,"script")).length>0&&be(a,!h&&ye(e,"script")),u},cleanData:function(e){for(var t,n,r,i=x.event.special,o=0;void 0!==(n=e[o]);o++)if(Z(n)){if(t=n[K.expando]){if(t.events)for(r in t.events)i[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[K.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),x.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return Y(this,function(e){return void 0===e?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Fe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)})},prepend:function(){return Fe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Fe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return Y(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!me[(ge.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(x.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Fe(this,arguments,function(t){var n=this.parentNode;x.inArray(this,e)<0&&(x.cleanData(ye(this)),n&&n.replaceChild(t,this))},e)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){for(var n,r=[],i=x(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),x(i[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}});var Ne=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),He=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},je=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ue=new RegExp(ie.join("|"),"i");function Qe(e,t,n){var r,i,o,a,s=e.style;return(n=n||He(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ae(e)||(a=x.style(e,t)),!g.pixelBoxStyles()&&Ne.test(a)&&Ue.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function ze(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",oe.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),oe.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,a,s,l,c=y.createElement("div"),u=y.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,x.extend(g,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,r,i;return null==s&&(e=y.createElement("table"),t=y.createElement("tr"),r=y.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",oe.appendChild(e).appendChild(t).appendChild(r),i=n.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,oe.removeChild(e)),s}}))}();var Ye=["Webkit","Moz","ms"],Ve=y.createElement("div").style,Ge={};function We(e){var t=x.cssProps[e]||Ge[e];return t||(e in Ve?e:Ge[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ye.length;n--;)if((e=Ye[n]+t)in Ve)return e}(e)||e)}var Xe=/^(none|table(?!-c[ea]).+)/,Ze=/^--/,$e={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=re.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function qe(e,t,n,r,i,o){var a="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=x.css(e,n+ie[a],!0,i)),r?("content"===n&&(l-=x.css(e,"padding"+ie[a],!0,i)),"margin"!==n&&(l-=x.css(e,"border"+ie[a]+"Width",!0,i))):(l+=x.css(e,"padding"+ie[a],!0,i),"padding"!==n?l+=x.css(e,"border"+ie[a]+"Width",!0,i):s+=x.css(e,"border"+ie[a]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l}function et(e,t,n){var r=He(e),i=(!g.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,r),o=i,a=Qe(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ne.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&E(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===x.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===x.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+qe(e,t,n||(i?"border":"content"),o,r,a)+"px"}function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),l=Ze.test(t),c=e.style;if(l||(t=We(s)),a=x.cssHooks[t]||x.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=re.exec(n))&&i[1]&&(n=ce(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(x.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Ze.test(t)||(t=We(s)),(a=x.cssHooks[t]||x.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Qe(e,t,r)),"normal"===i&&t in Ke&&(i=Ke[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!Xe.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):je(e,$e,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=He(e),a=!g.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===x.css(e,"boxSizing",!1,o),l=r?qe(e,t,r,s,o):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-qe(e,t,"border",!1,o)-.5)),l&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),Je(0,n,l)}}}),x.cssHooks.marginLeft=ze(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||e.getBoundingClientRect().left-je(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(x.cssHooks[e+t].set=Je)}),x.fn.extend({css:function(e,t){return Y(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=He(e),i=t.length;a<i;a++)o[t[a]]=x.css(e,t[a],!1,r);return o}return void 0!==n?x.style(e,t,n):x.css(e,t)},e,t,arguments.length>1)}}),x.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[We(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=tt.prototype.init,x.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,x.fx.interval),x.fx.tick())}function st(){return n.setTimeout(function(){nt=void 0}),nt=Date.now()}function lt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var r,i=(ut.tweeners[t]||[]).concat(ut.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ut(e,t,n){var r,i,o=0,a=ut.prefilters.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var t=nt||st(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=x.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);o<a;o++)if(r=ut.prefilters[o].call(c,e,u,c.opts))return v(r.stop)&&(x._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return x.map(u,ct,c),v(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),x.fx.timer(x.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}x.Animation=x.extend(ut,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(R);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ut.tweeners[n]=ut.tweeners[n]||[],ut.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,l,c,u,h="width"in t||"height"in t,d=this,f={},p=e.style,A=e.nodeType&&le(e),g=K.get(e,"fxshow");for(r in n.queue||(null==(a=x._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,x.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],it.test(i)){if(delete t[r],o=o||"toggle"===i,i===(A?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;A=!0}f[r]=g&&g[r]||x.style(e,r)}if((l=!x.isEmptyObject(t))||!x.isEmptyObject(f))for(r in h&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=K.get(e,"display")),"none"===(u=x.css(e,"display"))&&(c?u=c:(de([e],!0),c=e.style.display||c,u=x.css(e,"display"),de([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===x.css(e,"float")&&(l||(d.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,f)l||(g?"hidden"in g&&(A=g.hidden):g=K.access(e,"fxshow",{display:c}),o&&(g.hidden=!A),A&&de([e],!0),d.done(function(){for(r in A||de([e]),K.remove(e,"fxshow"),f)x.style(e,r,f[r])})),l=ct(A?g[r]:0,r,d),r in g||(g[r]=l.start,A&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?ut.prefilters.unshift(e):ut.prefilters.push(e)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return x.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in x.fx.speeds?r.duration=x.fx.speeds[r.duration]:r.duration=x.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=ut(this,x.extend({},e),o);(i||K.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=x.timers,a=K.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ot.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||x.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=K.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(lt(t,!0),e,r,i)}}),x.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.timers=[],x.fx.tick=function(){var e,t=0,n=x.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||x.fx.stop(),nt=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){rt||(rt=!0,at())},x.fx.stop=function(){rt=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(e,t){return e=x.fx&&x.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}})},function(){var e=y.createElement("input"),t=y.createElement("select").appendChild(y.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=y.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var ht,dt=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return Y(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?x.prop(e,t,n):(1===o&&x.isXMLDoc(e)||(i=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&E(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(R);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=dt[t]||x.find.attr;dt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=dt[a],dt[a]=i,i=null!=n(e,t,r)?a:null,dt[a]=o),i}});var ft=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;function At(e){return(e.match(R)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}x.fn.extend({prop:function(e,t){return Y(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(e)||(t=x.propFix[t]||t,i=x.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):ft.test(e.nodeName)||pt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,l=0;if(v(e))return this.each(function(t){x(this).addClass(e.call(this,t,gt(this)))});if((t=vt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+At(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=At(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,l=0;if(v(e))return this.each(function(t){x(this).removeClass(e.call(this,t,gt(this)))});if(!arguments.length)return this.attr("class","");if((t=vt(e)).length)for(;n=this[l++];)if(i=gt(n),r=1===n.nodeType&&" "+At(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=At(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):v(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,gt(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=x(this),a=vt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=gt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+At(gt(n))+" ").indexOf(t)>-1)return!0;return!1}});var mt=/\r/g;x.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=v(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,x(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(mt,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:At(x.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?o+1:i.length;for(r=o<0?l:a?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!E(n.parentNode,"optgroup"))){if(t=x(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=x.makeArray(t),a=i.length;a--;)((r=i[a]).selected=x.inArray(x.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},g.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),g.focusin="onfocusin"in n;var yt=/^(?:focusinfocus|focusoutblur)$/,bt=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,r,i){var o,a,s,l,c,u,h,d,p=[r||y],A=f.call(e,"type")?e.type:e,g=f.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=r=r||y,3!==r.nodeType&&8!==r.nodeType&&!yt.test(A+x.event.triggered)&&(A.indexOf(".")>-1&&(A=(g=A.split(".")).shift(),g.sort()),c=A.indexOf(":")<0&&"on"+A,(e=e[x.expando]?e:new x.Event(A,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:x.makeArray(t,[e]),h=x.event.special[A]||{},i||!h.trigger||!1!==h.trigger.apply(r,t))){if(!i&&!h.noBubble&&!m(r)){for(l=h.delegateType||A,yt.test(l+A)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||y)&&p.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=p[o++])&&!e.isPropagationStopped();)d=a,e.type=o>1?l:h.bindType||A,(u=(K.get(a,"events")||Object.create(null))[e.type]&&K.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&Z(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=A,i||e.isDefaultPrevented()||h._default&&!1!==h._default.apply(p.pop(),t)||!Z(r)||c&&v(r[A])&&!m(r)&&((s=r[c])&&(r[c]=null),x.event.triggered=A,e.isPropagationStopped()&&d.addEventListener(A,bt),r[A](),e.isPropagationStopped()&&d.removeEventListener(A,bt),x.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(r,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),g.focusin||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=K.access(r,t);i||r.addEventListener(e,n,!0),K.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=K.access(r,t)-1;i?K.access(r,t,i):(r.removeEventListener(e,n,!0),K.remove(r,t))}}});var _t=n.location,wt={guid:Date.now()},xt=/\?/;x.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||x.error("Invalid XML: "+(r?x.map(r.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Ct=/\[\]$/,St=/\r?\n/g,Bt=/^(?:submit|button|image|reset|file)$/i,kt=/^(?:input|select|textarea|keygen)/i;function Tt(e,t,n,r){var i;if(Array.isArray(t))x.each(t,function(t,i){n||Ct.test(e)?r(e,i):Tt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==w(t))r(e,t);else for(i in t)Tt(e+"["+i+"]",t[i],n,r)}x.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){i(this.name,this.value)});else for(n in e)Tt(n,e[n],t,i);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&kt.test(this.nodeName)&&!Bt.test(e)&&(this.checked||!Ae.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}});var Et=/%20/g,Mt=/#.*$/,Dt=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:GET|HEAD)$/,Lt=/^\/\//,Pt={},Ft={},Rt="*/".concat("*"),Nt=y.createElement("a");function Ht(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(R)||[];if(v(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function jt(e,t,n,r){var i={},o=e===Ft;function a(s){var l;return i[s]=!0,x.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Ut(e,t){var n,r,i=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}Nt.href=_t.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,x.ajaxSettings),t):Ut(x.ajaxSettings,e)},ajaxPrefilter:Ht(Pt),ajaxTransport:Ht(Ft),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,l,c,u,h,d,f=x.ajaxSetup({},t),p=f.context||f,A=f.context&&(p.nodeType||p.jquery)?x(p):x.event,g=x.Deferred(),v=x.Callbacks("once memory"),m=f.statusCode||{},b={},_={},w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Ot.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)m[t]=[m[t],e[t]];return this},abort:function(e){var t=e||w;return r&&r.abort(t),S(0,t),this}};if(g.promise(C),f.url=((e||f.url||_t.href)+"").replace(Lt,_t.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(R)||[""],null==f.crossDomain){l=y.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Nt.protocol+"//"+Nt.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=x.param(f.data,f.traditional)),jt(Pt,f,t,C),c)return C;for(h in(u=x.event&&f.global)&&0==x.active++&&x.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!It.test(f.type),i=f.url.replace(Mt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Et,"+")):(d=f.url.slice(i.length),f.data&&(f.processData||"string"==typeof f.data)&&(i+=(xt.test(i)?"&":"?")+f.data,delete f.data),!1===f.cache&&(i=i.replace(Dt,"$1"),d=(xt.test(i)?"&":"?")+"_="+wt.guid+++d),f.url=i+d),f.ifModified&&(x.lastModified[i]&&C.setRequestHeader("If-Modified-Since",x.lastModified[i]),x.etag[i]&&C.setRequestHeader("If-None-Match",x.etag[i])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Rt+"; q=0.01":""):f.accepts["*"]),f.headers)C.setRequestHeader(h,f.headers[h]);if(f.beforeSend&&(!1===f.beforeSend.call(p,C,f)||c))return C.abort();if(w="abort",v.add(f.complete),C.done(f.success),C.fail(f.error),r=jt(Ft,f,t,C)){if(C.readyState=1,u&&A.trigger("ajaxSend",[C,f]),c)return C;f.async&&f.timeout>0&&(s=n.setTimeout(function(){C.abort("timeout")},f.timeout));try{c=!1,r.send(b,S)}catch(e){if(c)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,l){var h,d,y,b,_,w=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,o=l||"",C.readyState=e>0?4:0,h=e>=200&&e<300||304===e,a&&(b=function(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(f,C,a)),!h&&x.inArray("script",f.dataTypes)>-1&&x.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),b=function(e,t,n,r){var i,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(f,b,C,h),h?(f.ifModified&&((_=C.getResponseHeader("Last-Modified"))&&(x.lastModified[i]=_),(_=C.getResponseHeader("etag"))&&(x.etag[i]=_)),204===e||"HEAD"===f.type?w="nocontent":304===e?w="notmodified":(w=b.state,d=b.data,h=!(y=b.error))):(y=w,!e&&w||(w="error",e<0&&(e=0))),C.status=e,C.statusText=(t||w)+"",h?g.resolveWith(p,[d,w,C]):g.rejectWith(p,[C,w,y]),C.statusCode(m),m=void 0,u&&A.trigger(h?"ajaxSuccess":"ajaxError",[C,f,h?d:y]),v.fireWith(p,[C,w]),u&&(A.trigger("ajaxComplete",[C,f]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,t){x[t]=function(e,n,r,i){return v(n)&&(i=i||r,r=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:i,data:n,success:r},x.isPlainObject(e)&&e))}}),x.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return v(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},zt=x.ajaxSettings.xhr();g.cors=!!zt&&"withCredentials"in zt,g.ajax=zt=!!zt,x.ajaxTransport(function(e){var t,r;if(g.cors||zt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),x.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=x("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),y.head.appendChild(t[0])},abort:function(){n&&n()}}});var Yt,Vt=[],Gt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Vt.pop()||x.expando+"_"+wt.guid++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Gt,"$1"+i):!1!==e.jsonp&&(e.url+=(xt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||x.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?x(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Vt.push(i)),a&&v(o)&&o(a[0]),a=o=void 0}),"script"}),g.createHTMLDocument=((Yt=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Yt.childNodes.length),x.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,t.head.appendChild(r)):t=y),i=M.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&x(o).remove(),x.merge([],i.childNodes)));var r,i,o},x.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=At(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&x.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?x("<div>").append(x.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},x.expr.pseudos.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length},x.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,c=x.css(e,"position"),u=x(e),h={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=x.css(e,"top"),l=x.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(r=u.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),v(t)&&(t=t.call(e,n,x.extend({},s))),null!=t.top&&(h.top=t.top-s.top+a),null!=t.left&&(h.left=t.left-s.left+i),"using"in t?t.using.call(e,h):u.css(h)}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){x.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===x.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),i.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-x.css(r,"marginTop",!0),left:t.left-i.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||oe})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;x.fn[e]=function(r){return Y(this,function(e,r,i){var o;if(m(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),x.each(["top","left"],function(e,t){x.cssHooks[t]=ze(g.pixelPosition,function(e,n){if(n)return n=Qe(e,t),Ne.test(n)?x(e).position()[t]+"px":n})}),x.each({Height:"height",Width:"width"},function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){x.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return Y(this,function(t,n,i){var o;return m(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?x.css(t,n,s):x.style(t,n,i,s)},t,a?i:void 0,a)}})}),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var Wt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;x.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||x.guid++,i},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=E,x.isFunction=v,x.isWindow=m,x.camelCase=X,x.type=w,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},x.trim=function(e){return null==e?"":(e+"").replace(Wt,"")},void 0===(r=function(){return x}.apply(t,[]))||(e.exports=r);var Xt=n.jQuery,Zt=n.$;return x.noConflict=function(e){return n.$===x&&(n.$=Zt),e&&n.jQuery===x&&(n.jQuery=Xt),x},void 0===i&&(n.jQuery=n.$=x),x})},"82Mu":function(e,t,n){var r=n("7KvD"),i=n("L42u").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n("R9M2")(a);e.exports=function(){var e,t,n,c=function(){var r,i;for(l&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){i.call(r,c)};else{var h=!0,d=document.createTextNode("");new o(c).observe(d,{characterData:!0}),n=function(){d.data=h=!h}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},"835U":function(e,t,n){"use strict";t.__esModule=!0,t.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},t.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isHtmlElement=function(e){return e&&e.nodeType===Node.ELEMENT_NODE};t.isFunction=function(e){return e&&"[object Function]"==={}.toString.call(e)},t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return void 0!==e&&null!==e}},"880/":function(e,t,n){e.exports=n("hJx8")},"8hRR":function(e,t,n){e.exports={default:n("B0bq"),__esModule:!0}},"94VQ":function(e,t,n){"use strict";var r=n("Yobk"),i=n("X8DO"),o=n("e6n0"),a={};n("hJx8")(a,n("dSzd")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},"9Bbf":function(e,t,n){"use strict";var r=n("kM2E");e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},"9C8M":function(e,t,n){"use strict";var r=n("evD5").f,i=n("Yobk"),o=n("xH/j"),a=n("+ZMJ"),s=n("2KxR"),l=n("NWt+"),c=n("vIB/"),u=n("EGZi"),h=n("bRrM"),d=n("+E39"),f=n("06OY").fastKey,p=n("LIJb"),A=d?"_s":"size",g=function(e,t){var n,r=f(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var u=e(function(e,r){s(e,u,t,"_i"),e._t=t,e._i=i(null),e._f=void 0,e._l=void 0,e[A]=0,void 0!=r&&l(r,n,e[c],e)});return o(u.prototype,{clear:function(){for(var e=p(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[A]=0},delete:function(e){var n=p(this,t),r=g(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[A]--}return!!r},forEach:function(e){p(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(p(this,t),e)}}),d&&r(u.prototype,"size",{get:function(){return p(this,t)[A]}}),u},def:function(e,t,n){var r,i,o=g(e,t);return o?o.v=n:(e._l=o={i:i=f(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[A]++,"F"!==i&&(e._i[i]=o)),e},getEntry:g,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=p(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))},n?"entries":"values",!n,!0),h(t)}}},"9Gld":function(e,t,n){e.exports={default:n("u/Zb"),__esModule:!0}},"9MlZ":function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},"9Zs0":function(e,t,n){var r=n("ZezE");e.exports=function(){this.class_id=0,this.num_samples=0,this.num_channels=0,this.in_samplerate=0,this.out_samplerate=0,this.scale=0,this.scale_left=0,this.scale_right=0,this.analysis=!1,this.bWriteVbrTag=!1,this.decode_only=!1,this.quality=0,this.mode=r.STEREO,this.force_ms=!1,this.free_format=!1,this.findReplayGain=!1,this.decode_on_the_fly=!1,this.write_id3tag_automatic=!1,this.brate=0,this.compression_ratio=0,this.copyright=0,this.original=0,this.extension=0,this.emphasis=0,this.error_protection=0,this.strict_ISO=!1,this.disable_reservoir=!1,this.quant_comp=0,this.quant_comp_short=0,this.experimentalY=!1,this.experimentalZ=0,this.exp_nspsytune=0,this.preset=0,this.VBR=null,this.VBR_q_frac=0,this.VBR_q=0,this.VBR_mean_bitrate_kbps=0,this.VBR_min_bitrate_kbps=0,this.VBR_max_bitrate_kbps=0,this.VBR_hard_min=0,this.lowpassfreq=0,this.highpassfreq=0,this.lowpasswidth=0,this.highpasswidth=0,this.maskingadjust=0,this.maskingadjust_short=0,this.ATHonly=!1,this.ATHshort=!1,this.noATH=!1,this.ATHtype=0,this.ATHcurve=0,this.ATHlower=0,this.athaa_type=0,this.athaa_loudapprox=0,this.athaa_sensitivity=0,this.short_blocks=null,this.useTemporal=!1,this.interChRatio=0,this.msfix=0,this.tune=!1,this.tune_value_a=0,this.version=0,this.encoder_delay=0,this.encoder_padding=0,this.framesize=0,this.frameNum=0,this.lame_allocated_gfp=0,this.internal_flags=null}},"9bBU":function(e,t,n){n("mClu");var r=n("FeBl").Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},ALrJ:function(e,t,n){var r=n("+ZMJ"),i=n("MU5D"),o=n("sB3e"),a=n("QRG4"),s=n("oeOm");e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,h=6==e,d=5==e||h,f=t||s;return function(t,s,p){for(var A,g,v=o(t),m=i(v),y=r(s,p,3),b=a(m.length),_=0,w=n?f(t,b):l?f(t,0):void 0;b>_;_++)if((d||_ in m)&&(g=y(A=m[_],_,v),e))if(n)w[_]=g;else if(g)switch(e){case 3:return!0;case 5:return A;case 6:return _;case 2:w.push(A)}else if(u)return!1;return h?-1:c||u?u:w}}},AMCD:function(e,t,n){"use strict";t.__esModule=!0,t.validateRangeInOneMonth=t.extractTimeFormat=t.extractDateFormat=t.nextYear=t.prevYear=t.nextMonth=t.prevMonth=t.changeYearMonthAndClampDate=t.timeWithinRange=t.limitTimeRange=t.clearMilliseconds=t.clearTime=t.modifyWithTimeString=t.modifyTime=t.modifyDate=t.range=t.getRangeMinutes=t.getMonthDays=t.getPrevMonthLastDays=t.getRangeHours=t.getWeekNumber=t.getStartDateOfMonth=t.nextDate=t.prevDate=t.getFirstDayOfMonth=t.getDayCountOfYear=t.getDayCountOfMonth=t.parseDate=t.formatDate=t.isDateObject=t.isDate=t.toDate=t.getI18nSettings=void 0;var r,i=n("eNfa"),o=(r=i)&&r.__esModule?r:{default:r},a=n("urW8");var s=["sun","mon","tue","wed","thu","fri","sat"],l=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],c=t.getI18nSettings=function(){return{dayNamesShort:s.map(function(e){return(0,a.t)("el.datepicker.weeks."+e)}),dayNames:s.map(function(e){return(0,a.t)("el.datepicker.weeks."+e)}),monthNamesShort:l.map(function(e){return(0,a.t)("el.datepicker.months."+e)}),monthNames:l.map(function(e,t){return(0,a.t)("el.datepicker.month"+(t+1))}),amPm:["am","pm"]}},u=t.toDate=function(e){return h(e)?new Date(e):null},h=t.isDate=function(e){return null!==e&&void 0!==e&&(!isNaN(new Date(e).getTime())&&!Array.isArray(e))},d=(t.isDateObject=function(e){return e instanceof Date},t.formatDate=function(e,t){return(e=u(e))?o.default.format(e,t||"yyyy-MM-dd",c()):""},t.parseDate=function(e,t){return o.default.parse(e,t||"yyyy-MM-dd",c())}),f=t.getDayCountOfMonth=function(e,t){return 3===t||5===t||8===t||10===t?30:1===t?e%4==0&&e%100!=0||e%400==0?29:28:31},p=(t.getDayCountOfYear=function(e){return e%400==0||e%100!=0&&e%4==0?366:365},t.getFirstDayOfMonth=function(e){var t=new Date(e.getTime());return t.setDate(1),t.getDay()},t.prevDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()-t)});t.nextDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t)},t.getStartDateOfMonth=function(e,t){var n=new Date(e,t,1),r=n.getDay();return p(n,0===r?7:r)},t.getWeekNumber=function(e){if(!h(e))return null;var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},t.getRangeHours=function(e){var t=[],n=[];if((e||[]).forEach(function(e){var t=e.map(function(e){return e.getHours()});n=n.concat(function(e,t){for(var n=[],r=e;r<=t;r++)n.push(r);return n}(t[0],t[1]))}),n.length)for(var r=0;r<24;r++)t[r]=-1===n.indexOf(r);else for(var i=0;i<24;i++)t[i]=!1;return t},t.getPrevMonthLastDays=function(e,t){if(t<=0)return[];var n=new Date(e.getTime());n.setDate(0);var r=n.getDate();return g(t).map(function(e,n){return r-(t-n-1)})},t.getMonthDays=function(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0).getDate();return g(t).map(function(e,t){return t+1})};function A(e,t,n,r){for(var i=t;i<n;i++)e[i]=r}t.getRangeMinutes=function(e,t){var n=new Array(60);return e.length>0?e.forEach(function(e){var r=e[0],i=e[1],o=r.getHours(),a=r.getMinutes(),s=i.getHours(),l=i.getMinutes();o===t&&s!==t?A(n,a,60,!0):o===t&&s===t?A(n,a,l+1,!0):o!==t&&s===t?A(n,0,l+1,!0):o<t&&s>t&&A(n,0,60,!0)}):A(n,0,60,!0),n};var g=t.range=function(e){return Array.apply(null,{length:e}).map(function(e,t){return t})},v=t.modifyDate=function(e,t,n,r){return new Date(t,n,r,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())},m=t.modifyTime=function(e,t,n,r){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),t,n,r,e.getMilliseconds())},y=(t.modifyWithTimeString=function(e,t){return null!=e&&t?(t=d(t,"HH:mm:ss"),m(e,t.getHours(),t.getMinutes(),t.getSeconds())):e},t.clearTime=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())},t.clearMilliseconds=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),0)},t.limitTimeRange=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"HH:mm:ss";if(0===t.length)return e;var r=function(e){return o.default.parse(o.default.format(e,n),n)},i=r(e),a=t.map(function(e){return e.map(r)});if(a.some(function(e){return i>=e[0]&&i<=e[1]}))return e;var s=a[0][0],l=a[0][0];return a.forEach(function(e){s=new Date(Math.min(e[0],s)),l=new Date(Math.max(e[1],s))}),v(i<s?s:l,e.getFullYear(),e.getMonth(),e.getDate())}),b=(t.timeWithinRange=function(e,t,n){return y(e,t,n).getTime()===e.getTime()},t.changeYearMonthAndClampDate=function(e,t,n){var r=Math.min(e.getDate(),f(t,n));return v(e,t,n,r)});t.prevMonth=function(e){var t=e.getFullYear(),n=e.getMonth();return 0===n?b(e,t-1,11):b(e,t,n-1)},t.nextMonth=function(e){var t=e.getFullYear(),n=e.getMonth();return 11===n?b(e,t+1,0):b(e,t,n+1)},t.prevYear=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.getFullYear(),r=e.getMonth();return b(e,n-t,r)},t.nextYear=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.getFullYear(),r=e.getMonth();return b(e,n+t,r)},t.extractDateFormat=function(e){return e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim()},t.extractTimeFormat=function(e){return e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g,"").trim()},t.validateRangeInOneMonth=function(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}},AWUW:function(e,t){e.exports=function(){this.setModules=function(e,t){}}},AopE:function(e,t,n){"use strict";var r=n("7+uW"),i=n("R32S");const o=r.default.extend(i.a);let a,s;const l=(e={})=>{"string"==typeof e&&(e={url:e}),e.show=!0,Object.keys(s).map(t=>{void 0==e[t]&&(e[t]=s[t])}),(a=new o({data:e})).$mount();let t=a.$el;return document.body.appendChild(t),a},c=(e,t={})=>{s=t,e.prototype.$hevueImgPreview=l};"undefined"!=typeof window&&window.Vue&&c(window.Vue),t.a=c},B0bq:function(e,t,n){n("fWfb"),e.exports=n("FeBl").Object.getOwnPropertySymbols},BDhv:function(e,t,n){var r=n("kM2E");r(r.P+r.R,"Set",{toJSON:n("m9gC")("Set")})},BO1k:function(e,t,n){e.exports={default:n("fxRn"),__esModule:!0}},BwfY:function(e,t,n){n("fWfb"),n("M6a0"),n("OYls"),n("QWe/"),e.exports=n("FeBl").Symbol},C4MV:function(e,t,n){e.exports={default:n("9bBU"),__esModule:!0}},CXw9:function(e,t,n){"use strict";var r,i,o,a,s=n("O4g8"),l=n("7KvD"),c=n("+ZMJ"),u=n("RY/4"),h=n("kM2E"),d=n("EqjI"),f=n("lOnJ"),p=n("2KxR"),A=n("NWt+"),g=n("t8x9"),v=n("L42u").set,m=n("82Mu")(),y=n("qARP"),b=n("dNDb"),_=n("iUbK"),w=n("fJUb"),x=l.TypeError,C=l.process,S=C&&C.versions,B=S&&S.v8||"",k=l.Promise,T="process"==u(C),E=function(){},M=i=y.f,D=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n("dSzd")("species")]=function(e){e(E,E)};return(T||"function"==typeof PromiseRejectionEvent)&&e.then(E)instanceof t&&0!==B.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},I=function(e,t){if(!e._n){e._n=!0;var n=e._c;m(function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,s=i?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(i||(2==e._h&&F(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===t.promise?c(x("Promise-chain cycle")):(o=O(n))?o.call(n,l,c):l(n)):c(r)}catch(e){u&&!a&&u.exit(),c(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&L(e)})}},L=function(e){v.call(l,function(){var t,n,r,i=e._v,o=P(e);if(o&&(t=b(function(){T?C.emit("unhandledRejection",i,e):(n=l.onunhandledrejection)?n({promise:e,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=T||P(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},F=function(e){v.call(l,function(){var t;T?C.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},R=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),I(t,!0))},N=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw x("Promise can't be resolved itself");(t=O(e))?m(function(){var r={_w:n,_d:!1};try{t.call(e,c(N,r,1),c(R,r,1))}catch(e){R.call(r,e)}}):(n._v=e,n._s=1,I(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};D||(k=function(e){p(this,k,"Promise","_h"),f(e),r.call(this);try{e(c(N,this,1),c(R,this,1))}catch(e){R.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("xH/j")(k.prototype,{then:function(e,t){var n=M(g(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=T?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=c(N,e,1),this.reject=c(R,e,1)},y.f=M=function(e){return e===k||e===a?new o(e):i(e)}),h(h.G+h.W+h.F*!D,{Promise:k}),n("e6n0")(k,"Promise"),n("bRrM")("Promise"),a=n("FeBl").Promise,h(h.S+h.F*!D,"Promise",{reject:function(e){var t=M(this);return(0,t.reject)(e),t.promise}}),h(h.S+h.F*(s||!D),"Promise",{resolve:function(e){return w(s&&this===a?k:this,e)}}),h(h.S+h.F*!(D&&n("dY0y")(function(e){k.all(e).catch(E)})),"Promise",{all:function(e){var t=this,n=M(t),r=n.resolve,i=n.reject,o=b(function(){var n=[],o=0,a=1;A(e,!1,function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=M(t),r=n.reject,i=b(function(){A(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},Cdx3:function(e,t,n){var r=n("sB3e"),i=n("lktj");n("uqUo")("keys",function(){return function(e){return i(r(e))}})},CwSZ:function(e,t,n){"use strict";var r=n("Zoe1"),i=n("p8xL"),o=n("XgCd"),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},h=Date.prototype.toISOString,d=o.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(e){return h.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,n,o,a,s,c,h,d,p,A,g,v,m,y,b){var _,w=t;if(b.has(t))throw new RangeError("Cyclic object value");if("function"==typeof h?w=h(n,w):w instanceof Date?w=A(w):"comma"===o&&l(w)&&(w=i.maybeMap(w,function(e){return e instanceof Date?A(e):e})),null===w){if(a)return c&&!m?c(n,f.encoder,y,"key",g):n;w=""}if("string"==typeof(_=w)||"number"==typeof _||"boolean"==typeof _||"symbol"==typeof _||"bigint"==typeof _||i.isBuffer(w))return c?[v(m?n:c(n,f.encoder,y,"key",g))+"="+v(c(w,f.encoder,y,"value",g))]:[v(n)+"="+v(String(w))];var x,C=[];if(void 0===w)return C;if("comma"===o&&l(w))x=[{value:w.length>0?w.join(",")||null:void 0}];else if(l(h))x=h;else{var S=Object.keys(w);x=d?S.sort(d):S}for(var B=0;B<x.length;++B){var k=x[B],T="object"==typeof k&&void 0!==k.value?k.value:w[k];if(!s||null!==T){var E=l(w)?"function"==typeof o?o(n,k):n:n+(p?"."+k:"["+k+"]");b.set(t,!0);var M=r();u(C,e(T,E,o,a,s,c,h,d,p,A,g,v,m,y,M))}}return C};e.exports=function(e,t){var n,i=e,c=function(e){if(!e)return f;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],i=f.filter;return("function"==typeof e.filter||l(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===e.allowDots?f.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof c.filter?i=(0,c.filter)("",i):l(c.filter)&&(n=c.filter);var h,d=[];if("object"!=typeof i||null===i)return"";h=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var A=s[h];n||(n=Object.keys(i)),c.sort&&n.sort(c.sort);for(var g=r(),v=0;v<n.length;++v){var m=n[v];c.skipNulls&&null===i[m]||u(d,p(i[m],m,A,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,g))}var y=d.join(c.delimiter),b=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),y.length>0?b+y:""}},D2L2:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},DDCP:function(e,t,n){"use strict";var r=n("p8xL"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,u=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var h=0;n.depth>0&&null!==(s=a.exec(o))&&h<n.depth;){if(h+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var i=r?t:l(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[])[u]=i:a[c]=i:a={0:i}}i=a}return i}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null===e||void 0===e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,c={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,h),f=-1,p=t.charset;if(t.charsetSentinel)for(n=0;n<d.length;++n)0===d[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[n]?p="utf-8":"utf8=%26%2310003%3B"===d[n]&&(p="iso-8859-1"),f=n,n=d.length);for(n=0;n<d.length;++n)if(n!==f){var A,g,v=d[n],m=v.indexOf("]="),y=-1===m?v.indexOf("="):m+1;-1===y?(A=t.decoder(v,a.decoder,p,"key"),g=t.strictNullHandling?null:""):(A=t.decoder(v.slice(0,y),a.decoder,p,"key"),g=r.maybeMap(l(v.slice(y+1),t),function(e){return t.decoder(e,a.decoder,p,"value")})),g&&t.interpretNumericEntities&&"iso-8859-1"===p&&(g=s(g)),v.indexOf("[]=")>-1&&(g=o(g)?[g]:g),i.call(c,A)?c[A]=r.combine(c[A],g):c[A]=g}return c}(e,n):e,h=n.plainObjects?Object.create(null):{},d=Object.keys(u),f=0;f<d.length;++f){var p=d[f],A=c(p,u[p],n,"string"==typeof e);h=r.merge(h,A,n)}return!0===n.allowSparse?h:r.compact(h)}},DQCr:function(e,t,n){"use strict";var r=n("cGG2");function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,function(e,t){null!==e&&void 0!==e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},DQJY:function(e,t,n){"use strict";t.__esModule=!0;var r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=n("hyEB"),a=(r=o)&&r.__esModule?r:{default:r};var s,l=l||{};l.Dialog=function(e,t,n){var r=this;if(this.dialogNode=e,null===this.dialogNode||"dialog"!==this.dialogNode.getAttribute("role"))throw new Error("Dialog() requires a DOM element with ARIA role of dialog.");"string"==typeof t?this.focusAfterClosed=document.getElementById(t):"object"===(void 0===t?"undefined":i(t))?this.focusAfterClosed=t:this.focusAfterClosed=null,"string"==typeof n?this.focusFirst=document.getElementById(n):"object"===(void 0===n?"undefined":i(n))?this.focusFirst=n:this.focusFirst=null,this.focusFirst?this.focusFirst.focus():a.default.focusFirstDescendant(this.dialogNode),this.lastFocus=document.activeElement,s=function(e){r.trapFocus(e)},this.addListeners()},l.Dialog.prototype.addListeners=function(){document.addEventListener("focus",s,!0)},l.Dialog.prototype.removeListeners=function(){document.removeEventListener("focus",s,!0)},l.Dialog.prototype.closeDialog=function(){var e=this;this.removeListeners(),this.focusAfterClosed&&setTimeout(function(){e.focusAfterClosed.focus()})},l.Dialog.prototype.trapFocus=function(e){a.default.IgnoreUtilFocusChanges||(this.dialogNode.contains(e.target)?this.lastFocus=e.target:(a.default.focusFirstDescendant(this.dialogNode),this.lastFocus===document.activeElement&&a.default.focusLastDescendant(this.dialogNode),this.lastFocus=document.activeElement))},t.default=l.Dialog},DRaW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parse=A,t.lift=function(e,t){var n=A(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return _(n,4===n.length?"rgba":"rgb")}},t.toHex=function(e){var t=A(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)},t.fastLerp=v,n.d(t,"fastMapToColor",function(){return m}),t.lerp=y,n.d(t,"mapToColor",function(){return b}),t.modifyHSL=function(e,t,n,r){var i=A(e);if(e)return i=function(e){if(!e)return;var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,c=(s+a)/2;if(0===l)t=0,n=0;else{n=c<.5?l/(s+a):l/(2-s-a);var u=((s-r)/6+l/2)/l,h=((s-i)/6+l/2)/l,d=((s-o)/6+l/2)/l;r===s?t=d-h:i===s?t=1/3+u-d:o===s&&(t=2/3+h-u),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,n,c];null!=e[3]&&f.push(e[3]);return f}(i),null!=t&&(i[0]=(o=t,(o=Math.round(o))<0?0:o>360?360:o)),null!=n&&(i[1]=s(n)),null!=r&&(i[2]=s(r)),_(g(i),"rgba");var o},t.modifyAlpha=function(e,t){var n=A(e);if(n&&null!=t)return n[3]=o(t),_(n,"rgba")},t.stringify=_,t.lum=function(e,t){var n=A(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0},t.random=function(){return _([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")};var r={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 i(e){return(e=Math.round(e))<0?0:e>255?255:e}function o(e){return e<0?0:e>1?1:e}function a(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?i(parseFloat(t)/100*255):i(parseInt(t,10))}function s(e){var t=e;return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100):o(parseFloat(t))}function l(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){return e+(t-e)*n}function u(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function h(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var d=new(n("zMj2").a)(20),f=null;function p(e,t){f&&h(f,t),f=d.put(e,f||t.slice())}function A(e,t){if(e){t=t||[];var n=d.get(e);if(n)return h(t,n);var i=(e+="").replace(/ /g,"").toLowerCase();if(i in r)return h(t,r[i]),p(e,t),t;var o,l=i.length;if("#"===i.charAt(0))return 4===l||5===l?(o=parseInt(i.slice(1,4),16))>=0&&o<=4095?(u(t,(3840&o)>>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,5===l?parseInt(i.slice(4),16)/15:1),p(e,t),t):void u(t,0,0,0,1):7===l||9===l?(o=parseInt(i.slice(1,7),16))>=0&&o<=16777215?(u(t,(16711680&o)>>16,(65280&o)>>8,255&o,9===l?parseInt(i.slice(7),16)/255:1),p(e,t),t):void u(t,0,0,0,1):void 0;var c=i.indexOf("("),f=i.indexOf(")");if(-1!==c&&f+1===l){var A=i.substr(0,c),v=i.substr(c+1,f-(c+1)).split(","),m=1;switch(A){case"rgba":if(4!==v.length)return 3===v.length?u(t,+v[0],+v[1],+v[2],1):u(t,0,0,0,1);m=s(v.pop());case"rgb":return v.length>=3?(u(t,a(v[0]),a(v[1]),a(v[2]),3===v.length?m:s(v[3])),p(e,t),t):void u(t,0,0,0,1);case"hsla":return 4!==v.length?void u(t,0,0,0,1):(v[3]=s(v[3]),g(v,t),p(e,t),t);case"hsl":return 3!==v.length?void u(t,0,0,0,1):(g(v,t),p(e,t),t);default:return}}u(t,0,0,0,1)}}function g(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=s(e[1]),o=s(e[2]),a=o<=.5?o*(r+1):o+r-o*r,c=2*o-a;return u(t=t||[],i(255*l(c,a,n+1/3)),i(255*l(c,a,n)),i(255*l(c,a,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function v(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),a=Math.floor(r),s=Math.ceil(r),l=t[a],u=t[s],h=r-a;return n[0]=i(c(l[0],u[0],h)),n[1]=i(c(l[1],u[1],h)),n[2]=i(c(l[2],u[2],h)),n[3]=o(c(l[3],u[3],h)),n}}var m=v;function y(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),a=Math.floor(r),s=Math.ceil(r),l=A(t[a]),u=A(t[s]),h=r-a,d=_([i(c(l[0],u[0],h)),i(c(l[1],u[1],h)),i(c(l[2],u[2],h)),o(c(l[3],u[3],h))],"rgba");return n?{color:d,leftIndex:a,rightIndex:s,value:r}:d}}var b=y;function _(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}},DUeU:function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function c(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(e[i],t[i])}r.forEach(i,function(e){r.isUndefined(t[e])||(n[e]=l(void 0,t[e]))}),r.forEach(o,c),r.forEach(a,function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(void 0,t[i])}),r.forEach(s,function(r){r in t?n[r]=l(e[r],t[r]):r in e&&(n[r]=l(void 0,e[r]))});var u=i.concat(o).concat(a).concat(s),h=Object.keys(e).concat(Object.keys(t)).filter(function(e){return-1===u.indexOf(e)});return r.forEach(h,c),n}},Dd8w:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n("woOf"),o=(r=i)&&r.__esModule?r:{default:r};t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},Dia2:function(e,t,n){
- /**
- * @license
- * Video.js 6.13.0 <http://videojs.com/>
- * Copyright Brightcove, Inc. <https://www.brightcove.com/>
- * Available under Apache License Version 2.0
- * <https://github.com/videojs/video.js/blob/master/LICENSE>
- *
- * Includes vtt.js <https://github.com/mozilla/vtt.js>
- * Available under Apache License Version 2.0
- * <https://github.com/mozilla/vtt.js/blob/master/LICENSE>
- */
- function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var i,o=r(n("awF4")),a=r(n("dwO+")),s=r(n("sN1u")),l=r(n("I/+Z")),c=r(n("1Xk4")),u=r(n("ciWi")),h="6.13.0",d=o.navigator&&o.navigator.userAgent||"",f=/AppleWebKit\/([\d.]+)/i.exec(d),p=f?parseFloat(f.pop()):null,A=/iPad/i.test(d),g=/iPhone/i.test(d)&&!A,v=/iPod/i.test(d),m=g||A||v,y=(i=d.match(/OS (\d+)_/i))&&i[1]?i[1]:null,b=/Android/i.test(d),_=function(){var e=d.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t||null}(),w=b&&/webkit/i.test(d)&&_<2.3,x=b&&_<5&&p<537,C=/Firefox/i.test(d),S=/Edge/i.test(d),B=!S&&(/Chrome/i.test(d)||/CriOS/i.test(d)),k=function(){var e=d.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),T=/MSIE\s8\.0/.test(d),E=function(){var e=/MSIE\s(\d+)\.\d/.exec(d),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(d)&&/rv:11.0/.test(d)&&(t=11),t}(),M=/Safari/i.test(d)&&!B&&!b&&!S,D=(M||m)&&!B,O=ee()&&("ontouchstart"in o||o.navigator.maxTouchPoints||o.DocumentTouch&&o.document instanceof o.DocumentTouch),I=ee()&&"backgroundSize"in o.document.createElement("video").style,L=(Object.freeze||Object)({IS_IPAD:A,IS_IPHONE:g,IS_IPOD:v,IS_IOS:m,IOS_VERSION:y,IS_ANDROID:b,ANDROID_VERSION:_,IS_OLD_ANDROID:w,IS_NATIVE_ANDROID:x,IS_FIREFOX:C,IS_EDGE:S,IS_CHROME:B,CHROME_VERSION:k,IS_IE8:T,IE_VERSION:E,IS_SAFARI:M,IS_ANY_SAFARI:D,TOUCH_ENABLED:O,BACKGROUND_SIZE_SUPPORTED:I}),P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},R=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},N=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},H=function(e,t){return e.raw=t,e},j=Object.prototype.toString,U=function(e){return Y(e)?Object.keys(e):[]};function Q(e,t){U(e).forEach(function(n){return t(e[n],n)})}function z(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.assign?Object.assign.apply(Object,[e].concat(n)):(n.forEach(function(t){t&&Q(t,function(t,n){e[n]=t})}),e)}function Y(e){return!!e&&"object"===(void 0===e?"undefined":P(e))}function V(e){return Y(e)&&"[object Object]"===j.call(e)&&e.constructor===Object}var G=[],W=function(e,t){return function(n,r,i,a){var s=t.levels[r],l=new RegExp("^("+s+")$");if("log"!==n&&i.unshift(n.toUpperCase()+":"),i.unshift(e+":"),G&&G.push([].concat(i)),o.console){var c=o.console[n];c||"debug"!==n||(c=o.console.info||o.console.log),c&&s&&l.test(n)&&(a&&(i=i.map(function(e){if(Y(e)||Array.isArray(e))try{return JSON.stringify(e)}catch(t){return String(e)}return String(e)}).join(" ")),c.apply?c[Array.isArray(i)?"apply":"call"](o.console,i):c(i))}}};var X=function e(t){var n="info",r=void 0,i=function e(){for(var t=e.stringify||E&&E<11,i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];r("log",n,o,t)};return r=W(t,i),i.createLogger=function(n){return e(t+": "+n)},i.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:n},i.level=function(e){if("string"==typeof e){if(!i.levels.hasOwnProperty(e))throw new Error('"'+e+'" in not a valid log level');n=e}return n},(i.history=function(){return G?[].concat(G):[]}).filter=function(e){return(G||[]).filter(function(t){return new RegExp(".*"+e+".*").test(t[0])})},i.history.clear=function(){G&&(G.length=0)},i.history.disable=function(){null!==G&&(G.length=0,G=null)},i.history.enable=function(){null===G&&(G=[])},i.error=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return r("error",n,t)},i.warn=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return r("warn",n,t)},i.debug=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return r("debug",n,t)},i}("VIDEOJS"),Z=X.createLogger;function $(e,t){if(!e||!t)return"";if("function"==typeof o.getComputedStyle){var n=o.getComputedStyle(e);return n?n[t]:""}return e.currentStyle[t]||""}var K=H(["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."]);function J(e){return"string"==typeof e&&/\S/.test(e)}function q(e){if(/\s/.test(e))throw new Error("class has illegal whitespace characters")}function ee(){return a===o.document&&void 0!==a.createElement}function te(e){return Y(e)&&1===e.nodeType}function ne(){try{return o.parent!==o.self}catch(e){return!0}}function re(e){return function(t,n){if(!J(t))return a[e](null);J(n)&&(n=a.querySelector(n));var r=te(n)?n:a;return r[e]&&r[e](t)}}function ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],i=a.createElement(e);return Object.getOwnPropertyNames(t).forEach(function(e){var n=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(X.warn(s(K,e,n)),i.setAttribute(e,n)):"textContent"===e?oe(i,n):i[e]=n}),Object.getOwnPropertyNames(n).forEach(function(e){i.setAttribute(e,n[e])}),r&&Ce(i,r),i}function oe(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function ae(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function se(e,t){return q(t),e.classList?e.classList.contains(t):(n=t,new RegExp("(^|\\s)"+n+"($|\\s)")).test(e.className);var n}function le(e,t){return e.classList?e.classList.add(t):se(e,t)||(e.className=(e.className+" "+t).trim()),e}function ce(e,t){return e.classList?e.classList.remove(t):(q(t),e.className=e.className.split(/\s+/).filter(function(e){return e!==t}).join(" ")),e}function ue(e,t,n){var r=se(e,t);if("function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=!r),n!==r)return n?le(e,t):ce(e,t),e}function he(e,t){Object.getOwnPropertyNames(t).forEach(function(n){var r=t[n];null===r||void 0===r||!1===r?e.removeAttribute(n):e.setAttribute(n,!0===r?"":r)})}function de(e){var t={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,i=r.length-1;i>=0;i--){var o=r[i].name,a=r[i].value;"boolean"!=typeof e[o]&&-1===n.indexOf(","+o+",")||(a=null!==a),t[o]=a}return t}function fe(e,t){return e.getAttribute(t)}function pe(e,t,n){e.setAttribute(t,n)}function Ae(e,t){e.removeAttribute(t)}function ge(){a.body.focus(),a.onselectstart=function(){return!1}}function ve(){a.onselectstart=function(){return!0}}function me(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach(function(e){void 0!==t[e]&&(n[e]=t[e])}),n.height||(n.height=parseFloat($(e,"height"))),n.width||(n.width=parseFloat($(e,"width"))),n}}function ye(e){var t=void 0;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var n=a.documentElement,r=a.body,i=n.clientLeft||r.clientLeft||0,s=o.pageXOffset||r.scrollLeft,l=t.left+s-i,c=n.clientTop||r.clientTop||0,u=o.pageYOffset||r.scrollTop,h=t.top+u-c;return{left:Math.round(l),top:Math.round(h)}}function be(e,t){var n={},r=ye(e),i=e.offsetWidth,o=e.offsetHeight,a=r.top,s=r.left,l=t.pageY,c=t.pageX;return t.changedTouches&&(c=t.changedTouches[0].pageX,l=t.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-l+o)/o)),n.x=Math.max(0,Math.min(1,(c-s)/i)),n}function _e(e){return Y(e)&&3===e.nodeType}function we(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function xe(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map(function(e){return"function"==typeof e&&(e=e()),te(e)||_e(e)?e:"string"==typeof e&&/\S/.test(e)?a.createTextNode(e):void 0}).filter(function(e){return e})}function Ce(e,t){return xe(t).forEach(function(t){return e.appendChild(t)}),e}function Se(e,t){return Ce(we(e),t)}function Be(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||(9===E||0===e.button&&1===e.buttons))}var ke=re("querySelector"),Te=re("querySelectorAll"),Ee=(Object.freeze||Object)({isReal:ee,isEl:te,isInFrame:ne,createEl:ie,textContent:oe,prependTo:ae,hasClass:se,addClass:le,removeClass:ce,toggleClass:ue,setAttributes:he,getAttributes:de,getAttribute:fe,setAttribute:pe,removeAttribute:Ae,blockTextSelection:ge,unblockTextSelection:ve,getBoundingClientRect:me,findPosition:ye,getPointerPosition:be,isTextNode:_e,emptyEl:we,normalizeContent:xe,appendContent:Ce,insertContent:Se,isSingleLeftClick:Be,$:ke,$$:Te}),Me=1;function De(){return Me++}var Oe={},Ie="vdata"+(new Date).getTime();function Le(e){var t=e[Ie];return t||(t=e[Ie]=De()),Oe[t]||(Oe[t]={}),Oe[t]}function Pe(e){var t=e[Ie];return!!t&&!!Object.getOwnPropertyNames(Oe[t]).length}function Fe(e){var t=e[Ie];if(t){delete Oe[t];try{delete e[Ie]}catch(t){e.removeAttribute?e.removeAttribute(Ie):e[Ie]=null}}}function Re(e,t){var n=Le(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&Fe(e)}function Ne(e,t,n,r){n.forEach(function(n){e(t,n,r)})}function He(e){function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped){var r=e||o.event;for(var i in e={},r)"layerX"!==i&&"layerY"!==i&&"keyLocation"!==i&&"webkitMovementX"!==i&&"webkitMovementY"!==i&&("returnValue"===i&&r.preventDefault||(e[i]=r[i]));if(e.target||(e.target=e.srcElement||a),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var s=a.documentElement,l=a.body;e.pageX=e.clientX+(s&&s.scrollLeft||l&&l.scrollLeft||0)-(s&&s.clientLeft||l&&l.clientLeft||0),e.pageY=e.clientY+(s&&s.scrollTop||l&&l.scrollTop||0)-(s&&s.clientTop||l&&l.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e}var je=!1;!function(){try{var e=Object.defineProperty({},"passive",{get:function(){je=!0}});o.addEventListener("test",null,e),o.removeEventListener("test",null,e)}catch(e){}}();var Ue=["touchstart","touchmove"];function Qe(e,t,n){if(Array.isArray(t))return Ne(Qe,e,t,n);var r=Le(e);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=De()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=He(t);var i=r.handlers[t.type];if(i)for(var o=i.slice(0),a=0,s=o.length;a<s&&!t.isImmediatePropagationStopped();a++)try{o[a].call(e,t,n)}catch(e){X.error(e)}}}),1===r.handlers[t].length)if(e.addEventListener){var i=!1;je&&Ue.indexOf(t)>-1&&(i={passive:!0}),e.addEventListener(t,r.dispatcher,i)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function ze(e,t,n){if(Pe(e)){var r=Le(e);if(r.handlers){if(Array.isArray(t))return Ne(ze,e,t,n);var i=function(e,t){r.handlers[t]=[],Re(e,t)};if(void 0!==t){var o=r.handlers[t];if(o)if(n){if(n.guid)for(var a=0;a<o.length;a++)o[a].guid===n.guid&&o.splice(a--,1);Re(e,t)}else i(e,t)}else for(var s in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},s)&&i(e,s)}}}function Ye(e,t,n){var r=Pe(e)?Le(e):{},i=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=He(t),r.dispatcher&&r.dispatcher.call(e,t,n),i&&!t.isPropagationStopped()&&!0===t.bubbles)Ye.call(null,i,t,n);else if(!i&&!t.defaultPrevented){var o=Le(t.target);t.target[t.type]&&(o.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),o.disabled=!1)}return!t.defaultPrevented}function Ve(e,t,n){if(Array.isArray(t))return Ne(Ve,e,t,n);var r=function r(){ze(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||De(),Qe(e,t,r)}var Ge=(Object.freeze||Object)({fixEvent:He,on:Qe,off:ze,trigger:Ye,one:Ve}),We=!1,Xe=void 0,Ze=function(){if(ee()&&!1!==Xe.options.autoSetup){var e=a.getElementsByTagName("video"),t=a.getElementsByTagName("audio"),n=a.getElementsByTagName("video-js"),r=[];if(e&&e.length>0)for(var i=0,o=e.length;i<o;i++)r.push(e[i]);if(t&&t.length>0)for(var s=0,l=t.length;s<l;s++)r.push(t[s]);if(n&&n.length>0)for(var c=0,u=n.length;c<u;c++)r.push(n[c]);if(r&&r.length>0)for(var h=0,d=r.length;h<d;h++){var f=r[h];if(!f||!f.getAttribute){$e(1);break}void 0===f.player&&null!==f.getAttribute("data-setup")&&Xe(f)}else We||$e(1)}};function $e(e,t){t&&(Xe=t),o.setTimeout(Ze,e)}ee()&&"complete"===a.readyState?We=!0:Ve(o,"load",function(){We=!0});var Ke=function(e){var t=a.createElement("style");return t.className=e,t},Je=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t},qe=function(e,t,n){t.guid||(t.guid=De());var r=function(){return t.apply(e,arguments)};return r.guid=n?n+"_"+t.guid:t.guid,r},et=function(e,t){var n=Date.now();return function(){var r=Date.now();r-n>=t&&(e.apply(void 0,arguments),n=r)}},tt=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o,i=void 0,a=function(){var o=this,a=arguments,s=function(){i=null,s=null,n||e.apply(o,a)};!i&&n&&e.apply(o,a),r.clearTimeout(i),i=r.setTimeout(s,t)};return a.cancel=function(){r.clearTimeout(i),i=null},a},nt=function(){};nt.prototype.allowedEvents_={},nt.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},Qe(this,e,t),this.addEventListener=n},nt.prototype.addEventListener=nt.prototype.on,nt.prototype.off=function(e,t){ze(this,e,t)},nt.prototype.removeEventListener=nt.prototype.off,nt.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},Ve(this,e,t),this.addEventListener=n},nt.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=He(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),Ye(this,e)},nt.prototype.dispatchEvent=nt.prototype.trigger;var rt=function(e){return e instanceof nt||!!e.eventBusEl_&&["on","one","off","trigger"].every(function(t){return"function"==typeof e[t]})},it=function(e){return"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},ot=function(e){if(!e.nodeName&&!rt(e))throw new Error("Invalid target; must be a DOM node or evented object.")},at=function(e){if(!it(e))throw new Error("Invalid event type; must be a non-empty string or array.")},st=function(e){if("function"!=typeof e)throw new Error("Invalid listener; must be a function.")},lt=function(e,t){var n=t.length<3||t[0]===e||t[0]===e.eventBusEl_,r=void 0,i=void 0,o=void 0;return n?(r=e.eventBusEl_,t.length>=3&&t.shift(),i=t[0],o=t[1]):(r=t[0],i=t[1],o=t[2]),ot(r),at(i),st(o),{isTargetingSelf:n,target:r,type:i,listener:o=qe(e,o)}},ct=function(e,t,n,r){ot(e),e.nodeName?Ge[t](e,n,r):e[t](n,r)},ut={on:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=lt(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,l=i.listener;if(ct(a,"on",s,l),!o){var c=function(){return e.off(a,s,l)};c.guid=l.guid;var u=function(){return e.off("dispose",c)};u.guid=l.guid,ct(this,"on","dispose",c),ct(a,"on","dispose",u)}},one:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=lt(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,l=i.listener;if(o)ct(a,"one",s,l);else{var c=function t(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];e.off(a,s,t),l.apply(null,r)};c.guid=l.guid,ct(a,"one",s,c)}},off:function(e,t,n){if(!e||it(e))ze(this.eventBusEl_,e,t);else{var r=e,i=t;ot(r),at(i),st(n),n=qe(this,n),this.off("dispose",n),r.nodeName?(ze(r,i,n),ze(r,"dispose",n)):rt(r)&&(r.off(i,n),r.off("dispose",n))}},trigger:function(e,t){return Ye(this.eventBusEl_,e,t)}};function ht(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).eventBusKey;if(t){if(!e[t].nodeName)throw new Error('The eventBusKey "'+t+'" does not refer to an element.');e.eventBusEl_=e[t]}else e.eventBusEl_=ie("span",{className:"vjs-event-bus"});return z(e,ut),e.on("dispose",function(){e.off(),o.setTimeout(function(){e.eventBusEl_=null},0)}),e}var dt={state:{},setState:function(e){var t=this;"function"==typeof e&&(e=e());var n=void 0;return Q(e,function(e,r){t.state[r]!==e&&((n=n||{})[r]={from:t.state[r],to:e}),t.state[r]=e}),n&&rt(this)&&this.trigger({changes:n,type:"statechanged"}),n}};function ft(e,t){return z(e,dt),e.state=z({},e.state,t),"function"==typeof e.handleStateChanged&&rt(e)&&e.on("statechanged",e.handleStateChanged),e}function pt(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}function At(){for(var e={},t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(t){t&&Q(t,function(t,n){V(t)?(V(e[n])||(e[n]={}),e[n]=At(e[n],t)):e[n]=t})}),e}var gt=function(){function e(t,n,r){if(F(this,e),!t&&this.play?this.player_=t=this:this.player_=t,this.options_=At({},this.options_),n=this.options_=At(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){var i=t&&t.id&&t.id()||"no_player";this.id_=i+"_component_"+De()}this.name_=n.name||null,n.el?this.el_=n.el:!1!==n.createEl&&(this.el_=this.createEl()),!1!==n.evented&&ht(this,{eventBusKey:this.el_?"el_":null}),ft(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},!1!==n.initChildren&&this.initChildren(),this.ready(r),!1!==n.reportTouchActivity&&this.enableTouchActivity()}return e.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var e=this.children_.length-1;e>=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),Fe(this.el_),this.el_=null),this.player_=null},e.prototype.player=function(){return this.player_},e.prototype.options=function(e){return X.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),e?(this.options_=At(this.options_,e),this.options_):this.options_},e.prototype.el=function(){return this.el_},e.prototype.createEl=function(e,t,n){return ie(e,t,n)},e.prototype.localize=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=this.player_.language&&this.player_.language(),i=this.player_.languages&&this.player_.languages(),o=i&&i[r],a=r&&r.split("-")[0],s=i&&i[a],l=n;return o&&o[e]?l=o[e]:s&&s[e]&&(l=s[e]),t&&(l=l.replace(/\{(\d+)\}/g,function(e,n){var r=t[n-1],i=r;return void 0===r&&(i=e),i})),l},e.prototype.contentEl=function(){return this.contentEl_||this.el_},e.prototype.id=function(){return this.id_},e.prototype.name=function(){return this.name_},e.prototype.children=function(){return this.children_},e.prototype.getChildById=function(e){return this.childIndex_[e]},e.prototype.getChild=function(e){if(e)return e=pt(e),this.childNameIndex_[e]},e.prototype.addChild=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,i=void 0,o=void 0;if("string"==typeof t){o=pt(t);var a=n.componentClass||o;n.name=o;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!=typeof s)return null;i=new s(this.player_||this,n)}else i=t;if(this.children_.splice(r,0,i),"function"==typeof i.id&&(this.childIndex_[i.id()]=i),(o=o||i.name&&pt(i.name()))&&(this.childNameIndex_[o]=i),"function"==typeof i.el&&i.el()){var l=this.contentEl().children[r]||null;this.contentEl().insertBefore(i.el(),l)}return i},e.prototype.removeChild=function(e){if("string"==typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){this.childIndex_[e.id()]=null,this.childNameIndex_[e.name()]=null;var r=e.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},e.prototype.initChildren=function(){var t=this,n=this.options_.children;if(n){var r=this.options_,i=void 0,o=e.getComponent("Tech");(i=Array.isArray(n)?n:Object.keys(n)).concat(Object.keys(this.options_).filter(function(e){return!i.some(function(t){return"string"==typeof t?e===t:e===t.name})})).map(function(e){var r=void 0,i=void 0;return"string"==typeof e?i=n[r=e]||t.options_[r]||{}:(r=e.name,i=e),{name:r,opts:i}}).filter(function(t){var n=e.getComponent(t.opts.componentClass||pt(t.name));return n&&!o.isTech(n)}).forEach(function(e){var n=e.name,i=e.opts;if(void 0!==r[n]&&(i=r[n]),!1!==i){!0===i&&(i={}),i.playerOptions=t.options_.playerOptions;var o=t.addChild(n,i);o&&(t[n]=o)}})}},e.prototype.buildCSSClass=function(){return""},e.prototype.ready=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))},e.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach(function(e){e.call(this)},this),this.trigger("ready")},1)},e.prototype.$=function(e,t){return ke(e,t||this.contentEl())},e.prototype.$$=function(e,t){return Te(e,t||this.contentEl())},e.prototype.hasClass=function(e){return se(this.el_,e)},e.prototype.addClass=function(e){le(this.el_,e)},e.prototype.removeClass=function(e){ce(this.el_,e)},e.prototype.toggleClass=function(e,t){ue(this.el_,e,t)},e.prototype.show=function(){this.removeClass("vjs-hidden")},e.prototype.hide=function(){this.addClass("vjs-hidden")},e.prototype.lockShowing=function(){this.addClass("vjs-lock-showing")},e.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing")},e.prototype.getAttribute=function(e){return fe(this.el_,e)},e.prototype.setAttribute=function(e,t){pe(this.el_,e,t)},e.prototype.removeAttribute=function(e){Ae(this.el_,e)},e.prototype.width=function(e,t){return this.dimension("width",e,t)},e.prototype.height=function(e,t){return this.dimension("height",e,t)},e.prototype.dimensions=function(e,t){this.width(e,!0),this.height(t)},e.prototype.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t==t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var r=this.el_.style[e],i=r.indexOf("px");return-1!==i?parseInt(r.slice(0,i),10):parseInt(this.el_["offset"+pt(e)],10)},e.prototype.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if("function"==typeof o.getComputedStyle){var n=o.getComputedStyle(this.el_);t=n.getPropertyValue(e)||n[e]}if(0===(t=parseFloat(t))){var r="offset"+pt(e);t=this.el_[r]}return t},e.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},e.prototype.currentWidth=function(){return this.currentDimension("width")},e.prototype.currentHeight=function(){return this.currentDimension("height")},e.prototype.focus=function(){this.el_.focus()},e.prototype.blur=function(){this.el_.blur()},e.prototype.emitTapEvents=function(){var e=0,t=null,n=void 0;this.on("touchstart",function(r){1===r.touches.length&&(t={pageX:r.touches[0].pageX,pageY:r.touches[0].pageY},e=(new Date).getTime(),n=!0)}),this.on("touchmove",function(e){if(e.touches.length>1)n=!1;else if(t){var r=e.touches[0].pageX-t.pageX,i=e.touches[0].pageY-t.pageY;Math.sqrt(r*r+i*i)>10&&(n=!1)}});var r=function(){n=!1};this.on("touchleave",r),this.on("touchcancel",r),this.on("touchend",function(r){(t=null,!0===n)&&((new Date).getTime()-e<200&&(r.preventDefault(),this.trigger("tap")))})},e.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e=qe(this.player(),this.player().reportUserActivity),t=void 0;this.on("touchstart",function(){e(),this.clearInterval(t),t=this.setInterval(e,250)});var n=function(n){e(),this.clearInterval(t)};this.on("touchmove",e),this.on("touchend",n),this.on("touchcancel",n)}},e.prototype.setTimeout=function(e,t){var n,r,i=this;return e=qe(this,e),n=o.setTimeout(function(){i.off("dispose",r),e()},t),(r=function(){return i.clearTimeout(n)}).guid="vjs-timeout-"+n,this.on("dispose",r),n},e.prototype.clearTimeout=function(e){o.clearTimeout(e);var t=function(){};return t.guid="vjs-timeout-"+e,this.off("dispose",t),e},e.prototype.setInterval=function(e,t){var n=this;e=qe(this,e);var r=o.setInterval(e,t),i=function(){return n.clearInterval(r)};return i.guid="vjs-interval-"+r,this.on("dispose",i),r},e.prototype.clearInterval=function(e){o.clearInterval(e);var t=function(){};return t.guid="vjs-interval-"+e,this.off("dispose",t),e},e.prototype.requestAnimationFrame=function(e){var t,n,r=this;return this.supportsRaf_?(e=qe(this,e),t=o.requestAnimationFrame(function(){r.off("dispose",n),e()}),(n=function(){return r.cancelAnimationFrame(t)}).guid="vjs-raf-"+t,this.on("dispose",n),t):this.setTimeout(e,1e3/60)},e.prototype.cancelAnimationFrame=function(e){if(this.supportsRaf_){o.cancelAnimationFrame(e);var t=function(){};return t.guid="vjs-raf-"+e,this.off("dispose",t),e}return this.clearTimeout(e)},e.registerComponent=function(t,n){if("string"!=typeof t||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var r=e.getComponent("Tech"),i=r&&r.isTech(n),o=e===n||e.prototype.isPrototypeOf(n.prototype);if(i||!o){var a=void 0;throw a=i?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+t+'"; '+a+".")}t=pt(t),e.components_||(e.components_={});var s=e.getComponent("Player");if("Player"===t&&s&&s.players){var l=s.players,c=Object.keys(l);if(l&&c.length>0&&c.map(function(e){return l[e]}).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return e.components_[t]=n,n},e.getComponent=function(t){if(t)return t=pt(t),e.components_&&e.components_[t]?e.components_[t]:void 0},e}();function vt(e,t,n,r){return function(e,t,n){if("number"!=typeof t||t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+n+").")}(e,r,n.length-1),n[r][t]}function mt(e){return void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:vt.bind(null,"start",0,e),end:vt.bind(null,"end",1,e)}}function yt(e,t){return Array.isArray(e)?mt(e):void 0===e||void 0===t?mt():mt([[e,t]])}function bt(e,t){var n=0,r=void 0,i=void 0;if(!t)return 0;e&&e.length||(e=yt(0,0));for(var o=0;o<e.length;o++)r=e.start(o),(i=e.end(o))>t&&(i=t),n+=i-r;return n/t}gt.prototype.supportsRaf_="function"==typeof o.requestAnimationFrame&&"function"==typeof o.cancelAnimationFrame,gt.registerComponent("Component",gt);for(var _t={},wt=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],xt=wt[0],Ct=void 0,St=0;St<wt.length;St++)if(wt[St][1]in a){Ct=wt[St];break}if(Ct)for(var Bt=0;Bt<Ct.length;Bt++)_t[xt[Bt]]=Ct[Bt];function kt(e){if(e instanceof kt)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:Y(e)&&("number"==typeof e.code&&(this.code=e.code),z(this,e)),this.message||(this.message=kt.defaultMessages[this.code]||"")}kt.prototype.code=0,kt.prototype.message="",kt.prototype.status=null,kt.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],kt.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var Tt=0;Tt<kt.errorTypes.length;Tt++)kt[kt.errorTypes[Tt]]=Tt,kt.prototype[kt.errorTypes[Tt]]=Tt;function Et(e){return void 0!==e&&null!==e&&"function"==typeof e.then}function Mt(e){Et(e)&&e.then(null,function(e){})}var Dt=function(e){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(t,n,r){return e[n]&&(t[n]=e[n]),t},{cues:e.cues&&Array.prototype.map.call(e.cues,function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}})})},Ot=function(e){var t=e.$$("track"),n=Array.prototype.map.call(t,function(e){return e.track});return Array.prototype.map.call(t,function(e){var t=Dt(e.track);return e.src&&(t.src=e.src),t}).concat(Array.prototype.filter.call(e.textTracks(),function(e){return-1===n.indexOf(e)}).map(Dt))},It=function(e,t){return e.forEach(function(e){var n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach(function(e){return n.addCue(e)})}),t.textTracks()},Lt="vjs-modal-dialog",Pt=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.opened_=i.hasBeenOpened_=i.hasBeenFilled_=!1,i.closeable(!i.options_.uncloseable),i.content(i.options_.content),i.contentEl_=ie("div",{className:Lt+"-content"},{role:"document"}),i.descEl_=ie("p",{className:Lt+"-description vjs-control-text",id:i.el().getAttribute("aria-describedby")}),oe(i.descEl_,i.description()),i.el_.appendChild(i.descEl_),i.el_.appendChild(i.contentEl_),i}return R(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},t.prototype.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,e.prototype.dispose.call(this)},t.prototype.buildCSSClass=function(){return Lt+" vjs-hidden "+e.prototype.buildCSSClass.call(this)},t.prototype.handleKeyPress=function(e){27===e.which&&this.closeable()&&this.close()},t.prototype.label=function(){return this.localize(this.options_.label||"Modal Window")},t.prototype.description=function(){var e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e},t.prototype.open=function(){if(!this.opened_){var e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",qe(this,this.handleKeyPress)),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},t.prototype.opened=function(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_},t.prototype.close=function(){if(this.opened_){var e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",qe(this,this.handleKeyPress)),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},t.prototype.closeable=function(e){if("boolean"==typeof e){var t=this.closeable_=!!e,n=this.getChild("closeButton");if(t&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close)}!t&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())}return this.closeable_},t.prototype.fill=function(){this.fillWith(this.content())},t.prototype.fillWith=function(e){var t=this.contentEl(),n=t.parentNode,r=t.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),Se(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t);var i=this.getChild("closeButton");i&&n.appendChild(i.el_)},t.prototype.empty=function(){this.trigger("beforemodalempty"),we(this.contentEl()),this.trigger("modalempty")},t.prototype.content=function(e){return void 0!==e&&(this.content_=e),this.content_},t.prototype.conditionalFocus_=function(){var e=a.activeElement,t=this.player_.el_;this.previouslyActiveEl_=null,(t.contains(e)||t===e)&&(this.previouslyActiveEl_=e,this.focus(),this.on(a,"keydown",this.handleKeyDown))},t.prototype.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null),this.off(a,"keydown",this.handleKeyDown)},t.prototype.handleKeyDown=function(e){if(9===e.which){for(var t=this.focusableEls_(),n=this.el_.querySelector(":focus"),r=void 0,i=0;i<t.length;i++)if(n===t[i]){r=i;break}a.activeElement===this.el_&&(r=0),e.shiftKey&&0===r?(t[t.length-1].focus(),e.preventDefault()):e.shiftKey||r!==t.length-1||(t[0].focus(),e.preventDefault())}},t.prototype.focusableEls_=function(){var e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,function(e){return(e instanceof o.HTMLAnchorElement||e instanceof o.HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof o.HTMLInputElement||e instanceof o.HTMLSelectElement||e instanceof o.HTMLTextAreaElement||e instanceof o.HTMLButtonElement)&&!e.hasAttribute("disabled")||e instanceof o.HTMLIFrameElement||e instanceof o.HTMLObjectElement||e instanceof o.HTMLEmbedElement||e.hasAttribute("tabindex")&&-1!==e.getAttribute("tabindex")||e.hasAttribute("contenteditable")})},t}(gt);Pt.prototype.options_={pauseOnOpen:!0,temporary:!0},gt.registerComponent("ModalDialog",Pt);var Ft=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;F(this,t);var i=N(this,e.call(this));if(!r&&(r=i,T))for(var o in r=a.createElement("custom"),t.prototype)"constructor"!==o&&(r[o]=t.prototype[o]);r.tracks_=[],Object.defineProperty(r,"length",{get:function(){return this.tracks_.length}});for(var s=0;s<n.length;s++)r.addTrack(n[s]);return N(i,r)}return R(t,e),t.prototype.addTrack=function(e){var t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}}),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack"}))},t.prototype.removeTrack=function(e){for(var t=void 0,n=0,r=this.length;n<r;n++)if(this[n]===e){(t=this[n]).off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack"})},t.prototype.getTrackById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===e){t=i;break}}return t},t}(nt);for(var Rt in Ft.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},Ft.prototype.allowedEvents_)Ft.prototype["on"+Rt]=null;var Nt=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].enabled=!1)},Ht=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];F(this,t);for(var i=void 0,o=r.length-1;o>=0;o--)if(r[o].enabled){Nt(r,r[o]);break}if(T){for(var s in i=a.createElement("custom"),Ft.prototype)"constructor"!==s&&(i[s]=Ft.prototype[s]);for(var l in t.prototype)"constructor"!==l&&(i[l]=t.prototype[l])}return(i=n=N(this,e.call(this,r,i))).changing_=!1,N(n,i)}return R(t,e),t.prototype.addTrack=function(t){var n=this;t.enabled&&Nt(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&t.addEventListener("enabledchange",function(){n.changing_||(n.changing_=!0,Nt(n,t),n.changing_=!1,n.trigger("change"))})},t}(Ft),jt=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].selected=!1)},Ut=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];F(this,t);for(var i=void 0,o=r.length-1;o>=0;o--)if(r[o].selected){jt(r,r[o]);break}if(T){for(var s in i=a.createElement("custom"),Ft.prototype)"constructor"!==s&&(i[s]=Ft.prototype[s]);for(var l in t.prototype)"constructor"!==l&&(i[l]=t.prototype[l])}return(i=n=N(this,e.call(this,r,i))).changing_=!1,Object.defineProperty(i,"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),N(n,i)}return R(t,e),t.prototype.addTrack=function(t){var n=this;t.selected&&jt(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&t.addEventListener("selectedchange",function(){n.changing_||(n.changing_=!0,jt(n,t),n.changing_=!1,n.trigger("change"))})},t}(Ft),Qt=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];F(this,t);var i=void 0;if(T){for(var o in i=a.createElement("custom"),Ft.prototype)"constructor"!==o&&(i[o]=Ft.prototype[o]);for(var s in t.prototype)"constructor"!==s&&(i[s]=t.prototype[s])}return n=N(this,e.call(this,r,i)),N(n,i=n)}return R(t,e),t.prototype.addTrack=function(t){e.prototype.addTrack.call(this,t),t.addEventListener("modechange",qe(this,function(){this.trigger("change")}));-1===["metadata","chapters"].indexOf(t.kind)&&t.addEventListener("modechange",qe(this,function(){this.trigger("selectedlanguagechange")}))},t}(Ft),zt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];F(this,e);var n=this;if(T)for(var r in n=a.createElement("custom"),e.prototype)"constructor"!==r&&(n[r]=e.prototype[r]);n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var i=0,o=t.length;i<o;i++)n.addTrackElement_(t[i]);if(T)return n}return e.prototype.addTrackElement_=function(e){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),-1===this.trackElements_.indexOf(e)&&this.trackElements_.push(e)},e.prototype.getTrackElementByTrack_=function(e){for(var t=void 0,n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t},e.prototype.removeTrackElement_=function(e){for(var t=0,n=this.trackElements_.length;t<n;t++)if(e===this.trackElements_[t]){this.trackElements_.splice(t,1);break}},e}(),Yt=function(){function e(t){F(this,e);var n=this;if(T)for(var r in n=a.createElement("custom"),e.prototype)"constructor"!==r&&(n[r]=e.prototype[r]);if(e.prototype.setCues_.call(n,t),Object.defineProperty(n,"length",{get:function(){return this.length_}}),T)return n}return e.prototype.setCues_=function(e){var t=this.length||0,n=0,r=e.length;this.cues_=e,this.length_=e.length;var i=function(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)i.call(this,n)},e.prototype.getCueById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===e){t=i;break}}return t},e}(),Vt={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Gt={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},Wt={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},Xt={disabled:"disabled",hidden:"hidden",showing:"showing"},Zt=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};F(this,t);var r=N(this,e.call(this)),i=r;if(T)for(var o in i=a.createElement("custom"),t.prototype)"constructor"!==o&&(i[o]=t.prototype[o]);var s={id:n.id||"vjs_track_"+De(),kind:n.kind||"",label:n.label||"",language:n.language||""},l=function(e){Object.defineProperty(i,e,{get:function(){return s[e]},set:function(){}})};for(var c in s)l(c);return N(r,i)}return R(t,e),t}(nt),$t=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=a.createElement("a");n.href=e;var r=""===n.host&&"file:"!==n.protocol,i=void 0;r&&((i=a.createElement("div")).innerHTML='<a href="'+e+'"></a>',n=i.firstChild,i.setAttribute("style","display:none; position:absolute;"),a.body.appendChild(i));for(var s={},l=0;l<t.length;l++)s[t[l]]=n[t[l]];return"http:"===s.protocol&&(s.host=s.host.replace(/:80$/,"")),"https:"===s.protocol&&(s.host=s.host.replace(/:443$/,"")),s.protocol||(s.protocol=o.location.protocol),r&&a.body.removeChild(i),s},Kt=function(e){if(!e.match(/^https?:\/\//)){var t=a.createElement("div");t.innerHTML='<a href="'+e+'">x</a>',e=t.firstChild.href}return e},Jt=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(e);if(t)return t.pop().toLowerCase()}return""},qt=function(e){var t=o.location,n=$t(e);return(":"===n.protocol?t.protocol:n.protocol)+n.host!==t.protocol+t.host},en=(Object.freeze||Object)({parseUrl:$t,getAbsoluteURL:Kt,getFileExtension:Jt,isCrossOrigin:qt}),tn=function(e,t){var n=new o.WebVTT.Parser(o,o.vttjs,o.WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(o.console&&o.console.groupCollapsed&&o.console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach(function(e){return X.error(e)}),o.console&&o.console.groupEnd&&o.console.groupEnd()),n.flush()},nn=function(e,t){var n={uri:e},r=qt(e);r&&(n.cors=r),c(n,qe(this,function(e,n,r){if(e)return X.error(e,n);if(t.loaded_=!0,"function"!=typeof o.WebVTT){if(t.tech_){var i=function(){return tn(r,t)};t.tech_.on("vttjsloaded",i),t.tech_.on("vttjserror",function(){X.error("vttjs failed to load, stopping trying to process "+t.src),t.tech_.off("vttjsloaded",i)})}}else tn(r,t)}))},rn=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(F(this,t),!r.tech)throw new Error("A tech was not provided.");var i=At(r,{kind:Wt[r.kind]||"subtitles",language:r.language||r.srclang||""}),o=Xt[i.mode]||"disabled",a=i.default;"metadata"!==i.kind&&"chapters"!==i.kind||(o="hidden");var s=n=N(this,e.call(this,i));if(s.tech_=i.tech,T)for(var l in t.prototype)"constructor"!==l&&(s[l]=t.prototype[l]);s.cues_=[],s.activeCues_=[];var c=new Yt(s.cues_),u=new Yt(s.activeCues_),h=!1,d=qe(s,function(){this.activeCues=this.activeCues,h&&(this.trigger("cuechange"),h=!1)});return"disabled"!==o&&s.tech_.ready(function(){s.tech_.on("timeupdate",d)},!0),Object.defineProperty(s,"default",{get:function(){return a},set:function(){}}),Object.defineProperty(s,"mode",{get:function(){return o},set:function(e){var t=this;Xt[e]&&("disabled"!==(o=e)?this.tech_.ready(function(){t.tech_.on("timeupdate",d)},!0):this.tech_.off("timeupdate",d),this.trigger("modechange"))}}),Object.defineProperty(s,"cues",{get:function(){return this.loaded_?c:null},set:function(){}}),Object.defineProperty(s,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return u;for(var e=this.tech_.currentTime(),t=[],n=0,r=this.cues.length;n<r;n++){var i=this.cues[n];i.startTime<=e&&i.endTime>=e?t.push(i):i.startTime===i.endTime&&i.startTime<=e&&i.startTime+.5>=e&&t.push(i)}if(h=!1,t.length!==this.activeCues_.length)h=!0;else for(var o=0;o<t.length;o++)-1===this.activeCues_.indexOf(t[o])&&(h=!0);return this.activeCues_=t,u.setCues_(this.activeCues_),u},set:function(){}}),i.src?(s.src=i.src,nn(i.src,s)):s.loaded_=!0,N(n,s)}return R(t,e),t.prototype.addCue=function(e){var t=e;if(o.vttjs&&!(e instanceof o.vttjs.VTTCue)){for(var n in t=new o.vttjs.VTTCue(e.startTime,e.endTime,e.text),e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}for(var r=this.tech_.textTracks(),i=0;i<r.length;i++)r[i]!==this&&r[i].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},t.prototype.removeCue=function(e){for(var t=this.cues_.length;t--;){var n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}},t}(Zt);rn.prototype.allowedEvents_={cuechange:"cuechange"};var on=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};F(this,t);var i=At(r,{kind:Gt[r.kind]||""}),o=n=N(this,e.call(this,i)),a=!1;if(T)for(var s in t.prototype)"constructor"!==s&&(o[s]=t.prototype[s]);return Object.defineProperty(o,"enabled",{get:function(){return a},set:function(e){"boolean"==typeof e&&e!==a&&(a=e,this.trigger("enabledchange"))}}),i.enabled&&(o.enabled=i.enabled),o.loaded_=!0,N(n,o)}return R(t,e),t}(Zt),an=function(e){function t(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};F(this,t);var i=At(r,{kind:Vt[r.kind]||""}),o=n=N(this,e.call(this,i)),a=!1;if(T)for(var s in t.prototype)"constructor"!==s&&(o[s]=t.prototype[s]);return Object.defineProperty(o,"selected",{get:function(){return a},set:function(e){"boolean"==typeof e&&e!==a&&(a=e,this.trigger("selectedchange"))}}),i.selected&&(o.selected=i.selected),N(n,o)}return R(t,e),t}(Zt),sn=0,ln=2,cn=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};F(this,t);var r=N(this,e.call(this)),i=void 0,o=r;if(T)for(var s in o=a.createElement("custom"),t.prototype)"constructor"!==s&&(o[s]=t.prototype[s]);var l=new rn(n);return o.kind=l.kind,o.src=l.src,o.srclang=l.language,o.label=l.label,o.default=l.default,Object.defineProperty(o,"readyState",{get:function(){return i}}),Object.defineProperty(o,"track",{get:function(){return l}}),i=sn,l.addEventListener("loadeddata",function(){i=ln,o.trigger({type:"load",target:o})}),T?N(r,o):r}return R(t,e),t}(nt);cn.prototype.allowedEvents_={load:"load"},cn.NONE=sn,cn.LOADING=1,cn.LOADED=ln,cn.ERROR=3;var un={audio:{ListClass:Ht,TrackClass:on,capitalName:"Audio"},video:{ListClass:Ut,TrackClass:an,capitalName:"Video"},text:{ListClass:Qt,TrackClass:rn,capitalName:"Text"}};Object.keys(un).forEach(function(e){un[e].getterName=e+"Tracks",un[e].privateName=e+"Tracks_"});var hn={remoteText:{ListClass:Qt,TrackClass:rn,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:zt,TrackClass:cn,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},dn=At(un,hn);hn.names=Object.keys(hn),un.names=Object.keys(un),dn.names=[].concat(hn.names).concat(un.names);var fn=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};F(this,t),n.reportTouchActivity=!1;var i=N(this,e.call(this,null,n,r));return i.hasStarted_=!1,i.on("playing",function(){this.hasStarted_=!0}),i.on("loadstart",function(){this.hasStarted_=!1}),dn.names.forEach(function(e){var t=dn[e];n&&n[t.getterName]&&(i[t.privateName]=n[t.getterName])}),i.featuresProgressEvents||i.manualProgressOn(),i.featuresTimeupdateEvents||i.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(e){!1===n["native"+e+"Tracks"]&&(i["featuresNative"+e+"Tracks"]=!1)}),!1===n.nativeCaptions||!1===n.nativeTextTracks?i.featuresNativeTextTracks=!1:!0!==n.nativeCaptions&&!0!==n.nativeTextTracks||(i.featuresNativeTextTracks=!0),i.featuresNativeTextTracks||i.emulateTextTracks(),i.autoRemoteTextTracks_=new dn.text.ListClass,i.initTrackListeners(),n.nativeControlsForTouch||i.emitTapEvents(),i.constructor&&(i.name_=i.constructor.name||"Unknown Tech"),i}return R(t,e),t.prototype.triggerSourceset=function(e){var t=this;this.isReady_||this.one("ready",function(){return t.setTimeout(function(){return t.triggerSourceset(e)},1)}),this.trigger({src:e,type:"sourceset"})},t.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},t.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},t.prototype.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(qe(this,function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()}),500)},t.prototype.onDurationChange=function(e){this.duration_=this.duration()},t.prototype.buffered=function(){return yt(0,0)},t.prototype.bufferedPercent=function(){return bt(this.buffered(),this.duration_)},t.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},t.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},t.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},t.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},t.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.dispose=function(){this.clearTracks(un.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},t.prototype.clearTracks=function(e){var t=this;(e=[].concat(e)).forEach(function(e){for(var n=t[e+"Tracks"]()||[],r=n.length;r--;){var i=n[r];"text"===e&&t.removeRemoteTextTrack(i),n.removeTrack(i)}})},t.prototype.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],t=e.length;t--;){var n=e[t];this.removeRemoteTextTrack(n)}},t.prototype.reset=function(){},t.prototype.error=function(e){return void 0!==e&&(this.error_=new kt(e),this.trigger("error")),this.error_},t.prototype.played=function(){return this.hasStarted_?yt(0,0):yt()},t.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.initTrackListeners=function(){var e=this;un.names.forEach(function(t){var n=un[t],r=function(){e.trigger(t+"trackchange")},i=e[n.getterName]();i.addEventListener("removetrack",r),i.addEventListener("addtrack",r),e.on("dispose",function(){i.removeEventListener("removetrack",r),i.removeEventListener("addtrack",r)})})},t.prototype.addWebVttScript_=function(){var e=this;if(!o.WebVTT)if(a.body.contains(this.el())){if(!this.options_["vtt.js"]&&V(u)&&Object.keys(u).length>0)return void this.trigger("vttjsloaded");var t=a.createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.4/vtt.min.js",t.onload=function(){e.trigger("vttjsloaded")},t.onerror=function(){e.trigger("vttjserror")},this.on("dispose",function(){t.onload=null,t.onerror=null}),o.WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)},t.prototype.emulateTextTracks=function(){var e=this,t=this.textTracks(),n=this.remoteTextTracks(),r=function(e){return t.addTrack(e.track)},i=function(e){return t.removeTrack(e.track)};n.on("addtrack",r),n.on("removetrack",i),this.addWebVttScript_();var o=function(){return e.trigger("texttrackchange")},a=function(){o();for(var e=0;e<t.length;e++){var n=t[e];n.removeEventListener("cuechange",o),"showing"===n.mode&&n.addEventListener("cuechange",o)}};a(),t.addEventListener("change",a),t.addEventListener("addtrack",a),t.addEventListener("removetrack",a),this.on("dispose",function(){n.off("addtrack",r),n.off("removetrack",i),t.removeEventListener("change",a),t.removeEventListener("addtrack",a),t.removeEventListener("removetrack",a);for(var e=0;e<t.length;e++){t[e].removeEventListener("cuechange",o)}})},t.prototype.addTextTrack=function(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=e.textTracks();i.kind=t,n&&(i.label=n),r&&(i.language=r),i.tech=e;var a=new dn.text.TrackClass(i);return o.addTrack(a),a}(this,e,t,n)},t.prototype.createRemoteTextTrack=function(e){var t=At(e,{tech:this});return new hn.remoteTextEl.TrackClass(t)},t.prototype.addRemoteTextTrack=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],r=this.createRemoteTextTrack(t);return!0!==n&&!1!==n&&(X.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),!0!==n&&this.ready(function(){return e.autoRemoteTextTracks_.addTrack(r.track)}),r},t.prototype.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)},t.prototype.getVideoPlaybackQuality=function(){return{}},t.prototype.setPoster=function(){},t.prototype.playsinline=function(){},t.prototype.setPlaysinline=function(){},t.prototype.canPlayType=function(){return""},t.canPlayType=function(){return""},t.canPlaySource=function(e,n){return t.canPlayType(e.type)},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");if(!t.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!t.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=pt(e),t.techs_[e]=n,"Tech"!==e&&t.defaultTechOrder_.push(e),n},t.getTech=function(e){if(e)return e=pt(e),t.techs_&&t.techs_[e]?t.techs_[e]:o&&o.videojs&&o.videojs[e]?(X.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),o.videojs[e]):void 0},t}(gt);dn.names.forEach(function(e){var t=dn[e];fn.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}}),fn.prototype.featuresVolumeControl=!0,fn.prototype.featuresMuteControl=!0,fn.prototype.featuresFullscreenResize=!1,fn.prototype.featuresPlaybackRate=!1,fn.prototype.featuresProgressEvents=!1,fn.prototype.featuresSourceset=!1,fn.prototype.featuresTimeupdateEvents=!1,fn.prototype.featuresNativeTextTracks=!1,fn.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n=e.sourceHandlers||[],r=void 0,i=0;i<n.length;i++)if(r=n[i].canPlayType(t))return r;return""},e.selectSourceHandler=function(t,n){for(var r=e.sourceHandlers||[],i=0;i<r.length;i++)if(r[i].canHandleSource(t,n))return r[i];return null},e.canPlaySource=function(t,n){var r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};["seekable","seeking","duration"].forEach(function(e){var t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})},e.prototype),e.prototype.setSource=function(t){var n=e.selectSourceHandler(t,this.options_);n||(e.nativeSourceHandler?n=e.nativeSourceHandler:X.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),n!==e.nativeSourceHandler&&(this.currentSource_=t),this.sourceHandler_=n.handleSource(t,this,this.options_),this.on("dispose",this.disposeSourceHandler)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},gt.registerComponent("Tech",fn),fn.registerTech("Tech",fn),fn.defaultTechOrder_=[];var pn={},An={},gn={};function vn(e,t,n){e.setTimeout(function(){return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var r=arguments[2];var i=arguments[3];var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];var s=n[0],l=n.slice(1);if("string"==typeof s)e(t,pn[s],r,i,o,a);else if(s){var c=function(e,t){var n=An[e.id()],r=null;if(void 0===n||null===n)return r=t(e),An[e.id()]=[[t,r]],r;for(var i=0;i<n.length;i++){var o=n[i],a=o[0],s=o[1];a===t&&(r=s)}null===r&&(r=t(e),n.push([t,r]));return r}(i,s);if(!c.setSource)return o.push(c),e(t,l,r,i,o,a);c.setSource(z({},t),function(n,s){if(n)return e(t,l,r,i,o,a);o.push(c),e(s,t.type===s.type?l:pn[s.type],r,i,o,a)})}else l.length?e(t,l,r,i,o,a):a?r(t,o):e(t,pn["*"],r,i,o,!0)}(t,pn[t.type],n,e)},1)}function mn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i="call"+pt(n),o=e.reduce(wn(i),r),a=o===gn,s=a?null:t[n](o);return function(e,t,n,r){for(var i=e.length-1;i>=0;i--){var o=e[i];o[t]&&o[t](r,n)}}(e,n,s,a),s}var yn={buffered:1,currentTime:1,duration:1,seekable:1,played:1,paused:1},bn={setCurrentTime:1},_n={play:1,pause:1};function wn(e){return function(t,n){return t===gn?gn:n[e]?n[e](t):t}}var xn={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",mp3:"audio/mpeg",aac:"audio/aac",oga:"audio/ogg",m3u8:"application/x-mpegURL"},Cn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=Jt(e);return xn[t.toLowerCase()]||""};function Sn(e){var t=Cn(e.src);return!e.type&&t&&(e.type=t),e}var Bn=function(e){function t(n,r,i){F(this,t);var o=At({createEl:!1},r),a=N(this,e.call(this,n,o,i));if(r.playerOptions.sources&&0!==r.playerOptions.sources.length)n.src(r.playerOptions.sources);else for(var s=0,l=r.playerOptions.techOrder;s<l.length;s++){var c=pt(l[s]),u=fn.getTech(c);if(c||(u=gt.getComponent(c)),u&&u.isSupported()){n.loadTech_(c);break}}return a}return R(t,e),t}(gt);gt.registerComponent("MediaLoader",Bn);var kn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.emitTapEvents(),i.enable(),i}return R(t,e),t.prototype.createEl=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=z({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},n),"button"===t&&X.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=z({role:"button"},r),this.tabIndex_=n.tabIndex;var i=e.prototype.createEl.call(this,t,n,r);return this.createControlTextEl(i),i},t.prototype.dispose=function(){this.controlTextEl_=null,e.prototype.dispose.call(this)},t.prototype.createControlTextEl=function(e){return this.controlTextEl_=ie("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},t.prototype.controlText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(void 0===e)return this.controlText_||"Need Text";var n=this.localize(e);this.controlText_=e,oe(this.controlTextEl_,n),this.nonIconControl||t.setAttribute("title",n)},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},t.prototype.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur))},t.prototype.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off(["tap","click"],this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur)},t.prototype.handleClick=function(e){},t.prototype.handleFocus=function(e){Qe(a,"keydown",qe(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.trigger("click")):e.prototype.handleKeyPress&&e.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(e){ze(a,"keydown",qe(this,this.handleKeyPress))},t}(gt);gt.registerComponent("ClickableComponent",kn);var Tn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.update(),n.on("posterchange",qe(i,i.update)),i}return R(t,e),t.prototype.dispose=function(){this.player().off("posterchange",this.update),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var e=ie("div",{className:"vjs-poster",tabIndex:-1});return I||(this.fallbackImg_=ie("img"),e.appendChild(this.fallbackImg_)),e},t.prototype.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},t.prototype.setSrc=function(e){if(this.fallbackImg_)this.fallbackImg_.src=e;else{var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t}},t.prototype.handleClick=function(e){this.player_.controls()&&(this.player_.paused()?Mt(this.player_.play()):this.player_.pause())},t}(kn);gt.registerComponent("PosterImage",Tn);var En={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function Mn(e,t){var n=void 0;if(4===e.length)n=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");n=e.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+t+")"}function Dn(e,t,n){try{e.style[t]=n}catch(e){return}}var On=function(e){function t(n,r,i){F(this,t);var a=N(this,e.call(this,n,r,i)),s=qe(a,a.updateDisplay);return n.on("loadstart",qe(a,a.toggleDisplay)),n.on("texttrackchange",s),n.on("loadstart",qe(a,a.preselectTrack)),n.ready(qe(a,function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)this.hide();else{n.on("fullscreenchange",s),n.on("playerresize",s),o.addEventListener&&o.addEventListener("orientationchange",s),n.on("dispose",function(){return o.removeEventListener("orientationchange",s)});for(var e=this.options_.playerOptions.tracks||[],t=0;t<e.length;t++)this.player_.addRemoteTextTrack(e[t],!0);this.preselectTrack()}})),a}return R(t,e),t.prototype.preselectTrack=function(){for(var e={captions:1,subtitles:1},t=this.player_.textTracks(),n=this.player_.cache_.selectedLanguage,r=void 0,i=void 0,o=void 0,a=0;a<t.length;a++){var s=t[a];n&&n.enabled&&n.language===s.language?s.kind===n.kind?o=s:o||(o=s):n&&!n.enabled?(o=null,r=null,i=null):s.default&&("descriptions"!==s.kind||r?s.kind in e&&!i&&(i=s):r=s)}o?o.mode="showing":i?i.mode="showing":r&&(r.mode="showing")},t.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},t.prototype.clearDisplay=function(){"function"==typeof o.WebVTT&&o.WebVTT.processCues(o,[],this.el_)},t.prototype.updateDisplay=function(){var e=this.player_.textTracks();this.clearDisplay();for(var t=null,n=null,r=e.length;r--;){var i=e[r];"showing"===i.mode&&("descriptions"===i.kind?t=i:n=i)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):t&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(t))},t.prototype.updateForTrack=function(e){if("function"==typeof o.WebVTT&&e.activeCues){for(var t=[],n=0;n<e.activeCues.length;n++)t.push(e.activeCues[n]);if(o.WebVTT.processCues(o,t,this.el_),this.player_.textTrackSettings)for(var r=this.player_.textTrackSettings.getValues(),i=t.length;i--;){var a=t[i];if(a){var s=a.displayState;if(r.color&&(s.firstChild.style.color=r.color),r.textOpacity&&Dn(s.firstChild,"color",Mn(r.color||"#fff",r.textOpacity)),r.backgroundColor&&(s.firstChild.style.backgroundColor=r.backgroundColor),r.backgroundOpacity&&Dn(s.firstChild,"backgroundColor",Mn(r.backgroundColor||"#000",r.backgroundOpacity)),r.windowColor&&(r.windowOpacity?Dn(s,"backgroundColor",Mn(r.windowColor,r.windowOpacity)):s.style.backgroundColor=r.windowColor),r.edgeStyle&&("dropshadow"===r.edgeStyle?s.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===r.edgeStyle?s.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===r.edgeStyle?s.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===r.edgeStyle&&(s.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),r.fontPercent&&1!==r.fontPercent){var l=o.parseFloat(s.style.fontSize);s.style.fontSize=l*r.fontPercent+"px",s.style.height="auto",s.style.top="auto",s.style.bottom="2px"}r.fontFamily&&"default"!==r.fontFamily&&("small-caps"===r.fontFamily?s.firstChild.style.fontVariant="small-caps":s.firstChild.style.fontFamily=En[r.fontFamily])}}}},t}(gt);gt.registerComponent("TextTrackDisplay",On);var In=function(e){function t(){return F(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.createEl=function(){var t=this.player_.isAudio(),n=this.localize(t?"Audio Player":"Video Player"),r=ie("span",{className:"vjs-control-text",innerHTML:this.localize("{1} is loading.",[n])}),i=e.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return i.appendChild(r),i},t}(gt);gt.registerComponent("LoadingSpinner",In);var Ln=function(e){function t(){return F(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.createEl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t=z({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},t),n=z({type:"button"},n);var r=gt.prototype.createEl.call(this,"button",t,n);return this.createControlTextEl(r),r},t.prototype.addChild=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return X.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),gt.prototype.addChild.call(this,e,t)},t.prototype.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},t.prototype.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&e.prototype.handleKeyPress.call(this,t)},t}(kn);gt.registerComponent("Button",Ln);var Pn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.mouseused_=!1,i.on("mousedown",i.handleMouseDown),i}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(e){var t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY)Mt(t);else{var n=this.player_.getChild("controlBar"),r=n&&n.getChild("playToggle");if(r){var i=function(){return r.focus()};Et(t)?t.then(i,function(){}):this.setTimeout(i,1)}else this.player_.focus()}},t.prototype.handleKeyPress=function(t){this.mouseused_=!1,e.prototype.handleKeyPress.call(this,t)},t.prototype.handleMouseDown=function(e){this.mouseused_=!0},t}(Ln);Pn.prototype.controlText_="Play Video",gt.registerComponent("BigPlayButton",Pn);var Fn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.controlText(r&&r.controlText||i.localize("Close")),i}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},t}(Ln);gt.registerComponent("CloseButton",Fn);var Rn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.on(n,"play",i.handlePlay),i.on(n,"pause",i.handlePause),i.on(n,"ended",i.handleEnded),i}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handleSeeked=function(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},t.prototype.handlePlay=function(e){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},t.prototype.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},t.prototype.handleEnded=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},t}(Ln);Rn.prototype.controlText_="Play",gt.registerComponent("PlayToggle",Rn);var Nn=function(e,t){e=e<0?0:e;var n=Math.floor(e%60),r=Math.floor(e/60%60),i=Math.floor(e/3600),o=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(i=r=n="-"),(i=i>0||a>0?i+":":"")+(r=((i||o>=10)&&r<10?"0"+r:r)+":")+(n=n<10?"0"+n:n)},Hn=Nn;var jn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return Hn(e,t)},Un=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.throttledUpdateContent=et(qe(i,i.updateContent),25),i.on(n,"timeupdate",i.throttledUpdateContent),i}return R(t,e),t.prototype.createEl=function(t){var n=this.buildCSSClass(),r=e.prototype.createEl.call(this,"div",{className:n+" vjs-time-control vjs-control",innerHTML:'<span class="vjs-control-text">'+this.localize(this.labelText_)+" </span>"});return this.contentEl_=ie("span",{className:n+"-display"},{"aria-live":"off"}),this.updateTextNode_(),r.appendChild(this.contentEl_),r},t.prototype.dispose=function(){this.contentEl_=null,this.textNode_=null,e.prototype.dispose.call(this)},t.prototype.updateTextNode_=function(){if(this.contentEl_){for(;this.contentEl_.firstChild;)this.contentEl_.removeChild(this.contentEl_.firstChild);this.textNode_=a.createTextNode(this.formattedTime_||this.formatTime_(0)),this.contentEl_.appendChild(this.textNode_)}},t.prototype.formatTime_=function(e){return jn(e)},t.prototype.updateFormattedTime_=function(e){var t=this.formatTime_(e);t!==this.formattedTime_&&(this.formattedTime_=t,this.requestAnimationFrame(this.updateTextNode_))},t.prototype.updateContent=function(e){},t}(gt);Un.prototype.labelText_="Time",Un.prototype.controlText_="Time",gt.registerComponent("TimeDisplay",Un);var Qn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.on(n,"ended",i.handleEnded),i}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-current-time"},t.prototype.updateContent=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateFormattedTime_(t)},t.prototype.handleEnded=function(e){this.player_.duration()&&this.updateFormattedTime_(this.player_.duration())},t}(Un);Qn.prototype.labelText_="Current Time",Qn.prototype.controlText_="Current Time",gt.registerComponent("CurrentTimeDisplay",Qn);var zn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.on(n,"durationchange",i.updateContent),i.on(n,"loadedmetadata",i.throttledUpdateContent),i}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-duration"},t.prototype.updateContent=function(e){var t=this.player_.duration();t&&this.duration_!==t&&(this.duration_=t,this.updateFormattedTime_(t))},t}(Un);zn.prototype.labelText_="Duration",zn.prototype.controlText_="Duration",gt.registerComponent("DurationDisplay",zn);var Yn=function(e){function t(){return F(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},t}(gt);gt.registerComponent("TimeDivider",Yn);var Vn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.on(n,"durationchange",i.throttledUpdateContent),i.on(n,"ended",i.handleEnded),i}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-remaining-time"},t.prototype.formatTime_=function(t){return"-"+e.prototype.formatTime_.call(this,t)},t.prototype.updateContent=function(e){this.player_.duration()&&(this.player_.remainingTimeDisplay?this.updateFormattedTime_(this.player_.remainingTimeDisplay()):this.updateFormattedTime_(this.player_.remainingTime()))},t.prototype.handleEnded=function(e){this.player_.duration()&&this.updateFormattedTime_(0)},t}(Un);Vn.prototype.labelText_="Remaining Time",Vn.prototype.controlText_="Remaining Time",gt.registerComponent("RemainingTimeDisplay",Vn);var Gn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.updateShowing(),i.on(i.player(),"durationchange",i.updateShowing),i}return R(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=ie("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+" </span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},t.prototype.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(gt);gt.registerComponent("LiveDisplay",Gn);var Wn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.bar=i.getChild(i.options_.barName),i.vertical(!!i.options_.vertical),i.enable(),i}return R(t,e),t.prototype.enabled=function(){return this.enabled_},t.prototype.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},t.prototype.disable=function(){if(this.enabled()){var e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this.off("click",this.handleClick),this.off(this.player_,"controlsvisible",this.update),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},t.prototype.createEl=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=z({tabIndex:0},n),r=z({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},t.prototype.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||B||e.preventDefault(),ge(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchmove",this.handleMouseMove),this.on(t,"touchend",this.handleMouseUp),this.handleMouseMove(e)},t.prototype.handleMouseMove=function(e){},t.prototype.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;ve(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp),this.update()},t.prototype.update=function(){if(this.el_){var e=this.getPercent(),t=this.bar;if(t){("number"!=typeof e||e!=e||e<0||e===1/0)&&(e=0);var n=(100*e).toFixed(2)+"%",r=t.el().style;return this.vertical()?r.height=n:r.width=n,e}}},t.prototype.calculateDistance=function(e){var t=be(this.el_,e);return this.vertical()?t.y:t.x},t.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepBack()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepForward())},t.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleClick=function(e){e.stopImmediatePropagation(),e.preventDefault()},t.prototype.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(gt);gt.registerComponent("Slider",Wn);var Xn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.partEls_=[],i.on(n,"progress",i.update),i}return R(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},t.prototype.dispose=function(){this.partEls_=null,e.prototype.dispose.call(this)},t.prototype.update=function(e){var t=this.player_.buffered(),n=this.player_.duration(),r=this.player_.bufferedEnd(),i=this.partEls_,o=function(e,t){var n=e/t||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=o(r,n);for(var a=0;a<t.length;a++){var s=t.start(a),l=t.end(a),c=i[a];c||(c=this.el_.appendChild(ie()),i[a]=c),c.style.left=o(s,r),c.style.width=o(l-s,r)}for(var u=i.length;u>t.length;u--)this.el_.removeChild(i[u-1]);i.length=t.length},t}(gt);gt.registerComponent("LoadProgressBar",Xn);var Zn=function(e){function t(){return F(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})},t.prototype.update=function(e,t,n){var r=me(this.el_),i=me(this.player_.el()),o=e.width*t;if(i&&r){var a=e.left-i.left+o,s=e.width-o+(i.right-e.right),l=r.width/2;a<l?l+=l-a:s<l&&(l=s),l<0?l=0:l>r.width&&(l=r.width),this.el_.style.right="-"+l+"px",oe(this.el_,n)}},t}(gt);gt.registerComponent("TimeTooltip",Zn);var $n=function(e){function t(){return F(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},t.prototype.update=function(e,t){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var r=n.player_.scrubbing()?n.player_.getCache().currentTime:n.player_.currentTime(),i=jn(r,n.player_.duration()),o=n.getChild("timeTooltip");o&&o.update(e,t,i)})},t}(gt);$n.prototype.options_={children:[]},E&&!(E>8)||m||b||$n.prototype.options_.children.push("timeTooltip"),gt.registerComponent("PlayProgressBar",$n);var Kn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.update=et(qe(i,i.update),25),i}return R(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},t.prototype.update=function(e,t){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var r=n.player_.duration(),i=jn(t*r,r);n.el_.style.left=e.width*t+"px",n.getChild("timeTooltip").update(e,t,i)})},t}(gt);Kn.prototype.options_={children:["timeTooltip"]},gt.registerComponent("MouseTimeDisplay",Kn);var Jn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.setEventHandlers_(),i}return R(t,e),t.prototype.setEventHandlers_=function(){var e=this;this.update=et(qe(this,this.update),30),this.on(this.player_,"timeupdate",this.update),this.on(this.player_,"ended",this.handleEnded),this.updateInterval=null,this.on(this.player_,["playing"],function(){e.clearInterval(e.updateInterval),e.updateInterval=e.setInterval(function(){e.requestAnimationFrame(function(){e.update()})},30)}),this.on(this.player_,["ended","pause","waiting"],function(){e.clearInterval(e.updateInterval)}),this.on(this.player_,["timeupdate","ended"],this.update)},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},t.prototype.update_=function(e,t){var n=this.player_.duration();this.el_.setAttribute("aria-valuenow",(100*t).toFixed(2)),this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[jn(e,n),jn(n,n)],"{1} of {2}")),this.bar.update(me(this.el_),t)},t.prototype.update=function(t){var n=e.prototype.update.call(this);return this.update_(this.getCurrentTime_(),n),n},t.prototype.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},t.prototype.handleEnded=function(e){this.update_(this.player_.duration(),1)},t.prototype.getPercent=function(){var e=this.getCurrentTime_()/this.player_.duration();return e>=1?1:e},t.prototype.handleMouseDown=function(t){Be(t)&&(t.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},t.prototype.handleMouseMove=function(e){if(Be(e)){var t=this.calculateDistance(e)*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t)}},t.prototype.enable=function(){e.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},t.prototype.disable=function(){e.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},t.prototype.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying&&Mt(this.player_.play())},t.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},t.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},t.prototype.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleAction(t)):e.prototype.handleKeyPress&&e.prototype.handleKeyPress.call(this,t)},t}(Wn);Jn.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},E&&!(E>8)||m||b||Jn.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Jn.prototype.playerEvent="timeupdate",gt.registerComponent("SeekBar",Jn);var qn=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.handleMouseMove=et(qe(i,i.handleMouseMove),25),i.throttledHandleMouseSeek=et(qe(i,i.handleMouseSeek),25),i.enable(),i}return R(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t.prototype.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var n=t.getChild("mouseTimeDisplay"),r=t.el(),i=me(r),o=be(r,e).x;o>1?o=1:o<0&&(o=0),n&&n.update(i,o)}},t.prototype.handleMouseSeek=function(e){var t=this.getChild("seekBar");t&&t.handleMouseMove(e)},t.prototype.enabled=function(){return this.enabled_},t.prototype.disable=function(){this.children().forEach(function(e){return e.disable&&e.disable()}),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},t.prototype.enable=function(){this.children().forEach(function(e){return e.enable&&e.enable()}),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},t.prototype.handleMouseDown=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchend",this.handleMouseUp)},t.prototype.handleMouseUp=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseUp(e),this.off(t,"mousemove",this.throttledHandleMouseSeek),this.off(t,"touchmove",this.throttledHandleMouseSeek),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchend",this.handleMouseUp)},t}(gt);qn.prototype.options_={children:["seekBar"]},gt.registerComponent("ProgressControl",qn);var er=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.on(n,"fullscreenchange",i.handleFullscreenChange),!1===a[_t.fullscreenEnabled]&&i.disable(),i}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},t.prototype.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(Ln);er.prototype.controlText_="Fullscreen",gt.registerComponent("FullscreenToggle",er);var tr=function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")})},nr=function(e){function t(){return F(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},t}(gt);gt.registerComponent("VolumeLevel",nr);var rr=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.on("slideractive",i.updateLastVolume_),i.on(n,"volumechange",i.updateARIAAttributes),n.ready(function(){return i.updateARIAAttributes()}),i}return R(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},t.prototype.handleMouseDown=function(t){Be(t)&&e.prototype.handleMouseDown.call(this,t)},t.prototype.handleMouseMove=function(e){Be(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},t.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},t.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},t.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},t.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},t.prototype.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},t.prototype.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},t.prototype.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one("sliderinactive",function(){0===e.player_.volume()&&e.player_.lastVolume_(t)})},t}(Wn);rr.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},rr.prototype.playerEvent="volumechange",gt.registerComponent("VolumeBar",rr);var ir=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};F(this,t),r.vertical=r.vertical||!1,(void 0===r.volumeBar||V(r.volumeBar))&&(r.volumeBar=r.volumeBar||{},r.volumeBar.vertical=r.vertical);var i=N(this,e.call(this,n,r));return tr(i,n),i.throttledHandleMouseMove=et(qe(i,i.handleMouseMove),25),i.on("mousedown",i.handleMouseDown),i.on("touchstart",i.handleMouseDown),i.on(i.volumeBar,["focus","slideractive"],function(){i.volumeBar.addClass("vjs-slider-active"),i.addClass("vjs-slider-active"),i.trigger("slideractive")}),i.on(i.volumeBar,["blur","sliderinactive"],function(){i.volumeBar.removeClass("vjs-slider-active"),i.removeClass("vjs-slider-active"),i.trigger("sliderinactive")}),i}return R(t,e),t.prototype.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},t.prototype.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchend",this.handleMouseUp)},t.prototype.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchend",this.handleMouseUp)},t.prototype.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(gt);ir.prototype.options_={children:["volumeBar"]},gt.registerComponent("VolumeControl",ir);var or=function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")})},ar=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return or(i,n),i.on(n,["loadstart","volumechange"],i.update),i}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){var t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},t.prototype.update=function(e){this.updateIcon_(),this.updateControlText_()},t.prototype.updateIcon_=function(){var e=this.player_.volume(),t=3;m&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2);for(var n=0;n<4;n++)ce(this.el_,"vjs-vol-"+n);le(this.el_,"vjs-vol-"+t)},t.prototype.updateControlText_=function(){var e=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},t}(Ln);ar.prototype.controlText_="Mute",gt.registerComponent("MuteToggle",ar);var sr=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};F(this,t),void 0!==r.inline?r.inline=r.inline:r.inline=!0,(void 0===r.volumeControl||V(r.volumeControl))&&(r.volumeControl=r.volumeControl||{},r.volumeControl.vertical=!r.inline);var i=N(this,e.call(this,n,r));return i.on(n,["loadstart"],i.volumePanelState_),i.on(i.volumeControl,["slideractive"],i.sliderActive_),i.on(i.volumeControl,["sliderinactive"],i.sliderInactive_),i}return R(t,e),t.prototype.sliderActive_=function(){this.addClass("vjs-slider-active")},t.prototype.sliderInactive_=function(){this.removeClass("vjs-slider-active")},t.prototype.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},t.prototype.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},t}(gt);sr.prototype.options_={children:["muteToggle","volumeControl"]},gt.registerComponent("VolumePanel",sr);var lr=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return r&&(i.menuButton_=r.menuButton),i.focusedChild_=-1,i.on("keydown",i.handleKeyPress),i}return R(t,e),t.prototype.addItem=function(e){this.addChild(e),e.on("click",qe(this,function(t){this.menuButton_&&(this.menuButton_.unpressButton(),"CaptionSettingsMenuItem"!==e.name()&&this.menuButton_.focus())}))},t.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=ie(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),Qe(n,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),n},t.prototype.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepForward()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepBack())},t.prototype.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},t.prototype.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},t.prototype.focus=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.children().slice();t.length&&t[0].className&&/vjs-menu-title/.test(t[0].className)&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(gt);gt.registerComponent("Menu",lr);var cr=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};F(this,t);var i=N(this,e.call(this,n,r));i.menuButton_=new Ln(n,r),i.menuButton_.controlText(i.controlText_),i.menuButton_.el_.setAttribute("aria-haspopup","true");var o=Ln.prototype.buildCSSClass();return i.menuButton_.el_.className=i.buildCSSClass()+" "+o,i.menuButton_.removeClass("vjs-control"),i.addChild(i.menuButton_),i.update(),i.enabled_=!0,i.on(i.menuButton_,"tap",i.handleClick),i.on(i.menuButton_,"click",i.handleClick),i.on(i.menuButton_,"focus",i.handleFocus),i.on(i.menuButton_,"blur",i.handleBlur),i.on("keydown",i.handleSubmenuKeyPress),i}return R(t,e),t.prototype.update=function(){var e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},t.prototype.createMenu=function(){var e=new lr(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=ie("li",{className:"vjs-menu-title",innerHTML:pt(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,e.children_.unshift(t),ae(t,e.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)e.addItem(this.items[n]);return e},t.prototype.createItems=function(){},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},t.prototype.buildWrapperCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+Ln.prototype.buildCSSClass()+" "+e.prototype.buildCSSClass.call(this)},t.prototype.buildCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},t.prototype.controlText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.menuButton_.el();return this.menuButton_.controlText(e,t)},t.prototype.handleClick=function(e){this.one(this.menu.contentEl(),"mouseleave",qe(this,function(e){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},t.prototype.focus=function(){this.menuButton_.focus()},t.prototype.blur=function(){this.menuButton_.blur()},t.prototype.handleFocus=function(){Qe(a,"keydown",qe(this,this.handleKeyPress))},t.prototype.handleBlur=function(){ze(a,"keydown",qe(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(e){27===e.which||9===e.which?(this.buttonPressed_&&this.unpressButton(),9!==e.which&&(e.preventDefault(),this.menuButton_.el_.focus())):38!==e.which&&40!==e.which||this.buttonPressed_||(this.pressButton(),e.preventDefault())},t.prototype.handleSubmenuKeyPress=function(e){27!==e.which&&9!==e.which||(this.buttonPressed_&&this.unpressButton(),9!==e.which&&(e.preventDefault(),this.menuButton_.el_.focus()))},t.prototype.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),m&&ne())return;this.menu.focus()}},t.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},t.prototype.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},t.prototype.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},t}(gt);gt.registerComponent("MenuButton",cr);var ur=function(e){function t(n,r){F(this,t);var i=r.tracks,o=N(this,e.call(this,n,r));if(o.items.length<=1&&o.hide(),!i)return N(o);var a=qe(o,o.update);return i.addEventListener("removetrack",a),i.addEventListener("addtrack",a),o.player_.on("ready",a),o.player_.on("dispose",function(){i.removeEventListener("removetrack",a),i.removeEventListener("addtrack",a)}),o}return R(t,e),t}(cr);gt.registerComponent("TrackButton",ur);var hr=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.selectable=r.selectable,i.isSelected_=r.selected||!1,i.multiSelectable=r.multiSelectable,i.selected(i.isSelected_),i.selectable?i.multiSelectable?i.el_.setAttribute("role","menuitemcheckbox"):i.el_.setAttribute("role","menuitemradio"):i.el_.setAttribute("role","menuitem"),i}return R(t,e),t.prototype.createEl=function(t,n,r){return this.nonIconControl=!0,e.prototype.createEl.call(this,"li",z({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"</span>",tabIndex:-1},n),r)},t.prototype.handleClick=function(e){this.selected(!0)},t.prototype.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},t}(kn);gt.registerComponent("MenuItem",hr);var dr=function(e){function t(n,r){F(this,t);var i=r.track,s=n.textTracks();r.label=i.label||i.language||"Unknown",r.selected="showing"===i.mode;var l=N(this,e.call(this,n,r));l.track=i;var c=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];l.handleTracksChange.apply(l,t)},u=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];l.handleSelectedLanguageChange.apply(l,t)};if(n.on(["loadstart","texttrackchange"],c),s.addEventListener("change",c),s.addEventListener("selectedlanguagechange",u),l.on("dispose",function(){n.off(["loadstart","texttrackchange"],c),s.removeEventListener("change",c),s.removeEventListener("selectedlanguagechange",u)}),void 0===s.onchange){var h=void 0;l.on(["tap","click"],function(){if("object"!==P(o.Event))try{h=new o.Event("change")}catch(e){}h||(h=a.createEvent("Event")).initEvent("change",!0,!0),s.dispatchEvent(h)})}return l.handleTracksChange(),l}return R(t,e),t.prototype.handleClick=function(t){var n=this.track.kind,r=this.track.kinds,i=this.player_.textTracks();if(r||(r=[n]),e.prototype.handleClick.call(this,t),i)for(var o=0;o<i.length;o++){var a=i[o];a===this.track&&r.indexOf(a.kind)>-1?"showing"!==a.mode&&(a.mode="showing"):"disabled"!==a.mode&&(a.mode="disabled")}},t.prototype.handleTracksChange=function(e){var t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)},t.prototype.handleSelectedLanguageChange=function(e){if("showing"===this.track.mode){var t=this.player_.cache_.selectedLanguage;if(t&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},t.prototype.dispose=function(){this.track=null,e.prototype.dispose.call(this)},t}(hr);gt.registerComponent("TextTrackMenuItem",dr);var fr=function(e){function t(n,r){return F(this,t),r.track={player:n,kind:r.kind,kinds:r.kinds,default:!1,mode:"disabled"},r.kinds||(r.kinds=[r.kind]),r.label?r.track.label=r.label:r.track.label=r.kinds.join(" and ")+" off",r.selectable=!0,r.multiSelectable=!1,N(this,e.call(this,n,r))}return R(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r<i;r++){var o=t[r];if(this.options_.kinds.indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},t.prototype.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r<i;r++){var o=t[r];if(["captions","descriptions","subtitles"].indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}(dr);gt.registerComponent("OffTextTrackMenuItem",fr);var pr=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return F(this,t),r.tracks=n.textTracks(),N(this,e.call(this,n,r))}return R(t,e),t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dr,n=void 0;this.label_&&(n=this.label_+" off"),e.push(new fr(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i<r.length;i++){var o=r[i];if(this.kinds_.indexOf(o.kind)>-1){var a=new t(this.player_,{track:o,selectable:!0,multiSelectable:!1});a.addClass("vjs-"+o.kind+"-menu-item"),e.push(a)}}return e},t}(ur);gt.registerComponent("TextTrackButton",pr);var Ar=function(e){function t(n,r){F(this,t);var i=r.track,o=r.cue,a=n.currentTime();r.selectable=!0,r.multiSelectable=!1,r.label=o.text,r.selected=o.startTime<=a&&a<o.endTime;var s=N(this,e.call(this,n,r));return s.track=i,s.cue=o,i.addEventListener("cuechange",qe(s,s.update)),s}return R(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},t.prototype.update=function(e){var t=this.cue,n=this.player_.currentTime();this.selected(t.startTime<=n&&n<t.endTime)},t}(hr);gt.registerComponent("ChaptersTrackMenuItem",Ar);var gr=function(e){function t(n,r,i){return F(this,t),N(this,e.call(this,n,r,i))}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildWrapperCSSClass.call(this)},t.prototype.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),e.prototype.update.call(this)},t.prototype.setTrack=function(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_)}}},t.prototype.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],t=e.length-1;t>=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},t.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(pt(this.kind_))},t.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},t.prototype.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,r=t.length;n<r;n++){var i=t[n],o=new Ar(this.player_,{track:this.track_,cue:i});e.push(o)}return e},t}(pr);gr.prototype.kind_="chapters",gr.prototype.controlText_="Chapters",gt.registerComponent("ChaptersButton",gr);var vr=function(e){function t(n,r,i){F(this,t);var o=N(this,e.call(this,n,r,i)),a=n.textTracks(),s=qe(o,o.handleTracksChange);return a.addEventListener("change",s),o.on("dispose",function(){a.removeEventListener("change",s)}),o}return R(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,r=0,i=t.length;r<i;r++){var o=t[r];if(o.kind!==this.kind_&&"showing"===o.mode){n=!0;break}}n?this.disable():this.enable()},t.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(pr);vr.prototype.kind_="descriptions",vr.prototype.controlText_="Descriptions",gt.registerComponent("DescriptionsButton",vr);var mr=function(e){function t(n,r,i){return F(this,t),N(this,e.call(this,n,r,i))}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(pr);mr.prototype.kind_="subtitles",mr.prototype.controlText_="Subtitles",gt.registerComponent("SubtitlesButton",mr);var yr=function(e){function t(n,r){F(this,t),r.track={player:n,kind:r.kind,label:r.kind+" settings",selectable:!1,default:!1,mode:"disabled"},r.selectable=!1,r.name="CaptionSettingsMenuItem";var i=N(this,e.call(this,n,r));return i.addClass("vjs-texttrack-settings"),i.controlText(", opens "+r.kind+" settings dialog"),i}return R(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").open()},t}(dr);gt.registerComponent("CaptionSettingsMenuItem",yr);var br=function(e){function t(n,r,i){return F(this,t),N(this,e.call(this,n,r,i))}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-captions-button "+e.prototype.buildWrapperCSSClass.call(this)},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new yr(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(pr);br.prototype.kind_="captions",br.prototype.controlText_="Captions",gt.registerComponent("CaptionsButton",br);var _r=function(e){function t(){return F(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.createEl=function(t,n,r){var i='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"captions"===this.options_.track.kind&&(i+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Captions")+"</span>\n "),i+="</span>",e.prototype.createEl.call(this,t,z({innerHTML:i},n),r)},t}(dr);gt.registerComponent("SubsCapsMenuItem",_r);var wr=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};F(this,t);var i=N(this,e.call(this,n,r));return i.label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(i.player_.language_)>-1&&(i.label_="captions"),i.menuButton_.controlText(pt(i.label_)),i}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildWrapperCSSClass.call(this)},t.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new yr(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,_r)},t}(pr);wr.prototype.kinds_=["captions","subtitles"],wr.prototype.controlText_="Subtitles",gt.registerComponent("SubsCapsButton",wr);var xr=function(e){function t(n,r){F(this,t);var i=r.track,o=n.audioTracks();r.label=i.label||i.language||"Unknown",r.selected=i.enabled;var a=N(this,e.call(this,n,r));a.track=i,a.addClass("vjs-"+i.kind+"-menu-item");var s=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];a.handleTracksChange.apply(a,t)};return o.addEventListener("change",s),a.on("dispose",function(){o.removeEventListener("change",s)}),a}return R(t,e),t.prototype.createEl=function(t,n,r){var i='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"main-desc"===this.options_.track.kind&&(i+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Descriptions")+"</span>\n "),i+="</span>",e.prototype.createEl.call(this,t,z({innerHTML:i},n),r)},t.prototype.handleClick=function(t){var n=this.player_.audioTracks();e.prototype.handleClick.call(this,t);for(var r=0;r<n.length;r++){var i=n[r];i.enabled=i===this.track}},t.prototype.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(hr);gt.registerComponent("AudioTrackMenuItem",xr);var Cr=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return F(this,t),r.tracks=n.audioTracks(),N(this,e.call(this,n,r))}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-audio-button "+e.prototype.buildWrapperCSSClass.call(this)},t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;for(var t=this.player_.audioTracks(),n=0;n<t.length;n++){var r=t[n];e.push(new xr(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return e},t}(ur);Cr.prototype.controlText_="Audio Track",gt.registerComponent("AudioTrackButton",Cr);var Sr=function(e){function t(n,r){F(this,t);var i=r.rate,o=parseFloat(i,10);r.label=i,r.selected=1===o,r.selectable=!0,r.multiSelectable=!1;var a=N(this,e.call(this,n,r));return a.label=i,a.rate=o,a.on(n,"ratechange",a.update),a}return R(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},t.prototype.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(hr);Sr.prototype.contentElType="button",gt.registerComponent("PlaybackRateMenuItem",Sr);var Br=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.updateVisibility(),i.updateLabel(),i.on(n,"loadstart",i.updateVisibility),i.on(n,"ratechange",i.updateLabel),i}return R(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelEl_=ie("div",{className:"vjs-playback-rate-value",innerHTML:"1x"}),t.appendChild(this.labelEl_),t},t.prototype.dispose=function(){this.labelEl_=null,e.prototype.dispose.call(this)},t.prototype.buildCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildCSSClass.call(this)},t.prototype.buildWrapperCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildWrapperCSSClass.call(this)},t.prototype.createMenu=function(){var e=new lr(this.player()),t=this.playbackRates();if(t)for(var n=t.length-1;n>=0;n--)e.addChild(new Sr(this.player(),{rate:t[n]+"x"}));return e},t.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},t.prototype.handleClick=function(e){for(var t=this.player().playbackRate(),n=this.playbackRates(),r=n[0],i=0;i<n.length;i++)if(n[i]>t){r=n[i];break}this.player().playbackRate(r)},t.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},t.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},t.prototype.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},t.prototype.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},t}(cr);Br.prototype.controlText_="Playback Rate",gt.registerComponent("PlaybackRateMenuButton",Br);var kr=function(e){function t(){return F(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t}(gt);gt.registerComponent("Spacer",kr);var Tr=function(e){function t(){return F(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML=" ",t},t}(kr);gt.registerComponent("CustomControlSpacer",Tr);var Er=function(e){function t(){return F(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},t}(gt);Er.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},gt.registerComponent("ControlBar",Er);var Mr=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r));return i.on(n,"error",i.open),i}return R(t,e),t.prototype.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},t.prototype.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(Pt);Mr.prototype.options_=At(Pt.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),gt.registerComponent("ErrorDisplay",Mr);var Dr=["#000","Black"],Or=["#00F","Blue"],Ir=["#0FF","Cyan"],Lr=["#0F0","Green"],Pr=["#F0F","Magenta"],Fr=["#F00","Red"],Rr=["#FFF","White"],Nr=["#FF0","Yellow"],Hr=["1","Opaque"],jr=["0.5","Semi-Transparent"],Ur=["0","Transparent"],Qr={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Dr,Rr,Fr,Lr,Or,Nr,Pr,Ir]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[Hr,jr,Ur]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[Rr,Dr,Fr,Lr,Or,Nr,Pr,Ir]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[Hr,jr]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[Ur,jr,Hr]}};function zr(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}Qr.windowColor.options=Qr.backgroundColor.options;var Yr=function(e){function t(n,r){F(this,t),r.temporary=!1;var i=N(this,e.call(this,n,r));return i.updateDisplay=qe(i,i.updateDisplay),i.fill(),i.hasBeenOpened_=i.hasBeenFilled_=!0,i.endDialog=ie("p",{className:"vjs-control-text",textContent:i.localize("End of dialog window.")}),i.el().appendChild(i.endDialog),i.setDefaults(),void 0===r.persistTextTrackSettings&&(i.options_.persistTextTrackSettings=i.options_.playerOptions.persistTextTrackSettings),i.on(i.$(".vjs-done-button"),"click",function(){i.saveSettings(),i.close()}),i.on(i.$(".vjs-default-button"),"click",function(){i.setDefaults(),i.updateDisplay()}),Q(Qr,function(e){i.on(i.$(e.selector),"change",i.updateDisplay)}),i.options_.persistTextTrackSettings&&i.restoreSettings(),i}return R(t,e),t.prototype.dispose=function(){this.endDialog=null,e.prototype.dispose.call(this)},t.prototype.createElSelect_=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"label",i=Qr[e],o=i.id.replace("%s",this.id_),a=[n,o].join(" ").trim();return["<"+r+' id="'+o+'" class="'+("label"===r?"vjs-label":"")+'">',this.localize(i.label),"</"+r+">",'<select aria-labelledby="'+a+'">'].concat(i.options.map(function(e){var n=o+"-"+e[1].replace(/\W+/g,"");return['<option id="'+n+'" value="'+e[0]+'" ','aria-labelledby="'+a+" "+n+'">',t.localize(e[1]),"</option>"].join("")})).concat("</select>").join("")},t.prototype.createElFgColor_=function(){var e="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",e),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",e),"</span>","</fieldset>"].join("")},t.prototype.createElBgColor_=function(){var e="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",e),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",e),"</span>","</fieldset>"].join("")},t.prototype.createElWinColor_=function(){var e="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",e),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",e),"</span>","</fieldset>"].join("")},t.prototype.createElColors_=function(){return ie("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},t.prototype.createElFont_=function(){return ie("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},t.prototype.createElControls_=function(){var e=this.localize("restore all settings to the default values");return ie("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+e+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+e+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},t.prototype.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},t.prototype.label=function(){return this.localize("Caption Settings Dialog")},t.prototype.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},t.prototype.buildCSSClass=function(){return e.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},t.prototype.getValues=function(){var e=this;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return U(e).reduce(function(n,r){return t(n,e[r],r)},n)}(Qr,function(t,n,r){var i,o,a=(i=e.$(n.selector),o=n.parser,zr(i.options[i.options.selectedIndex].value,o));return void 0!==a&&(t[r]=a),t},{})},t.prototype.setValues=function(e){var t=this;Q(Qr,function(n,r){!function(e,t,n){if(t)for(var r=0;r<e.options.length;r++)if(zr(e.options[r].value,n)===t){e.selectedIndex=r;break}}(t.$(n.selector),e[r],n.parser)})},t.prototype.setDefaults=function(){var e=this;Q(Qr,function(t){var n=t.hasOwnProperty("default")?t.default:0;e.$(t.selector).selectedIndex=n})},t.prototype.restoreSettings=function(){var e=void 0;try{e=JSON.parse(o.localStorage.getItem("vjs-text-track-settings"))}catch(e){X.warn(e)}e&&this.setValues(e)},t.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?o.localStorage.setItem("vjs-text-track-settings",JSON.stringify(e)):o.localStorage.removeItem("vjs-text-track-settings")}catch(e){X.warn(e)}}},t.prototype.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},t.prototype.conditionalBlur_=function(){this.previouslyActiveEl_=null,this.off(a,"keydown",this.handleKeyDown);var e=this.player_.controlBar,t=e&&e.subsCapsButton,n=e&&e.captionsButton;t?t.focus():n&&n.focus()},t}(Pt);gt.registerComponent("TextTrackSettings",Yr);var Vr=function(e){function t(n,r){F(this,t);var i=r.ResizeObserver||o.ResizeObserver;null===r.ResizeObserver&&(i=!1);var a=At({createEl:!i},r),s=N(this,e.call(this,n,a));return s.ResizeObserver=r.ResizeObserver||o.ResizeObserver,s.loadListener_=null,s.resizeObserver_=null,s.debouncedHandler_=tt(function(){s.resizeHandler()},100,!1,s),i?(s.resizeObserver_=new s.ResizeObserver(s.debouncedHandler_),s.resizeObserver_.observe(n.el())):(s.loadListener_=function(){s.el_&&s.el_.contentWindow&&Qe(s.el_.contentWindow,"resize",s.debouncedHandler_)},s.one("load",s.loadListener_)),s}return R(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager"})},t.prototype.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},t.prototype.dispose=function(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.el_&&this.el_.contentWindow&&ze(this.el_.contentWindow,"resize",this.debouncedHandler_),this.loadListener_&&this.off("load",this.loadListener_),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null},t}(gt);gt.registerComponent("ResizeManager",Vr);var Gr=function(e){var t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;var n=e.$$("source"),r=[],i="";if(!n.length)return!1;for(var o=0;o<n.length;o++){var a=n[o].src;a&&-1===r.indexOf(a)&&r.push(a)}return!!r.length&&(1===r.length&&(i=r[0]),e.triggerSourceset(i),!0)},Wr={};T||(Wr=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(e){var t=a.createElement(this.nodeName.toLowerCase());t.innerHTML=e;for(var n=a.createDocumentFragment();t.childNodes.length;)n.appendChild(t.childNodes[0]);return this.innerText="",o.Element.prototype.appendChild.call(this,n),this.innerHTML}}));var Xr=function(e,t){for(var n={},r=0;r<e.length&&!((n=Object.getOwnPropertyDescriptor(e[r],t))&&n.set&&n.get);r++);return n.enumerable=!0,n.configurable=!0,n},Zr=function(e){var t=e.el();if(!t.resetSourceWatch_){var n={},r=function(e){return Xr([e.el(),o.HTMLMediaElement.prototype,o.Element.prototype,Wr],"innerHTML")}(e),i=function(n){return function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=n.apply(t,i);return Gr(e),a}};["append","appendChild","insertAdjacentHTML"].forEach(function(e){t[e]&&(n[e]=t[e],t[e]=i(n[e]))}),Object.defineProperty(t,"innerHTML",At(r,{set:i(r.set)})),t.resetSourceWatch_=function(){t.resetSourceWatch_=null,Object.keys(n).forEach(function(e){t[e]=n[e]}),Object.defineProperty(t,"innerHTML",r)},e.one("sourceset",t.resetSourceWatch_)}},$r={};T||($r=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?Kt(o.Element.prototype.getAttribute.call(this,"src")):""},set:function(e){return o.Element.prototype.setAttribute.call(this,"src",e),e}}));var Kr=function(e){if(e.featuresSourceset){var t=e.el();if(!t.resetSourceset_){var n=function(e){return Xr([e.el(),o.HTMLMediaElement.prototype,$r],"src")}(e),r=t.setAttribute,i=t.load;Object.defineProperty(t,"src",At(n,{set:function(r){var i=n.set.call(t,r);return e.triggerSourceset(t.src),i}})),t.setAttribute=function(n,i){var o=r.call(t,n,i);return/src/i.test(n)&&e.triggerSourceset(t.src),o},t.load=function(){var n=i.call(t);return Gr(e)||(e.triggerSourceset(""),Zr(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):Gr(e)||Zr(e),t.resetSourceset_=function(){t.resetSourceset_=null,t.load=i,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}}}},Jr=H(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."]),qr=function(e){function t(n,r){F(this,t);var i=N(this,e.call(this,n,r)),o=n.source,a=!1;if(o&&(i.el_.currentSrc!==o.src||n.tag&&3===n.tag.initNetworkState_)?i.setSource(o):i.handleLateInit_(i.el_),n.enableSourceset&&i.setupSourcesetHandling_(),i.el_.hasChildNodes()){for(var l=i.el_.childNodes,c=l.length,u=[];c--;){var h=l[c];"track"===h.nodeName.toLowerCase()&&(i.featuresNativeTextTracks?(i.remoteTextTrackEls().addTrackElement_(h),i.remoteTextTracks().addTrack(h.track),i.textTracks().addTrack(h.track),a||i.el_.hasAttribute("crossorigin")||!qt(h.src)||(a=!0)):u.push(h))}for(var d=0;d<u.length;d++)i.el_.removeChild(u[d])}return i.proxyNativeTracks_(),i.featuresNativeTextTracks&&a&&X.warn(s(Jr)),i.restoreMetadataTracksInIOSNativePlayer_(),(O||g||x)&&!0===n.nativeControlsForTouch&&i.setControls(!0),i.proxyWebkitFullscreen_(),i.triggerReady(),i}return R(t,e),t.prototype.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),t.disposeMediaElement(this.el_),this.options_=null,e.prototype.dispose.call(this)},t.prototype.setupSourcesetHandling_=function(){Kr(this)},t.prototype.restoreMetadataTracksInIOSNativePlayer_=function(){var e=this.textTracks(),t=void 0,n=function(){t=[];for(var n=0;n<e.length;n++){var r=e[n];"metadata"===r.kind&&t.push({track:r,storedMode:r.mode})}};n(),e.addEventListener("change",n),this.on("dispose",function(){return e.removeEventListener("change",n)});var r=function n(){for(var r=0;r<t.length;r++){var i=t[r];"disabled"===i.track.mode&&i.track.mode!==i.storedMode&&(i.track.mode=i.storedMode)}e.removeEventListener("change",n)};this.on("webkitbeginfullscreen",function(){e.removeEventListener("change",n),e.removeEventListener("change",r),e.addEventListener("change",r)}),this.on("webkitendfullscreen",function(){e.removeEventListener("change",n),e.addEventListener("change",n),e.removeEventListener("change",r)})},t.prototype.proxyNativeTracks_=function(){var e=this;un.names.forEach(function(t){var n=un[t],r=e.el()[n.getterName],i=e[n.getterName]();if(e["featuresNative"+n.capitalName+"Tracks"]&&r&&r.addEventListener){var o={change:function(e){i.trigger({type:"change",target:i,currentTarget:i,srcElement:i})},addtrack:function(e){i.addTrack(e.track)},removetrack:function(e){i.removeTrack(e.track)}},a=function(){for(var e=[],t=0;t<i.length;t++){for(var n=!1,o=0;o<r.length;o++)if(r[o]===i[t]){n=!0;break}n||e.push(i[t])}for(;e.length;)i.removeTrack(e.shift())};Object.keys(o).forEach(function(t){var n=o[t];r.addEventListener(t,n),e.on("dispose",function(e){return r.removeEventListener(t,n)})}),e.on("loadstart",a),e.on("dispose",function(t){return e.off("loadstart",a)})}})},t.prototype.createEl=function(){var e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){var n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),t.disposeMediaElement(e),e=n}else{e=a.createElement("video");var r=At({},this.options_.tag&&de(this.options_.tag));O&&!0===this.options_.nativeControlsForTouch||delete r.controls,he(e,z(r,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}void 0!==this.options_.preload&&pe(e,"preload",this.options_.preload);for(var i=["loop","muted","playsinline","autoplay"],o=0;o<i.length;o++){var s=i[o],l=this.options_[s];void 0!==l&&(l?pe(e,s,s):Ae(e,s),e[s]=l)}return e},t.prototype.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,n=function(){t=!0};this.on("loadstart",n);var r=function(){t||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready(function(){this.off("loadstart",n),this.off("loadedmetadata",r),t||this.trigger("loadstart")})}var i=["loadstart"];i.push("loadedmetadata"),e.readyState>=2&&i.push("loadeddata"),e.readyState>=3&&i.push("canplay"),e.readyState>=4&&i.push("canplaythrough"),this.ready(function(){i.forEach(function(e){this.trigger(e)},this)})}},t.prototype.setCurrentTime=function(e){try{this.el_.currentTime=e}catch(e){X(e,"Video is not ready. (Video.js)")}},t.prototype.duration=function(){var e=this;if(this.el_.duration===1/0&&b&&B&&0===this.el_.currentTime){return this.on("timeupdate",function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))}),NaN}return this.el_.duration||NaN},t.prototype.width=function(){return this.el_.offsetWidth},t.prototype.height=function(){return this.el_.offsetHeight},t.prototype.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",function(){e.off("webkitbeginfullscreen",n),e.off("webkitendfullscreen",t)})}},t.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=o.navigator&&o.navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},t.prototype.enterFullScreen=function(){var e=this.el_;e.paused&&e.networkState<=e.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){e.pause(),e.webkitEnterFullScreen()},0)):e.webkitEnterFullScreen()},t.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},t.prototype.src=function(e){if(void 0===e)return this.el_.src;this.setSrc(e)},t.prototype.reset=function(){t.resetMediaElement(this.el_)},t.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},t.prototype.setControls=function(e){this.el_.controls=!!e},t.prototype.addTextTrack=function(t,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,n,r):e.prototype.addTextTrack.call(this,t,n,r)},t.prototype.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var n=a.createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n},t.prototype.addRemoteTextTrack=function(t,n){var r=e.prototype.addRemoteTextTrack.call(this,t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},t.prototype.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)t!==n[r]&&t!==n[r].track||this.el().removeChild(n[r])},t.prototype.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var e={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),o.performance&&"function"==typeof o.performance.now?e.creationTime=o.performance.now():o.performance&&o.performance.timing&&"number"==typeof o.performance.timing.navigationStart&&(e.creationTime=o.Date.now()-o.performance.timing.navigationStart),e},t}(fn);if(ee()){qr.TEST_VID=a.createElement("video");var ei=a.createElement("track");ei.kind="captions",ei.srclang="en",ei.label="English",qr.TEST_VID.appendChild(ei)}qr.isSupported=function(){try{qr.TEST_VID.volume=.5}catch(e){return!1}return!(!qr.TEST_VID||!qr.TEST_VID.canPlayType)},qr.canPlayType=function(e){return qr.TEST_VID.canPlayType(e)},qr.canPlaySource=function(e,t){return qr.canPlayType(e.type)},qr.canControlVolume=function(){try{var e=qr.TEST_VID.volume;return qr.TEST_VID.volume=e/2+.1,e!==qr.TEST_VID.volume}catch(e){return!1}},qr.canMuteVolume=function(){try{var e=qr.TEST_VID.muted;return qr.TEST_VID.muted=!e,qr.TEST_VID.muted?pe(qr.TEST_VID,"muted","muted"):Ae(qr.TEST_VID,"muted"),e!==qr.TEST_VID.muted}catch(e){return!1}},qr.canControlPlaybackRate=function(){if(b&&B&&k<58)return!1;try{var e=qr.TEST_VID.playbackRate;return qr.TEST_VID.playbackRate=e/2+.1,e!==qr.TEST_VID.playbackRate}catch(e){return!1}},qr.canOverrideAttributes=function(){if(T)return!1;try{var e=function(){};Object.defineProperty(a.createElement("video"),"src",{get:e,set:e}),Object.defineProperty(a.createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(a.createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(a.createElement("audio"),"innerHTML",{get:e,set:e})}catch(e){return!1}return!0},qr.supportsNativeTextTracks=function(){return D||m&&B},qr.supportsNativeVideoTracks=function(){return!(!qr.TEST_VID||!qr.TEST_VID.videoTracks)},qr.supportsNativeAudioTracks=function(){return!(!qr.TEST_VID||!qr.TEST_VID.audioTracks)},qr.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],qr.prototype.featuresVolumeControl=qr.canControlVolume(),qr.prototype.featuresMuteControl=qr.canMuteVolume(),qr.prototype.featuresPlaybackRate=qr.canControlPlaybackRate(),qr.prototype.featuresSourceset=qr.canOverrideAttributes(),qr.prototype.movingMediaElementInDOM=!m,qr.prototype.featuresFullscreenResize=!0,qr.prototype.featuresProgressEvents=!0,qr.prototype.featuresTimeupdateEvents=!0,qr.prototype.featuresNativeTextTracks=qr.supportsNativeTextTracks(),qr.prototype.featuresNativeVideoTracks=qr.supportsNativeVideoTracks(),qr.prototype.featuresNativeAudioTracks=qr.supportsNativeAudioTracks();var ti=qr.TEST_VID&&qr.TEST_VID.constructor.prototype.canPlayType,ni=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,ri=/^video\/mp4/i;qr.patchCanPlayType=function(){_>=4&&!C&&!B?qr.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&ni.test(e)?"maybe":ti.call(this,e)}:w&&(qr.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&ri.test(e)?"maybe":ti.call(this,e)})},qr.unpatchCanPlayType=function(){var e=qr.TEST_VID.constructor.prototype.canPlayType;return qr.TEST_VID.constructor.prototype.canPlayType=ti,e},qr.patchCanPlayType(),qr.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},qr.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),n=t.length;n--;)e.removeChild(t[n]);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(e){qr.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(e){qr.prototype["set"+pt(e)]=function(t){this.el_[e]=t,t?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(e){qr.prototype[e]=function(){return this.el_[e]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate"].forEach(function(e){qr.prototype["set"+pt(e)]=function(t){this.el_[e]=t}}),["pause","load","play"].forEach(function(e){qr.prototype[e]=function(){return this.el_[e]()}}),fn.withSourceHandlers(qr),qr.nativeSourceHandler={},qr.nativeSourceHandler.canPlayType=function(e){try{return qr.TEST_VID.canPlayType(e)}catch(e){return""}},qr.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return qr.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=Jt(e.src);return qr.nativeSourceHandler.canPlayType("video/"+n)}return""},qr.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},qr.nativeSourceHandler.dispose=function(){},qr.registerSourceHandler(qr.nativeSourceHandler),fn.registerTech("Html5",qr);var ii=H(["\n Using the tech directly can be dangerous. I hope you know what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "],["\n Using the tech directly can be dangerous. I hope you know what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "]),oi=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],ai={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},si=["tiny","xsmall","small","medium","large","xlarge","huge"],li={};si.forEach(function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;li[e]="vjs-layout-"+t});var ci={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},ui=function(e){function t(n,r,i){if(F(this,t),n.id=n.id||r.id||"vjs_video_"+De(),(r=z(t.getTagSettings(n),r)).initChildren=!1,r.createEl=!1,r.evented=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof n.closest){var o=n.closest("[lang]");o&&o.getAttribute&&(r.language=o.getAttribute("lang"))}else for(var a=n;a&&1===a.nodeType;){if(de(a).hasOwnProperty("lang")){r.language=a.getAttribute("lang");break}a=a.parentNode}var s=N(this,e.call(this,null,r,i));if(s.log=Z(s.id_),s.isPosterFromTech_=!1,s.queuedCallbacks_=[],s.isReady_=!1,s.hasStarted_=!1,s.userActive_=!1,!s.options_||!s.options_.techOrder||!s.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(s.tag=n,s.tagAttributes=n&&de(n),s.language(s.options_.language),r.languages){var l={};Object.getOwnPropertyNames(r.languages).forEach(function(e){l[e.toLowerCase()]=r.languages[e]}),s.languages_=l}else s.languages_=t.prototype.options_.languages;s.cache_={},s.poster_=r.poster||"",s.controls_=!!r.controls,s.cache_.lastVolume=1,n.controls=!1,n.removeAttribute("controls"),n.hasAttribute("autoplay")?s.options_.autoplay=!0:s.autoplay(s.options_.autoplay),s.scrubbing_=!1,s.el_=s.createEl(),s.cache_.lastPlaybackRate=s.defaultPlaybackRate(),ht(s,{eventBusKey:"el_"});var c=At(s.options_);if(r.plugins){var u=r.plugins;Object.keys(u).forEach(function(e){if("function"!=typeof this[e])throw new Error('plugin "'+e+'" does not exist');this[e](u[e])},s)}s.options_.playerOptions=c,s.middleware_=[],s.initChildren(),s.isAudio("audio"===n.nodeName.toLowerCase()),s.controls()?s.addClass("vjs-controls-enabled"):s.addClass("vjs-controls-disabled"),s.el_.setAttribute("role","region"),s.isAudio()?s.el_.setAttribute("aria-label",s.localize("Audio Player")):s.el_.setAttribute("aria-label",s.localize("Video Player")),s.isAudio()&&s.addClass("vjs-audio"),s.flexNotSupported_()&&s.addClass("vjs-no-flex"),m||s.addClass("vjs-workinghover"),t.players[s.id_]=s;var d=h.split(".")[0];return s.addClass("vjs-v"+d),s.userActive(!0),s.reportUserActivity(),s.one("play",s.listenForUserActivity_),s.on("fullscreenchange",s.handleFullscreenChange_),s.on("stageclick",s.handleStageClick_),s.breakpoints(s.options_.breakpoints),s.responsive(s.options_.responsive),s.changingSrc_=!1,s.playWaitingForReady_=!1,s.playOnLoadstart_=null,s}return R(t,e),t.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),An[this.id()]=null,e.prototype.dispose.call(this)},t.prototype.createEl=function(){var t=this.tag,n=void 0,r=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player"),i="video-js"===this.tag.tagName.toLowerCase();r?n=this.el_=t.parentNode:i||(n=this.el_=e.prototype.createEl.call(this,"div"));var s=de(t);if(i){for(n=this.el_=t,t=this.tag=a.createElement("video");n.children.length;)t.appendChild(n.firstChild);se(n,"video-js")||le(n,"video-js"),n.appendChild(t),r=this.playerElIngest_=n,["autoplay","controls","crossOrigin","defaultMuted","defaultPlaybackRate","loop","muted","playbackRate","src","volume"].forEach(function(e){void 0!==n[e]&&(t[e]=n[e])})}if(t.setAttribute("tabindex","-1"),s.tabindex="-1",E&&(t.setAttribute("role","application"),s.role="application"),t.removeAttribute("width"),t.removeAttribute("height"),"width"in s&&delete s.width,"height"in s&&delete s.height,Object.getOwnPropertyNames(s).forEach(function(e){"class"===e?(n.className+=" "+s[e],i&&(t.className+=" "+s[e])):(n.setAttribute(e,s[e]),i&&t.setAttribute(e,s[e]))}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=n.player=this,this.addClass("vjs-paused"),!0!==o.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=Ke("vjs-styles-dimensions");var l=ke(".vjs-styles-defaults"),c=ke("head");c.insertBefore(this.styleEl_,l?l.nextSibling:c.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var u=t.getElementsByTagName("a"),h=0;h<u.length;h++){var d=u.item(h);le(d,"vjs-hidden"),d.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!r&&t.parentNode.insertBefore(n,t),ae(t,n),this.children_.unshift(t),this.el_.setAttribute("lang",this.language_),this.el_=n,n},t.prototype.width=function(e){return this.dimension("width",e)},t.prototype.height=function(e){return this.dimension("height",e)},t.prototype.dimension=function(e,t){var n=e+"_";if(void 0===t)return this[n]||0;if(""===t)return this[n]=void 0,void this.updateStyleEl_();var r=parseFloat(t);isNaN(r)?X.error('Improper value "'+t+'" supplied for for '+e):(this[n]=r,this.updateStyleEl_())},t.prototype.fluid=function(e){if(void 0===e)return!!this.fluid_;this.fluid_=!!e,e?(this.addClass("vjs-fluid"),this.fill(!1)):this.removeClass("vjs-fluid"),this.updateStyleEl_()},t.prototype.fill=function(e){if(void 0===e)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},t.prototype.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},t.prototype.updateStyleEl_=function(){if(!0!==o.VIDEOJS_NO_DYNAMIC_STYLE){var e=void 0,t=void 0,n=void 0,r=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),i=r[1]/r[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/i:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*i,n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(n),Je(this.styleEl_,"\n ."+n+" {\n width: "+e+"px;\n height: "+t+"px;\n }\n\n ."+n+".vjs-fluid {\n padding-top: "+100*i+"%;\n }\n ")}else{var a="number"==typeof this.width_?this.width_:this.options_.width,s="number"==typeof this.height_?this.height_:this.options_.height,l=this.tech_&&this.tech_.el();l&&(a>=0&&(l.width=a),s>=0&&(l.height=s))}},t.prototype.loadTech_=function(e,t){var n=this;this.tech_&&this.unloadTech_();var r=pt(e),i=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==r&&this.tag&&(fn.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=r,this.isReady_=!1;var o={source:t,autoplay:"string"!=typeof this.autoplay()&&this.autoplay(),nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+i+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};dn.names.forEach(function(e){var t=dn[e];o[t.getterName]=n[t.privateName]}),z(o,this.options_[r]),z(o,this.options_[i]),z(o,this.options_[e.toLowerCase()]),this.tag&&(o.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(o.startTime=this.cache_.currentTime);var a=fn.getTech(e);if(!a)throw new Error("No Tech named '"+r+"' exists! '"+r+"' should be registered using videojs.registerTech()'");this.tech_=new a(o),this.tech_.ready(qe(this,this.handleTechReady_),!0),It(this.textTracksJson_||[],this.tech_),oi.forEach(function(e){n.on(n.tech_,e,n["handleTech"+pt(e)+"_"])}),Object.keys(ai).forEach(function(e){n.on(n.tech_,e,function(t){0===n.tech_.playbackRate()&&n.tech_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+ai[e]+"_"].bind(n),event:t}):n["handleTech"+ai[e]+"_"](t)})}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"sourceset",this.handleTechSourceset_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===r&&this.tag||ae(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},t.prototype.unloadTech_=function(){var e=this;dn.names.forEach(function(t){var n=dn[t];e[n.privateName]=e[n.getterName]()}),this.textTracksJson_=Ot(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},t.prototype.tech=function(e){return void 0===e&&X.warn(s(ii)),this.tech_},t.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},t.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},t.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused())try{delete this.tag.poster}catch(e){X("deleting tag.poster throws in some browsers",e)}},t.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(this.autoplay())},t.prototype.manualAutoplay_=function(e){var t=this;if(this.tech_&&"string"==typeof e){var n=function(){var e=t.muted();t.muted(!0);var n=t.play();if(n&&n.then&&n.catch)return n.catch(function(n){t.muted(e)})},r=void 0;if("any"===e?(r=this.play())&&r.then&&r.catch&&r.catch(function(){return n()}):r="muted"===e?n():this.play(),r&&r.then&&r.catch)return r.then(function(){t.trigger({type:"autoplay-success",autoplay:e})}).catch(function(n){t.trigger({type:"autoplay-failure",autoplay:e})})}},t.prototype.updateSourceCaches_=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e,n="";"string"!=typeof t&&(t=e.src,n=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!n&&(n=function(e,t){if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var n=e.cache_.sources.filter(function(e){return e.src===t});if(n.length)return n[0].type;for(var r=e.$$("source"),i=0;i<r.length;i++){var o=r[i];if(o.type&&o.src&&o.src===t)return o.type}return Cn(t)}(this,t)),this.cache_.source=At({},e,{src:t,type:n});for(var r=this.cache_.sources.filter(function(e){return e.src&&e.src===t}),i=[],o=this.$$("source"),a=[],s=0;s<o.length;s++){var l=de(o[s]);i.push(l),l.src&&l.src===t&&a.push(l.src)}a.length&&!r.length?this.cache_.sources=i:r.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=t},t.prototype.handleTechSourceset_=function(e){var t=this;if(!this.changingSrc_){var n=function(e){return t.updateSourceCaches_(e)},r=this.currentSource().src,i=e.src;if(r&&!/^blob:/.test(r)&&/^blob:/.test(i)&&(!this.lastSource_||this.lastSource_.tech!==i&&this.lastSource_.player!==r)&&(n=function(){}),n(i),!e.src){this.tech_.one(["sourceset","loadstart"],function e(n){if("sourceset"!==n.type){var r=t.techGet("currentSrc");t.lastSource_.tech=r,t.updateSourceCaches_(r)}t.tech_.off(["sourceset","loadstart"],e)})}}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})},t.prototype.hasStarted=function(e){if(void 0===e)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},t.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},t.prototype.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach(function(e){return e.callback(e.event)}),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},t.prototype.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return e.removeClass("vjs-waiting")})},t.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},t.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},t.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},t.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},t.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},t.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(X.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},t.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},t.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},t.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},t.prototype.handleTechClick_=function(e){Be(e)&&this.controls_&&(this.paused()?Mt(this.play()):this.pause())},t.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},t.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},t.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},t.prototype.handleTechTouchEnd_=function(e){e.preventDefault()},t.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},t.prototype.handleStageClick_=function(){this.reportUserActivity()},t.prototype.handleTechFullscreenChange_=function(e,t){t&&this.isFullscreen(t.isFullscreen),this.trigger("fullscreenchange")},t.prototype.handleTechError_=function(){var e=this.tech_.error();this.error(e)},t.prototype.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},t.prototype.getCache=function(){return this.cache_},t.prototype.techCall_=function(e,t){this.ready(function(){if(e in bn)return function(e,t,n,r){return t[n](e.reduce(wn(n),r))}(this.middleware_,this.tech_,e,t);if(e in _n)return mn(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw X(e),e}},!0)},t.prototype.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in yn)return function(e,t,n){return e.reduceRight(wn(n),t[n]())}(this.middleware_,this.tech_,e);if(e in _n)return mn(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw X("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw X("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw X(t),t}}},t.prototype.play=function(){var e=this,t=this.options_.Promise||o.Promise;return t?new t(function(t){e.play_(t)}):this.play_()},t.prototype.play_=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mt;if(this.playOnLoadstart_&&this.off("loadstart",this.playOnLoadstart_),this.isReady_){if(!this.changingSrc_&&(this.src()||this.currentSrc()))return void t(this.techGet_("play"));this.playOnLoadstart_=function(){e.playOnLoadstart_=null,t(e.play())},this.one("loadstart",this.playOnLoadstart_)}else{if(this.playWaitingForReady_)return;this.playWaitingForReady_=!0,this.ready(function(){e.playWaitingForReady_=!1,t(e.play())})}},t.prototype.pause=function(){this.techCall_("pause")},t.prototype.paused=function(){return!1!==this.techGet_("paused")},t.prototype.played=function(){return this.techGet_("played")||yt(0,0)},t.prototype.scrubbing=function(e){if(void 0===e)return this.scrubbing_;this.scrubbing_=!!e,e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},t.prototype.currentTime=function(e){return void 0!==e?(e<0&&(e=0),void this.techCall_("setCurrentTime",e)):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},t.prototype.duration=function(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=parseFloat(e))<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange"))},t.prototype.remainingTime=function(){return this.duration()-this.currentTime()},t.prototype.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},t.prototype.buffered=function(){var e=this.techGet_("buffered");return e&&e.length||(e=yt(0,0)),e},t.prototype.bufferedPercent=function(){return bt(this.buffered(),this.duration())},t.prototype.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),n=e.end(e.length-1);return n>t&&(n=t),n},t.prototype.volume=function(e){var t=void 0;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),void(t>0&&this.lastVolume_(t))):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},t.prototype.muted=function(e){if(void 0===e)return this.techGet_("muted")||!1;this.techCall_("setMuted",e)},t.prototype.defaultMuted=function(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1},t.prototype.lastVolume_=function(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e},t.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},t.prototype.isFullscreen=function(e){if(void 0===e)return!!this.isFullscreen_;this.isFullscreen_=!!e},t.prototype.requestFullscreen=function(){var e=_t;this.isFullscreen(!0),e.requestFullscreen?(Qe(a,e.fullscreenchange,qe(this,function t(n){this.isFullscreen(a[e.fullscreenElement]),!1===this.isFullscreen()&&ze(a,e.fullscreenchange,t),this.trigger("fullscreenchange")})),this.el_[e.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange"))},t.prototype.exitFullscreen=function(){var e=_t;this.isFullscreen(!1),e.requestFullscreen?a[e.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange"))},t.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=a.documentElement.style.overflow,Qe(a,"keydown",qe(this,this.fullWindowOnEscKey)),a.documentElement.style.overflow="hidden",le(a.body,"vjs-full-window"),this.trigger("enterFullWindow")},t.prototype.fullWindowOnEscKey=function(e){27===e.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},t.prototype.exitFullWindow=function(){this.isFullWindow=!1,ze(a,"keydown",this.fullWindowOnEscKey),a.documentElement.style.overflow=this.docOrigOverflow,ce(a.body,"vjs-full-window"),this.trigger("exitFullWindow")},t.prototype.canPlayType=function(e){for(var t=void 0,n=0,r=this.options_.techOrder;n<r.length;n++){var i=r[n],o=fn.getTech(i);if(o||(o=gt.getComponent(i)),o){if(o.isSupported()&&(t=o.canPlayType(e)))return t}else X.error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.')}return""},t.prototype.selectSource=function(e){var t,n=this,r=this.options_.techOrder.map(function(e){return[e,fn.getTech(e)]}).filter(function(e){var t=e[0],n=e[1];return n?n.isSupported():(X.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),i=function(e,t,n){var r=void 0;return e.some(function(e){return t.some(function(t){if(r=n(e,t))return!0})}),r},o=function(e,t){var r=e[0];if(e[1].canPlaySource(t,n.options_[r.toLowerCase()]))return{source:t,tech:r}};return(this.options_.sourceOrder?i(e,r,(t=o,function(e,n){return t(n,e)})):i(r,e,o))||!1},t.prototype.src=function(e){var t=this;if(void 0===e)return this.cache_.src||"";var n=function e(t){if(Array.isArray(t)){var n=[];t.forEach(function(t){t=e(t),Array.isArray(t)?n=n.concat(t):Y(t)&&n.push(t)}),t=n}else t="string"==typeof t&&t.trim()?[Sn({src:t})]:Y(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[Sn(t)]:[];return t}(e);n.length?(this.changingSrc_=!0,this.cache_.sources=n,this.updateSourceCaches_(n[0]),vn(this,n[0],function(e,r){var i,o;if(t.middleware_=r,t.cache_.sources=n,t.updateSourceCaches_(e),t.src_(e))return n.length>1?t.src(n.slice(1)):(t.changingSrc_=!1,t.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),void t.triggerReady());i=r,o=t.tech_,i.forEach(function(e){return e.setTech&&e.setTech(o)})})):this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0)},t.prototype.src_=function(e){var t,n,r=this,i=this.selectSource([e]);return!i||(t=i.tech,n=this.techName_,pt(t)!==pt(n)?(this.changingSrc_=!0,this.loadTech_(i.tech,i.source),this.tech_.ready(function(){r.changingSrc_=!1}),!1):(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1},!0),!1))},t.prototype.load=function(){this.techCall_("load")},t.prototype.reset=function(){this.tech_&&this.tech_.clearTracks("text"),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset")},t.prototype.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},t.prototype.currentSource=function(){return this.cache_.source||{}},t.prototype.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},t.prototype.currentType=function(){return this.currentSource()&&this.currentSource().type||""},t.prototype.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),void(this.options_.preload=e)):this.techGet_("preload")},t.prototype.autoplay=function(e){if(void 0===e)return this.options_.autoplay||!1;var t=void 0;"string"==typeof e&&/(any|play|muted)/.test(e)?(this.options_.autoplay=e,this.manualAutoplay_(e),t=!1):this.options_.autoplay=!!e,t=t||this.options_.autoplay,this.tech_&&this.techCall_("setAutoplay",t)},t.prototype.playsinline=function(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")},t.prototype.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),void(this.options_.loop=e)):this.techGet_("loop")},t.prototype.poster=function(e){if(void 0===e)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))},t.prototype.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},t.prototype.controls=function(e){if(void 0===e)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},t.prototype.usingNativeControls=function(e){if(void 0===e)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},t.prototype.error=function(e){return void 0===e?this.error_||null:null===e?(this.error_=e,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close())):(this.error_=new kt(e),this.addClass("vjs-error"),X.error("(CODE:"+this.error_.code+" "+kt.errorTypes[this.error_.code]+")",this.error_.message,this.error_),void this.trigger("error"))},t.prototype.reportUserActivity=function(e){this.userActivity_=!0},t.prototype.userActive=function(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",function(e){e.stopPropagation(),e.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},t.prototype.listenForUserActivity_=function(){var e=void 0,t=void 0,n=void 0,r=qe(this,this.reportUserActivity);this.on("mousedown",function(){r(),this.clearInterval(e),e=this.setInterval(r,250)}),this.on("mousemove",function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())}),this.on("mouseup",function(t){r(),this.clearInterval(e)}),this.on("keydown",r),this.on("keyup",r);var i=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(i);var e=this.options_.inactivityTimeout;e<=0||(i=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},e))}},250)},t.prototype.playbackRate=function(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",e)},t.prototype.defaultPlaybackRate=function(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},t.prototype.isAudio=function(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e},t.prototype.addTextTrack=function(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)},t.prototype.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},t.prototype.removeRemoteTextTrack=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).track,t=void 0===e?arguments[0]:e;if(this.tech_)return this.tech_.removeRemoteTextTrack(t)},t.prototype.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},t.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},t.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},t.prototype.language=function(e){if(void 0===e)return this.language_;this.language_=String(e).toLowerCase()},t.prototype.languages=function(){return At(t.prototype.options_.languages,this.languages_)},t.prototype.toJSON=function(){var e=At(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];(r=At(r)).player=void 0,e.tracks[n]=r}return e},t.prototype.createModal=function(e,t){var n=this;(t=t||{}).content=e||"";var r=new Pt(this,t);return this.addChild(r),r.on("dispose",function(){n.removeChild(r)}),r.open(),r},t.prototype.updateCurrentBreakpoint_=function(){if(this.responsive())for(var e=this.currentBreakpoint(),t=this.currentWidth(),n=0;n<si.length;n++){var r=si[n];if(t<=this.breakpoints_[r]){if(e===r)return;e&&this.removeClass(li[e]),this.addClass(li[r]),this.breakpoint_=r;break}}},t.prototype.removeCurrentBreakpoint_=function(){var e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)},t.prototype.breakpoints=function(e){return void 0===e?z(this.breakpoints_):(this.breakpoint_="",this.breakpoints_=z({},ci,e),this.updateCurrentBreakpoint_(),z(this.breakpoints_))},t.prototype.responsive=function(e){return void 0===e?this.responsive_:(e=Boolean(e))!==this.responsive_?(this.responsive_=e,e?(this.on("playerresize",this.updateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.updateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0},t.prototype.currentBreakpoint=function(){return this.breakpoint_},t.prototype.currentBreakpointClass=function(){return li[this.breakpoint_]||""},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=de(e),r=n["data-setup"];if(se(e,"vjs-fill")&&(n.fill=!0),se(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var i=l(r||"{}"),o=i[0],a=i[1];o&&X.error(o),z(n,a)}if(z(t,n),e.hasChildNodes())for(var s=e.childNodes,c=0,u=s.length;c<u;c++){var h=s[c],d=h.nodeName.toLowerCase();"source"===d?t.sources.push(de(h)):"track"===d&&t.tracks.push(de(h))}return t},t.prototype.flexNotSupported_=function(){var e=a.createElement("i");return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},t}(gt);dn.names.forEach(function(e){var t=dn[e];ui.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}}),ui.players={};var hi=o.navigator;ui.prototype.options_={techOrder:fn.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:hi&&(hi.languages&&hi.languages[0]||hi.userLanguage||hi.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",breakpoints:{},responsive:!1},T||ui.prototype.options_.children.push("resizeManager"),["ended","seeking","seekable","networkState","readyState"].forEach(function(e){ui.prototype[e]=function(){return this.techGet_(e)}}),oi.forEach(function(e){ui.prototype["handleTech"+pt(e)+"_"]=function(){return this.trigger(e)}}),gt.registerComponent("Player",ui);var di={},fi=function(e){return di.hasOwnProperty(e)},pi=function(e){return fi(e)?di[e]:void 0},Ai=function(e,t){e.activePlugins_=e.activePlugins_||{},e.activePlugins_[t]=!0},gi=function(e,t,n){var r=(n?"before":"")+"pluginsetup";e.trigger(r,t),e.trigger(r+":"+t.name,t)},vi=function(e,t){return t.prototype.name=e,function(){gi(this,{name:e,plugin:t,instance:null},!0);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=new(Function.prototype.bind.apply(t,[null].concat([this].concat(r))));return this[e]=function(){return o},gi(this,o.getEventHash()),o}},mi=function(){function e(t){if(F(this,e),this.constructor===e)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,ht(this),delete this.trigger,ft(this,this.constructor.defaultState),Ai(t,this.name),this.dispose=qe(this,this.dispose),t.on("dispose",this.dispose)}return e.prototype.version=function(){return this.constructor.VERSION},e.prototype.getEventHash=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.name=this.name,e.plugin=this.constructor,e.instance=this,e},e.prototype.trigger=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Ye(this.eventBusEl_,e,this.getEventHash(t))},e.prototype.handleStateChanged=function(e){},e.prototype.dispose=function(){var e=this.name,t=this.player;this.trigger("dispose"),this.off(),t.off("dispose",this.dispose),t.activePlugins_[e]=!1,this.player=this.state=null,t[e]=vi(e,di[e])},e.isBasic=function(t){var n="string"==typeof t?pi(t):t;return"function"==typeof n&&!e.prototype.isPrototypeOf(n.prototype)},e.registerPlugin=function(t,n){if("string"!=typeof t)throw new Error('Illegal plugin name, "'+t+'", must be a string, was '+(void 0===t?"undefined":P(t))+".");if(fi(t))X.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(ui.prototype.hasOwnProperty(t))throw new Error('Illegal plugin name, "'+t+'", cannot share a name with an existing player method!');if("function"!=typeof n)throw new Error('Illegal plugin for "'+t+'", must be a function, was '+(void 0===n?"undefined":P(n))+".");return di[t]=n,"plugin"!==t&&(e.isBasic(n)?ui.prototype[t]=function(e,t){var n=function(){gi(this,{name:e,plugin:t,instance:null},!0);var n=t.apply(this,arguments);return Ai(this,e),gi(this,{name:e,plugin:t,instance:n}),n};return Object.keys(t).forEach(function(e){n[e]=t[e]}),n}(t,n):ui.prototype[t]=vi(t,n)),n},e.deregisterPlugin=function(e){if("plugin"===e)throw new Error("Cannot de-register base plugin.");fi(e)&&(delete di[e],delete ui.prototype[e])},e.getPlugins=function(){var e=void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object.keys(di)).forEach(function(t){var n=pi(t);n&&((e=e||{})[t]=n)}),e},e.getPluginVersion=function(e){var t=pi(e);return t&&t.VERSION||""},e}();mi.getPlugin=pi,mi.BASE_PLUGIN_NAME="plugin",mi.registerPlugin("plugin",mi),ui.prototype.usingPlugin=function(e){return!!this.activePlugins_&&!0===this.activePlugins_[e]},ui.prototype.hasPlugin=function(e){return!!fi(e)};"undefined"==typeof HTMLVideoElement&&ee()&&(a.createElement("video"),a.createElement("audio"),a.createElement("track"),a.createElement("video-js"));var yi=function(e){return 0===e.indexOf("#")?e.slice(1):e};function bi(e,t,n){var r=bi.getPlayer(e);if(r)return t&&X.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var i="string"==typeof e?ke("#"+yi(e)):e;if(!te(i))throw new TypeError("The element or ID supplied is not valid. (videojs)");a.body.contains(i)||X.warn("The element supplied is not included in the DOM"),t=t||{},bi.hooks("beforesetup").forEach(function(e){var n=e(i,At(t));Y(n)&&!Array.isArray(n)?t=At(t,n):X.error("please return an object in beforesetup hooks")});var o=gt.getComponent("Player");return r=new o(i,t,n),bi.hooks("setup").forEach(function(e){return e(r)}),r}if(bi.hooks_={},bi.hooks=function(e,t){return bi.hooks_[e]=bi.hooks_[e]||[],t&&(bi.hooks_[e]=bi.hooks_[e].concat(t)),bi.hooks_[e]},bi.hook=function(e,t){bi.hooks(e,t)},bi.hookOnce=function(e,t){bi.hooks(e,[].concat(t).map(function(t){return function n(){return bi.removeHook(e,n),t.apply(void 0,arguments)}}))},bi.removeHook=function(e,t){var n=bi.hooks(e).indexOf(t);return!(n<=-1)&&(bi.hooks_[e]=bi.hooks_[e].slice(),bi.hooks_[e].splice(n,1),!0)},!0!==o.VIDEOJS_NO_DYNAMIC_STYLE&&ee()){var _i=ke(".vjs-styles-defaults");if(!_i){_i=Ke("vjs-styles-defaults");var wi=ke("head");wi&&wi.insertBefore(_i,wi.firstChild),Je(_i,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n ")}}$e(1,bi),bi.VERSION=h,bi.options=ui.prototype.options_,bi.getPlayers=function(){return ui.players},bi.getPlayer=function(e){var t=ui.players,n=void 0;if("string"==typeof e){var r=yi(e),i=t[r];if(i)return i;n=ke("#"+r)}else n=e;if(te(n)){var o=n,a=o.player,s=o.playerId;if(a||t[s])return a||t[s]}},bi.getAllPlayers=function(){return Object.keys(ui.players).map(function(e){return ui.players[e]}).filter(Boolean)},bi.players=ui.players,bi.getComponent=gt.getComponent,bi.registerComponent=function(e,t){fn.isTech(t)&&X.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),gt.registerComponent.call(gt,e,t)},bi.getTech=fn.getTech,bi.registerTech=fn.registerTech,bi.use=function(e,t){pn[e]=pn[e]||[],pn[e].push(t)},!T&&Object.defineProperty?(Object.defineProperty(bi,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(bi.middleware,"TERMINATOR",{value:gn,writeable:!1,enumerable:!0})):bi.middleware={TERMINATOR:gn},bi.browser=L,bi.TOUCH_ENABLED=O,bi.extend=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){e.apply(this,arguments)},r={};for(var i in"object"===(void 0===t?"undefined":P(t))?(t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):"function"==typeof t&&(n=t),function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":P(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(e.super_=t)}(n,e),r)r.hasOwnProperty(i)&&(n.prototype[i]=r[i]);return n},bi.mergeOptions=At,bi.bind=qe,bi.registerPlugin=mi.registerPlugin,bi.deregisterPlugin=mi.deregisterPlugin,bi.plugin=function(e,t){return X.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),mi.registerPlugin(e,t)},bi.getPlugins=mi.getPlugins,bi.getPlugin=mi.getPlugin,bi.getPluginVersion=mi.getPluginVersion,bi.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),bi.options.languages=At(bi.options.languages,((n={})[e]=t,n)),bi.options.languages[e]},bi.log=X,bi.createLogger=Z,bi.createTimeRange=bi.createTimeRanges=yt,bi.formatTime=jn,bi.setFormatTime=function(e){Hn=e},bi.resetFormatTime=function(){Hn=Nn},bi.parseUrl=$t,bi.isCrossOrigin=qt,bi.EventTarget=nt,bi.on=Qe,bi.one=Ve,bi.off=ze,bi.trigger=Ye,bi.xhr=c,bi.TextTrack=rn,bi.AudioTrack=on,bi.VideoTrack=an,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(e){bi[e]=function(){return X.warn("videojs."+e+"() is deprecated; use videojs.dom."+e+"() instead"),Ee[e].apply(null,arguments)}}),bi.computedStyle=$,bi.dom=Ee,bi.url=en,e.exports=bi},DuR2:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},DvOw:function(e,t){var n={"":!0,up:!0};function r(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,t=3,i=0,o=100,a=0,s=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!r(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return t},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");t=e}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!r(e))throw new Error("RegionAnchorX must be between 0 and 100.");o=e}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(e){if(!r(e))throw new Error("RegionAnchorY must be between 0 and 100.");i=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!r(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!r(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return l},set:function(e){var t=function(e){return"string"==typeof e&&!!n[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===t)throw new SyntaxError("An invalid or illegal string was specified.");l=t}}})}},"E/in":function(e,t,n){"use strict";t.__esModule=!0,t.isDef=function(e){return void 0!==e&&null!==e},t.isKorean=function(e){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e)}},E7gl:function(e,t,n){var r=n("To6e"),i=r.System,o=r.VbrMode,a=(r.Float,r.ShortBlock),s=(r.Util,r.Arrays),l=(r.new_array_n,r.new_byte),c=(r.new_double,r.new_float,r.new_float_n,r.new_int,r.new_int_n,r.assert);function u(){var e,t,n;this.setModules=function(r,i,o){e=r,t=i,n=o};var r=u.NUMTOCENTRIES,h=u.MAXFRAMESIZE,d=r+4+4+4+4+4+9+1+1+8+1+1+3+1+1+2+4+2+2,f=128,p=64,A=32,g=null,v="Xing",m="Info",y=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];function b(e,t){var n=255&e[t+0];return n<<=8,n|=255&e[t+1],n<<=8,n|=255&e[t+2],n<<=8,n|=255&e[t+3]}function _(e,t,n){e[t+0]=255&n>>24,e[t+1]=255&n>>16,e[t+2]=255&n>>8,e[t+3]=255&n}function w(e,t,n){e[t+0]=255&n>>8,e[t+1]=255&n}function x(e,t,n){return 255&(e<<t|n&~(-1<<t))}function C(t,n){var r=t.internal_flags;n[0]=x(n[0],8,255),n[1]=x(n[1],3,7),n[1]=x(n[1],1,t.out_samplerate<16e3?0:1),n[1]=x(n[1],1,t.version),n[1]=x(n[1],2,1),n[1]=x(n[1],1,t.error_protection?0:1),n[2]=x(n[2],4,r.bitrate_index),n[2]=x(n[2],2,r.samplerate_index),n[2]=x(n[2],1,0),n[2]=x(n[2],1,t.extension),n[3]=x(n[3],2,t.mode.ordinal()),n[3]=x(n[3],2,r.mode_ext),n[3]=x(n[3],1,t.copyright),n[3]=x(n[3],1,t.original),n[3]=x(n[3],2,t.emphasis),n[0]=255;var i,a,s=241&n[1];i=1==t.version?f:t.out_samplerate<16e3?A:p,t.VBR==o.vbr_off&&(i=t.brate),a=t.free_format?0:255&16*e.BitrateIndex(i,t.version,t.out_samplerate),1==t.version?(n[1]=255&(10|s),s=13&n[2],n[2]=255&(a|s)):(n[1]=255&(2|s),s=13&n[2],n[2]=255&(a|s))}function S(e,t){return t=t>>8^y[255&(t^e)]}this.addVbrFrame=function(e){var t=e.internal_flags,n=Tables.bitrate_table[e.version][t.bitrate_index];c(null!=t.VBR_seek_table.bag),function(e,t){if(e.nVbrNumFrames++,e.sum+=t,e.seen++,!(e.seen<e.want)&&(e.pos<e.size&&(e.bag[e.pos]=e.sum,e.pos++,e.seen=0),e.pos==e.size)){for(var n=1;n<e.size;n+=2)e.bag[n/2]=e.bag[n];e.want*=2,e.pos/=2}}(t.VBR_seek_table,n)},this.getVbrTag=function(e){var t=new VBRTagData,n=0;t.flags=0;var i=e[n+1]>>3&1,o=e[n+2]>>2&3,a=e[n+3]>>6&3,s=e[n+2]>>4&15;if(s=Tables.bitrate_table[i][s],e[n+1]>>4==14?t.samprate=Tables.samplerate_table[2][o]:t.samprate=Tables.samplerate_table[i][o],!function(e,t){return new String(e,t,v.length(),g).equals(v)||new String(e,t,m.length(),g).equals(m)}(e,n+=0!=i?3!=a?36:21:3!=a?21:13))return null;n+=4,t.hId=i;var l=t.flags=b(e,n);if(n+=4,0!=(1&l)&&(t.frames=b(e,n),n+=4),0!=(2&l)&&(t.bytes=b(e,n),n+=4),0!=(4&l)){if(null!=t.toc)for(var c=0;c<r;c++)t.toc[c]=e[n+c];n+=r}t.vbrScale=-1,0!=(8&l)&&(t.vbrScale=b(e,n),n+=4),t.headersize=72e3*(i+1)*s/t.samprate;var u=e[(n+=21)+0]<<4;u+=e[n+1]>>4;var h=(15&e[n+1])<<8;return h+=255&e[n+2],(u<0||u>3e3)&&(u=-1),(h<0||h>3e3)&&(h=-1),t.encDelay=u,t.encPadding=h,t},this.InitVbrTag=function(e){var n,r=e.internal_flags;n=1==e.version?f:e.out_samplerate<16e3?A:p,e.VBR==o.vbr_off&&(n=e.brate);var i=72e3*(e.version+1)*n/e.out_samplerate,a=r.sideinfo_len+d;if(r.VBR_seek_table.TotalFrameSize=i,i<a||i>h)e.bWriteVbrTag=!1;else{r.VBR_seek_table.nVbrNumFrames=0,r.VBR_seek_table.nBytesWritten=0,r.VBR_seek_table.sum=0,r.VBR_seek_table.seen=0,r.VBR_seek_table.want=1,r.VBR_seek_table.pos=0,null==r.VBR_seek_table.bag&&(r.VBR_seek_table.bag=new int[400],r.VBR_seek_table.size=400);var s=l(h);C(e,s);for(var c=r.VBR_seek_table.TotalFrameSize,u=0;u<c;++u)t.add_dummy_byte(e,255&s[u],1)}},this.updateMusicCRC=function(e,t,n,r){for(var i=0;i<r;++i)e[0]=S(t[n+i],e[0])},this.getLameTagFrame=function(e,c){var u=e.internal_flags;if(!e.bWriteVbrTag)return 0;if(u.Class_ID!=Lame.LAME_ID)return 0;if(u.VBR_seek_table.pos<=0)return 0;if(c.length<u.VBR_seek_table.TotalFrameSize)return u.VBR_seek_table.TotalFrameSize;s.fill(c,0,u.VBR_seek_table.TotalFrameSize,0),C(e,c);var h=l(r);if(e.free_format)for(var d=1;d<r;++d)h[d]=255&255*d/100;else!function(e,t){if(!(e.pos<=0))for(var n=1;n<r;++n){var i=n/r,o=0|Math.floor(i*e.pos);o>e.pos-1&&(o=e.pos-1);var a=0|256*e.bag[o]/e.sum;a>255&&(a=255),t[n]=255&a}}(u.VBR_seek_table,h);var f=u.sideinfo_len;e.error_protection&&(f-=2),e.VBR==o.vbr_off?(c[f++]=255&m.charAt(0),c[f++]=255&m.charAt(1),c[f++]=255&m.charAt(2),c[f++]=255&m.charAt(3)):(c[f++]=255&v.charAt(0),c[f++]=255&v.charAt(1),c[f++]=255&v.charAt(2),c[f++]=255&v.charAt(3)),_(c,f,15),_(c,f+=4,u.VBR_seek_table.nVbrNumFrames),f+=4;var p=u.VBR_seek_table.nBytesWritten+u.VBR_seek_table.TotalFrameSize;_(c,f,0|p),f+=4,i.arraycopy(h,0,c,f,h.length),f+=h.length,e.error_protection&&t.CRC_writeheader(u,c);var A=0;for(d=0;d<f;d++)A=S(c[d],A);return f+=function(e,t,r,i,o){var s,l,c,u,h,d=e.internal_flags,f=0,p=e.encoder_delay,A=e.encoder_padding,g=100-10*e.VBR_q-e.quality,v=n.getLameVeryShortVersion(),m=[1,5,3,2,4,0,3],y=0|(e.lowpassfreq/100+.5>255?255:e.lowpassfreq/100+.5),b=0,x=0,C=e.internal_flags.noise_shaping,B=0,k=0,T=0,E=0!=(1&e.exp_nspsytune),M=0!=(2&e.exp_nspsytune),D=!1,O=!1,I=e.internal_flags.nogap_total,L=e.internal_flags.nogap_current,P=e.ATHtype;switch(e.VBR){case vbr_abr:h=e.VBR_mean_bitrate_kbps;break;case vbr_off:h=e.brate;break;default:h=e.VBR_min_bitrate_kbps}switch(s=0+(e.VBR.ordinal()<m.length?m[e.VBR.ordinal()]:0),d.findReplayGain&&(d.RadioGain>510&&(d.RadioGain=510),d.RadioGain<-510&&(d.RadioGain=-510),x=8192,x|=3072,d.RadioGain>=0?x|=d.RadioGain:(x|=512,x|=-d.RadioGain)),d.findPeakSample&&(b=Math.abs(0|d.PeakSample/32767*Math.pow(2,23)+.5)),-1!=I&&(L>0&&(O=!0),L<I-1&&(D=!0)),u=P+((E?1:0)<<4)+((M?1:0)<<5)+((D?1:0)<<6)+((O?1:0)<<7),g<0&&(g=0),e.mode){case MONO:B=0;break;case STEREO:B=1;break;case DUAL_CHANNEL:B=2;break;case JOINT_STEREO:B=e.force_ms?4:3;break;case NOT_SET:default:B=7}T=e.in_samplerate<=32e3?0:48e3==e.in_samplerate?2:e.in_samplerate>48e3?3:1,(e.short_blocks==a.short_block_forced||e.short_blocks==a.short_block_dispensed||-1==e.lowpassfreq&&-1==e.highpassfreq||e.scale_left<e.scale_right||e.scale_left>e.scale_right||e.disable_reservoir&&e.brate<320||e.noATH||e.ATHonly||0==P||e.in_samplerate<=32e3)&&(k=1),l=C+(B<<2)+(k<<5)+(T<<6),c=d.nMusicCRC,_(r,i+f,g),f+=4;for(var F=0;F<9;F++)r[i+f+F]=255&v.charAt(F);r[i+(f+=9)]=255&s,r[i+ ++f]=255&y,_(r,i+ ++f,b),w(r,i+(f+=4),x),w(r,i+(f+=2),0),r[i+(f+=2)]=255&u,r[i+ ++f]=h>=255?255:255&h,r[i+ ++f]=255&p>>4,r[i+f+1]=255&(p<<4)+(A>>8),r[i+f+2]=255&A,r[i+(f+=3)]=255&l,f++,r[i+f++]=0,w(r,i+f,e.preset),_(r,i+(f+=2),t),w(r,i+(f+=4),c),f+=2;for(var R=0;R<f;R++)o=S(r[i+R],o);return w(r,i+f,o),f+=2}(e,p,c,f,A),u.VBR_seek_table.TotalFrameSize},this.putVbrTag=function(e,t){if(e.internal_flags.VBR_seek_table.pos<=0)return-1;if(t.seek(t.length()),0==t.length())return-1;var n=function(e){e.seek(0);var t=l(10);return e.readFully(t),new String(t,"ISO-8859-1").startsWith("ID3")?0:((127&t[6])<<21|(127&t[7])<<14|(127&t[8])<<7|127&t[9])+t.length}(t);t.seek(n);var r=l(h),i=getLameTagFrame(e,r);return i>r.length?-1:i<1?0:(t.write(r,0,i),0)}}u.NUMTOCENTRIES=100,u.MAXFRAMESIZE=2880,e.exports=u},EAZf:function(e,t,n){var r;r=function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(t,n){t.exports=e},function(e,t,n){"use strict";t.a=function e(){var t={};var n=!1;var r=0;var i=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(n=arguments[0],r++);function o(r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n&&"[object Object]"===Object.prototype.toString.call(r[i])?t[i]=e(!0,t[i],r[i]):t[i]=r[i])}for(;r<i;r++){var a=arguments[r];o(a)}return t}},function(e,n){e.exports=t},function(e,t,n){"use strict";var r=n(0),i=n.n(r),o=n(1),a=n(2),s=n.n(a);t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.images,r=void 0===t?[]:t,a=e.options,l=void 0===a?{}:a;l=n.i(o.a)(l,{inline:!1});var c=new(s.a.extend({render:function(e){return e("div",{style:{display:"none"},class:["__viewer-token"]},r.map(function(t){return e("img",{attrs:"string"==typeof t?{src:t}:t})}))}}));c.$mount(),document.body.appendChild(c.$el);var u=new i.a(c.$el,l),h=u.destroy.bind(u);return u.destroy=function(){return h(),c.$destroy(),document.body.removeChild(c.$el),u},u.show(),c.$el.addEventListener("hidden",function(){this.viewer===u&&u.destroy()}),u}},function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),o=n(7),a=(n.n(o),n(2)),s=n.n(a);t.a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.name,a=void 0===r?"viewer":r,l=t.debug,c=void 0!==l&&l;function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];s.a.nextTick(function(){r&&!function(e){var t=e.innerHTML.match(/<img([\w\W]+?)[\\/]?>/g),n=t?t.join(""):void 0;return e.__viewerImageDiffCache===n?(f("Element change detected, but image(s) has not changed"),!1):(f("Image change detected"),e.__viewerImageDiffCache=n,!0)}(e)||(n||!e["$"+a]?(h(e),e["$"+a]=new i.a(e,t),f("Viewer created")):(e["$"+a].update(),f("Viewer updated")))})}function h(e){e["$"+a]&&(e["$"+a].destroy(),delete e["$"+a],f("Viewer destroyed"))}function d(e){e.__viewerMutationObserver&&(e.__viewerMutationObserver.disconnect(),delete e.__viewerMutationObserver,f("Observer destroyed"))}function f(){var e;c&&(e=console).log.apply(e,arguments)}var p={bind:function(t,r,i){f("Viewer bind");var a=n.i(o.debounce)(50,u);a(t,r.value),function(e,t,n,r){var i=t.expression;i&&/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/.test(i)?(e.__viewerUnwatch=n.context.$watch(i,function(t,n){f("Change detected by watcher: ",i),r(e,t,!0)},{deep:!0}),f("Watcher created, expression: ",i)):f("Only simple dot-delimited paths can create watcher")}(t,r,i,a),r.modifiers.static||function(t,n,r,i){d(t);var o=e.MutationObserver||e.WebKitMutationObserver||e.MozMutationObserver;if(o){var a=new o(function(e){e.forEach(function(e){f("Viewer mutation:"+e.type),r(t,n,i,!0)})});a.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),t.__viewerMutationObserver=a,f("Observer created")}else f("Observer not supported")}(t,r.value,a,r.modifiers.rebuild)},unbind:function(e,t){f("Viewer unbind"),d(e),function(e){e.__viewerUnwatch&&(e.__viewerUnwatch(),delete e.__viewerUnwatch,f("Watcher destroyed"))}(e),h(e)}};return p}}).call(t,n(9))},function(e,t,n){var r=n(10)(n(8),n(11),null,null);r.options.__file="/Volumes/public/Workspace/web/v-viewer/src/component.vue",r.esModule&&Object.keys(r.esModule).some(function(e){return"default"!==e&&"__esModule"!==e})&&console.error("named exports are not supported in *.vue files."),r.options.functional&&console.error("[vue-loader] component.vue: functional components are not supported with templates, they should use render functions."),e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(0),o=n.n(i),a=n(5),s=n.n(a),l=n(4),c=n(3);n.d(t,"component",function(){return s.a}),n.d(t,"directive",function(){return l.a}),n.d(t,"api",function(){return c.a}),n.d(t,"Viewer",function(){return o.a}),t.default={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.name,a=void 0===i?"viewer":i,u=t.debug,h=void 0!==u&&u,d=t.defaultOptions;o.a.setDefaults(d),e.component(a,n.i(r.a)(s.a,{name:a})),e.directive(a,n.i(l.a)({name:a,debug:h})),e.prototype["$"+a+"Api"]=c.a},setDefaults:function(e){o.a.setDefaults(e)}}},function(e,t,n){var r,i,o,a,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};a=function(e){"use strict";function t(e,t,n,r){var i,o=!1,a=0;function s(){i&&clearTimeout(i)}function l(){for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];var h=this,d=Date.now()-a;function f(){a=Date.now(),n.apply(h,c)}o||(r&&!i&&f(),s(),void 0===r&&d>e?f():!0!==t&&(i=setTimeout(r?function(){i=void 0}:f,void 0===r?e-d:e)))}return"boolean"!=typeof t&&(r=n,n=t,t=void 0),l.cancel=function(){s(),o=!0},l}e.debounce=function(e,n,r){return void 0===r?t(e,n,!1):t(e,r,!1!==n)},e.throttle=t,Object.defineProperty(e,"__esModule",{value:!0})},"object"===s(t)&&void 0!==e?a(t):(i=[t],void 0===(o="function"==typeof(r=a)?r.apply(t,i):r)||(e.exports=o))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n.n(r);t.default={props:{images:{type:Array},rebuild:{type:Boolean,default:!1},trigger:{},options:{type:Object}},data:function(){return{}},computed:{},methods:{onChange:function(){this.rebuild?this.rebuildViewer():this.updateViewer()},rebuildViewer:function(){this.destroyViewer(),this.createViewer()},updateViewer:function(){this.$viewer?(this.$viewer.update(),this.$emit("inited",this.$viewer)):this.createViewer()},destroyViewer:function(){this.$viewer&&this.$viewer.destroy()},createViewer:function(){this.$viewer=new i.a(this.$el,this.options),this.$emit("inited",this.$viewer)}},watch:{images:function(){var e=this;this.$nextTick(function(){e.onChange()})},trigger:{handler:function(){var e=this;this.$nextTick(function(){e.onChange()})},deep:!0},options:{handler:function(){var e=this;this.$nextTick(function(){e.rebuildViewer()})},deep:!0}},mounted:function(){this.createViewer()},destroyed:function(){this.destroyViewer()}}},function(e,t){var n,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}e.exports=n},function(e,t){e.exports=function(e,t,n,r){var i,o=e=e||{},a=typeof e.default;"object"!==a&&"function"!==a||(i=e,o=e.default);var s="function"==typeof o?o.options:o;if(t&&(s.render=t.render,s.staticRenderFns=t.staticRenderFns),n&&(s._scopeId=n),r){var l=Object.create(s.computed||null);Object.keys(r).forEach(function(e){var t=r[e];l[e]=function(){return t}}),s.computed=l}return{esModule:i,exports:o,options:s}}},function(e,t,n){e.exports={render:function(){var e=this.$createElement;return(this._self._c||e)("div",[this._t("default",null,{images:this.images,options:this.options})],2)},staticRenderFns:[]},e.exports.render._withStripped=!0}])},e.exports=r(n("IinW"),n("7+uW"))},EGZi:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},EKTV:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=83)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},4:function(e,t){e.exports=n("fPll")},83:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox",class:[e.border&&e.checkboxSize?"el-checkbox--"+e.checkboxSize:"",{"is-disabled":e.isDisabled},{"is-bordered":e.border},{"is-checked":e.isChecked}],attrs:{id:e.id}},[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":e.isDisabled,"is-checked":e.isChecked,"is-indeterminate":e.indeterminate,"is-focus":e.focus},attrs:{tabindex:!!e.indeterminate&&0,role:!!e.indeterminate&&"checkbox","aria-checked":!!e.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,r=t.target,i=r.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=e._i(n,null);r.checked?o<0&&(e.model=n.concat([null])):o>-1&&(e.model=n.slice(0,o).concat(n.slice(o+1)))}else e.model=i},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,r=t.target,i=!!r.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);r.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=i},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])};r._withStripped=!0;var i=n(4),o={name:"ElCheckbox",mixins:[n.n(i).a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&e.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){for(var e=this.$parent;e;){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick(function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])})}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},a=n(0),s=Object(a.a)(o,r,[],!1,null,null,null);s.options.__file="packages/checkbox/src/checkbox.vue";var l=s.exports;l.install=function(e){e.component(l.name,l)};t.default=l}})},EKta:function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=c(e),a=r[0],s=r[1],l=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,h=s>0?a-4:a;for(n=0;n<h;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[u++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(u(e,a,a+16383>s?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},ELaV:function(e,t){e.exports=function(e){this.bits=e}},EqBC:function(e,t,n){"use strict";var r=n("kM2E"),i=n("FeBl"),o=n("7KvD"),a=n("t8x9"),s=n("fJUb");r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},EqjI:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},EuP9:function(e,t,n){"use strict";(function(e){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var r=n("EKta"),i=n("ujcs"),o=n("sOR5");function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=d(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(t,n),i=(e=s(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|f(t.length);return 0===(e=s(e,n)).length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):d(e,t);if("Buffer"===t.type&&o(t.data))return d(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t){if(u(t),e=s(e,t<0?0:0|f(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|f(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function f(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return j(e).length;t=(""+t).toLowerCase(),r=!0}}function A(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,i);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,d=0;d<l;d++)if(c(e,o+d)!==c(t,d)){h=!1;break}if(h)return o}return-1}function m(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function y(e,t,n,r){return Q(j(t,e.length-n),e,n,r)}function b(e,t,n,r){return Q(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function _(e,t,n,r){return b(e,t,n,r)}function w(e,t,n,r){return Q(U(t),e,n,r)}function x(e,t,n,r){return Q(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,c=e[i],u=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return function(e){var t=e.length;if(t<=B)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=B));return n}(r)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return c(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return function(e,t,n,r){return u(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},l.allocUnsafe=function(e){return h(null,e)},l.allocUnsafeSlow=function(e){return h(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},l.byteLength=p,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)A(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)A(this,t,t+3),A(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)A(this,t,t+7),A(this,t+1,t+6),A(this,t+2,t+5),A(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?S(this,0,e):function(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return k(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,r,i){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,a=n-t,s=Math.min(o,a),c=this.slice(r,i),u=e.slice(t,n),h=0;h<s;++h)if(c[h]!==u[h]){o=c[h],a=u[h];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return m(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return b(this,e,t,n);case"latin1":case"binary":return _(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var B=4096;function k(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function E(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=H(e[o]);return i}function M(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function D(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function O(e,t,n,r,i,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function L(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function P(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,o){return o||P(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,o){return o||P(e,0,n,8),i.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var i=t-e;n=new l(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUInt8=function(e,t){return t||D(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||D(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||D(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return t||D(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||D(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||D(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||D(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||D(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||D(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||D(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||O(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||O(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);O(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);O(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||O(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=l.isBuffer(e)?e:j(new l(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var N=/[^+\/0-9A-Za-z-_]/g;function H(e){return e<16?"0"+e.toString(16):e.toString(16)}function j(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=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((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Q(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(t,n("DuR2"))},FeBl:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},FtD3:function(e,t,n){"use strict";var r=n("t8qj");e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},"G5/o":function(e,t,n){n("uqUo")("getOwnPropertyNames",function(){return n("Rrel").f})},GHBc:function(e,t,n){"use strict";var r=n("cGG2");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},GegP:function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=119)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},119:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?n("div",{staticClass:"el-progress-bar"},[n("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px"}},[n("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?n("div",{staticClass:"el-progress-bar__innerText"},[e._v(e._s(e.content))]):e._e()])])]):n("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[n("svg",{attrs:{viewBox:"0 0 100 100"}},[n("path",{staticClass:"el-progress-circle__track",style:e.trailPathStyle,attrs:{d:e.trackPath,stroke:"#e5e9f2","stroke-width":e.relativeStrokeWidth,fill:"none"}}),n("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0}})])]),e.showText&&!e.textInside?n("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px"}},[e.status?n("i",{class:e.iconClass}):[e._v(e._s(e.content))]],2):e._e()])};r._withStripped=!0;var i={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle","dashboard"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){return-1*this.perimeter*(1-this.rate)/2+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"==typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"==typeof this.color?this.color(e):"string"==typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort(function(e,t){return e.percentage-t.percentage}),n=0;n<t.length;n++)if(t[n].percentage>e)return t[n].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map(function(e,n){return"string"==typeof e?{color:e,percentage:(n+1)*t}:e})}}},o=n(0),a=Object(o.a)(i,r,[],!1,null,null,null);a.options.__file="packages/progress/src/progress.vue";var s=a.exports;s.install=function(e){e.component(s.name,s)};t.default=s}})},Gu7T:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n("c/Tr"),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},GybJ:function(e,t,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f=Boolean.prototype.valueOf,p=Object.prototype.toString,A=Function.prototype.toString,g=String.prototype.match,v="function"==typeof BigInt?BigInt.prototype.valueOf:null,m=Object.getOwnPropertySymbols,y="function"==typeof Symbol?Symbol.prototype.toString:null,b=Object.prototype.propertyIsEnumerable,_=n(8).custom,w=_&&B(_)?_:null;function x(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function C(e){return String(e).replace(/"/g,""")}function S(e){return"[object Array]"===E(e)}function B(e){return"[object Symbol]"===E(e)}e.exports=function e(t,n,r,i){var s=n||{};if(T(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(T(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!T(s,"customInspect")||s.customInspect;if("boolean"!=typeof l)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(T(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,i="... "+r+" more character"+(r>1?"s":"");return e(t.slice(0,n.maxStringLength),n)+i}var o=t.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,D);return x(o,"single",n)}(t,s);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var p=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=p&&p>0&&"object"==typeof t)return S(t)?"[Array]":"[Object]";var m=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}(s,r);if(void 0===i)i=[];else if(M(i,t)>=0)return"[Circular]";function b(t,n,o){if(n&&(i=i.slice()).push(n),o){var a={depth:s.depth};return T(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,i)}return e(t,s,r+1,i)}if("function"==typeof t){var _=function(e){if(e.name)return e.name;var t=g.call(A.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),k=F(t,b);return"[Function"+(_?": "+_:" (anonymous)")+"]"+(k.length>0?" { "+k.join(", ")+" }":"")}if(B(t)){var R=y.call(t);return"object"==typeof t?O(R):R}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var N="<"+String(t.nodeName).toLowerCase(),H=t.attributes||[],j=0;j<H.length;j++)N+=" "+H[j].name+"="+x(C(H[j].value),"double",s);return N+=">",t.childNodes&&t.childNodes.length&&(N+="..."),N+="</"+String(t.nodeName).toLowerCase()+">"}if(S(t)){if(0===t.length)return"[]";var U=F(t,b);return m&&!function(e){for(var t=0;t<e.length;t++)if(M(e[t],"\n")>=0)return!1;return!0}(U)?"["+P(U,m)+"]":"[ "+U.join(", ")+" ]"}if(function(e){return"[object Error]"===E(e)}(t)){var Q=F(t,b);return 0===Q.length?"["+String(t)+"]":"{ ["+String(t)+"] "+Q.join(", ")+" }"}if("object"==typeof t&&l){if(w&&"function"==typeof t[w])return t[w]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var z=[];return a.call(t,function(e,n){z.push(b(n,t,!0)+" => "+b(e,t))}),L("Map",o.call(t),z,m)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var Y=[];return u.call(t,function(e){Y.push(b(e,t))}),L("Set",c.call(t),Y,m)}if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return I("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return I("WeakSet");if(function(e){return"[object Number]"===E(e)}(t))return O(b(Number(t)));if(function(e){return"[object BigInt]"===E(e)}(t))return O(b(v.call(t)));if(function(e){return"[object Boolean]"===E(e)}(t))return O(f.call(t));if(function(e){return"[object String]"===E(e)}(t))return O(b(String(t)));if(!function(e){return"[object Date]"===E(e)}(t)&&!function(e){return"[object RegExp]"===E(e)}(t)){var V=F(t,b);return 0===V.length?"{}":m?"{"+P(V,m)+"}":"{ "+V.join(", ")+" }"}return String(t)};var k=Object.prototype.hasOwnProperty||function(e){return e in this};function T(e,t){return k.call(e,t)}function E(e){return p.call(e)}function M(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function D(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function O(e){return"Object("+e+")"}function I(e){return e+" { ? }"}function L(e,t,n,r){return e+" ("+t+") {"+(r?P(n,r):n.join(", "))+"}"}function P(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+e.join(","+n)+"\n"+t.prev}function F(e,t){var n=S(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=T(e,i)?t(e[i],e):""}for(var o in e)T(e,o)&&(n&&String(Number(o))===o&&o<e.length||(/[^\w$]/.test(o)?r.push(t(o,e)+": "+t(e[o],e)):r.push(o+": "+t(e[o],e))));if("function"==typeof m)for(var a=m(e),s=0;s<a.length;s++)b.call(e,a[s])&&r.push("["+t(a[s])+"]: "+t(e[a[s]],e));return r}},H8dH:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var i=!1,o=function(){i||(i=!0,t&&t.apply(null,arguments))};r?e.$once("after-leave",o):e.$on("after-leave",o),setTimeout(function(){o()},n+100)}},HJMx:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=76)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},11:function(e,t){e.exports=n("aW5l")},21:function(e,t){e.exports=n("E/in")},4:function(e,t){e.exports=n("fPll")},76:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?n("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?n("i",{staticClass:"el-input__icon",class:e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?n("i",{staticClass:"el-input__icon",class:e.suffixIcon}):e._e()],e.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?n("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:n("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?n("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)};r._withStripped=!0;var i=n(4),o=n.n(i),a=n(11),s=n.n(a),l=void 0,c="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",u=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;l||(l=document.createElement("textarea"),document.body.appendChild(l));var r=function(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),i=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:u.map(function(e){return e+":"+t.getPropertyValue(e)}).join(";"),paddingSize:r,borderSize:i,boxSizing:n}}(e),i=r.paddingSize,o=r.borderSize,a=r.boxSizing,s=r.contextStyle;l.setAttribute("style",s+";"+c),l.value=e.value||e.placeholder||"";var h=l.scrollHeight,d={};"border-box"===a?h+=o:"content-box"===a&&(h-=i),l.value="";var f=l.scrollHeight-i;if(null!==t){var p=f*t;"border-box"===a&&(p=p+i+o),h=Math.max(p,h),d.minHeight=p+"px"}if(null!==n){var A=f*n;"border-box"===a&&(A=A+i+o),h=Math.min(A,h)}return d.height=h+"px",l.parentNode&&l.parentNode.removeChild(l),l=null,d}var d=n(9),f=n.n(d),p=n(21),A={name:"ElInput",componentName:"ElInput",mixins:[o.a,s.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return f()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"==typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick(function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()})}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize;if("textarea"===this.type)if(e){var t=e.minRows,n=e.maxRows;this.textareaCalcStyle=h(this.$refs.textarea,t,n)}else this.textareaCalcStyle={minHeight:h(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(){this.isComposing=!0},handleCompositionUpdate:function(e){var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(p.isKorean)(n)},handleCompositionEnd:function(e){this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,r=0;r<t.length;r++)if(t[r].parentNode===this.$el){n=t[r];break}if(n){var i={suffix:"append",prefix:"prepend"}[e];this.$slots[i]?n.style.transform="translateX("+("suffix"===e?"-":"")+this.$el.querySelector(".el-input-group__"+i).offsetWidth+"px)":n.removeAttribute("style")}}},updateIconOffset:function(){this.calcIconOffset("prefix"),this.calcIconOffset("suffix")},clear:function(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")},handlePasswordVisible:function(){this.passwordVisible=!this.passwordVisible,this.focus()},getInput:function(){return this.$refs.input||this.$refs.textarea},getSuffixVisible:function(){return this.$slots.suffix||this.suffixIcon||this.showClear||this.showPassword||this.isWordLimitVisible||this.validateState&&this.needStatusIcon}},created:function(){this.$on("inputSelect",this.select)},mounted:function(){this.setNativeInputValue(),this.resizeTextarea(),this.updateIconOffset()},updated:function(){this.$nextTick(this.updateIconOffset)}},g=n(0),v=Object(g.a)(A,r,[],!1,null,null,null);v.options.__file="packages/input/src/input.vue";var m=v.exports;m.install=function(e){e.component(m.name,m)};t.default=m},9:function(e,t){e.exports=n("jmaC")}})},HQRW:function(e,t,n){var r=n("To6e"),i=r.System,o=r.VbrMode,a=(r.Float,r.ShortBlock,r.Util),s=r.Arrays,l=(r.new_array_n,r.new_byte,r.new_double,r.new_float),c=(r.new_float_n,r.new_int,r.new_int_n,r.assert),u=n("AWUW"),h=n("X5vS"),d=n("wdSa"),f=n("/00o"),p=n("0mjX"),A=n("jhNZ");e.exports=function(){var e,t,n;this.rv=null,this.qupvt=null;var r,g=new u;function v(e){this.ordinal=e}function m(e){for(var t=0;t<e.sfbmax;t++)if(e.scalefac[t]+e.subblock_gain[e.window[t]]==0)return!1;return!0}function y(e,t,n,r,i){var o;switch(e){default:case 9:t.over_count>0?(o=n.over_SSD<=t.over_SSD,n.over_SSD==t.over_SSD&&(o=n.bits<t.bits)):o=n.max_noise<0&&10*n.max_noise+n.bits<=10*t.max_noise+t.bits;break;case 0:o=n.over_count<t.over_count||n.over_count==t.over_count&&n.over_noise<t.over_noise||n.over_count==t.over_count&&BitStream.EQ(n.over_noise,t.over_noise)&&n.tot_noise<t.tot_noise;break;case 8:n.max_noise=function(e,t){for(var n,r=1e-37,i=0;i<t.psymax;i++)r+=(n=e[i],a.FAST_LOG10(.368+.632*n*n*n));return Math.max(1e-20,r)}(i,r);case 1:o=n.max_noise<t.max_noise;break;case 2:o=n.tot_noise<t.tot_noise;break;case 3:o=n.tot_noise<t.tot_noise&&n.max_noise<t.max_noise;break;case 4:o=n.max_noise<=0&&t.max_noise>.2||n.max_noise<=0&&t.max_noise<0&&t.max_noise>n.max_noise-.2&&n.tot_noise<t.tot_noise||n.max_noise<=0&&t.max_noise>0&&t.max_noise>n.max_noise-.2&&n.tot_noise<t.tot_noise+t.over_noise||n.max_noise>0&&t.max_noise>-.05&&t.max_noise>n.max_noise-.1&&n.tot_noise+n.over_noise<t.tot_noise+t.over_noise||n.max_noise>0&&t.max_noise>-.1&&t.max_noise>n.max_noise-.15&&n.tot_noise+n.over_noise+n.over_noise<t.tot_noise+t.over_noise+t.over_noise;break;case 5:o=n.over_noise<t.over_noise||BitStream.EQ(n.over_noise,t.over_noise)&&n.tot_noise<t.tot_noise;break;case 6:o=n.over_noise<t.over_noise||BitStream.EQ(n.over_noise,t.over_noise)&&(n.max_noise<t.max_noise||BitStream.EQ(n.max_noise,t.max_noise)&&n.tot_noise<=t.tot_noise);break;case 7:o=n.over_count<t.over_count||n.over_noise<t.over_noise}return 0==t.over_count&&(o=o&&n.bits<t.bits),o}function b(e,t,i,o,a){var l=e.internal_flags;!function(e,t,n,r,i){var o,a=e.internal_flags;o=0==t.scalefac_scale?1.2968395546510096:1.6817928305074292;for(var s=0,l=0;l<t.sfbmax;l++)s<n[l]&&(s=n[l]);var c=a.noise_shaping_amp;switch(3==c&&(c=i?2:1),c){case 2:break;case 1:s>1?s=Math.pow(s,.5):s*=.95;break;case 0:default:s>1?s=1:s*=.95}var u=0;for(l=0;l<t.sfbmax;l++){var h,d=t.width[l];if(u+=d,!(n[l]<s)){if(0!=(2&a.substep_shaping)&&(a.pseudohalf[l]=0==a.pseudohalf[l]?1:0,0==a.pseudohalf[l]&&2==a.noise_shaping_amp))return;for(t.scalefac[l]++,h=-d;h<0;h++)r[u+h]*=o,r[u+h]>t.xrpow_max&&(t.xrpow_max=r[u+h]);if(2==a.noise_shaping_amp)return}}}(e,t,i,o,a);var u=m(t);return!(u||(u=2==l.mode_gr?r.scale_bitcount(t):r.scale_bitcount_lsf(l,t))&&(l.noise_shaping>1&&(s.fill(l.pseudohalf,0),0==t.scalefac_scale?(function(e,t){for(var r=0,i=0;i<e.sfbmax;i++){var o=e.width[i],a=e.scalefac[i];if(0!=e.preflag&&(a+=n.pretab[i]),r+=o,0!=(1&a)){a++;for(var s=-o;s<0;s++)t[r+s]*=1.2968395546510096,t[r+s]>e.xrpow_max&&(e.xrpow_max=t[r+s])}e.scalefac[i]=a>>1}e.preflag=0,e.scalefac_scale=1}(t,o),u=!1):t.block_type==f.SHORT_TYPE&&l.subblock_gain>0&&(u=function(e,t,r){var i,o=t.scalefac;for(i=0;i<t.sfb_lmax;i++)if(o[i]>=16)return!0;for(var a=0;a<3;a++){var s=0,l=0;for(i=t.sfb_lmax+a;i<t.sfbdivide;i+=3)s<o[i]&&(s=o[i]);for(;i<t.sfbmax;i+=3)l<o[i]&&(l=o[i]);if(!(s<16&&l<8)){if(t.subblock_gain[a]>=7)return!0;t.subblock_gain[a]++;var u=e.scalefac_band.l[t.sfb_lmax];for(i=t.sfb_lmax+a;i<t.sfbmax;i+=3){var h=t.width[i],d=o[i];if(c(d>=0),(d-=4>>t.scalefac_scale)>=0)o[i]=d,u+=3*h;else{o[i]=0;var f=210+(d<<t.scalefac_scale+1);A=n.IPOW20(f),u+=h*(a+1);for(var p=-h;p<0;p++)r[u+p]*=A,r[u+p]>t.xrpow_max&&(t.xrpow_max=r[u+p]);u+=h*(3-a-1)}}var A=n.IPOW20(202);for(u+=t.width[i]*(a+1),p=-t.width[i];p<0;p++)r[u+p]*=A,r[u+p]>t.xrpow_max&&(t.xrpow_max=r[u+p])}}return!1}(l,t,o)||m(t))),u||(u=2==l.mode_gr?r.scale_bitcount(t):r.scale_bitcount_lsf(l,t)),u))}this.setModules=function(i,o,a,s){e=i,t=o,this.rv=o,n=a,this.qupvt=a,r=s,g.setModules(n,r)},this.ms_convert=function(e,t){for(var n=0;n<576;++n){var r=e.tt[t][0].xr[n],i=e.tt[t][1].xr[n];e.tt[t][0].xr[n]=(r+i)*(.5*a.SQRT2),e.tt[t][1].xr[n]=(r-i)*(.5*a.SQRT2)}},this.init_xrpow=function(e,t,n){var r=0,i=0|t.max_nonzero_coeff;if(c(null!=n),t.xrpow_max=0,c(0<=i&&i<=575),s.fill(n,i,576,0),(r=function(e,t,n,r){r=0;for(var i=0;i<=n;++i){var o=Math.abs(e.xr[i]);r+=o,t[i]=Math.sqrt(o*Math.sqrt(o)),t[i]>e.xrpow_max&&(e.xrpow_max=t[i])}return r}(t,n,i,r))>1e-20){var o=0;0!=(2&e.substep_shaping)&&(o=1);for(var a=0;a<t.psymax;a++)e.pseudohalf[a]=o;return!0}return s.fill(t.l3_enc,0,576,0),!1},this.init_outer_loop=function(e,t){t.part2_3_length=0,t.big_values=0,t.count1=0,t.global_gain=210,t.scalefac_compress=0,t.table_select[0]=0,t.table_select[1]=0,t.table_select[2]=0,t.subblock_gain[0]=0,t.subblock_gain[1]=0,t.subblock_gain[2]=0,t.subblock_gain[3]=0,t.region0_count=0,t.region1_count=0,t.preflag=0,t.scalefac_scale=0,t.count1table_select=0,t.part2_length=0,t.sfb_lmax=f.SBPSY_l,t.sfb_smin=f.SBPSY_s,t.psy_lmax=e.sfb21_extra?f.SBMAX_l:f.SBPSY_l,t.psymax=t.psy_lmax,t.sfbmax=t.sfb_lmax,t.sfbdivide=11;for(var r=0;r<f.SBMAX_l;r++)t.width[r]=e.scalefac_band.l[r+1]-e.scalefac_band.l[r],t.window[r]=3;if(t.block_type==f.SHORT_TYPE){var o=l(576);t.sfb_smin=0,t.sfb_lmax=0,0!=t.mixed_block_flag&&(t.sfb_smin=3,t.sfb_lmax=2*e.mode_gr+4),t.psymax=t.sfb_lmax+3*((e.sfb21_extra?f.SBMAX_s:f.SBPSY_s)-t.sfb_smin),t.sfbmax=t.sfb_lmax+3*(f.SBPSY_s-t.sfb_smin),t.sfbdivide=t.sfbmax-18,t.psy_lmax=t.sfb_lmax;var a=e.scalefac_band.l[t.sfb_lmax];for(i.arraycopy(t.xr,0,o,0,576),r=t.sfb_smin;r<f.SBMAX_s;r++)for(var c=e.scalefac_band.s[r],u=e.scalefac_band.s[r+1],h=0;h<3;h++)for(var d=c;d<u;d++)t.xr[a++]=o[3*d+h];var p=t.sfb_lmax;for(r=t.sfb_smin;r<f.SBMAX_s;r++)t.width[p]=t.width[p+1]=t.width[p+2]=e.scalefac_band.s[r+1]-e.scalefac_band.s[r],t.window[p]=0,t.window[p+1]=1,t.window[p+2]=2,p+=3}t.count1bits=0,t.sfb_partition_table=n.nr_of_sfb_block[0][0],t.slen[0]=0,t.slen[1]=0,t.slen[2]=0,t.slen[3]=0,t.max_nonzero_coeff=575,s.fill(t.scalefac,0),function(e,t){var r=e.ATH,i=t.xr;if(t.block_type!=f.SHORT_TYPE)for(var o=!1,a=f.PSFB21-1;a>=0&&!o;a--){var s=e.scalefac_band.psfb21[a],l=e.scalefac_band.psfb21[a+1],c=n.athAdjust(r.adjust,r.psfb21[a],r.floor);e.nsPsy.longfact[21]>1e-12&&(c*=e.nsPsy.longfact[21]);for(var u=l-1;u>=s;u--){if(!(Math.abs(i[u])<c)){o=!0;break}i[u]=0}}else for(var h=0;h<3;h++)for(o=!1,a=f.PSFB12-1;a>=0&&!o;a--){l=(s=3*e.scalefac_band.s[12]+(e.scalefac_band.s[13]-e.scalefac_band.s[12])*h+(e.scalefac_band.psfb12[a]-e.scalefac_band.psfb12[0]))+(e.scalefac_band.psfb12[a+1]-e.scalefac_band.psfb12[a]);var d=n.athAdjust(r.adjust,r.psfb12[a],r.floor);for(e.nsPsy.shortfact[12]>1e-12&&(d*=e.nsPsy.shortfact[12]),u=l-1;u>=s;u--){if(!(Math.abs(i[u])<d)){o=!0;break}i[u]=0}}}(e,t)},v.BINSEARCH_NONE=new v(0),v.BINSEARCH_UP=new v(1),v.BINSEARCH_DOWN=new v(2),this.trancate_smallspectrums=function(e,t,i,o){var a=l(A.SFBMAX);if((0!=(4&e.substep_shaping)||t.block_type!=f.SHORT_TYPE)&&0==(128&e.substep_shaping)){n.calc_noise(t,i,a,new h,null);for(var c=0;c<576;c++){var u=0;0!=t.l3_enc[c]&&(u=Math.abs(t.xr[c])),o[c]=u}c=0;var d=8;t.block_type==f.SHORT_TYPE&&(d=6);do{var p,g,v,m,y=t.width[d];if(c+=y,!(a[d]>=1||(s.sort(o,c-y,y),BitStream.EQ(o[c-1],0)))){p=(1-a[d])*i[d],g=0,m=0;do{var b;for(v=1;m+v<y&&!BitStream.NEQ(o[m+c-y],o[m+c+v-y]);v++);if(p<(b=o[m+c-y]*o[m+c-y]*v)){0!=m&&(g=o[m+c-y-1]);break}p-=b,m+=v}while(m<y);if(!BitStream.EQ(g,0))do{Math.abs(t.xr[c-y])<=g&&(t.l3_enc[c-y]=0)}while(--y>0)}}while(++d<t.psymax);t.part2_3_length=r.noquant_count_bits(e,t,null)}},this.outer_loop=function(e,t,a,s,u,g){var m=e.internal_flags,_=new p,w=l(576),x=l(A.SFBMAX),C=new h,S=new d,B=9999999,k=!1,T=!1,E=0;if(function(e,t,n,i,o){var a,s=e.CurrentStep[i],l=!1,u=e.OldValue[i],h=v.BINSEARCH_NONE;for(t.global_gain=u,n-=t.part2_length,c(0!=s);;){var d;if(a=r.count_bits(e,o,t,null),1==s||a==n)break;a>n?(h==v.BINSEARCH_DOWN&&(l=!0),l&&(s/=2),h=v.BINSEARCH_UP,d=s):(h==v.BINSEARCH_UP&&(l=!0),l&&(s/=2),h=v.BINSEARCH_DOWN,d=-s),t.global_gain+=d,t.global_gain<0&&(t.global_gain=0,l=!0),t.global_gain>255&&(t.global_gain=255,l=!0)}for(c(t.global_gain>=0),c(t.global_gain<256);a>n&&t.global_gain<255;)t.global_gain++,a=r.count_bits(e,o,t,null);e.CurrentStep[i]=u-t.global_gain>=4?4:2,e.OldValue[i]=t.global_gain,t.part2_3_length=a}(m,t,g,u,s),0==m.noise_shaping)return 100;n.calc_noise(t,a,x,C,S),C.bits=t.part2_3_length,_.assign(t);var M=0;for(i.arraycopy(s,0,w,0,576);!k;){do{var D,O=new h,I=255;if(D=0!=(2&m.substep_shaping)?20:3,m.sfb21_extra){if(x[_.sfbmax]>1)break;if(_.block_type==f.SHORT_TYPE&&(x[_.sfbmax+1]>1||x[_.sfbmax+2]>1))break}if(!b(e,_,x,s,T))break;0!=_.scalefac_scale&&(I=254);var L=g-_.part2_length;if(L<=0)break;for(;(_.part2_3_length=r.count_bits(m,s,_,S))>L&&_.global_gain<=I;)_.global_gain++;if(_.global_gain>I)break;if(0==C.over_count){for(;(_.part2_3_length=r.count_bits(m,s,_,S))>B&&_.global_gain<=I;)_.global_gain++;if(_.global_gain>I)break}if(n.calc_noise(_,a,x,O,S),O.bits=_.part2_3_length,0!=(y(t.block_type!=f.SHORT_TYPE?e.quant_comp:e.quant_comp_short,C,O,_,x)?1:0))B=t.part2_3_length,C=O,t.assign(_),M=0,i.arraycopy(s,0,w,0,576);else if(0==m.full_outer_loop){if(++M>D&&0==C.over_count)break;if(3==m.noise_shaping_amp&&T&&M>30)break;if(3==m.noise_shaping_amp&&T&&_.global_gain-E>15)break}}while(_.global_gain+_.scalefac_scale<255);3==m.noise_shaping_amp?T?k=!0:(_.assign(t),i.arraycopy(w,0,s,0,576),M=0,E=_.global_gain,T=!0):k=!0}return c(t.global_gain+t.scalefac_scale<=255),e.VBR==o.vbr_rh||e.VBR==o.vbr_mtrh?i.arraycopy(w,0,s,0,576):0!=(1&m.substep_shaping)&&trancate_smallspectrums(m,t,a,s),C.over_count},this.iteration_finish_one=function(e,n,i){var o=e.l3_side,a=o.tt[n][i];r.best_scalefac_store(e,n,i,o),1==e.use_best_huffman&&r.best_huffman_divide(e,a),t.ResvAdjust(e,a)},this.VBR_encode_granule=function(e,t,n,r,o,a,u){var h,d=e.internal_flags,f=new p,A=l(576),g=u,v=u+1,m=(u+a)/2,y=0,b=d.sfb21_extra;c(g<=LameInternalFlags.MAX_BITS_PER_CHANNEL),s.fill(f.l3_enc,0);do{c(m>=a),c(m<=u),c(a<=u),d.sfb21_extra=!(m>g-42)&&b,outer_loop(e,t,n,r,o,m)<=0?(y=1,v=t.part2_3_length,f.assign(t),i.arraycopy(r,0,A,0,576),h=(u=v-32)-a,m=(u+a)/2):(h=u-(a=m+32),m=(u+a)/2,0!=y&&(y=2,t.assign(f),i.arraycopy(A,0,r,0,576)))}while(h>12);d.sfb21_extra=b,2==y&&i.arraycopy(f.l3_enc,0,t.l3_enc,0,576),c(t.part2_3_length<=g)},this.get_framebits=function(n,r){var i=n.internal_flags;i.bitrate_index=i.VBR_min_bitrate;var o=e.getframebits(n);i.bitrate_index=1,o=e.getframebits(n);for(var a=1;a<=i.VBR_max_bitrate;a++){i.bitrate_index=a;var s=new MeanBits(o);r[a]=t.ResvFrameBegin(n,s),o=s.bits}},this.VBR_old_prepare=function(e,r,i,o,a,s,l,c,u){var h,d=e.internal_flags,p=0,A=1,g=0;d.bitrate_index=d.VBR_max_bitrate;var v=t.ResvFrameBegin(e,new MeanBits(0))/d.mode_gr;get_framebits(e,s);for(var m=0;m<d.mode_gr;m++){var y=n.on_pe(e,r,c[m],v,m,0);d.mode_ext==f.MPG_MD_MS_LR&&(ms_convert(d.l3_side,m),n.reduce_side(c[m],i[m],v,y));for(var b=0;b<d.channels_out;++b){var _=d.l3_side.tt[m][b];_.block_type!=f.SHORT_TYPE?(p=1.28/(1+Math.exp(3.5-r[m][b]/300))-.05,h=d.PSY.mask_adjust-p):(p=2.56/(1+Math.exp(3.5-r[m][b]/300))-.14,h=d.PSY.mask_adjust_short-p),d.masking_lower=Math.pow(10,.1*h),init_outer_loop(d,_),u[m][b]=n.calc_xmin(e,o[m][b],_,a[m][b]),0!=u[m][b]&&(A=0),l[m][b]=126,g+=c[m][b]}}for(m=0;m<d.mode_gr;m++)for(b=0;b<d.channels_out;b++)g>s[d.VBR_max_bitrate]&&(c[m][b]*=s[d.VBR_max_bitrate],c[m][b]/=g),l[m][b]>c[m][b]&&(l[m][b]=c[m][b]);return A},this.bitpressure_strategy=function(e,t,n,r){for(var i=0;i<e.mode_gr;i++)for(var o=0;o<e.channels_out;o++){for(var a=e.l3_side.tt[i][o],s=t[i][o],l=0,c=0;c<a.psy_lmax;c++)s[l++]*=1+.029*c*c/f.SBMAX_l/f.SBMAX_l;if(a.block_type==f.SHORT_TYPE)for(c=a.sfb_smin;c<f.SBMAX_s;c++)s[l++]*=1+.029*c*c/f.SBMAX_s/f.SBMAX_s,s[l++]*=1+.029*c*c/f.SBMAX_s/f.SBMAX_s,s[l++]*=1+.029*c*c/f.SBMAX_s/f.SBMAX_s;r[i][o]=0|Math.max(n[i][o],.9*r[i][o])}},this.VBR_new_prepare=function(e,r,i,o,a,s){var l,c=e.internal_flags,u=1,h=0,d=0;if(e.free_format)c.bitrate_index=0,p=new MeanBits(h),l=t.ResvFrameBegin(e,p),h=p.bits,a[0]=l;else{c.bitrate_index=c.VBR_max_bitrate;var p=new MeanBits(h);t.ResvFrameBegin(e,p),h=p.bits,get_framebits(e,a),l=a[c.VBR_max_bitrate]}for(var A=0;A<c.mode_gr;A++){n.on_pe(e,r,s[A],h,A,0),c.mode_ext==f.MPG_MD_MS_LR&&ms_convert(c.l3_side,A);for(var g=0;g<c.channels_out;++g){var v=c.l3_side.tt[A][g];c.masking_lower=Math.pow(10,.1*c.PSY.mask_adjust),init_outer_loop(c,v),0!=n.calc_xmin(e,i[A][g],v,o[A][g])&&(u=0),d+=s[A][g]}}for(A=0;A<c.mode_gr;A++)for(g=0;g<c.channels_out;g++)d>l&&(s[A][g]*=l,s[A][g]/=d);return u},this.calc_target_bits=function(r,i,o,a,s,l){var c,u,h,d,p=r.internal_flags,A=p.l3_side,g=0;p.bitrate_index=p.VBR_max_bitrate;var v=new MeanBits(g);for(l[0]=t.ResvFrameBegin(r,v),g=v.bits,p.bitrate_index=1,g=e.getframebits(r)-8*p.sideinfo_len,s[0]=g/(p.mode_gr*p.channels_out),g=r.VBR_mean_bitrate_kbps*r.framesize*1e3,0!=(1&p.substep_shaping)&&(g*=1.09),g/=r.out_samplerate,g-=8*p.sideinfo_len,g/=p.mode_gr*p.channels_out,(c=.93+.07*(11-r.compression_ratio)/5.5)<.9&&(c=.9),c>1&&(c=1),u=0;u<p.mode_gr;u++){var m=0;for(h=0;h<p.channels_out;h++){if(a[u][h]=int(c*g),i[u][h]>700){var y=int((i[u][h]-700)/1.4),b=A.tt[u][h];a[u][h]=int(c*g),b.block_type==f.SHORT_TYPE&&y<g/2&&(y=g/2),y>3*g/2?y=3*g/2:y<0&&(y=0),a[u][h]+=y}a[u][h]>LameInternalFlags.MAX_BITS_PER_CHANNEL&&(a[u][h]=LameInternalFlags.MAX_BITS_PER_CHANNEL),m+=a[u][h]}if(m>LameInternalFlags.MAX_BITS_PER_GRANULE)for(h=0;h<p.channels_out;++h)a[u][h]*=LameInternalFlags.MAX_BITS_PER_GRANULE,a[u][h]/=m}if(p.mode_ext==f.MPG_MD_MS_LR)for(u=0;u<p.mode_gr;u++)n.reduce_side(a[u],o[u],g*p.channels_out,LameInternalFlags.MAX_BITS_PER_GRANULE);for(d=0,u=0;u<p.mode_gr;u++)for(h=0;h<p.channels_out;h++)a[u][h]>LameInternalFlags.MAX_BITS_PER_CHANNEL&&(a[u][h]=LameInternalFlags.MAX_BITS_PER_CHANNEL),d+=a[u][h];if(d>l[0])for(u=0;u<p.mode_gr;u++)for(h=0;h<p.channels_out;h++)a[u][h]*=l[0],a[u][h]/=d}}},Hbx0:function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util),o=(r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),a=(r.new_float_n,r.new_int,r.new_int_n,r.assert,n("/00o"));e.exports=function(){var e=o(a.BLKSIZE),t=o(a.BLKSIZE_s/2),n=[.9238795325112867,.3826834323650898,.9951847266721969,.0980171403295606,.9996988186962042,.02454122852291229,.9999811752826011,.006135884649154475];function r(e,t,r){var o,a,s,l=0,c=t+(r<<=1);o=4;do{var u,h,d,f,p,A,g;g=o>>1,A=(p=o<<1)+(f=o),o=p<<1,s=(a=t)+g;do{x=e[a+0]-e[a+f],w=e[a+0]+e[a+f],k=e[a+p]-e[a+A],S=e[a+p]+e[a+A],e[a+p]=w-S,e[a+0]=w+S,e[a+A]=x-k,e[a+f]=x+k,x=e[s+0]-e[s+f],w=e[s+0]+e[s+f],k=i.SQRT2*e[s+A],S=i.SQRT2*e[s+p],e[s+p]=w-S,e[s+0]=w+S,e[s+A]=x-k,e[s+f]=x+k,s+=o,a+=o}while(a<c);for(h=n[l+0],u=n[l+1],d=1;d<g;d++){var v,m;v=1-2*u*u,m=2*u*h,a=t+d,s=t+f-d;do{var y,b,_,w,x,C,S,B,k,T;b=m*e[a+f]-v*e[s+f],y=v*e[a+f]+m*e[s+f],x=e[a+0]-y,w=e[a+0]+y,C=e[s+0]-b,_=e[s+0]+b,b=m*e[a+A]-v*e[s+A],y=v*e[a+A]+m*e[s+A],k=e[a+p]-y,S=e[a+p]+y,T=e[s+p]-b,B=e[s+p]+b,b=u*S-h*T,y=h*S+u*T,e[a+p]=w-y,e[a+0]=w+y,e[s+A]=C-b,e[s+f]=C+b,b=h*B-u*k,y=u*B+h*k,e[s+p]=_-y,e[s+0]=_+y,e[a+A]=x-b,e[a+f]=x+b,s+=o,a+=o}while(a<c);h=(v=h)*n[l+0]-u*n[l+1],u=v*n[l+1]+u*n[l+0]}l+=2}while(o<r)}var s=[0,128,64,192,32,160,96,224,16,144,80,208,48,176,112,240,8,136,72,200,40,168,104,232,24,152,88,216,56,184,120,248,4,132,68,196,36,164,100,228,20,148,84,212,52,180,116,244,12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254];this.fft_short=function(e,n,i,o,l){for(var c=0;c<3;c++){var u=a.BLKSIZE_s/2,h=65535&192*(c+1),d=a.BLKSIZE_s/8-1;do{var f,p,A,g,v,m=255&s[d<<2];p=(f=t[m]*o[i][l+m+h])-(v=t[127-m]*o[i][l+m+h+128]),f+=v,g=(A=t[m+64]*o[i][l+m+h+64])-(v=t[63-m]*o[i][l+m+h+192]),A+=v,u-=4,n[c][u+0]=f+A,n[c][u+2]=f-A,n[c][u+1]=p+g,n[c][u+3]=p-g,p=(f=t[m+1]*o[i][l+m+h+1])-(v=t[126-m]*o[i][l+m+h+129]),f+=v,g=(A=t[m+65]*o[i][l+m+h+65])-(v=t[62-m]*o[i][l+m+h+193]),A+=v,n[c][u+a.BLKSIZE_s/2+0]=f+A,n[c][u+a.BLKSIZE_s/2+2]=f-A,n[c][u+a.BLKSIZE_s/2+1]=p+g,n[c][u+a.BLKSIZE_s/2+3]=p-g}while(--d>=0);r(n[c],u,a.BLKSIZE_s/2)}},this.fft_long=function(t,n,i,o,l){var c=a.BLKSIZE/8-1,u=a.BLKSIZE/2;do{var h,d,f,p,A,g=255&s[c];d=(h=e[g]*o[i][l+g])-(A=e[g+512]*o[i][l+g+512]),h+=A,p=(f=e[g+256]*o[i][l+g+256])-(A=e[g+768]*o[i][l+g+768]),f+=A,n[0+(u-=4)]=h+f,n[u+2]=h-f,n[u+1]=d+p,n[u+3]=d-p,d=(h=e[g+1]*o[i][l+g+1])-(A=e[g+513]*o[i][l+g+513]),h+=A,p=(f=e[g+257]*o[i][l+g+257])-(A=e[g+769]*o[i][l+g+769]),f+=A,n[u+a.BLKSIZE/2+0]=h+f,n[u+a.BLKSIZE/2+2]=h-f,n[u+a.BLKSIZE/2+1]=d+p,n[u+a.BLKSIZE/2+3]=d-p}while(--c>=0);r(n,u,a.BLKSIZE/2)},this.init_fft=function(n){for(var r=0;r<a.BLKSIZE;r++)e[r]=.42-.5*Math.cos(2*Math.PI*(r+.5)/a.BLKSIZE)+.08*Math.cos(4*Math.PI*(r+.5)/a.BLKSIZE);for(r=0;r<a.BLKSIZE_s/2;r++)t[r]=.5*(1-Math.cos(2*Math.PI*(r+.5)/a.BLKSIZE_s))}}},Hdmu:function(e,t,n){(function(t){var n={version:"1.14.0"};n[437]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[620]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàąçêëèïîćÄĄĘęłôöĆûùŚÖÜ¢Ł¥śƒŹŻóÓńŃźż¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[737]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[850]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[852]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´˝˛ˇ˘§÷¸°¨˙űŘř■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[857]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´±�¾¶§÷¸°¨·¹³²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[861]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[865]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[866]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[874]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[895]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ČüéďäĎŤčěĚĹÍľǪÄÁÉžŽôöÓůÚýÖÜŠĽÝŘťáíóúňŇŮÔšřŕŔ¼§«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[932]=function(){var e,t=[],n={},r=[];for(r[0]="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~���������������������������������。「」、・ヲァィゥェォャュョッーアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワン゙゚��������������������������������".split(""),e=0;e!=r[0].length;++e)65533!==r[0][e].charCodeAt(0)&&(n[r[0][e]]=0+e,t[0+e]=r[0][e]);for(r[129]="���������������������������������������������������������������� 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈〉《》「」『』【】+-±×�÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓�����������∈∋⊆⊇⊂⊃∪∩��������∧∨¬⇒⇔∀∃�����������∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬�������ʼn♯♭♪†‡¶����◯���".split(""),e=0;e!=r[129].length;++e)65533!==r[129][e].charCodeAt(0)&&(n[r[129][e]]=33024+e,t[33024+e]=r[129][e]);for(r[130]="�������������������������������������������������������������������������������0123456789�������ABCDEFGHIJKLMNOPQRSTUVWXYZ�������abcdefghijklmnopqrstuvwxyz����ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん��������������".split(""),e=0;e!=r[130].length;++e)65533!==r[130][e].charCodeAt(0)&&(n[r[130][e]]=33280+e,t[33280+e]=r[130][e]);for(r[131]="����������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミ�ムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ��������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�����������������������������������������".split(""),e=0;e!=r[131].length;++e)65533!==r[131][e].charCodeAt(0)&&(n[r[131][e]]=33536+e,t[33536+e]=r[131][e]);for(r[132]="����������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмн�опрстуфхцчшщъыьэюя�������������─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂�����������������������������������������������������������������".split(""),e=0;e!=r[132].length;++e)65533!==r[132][e].charCodeAt(0)&&(n[r[132][e]]=33792+e,t[33792+e]=r[132][e]);for(r[135]="����������������������������������������������������������������①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ�㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡��������㍻�〝〟№㏍℡㊤㊥㊦㊧㊨㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪���������������������������������������������������������������������������������������������������".split(""),e=0;e!=r[135].length;++e)65533!==r[135][e].charCodeAt(0)&&(n[r[135][e]]=34560+e,t[34560+e]=r[135][e]);for(r[136]="���������������������������������������������������������������������������������������������������������������������������������������������������������������亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭���".split(""),e=0;e!=r[136].length;++e)65533!==r[136][e].charCodeAt(0)&&(n[r[136][e]]=34816+e,t[34816+e]=r[136][e]);for(r[137]="����������������������������������������������������������������院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円�園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改���".split(""),e=0;e!=r[137].length;++e)65533!==r[137][e].charCodeAt(0)&&(n[r[137][e]]=35072+e,t[35072+e]=r[137][e]);for(r[138]="����������������������������������������������������������������魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫�橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄���".split(""),e=0;e!=r[138].length;++e)65533!==r[138][e].charCodeAt(0)&&(n[r[138][e]]=35328+e,t[35328+e]=r[138][e]);for(r[139]="����������������������������������������������������������������機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救�朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈���".split(""),e=0;e!=r[139].length;++e)65533!==r[139][e].charCodeAt(0)&&(n[r[139][e]]=35584+e,t[35584+e]=r[139][e]);for(r[140]="����������������������������������������������������������������掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨�劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向���".split(""),e=0;e!=r[140].length;++e)65533!==r[140][e].charCodeAt(0)&&(n[r[140][e]]=35840+e,t[35840+e]=r[140][e]);for(r[141]="����������������������������������������������������������������后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降�項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷���".split(""),e=0;e!=r[141].length;++e)65533!==r[141][e].charCodeAt(0)&&(n[r[141][e]]=36096+e,t[36096+e]=r[141][e]);for(r[142]="����������������������������������������������������������������察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止�死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周���".split(""),e=0;e!=r[142].length;++e)65533!==r[142][e].charCodeAt(0)&&(n[r[142][e]]=36352+e,t[36352+e]=r[142][e]);for(r[143]="����������������������������������������������������������������宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳�準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾���".split(""),e=0;e!=r[143].length;++e)65533!==r[143][e].charCodeAt(0)&&(n[r[143][e]]=36608+e,t[36608+e]=r[143][e]);for(r[144]="����������������������������������������������������������������拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨�逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線���".split(""),e=0;e!=r[144].length;++e)65533!==r[144][e].charCodeAt(0)&&(n[r[144][e]]=36864+e,t[36864+e]=r[144][e]);for(r[145]="����������������������������������������������������������������繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻�操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只���".split(""),e=0;e!=r[145].length;++e)65533!==r[145][e].charCodeAt(0)&&(n[r[145][e]]=37120+e,t[37120+e]=r[145][e]);for(r[146]="����������������������������������������������������������������叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄�逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓���".split(""),e=0;e!=r[146].length;++e)65533!==r[146][e].charCodeAt(0)&&(n[r[146][e]]=37376+e,t[37376+e]=r[146][e]);for(r[147]="����������������������������������������������������������������邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬�凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入���".split(""),e=0;e!=r[147].length;++e)65533!==r[147][e].charCodeAt(0)&&(n[r[147][e]]=37632+e,t[37632+e]=r[147][e]);for(r[148]="����������������������������������������������������������������如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅�楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美���".split(""),e=0;e!=r[148].length;++e)65533!==r[148][e].charCodeAt(0)&&(n[r[148][e]]=37888+e,t[37888+e]=r[148][e]);for(r[149]="����������������������������������������������������������������鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷�斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋���".split(""),e=0;e!=r[149].length;++e)65533!==r[149][e].charCodeAt(0)&&(n[r[149][e]]=38144+e,t[38144+e]=r[149][e]);for(r[150]="����������������������������������������������������������������法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆�摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒���".split(""),e=0;e!=r[150].length;++e)65533!==r[150][e].charCodeAt(0)&&(n[r[150][e]]=38400+e,t[38400+e]=r[150][e]);for(r[151]="����������������������������������������������������������������諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲�沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯���".split(""),e=0;e!=r[151].length;++e)65533!==r[151][e].charCodeAt(0)&&(n[r[151][e]]=38656+e,t[38656+e]=r[151][e]);for(r[152]="����������������������������������������������������������������蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕��������������������������������������������弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲���".split(""),e=0;e!=r[152].length;++e)65533!==r[152][e].charCodeAt(0)&&(n[r[152][e]]=38912+e,t[38912+e]=r[152][e]);for(r[153]="����������������������������������������������������������������僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭�凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨���".split(""),e=0;e!=r[153].length;++e)65533!==r[153][e].charCodeAt(0)&&(n[r[153][e]]=39168+e,t[39168+e]=r[153][e]);for(r[154]="����������������������������������������������������������������咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸�噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩���".split(""),e=0;e!=r[154].length;++e)65533!==r[154][e].charCodeAt(0)&&(n[r[154][e]]=39424+e,t[39424+e]=r[154][e]);for(r[155]="����������������������������������������������������������������奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀�它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏���".split(""),e=0;e!=r[155].length;++e)65533!==r[155][e].charCodeAt(0)&&(n[r[155][e]]=39680+e,t[39680+e]=r[155][e]);for(r[156]="����������������������������������������������������������������廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠�怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛���".split(""),e=0;e!=r[156].length;++e)65533!==r[156][e].charCodeAt(0)&&(n[r[156][e]]=39936+e,t[39936+e]=r[156][e]);for(r[157]="����������������������������������������������������������������戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫�捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼���".split(""),e=0;e!=r[157].length;++e)65533!==r[157][e].charCodeAt(0)&&(n[r[157][e]]=40192+e,t[40192+e]=r[157][e]);for(r[158]="����������������������������������������������������������������曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎�梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣���".split(""),e=0;e!=r[158].length;++e)65533!==r[158][e].charCodeAt(0)&&(n[r[158][e]]=40448+e,t[40448+e]=r[158][e]);for(r[159]="����������������������������������������������������������������檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯�麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌���".split(""),e=0;e!=r[159].length;++e)65533!==r[159][e].charCodeAt(0)&&(n[r[159][e]]=40704+e,t[40704+e]=r[159][e]);for(r[224]="����������������������������������������������������������������漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝�烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱���".split(""),e=0;e!=r[224].length;++e)65533!==r[224][e].charCodeAt(0)&&(n[r[224][e]]=57344+e,t[57344+e]=r[224][e]);for(r[225]="����������������������������������������������������������������瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿�痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬���".split(""),e=0;e!=r[225].length;++e)65533!==r[225][e].charCodeAt(0)&&(n[r[225][e]]=57600+e,t[57600+e]=r[225][e]);for(r[226]="����������������������������������������������������������������磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰�窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆���".split(""),e=0;e!=r[226].length;++e)65533!==r[226][e].charCodeAt(0)&&(n[r[226][e]]=57856+e,t[57856+e]=r[226][e]);for(r[227]="����������������������������������������������������������������紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷�縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋���".split(""),e=0;e!=r[227].length;++e)65533!==r[227][e].charCodeAt(0)&&(n[r[227][e]]=58112+e,t[58112+e]=r[227][e]);for(r[228]="����������������������������������������������������������������隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤�艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈���".split(""),e=0;e!=r[228].length;++e)65533!==r[228][e].charCodeAt(0)&&(n[r[228][e]]=58368+e,t[58368+e]=r[228][e]);for(r[229]="����������������������������������������������������������������蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬�蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞���".split(""),e=0;e!=r[229].length;++e)65533!==r[229][e].charCodeAt(0)&&(n[r[229][e]]=58624+e,t[58624+e]=r[229][e]);for(r[230]="����������������������������������������������������������������襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧�諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊���".split(""),e=0;e!=r[230].length;++e)65533!==r[230][e].charCodeAt(0)&&(n[r[230][e]]=58880+e,t[58880+e]=r[230][e]);for(r[231]="����������������������������������������������������������������蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜�轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮���".split(""),e=0;e!=r[231].length;++e)65533!==r[231][e].charCodeAt(0)&&(n[r[231][e]]=59136+e,t[59136+e]=r[231][e]);for(r[232]="����������������������������������������������������������������錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙�閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰���".split(""),e=0;e!=r[232].length;++e)65533!==r[232][e].charCodeAt(0)&&(n[r[232][e]]=59392+e,t[59392+e]=r[232][e]);for(r[233]="����������������������������������������������������������������顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃�騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈���".split(""),e=0;e!=r[233].length;++e)65533!==r[233][e].charCodeAt(0)&&(n[r[233][e]]=59648+e,t[59648+e]=r[233][e]);for(r[234]="����������������������������������������������������������������鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯�黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙�������������������������������������������������������������������������������������������".split(""),e=0;e!=r[234].length;++e)65533!==r[234][e].charCodeAt(0)&&(n[r[234][e]]=59904+e,t[59904+e]=r[234][e]);for(r[237]="����������������������������������������������������������������纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏�塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱���".split(""),e=0;e!=r[237].length;++e)65533!==r[237][e].charCodeAt(0)&&(n[r[237][e]]=60672+e,t[60672+e]=r[237][e]);for(r[238]="����������������������������������������������������������������犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙�蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑��ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ¬¦'"���".split(""),e=0;e!=r[238].length;++e)65533!==r[238][e].charCodeAt(0)&&(n[r[238][e]]=60928+e,t[60928+e]=r[238][e]);for(r[250]="����������������������������������������������������������������ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊�兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯���".split(""),e=0;e!=r[250].length;++e)65533!==r[250][e].charCodeAt(0)&&(n[r[250][e]]=64e3+e,t[64e3+e]=r[250][e]);for(r[251]="����������������������������������������������������������������涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神�祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙���".split(""),e=0;e!=r[251].length;++e)65533!==r[251][e].charCodeAt(0)&&(n[r[251][e]]=64256+e,t[64256+e]=r[251][e]);for(r[252]="����������������������������������������������������������������髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������".split(""),e=0;e!=r[252].length;++e)65533!==r[252][e].charCodeAt(0)&&(n[r[252][e]]=64512+e,t[64512+e]=r[252][e]);return{enc:n,dec:t}}(),n[936]=function(){var e,t=[],n={},r=[];for(r[0]="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�������������������������������������������������������������������������������������������������������������������������������".split(""),e=0;e!=r[0].length;++e)65533!==r[0][e].charCodeAt(0)&&(n[r[0][e]]=0+e,t[0+e]=r[0][e]);for(r[129]="����������������������������������������������������������������丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪乫乬乭乮乯乲乴乵乶乷乸乹乺乻乼乽乿亀亁亂亃亄亅亇亊�亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂伃伄伅伆伇伈伋伌伒伓伔伕伖伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾伿佀佁佂佄佅佇佈佉佊佋佌佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢�".split(""),e=0;e!=r[129].length;++e)65533!==r[129][e].charCodeAt(0)&&(n[r[129][e]]=33024+e,t[33024+e]=r[129][e]);for(r[130]="����������������������������������������������������������������侤侫侭侰侱侲侳侴侶侷侸侹侺侻侼侽侾俀俁係俆俇俈俉俋俌俍俒俓俔俕俖俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿倀倁倂倃倄倅倆倇倈倉倊�個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯倰倱倲倳倴倵倶倷倸倹倻倽倿偀偁偂偄偅偆偉偊偋偍偐偑偒偓偔偖偗偘偙偛偝偞偟偠偡偢偣偤偦偧偨偩偪偫偭偮偯偰偱偲偳側偵偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎傏傐傑傒傓傔傕傖傗傘備傚傛傜傝傞傟傠傡傢傤傦傪傫傭傮傯傰傱傳傴債傶傷傸傹傼�".split(""),e=0;e!=r[130].length;++e)65533!==r[130][e].charCodeAt(0)&&(n[r[130][e]]=33280+e,t[33280+e]=r[130][e]);for(r[131]="����������������������������������������������������������������傽傾傿僀僁僂僃僄僅僆僇僈僉僊僋僌働僎僐僑僒僓僔僕僗僘僙僛僜僝僞僟僠僡僢僣僤僥僨僩僪僫僯僰僱僲僴僶僷僸價僺僼僽僾僿儀儁儂儃億儅儈�儉儊儌儍儎儏儐儑儓儔儕儖儗儘儙儚儛儜儝儞償儠儢儣儤儥儦儧儨儩優儫儬儭儮儯儰儱儲儳儴儵儶儷儸儹儺儻儼儽儾兂兇兊兌兎兏児兒兓兗兘兙兛兝兞兟兠兡兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦冧冨冩冪冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒凓凔凕凖凗�".split(""),e=0;e!=r[131].length;++e)65533!==r[131][e].charCodeAt(0)&&(n[r[131][e]]=33536+e,t[33536+e]=r[131][e]);for(r[132]="����������������������������������������������������������������凘凙凚凜凞凟凢凣凥処凧凨凩凪凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄剅剆則剈剉剋剎剏剒剓剕剗剘�剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳剴創剶剷剸剹剺剻剼剾劀劃劄劅劆劇劉劊劋劌劍劎劏劑劒劔劕劖劗劘劙劚劜劤劥劦劧劮劯劰労劵劶劷劸効劺劻劼劽勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務勚勛勜勝勞勠勡勢勣勥勦勧勨勩勪勫勬勭勮勯勱勲勳勴勵勶勷勸勻勼勽匁匂匃匄匇匉匊匋匌匎�".split(""),e=0;e!=r[132].length;++e)65533!==r[132][e].charCodeAt(0)&&(n[r[132][e]]=33792+e,t[33792+e]=r[132][e]);for(r[133]="����������������������������������������������������������������匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯匰匱匲匳匴匵匶匷匸匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏�厐厑厒厓厔厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯厰厱厲厳厴厵厷厸厹厺厼厽厾叀參叄叅叆叇収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝呞呟呠呡呣呥呧呩呪呫呬呭呮呯呰呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡�".split(""),e=0;e!=r[133].length;++e)65533!==r[133][e].charCodeAt(0)&&(n[r[133][e]]=34048+e,t[34048+e]=r[133][e]);for(r[134]="����������������������������������������������������������������咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠員哢哣哤哫哬哯哰哱哴哵哶哷哸哹哻哾唀唂唃唄唅唈唊唋唌唍唎唒唓唕唖唗唘唙唚唜唝唞唟唡唥唦�唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋啌啍啎問啑啒啓啔啗啘啙啚啛啝啞啟啠啢啣啨啩啫啯啰啱啲啳啴啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠喡喢喣喤喥喦喨喩喪喫喬喭單喯喰喲喴営喸喺喼喿嗀嗁嗂嗃嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗嗘嗙嗚嗛嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸嗹嗺嗻嗼嗿嘂嘃嘄嘅�".split(""),e=0;e!=r[134].length;++e)65533!==r[134][e].charCodeAt(0)&&(n[r[134][e]]=34304+e,t[34304+e]=r[134][e]);for(r[135]="����������������������������������������������������������������嘆嘇嘊嘋嘍嘐嘑嘒嘓嘔嘕嘖嘗嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀噁噂噃噄噅噆噇噈噉噊噋噏噐噑噒噓噕噖噚噛噝噞噟噠噡�噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽噾噿嚀嚁嚂嚃嚄嚇嚈嚉嚊嚋嚌嚍嚐嚑嚒嚔嚕嚖嚗嚘嚙嚚嚛嚜嚝嚞嚟嚠嚡嚢嚤嚥嚦嚧嚨嚩嚪嚫嚬嚭嚮嚰嚱嚲嚳嚴嚵嚶嚸嚹嚺嚻嚽嚾嚿囀囁囂囃囄囅囆囇囈囉囋囌囍囎囏囐囑囒囓囕囖囘囙囜団囥囦囧囨囩囪囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國圌圍圎圏圐圑�".split(""),e=0;e!=r[135].length;++e)65533!==r[135][e].charCodeAt(0)&&(n[r[135][e]]=34560+e,t[34560+e]=r[135][e]);for(r[136]="����������������������������������������������������������������園圓圔圕圖圗團圙圚圛圝圞圠圡圢圤圥圦圧圫圱圲圴圵圶圷圸圼圽圿坁坃坄坅坆坈坉坋坒坓坔坕坖坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀�垁垇垈垉垊垍垎垏垐垑垔垕垖垗垘垙垚垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹垺垻垼垽垾垿埀埁埄埅埆埇埈埉埊埌埍埐埑埓埖埗埛埜埞埡埢埣埥埦埧埨埩埪埫埬埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥堦堧堨堩堫堬堭堮堯報堲堳場堶堷堸堹堺堻堼堽�".split(""),e=0;e!=r[136].length;++e)65533!==r[136][e].charCodeAt(0)&&(n[r[136][e]]=34816+e,t[34816+e]=r[136][e]);for(r[137]="����������������������������������������������������������������堾堿塀塁塂塃塅塆塇塈塉塊塋塎塏塐塒塓塕塖塗塙塚塛塜塝塟塠塡塢塣塤塦塧塨塩塪塭塮塯塰塱塲塳塴塵塶塷塸塹塺塻塼塽塿墂墄墆墇墈墊墋墌�墍墎墏墐墑墔墕墖増墘墛墜墝墠墡墢墣墤墥墦墧墪墫墬墭墮墯墰墱墲墳墴墵墶墷墸墹墺墻墽墾墿壀壂壃壄壆壇壈壉壊壋壌壍壎壏壐壒壓壔壖壗壘壙壚壛壜壝壞壟壠壡壢壣壥壦壧壨壩壪壭壯壱売壴壵壷壸壺壻壼壽壾壿夀夁夃夅夆夈変夊夋夌夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻�".split(""),e=0;e!=r[137].length;++e)65533!==r[137][e].charCodeAt(0)&&(n[r[137][e]]=35072+e,t[35072+e]=r[137][e]);for(r[138]="����������������������������������������������������������������夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛奜奝奞奟奡奣奤奦奧奨奩奪奫奬奭奮奯奰奱奲奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦�妧妬妭妰妱妳妴妵妶妷妸妺妼妽妿姀姁姂姃姄姅姇姈姉姌姍姎姏姕姖姙姛姞姟姠姡姢姤姦姧姩姪姫姭姮姯姰姱姲姳姴姵姶姷姸姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪娫娬娭娮娯娰娳娵娷娸娹娺娻娽娾娿婁婂婃婄婅婇婈婋婌婍婎婏婐婑婒婓婔婖婗婘婙婛婜婝婞婟婠�".split(""),e=0;e!=r[138].length;++e)65533!==r[138][e].charCodeAt(0)&&(n[r[138][e]]=35328+e,t[35328+e]=r[138][e]);for(r[139]="����������������������������������������������������������������婡婣婤婥婦婨婩婫婬婭婮婯婰婱婲婳婸婹婻婼婽婾媀媁媂媃媄媅媆媇媈媉媊媋媌媍媎媏媐媑媓媔媕媖媗媘媙媜媝媞媟媠媡媢媣媤媥媦媧媨媩媫媬�媭媮媯媰媱媴媶媷媹媺媻媼媽媿嫀嫃嫄嫅嫆嫇嫈嫊嫋嫍嫎嫏嫐嫑嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬嫭嫮嫯嫰嫲嫳嫴嫵嫶嫷嫸嫹嫺嫻嫼嫽嫾嫿嬀嬁嬂嬃嬄嬅嬆嬇嬈嬊嬋嬌嬍嬎嬏嬐嬑嬒嬓嬔嬕嬘嬙嬚嬛嬜嬝嬞嬟嬠嬡嬢嬣嬤嬥嬦嬧嬨嬩嬪嬫嬬嬭嬮嬯嬰嬱嬳嬵嬶嬸嬹嬺嬻嬼嬽嬾嬿孁孂孃孄孅孆孇�".split(""),e=0;e!=r[139].length;++e)65533!==r[139][e].charCodeAt(0)&&(n[r[139][e]]=35584+e,t[35584+e]=r[139][e]);for(r[140]="����������������������������������������������������������������孈孉孊孋孌孍孎孏孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏�寑寔寕寖寗寘寙寚寛寜寠寢寣實寧審寪寫寬寭寯寱寲寳寴寵寶寷寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧屨屩屪屫屬屭屰屲屳屴屵屶屷屸屻屼屽屾岀岃岄岅岆岇岉岊岋岎岏岒岓岕岝岞岟岠岡岤岥岦岧岨�".split(""),e=0;e!=r[140].length;++e)65533!==r[140][e].charCodeAt(0)&&(n[r[140][e]]=35840+e,t[35840+e]=r[140][e]);for(r[141]="����������������������������������������������������������������岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅峆峇峈峉峊峌峍峎峏峐峑峓峔峕峖峗峘峚峛峜峝峞峟峠峢峣峧峩峫峬峮峯峱峲峳峴峵島峷峸峹峺峼峽峾峿崀�崁崄崅崈崉崊崋崌崍崏崐崑崒崓崕崗崘崙崚崜崝崟崠崡崢崣崥崨崪崫崬崯崰崱崲崳崵崶崷崸崹崺崻崼崿嵀嵁嵂嵃嵄嵅嵆嵈嵉嵍嵎嵏嵐嵑嵒嵓嵔嵕嵖嵗嵙嵚嵜嵞嵟嵠嵡嵢嵣嵤嵥嵦嵧嵨嵪嵭嵮嵰嵱嵲嵳嵵嵶嵷嵸嵹嵺嵻嵼嵽嵾嵿嶀嶁嶃嶄嶅嶆嶇嶈嶉嶊嶋嶌嶍嶎嶏嶐嶑嶒嶓嶔嶕嶖嶗嶘嶚嶛嶜嶞嶟嶠�".split(""),e=0;e!=r[141].length;++e)65533!==r[141][e].charCodeAt(0)&&(n[r[141][e]]=36096+e,t[36096+e]=r[141][e]);for(r[142]="����������������������������������������������������������������嶡嶢嶣嶤嶥嶦嶧嶨嶩嶪嶫嶬嶭嶮嶯嶰嶱嶲嶳嶴嶵嶶嶸嶹嶺嶻嶼嶽嶾嶿巀巁巂巃巄巆巇巈巉巊巋巌巎巏巐巑巒巓巔巕巖巗巘巙巚巜巟巠巣巤巪巬巭�巰巵巶巸巹巺巻巼巿帀帄帇帉帊帋帍帎帒帓帗帞帟帠帡帢帣帤帥帨帩帪師帬帯帰帲帳帴帵帶帹帺帾帿幀幁幃幆幇幈幉幊幋幍幎幏幐幑幒幓幖幗幘幙幚幜幝幟幠幣幤幥幦幧幨幩幪幫幬幭幮幯幰幱幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨庩庪庫庬庮庯庰庱庲庴庺庻庼庽庿廀廁廂廃廄廅�".split(""),e=0;e!=r[142].length;++e)65533!==r[142][e].charCodeAt(0)&&(n[r[142][e]]=36352+e,t[36352+e]=r[142][e]);for(r[143]="����������������������������������������������������������������廆廇廈廋廌廍廎廏廐廔廕廗廘廙廚廜廝廞廟廠廡廢廣廤廥廦廧廩廫廬廭廮廯廰廱廲廳廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤�弨弫弬弮弰弲弳弴張弶強弸弻弽弾弿彁彂彃彄彅彆彇彈彉彊彋彌彍彎彏彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢徣徤徥徦徧復徫徬徯徰徱徲徳徴徶徸徹徺徻徾徿忀忁忂忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇�".split(""),e=0;e!=r[143].length;++e)65533!==r[143][e].charCodeAt(0)&&(n[r[143][e]]=36608+e,t[36608+e]=r[143][e]);for(r[144]="����������������������������������������������������������������怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰怱怲怳怴怶怷怸怹怺怽怾恀恄恅恆恇恈恉恊恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀�悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽悾悿惀惁惂惃惄惇惈惉惌惍惎惏惐惒惓惔惖惗惙惛惞惡惢惣惤惥惪惱惲惵惷惸惻惼惽惾惿愂愃愄愅愇愊愋愌愐愑愒愓愔愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬愭愮愯愰愱愲愳愴愵愶愷愸愹愺愻愼愽愾慀慁慂慃慄慅慆�".split(""),e=0;e!=r[144].length;++e)65533!==r[144][e].charCodeAt(0)&&(n[r[144][e]]=36864+e,t[36864+e]=r[144][e]);for(r[145]="����������������������������������������������������������������慇慉態慍慏慐慒慓慔慖慗慘慙慚慛慜慞慟慠慡慣慤慥慦慩慪慫慬慭慮慯慱慲慳慴慶慸慹慺慻慼慽慾慿憀憁憂憃憄憅憆憇憈憉憊憌憍憏憐憑憒憓憕�憖憗憘憙憚憛憜憞憟憠憡憢憣憤憥憦憪憫憭憮憯憰憱憲憳憴憵憶憸憹憺憻憼憽憿懀懁懃懄懅懆懇應懌懍懎懏懐懓懕懖懗懘懙懚懛懜懝懞懟懠懡懢懣懤懥懧懨懩懪懫懬懭懮懯懰懱懲懳懴懶懷懸懹懺懻懼懽懾戀戁戂戃戄戅戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸戹戺戻戼扂扄扅扆扊�".split(""),e=0;e!=r[145].length;++e)65533!==r[145][e].charCodeAt(0)&&(n[r[145][e]]=37120+e,t[37120+e]=r[145][e]);for(r[146]="����������������������������������������������������������������扏扐払扖扗扙扚扜扝扞扟扠扡扢扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋抌抍抎抏抐抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁�拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳挴挵挶挷挸挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖捗捘捙捚捛捜捝捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙掚掛掜掝掞掟採掤掦掫掯掱掲掵掶掹掻掽掿揀�".split(""),e=0;e!=r[146].length;++e)65533!==r[146][e].charCodeAt(0)&&(n[r[146][e]]=37376+e,t[37376+e]=r[146][e]);for(r[147]="����������������������������������������������������������������揁揂揃揅揇揈揊揋揌揑揓揔揕揗揘揙揚換揜揝揟揢揤揥揦揧揨揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆搇搈搉搊損搎搑搒搕搖搗搘搙搚搝搟搢搣搤�搥搧搨搩搫搮搯搰搱搲搳搵搶搷搸搹搻搼搾摀摂摃摉摋摌摍摎摏摐摑摓摕摖摗摙摚摛摜摝摟摠摡摢摣摤摥摦摨摪摫摬摮摯摰摱摲摳摴摵摶摷摻摼摽摾摿撀撁撃撆撈撉撊撋撌撍撎撏撐撓撔撗撘撚撛撜撝撟撠撡撢撣撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆擇擈擉擊擋擌擏擑擓擔擕擖擙據�".split(""),e=0;e!=r[147].length;++e)65533!==r[147][e].charCodeAt(0)&&(n[r[147][e]]=37632+e,t[37632+e]=r[147][e]);for(r[148]="����������������������������������������������������������������擛擜擝擟擠擡擣擥擧擨擩擪擫擬擭擮擯擰擱擲擳擴擵擶擷擸擹擺擻擼擽擾擿攁攂攃攄攅攆攇攈攊攋攌攍攎攏攐攑攓攔攕攖攗攙攚攛攜攝攞攟攠攡�攢攣攤攦攧攨攩攪攬攭攰攱攲攳攷攺攼攽敀敁敂敃敄敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數敹敺敻敼敽敾敿斀斁斂斃斄斅斆斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱斲斳斴斵斶斷斸斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘旙旚旛旜旝旞旟旡旣旤旪旫�".split(""),e=0;e!=r[148].length;++e)65533!==r[148][e].charCodeAt(0)&&(n[r[148][e]]=37888+e,t[37888+e]=r[148][e]);for(r[149]="����������������������������������������������������������������旲旳旴旵旸旹旻旼旽旾旿昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷昸昹昺昻昽昿晀時晄晅晆晇晈晉晊晍晎晐晑晘�晙晛晜晝晞晠晢晣晥晧晩晪晫晬晭晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘暙暚暛暜暞暟暠暡暢暣暤暥暦暩暪暫暬暭暯暰暱暲暳暵暶暷暸暺暻暼暽暿曀曁曂曃曄曅曆曇曈曉曊曋曌曍曎曏曐曑曒曓曔曕曖曗曘曚曞曟曠曡曢曣曤曥曧曨曪曫曬曭曮曯曱曵曶書曺曻曽朁朂會�".split(""),e=0;e!=r[149].length;++e)65533!==r[149][e].charCodeAt(0)&&(n[r[149][e]]=38144+e,t[38144+e]=r[149][e]);for(r[150]="����������������������������������������������������������������朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠朡朢朣朤朥朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗杘杙杚杛杝杢杣杤杦杧杫杬杮東杴杶�杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹枺枻枼枽枾枿柀柂柅柆柇柈柉柊柋柌柍柎柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵柶柷柸柹柺査柼柾栁栂栃栄栆栍栐栒栔栕栘栙栚栛栜栞栟栠栢栣栤栥栦栧栨栫栬栭栮栯栰栱栴栵栶栺栻栿桇桋桍桏桒桖桗桘桙桚桛�".split(""),e=0;e!=r[150].length;++e)65533!==r[150][e].charCodeAt(0)&&(n[r[150][e]]=38400+e,t[38400+e]=r[150][e]);for(r[151]="����������������������������������������������������������������桜桝桞桟桪桬桭桮桯桰桱桲桳桵桸桹桺桻桼桽桾桿梀梂梄梇梈梉梊梋梌梍梎梐梑梒梔梕梖梘梙梚梛梜條梞梟梠梡梣梤梥梩梪梫梬梮梱梲梴梶梷梸�梹梺梻梼梽梾梿棁棃棄棅棆棇棈棊棌棎棏棐棑棓棔棖棗棙棛棜棝棞棟棡棢棤棥棦棧棨棩棪棫棬棭棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆椇椈椉椊椌椏椑椓椔椕椖椗椘椙椚椛検椝椞椡椢椣椥椦椧椨椩椪椫椬椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃楄楅楆楇楈楉楊楋楌楍楎楏楐楑楒楓楕楖楘楙楛楜楟�".split(""),e=0;e!=r[151].length;++e)65533!==r[151][e].charCodeAt(0)&&(n[r[151][e]]=38656+e,t[38656+e]=r[151][e]);for(r[152]="����������������������������������������������������������������楡楢楤楥楧楨楩楪楬業楯楰楲楳楴極楶楺楻楽楾楿榁榃榅榊榋榌榎榏榐榑榒榓榖榗榙榚榝榞榟榠榡榢榣榤榥榦榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽�榾榿槀槂槃槄槅槆槇槈槉構槍槏槑槒槓槕槖槗様槙槚槜槝槞槡槢槣槤槥槦槧槨槩槪槫槬槮槯槰槱槳槴槵槶槷槸槹槺槻槼槾樀樁樂樃樄樅樆樇樈樉樋樌樍樎樏樐樑樒樓樔樕樖標樚樛樜樝樞樠樢樣樤樥樦樧権樫樬樭樮樰樲樳樴樶樷樸樹樺樻樼樿橀橁橂橃橅橆橈橉橊橋橌橍橎橏橑橒橓橔橕橖橗橚�".split(""),e=0;e!=r[152].length;++e)65533!==r[152][e].charCodeAt(0)&&(n[r[152][e]]=38912+e,t[38912+e]=r[152][e]);for(r[153]="����������������������������������������������������������������橜橝橞機橠橢橣橤橦橧橨橩橪橫橬橭橮橯橰橲橳橴橵橶橷橸橺橻橽橾橿檁檂檃檅檆檇檈檉檊檋檌檍檏檒檓檔檕檖檘檙檚檛檜檝檞檟檡檢檣檤檥檦�檧檨檪檭檮檯檰檱檲檳檴檵檶檷檸檹檺檻檼檽檾檿櫀櫁櫂櫃櫄櫅櫆櫇櫈櫉櫊櫋櫌櫍櫎櫏櫐櫑櫒櫓櫔櫕櫖櫗櫘櫙櫚櫛櫜櫝櫞櫟櫠櫡櫢櫣櫤櫥櫦櫧櫨櫩櫪櫫櫬櫭櫮櫯櫰櫱櫲櫳櫴櫵櫶櫷櫸櫹櫺櫻櫼櫽櫾櫿欀欁欂欃欄欅欆欇欈欉權欋欌欍欎欏欐欑欒欓欔欕欖欗欘欙欚欛欜欝欞欟欥欦欨欩欪欫欬欭欮�".split(""),e=0;e!=r[153].length;++e)65533!==r[153][e].charCodeAt(0)&&(n[r[153][e]]=39168+e,t[39168+e]=r[153][e]);for(r[154]="����������������������������������������������������������������欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍歎歏歐歑歒歓歔歕歖歗歘歚歛歜歝歞歟歠歡歨歩歫歬歭歮歯歰歱歲歳歴歵歶歷歸歺歽歾歿殀殅殈�殌殎殏殐殑殔殕殗殘殙殜殝殞殟殠殢殣殤殥殦殧殨殩殫殬殭殮殯殰殱殲殶殸殹殺殻殼殽殾毀毃毄毆毇毈毉毊毌毎毐毑毘毚毜毝毞毟毠毢毣毤毥毦毧毨毩毬毭毮毰毱毲毴毶毷毸毺毻毼毾毿氀氁氂氃氄氈氉氊氋氌氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋汌汍汎汏汑汒汓汖汘�".split(""),e=0;e!=r[154].length;++e)65533!==r[154][e].charCodeAt(0)&&(n[r[154][e]]=39424+e,t[39424+e]=r[154][e]);for(r[155]="����������������������������������������������������������������汙汚汢汣汥汦汧汫汬汭汮汯汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘�泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟洠洡洢洣洤洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽浾浿涀涁涃涄涆涇涊涋涍涏涐涒涖涗涘涙涚涜涢涥涬涭涰涱涳涴涶涷涹涺涻涼涽涾淁淂淃淈淉淊�".split(""),e=0;e!=r[155].length;++e)65533!==r[155][e].charCodeAt(0)&&(n[r[155][e]]=39680+e,t[39680+e]=r[155][e]);for(r[156]="����������������������������������������������������������������淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽淾淿渀渁渂渃渄渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵�渶渷渹渻渼渽渾渿湀湁湂湅湆湇湈湉湊湋湌湏湐湑湒湕湗湙湚湜湝湞湠湡湢湣湤湥湦湧湨湩湪湬湭湯湰湱湲湳湴湵湶湷湸湹湺湻湼湽満溁溂溄溇溈溊溋溌溍溎溑溒溓溔溕準溗溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪滫滬滭滮滯�".split(""),e=0;e!=r[156].length;++e)65533!==r[156][e].charCodeAt(0)&&(n[r[156][e]]=39936+e,t[39936+e]=r[156][e]);for(r[157]="����������������������������������������������������������������滰滱滲滳滵滶滷滸滺滻滼滽滾滿漀漁漃漄漅漇漈漊漋漌漍漎漐漑漒漖漗漘漙漚漛漜漝漞漟漡漢漣漥漦漧漨漬漮漰漲漴漵漷漸漹漺漻漼漽漿潀潁潂�潃潄潅潈潉潊潌潎潏潐潑潒潓潔潕潖潗潙潚潛潝潟潠潡潣潤潥潧潨潩潪潫潬潯潰潱潳潵潶潷潹潻潽潾潿澀澁澂澃澅澆澇澊澋澏澐澑澒澓澔澕澖澗澘澙澚澛澝澞澟澠澢澣澤澥澦澨澩澪澫澬澭澮澯澰澱澲澴澵澷澸澺澻澼澽澾澿濁濃濄濅濆濇濈濊濋濌濍濎濏濐濓濔濕濖濗濘濙濚濛濜濝濟濢濣濤濥�".split(""),e=0;e!=r[157].length;++e)65533!==r[157][e].charCodeAt(0)&&(n[r[157][e]]=40192+e,t[40192+e]=r[157][e]);for(r[158]="����������������������������������������������������������������濦濧濨濩濪濫濬濭濰濱濲濳濴濵濶濷濸濹濺濻濼濽濾濿瀀瀁瀂瀃瀄瀅瀆瀇瀈瀉瀊瀋瀌瀍瀎瀏瀐瀒瀓瀔瀕瀖瀗瀘瀙瀜瀝瀞瀟瀠瀡瀢瀤瀥瀦瀧瀨瀩瀪�瀫瀬瀭瀮瀯瀰瀱瀲瀳瀴瀶瀷瀸瀺瀻瀼瀽瀾瀿灀灁灂灃灄灅灆灇灈灉灊灋灍灎灐灑灒灓灔灕灖灗灘灙灚灛灜灝灟灠灡灢灣灤灥灦灧灨灩灪灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞炟炠炡炢炣炤炥炦炧炨炩炪炰炲炴炵炶為炾炿烄烅烆烇烉烋烌烍烎烏烐烑烒烓烔烕烖烗烚�".split(""),e=0;e!=r[158].length;++e)65533!==r[158][e].charCodeAt(0)&&(n[r[158][e]]=40448+e,t[40448+e]=r[158][e]);for(r[159]="����������������������������������������������������������������烜烝烞烠烡烢烣烥烪烮烰烱烲烳烴烵烶烸烺烻烼烾烿焀焁焂焃焄焅焆焇焈焋焌焍焎焏焑焒焔焗焛焜焝焞焟焠無焢焣焤焥焧焨焩焪焫焬焭焮焲焳焴�焵焷焸焹焺焻焼焽焾焿煀煁煂煃煄煆煇煈煉煋煍煏煐煑煒煓煔煕煖煗煘煙煚煛煝煟煠煡煢煣煥煩煪煫煬煭煯煰煱煴煵煶煷煹煻煼煾煿熀熁熂熃熅熆熇熈熉熋熌熍熎熐熑熒熓熕熖熗熚熛熜熝熞熡熢熣熤熥熦熧熩熪熫熭熮熯熰熱熲熴熶熷熸熺熻熼熽熾熿燀燁燂燄燅燆燇燈燉燊燋燌燍燏燐燑燒燓�".split(""),e=0;e!=r[159].length;++e)65533!==r[159][e].charCodeAt(0)&&(n[r[159][e]]=40704+e,t[40704+e]=r[159][e]);for(r[160]="����������������������������������������������������������������燖燗燘燙燚燛燜燝燞營燡燢燣燤燦燨燩燪燫燬燭燯燰燱燲燳燴燵燶燷燸燺燻燼燽燾燿爀爁爂爃爄爅爇爈爉爊爋爌爍爎爏爐爑爒爓爔爕爖爗爘爙爚�爛爜爞爟爠爡爢爣爤爥爦爧爩爫爭爮爯爲爳爴爺爼爾牀牁牂牃牄牅牆牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅犆犇犈犉犌犎犐犑犓犔犕犖犗犘犙犚犛犜犝犞犠犡犢犣犤犥犦犧犨犩犪犫犮犱犲犳犵犺犻犼犽犾犿狀狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛�".split(""),e=0;e!=r[160].length;++e)65533!==r[160][e].charCodeAt(0)&&(n[r[160][e]]=40960+e,t[40960+e]=r[160][e]);for(r[161]="����������������������������������������������������������������������������������������������������������������������������������������������������������������� 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈〉《》「」『』〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓�".split(""),e=0;e!=r[161].length;++e)65533!==r[161][e].charCodeAt(0)&&(n[r[161][e]]=41216+e,t[41216+e]=r[161][e]);for(r[162]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ������⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩��㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩��ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ���".split(""),e=0;e!=r[162].length;++e)65533!==r[162][e].charCodeAt(0)&&(n[r[162][e]]=41472+e,t[41472+e]=r[162][e]);for(r[163]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������!"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} ̄�".split(""),e=0;e!=r[163].length;++e)65533!==r[163][e].charCodeAt(0)&&(n[r[163][e]]=41728+e,t[41728+e]=r[163][e]);for(r[164]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������".split(""),e=0;e!=r[164].length;++e)65533!==r[164][e].charCodeAt(0)&&(n[r[164][e]]=41984+e,t[41984+e]=r[164][e]);for(r[165]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������".split(""),e=0;e!=r[165].length;++e)65533!==r[165][e].charCodeAt(0)&&(n[r[165][e]]=42240+e,t[42240+e]=r[165][e]);for(r[166]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�������︵︶︹︺︿﹀︽︾﹁﹂﹃﹄��︻︼︷︸︱�︳︴����������".split(""),e=0;e!=r[166].length;++e)65533!==r[166][e].charCodeAt(0)&&(n[r[166][e]]=42496+e,t[42496+e]=r[166][e]);for(r[167]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������".split(""),e=0;e!=r[167].length;++e)65533!==r[167][e].charCodeAt(0)&&(n[r[167][e]]=42752+e,t[42752+e]=r[167][e]);for(r[168]="����������������������������������������������������������������ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═║╒╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡╢╣╤╥╦╧╨╩╪╫╬╭╮╯╰╱╲╳▁▂▃▄▅▆▇�█▉▊▋▌▍▎▏▓▔▕▼▽◢◣◤◥☉⊕〒〝〞�����������āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ�ńň�ɡ����ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ����������������������".split(""),e=0;e!=r[168].length;++e)65533!==r[168][e].charCodeAt(0)&&(n[r[168][e]]=43008+e,t[43008+e]=r[168][e]);for(r[169]="����������������������������������������������������������������〡〢〣〤〥〦〧〨〩㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦�℡㈱�‐���ー゛゜ヽヾ〆ゝゞ﹉﹊﹋﹌﹍﹎﹏﹐﹑﹒﹔﹕﹖﹗﹙﹚﹛﹜﹝﹞﹟﹠﹡�﹢﹣﹤﹥﹦﹨﹩﹪﹫�������������〇�������������─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋����������������".split(""),e=0;e!=r[169].length;++e)65533!==r[169][e].charCodeAt(0)&&(n[r[169][e]]=43264+e,t[43264+e]=r[169][e]);for(r[170]="����������������������������������������������������������������狜狝狟狢狣狤狥狦狧狪狫狵狶狹狽狾狿猀猂猄猅猆猇猈猉猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀獁獂獃獄獅獆獇獈�獉獊獋獌獎獏獑獓獔獕獖獘獙獚獛獜獝獞獟獡獢獣獤獥獦獧獨獩獪獫獮獰獱�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[170].length;++e)65533!==r[170][e].charCodeAt(0)&&(n[r[170][e]]=43520+e,t[43520+e]=r[170][e]);for(r[171]="����������������������������������������������������������������獲獳獴獵獶獷獸獹獺獻獼獽獿玀玁玂玃玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣玤玥玦玧玨玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃珄珅珆珇�珋珌珎珒珓珔珕珖珗珘珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳珴珵珶珷�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[171].length;++e)65533!==r[171][e].charCodeAt(0)&&(n[r[171][e]]=43776+e,t[43776+e]=r[171][e]);for(r[172]="����������������������������������������������������������������珸珹珺珻珼珽現珿琀琁琂琄琇琈琋琌琍琎琑琒琓琔琕琖琗琘琙琜琝琞琟琠琡琣琤琧琩琫琭琯琱琲琷琸琹琺琻琽琾琿瑀瑂瑃瑄瑅瑆瑇瑈瑉瑊瑋瑌瑍�瑎瑏瑐瑑瑒瑓瑔瑖瑘瑝瑠瑡瑢瑣瑤瑥瑦瑧瑨瑩瑪瑫瑬瑮瑯瑱瑲瑳瑴瑵瑸瑹瑺�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[172].length;++e)65533!==r[172][e].charCodeAt(0)&&(n[r[172][e]]=44032+e,t[44032+e]=r[172][e]);for(r[173]="����������������������������������������������������������������瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑璒璓璔璕璖璗璘璙璚璛璝璟璠璡璢璣璤璥璦璪璫璬璭璮璯環璱璲璳璴璵璶璷璸璹璻璼璽璾璿瓀瓁瓂瓃瓄瓅瓆瓇�瓈瓉瓊瓋瓌瓍瓎瓏瓐瓑瓓瓔瓕瓖瓗瓘瓙瓚瓛瓝瓟瓡瓥瓧瓨瓩瓪瓫瓬瓭瓰瓱瓲�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[173].length;++e)65533!==r[173][e].charCodeAt(0)&&(n[r[173][e]]=44288+e,t[44288+e]=r[173][e]);for(r[174]="����������������������������������������������������������������瓳瓵瓸瓹瓺瓻瓼瓽瓾甀甁甂甃甅甆甇甈甉甊甋甌甎甐甒甔甕甖甗甛甝甞甠甡產産甤甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘�畝畞畟畠畡畢畣畤畧畨畩畫畬畭畮畯異畱畳畵當畷畺畻畼畽畾疀疁疂疄疅疇�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[174].length;++e)65533!==r[174][e].charCodeAt(0)&&(n[r[174][e]]=44544+e,t[44544+e]=r[174][e]);for(r[175]="����������������������������������������������������������������疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦疧疨疩疪疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇�瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[175].length;++e)65533!==r[175][e].charCodeAt(0)&&(n[r[175][e]]=44800+e,t[44800+e]=r[175][e]);for(r[176]="����������������������������������������������������������������癅癆癇癈癉癊癋癎癏癐癑癒癓癕癗癘癙癚癛癝癟癠癡癢癤癥癦癧癨癩癪癬癭癮癰癱癲癳癴癵癶癷癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛�皜皝皞皟皠皡皢皣皥皦皧皨皩皪皫皬皭皯皰皳皵皶皷皸皹皺皻皼皽皾盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥�".split(""),e=0;e!=r[176].length;++e)65533!==r[176][e].charCodeAt(0)&&(n[r[176][e]]=45056+e,t[45056+e]=r[176][e]);for(r[177]="����������������������������������������������������������������盄盇盉盋盌盓盕盙盚盜盝盞盠盡盢監盤盦盧盨盩盪盫盬盭盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎眏眐眑眒眓眔眕眖眗眘眛眜眝眞眡眣眤眥眧眪眫�眬眮眰眱眲眳眴眹眻眽眾眿睂睄睅睆睈睉睊睋睌睍睎睏睒睓睔睕睖睗睘睙睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳�".split(""),e=0;e!=r[177].length;++e)65533!==r[177][e].charCodeAt(0)&&(n[r[177][e]]=45312+e,t[45312+e]=r[177][e]);for(r[178]="����������������������������������������������������������������睝睞睟睠睤睧睩睪睭睮睯睰睱睲睳睴睵睶睷睸睺睻睼瞁瞂瞃瞆瞇瞈瞉瞊瞋瞏瞐瞓瞔瞕瞖瞗瞘瞙瞚瞛瞜瞝瞞瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶瞷瞸瞹瞺�瞼瞾矀矁矂矃矄矅矆矇矈矉矊矋矌矎矏矐矑矒矓矔矕矖矘矙矚矝矞矟矠矡矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖�".split(""),e=0;e!=r[178].length;++e)65533!==r[178][e].charCodeAt(0)&&(n[r[178][e]]=45568+e,t[45568+e]=r[178][e]);for(r[179]="����������������������������������������������������������������矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃砄砅砆砇砈砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚�硛硜硞硟硠硡硢硣硤硥硦硧硨硩硯硰硱硲硳硴硵硶硸硹硺硻硽硾硿碀碁碂碃场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚�".split(""),e=0;e!=r[179].length;++e)65533!==r[179][e].charCodeAt(0)&&(n[r[179][e]]=45824+e,t[45824+e]=r[179][e]);for(r[180]="����������������������������������������������������������������碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨碩碪碫碬碭碮碯碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚磛磜磝磞磟磠磡磢磣�磤磥磦磧磩磪磫磭磮磯磰磱磳磵磶磸磹磻磼磽磾磿礀礂礃礄礆礇礈礉礊礋礌础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮�".split(""),e=0;e!=r[180].length;++e)65533!==r[180][e].charCodeAt(0)&&(n[r[180][e]]=46080+e,t[46080+e]=r[180][e]);for(r[181]="����������������������������������������������������������������礍礎礏礐礑礒礔礕礖礗礘礙礚礛礜礝礟礠礡礢礣礥礦礧礨礩礪礫礬礭礮礯礰礱礲礳礵礶礷礸礹礽礿祂祃祄祅祇祊祋祌祍祎祏祐祑祒祔祕祘祙祡祣�祤祦祩祪祫祬祮祰祱祲祳祴祵祶祹祻祼祽祾祿禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠�".split(""),e=0;e!=r[181].length;++e)65533!==r[181][e].charCodeAt(0)&&(n[r[181][e]]=46336+e,t[46336+e]=r[181][e]);for(r[182]="����������������������������������������������������������������禓禔禕禖禗禘禙禛禜禝禞禟禠禡禢禣禤禥禦禨禩禪禫禬禭禮禯禰禱禲禴禵禶禷禸禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙秚秛秜秝秞秠秡秢秥秨秪�秬秮秱秲秳秴秵秶秷秹秺秼秾秿稁稄稅稇稈稉稊稌稏稐稑稒稓稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二�".split(""),e=0;e!=r[182].length;++e)65533!==r[182][e].charCodeAt(0)&&(n[r[182][e]]=46592+e,t[46592+e]=r[182][e]);for(r[183]="����������������������������������������������������������������稝稟稡稢稤稥稦稧稨稩稪稫稬稭種稯稰稱稲稴稵稶稸稺稾穀穁穂穃穄穅穇穈穉穊穋穌積穎穏穐穒穓穔穕穖穘穙穚穛穜穝穞穟穠穡穢穣穤穥穦穧穨�穩穪穫穬穭穮穯穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服�".split(""),e=0;e!=r[183].length;++e)65533!==r[183][e].charCodeAt(0)&&(n[r[183][e]]=46848+e,t[46848+e]=r[183][e]);for(r[184]="����������������������������������������������������������������窣窤窧窩窪窫窮窯窰窱窲窴窵窶窷窸窹窺窻窼窽窾竀竁竂竃竄竅竆竇竈竉竊竌竍竎竏竐竑竒竓竔竕竗竘竚竛竜竝竡竢竤竧竨竩竪竫竬竮竰竱竲竳�竴竵競竷竸竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹�".split(""),e=0;e!=r[184].length;++e)65533!==r[184][e].charCodeAt(0)&&(n[r[184][e]]=47104+e,t[47104+e]=r[184][e]);for(r[185]="����������������������������������������������������������������笯笰笲笴笵笶笷笹笻笽笿筀筁筂筃筄筆筈筊筍筎筓筕筗筙筜筞筟筡筣筤筥筦筧筨筩筪筫筬筭筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆箇箈箉箊箋箌箎箏�箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹箺箻箼箽箾箿節篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈�".split(""),e=0;e!=r[185].length;++e)65533!==r[185][e].charCodeAt(0)&&(n[r[185][e]]=47360+e,t[47360+e]=r[185][e]);for(r[186]="����������������������������������������������������������������篅篈築篊篋篍篎篏篐篒篔篕篖篗篘篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲篳篴篵篶篸篹篺篻篽篿簀簁簂簃簄簅簆簈簉簊簍簎簐簑簒簓簔簕簗簘簙�簚簛簜簝簞簠簡簢簣簤簥簨簩簫簬簭簮簯簰簱簲簳簴簵簶簷簹簺簻簼簽簾籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖�".split(""),e=0;e!=r[186].length;++e)65533!==r[186][e].charCodeAt(0)&&(n[r[186][e]]=47616+e,t[47616+e]=r[186][e]);for(r[187]="����������������������������������������������������������������籃籄籅籆籇籈籉籊籋籌籎籏籐籑籒籓籔籕籖籗籘籙籚籛籜籝籞籟籠籡籢籣籤籥籦籧籨籩籪籫籬籭籮籯籰籱籲籵籶籷籸籹籺籾籿粀粁粂粃粄粅粆粇�粈粊粋粌粍粎粏粐粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴粵粶粷粸粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕�".split(""),e=0;e!=r[187].length;++e)65533!==r[187][e].charCodeAt(0)&&(n[r[187][e]]=47872+e,t[47872+e]=r[187][e]);for(r[188]="����������������������������������������������������������������粿糀糂糃糄糆糉糋糎糏糐糑糒糓糔糘糚糛糝糞糡糢糣糤糥糦糧糩糪糫糬糭糮糰糱糲糳糴糵糶糷糹糺糼糽糾糿紀紁紂紃約紅紆紇紈紉紋紌納紎紏紐�紑紒紓純紕紖紗紘紙級紛紜紝紞紟紡紣紤紥紦紨紩紪紬紭紮細紱紲紳紴紵紶肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件�".split(""),e=0;e!=r[188].length;++e)65533!==r[188][e].charCodeAt(0)&&(n[r[188][e]]=48128+e,t[48128+e]=r[188][e]);for(r[189]="����������������������������������������������������������������紷紸紹紺紻紼紽紾紿絀絁終絃組絅絆絇絈絉絊絋経絍絎絏結絑絒絓絔絕絖絗絘絙絚絛絜絝絞絟絠絡絢絣絤絥給絧絨絩絪絫絬絭絯絰統絲絳絴絵絶�絸絹絺絻絼絽絾絿綀綁綂綃綄綅綆綇綈綉綊綋綌綍綎綏綐綑綒經綔綕綖綗綘健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸�".split(""),e=0;e!=r[189].length;++e)65533!==r[189][e].charCodeAt(0)&&(n[r[189][e]]=48384+e,t[48384+e]=r[189][e]);for(r[190]="����������������������������������������������������������������継続綛綜綝綞綟綠綡綢綣綤綥綧綨綩綪綫綬維綯綰綱網綳綴綵綶綷綸綹綺綻綼綽綾綿緀緁緂緃緄緅緆緇緈緉緊緋緌緍緎総緐緑緒緓緔緕緖緗緘緙�線緛緜緝緞緟締緡緢緣緤緥緦緧編緩緪緫緬緭緮緯緰緱緲緳練緵緶緷緸緹緺尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻�".split(""),e=0;e!=r[190].length;++e)65533!==r[190][e].charCodeAt(0)&&(n[r[190][e]]=48640+e,t[48640+e]=r[190][e]);for(r[191]="����������������������������������������������������������������緻緼緽緾緿縀縁縂縃縄縅縆縇縈縉縊縋縌縍縎縏縐縑縒縓縔縕縖縗縘縙縚縛縜縝縞縟縠縡縢縣縤縥縦縧縨縩縪縫縬縭縮縯縰縱縲縳縴縵縶縷縸縹�縺縼總績縿繀繂繃繄繅繆繈繉繊繋繌繍繎繏繐繑繒繓織繕繖繗繘繙繚繛繜繝俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀�".split(""),e=0;e!=r[191].length;++e)65533!==r[191][e].charCodeAt(0)&&(n[r[191][e]]=48896+e,t[48896+e]=r[191][e]);for(r[192]="����������������������������������������������������������������繞繟繠繡繢繣繤繥繦繧繨繩繪繫繬繭繮繯繰繱繲繳繴繵繶繷繸繹繺繻繼繽繾繿纀纁纃纄纅纆纇纈纉纊纋續纍纎纏纐纑纒纓纔纕纖纗纘纙纚纜纝纞�纮纴纻纼绖绤绬绹缊缐缞缷缹缻缼缽缾缿罀罁罃罆罇罈罉罊罋罌罍罎罏罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐�".split(""),e=0;e!=r[192].length;++e)65533!==r[192][e].charCodeAt(0)&&(n[r[192][e]]=49152+e,t[49152+e]=r[192][e]);for(r[193]="����������������������������������������������������������������罖罙罛罜罝罞罠罣罤罥罦罧罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂羃羄羅羆羇羈羉羋羍羏羐羑羒羓羕羖羗羘羙羛羜羠羢羣羥羦羨義羪羫羬羭羮羱�羳羴羵羶羷羺羻羾翀翂翃翄翆翇翈翉翋翍翏翐翑習翓翖翗翙翚翛翜翝翞翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿�".split(""),e=0;e!=r[193].length;++e)65533!==r[193][e].charCodeAt(0)&&(n[r[193][e]]=49408+e,t[49408+e]=r[193][e]);for(r[194]="����������������������������������������������������������������翤翧翨翪翫翬翭翯翲翴翵翶翷翸翹翺翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫耬耭耮耯耰耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗�聙聛聜聝聞聟聠聡聢聣聤聥聦聧聨聫聬聭聮聯聰聲聳聴聵聶職聸聹聺聻聼聽隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫�".split(""),e=0;e!=r[194].length;++e)65533!==r[194][e].charCodeAt(0)&&(n[r[194][e]]=49664+e,t[49664+e]=r[194][e]);for(r[195]="����������������������������������������������������������������聾肁肂肅肈肊肍肎肏肐肑肒肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇胈胉胊胋胏胐胑胒胓胔胕胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋�脌脕脗脙脛脜脝脟脠脡脢脣脤脥脦脧脨脩脪脫脭脮脰脳脴脵脷脹脺脻脼脽脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸�".split(""),e=0;e!=r[195].length;++e)65533!==r[195][e].charCodeAt(0)&&(n[r[195][e]]=49920+e,t[49920+e]=r[195][e]);for(r[196]="����������������������������������������������������������������腀腁腂腃腄腅腇腉腍腎腏腒腖腗腘腛腜腝腞腟腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃膄膅膆膇膉膋膌膍膎膐膒膓膔膕膖膗膙膚膞膟膠膡膢膤膥�膧膩膫膬膭膮膯膰膱膲膴膵膶膷膸膹膼膽膾膿臄臅臇臈臉臋臍臎臏臐臑臒臓摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁�".split(""),e=0;e!=r[196].length;++e)65533!==r[196][e].charCodeAt(0)&&(n[r[196][e]]=50176+e,t[50176+e]=r[196][e]);for(r[197]="����������������������������������������������������������������臔臕臖臗臘臙臚臛臜臝臞臟臠臡臢臤臥臦臨臩臫臮臯臰臱臲臵臶臷臸臹臺臽臿舃與興舉舊舋舎舏舑舓舕舖舗舘舙舚舝舠舤舥舦舧舩舮舲舺舼舽舿�艀艁艂艃艅艆艈艊艌艍艎艐艑艒艓艔艕艖艗艙艛艜艝艞艠艡艢艣艤艥艦艧艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗�".split(""),e=0;e!=r[197].length;++e)65533!==r[197][e].charCodeAt(0)&&(n[r[197][e]]=50432+e,t[50432+e]=r[197][e]);for(r[198]="����������������������������������������������������������������艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸�苺苼苽苾苿茀茊茋茍茐茒茓茖茘茙茝茞茟茠茡茢茣茤茥茦茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐�".split(""),e=0;e!=r[198].length;++e)65533!==r[198][e].charCodeAt(0)&&(n[r[198][e]]=50688+e,t[50688+e]=r[198][e]);for(r[199]="����������������������������������������������������������������茾茿荁荂荄荅荈荊荋荌荍荎荓荕荖荗荘荙荝荢荰荱荲荳荴荵荶荹荺荾荿莀莁莂莃莄莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡莢莣莤莥莦莧莬莭莮�莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠�".split(""),e=0;e!=r[199].length;++e)65533!==r[199][e].charCodeAt(0)&&(n[r[199][e]]=50944+e,t[50944+e]=r[199][e]);for(r[200]="����������������������������������������������������������������菮華菳菴菵菶菷菺菻菼菾菿萀萂萅萇萈萉萊萐萒萓萔萕萖萗萙萚萛萞萟萠萡萢萣萩萪萫萬萭萮萯萰萲萳萴萵萶萷萹萺萻萾萿葀葁葂葃葄葅葇葈葉�葊葋葌葍葎葏葐葒葓葔葕葖葘葝葞葟葠葢葤葥葦葧葨葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁�".split(""),e=0;e!=r[200].length;++e)65533!==r[200][e].charCodeAt(0)&&(n[r[200][e]]=51200+e,t[51200+e]=r[200][e]);for(r[201]="����������������������������������������������������������������葽葾葿蒀蒁蒃蒄蒅蒆蒊蒍蒏蒐蒑蒒蒓蒔蒕蒖蒘蒚蒛蒝蒞蒟蒠蒢蒣蒤蒥蒦蒧蒨蒩蒪蒫蒬蒭蒮蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗�蓘蓙蓚蓛蓜蓞蓡蓢蓤蓧蓨蓩蓪蓫蓭蓮蓯蓱蓲蓳蓴蓵蓶蓷蓸蓹蓺蓻蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳�".split(""),e=0;e!=r[201].length;++e)65533!==r[201][e].charCodeAt(0)&&(n[r[201][e]]=51456+e,t[51456+e]=r[201][e]);for(r[202]="����������������������������������������������������������������蔃蔄蔅蔆蔇蔈蔉蔊蔋蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢蔣蔤蔥蔦蔧蔨蔩蔪蔭蔮蔯蔰蔱蔲蔳蔴蔵蔶蔾蔿蕀蕁蕂蕄蕅蕆蕇蕋蕌蕍蕎蕏蕐蕑蕒蕓蕔蕕�蕗蕘蕚蕛蕜蕝蕟蕠蕡蕢蕣蕥蕦蕧蕩蕪蕫蕬蕭蕮蕯蕰蕱蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱�".split(""),e=0;e!=r[202].length;++e)65533!==r[202][e].charCodeAt(0)&&(n[r[202][e]]=51712+e,t[51712+e]=r[202][e]);for(r[203]="����������������������������������������������������������������薂薃薆薈薉薊薋薌薍薎薐薑薒薓薔薕薖薗薘薙薚薝薞薟薠薡薢薣薥薦薧薩薫薬薭薱薲薳薴薵薶薸薺薻薼薽薾薿藀藂藃藄藅藆藇藈藊藋藌藍藎藑藒�藔藖藗藘藙藚藛藝藞藟藠藡藢藣藥藦藧藨藪藫藬藭藮藯藰藱藲藳藴藵藶藷藸恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔�".split(""),e=0;e!=r[203].length;++e)65533!==r[203][e].charCodeAt(0)&&(n[r[203][e]]=51968+e,t[51968+e]=r[203][e]);for(r[204]="����������������������������������������������������������������藹藺藼藽藾蘀蘁蘂蘃蘄蘆蘇蘈蘉蘊蘋蘌蘍蘎蘏蘐蘒蘓蘔蘕蘗蘘蘙蘚蘛蘜蘝蘞蘟蘠蘡蘢蘣蘤蘥蘦蘨蘪蘫蘬蘭蘮蘯蘰蘱蘲蘳蘴蘵蘶蘷蘹蘺蘻蘽蘾蘿虀�虁虂虃虄虅虆虇虈虉虊虋虌虒虓處虖虗虘虙虛虜虝號虠虡虣虤虥虦虧虨虩虪獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃�".split(""),e=0;e!=r[204].length;++e)65533!==r[204][e].charCodeAt(0)&&(n[r[204][e]]=52224+e,t[52224+e]=r[204][e]);for(r[205]="����������������������������������������������������������������虭虯虰虲虳虴虵虶虷虸蚃蚄蚅蚆蚇蚈蚉蚎蚏蚐蚑蚒蚔蚖蚗蚘蚙蚚蚛蚞蚟蚠蚡蚢蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻蚼蚽蚾蚿蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜�蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威�".split(""),e=0;e!=r[205].length;++e)65533!==r[205][e].charCodeAt(0)&&(n[r[205][e]]=52480+e,t[52480+e]=r[205][e]);for(r[206]="����������������������������������������������������������������蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀蝁蝂蝃蝄蝅蝆蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚蝛蝜蝝蝞蝟蝡蝢蝦蝧蝨蝩蝪蝫蝬蝭蝯蝱蝲蝳蝵�蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎螏螐螑螒螔螕螖螘螙螚螛螜螝螞螠螡螢螣螤巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺�".split(""),e=0;e!=r[206].length;++e)65533!==r[206][e].charCodeAt(0)&&(n[r[206][e]]=52736+e,t[52736+e]=r[206][e]);for(r[207]="����������������������������������������������������������������螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁蟂蟃蟄蟅蟇蟈蟉蟌蟍蟎蟏蟐蟔蟕蟖蟗蟘蟙蟚蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯蟰蟱蟲蟳蟴蟵蟶蟷蟸�蟺蟻蟼蟽蟿蠀蠁蠂蠄蠅蠆蠇蠈蠉蠋蠌蠍蠎蠏蠐蠑蠒蠔蠗蠘蠙蠚蠜蠝蠞蠟蠠蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓�".split(""),e=0;e!=r[207].length;++e)65533!==r[207][e].charCodeAt(0)&&(n[r[207][e]]=52992+e,t[52992+e]=r[207][e]);for(r[208]="����������������������������������������������������������������蠤蠥蠦蠧蠨蠩蠪蠫蠬蠭蠮蠯蠰蠱蠳蠴蠵蠶蠷蠸蠺蠻蠽蠾蠿衁衂衃衆衇衈衉衊衋衎衏衐衑衒術衕衖衘衚衛衜衝衞衟衠衦衧衪衭衯衱衳衴衵衶衸衹衺�衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗袘袙袚袛袝袞袟袠袡袣袥袦袧袨袩袪小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄�".split(""),e=0;e!=r[208].length;++e)65533!==r[208][e].charCodeAt(0)&&(n[r[208][e]]=53248+e,t[53248+e]=r[208][e]);for(r[209]="����������������������������������������������������������������袬袮袯袰袲袳袴袵袶袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚裛補裝裞裠裡裦裧裩裪裫裬裭裮裯裲裵裶裷裺裻製裿褀褁褃褄褅褆複褈�褉褋褌褍褎褏褑褔褕褖褗褘褜褝褞褟褠褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶�".split(""),e=0;e!=r[209].length;++e)65533!==r[209][e].charCodeAt(0)&&(n[r[209][e]]=53504+e,t[53504+e]=r[209][e]);for(r[210]="����������������������������������������������������������������褸褹褺褻褼褽褾褿襀襂襃襅襆襇襈襉襊襋襌襍襎襏襐襑襒襓襔襕襖襗襘襙襚襛襜襝襠襡襢襣襤襥襧襨襩襪襫襬襭襮襯襰襱襲襳襴襵襶襷襸襹襺襼�襽襾覀覂覄覅覇覈覉覊見覌覍覎規覐覑覒覓覔覕視覗覘覙覚覛覜覝覞覟覠覡摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐�".split(""),e=0;e!=r[210].length;++e)65533!==r[210][e].charCodeAt(0)&&(n[r[210][e]]=53760+e,t[53760+e]=r[210][e]);for(r[211]="����������������������������������������������������������������覢覣覤覥覦覧覨覩親覫覬覭覮覯覰覱覲観覴覵覶覷覸覹覺覻覼覽覾覿觀觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴觵觶觷觸觹觺�觻觼觽觾觿訁訂訃訄訅訆計訉訊訋訌訍討訏訐訑訒訓訔訕訖託記訙訚訛訜訝印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉�".split(""),e=0;e!=r[211].length;++e)65533!==r[211][e].charCodeAt(0)&&(n[r[211][e]]=54016+e,t[54016+e]=r[211][e]);for(r[212]="����������������������������������������������������������������訞訟訠訡訢訣訤訥訦訧訨訩訪訫訬設訮訯訰許訲訳訴訵訶訷訸訹診註証訽訿詀詁詂詃詄詅詆詇詉詊詋詌詍詎詏詐詑詒詓詔評詖詗詘詙詚詛詜詝詞�詟詠詡詢詣詤詥試詧詨詩詪詫詬詭詮詯詰話該詳詴詵詶詷詸詺詻詼詽詾詿誀浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧�".split(""),e=0;e!=r[212].length;++e)65533!==r[212][e].charCodeAt(0)&&(n[r[212][e]]=54272+e,t[54272+e]=r[212][e]);for(r[213]="����������������������������������������������������������������誁誂誃誄誅誆誇誈誋誌認誎誏誐誑誒誔誕誖誗誘誙誚誛誜誝語誟誠誡誢誣誤誥誦誧誨誩說誫説読誮誯誰誱課誳誴誵誶誷誸誹誺誻誼誽誾調諀諁諂�諃諄諅諆談諈諉諊請諌諍諎諏諐諑諒諓諔諕論諗諘諙諚諛諜諝諞諟諠諡諢諣铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政�".split(""),e=0;e!=r[213].length;++e)65533!==r[213][e].charCodeAt(0)&&(n[r[213][e]]=54528+e,t[54528+e]=r[213][e]);for(r[214]="����������������������������������������������������������������諤諥諦諧諨諩諪諫諬諭諮諯諰諱諲諳諴諵諶諷諸諹諺諻諼諽諾諿謀謁謂謃謄謅謆謈謉謊謋謌謍謎謏謐謑謒謓謔謕謖謗謘謙謚講謜謝謞謟謠謡謢謣�謤謥謧謨謩謪謫謬謭謮謯謰謱謲謳謴謵謶謷謸謹謺謻謼謽謾謿譀譁譂譃譄譅帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑�".split(""),e=0;e!=r[214].length;++e)65533!==r[214][e].charCodeAt(0)&&(n[r[214][e]]=54784+e,t[54784+e]=r[214][e]);for(r[215]="����������������������������������������������������������������譆譇譈證譊譋譌譍譎譏譐譑譒譓譔譕譖譗識譙譚譛譜譝譞譟譠譡譢譣譤譥譧譨譩譪譫譭譮譯議譱譲譳譴譵譶護譸譹譺譻譼譽譾譿讀讁讂讃讄讅讆�讇讈讉變讋讌讍讎讏讐讑讒讓讔讕讖讗讘讙讚讛讜讝讞讟讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座������".split(""),e=0;e!=r[215].length;++e)65533!==r[215][e].charCodeAt(0)&&(n[r[215][e]]=55040+e,t[55040+e]=r[215][e]);for(r[216]="����������������������������������������������������������������谸谹谺谻谼谽谾谿豀豂豃豄豅豈豊豋豍豎豏豐豑豒豓豔豖豗豘豙豛豜豝豞豟豠豣豤豥豦豧豨豩豬豭豮豯豰豱豲豴豵豶豷豻豼豽豾豿貀貁貃貄貆貇�貈貋貍貎貏貐貑貒貓貕貖貗貙貚貛貜貝貞貟負財貢貣貤貥貦貧貨販貪貫責貭亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝�".split(""),e=0;e!=r[216].length;++e)65533!==r[216][e].charCodeAt(0)&&(n[r[216][e]]=55296+e,t[55296+e]=r[216][e]);for(r[217]="����������������������������������������������������������������貮貯貰貱貲貳貴貵貶買貸貹貺費貼貽貾貿賀賁賂賃賄賅賆資賈賉賊賋賌賍賎賏賐賑賒賓賔賕賖賗賘賙賚賛賜賝賞賟賠賡賢賣賤賥賦賧賨賩質賫賬�賭賮賯賰賱賲賳賴賵賶賷賸賹賺賻購賽賾賿贀贁贂贃贄贅贆贇贈贉贊贋贌贍佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼�".split(""),e=0;e!=r[217].length;++e)65533!==r[217][e].charCodeAt(0)&&(n[r[217][e]]=55552+e,t[55552+e]=r[217][e]);for(r[218]="����������������������������������������������������������������贎贏贐贑贒贓贔贕贖贗贘贙贚贛贜贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸赹赺赻赼赽赾赿趀趂趃趆趇趈趉趌趍趎趏趐趒趓趕趖趗趘趙趚趛趜趝趞趠趡�趢趤趥趦趧趨趩趪趫趬趭趮趯趰趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺�".split(""),e=0;e!=r[218].length;++e)65533!==r[218][e].charCodeAt(0)&&(n[r[218][e]]=55808+e,t[55808+e]=r[218][e]);for(r[219]="����������������������������������������������������������������跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾跿踀踁踂踃踄踆踇踈踋踍踎踐踑踒踓踕踖踗踘踙踚踛踜踠踡踤踥踦踧踨踫踭踰踲踳踴踶踷踸踻踼踾�踿蹃蹅蹆蹌蹍蹎蹏蹐蹓蹔蹕蹖蹗蹘蹚蹛蹜蹝蹞蹟蹠蹡蹢蹣蹤蹥蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝�".split(""),e=0;e!=r[219].length;++e)65533!==r[219][e].charCodeAt(0)&&(n[r[219][e]]=56064+e,t[56064+e]=r[219][e]);for(r[220]="����������������������������������������������������������������蹳蹵蹷蹸蹹蹺蹻蹽蹾躀躂躃躄躆躈躉躊躋躌躍躎躑躒躓躕躖躗躘躙躚躛躝躟躠躡躢躣躤躥躦躧躨躩躪躭躮躰躱躳躴躵躶躷躸躹躻躼躽躾躿軀軁軂�軃軄軅軆軇軈軉車軋軌軍軏軐軑軒軓軔軕軖軗軘軙軚軛軜軝軞軟軠軡転軣軤堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥�".split(""),e=0;e!=r[220].length;++e)65533!==r[220][e].charCodeAt(0)&&(n[r[220][e]]=56320+e,t[56320+e]=r[220][e]);for(r[221]="����������������������������������������������������������������軥軦軧軨軩軪軫軬軭軮軯軰軱軲軳軴軵軶軷軸軹軺軻軼軽軾軿輀輁輂較輄輅輆輇輈載輊輋輌輍輎輏輐輑輒輓輔輕輖輗輘輙輚輛輜輝輞輟輠輡輢輣�輤輥輦輧輨輩輪輫輬輭輮輯輰輱輲輳輴輵輶輷輸輹輺輻輼輽輾輿轀轁轂轃轄荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺�".split(""),e=0;e!=r[221].length;++e)65533!==r[221][e].charCodeAt(0)&&(n[r[221][e]]=56576+e,t[56576+e]=r[221][e]);for(r[222]="����������������������������������������������������������������轅轆轇轈轉轊轋轌轍轎轏轐轑轒轓轔轕轖轗轘轙轚轛轜轝轞轟轠轡轢轣轤轥轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆�迉迊迋迌迍迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖�".split(""),e=0;e!=r[222].length;++e)65533!==r[222][e].charCodeAt(0)&&(n[r[222][e]]=56832+e,t[56832+e]=r[222][e]);for(r[223]="����������������������������������������������������������������這逜連逤逥逧逨逩逪逫逬逰週進逳逴逷逹逺逽逿遀遃遅遆遈遉遊運遌過達違遖遙遚遜遝遞遟遠遡遤遦遧適遪遫遬遯遰遱遲遳遶遷選遹遺遻遼遾邁�還邅邆邇邉邊邌邍邎邏邐邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼�".split(""),e=0;e!=r[223].length;++e)65533!==r[223][e].charCodeAt(0)&&(n[r[223][e]]=57088+e,t[57088+e]=r[223][e]);for(r[224]="����������������������������������������������������������������郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅鄆鄇鄈鄉鄊鄋鄌鄍鄎鄏鄐鄑鄒鄓鄔鄕鄖鄗鄘鄚鄛鄜�鄝鄟鄠鄡鄤鄥鄦鄧鄨鄩鄪鄫鄬鄭鄮鄰鄲鄳鄴鄵鄶鄷鄸鄺鄻鄼鄽鄾鄿酀酁酂酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼�".split(""),e=0;e!=r[224].length;++e)65533!==r[224][e].charCodeAt(0)&&(n[r[224][e]]=57344+e,t[57344+e]=r[224][e]);for(r[225]="����������������������������������������������������������������酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀醁醂醃醄醆醈醊醎醏醓醔醕醖醗醘醙醜醝醞醟醠醡醤醥醦醧醨醩醫醬醰醱醲醳醶醷醸醹醻�醼醽醾醿釀釁釂釃釄釅釆釈釋釐釒釓釔釕釖釗釘釙釚釛針釞釟釠釡釢釣釤釥帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺�".split(""),e=0;e!=r[225].length;++e)65533!==r[225][e].charCodeAt(0)&&(n[r[225][e]]=57600+e,t[57600+e]=r[225][e]);for(r[226]="����������������������������������������������������������������釦釧釨釩釪釫釬釭釮釯釰釱釲釳釴釵釶釷釸釹釺釻釼釽釾釿鈀鈁鈂鈃鈄鈅鈆鈇鈈鈉鈊鈋鈌鈍鈎鈏鈐鈑鈒鈓鈔鈕鈖鈗鈘鈙鈚鈛鈜鈝鈞鈟鈠鈡鈢鈣鈤�鈥鈦鈧鈨鈩鈪鈫鈬鈭鈮鈯鈰鈱鈲鈳鈴鈵鈶鈷鈸鈹鈺鈻鈼鈽鈾鈿鉀鉁鉂鉃鉄鉅狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧饨饩饪饫饬饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂�".split(""),e=0;e!=r[226].length;++e)65533!==r[226][e].charCodeAt(0)&&(n[r[226][e]]=57856+e,t[57856+e]=r[226][e]);for(r[227]="����������������������������������������������������������������鉆鉇鉈鉉鉊鉋鉌鉍鉎鉏鉐鉑鉒鉓鉔鉕鉖鉗鉘鉙鉚鉛鉜鉝鉞鉟鉠鉡鉢鉣鉤鉥鉦鉧鉨鉩鉪鉫鉬鉭鉮鉯鉰鉱鉲鉳鉵鉶鉷鉸鉹鉺鉻鉼鉽鉾鉿銀銁銂銃銄銅�銆銇銈銉銊銋銌銍銏銐銑銒銓銔銕銖銗銘銙銚銛銜銝銞銟銠銡銢銣銤銥銦銧恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾�".split(""),e=0;e!=r[227].length;++e)65533!==r[227][e].charCodeAt(0)&&(n[r[227][e]]=58112+e,t[58112+e]=r[227][e]);for(r[228]="����������������������������������������������������������������銨銩銪銫銬銭銯銰銱銲銳銴銵銶銷銸銹銺銻銼銽銾銿鋀鋁鋂鋃鋄鋅鋆鋇鋉鋊鋋鋌鋍鋎鋏鋐鋑鋒鋓鋔鋕鋖鋗鋘鋙鋚鋛鋜鋝鋞鋟鋠鋡鋢鋣鋤鋥鋦鋧鋨�鋩鋪鋫鋬鋭鋮鋯鋰鋱鋲鋳鋴鋵鋶鋷鋸鋹鋺鋻鋼鋽鋾鋿錀錁錂錃錄錅錆錇錈錉洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑�".split(""),e=0;e!=r[228].length;++e)65533!==r[228][e].charCodeAt(0)&&(n[r[228][e]]=58368+e,t[58368+e]=r[228][e]);for(r[229]="����������������������������������������������������������������錊錋錌錍錎錏錐錑錒錓錔錕錖錗錘錙錚錛錜錝錞錟錠錡錢錣錤錥錦錧錨錩錪錫錬錭錮錯錰錱録錳錴錵錶錷錸錹錺錻錼錽錿鍀鍁鍂鍃鍄鍅鍆鍇鍈鍉�鍊鍋鍌鍍鍎鍏鍐鍑鍒鍓鍔鍕鍖鍗鍘鍙鍚鍛鍜鍝鍞鍟鍠鍡鍢鍣鍤鍥鍦鍧鍨鍩鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣�".split(""),e=0;e!=r[229].length;++e)65533!==r[229][e].charCodeAt(0)&&(n[r[229][e]]=58624+e,t[58624+e]=r[229][e]);for(r[230]="����������������������������������������������������������������鍬鍭鍮鍯鍰鍱鍲鍳鍴鍵鍶鍷鍸鍹鍺鍻鍼鍽鍾鍿鎀鎁鎂鎃鎄鎅鎆鎇鎈鎉鎊鎋鎌鎍鎎鎐鎑鎒鎓鎔鎕鎖鎗鎘鎙鎚鎛鎜鎝鎞鎟鎠鎡鎢鎣鎤鎥鎦鎧鎨鎩鎪鎫�鎬鎭鎮鎯鎰鎱鎲鎳鎴鎵鎶鎷鎸鎹鎺鎻鎼鎽鎾鎿鏀鏁鏂鏃鏄鏅鏆鏇鏈鏉鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩�".split(""),e=0;e!=r[230].length;++e)65533!==r[230][e].charCodeAt(0)&&(n[r[230][e]]=58880+e,t[58880+e]=r[230][e]);for(r[231]="����������������������������������������������������������������鏎鏏鏐鏑鏒鏓鏔鏕鏗鏘鏙鏚鏛鏜鏝鏞鏟鏠鏡鏢鏣鏤鏥鏦鏧鏨鏩鏪鏫鏬鏭鏮鏯鏰鏱鏲鏳鏴鏵鏶鏷鏸鏹鏺鏻鏼鏽鏾鏿鐀鐁鐂鐃鐄鐅鐆鐇鐈鐉鐊鐋鐌鐍�鐎鐏鐐鐑鐒鐓鐔鐕鐖鐗鐘鐙鐚鐛鐜鐝鐞鐟鐠鐡鐢鐣鐤鐥鐦鐧鐨鐩鐪鐫鐬鐭鐮纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡缢缣缤缥缦缧缪缫缬缭缯缰缱缲缳缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬�".split(""),e=0;e!=r[231].length;++e)65533!==r[231][e].charCodeAt(0)&&(n[r[231][e]]=59136+e,t[59136+e]=r[231][e]);for(r[232]="����������������������������������������������������������������鐯鐰鐱鐲鐳鐴鐵鐶鐷鐸鐹鐺鐻鐼鐽鐿鑀鑁鑂鑃鑄鑅鑆鑇鑈鑉鑊鑋鑌鑍鑎鑏鑐鑑鑒鑓鑔鑕鑖鑗鑘鑙鑚鑛鑜鑝鑞鑟鑠鑡鑢鑣鑤鑥鑦鑧鑨鑩鑪鑬鑭鑮鑯�鑰鑱鑲鑳鑴鑵鑶鑷鑸鑹鑺鑻鑼鑽鑾鑿钀钁钂钃钄钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹�".split(""),e=0;e!=r[232].length;++e)65533!==r[232][e].charCodeAt(0)&&(n[r[232][e]]=59392+e,t[59392+e]=r[232][e]);for(r[233]="����������������������������������������������������������������锧锳锽镃镈镋镕镚镠镮镴镵長镸镹镺镻镼镽镾門閁閂閃閄閅閆閇閈閉閊開閌閍閎閏閐閑閒間閔閕閖閗閘閙閚閛閜閝閞閟閠閡関閣閤閥閦閧閨閩閪�閫閬閭閮閯閰閱閲閳閴閵閶閷閸閹閺閻閼閽閾閿闀闁闂闃闄闅闆闇闈闉闊闋椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋�".split(""),e=0;e!=r[233].length;++e)65533!==r[233][e].charCodeAt(0)&&(n[r[233][e]]=59648+e,t[59648+e]=r[233][e]);for(r[234]="����������������������������������������������������������������闌闍闎闏闐闑闒闓闔闕闖闗闘闙闚闛關闝闞闟闠闡闢闣闤闥闦闧闬闿阇阓阘阛阞阠阣阤阥阦阧阨阩阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗�陘陙陚陜陝陞陠陣陥陦陫陭陮陯陰陱陳陸陹険陻陼陽陾陿隀隁隂隃隄隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰�".split(""),e=0;e!=r[234].length;++e)65533!==r[234][e].charCodeAt(0)&&(n[r[234][e]]=59904+e,t[59904+e]=r[234][e]);for(r[235]="����������������������������������������������������������������隌階隑隒隓隕隖隚際隝隞隟隠隡隢隣隤隥隦隨隩險隫隬隭隮隯隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖雗雘雙雚雛雜雝雞雟雡離難雤雥雦雧雫�雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗霘霙霚霛霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻�".split(""),e=0;e!=r[235].length;++e)65533!==r[235][e].charCodeAt(0)&&(n[r[235][e]]=60160+e,t[60160+e]=r[235][e]);for(r[236]="����������������������������������������������������������������霡霢霣霤霥霦霧霨霩霫霬霮霯霱霳霴霵霶霷霺霻霼霽霿靀靁靂靃靄靅靆靇靈靉靊靋靌靍靎靏靐靑靔靕靗靘靚靜靝靟靣靤靦靧靨靪靫靬靭靮靯靰靱�靲靵靷靸靹靺靻靽靾靿鞀鞁鞂鞃鞄鞆鞇鞈鞉鞊鞌鞎鞏鞐鞓鞕鞖鞗鞙鞚鞛鞜鞝臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐�".split(""),e=0;e!=r[236].length;++e)65533!==r[236][e].charCodeAt(0)&&(n[r[236][e]]=60416+e,t[60416+e]=r[236][e]);for(r[237]="����������������������������������������������������������������鞞鞟鞡鞢鞤鞥鞦鞧鞨鞩鞪鞬鞮鞰鞱鞳鞵鞶鞷鞸鞹鞺鞻鞼鞽鞾鞿韀韁韂韃韄韅韆韇韈韉韊韋韌韍韎韏韐韑韒韓韔韕韖韗韘韙韚韛韜韝韞韟韠韡韢韣�韤韥韨韮韯韰韱韲韴韷韸韹韺韻韼韽韾響頀頁頂頃頄項順頇須頉頊頋頌頍頎怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨�".split(""),e=0;e!=r[237].length;++e)65533!==r[237][e].charCodeAt(0)&&(n[r[237][e]]=60672+e,t[60672+e]=r[237][e]);for(r[238]="����������������������������������������������������������������頏預頑頒頓頔頕頖頗領頙頚頛頜頝頞頟頠頡頢頣頤頥頦頧頨頩頪頫頬頭頮頯頰頱頲頳頴頵頶頷頸頹頺頻頼頽頾頿顀顁顂顃顄顅顆顇顈顉顊顋題額�顎顏顐顑顒顓顔顕顖顗願顙顚顛顜顝類顟顠顡顢顣顤顥顦顧顨顩顪顫顬顭顮睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶钷钸钹钺钼钽钿铄铈铉铊铋铌铍铎铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪�".split(""),e=0;e!=r[238].length;++e)65533!==r[238][e].charCodeAt(0)&&(n[r[238][e]]=60928+e,t[60928+e]=r[238][e]);for(r[239]="����������������������������������������������������������������顯顰顱顲顳顴颋颎颒颕颙颣風颩颪颫颬颭颮颯颰颱颲颳颴颵颶颷颸颹颺颻颼颽颾颿飀飁飂飃飄飅飆飇飈飉飊飋飌飍飏飐飔飖飗飛飜飝飠飡飢飣飤�飥飦飩飪飫飬飭飮飯飰飱飲飳飴飵飶飷飸飹飺飻飼飽飾飿餀餁餂餃餄餅餆餇铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒锓锔锕锖锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤镥镦镧镨镩镪镫镬镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔�".split(""),e=0;e!=r[239].length;++e)65533!==r[239][e].charCodeAt(0)&&(n[r[239][e]]=61184+e,t[61184+e]=r[239][e]);for(r[240]="����������������������������������������������������������������餈餉養餋餌餎餏餑餒餓餔餕餖餗餘餙餚餛餜餝餞餟餠餡餢餣餤餥餦餧館餩餪餫餬餭餯餰餱餲餳餴餵餶餷餸餹餺餻餼餽餾餿饀饁饂饃饄饅饆饇饈饉�饊饋饌饍饎饏饐饑饒饓饖饗饘饙饚饛饜饝饞饟饠饡饢饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨鸩鸪鸫鸬鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦鹧鹨鹩鹪鹫鹬鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙�".split(""),e=0;e!=r[240].length;++e)65533!==r[240][e].charCodeAt(0)&&(n[r[240][e]]=61440+e,t[61440+e]=r[240][e]);for(r[241]="����������������������������������������������������������������馌馎馚馛馜馝馞馟馠馡馢馣馤馦馧馩馪馫馬馭馮馯馰馱馲馳馴馵馶馷馸馹馺馻馼馽馾馿駀駁駂駃駄駅駆駇駈駉駊駋駌駍駎駏駐駑駒駓駔駕駖駗駘�駙駚駛駜駝駞駟駠駡駢駣駤駥駦駧駨駩駪駫駬駭駮駯駰駱駲駳駴駵駶駷駸駹瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃�".split(""),e=0;e!=r[241].length;++e)65533!==r[241][e].charCodeAt(0)&&(n[r[241][e]]=61696+e,t[61696+e]=r[241][e]);for(r[242]="����������������������������������������������������������������駺駻駼駽駾駿騀騁騂騃騄騅騆騇騈騉騊騋騌騍騎騏騐騑騒験騔騕騖騗騘騙騚騛騜騝騞騟騠騡騢騣騤騥騦騧騨騩騪騫騬騭騮騯騰騱騲騳騴騵騶騷騸�騹騺騻騼騽騾騿驀驁驂驃驄驅驆驇驈驉驊驋驌驍驎驏驐驑驒驓驔驕驖驗驘驙颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒�".split(""),e=0;e!=r[242].length;++e)65533!==r[242][e].charCodeAt(0)&&(n[r[242][e]]=61952+e,t[61952+e]=r[242][e]);for(r[243]="����������������������������������������������������������������驚驛驜驝驞驟驠驡驢驣驤驥驦驧驨驩驪驫驲骃骉骍骎骔骕骙骦骩骪骫骬骭骮骯骲骳骴骵骹骻骽骾骿髃髄髆髇髈髉髊髍髎髏髐髒體髕髖髗髙髚髛髜�髝髞髠髢髣髤髥髧髨髩髪髬髮髰髱髲髳髴髵髶髷髸髺髼髽髾髿鬀鬁鬂鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋�".split(""),e=0;e!=r[243].length;++e)65533!==r[243][e].charCodeAt(0)&&(n[r[243][e]]=62208+e,t[62208+e]=r[243][e]);for(r[244]="����������������������������������������������������������������鬇鬉鬊鬋鬌鬍鬎鬐鬑鬒鬔鬕鬖鬗鬘鬙鬚鬛鬜鬝鬞鬠鬡鬢鬤鬥鬦鬧鬨鬩鬪鬫鬬鬭鬮鬰鬱鬳鬴鬵鬶鬷鬸鬹鬺鬽鬾鬿魀魆魊魋魌魎魐魒魓魕魖魗魘魙魚�魛魜魝魞魟魠魡魢魣魤魥魦魧魨魩魪魫魬魭魮魯魰魱魲魳魴魵魶魷魸魹魺魻簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤�".split(""),e=0;e!=r[244].length;++e)65533!==r[244][e].charCodeAt(0)&&(n[r[244][e]]=62464+e,t[62464+e]=r[244][e]);for(r[245]="����������������������������������������������������������������魼魽魾魿鮀鮁鮂鮃鮄鮅鮆鮇鮈鮉鮊鮋鮌鮍鮎鮏鮐鮑鮒鮓鮔鮕鮖鮗鮘鮙鮚鮛鮜鮝鮞鮟鮠鮡鮢鮣鮤鮥鮦鮧鮨鮩鮪鮫鮬鮭鮮鮯鮰鮱鮲鮳鮴鮵鮶鮷鮸鮹鮺�鮻鮼鮽鮾鮿鯀鯁鯂鯃鯄鯅鯆鯇鯈鯉鯊鯋鯌鯍鯎鯏鯐鯑鯒鯓鯔鯕鯖鯗鯘鯙鯚鯛酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜�".split(""),e=0;e!=r[245].length;++e)65533!==r[245][e].charCodeAt(0)&&(n[r[245][e]]=62720+e,t[62720+e]=r[245][e]);for(r[246]="����������������������������������������������������������������鯜鯝鯞鯟鯠鯡鯢鯣鯤鯥鯦鯧鯨鯩鯪鯫鯬鯭鯮鯯鯰鯱鯲鯳鯴鯵鯶鯷鯸鯹鯺鯻鯼鯽鯾鯿鰀鰁鰂鰃鰄鰅鰆鰇鰈鰉鰊鰋鰌鰍鰎鰏鰐鰑鰒鰓鰔鰕鰖鰗鰘鰙鰚�鰛鰜鰝鰞鰟鰠鰡鰢鰣鰤鰥鰦鰧鰨鰩鰪鰫鰬鰭鰮鰯鰰鰱鰲鰳鰴鰵鰶鰷鰸鰹鰺鰻觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅龆龇龈龉龊龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞鲟鲠鲡鲢鲣鲥鲦鲧鲨鲩鲫鲭鲮鲰鲱鲲鲳鲴鲵鲶鲷鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋�".split(""),e=0;e!=r[246].length;++e)65533!==r[246][e].charCodeAt(0)&&(n[r[246][e]]=62976+e,t[62976+e]=r[246][e]);for(r[247]="����������������������������������������������������������������鰼鰽鰾鰿鱀鱁鱂鱃鱄鱅鱆鱇鱈鱉鱊鱋鱌鱍鱎鱏鱐鱑鱒鱓鱔鱕鱖鱗鱘鱙鱚鱛鱜鱝鱞鱟鱠鱡鱢鱣鱤鱥鱦鱧鱨鱩鱪鱫鱬鱭鱮鱯鱰鱱鱲鱳鱴鱵鱶鱷鱸鱹鱺�鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾鲿鳀鳁鳂鳈鳉鳑鳒鳚鳛鳠鳡鳌鳍鳎鳏鳐鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄�".split(""),e=0;e!=r[247].length;++e)65533!==r[247][e].charCodeAt(0)&&(n[r[247][e]]=63232+e,t[63232+e]=r[247][e]);for(r[248]="����������������������������������������������������������������鳣鳤鳥鳦鳧鳨鳩鳪鳫鳬鳭鳮鳯鳰鳱鳲鳳鳴鳵鳶鳷鳸鳹鳺鳻鳼鳽鳾鳿鴀鴁鴂鴃鴄鴅鴆鴇鴈鴉鴊鴋鴌鴍鴎鴏鴐鴑鴒鴓鴔鴕鴖鴗鴘鴙鴚鴛鴜鴝鴞鴟鴠鴡�鴢鴣鴤鴥鴦鴧鴨鴩鴪鴫鴬鴭鴮鴯鴰鴱鴲鴳鴴鴵鴶鴷鴸鴹鴺鴻鴼鴽鴾鴿鵀鵁鵂�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[248].length;++e)65533!==r[248][e].charCodeAt(0)&&(n[r[248][e]]=63488+e,t[63488+e]=r[248][e]);for(r[249]="����������������������������������������������������������������鵃鵄鵅鵆鵇鵈鵉鵊鵋鵌鵍鵎鵏鵐鵑鵒鵓鵔鵕鵖鵗鵘鵙鵚鵛鵜鵝鵞鵟鵠鵡鵢鵣鵤鵥鵦鵧鵨鵩鵪鵫鵬鵭鵮鵯鵰鵱鵲鵳鵴鵵鵶鵷鵸鵹鵺鵻鵼鵽鵾鵿鶀鶁�鶂鶃鶄鶅鶆鶇鶈鶉鶊鶋鶌鶍鶎鶏鶐鶑鶒鶓鶔鶕鶖鶗鶘鶙鶚鶛鶜鶝鶞鶟鶠鶡鶢�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[249].length;++e)65533!==r[249][e].charCodeAt(0)&&(n[r[249][e]]=63744+e,t[63744+e]=r[249][e]);for(r[250]="����������������������������������������������������������������鶣鶤鶥鶦鶧鶨鶩鶪鶫鶬鶭鶮鶯鶰鶱鶲鶳鶴鶵鶶鶷鶸鶹鶺鶻鶼鶽鶾鶿鷀鷁鷂鷃鷄鷅鷆鷇鷈鷉鷊鷋鷌鷍鷎鷏鷐鷑鷒鷓鷔鷕鷖鷗鷘鷙鷚鷛鷜鷝鷞鷟鷠鷡�鷢鷣鷤鷥鷦鷧鷨鷩鷪鷫鷬鷭鷮鷯鷰鷱鷲鷳鷴鷵鷶鷷鷸鷹鷺鷻鷼鷽鷾鷿鸀鸁鸂�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[250].length;++e)65533!==r[250][e].charCodeAt(0)&&(n[r[250][e]]=64e3+e,t[64e3+e]=r[250][e]);for(r[251]="����������������������������������������������������������������鸃鸄鸅鸆鸇鸈鸉鸊鸋鸌鸍鸎鸏鸐鸑鸒鸓鸔鸕鸖鸗鸘鸙鸚鸛鸜鸝鸞鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴鹵鹶鹷鹸鹹鹺鹻鹼鹽麀�麁麃麄麅麆麉麊麌麍麎麏麐麑麔麕麖麗麘麙麚麛麜麞麠麡麢麣麤麥麧麨麩麪�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[251].length;++e)65533!==r[251][e].charCodeAt(0)&&(n[r[251][e]]=64256+e,t[64256+e]=r[251][e]);for(r[252]="����������������������������������������������������������������麫麬麭麮麯麰麱麲麳麵麶麷麹麺麼麿黀黁黂黃黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰黱黲黳黴黵黶黷黸黺黽黿鼀鼁鼂鼃鼄鼅�鼆鼇鼈鼉鼊鼌鼏鼑鼒鼔鼕鼖鼘鼚鼛鼜鼝鼞鼟鼡鼣鼤鼥鼦鼧鼨鼩鼪鼫鼭鼮鼰鼱�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[252].length;++e)65533!==r[252][e].charCodeAt(0)&&(n[r[252][e]]=64512+e,t[64512+e]=r[252][e]);for(r[253]="����������������������������������������������������������������鼲鼳鼴鼵鼶鼸鼺鼼鼿齀齁齂齃齅齆齇齈齉齊齋齌齍齎齏齒齓齔齕齖齗齘齙齚齛齜齝齞齟齠齡齢齣齤齥齦齧齨齩齪齫齬齭齮齯齰齱齲齳齴齵齶齷齸�齹齺齻齼齽齾龁龂龍龎龏龐龑龒龓龔龕龖龗龘龜龝龞龡龢龣龤龥郎凉秊裏隣�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[253].length;++e)65533!==r[253][e].charCodeAt(0)&&(n[r[253][e]]=64768+e,t[64768+e]=r[253][e]);for(r[254]="����������������������������������������������������������������兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������".split(""),e=0;e!=r[254].length;++e)65533!==r[254][e].charCodeAt(0)&&(n[r[254][e]]=65024+e,t[65024+e]=r[254][e]);return{enc:n,dec:t}}(),n[949]=function(){var e,t=[],n={},r=[];for(r[0]="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~��������������������������������������������������������������������������������������������������������������������������������".split(""),e=0;e!=r[0].length;++e)65533!==r[0][e].charCodeAt(0)&&(n[r[0][e]]=0+e,t[0+e]=r[0][e]);for(r[129]="�����������������������������������������������������������������갂갃갅갆갋갌갍갎갏갘갞갟갡갢갣갥갦갧갨갩갪갫갮갲갳갴������갵갶갷갺갻갽갾갿걁걂걃걄걅걆걇걈걉걊걌걎걏걐걑걒걓걕������걖걗걙걚걛걝걞걟걠걡걢걣걤걥걦걧걨걩걪걫걬걭걮걯걲걳걵걶걹걻걼걽걾걿겂겇겈겍겎겏겑겒겓겕겖겗겘겙겚겛겞겢겣겤겥겦겧겫겭겮겱겲겳겴겵겶겷겺겾겿곀곂곃곅곆곇곉곊곋곍곎곏곐곑곒곓곔곖곘곙곚곛곜곝곞곟곢곣곥곦곩곫곭곮곲곴곷곸곹곺곻곾곿괁괂괃괅괇괈괉괊괋괎괐괒괓�".split(""),e=0;e!=r[129].length;++e)65533!==r[129][e].charCodeAt(0)&&(n[r[129][e]]=33024+e,t[33024+e]=r[129][e]);for(r[130]="�����������������������������������������������������������������괔괕괖괗괙괚괛괝괞괟괡괢괣괤괥괦괧괨괪괫괮괯괰괱괲괳������괶괷괹괺괻괽괾괿굀굁굂굃굆굈굊굋굌굍굎굏굑굒굓굕굖굗������굙굚굛굜굝굞굟굠굢굤굥굦굧굨굩굪굫굮굯굱굲굷굸굹굺굾궀궃궄궅궆궇궊궋궍궎궏궑궒궓궔궕궖궗궘궙궚궛궞궟궠궡궢궣궥궦궧궨궩궪궫궬궭궮궯궰궱궲궳궴궵궶궸궹궺궻궼궽궾궿귂귃귅귆귇귉귊귋귌귍귎귏귒귔귕귖귗귘귙귚귛귝귞귟귡귢귣귥귦귧귨귩귪귫귬귭귮귯귰귱귲귳귴귵귶귷�".split(""),e=0;e!=r[130].length;++e)65533!==r[130][e].charCodeAt(0)&&(n[r[130][e]]=33280+e,t[33280+e]=r[130][e]);for(r[131]="�����������������������������������������������������������������귺귻귽귾긂긃긄긅긆긇긊긌긎긏긐긑긒긓긕긖긗긘긙긚긛긜������긝긞긟긠긡긢긣긤긥긦긧긨긩긪긫긬긭긮긯긲긳긵긶긹긻긼������긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗깘깙깚깛깞깢깣깤깦깧깪깫깭깮깯깱깲깳깴깵깶깷깺깾깿꺀꺁꺂꺃꺆꺇꺈꺉꺊꺋꺍꺎꺏꺐꺑꺒꺓꺔꺕꺖꺗꺘꺙꺚꺛꺜꺝꺞꺟꺠꺡꺢꺣꺤꺥꺦꺧꺨꺩꺪꺫꺬꺭꺮꺯꺰꺱꺲꺳꺴꺵꺶꺷꺸꺹꺺꺻꺿껁껂껃껅껆껇껈껉껊껋껎껒껓껔껕껖껗껚껛껝껞껟껠껡껢껣껤껥�".split(""),e=0;e!=r[131].length;++e)65533!==r[131][e].charCodeAt(0)&&(n[r[131][e]]=33536+e,t[33536+e]=r[131][e]);for(r[132]="�����������������������������������������������������������������껦껧껩껪껬껮껯껰껱껲껳껵껶껷껹껺껻껽껾껿꼀꼁꼂꼃꼄꼅������꼆꼉꼊꼋꼌꼎꼏꼑꼒꼓꼔꼕꼖꼗꼘꼙꼚꼛꼜꼝꼞꼟꼠꼡꼢꼣������꼤꼥꼦꼧꼨꼩꼪꼫꼮꼯꼱꼳꼵꼶꼷꼸꼹꼺꼻꼾꽀꽄꽅꽆꽇꽊꽋꽌꽍꽎꽏꽑꽒꽓꽔꽕꽖꽗꽘꽙꽚꽛꽞꽟꽠꽡꽢꽣꽦꽧꽨꽩꽪꽫꽬꽭꽮꽯꽰꽱꽲꽳꽴꽵꽶꽷꽸꽺꽻꽼꽽꽾꽿꾁꾂꾃꾅꾆꾇꾉꾊꾋꾌꾍꾎꾏꾒꾓꾔꾖꾗꾘꾙꾚꾛꾝꾞꾟꾠꾡꾢꾣꾤꾥꾦꾧꾨꾩꾪꾫꾬꾭꾮꾯꾰꾱꾲꾳꾴꾵꾶꾷꾺꾻꾽꾾�".split(""),e=0;e!=r[132].length;++e)65533!==r[132][e].charCodeAt(0)&&(n[r[132][e]]=33792+e,t[33792+e]=r[132][e]);for(r[133]="�����������������������������������������������������������������꾿꿁꿂꿃꿄꿅꿆꿊꿌꿏꿐꿑꿒꿓꿕꿖꿗꿘꿙꿚꿛꿝꿞꿟꿠꿡������꿢꿣꿤꿥꿦꿧꿪꿫꿬꿭꿮꿯꿲꿳꿵꿶꿷꿹꿺꿻꿼꿽꿾꿿뀂뀃������뀅뀆뀇뀈뀉뀊뀋뀍뀎뀏뀑뀒뀓뀕뀖뀗뀘뀙뀚뀛뀞뀟뀠뀡뀢뀣뀤뀥뀦뀧뀩뀪뀫뀬뀭뀮뀯뀰뀱뀲뀳뀴뀵뀶뀷뀸뀹뀺뀻뀼뀽뀾뀿끀끁끂끃끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞끟끠끡끢끣끤끥끦끧끨끩끪끫끬끭끮끯끰끱끲끳끴끵끶끷끸끹끺끻끾끿낁낂낃낅낆낇낈낉낊낋낎낐낒낓낔낕낖낗낛낝낞낣낤�".split(""),e=0;e!=r[133].length;++e)65533!==r[133][e].charCodeAt(0)&&(n[r[133][e]]=34048+e,t[34048+e]=r[133][e]);for(r[134]="�����������������������������������������������������������������낥낦낧낪낰낲낶낷낹낺낻낽낾낿냀냁냂냃냆냊냋냌냍냎냏냒������냓냕냖냗냙냚냛냜냝냞냟냡냢냣냤냦냧냨냩냪냫냬냭냮냯냰������냱냲냳냴냵냶냷냸냹냺냻냼냽냾냿넀넁넂넃넄넅넆넇넊넍넎넏넑넔넕넖넗넚넞넟넠넡넢넦넧넩넪넫넭넮넯넰넱넲넳넶넺넻넼넽넾넿녂녃녅녆녇녉녊녋녌녍녎녏녒녓녖녗녙녚녛녝녞녟녡녢녣녤녥녦녧녨녩녪녫녬녭녮녯녰녱녲녳녴녵녶녷녺녻녽녾녿놁놃놄놅놆놇놊놌놎놏놐놑놕놖놗놙놚놛놝�".split(""),e=0;e!=r[134].length;++e)65533!==r[134][e].charCodeAt(0)&&(n[r[134][e]]=34304+e,t[34304+e]=r[134][e]);for(r[135]="�����������������������������������������������������������������놞놟놠놡놢놣놤놥놦놧놩놪놫놬놭놮놯놰놱놲놳놴놵놶놷놸������놹놺놻놼놽놾놿뇀뇁뇂뇃뇄뇅뇆뇇뇈뇉뇊뇋뇍뇎뇏뇑뇒뇓뇕������뇖뇗뇘뇙뇚뇛뇞뇠뇡뇢뇣뇤뇥뇦뇧뇪뇫뇭뇮뇯뇱뇲뇳뇴뇵뇶뇷뇸뇺뇼뇾뇿눀눁눂눃눆눇눉눊눍눎눏눐눑눒눓눖눘눚눛눜눝눞눟눡눢눣눤눥눦눧눨눩눪눫눬눭눮눯눰눱눲눳눵눶눷눸눹눺눻눽눾눿뉀뉁뉂뉃뉄뉅뉆뉇뉈뉉뉊뉋뉌뉍뉎뉏뉐뉑뉒뉓뉔뉕뉖뉗뉙뉚뉛뉝뉞뉟뉡뉢뉣뉤뉥뉦뉧뉪뉫뉬뉭뉮�".split(""),e=0;e!=r[135].length;++e)65533!==r[135][e].charCodeAt(0)&&(n[r[135][e]]=34560+e,t[34560+e]=r[135][e]);for(r[136]="�����������������������������������������������������������������뉯뉰뉱뉲뉳뉶뉷뉸뉹뉺뉻뉽뉾뉿늀늁늂늃늆늇늈늊늋늌늍늎������늏늒늓늕늖늗늛늜늝늞늟늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷������늸늹늺늻늼늽늾늿닀닁닂닃닄닅닆닇닊닋닍닎닏닑닓닔닕닖닗닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉댊댋댌댍댎댏댒댖댗댘댙댚댛댝댞댟댠댡댢댣댤댥댦댧댨댩댪댫댬댭댮댯댰댱댲댳댴댵댶댷댸댹댺댻댼댽댾댿덀덁덂덃덄덅덆덇덈덉덊덋덌덍덎덏덐덑덒덓덗덙덚덝덠덡덢덣�".split(""),e=0;e!=r[136].length;++e)65533!==r[136][e].charCodeAt(0)&&(n[r[136][e]]=34816+e,t[34816+e]=r[136][e]);for(r[137]="�����������������������������������������������������������������덦덨덪덬덭덯덲덳덵덶덷덹덺덻덼덽덾덿뎂뎆뎇뎈뎉뎊뎋뎍������뎎뎏뎑뎒뎓뎕뎖뎗뎘뎙뎚뎛뎜뎝뎞뎟뎢뎣뎤뎥뎦뎧뎩뎪뎫뎭������뎮뎯뎰뎱뎲뎳뎴뎵뎶뎷뎸뎹뎺뎻뎼뎽뎾뎿돀돁돂돃돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩돪돫돬돭돮돯돰돱돲돳돴돵돶돷돸돹돺돻돽돾돿됀됁됂됃됄됅됆됇됈됉됊됋됌됍됎됏됑됒됓됔됕됖됗됙됚됛됝됞됟됡됢됣됤됥됦됧됪됬됭됮됯됰됱됲됳됵됶됷됸됹됺됻됼됽됾됿둀둁둂둃둄�".split(""),e=0;e!=r[137].length;++e)65533!==r[137][e].charCodeAt(0)&&(n[r[137][e]]=35072+e,t[35072+e]=r[137][e]);for(r[138]="�����������������������������������������������������������������둅둆둇둈둉둊둋둌둍둎둏둒둓둕둖둗둙둚둛둜둝둞둟둢둤둦������둧둨둩둪둫둭둮둯둰둱둲둳둴둵둶둷둸둹둺둻둼둽둾둿뒁뒂������뒃뒄뒅뒆뒇뒉뒊뒋뒌뒍뒎뒏뒐뒑뒒뒓뒔뒕뒖뒗뒘뒙뒚뒛뒜뒞뒟뒠뒡뒢뒣뒥뒦뒧뒩뒪뒫뒭뒮뒯뒰뒱뒲뒳뒴뒶뒸뒺뒻뒼뒽뒾뒿듁듂듃듅듆듇듉듊듋듌듍듎듏듑듒듓듔듖듗듘듙듚듛듞듟듡듢듥듧듨듩듪듫듮듰듲듳듴듵듶듷듹듺듻듼듽듾듿딀딁딂딃딄딅딆딇딈딉딊딋딌딍딎딏딐딑딒딓딖딗딙딚딝�".split(""),e=0;e!=r[138].length;++e)65533!==r[138][e].charCodeAt(0)&&(n[r[138][e]]=35328+e,t[35328+e]=r[138][e]);for(r[139]="�����������������������������������������������������������������딞딟딠딡딢딣딦딫딬딭딮딯딲딳딵딶딷딹딺딻딼딽딾딿땂땆������땇땈땉땊땎땏땑땒땓땕땖땗땘땙땚땛땞땢땣땤땥땦땧땨땩땪������땫땬땭땮땯땰땱땲땳땴땵땶땷땸땹땺땻땼땽땾땿떀떁떂떃떄떅떆떇떈떉떊떋떌떍떎떏떐떑떒떓떔떕떖떗떘떙떚떛떜떝떞떟떢떣떥떦떧떩떬떭떮떯떲떶떷떸떹떺떾떿뗁뗂뗃뗅뗆뗇뗈뗉뗊뗋뗎뗒뗓뗔뗕뗖뗗뗙뗚뗛뗜뗝뗞뗟뗠뗡뗢뗣뗤뗥뗦뗧뗨뗩뗪뗫뗭뗮뗯뗰뗱뗲뗳뗴뗵뗶뗷뗸뗹뗺뗻뗼뗽뗾뗿�".split(""),e=0;e!=r[139].length;++e)65533!==r[139][e].charCodeAt(0)&&(n[r[139][e]]=35584+e,t[35584+e]=r[139][e]);for(r[140]="�����������������������������������������������������������������똀똁똂똃똄똅똆똇똈똉똊똋똌똍똎똏똒똓똕똖똗똙똚똛똜똝������똞똟똠똡똢똣똤똦똧똨똩똪똫똭똮똯똰똱똲똳똵똶똷똸똹똺������똻똼똽똾똿뙀뙁뙂뙃뙄뙅뙆뙇뙉뙊뙋뙌뙍뙎뙏뙐뙑뙒뙓뙔뙕뙖뙗뙘뙙뙚뙛뙜뙝뙞뙟뙠뙡뙢뙣뙥뙦뙧뙩뙪뙫뙬뙭뙮뙯뙰뙱뙲뙳뙴뙵뙶뙷뙸뙹뙺뙻뙼뙽뙾뙿뚀뚁뚂뚃뚄뚅뚆뚇뚈뚉뚊뚋뚌뚍뚎뚏뚐뚑뚒뚓뚔뚕뚖뚗뚘뚙뚚뚛뚞뚟뚡뚢뚣뚥뚦뚧뚨뚩뚪뚭뚮뚯뚰뚲뚳뚴뚵뚶뚷뚸뚹뚺뚻뚼뚽뚾뚿뛀뛁뛂�".split(""),e=0;e!=r[140].length;++e)65533!==r[140][e].charCodeAt(0)&&(n[r[140][e]]=35840+e,t[35840+e]=r[140][e]);for(r[141]="�����������������������������������������������������������������뛃뛄뛅뛆뛇뛈뛉뛊뛋뛌뛍뛎뛏뛐뛑뛒뛓뛕뛖뛗뛘뛙뛚뛛뛜뛝������뛞뛟뛠뛡뛢뛣뛤뛥뛦뛧뛨뛩뛪뛫뛬뛭뛮뛯뛱뛲뛳뛵뛶뛷뛹뛺������뛻뛼뛽뛾뛿뜂뜃뜄뜆뜇뜈뜉뜊뜋뜌뜍뜎뜏뜐뜑뜒뜓뜔뜕뜖뜗뜘뜙뜚뜛뜜뜝뜞뜟뜠뜡뜢뜣뜤뜥뜦뜧뜪뜫뜭뜮뜱뜲뜳뜴뜵뜶뜷뜺뜼뜽뜾뜿띀띁띂띃띅띆띇띉띊띋띍띎띏띐띑띒띓띖띗띘띙띚띛띜띝띞띟띡띢띣띥띦띧띩띪띫띬띭띮띯띲띴띶띷띸띹띺띻띾띿랁랂랃랅랆랇랈랉랊랋랎랓랔랕랚랛랝랞�".split(""),e=0;e!=r[141].length;++e)65533!==r[141][e].charCodeAt(0)&&(n[r[141][e]]=36096+e,t[36096+e]=r[141][e]);for(r[142]="�����������������������������������������������������������������랟랡랢랣랤랥랦랧랪랮랯랰랱랲랳랶랷랹랺랻랼랽랾랿럀럁������럂럃럄럅럆럈럊럋럌럍럎럏럐럑럒럓럔럕럖럗럘럙럚럛럜럝������럞럟럠럡럢럣럤럥럦럧럨럩럪럫럮럯럱럲럳럵럶럷럸럹럺럻럾렂렃렄렅렆렊렋렍렎렏렑렒렓렔렕렖렗렚렜렞렟렠렡렢렣렦렧렩렪렫렭렮렯렰렱렲렳렶렺렻렼렽렾렿롁롂롃롅롆롇롈롉롊롋롌롍롎롏롐롒롔롕롖롗롘롙롚롛롞롟롡롢롣롥롦롧롨롩롪롫롮롰롲롳롴롵롶롷롹롺롻롽롾롿뢀뢁뢂뢃뢄�".split(""),e=0;e!=r[142].length;++e)65533!==r[142][e].charCodeAt(0)&&(n[r[142][e]]=36352+e,t[36352+e]=r[142][e]);for(r[143]="�����������������������������������������������������������������뢅뢆뢇뢈뢉뢊뢋뢌뢎뢏뢐뢑뢒뢓뢔뢕뢖뢗뢘뢙뢚뢛뢜뢝뢞뢟������뢠뢡뢢뢣뢤뢥뢦뢧뢩뢪뢫뢬뢭뢮뢯뢱뢲뢳뢵뢶뢷뢹뢺뢻뢼뢽������뢾뢿룂룄룆룇룈룉룊룋룍룎룏룑룒룓룕룖룗룘룙룚룛룜룞룠룢룣룤룥룦룧룪룫룭룮룯룱룲룳룴룵룶룷룺룼룾룿뤀뤁뤂뤃뤅뤆뤇뤈뤉뤊뤋뤌뤍뤎뤏뤐뤑뤒뤓뤔뤕뤖뤗뤙뤚뤛뤜뤝뤞뤟뤡뤢뤣뤤뤥뤦뤧뤨뤩뤪뤫뤬뤭뤮뤯뤰뤱뤲뤳뤴뤵뤶뤷뤸뤹뤺뤻뤾뤿륁륂륃륅륆륇륈륉륊륋륍륎륐륒륓륔륕륖륗�".split(""),e=0;e!=r[143].length;++e)65533!==r[143][e].charCodeAt(0)&&(n[r[143][e]]=36608+e,t[36608+e]=r[143][e]);for(r[144]="�����������������������������������������������������������������륚륛륝륞륟륡륢륣륤륥륦륧륪륬륮륯륰륱륲륳륶륷륹륺륻륽������륾륿릀릁릂릃릆릈릋릌릏릐릑릒릓릔릕릖릗릘릙릚릛릜릝릞������릟릠릡릢릣릤릥릦릧릨릩릪릫릮릯릱릲릳릵릶릷릸릹릺릻릾맀맂맃맄맅맆맇맊맋맍맓맔맕맖맗맚맜맟맠맢맦맧맩맪맫맭맮맯맰맱맲맳맶맻맼맽맾맿먂먃먄먅먆먇먉먊먋먌먍먎먏먐먑먒먓먔먖먗먘먙먚먛먜먝먞먟먠먡먢먣먤먥먦먧먨먩먪먫먬먭먮먯먰먱먲먳먴먵먶먷먺먻먽먾먿멁멃멄멅멆�".split(""),e=0;e!=r[144].length;++e)65533!==r[144][e].charCodeAt(0)&&(n[r[144][e]]=36864+e,t[36864+e]=r[144][e]);for(r[145]="�����������������������������������������������������������������멇멊멌멏멐멑멒멖멗멙멚멛멝멞멟멠멡멢멣멦멪멫멬멭멮멯������멲멳멵멶멷멹멺멻멼멽멾멿몀몁몂몆몈몉몊몋몍몎몏몐몑몒������몓몔몕몖몗몘몙몚몛몜몝몞몟몠몡몢몣몤몥몦몧몪몭몮몯몱몳몴몵몶몷몺몼몾몿뫀뫁뫂뫃뫅뫆뫇뫉뫊뫋뫌뫍뫎뫏뫐뫑뫒뫓뫔뫕뫖뫗뫚뫛뫜뫝뫞뫟뫠뫡뫢뫣뫤뫥뫦뫧뫨뫩뫪뫫뫬뫭뫮뫯뫰뫱뫲뫳뫴뫵뫶뫷뫸뫹뫺뫻뫽뫾뫿묁묂묃묅묆묇묈묉묊묋묌묎묐묒묓묔묕묖묗묙묚묛묝묞묟묡묢묣묤묥묦묧�".split(""),e=0;e!=r[145].length;++e)65533!==r[145][e].charCodeAt(0)&&(n[r[145][e]]=37120+e,t[37120+e]=r[145][e]);for(r[146]="�����������������������������������������������������������������묨묪묬묭묮묯묰묱묲묳묷묹묺묿뭀뭁뭂뭃뭆뭈뭊뭋뭌뭎뭑뭒������뭓뭕뭖뭗뭙뭚뭛뭜뭝뭞뭟뭠뭢뭤뭥뭦뭧뭨뭩뭪뭫뭭뭮뭯뭰뭱������뭲뭳뭴뭵뭶뭷뭸뭹뭺뭻뭼뭽뭾뭿뮀뮁뮂뮃뮄뮅뮆뮇뮉뮊뮋뮍뮎뮏뮑뮒뮓뮔뮕뮖뮗뮘뮙뮚뮛뮜뮝뮞뮟뮠뮡뮢뮣뮥뮦뮧뮩뮪뮫뮭뮮뮯뮰뮱뮲뮳뮵뮶뮸뮹뮺뮻뮼뮽뮾뮿믁믂믃믅믆믇믉믊믋믌믍믎믏믑믒믔믕믖믗믘믙믚믛믜믝믞믟믠믡믢믣믤믥믦믧믨믩믪믫믬믭믮믯믰믱믲믳믴믵믶믷믺믻믽믾밁�".split(""),e=0;e!=r[146].length;++e)65533!==r[146][e].charCodeAt(0)&&(n[r[146][e]]=37376+e,t[37376+e]=r[146][e]);for(r[147]="�����������������������������������������������������������������밃밄밅밆밇밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵������밶밷밹밺밻밼밽밾밿뱂뱆뱇뱈뱊뱋뱎뱏뱑뱒뱓뱔뱕뱖뱗뱘뱙������뱚뱛뱜뱞뱟뱠뱡뱢뱣뱤뱥뱦뱧뱨뱩뱪뱫뱬뱭뱮뱯뱰뱱뱲뱳뱴뱵뱶뱷뱸뱹뱺뱻뱼뱽뱾뱿벀벁벂벃벆벇벉벊벍벏벐벑벒벓벖벘벛벜벝벞벟벢벣벥벦벩벪벫벬벭벮벯벲벶벷벸벹벺벻벾벿볁볂볃볅볆볇볈볉볊볋볌볎볒볓볔볖볗볙볚볛볝볞볟볠볡볢볣볤볥볦볧볨볩볪볫볬볭볮볯볰볱볲볳볷볹볺볻볽�".split(""),e=0;e!=r[147].length;++e)65533!==r[147][e].charCodeAt(0)&&(n[r[147][e]]=37632+e,t[37632+e]=r[147][e]);for(r[148]="�����������������������������������������������������������������볾볿봀봁봂봃봆봈봊봋봌봍봎봏봑봒봓봕봖봗봘봙봚봛봜봝������봞봟봠봡봢봣봥봦봧봨봩봪봫봭봮봯봰봱봲봳봴봵봶봷봸봹������봺봻봼봽봾봿뵁뵂뵃뵄뵅뵆뵇뵊뵋뵍뵎뵏뵑뵒뵓뵔뵕뵖뵗뵚뵛뵜뵝뵞뵟뵠뵡뵢뵣뵥뵦뵧뵩뵪뵫뵬뵭뵮뵯뵰뵱뵲뵳뵴뵵뵶뵷뵸뵹뵺뵻뵼뵽뵾뵿붂붃붅붆붋붌붍붎붏붒붔붖붗붘붛붝붞붟붠붡붢붣붥붦붧붨붩붪붫붬붭붮붯붱붲붳붴붵붶붷붹붺붻붼붽붾붿뷀뷁뷂뷃뷄뷅뷆뷇뷈뷉뷊뷋뷌뷍뷎뷏뷐뷑�".split(""),e=0;e!=r[148].length;++e)65533!==r[148][e].charCodeAt(0)&&(n[r[148][e]]=37888+e,t[37888+e]=r[148][e]);for(r[149]="�����������������������������������������������������������������뷒뷓뷖뷗뷙뷚뷛뷝뷞뷟뷠뷡뷢뷣뷤뷥뷦뷧뷨뷪뷫뷬뷭뷮뷯뷱������뷲뷳뷵뷶뷷뷹뷺뷻뷼뷽뷾뷿븁븂븄븆븇븈븉븊븋븎븏븑븒븓������븕븖븗븘븙븚븛븞븠븡븢븣븤븥븦븧븨븩븪븫븬븭븮븯븰븱븲븳븴븵븶븷븸븹븺븻븼븽븾븿빀빁빂빃빆빇빉빊빋빍빏빐빑빒빓빖빘빜빝빞빟빢빣빥빦빧빩빫빬빭빮빯빲빶빷빸빹빺빾빿뺁뺂뺃뺅뺆뺇뺈뺉뺊뺋뺎뺒뺓뺔뺕뺖뺗뺚뺛뺜뺝뺞뺟뺠뺡뺢뺣뺤뺥뺦뺧뺩뺪뺫뺬뺭뺮뺯뺰뺱뺲뺳뺴뺵뺶뺷�".split(""),e=0;e!=r[149].length;++e)65533!==r[149][e].charCodeAt(0)&&(n[r[149][e]]=38144+e,t[38144+e]=r[149][e]);for(r[150]="�����������������������������������������������������������������뺸뺹뺺뺻뺼뺽뺾뺿뻀뻁뻂뻃뻄뻅뻆뻇뻈뻉뻊뻋뻌뻍뻎뻏뻒뻓������뻕뻖뻙뻚뻛뻜뻝뻞뻟뻡뻢뻦뻧뻨뻩뻪뻫뻭뻮뻯뻰뻱뻲뻳뻴뻵������뻶뻷뻸뻹뻺뻻뻼뻽뻾뻿뼀뼂뼃뼄뼅뼆뼇뼊뼋뼌뼍뼎뼏뼐뼑뼒뼓뼔뼕뼖뼗뼚뼞뼟뼠뼡뼢뼣뼤뼥뼦뼧뼨뼩뼪뼫뼬뼭뼮뼯뼰뼱뼲뼳뼴뼵뼶뼷뼸뼹뼺뼻뼼뼽뼾뼿뽂뽃뽅뽆뽇뽉뽊뽋뽌뽍뽎뽏뽒뽓뽔뽖뽗뽘뽙뽚뽛뽜뽝뽞뽟뽠뽡뽢뽣뽤뽥뽦뽧뽨뽩뽪뽫뽬뽭뽮뽯뽰뽱뽲뽳뽴뽵뽶뽷뽸뽹뽺뽻뽼뽽뽾뽿뾀뾁뾂�".split(""),e=0;e!=r[150].length;++e)65533!==r[150][e].charCodeAt(0)&&(n[r[150][e]]=38400+e,t[38400+e]=r[150][e]);for(r[151]="�����������������������������������������������������������������뾃뾄뾅뾆뾇뾈뾉뾊뾋뾌뾍뾎뾏뾐뾑뾒뾓뾕뾖뾗뾘뾙뾚뾛뾜뾝������뾞뾟뾠뾡뾢뾣뾤뾥뾦뾧뾨뾩뾪뾫뾬뾭뾮뾯뾱뾲뾳뾴뾵뾶뾷뾸������뾹뾺뾻뾼뾽뾾뾿뿀뿁뿂뿃뿄뿆뿇뿈뿉뿊뿋뿎뿏뿑뿒뿓뿕뿖뿗뿘뿙뿚뿛뿝뿞뿠뿢뿣뿤뿥뿦뿧뿨뿩뿪뿫뿬뿭뿮뿯뿰뿱뿲뿳뿴뿵뿶뿷뿸뿹뿺뿻뿼뿽뿾뿿쀀쀁쀂쀃쀄쀅쀆쀇쀈쀉쀊쀋쀌쀍쀎쀏쀐쀑쀒쀓쀔쀕쀖쀗쀘쀙쀚쀛쀜쀝쀞쀟쀠쀡쀢쀣쀤쀥쀦쀧쀨쀩쀪쀫쀬쀭쀮쀯쀰쀱쀲쀳쀴쀵쀶쀷쀸쀹쀺쀻쀽쀾쀿�".split(""),e=0;e!=r[151].length;++e)65533!==r[151][e].charCodeAt(0)&&(n[r[151][e]]=38656+e,t[38656+e]=r[151][e]);for(r[152]="�����������������������������������������������������������������쁀쁁쁂쁃쁄쁅쁆쁇쁈쁉쁊쁋쁌쁍쁎쁏쁐쁒쁓쁔쁕쁖쁗쁙쁚쁛������쁝쁞쁟쁡쁢쁣쁤쁥쁦쁧쁪쁫쁬쁭쁮쁯쁰쁱쁲쁳쁴쁵쁶쁷쁸쁹������쁺쁻쁼쁽쁾쁿삀삁삂삃삄삅삆삇삈삉삊삋삌삍삎삏삒삓삕삖삗삙삚삛삜삝삞삟삢삤삦삧삨삩삪삫삮삱삲삷삸삹삺삻삾샂샃샄샆샇샊샋샍샎샏샑샒샓샔샕샖샗샚샞샟샠샡샢샣샦샧샩샪샫샭샮샯샰샱샲샳샶샸샺샻샼샽샾샿섁섂섃섅섆섇섉섊섋섌섍섎섏섑섒섓섔섖섗섘섙섚섛섡섢섥섨섩섪섫섮�".split(""),e=0;e!=r[152].length;++e)65533!==r[152][e].charCodeAt(0)&&(n[r[152][e]]=38912+e,t[38912+e]=r[152][e]);for(r[153]="�����������������������������������������������������������������섲섳섴섵섷섺섻섽섾섿셁셂셃셄셅셆셇셊셎셏셐셑셒셓셖셗������셙셚셛셝셞셟셠셡셢셣셦셪셫셬셭셮셯셱셲셳셵셶셷셹셺셻������셼셽셾셿솀솁솂솃솄솆솇솈솉솊솋솏솑솒솓솕솗솘솙솚솛솞솠솢솣솤솦솧솪솫솭솮솯솱솲솳솴솵솶솷솸솹솺솻솼솾솿쇀쇁쇂쇃쇅쇆쇇쇉쇊쇋쇍쇎쇏쇐쇑쇒쇓쇕쇖쇙쇚쇛쇜쇝쇞쇟쇡쇢쇣쇥쇦쇧쇩쇪쇫쇬쇭쇮쇯쇲쇴쇵쇶쇷쇸쇹쇺쇻쇾쇿숁숂숃숅숆숇숈숉숊숋숎숐숒숓숔숕숖숗숚숛숝숞숡숢숣�".split(""),e=0;e!=r[153].length;++e)65533!==r[153][e].charCodeAt(0)&&(n[r[153][e]]=39168+e,t[39168+e]=r[153][e]);for(r[154]="�����������������������������������������������������������������숤숥숦숧숪숬숮숰숳숵숶숷숸숹숺숻숼숽숾숿쉀쉁쉂쉃쉄쉅������쉆쉇쉉쉊쉋쉌쉍쉎쉏쉒쉓쉕쉖쉗쉙쉚쉛쉜쉝쉞쉟쉡쉢쉣쉤쉦������쉧쉨쉩쉪쉫쉮쉯쉱쉲쉳쉵쉶쉷쉸쉹쉺쉻쉾슀슂슃슄슅슆슇슊슋슌슍슎슏슑슒슓슔슕슖슗슙슚슜슞슟슠슡슢슣슦슧슩슪슫슮슯슰슱슲슳슶슸슺슻슼슽슾슿싀싁싂싃싄싅싆싇싈싉싊싋싌싍싎싏싐싑싒싓싔싕싖싗싘싙싚싛싞싟싡싢싥싦싧싨싩싪싮싰싲싳싴싵싷싺싽싾싿쌁쌂쌃쌄쌅쌆쌇쌊쌋쌎쌏�".split(""),e=0;e!=r[154].length;++e)65533!==r[154][e].charCodeAt(0)&&(n[r[154][e]]=39424+e,t[39424+e]=r[154][e]);for(r[155]="�����������������������������������������������������������������쌐쌑쌒쌖쌗쌙쌚쌛쌝쌞쌟쌠쌡쌢쌣쌦쌧쌪쌫쌬쌭쌮쌯쌰쌱쌲������쌳쌴쌵쌶쌷쌸쌹쌺쌻쌼쌽쌾쌿썀썁썂썃썄썆썇썈썉썊썋썌썍������썎썏썐썑썒썓썔썕썖썗썘썙썚썛썜썝썞썟썠썡썢썣썤썥썦썧썪썫썭썮썯썱썳썴썵썶썷썺썻썾썿쎀쎁쎂쎃쎅쎆쎇쎉쎊쎋쎍쎎쎏쎐쎑쎒쎓쎔쎕쎖쎗쎘쎙쎚쎛쎜쎝쎞쎟쎠쎡쎢쎣쎤쎥쎦쎧쎨쎩쎪쎫쎬쎭쎮쎯쎰쎱쎲쎳쎴쎵쎶쎷쎸쎹쎺쎻쎼쎽쎾쎿쏁쏂쏃쏄쏅쏆쏇쏈쏉쏊쏋쏌쏍쏎쏏쏐쏑쏒쏓쏔쏕쏖쏗쏚�".split(""),e=0;e!=r[155].length;++e)65533!==r[155][e].charCodeAt(0)&&(n[r[155][e]]=39680+e,t[39680+e]=r[155][e]);for(r[156]="�����������������������������������������������������������������쏛쏝쏞쏡쏣쏤쏥쏦쏧쏪쏫쏬쏮쏯쏰쏱쏲쏳쏶쏷쏹쏺쏻쏼쏽쏾������쏿쐀쐁쐂쐃쐄쐅쐆쐇쐉쐊쐋쐌쐍쐎쐏쐑쐒쐓쐔쐕쐖쐗쐘쐙쐚������쐛쐜쐝쐞쐟쐠쐡쐢쐣쐥쐦쐧쐨쐩쐪쐫쐭쐮쐯쐱쐲쐳쐵쐶쐷쐸쐹쐺쐻쐾쐿쑀쑁쑂쑃쑄쑅쑆쑇쑉쑊쑋쑌쑍쑎쑏쑐쑑쑒쑓쑔쑕쑖쑗쑘쑙쑚쑛쑜쑝쑞쑟쑠쑡쑢쑣쑦쑧쑩쑪쑫쑭쑮쑯쑰쑱쑲쑳쑶쑷쑸쑺쑻쑼쑽쑾쑿쒁쒂쒃쒄쒅쒆쒇쒈쒉쒊쒋쒌쒍쒎쒏쒐쒑쒒쒓쒕쒖쒗쒘쒙쒚쒛쒝쒞쒟쒠쒡쒢쒣쒤쒥쒦쒧쒨쒩�".split(""),e=0;e!=r[156].length;++e)65533!==r[156][e].charCodeAt(0)&&(n[r[156][e]]=39936+e,t[39936+e]=r[156][e]);for(r[157]="�����������������������������������������������������������������쒪쒫쒬쒭쒮쒯쒰쒱쒲쒳쒴쒵쒶쒷쒹쒺쒻쒽쒾쒿쓀쓁쓂쓃쓄쓅������쓆쓇쓈쓉쓊쓋쓌쓍쓎쓏쓐쓑쓒쓓쓔쓕쓖쓗쓘쓙쓚쓛쓜쓝쓞쓟������쓠쓡쓢쓣쓤쓥쓦쓧쓨쓪쓫쓬쓭쓮쓯쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂씃씄씅씆씇씈씉씊씋씍씎씏씑씒씓씕씖씗씘씙씚씛씝씞씟씠씡씢씣씤씥씦씧씪씫씭씮씯씱씲씳씴씵씶씷씺씼씾씿앀앁앂앃앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩앪앫앬앭앮앯앲앶앷앸앹앺앻앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔�".split(""),e=0;e!=r[157].length;++e)65533!==r[157][e].charCodeAt(0)&&(n[r[157][e]]=40192+e,t[40192+e]=r[157][e]);for(r[158]="�����������������������������������������������������������������얖얙얚얛얝얞얟얡얢얣얤얥얦얧얨얪얫얬얭얮얯얰얱얲얳얶������얷얺얿엀엁엂엃엋엍엏엒엓엕엖엗엙엚엛엜엝엞엟엢엤엦엧������엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑옒옓옔옕옖옗옚옝옞옟옠옡옢옣옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉왊왋왌왍왎왏왒왖왗왘왙왚왛왞왟왡왢왣왤왥왦왧왨왩왪왫왭왮왰왲왳왴왵왶왷왺왻왽왾왿욁욂욃욄욅욆욇욊욌욎욏욐욑욒욓욖욗욙욚욛욝욞욟욠욡욢욣욦�".split(""),e=0;e!=r[158].length;++e)65533!==r[158][e].charCodeAt(0)&&(n[r[158][e]]=40448+e,t[40448+e]=r[158][e]);for(r[159]="�����������������������������������������������������������������욨욪욫욬욭욮욯욲욳욵욶욷욻욼욽욾욿웂웄웆웇웈웉웊웋웎������웏웑웒웓웕웖웗웘웙웚웛웞웟웢웣웤웥웦웧웪웫웭웮웯웱웲������웳웴웵웶웷웺웻웼웾웿윀윁윂윃윆윇윉윊윋윍윎윏윐윑윒윓윖윘윚윛윜윝윞윟윢윣윥윦윧윩윪윫윬윭윮윯윲윴윶윸윹윺윻윾윿읁읂읃읅읆읇읈읉읋읎읐읙읚읛읝읞읟읡읢읣읤읥읦읧읩읪읬읭읮읯읰읱읲읳읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛잜잝잞잟잢잧잨잩잪잫잮잯잱잲잳잵잶잷�".split(""),e=0;e!=r[159].length;++e)65533!==r[159][e].charCodeAt(0)&&(n[r[159][e]]=40704+e,t[40704+e]=r[159][e]);for(r[160]="�����������������������������������������������������������������잸잹잺잻잾쟂쟃쟄쟅쟆쟇쟊쟋쟍쟏쟑쟒쟓쟔쟕쟖쟗쟙쟚쟛쟜������쟞쟟쟠쟡쟢쟣쟥쟦쟧쟩쟪쟫쟭쟮쟯쟰쟱쟲쟳쟴쟵쟶쟷쟸쟹쟺������쟻쟼쟽쟾쟿젂젃젅젆젇젉젋젌젍젎젏젒젔젗젘젙젚젛젞젟젡젢젣젥젦젧젨젩젪젫젮젰젲젳젴젵젶젷젹젺젻젽젾젿졁졂졃졄졅졆졇졊졋졎졏졐졑졒졓졕졖졗졘졙졚졛졜졝졞졟졠졡졢졣졤졥졦졧졨졩졪졫졬졭졮졯졲졳졵졶졷졹졻졼졽졾졿좂좄좈좉좊좎좏좐좑좒좓좕좖좗좘좙좚좛좜좞좠좢좣좤�".split(""),e=0;e!=r[160].length;++e)65533!==r[160][e].charCodeAt(0)&&(n[r[160][e]]=40960+e,t[40960+e]=r[160][e]);for(r[161]="�����������������������������������������������������������������좥좦좧좩좪좫좬좭좮좯좰좱좲좳좴좵좶좷좸좹좺좻좾좿죀죁������죂죃죅죆죇죉죊죋죍죎죏죐죑죒죓죖죘죚죛죜죝죞죟죢죣죥������죦죧죨죩죪죫죬죭죮죯죰죱죲죳죴죶죷죸죹죺죻죾죿줁줂줃줇줈줉줊줋줎 、。·‥…¨〃―∥\∼‘’“”〔〕〈〉《》「」『』【】±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬�".split(""),e=0;e!=r[161].length;++e)65533!==r[161][e].charCodeAt(0)&&(n[r[161][e]]=41216+e,t[41216+e]=r[161][e]);for(r[162]="�����������������������������������������������������������������줐줒줓줔줕줖줗줙줚줛줜줝줞줟줠줡줢줣줤줥줦줧줨줩줪줫������줭줮줯줰줱줲줳줵줶줷줸줹줺줻줼줽줾줿쥀쥁쥂쥃쥄쥅쥆쥇������쥈쥉쥊쥋쥌쥍쥎쥏쥒쥓쥕쥖쥗쥙쥚쥛쥜쥝쥞쥟쥢쥤쥥쥦쥧쥨쥩쥪쥫쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®������������������������".split(""),e=0;e!=r[162].length;++e)65533!==r[162][e].charCodeAt(0)&&(n[r[162][e]]=41472+e,t[41472+e]=r[162][e]);for(r[163]="�����������������������������������������������������������������쥱쥲쥳쥵쥶쥷쥸쥹쥺쥻쥽쥾쥿즀즁즂즃즄즅즆즇즊즋즍즎즏������즑즒즓즔즕즖즗즚즜즞즟즠즡즢즣즤즥즦즧즨즩즪즫즬즭즮������즯즰즱즲즳즴즵즶즷즸즹즺즻즼즽즾즿짂짃짅짆짉짋짌짍짎짏짒짔짗짘짛!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[₩]^_`abcdefghijklmnopqrstuvwxyz{|} ̄�".split(""),e=0;e!=r[163].length;++e)65533!==r[163][e].charCodeAt(0)&&(n[r[163][e]]=41728+e,t[41728+e]=r[163][e]);for(r[164]="�����������������������������������������������������������������짞짟짡짣짥짦짨짩짪짫짮짲짳짴짵짶짷짺짻짽짾짿쨁쨂쨃쨄������쨅쨆쨇쨊쨎쨏쨐쨑쨒쨓쨕쨖쨗쨙쨚쨛쨜쨝쨞쨟쨠쨡쨢쨣쨤쨥������쨦쨧쨨쨪쨫쨬쨭쨮쨯쨰쨱쨲쨳쨴쨵쨶쨷쨸쨹쨺쨻쨼쨽쨾쨿쩀쩁쩂쩃쩄쩅쩆ㄱㄲㄳㄴㄵㄶㄷㄸㄹㄺㄻㄼㄽㄾㄿㅀㅁㅂㅃㅄㅅㅆㅇㅈㅉㅊㅋㅌㅍㅎㅏㅐㅑㅒㅓㅔㅕㅖㅗㅘㅙㅚㅛㅜㅝㅞㅟㅠㅡㅢㅣㅤㅥㅦㅧㅨㅩㅪㅫㅬㅭㅮㅯㅰㅱㅲㅳㅴㅵㅶㅷㅸㅹㅺㅻㅼㅽㅾㅿㆀㆁㆂㆃㆄㆅㆆㆇㆈㆉㆊㆋㆌㆍㆎ�".split(""),e=0;e!=r[164].length;++e)65533!==r[164][e].charCodeAt(0)&&(n[r[164][e]]=41984+e,t[41984+e]=r[164][e]);for(r[165]="�����������������������������������������������������������������쩇쩈쩉쩊쩋쩎쩏쩑쩒쩓쩕쩖쩗쩘쩙쩚쩛쩞쩢쩣쩤쩥쩦쩧쩩쩪������쩫쩬쩭쩮쩯쩰쩱쩲쩳쩴쩵쩶쩷쩸쩹쩺쩻쩼쩾쩿쪀쪁쪂쪃쪅쪆������쪇쪈쪉쪊쪋쪌쪍쪎쪏쪐쪑쪒쪓쪔쪕쪖쪗쪙쪚쪛쪜쪝쪞쪟쪠쪡쪢쪣쪤쪥쪦쪧ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ�����ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ�������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�������".split(""),e=0;e!=r[165].length;++e)65533!==r[165][e].charCodeAt(0)&&(n[r[165][e]]=42240+e,t[42240+e]=r[165][e]);for(r[166]="�����������������������������������������������������������������쪨쪩쪪쪫쪬쪭쪮쪯쪰쪱쪲쪳쪴쪵쪶쪷쪸쪹쪺쪻쪾쪿쫁쫂쫃쫅������쫆쫇쫈쫉쫊쫋쫎쫐쫒쫔쫕쫖쫗쫚쫛쫜쫝쫞쫟쫡쫢쫣쫤쫥쫦쫧������쫨쫩쫪쫫쫭쫮쫯쫰쫱쫲쫳쫵쫶쫷쫸쫹쫺쫻쫼쫽쫾쫿쬀쬁쬂쬃쬄쬅쬆쬇쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃╄╅╆╇╈╉╊���������������������������".split(""),e=0;e!=r[166].length;++e)65533!==r[166][e].charCodeAt(0)&&(n[r[166][e]]=42496+e,t[42496+e]=r[166][e]);for(r[167]="�����������������������������������������������������������������쬋쬌쬍쬎쬏쬑쬒쬓쬕쬖쬗쬙쬚쬛쬜쬝쬞쬟쬢쬣쬤쬥쬦쬧쬨쬩������쬪쬫쬬쬭쬮쬯쬰쬱쬲쬳쬴쬵쬶쬷쬸쬹쬺쬻쬼쬽쬾쬿쭀쭂쭃쭄������쭅쭆쭇쭊쭋쭍쭎쭏쭑쭒쭓쭔쭕쭖쭗쭚쭛쭜쭞쭟쭠쭡쭢쭣쭥쭦쭧쭨쭩쭪쭫쭬㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙㎚㎛㎜㎝㎞㎟㎠㎡㎢㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰㎱㎲㎳㎴㎵㎶㎷㎸㎹㎀㎁㎂㎃㎄㎺㎻㎼㎽㎾㎿㎐㎑㎒㎓㎔Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆����������������".split(""),e=0;e!=r[167].length;++e)65533!==r[167][e].charCodeAt(0)&&(n[r[167][e]]=42752+e,t[42752+e]=r[167][e]);for(r[168]="�����������������������������������������������������������������쭭쭮쭯쭰쭱쭲쭳쭴쭵쭶쭷쭺쭻쭼쭽쭾쭿쮀쮁쮂쮃쮄쮅쮆쮇쮈������쮉쮊쮋쮌쮍쮎쮏쮐쮑쮒쮓쮔쮕쮖쮗쮘쮙쮚쮛쮝쮞쮟쮠쮡쮢쮣������쮤쮥쮦쮧쮨쮩쮪쮫쮬쮭쮮쮯쮰쮱쮲쮳쮴쮵쮶쮷쮹쮺쮻쮼쮽쮾쮿쯀쯁쯂쯃쯄ÆЪĦ�IJ�ĿŁØŒºÞŦŊ�㉠㉡㉢㉣㉤㉥㉦㉧㉨㉩㉪㉫㉬㉭㉮㉯㉰㉱㉲㉳㉴㉵㉶㉷㉸㉹㉺㉻ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮½⅓⅔¼¾⅛⅜⅝⅞�".split(""),e=0;e!=r[168].length;++e)65533!==r[168][e].charCodeAt(0)&&(n[r[168][e]]=43008+e,t[43008+e]=r[168][e]);for(r[169]="�����������������������������������������������������������������쯅쯆쯇쯈쯉쯊쯋쯌쯍쯎쯏쯐쯑쯒쯓쯕쯖쯗쯘쯙쯚쯛쯜쯝쯞쯟������쯠쯡쯢쯣쯥쯦쯨쯪쯫쯬쯭쯮쯯쯰쯱쯲쯳쯴쯵쯶쯷쯸쯹쯺쯻쯼������쯽쯾쯿찀찁찂찃찄찅찆찇찈찉찊찋찎찏찑찒찓찕찖찗찘찙찚찛찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀㈁㈂㈃㈄㈅㈆㈇㈈㈉㈊㈋㈌㈍㈎㈏㈐㈑㈒㈓㈔㈕㈖㈗㈘㈙㈚㈛⒜⒝⒞⒟⒠⒡⒢⒣⒤⒥⒦⒧⒨⒩⒪⒫⒬⒭⒮⒯⒰⒱⒲⒳⒴⒵⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂¹²³⁴ⁿ₁₂₃₄�".split(""),e=0;e!=r[169].length;++e)65533!==r[169][e].charCodeAt(0)&&(n[r[169][e]]=43264+e,t[43264+e]=r[169][e]);for(r[170]="�����������������������������������������������������������������찥찦찪찫찭찯찱찲찳찴찵찶찷찺찿챀챁챂챃챆챇챉챊챋챍챎������챏챐챑챒챓챖챚챛챜챝챞챟챡챢챣챥챧챩챪챫챬챭챮챯챱챲������챳챴챶챷챸챹챺챻챼챽챾챿첀첁첂첃첄첅첆첇첈첉첊첋첌첍첎첏첐첑첒첓ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������".split(""),e=0;e!=r[170].length;++e)65533!==r[170][e].charCodeAt(0)&&(n[r[170][e]]=43520+e,t[43520+e]=r[170][e]);for(r[171]="�����������������������������������������������������������������첔첕첖첗첚첛첝첞첟첡첢첣첤첥첦첧첪첮첯첰첱첲첳첶첷첹������첺첻첽첾첿쳀쳁쳂쳃쳆쳈쳊쳋쳌쳍쳎쳏쳑쳒쳓쳕쳖쳗쳘쳙쳚������쳛쳜쳝쳞쳟쳠쳡쳢쳣쳥쳦쳧쳨쳩쳪쳫쳭쳮쳯쳱쳲쳳쳴쳵쳶쳷쳸쳹쳺쳻쳼쳽ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������".split(""),e=0;e!=r[171].length;++e)65533!==r[171][e].charCodeAt(0)&&(n[r[171][e]]=43776+e,t[43776+e]=r[171][e]);for(r[172]="�����������������������������������������������������������������쳾쳿촀촂촃촄촅촆촇촊촋촍촎촏촑촒촓촔촕촖촗촚촜촞촟촠������촡촢촣촥촦촧촩촪촫촭촮촯촰촱촲촳촴촵촶촷촸촺촻촼촽촾������촿쵀쵁쵂쵃쵄쵅쵆쵇쵈쵉쵊쵋쵌쵍쵎쵏쵐쵑쵒쵓쵔쵕쵖쵗쵘쵙쵚쵛쵝쵞쵟АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������".split(""),e=0;e!=r[172].length;++e)65533!==r[172][e].charCodeAt(0)&&(n[r[172][e]]=44032+e,t[44032+e]=r[172][e]);for(r[173]="�����������������������������������������������������������������쵡쵢쵣쵥쵦쵧쵨쵩쵪쵫쵮쵰쵲쵳쵴쵵쵶쵷쵹쵺쵻쵼쵽쵾쵿춀������춁춂춃춄춅춆춇춉춊춋춌춍춎춏춐춑춒춓춖춗춙춚춛춝춞춟������춠춡춢춣춦춨춪춫춬춭춮춯춱춲춳춴춵춶춷춸춹춺춻춼춽춾춿췀췁췂췃췅�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[173].length;++e)65533!==r[173][e].charCodeAt(0)&&(n[r[173][e]]=44288+e,t[44288+e]=r[173][e]);for(r[174]="�����������������������������������������������������������������췆췇췈췉췊췋췍췎췏췑췒췓췔췕췖췗췘췙췚췛췜췝췞췟췠췡������췢췣췤췥췦췧췩췪췫췭췮췯췱췲췳췴췵췶췷췺췼췾췿츀츁츂������츃츅츆츇츉츊츋츍츎츏츐츑츒츓츕츖츗츘츚츛츜츝츞츟츢츣츥츦츧츩츪츫�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[174].length;++e)65533!==r[174][e].charCodeAt(0)&&(n[r[174][e]]=44544+e,t[44544+e]=r[174][e]);for(r[175]="�����������������������������������������������������������������츬츭츮츯츲츴츶츷츸츹츺츻츼츽츾츿칀칁칂칃칄칅칆칇칈칉������칊칋칌칍칎칏칐칑칒칓칔칕칖칗칚칛칝칞칢칣칤칥칦칧칪칬������칮칯칰칱칲칳칶칷칹칺칻칽칾칿캀캁캂캃캆캈캊캋캌캍캎캏캒캓캕캖캗캙�����������������������������������������������������������������������������������������������".split(""),e=0;e!=r[175].length;++e)65533!==r[175][e].charCodeAt(0)&&(n[r[175][e]]=44800+e,t[44800+e]=r[175][e]);for(r[176]="�����������������������������������������������������������������캚캛캜캝캞캟캢캦캧캨캩캪캫캮캯캰캱캲캳캴캵캶캷캸캹캺������캻캼캽캾캿컀컂컃컄컅컆컇컈컉컊컋컌컍컎컏컐컑컒컓컔컕������컖컗컘컙컚컛컜컝컞컟컠컡컢컣컦컧컩컪컭컮컯컰컱컲컳컶컺컻컼컽컾컿가각간갇갈갉갊감갑값갓갔강갖갗같갚갛개객갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆�".split(""),e=0;e!=r[176].length;++e)65533!==r[176][e].charCodeAt(0)&&(n[r[176][e]]=45056+e,t[45056+e]=r[176][e]);for(r[177]="�����������������������������������������������������������������켂켃켅켆켇켉켊켋켌켍켎켏켒켔켖켗켘켙켚켛켝켞켟켡켢켣������켥켦켧켨켩켪켫켮켲켳켴켵켶켷켹켺켻켼켽켾켿콀콁콂콃콄������콅콆콇콈콉콊콋콌콍콎콏콐콑콒콓콖콗콙콚콛콝콞콟콠콡콢콣콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸�".split(""),e=0;e!=r[177].length;++e)65533!==r[177][e].charCodeAt(0)&&(n[r[177][e]]=45312+e,t[45312+e]=r[177][e]);for(r[178]="�����������������������������������������������������������������콭콮콯콲콳콵콶콷콹콺콻콼콽콾콿쾁쾂쾃쾄쾆쾇쾈쾉쾊쾋쾍������쾎쾏쾐쾑쾒쾓쾔쾕쾖쾗쾘쾙쾚쾛쾜쾝쾞쾟쾠쾢쾣쾤쾥쾦쾧쾩������쾪쾫쾬쾭쾮쾯쾱쾲쾳쾴쾵쾶쾷쾸쾹쾺쾻쾼쾽쾾쾿쿀쿁쿂쿃쿅쿆쿇쿈쿉쿊쿋깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙�".split(""),e=0;e!=r[178].length;++e)65533!==r[178][e].charCodeAt(0)&&(n[r[178][e]]=45568+e,t[45568+e]=r[178][e]);for(r[179]="�����������������������������������������������������������������쿌쿍쿎쿏쿐쿑쿒쿓쿔쿕쿖쿗쿘쿙쿚쿛쿜쿝쿞쿟쿢쿣쿥쿦쿧쿩������쿪쿫쿬쿭쿮쿯쿲쿴쿶쿷쿸쿹쿺쿻쿽쿾쿿퀁퀂퀃퀅퀆퀇퀈퀉퀊������퀋퀌퀍퀎퀏퀐퀒퀓퀔퀕퀖퀗퀙퀚퀛퀜퀝퀞퀟퀠퀡퀢퀣퀤퀥퀦퀧퀨퀩퀪퀫퀬끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫났낭낮낯낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝�".split(""),e=0;e!=r[179].length;++e)65533!==r[179][e].charCodeAt(0)&&(n[r[179][e]]=45824+e,t[45824+e]=r[179][e]);for(r[180]="�����������������������������������������������������������������퀮퀯퀰퀱퀲퀳퀶퀷퀹퀺퀻퀽퀾퀿큀큁큂큃큆큈큊큋큌큍큎큏������큑큒큓큕큖큗큙큚큛큜큝큞큟큡큢큣큤큥큦큧큨큩큪큫큮큯������큱큲큳큵큶큷큸큹큺큻큾큿킀킂킃킄킅킆킇킈킉킊킋킌킍킎킏킐킑킒킓킔뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫달닭닮닯닳담답닷닸당닺닻닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥�".split(""),e=0;e!=r[180].length;++e)65533!==r[180][e].charCodeAt(0)&&(n[r[180][e]]=46080+e,t[46080+e]=r[180][e]);for(r[181]="�����������������������������������������������������������������킕킖킗킘킙킚킛킜킝킞킟킠킡킢킣킦킧킩킪킫킭킮킯킰킱킲������킳킶킸킺킻킼킽킾킿탂탃탅탆탇탊탋탌탍탎탏탒탖탗탘탙탚������탛탞탟탡탢탣탥탦탧탨탩탪탫탮탲탳탴탵탶탷탹탺탻탼탽탾탿턀턁턂턃턄덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸�".split(""),e=0;e!=r[181].length;++e)65533!==r[181][e].charCodeAt(0)&&(n[r[181][e]]=46336+e,t[46336+e]=r[181][e]);for(r[182]="�����������������������������������������������������������������턅턆턇턈턉턊턋턌턎턏턐턑턒턓턔턕턖턗턘턙턚턛턜턝턞턟������턠턡턢턣턤턥턦턧턨턩턪턫턬턭턮턯턲턳턵턶턷턹턻턼턽턾������턿텂텆텇텈텉텊텋텎텏텑텒텓텕텖텗텘텙텚텛텞텠텢텣텤텥텦텧텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗�".split(""),e=0;e!=r[182].length;++e)65533!==r[182][e].charCodeAt(0)&&(n[r[182][e]]=46592+e,t[46592+e]=r[182][e]);for(r[183]="�����������������������������������������������������������������텮텯텰텱텲텳텴텵텶텷텸텹텺텻텽텾텿톀톁톂톃톅톆톇톉톊������톋톌톍톎톏톐톑톒톓톔톕톖톗톘톙톚톛톜톝톞톟톢톣톥톦톧������톩톪톫톬톭톮톯톲톴톶톷톸톹톻톽톾톿퇁퇂퇃퇄퇅퇆퇇퇈퇉퇊퇋퇌퇍퇎퇏래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩�".split(""),e=0;e!=r[183].length;++e)65533!==r[183][e].charCodeAt(0)&&(n[r[183][e]]=46848+e,t[46848+e]=r[183][e]);for(r[184]="�����������������������������������������������������������������퇐퇑퇒퇓퇔퇕퇖퇗퇙퇚퇛퇜퇝퇞퇟퇠퇡퇢퇣퇤퇥퇦퇧퇨퇩퇪������퇫퇬퇭퇮퇯퇰퇱퇲퇳퇵퇶퇷퇹퇺퇻퇼퇽퇾퇿툀툁툂툃툄툅툆������툈툊툋툌툍툎툏툑툒툓툔툕툖툗툘툙툚툛툜툝툞툟툠툡툢툣툤툥툦툧툨툩륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많맏말맑맒맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼�".split(""),e=0;e!=r[184].length;++e)65533!==r[184][e].charCodeAt(0)&&(n[r[184][e]]=47104+e,t[47104+e]=r[184][e]);for(r[185]="�����������������������������������������������������������������툪툫툮툯툱툲툳툵툶툷툸툹툺툻툾퉀퉂퉃퉄퉅퉆퉇퉉퉊퉋퉌������퉍퉎퉏퉐퉑퉒퉓퉔퉕퉖퉗퉘퉙퉚퉛퉝퉞퉟퉠퉡퉢퉣퉥퉦퉧퉨������퉩퉪퉫퉬퉭퉮퉯퉰퉱퉲퉳퉴퉵퉶퉷퉸퉹퉺퉻퉼퉽퉾퉿튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바박밖밗반받발밝밞밟밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗�".split(""),e=0;e!=r[185].length;++e)65533!==r[185][e].charCodeAt(0)&&(n[r[185][e]]=47360+e,t[47360+e]=r[185][e]);for(r[186]="�����������������������������������������������������������������튍튎튏튒튓튔튖튗튘튙튚튛튝튞튟튡튢튣튥튦튧튨튩튪튫튭������튮튯튰튲튳튴튵튶튷튺튻튽튾틁틃틄틅틆틇틊틌틍틎틏틐틑������틒틓틕틖틗틙틚틛틝틞틟틠틡틢틣틦틧틨틩틪틫틬틭틮틯틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤�".split(""),e=0;e!=r[186].length;++e)65533!==r[186][e].charCodeAt(0)&&(n[r[186][e]]=47616+e,t[47616+e]=r[186][e]);for(r[187]="�����������������������������������������������������������������틻틼틽틾틿팂팄팆팇팈팉팊팋팏팑팒팓팕팗팘팙팚팛팞팢팣������팤팦팧팪팫팭팮팯팱팲팳팴팵팶팷팺팾팿퍀퍁퍂퍃퍆퍇퍈퍉������퍊퍋퍌퍍퍎퍏퍐퍑퍒퍓퍔퍕퍖퍗퍘퍙퍚퍛퍜퍝퍞퍟퍠퍡퍢퍣퍤퍥퍦퍧퍨퍩빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤�".split(""),e=0;e!=r[187].length;++e)65533!==r[187][e].charCodeAt(0)&&(n[r[187][e]]=47872+e,t[47872+e]=r[187][e]);for(r[188]="�����������������������������������������������������������������퍪퍫퍬퍭퍮퍯퍰퍱퍲퍳퍴퍵퍶퍷퍸퍹퍺퍻퍾퍿펁펂펃펅펆펇������펈펉펊펋펎펒펓펔펕펖펗펚펛펝펞펟펡펢펣펤펥펦펧펪펬펮������펯펰펱펲펳펵펶펷펹펺펻펽펾펿폀폁폂폃폆폇폊폋폌폍폎폏폑폒폓폔폕폖샥샨샬샴샵샷샹섀섄섈섐섕서석섞섟선섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭�".split(""),e=0;e!=r[188].length;++e)65533!==r[188][e].charCodeAt(0)&&(n[r[188][e]]=48128+e,t[48128+e]=r[188][e]);for(r[189]="�����������������������������������������������������������������폗폙폚폛폜폝폞폟폠폢폤폥폦폧폨폩폪폫폮폯폱폲폳폵폶폷������폸폹폺폻폾퐀퐂퐃퐄퐅퐆퐇퐉퐊퐋퐌퐍퐎퐏퐐퐑퐒퐓퐔퐕퐖������퐗퐘퐙퐚퐛퐜퐞퐟퐠퐡퐢퐣퐤퐥퐦퐧퐨퐩퐪퐫퐬퐭퐮퐯퐰퐱퐲퐳퐴퐵퐶퐷숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰�".split(""),e=0;e!=r[189].length;++e)65533!==r[189][e].charCodeAt(0)&&(n[r[189][e]]=48384+e,t[48384+e]=r[189][e]);for(r[190]="�����������������������������������������������������������������퐸퐹퐺퐻퐼퐽퐾퐿푁푂푃푅푆푇푈푉푊푋푌푍푎푏푐푑푒푓������푔푕푖푗푘푙푚푛푝푞푟푡푢푣푥푦푧푨푩푪푫푬푮푰푱푲������푳푴푵푶푷푺푻푽푾풁풃풄풅풆풇풊풌풎풏풐풑풒풓풕풖풗풘풙풚풛풜풝쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄업없엇었엉엊엌엎�".split(""),e=0;e!=r[190].length;++e)65533!==r[190][e].charCodeAt(0)&&(n[r[190][e]]=48640+e,t[48640+e]=r[190][e]);for(r[191]="�����������������������������������������������������������������풞풟풠풡풢풣풤풥풦풧풨풪풫풬풭풮풯풰풱풲풳풴풵풶풷풸������풹풺풻풼풽풾풿퓀퓁퓂퓃퓄퓅퓆퓇퓈퓉퓊퓋퓍퓎퓏퓑퓒퓓퓕������퓖퓗퓘퓙퓚퓛퓝퓞퓠퓡퓢퓣퓤퓥퓦퓧퓩퓪퓫퓭퓮퓯퓱퓲퓳퓴퓵퓶퓷퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염엽엾엿였영옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨�".split(""),e=0;e!=r[191].length;++e)65533!==r[191][e].charCodeAt(0)&&(n[r[191][e]]=48896+e,t[48896+e]=r[191][e]);for(r[192]="�����������������������������������������������������������������퓾퓿픀픁픂픃픅픆픇픉픊픋픍픎픏픐픑픒픓픖픘픙픚픛픜픝������픞픟픠픡픢픣픤픥픦픧픨픩픪픫픬픭픮픯픰픱픲픳픴픵픶픷������픸픹픺픻픾픿핁핂핃핅핆핇핈핉핊핋핎핐핒핓핔핕핖핗핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응읒읓읔읕읖읗의읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊�".split(""),e=0;e!=r[192].length;++e)65533!==r[192][e].charCodeAt(0)&&(n[r[192][e]]=49152+e,t[49152+e]=r[192][e]);for(r[193]="�����������������������������������������������������������������핤핦핧핪핬핮핯핰핱핲핳핶핷핹핺핻핽핾핿햀햁햂햃햆햊햋������햌햍햎햏햑햒햓햔햕햖햗햘햙햚햛햜햝햞햟햠햡햢햣햤햦햧������햨햩햪햫햬햭햮햯햰햱햲햳햴햵햶햷햸햹햺햻햼햽햾햿헀헁헂헃헄헅헆헇점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓�".split(""),e=0;e!=r[193].length;++e)65533!==r[193][e].charCodeAt(0)&&(n[r[193][e]]=49408+e,t[49408+e]=r[193][e]);for(r[194]="�����������������������������������������������������������������헊헋헍헎헏헑헓헔헕헖헗헚헜헞헟헠헡헢헣헦헧헩헪헫헭헮������헯헰헱헲헳헶헸헺헻헼헽헾헿혂혃혅혆혇혉혊혋혌혍혎혏혒������혖혗혘혙혚혛혝혞혟혡혢혣혥혦혧혨혩혪혫혬혮혯혰혱혲혳혴혵혶혷혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻�".split(""),e=0;e!=r[194].length;++e)65533!==r[194][e].charCodeAt(0)&&(n[r[194][e]]=49664+e,t[49664+e]=r[194][e]);for(r[195]="�����������������������������������������������������������������혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝홞홟홠홡������홢홣홤홥홦홨홪홫홬홭홮홯홲홳홵홶홷홸홹홺홻홼홽홾홿횀������횁횂횄횆횇횈횉횊횋횎횏횑횒횓횕횖횗횘횙횚횛횜횞횠횢횣횤횥횦횧횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층�".split(""),e=0;e!=r[195].length;++e)65533!==r[195][e].charCodeAt(0)&&(n[r[195][e]]=49920+e,t[49920+e]=r[195][e]);for(r[196]="�����������������������������������������������������������������횫횭횮횯횱횲횳횴횵횶횷횸횺횼횽횾횿훀훁훂훃훆훇훉훊훋������훍훎훏훐훒훓훕훖훘훚훛훜훝훞훟훡훢훣훥훦훧훩훪훫훬훭������훮훯훱훲훳훴훶훷훸훹훺훻훾훿휁휂휃휅휆휇휈휉휊휋휌휍휎휏휐휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼�".split(""),e=0;e!=r[196].length;++e)65533!==r[196][e].charCodeAt(0)&&(n[r[196][e]]=50176+e,t[50176+e]=r[196][e]);for(r[197]="�����������������������������������������������������������������휕휖휗휚휛휝휞휟휡휢휣휤휥휦휧휪휬휮휯휰휱휲휳휶휷휹������휺휻휽휾휿흀흁흂흃흅흆흈흊흋흌흍흎흏흒흓흕흚흛흜흝흞������흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵흶흷흸흹흺흻흾흿힀힂힃힄힅힆힇힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜�".split(""),e=0;e!=r[197].length;++e)65533!==r[197][e].charCodeAt(0)&&(n[r[197][e]]=50432+e,t[50432+e]=r[197][e]);for(r[198]="�����������������������������������������������������������������힍힎힏힑힒힓힔힕힖힗힚힜힞힟힠힡힢힣������������������������������������������������������������������������������퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁�".split(""),e=0;e!=r[198].length;++e)65533!==r[198][e].charCodeAt(0)&&(n[r[198][e]]=50688+e,t[50688+e]=r[198][e]);for(r[199]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠�".split(""),e=0;e!=r[199].length;++e)65533!==r[199][e].charCodeAt(0)&&(n[r[199][e]]=50944+e,t[50944+e]=r[199][e]);for(r[200]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝�".split(""),e=0;e!=r[200].length;++e)65533!==r[200][e].charCodeAt(0)&&(n[r[200][e]]=51200+e,t[51200+e]=r[200][e]);for(r[202]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕�".split(""),e=0;e!=r[202].length;++e)65533!==r[202][e].charCodeAt(0)&&(n[r[202][e]]=51712+e,t[51712+e]=r[202][e]);for(r[203]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢�".split(""),e=0;e!=r[203].length;++e)65533!==r[203][e].charCodeAt(0)&&(n[r[203][e]]=51968+e,t[51968+e]=r[203][e]);for(r[204]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械�".split(""),e=0;e!=r[204].length;++e)65533!==r[204][e].charCodeAt(0)&&(n[r[204][e]]=52224+e,t[52224+e]=r[204][e]);for(r[205]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜�".split(""),e=0;e!=r[205].length;++e)65533!==r[205][e].charCodeAt(0)&&(n[r[205][e]]=52480+e,t[52480+e]=r[205][e]);for(r[206]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾�".split(""),e=0;e!=r[206].length;++e)65533!==r[206][e].charCodeAt(0)&&(n[r[206][e]]=52736+e,t[52736+e]=r[206][e]);for(r[207]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴�".split(""),e=0;e!=r[207].length;++e)65533!==r[207][e].charCodeAt(0)&&(n[r[207][e]]=52992+e,t[52992+e]=r[207][e]);for(r[208]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣�".split(""),e=0;e!=r[208].length;++e)65533!==r[208][e].charCodeAt(0)&&(n[r[208][e]]=53248+e,t[53248+e]=r[208][e]);for(r[209]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩羅蘿螺裸邏那樂洛烙珞落諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉�".split(""),e=0;e!=r[209].length;++e)65533!==r[209][e].charCodeAt(0)&&(n[r[209][e]]=53504+e,t[53504+e]=r[209][e]);for(r[210]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������納臘蠟衲囊娘廊朗浪狼郎乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧老蘆虜路露駑魯鷺碌祿綠菉錄鹿論壟弄濃籠聾膿農惱牢磊腦賂雷尿壘屢樓淚漏累縷陋嫩訥杻紐勒肋凜凌稜綾能菱陵尼泥匿溺多茶�".split(""),e=0;e!=r[210].length;++e)65533!==r[210][e].charCodeAt(0)&&(n[r[210][e]]=53760+e,t[53760+e]=r[210][e]);for(r[211]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃�".split(""),e=0;e!=r[211].length;++e)65533!==r[211][e].charCodeAt(0)&&(n[r[211][e]]=54016+e,t[54016+e]=r[211][e]);for(r[212]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅�".split(""),e=0;e!=r[212].length;++e)65533!==r[212][e].charCodeAt(0)&&(n[r[212][e]]=54272+e,t[54272+e]=r[212][e]);for(r[213]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣�".split(""),e=0;e!=r[213].length;++e)65533!==r[213][e].charCodeAt(0)&&(n[r[213][e]]=54528+e,t[54528+e]=r[213][e]);for(r[214]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼�".split(""),e=0;e!=r[214].length;++e)65533!==r[214][e].charCodeAt(0)&&(n[r[214][e]]=54784+e,t[54784+e]=r[214][e]);for(r[215]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬�".split(""),e=0;e!=r[215].length;++e)65533!==r[215][e].charCodeAt(0)&&(n[r[215][e]]=55040+e,t[55040+e]=r[215][e]);for(r[216]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅�".split(""),e=0;e!=r[216].length;++e)65533!==r[216][e].charCodeAt(0)&&(n[r[216][e]]=55296+e,t[55296+e]=r[216][e]);for(r[217]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文�".split(""),e=0;e!=r[217].length;++e)65533!==r[217][e].charCodeAt(0)&&(n[r[217][e]]=55552+e,t[55552+e]=r[217][e]);for(r[218]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑�".split(""),e=0;e!=r[218].length;++e)65533!==r[218][e].charCodeAt(0)&&(n[r[218][e]]=55808+e,t[55808+e]=r[218][e]);for(r[219]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖�".split(""),e=0;e!=r[219].length;++e)65533!==r[219][e].charCodeAt(0)&&(n[r[219][e]]=56064+e,t[56064+e]=r[219][e]);for(r[220]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦�".split(""),e=0;e!=r[220].length;++e)65533!==r[220][e].charCodeAt(0)&&(n[r[220][e]]=56320+e,t[56320+e]=r[220][e]);for(r[221]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥�".split(""),e=0;e!=r[221].length;++e)65533!==r[221][e].charCodeAt(0)&&(n[r[221][e]]=56576+e,t[56576+e]=r[221][e]);for(r[222]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索�".split(""),e=0;e!=r[222].length;++e)65533!==r[222][e].charCodeAt(0)&&(n[r[222][e]]=56832+e,t[56832+e]=r[222][e]);for(r[223]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署�".split(""),e=0;e!=r[223].length;++e)65533!==r[223][e].charCodeAt(0)&&(n[r[223][e]]=57088+e,t[57088+e]=r[223][e]);for(r[224]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬�".split(""),e=0;e!=r[224].length;++e)65533!==r[224][e].charCodeAt(0)&&(n[r[224][e]]=57344+e,t[57344+e]=r[224][e]);for(r[225]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁�".split(""),e=0;e!=r[225].length;++e)65533!==r[225][e].charCodeAt(0)&&(n[r[225][e]]=57600+e,t[57600+e]=r[225][e]);for(r[226]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧�".split(""),e=0;e!=r[226].length;++e)65533!==r[226][e].charCodeAt(0)&&(n[r[226][e]]=57856+e,t[57856+e]=r[226][e]);for(r[227]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁�".split(""),e=0;e!=r[227].length;++e)65533!==r[227][e].charCodeAt(0)&&(n[r[227][e]]=58112+e,t[58112+e]=r[227][e]);for(r[228]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額�".split(""),e=0;e!=r[228].length;++e)65533!==r[228][e].charCodeAt(0)&&(n[r[228][e]]=58368+e,t[58368+e]=r[228][e]);for(r[229]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬�".split(""),e=0;e!=r[229].length;++e)65533!==r[229][e].charCodeAt(0)&&(n[r[229][e]]=58624+e,t[58624+e]=r[229][e]);for(r[230]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒�".split(""),e=0;e!=r[230].length;++e)65533!==r[230][e].charCodeAt(0)&&(n[r[230][e]]=58880+e,t[58880+e]=r[230][e]);for(r[231]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳�".split(""),e=0;e!=r[231].length;++e)65533!==r[231][e].charCodeAt(0)&&(n[r[231][e]]=59136+e,t[59136+e]=r[231][e]);for(r[232]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療�".split(""),e=0;e!=r[232].length;++e)65533!==r[232][e].charCodeAt(0)&&(n[r[232][e]]=59392+e,t[59392+e]=r[232][e]);for(r[233]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓�".split(""),e=0;e!=r[233].length;++e)65533!==r[233][e].charCodeAt(0)&&(n[r[233][e]]=59648+e,t[59648+e]=r[233][e]);for(r[234]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜�".split(""),e=0;e!=r[234].length;++e)65533!==r[234][e].charCodeAt(0)&&(n[r[234][e]]=59904+e,t[59904+e]=r[234][e]);for(r[235]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼�".split(""),e=0;e!=r[235].length;++e)65533!==r[235][e].charCodeAt(0)&&(n[r[235][e]]=60160+e,t[60160+e]=r[235][e]);for(r[236]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄�".split(""),e=0;e!=r[236].length;++e)65533!==r[236][e].charCodeAt(0)&&(n[r[236][e]]=60416+e,t[60416+e]=r[236][e]);for(r[237]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長�".split(""),e=0;e!=r[237].length;++e)65533!==r[237][e].charCodeAt(0)&&(n[r[237][e]]=60672+e,t[60672+e]=r[237][e]);for(r[238]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱�".split(""),e=0;e!=r[238].length;++e)65533!==r[238][e].charCodeAt(0)&&(n[r[238][e]]=60928+e,t[60928+e]=r[238][e]);for(r[239]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖�".split(""),e=0;e!=r[239].length;++e)65533!==r[239][e].charCodeAt(0)&&(n[r[239][e]]=61184+e,t[61184+e]=r[239][e]);for(r[240]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫�".split(""),e=0;e!=r[240].length;++e)65533!==r[240][e].charCodeAt(0)&&(n[r[240][e]]=61440+e,t[61440+e]=r[240][e]);for(r[241]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只�".split(""),e=0;e!=r[241].length;++e)65533!==r[241][e].charCodeAt(0)&&(n[r[241][e]]=61696+e,t[61696+e]=r[241][e]);for(r[242]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯�".split(""),e=0;e!=r[242].length;++e)65533!==r[242][e].charCodeAt(0)&&(n[r[242][e]]=61952+e,t[61952+e]=r[242][e]);for(r[243]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策�".split(""),e=0;e!=r[243].length;++e)65533!==r[243][e].charCodeAt(0)&&(n[r[243][e]]=62208+e,t[62208+e]=r[243][e]);for(r[244]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢�".split(""),e=0;e!=r[244].length;++e)65533!==r[244][e].charCodeAt(0)&&(n[r[244][e]]=62464+e,t[62464+e]=r[244][e]);for(r[245]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃�".split(""),e=0;e!=r[245].length;++e)65533!==r[245][e].charCodeAt(0)&&(n[r[245][e]]=62720+e,t[62720+e]=r[245][e]);for(r[246]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託�".split(""),e=0;e!=r[246].length;++e)65533!==r[246][e].charCodeAt(0)&&(n[r[246][e]]=62976+e,t[62976+e]=r[246][e]);for(r[247]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑�".split(""),e=0;e!=r[247].length;++e)65533!==r[247][e].charCodeAt(0)&&(n[r[247][e]]=63232+e,t[63232+e]=r[247][e]);for(r[248]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃�".split(""),e=0;e!=r[248].length;++e)65533!==r[248][e].charCodeAt(0)&&(n[r[248][e]]=63488+e,t[63488+e]=r[248][e]);for(r[249]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航�".split(""),e=0;e!=r[249].length;++e)65533!==r[249][e].charCodeAt(0)&&(n[r[249][e]]=63744+e,t[63744+e]=r[249][e]);for(r[250]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型�".split(""),e=0;e!=r[250].length;++e)65533!==r[250][e].charCodeAt(0)&&(n[r[250][e]]=64e3+e,t[64e3+e]=r[250][e]);for(r[251]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵�".split(""),e=0;e!=r[251].length;++e)65533!==r[251][e].charCodeAt(0)&&(n[r[251][e]]=64256+e,t[64256+e]=r[251][e]);for(r[252]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆�".split(""),e=0;e!=r[252].length;++e)65533!==r[252][e].charCodeAt(0)&&(n[r[252][e]]=64512+e,t[64512+e]=r[252][e]);for(r[253]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰�".split(""),e=0;e!=r[253].length;++e)65533!==r[253][e].charCodeAt(0)&&(n[r[253][e]]=64768+e,t[64768+e]=r[253][e]);return{enc:n,dec:t}}(),n[950]=function(){var e,t=[],n={},r=[];for(r[0]="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~��������������������������������������������������������������������������������������������������������������������������������".split(""),e=0;e!=r[0].length;++e)65533!==r[0][e].charCodeAt(0)&&(n[r[0][e]]=0+e,t[0+e]=r[0][e]);for(r[161]="���������������������������������������������������������������� ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚����������������������������������﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢﹣﹤﹥﹦~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/�".split(""),e=0;e!=r[161].length;++e)65533!==r[161][e].charCodeAt(0)&&(n[r[161][e]]=41216+e,t[41216+e]=r[161][e]);for(r[162]="����������������������������������������������������������������\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁▂▃▄▅▆▇█▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭����������������������������������╮╰╯═╞╪╡◢◣◥◤╱╲╳0123456789ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ〡〢〣〤〥〦〧〨〩十卄卅ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuv�".split(""),e=0;e!=r[162].length;++e)65533!==r[162][e].charCodeAt(0)&&(n[r[162][e]]=41472+e,t[41472+e]=r[162][e]);for(r[163]="����������������������������������������������������������������wxyzΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏ����������������������������������ㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ˙ˉˊˇˋ���������������������������������€������������������������������".split(""),e=0;e!=r[163].length;++e)65533!==r[163][e].charCodeAt(0)&&(n[r[163][e]]=41728+e,t[41728+e]=r[163][e]);for(r[164]="����������������������������������������������������������������一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才����������������������������������丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙�".split(""),e=0;e!=r[164].length;++e)65533!==r[164][e].charCodeAt(0)&&(n[r[164][e]]=41984+e,t[41984+e]=r[164][e]);for(r[165]="����������������������������������������������������������������世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外����������������������������������央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全�".split(""),e=0;e!=r[165].length;++e)65533!==r[165][e].charCodeAt(0)&&(n[r[165][e]]=42240+e,t[42240+e]=r[165][e]);for(r[166]="����������������������������������������������������������������共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年����������������������������������式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣�".split(""),e=0;e!=r[166].length;++e)65533!==r[166][e].charCodeAt(0)&&(n[r[166][e]]=42496+e,t[42496+e]=r[166][e]);for(r[167]="����������������������������������������������������������������作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍����������������������������������均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠�".split(""),e=0;e!=r[167].length;++e)65533!==r[167][e].charCodeAt(0)&&(n[r[167][e]]=42752+e,t[42752+e]=r[167][e]);for(r[168]="����������������������������������������������������������������杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒����������������������������������芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵�".split(""),e=0;e!=r[168].length;++e)65533!==r[168][e].charCodeAt(0)&&(n[r[168][e]]=43008+e,t[43008+e]=r[168][e]);for(r[169]="����������������������������������������������������������������咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居����������������������������������屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊�".split(""),e=0;e!=r[169].length;++e)65533!==r[169][e].charCodeAt(0)&&(n[r[169][e]]=43264+e,t[43264+e]=r[169][e]);for(r[170]="����������������������������������������������������������������昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠����������������������������������炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附�".split(""),e=0;e!=r[170].length;++e)65533!==r[170][e].charCodeAt(0)&&(n[r[170][e]]=43520+e,t[43520+e]=r[170][e]);for(r[171]="����������������������������������������������������������������陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品����������������������������������哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷�".split(""),e=0;e!=r[171].length;++e)65533!==r[171][e].charCodeAt(0)&&(n[r[171][e]]=43776+e,t[43776+e]=r[171][e]);for(r[172]="����������������������������������������������������������������拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗����������������������������������活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄�".split(""),e=0;e!=r[172].length;++e)65533!==r[172][e].charCodeAt(0)&&(n[r[172][e]]=44032+e,t[44032+e]=r[172][e]);for(r[173]="����������������������������������������������������������������耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥����������������������������������迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪�".split(""),e=0;e!=r[173].length;++e)65533!==r[173][e].charCodeAt(0)&&(n[r[173][e]]=44288+e,t[44288+e]=r[173][e]);for(r[174]="����������������������������������������������������������������哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙����������������������������������恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓�".split(""),e=0;e!=r[174].length;++e)65533!==r[174][e].charCodeAt(0)&&(n[r[174][e]]=44544+e,t[44544+e]=r[174][e]);for(r[175]="����������������������������������������������������������������浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷����������������������������������砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃�".split(""),e=0;e!=r[175].length;++e)65533!==r[175][e].charCodeAt(0)&&(n[r[175][e]]=44800+e,t[44800+e]=r[175][e]);for(r[176]="����������������������������������������������������������������虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡����������������������������������陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀�".split(""),e=0;e!=r[176].length;++e)65533!==r[176][e].charCodeAt(0)&&(n[r[176][e]]=45056+e,t[45056+e]=r[176][e]);for(r[177]="����������������������������������������������������������������娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽����������������������������������情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺�".split(""),e=0;e!=r[177].length;++e)65533!==r[177][e].charCodeAt(0)&&(n[r[177][e]]=45312+e,t[45312+e]=r[177][e]);for(r[178]="����������������������������������������������������������������毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶����������������������������������瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼�".split(""),e=0;e!=r[178].length;++e)65533!==r[178][e].charCodeAt(0)&&(n[r[178][e]]=45568+e,t[45568+e]=r[178][e]);for(r[179]="����������������������������������������������������������������莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途����������������������������������部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠�".split(""),e=0;e!=r[179].length;++e)65533!==r[179][e].charCodeAt(0)&&(n[r[179][e]]=45824+e,t[45824+e]=r[179][e]);for(r[180]="����������������������������������������������������������������婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍����������������������������������插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋�".split(""),e=0;e!=r[180].length;++e)65533!==r[180][e].charCodeAt(0)&&(n[r[180][e]]=46080+e,t[46080+e]=r[180][e]);for(r[181]="����������������������������������������������������������������溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘����������������������������������窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁�".split(""),e=0;e!=r[181].length;++e)65533!==r[181][e].charCodeAt(0)&&(n[r[181][e]]=46336+e,t[46336+e]=r[181][e]);for(r[182]="����������������������������������������������������������������詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑����������������������������������間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼�".split(""),e=0;e!=r[182].length;++e)65533!==r[182][e].charCodeAt(0)&&(n[r[182][e]]=46592+e,t[46592+e]=r[182][e]);for(r[183]="����������������������������������������������������������������媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業����������������������������������楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督�".split(""),e=0;e!=r[183].length;++e)65533!==r[183][e].charCodeAt(0)&&(n[r[183][e]]=46848+e,t[46848+e]=r[183][e]);for(r[184]="����������������������������������������������������������������睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫����������������������������������腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊�".split(""),e=0;e!=r[184].length;++e)65533!==r[184][e].charCodeAt(0)&&(n[r[184][e]]=47104+e,t[47104+e]=r[184][e]);for(r[185]="����������������������������������������������������������������辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴����������������������������������飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇�".split(""),e=0;e!=r[185].length;++e)65533!==r[185][e].charCodeAt(0)&&(n[r[185][e]]=47360+e,t[47360+e]=r[185][e]);for(r[186]="����������������������������������������������������������������愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢����������������������������������滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬�".split(""),e=0;e!=r[186].length;++e)65533!==r[186][e].charCodeAt(0)&&(n[r[186][e]]=47616+e,t[47616+e]=r[186][e]);for(r[187]="����������������������������������������������������������������罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤����������������������������������說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜�".split(""),e=0;e!=r[187].length;++e)65533!==r[187][e].charCodeAt(0)&&(n[r[187][e]]=47872+e,t[47872+e]=r[187][e]);for(r[188]="����������������������������������������������������������������劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂����������������������������������慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃�".split(""),e=0;e!=r[188].length;++e)65533!==r[188][e].charCodeAt(0)&&(n[r[188][e]]=48128+e,t[48128+e]=r[188][e]);for(r[189]="����������������������������������������������������������������瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯����������������������������������翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞�".split(""),e=0;e!=r[189].length;++e)65533!==r[189][e].charCodeAt(0)&&(n[r[189][e]]=48384+e,t[48384+e]=r[189][e]);for(r[190]="����������������������������������������������������������������輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉����������������������������������鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡�".split(""),e=0;e!=r[190].length;++e)65533!==r[190][e].charCodeAt(0)&&(n[r[190][e]]=48640+e,t[48640+e]=r[190][e]);for(r[191]="����������������������������������������������������������������濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊����������������������������������縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚�".split(""),e=0;e!=r[191].length;++e)65533!==r[191][e].charCodeAt(0)&&(n[r[191][e]]=48896+e,t[48896+e]=r[191][e]);for(r[192]="����������������������������������������������������������������錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇����������������������������������嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬�".split(""),e=0;e!=r[192].length;++e)65533!==r[192][e].charCodeAt(0)&&(n[r[192][e]]=49152+e,t[49152+e]=r[192][e]);for(r[193]="����������������������������������������������������������������瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪����������������������������������薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁�".split(""),e=0;e!=r[193].length;++e)65533!==r[193][e].charCodeAt(0)&&(n[r[193][e]]=49408+e,t[49408+e]=r[193][e]);for(r[194]="����������������������������������������������������������������駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘����������������������������������癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦�".split(""),e=0;e!=r[194].length;++e)65533!==r[194][e].charCodeAt(0)&&(n[r[194][e]]=49664+e,t[49664+e]=r[194][e]);for(r[195]="����������������������������������������������������������������鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸����������������������������������獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類�".split(""),e=0;e!=r[195].length;++e)65533!==r[195][e].charCodeAt(0)&&(n[r[195][e]]=49920+e,t[49920+e]=r[195][e]);for(r[196]="����������������������������������������������������������������願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼����������������������������������纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴�".split(""),e=0;e!=r[196].length;++e)65533!==r[196][e].charCodeAt(0)&&(n[r[196][e]]=50176+e,t[50176+e]=r[196][e]);for(r[197]="����������������������������������������������������������������護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬����������������������������������禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒�".split(""),e=0;e!=r[197].length;++e)65533!==r[197][e].charCodeAt(0)&&(n[r[197][e]]=50432+e,t[50432+e]=r[197][e]);for(r[198]="����������������������������������������������������������������讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲���������������������������������������������������������������������������������������������������������������������������������".split(""),e=0;e!=r[198].length;++e)65533!==r[198][e].charCodeAt(0)&&(n[r[198][e]]=50688+e,t[50688+e]=r[198][e]);for(r[201]="����������������������������������������������������������������乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕����������������������������������氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋�".split(""),e=0;e!=r[201].length;++e)65533!==r[201][e].charCodeAt(0)&&(n[r[201][e]]=51456+e,t[51456+e]=r[201][e]);for(r[202]="����������������������������������������������������������������汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘����������������������������������吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇�".split(""),e=0;e!=r[202].length;++e)65533!==r[202][e].charCodeAt(0)&&(n[r[202][e]]=51712+e,t[51712+e]=r[202][e]);for(r[203]="����������������������������������������������������������������杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓����������������������������������芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢�".split(""),e=0;e!=r[203].length;++e)65533!==r[203][e].charCodeAt(0)&&(n[r[203][e]]=51968+e,t[51968+e]=r[203][e]);for(r[204]="����������������������������������������������������������������坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋����������������������������������怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲�".split(""),e=0;e!=r[204].length;++e)65533!==r[204][e].charCodeAt(0)&&(n[r[204][e]]=52224+e,t[52224+e]=r[204][e]);for(r[205]="����������������������������������������������������������������泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺����������������������������������矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏�".split(""),e=0;e!=r[205].length;++e)65533!==r[205][e].charCodeAt(0)&&(n[r[205][e]]=52480+e,t[52480+e]=r[205][e]);for(r[206]="����������������������������������������������������������������哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛����������������������������������峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺�".split(""),e=0;e!=r[206].length;++e)65533!==r[206][e].charCodeAt(0)&&(n[r[206][e]]=52736+e,t[52736+e]=r[206][e]);for(r[207]="����������������������������������������������������������������柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂����������������������������������洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀�".split(""),e=0;e!=r[207].length;++e)65533!==r[207][e].charCodeAt(0)&&(n[r[207][e]]=52992+e,t[52992+e]=r[207][e]);for(r[208]="����������������������������������������������������������������穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪����������������������������������苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱�".split(""),e=0;e!=r[208].length;++e)65533!==r[208][e].charCodeAt(0)&&(n[r[208][e]]=53248+e,t[53248+e]=r[208][e]);for(r[209]="����������������������������������������������������������������唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧����������������������������������恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤�".split(""),e=0;e!=r[209].length;++e)65533!==r[209][e].charCodeAt(0)&&(n[r[209][e]]=53504+e,t[53504+e]=r[209][e]);for(r[210]="����������������������������������������������������������������毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸����������������������������������牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐�".split(""),e=0;e!=r[210].length;++e)65533!==r[210][e].charCodeAt(0)&&(n[r[210][e]]=53760+e,t[53760+e]=r[210][e]);for(r[211]="����������������������������������������������������������������笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢����������������������������������荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐�".split(""),e=0;e!=r[211].length;++e)65533!==r[211][e].charCodeAt(0)&&(n[r[211][e]]=54016+e,t[54016+e]=r[211][e]);for(r[212]="����������������������������������������������������������������酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅����������������������������������唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏�".split(""),e=0;e!=r[212].length;++e)65533!==r[212][e].charCodeAt(0)&&(n[r[212][e]]=54272+e,t[54272+e]=r[212][e]);for(r[213]="����������������������������������������������������������������崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟����������������������������������捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉�".split(""),e=0;e!=r[213].length;++e)65533!==r[213][e].charCodeAt(0)&&(n[r[213][e]]=54528+e,t[54528+e]=r[213][e]);for(r[214]="����������������������������������������������������������������淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏����������������������������������痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟�".split(""),e=0;e!=r[214].length;++e)65533!==r[214][e].charCodeAt(0)&&(n[r[214][e]]=54784+e,t[54784+e]=r[214][e]);for(r[215]="����������������������������������������������������������������耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷����������������������������������蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪�".split(""),e=0;e!=r[215].length;++e)65533!==r[215][e].charCodeAt(0)&&(n[r[215][e]]=55040+e,t[55040+e]=r[215][e]);for(r[216]="����������������������������������������������������������������釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷����������������������������������堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔�".split(""),e=0;e!=r[216].length;++e)65533!==r[216][e].charCodeAt(0)&&(n[r[216][e]]=55296+e,t[55296+e]=r[216][e]);for(r[217]="����������������������������������������������������������������惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒����������������������������������晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞�".split(""),e=0;e!=r[217].length;++e)65533!==r[217][e].charCodeAt(0)&&(n[r[217][e]]=55552+e,t[55552+e]=r[217][e]);for(r[218]="����������������������������������������������������������������湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖����������������������������������琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥�".split(""),e=0;e!=r[218].length;++e)65533!==r[218][e].charCodeAt(0)&&(n[r[218][e]]=55808+e,t[55808+e]=r[218][e]);for(r[219]="����������������������������������������������������������������罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳����������������������������������菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺�".split(""),e=0;e!=r[219].length;++e)65533!==r[219][e].charCodeAt(0)&&(n[r[219][e]]=56064+e,t[56064+e]=r[219][e]);for(r[220]="����������������������������������������������������������������軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈����������������������������������隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆�".split(""),e=0;e!=r[220].length;++e)65533!==r[220][e].charCodeAt(0)&&(n[r[220][e]]=56320+e,t[56320+e]=r[220][e]);for(r[221]="����������������������������������������������������������������媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤����������������������������������搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼�".split(""),e=0;e!=r[221].length;++e)65533!==r[221][e].charCodeAt(0)&&(n[r[221][e]]=56576+e,t[56576+e]=r[221][e]);for(r[222]="����������������������������������������������������������������毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓����������������������������������煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓�".split(""),e=0;e!=r[222].length;++e)65533!==r[222][e].charCodeAt(0)&&(n[r[222][e]]=56832+e,t[56832+e]=r[222][e]);for(r[223]="����������������������������������������������������������������稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯����������������������������������腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤�".split(""),e=0;e!=r[223].length;++e)65533!==r[223][e].charCodeAt(0)&&(n[r[223][e]]=57088+e,t[57088+e]=r[223][e]);for(r[224]="����������������������������������������������������������������觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿����������������������������������遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠�".split(""),e=0;e!=r[224].length;++e)65533!==r[224][e].charCodeAt(0)&&(n[r[224][e]]=57344+e,t[57344+e]=r[224][e]);for(r[225]="����������������������������������������������������������������凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠����������������������������������寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉�".split(""),e=0;e!=r[225].length;++e)65533!==r[225][e].charCodeAt(0)&&(n[r[225][e]]=57600+e,t[57600+e]=r[225][e]);for(r[226]="����������������������������������������������������������������榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊����������������������������������漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓�".split(""),e=0;e!=r[226].length;++e)65533!==r[226][e].charCodeAt(0)&&(n[r[226][e]]=57856+e,t[57856+e]=r[226][e]);for(r[227]="����������������������������������������������������������������禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞����������������������������������耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻�".split(""),e=0;e!=r[227].length;++e)65533!==r[227][e].charCodeAt(0)&&(n[r[227][e]]=58112+e,t[58112+e]=r[227][e]);for(r[228]="����������������������������������������������������������������裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍����������������������������������銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘�".split(""),e=0;e!=r[228].length;++e)65533!==r[228][e].charCodeAt(0)&&(n[r[228][e]]=58368+e,t[58368+e]=r[228][e]);for(r[229]="����������������������������������������������������������������噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉����������������������������������憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒�".split(""),e=0;e!=r[229].length;++e)65533!==r[229][e].charCodeAt(0)&&(n[r[229][e]]=58624+e,t[58624+e]=r[229][e]);for(r[230]="����������������������������������������������������������������澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙����������������������������������獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟�".split(""),e=0;e!=r[230].length;++e)65533!==r[230][e].charCodeAt(0)&&(n[r[230][e]]=58880+e,t[58880+e]=r[230][e]);for(r[231]="����������������������������������������������������������������膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢����������������������������������蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧�".split(""),e=0;e!=r[231].length;++e)65533!==r[231][e].charCodeAt(0)&&(n[r[231][e]]=59136+e,t[59136+e]=r[231][e]);for(r[232]="����������������������������������������������������������������踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓����������������������������������銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮�".split(""),e=0;e!=r[232].length;++e)65533!==r[232][e].charCodeAt(0)&&(n[r[232][e]]=59392+e,t[59392+e]=r[232][e]);for(r[233]="����������������������������������������������������������������噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺����������������������������������憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸�".split(""),e=0;e!=r[233].length;++e)65533!==r[233][e].charCodeAt(0)&&(n[r[233][e]]=59648+e,t[59648+e]=r[233][e]);for(r[234]="����������������������������������������������������������������澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙����������������������������������瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘�".split(""),e=0;e!=r[234].length;++e)65533!==r[234][e].charCodeAt(0)&&(n[r[234][e]]=59904+e,t[59904+e]=r[234][e]);for(r[235]="����������������������������������������������������������������蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠����������������������������������諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌�".split(""),e=0;e!=r[235].length;++e)65533!==r[235][e].charCodeAt(0)&&(n[r[235][e]]=60160+e,t[60160+e]=r[235][e]);for(r[236]="����������������������������������������������������������������錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕����������������������������������魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎�".split(""),e=0;e!=r[236].length;++e)65533!==r[236][e].charCodeAt(0)&&(n[r[236][e]]=60416+e,t[60416+e]=r[236][e]);for(r[237]="����������������������������������������������������������������檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶����������������������������������瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞�".split(""),e=0;e!=r[237].length;++e)65533!==r[237][e].charCodeAt(0)&&(n[r[237][e]]=60672+e,t[60672+e]=r[237][e]);for(r[238]="����������������������������������������������������������������蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞����������������������������������謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜�".split(""),e=0;e!=r[238].length;++e)65533!==r[238][e].charCodeAt(0)&&(n[r[238][e]]=60928+e,t[60928+e]=r[238][e]);for(r[239]="����������������������������������������������������������������鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰����������������������������������鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶�".split(""),e=0;e!=r[239].length;++e)65533!==r[239][e].charCodeAt(0)&&(n[r[239][e]]=61184+e,t[61184+e]=r[239][e]);for(r[240]="����������������������������������������������������������������璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒����������������������������������臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧�".split(""),e=0;e!=r[240].length;++e)65533!==r[240][e].charCodeAt(0)&&(n[r[240][e]]=61440+e,t[61440+e]=r[240][e]);for(r[241]="����������������������������������������������������������������蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪����������������������������������鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰�".split(""),e=0;e!=r[241].length;++e)65533!==r[241][e].charCodeAt(0)&&(n[r[241][e]]=61696+e,t[61696+e]=r[241][e]);for(r[242]="����������������������������������������������������������������徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛����������������������������������礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕�".split(""),e=0;e!=r[242].length;++e)65533!==r[242][e].charCodeAt(0)&&(n[r[242][e]]=61952+e,t[61952+e]=r[242][e]);for(r[243]="����������������������������������������������������������������譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦����������������������������������鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲�".split(""),e=0;e!=r[243].length;++e)65533!==r[243][e].charCodeAt(0)&&(n[r[243][e]]=62208+e,t[62208+e]=r[243][e]);for(r[244]="����������������������������������������������������������������嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩����������������������������������禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿�".split(""),e=0;e!=r[244].length;++e)65533!==r[244][e].charCodeAt(0)&&(n[r[244][e]]=62464+e,t[62464+e]=r[244][e]);for(r[245]="����������������������������������������������������������������鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛����������������������������������鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥�".split(""),e=0;e!=r[245].length;++e)65533!==r[245][e].charCodeAt(0)&&(n[r[245][e]]=62720+e,t[62720+e]=r[245][e]);for(r[246]="����������������������������������������������������������������蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺����������������������������������騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚�".split(""),e=0;e!=r[246].length;++e)65533!==r[246][e].charCodeAt(0)&&(n[r[246][e]]=62976+e,t[62976+e]=r[246][e]);for(r[247]="����������������������������������������������������������������糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊����������������������������������驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾�".split(""),e=0;e!=r[247].length;++e)65533!==r[247][e].charCodeAt(0)&&(n[r[247][e]]=63232+e,t[63232+e]=r[247][e]);for(r[248]="����������������������������������������������������������������讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏����������������������������������齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚�".split(""),e=0;e!=r[248].length;++e)65533!==r[248][e].charCodeAt(0)&&(n[r[248][e]]=63488+e,t[63488+e]=r[248][e]);for(r[249]="����������������������������������������������������������������纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊����������������������������������龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓�".split(""),e=0;e!=r[249].length;++e)65533!==r[249][e].charCodeAt(0)&&(n[r[249][e]]=63744+e,t[63744+e]=r[249][e]);return{enc:n,dec:t}}(),n[1250]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1251]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1252]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1253]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1254]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1255]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹ�ֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת���",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1256]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œں ،¢£¤¥¦§¨©ھ«¬®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûüے",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1257]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1258]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[1e4]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[10006]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[10007]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[10008]=function(){var e,t=[],n={},r=[];for(r[0]="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~���������������������������������������������������������������������������������������".split(""),e=0;e!=r[0].length;++e)65533!==r[0][e].charCodeAt(0)&&(n[r[0][e]]=0+e,t[0+e]=r[0][e]);for(r[161]="����������������������������������������������������������������������������������������������������������������������������������������������������������������� 、。・ˉˇ¨〃々―~�…‘’“”〔〕〈〉《》「」『』〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓�".split(""),e=0;e!=r[161].length;++e)65533!==r[161][e].charCodeAt(0)&&(n[r[161][e]]=41216+e,t[41216+e]=r[161][e]);for(r[162]="���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩��㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩��ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ���".split(""),e=0;e!=r[162].length;++e)65533!==r[162][e].charCodeAt(0)&&(n[r[162][e]]=41472+e,t[41472+e]=r[162][e]);for(r[163]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������!"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} ̄�".split(""),e=0;e!=r[163].length;++e)65533!==r[163][e].charCodeAt(0)&&(n[r[163][e]]=41728+e,t[41728+e]=r[163][e]);for(r[164]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������".split(""),e=0;e!=r[164].length;++e)65533!==r[164][e].charCodeAt(0)&&(n[r[164][e]]=41984+e,t[41984+e]=r[164][e]);for(r[165]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������".split(""),e=0;e!=r[165].length;++e)65533!==r[165][e].charCodeAt(0)&&(n[r[165][e]]=42240+e,t[42240+e]=r[165][e]);for(r[166]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω���������������������������������������".split(""),e=0;e!=r[166].length;++e)65533!==r[166][e].charCodeAt(0)&&(n[r[166][e]]=42496+e,t[42496+e]=r[166][e]);for(r[167]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������".split(""),e=0;e!=r[167].length;++e)65533!==r[167][e].charCodeAt(0)&&(n[r[167][e]]=42752+e,t[42752+e]=r[167][e]);for(r[168]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüê����������ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ����������������������".split(""),e=0;e!=r[168].length;++e)65533!==r[168][e].charCodeAt(0)&&(n[r[168][e]]=43008+e,t[43008+e]=r[168][e]);for(r[169]="��������������������������������������������������������������������������������������������������������������������������������������������������������������������─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋����������������".split(""),e=0;e!=r[169].length;++e)65533!==r[169][e].charCodeAt(0)&&(n[r[169][e]]=43264+e,t[43264+e]=r[169][e]);for(r[176]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥�".split(""),e=0;e!=r[176].length;++e)65533!==r[176][e].charCodeAt(0)&&(n[r[176][e]]=45056+e,t[45056+e]=r[176][e]);for(r[177]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳�".split(""),e=0;e!=r[177].length;++e)65533!==r[177][e].charCodeAt(0)&&(n[r[177][e]]=45312+e,t[45312+e]=r[177][e]);for(r[178]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖�".split(""),e=0;e!=r[178].length;++e)65533!==r[178][e].charCodeAt(0)&&(n[r[178][e]]=45568+e,t[45568+e]=r[178][e]);for(r[179]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚�".split(""),e=0;e!=r[179].length;++e)65533!==r[179][e].charCodeAt(0)&&(n[r[179][e]]=45824+e,t[45824+e]=r[179][e]);for(r[180]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮�".split(""),e=0;e!=r[180].length;++e)65533!==r[180][e].charCodeAt(0)&&(n[r[180][e]]=46080+e,t[46080+e]=r[180][e]);for(r[181]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠�".split(""),e=0;e!=r[181].length;++e)65533!==r[181][e].charCodeAt(0)&&(n[r[181][e]]=46336+e,t[46336+e]=r[181][e]);for(r[182]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二�".split(""),e=0;e!=r[182].length;++e)65533!==r[182][e].charCodeAt(0)&&(n[r[182][e]]=46592+e,t[46592+e]=r[182][e]);for(r[183]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服�".split(""),e=0;e!=r[183].length;++e)65533!==r[183][e].charCodeAt(0)&&(n[r[183][e]]=46848+e,t[46848+e]=r[183][e]);for(r[184]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹�".split(""),e=0;e!=r[184].length;++e)65533!==r[184][e].charCodeAt(0)&&(n[r[184][e]]=47104+e,t[47104+e]=r[184][e]);for(r[185]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈�".split(""),e=0;e!=r[185].length;++e)65533!==r[185][e].charCodeAt(0)&&(n[r[185][e]]=47360+e,t[47360+e]=r[185][e]);for(r[186]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖�".split(""),e=0;e!=r[186].length;++e)65533!==r[186][e].charCodeAt(0)&&(n[r[186][e]]=47616+e,t[47616+e]=r[186][e]);for(r[187]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕�".split(""),e=0;e!=r[187].length;++e)65533!==r[187][e].charCodeAt(0)&&(n[r[187][e]]=47872+e,t[47872+e]=r[187][e]);for(r[188]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件�".split(""),e=0;e!=r[188].length;++e)65533!==r[188][e].charCodeAt(0)&&(n[r[188][e]]=48128+e,t[48128+e]=r[188][e]);for(r[189]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸�".split(""),e=0;e!=r[189].length;++e)65533!==r[189][e].charCodeAt(0)&&(n[r[189][e]]=48384+e,t[48384+e]=r[189][e]);for(r[190]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻�".split(""),e=0;e!=r[190].length;++e)65533!==r[190][e].charCodeAt(0)&&(n[r[190][e]]=48640+e,t[48640+e]=r[190][e]);for(r[191]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀�".split(""),e=0;e!=r[191].length;++e)65533!==r[191][e].charCodeAt(0)&&(n[r[191][e]]=48896+e,t[48896+e]=r[191][e]);for(r[192]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐�".split(""),e=0;e!=r[192].length;++e)65533!==r[192][e].charCodeAt(0)&&(n[r[192][e]]=49152+e,t[49152+e]=r[192][e]);for(r[193]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿�".split(""),e=0;e!=r[193].length;++e)65533!==r[193][e].charCodeAt(0)&&(n[r[193][e]]=49408+e,t[49408+e]=r[193][e]);for(r[194]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫�".split(""),e=0;e!=r[194].length;++e)65533!==r[194][e].charCodeAt(0)&&(n[r[194][e]]=49664+e,t[49664+e]=r[194][e]);for(r[195]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸�".split(""),e=0;e!=r[195].length;++e)65533!==r[195][e].charCodeAt(0)&&(n[r[195][e]]=49920+e,t[49920+e]=r[195][e]);for(r[196]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁�".split(""),e=0;e!=r[196].length;++e)65533!==r[196][e].charCodeAt(0)&&(n[r[196][e]]=50176+e,t[50176+e]=r[196][e]);for(r[197]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗�".split(""),e=0;e!=r[197].length;++e)65533!==r[197][e].charCodeAt(0)&&(n[r[197][e]]=50432+e,t[50432+e]=r[197][e]);for(r[198]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐�".split(""),e=0;e!=r[198].length;++e)65533!==r[198][e].charCodeAt(0)&&(n[r[198][e]]=50688+e,t[50688+e]=r[198][e]);for(r[199]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠�".split(""),e=0;e!=r[199].length;++e)65533!==r[199][e].charCodeAt(0)&&(n[r[199][e]]=50944+e,t[50944+e]=r[199][e]);for(r[200]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁�".split(""),e=0;e!=r[200].length;++e)65533!==r[200][e].charCodeAt(0)&&(n[r[200][e]]=51200+e,t[51200+e]=r[200][e]);for(r[201]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳�".split(""),e=0;e!=r[201].length;++e)65533!==r[201][e].charCodeAt(0)&&(n[r[201][e]]=51456+e,t[51456+e]=r[201][e]);for(r[202]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱�".split(""),e=0;e!=r[202].length;++e)65533!==r[202][e].charCodeAt(0)&&(n[r[202][e]]=51712+e,t[51712+e]=r[202][e]);for(r[203]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔�".split(""),e=0;e!=r[203].length;++e)65533!==r[203][e].charCodeAt(0)&&(n[r[203][e]]=51968+e,t[51968+e]=r[203][e]);for(r[204]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃�".split(""),e=0;e!=r[204].length;++e)65533!==r[204][e].charCodeAt(0)&&(n[r[204][e]]=52224+e,t[52224+e]=r[204][e]);for(r[205]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威�".split(""),e=0;e!=r[205].length;++e)65533!==r[205][e].charCodeAt(0)&&(n[r[205][e]]=52480+e,t[52480+e]=r[205][e]);for(r[206]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺�".split(""),e=0;e!=r[206].length;++e)65533!==r[206][e].charCodeAt(0)&&(n[r[206][e]]=52736+e,t[52736+e]=r[206][e]);for(r[207]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓�".split(""),e=0;e!=r[207].length;++e)65533!==r[207][e].charCodeAt(0)&&(n[r[207][e]]=52992+e,t[52992+e]=r[207][e]);for(r[208]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄�".split(""),e=0;e!=r[208].length;++e)65533!==r[208][e].charCodeAt(0)&&(n[r[208][e]]=53248+e,t[53248+e]=r[208][e]);for(r[209]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶�".split(""),e=0;e!=r[209].length;++e)65533!==r[209][e].charCodeAt(0)&&(n[r[209][e]]=53504+e,t[53504+e]=r[209][e]);for(r[210]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐�".split(""),e=0;e!=r[210].length;++e)65533!==r[210][e].charCodeAt(0)&&(n[r[210][e]]=53760+e,t[53760+e]=r[210][e]);for(r[211]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉�".split(""),e=0;e!=r[211].length;++e)65533!==r[211][e].charCodeAt(0)&&(n[r[211][e]]=54016+e,t[54016+e]=r[211][e]);for(r[212]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧�".split(""),e=0;e!=r[212].length;++e)65533!==r[212][e].charCodeAt(0)&&(n[r[212][e]]=54272+e,t[54272+e]=r[212][e]);for(r[213]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政�".split(""),e=0;e!=r[213].length;++e)65533!==r[213][e].charCodeAt(0)&&(n[r[213][e]]=54528+e,t[54528+e]=r[213][e]);for(r[214]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑�".split(""),e=0;e!=r[214].length;++e)65533!==r[214][e].charCodeAt(0)&&(n[r[214][e]]=54784+e,t[54784+e]=r[214][e]);for(r[215]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座������".split(""),e=0;e!=r[215].length;++e)65533!==r[215][e].charCodeAt(0)&&(n[r[215][e]]=55040+e,t[55040+e]=r[215][e]);for(r[216]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝�".split(""),e=0;e!=r[216].length;++e)65533!==r[216][e].charCodeAt(0)&&(n[r[216][e]]=55296+e,t[55296+e]=r[216][e]);for(r[217]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼�".split(""),e=0;e!=r[217].length;++e)65533!==r[217][e].charCodeAt(0)&&(n[r[217][e]]=55552+e,t[55552+e]=r[217][e]);for(r[218]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺�".split(""),e=0;e!=r[218].length;++e)65533!==r[218][e].charCodeAt(0)&&(n[r[218][e]]=55808+e,t[55808+e]=r[218][e]);for(r[219]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝�".split(""),e=0;e!=r[219].length;++e)65533!==r[219][e].charCodeAt(0)&&(n[r[219][e]]=56064+e,t[56064+e]=r[219][e]);for(r[220]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥�".split(""),e=0;e!=r[220].length;++e)65533!==r[220][e].charCodeAt(0)&&(n[r[220][e]]=56320+e,t[56320+e]=r[220][e]);for(r[221]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺�".split(""),e=0;e!=r[221].length;++e)65533!==r[221][e].charCodeAt(0)&&(n[r[221][e]]=56576+e,t[56576+e]=r[221][e]);for(r[222]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖�".split(""),e=0;e!=r[222].length;++e)65533!==r[222][e].charCodeAt(0)&&(n[r[222][e]]=56832+e,t[56832+e]=r[222][e]);for(r[223]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼�".split(""),e=0;e!=r[223].length;++e)65533!==r[223][e].charCodeAt(0)&&(n[r[223][e]]=57088+e,t[57088+e]=r[223][e]);for(r[224]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼�".split(""),e=0;e!=r[224].length;++e)65533!==r[224][e].charCodeAt(0)&&(n[r[224][e]]=57344+e,t[57344+e]=r[224][e]);for(r[225]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺�".split(""),e=0;e!=r[225].length;++e)65533!==r[225][e].charCodeAt(0)&&(n[r[225][e]]=57600+e,t[57600+e]=r[225][e]);for(r[226]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧饨饩饪饫饬饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂�".split(""),e=0;e!=r[226].length;++e)65533!==r[226][e].charCodeAt(0)&&(n[r[226][e]]=57856+e,t[57856+e]=r[226][e]);for(r[227]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾�".split(""),e=0;e!=r[227].length;++e)65533!==r[227][e].charCodeAt(0)&&(n[r[227][e]]=58112+e,t[58112+e]=r[227][e]);for(r[228]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑�".split(""),e=0;e!=r[228].length;++e)65533!==r[228][e].charCodeAt(0)&&(n[r[228][e]]=58368+e,t[58368+e]=r[228][e]);for(r[229]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣�".split(""),e=0;e!=r[229].length;++e)65533!==r[229][e].charCodeAt(0)&&(n[r[229][e]]=58624+e,t[58624+e]=r[229][e]);for(r[230]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩�".split(""),e=0;e!=r[230].length;++e)65533!==r[230][e].charCodeAt(0)&&(n[r[230][e]]=58880+e,t[58880+e]=r[230][e]);for(r[231]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡缢缣缤缥缦缧缪缫缬缭缯缰缱缲缳缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬�".split(""),e=0;e!=r[231].length;++e)65533!==r[231][e].charCodeAt(0)&&(n[r[231][e]]=59136+e,t[59136+e]=r[231][e]);for(r[232]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹�".split(""),e=0;e!=r[232].length;++e)65533!==r[232][e].charCodeAt(0)&&(n[r[232][e]]=59392+e,t[59392+e]=r[232][e]);for(r[233]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋�".split(""),e=0;e!=r[233].length;++e)65533!==r[233][e].charCodeAt(0)&&(n[r[233][e]]=59648+e,t[59648+e]=r[233][e]);for(r[234]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰�".split(""),e=0;e!=r[234].length;++e)65533!==r[234][e].charCodeAt(0)&&(n[r[234][e]]=59904+e,t[59904+e]=r[234][e]);for(r[235]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻�".split(""),e=0;e!=r[235].length;++e)65533!==r[235][e].charCodeAt(0)&&(n[r[235][e]]=60160+e,t[60160+e]=r[235][e]);for(r[236]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐�".split(""),e=0;e!=r[236].length;++e)65533!==r[236][e].charCodeAt(0)&&(n[r[236][e]]=60416+e,t[60416+e]=r[236][e]);for(r[237]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨�".split(""),e=0;e!=r[237].length;++e)65533!==r[237][e].charCodeAt(0)&&(n[r[237][e]]=60672+e,t[60672+e]=r[237][e]);for(r[238]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶钷钸钹钺钼钽钿铄铈铉铊铋铌铍铎铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪�".split(""),e=0;e!=r[238].length;++e)65533!==r[238][e].charCodeAt(0)&&(n[r[238][e]]=60928+e,t[60928+e]=r[238][e]);for(r[239]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒锓锔锕锖锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤镥镦镧镨镩镪镫镬镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔�".split(""),e=0;e!=r[239].length;++e)65533!==r[239][e].charCodeAt(0)&&(n[r[239][e]]=61184+e,t[61184+e]=r[239][e]);for(r[240]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨鸩鸪鸫鸬鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦鹧鹨鹩鹪鹫鹬鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙�".split(""),e=0;e!=r[240].length;++e)65533!==r[240][e].charCodeAt(0)&&(n[r[240][e]]=61440+e,t[61440+e]=r[240][e]);for(r[241]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃�".split(""),e=0;e!=r[241].length;++e)65533!==r[241][e].charCodeAt(0)&&(n[r[241][e]]=61696+e,t[61696+e]=r[241][e]);for(r[242]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒�".split(""),e=0;e!=r[242].length;++e)65533!==r[242][e].charCodeAt(0)&&(n[r[242][e]]=61952+e,t[61952+e]=r[242][e]);for(r[243]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋�".split(""),e=0;e!=r[243].length;++e)65533!==r[243][e].charCodeAt(0)&&(n[r[243][e]]=62208+e,t[62208+e]=r[243][e]);for(r[244]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤�".split(""),e=0;e!=r[244].length;++e)65533!==r[244][e].charCodeAt(0)&&(n[r[244][e]]=62464+e,t[62464+e]=r[244][e]);for(r[245]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜�".split(""),e=0;e!=r[245].length;++e)65533!==r[245][e].charCodeAt(0)&&(n[r[245][e]]=62720+e,t[62720+e]=r[245][e]);for(r[246]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅龆龇龈龉龊龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞鲟鲠鲡鲢鲣鲥鲦鲧鲨鲩鲫鲭鲮鲰鲱鲲鲳鲴鲵鲶鲷鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋�".split(""),e=0;e!=r[246].length;++e)65533!==r[246][e].charCodeAt(0)&&(n[r[246][e]]=62976+e,t[62976+e]=r[246][e]);for(r[247]="�����������������������������������������������������������������������������������������������������������������������������������������������������������������鳌鳍鳎鳏鳐鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄�".split(""),e=0;e!=r[247].length;++e)65533!==r[247][e].charCodeAt(0)&&(n[r[247][e]]=63232+e,t[63232+e]=r[247][e]);return{enc:n,dec:t}}(),n[10029]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[10079]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),n[10081]=function(){for(var e="\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ",t=[],n={},r=0;r!=e.length;++r)65533!==e.charCodeAt(r)&&(n[e.charAt(r)]=r),t[r]=e.charAt(r);return{enc:n,dec:t}}(),void 0!==e&&e.exports&&"undefined"==typeof DO_NOT_EXPORT_CODEPAGE&&(e.exports=n),function(t,r){"use strict";if(void 0===n){var i=n;void 0!==e&&e.exports&&"undefined"==typeof DO_NOT_EXPORT_CODEPAGE?e.exports=r(i):t.cptable=r(i)}else n=r(n)}(this,function(e){"use strict";var n={1200:"utf16le",1201:"utf16be",12000:"utf32le",12001:"utf32be",16969:"utf64le",20127:"ascii",65000:"utf7",65001:"utf8"},r=[874,1250,1251,1252,1253,1254,1255,1256,1e4],i=[932,936,949,950],o=[65001],a={},s={},l={},c={},u=function(e){return String.fromCharCode(e)},h=function(e){return e.charCodeAt(0)},d=void 0!==t,f=function(){};if(d){var p=!t.from;if(!p)try{t.from("foo","utf8")}catch(e){p=!0}f=p?function(e,n){return n?new t(e,n):new t(e)}:t.from.bind(t),t.allocUnsafe||(t.allocUnsafe=function(e){return new t(e)});var A=1024,g=t.allocUnsafe(A),v=function(n){var r=function(e){for(var n=t.allocUnsafe(65536),r=0;r<65536;++r)n[r]=0;for(var i=Object.keys(e),o=i.length,a=0,s=i[a];a<o;++a)(s=i[a])&&(n[s.charCodeAt(0)]=e[s]);return n}(e[n].enc);return function(e,n){var i,o=e.length,a=0,s=0,l=0,c=0;if("string"==typeof e)for(i=t.allocUnsafe(o),a=0;a<o;++a)i[a]=r[e.charCodeAt(a)];else if(t.isBuffer(e)){for(i=t.allocUnsafe(2*o),s=0,a=0;a<o;++a)(l=e[a])<128?i[s++]=r[l]:l<224?(i[s++]=r[((31&l)<<6)+(63&e[a+1])],++a):l<240?(i[s++]=r[((15&l)<<12)+((63&e[a+1])<<6)+(63&e[a+2])],a+=2):(c=((7&l)<<18)+((63&e[a+1])<<12)+((63&e[a+2])<<6)+(63&e[a+3]),a+=3,c<65536?i[s++]=r[c]:(c-=65536,i[s++]=r[55296+(c>>10&1023)],i[s++]=r[56320+(1023&c)]));i=i.slice(0,s)}else for(i=t.allocUnsafe(o),a=0;a<o;++a)i[a]=r[e[a].charCodeAt(0)];return n&&"buf"!==n?"arr"!==n?i.toString("binary"):[].slice.call(i):i}},m=function(n){var r=e[n].dec,i=t.allocUnsafe(131072),o=0,a="";for(o=0;o<r.length;++o)if(a=r[o]){var s=a.charCodeAt(0);i[2*o]=255&s,i[2*o+1]=s>>8}return function(e){var n=e.length,r=0,o=0;if(2*n>A&&(A=2*n,g=t.allocUnsafe(A)),t.isBuffer(e))for(r=0;r<n;r++)o=2*e[r],g[2*r]=i[o],g[2*r+1]=i[o+1];else if("string"==typeof e)for(r=0;r<n;r++)o=2*e.charCodeAt(r),g[2*r]=i[o],g[2*r+1]=i[o+1];else for(r=0;r<n;r++)o=2*e[r],g[2*r]=i[o],g[2*r+1]=i[o+1];return g.slice(0,2*n).toString("ucs2")}},y=function(n){for(var r=e[n].enc,i=t.allocUnsafe(131072),o=0;o<131072;++o)i[o]=0;for(var a=Object.keys(r),s=0,l=a[s];s<a.length;++s)if(l=a[s]){var c=l.charCodeAt(0);i[2*c]=255&r[l],i[2*c+1]=r[l]>>8}return function(e,n){var r=e.length,o=t.allocUnsafe(2*r),a=0,s=0,l=0,c=0,u=0;if("string"==typeof e){for(a=c=0;a<r;++a)s=2*e.charCodeAt(a),o[c++]=i[s+1]||i[s],i[s+1]>0&&(o[c++]=i[s]);o=o.slice(0,c)}else if(t.isBuffer(e)){for(a=c=0;a<r;++a)(u=e[a])<128?s=u:u<224?(s=((31&u)<<6)+(63&e[a+1]),++a):u<240?(s=((15&u)<<12)+((63&e[a+1])<<6)+(63&e[a+2]),a+=2):(s=((7&u)<<18)+((63&e[a+1])<<12)+((63&e[a+2])<<6)+(63&e[a+3]),a+=3),s<65536?(s*=2,o[c++]=i[s+1]||i[s],i[s+1]>0&&(o[c++]=i[s])):(s=2*(55296+((l=s-65536)>>10&1023)),o[c++]=i[s+1]||i[s],i[s+1]>0&&(o[c++]=i[s]),s=2*(56320+(1023&l)),o[c++]=i[s+1]||i[s],i[s+1]>0&&(o[c++]=i[s]));o=o.slice(0,c)}else for(a=c=0;a<r;a++)s=2*e[a].charCodeAt(0),o[c++]=i[s+1]||i[s],i[s+1]>0&&(o[c++]=i[s]);return n&&"buf"!==n?"arr"!==n?o.toString("binary"):[].slice.call(o):o}},b=function(n){var r,i=e[n].dec,o=t.allocUnsafe(131072),a=0,s=0,l=0,c=0;for(c=0;c<65536;++c)o[2*c]=255,o[2*c+1]=253;for(a=0;a<i.length;++a)(r=i[a])&&(s=r.charCodeAt(0),o[l=2*a]=255&s,o[l+1]=s>>8);return function(e){var n=e.length,r=t.allocUnsafe(2*n),i=0,a=0,s=0;if(t.isBuffer(e))for(i=0;i<n;i++)a=2*e[i],255===o[a]&&253===o[a+1]&&(a=2*((e[i]<<8)+e[i+1]),++i),r[s++]=o[a],r[s++]=o[a+1];else if("string"==typeof e)for(i=0;i<n;i++)a=2*e.charCodeAt(i),255===o[a]&&253===o[a+1]&&(a=2*((e.charCodeAt(i)<<8)+e.charCodeAt(i+1)),++i),r[s++]=o[a],r[s++]=o[a+1];else for(i=0;i<n;i++)a=2*e[i],255===o[a]&&253===o[a+1]&&(a=2*((e[i]<<8)+e[i+1]),++i),r[s++]=o[a],r[s++]=o[a+1];return r.slice(0,s).toString("ucs2")}};a[65001]=function e(n){if("string"==typeof n)return e(n.split("").map(h));var r=n.length,i=0,o=0;4*r>A&&(A=4*r,g=t.allocUnsafe(A));var a=0;r>=3&&239==n[0]&&187==n[1]&&191==n[2]&&(a=3);for(var s=1,l=0,c=0;a<r;a+=s)s=1,(c=n[a])<128?i=c:c<224?(i=64*(31&c)+(63&n[a+1]),s=2):c<240?(i=((15&c)<<12)+64*(63&n[a+1])+(63&n[a+2]),s=3):(i=262144*(7&c)+((63&n[a+1])<<12)+64*(63&n[a+2])+(63&n[a+3]),s=4),i<65536?(g[l++]=255&i,g[l++]=i>>8):(o=55296+((i-=65536)>>10&1023),i=56320+(1023&i),g[l++]=255&o,g[l++]=o>>>8,g[l++]=255&i,g[l++]=i>>>8&255);return g.slice(0,l).toString("ucs2")},s[65001]=function(e,n){if(d&&t.isBuffer(e))return n&&"buf"!==n?"arr"!==n?e.toString("binary"):[].slice.call(e):e;var r=e.length,i=0,o=0,a=0,s="string"==typeof e;4*r>A&&(A=4*r,g=t.allocUnsafe(A));for(var l=0;l<r;++l)(i=s?e.charCodeAt(l):e[l].charCodeAt(0))<=127?g[a++]=i:i<=2047?(g[a++]=192+(i>>6),g[a++]=128+(63&i)):i>=55296&&i<=57343?(i-=55296,++l,o=(s?e.charCodeAt(l):e[l].charCodeAt(0))-56320+(i<<10),g[a++]=240+(o>>>18&7),g[a++]=144+(o>>>12&63),g[a++]=128+(o>>>6&63),g[a++]=128+(63&o)):(g[a++]=224+(i>>12),g[a++]=128+(i>>6&63),g[a++]=128+(63&i));return n&&"buf"!==n?"arr"!==n?g.slice(0,a).toString("binary"):[].slice.call(g,0,a):g.slice(0,a)}}var _=function(){if(d){if(l[r[0]])return;var t=0,n=0;for(t=0;t<r.length;++t)n=r[t],e[n]&&(l[n]=m(n),c[n]=v(n));for(t=0;t<i.length;++t)n=i[t],e[n]&&(l[n]=b(n),c[n]=y(n));for(t=0;t<o.length;++t)n=o[t],a[n]&&(l[n]=a[n]),s[n]&&(c[n]=s[n])}},w=function(e,t){return""},x=function(e){delete l[e],delete c[e]},C={encache:_,decache:function(){if(d){if(!l[r[0]])return;r.forEach(x),i.forEach(x),o.forEach(x)}B=w,k=0},sbcs:r,dbcs:i};_();var S="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",B=w,k=0;return e.utils={decode:function r(i,o){var a;if(a=l[i])return a(o);if("string"==typeof o)return r(i,o.split("").map(h));var s,c=o.length,u=new Array(c),f="",p=0,A=0,g=1,v=0,m=0,y=e[i],b="";if(y&&(s=y.dec))for(A=0;A<c;A+=g){if(g=2,(f=s[(o[A]<<8)+o[A+1]])||(g=1,f=s[o[A]]),!f)throw new Error("Unrecognized code: "+o[A]+" "+o[A+g-1]+" "+A+" "+g+" "+s[o[A]]);u[v++]=f}else{if(!(b=n[i]))throw new Error("Unrecognized CP: "+i);switch(b){case"utf8":for(c>=3&&239==o[0]&&187==o[1]&&191==o[2]&&(A=3);A<c;A+=g)g=1,o[A]<128?p=o[A]:o[A]<224?(p=64*(31&o[A])+(63&o[A+1]),g=2):o[A]<240?(p=((15&o[A])<<12)+64*(63&o[A+1])+(63&o[A+2]),g=3):(p=262144*(7&o[A])+((63&o[A+1])<<12)+64*(63&o[A+2])+(63&o[A+3]),g=4),p<65536?u[v++]=String.fromCharCode(p):(m=55296+((p-=65536)>>10&1023),p=56320+(1023&p),u[v++]=String.fromCharCode(m),u[v++]=String.fromCharCode(p));break;case"ascii":if(d&&t.isBuffer(o))return o.toString(b);for(A=0;A<c;A++)u[A]=String.fromCharCode(o[A]);v=c;break;case"utf16le":if(c>=2&&255==o[0]&&254==o[1]&&(A=2),d&&t.isBuffer(o))return o.toString(b);for(g=2;A+1<c;A+=g)u[v++]=String.fromCharCode((o[A+1]<<8)+o[A]);break;case"utf16be":for(c>=2&&254==o[0]&&255==o[1]&&(A=2),g=2;A+1<c;A+=g)u[v++]=String.fromCharCode((o[A]<<8)+o[A+1]);break;case"utf32le":for(c>=4&&255==o[0]&&254==o[1]&&0===o[2]&&0===o[3]&&(A=4),g=4;A<c;A+=g)(p=(o[A+3]<<24)+(o[A+2]<<16)+(o[A+1]<<8)+o[A])>65535?(p-=65536,u[v++]=String.fromCharCode(55296+(p>>10&1023)),u[v++]=String.fromCharCode(56320+(1023&p))):u[v++]=String.fromCharCode(p);break;case"utf32be":for(c>=4&&255==o[3]&&254==o[2]&&0===o[1]&&0===o[0]&&(A=4),g=4;A<c;A+=g)(p=(o[A]<<24)+(o[A+1]<<16)+(o[A+2]<<8)+o[A+3])>65535?(p-=65536,u[v++]=String.fromCharCode(55296+(p>>10&1023)),u[v++]=String.fromCharCode(56320+(1023&p))):u[v++]=String.fromCharCode(p);break;case"utf7":for(c>=4&&43==o[0]&&47==o[1]&&118==o[2]&&(c>=5&&56==o[3]&&45==o[4]?A=5:56!=o[3]&&57!=o[3]&&43!=o[3]&&47!=o[3]||(A=4));A<c;A+=g)if(43===o[A])if(g=1,45!==o[A+1]){for(;String.fromCharCode(o[A+g]).match(/[A-Za-z0-9+\/]/);)g++;var _=0;45===o[A+g]&&(++g,_=1);for(var w=[],x="",C=0,B=0,k=0,T=0,E=0,M=0,D=1;D<g-_&&(C=S.indexOf(String.fromCharCode(o[A+D++]))<<2|(T=S.indexOf(String.fromCharCode(o[A+D++])))>>4,w.push(C),-1!==(E=S.indexOf(String.fromCharCode(o[A+D++]))))&&(B=(15&T)<<4|E>>2,w.push(B),-1!==(M=S.indexOf(String.fromCharCode(o[A+D++]))));)k=(3&E)<<6|M,M<64&&w.push(k);for(x=r(1201,w),D=0;D<x.length;++D)u[v++]=x.charAt(D)}else g=2,u[v++]="+";else g=1,u[v++]=String.fromCharCode(o[A]);break;default:throw new Error("Unsupported magic: "+i+" "+n[i])}}return u.slice(0,v).join("")},encode:function r(i,o,a){if(i===k&&B)return B(o,a);if(c[i])return(B=c[k=i])(o,a);d&&t.isBuffer(o)&&(o=o.toString("utf8"));var s,l=o.length,h=d?t.allocUnsafe(4*l):[],p=0,A=0,g=0,v=0,m=e[i],y="",b="string"==typeof o;if(m&&(s=m.enc))for(A=0;A<l;++A,++g)(p=s[b?o.charAt(A):o[A]])>255?(h[g]=p>>8,h[++g]=255&p):h[g]=255&p;else{if(!(y=n[i]))throw new Error("Unrecognized CP: "+i);switch(y){case"utf8":if(d&&b){g=(h=f(o,y)).length;break}for(A=0;A<l;++A,++g)(p=b?o.charCodeAt(A):o[A].charCodeAt(0))<=127?h[g]=p:p<=2047?(h[g]=192+(p>>6),h[++g]=128+(63&p)):p>=55296&&p<=57343?(p-=55296,v=(b?o.charCodeAt(++A):o[++A].charCodeAt(0))-56320+(p<<10),h[g]=240+(v>>>18&7),h[++g]=144+(v>>>12&63),h[++g]=128+(v>>>6&63),h[++g]=128+(63&v)):(h[g]=224+(p>>12),h[++g]=128+(p>>6&63),h[++g]=128+(63&p));break;case"ascii":if(d&&"string"==typeof o){g=(h=f(o,y)).length;break}for(A=0;A<l;++A,++g){if(!((p=b?o.charCodeAt(A):o[A].charCodeAt(0))<=127))throw new Error("bad ascii "+p);h[g]=p}break;case"utf16le":if(d&&"string"==typeof o){g=(h=f(o,y)).length;break}for(A=0;A<l;++A)p=b?o.charCodeAt(A):o[A].charCodeAt(0),h[g++]=255&p,h[g++]=p>>8;break;case"utf16be":for(A=0;A<l;++A)p=b?o.charCodeAt(A):o[A].charCodeAt(0),h[g++]=p>>8,h[g++]=255&p;break;case"utf32le":for(A=0;A<l;++A)(p=b?o.charCodeAt(A):o[A].charCodeAt(0))>=55296&&p<=57343&&(p=65536+(p-55296<<10)+(o[++A].charCodeAt(0)-56320)),h[g++]=255&p,p>>=8,h[g++]=255&p,p>>=8,h[g++]=255&p,p>>=8,h[g++]=255&p;break;case"utf32be":for(A=0;A<l;++A)(p=b?o.charCodeAt(A):o[A].charCodeAt(0))>=55296&&p<=57343&&(p=65536+(p-55296<<10)+(o[++A].charCodeAt(0)-56320)),h[g+3]=255&p,p>>=8,h[g+2]=255&p,p>>=8,h[g+1]=255&p,p>>=8,h[g]=255&p,g+=4;break;case"utf7":for(A=0;A<l;A++){var _=b?o.charAt(A):o[A].charAt(0);if("+"!==_)if("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'(),-./:?".indexOf(_)>-1)h[g++]=_.charCodeAt(0);else{var w=r(1201,_);h[g++]=43,h[g++]=S.charCodeAt(w[0]>>2),h[g++]=S.charCodeAt(((3&w[0])<<4)+((w[1]||0)>>4)),h[g++]=S.charCodeAt(((15&w[1])<<2)+((w[2]||0)>>6)),h[g++]=45}else h[g++]=43,h[g++]=45}break;default:throw new Error("Unsupported magic: "+i+" "+n[i])}}return h=h.slice(0,g),d?a&&"buf"!==a?"arr"!==a?h.toString("binary"):[].slice.call(h):h:"str"==a?h.map(u).join(""):h},hascp:function(t){return!(!e[t]&&!n[t])},magic:n,cache:C},e})}).call(t,n("EuP9").Buffer)},HpRW:function(e,t,n){"use strict";var r=n("kM2E"),i=n("lOnJ"),o=n("+ZMJ"),a=n("NWt+");e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,s,l=arguments[1];return i(this),(t=void 0!==l)&&i(l),void 0==e?new this:(n=[],t?(r=0,s=o(l,arguments[2],2),a(e,!1,function(e){n.push(s(e,r++))})):a(e,!1,n.push,n),new this(n))}})}},HzcN:function(e,t,n){var r=n("uY1a"),i=n("ON3O");e.exports={throttle:r,debounce:i}},"I/+Z":function(e,t){e.exports=function(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}},I95x:function(e,t){
- /*!
- * screenfull
- * v4.2.1 - 2019-07-27
- * (c) Sindre Sorhus; MIT License
- */
- !function(){"use strict";var t="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=void 0!==e&&e.exports,r="undefined"!=typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,i=function(){for(var e,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=0,i=n.length,o={};r<i;r++)if((e=n[r])&&e[1]in t){for(r=0;r<e.length;r++)o[n[0][r]]=e[r];return o}return!1}(),o={change:i.fullscreenchange,error:i.fullscreenerror},a={request:function(e){return new Promise(function(n,o){var a,s=i.requestFullscreen,l=function(){this.off("change",l),n()}.bind(this);this.on("change",l),e=e||t.documentElement,a=/ Version\/5\.1(?:\.\d+)? Safari\//.test(navigator.userAgent)?e[s]():e[s](r?Element.ALLOW_KEYBOARD_INPUT:{}),Promise.resolve(a).catch(o)}.bind(this))},exit:function(){return new Promise(function(e){if(this.isFullscreen){var n=function(){this.off("change",n),e()}.bind(this);t[i.exitFullscreen](),this.on("change",n)}else e()}.bind(this))},toggle:function(e){return this.isFullscreen?this.exit():this.request(e)},onchange:function(e){this.on("change",e)},onerror:function(e){this.on("error",e)},on:function(e,n){var r=o[e];r&&t.addEventListener(r,n,!1)},off:function(e,n){var r=o[e];r&&t.removeEventListener(r,n,!1)},raw:i};i?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(t[i.fullscreenElement])}},element:{enumerable:!0,get:function(){return t[i.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return Boolean(t[i.fullscreenEnabled])}}}),n?(e.exports=a,e.exports.default=a):window.screenfull=a):n?e.exports=!1:window.screenfull=!1}()},ISYW:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n("7+uW"),o=(r=i)&&r.__esModule?r:{default:r},a=n("2kvA");var s=[],l="@@clickoutsideContext",c=void 0,u=0;function h(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[l].methodName&&n.context[e[l].methodName]?n.context[e[l].methodName]():e[l].bindingFn&&e[l].bindingFn())}}!o.default.prototype.$isServer&&(0,a.on)(document,"mousedown",function(e){return c=e}),!o.default.prototype.$isServer&&(0,a.on)(document,"mouseup",function(e){s.forEach(function(t){return t[l].documentHandler(e,c)})}),t.default={bind:function(e,t,n){s.push(e);var r=u++;e[l]={id:r,documentHandler:h(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[l].documentHandler=h(e,t,n),e[l].methodName=t.expression,e[l].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n<t;n++)if(s[n][l].id===e[l].id){s.splice(n,1);break}delete e[l]}}},Ibhu:function(e,t,n){var r=n("D2L2"),i=n("TcQ7"),o=n("vFc/")(!1),a=n("ax3d")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},IinW:function(e,t,n){
- /*!
- * Viewer.js v1.10.5
- * https://fengyuanchen.github.io/viewerjs
- *
- * Copyright 2015-present Chen Fengyuan
- * Released under the MIT license
- *
- * Date: 2022-04-05T08:21:02.491Z
- */
- var r;r=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function t(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach(function(e){i(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n(e){"@babel/helpers - typeof";return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},a="undefined"!=typeof window&&void 0!==window.document,s=a?window:{},l=!(!a||!s.document.documentElement)&&"ontouchstart"in s.document.documentElement,c=!!a&&"PointerEvent"in s,u="".concat("viewer","-active"),h="".concat("viewer","-close"),d="".concat("viewer","-fade"),f="".concat("viewer","-fixed"),p="".concat("viewer","-fullscreen"),A="".concat("viewer","-fullscreen-exit"),g="".concat("viewer","-hide"),v="".concat("viewer","-hide-md-down"),m="".concat("viewer","-hide-sm-down"),y="".concat("viewer","-hide-xs-down"),b="".concat("viewer","-in"),_="".concat("viewer","-invisible"),w="".concat("viewer","-loading"),x="".concat("viewer","-move"),C="".concat("viewer","-open"),S="".concat("viewer","-show"),B="".concat("viewer","-transition"),k=c?"pointerdown":l?"touchstart":"mousedown",T=c?"pointermove":l?"touchmove":"mousemove",E=c?"pointerup pointercancel":l?"touchend touchcancel":"mouseup",M="".concat("viewer","Action"),D=/\s\s*/,O=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function I(e){return"string"==typeof e}var L=Number.isNaN||s.isNaN;function P(e){return"number"==typeof e&&!L(e)}function F(e){return void 0===e}function R(e){return"object"===n(e)&&null!==e}var N=Object.prototype.hasOwnProperty;function H(e){if(!R(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&N.call(n,"isPrototypeOf")}catch(e){return!1}}function j(e){return"function"==typeof e}function U(e,t){if(e&&j(t))if(Array.isArray(e)||P(e.length)){var n,r=e.length;for(n=0;n<r&&!1!==t.call(e,e[n],n,e);n+=1);}else R(e)&&Object.keys(e).forEach(function(n){t.call(e,e[n],n,e)});return e}var Q=Object.assign||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return R(e)&&n.length>0&&n.forEach(function(t){R(t)&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e},z=/^(?:width|height|left|top|marginLeft|marginTop)$/;function Y(e,t){var n=e.style;U(t,function(e,t){z.test(t)&&P(e)&&(e+="px"),n[t]=e})}function V(e,t){return!(!e||!t)&&(e.classList?e.classList.contains(t):e.className.indexOf(t)>-1)}function G(e,t){if(e&&t)if(P(e.length))U(e,function(e){G(e,t)});else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function W(e,t){e&&t&&(P(e.length)?U(e,function(e){W(e,t)}):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function X(e,t,n){t&&(P(e.length)?U(e,function(e){X(e,t,n)}):n?G(e,t):W(e,t))}var Z=/([a-z\d])([A-Z])/g;function $(e){return e.replace(Z,"$1-$2").toLowerCase()}function K(e,t){return R(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat($(t)))}function J(e,t,n){R(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat($(t)),n)}var q=function(){var e=!1;if(a){var t=!1,n=function(){},r=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});s.addEventListener("test",n,r),s.removeEventListener("test",n,r)}return e}();function ee(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n;t.trim().split(D).forEach(function(t){if(!q){var o=e.listeners;o&&o[t]&&o[t][n]&&(i=o[t][n],delete o[t][n],0===Object.keys(o[t]).length&&delete o[t],0===Object.keys(o).length&&delete e.listeners)}e.removeEventListener(t,i,r)})}function te(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=n;t.trim().split(D).forEach(function(t){if(r.once&&!q){var o=e.listeners,a=void 0===o?{}:o;i=function(){delete a[t][n],e.removeEventListener(t,i,r);for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];n.apply(e,s)},a[t]||(a[t]={}),a[t][n]&&e.removeEventListener(t,a[t][n],r),a[t][n]=i,e.listeners=a}e.addEventListener(t,i,r)})}function ne(e,n,r,i){var o;return j(Event)&&j(CustomEvent)?o=new CustomEvent(n,t({bubbles:!0,cancelable:!0,detail:r},i)):(o=document.createEvent("CustomEvent")).initCustomEvent(n,!0,!0,r),e.dispatchEvent(o)}function re(e){var t=e.rotate,n=e.scaleX,r=e.scaleY,i=e.translateX,o=e.translateY,a=[];P(i)&&0!==i&&a.push("translateX(".concat(i,"px)")),P(o)&&0!==o&&a.push("translateY(".concat(o,"px)")),P(t)&&0!==t&&a.push("rotate(".concat(t,"deg)")),P(n)&&1!==n&&a.push("scaleX(".concat(n,")")),P(r)&&1!==r&&a.push("scaleY(".concat(r,")"));var s=a.length?a.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}var ie=s.navigator&&/(Macintosh|iPhone|iPod|iPad).*AppleWebKit/i.test(s.navigator.userAgent);function oe(e,t,n){var r=document.createElement("img");if(e.naturalWidth&&!ie)return n(e.naturalWidth,e.naturalHeight),r;var i=document.body||document.documentElement;return r.onload=function(){n(r.width,r.height),ie||i.removeChild(r)},U(t.inheritedAttributes,function(t){var n=e.getAttribute(t);null!==n&&r.setAttribute(t,n)}),r.src=e.src,ie||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",i.appendChild(r)),r}function ae(e){switch(e){case 2:return y;case 3:return m;case 4:return v;default:return""}}function se(e,n){var r=e.pageX,i=e.pageY,o={endX:r,endY:i};return n?o:t({timeStamp:Date.now(),startX:r,startY:i},o)}var le,ce={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var e=this.element.ownerDocument,t=e.body||e.documentElement;this.body=t,this.scrollbarWidth=window.innerWidth-e.documentElement.clientWidth,this.initialBodyPaddingRight=t.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(t).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var e,t=this.options,n=this.parent;t.inline&&(e={width:Math.max(n.offsetWidth,t.minWidth),height:Math.max(n.offsetHeight,t.minHeight)},this.parentData=e),!this.fulled&&e||(e=this.containerData),this.viewerData=Q({},e)},renderViewer:function(){this.options.inline&&!this.fulled&&Y(this.viewer,this.viewerData)},initList:function(){var e=this,t=this.element,n=this.options,r=this.list,i=[];r.innerHTML="",U(this.images,function(t,o){var a=t.src,s=t.alt||function(e){return I(e)?decodeURIComponent(e.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}(a),l=e.getImageURL(t);if(a||l){var c=document.createElement("li"),u=document.createElement("img");U(n.inheritedAttributes,function(e){var n=t.getAttribute(e);null!==n&&u.setAttribute(e,n)}),u.src=a||l,u.alt=s,u.setAttribute("data-original-url",l||a),c.setAttribute("data-index",o),c.setAttribute("data-viewer-action","view"),c.setAttribute("role","button"),n.keyboard&&c.setAttribute("tabindex",0),c.appendChild(u),r.appendChild(c),i.push(c)}}),this.items=i,U(i,function(t){var r,i,o=t.firstElementChild;J(o,"filled",!0),n.loading&&G(t,w),te(o,"load",r=function(r){ee(o,"error",i),n.loading&&W(t,w),e.loadImage(r)},{once:!0}),te(o,"error",i=function(){ee(o,"load",r),n.loading&&W(t,w)},{once:!0})}),n.transition&&te(t,"viewed",function(){G(r,B)},{once:!0})},renderList:function(){var e=this.index,t=this.items[e];if(t){var n=t.nextElementSibling,r=parseInt(window.getComputedStyle(n||t).marginLeft,10),i=t.offsetWidth,o=i+r;Y(this.list,Q({width:o*this.length-r},re({translateX:(this.viewerData.width-i)/2-o*e})))}},resetList:function(){var e=this.list;e.innerHTML="",W(e,B),Y(e,re({translateX:0}))},initImage:function(e){var t,n=this,r=this.options,i=this.image,o=this.viewerData,a=this.footer.offsetHeight,s=o.width,l=Math.max(o.height-a,a),c=this.imageData||{};this.imageInitializing={abort:function(){t.onload=null}},t=oe(i,r,function(t,i){var o=t/i,a=s,u=l;n.imageInitializing=!1,l*o>s?u=s/o:a=l*o,a=Math.min(.9*a,t),u=Math.min(.9*u,i);var h=(s-a)/2,d=(l-u)/2,f={left:h,top:d,x:h,y:d,width:a,height:u,oldRatio:1,ratio:a/t,aspectRatio:o,naturalWidth:t,naturalHeight:i},p=Q({},f);r.rotatable&&(f.rotate=c.rotate||0,p.rotate=0),r.scalable&&(f.scaleX=c.scaleX||1,f.scaleY=c.scaleY||1,p.scaleX=1,p.scaleY=1),n.imageData=f,n.initialImageData=p,e&&e()})},renderImage:function(e){var t=this,n=this.image,r=this.imageData;if(Y(n,Q({width:r.width,height:r.height,marginLeft:r.x,marginTop:r.y},re(r))),e)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&V(n,B)){var i=function(){t.imageRendering=!1,e()};this.imageRendering={abort:function(){ee(n,"transitionend",i)}},te(n,"transitionend",i,{once:!0})}else e()},resetImage:function(){if(this.viewing||this.viewed){var e=this.image;this.viewing&&this.viewing.abort(),e.parentNode.removeChild(e),this.image=null}}},ue={bind:function(){var e=this.options,t=this.viewer,n=this.canvas,r=this.element.ownerDocument;te(t,"click",this.onClick=this.click.bind(this)),te(t,"dragstart",this.onDragStart=this.dragstart.bind(this)),te(n,k,this.onPointerDown=this.pointerdown.bind(this)),te(r,T,this.onPointerMove=this.pointermove.bind(this)),te(r,E,this.onPointerUp=this.pointerup.bind(this)),te(r,"keydown",this.onKeyDown=this.keydown.bind(this)),te(window,"resize",this.onResize=this.resize.bind(this)),e.zoomable&&e.zoomOnWheel&&te(t,"wheel",this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleOnDblclick&&te(n,"dblclick",this.onDblclick=this.dblclick.bind(this))},unbind:function(){var e=this.options,t=this.viewer,n=this.canvas,r=this.element.ownerDocument;ee(t,"click",this.onClick),ee(t,"dragstart",this.onDragStart),ee(n,k,this.onPointerDown),ee(r,T,this.onPointerMove),ee(r,E,this.onPointerUp),ee(r,"keydown",this.onKeyDown),ee(window,"resize",this.onResize),e.zoomable&&e.zoomOnWheel&&ee(t,"wheel",this.onWheel,{passive:!1,capture:!0}),e.toggleOnDblclick&&ee(n,"dblclick",this.onDblclick)}},he={click:function(e){var t=this.options,n=this.imageData,r=e.target,i=K(r,M);switch(i||"img"!==r.localName||"li"!==r.parentElement.localName||(i=K(r=r.parentElement,M)),l&&e.isTrusted&&r===this.canvas&&clearTimeout(this.clickCanvasTimeout),i){case"mix":this.played?this.stop():t.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.hide();break;case"view":this.view(K(r,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(t.loop);break;case"play":this.play(t.fullscreen);break;case"next":this.next(t.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-n.scaleX||-1);break;case"flip-vertical":this.scaleY(-n.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(e){e.preventDefault(),this.viewed&&e.target===this.image&&(l&&e.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(e.isTrusted?e:e.detail&&e.detail.originalEvent))},load:function(){var e=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var t=this.element,n=this.options,r=this.image,i=this.index,o=this.viewerData;W(r,_),n.loading&&W(this.canvas,w),r.style.cssText="height:0;"+"margin-left:".concat(o.width/2,"px;")+"margin-top:".concat(o.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage(function(){X(r,x,n.movable),X(r,B,n.transition),e.renderImage(function(){e.viewed=!0,e.viewing=!1,j(n.viewed)&&te(t,"viewed",n.viewed,{once:!0}),ne(t,"viewed",{originalImage:e.images[i],index:i,image:r},{cancelable:!1})})})},loadImage:function(e){var t=e.target,n=t.parentNode,r=n.offsetWidth||30,i=n.offsetHeight||50,o=!!K(t,"filled");oe(t,this.options,function(e,n){var a=e/n,s=r,l=i;i*a>r?o?s=i*a:l=r/a:o?l=r/a:s=i*a,Y(t,Q({width:s,height:l},re({translateX:(r-s)/2,translateY:(i-l)/2})))})},keydown:function(e){var t=this.options;if(t.keyboard){var n=e.keyCode||e.which||e.charCode;switch(n){case 13:this.viewer.contains(e.target)&&this.click(e)}if(this.fulled)switch(n){case 27:this.played?this.stop():t.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.prev(t.loop);break;case 38:e.preventDefault(),this.zoom(t.zoomRatio,!0);break;case 39:this.next(t.loop);break;case 40:e.preventDefault(),this.zoom(-t.zoomRatio,!0);break;case 48:case 49:e.ctrlKey&&(e.preventDefault(),this.toggle())}}},dragstart:function(e){"img"===e.target.localName&&e.preventDefault()},pointerdown:function(e){var t=this.options,n=this.pointers,r=e.buttons,i=e.button;if(!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(P(r)&&1!==r||P(i)&&0!==i||e.ctrlKey))){e.preventDefault(),e.changedTouches?U(e.changedTouches,function(e){n[e.identifier]=se(e)}):n[e.pointerId||0]=se(e);var o=!!t.movable&&"move";t.zoomOnTouch&&t.zoomable&&Object.keys(n).length>1?o="zoom":t.slideOnTouch&&("touch"===e.pointerType||"touchstart"===e.type)&&this.isSwitchable()&&(o="switch"),!t.transition||"move"!==o&&"zoom"!==o||W(this.image,B),this.action=o}},pointermove:function(e){var t=this.pointers,n=this.action;this.viewed&&n&&(e.preventDefault(),e.changedTouches?U(e.changedTouches,function(e){Q(t[e.identifier]||{},se(e,!0))}):Q(t[e.pointerId||0]||{},se(e,!0)),this.change(e))},pointerup:function(e){var t,n=this,r=this.options,i=this.action,o=this.pointers;e.changedTouches?U(e.changedTouches,function(e){t=o[e.identifier],delete o[e.identifier]}):(t=o[e.pointerId||0],delete o[e.pointerId||0]),i&&(e.preventDefault(),!r.transition||"move"!==i&&"zoom"!==i||G(this.image,B),this.action=!1,l&&"zoom"!==i&&t&&Date.now()-t.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),r.toggleOnDblclick&&this.viewed&&e.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout(function(){ne(n.image,"dblclick",{originalEvent:e})},50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout(function(){n.imageClicked=!1},500)):(this.imageClicked=!1,r.backdrop&&"static"!==r.backdrop&&e.target===this.canvas&&(this.clickCanvasTimeout=setTimeout(function(){ne(n.canvas,"click",{originalEvent:e})},50)))))},resize:function(){var e=this;if(this.isShown&&!this.hiding&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage()}),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();U(this.player.getElementsByTagName("img"),function(t){te(t,"load",e.loadImage.bind(e),{once:!0}),ne(t,"load")})}},wheel:function(e){var t=this;if(this.viewed&&(e.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout(function(){t.wheeling=!1},50);var n=Number(this.options.zoomRatio)||.1,r=1;e.deltaY?r=e.deltaY>0?1:-1:e.wheelDelta?r=-e.wheelDelta/120:e.detail&&(r=e.detail>0?1:-1),this.zoom(-r*n,!0,e)}}},de={show:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.element,n=this.options;if(n.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(e),this;if(j(n.show)&&te(t,"show",n.show,{once:!0}),!1===ne(t,"show")||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var r=this.viewer;if(W(r,g),r.setAttribute("role","dialog"),r.setAttribute("aria-labelledby",this.title.id),r.setAttribute("aria-modal",!0),r.removeAttribute("aria-hidden"),n.transition&&!e){var i=this.shown.bind(this);this.transitioning={abort:function(){ee(r,"transitionend",i),W(r,b)}},G(r,B),r.initialOffsetWidth=r.offsetWidth,te(r,"transitionend",i,{once:!0}),G(r,b)}else G(r,b),this.shown();return this},hide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.element,r=this.options;if(r.inline||this.hiding||!this.isShown&&!this.showing)return this;if(j(r.hide)&&te(n,"hide",r.hide,{once:!0}),!1===ne(n,"hide"))return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var i=this.viewer,o=this.image,a=function(){W(i,b),e.hidden()};if(r.transition&&!t){var s=function t(n){n&&n.target===i&&(ee(i,"transitionend",t),e.hidden())},l=function(){V(i,B)?(te(i,"transitionend",s),W(i,b)):a()};this.transitioning={abort:function(){e.viewed&&V(o,B)?ee(o,"transitionend",l):V(i,B)&&ee(i,"transitionend",s)}},this.viewed&&V(o,B)?(te(o,"transitionend",l,{once:!0}),this.zoomTo(0,!1,null,!0)):l()}else a();return this},view:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex;if(t=Number(t)||0,this.hiding||this.played||t<0||t>=this.length||this.viewed&&t===this.index)return this;if(!this.isShown)return this.index=t,this.show();this.viewing&&this.viewing.abort();var n=this.element,r=this.options,i=this.title,o=this.canvas,a=this.items[t],s=a.querySelector("img"),l=K(s,"originalUrl"),c=s.getAttribute("alt"),h=document.createElement("img");if(U(r.inheritedAttributes,function(e){var t=s.getAttribute(e);null!==t&&h.setAttribute(e,t)}),h.src=l,h.alt=c,j(r.view)&&te(n,"view",r.view,{once:!0}),!1===ne(n,"view",{originalImage:this.images[t],index:t,image:h})||!this.isShown||this.hiding||this.played)return this;var d=this.items[this.index];d&&(W(d,u),d.removeAttribute("aria-selected")),G(a,u),a.setAttribute("aria-selected",!0),r.focus&&a.focus(),this.image=h,this.viewed=!1,this.index=t,this.imageData={},G(h,_),r.loading&&G(o,w),o.innerHTML="",o.appendChild(h),this.renderList(),i.innerHTML="";var f,p,A=function(){var t,n=e.imageData,o=Array.isArray(r.title)?r.title[1]:r.title;i.innerHTML=I(t=j(o)?o.call(e,h,n):"".concat(c," (").concat(n.naturalWidth," × ").concat(n.naturalHeight,")"))?t.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">"):t};return te(n,"viewed",A,{once:!0}),this.viewing={abort:function(){ee(n,"viewed",A),h.complete?e.imageRendering?e.imageRendering.abort():e.imageInitializing&&e.imageInitializing.abort():(h.src="",ee(h,"load",f),e.timeout&&clearTimeout(e.timeout))}},h.complete?this.load():(te(h,"load",f=function(){ee(h,"error",p),e.load()},{once:!0}),te(h,"error",p=function(){ee(h,"load",f),e.timeout&&(clearTimeout(e.timeout),e.timeout=!1),W(h,_),r.loading&&W(e.canvas,w)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){W(h,_),e.timeout=!1},1e3)),this},prev:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.index-1;return t<0&&(t=e?this.length-1:0),this.view(t),this},next:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.length-1,n=this.index+1;return n>t&&(n=e?0:t),this.view(n),this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData;return this.moveTo(F(e)?e:n.x+Number(e),F(t)?t:n.y+Number(t)),this},moveTo:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.element,o=this.options,a=this.imageData;if(e=Number(e),n=Number(n),this.viewed&&!this.played&&o.movable){var s=a.x,l=a.y,c=!1;if(P(e)?c=!0:e=s,P(n)?c=!0:n=l,c){if(j(o.move)&&te(i,"move",o.move,{once:!0}),!1===ne(i,"move",{x:e,y:n,oldX:s,oldY:l,originalEvent:r}))return this;a.x=e,a.y=n,a.left=e,a.top=n,this.moving=!0,this.renderImage(function(){t.moving=!1,j(o.moved)&&te(i,"moved",o.moved,{once:!0}),ne(i,"moved",{x:e,y:n,oldX:s,oldY:l,originalEvent:r},{cancelable:!1})})}}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e)),this},rotateTo:function(e){var t=this,n=this.element,r=this.options,i=this.imageData;if(P(e=Number(e))&&this.viewed&&!this.played&&r.rotatable){var o=i.rotate;if(j(r.rotate)&&te(n,"rotate",r.rotate,{once:!0}),!1===ne(n,"rotate",{degree:e,oldDegree:o}))return this;i.rotate=e,this.rotating=!0,this.renderImage(function(){t.rotating=!1,j(r.rotated)&&te(n,"rotated",r.rotated,{once:!0}),ne(n,"rotated",{degree:e,oldDegree:o},{cancelable:!1})})}return this},scaleX:function(e){return this.scale(e,this.imageData.scaleY),this},scaleY:function(e){return this.scale(this.imageData.scaleX,e),this},scale:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=this.element,i=this.options,o=this.imageData;if(e=Number(e),n=Number(n),this.viewed&&!this.played&&i.scalable){var a=o.scaleX,s=o.scaleY,l=!1;if(P(e)?l=!0:e=a,P(n)?l=!0:n=s,l){if(j(i.scale)&&te(r,"scale",i.scale,{once:!0}),!1===ne(r,"scale",{scaleX:e,scaleY:n,oldScaleX:a,oldScaleY:s}))return this;o.scaleX=e,o.scaleY=n,this.scaling=!0,this.renderImage(function(){t.scaling=!1,j(i.scaled)&&te(r,"scaled",i.scaled,{once:!0}),ne(r,"scaled",{scaleX:e,scaleY:n,oldScaleX:a,oldScaleY:s},{cancelable:!1})})}}return this},zoom:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.imageData;return e=(e=Number(e))<0?1/(1-e):1+e,this.zoomTo(r.width*e/r.naturalWidth,t,n),this},zoomTo:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.element,a=this.options,s=this.pointers,l=this.imageData,c=l.x,u=l.y,h=l.width,d=l.height,f=l.naturalWidth,p=l.naturalHeight;if(P(e=Math.max(0,e))&&this.viewed&&!this.played&&(i||a.zoomable)){if(!i){var A=Math.max(.01,a.minZoomRatio),g=Math.min(100,a.maxZoomRatio);e=Math.min(Math.max(e,A),g)}if(r)switch(r.type){case"wheel":a.zoomRatio>=.055&&e>.95&&e<1.05&&(e=1);break;case"pointermove":case"touchmove":case"mousemove":e>.99&&e<1.01&&(e=1)}var v=f*e,m=p*e,y=v-h,b=m-d,_=l.ratio;if(j(a.zoom)&&te(o,"zoom",a.zoom,{once:!0}),!1===ne(o,"zoom",{ratio:e,oldRatio:_,originalEvent:r}))return this;if(this.zooming=!0,r){var w=function(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}(this.viewer),x=s&&Object.keys(s).length>0?function(e){var t=0,n=0,r=0;return U(e,function(e){var i=e.startX,o=e.startY;t+=i,n+=o,r+=1}),{pageX:t/=r,pageY:n/=r}}(s):{pageX:r.pageX,pageY:r.pageY};l.x-=y*((x.pageX-w.left-c)/h),l.y-=b*((x.pageY-w.top-u)/d)}else l.x-=y/2,l.y-=b/2;l.left=l.x,l.top=l.y,l.width=v,l.height=m,l.oldRatio=_,l.ratio=e,this.renderImage(function(){t.zooming=!1,j(a.zoomed)&&te(o,"zoomed",a.zoomed,{once:!0}),ne(o,"zoomed",{ratio:e,oldRatio:_,originalEvent:r},{cancelable:!1})}),n&&this.tooltip()}return this},play:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var n=this.element,r=this.options;if(j(r.play)&&te(n,"play",r.play,{once:!0}),!1===ne(n,"play"))return this;var i=this.player,o=this.loadImage.bind(this),a=[],s=0,l=0;if(this.played=!0,this.onLoadWhenPlay=o,t&&this.requestFullscreen(t),G(i,S),U(this.items,function(e,t){var n=e.querySelector("img"),c=document.createElement("img");c.src=K(n,"originalUrl"),c.alt=n.getAttribute("alt"),c.referrerPolicy=n.referrerPolicy,s+=1,G(c,d),X(c,B,r.transition),V(e,u)&&(G(c,b),l=t),a.push(c),te(c,"load",o,{once:!0}),i.appendChild(c)}),P(r.interval)&&r.interval>0){var c=function t(){e.playing=setTimeout(function(){W(a[l],b),G(a[l=(l+=1)<s?l:0],b),t()},r.interval)};s>1&&c()}return this},stop:function(){var e=this;if(!this.played)return this;var t=this.element,n=this.options;if(j(n.stop)&&te(t,"stop",n.stop,{once:!0}),!1===ne(t,"stop"))return this;var r=this.player;return this.played=!1,clearTimeout(this.playing),U(r.getElementsByTagName("img"),function(t){ee(t,"load",e.onLoadWhenPlay)}),W(r,S),r.innerHTML="",this.exitFullscreen(),this},full:function(){var e=this,t=this.options,n=this.viewer,r=this.image,i=this.list;return!this.isShown||this.played||this.fulled||!t.inline?this:(this.fulled=!0,this.open(),G(this.button,A),t.transition&&(W(i,B),this.viewed&&W(r,B)),G(n,f),n.setAttribute("role","dialog"),n.setAttribute("aria-labelledby",this.title.id),n.setAttribute("aria-modal",!0),n.removeAttribute("style"),Y(n,{zIndex:t.zIndex}),t.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=Q({},this.containerData),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage(function(){t.transition&&setTimeout(function(){G(r,B),G(i,B)},0)})}),this)},exit:function(){var e=this,t=this.options,n=this.viewer,r=this.image,i=this.list;return this.isShown&&!this.played&&this.fulled&&t.inline?(this.fulled=!1,this.close(),W(this.button,A),t.transition&&(W(i,B),this.viewed&&W(r,B)),t.focus&&this.clearEnforceFocus(),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),W(n,f),Y(n,{zIndex:t.zIndexInline}),this.viewerData=Q({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage(function(){t.transition&&setTimeout(function(){G(r,B),G(i,B)},0)})}),this):this},tooltip:function(){var e=this,t=this.options,n=this.tooltipBox,r=this.imageData;return this.viewed&&!this.played&&t.tooltip?(n.textContent="".concat(Math.round(100*r.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):t.transition?(this.fading&&ne(n,"transitionend"),G(n,S),G(n,d),G(n,B),n.removeAttribute("aria-hidden"),n.initialOffsetWidth=n.offsetWidth,G(n,b)):(G(n,S),n.removeAttribute("aria-hidden")),this.tooltipping=setTimeout(function(){t.transition?(te(n,"transitionend",function(){W(n,S),W(n,d),W(n,B),n.setAttribute("aria-hidden",!0),e.fading=!1},{once:!0}),W(n,b),e.fading=!0):(W(n,S),n.setAttribute("aria-hidden",!0)),e.tooltipping=!1},1e3),this):this},toggle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 1===this.imageData.ratio?this.zoomTo(this.imageData.oldRatio,!0,e):this.zoomTo(1,!0,e),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=Q({},this.initialImageData),this.renderImage()),this},update:function(){var e=this,t=this.element,n=this.options,r=this.isImg;if(r&&!t.parentNode)return this.destroy();var i=[];if(U(r?[t]:t.querySelectorAll("img"),function(t){j(n.filter)?n.filter.call(e,t)&&i.push(t):e.getImageURL(t)&&i.push(t)}),!i.length)return this;if(this.images=i,this.length=i.length,this.ready){var o=[];if(U(this.items,function(e,t){var n=e.querySelector("img"),r=i[t];r&&n&&r.src===n.src&&r.alt===n.alt||o.push(t)}),Y(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var a=o.indexOf(this.index);if(a>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-a,this.length-1),0));else{var s=this.items[this.index];G(s,u),s.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var e=this.element,t=this.options;return e.viewer?(this.destroyed=!0,this.ready?(this.played&&this.stop(),t.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):t.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),t.inline||ee(e,"click",this.onStart),e.viewer=void 0,this):this}},fe={getImageURL:function(e){var t=this.options.url;return t=I(t)?e.getAttribute(t):j(t)?t.call(this,e):""},enforceFocus:function(){var e=this;this.clearEnforceFocus(),te(document,"focusin",this.onFocusin=function(t){var n=e.viewer,r=t.target;if(r!==document&&r!==n&&!n.contains(r)){for(;r;){if(null!==r.getAttribute("tabindex")||"true"===r.getAttribute("aria-modal"))return;r=r.parentElement}n.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(ee(document,"focusin",this.onFocusin),this.onFocusin=null)},open:function(){var e=this.body;G(e,C),e.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px")},close:function(){var e=this.body;W(e,C),e.style.paddingRight=this.initialBodyPaddingRight},shown:function(){var e=this.element,t=this.options,n=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,t.focus&&(n.focus(),this.enforceFocus()),j(t.shown)&&te(e,"shown",t.shown,{once:!0}),!1!==ne(e,"shown")&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var e=this.element,t=this.options,n=this.viewer;t.fucus&&this.clearEnforceFocus(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.close(),this.unbind(),G(n,g),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),n.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.hiding=!1,this.destroyed||(j(t.hidden)&&te(e,"hidden",t.hidden,{once:!0}),ne(e,"hidden",null,{cancelable:!1}))},requestFullscreen:function(e){var t=this.element.ownerDocument;if(this.fulled&&!(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)){var n=t.documentElement;n.requestFullscreen?H(e)?n.requestFullscreen(e):n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen()}},exitFullscreen:function(){var e=this.element.ownerDocument;this.fulled&&(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)&&(e.exitFullscreen?e.exitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen())},change:function(e){var n=this.options,r=this.pointers,i=r[Object.keys(r)[0]];if(i){var o=i.endX-i.startX,a=i.endY-i.startY;switch(this.action){case"move":this.move(o,a,e);break;case"zoom":this.zoom(function(e){var n=t({},e),r=[];return U(e,function(e,t){delete n[t],U(n,function(t){var n=Math.abs(e.startX-t.startX),i=Math.abs(e.startY-t.startY),o=Math.abs(e.endX-t.endX),a=Math.abs(e.endY-t.endY),s=Math.sqrt(n*n+i*i),l=(Math.sqrt(o*o+a*a)-s)/s;r.push(l)})}),r.sort(function(e,t){return Math.abs(e)<Math.abs(t)}),r[0]}(r),!1,e);break;case"switch":this.action="switched";var s=Math.abs(o);s>1&&s>Math.abs(a)&&(this.pointers={},o>1?this.prev(n.loop):o<-1&&this.next(n.loop))}U(r,function(e){e.startX=e.endX,e.startY=e.endY})}},isSwitchable:function(){var e=this.imageData,t=this.viewerData;return this.length>1&&e.x>=0&&e.y>=0&&e.width<=t.width&&e.height<=t.height}},pe=s.Viewer,Ae=(le=-1,function(){return le+=1}),ge=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t||1!==t.nodeType)throw new Error("The first argument is required and must be an element.");this.element=t,this.options=Q({},o,H(n)&&n),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.id=Ae(),this.init()}var t,n,i;return t=e,i=[{key:"noConflict",value:function(){return window.Viewer=pe,e}},{key:"setDefaults",value:function(e){Q(o,H(e)&&e)}}],(n=[{key:"init",value:function(){var e=this,t=this.element,n=this.options;if(!t.viewer){t.viewer=this,n.focus&&!n.keyboard&&(n.focus=!1);var r="img"===t.localName,i=[];if(U(r?[t]:t.querySelectorAll("img"),function(t){j(n.filter)?n.filter.call(e,t)&&i.push(t):e.getImageURL(t)&&i.push(t)}),this.isImg=r,this.length=i.length,this.images=i,this.initBody(),F(document.createElement("viewer").style.transition)&&(n.transition=!1),n.inline){var o=0,a=function(){var t;(o+=1)===e.length&&(e.initializing=!1,e.delaying={abort:function(){clearTimeout(t)}},t=setTimeout(function(){e.delaying=!1,e.build()},0))};this.initializing={abort:function(){U(i,function(e){e.complete||(ee(e,"load",a),ee(e,"error",a))})}},U(i,function(e){var t,n;e.complete?a():(te(e,"load",t=function(){ee(e,"error",n),a()},{once:!0}),te(e,"error",n=function(){ee(e,"load",t),a()},{once:!0}))})}else te(t,"click",this.onStart=function(t){var r=t.target;"img"!==r.localName||j(n.filter)&&!n.filter.call(e,r)||e.view(e.images.indexOf(r))})}}},{key:"build",value:function(){if(!this.ready){var e=this.element,t=this.options,n=e.parentNode,r=document.createElement("div");r.innerHTML='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>';var i=r.querySelector(".".concat("viewer","-container")),o=i.querySelector(".".concat("viewer","-title")),a=i.querySelector(".".concat("viewer","-toolbar")),s=i.querySelector(".".concat("viewer","-navbar")),l=i.querySelector(".".concat("viewer","-button")),c=i.querySelector(".".concat("viewer","-canvas"));if(this.parent=n,this.viewer=i,this.title=o,this.toolbar=a,this.navbar=s,this.button=l,this.canvas=c,this.footer=i.querySelector(".".concat("viewer","-footer")),this.tooltipBox=i.querySelector(".".concat("viewer","-tooltip")),this.player=i.querySelector(".".concat("viewer","-player")),this.list=i.querySelector(".".concat("viewer","-list")),i.id="".concat("viewer").concat(this.id),o.id="".concat("viewer","Title").concat(this.id),G(o,t.title?ae(Array.isArray(t.title)?t.title[0]:t.title):g),G(s,t.navbar?ae(t.navbar):g),X(l,g,!t.button),t.keyboard&&l.setAttribute("tabindex",0),t.backdrop&&(G(i,"".concat("viewer","-backdrop")),t.inline||"static"===t.backdrop||J(c,M,"hide")),I(t.className)&&t.className&&t.className.split(D).forEach(function(e){G(i,e)}),t.toolbar){var u=document.createElement("ul"),A=H(t.toolbar),v=O.slice(0,3),m=O.slice(7,9),y=O.slice(9);A||G(a,ae(t.toolbar)),U(A?t.toolbar:O,function(e,n){var r=A&&H(e),i=A?$(n):e,o=r&&!F(e.show)?e.show:e;if(o&&(t.zoomable||-1===v.indexOf(i))&&(t.rotatable||-1===m.indexOf(i))&&(t.scalable||-1===y.indexOf(i))){var a=r&&!F(e.size)?e.size:e,s=r&&!F(e.click)?e.click:e,l=document.createElement("li");t.keyboard&&l.setAttribute("tabindex",0),l.setAttribute("role","button"),G(l,"".concat("viewer","-").concat(i)),j(s)||J(l,M,i),P(o)&&G(l,ae(o)),-1!==["small","large"].indexOf(a)?G(l,"".concat("viewer","-").concat(a)):"play"===i&&G(l,"".concat("viewer","-large")),j(s)&&te(l,"click",s),u.appendChild(l)}}),a.appendChild(u)}else G(a,g);if(!t.rotatable){var b=a.querySelectorAll('li[class*="rotate"]');G(b,_),U(b,function(e){a.appendChild(e)})}if(t.inline)G(l,p),Y(i,{zIndex:t.zIndexInline}),"static"===window.getComputedStyle(n).position&&Y(n,{position:"relative"}),n.insertBefore(i,e.nextSibling);else{G(l,h),G(i,f),G(i,d),G(i,g),Y(i,{zIndex:t.zIndex});var w=t.container;I(w)&&(w=e.ownerDocument.querySelector(w)),w||(w=this.body),w.appendChild(i)}t.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,j(t.ready)&&te(e,"ready",t.ready,{once:!0}),!1!==ne(e,"ready")?this.ready&&t.inline&&this.view(this.index):this.ready=!1}}}])&&r(t.prototype,n),i&&r(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();return Q(ge.prototype,ce,ue,he,de,fe),ge},e.exports=r()},"JP+z":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},K6ED:function(e,t,n){e.exports={default:n("cnlX"),__esModule:!0}},KCLY:function(e,t,n){"use strict";(function(t){var r=n("cGG2"),i=n("5VQ+"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,l={adapter:("undefined"!=typeof XMLHttpRequest?s=n("7GwW"):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(s=n("7GwW")),s),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){l.headers[e]={}}),r.forEach(["post","put","patch"],function(e){l.headers[e]=r.merge(o)}),e.exports=l}).call(t,n("W2nU"))},Kh4W:function(e,t,n){t.f=n("dSzd")},Kv9K:function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return r.AnnotationLayerBuilder}}),Object.defineProperty(t,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return r.DefaultAnnotationLayerFactory}}),Object.defineProperty(t,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return i.DefaultTextLayerFactory}}),Object.defineProperty(t,"TextLayerBuilder",{enumerable:!0,get:function(){return i.TextLayerBuilder}}),Object.defineProperty(t,"EventBus",{enumerable:!0,get:function(){return o.EventBus}}),Object.defineProperty(t,"NullL10n",{enumerable:!0,get:function(){return o.NullL10n}}),Object.defineProperty(t,"ProgressBar",{enumerable:!0,get:function(){return o.ProgressBar}}),Object.defineProperty(t,"PDFLinkService",{enumerable:!0,get:function(){return a.PDFLinkService}}),Object.defineProperty(t,"SimpleLinkService",{enumerable:!0,get:function(){return a.SimpleLinkService}}),Object.defineProperty(t,"DownloadManager",{enumerable:!0,get:function(){return s.DownloadManager}}),Object.defineProperty(t,"GenericL10n",{enumerable:!0,get:function(){return l.GenericL10n}}),Object.defineProperty(t,"PDFFindController",{enumerable:!0,get:function(){return c.PDFFindController}}),Object.defineProperty(t,"PDFHistory",{enumerable:!0,get:function(){return u.PDFHistory}}),Object.defineProperty(t,"PDFPageView",{enumerable:!0,get:function(){return h.PDFPageView}}),Object.defineProperty(t,"PDFSinglePageViewer",{enumerable:!0,get:function(){return d.PDFSinglePageViewer}}),Object.defineProperty(t,"PDFViewer",{enumerable:!0,get:function(){return f.PDFViewer}});var r=n(1),i=n(8),o=n(3),a=n(7),s=n(9),l=n(11),c=n(13),u=n(15),h=n(16),d=n(18),f=n(20)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultAnnotationLayerFactory=t.AnnotationLayerBuilder=void 0;var r=n(2),i=n(3),o=n(7);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}var c=function(){function e(t){var n=t.pageDiv,r=t.pdfPage,o=t.linkService,s=t.downloadManager,l=t.imageResourcesPath,c=void 0===l?"":l,u=t.renderInteractiveForms,h=void 0!==u&&u,d=t.l10n,f=void 0===d?i.NullL10n:d;a(this,e),this.pageDiv=n,this.pdfPage=r,this.linkService=o,this.downloadManager=s,this.imageResourcesPath=c,this.renderInteractiveForms=h,this.l10n=f,this.div=null,this._cancelled=!1}return l(e,[{key:"render",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"display";this.pdfPage.getAnnotations({intent:n}).then(function(n){if(!t._cancelled){var i={viewport:e.clone({dontFlip:!0}),div:t.div,annotations:n,page:t.pdfPage,imageResourcesPath:t.imageResourcesPath,renderInteractiveForms:t.renderInteractiveForms,linkService:t.linkService,downloadManager:t.downloadManager};if(t.div)r.AnnotationLayer.update(i);else{if(0===n.length)return;t.div=document.createElement("div"),t.div.className="annotationLayer",t.pageDiv.appendChild(t.div),i.div=t.div,r.AnnotationLayer.render(i),t.l10n.translate(t.div)}}})}},{key:"cancel",value:function(){this._cancelled=!0}},{key:"hide",value:function(){this.div&&this.div.setAttribute("hidden","true")}}]),e}();t.AnnotationLayerBuilder=c;var u=function(){function e(){a(this,e)}return l(e,[{key:"createAnnotationLayerBuilder",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i.NullL10n;return new c({pageDiv:e,pdfPage:t,imageResourcesPath:n,renderInteractiveForms:r,linkService:new o.SimpleLinkService,l10n:a})}}]),e}();t.DefaultAnnotationLayerFactory=u},function(e,t,r){"use strict";var i;i="undefined"!=typeof window&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:n("QzLT"),e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidRotation=function(e){return Number.isInteger(e)&&e%90==0},t.isValidScrollMode=function(e){return Number.isInteger(e)&&Object.values(d).includes(e)&&e!==d.UNKNOWN},t.isValidSpreadMode=function(e){return Number.isInteger(e)&&Object.values(f).includes(e)&&e!==f.UNKNOWN},t.isPortraitOrientation=function(e){return e.width<=e.height},t.clamp=_,t.getPDFFileNameFromURL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!=typeof e)return t;if(function(e){var t=0,n=e.length;for(;t<n&&""===e[t].trim();)t++;return"data:"===e.substring(t,t+5).toLowerCase()}(e))return console.warn('getPDFFileNameFromURL: ignoring "data:" URL for performance reasons.'),t;var n=/[^\/?#=]+\.pdf\b(?!.*\.pdf\b)/i,r=/^(?:(?:[^:]+:)?\/\/[^\/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(e),i=n.exec(r[1])||n.exec(r[2])||n.exec(r[3]);if(i&&(i=i[0]).includes("%"))try{i=n.exec(decodeURIComponent(i))[0]}catch(e){}return i||t},t.noContextMenuHandler=function(e){e.preventDefault()},t.parseQueryString=function(e){for(var t=e.split("&"),n=Object.create(null),r=0,i=t.length;r<i;++r){var o=t[r].split("="),a=o[0].toLowerCase(),s=o.length>1?o[1]:null;n[decodeURIComponent(a)]=decodeURIComponent(s)}return n},t.backtrackBeforeAllVisibleElements=v,t.getVisibleElements=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.scrollTop,o=i+e.clientHeight,a=e.scrollLeft,s=a+e.clientWidth;var l=[],c=t.length,u=0===c?0:g(t,r?function(e){var t=e.div;return t.offsetLeft+t.clientLeft+t.clientWidth>a}:function(e){var t=e.div;return t.offsetTop+t.clientTop+t.clientHeight>i});u>0&&u<c&&!r&&(u=v(u,t,i));for(var h=r?s:-1,d=u;d<c;d++){var f=t[d],p=f.div,A=p.offsetLeft+p.clientLeft,m=p.offsetTop+p.clientTop,y=p.clientWidth,b=p.clientHeight,_=A+y,w=m+b;if(-1===h)w>=o&&(h=w);else if((r?A:m)>h)break;if(!(w<=i||m>=o||_<=a||A>=s)){var x=Math.max(0,i-m)+Math.max(0,w-o),C=Math.max(0,a-A)+Math.max(0,_-s),S=(b-x)*(y-C)*100/b/y|0;l.push({id:f.id,x:A,y:m,view:f,percent:S})}}var B=l[0],k=l[l.length-1];n&&l.sort(function(e,t){var n=e.percent-t.percent;return Math.abs(n)>.001?-n:e.id-t.id});return{first:B,last:k,views:l}},t.roundToDivide=function(e,t){var n=e%t;return 0===n?e:Math.round(e-n+t)},t.getPageSizeInches=function(e){var t=e.view,n=e.userUnit,r=e.rotate,i=(f=t,p=4,function(e){if(Array.isArray(e))return e}(f)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(f,p)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(f,p)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=i[0],a=i[1],s=i[2],l=i[3],u=r%180!=0,h=(s-o)/72*n,d=(l-a)/72*n;var f,p;return{width:u?d:h,height:u?h:d}},t.approximateFraction=function(e){if(Math.floor(e)===e)return[e,1];var t=1/e;if(t>8)return[1,8];if(Math.floor(t)===t)return[1,t];var n,r=e>1?t:e,i=0,o=1,a=1,s=1;for(;;){var l=i+a,c=o+s;if(c>8)break;r<=l/c?(a=l,s=c):(i=l,o=c)}n=r-i/o<a/s-r?r===e?[i,o]:[o,i]:r===e?[a,s]:[s,a];return n},t.getOutputScale=function(e){var t=window.devicePixelRatio||1,n=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1,r=t/n;return{sx:r,sy:r,scaled:1!==r}},t.scrollIntoView=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.offsetParent;if(!r)return void console.error("offsetParent is not set -- cannot scroll");var i=e.offsetTop+e.clientTop,o=e.offsetLeft+e.clientLeft;for(;r.clientHeight===r.scrollHeight&&r.clientWidth===r.scrollWidth||n&&"hidden"===getComputedStyle(r).overflow;)if(r.dataset._scaleY&&(i/=r.dataset._scaleY,o/=r.dataset._scaleX),i+=r.offsetTop,o+=r.offsetLeft,!(r=r.offsetParent))return;t&&(void 0!==t.top&&(i+=t.top),void 0!==t.left&&(o+=t.left,r.scrollLeft=o));r.scrollTop=i},t.watchScroll=function(e,t){var n=function(n){i||(i=window.requestAnimationFrame(function(){i=null;var n=e.scrollLeft,o=r.lastX;n!==o&&(r.right=n>o),r.lastX=n;var a=e.scrollTop,s=r.lastY;a!==s&&(r.down=a>s),r.lastY=a,t(r)}))},r={right:!0,down:!0,lastX:e.scrollLeft,lastY:e.scrollTop,_eventHandler:n},i=null;return e.addEventListener("scroll",n,!0),r},t.binarySearchFirstItem=g,t.normalizeWheelEventDelta=function(e){var t=Math.sqrt(e.deltaX*e.deltaX+e.deltaY*e.deltaY),n=Math.atan2(e.deltaY,e.deltaX);-.25*Math.PI<n&&n<.75*Math.PI&&(t=-t);0===e.deltaMode?t/=900:1===e.deltaMode&&(t/=30);return t},t.waitOnEventOrTimeout=function(e){var t=e.target,n=e.name,r=e.delay,i=void 0===r?0:r;return new Promise(function(e,r){if("object"!==l(t)||!n||"string"!=typeof n||!(Number.isInteger(i)&&i>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function o(r){t instanceof b?t._off(n,a):t.removeEventListener(n,a),c&&clearTimeout(c),e(r)}var a=o.bind(null,m.EVENT);t instanceof b?t._on(n,a):t.addEventListener(n,a);var s=o.bind(null,m.TIMEOUT),c=setTimeout(s,i)})},t.moveToEndOfArray=function(e,t){for(var n=[],r=e.length,i=0,o=0;o<r;++o)t(e[o])?n.push(e[o]):(e[i]=e[o],++i);for(var a=0;i<r;++a,++i)e[i]=n[a]},t.WaitOnType=t.animationStarted=t.ProgressBar=t.EventBus=t.NullL10n=t.SpreadMode=t.ScrollMode=t.TextLayerMode=t.RendererType=t.PresentationModeState=t.VERTICAL_PADDING=t.SCROLLBAR_PADDING=t.MAX_AUTO_SCALE=t.UNKNOWN_SCALE=t.MAX_SCALE=t.MIN_SCALE=t.DEFAULT_SCALE=t.DEFAULT_SCALE_VALUE=t.CSS_UNITS=t.AutoPrintRegExp=void 0;var r,i=(r=n(4))&&r.__esModule?r:{default:r};function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){"@babel/helpers - typeof";return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function h(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)})}}t.CSS_UNITS=96/72;t.DEFAULT_SCALE_VALUE="auto";t.DEFAULT_SCALE=1;t.MIN_SCALE=.1;t.MAX_SCALE=10;t.UNKNOWN_SCALE=0;t.MAX_AUTO_SCALE=1.25;t.SCROLLBAR_PADDING=40;t.VERTICAL_PADDING=5;t.PresentationModeState={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};t.RendererType={CANVAS:"canvas",SVG:"svg"};t.TextLayerMode={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};var d={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2};t.ScrollMode=d;var f={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};t.SpreadMode=f;function p(e,t){return t?e.replace(/\{\{\s*(\w+)\s*\}\}/g,function(e,n){return n in t?t[n]:"{{"+n+"}}"}):e}t.AutoPrintRegExp=/\bprint\s*\(/;var A={getLanguage:function(){return h(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return","en-us");case 1:case"end":return e.stop()}},e)}))()},getDirection:function(){return h(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return","ltr");case 1:case"end":return e.stop()}},e)}))()},get:function(e,t,n){return h(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",p(n,t));case 1:case"end":return e.stop()}},e)}))()},translate:function(e){return h(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)}))()}};function g(e,t){var n=0,r=e.length-1;if(r<0||!t(e[r]))return e.length;if(t(e[n]))return n;for(;n<r;){var i=n+r>>1;t(e[i])?r=i:n=i+1}return n}function v(e,t,n){if(e<2)return e;var r=t[e].div,i=r.offsetTop+r.clientTop;i>=n&&(i=(r=t[e-1].div).offsetTop+r.clientTop);for(var o=e-2;o>=0&&!((r=t[o].div).offsetTop+r.clientTop+r.clientHeight<=i);--o)e=o;return e}t.NullL10n=A;var m={EVENT:"event",TIMEOUT:"timeout"};t.WaitOnType=m;var y=new Promise(function(e){window.requestAnimationFrame(e)});t.animationStarted=y;var b=function(){function e(t){o(this,e),this._listeners=Object.create(null)}return s(e,[{key:"on",value:function(e,t){this._on(e,t,{external:!0})}},{key:"off",value:function(e,t){this._off(e,t,{external:!0})}},{key:"dispatch",value:function(e){var t=this._listeners[e];if(t&&0!==t.length){var n,r=Array.prototype.slice.call(arguments,1);t.slice(0).forEach(function(e){var t=e.listener;if(e.external)return n||(n=[]),void n.push(t);t.apply(null,r)}),n&&(n.forEach(function(e){e.apply(null,r)}),n=null)}}},{key:"_on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this._listeners[e];r||(this._listeners[e]=r=[]),r.push({listener:t,external:!0===(n&&n.external)})}},{key:"_off",value:function(e,t){arguments.length>2&&void 0!==arguments[2]&&arguments[2];var n=this._listeners[e];if(n)for(var r=0,i=n.length;r<i;r++)if(n[r].listener===t)return void n.splice(r,1)}}]),e}();function _(e,t,n){return Math.min(Math.max(e,t),n)}t.EventBus=b;var w=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.height,i=n.width,a=n.units;o(this,e),this.visible=!0,this.div=document.querySelector(t+" .progress"),this.bar=this.div.parentNode,this.height=r||100,this.width=i||100,this.units=a||"%",this.div.style.height=this.height+this.units,this.percent=0}return s(e,[{key:"_updateBar",value:function(){if(this._indeterminate)return this.div.classList.add("indeterminate"),void(this.div.style.width=this.width+this.units);this.div.classList.remove("indeterminate");var e=this.width*this._percent/100;this.div.style.width=e+this.units}},{key:"setWidth",value:function(e){if(e){var t=e.parentNode.offsetWidth-e.offsetWidth;t>0&&(this.bar.style.width="calc(100% - ".concat(t,"px)"))}}},{key:"hide",value:function(){this.visible&&(this.visible=!1,this.bar.classList.add("hidden"),document.body.classList.remove("loadingInProgress"))}},{key:"show",value:function(){this.visible||(this.visible=!0,document.body.classList.add("loadingInProgress"),this.bar.classList.remove("hidden"))}},{key:"percent",get:function(){return this._percent},set:function(e){this._indeterminate=isNaN(e),this._percent=_(e,0,100),this._updateBar()}}]),e}();t.ProgressBar=w},function(e,t,n){"use strict";e.exports=n(5)},function(e,t,n){"use strict";(function(e){function t(e){"@babel/helpers - typeof";return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var n=function(e){var n,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new T(r||[]);return o._invoke=function(e,t,n){var r=h;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return M()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===A)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=u(e,t,n);if("normal"===l.type){if(r=n.done?p:d,l.arg===A)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var h="suspendedStart",d="suspendedYield",f="executing",p="completed",A={};function g(){}function v(){}function m(){}var y={};y[a]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(E([])));_&&_!==r&&i.call(_,a)&&(y=_);var w=m.prototype=g.prototype=Object.create(y);function x(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e,n){var r;this._invoke=function(o,a){function s(){return new n(function(r,s){!function r(o,a,s,l){var c=u(e[o],e,a);if("throw"!==c.type){var h=c.arg,d=h.value;return d&&"object"===t(d)&&i.call(d,"__await")?n.resolve(d.__await).then(function(e){r("next",e,s,l)},function(e){r("throw",e,s,l)}):n.resolve(d).then(function(e){h.value=e,s(h)},function(e){return r("throw",e,s,l)})}l(c.arg)}(o,a,r,s)})}return r=r?r.then(s,s):s()}}function S(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,S(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,A;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,A):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function E(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:M}}function M(){return{value:n,done:!0}}return v.prototype=w.constructor=m,m.constructor=v,m[l]=v.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(C.prototype),C.prototype[s]=function(){return this},e.AsyncIterator=C,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new C(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},x(w),w[l]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=E,T.prototype={constructor:T,reset:function(e){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(k),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,A):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),A},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:E(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),A}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(6)(e))},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleLinkService=t.PDFLinkService=void 0;var r=n(3);function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}var l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.eventBus,r=t.externalLinkTarget,i=void 0===r?null:r,a=t.externalLinkRel,s=void 0===a?null:a,l=t.externalLinkEnabled,c=void 0===l||l,u=t.ignoreDestinationZoom,h=void 0!==u&&u;o(this,e),this.eventBus=n,this.externalLinkTarget=i,this.externalLinkRel=s,this.externalLinkEnabled=c,this._ignoreDestinationZoom=h,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null,this._pagesRefCache=null}return s(e,[{key:"setDocument",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.baseUrl=t,this.pdfDocument=e,this._pagesRefCache=Object.create(null)}},{key:"setViewer",value:function(e){this.pdfViewer=e}},{key:"setHistory",value:function(e){this.pdfHistory=e}},{key:"navigateTo",value:function(e){var t=this;new Promise(function(n,r){"string"!=typeof e?n({namedDest:"",explicitDest:e}):t.pdfDocument.getDestination(e).then(function(t){n({namedDest:e,explicitDest:t})})}).then(function(n){Array.isArray(n.explicitDest)?function n(r){var i,o=r.namedDest,a=r.explicitDest,s=a[0];if(s instanceof Object){if(null===(i=t._cachedPageNumber(s)))return void t.pdfDocument.getPageIndex(s).then(function(e){t.cachePageRef(e+1,s),n({namedDest:o,explicitDest:a})}).catch(function(){console.error('PDFLinkService.navigateTo: "'.concat(s,'" is not ')+'a valid page reference, for dest="'.concat(e,'".'))})}else{if(!Number.isInteger(s))return void console.error('PDFLinkService.navigateTo: "'.concat(s,'" is not ')+'a valid destination reference, for dest="'.concat(e,'".'));i=s+1}!i||i<1||i>t.pagesCount?console.error('PDFLinkService.navigateTo: "'.concat(i,'" is not ')+'a valid page number, for dest="'.concat(e,'".')):(t.pdfHistory&&(t.pdfHistory.pushCurrentPosition(),t.pdfHistory.push({namedDest:o,explicitDest:a,pageNumber:i})),t.pdfViewer.scrollPageIntoView({pageNumber:i,destArray:a,ignoreDestinationZoom:t._ignoreDestinationZoom}))}(n):console.error('PDFLinkService.navigateTo: "'.concat(n.explicitDest,'" is')+' not a valid destination array, for dest="'.concat(e,'".'))})}},{key:"getDestinationHash",value:function(e){if("string"==typeof e)return this.getAnchorUrl("#"+escape(e));if(Array.isArray(e)){var t=JSON.stringify(e);return this.getAnchorUrl("#"+escape(t))}return this.getAnchorUrl("")}},{key:"getAnchorUrl",value:function(e){return(this.baseUrl||"")+e}},{key:"setHash",value:function(e){var t,n;if(e.includes("=")){var o=(0,r.parseQueryString)(e);if("search"in o&&this.eventBus.dispatch("findfromurlhash",{source:this,query:o.search.replace(/"/g,""),phraseSearch:"true"===o.phrase}),"page"in o&&(t=0|o.page||1),"zoom"in o){var a=o.zoom.split(","),s=a[0],l=parseFloat(s);s.includes("Fit")?"Fit"===s||"FitB"===s?n=[null,{name:s}]:"FitH"===s||"FitBH"===s||"FitV"===s||"FitBV"===s?n=[null,{name:s},a.length>1?0|a[1]:null]:"FitR"===s?5!==a.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):n=[null,{name:s},0|a[1],0|a[2],0|a[3],0|a[4]]:console.error('PDFLinkService.setHash: "'.concat(s,'" is not ')+"a valid zoom value."):n=[null,{name:"XYZ"},a.length>1?0|a[1]:null,a.length>2?0|a[2]:null,l?l/100:s]}n?this.pdfViewer.scrollPageIntoView({pageNumber:t||this.page,destArray:n,allowNegativeOffset:!0}):t&&(this.page=t),"pagemode"in o&&this.eventBus.dispatch("pagemode",{source:this,mode:o.pagemode}),"nameddest"in o&&this.navigateTo(o.nameddest)}else{n=unescape(e);try{n=JSON.parse(n),Array.isArray(n)||(n=n.toString())}catch(e){}if("string"==typeof n||function(e){if(!Array.isArray(e))return!1;var t=e.length;if(t<2)return!1;var n=e[0];if(!("object"===i(n)&&Number.isInteger(n.num)&&Number.isInteger(n.gen)||Number.isInteger(n)&&n>=0))return!1;var r=e[1];if("object"!==i(r)||"string"!=typeof r.name)return!1;var o=!0;switch(r.name){case"XYZ":if(5!==t)return!1;break;case"Fit":case"FitB":return 2===t;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==t)return!1;break;case"FitR":if(6!==t)return!1;o=!1;break;default:return!1}for(var a=2;a<t;a++){var s=e[a];if(!("number"==typeof s||o&&null===s))return!1}return!0}(n))return void this.navigateTo(n);console.error('PDFLinkService.setHash: "'.concat(unescape(e),'" is not ')+"a valid destination.")}}},{key:"executeNamedAction",value:function(e){switch(e){case"GoBack":this.pdfHistory&&this.pdfHistory.back();break;case"GoForward":this.pdfHistory&&this.pdfHistory.forward();break;case"NextPage":this.page<this.pagesCount&&this.page++;break;case"PrevPage":this.page>1&&this.page--;break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:e})}},{key:"cachePageRef",value:function(e,t){if(t){var n=0===t.gen?"".concat(t.num,"R"):"".concat(t.num,"R").concat(t.gen);this._pagesRefCache[n]=e}}},{key:"_cachedPageNumber",value:function(e){var t=0===e.gen?"".concat(e.num,"R"):"".concat(e.num,"R").concat(e.gen);return this._pagesRefCache&&this._pagesRefCache[t]||null}},{key:"isPageVisible",value:function(e){return this.pdfViewer.isPageVisible(e)}},{key:"pagesCount",get:function(){return this.pdfDocument?this.pdfDocument.numPages:0}},{key:"page",get:function(){return this.pdfViewer.currentPageNumber},set:function(e){this.pdfViewer.currentPageNumber=e}},{key:"rotation",get:function(){return this.pdfViewer.pagesRotation},set:function(e){this.pdfViewer.pagesRotation=e}}]),e}();t.PDFLinkService=l;var c=function(){function e(){o(this,e),this.externalLinkTarget=null,this.externalLinkRel=null,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=!1}return s(e,[{key:"navigateTo",value:function(e){}},{key:"getDestinationHash",value:function(e){return"#"}},{key:"getAnchorUrl",value:function(e){return"#"}},{key:"setHash",value:function(e){}},{key:"executeNamedAction",value:function(e){}},{key:"cachePageRef",value:function(e,t){}},{key:"isPageVisible",value:function(e){return!0}},{key:"pagesCount",get:function(){return 0}},{key:"page",get:function(){return 0},set:function(e){}},{key:"rotation",get:function(){return 0},set:function(e){}}]),e}();t.SimpleLinkService=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultTextLayerFactory=t.TextLayerBuilder=void 0;var r=n(2);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}var s=function(){function e(t){var n=t.textLayerDiv,r=t.eventBus,o=t.pageIndex,a=t.viewport,s=t.findController,l=void 0===s?null:s,c=t.enhanceTextSelection,u=void 0!==c&&c;i(this,e),this.textLayerDiv=n,this.eventBus=r,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageIdx=o,this.pageNumber=this.pageIdx+1,this.matches=[],this.viewport=a,this.textDivs=[],this.findController=l,this.textLayerRenderTask=null,this.enhanceTextSelection=u,this._onUpdateTextLayerMatches=null,this._bindMouse()}return a(e,[{key:"_finishRendering",value:function(){if(this.renderingDone=!0,!this.enhanceTextSelection){var e=document.createElement("div");e.className="endOfContent",this.textLayerDiv.appendChild(e)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}},{key:"render",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if((this.textContent||this.textContentStream)&&!this.renderingDone){this.cancel(),this.textDivs=[];var n=document.createDocumentFragment();this.textLayerRenderTask=(0,r.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:n,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:t,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then(function(){e.textLayerDiv.appendChild(n),e._finishRendering(),e._updateMatches()},function(e){}),this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=function(t){t.pageIndex!==e.pageIdx&&-1!==t.pageIndex||e._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches))}}},{key:"cancel",value:function(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null)}},{key:"setTextContentStream",value:function(e){this.cancel(),this.textContentStream=e}},{key:"setTextContent",value:function(e){this.cancel(),this.textContent=e}},{key:"_convertMatches",value:function(e,t){if(!e)return[];for(var n=this.findController,r=this.textContentItemsStr,i=0,o=0,a=r.length-1,s=n.state.query.length,l=[],c=0,u=e.length;c<u;c++){for(var h=e[c];i!==a&&h>=o+r[i].length;)o+=r[i].length,i++;i===r.length&&console.error("Could not find a matching mapping");var d={begin:{divIdx:i,offset:h-o}};for(h+=t?t[c]:s;i!==a&&h>o+r[i].length;)o+=r[i].length,i++;d.end={divIdx:i,offset:h-o},l.push(d)}return l}},{key:"_renderMatches",value:function(e){if(0!==e.length){var t=this.findController,n=this.pageIdx,r=this.textContentItemsStr,i=this.textDivs,o=n===t.selected.pageIdx,a=t.selected.matchIdx,s=null,l={divIdx:-1,offset:void 0},c=a,u=c+1;if(t.state.highlightAll)c=0,u=e.length;else if(!o)return;for(var h=c;h<u;h++){var d=e[h],f=d.begin,p=d.end,A=o&&h===a,g=A?" selected":"";if(A&&t.scrollMatchIntoView({element:i[f.divIdx],pageIndex:n,matchIndex:a}),s&&f.divIdx===s.divIdx?b(s.divIdx,s.offset,f.offset):(null!==s&&b(s.divIdx,s.offset,l.offset),y(f)),f.divIdx===p.divIdx)b(f.divIdx,f.offset,p.offset,"highlight"+g);else{b(f.divIdx,f.offset,l.offset,"highlight begin"+g);for(var v=f.divIdx+1,m=p.divIdx;v<m;v++)i[v].className="highlight middle"+g;y(p,"highlight end"+g)}s=p}s&&b(s.divIdx,s.offset,l.offset)}function y(e,t){var n=e.divIdx;i[n].textContent="",b(n,0,e.offset,t)}function b(e,t,n,o){var a=i[e],s=r[e].substring(t,n),l=document.createTextNode(s);if(o){var c=document.createElement("span");return c.className=o,c.appendChild(l),void a.appendChild(c)}a.appendChild(l)}}},{key:"_updateMatches",value:function(){if(this.renderingDone){for(var e=this.findController,t=this.matches,n=this.pageIdx,r=this.textContentItemsStr,i=this.textDivs,o=-1,a=0,s=t.length;a<s;a++){for(var l=t[a],c=Math.max(o,l.begin.divIdx),u=l.end.divIdx;c<=u;c++){var h=i[c];h.textContent=r[c],h.className=""}o=l.end.divIdx+1}if(e&&e.highlightMatches){var d=e.pageMatches[n]||null,f=e.pageMatchesLength[n]||null;this.matches=this._convertMatches(d,f),this._renderMatches(this.matches)}}}},{key:"_bindMouse",value:function(){var e=this,t=this.textLayerDiv,n=null;t.addEventListener("mousedown",function(r){if(e.enhanceTextSelection&&e.textLayerRenderTask)return e.textLayerRenderTask.expandTextDivs(!0),void(n&&(clearTimeout(n),n=null));var i=t.querySelector(".endOfContent");if(i){var o=r.target!==t;if(o=o&&"none"!==window.getComputedStyle(i).getPropertyValue("-moz-user-select")){var a=t.getBoundingClientRect(),s=Math.max(0,(r.pageY-a.top)/a.height);i.style.top=(100*s).toFixed(2)+"%"}i.classList.add("active")}}),t.addEventListener("mouseup",function(){if(e.enhanceTextSelection&&e.textLayerRenderTask)n=setTimeout(function(){e.textLayerRenderTask&&e.textLayerRenderTask.expandTextDivs(!1),n=null},300);else{var r=t.querySelector(".endOfContent");r&&(r.style.top="",r.classList.remove("active"))}})}}]),e}();t.TextLayerBuilder=s;var l=function(){function e(){i(this,e)}return a(e,[{key:"createTextLayerBuilder",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return new s({textLayerDiv:e,pageIndex:t,viewport:n,enhanceTextSelection:r,eventBus:i})}}]),e}();t.DefaultTextLayerFactory=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DownloadManager=void 0;var r=n(2);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o=n(10).viewerCompatibilityParams.disableCreateObjectURL||!1;function a(e,t){var n=document.createElement("a");if(!n.click)throw new Error('DownloadManager: "a.click()" is not supported.');n.href=e,n.target="_parent","download"in n&&(n.download=t),(document.body||document.documentElement).appendChild(n),n.click(),n.remove()}var s=function(){function e(t){var n=t.disableCreateObjectURL,r=void 0===n?o:n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.disableCreateObjectURL=r}var t,n,s;return t=e,(n=[{key:"downloadUrl",value:function(e,t){(0,r.createValidAbsoluteUrl)(e,"http://example.com")&&a(e+"#pdfjs.action=download",t)}},{key:"downloadData",value:function(e,t,n){navigator.msSaveBlob?navigator.msSaveBlob(new Blob([e],{type:n}),t):a((0,r.createObjectURL)(e,n,this.disableCreateObjectURL),t)}},{key:"download",value:function(e,t,n){navigator.msSaveBlob?navigator.msSaveBlob(e,n)||this.downloadUrl(t,n):this.disableCreateObjectURL?this.downloadUrl(t,n):a(URL.createObjectURL(e),n)}}])&&i(t.prototype,n),s&&i(t,s),e}();t.DownloadManager=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.viewerCompatibilityParams=void 0;var r=Object.create(null),i="undefined"!=typeof navigator&&navigator.userAgent||"",o="undefined"!=typeof navigator&&navigator.platform||"",a="undefined"!=typeof navigator&&navigator.maxTouchPoints||1,s=/Android/.test(i),l=/Trident/.test(i),c=/\b(iPad|iPhone|iPod)(?=;)/.test(i)||"MacIntel"===o&&a>1,u=/CriOS/.test(i);(l||u)&&(r.disableCreateObjectURL=!0),(c||s)&&(r.maxCanvasPixels=5242880);var h=Object.freeze(r);t.viewerCompatibilityParams=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GenericL10n=void 0;var r,i=(r=n(4))&&r.__esModule?r:{default:r};function o(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function a(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,l,"next",e)}function l(e){o(a,r,i,s,l,"throw",e)}s(void 0)})}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(12);var l=document.webL10n,c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._lang=t,this._ready=new Promise(function(e,n){l.setLanguage(t,function(){e(l)})})}var t,n,r;return t=e,(n=[{key:"getLanguage",value:function(){var e=a(i.default.mark(function e(){var t;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return t=e.sent,e.abrupt("return",t.getLanguage());case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"getDirection",value:function(){var e=a(i.default.mark(function e(){var t;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return t=e.sent,e.abrupt("return",t.getDirection());case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"get",value:function(){var e=a(i.default.mark(function e(t,n,r){var o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return o=e.sent,e.abrupt("return",o.get(t,n,r));case 4:case"end":return e.stop()}},e,this)}));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"translate",value:function(){var e=a(i.default.mark(function e(t){var n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return n=e.sent,e.abrupt("return",n.translate(t));case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()}])&&s(t.prototype,n),r&&s(t,r),e}();t.GenericL10n=c},function(e,t,n){"use strict";document.webL10n=function(e,t,n){var r={},i="",o="textContent",a="",s={},l="loading",c=!0;function u(e,t,n){t=t||function(e){},n=n||function(){};var r=new XMLHttpRequest;r.open("GET",e,c),r.overrideMimeType&&r.overrideMimeType("text/plain; charset=utf-8"),r.onreadystatechange=function(){4==r.readyState&&(200==r.status||0===r.status?t(r.responseText):n())},r.onerror=n,r.ontimeout=n;try{r.send(null)}catch(e){n()}}function h(e,t,n,a){var s=e.replace(/[^\/]*$/,"")||"./";u(e,function(e){i+=e,function(e,n){var r={},i=/^\s*|\s*$/,o=/^\s*#|^\s*$/,a=/^\s*\[(.*)\]\s*$/,l=/^\s*@import\s+url\((.*)\)\s*$/i,c=/^([^=\s]*)\s*=\s*(.+)$/;function h(e,n,u){var h=e.replace(i,"").split(/[\r\n]+/),f="*",p=t.split("-",1)[0],A=!1,g="";!function e(){for(;;){if(!h.length)return void u();var i=h.shift();if(!o.test(i)){if(n){if(g=a.exec(i)){f=g[1].toLowerCase(),A="*"!==f&&f!==t&&f!==p;continue}if(A)continue;if(g=l.exec(i))return void d(s+g[1],e)}var v=i.match(c);v&&3==v.length&&(r[v[1]]=(m=v[2]).lastIndexOf("\\")<0?m:m.replace(/\\\\/g,"\\").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\{/g,"{").replace(/\\}/g,"}").replace(/\\"/g,'"').replace(/\\'/g,"'"))}}var m}()}function d(e,t){u(e,function(e){h(e,!1,t)},function(){console.warn(e+" not found."),t()})}h(e,!0,function(){n(r)})}(e,function(e){for(var t in e){var i,a,s=t.lastIndexOf(".");s>0?(i=t.substring(0,s),a=t.substring(s+1)):(i=t,a=o),r[i]||(r[i]={}),r[i][a]=e[t]}n&&n()})},a)}function d(e,n){e&&(e=e.toLowerCase()),n=n||function(){},r={},i="",a="",a=e;var o=t.querySelectorAll('link[type="application/l10n"]'),s=o.length;if(0!==s){var c,u,d=0;u=function(){++d>=s&&(n(),l="complete")};for(var f=0;f<s;f++){new v(o[f]).load(e,u)}}else{var p=(c=t.querySelector('script[type="application/l10n"]'))?JSON.parse(c.innerHTML):null;if(p&&p.locales&&p.default_locale){if(console.log("using the embedded JSON directory, early way out"),!(r=p.locales[e])){var A=p.default_locale.toLowerCase();for(var g in p.locales){if((g=g.toLowerCase())===e){r=p.locales[e];break}g===A&&(r=p.locales[A])}}n()}else console.log("no resource to load, early way out");l="complete"}function v(e){var t=e.href;this.load=function(e,n){h(t,e,n,function(){console.warn(t+" not found."),console.warn('"'+e+'" resource not found'),a="",n()})}}}function f(e,t,n){var i=r[e];if(!i){if(console.warn("#"+e+" is undefined."),!n)return null;i=n}var o={};for(var a in i){var s=i[a];s=A(s=p(s,t,e,a),t,e),o[a]=s}return o}function p(e,t,n,i){var o=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/.exec(e);if(!o||!o.length)return e;var a,l=o[1],c=o[2];(t&&c in t?a=t[c]:c in r&&(a=r[c]),l in s)&&(e=(0,s[l])(e,a,n,i));return e}function A(e,t,n){return e.replace(/\{\{\s*(.+?)\s*\}\}/g,function(e,i){return t&&i in t?t[i]:i in r?r[i]:(console.log("argument {{"+i+"}} for #"+n+" is undefined."),e)})}function g(e){var n=function(e){if(!e)return{};var t=e.getAttribute("data-l10n-id"),n=e.getAttribute("data-l10n-args"),r={};if(n)try{r=JSON.parse(n)}catch(e){console.warn("could not parse arguments for #"+t)}return{id:t,args:r}}(e);if(n.id){var r=f(n.id,n.args);if(r){if(r[o]){if(0===function(e){if(e.children)return e.children.length;if(void 0!==e.childElementCount)return e.childElementCount;for(var t=0,n=0;n<e.childNodes.length;n++)t+=1===e.nodeType?1:0;return t}(e))e[o]=r[o];else{for(var i=e.childNodes,a=!1,s=0,l=i.length;s<l;s++)3===i[s].nodeType&&/\S/.test(i[s].nodeValue)&&(a?i[s].nodeValue="":(i[s].nodeValue=r[o],a=!0));if(!a){var c=t.createTextNode(r[o]);e.insertBefore(c,e.firstChild)}}delete r[o]}for(var u in r)e[u]=r[u]}else console.warn("#"+n.id+" is undefined.")}}return s.plural=function(e,t,n,i){var l=parseFloat(t);if(isNaN(l))return e;if(i!=o)return e;s._pluralRules||(s._pluralRules=function(e){function t(e,t){return-1!==t.indexOf(e)}function n(e,t,n){return t<=e&&e<=n}var r={0:function(e){return"other"},1:function(e){return n(e%100,3,10)?"few":0===e?"zero":n(e%100,11,99)?"many":2==e?"two":1==e?"one":"other"},2:function(e){return 0!==e&&e%10==0?"many":2==e?"two":1==e?"one":"other"},3:function(e){return 1==e?"one":"other"},4:function(e){return n(e,0,1)?"one":"other"},5:function(e){return n(e,0,2)&&2!=e?"one":"other"},6:function(e){return 0===e?"zero":e%10==1&&e%100!=11?"one":"other"},7:function(e){return 2==e?"two":1==e?"one":"other"},8:function(e){return n(e,3,6)?"few":n(e,7,10)?"many":2==e?"two":1==e?"one":"other"},9:function(e){return 0===e||1!=e&&n(e%100,1,19)?"few":1==e?"one":"other"},10:function(e){return n(e%10,2,9)&&!n(e%100,11,19)?"few":e%10!=1||n(e%100,11,19)?"other":"one"},11:function(e){return n(e%10,2,4)&&!n(e%100,12,14)?"few":e%10==0||n(e%10,5,9)||n(e%100,11,14)?"many":e%10==1&&e%100!=11?"one":"other"},12:function(e){return n(e,2,4)?"few":1==e?"one":"other"},13:function(e){return n(e%10,2,4)&&!n(e%100,12,14)?"few":1!=e&&n(e%10,0,1)||n(e%10,5,9)||n(e%100,12,14)?"many":1==e?"one":"other"},14:function(e){return n(e%100,3,4)?"few":e%100==2?"two":e%100==1?"one":"other"},15:function(e){return 0===e||n(e%100,2,10)?"few":n(e%100,11,19)?"many":1==e?"one":"other"},16:function(e){return e%10==1&&11!=e?"one":"other"},17:function(e){return 3==e?"few":0===e?"zero":6==e?"many":2==e?"two":1==e?"one":"other"},18:function(e){return 0===e?"zero":n(e,0,2)&&0!==e&&2!=e?"one":"other"},19:function(e){return n(e,2,10)?"few":n(e,0,1)?"one":"other"},20:function(e){return!n(e%10,3,4)&&e%10!=9||n(e%100,10,19)||n(e%100,70,79)||n(e%100,90,99)?e%1e6==0&&0!==e?"many":e%10!=2||t(e%100,[12,72,92])?e%10!=1||t(e%100,[11,71,91])?"other":"one":"two":"few"},21:function(e){return 0===e?"zero":1==e?"one":"other"},22:function(e){return n(e,0,1)||n(e,11,99)?"one":"other"},23:function(e){return n(e%10,1,2)||e%20==0?"one":"other"},24:function(e){return n(e,3,10)||n(e,13,19)?"few":t(e,[2,12])?"two":t(e,[1,11])?"one":"other"}},i={af:3,ak:4,am:4,ar:1,asa:3,az:0,be:11,bem:3,bez:3,bg:3,bh:4,bm:0,bn:3,bo:0,br:20,brx:3,bs:11,ca:3,cgg:3,chr:3,cs:12,cy:17,da:3,de:3,dv:3,dz:0,ee:3,el:3,en:3,eo:3,es:3,et:3,eu:3,fa:0,ff:5,fi:3,fil:4,fo:3,fr:5,fur:3,fy:3,ga:8,gd:24,gl:3,gsw:3,gu:3,guw:4,gv:23,ha:3,haw:3,he:2,hi:4,hr:11,hu:0,id:0,ig:0,ii:0,is:3,it:3,iu:7,ja:0,jmc:3,jv:0,ka:0,kab:5,kaj:3,kcg:3,kde:0,kea:0,kk:3,kl:3,km:0,kn:0,ko:0,ksb:3,ksh:21,ku:3,kw:7,lag:18,lb:3,lg:3,ln:4,lo:0,lt:10,lv:6,mas:3,mg:4,mk:16,ml:3,mn:3,mo:9,mr:3,ms:0,mt:15,my:0,nah:3,naq:7,nb:3,nd:3,ne:3,nl:3,nn:3,no:3,nr:3,nso:4,ny:3,nyn:3,om:3,or:3,pa:3,pap:3,pl:13,ps:3,pt:3,rm:3,ro:9,rof:3,ru:11,rwk:3,sah:0,saq:3,se:7,seh:3,ses:0,sg:0,sh:11,shi:19,sk:12,sl:14,sma:7,smi:7,smj:7,smn:7,sms:7,sn:3,so:3,sq:3,sr:11,ss:3,ssy:3,st:3,sv:3,sw:3,syr:3,ta:3,te:3,teo:3,th:0,ti:4,tig:3,tk:3,tl:4,tn:3,to:0,tr:0,ts:3,tzm:22,uk:11,ur:3,ve:3,vi:0,vun:3,wa:4,wae:3,wo:0,xh:3,xog:3,yo:0,zh:0,zu:3}[e.replace(/-.*$/,"")];return i in r?r[i]:(console.warn("plural form unknown for ["+e+"]"),function(){return"other"})}(a));var c="["+s._pluralRules(l)+"]";return 0===l&&n+"[zero]"in r?e=r[n+"[zero]"][i]:1==l&&n+"[one]"in r?e=r[n+"[one]"][i]:2==l&&n+"[two]"in r?e=r[n+"[two]"][i]:n+c in r?e=r[n+c][i]:n+"[other]"in r&&(e=r[n+"[other]"][i]),e},{get:function(e,t,n){var r,i=e.lastIndexOf("."),a=o;i>0&&(a=e.substring(i+1),e=e.substring(0,i)),n&&((r={})[a]=n);var s=f(e,t,r);return s&&a in s?s[a]:"{{"+e+"}}"},getData:function(){return r},getText:function(){return i},getLanguage:function(){return a},setLanguage:function(e,t){d(e,function(){t&&t()})},getDirection:function(){var e=a.split("-",1)[0];return["ar","he","fa","ps","ur"].indexOf(e)>=0?"rtl":"ltr"},translate:function(e){for(var n=function(e){return e?e.querySelectorAll("*[data-l10n-id]"):[]}(e=e||t.documentElement),r=n.length,i=0;i<r;i++)g(n[i]);g(e)},getReadyState:function(){return l},ready:function(n){n&&("complete"==l||"interactive"==l?e.setTimeout(function(){n()}):t.addEventListener&&t.addEventListener("localized",function e(){t.removeEventListener("localized",e),n()}))}}}(window,document)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFindController=t.FindState=void 0;var r=n(2),i=n(14),o=n(3);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};t.FindState=s;var l={"‘":"'","’":"'","‚":"'","‛":"'","“":'"',"”":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"},c=null;function u(e){if(!c){var t=Object.keys(l).join("");c=new RegExp("[".concat(t,"]"),"g")}return e.replace(c,function(e){return l[e]})}var h=function(){function e(t){var n=t.linkService,r=t.eventBus;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._linkService=n,this._eventBus=r,this._reset(),r._on("findbarclose",this._onFindBarClose.bind(this))}var t,n,l;return t=e,(n=[{key:"setDocument",value:function(e){this._pdfDocument&&this._reset(),e&&(this._pdfDocument=e,this._firstPageCapability.resolve())}},{key:"executeCommand",value:function(e,t){var n=this;if(t){var r=this._pdfDocument;(null===this._state||this._shouldDirtyMatch(e,t))&&(this._dirtyMatch=!0),this._state=t,"findhighlightallchange"!==e&&this._updateUIState(s.PENDING),this._firstPageCapability.promise.then(function(){if(n._pdfDocument&&(!r||n._pdfDocument===r)){n._extractText();var t=!n._highlightMatches,i=!!n._findTimeout;n._findTimeout&&(clearTimeout(n._findTimeout),n._findTimeout=null),"find"===e?n._findTimeout=setTimeout(function(){n._nextMatch(),n._findTimeout=null},250):n._dirtyMatch?n._nextMatch():"findagain"===e?(n._nextMatch(),t&&n._state.highlightAll&&n._updateAllPages()):"findhighlightallchange"===e?(i?n._nextMatch():n._highlightMatches=!0,n._updateAllPages()):n._nextMatch()}})}}},{key:"scrollMatchIntoView",value:function(e){var t=e.element,n=void 0===t?null:t,r=e.pageIndex,i=void 0===r?-1:r,a=e.matchIndex,s=void 0===a?-1:a;if(this._scrollMatches&&n&&-1!==s&&s===this._selected.matchIdx&&-1!==i&&i===this._selected.pageIdx){this._scrollMatches=!1;var l={top:-50,left:-400};(0,o.scrollIntoView)(n,l,!0)}}},{key:"_reset",value:function(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=Object.create(null),this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,r.createPromiseCapability)()}},{key:"_shouldDirtyMatch",value:function(e,t){if(t.query!==this._state.query)return!0;switch(e){case"findagain":var n=this._selected.pageIdx+1,r=this._linkService;return n>=1&&n<=r.pagesCount&&n!==r.page&&!r.isPageVisible(n);case"findhighlightallchange":return!1}return!0}},{key:"_prepareMatches",value:function(e,t,n){function r(t){var n=e[t],r=e[t+1];if(t<e.length-1&&n.match===r.match)return n.skipped=!0,!0;for(var i=t-1;i>=0;i--){var o=e[i];if(!o.skipped){if(o.match+o.matchLength<n.match)break;if(o.match+o.matchLength>=n.match+n.matchLength)return n.skipped=!0,!0}}return!1}e.sort(function(e,t){return e.match===t.match?e.matchLength-t.matchLength:e.match-t.match});for(var i=0,o=e.length;i<o;i++)r(i)||(t.push(e[i].match),n.push(e[i].matchLength))}},{key:"_isEntireWord",value:function(e,t,n){if(t>0){var r=e.charCodeAt(t),o=e.charCodeAt(t-1);if((0,i.getCharacterType)(r)===(0,i.getCharacterType)(o))return!1}var a=t+n-1;if(a<e.length-1){var s=e.charCodeAt(a),l=e.charCodeAt(a+1);if((0,i.getCharacterType)(s)===(0,i.getCharacterType)(l))return!1}return!0}},{key:"_calculatePhraseMatch",value:function(e,t,n,r){for(var i=[],o=e.length,a=-o;-1!==(a=n.indexOf(e,a+o));)r&&!this._isEntireWord(n,a,o)||i.push(a);this._pageMatches[t]=i}},{key:"_calculateWordMatch",value:function(e,t,n,r){for(var i=[],o=e.match(/\S+/g),a=0,s=o.length;a<s;a++)for(var l=o[a],c=l.length,u=-c;-1!==(u=n.indexOf(l,u+c));)r&&!this._isEntireWord(n,u,c)||i.push({match:u,matchLength:c,skipped:!1});this._pageMatchesLength[t]=[],this._pageMatches[t]=[],this._prepareMatches(i,this._pageMatches[t],this._pageMatchesLength[t])}},{key:"_calculateMatch",value:function(e){var t=this._pageContents[e],n=this._query,r=this._state,i=r.caseSensitive,o=r.entireWord,a=r.phraseSearch;if(0!==n.length){i||(t=t.toLowerCase(),n=n.toLowerCase()),a?this._calculatePhraseMatch(n,e,t,o):this._calculateWordMatch(n,e,t,o),this._state.highlightAll&&this._updatePage(e),this._resumePageIdx===e&&(this._resumePageIdx=null,this._nextPageMatch());var s=this._pageMatches[e].length;s>0&&(this._matchesCountTotal+=s,this._updateUIResultsCount())}}},{key:"_extractText",value:function(){var e=this;if(!(this._extractTextPromises.length>0))for(var t=Promise.resolve(),n=function(n,i){var o=(0,r.createPromiseCapability)();e._extractTextPromises[n]=o.promise,t=t.then(function(){return e._pdfDocument.getPage(n+1).then(function(e){return e.getTextContent({normalizeWhitespace:!0})}).then(function(t){for(var r=t.items,i=[],a=0,s=r.length;a<s;a++)i.push(r[a].str);e._pageContents[n]=u(i.join("")),o.resolve(n)},function(t){console.error("Unable to get text content for page ".concat(n+1),t),e._pageContents[n]="",o.resolve(n)})})},i=0,o=this._linkService.pagesCount;i<o;i++)n(i)}},{key:"_updatePage",value:function(e){this._scrollMatches&&this._selected.pageIdx===e&&(this._linkService.page=e+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:e})}},{key:"_updateAllPages",value:function(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}},{key:"_nextMatch",value:function(){var e=this,t=this._state.findPrevious,n=this._linkService.page-1,r=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=n,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this._updateAllPages();for(var i=0;i<r;i++)!0!==this._pendingFindMatches[i]&&(this._pendingFindMatches[i]=!0,this._extractTextPromises[i].then(function(t){delete e._pendingFindMatches[t],e._calculateMatch(t)}))}if(""!==this._query){if(!this._resumePageIdx){var o=this._offset;if(this._pagesToSearch=r,null!==o.matchIdx){var a=this._pageMatches[o.pageIdx].length;if(!t&&o.matchIdx+1<a||t&&o.matchIdx>0)return o.matchIdx=t?o.matchIdx-1:o.matchIdx+1,void this._updateMatch(!0);this._advanceOffsetPage(t)}this._nextPageMatch()}}else this._updateUIState(s.FOUND)}},{key:"_matchesReady",value:function(e){var t=this._offset,n=e.length,r=this._state.findPrevious;return n?(t.matchIdx=r?n-1:0,this._updateMatch(!0),!0):(this._advanceOffsetPage(r),!!(t.wrapped&&(t.matchIdx=null,this._pagesToSearch<0))&&(this._updateMatch(!1),!0))}},{key:"_nextPageMatch",value:function(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");var e=null;do{var t=this._offset.pageIdx;if(!(e=this._pageMatches[t])){this._resumePageIdx=t;break}}while(!this._matchesReady(e))}},{key:"_advanceOffsetPage",value:function(e){var t=this._offset,n=this._linkService.pagesCount;t.pageIdx=e?t.pageIdx-1:t.pageIdx+1,t.matchIdx=null,this._pagesToSearch--,(t.pageIdx>=n||t.pageIdx<0)&&(t.pageIdx=e?n-1:0,t.wrapped=!0)}},{key:"_updateMatch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=s.NOT_FOUND,n=this._offset.wrapped;if(this._offset.wrapped=!1,e){var r=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,t=n?s.WRAPPED:s.FOUND,-1!==r&&r!==this._selected.pageIdx&&this._updatePage(r)}this._updateUIState(t,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this._updatePage(this._selected.pageIdx))}},{key:"_onFindBarClose",value:function(e){var t=this,n=this._pdfDocument;this._firstPageCapability.promise.then(function(){!t._pdfDocument||n&&t._pdfDocument!==n||(t._findTimeout&&(clearTimeout(t._findTimeout),t._findTimeout=null),t._resumePageIdx&&(t._resumePageIdx=null,t._dirtyMatch=!0),t._updateUIState(s.FOUND),t._highlightMatches=!1,t._updateAllPages())})}},{key:"_requestMatchesCount",value:function(){var e=this._selected,t=e.pageIdx,n=e.matchIdx,r=0,i=this._matchesCountTotal;if(-1!==n){for(var o=0;o<t;o++)r+=this._pageMatches[o]&&this._pageMatches[o].length||0;r+=n+1}return(r<1||r>i)&&(r=i=0),{current:r,total:i}}},{key:"_updateUIResultsCount",value:function(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this._requestMatchesCount()})}},{key:"_updateUIState",value:function(e,t){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:e,previous:t,matchesCount:this._requestMatchesCount()})}},{key:"highlightMatches",get:function(){return this._highlightMatches}},{key:"pageMatches",get:function(){return this._pageMatches}},{key:"pageMatchesLength",get:function(){return this._pageMatchesLength}},{key:"selected",get:function(){return this._selected}},{key:"state",get:function(){return this._state}},{key:"_query",get:function(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,this._normalizedQuery=u(this._state.query)),this._normalizedQuery}}])&&a(t.prototype,n),l&&a(t,l),e}();t.PDFFindController=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCharacterType=function(e){if(function(e){return e<11904}(e))return function(e){return 0==(65408&e)}(e)?function(e){return 32===e||9===e||13===e||10===e}(e)?r.SPACE:function(e){return e>=97&&e<=122||e>=65&&e<=90}(e)||function(e){return e>=48&&e<=57}(e)||95===e?r.ALPHA_LETTER:r.PUNCT:function(e){return 3584==(65408&e)}(e)?r.THAI_LETTER:160===e?r.SPACE:r.ALPHA_LETTER;if(function(e){return e>=13312&&e<=40959||e>=63744&&e<=64255}(e))return r.HAN_LETTER;if(function(e){return e>=12448&&e<=12543}(e))return r.KATAKANA_LETTER;if(function(e){return e>=12352&&e<=12447}(e))return r.HIRAGANA_LETTER;if(function(e){return e>=65376&&e<=65439}(e))return r.HALFWIDTH_KATAKANA_LETTER;return r.ALPHA_LETTER},t.CharacterType=void 0;var r={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};t.CharacterType=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDestHashesEqual=u,t.isDestArraysEqual=h,t.PDFHistory=void 0;var r=n(3);function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(){return document.location.hash}var c=function(){function e(t){var n=this,r=t.linkService,i=t.eventBus;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.linkService=r,this.eventBus=i,this._initialized=!1,this._fingerprint="",this.reset(),this._boundEvents=null,this._isViewerInPresentationMode=!1,this.eventBus._on("presentationmodechanged",function(e){n._isViewerInPresentationMode=e.active||e.switchInProgress}),this.eventBus._on("pagesinit",function(){n._isPagesLoaded=!1;n.eventBus._on("pagesloaded",function e(t){n.eventBus._off("pagesloaded",e),n._isPagesLoaded=!!t.pagesCount})})}var t,n,a;return t=e,(n=[{key:"initialize",value:function(e){var t=e.fingerprint,n=e.resetHistory,r=void 0!==n&&n,i=e.updateUrl,o=void 0!==i&&i;if(t&&"string"==typeof t){this._initialized&&this.reset();var a=""!==this._fingerprint&&this._fingerprint!==t;this._fingerprint=t,this._updateUrl=!0===o,this._initialized=!0,this._bindEvents();var s=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=l(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(s,!0)||r){var c=this._parseCurrentHash(!0),u=c.hash,h=c.page,d=c.rotation;return!u||a||r?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:u,page:h,rotation:d},!0)}var f=s.destination;this._updateInternalState(f,s.uid,!0),this._uid>this._maxUid&&(this._maxUid=this._uid),void 0!==f.rotation&&(this._initialRotation=f.rotation),f.dest?(this._initialBookmark=JSON.stringify(f.dest),this._destination.page=null):f.hash?this._initialBookmark=f.hash:f.page&&(this._initialBookmark="page=".concat(f.page))}else console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.')}},{key:"reset",value:function(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}},{key:"push",value:function(e){var t=this,n=e.namedDest,r=void 0===n?null:n,i=e.explicitDest,o=e.pageNumber;if(this._initialized)if(r&&"string"!=typeof r)console.error("PDFHistory.push: "+'"'.concat(r,'" is not a valid namedDest parameter.'));else if(Array.isArray(i))if(Number.isInteger(o)&&o>0&&o<=this.linkService.pagesCount||null===o&&!this._destination){var a=r||JSON.stringify(i);if(a){var s=!1;if(this._destination&&(u(this._destination.hash,a)||h(this._destination.dest,i))){if(this._destination.page)return;s=!0}this._popStateInProgress&&!s||(this._pushOrReplaceState({dest:i,hash:a,page:o,rotation:this.linkService.rotation},s),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(function(){t._popStateInProgress=!1})))}}else console.error("PDFHistory.push: "+'"'.concat(o,'" is not a valid pageNumber parameter.'));else console.error("PDFHistory.push: "+'"'.concat(i,'" is not a valid explicitDest parameter.'))}},{key:"pushCurrentPosition",value:function(){this._initialized&&!this._popStateInProgress&&this._tryPushCurrentPosition()}},{key:"back",value:function(){if(this._initialized&&!this._popStateInProgress){var e=window.history.state;this._isValidState(e)&&e.uid>0&&window.history.back()}}},{key:"forward",value:function(){if(this._initialized&&!this._popStateInProgress){var e=window.history.state;this._isValidState(e)&&e.uid<this._maxUid&&window.history.forward()}}},{key:"_pushOrReplaceState",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1]||!this._destination,r={fingerprint:this._fingerprint,uid:n?this._uid:this._uid+1,destination:e};if(this._updateInternalState(e,r.uid),this._updateUrl&&e&&e.hash){var i=document.location.href.split("#")[0];i.startsWith("file://")||(t="".concat(i,"#").concat(e.hash))}n?window.history.replaceState(r,"",t):(this._maxUid=this._uid,window.history.pushState(r,"",t))}},{key:"_tryPushCurrentPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._position){var t=this._position;if(e&&((t=Object.assign(Object.create(null),this._position)).temporary=!0),this._destination){if(this._destination.temporary)this._pushOrReplaceState(t,!0);else if(this._destination.hash!==t.hash&&(this._destination.page||!(this._numPositionUpdates<=50))){var n=!1;if(this._destination.page>=t.first&&this._destination.page<=t.page){if(this._destination.dest||!this._destination.first)return;n=!0}this._pushOrReplaceState(t,n)}}else this._pushOrReplaceState(t)}}},{key:"_isValidState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return!1;if(e.fingerprint!==this._fingerprint){if(!t)return!1;if("string"!=typeof e.fingerprint||e.fingerprint.length!==this._fingerprint.length)return!1;var n=o(performance.getEntriesByType("navigation"),1)[0];if(!n||"reload"!==n.type)return!1}return!(!Number.isInteger(e.uid)||e.uid<0)&&(null!==e.destination&&"object"===i(e.destination))}},{key:"_updateInternalState",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),n&&e&&e.temporary&&delete e.temporary,this._destination=e,this._uid=t,this._numPositionUpdates=0}},{key:"_parseCurrentHash",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=unescape(l()).substring(1),n=(0,r.parseQueryString)(t),i=n.nameddest||"",o=0|n.page;return Number.isInteger(o)&&o>0&&o<=this.linkService.pagesCount&&!(e&&i.length>0)||(o=null),{hash:t,page:o,rotation:this.linkService.rotation}}},{key:"_updateViewarea",value:function(e){var t=this,n=e.location;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:this._isViewerInPresentationMode?"page=".concat(n.pageNumber):n.pdfOpenParams.substring(1),page:this.linkService.page,first:n.pageNumber,rotation:n.rotation},this._popStateInProgress||(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(function(){t._popStateInProgress||t._tryPushCurrentPosition(!0),t._updateViewareaTimeout=null},1e3))}},{key:"_popState",value:function(e){var t=this,n=e.state,i=l(),o=this._currentHash!==i;if(this._currentHash=i,n){if(this._isValidState(n)){this._popStateInProgress=!0,o&&(this._blockHashChange++,(0,r.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:1e3}).then(function(){t._blockHashChange--}));var a=n.destination;this._updateInternalState(a,n.uid,!0),this._uid>this._maxUid&&(this._maxUid=this._uid),(0,r.isValidRotation)(a.rotation)&&(this.linkService.rotation=a.rotation),a.dest?this.linkService.navigateTo(a.dest):a.hash?this.linkService.setHash(a.hash):a.page&&(this.linkService.page=a.page),Promise.resolve().then(function(){t._popStateInProgress=!1})}}else{this._uid++;var s=this._parseCurrentHash(),c=s.hash,u=s.page,h=s.rotation;this._pushOrReplaceState({hash:c,page:u,rotation:h},!0)}}},{key:"_pageHide",value:function(){this._destination&&!this._destination.temporary||this._tryPushCurrentPosition()}},{key:"_bindEvents",value:function(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}},{key:"_unbindEvents",value:function(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}},{key:"popStateInProgress",get:function(){return this._initialized&&(this._popStateInProgress||this._blockHashChange>0)}},{key:"initialBookmark",get:function(){return this._initialized?this._initialBookmark:null}},{key:"initialRotation",get:function(){return this._initialized?this._initialRotation:null}}])&&s(t.prototype,n),a&&s(t,a),e}();function u(e,t){return"string"==typeof e&&"string"==typeof t&&(e===t||(0,r.parseQueryString)(e).nameddest===t)}function h(e,t){function n(e,t){if(i(e)!==i(t))return!1;if(Array.isArray(e)||Array.isArray(t))return!1;if(null!==e&&"object"===i(e)&&null!==t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(!n(e[r],t[r]))return!1;return!0}return e===t||Number.isNaN(e)&&Number.isNaN(t)}if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r++)if(!n(e[r],t[r]))return!1;return!0}t.PDFHistory=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFPageView=void 0;var r,i=(r=n(4))&&r.__esModule?r:{default:r},o=n(3),a=n(2),s=n(17);function l(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=n(10).viewerCompatibilityParams.maxCanvasPixels||16777216,h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=t.container,r=t.defaultViewport;this.id=t.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=t.scale||o.DEFAULT_SCALE,this.viewport=r,this.pdfPageRotate=r.rotation,this.hasRestrictedScaling=!1,this.textLayerMode=Number.isInteger(t.textLayerMode)?t.textLayerMode:o.TextLayerMode.ENABLE,this.imageResourcesPath=t.imageResourcesPath||"",this.renderInteractiveForms=t.renderInteractiveForms||!1,this.useOnlyCssZoom=t.useOnlyCssZoom||!1,this.maxCanvasPixels=t.maxCanvasPixels||u,this.eventBus=t.eventBus,this.renderingQueue=t.renderingQueue,this.textLayerFactory=t.textLayerFactory,this.annotationLayerFactory=t.annotationLayerFactory,this.renderer=t.renderer||o.RendererType.CANVAS,this.enableWebGL=t.enableWebGL||!1,this.l10n=t.l10n||o.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=s.RenderingStates.INITIAL,this.resume=null,this.error=null,this.annotationLayer=null,this.textLayer=null,this.zoomLayer=null;var i=document.createElement("div");i.className="page",i.style.width=Math.floor(this.viewport.width)+"px",i.style.height=Math.floor(this.viewport.height)+"px",i.setAttribute("data-page-number",this.id),this.div=i,n.appendChild(i)}var t,n,r;return t=e,(n=[{key:"setPdfPage",value:function(e){this.pdfPage=e,this.pdfPageRotate=e.rotate;var t=(this.rotation+this.pdfPageRotate)%360;this.viewport=e.getViewport({scale:this.scale*o.CSS_UNITS,rotation:t}),this.stats=e.stats,this.reset()}},{key:"destroy",value:function(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}},{key:"_resetZoomLayer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.zoomLayer){var t=this.zoomLayer.firstChild;this.paintedViewportMap.delete(t),t.width=0,t.height=0,e&&this.zoomLayer.remove(),this.zoomLayer=null}}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.cancelRendering(t),this.renderingState=s.RenderingStates.INITIAL;var n=this.div;n.style.width=Math.floor(this.viewport.width)+"px",n.style.height=Math.floor(this.viewport.height)+"px";for(var r=n.childNodes,i=e&&this.zoomLayer||null,o=t&&this.annotationLayer&&this.annotationLayer.div||null,a=r.length-1;a>=0;a--){var l=r[a];i!==l&&o!==l&&n.removeChild(l)}n.removeAttribute("data-loaded"),o?this.annotationLayer.hide():this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null),i||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon",n.appendChild(this.loadingIconDiv)}},{key:"update",value:function(e,t){this.scale=e||this.scale,void 0!==t&&(this.rotation=t);var n=(this.rotation+this.pdfPageRotate)%360;if(this.viewport=this.viewport.clone({scale:this.scale*o.CSS_UNITS,rotation:n}),this.svg)return this.cssTransform(this.svg,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now()});var r=!1;if(this.canvas&&this.maxCanvasPixels>0){var i=this.outputScale;(Math.floor(this.viewport.width)*i.sx|0)*(Math.floor(this.viewport.height)*i.sy|0)>this.maxCanvasPixels&&(r=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&r)return this.cssTransform(this.canvas,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now()});this.zoomLayer||this.canvas.hasAttribute("hidden")||(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform(this.zoomLayer.firstChild),this.reset(!0,!0)}},{key:"cancelRendering",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),!e&&this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null)}},{key:"cssTransform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.viewport.width,r=this.viewport.height,i=this.div;e.style.width=e.parentNode.style.width=i.style.width=Math.floor(n)+"px",e.style.height=e.parentNode.style.height=i.style.height=Math.floor(r)+"px";var o=this.viewport.rotation-this.paintedViewportMap.get(e).rotation,a=Math.abs(o),s=1,l=1;90!==a&&270!==a||(s=r/n,l=n/r);var c="rotate("+o+"deg) scale("+s+","+l+")";if(e.style.transform=c,this.textLayer){var u=this.textLayer.viewport,h=this.viewport.rotation-u.rotation,d=Math.abs(h),f=n/u.width;90!==d&&270!==d||(f=n/u.height);var p,A,g=this.textLayer.textLayerDiv;switch(d){case 0:p=A=0;break;case 90:p=0,A="-"+g.style.height;break;case 180:p="-"+g.style.width,A="-"+g.style.height;break;case 270:p="-"+g.style.width,A=0;break;default:console.error("Bad rotation value.")}g.style.transform="rotate("+d+"deg) scale("+f+", "+f+") translate("+p+", "+A+")",g.style.transformOrigin="0% 0%"}t&&this.annotationLayer&&this.annotationLayer.render(this.viewport,"display")}},{key:"getPagePoint",value:function(e,t){return this.viewport.convertToPdfPoint(e,t)}},{key:"draw",value:function(){var e=this;this.renderingState!==s.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());var t=this.div,n=this.pdfPage;if(!n)return this.renderingState=s.RenderingStates.FINISHED,this.loadingIconDiv&&(t.removeChild(this.loadingIconDiv),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=s.RenderingStates.RUNNING;var r=document.createElement("div");r.style.width=t.style.width,r.style.height=t.style.height,r.classList.add("canvasWrapper"),this.annotationLayer&&this.annotationLayer.div?t.insertBefore(r,this.annotationLayer.div):t.appendChild(r);var c=null;if(this.textLayerMode!==o.TextLayerMode.DISABLE&&this.textLayerFactory){var u=document.createElement("div");u.className="textLayer",u.style.width=r.style.width,u.style.height=r.style.height,this.annotationLayer&&this.annotationLayer.div?t.insertBefore(u,this.annotationLayer.div):t.appendChild(u),c=this.textLayerFactory.createTextLayerBuilder(u,this.id-1,this.viewport,this.textLayerMode===o.TextLayerMode.ENABLE_ENHANCE,this.eventBus)}this.textLayer=c;var h=null;this.renderingQueue&&(h=function(t){if(!e.renderingQueue.isHighestPriority(e))return e.renderingState=s.RenderingStates.PAUSED,void(e.resume=function(){e.renderingState=s.RenderingStates.RUNNING,t()});t()});var d=function(){var r,o=(r=i.default.mark(function r(o){return i.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(f===e.paintTask&&(e.paintTask=null),!(o instanceof a.RenderingCancelledException)){r.next=4;break}return e.error=null,r.abrupt("return");case 4:if(e.renderingState=s.RenderingStates.FINISHED,e.loadingIconDiv&&(t.removeChild(e.loadingIconDiv),delete e.loadingIconDiv),e._resetZoomLayer(!0),e.error=o,e.stats=n.stats,e.eventBus.dispatch("pagerendered",{source:e,pageNumber:e.id,cssTransform:!1,timestamp:performance.now()}),!o){r.next=12;break}throw o;case 12:case"end":return r.stop()}},r)}),function(){var e=this,t=arguments;return new Promise(function(n,i){var o=r.apply(e,t);function a(e){l(o,n,i,a,s,"next",e)}function s(e){l(o,n,i,a,s,"throw",e)}a(void 0)})});return function(e){return o.apply(this,arguments)}}(),f=this.renderer===o.RendererType.SVG?this.paintOnSvg(r):this.paintOnCanvas(r);f.onRenderContinue=h,this.paintTask=f;var p=f.promise.then(function(){return d(null).then(function(){if(c){var e=n.streamTextContent({normalizeWhitespace:!0});c.setTextContentStream(e),c.render()}})},function(e){return d(e)});return this.annotationLayerFactory&&(this.annotationLayer||(this.annotationLayer=this.annotationLayerFactory.createAnnotationLayerBuilder(t,n,this.imageResourcesPath,this.renderInteractiveForms,this.l10n)),this.annotationLayer.render(this.viewport,"display")),t.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),p}},{key:"paintOnCanvas",value:function(e){var t=(0,a.createPromiseCapability)(),n={promise:t.promise,onRenderContinue:function(e){e()},cancel:function(){v.cancel()}},r=this.viewport,i=document.createElement("canvas");this.l10n.get("page_canvas",{page:this.id},"Page {{page}}").then(function(e){i.setAttribute("aria-label",e)}),i.setAttribute("hidden","hidden");var s=!0,l=function(){s&&(i.removeAttribute("hidden"),s=!1)};e.appendChild(i),this.canvas=i,i.mozOpaque=!0;var c=i.getContext("2d",{alpha:!1}),u=(0,o.getOutputScale)(c);if(this.outputScale=u,this.useOnlyCssZoom){var h=r.clone({scale:o.CSS_UNITS});u.sx*=h.width/r.width,u.sy*=h.height/r.height,u.scaled=!0}if(this.maxCanvasPixels>0){var d=r.width*r.height,f=Math.sqrt(this.maxCanvasPixels/d);u.sx>f||u.sy>f?(u.sx=f,u.sy=f,u.scaled=!0,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}var p=(0,o.approximateFraction)(u.sx),A=(0,o.approximateFraction)(u.sy);i.width=(0,o.roundToDivide)(r.width*u.sx,p[0]),i.height=(0,o.roundToDivide)(r.height*u.sy,A[0]),i.style.width=(0,o.roundToDivide)(r.width,p[1])+"px",i.style.height=(0,o.roundToDivide)(r.height,A[1])+"px",this.paintedViewportMap.set(i,r);var g={canvasContext:c,transform:u.scaled?[u.sx,0,0,u.sy,0,0]:null,viewport:this.viewport,enableWebGL:this.enableWebGL,renderInteractiveForms:this.renderInteractiveForms},v=this.pdfPage.render(g);return v.onContinue=function(e){l(),n.onRenderContinue?n.onRenderContinue(e):e()},v.promise.then(function(){l(),t.resolve(void 0)},function(e){l(),t.reject(e)}),n}},{key:"paintOnSvg",value:function(e){var t=this,n=!1,r=function(){if(n)throw new a.RenderingCancelledException("Rendering cancelled, page ".concat(t.id),"svg")},i=this.pdfPage,l=this.viewport.clone({scale:o.CSS_UNITS});return{promise:i.getOperatorList().then(function(n){return r(),new a.SVGGraphics(i.commonObjs,i.objs).getSVG(n,l).then(function(n){r(),t.svg=n,t.paintedViewportMap.set(n,l),n.style.width=e.style.width,n.style.height=e.style.height,t.renderingState=s.RenderingStates.FINISHED,e.appendChild(n)})}),onRenderContinue:function(e){e()},cancel:function(){n=!0}}}},{key:"setPageLabel",value:function(e){this.pageLabel="string"==typeof e?e:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}},{key:"width",get:function(){return this.viewport.width}},{key:"height",get:function(){return this.viewport.height}}])&&c(t.prototype,n),r&&c(t,r),e}();t.PDFPageView=h},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.PDFRenderingQueue=t.RenderingStates=void 0;var i={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3};t.RenderingStates=i;var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}var t,n,o;return t=e,(n=[{key:"setViewer",value:function(e){this.pdfViewer=e}},{key:"setThumbnailViewer",value:function(e){this.pdfThumbnailViewer=e}},{key:"isHighestPriority",value:function(e){return this.highestPriorityPage===e.renderingId}},{key:"renderHighestPriority",value:function(e){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),this.pdfViewer.forceRendering(e)||this.pdfThumbnailViewer&&this.isThumbnailViewEnabled&&this.pdfThumbnailViewer.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4))}},{key:"getHighestPriority",value:function(e,t,n){var r=e.views,i=r.length;if(0===i)return null;for(var o=0;o<i;++o){var a=r[o].view;if(!this.isViewFinished(a))return a}if(n){var s=e.last.id;if(t[s]&&!this.isViewFinished(t[s]))return t[s]}else{var l=e.first.id-2;if(t[l]&&!this.isViewFinished(t[l]))return t[l]}return null}},{key:"isViewFinished",value:function(e){return e.renderingState===i.FINISHED}},{key:"renderView",value:function(e){var t=this;switch(e.renderingState){case i.FINISHED:return!1;case i.PAUSED:this.highestPriorityPage=e.renderingId,e.resume();break;case i.RUNNING:this.highestPriorityPage=e.renderingId;break;case i.INITIAL:this.highestPriorityPage=e.renderingId,e.draw().finally(function(){t.renderHighestPriority()}).catch(function(e){console.error('renderView: "'.concat(e,'"'))})}return!0}}])&&r(t.prototype,n),o&&r(t,o),e}();t.PDFRenderingQueue=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFSinglePageViewer=void 0;var r=n(19),i=n(2);function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(d,r.BaseViewer);var t,n,o,h=c(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=h.call(this,e)).eventBus._on("pagesinit",function(e){t._ensurePageViewVisible()}),t}return t=d,(n=[{key:"_resetView",value:function(){s(u(d.prototype),"_resetView",this).call(this),this._previousPageNumber=1,this._shadowViewer=document.createDocumentFragment(),this._updateScrollDown=null}},{key:"_ensurePageViewVisible",value:function(){var e=this._pages[this._currentPageNumber-1],t=this._pages[this._previousPageNumber-1],n=this.viewer.childNodes;switch(n.length){case 0:this.viewer.appendChild(e.div);break;case 1:if(n[0]!==t.div)throw new Error("_ensurePageViewVisible: Unexpected previously visible page.");if(e===t)break;this._shadowViewer.appendChild(t.div),this.viewer.appendChild(e.div),this.container.scrollTop=0;break;default:throw new Error("_ensurePageViewVisible: Only one page should be visible at a time.")}this._previousPageNumber=this._currentPageNumber}},{key:"_scrollUpdate",value:function(){this._updateScrollDown&&this._updateScrollDown(),s(u(d.prototype),"_scrollUpdate",this).call(this)}},{key:"_scrollIntoView",value:function(e){var t=this,n=e.pageDiv,r=e.pageSpot,i=void 0===r?null:r,o=e.pageNumber,a=void 0===o?null:o;a&&this._setCurrentPageNumber(a);var l=this._currentPageNumber>=this._previousPageNumber;this._ensurePageViewVisible(),this.update(),s(u(d.prototype),"_scrollIntoView",this).call(this,{pageDiv:n,pageSpot:i,pageNumber:a}),this._updateScrollDown=function(){t.scroll.down=l,t._updateScrollDown=null}}},{key:"_getVisiblePages",value:function(){return this._getCurrentVisiblePage()}},{key:"_updateHelper",value:function(e){}},{key:"_updateScrollMode",value:function(){}},{key:"_updateSpreadMode",value:function(){}},{key:"_viewerElement",get:function(){return(0,i.shadow)(this,"_viewerElement",this._shadowViewer)}},{key:"_isScrollModeHorizontal",get:function(){return(0,i.shadow)(this,"_isScrollModeHorizontal",!1)}}])&&a(t.prototype,n),o&&a(t,o),d}();t.PDFSinglePageViewer=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseViewer=void 0;var r=n(3),i=n(17),o=n(1),a=n(2),s=n(16),l=n(7),c=n(8);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var h=function(){function e(t){var n=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.constructor===e)throw new Error("Cannot initialize BaseViewer.");this._name=this.constructor.name,this.container=t.container,this.viewer=t.viewer||t.container.firstElementChild,this.eventBus=t.eventBus,this.linkService=t.linkService||new l.SimpleLinkService,this.downloadManager=t.downloadManager||null,this.findController=t.findController||null,this.removePageBorders=t.removePageBorders||!1,this.textLayerMode=Number.isInteger(t.textLayerMode)?t.textLayerMode:r.TextLayerMode.ENABLE,this.imageResourcesPath=t.imageResourcesPath||"",this.renderInteractiveForms=t.renderInteractiveForms||!1,this.enablePrintAutoRotate=t.enablePrintAutoRotate||!1,this.renderer=t.renderer||r.RendererType.CANVAS,this.enableWebGL=t.enableWebGL||!1,this.useOnlyCssZoom=t.useOnlyCssZoom||!1,this.maxCanvasPixels=t.maxCanvasPixels,this.l10n=t.l10n||r.NullL10n,this.defaultRenderingQueue=!t.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new i.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=t.renderingQueue,this.scroll=(0,r.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=r.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),Promise.resolve().then(function(){n.eventBus.dispatch("baseviewerinit",{source:n})})}var t,n,h;return t=e,(n=[{key:"getPageView",value:function(e){return this._pages[e]}},{key:"_setCurrentPageNumber",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._currentPageNumber===e?(t&&this._resetCurrentPageView(),!0):0<e&&e<=this.pagesCount&&(this._currentPageNumber=e,this.eventBus.dispatch("pagechanging",{source:this,pageNumber:e,pageLabel:this._pageLabels&&this._pageLabels[e-1]}),t&&this._resetCurrentPageView(),!0)}},{key:"_onePageRenderedOrForceFetch",value:function(){return this.container.offsetParent&&0!==this._getVisiblePages().views.length?this._onePageRenderedCapability.promise:Promise.resolve()}},{key:"setDocument",value:function(e){var t=this;if(this.pdfDocument&&(this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null)),this.pdfDocument=e,e){var n=e.numPages,i=e.getPage(1);this._pagesCapability.promise.then(function(){t.eventBus.dispatch("pagesloaded",{source:t,pagesCount:n})}),this._onBeforeDraw=function(e){var n=t._pages[e.pageNumber-1];n&&t._buffer.push(n)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=function(e){e.cssTransform||t._onePageRenderedCapability.settled||(t._onePageRenderedCapability.resolve(),t.eventBus._off("pagerendered",t._onAfterDraw),t._onAfterDraw=null)},this.eventBus._on("pagerendered",this._onAfterDraw),i.then(function(i){t._firstPageCapability.resolve(i);for(var o=t.currentScale,a=i.getViewport({scale:o*r.CSS_UNITS}),l=t.textLayerMode!==r.TextLayerMode.DISABLE?t:null,c=1;c<=n;++c){var u=new s.PDFPageView({container:t._viewerElement,eventBus:t.eventBus,id:c,scale:o,defaultViewport:a.clone(),renderingQueue:t.renderingQueue,textLayerFactory:l,textLayerMode:t.textLayerMode,annotationLayerFactory:t,imageResourcesPath:t.imageResourcesPath,renderInteractiveForms:t.renderInteractiveForms,renderer:t.renderer,enableWebGL:t.enableWebGL,useOnlyCssZoom:t.useOnlyCssZoom,maxCanvasPixels:t.maxCanvasPixels,l10n:t.l10n});t._pages.push(u)}var h=t._pages[0];h&&(h.setPdfPage(i),t.linkService.cachePageRef(1,i.ref)),t._spreadMode!==r.SpreadMode.NONE&&t._updateSpreadMode(),t._onePageRenderedOrForceFetch().then(function(){if(t.findController&&t.findController.setDocument(e),e.loadingParams.disableAutoFetch||n>7500)t._pagesCapability.resolve();else{var r=n-1;if(r<=0)t._pagesCapability.resolve();else for(var i=function(n){e.getPage(n).then(function(e){var i=t._pages[n-1];i.pdfPage||i.setPdfPage(e),t.linkService.cachePageRef(n,e.ref),0==--r&&t._pagesCapability.resolve()},function(e){console.error("Unable to get page ".concat(n," to initialize viewer"),e),0==--r&&t._pagesCapability.resolve()})},o=2;o<=n;++o)i(o)}}),t.eventBus.dispatch("pagesinit",{source:t}),t.defaultRenderingQueue&&t.update()}).catch(function(e){console.error("Unable to initialize viewer",e)})}}},{key:"setPageLabels",value:function(e){if(this.pdfDocument){e?Array.isArray(e)&&this.pdfDocument.numPages===e.length?this._pageLabels=e:(this._pageLabels=null,console.error("".concat(this._name,".setPageLabels: Invalid page labels."))):this._pageLabels=null;for(var t=0,n=this._pages.length;t<n;t++){var r=this._pages[t],i=this._pageLabels&&this._pageLabels[t];r.setPageLabel(i)}}}},{key:"_resetView",value:function(){this._pages=[],this._currentPageNumber=1,this._currentScale=r.UNKNOWN_SCALE,this._currentScaleValue=null,this._pageLabels=null,this._buffer=new function(e){var t=[];this.push=function(n){var r=t.indexOf(n);r>=0&&t.splice(r,1),t.push(n),t.length>e&&t.shift().destroy()},this.resize=function(n,i){if(e=n,i){for(var o=new Set,a=0,s=i.length;a<s;++a)o.add(i[a].id);(0,r.moveToEndOfArray)(t,function(e){return o.has(e.id)})}for(;t.length>e;)t.shift().destroy()}}(10),this._location=null,this._pagesRotation=0,this._pagesRequests=new WeakMap,this._firstPageCapability=(0,a.createPromiseCapability)(),this._onePageRenderedCapability=(0,a.createPromiseCapability)(),this._pagesCapability=(0,a.createPromiseCapability)(),this._scrollMode=r.ScrollMode.VERTICAL,this._spreadMode=r.SpreadMode.NONE,this._onBeforeDraw&&(this.eventBus._off("pagerender",this._onBeforeDraw),this._onBeforeDraw=null),this._onAfterDraw&&(this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null),this.viewer.textContent="",this._updateScrollMode()}},{key:"_scrollUpdate",value:function(){0!==this.pagesCount&&this.update()}},{key:"_scrollIntoView",value:function(e){var t=e.pageDiv,n=e.pageSpot,i=void 0===n?null:n;e.pageNumber;(0,r.scrollIntoView)(t,i)}},{key:"_setScaleUpdatePages",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this._currentScaleValue=t.toString(),function(e,t){return t===e||Math.abs(t-e)<1e-15}(this._currentScale,e))r&&this.eventBus.dispatch("scalechanging",{source:this,scale:e,presetValue:t});else{for(var i=0,o=this._pages.length;i<o;i++)this._pages[i].update(e);if(this._currentScale=e,!n){var a,s=this._currentPageNumber;!this._location||this.isInPresentationMode||this.isChangingPresentationMode||(s=this._location.pageNumber,a=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:s,destArray:a,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:e,presetValue:r?t:void 0}),this.defaultRenderingQueue&&this.update()}}},{key:"_setScale",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=parseFloat(e);if(n>0)this._setScaleUpdatePages(n,e,t,!1);else{var i=this._pages[this._currentPageNumber-1];if(!i)return;var o=this.isInPresentationMode||this.removePageBorders,a=o?0:r.SCROLLBAR_PADDING,s=o?0:r.VERTICAL_PADDING;if(!o&&this._isScrollModeHorizontal){var l=[s,a];a=l[0],s=l[1]}var c=(this.container.clientWidth-a)/i.width*i.scale,u=(this.container.clientHeight-s)/i.height*i.scale;switch(e){case"page-actual":n=1;break;case"page-width":n=c;break;case"page-height":n=u;break;case"page-fit":n=Math.min(c,u);break;case"auto":var h=(0,r.isPortraitOrientation)(i)?c:Math.min(u,c);n=Math.min(r.MAX_AUTO_SCALE,h);break;default:return void console.error("".concat(this._name,'._setScale: "').concat(e,'" is an unknown zoom value.'))}this._setScaleUpdatePages(n,e,t,!0)}}},{key:"_resetCurrentPageView",value:function(){this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0);var e=this._pages[this._currentPageNumber-1];this._scrollIntoView({pageDiv:e.div})}},{key:"scrollPageIntoView",value:function(e){var t=e.pageNumber,n=e.destArray,i=void 0===n?null:n,o=e.allowNegativeOffset,a=void 0!==o&&o,s=e.ignoreDestinationZoom,l=void 0!==s&&s;if(this.pdfDocument){var c=Number.isInteger(t)&&this._pages[t-1];if(c)if(!this.isInPresentationMode&&i){var u,h,d=0,f=0,p=0,A=0,g=c.rotation%180!=0,v=(g?c.height:c.width)/c.scale/r.CSS_UNITS,m=(g?c.width:c.height)/c.scale/r.CSS_UNITS,y=0;switch(i[1].name){case"XYZ":d=i[2],f=i[3],y=i[4],d=null!==d?d:0,f=null!==f?f:m;break;case"Fit":case"FitB":y="page-fit";break;case"FitH":case"FitBH":y="page-width",null===(f=i[2])&&this._location&&(d=this._location.left,f=this._location.top);break;case"FitV":case"FitBV":d=i[2],p=v,A=m,y="page-height";break;case"FitR":d=i[2],f=i[3],p=i[4]-d,A=i[5]-f;var b=this.removePageBorders?0:r.SCROLLBAR_PADDING,_=this.removePageBorders?0:r.VERTICAL_PADDING;u=(this.container.clientWidth-b)/p/r.CSS_UNITS,h=(this.container.clientHeight-_)/A/r.CSS_UNITS,y=Math.min(Math.abs(u),Math.abs(h));break;default:return void console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(i[1].name,'" is not a valid destination type.'))}if(l||(y&&y!==this._currentScale?this.currentScaleValue=y:this._currentScale===r.UNKNOWN_SCALE&&(this.currentScaleValue=r.DEFAULT_SCALE_VALUE)),"page-fit"!==y||i[4]){var w=[c.viewport.convertToViewportPoint(d,f),c.viewport.convertToViewportPoint(d+p,f+A)],x=Math.min(w[0][0],w[1][0]),C=Math.min(w[0][1],w[1][1]);a||(x=Math.max(x,0),C=Math.max(C,0)),this._scrollIntoView({pageDiv:c.div,pageSpot:{left:x,top:C},pageNumber:t})}else this._scrollIntoView({pageDiv:c.div,pageNumber:t})}else this._setCurrentPageNumber(t,!0);else console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(t,'" is not a valid pageNumber parameter.'))}}},{key:"_updateLocation",value:function(e){var t=this._currentScale,n=this._currentScaleValue,r=parseFloat(n)===t?Math.round(1e4*t)/100:n,i=e.id,o="#page="+i;o+="&zoom="+r;var a=this._pages[i-1],s=this.container,l=a.getPagePoint(s.scrollLeft-e.x,s.scrollTop-e.y),c=Math.round(l[0]),u=Math.round(l[1]);o+=","+c+","+u,this._location={pageNumber:i,scale:r,top:u,left:c,rotation:this._pagesRotation,pdfOpenParams:o}}},{key:"_updateHelper",value:function(e){throw new Error("Not implemented: _updateHelper")}},{key:"update",value:function(){var e=this._getVisiblePages(),t=e.views,n=t.length;if(0!==n){var r=Math.max(10,2*n+1);this._buffer.resize(r,t),this.renderingQueue.renderHighestPriority(e),this._updateHelper(t),this._updateLocation(e.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}}},{key:"containsElement",value:function(e){return this.container.contains(e)}},{key:"focus",value:function(){this.container.focus()}},{key:"_getCurrentVisiblePage",value:function(){if(!this.pagesCount)return{views:[]};var e=this._pages[this._currentPageNumber-1],t=e.div,n={id:e.id,x:t.offsetLeft+t.clientLeft,y:t.offsetTop+t.clientTop,view:e};return{first:n,last:n,views:[n]}}},{key:"_getVisiblePages",value:function(){return(0,r.getVisibleElements)(this.container,this._pages,!0,this._isScrollModeHorizontal)}},{key:"isPageVisible",value:function(e){return!!this.pdfDocument&&(e<1||e>this.pagesCount?(console.error("".concat(this._name,'.isPageVisible: "').concat(e,'" is out of bounds.')),!1):this._getVisiblePages().views.some(function(t){return t.id===e}))}},{key:"cleanup",value:function(){for(var e=0,t=this._pages.length;e<t;e++)this._pages[e]&&this._pages[e].renderingState!==i.RenderingStates.FINISHED&&this._pages[e].reset()}},{key:"_cancelRendering",value:function(){for(var e=0,t=this._pages.length;e<t;e++)this._pages[e]&&this._pages[e].cancelRendering()}},{key:"_ensurePdfPageLoaded",value:function(e){var t=this;if(e.pdfPage)return Promise.resolve(e.pdfPage);if(this._pagesRequests.has(e))return this._pagesRequests.get(e);var n=this.pdfDocument.getPage(e.id).then(function(n){return e.pdfPage||e.setPdfPage(n),t._pagesRequests.delete(e),n}).catch(function(n){console.error("Unable to get page for page view",n),t._pagesRequests.delete(e)});return this._pagesRequests.set(e,n),n}},{key:"forceRendering",value:function(e){var t=this,n=e||this._getVisiblePages(),r=this._isScrollModeHorizontal?this.scroll.right:this.scroll.down,i=this.renderingQueue.getHighestPriority(n,this._pages,r);return!!i&&(this._ensurePdfPageLoaded(i).then(function(){t.renderingQueue.renderView(i)}),!0)}},{key:"createTextLayerBuilder",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return new c.TextLayerBuilder({textLayerDiv:e,eventBus:i,pageIndex:t,viewport:n,findController:this.isInPresentationMode?null:this.findController,enhanceTextSelection:!this.isInPresentationMode&&r})}},{key:"createAnnotationLayerBuilder",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.NullL10n;return new o.AnnotationLayerBuilder({pageDiv:e,pdfPage:t,imageResourcesPath:n,renderInteractiveForms:i,linkService:this.linkService,downloadManager:this.downloadManager,l10n:a})}},{key:"getPagesOverview",value:function(){var e=this._pages.map(function(e){var t=e.pdfPage.getViewport({scale:1});return{width:t.width,height:t.height,rotation:t.rotation}});if(!this.enablePrintAutoRotate)return e;var t=(0,r.isPortraitOrientation)(e[0]);return e.map(function(e){return t===(0,r.isPortraitOrientation)(e)?e:{width:e.height,height:e.width,rotation:(e.rotation+90)%360}})}},{key:"_updateScrollMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this._scrollMode,n=this.viewer;n.classList.toggle("scrollHorizontal",t===r.ScrollMode.HORIZONTAL),n.classList.toggle("scrollWrapped",t===r.ScrollMode.WRAPPED),this.pdfDocument&&e&&(this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(e,!0),this.update())}},{key:"_updateSpreadMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.pdfDocument){var t=this.viewer,n=this._pages;if(t.textContent="",this._spreadMode===r.SpreadMode.NONE)for(var i=0,o=n.length;i<o;++i)t.appendChild(n[i].div);else for(var a=this._spreadMode-1,s=null,l=0,c=n.length;l<c;++l)null===s?((s=document.createElement("div")).className="spread",t.appendChild(s)):l%2===a&&(s=s.cloneNode(!1),t.appendChild(s)),s.appendChild(n[l].div);e&&(this._setCurrentPageNumber(e,!0),this.update())}}},{key:"pagesCount",get:function(){return this._pages.length}},{key:"pageViewsReady",get:function(){return!!this._pagesCapability.settled&&this._pages.every(function(e){return e&&e.pdfPage})}},{key:"currentPageNumber",get:function(){return this._currentPageNumber},set:function(e){if(!Number.isInteger(e))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(e,!0)||console.error("".concat(this._name,'.currentPageNumber: "').concat(e,'" is not a valid page.')))}},{key:"currentPageLabel",get:function(){return this._pageLabels&&this._pageLabels[this._currentPageNumber-1]},set:function(e){if(this.pdfDocument){var t=0|e;if(this._pageLabels){var n=this._pageLabels.indexOf(e);n>=0&&(t=n+1)}this._setCurrentPageNumber(t,!0)||console.error("".concat(this._name,'.currentPageLabel: "').concat(e,'" is not a valid page.'))}}},{key:"currentScale",get:function(){return this._currentScale!==r.UNKNOWN_SCALE?this._currentScale:r.DEFAULT_SCALE},set:function(e){if(isNaN(e))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(e,!1)}},{key:"currentScaleValue",get:function(){return this._currentScaleValue},set:function(e){this.pdfDocument&&this._setScale(e,!1)}},{key:"pagesRotation",get:function(){return this._pagesRotation},set:function(e){if(!(0,r.isValidRotation)(e))throw new Error("Invalid pages rotation angle.");if(this.pdfDocument&&this._pagesRotation!==e){this._pagesRotation=e;for(var t=this._currentPageNumber,n=0,i=this._pages.length;n<i;n++){var o=this._pages[n];o.update(o.scale,e)}this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:e,pageNumber:t}),this.defaultRenderingQueue&&this.update()}}},{key:"firstPagePromise",get:function(){return this.pdfDocument?this._firstPageCapability.promise:null}},{key:"onePageRendered",get:function(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}},{key:"pagesPromise",get:function(){return this.pdfDocument?this._pagesCapability.promise:null}},{key:"_viewerElement",get:function(){throw new Error("Not implemented: _viewerElement")}},{key:"_isScrollModeHorizontal",get:function(){return!this.isInPresentationMode&&this._scrollMode===r.ScrollMode.HORIZONTAL}},{key:"isInPresentationMode",get:function(){return this.presentationModeState===r.PresentationModeState.FULLSCREEN}},{key:"isChangingPresentationMode",get:function(){return this.presentationModeState===r.PresentationModeState.CHANGING}},{key:"isHorizontalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}},{key:"isVerticalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}},{key:"hasEqualPageSizes",get:function(){for(var e=this._pages[0],t=1,n=this._pages.length;t<n;++t){var r=this._pages[t];if(r.width!==e.width||r.height!==e.height)return!1}return!0}},{key:"scrollMode",get:function(){return this._scrollMode},set:function(e){if(this._scrollMode!==e){if(!(0,r.isValidScrollMode)(e))throw new Error("Invalid scroll mode: ".concat(e));this._scrollMode=e,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:e}),this._updateScrollMode(this._currentPageNumber)}}},{key:"spreadMode",get:function(){return this._spreadMode},set:function(e){if(this._spreadMode!==e){if(!(0,r.isValidSpreadMode)(e))throw new Error("Invalid spread mode: ".concat(e));this._spreadMode=e,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:e}),this._updateSpreadMode(this._currentPageNumber)}}}])&&u(t.prototype,n),h&&u(t,h),e}();t.BaseViewer=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFViewer=void 0;var r=n(19),i=n(2);function o(e){"@babel/helpers - typeof";return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(f,r.BaseViewer);var t,n,o,s=h(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),s.apply(this,arguments)}return t=f,(n=[{key:"_scrollIntoView",value:function(e){var t=e.pageDiv,n=e.pageSpot,r=void 0===n?null:n,i=e.pageNumber,o=void 0===i?null:i;if(!r&&!this.isInPresentationMode){var a=t.offsetLeft+t.clientLeft,s=a+t.clientWidth,l=this.container,u=l.scrollLeft,h=l.clientWidth;(this._isScrollModeHorizontal||a<u||s>u+h)&&(r={left:0,top:0})}c(d(f.prototype),"_scrollIntoView",this).call(this,{pageDiv:t,pageSpot:r,pageNumber:o})}},{key:"_getVisiblePages",value:function(){return this.isInPresentationMode?this._getCurrentVisiblePage():c(d(f.prototype),"_getVisiblePages",this).call(this)}},{key:"_updateHelper",value:function(e){if(!this.isInPresentationMode){var t,n=this._currentPageNumber,r=!1,i=a(e);try{for(i.s();!(t=i.n()).done;){var o=t.value;if(o.percent<100)break;if(o.id===n){r=!0;break}}}catch(e){i.e(e)}finally{i.f()}r||(n=e[0].id),this._setCurrentPageNumber(n)}}},{key:"_viewerElement",get:function(){return(0,i.shadow)(this,"_viewerElement",this.viewer)}}])&&l(t.prototype,n),o&&l(t,o),f}();t.PDFViewer=f}])},e.exports=r()},L42u:function(e,t,n){var r,i,o,a=n("+ZMJ"),s=n("knuC"),l=n("RPLV"),c=n("ON07"),u=n("7KvD"),h=u.process,d=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,A=u.Dispatch,g=0,v={},m=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},y=function(e){m.call(e.data)};d&&f||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},f=function(e){delete v[e]},"process"==n("R9M2")(h)?r=function(e){h.nextTick(a(m,e,1))}:A&&A.now?r=function(e){A.now(a(m,e,1))}:p?(o=(i=new p).port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),m.call(e)}}:function(e){setTimeout(a(m,e,1),0)}),e.exports={set:d,clear:f}},LIJb:function(e,t,n){var r=n("EqjI");e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},LKZe:function(e,t,n){var r=n("NpIQ"),i=n("X8DO"),o=n("TcQ7"),a=n("MmMw"),s=n("D2L2"),l=n("SfB7"),c=Object.getOwnPropertyDescriptor;t.f=n("+E39")?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},LyDL:function(e,t){e.exports=function(){this.getLameVersion=function(){return"3.98.4"},this.getLameShortVersion=function(){return"3.98.4"},this.getLameVeryShortVersion=function(){return"LAME3.98r"},this.getPsyVersion=function(){return"0.93"},this.getLameUrl=function(){return"http://www.mp3dev.org/"},this.getLameOsBitness=function(){return"32bits"}}},M3Bs:function(e,t){!function(e){"use strict";var t=e.document,n=e.jsMind;if(n&&void 0===n.draggable){var r=n.util.dom,i="getSelection"in e?function(){e.getSelection().removeAllRanges()}:function(){t.selection.empty()},o=5,a=500,s=80;n.draggable=function(e){this.jm=e,this.e_canvas=null,this.canvas_ctx=null,this.shadow=null,this.shadow_w=0,this.shadow_h=0,this.active_node=null,this.target_node=null,this.target_direct=null,this.client_w=0,this.client_h=0,this.offset_x=0,this.offset_y=0,this.hlookup_delay=0,this.hlookup_timer=0,this.capture=!1,this.moved=!1},n.draggable.prototype={init:function(){this._create_canvas(),this._create_shadow(),this._event_bind()},resize:function(){this.jm.view.e_nodes.appendChild(this.shadow),this.e_canvas.width=this.jm.view.size.w,this.e_canvas.height=this.jm.view.size.h},_create_canvas:function(){var e=t.createElement("canvas");this.jm.view.e_panel.appendChild(e);var n=e.getContext("2d");this.e_canvas=e,this.canvas_ctx=n},_create_shadow:function(){var e=t.createElement("jmnode");e.style.visibility="hidden",e.style.zIndex="3",e.style.cursor="move",e.style.opacity="0.7",this.shadow=e},reset_shadow:function(e){var t=this.shadow.style;this.shadow.innerHTML=e.innerHTML,t.left=e.style.left,t.top=e.style.top,t.width=e.style.width,t.height=e.style.height,t.backgroundImage=e.style.backgroundImage,t.backgroundSize=e.style.backgroundSize,t.transform=e.style.transform,this.shadow_w=this.shadow.clientWidth,this.shadow_h=this.shadow.clientHeight},show_shadow:function(){this.moved||(this.shadow.style.visibility="visible")},hide_shadow:function(){this.shadow.style.visibility="hidden"},_magnet_shadow:function(e){e&&(this.canvas_ctx.lineWidth=o,this.canvas_ctx.strokeStyle="rgba(0,0,0,0.3)",this.canvas_ctx.lineCap="round",this._clear_lines(),this._canvas_lineto(e.sp.x,e.sp.y,e.np.x,e.np.y))},_clear_lines:function(){this.canvas_ctx.clearRect(0,0,this.jm.view.size.w,this.jm.view.size.h)},_canvas_lineto:function(e,t,n,r){this.canvas_ctx.beginPath(),this.canvas_ctx.moveTo(e,t),this.canvas_ctx.lineTo(n,r),this.canvas_ctx.stroke()},_lookup_close_node:function(){var e,t,r=this.jm.get_root(),i=r.get_location(),a=r.get_size(),s=i.x+a.w/2,l=this.shadow_w,c=this.shadow_h,u=this.shadow.offsetLeft,h=this.shadow.offsetTop,d=u+l/2>=s?n.direction.right:n.direction.left,f=this.jm.mind.nodes,p=null,A=this.jm.layout,g=Number.MAX_VALUE,v=0,m=null,y=null,b=null;for(var _ in f){var w,x;if((p=f[_]).isroot||p.direction==d){if(p.id==this.active_node.id)continue;if(!A.is_visible(p))continue;if(e=p.get_size(),t=p.get_location(),d==n.direction.right){if(u-t.x-e.w<=0)continue;v=Math.abs(u-t.x-e.w)+Math.abs(h+c/2-t.y-e.h/2),w={x:t.x+e.w-o,y:t.y+e.h/2},x={x:u+o,y:h+c/2}}else{if(t.x-u-l<=0)continue;v=Math.abs(u+l-t.x)+Math.abs(h+c/2-t.y-e.h/2),w={x:t.x+o,y:t.y+e.h/2},x={x:u+l-o,y:h+c/2}}v<g&&(m=p,y=w,b=x,g=v)}}var C=null;return m&&(C={node:m,direction:d,sp:b,np:y}),C},lookup_close_node:function(){var e=this._lookup_close_node();e&&(this._magnet_shadow(e),this.target_node=e.node,this.target_direct=e.direction)},_event_bind:function(){var e=this,t=this.jm.view.container;r.add_event(t,"mousedown",function(t){var n=t||event;e.dragstart.call(e,n)}),r.add_event(t,"mousemove",function(t){var n=t||event;e.drag.call(e,n)}),r.add_event(t,"mouseup",function(t){var n=t||event;e.dragend.call(e,n)}),r.add_event(t,"touchstart",function(t){var n=t||event;e.dragstart.call(e,n)}),r.add_event(t,"touchmove",function(t){var n=t||event;e.drag.call(e,n)}),r.add_event(t,"touchend",function(t){var n=t||event;e.dragend.call(e,n)})},dragstart:function(t){if(this.jm.get_editable()&&!this.capture){this.active_node=null;var n=this.jm.view,r=t.target||event.srcElement;if("jmnode"==r.tagName.toLowerCase()){var i=n.get_binded_nodeid(r);if(i){var o=this.jm.get_node(i);if(!o.isroot){this.reset_shadow(r),this.active_node=o,this.offset_x=(t.clientX||t.touches[0].clientX)/n.actualZoom-r.offsetLeft,this.offset_y=(t.clientY||t.touches[0].clientY)/n.actualZoom-r.offsetTop,this.client_hw=Math.floor(r.clientWidth/2),this.client_hh=Math.floor(r.clientHeight/2),0!=this.hlookup_delay&&e.clearTimeout(this.hlookup_delay),0!=this.hlookup_timer&&e.clearInterval(this.hlookup_timer);var l=this;this.hlookup_delay=e.setTimeout(function(){l.hlookup_delay=0,l.hlookup_timer=e.setInterval(function(){l.lookup_close_node.call(l)},s)},a),this.capture=!0}}}}},drag:function(e){if(this.jm.get_editable()&&this.capture){e.preventDefault(),this.show_shadow(),this.moved=!0,i();var t=this.jm.view,n=(e.clientX||e.touches[0].clientX)/t.actualZoom-this.offset_x,r=(e.clientY||e.touches[0].clientY)/t.actualZoom-this.offset_y;this.shadow.style.left=n+"px",this.shadow.style.top=r+"px",i()}},dragend:function(t){if(this.jm.get_editable()){if(this.capture){if(0!=this.hlookup_delay&&(e.clearTimeout(this.hlookup_delay),this.hlookup_delay=0,this._clear_lines()),0!=this.hlookup_timer&&(e.clearInterval(this.hlookup_timer),this.hlookup_timer=0,this._clear_lines()),this.moved){var n=this.active_node,r=this.target_node,i=this.target_direct;this.move_node(n,r,i)}this.hide_shadow()}this.moved=!1,this.capture=!1}},move_node:function(e,t,r){var i=this.shadow.offsetTop;if(t&&e&&!n.node.inherited(e,t)){for(var o=t.children,a=o.length,s=null,l=Number.MAX_VALUE,c=null,u="_last_";a--;)if((s=o[a]).direction==r&&s.id!=e.id){var h=s.get_location().y-i;h>0&&h<l&&(l=h,c=s,u="_first_")}c&&(u=c.id),this.jm.move_node(e.id,u,t.id,r)}this.active_node=null,this.target_node=null,this.target_direct=null},jm_event_handle:function(e,t){e===n.event_type.resize&&this.resize()}};var l=new n.plugin("draggable",function(e){var t=new n.draggable(e);t.init(),e.add_event_listener(function(e,n){t.jm_event_handle.call(t,e,n)})});n.register_plugin(l)}}(window)},M6a0:function(e,t){},MU5D:function(e,t,n){var r=n("R9M2");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},Mhyx:function(e,t,n){var r=n("/bQp"),i=n("dSzd")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},MmMw:function(e,t,n){var r=n("EqjI");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},NMof:function(e,t,n){"use strict";var r,i;"function"==typeof Symbol&&Symbol.iterator;void 0===(i="function"==typeof(r=function(){var e=window,t={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function n(e,n,r){this._reference=e.jquery?e[0]:e,this.state={};var i=void 0===n||null===n,o=n&&"[object Object]"===Object.prototype.toString.call(n);return this._popper=i||o?this.parse(o?n:{}):n.jquery?n[0]:n,this._options=Object.assign({},t,r),this._options.modifiers=this._options.modifiers.map(function(e){if(-1===this._options.modifiersIgnored.indexOf(e))return"applyStyle"===e&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[e]||e}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),u(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function r(t){var n=t.style.display,r=t.style.visibility;t.style.display="block",t.style.visibility="hidden";t.offsetWidth;var i=e.getComputedStyle(t),o=parseFloat(i.marginTop)+parseFloat(i.marginBottom),a=parseFloat(i.marginLeft)+parseFloat(i.marginRight),s={width:t.offsetWidth+a,height:t.offsetHeight+o};return t.style.display=n,t.style.visibility=r,s}function i(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function o(e){var t=Object.assign({},e);return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function a(e,t){var n,r=0;for(n in e){if(e[n]===t)return r;r++}return null}function s(t,n){return e.getComputedStyle(t,null)[n]}function l(t){var n=t.offsetParent;return n!==e.document.body&&n?n:e.document.documentElement}function c(t){var n=t.parentNode;return n?n===e.document?e.document.body.scrollTop||e.document.body.scrollLeft?e.document.body:e.document.documentElement:-1!==["scroll","auto"].indexOf(s(n,"overflow"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-x"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-y"))?n:c(t.parentNode):t}function u(e,t){Object.keys(t).forEach(function(n){var r,i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&(""!==(r=t[n])&&!isNaN(parseFloat(r))&&isFinite(r))&&(i="px"),e.style[n]=t[n]+i})}function h(e){var t={width:e.offsetWidth,height:e.offsetHeight,left:e.offsetLeft,top:e.offsetTop};return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function d(e){var t=e.getBoundingClientRect(),n=-1!=navigator.userAgent.indexOf("MSIE")&&"HTML"===e.tagName?-e.scrollTop:t.top;return{left:t.left,top:n,right:t.right,bottom:t.bottom,width:t.right-t.left,height:t.bottom-n}}function f(t){for(var n=["","ms","webkit","moz","o"],r=0;r<n.length;r++){var i=n[r]?n[r]+t.charAt(0).toUpperCase()+t.slice(1):t;if(void 0!==e.document.body.style[i])return i}return null}return n.prototype.destroy=function(){return this._popper.removeAttribute("x-placement"),this._popper.style.left="",this._popper.style.position="",this._popper.style.top="",this._popper.style[f("transform")]="",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this},n.prototype.update=function(){var e={instance:this,styles:{}};e.placement=this._options.placement,e._originalPlacement=this._options.placement,e.offsets=this._getOffsets(this._popper,this._reference,e.placement),e.boundaries=this._getBoundaries(e,this._options.boundariesPadding,this._options.boundariesElement),e=this.runModifiers(e,this._options.modifiers),"function"==typeof this.state.updateCallback&&this.state.updateCallback(e)},n.prototype.onCreate=function(e){return e(this),this},n.prototype.onUpdate=function(e){return this.state.updateCallback=e,this},n.prototype.parse=function(t){var n={tagName:"div",classNames:["popper"],attributes:[],parent:e.document.body,content:"",contentType:"text",arrowTagName:"div",arrowClassNames:["popper__arrow"],arrowAttributes:["x-arrow"]};t=Object.assign({},n,t);var r=e.document,i=r.createElement(t.tagName);if(s(i,t.classNames),l(i,t.attributes),"node"===t.contentType?i.appendChild(t.content.jquery?t.content[0]:t.content):"html"===t.contentType?i.innerHTML=t.content:i.textContent=t.content,t.arrowTagName){var o=r.createElement(t.arrowTagName);s(o,t.arrowClassNames),l(o,t.arrowAttributes),i.appendChild(o)}var a=t.parent.jquery?t.parent[0]:t.parent;if("string"==typeof a){if((a=r.querySelectorAll(t.parent)).length>1&&console.warn("WARNING: the given `parent` query("+t.parent+") matched more than one element, the first one will be used"),0===a.length)throw"ERROR: the given `parent` doesn't exists!";a=a[0]}return a.length>1&&a instanceof Element==!1&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),a=a[0]),a.appendChild(i),i;function s(e,t){t.forEach(function(t){e.classList.add(t)})}function l(e,t){t.forEach(function(t){e.setAttribute(t.split(":")[0],t.split(":")[1]||"")})}},n.prototype._getPosition=function(t,n){l(n);return this._options.forceAbsolute?"absolute":function t(n){if(n===e.document.body)return!1;if("fixed"===s(n,"position"))return!0;return n.parentNode?t(n.parentNode):n}(n)?"fixed":"absolute"},n.prototype._getOffsets=function(e,t,n){n=n.split("-")[0];var i={};i.position=this.state.position;var o="fixed"===i.position,a=function(e,t,n){var r=d(e),i=d(t);if(n){var o=c(t);i.top+=o.scrollTop,i.bottom+=o.scrollTop,i.left+=o.scrollLeft,i.right+=o.scrollLeft}return{top:r.top-i.top,left:r.left-i.left,bottom:r.top-i.top+r.height,right:r.left-i.left+r.width,width:r.width,height:r.height}}(t,l(e),o),s=r(e);return-1!==["right","left"].indexOf(n)?(i.top=a.top+a.height/2-s.height/2,i.left="left"===n?a.left-s.width:a.right):(i.left=a.left+a.width/2-s.width/2,i.top="top"===n?a.top-s.height:a.bottom),i.width=s.width,i.height=s.height,{popper:i,reference:a}},n.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),e.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var t=c(this._reference);t!==e.document.body&&t!==e.document.documentElement||(t=e),t.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=t}},n.prototype._removeEventListeners=function(){e.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},n.prototype._getBoundaries=function(t,n,r){var i,o,a={};if("window"===r){var s=e.document.body,u=e.document.documentElement;i=Math.max(s.scrollHeight,s.offsetHeight,u.clientHeight,u.scrollHeight,u.offsetHeight),a={top:0,right:Math.max(s.scrollWidth,s.offsetWidth,u.clientWidth,u.scrollWidth,u.offsetWidth),bottom:i,left:0}}else if("viewport"===r){var d=l(this._popper),f=c(this._popper),p=h(d),A="fixed"===t.offsets.popper.position?0:(o=f)==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):o.scrollTop,g="fixed"===t.offsets.popper.position?0:function(e){return e==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):e.scrollLeft}(f);a={top:0-(p.top-A),right:e.document.documentElement.clientWidth-(p.left-g),bottom:e.document.documentElement.clientHeight-(p.top-A),left:0-(p.left-g)}}else a=l(this._popper)===r?{top:0,left:0,right:r.clientWidth,bottom:r.clientHeight}:h(r);return a.left+=n,a.right-=n,a.top=a.top+n,a.bottom=a.bottom-n,a},n.prototype.runModifiers=function(e,t,n){var r=t.slice();return void 0!==n&&(r=this._options.modifiers.slice(0,a(this._options.modifiers,n))),r.forEach(function(t){var n;(n=t)&&"[object Function]"==={}.toString.call(n)&&(e=t.call(this,e))}.bind(this)),e},n.prototype.isModifierRequired=function(e,t){var n=a(this._options.modifiers,e);return!!this._options.modifiers.slice(0,n).filter(function(e){return e===t}).length},n.prototype.modifiers={},n.prototype.modifiers.applyStyle=function(e){var t,n={position:e.offsets.popper.position},r=Math.round(e.offsets.popper.left),i=Math.round(e.offsets.popper.top);return this._options.gpuAcceleration&&(t=f("transform"))?(n[t]="translate3d("+r+"px, "+i+"px, 0)",n.top=0,n.left=0):(n.left=r,n.top=i),Object.assign(n,e.styles),u(this._popper,n),this._popper.setAttribute("x-placement",e.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&e.offsets.arrow&&u(e.arrowElement,e.offsets.arrow),e},n.prototype.modifiers.shift=function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets.reference,a=o(e.offsets.popper),s={y:{start:{top:i.top},end:{top:i.top+i.height-a.height}},x:{start:{left:i.left},end:{left:i.left+i.width-a.width}}},l=-1!==["bottom","top"].indexOf(n)?"x":"y";e.offsets.popper=Object.assign(a,s[l][r])}return e},n.prototype.modifiers.preventOverflow=function(e){var t=this._options.preventOverflowOrder,n=o(e.offsets.popper),r={left:function(){var t=n.left;return n.left<e.boundaries.left&&(t=Math.max(n.left,e.boundaries.left)),{left:t}},right:function(){var t=n.left;return n.right>e.boundaries.right&&(t=Math.min(n.left,e.boundaries.right-n.width)),{left:t}},top:function(){var t=n.top;return n.top<e.boundaries.top&&(t=Math.max(n.top,e.boundaries.top)),{top:t}},bottom:function(){var t=n.top;return n.bottom>e.boundaries.bottom&&(t=Math.min(n.top,e.boundaries.bottom-n.height)),{top:t}}};return t.forEach(function(t){e.offsets.popper=Object.assign(n,r[t]())}),e},n.prototype.modifiers.keepTogether=function(e){var t=o(e.offsets.popper),n=e.offsets.reference,r=Math.floor;return t.right<r(n.left)&&(e.offsets.popper.left=r(n.left)-t.width),t.left>r(n.right)&&(e.offsets.popper.left=r(n.right)),t.bottom<r(n.top)&&(e.offsets.popper.top=r(n.top)-t.height),t.top>r(n.bottom)&&(e.offsets.popper.top=r(n.bottom)),e},n.prototype.modifiers.flip=function(e){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),e;if(e.flipped&&e.placement===e._originalPlacement)return e;var t=e.placement.split("-")[0],n=i(t),r=e.placement.split("-")[1]||"",a=[];return(a="flip"===this._options.flipBehavior?[t,n]:this._options.flipBehavior).forEach(function(s,l){if(t===s&&a.length!==l+1){t=e.placement.split("-")[0],n=i(t);var c=o(e.offsets.popper),u=-1!==["right","bottom"].indexOf(t);(u&&Math.floor(e.offsets.reference[t])>Math.floor(c[n])||!u&&Math.floor(e.offsets.reference[t])<Math.floor(c[n]))&&(e.flipped=!0,e.placement=a[l+1],r&&(e.placement+="-"+r),e.offsets.popper=this._getOffsets(this._popper,this._reference,e.placement).popper,e=this.runModifiers(e,this._options.modifiers,this._flip))}}.bind(this)),e},n.prototype.modifiers.offset=function(e){var t=this._options.offset,n=e.offsets.popper;return-1!==e.placement.indexOf("left")?n.top-=t:-1!==e.placement.indexOf("right")?n.top+=t:-1!==e.placement.indexOf("top")?n.left-=t:-1!==e.placement.indexOf("bottom")&&(n.left+=t),e},n.prototype.modifiers.arrow=function(e){var t=this._options.arrowElement,n=this._options.arrowOffset;if("string"==typeof t&&(t=this._popper.querySelector(t)),!t)return e;if(!this._popper.contains(t))return console.warn("WARNING: `arrowElement` must be child of its popper element!"),e;if(!this.isModifierRequired(this.modifiers.arrow,this.modifiers.keepTogether))return console.warn("WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!"),e;var i={},a=e.placement.split("-")[0],s=o(e.offsets.popper),l=e.offsets.reference,c=-1!==["left","right"].indexOf(a),u=c?"height":"width",h=c?"top":"left",d=c?"left":"top",f=c?"bottom":"right",p=r(t)[u];l[f]-p<s[h]&&(e.offsets.popper[h]-=s[h]-(l[f]-p)),l[h]+p>s[f]&&(e.offsets.popper[h]+=l[h]+p-s[f]);var A=l[h]+(n||l[u]/2-p/2)-s[h];return A=Math.max(Math.min(s[u]-p-8,A),8),i[h]=A,i[d]="",e.offsets.arrow=i,e.arrowElement=t,e},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(void 0!==r&&null!==r){r=Object(r);for(var i=Object.keys(r),o=0,a=i.length;o<a;o++){var s=i[o],l=Object.getOwnPropertyDescriptor(r,s);void 0!==l&&l.enumerable&&(t[s]=r[s])}}}return t}}),n})?r.call(t,n,t,e):r)||(e.exports=i)},"NWt+":function(e,t,n){var r=n("+ZMJ"),i=n("msXi"),o=n("Mhyx"),a=n("77Pl"),s=n("QRG4"),l=n("3fs2"),c={},u={};(t=e.exports=function(e,t,n,h,d){var f,p,A,g,v=d?function(){return e}:l(e),m=r(n,h,t?2:1),y=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=s(e.length);f>y;y++)if((g=t?m(a(p=e[y])[0],p[1]):m(e[y]))===c||g===u)return g}else for(A=v.call(e);!(p=A.next()).done;)if((g=i(A,m,p.value,t))===c||g===u)return g}).BREAK=c,t.RETURN=u},NYxO:function(e,t,n){"use strict";(function(e){var n=("undefined"!=typeof window?window:void 0!==e?e:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(e,t){if(void 0===t&&(t=[]),null===e||"object"!=typeof e)return e;var n,i=(n=function(t){return t.original===e},t.filter(n)[0]);if(i)return i.copy;var o=Array.isArray(e)?[]:{};return t.push({original:e,copy:o}),Object.keys(e).forEach(function(n){o[n]=r(e[n],t)}),o}function i(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function o(e){return null!==e&&"object"==typeof e}var a=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(e,t){this._children[e]=t},a.prototype.removeChild=function(e){delete this._children[e]},a.prototype.getChild=function(e){return this._children[e]},a.prototype.hasChild=function(e){return e in this._children},a.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},a.prototype.forEachChild=function(e){i(this._children,e)},a.prototype.forEachGetter=function(e){this._rawModule.getters&&i(this._rawModule.getters,e)},a.prototype.forEachAction=function(e){this._rawModule.actions&&i(this._rawModule.actions,e)},a.prototype.forEachMutation=function(e){this._rawModule.mutations&&i(this._rawModule.mutations,e)},Object.defineProperties(a.prototype,s);var l=function(e){this.register([],e,!1)};l.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},l.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")},"")},l.prototype.update=function(e){!function e(t,n,r){0;n.update(r);if(r.modules)for(var i in r.modules){if(!n.getChild(i))return void 0;e(t.concat(i),n.getChild(i),r.modules[i])}}([],this.root,e)},l.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var o=new a(t,n);0===e.length?this.root=o:this.get(e.slice(0,-1)).addChild(e[e.length-1],o);t.modules&&i(t.modules,function(t,i){r.register(e.concat(i),t,n)})},l.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},l.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var c;var u=function(e){var t=this;void 0===e&&(e={}),!c&&"undefined"!=typeof window&&window.Vue&&m(window.Vue);var r=e.plugins;void 0===r&&(r=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(o,e,t)},this.commit=function(e,t,n){return s.call(o,e,t,n)},this.strict=i;var u=this._modules.root.state;A(this,u,[],this._modules.root),p(this,u),r.forEach(function(e){return e(t)}),(void 0!==e.devtools?e.devtools:c.config.devtools)&&function(e){n&&(e._devtoolHook=n,n.emit("vuex:init",e),n.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(e,t){n.emit("vuex:mutation",e,t)},{prepend:!0}),e.subscribeAction(function(e,t){n.emit("vuex:action",e,t)},{prepend:!0}))}(this)},h={state:{configurable:!0}};function d(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function f(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;A(e,n,[],e._modules.root,!0),p(e,n,t)}function p(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var o={};i(e._wrappedGetters,function(t,n){o[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})});var a=c.config.silent;c.config.silent=!0,e._vm=new c({data:{$$state:t},computed:o}),c.config.silent=a,e.strict&&function(e){e._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit(function(){r._data.$$state=null}),c.nextTick(function(){return r.$destroy()}))}function A(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var s=g(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){c.set(s,l,r.state)})}var u=r.context=function(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=v(n,r,i),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:r?e.commit:function(n,r,i){var o=v(n,r,i),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return g(e.state,n)}}}),i}(e,a,n);r.forEachMutation(function(t,n){!function(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push(function(t){n.call(e,r.state,t)})}(e,a+n,t,u)}),r.forEachAction(function(t,n){var r=t.root?n:a+n,i=t.handler||t;!function(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push(function(t){var i,o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),e._devtoolHook?o.catch(function(t){throw e._devtoolHook.emit("vuex:error",t),t}):o})}(e,r,i,u)}),r.forEachGetter(function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,a+n,t,u)}),r.forEachChild(function(r,o){A(e,t,n.concat(o),r,i)})}function g(e,t){return t.reduce(function(e,t){return e[t]},e)}function v(e,t,n){return o(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function m(e){c&&e===c||
- /*!
- * vuex v3.6.2
- * (c) 2021 Evan You
- * @license MIT
- */
- function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(c=e)}h.state.get=function(){return this._vm._data.$$state},h.state.set=function(e){0},u.prototype.commit=function(e,t,n){var r=this,i=v(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit(function(){l.forEach(function(e){e(a)})}),this._subscribers.slice().forEach(function(e){return e(s,r.state)}))},u.prototype.dispatch=function(e,t){var n=this,r=v(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter(function(e){return e.before}).forEach(function(e){return e.before(a,n.state)})}catch(e){0}var l=s.length>1?Promise.all(s.map(function(e){return e(o)})):s[0](o);return new Promise(function(e,t){l.then(function(t){try{n._actionSubscribers.filter(function(e){return e.after}).forEach(function(e){return e.after(a,n.state)})}catch(e){0}e(t)},function(e){try{n._actionSubscribers.filter(function(e){return e.error}).forEach(function(t){return t.error(a,n.state,e)})}catch(e){0}t(e)})})}},u.prototype.subscribe=function(e,t){return d(e,this._subscribers,t)},u.prototype.subscribeAction=function(e,t){return d("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},u.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch(function(){return e(r.state,r.getters)},t,n)},u.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._vm._data.$$state=e})},u.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),A(this,this.state,e,this._modules.get(e),n.preserveState),p(this,this.state)},u.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=g(t.state,e.slice(0,-1));c.delete(n,e[e.length-1])}),f(this)},u.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},u.prototype.hotUpdate=function(e){this._modules.update(e),f(this,!0)},u.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(u.prototype,h);var y=C(function(e,t){var n={};return x(t).forEach(function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=S(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0}),n}),b=C(function(e,t){var n={};return x(t).forEach(function(t){var r=t.key,i=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=S(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}}),n}),_=C(function(e,t){var n={};return x(t).forEach(function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||S(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0}),n}),w=C(function(e,t){var n={};return x(t).forEach(function(t){var r=t.key,i=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=S(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}}),n});function x(e){return function(e){return Array.isArray(e)||o(e)}(e)?Array.isArray(e)?e.map(function(e){return{key:e,val:e}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function C(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function S(e,t,n){return e._modulesNamespaceMap[n]}function B(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(n){e.log(t)}}function k(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function T(){var e=new Date;return" @ "+E(e.getHours(),2)+":"+E(e.getMinutes(),2)+":"+E(e.getSeconds(),2)+"."+E(e.getMilliseconds(),3)}function E(e,t){return n="0",r=t-e.toString().length,new Array(r+1).join(n)+e;var n,r}var M={Store:u,install:m,version:"3.6.2",mapState:y,mapMutations:b,mapGetters:_,mapActions:w,createNamespacedHelpers:function(e){return{mapState:y.bind(null,e),mapGetters:_.bind(null,e),mapMutations:b.bind(null,e),mapActions:w.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var i=e.transformer;void 0===i&&(i=function(e){return e});var o=e.mutationTransformer;void 0===o&&(o=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var l=e.logMutations;void 0===l&&(l=!0);var c=e.logActions;void 0===c&&(c=!0);var u=e.logger;return void 0===u&&(u=console),function(e){var h=r(e.state);void 0!==u&&(l&&e.subscribe(function(e,a){var s=r(a);if(n(e,h,s)){var l=T(),c=o(e),d="mutation "+e.type+l;B(u,d,t),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(h)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",i(s)),k(u)}h=s}),c&&e.subscribeAction(function(e,n){if(a(e,n)){var r=T(),i=s(e),o="action "+e.type+r;B(u,o,t),u.log("%c action","color: #03A9F4; font-weight: bold",i),k(u)}}))}}};t.a=M}).call(t,n("DuR2"))},NpIQ:function(e,t){t.f={}.propertyIsEnumerable},O4g8:function(e,t){e.exports=!0},OAzY:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n("7+uW"),o=(r=i)&&r.__esModule?r:{default:r},a=n("2kvA");var s=!1,l=!1,c=void 0,u=function(){if(!o.default.prototype.$isServer){var e=d.modalDom;return e?s=!0:(s=!1,e=document.createElement("div"),d.modalDom=e,e.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",function(){d.doOnModalClick&&d.doOnModalClick()})),e}},h={},d={modalFade:!0,getInstance:function(e){return h[e]},register:function(e,t){e&&t&&(h[e]=t)},deregister:function(e){e&&(h[e]=null,delete h[e])},nextZIndex:function(){return d.zIndex++},modalStack:[],doOnModalClick:function(){var e=d.modalStack[d.modalStack.length-1];if(e){var t=d.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,r,i){if(!o.default.prototype.$isServer&&e&&void 0!==t){this.modalFade=i;for(var l=this.modalStack,c=0,h=l.length;c<h;c++){if(l[c].id===e)return}var d=u();if((0,a.addClass)(d,"v-modal"),this.modalFade&&!s&&(0,a.addClass)(d,"v-modal-enter"),r)r.trim().split(/\s+/).forEach(function(e){return(0,a.addClass)(d,e)});setTimeout(function(){(0,a.removeClass)(d,"v-modal-enter")},200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(d):document.body.appendChild(d),t&&(d.style.zIndex=t),d.tabIndex=0,d.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:r})}},closeModal:function(e){var t=this.modalStack,n=u();if(t.length>0){var r=t[t.length-1];if(r.id===e){if(r.modalClass)r.modalClass.trim().split(/\s+/).forEach(function(e){return(0,a.removeClass)(n,e)});t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(var i=t.length-1;i>=0;i--)if(t[i].id===e){t.splice(i,1);break}}0===t.length&&(this.modalFade&&(0,a.addClass)(n,"v-modal-leave"),setTimeout(function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",d.modalDom=void 0),(0,a.removeClass)(n,"v-modal-leave")},200))}};Object.defineProperty(d,"zIndex",{configurable:!0,get:function(){return l||(c=c||(o.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),c},set:function(e){c=e}});o.default.prototype.$isServer||window.addEventListener("keydown",function(e){if(27===e.keyCode){var t=function(){if(!o.default.prototype.$isServer&&d.modalStack.length>0){var e=d.modalStack[d.modalStack.length-1];if(!e)return;return d.getInstance(e.id)}}();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}}),t.default=d},ON07:function(e,t,n){var r=n("EqjI"),i=n("7KvD").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},ON3O:function(e,t,n){var r=n("uY1a");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},OSvQ:function(e,t){function n(e,t,n,r){this.xlen=e,this.linmax=t,this.table=n,this.hlen=r}var r={t1HB:[1,1,1,0],t2HB:[1,2,1,3,1,1,3,2,0],t3HB:[3,2,1,1,1,1,3,2,0],t5HB:[1,2,6,5,3,1,4,4,7,5,7,1,6,1,1,0],t6HB:[7,3,5,1,6,2,3,2,5,4,4,1,3,3,2,0],t7HB:[1,2,10,19,16,10,3,3,7,10,5,3,11,4,13,17,8,4,12,11,18,15,11,2,7,6,9,14,3,1,6,4,5,3,2,0],t8HB:[3,4,6,18,12,5,5,1,2,16,9,3,7,3,5,14,7,3,19,17,15,13,10,4,13,5,8,11,5,1,12,4,4,1,1,0],t9HB:[7,5,9,14,15,7,6,4,5,5,6,7,7,6,8,8,8,5,15,6,9,10,5,1,11,7,9,6,4,1,14,4,6,2,6,0],t10HB:[1,2,10,23,35,30,12,17,3,3,8,12,18,21,12,7,11,9,15,21,32,40,19,6,14,13,22,34,46,23,18,7,20,19,33,47,27,22,9,3,31,22,41,26,21,20,5,3,14,13,10,11,16,6,5,1,9,8,7,8,4,4,2,0],t11HB:[3,4,10,24,34,33,21,15,5,3,4,10,32,17,11,10,11,7,13,18,30,31,20,5,25,11,19,59,27,18,12,5,35,33,31,58,30,16,7,5,28,26,32,19,17,15,8,14,14,12,9,13,14,9,4,1,11,4,6,6,6,3,2,0],t12HB:[9,6,16,33,41,39,38,26,7,5,6,9,23,16,26,11,17,7,11,14,21,30,10,7,17,10,15,12,18,28,14,5,32,13,22,19,18,16,9,5,40,17,31,29,17,13,4,2,27,12,11,15,10,7,4,1,27,12,8,12,6,3,1,0],t13HB:[1,5,14,21,34,51,46,71,42,52,68,52,67,44,43,19,3,4,12,19,31,26,44,33,31,24,32,24,31,35,22,14,15,13,23,36,59,49,77,65,29,40,30,40,27,33,42,16,22,20,37,61,56,79,73,64,43,76,56,37,26,31,25,14,35,16,60,57,97,75,114,91,54,73,55,41,48,53,23,24,58,27,50,96,76,70,93,84,77,58,79,29,74,49,41,17,47,45,78,74,115,94,90,79,69,83,71,50,59,38,36,15,72,34,56,95,92,85,91,90,86,73,77,65,51,44,43,42,43,20,30,44,55,78,72,87,78,61,46,54,37,30,20,16,53,25,41,37,44,59,54,81,66,76,57,54,37,18,39,11,35,33,31,57,42,82,72,80,47,58,55,21,22,26,38,22,53,25,23,38,70,60,51,36,55,26,34,23,27,14,9,7,34,32,28,39,49,75,30,52,48,40,52,28,18,17,9,5,45,21,34,64,56,50,49,45,31,19,12,15,10,7,6,3,48,23,20,39,36,35,53,21,16,23,13,10,6,1,4,2,16,15,17,27,25,20,29,11,17,12,16,8,1,1,0,1],t15HB:[7,12,18,53,47,76,124,108,89,123,108,119,107,81,122,63,13,5,16,27,46,36,61,51,42,70,52,83,65,41,59,36,19,17,15,24,41,34,59,48,40,64,50,78,62,80,56,33,29,28,25,43,39,63,55,93,76,59,93,72,54,75,50,29,52,22,42,40,67,57,95,79,72,57,89,69,49,66,46,27,77,37,35,66,58,52,91,74,62,48,79,63,90,62,40,38,125,32,60,56,50,92,78,65,55,87,71,51,73,51,70,30,109,53,49,94,88,75,66,122,91,73,56,42,64,44,21,25,90,43,41,77,73,63,56,92,77,66,47,67,48,53,36,20,71,34,67,60,58,49,88,76,67,106,71,54,38,39,23,15,109,53,51,47,90,82,58,57,48,72,57,41,23,27,62,9,86,42,40,37,70,64,52,43,70,55,42,25,29,18,11,11,118,68,30,55,50,46,74,65,49,39,24,16,22,13,14,7,91,44,39,38,34,63,52,45,31,52,28,19,14,8,9,3,123,60,58,53,47,43,32,22,37,24,17,12,15,10,2,1,71,37,34,30,28,20,17,26,21,16,10,6,8,6,2,0],t16HB:[1,5,14,44,74,63,110,93,172,149,138,242,225,195,376,17,3,4,12,20,35,62,53,47,83,75,68,119,201,107,207,9,15,13,23,38,67,58,103,90,161,72,127,117,110,209,206,16,45,21,39,69,64,114,99,87,158,140,252,212,199,387,365,26,75,36,68,65,115,101,179,164,155,264,246,226,395,382,362,9,66,30,59,56,102,185,173,265,142,253,232,400,388,378,445,16,111,54,52,100,184,178,160,133,257,244,228,217,385,366,715,10,98,48,91,88,165,157,148,261,248,407,397,372,380,889,884,8,85,84,81,159,156,143,260,249,427,401,392,383,727,713,708,7,154,76,73,141,131,256,245,426,406,394,384,735,359,710,352,11,139,129,67,125,247,233,229,219,393,743,737,720,885,882,439,4,243,120,118,115,227,223,396,746,742,736,721,712,706,223,436,6,202,224,222,218,216,389,386,381,364,888,443,707,440,437,1728,4,747,211,210,208,370,379,734,723,714,1735,883,877,876,3459,865,2,377,369,102,187,726,722,358,711,709,866,1734,871,3458,870,434,0,12,10,7,11,10,17,11,9,13,12,10,7,5,3,1,3],t24HB:[15,13,46,80,146,262,248,434,426,669,653,649,621,517,1032,88,14,12,21,38,71,130,122,216,209,198,327,345,319,297,279,42,47,22,41,74,68,128,120,221,207,194,182,340,315,295,541,18,81,39,75,70,134,125,116,220,204,190,178,325,311,293,271,16,147,72,69,135,127,118,112,210,200,188,352,323,306,285,540,14,263,66,129,126,119,114,214,202,192,180,341,317,301,281,262,12,249,123,121,117,113,215,206,195,185,347,330,308,291,272,520,10,435,115,111,109,211,203,196,187,353,332,313,298,283,531,381,17,427,212,208,205,201,193,186,177,169,320,303,286,268,514,377,16,335,199,197,191,189,181,174,333,321,305,289,275,521,379,371,11,668,184,183,179,175,344,331,314,304,290,277,530,383,373,366,10,652,346,171,168,164,318,309,299,287,276,263,513,375,368,362,6,648,322,316,312,307,302,292,284,269,261,512,376,370,364,359,4,620,300,296,294,288,282,273,266,515,380,374,369,365,361,357,2,1033,280,278,274,267,264,259,382,378,372,367,363,360,358,356,0,43,20,19,17,15,13,11,9,7,6,4,7,5,3,1,3],t32HB:[1,10,8,20,12,20,16,32,14,12,24,0,28,16,24,16],t33HB:[15,28,26,48,22,40,36,64,14,24,20,32,12,16,8,0],t1l:[1,4,3,5],t2l:[1,4,7,4,5,7,6,7,8],t3l:[2,3,7,4,4,7,6,7,8],t5l:[1,4,7,8,4,5,8,9,7,8,9,10,8,8,9,10],t6l:[3,4,6,8,4,4,6,7,5,6,7,8,7,7,8,9],t7l:[1,4,7,9,9,10,4,6,8,9,9,10,7,7,9,10,10,11,8,9,10,11,11,11,8,9,10,11,11,12,9,10,11,12,12,12],t8l:[2,4,7,9,9,10,4,4,6,10,10,10,7,6,8,10,10,11,9,10,10,11,11,12,9,9,10,11,12,12,10,10,11,11,13,13],t9l:[3,4,6,7,9,10,4,5,6,7,8,10,5,6,7,8,9,10,7,7,8,9,9,10,8,8,9,9,10,11,9,9,10,10,11,11],t10l:[1,4,7,9,10,10,10,11,4,6,8,9,10,11,10,10,7,8,9,10,11,12,11,11,8,9,10,11,12,12,11,12,9,10,11,12,12,12,12,12,10,11,12,12,13,13,12,13,9,10,11,12,12,12,13,13,10,10,11,12,12,13,13,13],t11l:[2,4,6,8,9,10,9,10,4,5,6,8,10,10,9,10,6,7,8,9,10,11,10,10,8,8,9,11,10,12,10,11,9,10,10,11,11,12,11,12,9,10,11,12,12,13,12,13,9,9,9,10,11,12,12,12,9,9,10,11,12,12,12,12],t12l:[4,4,6,8,9,10,10,10,4,5,6,7,9,9,10,10,6,6,7,8,9,10,9,10,7,7,8,8,9,10,10,10,8,8,9,9,10,10,10,11,9,9,10,10,10,11,10,11,9,9,9,10,10,11,11,12,10,10,10,11,11,11,11,12],t13l:[1,5,7,8,9,10,10,11,10,11,12,12,13,13,14,14,4,6,8,9,10,10,11,11,11,11,12,12,13,14,14,14,7,8,9,10,11,11,12,12,11,12,12,13,13,14,15,15,8,9,10,11,11,12,12,12,12,13,13,13,13,14,15,15,9,9,11,11,12,12,13,13,12,13,13,14,14,15,15,16,10,10,11,12,12,12,13,13,13,13,14,13,15,15,16,16,10,11,12,12,13,13,13,13,13,14,14,14,15,15,16,16,11,11,12,13,13,13,14,14,14,14,15,15,15,16,18,18,10,10,11,12,12,13,13,14,14,14,14,15,15,16,17,17,11,11,12,12,13,13,13,15,14,15,15,16,16,16,18,17,11,12,12,13,13,14,14,15,14,15,16,15,16,17,18,19,12,12,12,13,14,14,14,14,15,15,15,16,17,17,17,18,12,13,13,14,14,15,14,15,16,16,17,17,17,18,18,18,13,13,14,15,15,15,16,16,16,16,16,17,18,17,18,18,14,14,14,15,15,15,17,16,16,19,17,17,17,19,18,18,13,14,15,16,16,16,17,16,17,17,18,18,21,20,21,18],t15l:[3,5,6,8,8,9,10,10,10,11,11,12,12,12,13,14,5,5,7,8,9,9,10,10,10,11,11,12,12,12,13,13,6,7,7,8,9,9,10,10,10,11,11,12,12,13,13,13,7,8,8,9,9,10,10,11,11,11,12,12,12,13,13,13,8,8,9,9,10,10,11,11,11,11,12,12,12,13,13,13,9,9,9,10,10,10,11,11,11,11,12,12,13,13,13,14,10,9,10,10,10,11,11,11,11,12,12,12,13,13,14,14,10,10,10,11,11,11,11,12,12,12,12,12,13,13,13,14,10,10,10,11,11,11,11,12,12,12,12,13,13,14,14,14,10,10,11,11,11,11,12,12,12,13,13,13,13,14,14,14,11,11,11,11,12,12,12,12,12,13,13,13,13,14,15,14,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,15,12,12,11,12,12,12,13,13,13,13,13,13,14,14,15,15,12,12,12,12,12,13,13,13,13,14,14,14,14,14,15,15,13,13,13,13,13,13,13,13,14,14,14,14,15,15,14,15,13,13,13,13,13,13,13,14,14,14,14,14,15,15,15,15],t16_5l:[1,5,7,9,10,10,11,11,12,12,12,13,13,13,14,11,4,6,8,9,10,11,11,11,12,12,12,13,14,13,14,11,7,8,9,10,11,11,12,12,13,12,13,13,13,14,14,12,9,9,10,11,11,12,12,12,13,13,14,14,14,15,15,13,10,10,11,11,12,12,13,13,13,14,14,14,15,15,15,12,10,10,11,11,12,13,13,14,13,14,14,15,15,15,16,13,11,11,11,12,13,13,13,13,14,14,14,14,15,15,16,13,11,11,12,12,13,13,13,14,14,15,15,15,15,17,17,13,11,12,12,13,13,13,14,14,15,15,15,15,16,16,16,13,12,12,12,13,13,14,14,15,15,15,15,16,15,16,15,14,12,13,12,13,14,14,14,14,15,16,16,16,17,17,16,13,13,13,13,13,14,14,15,16,16,16,16,16,16,15,16,14,13,14,14,14,14,15,15,15,15,17,16,16,16,16,18,14,15,14,14,14,15,15,16,16,16,18,17,17,17,19,17,14,14,15,13,14,16,16,15,16,16,17,18,17,19,17,16,14,11,11,11,12,12,13,13,13,14,14,14,14,14,14,14,12],t16l:[1,5,7,9,10,10,11,11,12,12,12,13,13,13,14,10,4,6,8,9,10,11,11,11,12,12,12,13,14,13,14,10,7,8,9,10,11,11,12,12,13,12,13,13,13,14,14,11,9,9,10,11,11,12,12,12,13,13,14,14,14,15,15,12,10,10,11,11,12,12,13,13,13,14,14,14,15,15,15,11,10,10,11,11,12,13,13,14,13,14,14,15,15,15,16,12,11,11,11,12,13,13,13,13,14,14,14,14,15,15,16,12,11,11,12,12,13,13,13,14,14,15,15,15,15,17,17,12,11,12,12,13,13,13,14,14,15,15,15,15,16,16,16,12,12,12,12,13,13,14,14,15,15,15,15,16,15,16,15,13,12,13,12,13,14,14,14,14,15,16,16,16,17,17,16,12,13,13,13,13,14,14,15,16,16,16,16,16,16,15,16,13,13,14,14,14,14,15,15,15,15,17,16,16,16,16,18,13,15,14,14,14,15,15,16,16,16,18,17,17,17,19,17,13,14,15,13,14,16,16,15,16,16,17,18,17,19,17,16,13,10,10,10,11,11,12,12,12,13,13,13,13,13,13,13,10],t24l:[4,5,7,8,9,10,10,11,11,12,12,12,12,12,13,10,5,6,7,8,9,10,10,11,11,11,12,12,12,12,12,10,7,7,8,9,9,10,10,11,11,11,11,12,12,12,13,9,8,8,9,9,10,10,10,11,11,11,11,12,12,12,12,9,9,9,9,10,10,10,10,11,11,11,12,12,12,12,13,9,10,9,10,10,10,10,11,11,11,11,12,12,12,12,12,9,10,10,10,10,10,11,11,11,11,12,12,12,12,12,13,9,11,10,10,10,11,11,11,11,12,12,12,12,12,13,13,10,11,11,11,11,11,11,11,11,11,12,12,12,12,13,13,10,11,11,11,11,11,11,11,12,12,12,12,12,13,13,13,10,12,11,11,11,11,12,12,12,12,12,12,13,13,13,13,10,12,12,11,11,11,12,12,12,12,12,12,13,13,13,13,10,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,10,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,10,13,12,12,12,12,12,12,13,13,13,13,13,13,13,13,10,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,6],t32l:[1,5,5,7,5,8,7,9,5,7,7,9,7,9,9,10],t33l:[4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8]};r.ht=[new n(0,0,null,null),new n(2,0,r.t1HB,r.t1l),new n(3,0,r.t2HB,r.t2l),new n(3,0,r.t3HB,r.t3l),new n(0,0,null,null),new n(4,0,r.t5HB,r.t5l),new n(4,0,r.t6HB,r.t6l),new n(6,0,r.t7HB,r.t7l),new n(6,0,r.t8HB,r.t8l),new n(6,0,r.t9HB,r.t9l),new n(8,0,r.t10HB,r.t10l),new n(8,0,r.t11HB,r.t11l),new n(8,0,r.t12HB,r.t12l),new n(16,0,r.t13HB,r.t13l),new n(0,0,null,r.t16_5l),new n(16,0,r.t15HB,r.t15l),new n(1,1,r.t16HB,r.t16l),new n(2,3,r.t16HB,r.t16l),new n(3,7,r.t16HB,r.t16l),new n(4,15,r.t16HB,r.t16l),new n(6,63,r.t16HB,r.t16l),new n(8,255,r.t16HB,r.t16l),new n(10,1023,r.t16HB,r.t16l),new n(13,8191,r.t16HB,r.t16l),new n(4,15,r.t24HB,r.t24l),new n(5,31,r.t24HB,r.t24l),new n(6,63,r.t24HB,r.t24l),new n(7,127,r.t24HB,r.t24l),new n(8,255,r.t24HB,r.t24l),new n(9,511,r.t24HB,r.t24l),new n(11,2047,r.t24HB,r.t24l),new n(13,8191,r.t24HB,r.t24l),new n(0,0,r.t32HB,r.t32l),new n(0,0,r.t33HB,r.t33l)],r.largetbl=[65540,327685,458759,589832,655369,655370,720906,720907,786443,786444,786444,851980,851980,851980,917517,655370,262149,393222,524295,589832,655369,720906,720906,720907,786443,786443,786444,851980,917516,851980,917516,655370,458759,524295,589832,655369,720905,720906,786442,786443,851979,786443,851979,851980,851980,917516,917517,720905,589832,589832,655369,720905,720906,786442,786442,786443,851979,851979,917515,917516,917516,983052,983052,786441,655369,655369,720905,720906,786442,786442,851978,851979,851979,917515,917516,917516,983052,983052,983053,720905,655370,655369,720906,720906,786442,851978,851979,917515,851979,917515,917516,983052,983052,983052,1048588,786441,720906,720906,720906,786442,851978,851979,851979,851979,917515,917516,917516,917516,983052,983052,1048589,786441,720907,720906,786442,786442,851979,851979,851979,917515,917516,983052,983052,983052,983052,1114125,1114125,786442,720907,786443,786443,851979,851979,851979,917515,917515,983051,983052,983052,983052,1048588,1048589,1048589,786442,786443,786443,786443,851979,851979,917515,917515,983052,983052,983052,983052,1048588,983053,1048589,983053,851978,786444,851979,786443,851979,917515,917516,917516,917516,983052,1048588,1048588,1048589,1114125,1114125,1048589,786442,851980,851980,851979,851979,917515,917516,983052,1048588,1048588,1048588,1048588,1048589,1048589,983053,1048589,851978,851980,917516,917516,917516,917516,983052,983052,983052,983052,1114124,1048589,1048589,1048589,1048589,1179661,851978,983052,917516,917516,917516,983052,983052,1048588,1048588,1048589,1179661,1114125,1114125,1114125,1245197,1114125,851978,917517,983052,851980,917516,1048588,1048588,983052,1048589,1048589,1114125,1179661,1114125,1245197,1114125,1048589,851978,655369,655369,655369,720905,720905,786441,786441,786441,851977,851977,851977,851978,851978,851978,851978,655366],r.table23=[65538,262147,458759,262148,327684,458759,393222,458759,524296],r.table56=[65539,262148,458758,524296,262148,327684,524294,589831,458757,524294,589831,655368,524295,524295,589832,655369],r.bitrate_table=[[0,8,16,24,32,40,48,56,64,80,96,112,128,144,160,-1],[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],[0,8,16,24,32,40,48,56,64,-1,-1,-1,-1,-1,-1,-1]],r.samplerate_table=[[22050,24e3,16e3,-1],[44100,48e3,32e3,-1],[11025,12e3,8e3,-1]],r.scfsi_band=[0,6,11,16,21],e.exports=r},OYls:function(e,t,n){n("crlp")("asyncIterator")},"Oi+a":function(e,t,n){"use strict";var r=n("dIwP"),i=n("qRfI");e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},OvRC:function(e,t,n){e.exports={default:n("oM7Q"),__esModule:!0}},OwOc:function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"b",function(){return i}),n.d(t,"a",function(){return o}),n.d(t,"d",function(){return h}),t.e=function(e){for(var t in h)e[t]&&(h[t]=e[t])};var r=12,i="sans-serif",o=r+"px "+i,a=20,s=100;var l,c,u=function(e){var t={};if("undefined"==typeof JSON)return t;for(var n=0;n<e.length;n++){var r=String.fromCharCode(n+32),i=(e.charCodeAt(n)-a)/s;t[r]=i}return t}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),h={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(e,t){if(!l){var n=h.createCanvas();l=n&&n.getContext("2d")}if(l)return c!==t&&(c=l.font=t||o),l.measureText(e);e=e||"";var i=/(\d+)px/.exec(t=t||o),a=i&&+i[1]||r,s=0;if(t.indexOf("mono")>=0)s=a*e.length;else for(var d=0;d<e.length;d++){var f=u[e[d]];s+=null==f?a:f*a}return{width:s}},loadImage:function(e,t,n){var r=new Image;return r.onload=t,r.onerror=n,r.src=e,r}}},PiFy:function(e,t,n){"use strict";var r=n("fRHV");e.exports=Function.prototype.bind||r},PzxK:function(e,t,n){var r=n("D2L2"),i=n("sB3e"),o=n("ax3d")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},QG6P:function(e,t,n){var r=n("/00o"),i=n("To6e"),o=i.System,a=(i.VbrMode,i.Float,i.ShortBlock,i.Util,i.Arrays,i.new_array_n,i.new_byte,i.new_double,i.new_float),s=i.new_float_n;i.new_int,i.new_int_n,i.assert;e.exports=function(){this.l=a(r.SBMAX_l),this.s=s([r.SBMAX_s,3]);var e=this;this.assign=function(t){o.arraycopy(t.l,0,e.l,0,r.SBMAX_l);for(var n=0;n<r.SBMAX_s;n++)for(var i=0;i<3;i++)e.s[n][i]=t.s[n][i]}}},QRG4:function(e,t,n){var r=n("UuGF"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"QWe/":function(e,t,n){n("crlp")("observable")},QzLT:function(module,exports,__webpack_require__){(function(Buffer,process,global){var factory;factory=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLinkAttributes",{enumerable:!0,get:function(){return r.addLinkAttributes}}),Object.defineProperty(t,"getFilenameFromUrl",{enumerable:!0,get:function(){return r.getFilenameFromUrl}}),Object.defineProperty(t,"LinkTarget",{enumerable:!0,get:function(){return r.LinkTarget}}),Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return r.loadScript}}),Object.defineProperty(t,"PDFDateString",{enumerable:!0,get:function(){return r.PDFDateString}}),Object.defineProperty(t,"RenderingCancelledException",{enumerable:!0,get:function(){return r.RenderingCancelledException}}),Object.defineProperty(t,"build",{enumerable:!0,get:function(){return i.build}}),Object.defineProperty(t,"getDocument",{enumerable:!0,get:function(){return i.getDocument}}),Object.defineProperty(t,"LoopbackPort",{enumerable:!0,get:function(){return i.LoopbackPort}}),Object.defineProperty(t,"PDFDataRangeTransport",{enumerable:!0,get:function(){return i.PDFDataRangeTransport}}),Object.defineProperty(t,"PDFWorker",{enumerable:!0,get:function(){return i.PDFWorker}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return i.version}}),Object.defineProperty(t,"CMapCompressionType",{enumerable:!0,get:function(){return o.CMapCompressionType}}),Object.defineProperty(t,"createObjectURL",{enumerable:!0,get:function(){return o.createObjectURL}}),Object.defineProperty(t,"createPromiseCapability",{enumerable:!0,get:function(){return o.createPromiseCapability}}),Object.defineProperty(t,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return o.createValidAbsoluteUrl}}),Object.defineProperty(t,"InvalidPDFException",{enumerable:!0,get:function(){return o.InvalidPDFException}}),Object.defineProperty(t,"MissingPDFException",{enumerable:!0,get:function(){return o.MissingPDFException}}),Object.defineProperty(t,"OPS",{enumerable:!0,get:function(){return o.OPS}}),Object.defineProperty(t,"PasswordResponses",{enumerable:!0,get:function(){return o.PasswordResponses}}),Object.defineProperty(t,"PermissionFlag",{enumerable:!0,get:function(){return o.PermissionFlag}}),Object.defineProperty(t,"removeNullCharacters",{enumerable:!0,get:function(){return o.removeNullCharacters}}),Object.defineProperty(t,"shadow",{enumerable:!0,get:function(){return o.shadow}}),Object.defineProperty(t,"UnexpectedResponseException",{enumerable:!0,get:function(){return o.UnexpectedResponseException}}),Object.defineProperty(t,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return o.UNSUPPORTED_FEATURES}}),Object.defineProperty(t,"Util",{enumerable:!0,get:function(){return o.Util}}),Object.defineProperty(t,"VerbosityLevel",{enumerable:!0,get:function(){return o.VerbosityLevel}}),Object.defineProperty(t,"AnnotationLayer",{enumerable:!0,get:function(){return a.AnnotationLayer}}),Object.defineProperty(t,"apiCompatibilityParams",{enumerable:!0,get:function(){return s.apiCompatibilityParams}}),Object.defineProperty(t,"GlobalWorkerOptions",{enumerable:!0,get:function(){return l.GlobalWorkerOptions}}),Object.defineProperty(t,"renderTextLayer",{enumerable:!0,get:function(){return c.renderTextLayer}}),Object.defineProperty(t,"SVGGraphics",{enumerable:!0,get:function(){return u.SVGGraphics}});var r=n(1),i=n(198),o=n(5),a=n(209),s=n(200),l=n(203),c=n(210),u=n(211);if(n(7).isNodeJS){var h=n(212).PDFNodeStream;(0,i.setPDFNetworkStreamFactory)(function(e){return new h(e)})}else{var d,f=n(215).PDFNetworkStream;(0,r.isFetchSupported)()&&(d=n(216).PDFFetchStream),(0,i.setPDFNetworkStreamFactory)(function(e){return d&&(0,r.isValidFetchUrl)(e.url)?new d(e):new f(e)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLinkAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.url,r=t.target,i=t.rel,a=t.enabled,s=void 0===a||a;(0,o.assert)(n&&"string"==typeof n,'addLinkAttributes: A valid "url" parameter must provided.');var l=(0,o.removeNullCharacters)(n);s?e.href=e.title=l:(e.href="",e.title="Disabled: ".concat(l),e.onclick=function(){return!1});var c="";switch(r){case C.NONE:break;case C.SELF:c="_self";break;case C.BLANK:c="_blank";break;case C.PARENT:c="_parent";break;case C.TOP:c="_top"}e.target=c,e.rel="string"==typeof i?i:v},t.getFilenameFromUrl=function(e){var t=e.indexOf("#"),n=e.indexOf("?"),r=Math.min(t>0?t:e.length,n>0?n:e.length);return e.substring(e.lastIndexOf("/",r)+1,r)},t.isFetchSupported=k,t.isValidFetchUrl=T,t.loadScript=function(e){return new Promise(function(t,n){var r=document.createElement("script");r.src=e,r.onload=t,r.onerror=function(){n(new Error("Cannot load script at: ".concat(r.src)))},(document.head||document.documentElement).appendChild(r)})},t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.PDFDateString=t.StatTimer=t.DOMSVGFactory=t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.LinkTarget=t.RenderingCancelledException=t.PageViewport=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e){"@babel/helpers - typeof";return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)})}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&A(e.prototype,t),n&&A(e,n),e}var v="noopener noreferrer nofollow";t.DEFAULT_LINK_REL=v;var m="http://www.w3.org/2000/svg",y=function(){function e(){p(this,e)}return g(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");var n=document.createElement("canvas"),r=n.getContext("2d");return n.width=e,n.height=t,{canvas:n,context:r}}},{key:"reset",value:function(e,t,n){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||n<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=n}},{key:"destroy",value:function(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}}]),e}();t.DOMCanvasFactory=y;var b=function(){function e(t){var n=t.baseUrl,r=void 0===n?null:n,i=t.isCompressed,o=void 0!==i&&i;p(this,e),this.baseUrl=r,this.isCompressed=o}return g(e,[{key:"fetch",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=f(i.default.mark(function e(t){var n,r,a,s=this;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.name,this.baseUrl){e.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(n){e.next=5;break}throw new Error("CMap name must be specified.");case 5:if(r=this.baseUrl+n+(this.isCompressed?".bcmap":""),a=this.isCompressed?o.CMapCompressionType.BINARY:o.CMapCompressionType.NONE,!k()||!T(r,document.baseURI)){e.next=9;break}return e.abrupt("return",fetch(r).then(function(){var e=f(i.default.mark(function e(t){var n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.ok){e.next=2;break}throw new Error(t.statusText);case 2:if(!s.isCompressed){e.next=10;break}return e.t0=Uint8Array,e.next=6,t.arrayBuffer();case 6:e.t1=e.sent,n=new e.t0(e.t1),e.next=15;break;case 10:return e.t2=o.stringToBytes,e.next=13,t.text();case 13:e.t3=e.sent,n=(0,e.t2)(e.t3);case 15:return e.abrupt("return",{cMapData:n,compressionType:a});case 16:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()).catch(function(e){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"")+"CMap at: ".concat(r))}));case 9:return e.abrupt("return",new Promise(function(e,t){var n=new XMLHttpRequest;n.open("GET",r,!0),s.isCompressed&&(n.responseType="arraybuffer"),n.onreadystatechange=function(){if(n.readyState===XMLHttpRequest.DONE){var r;if(200===n.status||0===n.status)if(s.isCompressed&&n.response?r=new Uint8Array(n.response):!s.isCompressed&&n.responseText&&(r=(0,o.stringToBytes)(n.responseText)),r)return void e({cMapData:r,compressionType:a});t(new Error(n.statusText))}},n.send(null)}).catch(function(e){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"")+"CMap at: ".concat(r))}));case 10:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}())}]),e}();t.DOMCMapReaderFactory=b;var _=function(){function e(){p(this,e)}return g(e,[{key:"create",value:function(e,t){(0,o.assert)(e>0&&t>0,"Invalid SVG dimensions");var n=document.createElementNS(m,"svg:svg");return n.setAttribute("version","1.1"),n.setAttribute("width",e+"px"),n.setAttribute("height",t+"px"),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox","0 0 "+e+" "+t),n}},{key:"createElement",value:function(e){return(0,o.assert)("string"==typeof e,"Invalid SVG element type"),document.createElementNS(m,e)}}]),e}();t.DOMSVGFactory=_;var w=function(){function e(t){var n=t.viewBox,r=t.scale,i=t.rotation,o=t.offsetX,a=void 0===o?0:o,s=t.offsetY,l=void 0===s?0:s,c=t.dontFlip,u=void 0!==c&&c;p(this,e),this.viewBox=n,this.scale=r,this.rotation=i,this.offsetX=a,this.offsetY=l;var h,d,f,A,g,v,m,y,b=(n[2]+n[0])/2,_=(n[3]+n[1])/2;switch(i=(i%=360)<0?i+360:i){case 180:h=-1,d=0,f=0,A=1;break;case 90:h=0,d=1,f=1,A=0;break;case 270:h=0,d=-1,f=-1,A=0;break;case 0:h=1,d=0,f=0,A=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}u&&(f=-f,A=-A),0===h?(g=Math.abs(_-n[1])*r+a,v=Math.abs(b-n[0])*r+l,m=Math.abs(n[3]-n[1])*r,y=Math.abs(n[2]-n[0])*r):(g=Math.abs(b-n[0])*r+a,v=Math.abs(_-n[1])*r+l,m=Math.abs(n[2]-n[0])*r,y=Math.abs(n[3]-n[1])*r),this.transform=[h*r,d*r,f*r,A*r,g-h*r*b-f*r*_,v-d*r*b-A*r*_],this.width=m,this.height=y}return g(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.scale,r=void 0===n?this.scale:n,i=t.rotation,o=void 0===i?this.rotation:i,a=t.offsetX,s=void 0===a?this.offsetX:a,l=t.offsetY,c=void 0===l?this.offsetY:l,u=t.dontFlip,h=void 0!==u&&u;return new e({viewBox:this.viewBox.slice(),scale:r,rotation:o,offsetX:s,offsetY:c,dontFlip:h})}},{key:"convertToViewportPoint",value:function(e,t){return o.Util.applyTransform([e,t],this.transform)}},{key:"convertToViewportRectangle",value:function(e){var t=o.Util.applyTransform([e[0],e[1]],this.transform),n=o.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],n[0],n[1]]}},{key:"convertToPdfPoint",value:function(e,t){return o.Util.applyInverseTransform([e,t],this.transform)}}]),e}();t.PageViewport=w;var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(n,o.BaseException);var t=u(n);function n(e,r){var i;return p(this,n),(i=t.call(this,e)).type=r,i}return n}();t.RenderingCancelledException=x;var C={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};t.LinkTarget=C;var S,B=function(){function e(){p(this,e),this.started=Object.create(null),this.times=[]}return g(e,[{key:"time",value:function(e){e in this.started&&(0,o.warn)("Timer is already running for ".concat(e)),this.started[e]=Date.now()}},{key:"timeEnd",value:function(e){e in this.started||(0,o.warn)("Timer has not been started for ".concat(e)),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e]}},{key:"toString",value:function(){var e,t=[],n=0,r=a(this.times);try{for(r.s();!(e=r.n()).done;){var i=e.value.name;i.length>n&&(n=i.length)}}catch(e){r.e(e)}finally{r.f()}var o,s=a(this.times);try{for(s.s();!(o=s.n()).done;){var l=o.value,c=l.end-l.start;t.push("".concat(l.name.padEnd(n)," ").concat(c,"ms\n"))}}catch(e){s.e(e)}finally{s.f()}return t.join("")}}]),e}();function k(){return"undefined"!=typeof fetch&&"undefined"!=typeof Response&&"body"in Response.prototype&&"undefined"!=typeof ReadableStream}function T(e,t){try{var n=(t?new URL(e,t):new URL(e)).protocol;return"http:"===n||"https:"===n}catch(e){return!1}}t.StatTimer=B;var E=function(){function e(){p(this,e)}return g(e,null,[{key:"toDateObject",value:function(e){if(!e||!(0,o.isString)(e))return null;S||(S=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var t=S.exec(e);if(!t)return null;var n=parseInt(t[1],10),r=parseInt(t[2],10);r=r>=1&&r<=12?r-1:0;var i=parseInt(t[3],10);i=i>=1&&i<=31?i:1;var a=parseInt(t[4],10);a=a>=0&&a<=23?a:0;var s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;var l=parseInt(t[6],10);l=l>=0&&l<=59?l:0;var c=t[7]||"Z",u=parseInt(t[8],10);u=u>=0&&u<=23?u:0;var h=parseInt(t[9],10)||0;return h=h>=0&&h<=59?h:0,"-"===c?(a+=u,s+=h):"+"===c&&(a-=u,s-=h),new Date(Date.UTC(n,r,i,a,s,l))}}]),e}();t.PDFDateString=E},function(e,t,n){"use strict";e.exports=n(3)},function(e,t,n){"use strict";(function(e){function t(e){"@babel/helpers - typeof";return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var n=function(e){var n,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,o=Object.create(i.prototype),a=new T(r||[]);return o._invoke=function(e,t,n){var r=h;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return M()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===A)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=u(e,t,n);if("normal"===l.type){if(r=n.done?p:d,l.arg===A)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var h="suspendedStart",d="suspendedYield",f="executing",p="completed",A={};function g(){}function v(){}function m(){}var y={};y[a]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(E([])));_&&_!==r&&i.call(_,a)&&(y=_);var w=m.prototype=g.prototype=Object.create(y);function x(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e,n){var r;this._invoke=function(o,a){function s(){return new n(function(r,s){!function r(o,a,s,l){var c=u(e[o],e,a);if("throw"!==c.type){var h=c.arg,d=h.value;return d&&"object"===t(d)&&i.call(d,"__await")?n.resolve(d.__await).then(function(e){r("next",e,s,l)},function(e){r("throw",e,s,l)}):n.resolve(d).then(function(e){h.value=e,s(h)},function(e){return r("throw",e,s,l)})}l(c.arg)}(o,a,r,s)})}return r=r?r.then(s,s):s()}}function S(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,S(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var i=u(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,A;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,A):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function E(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:M}}function M(){return{value:n,done:!0}}return v.prototype=w.constructor=m,m.constructor=v,m[l]=v.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(C.prototype),C.prototype[s]=function(){return this},e.AsyncIterator=C,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new C(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},x(w),w[l]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=E,T.prototype={constructor:T,reset:function(e){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(k),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,A):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),A},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:E(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),A}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(4)(e))},function(e,t,n){"use strict";e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayByteLength=B,t.arraysToBytes=function(e){var t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];for(var n=0,r=0;r<t;r++)n+=B(e[r]);for(var i=0,o=new Uint8Array(n),a=0;a<t;a++){var s=e[a];s instanceof Uint8Array||(s="string"==typeof s?S(s):new Uint8Array(s));var l=s.byteLength;o.set(s,i),i+=l}return o},t.assert=p,t.bytesToString=function(e){p(null!==e&&"object"===i(e)&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length;if(t<8192)return String.fromCharCode.apply(null,e);for(var n=[],r=0;r<t;r+=8192){var o=Math.min(r+8192,t),a=e.subarray(r,o);n.push(String.fromCharCode.apply(null,a))}return n.join("")},t.createPromiseCapability=function(){var e=Object.create(null),t=!1;return Object.defineProperty(e,"settled",{get:function(){return t}}),e.promise=new Promise(function(n,r){e.resolve=function(e){t=!0,n(e)},e.reject=function(e){t=!0,r(e)}}),e},t.getVerbosityLevel=function(){return h},t.info=function(e){h>=u.INFOS&&console.log("Info: ".concat(e))},t.isArrayBuffer=function(e){return"object"===i(e)&&null!==e&&void 0!==e.byteLength},t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;return e.every(function(e,n){return e===t[n]})},t.isBool=function(e){return"boolean"==typeof e},t.isEmptyObj=function(e){for(var t in e)return!1;return!0},t.isNum=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSameOrigin=function(e,t){var n;try{if(!(n=new URL(e)).origin||"null"===n.origin)return!1}catch(e){return!1}var r=new URL(t,n);return n.origin===r.origin},t.createValidAbsoluteUrl=function(e,t){if(!e)return null;try{var n=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(n))return n}catch(e){}return null},t.removeNullCharacters=function(e){if("string"!=typeof e)return d("The argument for removeNullCharacters must be a string."),e;return e.replace(C,"")},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(h=e)},t.shadow=A,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=S,t.stringToPDFString=function(e){var t=e.length,n=[];if("þ"===e[0]&&"ÿ"===e[1])for(var r=2;r<t;r+=2)n.push(String.fromCharCode(e.charCodeAt(r)<<8|e.charCodeAt(r+1)));else if("ÿ"===e[0]&&"þ"===e[1])for(var i=2;i<t;i+=2)n.push(String.fromCharCode(e.charCodeAt(i+1)<<8|e.charCodeAt(i)));else for(var o=0;o<t;++o){var a=D[e.charCodeAt(o)];n.push(a?String.fromCharCode(a):e.charAt(o))}return n.join("")},t.stringToUTF8String=function(e){return decodeURIComponent(escape(e))},t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=d,t.unreachable=f,t.IsEvalSupportedCached=t.IsLittleEndianCached=t.createObjectURL=t.FormatError=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.MissingPDFException=t.InvalidPDFException=t.AbortException=t.CMapCompressionType=t.ImageKind=t.FontType=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.UNSUPPORTED_FEATURES=t.VerbosityLevel=t.OPS=t.IDENTITY_MATRIX=t.FONT_IDENTITY_MATRIX=t.BaseException=void 0,n(6);t.IDENTITY_MATRIX=[1,0,0,1,0,0];t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0];t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"};t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"};t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};t.AnnotationReplyType={GROUP:"Group",REPLY:"R"};t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};t.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};t.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var u={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=u;t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2};t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontGetPath:"errorFontGetPath"};t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var h=u.WARNINGS;function d(e){h>=u.WARNINGS&&console.log("Warning: ".concat(e))}function f(e){throw new Error(e)}function p(e,t){e||f(t)}function A(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}var g=function(){function e(t){this.constructor===e&&f("Cannot initialize BaseException."),this.message=t,this.name=this.constructor.name}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=g;var v=function(e){a(n,g);var t=l(n);function n(e,r){var i;return o(this,n),(i=t.call(this,e)).code=r,i}return n}();t.PasswordException=v;var m=function(e){a(n,g);var t=l(n);function n(e,r){var i;return o(this,n),(i=t.call(this,e)).details=r,i}return n}();t.UnknownErrorException=m;var y=function(e){a(n,g);var t=l(n);function n(){return o(this,n),t.apply(this,arguments)}return n}();t.InvalidPDFException=y;var b=function(e){a(n,g);var t=l(n);function n(){return o(this,n),t.apply(this,arguments)}return n}();t.MissingPDFException=b;var _=function(e){a(n,g);var t=l(n);function n(e,r){var i;return o(this,n),(i=t.call(this,e)).status=r,i}return n}();t.UnexpectedResponseException=_;var w=function(e){a(n,g);var t=l(n);function n(){return o(this,n),t.apply(this,arguments)}return n}();t.FormatError=w;var x=function(e){a(n,g);var t=l(n);function n(){return o(this,n),t.apply(this,arguments)}return n}();t.AbortException=x;var C=/\x00/g;function S(e){p("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,n=new Uint8Array(t),r=0;r<t;++r)n[r]=255&e.charCodeAt(r);return n}function B(e){return void 0!==e.length?e.length:(p(void 0!==e.byteLength,"arrayByteLength - invalid argument."),e.byteLength)}var k={get value(){return A(this,"value",((e=new Uint8Array(4))[0]=1,1===new Uint32Array(e.buffer,0,1)[0]));var e}};t.IsLittleEndianCached=k;var T={get value(){return A(this,"value",function(){try{return new Function(""),!0}catch(e){return!1}}())}};t.IsEvalSupportedCached=T;var E=["rgb(",0,",",0,",",0,")"],M=function(){function e(){o(this,e)}var t,n,i;return t=e,i=[{key:"makeCssRgb",value:function(e,t,n){return E[1]=e,E[3]=t,E[5]=n,E.join("")}},{key:"transform",value:function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}},{key:"applyTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}},{key:"applyInverseTransform",value:function(e,t){var n=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/n,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/n]}},{key:"getAxialAlignedBoundingBox",value:function(t,n){var r=e.applyTransform(t,n),i=e.applyTransform(t.slice(2,4),n),o=e.applyTransform([t[0],t[3]],n),a=e.applyTransform([t[2],t[1]],n);return[Math.min(r[0],i[0],o[0],a[0]),Math.min(r[1],i[1],o[1],a[1]),Math.max(r[0],i[0],o[0],a[0]),Math.max(r[1],i[1],o[1],a[1])]}},{key:"inverseTransform",value:function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}},{key:"apply3dTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],n=e[0]*t[0]+e[1]*t[2],r=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],o=e[2]*t[1]+e[3]*t[3],a=(n+o)/2,s=Math.sqrt((n+o)*(n+o)-4*(n*o-i*r))/2,l=a+s||1,c=a-s||1;return[Math.sqrt(l),Math.sqrt(c)]}},{key:"normalizeRect",value:function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}},{key:"intersect",value:function(t,n){function r(e,t){return e-t}var i=[t[0],t[2],n[0],n[2]].sort(r),o=[t[1],t[3],n[1],n[3]].sort(r),a=[];return t=e.normalizeRect(t),n=e.normalizeRect(n),i[0]===t[0]&&i[1]===n[0]||i[0]===n[0]&&i[1]===t[0]?(a[0]=i[1],a[2]=i[2],o[0]===t[1]&&o[1]===n[1]||o[0]===n[1]&&o[1]===t[1]?(a[1]=o[1],a[3]=o[2],a):null):null}}],(n=null)&&r(t.prototype,n),i&&r(t,i),e}();t.Util=M;var D=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];var O,I=(O="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",function(e,t){if(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&URL.createObjectURL){var n=new Blob([e],{type:t});return URL.createObjectURL(n)}for(var r="data:".concat(t,";base64,"),i=0,o=e.length;i<o;i+=3){var a=255&e[i],s=255&e[i+1],l=255&e[i+2];r+=O[a>>2]+O[(3&a)<<4|s>>4]+O[i+1<o?(15&s)<<2|l>>6:64]+O[i+2<o?63&l:64]}return r});t.createObjectURL=I},function(e,t,n){"use strict";var r=n(7);function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}if("undefined"==typeof globalThis||!globalThis._pdfjsCompatibilityChecked){"undefined"!=typeof globalThis&&globalThis.Math===Math||(globalThis=n(8)),globalThis._pdfjsCompatibilityChecked=!0;var o="object"===("undefined"==typeof window?"undefined":i(window))&&"object"===("undefined"==typeof document?"undefined":i(document)),a="undefined"!=typeof navigator&&navigator.userAgent||"",s=/Trident/.test(a);!globalThis.btoa&&r.isNodeJS&&(globalThis.btoa=function(e){return Buffer.from(e,"binary").toString("base64")}),!globalThis.atob&&r.isNodeJS&&(globalThis.atob=function(e){return Buffer.from(e,"base64").toString("binary")}),o&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),function(){if(o&&!r.isNodeJS){var e=document.createElement("div");if(e.classList.add("testOne","testTwo"),!0!==e.classList.contains("testOne")||!0!==e.classList.contains("testTwo")){var t=DOMTokenList.prototype.add,n=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];t.call(this,a)}},DOMTokenList.prototype.remove=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var i=0,o=t;i<o.length;i++){var a=o[i];n.call(this,a)}}}}}(),o&&!r.isNodeJS&&!1!==document.createElement("div").classList.toggle("test",0)&&(DOMTokenList.prototype.toggle=function(e){var t=arguments.length>1?!!arguments[1]:!this.contains(e);return this[t?"add":"remove"](e),t}),function(){if(o&&s){var e=window.history.pushState,t=window.history.replaceState;window.history.pushState=function(t,n,r){var i=void 0===r?[t,n]:[t,n,r];e.apply(this,i)},window.history.replaceState=function(e,n,r){var i=void 0===r?[e,n]:[e,n,r];t.apply(this,i)}}}(),String.prototype.startsWith||n(53),String.prototype.endsWith||n(64),String.prototype.includes||n(66),Array.prototype.includes||n(68),Array.from||n(76),Object.assign||n(98),Math.log2||(Math.log2=n(101)),Number.isNaN||(Number.isNaN=n(103)),Number.isInteger||(Number.isInteger=n(105)),Uint8Array.prototype.slice||n(108),globalThis.Promise&&globalThis.Promise.allSettled||(globalThis.Promise=n(113)),globalThis.URL=n(136),function(){var e=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),e=!0}catch(e){}e||(globalThis.ReadableStream=n(143).ReadableStream)}(),globalThis.Map&&globalThis.Map.prototype.entries||(globalThis.Map=n(144)),globalThis.Set&&globalThis.Set.prototype.entries||(globalThis.Set=n(151)),globalThis.WeakMap||(globalThis.WeakMap=n(153)),globalThis.WeakSet||(globalThis.WeakSet=n(159)),String.prototype.codePointAt||n(161),String.fromCodePoint||(String.fromCodePoint=n(163)),globalThis.Symbol||n(165),String.prototype.padStart||n(188),String.prototype.padEnd||n(193),Object.values||(Object.values=n(195))}},function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;var i="object"===(void 0===process?"undefined":r(process))&&process+""=="[object process]"&&!process.versions.nw&&!process.versions.electron;t.isNodeJS=i},function(e,t,n){n(9),e.exports=n(11)},function(e,t,n){n(10)({global:!0},{globalThis:n(11)})},function(e,t,n){var r=n(11),i=n(12).f,o=n(26),a=n(29),s=n(30),l=n(40),c=n(52);e.exports=function(e,t){var n,u,h,d,f,p=e.target,A=e.global,g=e.stat;if(n=A?r:g?r[p]||s(p,{}):(r[p]||{}).prototype)for(u in t){if(d=t[u],h=e.noTargetGet?(f=i(n,u))&&f.value:n[u],!c(A?u:p+(g?".":"#")+u,e.forced)&&void 0!==h){if(typeof d==typeof h)continue;l(d,h)}(e.sham||h&&h.sham)&&o(d,"sham",!0),a(n,u,d,e)}}},function(e,t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},function(e,t,n){var r=n(13),i=n(15),o=n(16),a=n(17),s=n(21),l=n(23),c=n(24),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,n){var r=n(14);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(18),i=n(20);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(14),i=n(19),o="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(22);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(13),i=n(14),o=n(25);e.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(11),i=n(22),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(13),i=n(27),o=n(16);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(13),i=n(24),o=n(28),a=n(21),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(22);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(11),i=n(26),o=n(23),a=n(30),s=n(31),l=n(33),c=l.get,u=l.enforce,h=String(String).split("String");(e.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),u(n).source=h.join("string"==typeof t?t:"")),e!==r?(l?!d&&e[t]&&(c=!0):delete e[t],c?e[t]=n:i(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&c(this).source||s(this)})},function(e,t,n){var r=n(11),i=n(26);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(32),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(11),i=n(30),o=r["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t,n){var r,i,o,a=n(34),s=n(11),l=n(22),c=n(26),u=n(23),h=n(35),d=n(39),f=s.WeakMap;if(a){var p=new f,A=p.get,g=p.has,v=p.set;r=function(e,t){return v.call(p,e,t),t},i=function(e){return A.call(p,e)||{}},o=function(e){return g.call(p,e)}}else{var m=h("state");d[m]=!0,r=function(e,t){return c(e,m,t),t},i=function(e){return u(e,m)?e[m]:{}},o=function(e){return u(e,m)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(11),i=n(31),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},function(e,t,n){var r=n(36),i=n(38),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,n){var r=n(37),i=n(32);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(23),i=n(41),o=n(12),a=n(27);e.exports=function(e,t){for(var n=i(t),s=a.f,l=o.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},function(e,t,n){var r=n(42),i=n(44),o=n(51),a=n(28);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(43),i=n(11),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t,n){var r=n(11);e.exports=r},function(e,t,n){var r=n(45),i=n(50).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(23),i=n(17),o=n(46).indexOf,a=n(39);e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var r=n(17),i=n(47),o=n(49),a=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(48),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(48),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(14),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},function(e,t,n){n(54);var r=n(61);e.exports=r("String","startsWith")},function(e,t,n){"use strict";var r,i=n(10),o=n(12).f,a=n(47),s=n(55),l=n(20),c=n(60),u=n(37),h="".startsWith,d=Math.min,f=c("startsWith");i({target:"String",proto:!0,forced:!!(u||f||(r=o(String.prototype,"startsWith"),!r||r.writable))&&!f},{startsWith:function(e){var t=String(l(this));s(e);var n=a(d(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return h?h.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){var r=n(56);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(22),i=n(19),o=n(57)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(11),i=n(36),o=n(23),a=n(38),s=n(58),l=n(59),c=i("wks"),u=r.Symbol,h=l?u:u&&u.withoutSetter||a;e.exports=function(e){return o(c,e)||(s&&o(u,e)?c[e]=u[e]:c[e]=h("Symbol."+e)),c[e]}},function(e,t,n){var r=n(14);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(e,t,n){var r=n(58);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(57)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){var r=n(11),i=n(62),o=Function.call;e.exports=function(e,t,n){return i(o,r[e].prototype[t],n)}},function(e,t,n){var r=n(63);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){n(65);var r=n(61);e.exports=r("String","endsWith")},function(e,t,n){"use strict";var r,i=n(10),o=n(12).f,a=n(47),s=n(55),l=n(20),c=n(60),u=n(37),h="".endsWith,d=Math.min,f=c("endsWith");i({target:"String",proto:!0,forced:!!(u||f||(r=o(String.prototype,"endsWith"),!r||r.writable))&&!f},{endsWith:function(e){var t=String(l(this));s(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),i=void 0===n?r:d(a(n),r),o=String(e);return h?h.call(t,o,i):t.slice(i-o.length,i)===o}})},function(e,t,n){n(67);var r=n(61);e.exports=r("String","includes")},function(e,t,n){"use strict";var r=n(10),i=n(55),o=n(20);r({target:"String",proto:!0,forced:!n(60)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(69);var r=n(61);e.exports=r("Array","includes")},function(e,t,n){"use strict";var r=n(10),i=n(46).includes,o=n(70);r({target:"Array",proto:!0,forced:!n(75)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(e,t,n){var r=n(57),i=n(71),o=n(27),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){var r,i=n(28),o=n(72),a=n(50),s=n(39),l=n(74),c=n(25),u=n(35)("IE_PROTO"),h=function(){},d=function(e){return"<script>"+e+"<\/script>"},f=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;f=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete f.prototype[a[n]];return f()};s[u]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h.prototype=i(e),n=new h,h.prototype=null,n[u]=e):n=f(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(13),i=n(27),o=n(28),a=n(73);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,l=0;s>l;)i.f(e,n=r[l++],t[n]);return e}},function(e,t,n){var r=n(45),i=n(50);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(42);e.exports=r("document","documentElement")},function(e,t,n){var r=n(13),i=n(14),o=n(23),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],c=!!o(t,"ACCESSORS")&&t.ACCESSORS,u=o(t,0)?t[0]:l,h=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i(function(){if(c&&!r)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,u,h)})}},function(e,t,n){n(77),n(89);var r=n(43);e.exports=r.Array.from},function(e,t,n){"use strict";var r=n(78).charAt,i=n(33),o=n(79),a=i.set,s=i.getterFor("String Iterator");o(String,"String",function(e){a(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=s(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(48),i=n(20),o=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){"use strict";var r=n(10),i=n(80),o=n(82),a=n(87),s=n(85),l=n(26),c=n(29),u=n(57),h=n(37),d=n(86),f=n(81),p=f.IteratorPrototype,A=f.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v=function(){return this};e.exports=function(e,t,n,u,f,m,y){i(n,t,u);var b,_,w,x=function(e){if(e===f&&T)return T;if(!A&&e in B)return B[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},C=t+" Iterator",S=!1,B=e.prototype,k=B[g]||B["@@iterator"]||f&&B[f],T=!A&&k||x(f),E="Array"==t&&B.entries||k;if(E&&(b=o(E.call(new e)),p!==Object.prototype&&b.next&&(h||o(b)===p||(a?a(b,p):"function"!=typeof b[g]&&l(b,g,v)),s(b,C,!0,!0),h&&(d[C]=v))),"values"==f&&k&&"values"!==k.name&&(S=!0,T=function(){return k.call(this)}),h&&!y||B[g]===T||l(B,g,T),d[t]=T,f)if(_={values:x("values"),keys:m?T:x("keys"),entries:x("entries")},y)for(w in _)!A&&!S&&w in B||c(B,w,_[w]);else r({target:t,proto:!0,forced:A||S},_);return _}},function(e,t,n){"use strict";var r=n(81).IteratorPrototype,i=n(71),o=n(16),a=n(85),s=n(86),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,c,!1,!0),s[c]=l,e}},function(e,t,n){"use strict";var r,i,o,a=n(82),s=n(26),l=n(23),c=n(57),u=n(37),h=c("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):d=!0),void 0==r&&(r={}),u||l(r,h)||s(r,h,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var r=n(23),i=n(83),o=n(35),a=n(84),s=o("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){var r=n(20);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(14);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},function(e,t,n){var r=n(27).f,i=n(23),o=n(57)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t){e.exports={}},function(e,t,n){var r=n(28),i=n(88);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},function(e,t,n){var r=n(22);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(10),i=n(90);r({target:"Array",stat:!0,forced:!n(97)(function(e){Array.from(e)})},{from:i})},function(e,t,n){"use strict";var r=n(62),i=n(83),o=n(91),a=n(92),s=n(47),l=n(93),c=n(94);e.exports=function(e){var t,n,u,h,d,f,p=i(e),A="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,m=void 0!==v,y=c(p),b=0;if(m&&(v=r(v,g>2?arguments[2]:void 0,2)),void 0==y||A==Array&&a(y))for(n=new A(t=s(p.length));t>b;b++)f=m?v(p[b],b):p[b],l(n,b,f);else for(d=(h=y.call(p)).next,n=new A;!(u=d.call(h)).done;b++)f=m?o(h,v,[u.value,b],!0):u.value,l(n,b,f);return n.length=b,n}},function(e,t,n){var r=n(28);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(57),i=n(86),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){"use strict";var r=n(21),i=n(27),o=n(16);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){var r=n(95),i=n(86),o=n(57)("iterator");e.exports=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(96),i=n(19),o=n(57)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r={};r[n(57)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){var r=n(57)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},function(e,t,n){n(99);var r=n(43);e.exports=r.Object.assign},function(e,t,n){var r=n(10),i=n(100);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t,n){"use strict";var r=n(13),i=n(14),o=n(73),a=n(51),s=n(15),l=n(83),c=n(18),u=Object.assign,h=Object.defineProperty;e.exports=!u||i(function(){if(r&&1!==u({b:1},u(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=o(u({},t)).join("")})?function(e,t){for(var n=l(e),i=arguments.length,u=1,h=a.f,d=s.f;i>u;)for(var f,p=c(arguments[u++]),A=h?o(p).concat(h(p)):o(p),g=A.length,v=0;g>v;)f=A[v++],r&&!d.call(p,f)||(n[f]=p[f]);return n}:u},function(e,t,n){n(102);var r=n(43);e.exports=r.Math.log2},function(e,t,n){var r=n(10),i=Math.log,o=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return i(e)/o}})},function(e,t,n){n(104);var r=n(43);e.exports=r.Number.isNaN},function(e,t,n){n(10)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){n(106);var r=n(43);e.exports=r.Number.isInteger},function(e,t,n){n(10)({target:"Number",stat:!0},{isInteger:n(107)})},function(e,t,n){var r=n(22),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){n(109)},function(e,t,n){"use strict";var r=n(110),i=n(112),o=n(14),a=r.aTypedArray,s=r.aTypedArrayConstructor,l=r.exportTypedArrayMethod,c=[].slice;l("slice",function(e,t){for(var n=c.call(a(this),e,t),r=i(this,this.constructor),o=0,l=n.length,u=new(s(r))(l);l>o;)u[o]=n[o++];return u},o(function(){new Int8Array(1).slice()}))},function(e,t,n){"use strict";var r,i=n(111),o=n(13),a=n(11),s=n(22),l=n(23),c=n(95),u=n(26),h=n(29),d=n(27).f,f=n(82),p=n(87),A=n(57),g=n(38),v=a.Int8Array,m=v&&v.prototype,y=a.Uint8ClampedArray,b=y&&y.prototype,_=v&&f(v),w=m&&f(m),x=Object.prototype,C=x.isPrototypeOf,S=A("toStringTag"),B=g("TYPED_ARRAY_TAG"),k=i&&!!p&&"Opera"!==c(a.opera),T=!1,E={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M=function(e){return s(e)&&l(E,c(e))};for(r in E)a[r]||(k=!1);if((!k||"function"!=typeof _||_===Function.prototype)&&(_=function(){throw TypeError("Incorrect invocation")},k))for(r in E)a[r]&&p(a[r],_);if((!k||!w||w===x)&&(w=_.prototype,k))for(r in E)a[r]&&p(a[r].prototype,w);if(k&&f(b)!==w&&p(b,w),o&&!l(w,S))for(r in T=!0,d(w,S,{get:function(){return s(this)?this[B]:void 0}}),E)a[r]&&u(a[r],B,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:k,TYPED_ARRAY_TAG:T&&B,aTypedArray:function(e){if(M(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(C.call(_,e))return e}else for(var t in E)if(l(E,r)){var n=a[t];if(n&&(e===n||C.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(o){if(n)for(var r in E){var i=a[r];i&&l(i.prototype,e)&&delete i.prototype[e]}w[e]&&!n||h(w,e,n?t:k&&m[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(o){if(p){if(n)for(r in E)(i=a[r])&&l(i,e)&&delete i[e];if(_[e]&&!n)return;try{return h(_,e,n?t:k&&v[e]||t)}catch(e){}}for(r in E)!(i=a[r])||i[e]&&!n||h(i,e,t)}},isView:function(e){var t=c(e);return"DataView"===t||l(E,t)},isTypedArray:M,TypedArray:_,TypedArrayPrototype:w}},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){var r=n(28),i=n(63),o=n(57)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},function(e,t,n){n(114),n(77),n(116),n(119),n(134),n(135);var r=n(43);e.exports=r.Promise},function(e,t,n){var r=n(96),i=n(29),o=n(115);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(e,t,n){"use strict";var r=n(96),i=n(95);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){var r=n(11),i=n(117),o=n(118),a=n(26),s=n(57),l=s("iterator"),c=s("toStringTag"),u=o.values;for(var h in i){var d=r[h],f=d&&d.prototype;if(f){if(f[l]!==u)try{a(f,l,u)}catch(e){f[l]=u}if(f[c]||a(f,c,h),i[h])for(var p in o)if(f[p]!==o[p])try{a(f,p,o[p])}catch(e){f[p]=o[p]}}}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){"use strict";var r=n(17),i=n(70),o=n(86),a=n(33),s=n(79),l=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){"use strict";var r,i,o,a,s=n(10),l=n(37),c=n(11),u=n(42),h=n(120),d=n(29),f=n(121),p=n(85),A=n(122),g=n(22),v=n(63),m=n(123),y=n(19),b=n(31),_=n(124),w=n(97),x=n(112),C=n(125).set,S=n(128),B=n(129),k=n(131),T=n(130),E=n(132),M=n(33),D=n(52),O=n(57),I=n(133),L=O("species"),P="Promise",F=M.get,R=M.set,N=M.getterFor(P),H=h,j=c.TypeError,U=c.document,Q=c.process,z=u("fetch"),Y=T.f,V=Y,G="process"==y(Q),W=!!(U&&U.createEvent&&c.dispatchEvent),X=D(P,function(){if(!(b(H)!==String(H))){if(66===I)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!H.prototype.finally)return!0;if(I>=51&&/native code/.test(H))return!1;var e=H.resolve(1),t=function(e){e(function(){},function(){})};return(e.constructor={})[L]=t,!(e.then(function(){})instanceof t)}),Z=X||!w(function(e){H.all(e).catch(function(){})}),$=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},K=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;S(function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,l,c,u=r[a++],h=o?u.ok:u.fail,d=u.resolve,f=u.reject,p=u.domain;try{h?(o||(2===t.rejection&&te(e,t),t.rejection=1),!0===h?s=i:(p&&p.enter(),s=h(i),p&&(p.exit(),c=!0)),s===u.promise?f(j("Promise-chain cycle")):(l=$(s))?l.call(s,d,f):d(s)):f(i)}catch(e){p&&!c&&p.exit(),f(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&q(e,t)})}},J=function(e,t,n){var r,i;W?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},(i=c["on"+e])?i(r):"unhandledrejection"===e&&k("Unhandled promise rejection",n)},q=function(e,t){C.call(c,function(){var n,r=t.value;if(ee(t)&&(n=E(function(){G?Q.emit("unhandledRejection",r,e):J("unhandledrejection",e,r)}),t.rejection=G||ee(t)?2:1,n.error))throw n.value})},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){C.call(c,function(){G?Q.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)})},ne=function(e,t,n,r){return function(i){e(t,n,i,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,K(e,t,!0))},ie=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw j("Promise can't be resolved itself");var i=$(n);i?S(function(){var r={done:!1};try{i.call(n,ne(ie,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}}):(t.value=n,t.state=1,K(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};X&&(H=function(e){m(this,H,P),v(e),r.call(this);var t=F(this);try{e(ne(ie,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){R(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(H.prototype,{then:function(e,t){var n=N(this),r=Y(x(this,H));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=G?Q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&K(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=F(e);this.promise=e,this.resolve=ne(ie,e,t),this.reject=ne(re,e,t)},T.f=Y=function(e){return e===H||e===o?new i(e):V(e)},l||"function"!=typeof h||(a=h.prototype.then,d(h.prototype,"then",function(e,t){var n=this;return new H(function(e,t){a.call(n,e,t)}).then(e,t)},{unsafe:!0}),"function"==typeof z&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return B(H,z.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:X},{Promise:H}),p(H,P,!1,!0),A(P),o=u(P),s({target:P,stat:!0,forced:X},{reject:function(e){var t=Y(this);return t.reject.call(void 0,e),t.promise}}),s({target:P,stat:!0,forced:l||X},{resolve:function(e){return B(l&&this===o?H:this,e)}}),s({target:P,stat:!0,forced:Z},{all:function(e){var t=this,n=Y(t),r=n.resolve,i=n.reject,o=E(function(){var n=v(t.resolve),o=[],a=0,s=1;_(e,function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then(function(e){c||(c=!0,o[l]=e,--s||r(o))},i)}),--s||r(o)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=Y(t),r=n.reject,i=E(function(){var i=v(t.resolve);_(e,function(e){i.call(t,e).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},function(e,t,n){var r=n(11);e.exports=r.Promise},function(e,t,n){var r=n(29);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){"use strict";var r=n(42),i=n(27),o=n(57),a=n(13),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(28),i=n(92),o=n(47),a=n(62),s=n(94),l=n(91),c=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,h){var d,f,p,A,g,v,m,y=a(t,n,u?2:1);if(h)d=e;else{if("function"!=typeof(f=s(e)))throw TypeError("Target is not iterable");if(i(f)){for(p=0,A=o(e.length);A>p;p++)if((g=u?y(r(m=e[p])[0],m[1]):y(e[p]))&&g instanceof c)return g;return new c(!1)}d=f.call(e)}for(v=d.next;!(m=v.call(d)).done;)if("object"==typeof(g=l(d,y,m.value,u))&&g&&g instanceof c)return g;return new c(!1)}).stop=function(e){return new c(!0,e)}},function(e,t,n){var r,i,o,a=n(11),s=n(14),l=n(19),c=n(62),u=n(74),h=n(25),d=n(126),f=a.location,p=a.setImmediate,A=a.clearImmediate,g=a.process,v=a.MessageChannel,m=a.Dispatch,y=0,b={},_=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},w=function(e){return function(){_(e)}},x=function(e){_(e.data)},C=function(e){a.postMessage(e+"",f.protocol+"//"+f.host)};p&&A||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(y),y},A=function(e){delete b[e]},"process"==l(g)?r=function(e){g.nextTick(w(e))}:m&&m.now?r=function(e){m.now(w(e))}:v&&!d?(o=(i=new v).port2,i.port1.onmessage=x,r=c(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(C)||"file:"===f.protocol?r="onreadystatechange"in h("script")?function(e){u.appendChild(h("script")).onreadystatechange=function(){u.removeChild(this),_(e)}}:function(e){setTimeout(w(e),0)}:(r=C,a.addEventListener("message",x,!1))),e.exports={set:p,clear:A}},function(e,t,n){var r=n(127);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(42);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r,i,o,a,s,l,c,u,h=n(11),d=n(12).f,f=n(19),p=n(125).set,A=n(126),g=h.MutationObserver||h.WebKitMutationObserver,v=h.process,m=h.Promise,y="process"==f(v),b=d(h,"queueMicrotask"),_=b&&b.value;_||(r=function(){var e,t;for(y&&(e=v.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},y?a=function(){v.nextTick(r)}:g&&!A?(s=!0,l=document.createTextNode(""),new g(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):m&&m.resolve?(c=m.resolve(void 0),u=c.then,a=function(){u.call(c,r)}):a=function(){p.call(h,r)}),e.exports=_||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(28),i=n(22),o=n(130);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(63);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}(e)}},function(e,t,n){var r=n(11);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){var r,i,o=n(11),a=n(127),s=o.process,l=s&&s.versions,c=l&&l.v8;c?i=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),e.exports=i&&+i},function(e,t,n){"use strict";var r=n(10),i=n(63),o=n(130),a=n(132),s=n(124);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=o.f(t),r=n.resolve,l=n.reject,c=a(function(){var n=i(t.resolve),o=[],a=0,l=1;s(e,function(e){var i=a++,s=!1;o.push(void 0),l++,n.call(t,e).then(function(e){s||(s=!0,o[i]={status:"fulfilled",value:e},--l||r(o))},function(e){s||(s=!0,o[i]={status:"rejected",reason:e},--l||r(o))})}),--l||r(o)});return c.error&&l(c.value),n.promise}})},function(e,t,n){"use strict";var r=n(10),i=n(37),o=n(120),a=n(14),s=n(42),l=n(112),c=n(129),u=n(29);r({target:"Promise",proto:!0,real:!0,forced:!!o&&a(function(){o.prototype.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=l(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then(function(){return n})}:e,n?function(n){return c(t,e()).then(function(){throw n})}:e)}}),i||"function"!=typeof o||o.prototype.finally||u(o.prototype,"finally",s("Promise").prototype.finally)},function(e,t,n){n(137),n(142),n(140);var r=n(43);e.exports=r.URL},function(e,t,n){"use strict";n(77);var r,i=n(10),o=n(13),a=n(138),s=n(11),l=n(72),c=n(29),u=n(123),h=n(23),d=n(100),f=n(90),p=n(78).codeAt,A=n(139),g=n(85),v=n(140),m=n(33),y=s.URL,b=v.URLSearchParams,_=v.getState,w=m.set,x=m.getterFor("URL"),C=Math.floor,S=Math.pow,B=/[A-Za-z]/,k=/[\d+-.A-Za-z]/,T=/\d/,E=/^(0x|0X)/,M=/^[0-7]+$/,D=/^\d+$/,O=/^[\dA-Fa-f]+$/,I=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,L=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,P=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,F=/[\u0009\u000A\u000D]/g,R=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=H(t.slice(1,-1))))return"Invalid host";e.host=n}else if(W(e)){if(t=A(t),I.test(t))return"Invalid host";if(null===(n=N(t)))return"Invalid host";e.host=n}else{if(L.test(t))return"Invalid host";for(n="",r=f(t),i=0;i<r.length;i++)n+=V(r[i],U);e.host=n}},N=function(e){var t,n,r,i,o,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=l[r]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=E.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?D:8==o?M:O).test(i))return e;a=parseInt(i,o)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=S(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*S(256,3-r);return s},H=function(e){var t,n,r,i,o,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,h=0,d=function(){return e.charAt(h)};if(":"==d()){if(":"!=e.charAt(1))return;h+=2,u=++c}for(;d();){if(8==c)return;if(":"!=d()){for(t=n=0;n<4&&O.test(d());)t=16*t+parseInt(d(),16),h++,n++;if("."==d()){if(0==n)return;if(h-=n,c>6)return;for(r=0;d();){if(i=null,r>0){if(!("."==d()&&r<4))return;h++}if(!T.test(d()))return;for(;T.test(d());){if(o=parseInt(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;h++}l[c]=256*l[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==d()){if(h++,!d())return}else if(d())return;l[c++]=t}else{if(null!==u)return;h++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},j=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=C(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},U={},Q=d({},U,{" ":1,'"':1,"<":1,">":1,"`":1}),z=d({},Q,{"#":1,"?":1,"{":1,"}":1}),Y=d({},z,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=function(e,t){var n=p(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},G={ftp:21,file:null,http:80,https:443,ws:80,wss:443},W=function(e){return h(G,e.scheme)},X=function(e){return""!=e.username||""!=e.password},Z=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},$=function(e,t){var n;return 2==e.length&&B.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},K=function(e){var t;return e.length>1&&$(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},J=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&$(t[0],!0)||t.pop()},q=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},le={},ce={},ue={},he={},de={},fe={},pe={},Ae={},ge={},ve={},me={},ye={},be={},_e=function(e,t,n,i){var o,a,s,l,c,u=n||ee,d=0,p="",A=!1,g=!1,v=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(P,"")),t=t.replace(F,""),o=f(t);d<=o.length;){switch(a=o[d],u){case ee:if(!a||!B.test(a)){if(n)return"Invalid scheme";u=ne;continue}p+=a.toLowerCase(),u=te;break;case te:if(a&&(k.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";p="",u=ne,d=0;continue}if(n&&(W(e)!=h(G,p)||"file"==p&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,n)return void(W(e)&&G[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?u=fe:W(e)&&i&&i.scheme==e.scheme?u=re:W(e)?u=se:"/"==o[d+1]?(u=ie,d++):(e.cannotBeABaseURL=!0,e.path.push(""),u=me)}break;case ne:if(!i||i.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,u=be;break}u="file"==i.scheme?fe:oe;continue;case re:if("/"!=a||"/"!=o[d+1]){u=oe;continue}u=le,d++;break;case ie:if("/"==a){u=ce;break}u=ve;continue;case oe:if(e.scheme=i.scheme,a==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&W(e))u=ae;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",u=ye;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),u=ve;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=be}break;case ae:if(!W(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,u=ve;continue}u=ce}else u=le;break;case se:if(u=le,"/"!=a||"/"!=p.charAt(d+1))continue;d++;break;case le:if("/"!=a&&"\\"!=a){u=ce;continue}break;case ce:if("@"==a){A&&(p="%40"+p),A=!0,s=f(p);for(var m=0;m<s.length;m++){var y=s[m];if(":"!=y||v){var b=V(y,Y);v?e.password+=b:e.username+=b}else v=!0}p=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(A&&""==p)return"Invalid authority";d-=f(p).length+1,p="",u=ue}else p+=a;break;case ue:case he:if(n&&"file"==e.scheme){u=Ae;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(W(e)&&""==p)return"Invalid host";if(n&&""==p&&(X(e)||null!==e.port))return;if(l=R(e,p))return l;if(p="",u=ge,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),p+=a}else{if(""==p)return"Invalid host";if(l=R(e,p))return l;if(p="",u=de,n==he)return}break;case de:if(!T.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)||n){if(""!=p){var _=parseInt(p,10);if(_>65535)return"Invalid port";e.port=W(e)&&_===G[e.scheme]?null:_,p=""}if(n)return;u=ge;continue}return"Invalid port"}p+=a;break;case fe:if(e.scheme="file","/"==a||"\\"==a)u=pe;else{if(!i||"file"!=i.scheme){u=ve;continue}if(a==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",u=ye;else{if("#"!=a){K(o.slice(d).join(""))||(e.host=i.host,e.path=i.path.slice(),J(e)),u=ve;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",u=be}}break;case pe:if("/"==a||"\\"==a){u=Ae;break}i&&"file"==i.scheme&&!K(o.slice(d).join(""))&&($(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),u=ve;continue;case Ae:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&$(p))u=ve;else if(""==p){if(e.host="",n)return;u=ge}else{if(l=R(e,p))return l;if("localhost"==e.host&&(e.host=""),n)return;p="",u=ge}continue}p+=a;break;case ge:if(W(e)){if(u=ve,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=ve,"/"!=a))continue}else e.fragment="",u=be;else e.query="",u=ye;break;case ve:if(a==r||"/"==a||"\\"==a&&W(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=p).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(J(e),"/"==a||"\\"==a&&W(e)||e.path.push("")):q(p)?"/"==a||"\\"==a&&W(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&$(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=ye):"#"==a&&(e.fragment="",u=be)}else p+=V(a,z);break;case me:"?"==a?(e.query="",u=ye):"#"==a?(e.fragment="",u=be):a!=r&&(e.path[0]+=V(a,U));break;case ye:n||"#"!=a?a!=r&&("'"==a&&W(e)?e.query+="%27":e.query+="#"==a?"%23":V(a,U)):(e.fragment="",u=be);break;case be:a!=r&&(e.fragment+=V(a,Q))}d++}},we=function(e){var t,n,r=u(this,we,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=w(r,{type:"URL"});if(void 0!==i)if(i instanceof we)t=x(i);else if(n=_e(t={},String(i)))throw TypeError(n);if(n=_e(s,a,null,t))throw TypeError(n);var l=s.searchParams=new b,c=_(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},o||(r.href=Ce.call(r),r.origin=Se.call(r),r.protocol=Be.call(r),r.username=ke.call(r),r.password=Te.call(r),r.host=Ee.call(r),r.hostname=Me.call(r),r.port=De.call(r),r.pathname=Oe.call(r),r.search=Ie.call(r),r.searchParams=Le.call(r),r.hash=Pe.call(r))},xe=we.prototype,Ce=function(){var e=x(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==i?(c+="//",X(e)&&(c+=n+(r?":"+r:"")+"@"),c+=j(i),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},Se=function(){var e=x(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&W(e)?t+"://"+j(e.host)+(null!==n?":"+n:""):"null"},Be=function(){return x(this).scheme+":"},ke=function(){return x(this).username},Te=function(){return x(this).password},Ee=function(){var e=x(this),t=e.host,n=e.port;return null===t?"":null===n?j(t):j(t)+":"+n},Me=function(){var e=x(this).host;return null===e?"":j(e)},De=function(){var e=x(this).port;return null===e?"":String(e)},Oe=function(){var e=x(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ie=function(){var e=x(this).query;return e?"?"+e:""},Le=function(){return x(this).searchParams},Pe=function(){var e=x(this).fragment;return e?"#"+e:""},Fe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&l(xe,{href:Fe(Ce,function(e){var t=x(this),n=String(e),r=_e(t,n);if(r)throw TypeError(r);_(t.searchParams).updateSearchParams(t.query)}),origin:Fe(Se),protocol:Fe(Be,function(e){var t=x(this);_e(t,String(e)+":",ee)}),username:Fe(ke,function(e){var t=x(this),n=f(String(e));if(!Z(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=V(n[r],Y)}}),password:Fe(Te,function(e){var t=x(this),n=f(String(e));if(!Z(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=V(n[r],Y)}}),host:Fe(Ee,function(e){var t=x(this);t.cannotBeABaseURL||_e(t,String(e),ue)}),hostname:Fe(Me,function(e){var t=x(this);t.cannotBeABaseURL||_e(t,String(e),he)}),port:Fe(De,function(e){var t=x(this);Z(t)||(""==(e=String(e))?t.port=null:_e(t,e,de))}),pathname:Fe(Oe,function(e){var t=x(this);t.cannotBeABaseURL||(t.path=[],_e(t,e+"",ge))}),search:Fe(Ie,function(e){var t=x(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",_e(t,e,ye)),_(t.searchParams).updateSearchParams(t.query)}),searchParams:Fe(Le),hash:Fe(Pe,function(e){var t=x(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",_e(t,e,be)):t.fragment=null})}),c(xe,"toJSON",function(){return Ce.call(this)},{enumerable:!0}),c(xe,"toString",function(){return Ce.call(this)},{enumerable:!0}),y){var Re=y.createObjectURL,Ne=y.revokeObjectURL;Re&&c(we,"createObjectURL",function(e){return Re.apply(y,arguments)}),Ne&&c(we,"revokeObjectURL",function(e){return Ne.apply(y,arguments)})}g(we,"URL"),i({global:!0,forced:!a,sham:!o},{URL:we})},function(e,t,n){var r=n(14),i=n(57),o=n(37),a=i("iterator");e.exports=!r(function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,l=function(e){return e+22+75*(e<26)},c=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},u=function(e){var t,n,r=[],i=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e)).length,u=128,h=0,d=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var f=r.length,p=f;for(f&&r.push("-");p<i;){var A=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=u&&n<A&&(A=n);var g=p+1;if(A-u>a((2147483647-h)/g))throw RangeError(o);for(h+=(A-u)*g,u=A,t=0;t<e.length;t++){if((n=e[t])<u&&++h>2147483647)throw RangeError(o);if(n==u){for(var v=h,m=36;;m+=36){var y=m<=d?1:m>=d+26?26:m-d;if(v<y)break;var b=v-y,_=36-y;r.push(s(l(y+b%_))),v=a(b/_)}r.push(s(l(v))),d=c(h,g,p==f),h=0,++p}}++h,++u}return r.join("")};e.exports=function(e){var t,n,o=[],a=e.toLowerCase().replace(i,".").split(".");for(t=0;t<a.length;t++)n=a[t],o.push(r.test(n)?"xn--"+u(n):n);return o.join(".")}},function(e,t,n){"use strict";n(118);var r=n(10),i=n(42),o=n(138),a=n(29),s=n(121),l=n(85),c=n(80),u=n(33),h=n(123),d=n(23),f=n(62),p=n(95),A=n(28),g=n(22),v=n(71),m=n(16),y=n(141),b=n(94),_=n(57),w=i("fetch"),x=i("Headers"),C=_("iterator"),S=u.set,B=u.getterFor("URLSearchParams"),k=u.getterFor("URLSearchParamsIterator"),T=/\+/g,E=Array(4),M=function(e){return E[e-1]||(E[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},D=function(e){try{return decodeURIComponent(e)}catch(t){return e}},O=function(e){var t=e.replace(T," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(M(n--),D);return t}},I=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},P=function(e){return L[e]},F=function(e){return encodeURIComponent(e).replace(I,P)},R=function(e,t){if(t)for(var n,r,i=t.split("&"),o=0;o<i.length;)(n=i[o++]).length&&(r=n.split("="),e.push({key:O(r.shift()),value:O(r.join("="))}))},N=function(e){this.entries.length=0,R(this.entries,e)},H=function(e,t){if(e<t)throw TypeError("Not enough arguments")},j=c(function(e,t){S(this,{type:"URLSearchParamsIterator",iterator:y(B(e).entries),kind:t})},"Iterator",function(){var e=k(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),U=function(){h(this,U,"URLSearchParams");var e,t,n,r,i,o,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=[];if(S(this,{type:"URLSearchParams",entries:u,updateURL:function(){},updateSearchParams:N}),void 0!==c)if(g(c))if("function"==typeof(e=b(c)))for(n=(t=e.call(c)).next;!(r=n.call(t)).done;){if((a=(o=(i=y(A(r.value))).next).call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");u.push({key:a.value+"",value:s.value+""})}else for(l in c)d(c,l)&&u.push({key:l,value:c[l]+""});else R(u,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},Q=U.prototype;s(Q,{append:function(e,t){H(arguments.length,2);var n=B(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){H(arguments.length,1);for(var t=B(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL()},get:function(e){H(arguments.length,1);for(var t=B(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){H(arguments.length,1);for(var t=B(this).entries,n=e+"",r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){H(arguments.length,1);for(var t=B(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){H(arguments.length,1);for(var n,r=B(this),i=r.entries,o=!1,a=e+"",s=t+"",l=0;l<i.length;l++)(n=i[l]).key===a&&(o?i.splice(l--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=B(this),i=r.entries,o=i.slice();for(i.length=0,n=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===n&&i.push(e)}r.updateURL()},forEach:function(e){for(var t,n=B(this).entries,r=f(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new j(this,"keys")},values:function(){return new j(this,"values")},entries:function(){return new j(this,"entries")}},{enumerable:!0}),a(Q,C,Q.entries),a(Q,"toString",function(){for(var e,t=B(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(F(e.key)+"="+F(e.value));return n.join("&")},{enumerable:!0}),l(U,"URLSearchParams"),r({global:!0,forced:!o},{URLSearchParams:U}),o||"function"!=typeof w||"function"!=typeof x||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,i=[e];return arguments.length>1&&(t=arguments[1],g(t)&&(n=t.body,"URLSearchParams"===p(n)&&((r=t.headers?new x(t.headers):new x).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:m(0,String(n)),headers:m(0,r)}))),i.push(t)),w.apply(this,i)}}),e.exports={URLSearchParams:U,getState:B}},function(e,t,n){var r=n(28),i=n(94);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){"use strict";n(10)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(e,t,n){!function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol:function(e){return"Symbol("+e+")"};function n(){}var r=Number.isNaN||function(e){return e!=e},i=n;function o(e){return"object"==typeof e&&null!==e||"function"==typeof e}function a(e){return e.slice()}function s(e){return!1!==function(e){return"number"==typeof e&&(!r(e)&&!(e<0))}(e)&&e!==1/0}function l(e,t,n){if("function"!=typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,n)}function c(e,t,n,r){var i=e[t];if(void 0!==i){if("function"!=typeof i)throw new TypeError(i+" is not a method");switch(n){case 0:return function(){return h(i,e,r)};case 1:return function(t){var n=[t].concat(r);return h(i,e,n)}}}return function(){return b(void 0)}}function u(e,t,n){var r=e[t];if(void 0!==r)return l(r,e,n)}function h(e,t,n){try{return b(l(e,t,n))}catch(e){return _(e)}}function d(e){return e}function f(e){if(e=Number(e),r(e)||e<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e}function p(e){if(void 0===e)return function(){return 1};if("function"!=typeof e)throw new TypeError("size property of a queuing strategy must be a function");return function(t){return e(t)}}var A=Promise,g=Promise.prototype.then,v=Promise.resolve.bind(A),m=Promise.reject.bind(A);function y(e){return new A(e)}function b(e){return v(e)}function _(e){return m(e)}function w(e,t,n){return g.call(e,t,n)}function x(e,t,n){w(w(e,t,n),void 0,i)}function C(e,t){x(e,t)}function S(e,t){x(e,void 0,t)}function B(e,t,n){return w(e,t,n)}function k(e){w(e,void 0,i)}var T=function(){function e(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(e.prototype,"length",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.push=function(e){var t=this._back,n=t;16383===t._elements.length&&(n={_elements:[],_next:void 0}),t._elements.push(e),n!==t&&(this._back=n,t._next=n),++this._size},e.prototype.shift=function(){var e=this._front,t=e,n=this._cursor,r=n+1,i=e._elements,o=i[n];return 16384===r&&(t=e._next,r=0),--this._size,this._cursor=r,e!==t&&(this._front=t),i[n]=void 0,o},e.prototype.forEach=function(e){for(var t=this._cursor,n=this._front,r=n._elements;!(t===r.length&&void 0===n._next||t===r.length&&(n=n._next,r=n._elements,t=0,0===r.length));)e(r[t]),++t},e.prototype.peek=function(){var e=this._front,t=this._cursor;return e._elements[t]},e}();function E(e,t,n){var r=null;!0===n&&(r=Object.prototype);var i=Object.create(r);return i.value=e,i.done=t,i}function M(e,t){e._forAuthorCode=!0,e._ownerReadableStream=t,t._reader=e,"readable"===t._state?L(e):"closed"===t._state?function(e){L(e),R(e)}(e):P(e,t._storedError)}function D(e,t){var n=e._ownerReadableStream;return Ut(n,t)}function O(e){"readable"===e._ownerReadableStream._state?F(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(e,t){P(e,t)}(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function I(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function L(e){e._closedPromise=y(function(t,n){e._closedPromise_resolve=t,e._closedPromise_reject=n})}function P(e,t){L(e),F(e,t)}function F(e,t){k(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function R(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}var N=t("[[CancelSteps]]"),H=t("[[PullSteps]]");function j(e,t){void 0===t&&(t=!1);var n=new W(e);return n._forAuthorCode=t,n}function U(e){var t=y(function(t,n){var r={_resolve:t,_reject:n};e._reader._readRequests.push(r)});return t}function Q(e,t,n){var r=e._reader,i=r._readRequests.shift();i._resolve(E(t,n,r._forAuthorCode))}function z(e){return e._reader._readRequests.length}function Y(e){var t=e._reader;return void 0!==t&&!!X(t)}var V,G,W=function(){function e(e){if(!1===Ht(e))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===jt(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");M(this,e),this._readRequests=new T}return Object.defineProperty(e.prototype,"closed",{get:function(){return X(this)?this._closedPromise:_($("closed"))},enumerable:!0,configurable:!0}),e.prototype.cancel=function(e){return X(this)?void 0===this._ownerReadableStream?_(I("cancel")):D(this,e):_($("cancel"))},e.prototype.read=function(){return X(this)?void 0===this._ownerReadableStream?_(I("read from")):Z(this):_($("read"))},e.prototype.releaseLock=function(){if(!X(this))throw $("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");O(this)}},e}();function X(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")}function Z(e){var t=e._ownerReadableStream;return t._disturbed=!0,"closed"===t._state?b(E(void 0,!0,e._forAuthorCode)):"errored"===t._state?_(t._storedError):t._readableStreamController[H]()}function $(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}"symbol"==typeof t.asyncIterator&&((V={})[t.asyncIterator]=function(){return this},G=V,Object.defineProperty(G,t.asyncIterator,{enumerable:!1}));var K={next:function(){if(!1===J(this))return _(q("next"));var e=this._asyncIteratorReader;return void 0===e._ownerReadableStream?_(I("iterate")):B(Z(e),function(t){var n=t.done;n&&O(e);var r=t.value;return E(r,n,!0)})},return:function(e){if(!1===J(this))return _(q("next"));var t=this._asyncIteratorReader;if(void 0===t._ownerReadableStream)return _(I("finish iterating"));if(t._readRequests.length>0)return _(new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled"));if(!1===this._preventCancel){var n=D(t,e);return O(t),B(n,function(){return E(e,!0,!0)})}return O(t),b(E(e,!0,!0))}};function J(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorReader")}function q(e){return new TypeError("ReadableStreamAsyncIterator."+e+" can only be used on a ReadableSteamAsyncIterator")}function ee(e){var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function te(e,t,n){if(!s(n=Number(n)))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:n}),e._queueTotalSize+=n}function ne(e){e._queue=new T,e._queueTotalSize=0}void 0!==G&&Object.setPrototypeOf(K,G),Object.defineProperty(K,"next",{enumerable:!1}),Object.defineProperty(K,"return",{enumerable:!1});var re=t("[[AbortSteps]]"),ie=t("[[ErrorSteps]]"),oe=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),se(this);var n=t.size,r=t.highWaterMark,i=e.type;if(void 0!==i)throw new RangeError("Invalid type is specified");var o=p(n);void 0===r&&(r=1),r=f(r),function(e,t,n,r){var i=Object.create(Se.prototype),o=c(t,"write",1,[i]),a=c(t,"close",0,[]),s=c(t,"abort",1,[]);Be(e,i,function(){return u(t,"start",[i])},o,a,s,n,r)}(this,e,r,o)}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!1===le(this))throw Ie("locked");return ce(this)},enumerable:!0,configurable:!0}),e.prototype.abort=function(e){return!1===le(this)?_(Ie("abort")):!0===ce(this)?_(new TypeError("Cannot abort a stream that already has a writer")):ue(this,e)},e.prototype.close=function(){return!1===le(this)?_(Ie("close")):!0===ce(this)?_(new TypeError("Cannot close a stream that already has a writer")):!0===Ae(this)?_(new TypeError("Cannot close an already-closing stream")):he(this)},e.prototype.getWriter=function(){if(!1===le(this))throw Ie("getWriter");return ae(this)},e}();function ae(e){return new me(e)}function se(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new T,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function le(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")}function ce(e){return void 0!==e._writer}function ue(e,t){var n=e._state;if("closed"===n||"errored"===n)return b(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;var r=!1;"erroring"===n&&(r=!0,t=void 0);var i=y(function(n,i){e._pendingAbortRequest={_promise:void 0,_resolve:n,_reject:i,_reason:t,_wasAlreadyErroring:r}});return e._pendingAbortRequest._promise=i,!1===r&&fe(e,t),i}function he(e){var t=e._state;if("closed"===t||"errored"===t)return _(new TypeError("The stream (in "+t+" state) is not in the writable state and cannot be closed"));var n,r=y(function(t,n){var r={_resolve:t,_reject:n};e._closeRequest=r}),i=e._writer;return void 0!==i&&!0===e._backpressure&&"writable"===t&&Ye(i),te(n=e._writableStreamController,"close",0),Ee(n),r}function de(e,t){var n=e._state;"writable"!==n?pe(e):fe(e,t)}function fe(e,t){var n=e._writableStreamController;e._state="erroring",e._storedError=t;var r=e._writer;void 0!==r&&we(r,t),!1===function(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}(e)&&!0===n._started&&pe(e)}function pe(e){e._state="errored",e._writableStreamController[ie]();var t=e._storedError;if(e._writeRequests.forEach(function(e){e._reject(t)}),e._writeRequests=new T,void 0!==e._pendingAbortRequest){var n=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,!0===n._wasAlreadyErroring)return n._reject(t),void ge(e);var r=e._writableStreamController[re](n._reason);x(r,function(){n._resolve(),ge(e)},function(t){n._reject(t),ge(e)})}else ge(e)}function Ae(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function ge(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&Ne(t,e._storedError)}function ve(e,t){var n=e._writer;void 0!==n&&t!==e._backpressure&&(!0===t?function(e){je(e)}(n):Ye(n)),e._backpressure=t}var me=function(){function e(e){if(!1===le(e))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===ce(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;var t,n=e._state;if("writable"===n)!1===Ae(e)&&!0===e._backpressure?je(this):Qe(this),Fe(this);else if("erroring"===n)Ue(this,e._storedError),Fe(this);else if("closed"===n)Qe(this),Fe(t=this),He(t);else{var r=e._storedError;Ue(this,r),Re(this,r)}}return Object.defineProperty(e.prototype,"closed",{get:function(){return!1===ye(this)?_(Le("closed")):this._closedPromise},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===ye(this))throw Le("desiredSize");if(void 0===this._ownerWritableStream)throw Pe("desiredSize");return e=this._ownerWritableStream,"errored"===(t=e._state)||"erroring"===t?null:"closed"===t?0:Te(e._writableStreamController);var e,t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ready",{get:function(){return!1===ye(this)?_(Le("ready")):this._readyPromise},enumerable:!0,configurable:!0}),e.prototype.abort=function(e){return!1===ye(this)?_(Le("abort")):void 0===this._ownerWritableStream?_(Pe("abort")):function(e,t){return ue(e._ownerWritableStream,t)}(this,e)},e.prototype.close=function(){if(!1===ye(this))return _(Le("close"));var e=this._ownerWritableStream;return void 0===e?_(Pe("close")):!0===Ae(e)?_(new TypeError("Cannot close an already-closing stream")):be(this)},e.prototype.releaseLock=function(){if(!1===ye(this))throw Le("releaseLock");var e=this._ownerWritableStream;void 0!==e&&xe(this)},e.prototype.write=function(e){return!1===ye(this)?_(Le("write")):void 0===this._ownerWritableStream?_(Pe("write to")):Ce(this,e)},e}();function ye(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")}function be(e){var t=e._ownerWritableStream;return he(t)}function _e(e,t){"pending"===e._closedPromiseState?Ne(e,t):function(e,t){Re(e,t)}(e,t)}function we(e,t){"pending"===e._readyPromiseState?ze(e,t):function(e,t){Ue(e,t)}(e,t)}function xe(e){var t=e._ownerWritableStream,n=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");we(e,n),_e(e,n),t._writer=void 0,e._ownerWritableStream=void 0}function Ce(e,t){var n=e._ownerWritableStream,r=n._writableStreamController,i=function(e,t){try{return e._strategySizeAlgorithm(t)}catch(t){return Me(e,t),1}}(r,t);if(n!==e._ownerWritableStream)return _(Pe("write to"));var o=n._state;if("errored"===o)return _(n._storedError);if(!0===Ae(n)||"closed"===o)return _(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===o)return _(n._storedError);var a=function(e){return y(function(t,n){var r={_resolve:t,_reject:n};e._writeRequests.push(r)})}(n);return function(e,t,n){var r={chunk:t};try{te(e,r,n)}catch(t){return void Me(e,t)}var i=e._controlledWritableStream;if(!1===Ae(i)&&"writable"===i._state){var o=De(e);ve(i,o)}Ee(e)}(r,t,i),a}var Se=function(){function e(){throw new TypeError("WritableStreamDefaultController cannot be constructed explicitly")}return e.prototype.error=function(e){if(!1==(!!o(t=this)&&!!Object.prototype.hasOwnProperty.call(t,"_controlledWritableStream")))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");var t,n=this._controlledWritableStream._state;"writable"===n&&Oe(this,e)},e.prototype[re]=function(e){var t=this._abortAlgorithm(e);return ke(this),t},e.prototype[ie]=function(){ne(this)},e}();function Be(e,t,n,r,i,o,a,s){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,ne(t),t._started=!1,t._strategySizeAlgorithm=s,t._strategyHWM=a,t._writeAlgorithm=r,t._closeAlgorithm=i,t._abortAlgorithm=o;var l=De(t);ve(e,l);var c=n(),u=b(c);x(u,function(){t._started=!0,Ee(t)},function(n){t._started=!0,de(e,n)})}function ke(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function Te(e){return e._strategyHWM-e._queueTotalSize}function Ee(e){var t=e._controlledWritableStream;if(!1!==e._started&&void 0===t._inFlightWriteRequest){var n=t._state;if("erroring"!==n){if(0!==e._queue.length){var r=e._queue.peek().value;"close"===r?function(e){var t=e._controlledWritableStream;(function(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0})(t),ee(e);var n=e._closeAlgorithm();ke(e),x(n,function(){!function(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,"erroring"===e._state&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";var t=e._writer;void 0!==t&&He(t)}(t)},function(e){!function(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),de(e,t)}(t,e)})}(e):function(e,t){var n=e._controlledWritableStream;(function(e){e._inFlightWriteRequest=e._writeRequests.shift()})(n),x(e._writeAlgorithm(t),function(){!function(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}(n);var t=n._state;if(ee(e),!1===Ae(n)&&"writable"===t){var r=De(e);ve(n,r)}Ee(e)},function(t){"writable"===n._state&&ke(e),function(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,de(e,t)}(n,t)})}(e,r.chunk)}}else pe(t)}}function Me(e,t){"writable"===e._controlledWritableStream._state&&Oe(e,t)}function De(e){var t=Te(e);return t<=0}function Oe(e,t){var n=e._controlledWritableStream;ke(e),fe(n,t)}function Ie(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function Le(e){return new TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function Pe(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function Fe(e){e._closedPromise=y(function(t,n){e._closedPromise_resolve=t,e._closedPromise_reject=n,e._closedPromiseState="pending"})}function Re(e,t){Fe(e),Ne(e,t)}function Ne(e,t){k(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function He(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved"}function je(e){e._readyPromise=y(function(t,n){e._readyPromise_resolve=t,e._readyPromise_reject=n}),e._readyPromiseState="pending"}function Ue(e,t){je(e),ze(e,t)}function Qe(e){je(e),Ye(e)}function ze(e,t){k(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function Ye(e){e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}function Ve(e){if("object"!=typeof e||null===e)return!1;try{return"boolean"==typeof e.aborted}catch(e){return!1}}var Ge,We="undefined"!=typeof DOMException?DOMException:void 0,Xe=function(e){if("function"!=typeof e&&"object"!=typeof e)return!1;try{return new e,!0}catch(e){return!1}}(We)?We:((Ge=function(e,t){this.message=e||"",this.name=t||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}).prototype=Object.create(Error.prototype),Object.defineProperty(Ge.prototype,"constructor",{value:Ge,writable:!0,configurable:!0}),Ge);function Ze(e,t,r,i,o,a){var s=j(e),l=ae(t);e._disturbed=!0;var c=!1,u=b(void 0);return y(function(h,d){var f,p,A,g;if(void 0!==a){if(f=function(){var n=new Xe("Aborted","AbortError"),r=[];!1===i&&r.push(function(){return"writable"===t._state?ue(t,n):b(void 0)}),!1===o&&r.push(function(){return"readable"===e._state?Ut(e,n):b(void 0)}),T(function(){return Promise.all(r.map(function(e){return e()}))},!0,n)},!0===a.aborted)return void f();a.addEventListener("abort",f)}if(B(e,s._closedPromise,function(e){!1===i?T(function(){return ue(t,e)},!0,e):E(!0,e)}),B(t,l._closedPromise,function(t){!1===o?T(function(){return Ut(e,t)},!0,t):E(!0,t)}),p=e,A=s._closedPromise,g=function(){!1===r?T(function(){return function(e){var t=e._ownerWritableStream,n=t._state;return!0===Ae(t)||"closed"===n?b(void 0):"errored"===n?_(t._storedError):be(e)}(l)}):E()},"closed"===p._state?g():C(A,g),!0===Ae(t)||"closed"===t._state){var v=new TypeError("the destination writable stream closed before all data could be piped to it");!1===o?T(function(){return Ut(e,v)},!0,v):E(!0,v)}function m(){var e=u;return w(u,function(){return e!==u?m():void 0})}function B(e,t,n){"errored"===e._state?n(e._storedError):S(t,n)}function T(e,n,r){function i(){x(e(),function(){return M(n,r)},function(e){return M(!0,e)})}!0!==c&&(c=!0,"writable"===t._state&&!1===Ae(t)?C(m(),i):i())}function E(e,n){!0!==c&&(c=!0,"writable"===t._state&&!1===Ae(t)?C(m(),function(){return M(e,n)}):M(e,n))}function M(e,t){xe(l),O(s),void 0!==a&&a.removeEventListener("abort",f),e?d(t):h(void 0)}k(y(function(e,t){!function r(i){i?e():w(!0===c?b(!0):w(l._readyPromise,function(){return w(Z(s),function(e){return!0===e.done||(u=w(Ce(l,e.value),void 0,n),!1)})}),r,t)}(!1)}))})}var $e=function(){function e(){throw new TypeError}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===Ke(this))throw st("desiredSize");return it(this)},enumerable:!0,configurable:!0}),e.prototype.close=function(){if(!1===Ke(this))throw st("close");if(!1===ot(this))throw new TypeError("The stream is not in a state that permits close");tt(this)},e.prototype.enqueue=function(e){if(!1===Ke(this))throw st("enqueue");if(!1===ot(this))throw new TypeError("The stream is not in a state that permits enqueue");return nt(this,e)},e.prototype.error=function(e){if(!1===Ke(this))throw st("error");rt(this,e)},e.prototype[N]=function(e){ne(this);var t=this._cancelAlgorithm(e);return et(this),t},e.prototype[H]=function(){var e=this._controlledReadableStream;if(this._queue.length>0){var t=ee(this);return!0===this._closeRequested&&0===this._queue.length?(et(this),Qt(e)):Je(this),b(E(t,!1,e._reader._forAuthorCode))}var n=U(e);return Je(this),n},e}();function Ke(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")}function Je(e){var t=qe(e);if(!1!==t)if(!0!==e._pulling){e._pulling=!0;var n=e._pullAlgorithm();x(n,function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,Je(e))},function(t){rt(e,t)})}else e._pullAgain=!0}function qe(e){var t=e._controlledReadableStream;if(!1===ot(e))return!1;if(!1===e._started)return!1;if(!0===jt(t)&&z(t)>0)return!0;var n=it(e);return n>0}function et(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function tt(e){var t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(et(e),Qt(t))}function nt(e,t){var n=e._controlledReadableStream;if(!0===jt(n)&&z(n)>0)Q(n,t,!1);else{var r=void 0;try{r=e._strategySizeAlgorithm(t)}catch(t){throw rt(e,t),t}try{te(e,t,r)}catch(t){throw rt(e,t),t}}Je(e)}function rt(e,t){var n=e._controlledReadableStream;"readable"===n._state&&(ne(e),et(e),zt(n,t))}function it(e){var t=e._controlledReadableStream,n=t._state;return"errored"===n?null:"closed"===n?0:e._strategyHWM-e._queueTotalSize}function ot(e){var t=e._controlledReadableStream._state;return!1===e._closeRequested&&"readable"===t}function at(e,t,n,r,i,o,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,ne(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=o,t._pullAlgorithm=r,t._cancelAlgorithm=i,e._readableStreamController=t;var s=n();x(b(s),function(){t._started=!0,Je(t)},function(e){rt(t,e)})}function st(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}var lt=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},ct=function(){function e(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}return Object.defineProperty(e.prototype,"view",{get:function(){if(!1===dt(this))throw Tt("view");return this._view},enumerable:!0,configurable:!0}),e.prototype.respond=function(e){if(!1===dt(this))throw Tt("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");this._view.buffer,function(e,t){if(!1===s(t=Number(t)))throw new RangeError("bytesWritten must be a finite");wt(e,t)}(this._associatedReadableByteStreamController,e)},e.prototype.respondWithNewView=function(e){if(!1===dt(this))throw Tt("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");e.buffer,function(e,t){var n=e._pendingPullIntos.peek();if(n.byteOffset+n.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(n.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");n.buffer=t.buffer,wt(e,t.byteLength)}(this._associatedReadableByteStreamController,e)},e}(),ut=function(){function e(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}return Object.defineProperty(e.prototype,"byobRequest",{get:function(){if(!1===ht(this))throw Et("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var e=this._pendingPullIntos.peek(),t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled),n=Object.create(ct.prototype);!function(e,t,n){e._associatedReadableByteStreamController=t,e._view=n}(n,this,t),this._byobRequest=n}return this._byobRequest},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===ht(this))throw Et("desiredSize");return Bt(this)},enumerable:!0,configurable:!0}),e.prototype.close=function(){if(!1===ht(this))throw Et("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");!function(e){var t=e._controlledReadableByteStream;if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0){var n=e._pendingPullIntos.peek();if(n.bytesFilled>0){var r=new TypeError("Insufficient bytes to fill elements in the given buffer");throw St(e,r),r}}Ct(e),Qt(t)}}(this)},e.prototype.enqueue=function(e){if(!1===ht(this))throw Et("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(e))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");e.buffer,function(e,t){var n=e._controlledReadableByteStream,r=t.buffer,i=t.byteOffset,o=t.byteLength,a=d(r);if(!0===Y(n))if(0===z(n))gt(e,a,i,o);else{var s=new Uint8Array(a,i,o);Q(n,s,!1)}else!0===Ot(n)?(gt(e,a,i,o),_t(e)):gt(e,a,i,o);ft(e)}(this,e)},e.prototype.error=function(e){if(!1===ht(this))throw Et("error");St(this,e)},e.prototype[N]=function(e){if(this._pendingPullIntos.length>0){var t=this._pendingPullIntos.peek();t.bytesFilled=0}ne(this);var n=this._cancelAlgorithm(e);return Ct(this),n},e.prototype[H]=function(){var e=this._controlledReadableByteStream;if(this._queueTotalSize>0){var t=this._queue.shift();this._queueTotalSize-=t.byteLength,yt(this);var n=void 0;try{n=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(e){return _(e)}return b(E(n,!1,e._reader._forAuthorCode))}var r=this._autoAllocateChunkSize;if(void 0!==r){var i=void 0;try{i=new ArrayBuffer(r)}catch(e){return _(e)}var o={buffer:i,byteOffset:0,byteLength:r,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(o)}var a=U(e);return ft(this),a},e}();function ht(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")}function dt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}function ft(e){var t=function(e){var t=e._controlledReadableByteStream;return"readable"===t._state&&(!0!==e._closeRequested&&(!1!==e._started&&(!0===Y(t)&&z(t)>0||(!0===Ot(t)&&Dt(t)>0||Bt(e)>0))))}(e);if(!1!==t)if(!0!==e._pulling){e._pulling=!0;var n=e._pullAlgorithm();x(n,function(){e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,ft(e))},function(t){St(e,t)})}else e._pullAgain=!0}function pt(e,t){var n=!1;"closed"===e._state&&(n=!0);var r=At(t);"default"===t.readerType?Q(e,r,n):function(e,t,n){var r=e._reader;r._readIntoRequests.shift()._resolve(E(t,n,r._forAuthorCode))}(e,r,n)}function At(e){var t=e.bytesFilled,n=e.elementSize;return new e.ctor(e.buffer,e.byteOffset,t/n)}function gt(e,t,n,r){e._queue.push({buffer:t,byteOffset:n,byteLength:r}),e._queueTotalSize+=r}function vt(e,t){var n=t.elementSize,r=t.bytesFilled-t.bytesFilled%n,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),o=t.bytesFilled+i,a=o-o%n,s=i,l=!1;a>r&&(s=a-t.bytesFilled,l=!0);for(var c,u,h,d,f,p=e._queue;s>0;){var A=p.peek(),g=Math.min(s,A.byteLength),v=t.byteOffset+t.bytesFilled;c=t.buffer,u=v,h=A.buffer,d=A.byteOffset,f=g,new Uint8Array(c).set(new Uint8Array(h,d,f),u),A.byteLength===g?p.shift():(A.byteOffset+=g,A.byteLength-=g),e._queueTotalSize-=g,mt(e,g,t),s-=g}return l}function mt(e,t,n){bt(e),n.bytesFilled+=t}function yt(e){0===e._queueTotalSize&&!0===e._closeRequested?(Ct(e),Qt(e._controlledReadableByteStream)):ft(e)}function bt(e){void 0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function _t(e){for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos.peek();!0===vt(e,t)&&(xt(e),pt(e._controlledReadableByteStream,t))}}function wt(e,t){var n=e._pendingPullIntos.peek(),r=e._controlledReadableByteStream;if("closed"===r._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function(e,t){t.buffer=d(t.buffer);var n=e._controlledReadableByteStream;if(!0===Ot(n))for(;Dt(n)>0;){var r=xt(e);pt(n,r)}}(e,n)}else!function(e,t,n){if(n.bytesFilled+t>n.byteLength)throw new RangeError("bytesWritten out of range");if(mt(e,t,n),!(n.bytesFilled<n.elementSize)){xt(e);var r=n.bytesFilled%n.elementSize;if(r>0){var i=n.byteOffset+n.bytesFilled,o=n.buffer.slice(i-r,i);gt(e,o,0,o.byteLength)}n.buffer=d(n.buffer),n.bytesFilled-=r,pt(e._controlledReadableByteStream,n),_t(e)}}(e,t,n);ft(e)}function xt(e){var t=e._pendingPullIntos.shift();return bt(e),t}function Ct(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function St(e,t){var n=e._controlledReadableByteStream;"readable"===n._state&&(function(e){bt(e),e._pendingPullIntos=new T}(e),ne(e),Ct(e),zt(n,t))}function Bt(e){var t=e._controlledReadableByteStream,n=t._state;return"errored"===n?null:"closed"===n?0:e._strategyHWM-e._queueTotalSize}function kt(e,t,n){var r=Object.create(ut.prototype),i=c(t,"pull",0,[r]),o=c(t,"cancel",1,[]),a=t.autoAllocateChunkSize;if(void 0!==a&&(a=Number(a),!1===lt(a)||a<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");!function(e,t,n,r,i,o,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=void 0,t._queue=t._queueTotalSize=void 0,ne(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=f(o),t._pullAlgorithm=r,t._cancelAlgorithm=i,t._autoAllocateChunkSize=a,t._pendingPullIntos=new T,e._readableStreamController=t,x(b(n()),function(){t._started=!0,ft(t)},function(e){St(t,e)})}(e,r,function(){return u(t,"start",[r])},i,o,n,a)}function Tt(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function Et(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function Mt(e){var t=y(function(t,n){var r={_resolve:t,_reject:n};e._reader._readIntoRequests.push(r)});return t}function Dt(e){return e._reader._readIntoRequests.length}function Ot(e){var t=e._reader;return void 0!==t&&!!Lt(t)}var It=function(){function e(e){if(!Ht(e))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===ht(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(jt(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");M(this,e),this._readIntoRequests=new T}return Object.defineProperty(e.prototype,"closed",{get:function(){return Lt(this)?this._closedPromise:_(Pt("closed"))},enumerable:!0,configurable:!0}),e.prototype.cancel=function(e){return Lt(this)?void 0===this._ownerReadableStream?_(I("cancel")):D(this,e):_(Pt("cancel"))},e.prototype.read=function(e){return Lt(this)?void 0===this._ownerReadableStream?_(I("read from")):ArrayBuffer.isView(e)?(e.buffer,0===e.byteLength?_(new TypeError("view must have non-zero byteLength")):function(e,t){var n=e._ownerReadableStream;return n._disturbed=!0,"errored"===n._state?_(n._storedError):function(e,t){var n=e._controlledReadableByteStream,r=1;t.constructor!==DataView&&(r=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,o={buffer:d(t.buffer),byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:r,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(o),Mt(n);if("closed"===n._state){var a=new i(o.buffer,o.byteOffset,0);return b(E(a,!0,n._reader._forAuthorCode))}if(e._queueTotalSize>0){if(!0===vt(e,o)){var s=At(o);return yt(e),b(E(s,!1,n._reader._forAuthorCode))}if(!0===e._closeRequested){var l=new TypeError("Insufficient bytes to fill elements in the given buffer");return St(e,l),_(l)}}e._pendingPullIntos.push(o);var c=Mt(n);return ft(e),c}(n._readableStreamController,t)}(this,e)):_(new TypeError("view must be an array buffer view")):_(Pt("read"))},e.prototype.releaseLock=function(){if(!Lt(this))throw Pt("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");O(this)}},e}();function Lt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}function Pt(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}var Ft=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Nt(this);var n=t.size,r=t.highWaterMark,i=e.type,o=String(i);if("bytes"===o){if(void 0!==n)throw new RangeError("The strategy for a byte stream cannot have a size function");void 0===r&&(r=0),r=f(r),kt(this,e,r)}else{if(void 0!==i)throw new RangeError("Invalid type is specified");var a=p(n);void 0===r&&(r=1),r=f(r),function(e,t,n,r){var i=Object.create($e.prototype),o=c(t,"pull",0,[i]),a=c(t,"cancel",1,[]);at(e,i,function(){return u(t,"start",[i])},o,a,n,r)}(this,e,r,a)}}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!1===Ht(this))throw Yt("locked");return jt(this)},enumerable:!0,configurable:!0}),e.prototype.cancel=function(e){return!1===Ht(this)?_(Yt("cancel")):!0===jt(this)?_(new TypeError("Cannot cancel a stream that already has a reader")):Ut(this,e)},e.prototype.getReader=function(e){var t=(void 0===e?{}:e).mode;if(!1===Ht(this))throw Yt("getReader");if(void 0===t)return j(this,!0);if("byob"===(t=String(t)))return function(e,t){void 0===t&&(t=!1);var n=new It(e);return n._forAuthorCode=t,n}(this,!0);throw new RangeError("Invalid mode is specified")},e.prototype.pipeThrough=function(e,t){var n=e.writable,r=e.readable,i=void 0===t?{}:t,o=i.preventClose,a=i.preventAbort,s=i.preventCancel,l=i.signal;if(!1===Ht(this))throw Yt("pipeThrough");if(!1===le(n))throw new TypeError("writable argument to pipeThrough must be a WritableStream");if(!1===Ht(r))throw new TypeError("readable argument to pipeThrough must be a ReadableStream");if(o=Boolean(o),a=Boolean(a),s=Boolean(s),void 0!==l&&!Ve(l))throw new TypeError("ReadableStream.prototype.pipeThrough's signal option must be an AbortSignal");if(!0===jt(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(!0===ce(n))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");var c=Ze(this,n,o,a,s,l);return k(c),r},e.prototype.pipeTo=function(e,t){var n=void 0===t?{}:t,r=n.preventClose,i=n.preventAbort,o=n.preventCancel,a=n.signal;return!1===Ht(this)?_(Yt("pipeTo")):!1===le(e)?_(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream")):(r=Boolean(r),i=Boolean(i),o=Boolean(o),void 0===a||Ve(a)?!0===jt(this)?_(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):!0===ce(e)?_(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Ze(this,e,r,i,o,a):_(new TypeError("ReadableStream.prototype.pipeTo's signal option must be an AbortSignal")))},e.prototype.tee=function(){if(!1===Ht(this))throw Yt("tee");var e=function(e,t){var n,r,i,o,s,l=j(e),c=!1,u=!1,h=!1,d=y(function(e){s=e});function f(){if(!0===c)return b(void 0);c=!0;var e=B(Z(l),function(e){c=!1;var t=e.done;if(!0===t)return!1===u&&tt(i._readableStreamController),void(!1===h&&tt(o._readableStreamController));var n=e.value,r=n,a=n;!1===u&&nt(i._readableStreamController,r),!1===h&&nt(o._readableStreamController,a)});return k(e),b(void 0)}function p(){}return i=Rt(p,f,function(t){if(u=!0,n=t,!0===h){var i=a([n,r]),o=Ut(e,i);s(o)}return d}),o=Rt(p,f,function(t){if(h=!0,r=t,!0===u){var i=a([n,r]),o=Ut(e,i);s(o)}return d}),S(l._closedPromise,function(e){rt(i._readableStreamController,e),rt(o._readableStreamController,e)}),[i,o]}(this);return a(e)},e.prototype.getIterator=function(e){var t=(void 0===e?{}:e).preventCancel,n=void 0!==t&&t;if(!1===Ht(this))throw Yt("getIterator");return function(e,t){void 0===t&&(t=!1);var n=j(e),r=Object.create(K);return r._asyncIteratorReader=n,r._preventCancel=Boolean(t),r}(this,n)},e}();function Rt(e,t,n,r,i){void 0===r&&(r=1),void 0===i&&(i=function(){return 1});var o=Object.create(Ft.prototype);Nt(o);var a=Object.create($e.prototype);return at(o,a,e,t,n,r,i),o}function Nt(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function Ht(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")}function jt(e){return void 0!==e._reader}function Ut(e,t){if(e._disturbed=!0,"closed"===e._state)return b(void 0);if("errored"===e._state)return _(e._storedError);Qt(e);var r=e._readableStreamController[N](t);return B(r,n)}function Qt(e){e._state="closed";var t=e._reader;void 0!==t&&(X(t)&&(t._readRequests.forEach(function(e){e._resolve(E(void 0,!0,t._forAuthorCode))}),t._readRequests=new T),R(t))}function zt(e,t){e._state="errored",e._storedError=t;var n=e._reader;void 0!==n&&(X(n)?(n._readRequests.forEach(function(e){e._reject(t)}),n._readRequests=new T):(n._readIntoRequests.forEach(function(e){e._reject(t)}),n._readIntoRequests=new T),F(n,t))}function Yt(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}"symbol"==typeof t.asyncIterator&&Object.defineProperty(Ft.prototype,t.asyncIterator,{value:Ft.prototype.getIterator,enumerable:!1,writable:!0,configurable:!0});var Vt=function(){function e(e){var t=e.highWaterMark;this.highWaterMark=t}return e.prototype.size=function(e){return e.byteLength},e}(),Gt=function(){function e(e){var t=e.highWaterMark;this.highWaterMark=t}return e.prototype.size=function(){return 1},e}(),Wt=function(){function e(e,t,n){void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n={});var r=t.size,i=t.highWaterMark,o=n.size,a=n.highWaterMark,s=e.writableType;if(void 0!==s)throw new RangeError("Invalid writable type specified");var l=p(r);void 0===i&&(i=1),i=f(i);var d=e.readableType;if(void 0!==d)throw new RangeError("Invalid readable type specified");var A,g=p(o);void 0===a&&(a=0),a=f(a);var v=y(function(e){A=e});!function(e,t,n,r,i,o){function a(){return t}e._writable=function(e,t,n,r,i,o){void 0===i&&(i=1),void 0===o&&(o=function(){return 1});var a=Object.create(oe.prototype);se(a);var s=Object.create(Se.prototype);return Be(a,s,e,t,n,r,i,o),a}(a,function(t){return function(e,t){var n=e._transformStreamController;if(!0===e._backpressure){var r=e._backpressureChangePromise;return B(r,function(){var r=e._writable,i=r._state;if("erroring"===i)throw r._storedError;return nn(n,t)})}return nn(n,t)}(e,t)},function(){return function(e){var t=e._readable,n=e._transformStreamController,r=n._flushAlgorithm();return en(n),B(r,function(){if("errored"===t._state)throw t._storedError;var e=t._readableStreamController;!0===ot(e)&&tt(e)},function(n){throw Zt(e,n),t._storedError})}(e)},function(t){return function(e,t){return Zt(e,t),b(void 0)}(e,t)},n,r),e._readable=Rt(a,function(){return function(e){return Kt(e,!1),e._backpressureChangePromise}(e)},function(t){return $t(e,t),b(void 0)},i,o),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Kt(e,!0),e._transformStreamController=void 0}(this,v,i,l,a,g),function(e,t){var n=Object.create(Jt.prototype),r=function(e){try{return tn(n,e),b(void 0)}catch(e){return _(e)}},i=t.transform;if(void 0!==i){if("function"!=typeof i)throw new TypeError("transform is not a method");r=function(e){return h(i,t,[e,n])}}var o=c(t,"flush",0,[n]);!function(e,t,n,r){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=n,t._flushAlgorithm=r}(e,n,r,o)}(this,e);var m=u(e,"start",[this._transformStreamController]);A(m)}return Object.defineProperty(e.prototype,"readable",{get:function(){if(!1===Xt(this))throw on("readable");return this._readable},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"writable",{get:function(){if(!1===Xt(this))throw on("writable");return this._writable},enumerable:!0,configurable:!0}),e}();function Xt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")}function Zt(e,t){rt(e._readable._readableStreamController,t),$t(e,t)}function $t(e,t){en(e._transformStreamController),Me(e._writable._writableStreamController,t),!0===e._backpressure&&Kt(e,!1)}function Kt(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=y(function(t){e._backpressureChangePromise_resolve=t}),e._backpressure=t}var Jt=function(){function e(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!1===qt(this))throw rn("desiredSize");var e=this._controlledTransformStream._readable._readableStreamController;return it(e)},enumerable:!0,configurable:!0}),e.prototype.enqueue=function(e){if(!1===qt(this))throw rn("enqueue");tn(this,e)},e.prototype.error=function(e){if(!1===qt(this))throw rn("error");var t;t=e,Zt(this._controlledTransformStream,t)},e.prototype.terminate=function(){if(!1===qt(this))throw rn("terminate");!function(e){var t=e._controlledTransformStream,n=t._readable._readableStreamController;!0===ot(n)&&tt(n);var r=new TypeError("TransformStream terminated");$t(t,r)}(this)},e}();function qt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")}function en(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function tn(e,t){var n=e._controlledTransformStream,r=n._readable._readableStreamController;if(!1===ot(r))throw new TypeError("Readable side is not in a state that permits enqueue");try{nt(r,t)}catch(e){throw $t(n,e),n._readable._storedError}var i=function(e){return!0!==qe(e)}(r);i!==n._backpressure&&Kt(n,!0)}function nn(e,t){var n=e._transformAlgorithm(t);return B(n,void 0,function(t){throw Zt(e._controlledTransformStream,t),t})}function rn(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function on(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}e.ByteLengthQueuingStrategy=Vt,e.CountQueuingStrategy=Gt,e.ReadableStream=Ft,e.TransformStream=Wt,e.WritableStream=oe,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){n(145),n(114),n(77),n(116);var r=n(43);e.exports=r.Map},function(e,t,n){"use strict";var r=n(146),i=n(150);e.exports=r("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},i)},function(e,t,n){"use strict";var r=n(10),i=n(11),o=n(52),a=n(29),s=n(147),l=n(124),c=n(123),u=n(22),h=n(14),d=n(97),f=n(85),p=n(149);e.exports=function(e,t,n){var A=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),v=A?"set":"add",m=i[e],y=m&&m.prototype,b=m,_={},w=function(e){var t=y[e];a(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!u(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(o(e,"function"!=typeof m||!(g||y.forEach&&!h(function(){(new m).entries().next()}))))b=n.getConstructor(t,e,A,v),s.REQUIRED=!0;else if(o(e,!0)){var x=new b,C=x[v](g?{}:-0,1)!=x,S=h(function(){x.has(1)}),B=d(function(e){new m(e)}),k=!g&&h(function(){for(var e=new m,t=5;t--;)e[v](t,t);return!e.has(-0)});B||((b=t(function(t,n){c(t,b,e);var r=p(new m,t,b);return void 0!=n&&l(n,r[v],r,A),r})).prototype=y,y.constructor=b),(S||k)&&(w("delete"),w("has"),A&&w("get")),(k||C)&&w(v),g&&y.clear&&delete y.clear}return _[e]=b,r({global:!0,forced:b!=m},_),f(b,e),g||n.setStrong(b,e,A),b}},function(e,t,n){var r=n(39),i=n(22),o=n(23),a=n(27).f,s=n(38),l=n(148),c=s("meta"),u=0,h=Object.isExtensible||function(){return!0},d=function(e){a(e,c,{value:{objectID:"O"+ ++u,weakData:{}}})},f=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,c)){if(!h(e))return"F";if(!t)return"E";d(e)}return e[c].objectID},getWeakData:function(e,t){if(!o(e,c)){if(!h(e))return!0;if(!t)return!1;d(e)}return e[c].weakData},onFreeze:function(e){return l&&f.REQUIRED&&h(e)&&!o(e,c)&&d(e),e}};r[c]=!0},function(e,t,n){var r=n(14);e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(e,t,n){var r=n(22),i=n(87);e.exports=function(e,t,n){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},function(e,t,n){"use strict";var r=n(27).f,i=n(71),o=n(121),a=n(62),s=n(123),l=n(124),c=n(79),u=n(122),h=n(13),d=n(147).fastKey,f=n(33),p=f.set,A=f.getterFor;e.exports={getConstructor:function(e,t,n,c){var u=e(function(e,r){s(e,u,t),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),h||(e.size=0),void 0!=r&&l(r,e[c],e,n)}),f=A(t),g=function(e,t,n){var r,i,o=f(e),a=v(e,t);return a?a.value=n:(o.last=a={index:i=d(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),h?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},v=function(e,t){var n,r=f(e),i=d(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(u.prototype,{clear:function(){for(var e=f(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,h?e.size=0:this.size=0},delete:function(e){var t=f(this),n=v(this,e);if(n){var r=n.next,i=n.previous;delete t.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),t.first==n&&(t.first=r),t.last==n&&(t.last=i),h?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=f(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!v(this,e)}}),o(u.prototype,n?{get:function(e){var t=v(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),h&&r(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(e,t,n){var r=t+" Iterator",i=A(t),o=A(r);c(e,t,function(e,t){p(this,{type:r,target:e,state:i(e),kind:t,last:void 0})},function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),u(t)}}},function(e,t,n){n(152),n(114),n(77),n(116);var r=n(43);e.exports=r.Set},function(e,t,n){"use strict";var r=n(146),i=n(150);e.exports=r("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},i)},function(e,t,n){n(114),n(154),n(116);var r=n(43);e.exports=r.WeakMap},function(e,t,n){"use strict";var r,i=n(11),o=n(121),a=n(147),s=n(146),l=n(155),c=n(22),u=n(33).enforce,h=n(34),d=!i.ActiveXObject&&"ActiveXObject"in i,f=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},A=e.exports=s("WeakMap",p,l);if(h&&d){r=l.getConstructor(p,"WeakMap",!0),a.REQUIRED=!0;var g=A.prototype,v=g.delete,m=g.has,y=g.get,b=g.set;o(g,{delete:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),v.call(this,e)||t.frozen.delete(e)}return v.call(this,e)},has:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),m.call(this,e)||t.frozen.has(e)}return m.call(this,e)},get:function(e){if(c(e)&&!f(e)){var t=u(this);return t.frozen||(t.frozen=new r),m.call(this,e)?y.call(this,e):t.frozen.get(e)}return y.call(this,e)},set:function(e,t){if(c(e)&&!f(e)){var n=u(this);n.frozen||(n.frozen=new r),m.call(this,e)?b.call(this,e,t):n.frozen.set(e,t)}else b.call(this,e,t);return this}})}},function(e,t,n){"use strict";var r=n(121),i=n(147).getWeakData,o=n(28),a=n(22),s=n(123),l=n(124),c=n(156),u=n(23),h=n(33),d=h.set,f=h.getterFor,p=c.find,A=c.findIndex,g=0,v=function(e){return e.frozen||(e.frozen=new m)},m=function(){this.entries=[]},y=function(e,t){return p(e.entries,function(e){return e[0]===t})};m.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=A(this.entries,function(t){return t[0]===e});return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,c){var h=e(function(e,r){s(e,h,t),d(e,{type:t,id:g++,frozen:void 0}),void 0!=r&&l(r,e[c],e,n)}),p=f(t),A=function(e,t,n){var r=p(e),a=i(o(t),!0);return!0===a?v(r).set(t,n):a[r.id]=n,e};return r(h.prototype,{delete:function(e){var t=p(this);if(!a(e))return!1;var n=i(e);return!0===n?v(t).delete(e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=p(this);if(!a(e))return!1;var n=i(e);return!0===n?v(t).has(e):n&&u(n,t.id)}}),r(h.prototype,n?{get:function(e){var t=p(this);if(a(e)){var n=i(e);return!0===n?v(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return A(this,e,t)}}:{add:function(e){return A(this,e,!0)}}),h}}},function(e,t,n){var r=n(62),i=n(18),o=n(83),a=n(47),s=n(157),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,h=6==e,d=5==e||h;return function(f,p,A,g){for(var v,m,y=o(f),b=i(y),_=r(p,A,3),w=a(b.length),x=0,C=g||s,S=t?C(f,w):n?C(f,0):void 0;w>x;x++)if((d||x in b)&&(m=_(v=b[x],x,y),e))if(t)S[x]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return x;case 2:l.call(S,v)}else if(u)return!1;return h?-1:c||u?u:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(e,t,n){var r=n(22),i=n(158),o=n(57)("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(19);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){n(114),n(160),n(116);var r=n(43);e.exports=r.WeakSet},function(e,t,n){"use strict";n(146)("WeakSet",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},n(155))},function(e,t,n){n(162);var r=n(61);e.exports=r("String","codePointAt")},function(e,t,n){"use strict";var r=n(10),i=n(78).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return i(this,e)}})},function(e,t,n){n(164);var r=n(43);e.exports=r.String.fromCodePoint},function(e,t,n){var r=n(10),i=n(49),o=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){n(166),n(114),n(168),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187);var r=n(43);e.exports=r.Symbol},function(e,t,n){"use strict";var r=n(10),i=n(14),o=n(158),a=n(22),s=n(83),l=n(47),c=n(93),u=n(157),h=n(167),d=n(57),f=n(133),p=d("isConcatSpreadable"),A=f>=51||!i(function(){var e=[];return e[p]=!1,e.concat()[0]!==e}),g=h("concat"),v=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,forced:!A||!g},{concat:function(e){var t,n,r,i,o,a=s(this),h=u(a,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(o=-1===t?a:arguments[t],v(o)){if(d+(i=l(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,d++)n in o&&c(h,d,o[n])}else{if(d>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(h,d++,o)}return h.length=d,h}})},function(e,t,n){var r=n(14),i=n(57),o=n(133),a=i("species");e.exports=function(e){return o>=51||!r(function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},function(e,t,n){"use strict";var r=n(10),i=n(11),o=n(42),a=n(37),s=n(13),l=n(58),c=n(59),u=n(14),h=n(23),d=n(158),f=n(22),p=n(28),A=n(83),g=n(17),v=n(21),m=n(16),y=n(71),b=n(73),_=n(44),w=n(169),x=n(51),C=n(12),S=n(27),B=n(15),k=n(26),T=n(29),E=n(36),M=n(35),D=n(39),O=n(38),I=n(57),L=n(170),P=n(171),F=n(85),R=n(33),N=n(156).forEach,H=M("hidden"),j=I("toPrimitive"),U=R.set,Q=R.getterFor("Symbol"),z=Object.prototype,Y=i.Symbol,V=o("JSON","stringify"),G=C.f,W=S.f,X=w.f,Z=B.f,$=E("symbols"),K=E("op-symbols"),J=E("string-to-symbol-registry"),q=E("symbol-to-string-registry"),ee=E("wks"),te=i.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&u(function(){return 7!=y(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=G(z,t);r&&delete z[t],W(e,t,n),r&&e!==z&&W(z,t,r)}:W,ie=function(e,t){var n=$[e]=y(Y.prototype);return U(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},oe=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Y},ae=function(e,t,n){e===z&&ae(K,t,n),p(e);var r=v(t,!0);return p(n),h($,r)?(n.enumerable?(h(e,H)&&e[H][r]&&(e[H][r]=!1),n=y(n,{enumerable:m(0,!1)})):(h(e,H)||W(e,H,m(1,{})),e[H][r]=!0),re(e,r,n)):W(e,r,n)},se=function(e,t){p(e);var n=g(t),r=b(n).concat(he(n));return N(r,function(t){s&&!le.call(n,t)||ae(e,t,n[t])}),e},le=function(e){var t=v(e,!0),n=Z.call(this,t);return!(this===z&&h($,t)&&!h(K,t))&&(!(n||!h(this,t)||!h($,t)||h(this,H)&&this[H][t])||n)},ce=function(e,t){var n=g(e),r=v(t,!0);if(n!==z||!h($,r)||h(K,r)){var i=G(n,r);return!i||!h($,r)||h(n,H)&&n[H][r]||(i.enumerable=!0),i}},ue=function(e){var t=X(g(e)),n=[];return N(t,function(e){h($,e)||h(D,e)||n.push(e)}),n},he=function(e){var t=e===z,n=X(t?K:g(e)),r=[];return N(n,function(e){!h($,e)||t&&!h(z,e)||r.push($[e])}),r};(l||(T((Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=O(e),n=function(e){this===z&&n.call(K,e),h(this,H)&&h(this[H],t)&&(this[H][t]=!1),re(this,t,m(1,e))};return s&&ne&&re(z,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",function(){return Q(this).tag}),T(Y,"withoutSetter",function(e){return ie(O(e),e)}),B.f=le,S.f=ae,C.f=ce,_.f=w.f=ue,x.f=he,L.f=function(e){return ie(I(e),e)},s&&(W(Y.prototype,"description",{configurable:!0,get:function(){return Q(this).description}}),a||T(z,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),N(b(ee),function(e){P(e)}),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(h(J,t))return J[t];var n=Y(t);return J[t]=n,q[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(h(q,e))return q[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?y(e):se(y(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ue,getOwnPropertySymbols:he}),r({target:"Object",stat:!0,forced:u(function(){x.f(1)})},{getOwnPropertySymbols:function(e){return x.f(A(e))}}),V)&&r({target:"JSON",stat:!0,forced:!l||u(function(){var e=Y();return"[null]"!=V([e])||"{}"!=V({a:e})||"{}"!=V(Object(e))})},{stringify:function(e,t,n){for(var r,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=t,(f(t)||void 0!==e)&&!oe(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),i[1]=t,V.apply(null,i)}});Y.prototype[j]||k(Y.prototype,j,Y.prototype.valueOf),F(Y,"Symbol"),D[H]=!0},function(e,t,n){var r=n(17),i=n(44).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(57);t.f=r},function(e,t,n){var r=n(43),i=n(23),o=n(170),a=n(27).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t,n){n(171)("asyncIterator")},function(e,t,n){"use strict";var r=n(10),i=n(13),o=n(11),a=n(23),s=n(22),l=n(27).f,c=n(40),u=o.Symbol;if(i&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var h={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new u(e):void 0===e?u():u(e);return""===e&&(h[t]=!0),t};c(d,u);var f=d.prototype=u.prototype;f.constructor=d;var p=f.toString,A="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(a(h,e))return"";var n=A?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},function(e,t,n){n(171)("hasInstance")},function(e,t,n){n(171)("isConcatSpreadable")},function(e,t,n){n(171)("iterator")},function(e,t,n){n(171)("match")},function(e,t,n){n(171)("matchAll")},function(e,t,n){n(171)("replace")},function(e,t,n){n(171)("search")},function(e,t,n){n(171)("species")},function(e,t,n){n(171)("split")},function(e,t,n){n(171)("toPrimitive")},function(e,t,n){n(171)("toStringTag")},function(e,t,n){n(171)("unscopables")},function(e,t,n){n(85)(Math,"Math",!0)},function(e,t,n){var r=n(11);n(85)(r.JSON,"JSON",!0)},function(e,t,n){n(189);var r=n(61);e.exports=r("String","padStart")},function(e,t,n){"use strict";var r=n(10),i=n(190).start;r({target:"String",proto:!0,forced:n(192)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(47),i=n(191),o=n(20),a=Math.ceil,s=function(e){return function(t,n,s){var l,c,u=String(o(t)),h=u.length,d=void 0===s?" ":String(s),f=r(n);return f<=h||""==d?u:(l=f-h,(c=i.call(d,a(l/d.length))).length>l&&(c=c.slice(0,l)),e?u+c:c+u)}};e.exports={start:s(!1),end:s(!0)}},function(e,t,n){"use strict";var r=n(48),i=n(20);e.exports="".repeat||function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},function(e,t,n){var r=n(127);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){n(194);var r=n(61);e.exports=r("String","padEnd")},function(e,t,n){"use strict";var r=n(10),i=n(190).end;r({target:"String",proto:!0,forced:n(192)},{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(196);var r=n(43);e.exports=r.Object.values},function(e,t,n){var r=n(10),i=n(197).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},function(e,t,n){var r=n(13),i=n(73),o=n(17),a=n(15).f,s=function(e){return function(t){for(var n,s=o(t),l=i(s),c=l.length,u=0,h=[];c>u;)n=l[u++],r&&!a.call(s,n)||h.push(e?[n,s[n]]:s[n]);return h}};e.exports={entries:s(!0),values:s(!1)}},function(module,exports,__w_pdfjs_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.build=exports.version=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFWorker=exports.PDFDataRangeTransport=exports.LoopbackPort=void 0;var _regenerator=_interopRequireDefault(__w_pdfjs_require__(2)),_util=__w_pdfjs_require__(5),_display_utils=__w_pdfjs_require__(1),_font_loader=__w_pdfjs_require__(199),_api_compatibility=__w_pdfjs_require__(200),_canvas=__w_pdfjs_require__(201),_worker_options=__w_pdfjs_require__(203),_is_node=__w_pdfjs_require__(7),_message_handler=__w_pdfjs_require__(204),_metadata=__w_pdfjs_require__(205),_transport_stream=__w_pdfjs_require__(207),_webgl=__w_pdfjs_require__(208);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function asyncGeneratorStep(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){asyncGeneratorStep(o,r,i,a,s,"next",e)}function s(e){asyncGeneratorStep(o,r,i,a,s,"throw",e)}a(void 0)})}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _iterableToArrayLimit(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _typeof(e){"@babel/helpers - typeof";return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100,createPDFNetworkStream;function setPDFNetworkStreamFactory(e){createPDFNetworkStream=e}function getDocument(e){var t,n=new PDFDocumentLoadingTask;if("string"==typeof e)t={url:e};else if((0,_util.isArrayBuffer)(e))t={data:e};else if(e instanceof PDFDataRangeTransport)t={range:e};else{if("object"!==_typeof(e))throw new Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!e.url&&!e.data&&!e.range)throw new Error("Invalid parameter object: need either .data, .range or .url");t=e}var r=Object.create(null),i=null,o=null;for(var a in t)if("url"!==a||"undefined"==typeof window)if("range"!==a)if("worker"!==a)if("data"!==a||t[a]instanceof Uint8Array)r[a]=t[a];else{var s=t[a];if("string"==typeof s)r[a]=(0,_util.stringToBytes)(s);else if("object"!==_typeof(s)||null===s||isNaN(s.length)){if(!(0,_util.isArrayBuffer)(s))throw new Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.");r[a]=new Uint8Array(s)}else r[a]=new Uint8Array(s)}else o=t[a];else i=t[a];else r[a]=new URL(t[a],window.location).href;if(r.rangeChunkSize=r.rangeChunkSize||DEFAULT_RANGE_CHUNK_SIZE,r.CMapReaderFactory=r.CMapReaderFactory||_display_utils.DOMCMapReaderFactory,r.ignoreErrors=!0!==r.stopAtErrors,r.fontExtraProperties=!0===r.fontExtraProperties,r.pdfBug=!0===r.pdfBug,Number.isInteger(r.maxImageSize)||(r.maxImageSize=-1),"boolean"!=typeof r.isEvalSupported&&(r.isEvalSupported=!0),"boolean"!=typeof r.disableFontFace&&(r.disableFontFace=_api_compatibility.apiCompatibilityParams.disableFontFace||!1),"boolean"!=typeof r.disableRange&&(r.disableRange=!1),"boolean"!=typeof r.disableStream&&(r.disableStream=!1),"boolean"!=typeof r.disableAutoFetch&&(r.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(r.verbosity),!o){var l={verbosity:r.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};o=l.port?PDFWorker.fromPort(l):new PDFWorker(l),n._worker=o}var c=n.docId;return o.promise.then(function(){if(n.destroyed)throw new Error("Loading aborted");var e=_fetchDocument(o,r,i,c),t=new Promise(function(e){var t;i?t=new _transport_stream.PDFDataTransportStream({length:r.length,initialData:r.initialData,progressiveDone:r.progressiveDone,disableRange:r.disableRange,disableStream:r.disableStream},i):r.data||(t=createPDFNetworkStream({url:r.url,length:r.length,httpHeaders:r.httpHeaders,withCredentials:r.withCredentials,rangeChunkSize:r.rangeChunkSize,disableRange:r.disableRange,disableStream:r.disableStream})),e(t)});return Promise.all([e,t]).then(function(e){var t=_slicedToArray(e,2),i=t[0],a=t[1];if(n.destroyed)throw new Error("Loading aborted");var s=new _message_handler.MessageHandler(c,i,o.port);s.postMessageTransfers=o.postMessageTransfers;var l=new WorkerTransport(s,n,a,r);n._transport=l,s.send("Ready",null)})}).catch(n._capability.reject),n}function _fetchDocument(e,t,n,r){return e.destroyed?Promise.reject(new Error("Worker was destroyed")):(n&&(t.length=n.length,t.initialData=n.initialData,t.progressiveDone=n.progressiveDone),e.messageHandler.sendWithPromise("GetDocRequest",{docId:r,apiVersion:"2.5.207",source:{data:t.data,url:t.url,password:t.password,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize,length:t.length},maxImageSize:t.maxImageSize,disableFontFace:t.disableFontFace,postMessageTransfers:e.postMessageTransfers,docBaseUrl:t.docBaseUrl,ignoreErrors:t.ignoreErrors,isEvalSupported:t.isEvalSupported,fontExtraProperties:t.fontExtraProperties}).then(function(t){if(e.destroyed)throw new Error("Worker was destroyed");return t}))}var PDFDocumentLoadingTask=(nextDocumentId=0,function(){function e(){_classCallCheck(this,e),this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+nextDocumentId++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return _createClass(e,[{key:"destroy",value:function(){var e=this;return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then(function(){e._transport=null,e._worker&&(e._worker.destroy(),e._worker=null)})}},{key:"promise",get:function(){return this._capability.promise}}]),e}()),nextDocumentId,PDFDataRangeTransport=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.length=t,this.initialData=n,this.progressiveDone=r,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}return _createClass(e,[{key:"addRangeListener",value:function(e){this._rangeListeners.push(e)}},{key:"addProgressListener",value:function(e){this._progressListeners.push(e)}},{key:"addProgressiveReadListener",value:function(e){this._progressiveReadListeners.push(e)}},{key:"addProgressiveDoneListener",value:function(e){this._progressiveDoneListeners.push(e)}},{key:"onDataRange",value:function(e,t){var n,r=_createForOfIteratorHelper(this._rangeListeners);try{for(r.s();!(n=r.n()).done;){(0,n.value)(e,t)}}catch(e){r.e(e)}finally{r.f()}}},{key:"onDataProgress",value:function(e,t){var n=this;this._readyCapability.promise.then(function(){var r,i=_createForOfIteratorHelper(n._progressListeners);try{for(i.s();!(r=i.n()).done;){(0,r.value)(e,t)}}catch(e){i.e(e)}finally{i.f()}})}},{key:"onDataProgressiveRead",value:function(e){var t=this;this._readyCapability.promise.then(function(){var n,r=_createForOfIteratorHelper(t._progressiveReadListeners);try{for(r.s();!(n=r.n()).done;){(0,n.value)(e)}}catch(e){r.e(e)}finally{r.f()}})}},{key:"onDataProgressiveDone",value:function(){var e=this;this._readyCapability.promise.then(function(){var t,n=_createForOfIteratorHelper(e._progressiveDoneListeners);try{for(n.s();!(t=n.n()).done;){(0,t.value)()}}catch(e){n.e(e)}finally{n.f()}})}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(e,t){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}]),e}();exports.PDFDataRangeTransport=PDFDataRangeTransport;var PDFDocumentProxy=function(){function e(t,n){_classCallCheck(this,e),this._pdfInfo=t,this._transport=n}return _createClass(e,[{key:"getPage",value:function(e){return this._transport.getPage(e)}},{key:"getPageIndex",value:function(e){return this._transport.getPageIndex(e)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(e){return this._transport.getDestination(e)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenAction",value:function(){return this._transport.getOpenAction()}},{key:"getOpenActionDestination",value:function(){return(0,_display_utils.deprecated)("getOpenActionDestination, use getOpenAction instead."),this.getOpenAction().then(function(e){return e&&e.dest?e.dest:null})}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJavaScript",value:function(){return this._transport.getJavaScript()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"getStats",value:function(){return this._transport.getStats()}},{key:"cleanup",value:function(){return this._transport.startCleanup()}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprint",get:function(){return this._pdfInfo.fingerprint}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}}]),e}();exports.PDFDocumentProxy=PDFDocumentProxy;var PDFPageProxy=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];_classCallCheck(this,e),this._pageIndex=t,this._pageInfo=n,this._transport=r,this._stats=i?new _display_utils.StatTimer:null,this._pdfBug=i,this.commonObjs=r.commonObjs,this.objs=new PDFObjects,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return _createClass(e,[{key:"getViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scale,n=e.rotation,r=void 0===n?this.rotate:n,i=e.offsetX,o=void 0===i?0:i,a=e.offsetY,s=void 0===a?0:a,l=e.dontFlip,c=void 0!==l&&l;return new _display_utils.PageViewport({viewBox:this.view,scale:t,rotation:r,offsetX:o,offsetY:s,dontFlip:c})}},{key:"getAnnotations",value:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).intent,t=void 0===e?null:e;return this.annotationsPromise&&this.annotationsIntent===t||(this.annotationsPromise=this._transport.getAnnotations(this._pageIndex,t),this.annotationsIntent=t),this.annotationsPromise}},{key:"render",value:function(e){var t=this,n=e.canvasContext,r=e.viewport,i=e.intent,o=void 0===i?"display":i,a=e.enableWebGL,s=void 0!==a&&a,l=e.renderInteractiveForms,c=void 0!==l&&l,u=e.transform,h=void 0===u?null:u,d=e.imageLayer,f=void 0===d?null:d,p=e.canvasFactory,A=void 0===p?null:p,g=e.background,v=void 0===g?null:g;this._stats&&this._stats.time("Overall");var m="print"===o?"print":"display";this.pendingCleanup=!1,this.intentStates[m]||(this.intentStates[m]=Object.create(null));var y=this.intentStates[m];y.streamReaderCancelTimeout&&(clearTimeout(y.streamReaderCancelTimeout),y.streamReaderCancelTimeout=null);var b=A||new _display_utils.DOMCanvasFactory,_=new _webgl.WebGLContext({enable:s});y.displayReadyCapability||(y.displayReadyCapability=(0,_util.createPromiseCapability)(),y.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList({pageIndex:this._pageIndex,intent:m,renderInteractiveForms:!0===c}));var w=function(e){var n=y.renderTasks.indexOf(x);n>=0&&y.renderTasks.splice(n,1),(t.cleanupAfterRender||"print"===m)&&(t.pendingCleanup=!0),t._tryCleanup(),e?(x.capability.reject(e),t._abortOperatorList({intentState:y,reason:e})):x.capability.resolve(),t._stats&&(t._stats.timeEnd("Rendering"),t._stats.timeEnd("Overall"))},x=new InternalRenderTask({callback:w,params:{canvasContext:n,viewport:r,transform:h,imageLayer:f,background:v},objs:this.objs,commonObjs:this.commonObjs,operatorList:y.operatorList,pageIndex:this._pageIndex,canvasFactory:b,webGLContext:_,useRequestAnimationFrame:"print"!==m,pdfBug:this._pdfBug});y.renderTasks||(y.renderTasks=[]),y.renderTasks.push(x);var C=x.task;return y.displayReadyCapability.promise.then(function(e){t.pendingCleanup?w():(t._stats&&t._stats.time("Rendering"),x.initializeGraphics(e),x.operatorListChanged())}).catch(w),C}},{key:"getOperatorList",value:function(){this.intentStates.oplist||(this.intentStates.oplist=Object.create(null));var e,t=this.intentStates.oplist;return t.opListReadCapability||((e={}).operatorListChanged=function(){if(t.operatorList.lastChunk){t.opListReadCapability.resolve(t.operatorList);var n=t.renderTasks.indexOf(e);n>=0&&t.renderTasks.splice(n,1)}},t.opListReadCapability=(0,_util.createPromiseCapability)(),t.renderTasks=[],t.renderTasks.push(e),t.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList({pageIndex:this._pageIndex,intent:"oplist"})),t.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.normalizeWhitespace,n=void 0!==t&&t,r=e.disableCombineTextItems,i=void 0!==r&&r;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,normalizeWhitespace:!0===n,combineTextItems:!0!==i},{highWaterMark:100,size:function(e){return e.items.length}})}},{key:"getTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.streamTextContent(e);return new Promise(function(e,n){var r=t.getReader(),i={items:[],styles:Object.create(null)};!function t(){r.read().then(function(n){var r,o=n.value;n.done?e(i):(Object.assign(i.styles,o.styles),(r=i.items).push.apply(r,_toConsumableArray(o.items)),t())},n)}()})}},{key:"_destroy",value:function(){var e=this;this.destroyed=!0,this._transport.pageCache[this._pageIndex]=null;var t=[];return Object.keys(this.intentStates).forEach(function(n){var r=e.intentStates[n];e._abortOperatorList({intentState:r,reason:new Error("Page was destroyed."),force:!0}),"oplist"!==n&&r.renderTasks.forEach(function(e){var n=e.capability.promise.catch(function(){});t.push(n),e.cancel()})}),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(t)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pendingCleanup=!0,this._tryCleanup(e)}},{key:"_tryCleanup",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!(!this.pendingCleanup||Object.keys(this.intentStates).some(function(t){var n=e.intentStates[t];return 0!==n.renderTasks.length||!n.operatorList.lastChunk}))&&(Object.keys(this.intentStates).forEach(function(t){delete e.intentStates[t]}),this.objs.clear(),this.annotationsPromise=null,t&&this._stats&&(this._stats=new _display_utils.StatTimer),this.pendingCleanup=!1,!0)}},{key:"_startRenderPage",value:function(e,t){var n=this.intentStates[t];n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(e))}},{key:"_renderPageChunk",value:function(e,t){for(var n=0,r=e.length;n<r;n++)t.operatorList.fnArray.push(e.fnArray[n]),t.operatorList.argsArray.push(e.argsArray[n]);t.operatorList.lastChunk=e.lastChunk;for(var i=0;i<t.renderTasks.length;i++)t.renderTasks[i].operatorListChanged();e.lastChunk&&this._tryCleanup()}},{key:"_pumpOperatorList",value:function(e){var t=this;(0,_util.assert)(e.intent,'PDFPageProxy._pumpOperatorList: Expected "intent" argument.');var n=this._transport.messageHandler.sendWithStream("GetOperatorList",e).getReader(),r=this.intentStates[e.intent];r.streamReader=n;!function e(){n.read().then(function(n){var i=n.value;n.done?r.streamReader=null:t._transport.destroyed||(t._renderPageChunk(i,r),e())},function(e){if(r.streamReader=null,!t._transport.destroyed){if(r.operatorList){r.operatorList.lastChunk=!0;for(var n=0;n<r.renderTasks.length;n++)r.renderTasks[n].operatorListChanged();t._tryCleanup()}if(r.displayReadyCapability)r.displayReadyCapability.reject(e);else{if(!r.opListReadCapability)throw e;r.opListReadCapability.reject(e)}}})}()}},{key:"_abortOperatorList",value:function(e){var t=this,n=e.intentState,r=e.reason,i=e.force,o=void 0!==i&&i;if((0,_util.assert)(r instanceof Error||"object"===_typeof(r)&&null!==r,'PDFPageProxy._abortOperatorList: Expected "reason" argument.'),n.streamReader){if(!o){if(0!==n.renderTasks.length)return;if(r instanceof _display_utils.RenderingCancelledException)return void(n.streamReaderCancelTimeout=setTimeout(function(){t._abortOperatorList({intentState:n,reason:r,force:!0}),n.streamReaderCancelTimeout=null},RENDERING_CANCELLED_TIMEOUT))}n.streamReader.cancel(new _util.AbortException(r&&r.message)),n.streamReader=null,this._transport.destroyed||(Object.keys(this.intentStates).some(function(e){return t.intentStates[e]===n&&(delete t.intentStates[e],!0)}),this.cleanup())}}},{key:"pageNumber",get:function(){return this._pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"stats",get:function(){return this._stats}}]),e}();exports.PDFPageProxy=PDFPageProxy;var LoopbackPort=function(){function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];_classCallCheck(this,e),this._listeners=[],this._defer=t,this._deferred=Promise.resolve(void 0)}return _createClass(e,[{key:"postMessage",value:function(e,t){var n=this;if(this._defer){var r=new WeakMap,i={data:function e(n){if("object"!==_typeof(n)||null===n)return n;if(r.has(n))return r.get(n);var i,o;if((i=n.buffer)&&(0,_util.isArrayBuffer)(i))return o=t&&t.includes(i)?new n.constructor(i,n.byteOffset,n.byteLength):new n.constructor(n),r.set(n,o),o;for(var a in o=Array.isArray(n)?[]:{},r.set(n,o),n){for(var s=void 0,l=n;!(s=Object.getOwnPropertyDescriptor(l,a));)l=Object.getPrototypeOf(l);if(void 0!==s.value)if("function"!=typeof s.value)o[a]=e(s.value);else if(n.hasOwnProperty&&n.hasOwnProperty(a))throw new Error("LoopbackPort.postMessage - cannot clone: ".concat(n[a]))}return o}(e)};this._deferred.then(function(){n._listeners.forEach(function(e){e.call(n,i)})})}else this._listeners.forEach(function(t){t.call(n,{data:e})})}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var n=this._listeners.indexOf(t);this._listeners.splice(n,1)}},{key:"terminate",value:function(){this._listeners.length=0}}]),e}();exports.LoopbackPort=LoopbackPort;var PDFWorker=function PDFWorkerClosure(){var pdfWorkerPorts=new WeakMap,isWorkerDisabled=!1,fallbackWorkerSrc,nextFakeWorkerId=0,fakeWorkerCapability;if(_is_node.isNodeJS)isWorkerDisabled=!0,fallbackWorkerSrc="./pdf.worker.js";else if("object"===("undefined"==typeof document?"undefined":_typeof(document))&&"currentScript"in document){var pdfjsFilePath=document.currentScript&&document.currentScript.src;pdfjsFilePath&&(fallbackWorkerSrc=pdfjsFilePath.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}function _getWorkerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(void 0!==fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}function getMainThreadWorkerMessageHandler(){var e;try{e=globalThis.pdfjsWorker&&globalThis.pdfjsWorker.WorkerMessageHandler}catch(e){}return e||null}function setupFakeWorkerGlobal(){if(fakeWorkerCapability)return fakeWorkerCapability.promise;fakeWorkerCapability=(0,_util.createPromiseCapability)();var loader=function(){var _ref10=_asyncToGenerator(_regenerator.default.mark(function _callee(){var mainWorkerMessageHandler,worker;return _regenerator.default.wrap(function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(mainWorkerMessageHandler=getMainThreadWorkerMessageHandler(),!mainWorkerMessageHandler){_context.next=3;break}return _context.abrupt("return",mainWorkerMessageHandler);case 3:if(!_is_node.isNodeJS){_context.next=6;break}return worker=eval("require")(_getWorkerSrc()),_context.abrupt("return",worker.WorkerMessageHandler);case 6:return _context.next=8,(0,_display_utils.loadScript)(_getWorkerSrc());case 8:return _context.abrupt("return",window.pdfjsWorker.WorkerMessageHandler);case 9:case"end":return _context.stop()}},_callee)}));return function(){return _ref10.apply(this,arguments)}}();return loader().then(fakeWorkerCapability.resolve,fakeWorkerCapability.reject),fakeWorkerCapability.promise}function createCDNWrapper(e){var t="importScripts('"+e+"');";return URL.createObjectURL(new Blob([t]))}var PDFWorker=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.name,r=void 0===n?null:n,i=t.port,o=void 0===i?null:i,a=t.verbosity,s=void 0===a?(0,_util.getVerbosityLevel)():a;if(_classCallCheck(this,e),o&&pdfWorkerPorts.has(o))throw new Error("Cannot use more than one PDFWorker per port");if(this.name=r,this.destroyed=!1,this.postMessageTransfers=!0,this.verbosity=s,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,o)return pdfWorkerPorts.set(o,this),void this._initializeFromPort(o);this._initialize()}return _createClass(e,[{key:"_initializeFromPort",value:function(e){this._port=e,this._messageHandler=new _message_handler.MessageHandler("main","worker",e),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()}},{key:"_initialize",value:function(){var e=this;if("undefined"!=typeof Worker&&!isWorkerDisabled&&!getMainThreadWorkerMessageHandler()){var t=_getWorkerSrc();try{(0,_util.isSameOrigin)(window.location.href,t)||(t=createCDNWrapper(new URL(t,window.location).href));var n=new Worker(t),r=new _message_handler.MessageHandler("main","worker",n),i=function(){n.removeEventListener("error",o),r.destroy(),n.terminate(),e.destroyed?e._readyCapability.reject(new Error("Worker was destroyed")):e._setupFakeWorker()},o=function(){e._webWorker||i()};n.addEventListener("error",o),r.on("test",function(t){n.removeEventListener("error",o),e.destroyed?i():t?(e._messageHandler=r,e._port=n,e._webWorker=n,t.supportTransfers||(e.postMessageTransfers=!1),e._readyCapability.resolve(),r.send("configure",{verbosity:e.verbosity})):(e._setupFakeWorker(),r.destroy(),n.terminate())}),r.on("ready",function(t){if(n.removeEventListener("error",o),e.destroyed)i();else try{a()}catch(t){e._setupFakeWorker()}});var a=function(){var t=new Uint8Array([e.postMessageTransfers?255:0]);try{r.send("test",t,[t.buffer])}catch(e){(0,_util.warn)("Cannot use postMessage transfers."),t[0]=0,r.send("test",t)}};return void a()}catch(e){(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}},{key:"_setupFakeWorker",value:function(){var e=this;isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),isWorkerDisabled=!0),setupFakeWorkerGlobal().then(function(t){if(e.destroyed)e._readyCapability.reject(new Error("Worker was destroyed"));else{var n=new LoopbackPort;e._port=n;var r="fake"+nextFakeWorkerId++,i=new _message_handler.MessageHandler(r+"_worker",r,n);t.setup(i,n);var o=new _message_handler.MessageHandler(r,r+"_worker",n);e._messageHandler=o,e._readyCapability.resolve(),o.send("configure",{verbosity:e.verbosity})}}).catch(function(t){e._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(t.message,'".')))})}},{key:"destroy",value:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),pdfWorkerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},{key:"promise",get:function(){return this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}}],[{key:"fromPort",value:function(t){if(!t||!t.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return pdfWorkerPorts.has(t.port)?pdfWorkerPorts.get(t.port):new e(t)}},{key:"getWorkerSrc",value:function(){return _getWorkerSrc()}}]),e}();return PDFWorker}();exports.PDFWorker=PDFWorker;var WorkerTransport=function(){function e(t,n,r,i){_classCallCheck(this,e),this.messageHandler=t,this.loadingTask=n,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:n.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this)}),this._params=i,this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=r,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}return _createClass(e,[{key:"destroy",value:function(){var e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));var t=[];this.pageCache.forEach(function(e){e&&t.push(e._destroy())}),this.pageCache.length=0,this.pagePromises.length=0;var n=this.messageHandler.sendWithPromise("Terminate",null);return t.push(n),Promise.all(t).then(function(){e.fontLoader.clear(),e._networkStream&&e._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var e=this,t=this.messageHandler,n=this.loadingTask;t.on("GetReader",function(t,n){(0,_util.assert)(e._networkStream,"GetReader - no `IPDFStream` instance available."),e._fullReader=e._networkStream.getFullReader(),e._fullReader.onProgress=function(t){e._lastProgress={loaded:t.loaded,total:t.total}},n.onPull=function(){e._fullReader.read().then(function(e){var t=e.value;e.done?n.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(t),1,[t]))}).catch(function(e){n.error(e)})},n.onCancel=function(t){e._fullReader.cancel(t)}}),t.on("ReaderHeadersReady",function(t){var r=(0,_util.createPromiseCapability)(),i=e._fullReader;return i.headersReady.then(function(){i.isStreamingSupported&&i.isRangeSupported||(e._lastProgress&&n.onProgress&&n.onProgress(e._lastProgress),i.onProgress=function(e){n.onProgress&&n.onProgress({loaded:e.loaded,total:e.total})}),r.resolve({isStreamingSupported:i.isStreamingSupported,isRangeSupported:i.isRangeSupported,contentLength:i.contentLength})},r.reject),r.promise}),t.on("GetRangeReader",function(t,n){(0,_util.assert)(e._networkStream,"GetRangeReader - no `IPDFStream` instance available.");var r=e._networkStream.getRangeReader(t.begin,t.end);r?(n.onPull=function(){r.read().then(function(e){var t=e.value;e.done?n.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetRangeReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(t),1,[t]))}).catch(function(e){n.error(e)})},n.onCancel=function(e){r.cancel(e)}):n.close()}),t.on("GetDoc",function(t){var r=t.pdfInfo;e._numPages=r.numPages,n._capability.resolve(new PDFDocumentProxy(r,e))}),t.on("DocException",function(e){var t;switch(e.name){case"PasswordException":t=new _util.PasswordException(e.message,e.code);break;case"InvalidPDFException":t=new _util.InvalidPDFException(e.message);break;case"MissingPDFException":t=new _util.MissingPDFException(e.message);break;case"UnexpectedResponseException":t=new _util.UnexpectedResponseException(e.message,e.status);break;case"UnknownErrorException":t=new _util.UnknownErrorException(e.message,e.details)}n._capability.reject(t)}),t.on("PasswordRequest",function(t){if(e._passwordCapability=(0,_util.createPromiseCapability)(),n.onPassword){try{n.onPassword(function(t){e._passwordCapability.resolve({password:t})},t.code)}catch(t){e._passwordCapability.reject(t)}}else e._passwordCapability.reject(new _util.PasswordException(t.message,t.code));return e._passwordCapability.promise}),t.on("DataLoaded",function(t){n.onProgress&&n.onProgress({loaded:t.length,total:t.length}),e.downloadInfoCapability.resolve(t)}),t.on("StartRenderPage",function(t){e.destroyed||e.pageCache[t.pageIndex]._startRenderPage(t.transparency,t.intent)}),t.on("commonobj",function(n){if(!e.destroyed){var r=_slicedToArray(n,3),i=r[0],o=r[1],a=r[2];if(!e.commonObjs.has(i))switch(o){case"Font":var s=e._params;if("error"in a){var l=a.error;(0,_util.warn)("Error during font loading: ".concat(l)),e.commonObjs.resolve(i,l);break}var c=null;s.pdfBug&&globalThis.FontInspector&&globalThis.FontInspector.enabled&&(c={registerFont:function(e,t){globalThis.FontInspector.fontAdded(e,t)}});var u=new _font_loader.FontFaceObject(a,{isEvalSupported:s.isEvalSupported,disableFontFace:s.disableFontFace,ignoreErrors:s.ignoreErrors,onUnsupportedFeature:e._onUnsupportedFeature.bind(e),fontRegistry:c});e.fontLoader.bind(u).catch(function(e){return t.sendWithPromise("FontFallback",{id:i})}).finally(function(){!s.fontExtraProperties&&u.data&&(u.data=null),e.commonObjs.resolve(i,u)});break;case"FontPath":case"FontType3Res":case"Image":e.commonObjs.resolve(i,a);break;default:throw new Error("Got unknown common object type ".concat(o))}}}),t.on("obj",function(t){if(!e.destroyed){var n=_slicedToArray(t,4),r=n[0],i=n[1],o=n[2],a=n[3],s=e.pageCache[i];if(!s.objs.has(r))switch(o){case"Image":s.objs.resolve(r,a);a&&"data"in a&&a.data.length>8e6&&(s.cleanupAfterRender=!0);break;default:throw new Error("Got unknown object type ".concat(o))}}}),t.on("DocProgress",function(t){e.destroyed||n.onProgress&&n.onProgress({loaded:t.loaded,total:t.total})}),t.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),t.on("FetchBuiltInCMap",function(t,n){if(e.destroyed)n.error(new Error("Worker was destroyed"));else{var r=!1;n.onPull=function(){r?n.close():(r=!0,e.CMapReaderFactory.fetch(t).then(function(e){n.enqueue(e,1,[e.cMapData.buffer])}).catch(function(e){n.error(e)}))}}})}},{key:"_onUnsupportedFeature",value:function(e){var t=e.featureId;this.destroyed||this.loadingTask.onUnsupportedFeature&&this.loadingTask.onUnsupportedFeature(t)}},{key:"getData",value:function(){return this.messageHandler.sendWithPromise("GetData",null)}},{key:"getPage",value:function(e){var t=this;if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request"));var n=e-1;if(n in this.pagePromises)return this.pagePromises[n];var r=this.messageHandler.sendWithPromise("GetPage",{pageIndex:n}).then(function(e){if(t.destroyed)throw new Error("Transport destroyed");var r=new PDFPageProxy(n,e,t,t._params.pdfBug);return t.pageCache[n]=r,r});return this.pagePromises[n]=r,r}},{key:"getPageIndex",value:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e}).catch(function(e){return Promise.reject(new Error(e))})}},{key:"getAnnotations",value:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(e){return"string"!=typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenAction",value:function(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getJavaScript",value:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var e=this;return this.messageHandler.sendWithPromise("GetMetadata",null).then(function(t){return{info:t[0],metadata:t[1]?new _metadata.Metadata(t[1]):null,contentDispositionFilename:e._fullReader?e._fullReader.filename:null}})}},{key:"getStats",value:function(){return this.messageHandler.sendWithPromise("GetStats",null)}},{key:"startCleanup",value:function(){var e=this;return this.messageHandler.sendWithPromise("Cleanup",null).then(function(){for(var t=0,n=e.pageCache.length;t<n;t++){var r=e.pageCache[t];if(r)if(!r.cleanup())throw new Error("startCleanup: Page ".concat(t+1," is currently rendering."))}e.commonObjs.clear(),e.fontLoader.clear()})}},{key:"loadingParams",get:function(){var e=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:e.disableAutoFetch,disableFontFace:e.disableFontFace})}}]),e}(),PDFObjects=function(){function e(){_classCallCheck(this,e),this._objs=Object.create(null)}return _createClass(e,[{key:"_ensureObj",value:function(e){return this._objs[e]?this._objs[e]:this._objs[e]={capability:(0,_util.createPromiseCapability)(),data:null,resolved:!1}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return this._ensureObj(e).capability.promise.then(t),null;var n=this._objs[e];if(!n||!n.resolved)throw new Error("Requesting object that isn't resolved yet ".concat(e,"."));return n.data}},{key:"has",value:function(e){var t=this._objs[e];return!!t&&t.resolved}},{key:"resolve",value:function(e,t){var n=this._ensureObj(e);n.resolved=!0,n.data=t,n.capability.resolve(t)}},{key:"clear",value:function(){this._objs=Object.create(null)}}]),e}(),RenderTask=function(){function e(t){_classCallCheck(this,e),this._internalRenderTask=t,this.onContinue=null}return _createClass(e,[{key:"cancel",value:function(){this._internalRenderTask.cancel()}},{key:"promise",get:function(){return this._internalRenderTask.capability.promise}}]),e}(),InternalRenderTask=(canvasInRendering=new WeakSet,function(){function e(t){var n=t.callback,r=t.params,i=t.objs,o=t.commonObjs,a=t.operatorList,s=t.pageIndex,l=t.canvasFactory,c=t.webGLContext,u=t.useRequestAnimationFrame,h=void 0!==u&&u,d=t.pdfBug,f=void 0!==d&&d;_classCallCheck(this,e),this.callback=n,this.params=r,this.objs=i,this.commonObjs=o,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=s,this.canvasFactory=l,this.webGLContext=c,this._pdfBug=f,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===h&&"undefined"!=typeof window,this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=r.canvasContext.canvas}return _createClass(e,[{key:"initializeGraphics",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.cancelled){if(this._canvas){if(canvasInRendering.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");canvasInRendering.add(this._canvas)}this._pdfBug&&globalThis.StepperManager&&globalThis.StepperManager.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var t=this.params,n=t.canvasContext,r=t.viewport,i=t.transform,o=t.imageLayer,a=t.background;this.gfx=new _canvas.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,this.webGLContext,o),this.gfx.beginDrawing({transform:i,viewport:r,transparency:e,background:a}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}}},{key:"cancel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&canvasInRendering.delete(this._canvas),this.callback(e||new _display_utils.RenderingCancelledException("Rendering cancelled, page ".concat(this._pageIndex+1),"canvas"))}},{key:"operatorListChanged",value:function(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var e=this;this._useRequestAnimationFrame?window.requestAnimationFrame(function(){e._nextBound().catch(e.cancel.bind(e))}):Promise.resolve().then(this._nextBound).catch(this.cancel.bind(this))}},{key:"_next",value:(t=_asyncToGenerator(_regenerator.default.mark(function e(){return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.cancelled){e.next=2;break}return e.abrupt("return");case 2:this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&canvasInRendering.delete(this._canvas),this.callback()));case 4:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})}]),e;var t}()),canvasInRendering,version="2.5.207";exports.version=version;var build="0974d605";exports.build=build},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(e){"@babel/helpers - typeof";return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}var p,A=function(){function e(t){var n=t.docId,r=t.onUnsupportedFeature;h(this,e),this.constructor===e&&(0,o.unreachable)("Cannot initialize BaseFontLoader."),this.docId=n,this._onUnsupportedFeature=r,this.nativeFontFaces=[],this.styleElement=null}return f(e,[{key:"addNativeFontFace",value:function(e){this.nativeFontFaces.push(e),document.fonts.add(e)}},{key:"insertRule",value:function(e){var t=this.styleElement;t||((t=this.styleElement=document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_".concat(this.docId),document.documentElement.getElementsByTagName("head")[0].appendChild(t));var n=t.sheet;n.insertRule(e,n.cssRules.length)}},{key:"clear",value:function(){this.nativeFontFaces.forEach(function(e){document.fonts.delete(e)}),this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"bind",value:function(){var e,t=(e=i.default.mark(function e(t){var n,r,a=this;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.attached&&!t.missingFile){e.next=2;break}return e.abrupt("return");case 2:if(t.attached=!0,!this.isFontLoadingAPISupported){e.next=19;break}if(!(n=t.createNativeFontFace())){e.next=18;break}return this.addNativeFontFace(n),e.prev=7,e.next=10,n.loaded;case 10:e.next=18;break;case 12:throw e.prev=12,e.t0=e.catch(7),this._onUnsupportedFeature({featureId:o.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,o.warn)("Failed to load font '".concat(n.family,"': '").concat(e.t0,"'.")),t.disableFontFace=!0,e.t0;case 18:return e.abrupt("return");case 19:if(!(r=t.createFontFaceRule())){e.next=26;break}if(this.insertRule(r),!this.isSyncFontLoadingSupported){e.next=24;break}return e.abrupt("return");case 24:return e.next=26,new Promise(function(e){var n=a._queueLoadingCallback(e);a._prepareFontLoadEvent([r],[t],n)});case 26:case"end":return e.stop()}},e,this,[[7,12]])}),function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)})});return function(e){return t.apply(this,arguments)}}()},{key:"_queueLoadingCallback",value:function(e){(0,o.unreachable)("Abstract method `_queueLoadingCallback`.")}},{key:"_prepareFontLoadEvent",value:function(e,t,n){(0,o.unreachable)("Abstract method `_prepareFontLoadEvent`.")}},{key:"isFontLoadingAPISupported",get:function(){var e="undefined"!=typeof document&&!!document.fonts;return(0,o.shadow)(this,"isFontLoadingAPISupported",e)}},{key:"isSyncFontLoadingSupported",get:function(){(0,o.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}},{key:"_loadTestFont",get:function(){(0,o.unreachable)("Abstract method `_loadTestFont`.")}}]),e}();t.FontLoader=p,t.FontLoader=p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(n,A);var t=l(n);function n(e){var r;return h(this,n),(r=t.call(this,e)).loadingContext={requests:[],nextRequestId:0},r.loadTestFontId=0,r}return f(n,[{key:"_queueLoadingCallback",value:function(e){var t=this.loadingContext,n={id:"pdfjs-font-loading-".concat(t.nextRequestId++),done:!1,complete:function(){for((0,o.assert)(!n.done,"completeRequest() cannot be called twice."),n.done=!0;t.requests.length>0&&t.requests[0].done;){var e=t.requests.shift();setTimeout(e.callback,0)}},callback:e};return t.requests.push(n),n}},{key:"_prepareFontLoadEvent",value:function(e,t,n){function r(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function i(e,t,n,r){return e.substring(0,t)+r+e.substring(t+n)}var a,s,l=document.createElement("canvas");l.width=1,l.height=1;var c=l.getContext("2d"),u=0;var h="lt".concat(Date.now()).concat(this.loadTestFontId++),d=this._loadTestFont,f=r(d=i(d,976,h.length,h),16);for(a=0,s=h.length-3;a<s;a+=4)f=f-1482184792+r(h,a)|0;a<h.length&&(f=f-1482184792+r(h+"XXX",a)|0),d=i(d,16,4,(0,o.string32)(f));var p="url(data:font/opentype;base64,".concat(btoa(d),");"),A='@font-face {font-family:"'.concat(h,'";src:').concat(p,"}");this.insertRule(A);var g=[];for(a=0,s=t.length;a<s;a++)g.push(t[a].loadedName);g.push(h);var v=document.createElement("div");for(v.style.visibility="hidden",v.style.width=v.style.height="10px",v.style.position="absolute",v.style.top=v.style.left="0px",a=0,s=g.length;a<s;++a){var m=document.createElement("span");m.textContent="Hi",m.style.fontFamily=g[a],v.appendChild(m)}document.body.appendChild(v),function e(t,n){if(++u>30)return(0,o.warn)("Load test font never loaded."),void n();c.font="30px "+t,c.fillText(".",0,20),c.getImageData(0,0,1,1).data[3]>0?n():setTimeout(e.bind(null,t,n))}(h,function(){document.body.removeChild(v),n.complete()})}},{key:"isSyncFontLoadingSupported",get:function(){var e=!1;if("undefined"==typeof navigator)e=!0;else{var t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);t&&t[1]>=14&&(e=!0)}return(0,o.shadow)(this,"isSyncFontLoadingSupported",e)}},{key:"_loadTestFont",get:function(){return(0,o.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}}]),n}();var g=function(){function e(t,n){var r=n.isEvalSupported,i=void 0===r||r,o=n.disableFontFace,a=void 0!==o&&o,s=n.ignoreErrors,l=void 0!==s&&s,c=n.onUnsupportedFeature,u=void 0===c?null:c,d=n.fontRegistry,f=void 0===d?null:d;for(var p in h(this,e),this.compiledGlyphs=Object.create(null),t)this[p]=t[p];this.isEvalSupported=!1!==i,this.disableFontFace=!0===a,this.ignoreErrors=!0===l,this._onUnsupportedFeature=u,this.fontRegistry=f}return f(e,[{key:"createNativeFontFace",value:function(){if(!this.data||this.disableFontFace)return null;var e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}},{key:"createFontFaceRule",value:function(){if(!this.data||this.disableFontFace)return null;var e=(0,o.bytesToString)(new Uint8Array(this.data)),t="url(data:".concat(this.mimetype,";base64,").concat(btoa(e),");"),n='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(t,"}");return this.fontRegistry&&this.fontRegistry.registerFont(this,t),n}},{key:"getPathGenerator",value:function(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];var n,r;try{n=e.get(this.loadedName+"_path_"+t)}catch(e){if(!this.ignoreErrors)throw e;return this._onUnsupportedFeature&&this._onUnsupportedFeature({featureId:o.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,o.warn)('getPathGenerator - ignoring character: "'.concat(e,'".')),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&o.IsEvalSupportedCached.value){for(var i,a="",s=0,l=n.length;s<l;s++)i=void 0!==(r=n[s]).args?r.args.join(","):"",a+="c."+r.cmd+"("+i+");\n";return this.compiledGlyphs[t]=new Function("c","size",a)}return this.compiledGlyphs[t]=function(e,t){for(var i=0,o=n.length;i<o;i++)"scale"===(r=n[i]).cmd&&(r.args=[t,-t]),e[r.cmd].apply(e,r.args)}}}]),e}();t.FontFaceObject=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.apiCompatibilityParams=void 0;var r=n(7),i=Object.create(null);r.isNodeJS&&(i.disableFontFace=!0);var o=Object.freeze(i);t.apiCompatibilityParams=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var r=n(5),i=n(202);function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=16;function l(e){e.mozCurrentTransform||(e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[],Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){var e=this._transformMatrix,t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],s=t*i-n*r,l=n*r-t*i;return[i/s,n/l,r/l,t/s,(i*o-r*a)/l,(n*o-t*a)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var n=this._transformMatrix;n[4]=n[0]*e+n[2]*t+n[4],n[5]=n[1]*e+n[3]*t+n[5],this._originalTranslate(e,t)},e.scale=function(e,t){var n=this._transformMatrix;n[0]=n[0]*e,n[1]=n[1]*e,n[2]=n[2]*t,n[3]=n[3]*t,this._originalScale(e,t)},e.transform=function(t,n,r,i,o,a){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*n,s[1]*t+s[3]*n,s[0]*r+s[2]*i,s[1]*r+s[3]*i,s[0]*o+s[2]*a+s[4],s[1]*o+s[3]*a+s[5]],e._originalTransform(t,n,r,i,o,a)},e.setTransform=function(t,n,r,i,o,a){this._transformMatrix=[t,n,r,i,o,a],e._originalSetTransform(t,n,r,i,o,a)},e.rotate=function(e){var t=Math.cos(e),n=Math.sin(e),r=this._transformMatrix;this._transformMatrix=[r[0]*t+r[2]*n,r[1]*t+r[3]*n,r[0]*-n+r[2]*t,r[1]*-n+r[3]*t,r[4],r[5]],this._originalRotate(e)})}var c=function(){function e(e){this.canvasFactory=e,this.cache=Object.create(null)}return e.prototype={getCanvas:function(e,t,n,r){var i;return void 0!==this.cache[e]?(i=this.cache[e],this.canvasFactory.reset(i,t,n),i.context.setTransform(1,0,0,1,0,0)):(i=this.canvasFactory.create(t,n),this.cache[e]=i),r&&l(i.context),i},clear:function(){for(var e in this.cache){var t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}},e}();var u=function(){function e(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=r.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=r.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return e.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(e,t){this.x=e,this.y=t}},e}(),h=function(){function e(e,t,n,r,i,o){this.ctx=e,this.current=new u,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=n,this.canvasFactory=r,this.webGLContext=i,this.imageLayer=o,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new c(this.canvasFactory),e&&l(e),this._cachedGetSinglePixelWidth=null}function t(e,t){if("undefined"!=typeof ImageData&&t instanceof ImageData)e.putImageData(t,0,0);else{var n,i,o,a,l,c=t.height,u=t.width,h=c%s,d=(c-h)/s,f=0===h?d:d+1,p=e.createImageData(u,s),A=0,g=t.data,v=p.data;if(t.kind===r.ImageKind.GRAYSCALE_1BPP){var m=g.byteLength,y=new Uint32Array(v.buffer,0,v.byteLength>>2),b=y.length,_=u+7>>3,w=4294967295,x=r.IsLittleEndianCached.value?4278190080:255;for(i=0;i<f;i++){for(a=i<d?s:h,n=0,o=0;o<a;o++){for(var C=m-A,S=0,B=C>_?u:8*C-7,k=-8&B,T=0,E=0;S<k;S+=8)E=g[A++],y[n++]=128&E?w:x,y[n++]=64&E?w:x,y[n++]=32&E?w:x,y[n++]=16&E?w:x,y[n++]=8&E?w:x,y[n++]=4&E?w:x,y[n++]=2&E?w:x,y[n++]=1&E?w:x;for(;S<B;S++)0===T&&(E=g[A++],T=128),y[n++]=E&T?w:x,T>>=1}for(;n<b;)y[n++]=0;e.putImageData(p,0,i*s)}}else if(t.kind===r.ImageKind.RGBA_32BPP){for(o=0,l=u*s*4,i=0;i<d;i++)v.set(g.subarray(A,A+l)),A+=l,e.putImageData(p,0,o),o+=s;i<f&&(l=u*h*4,v.set(g.subarray(A,A+l)),e.putImageData(p,0,o))}else{if(t.kind!==r.ImageKind.RGB_24BPP)throw new Error("bad image kind: ".concat(t.kind));for(l=u*(a=s),i=0;i<f;i++){for(i>=d&&(l=u*(a=h)),n=0,o=l;o--;)v[n++]=g[A++],v[n++]=g[A++],v[n++]=g[A++],v[n++]=255;e.putImageData(p,0,i*s)}}}}function n(e,t){for(var n=t.height,r=t.width,i=n%s,o=(n-i)/s,a=0===i?o:o+1,l=e.createImageData(r,s),c=0,u=t.data,h=l.data,d=0;d<a;d++){for(var f=d<o?s:i,p=3,A=0;A<f;A++)for(var g=0,v=0;v<r;v++){if(!g){var m=u[c++];g=128}h[p]=m&g?0:255,p+=4,g>>=1}e.putImageData(l,0,d*s)}}function a(e,t){for(var n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],r=0,i=n.length;r<i;r++){var o=n[r];void 0!==e[o]&&(t[o]=e[o])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function h(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function d(e,t,n,r){for(var i=e.length,o=3;o<i;o+=4){var a=e[o];if(0===a)e[o-3]=t,e[o-2]=n,e[o-1]=r;else if(a<255){var s=255-a;e[o-3]=e[o-3]*a+t*s>>8,e[o-2]=e[o-2]*a+n*s>>8,e[o-1]=e[o-1]*a+r*s>>8}}}function f(e,t,n){for(var r=e.length,i=3;i<r;i+=4){var o=n?n[e[i]]:e[i];t[i]=t[i]*o*(1/255)|0}}function p(e,t,n){for(var r=e.length,i=3;i<r;i+=4){var o=77*e[i-3]+152*e[i-2]+28*e[i-1];t[i]=n?t[i]*n[o>>8]>>8:t[i]*o>>16}}function A(e,t,n,r){var i=t.canvas,o=t.context;e.setTransform(t.scaleX,0,0,t.scaleY,t.offsetX,t.offsetY);var a=t.backdrop||null;if(!t.transferMap&&r.isEnabled){var s=r.composeSMask({layer:n.canvas,mask:i,properties:{subtype:t.subtype,backdrop:a}});return e.setTransform(1,0,0,1,0,0),void e.drawImage(s,t.offsetX,t.offsetY)}!function(e,t,n,r,i,o,a){var s,l=!!o,c=l?o[0]:0,u=l?o[1]:0,h=l?o[2]:0;s="Luminosity"===i?p:f;for(var A=Math.min(r,Math.ceil(1048576/n)),g=0;g<r;g+=A){var v=Math.min(A,r-g),m=e.getImageData(0,g,n,v),y=t.getImageData(0,g,n,v);l&&d(m.data,c,u,h),s(m.data,y.data,a),e.putImageData(y,0,g)}}(o,n,i.width,i.height,t.subtype,a,t.transferMap),e.drawImage(i,0,0)}var g=["butt","round","square"],v=["miter","round","bevel"],m={},y={};for(var b in e.prototype={beginDrawing:function(e){var t=e.transform,n=e.viewport,r=e.transparency,i=void 0!==r&&r,o=e.background,a=void 0===o?null:o,s=this.ctx.canvas.width,l=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=a||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,s,l),this.ctx.restore(),i){var c=this.cachedCanvases.getCanvas("transparent",s,l,!0);this.compositeCtx=this.ctx,this.transparentCanvas=c.canvas,this.ctx=c.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),h(this.ctx),t&&this.ctx.transform.apply(this.ctx,t),this.ctx.transform.apply(this.ctx,n.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(e,t,n,i){var a=e.argsArray,s=e.fnArray,l=t||0,c=a.length;if(c===l)return l;for(var u,h=c-l>10&&"function"==typeof n,d=h?Date.now()+15:0,f=0,p=this.commonObjs,A=this.objs;;){if(void 0!==i&&l===i.nextBreakPoint)return i.breakIt(l,n),l;if((u=s[l])!==r.OPS.dependency)this[u].apply(this,a[l]);else{var g,v=o(a[l]);try{for(v.s();!(g=v.n()).done;){var m=g.value,y=m.startsWith("g_")?p:A;if(!y.has(m))return y.get(m,n),l}}catch(e){v.e(e)}finally{v.f()}}if(++l===c)return l;if(h&&++f>10){if(Date.now()>d)return n(),l;f=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),this.webGLContext.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e},setLineCap:function(e){this.ctx.lineCap=g[e]},setLineJoin:function(e){this.ctx.lineJoin=v[e]},setMiterLimit:function(e){this.ctx.miterLimit=e},setDash:function(e,t){var n=this.ctx;void 0!==n.setLineDash&&(n.setLineDash(e),n.lineDashOffset=t)},setRenderingIntent:function(e){},setFlatness:function(e){},setGState:function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t],i=r[0],o=r[1];switch(i){case"LW":this.setLineWidth(o);break;case"LC":this.setLineCap(o);break;case"LJ":this.setLineJoin(o);break;case"ML":this.setMiterLimit(o);break;case"D":this.setDash(o[0],o[1]);break;case"RI":this.setRenderingIntent(o);break;case"FL":this.setFlatness(o);break;case"Font":this.setFont(o[0],o[1]);break;case"CA":this.current.strokeAlpha=r[1];break;case"ca":this.current.fillAlpha=r[1],this.ctx.globalAlpha=r[1];break;case"BM":this.ctx.globalCompositeOperation=o;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=o?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function(){var e=this.current.activeSMask,t=e.canvas.width,n=e.canvas.height,r="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(r,t,n,!0),o=this.ctx,s=o.mozCurrentTransform;this.ctx.save();var l=i.context;l.scale(1/e.scaleX,1/e.scaleY),l.translate(-e.offsetX,-e.offsetY),l.transform.apply(l,s),e.startTransformInverse=l.mozCurrentTransformInverse,a(o,l),this.ctx=l,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(o),this.groupLevel++},suspendSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),A(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),this.ctx.save(),a(e,this.ctx),this.current.resumeSMaskCtx=e;var t=r.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t),e.save(),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.restore()},resumeSMaskGroup:function(){var e=this.current.resumeSMaskCtx,t=this.ctx;this.ctx=e,this.groupStack.push(t),this.groupLevel++},endSMaskGroup:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),A(this.ctx,this.current.activeSMask,e,this.webGLContext),this.ctx.restore(),a(e,this.ctx);var t=r.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t)},save:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null===this.current.activeSMask||0!==this.stateStack.length&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask||this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null)},transform:function(e,t,n,r,i,o){this.ctx.transform(e,t,n,r,i,o),this._cachedGetSinglePixelWidth=null},constructPath:function(e,t){for(var n=this.ctx,i=this.current,o=i.x,a=i.y,s=0,l=0,c=e.length;s<c;s++)switch(0|e[s]){case r.OPS.rectangle:o=t[l++],a=t[l++];var u=t[l++],h=t[l++];0===u&&(u=this.getSinglePixelWidth()),0===h&&(h=this.getSinglePixelWidth());var d=o+u,f=a+h;this.ctx.moveTo(o,a),this.ctx.lineTo(d,a),this.ctx.lineTo(d,f),this.ctx.lineTo(o,f),this.ctx.lineTo(o,a),this.ctx.closePath();break;case r.OPS.moveTo:o=t[l++],a=t[l++],n.moveTo(o,a);break;case r.OPS.lineTo:o=t[l++],a=t[l++],n.lineTo(o,a);break;case r.OPS.curveTo:o=t[l+4],a=t[l+5],n.bezierCurveTo(t[l],t[l+1],t[l+2],t[l+3],o,a),l+=6;break;case r.OPS.curveTo2:n.bezierCurveTo(o,a,t[l],t[l+1],t[l+2],t[l+3]),o=t[l+2],a=t[l+3],l+=4;break;case r.OPS.curveTo3:o=t[l+2],a=t[l+3],n.bezierCurveTo(t[l],t[l+1],o,a,o,a),l+=4;break;case r.OPS.closePath:n.closePath()}i.setCurrentPoint(o,a)},closePath:function(){this.ctx.closePath()},stroke:function(e){e=void 0===e||e;var t=this.ctx,n=this.current.strokeColor;if(t.globalAlpha=this.current.strokeAlpha,n&&n.hasOwnProperty("type")&&"Pattern"===n.type){t.save();var i=t.mozCurrentTransform,o=r.Util.singularValueDecompose2dScale(i)[0];t.strokeStyle=n.getPattern(t,this),t.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth*o),t.stroke(),t.restore()}else t.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth),t.stroke();e&&this.consumePath(),t.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(e){e=void 0===e||e;var t=this.ctx,n=this.current.fillColor,r=!1;this.current.patternFill&&(t.save(),this.baseTransform&&t.setTransform.apply(t,this.baseTransform),t.fillStyle=n.getPattern(t,this),r=!0),this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill(),r&&t.restore(),e&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=m},eoClip:function(){this.pendingClip=y},beginText:function(){this.current.textMatrix=r.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0!==e){t.save(),t.beginPath();for(var n=0;n<e.length;n++){var r=e[n];t.setTransform.apply(t,r.transform),t.translate(r.x,r.y),r.addToPath(t,r.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}else t.beginPath()},setCharSpacing:function(e){this.current.charSpacing=e},setWordSpacing:function(e){this.current.wordSpacing=e},setHScale:function(e){this.current.textHScale=e/100},setLeading:function(e){this.current.leading=-e},setFont:function(e,t){var n=this.commonObjs.get(e),i=this.current;if(!n)throw new Error("Can't find font for ".concat(e));if(i.fontMatrix=n.fontMatrix?n.fontMatrix:r.FONT_IDENTITY_MATRIX,0!==i.fontMatrix[0]&&0!==i.fontMatrix[3]||(0,r.warn)("Invalid font matrix for font "+e),t<0?(t=-t,i.fontDirection=-1):i.fontDirection=1,this.current.font=n,this.current.fontSize=t,!n.isType3Font){var o=n.loadedName||"sans-serif",a="normal";n.black?a="900":n.bold&&(a="bold");var s=n.italic?"italic":"normal",l='"'.concat(o,'", ').concat(n.fallbackName),c=t;t<16?c=16:t>100&&(c=100),this.current.fontSizeScale=t/c,this.ctx.font="".concat(s," ").concat(a," ").concat(c,"px ").concat(l)}},setTextRenderingMode:function(e){this.current.textRenderingMode=e},setTextRise:function(e){this.current.textRise=e},moveText:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t},setLeadingMoveText:function(e,t){this.setLeading(-t),this.moveText(e,t)},setTextMatrix:function(e,t,n,r,i,o){this.current.textMatrix=[e,t,n,r,i,o],this.current.textMatrixScale=Math.sqrt(e*e+t*t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(e,t,n,i){var o,a=this.ctx,s=this.current,l=s.font,c=s.textRenderingMode,u=s.fontSize/s.fontSizeScale,h=c&r.TextRenderingMode.FILL_STROKE_MASK,d=!!(c&r.TextRenderingMode.ADD_TO_PATH_FLAG),f=s.patternFill&&!l.missingFile;((l.disableFontFace||d||f)&&(o=l.getPathGenerator(this.commonObjs,e)),l.disableFontFace||f?(a.save(),a.translate(t,n),a.beginPath(),o(a,u),i&&a.setTransform.apply(a,i),h!==r.TextRenderingMode.FILL&&h!==r.TextRenderingMode.FILL_STROKE||a.fill(),h!==r.TextRenderingMode.STROKE&&h!==r.TextRenderingMode.FILL_STROKE||a.stroke(),a.restore()):(h!==r.TextRenderingMode.FILL&&h!==r.TextRenderingMode.FILL_STROKE||a.fillText(e,t,n),h!==r.TextRenderingMode.STROKE&&h!==r.TextRenderingMode.FILL_STROKE||a.strokeText(e,t,n)),d)&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:a.mozCurrentTransform,x:t,y:n,fontSize:u,addToPath:o})},get isFontSubpixelAAEnabled(){var e=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10).context;e.scale(1.5,1),e.fillText("I",0,10);for(var t=e.getImageData(0,0,10,10).data,n=!1,i=3;i<t.length;i+=4)if(t[i]>0&&t[i]<255){n=!0;break}return(0,r.shadow)(this,"isFontSubpixelAAEnabled",n)},showText:function(e){var t=this.current,n=t.font;if(n.isType3Font)return this.showType3Text(e);var i=t.fontSize;if(0!==i){var o,a=this.ctx,s=t.fontSizeScale,l=t.charSpacing,c=t.wordSpacing,u=t.fontDirection,h=t.textHScale*u,d=e.length,f=n.vertical,p=f?1:-1,A=n.defaultVMetrics,g=i*t.fontMatrix[0],v=t.textRenderingMode===r.TextRenderingMode.FILL&&!n.disableFontFace&&!t.patternFill;if(a.save(),t.patternFill){a.save();var m=t.fillColor.getPattern(a,this);o=a.mozCurrentTransform,a.restore(),a.fillStyle=m}a.transform.apply(a,t.textMatrix),a.translate(t.x,t.y+t.textRise),u>0?a.scale(h,-1):a.scale(h,1);var y=t.lineWidth,b=t.textMatrixScale;if(0===b||0===y){var _=t.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;_!==r.TextRenderingMode.STROKE&&_!==r.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,y=.65*this.getSinglePixelWidth())}else y/=b;1!==s&&(a.scale(s,s),y/=s),a.lineWidth=y;var w,x=0;for(w=0;w<d;++w){var C=e[w];if((0,r.isNum)(C))x+=p*C*i/1e3;else{var S,B,k,T,E,M,D,O=!1,I=(C.isSpace?c:0)+l,L=C.fontChar,P=C.accent,F=C.width;if(f)E=C.vmetric||A,M=-(M=C.vmetric?E[1]:.5*F)*g,D=E[2]*g,F=E?-E[0]:F,S=M/s,B=(x+D)/s;else S=x/s,B=0;if(n.remeasure&&F>0){var R=1e3*a.measureText(L).width/i*s;if(F<R&&this.isFontSubpixelAAEnabled){var N=F/R;O=!0,a.save(),a.scale(N,1),S/=N}else F!==R&&(S+=(F-R)/2e3*i/s)}(C.isInFont||n.missingFile)&&(v&&!P?a.fillText(L,S,B):(this.paintChar(L,S,B,o),P&&(k=S+P.offset.x/s,T=B-P.offset.y/s,this.paintChar(P.fontChar,k,T,o)))),x+=f?F*g-I*u:F*g+I*u,O&&a.restore()}}f?t.y-=x:t.x+=x*h,a.restore()}},showType3Text:function(e){var t,n,i,o,a=this.ctx,s=this.current,l=s.font,c=s.fontSize,u=s.fontDirection,h=l.vertical?1:-1,d=s.charSpacing,f=s.wordSpacing,p=s.textHScale*u,A=s.fontMatrix||r.FONT_IDENTITY_MATRIX,g=e.length;if(!(s.textRenderingMode===r.TextRenderingMode.INVISIBLE)&&0!==c){for(this._cachedGetSinglePixelWidth=null,a.save(),a.transform.apply(a,s.textMatrix),a.translate(s.x,s.y),a.scale(p,u),t=0;t<g;++t)if(n=e[t],(0,r.isNum)(n))o=h*n*c/1e3,this.ctx.translate(o,0),s.x+=o*p;else{var v=(n.isSpace?f:0)+d,m=l.charProcOperatorList[n.operatorListId];if(m)this.processingType3=n,this.save(),a.scale(c,c),a.transform.apply(a,A),this.executeOperatorList(m),this.restore(),i=r.Util.applyTransform([n.width,0],A)[0]*c+v,a.translate(i,0),s.x+=i*p;else(0,r.warn)('Type3 character "'.concat(n.operatorListId,'" is not available.'))}a.restore(),this.processingType3=null}},setCharWidth:function(e,t){},setCharWidthAndBounds:function(e,t,n,r,i,o){this.ctx.rect(n,r,i-n,o-r),this.clip(),this.endPath()},getColorN_Pattern:function(t){var n,r=this;if("TilingPattern"===t[0]){var o=t[1],a=this.baseTransform||this.ctx.mozCurrentTransform.slice(),s={createCanvasGraphics:function(t){return new e(t,r.commonObjs,r.objs,r.canvasFactory,r.webGLContext)}};n=new i.TilingPattern(t,o,this.ctx,s,a)}else n=(0,i.getShadingPatternFromIR)(t);return n},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(e,t,n){var i=r.Util.makeCssRgb(e,t,n);this.ctx.strokeStyle=i,this.current.strokeColor=i},setFillRGBColor:function(e,t,n){var i=r.Util.makeCssRgb(e,t,n);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1},shadingFill:function(e){var t=this.ctx;this.save();var n=(0,i.getShadingPatternFromIR)(e);t.fillStyle=n.getPattern(t,this,!0);var o=t.mozCurrentTransformInverse;if(o){var a=t.canvas,s=a.width,l=a.height,c=r.Util.applyTransform([0,0],o),u=r.Util.applyTransform([0,l],o),h=r.Util.applyTransform([s,0],o),d=r.Util.applyTransform([s,l],o),f=Math.min(c[0],u[0],h[0],d[0]),p=Math.min(c[1],u[1],h[1],d[1]),A=Math.max(c[0],u[0],h[0],d[0]),g=Math.max(c[1],u[1],h[1],d[1]);this.ctx.fillRect(f,p,A-f,g-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){(0,r.unreachable)("Should not call beginInlineImage")},beginImageData:function(){(0,r.unreachable)("Should not call beginImageData")},paintFormXObjectBegin:function(e,t){if(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,t){var n=t[2]-t[0],r=t[3]-t[1];this.ctx.rect(t[0],t[1],n,r),this.clip(),this.endPath()}},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(e){this.save();var t=this.ctx;e.isolated||(0,r.info)("TODO: Support non-isolated groups."),e.knockout&&(0,r.warn)("Knockout groups not supported.");var n=t.mozCurrentTransform;if(e.matrix&&t.transform.apply(t,e.matrix),!e.bbox)throw new Error("Bounding box is required.");var i=r.Util.getAxialAlignedBoundingBox(e.bbox,t.mozCurrentTransform),o=[0,0,t.canvas.width,t.canvas.height];i=r.Util.intersect(i,o)||[0,0,0,0];var s=Math.floor(i[0]),l=Math.floor(i[1]),c=Math.max(Math.ceil(i[2])-s,1),u=Math.max(Math.ceil(i[3])-l,1),h=1,d=1;c>4096&&(h=c/4096,c=4096),u>4096&&(d=u/4096,u=4096);var f="groupAt"+this.groupLevel;e.smask&&(f+="_smask_"+this.smaskCounter++%2);var p=this.cachedCanvases.getCanvas(f,c,u,!0),A=p.context;A.scale(1/h,1/d),A.translate(-s,-l),A.transform.apply(A,n),e.smask?this.smaskStack.push({canvas:p.canvas,context:A,offsetX:s,offsetY:l,scaleX:h,scaleY:d,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(s,l),t.scale(h,d)),a(t,A),this.ctx=A,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++,this.current.activeSMask=null},endGroup:function(e){this.groupLevel--;var t=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,e.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(t.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(e,t,n){if(this.save(),h(this.ctx),this.current=new u,Array.isArray(e)&&4===e.length){var r=e[2]-e[0],i=e[3]-e[1];this.ctx.rect(e[0],e[1],r,i),this.clip(),this.endPath()}this.transform.apply(this,t),this.transform.apply(this,n)},endAnnotation:function(){this.restore()},paintImageMaskXObject:function(e){var t=this.ctx,r=e.width,i=e.height,o=this.current.fillColor,a=this.current.patternFill,s=this.processingType3;if(s&&void 0===s.compiled&&(s.compiled=r<=1e3&&i<=1e3?function(e){var t,n,r,i,o=e.width,a=e.height,s=o+1,l=new Uint8Array(s*(a+1)),c=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),u=o+7&-8,h=e.data,d=new Uint8Array(u*a),f=0;for(t=0,i=h.length;t<i;t++)for(var p=128,A=h[t];p>0;)d[f++]=A&p?0:255,p>>=1;var g=0;for(0!==d[f=0]&&(l[0]=1,++g),n=1;n<o;n++)d[f]!==d[f+1]&&(l[n]=d[f]?2:1,++g),f++;for(0!==d[f]&&(l[n]=2,++g),t=1;t<a;t++){r=t*s,d[(f=t*u)-u]!==d[f]&&(l[r]=d[f]?1:8,++g);var v=(d[f]?4:0)+(d[f-u]?8:0);for(n=1;n<o;n++)c[v=(v>>2)+(d[f+1]?4:0)+(d[f-u+1]?8:0)]&&(l[r+n]=c[v],++g),f++;if(d[f-u]!==d[f]&&(l[r+n]=d[f]?2:4,++g),g>1e3)return null}for(r=t*s,0!==d[f=u*(a-1)]&&(l[r]=8,++g),n=1;n<o;n++)d[f]!==d[f+1]&&(l[r+n]=d[f]?4:8,++g),f++;if(0!==d[f]&&(l[r+n]=4,++g),g>1e3)return null;var m=new Int32Array([0,s,-1,0,-s,0,0,0,1]),y=[];for(t=0;g&&t<=a;t++){for(var b=t*s,_=b+o;b<_&&!l[b];)b++;if(b!==_){var w,x=[b%s,t],C=l[b],S=b;do{var B=m[C];do{b+=B}while(!l[b]);5!==(w=l[b])&&10!==w?(C=w,l[b]=0):(C=w&51*C>>4,l[b]&=C>>2|C<<2),x.push(b%s),x.push(b/s|0),l[b]||--g}while(S!==b);y.push(x),--t}}return function(e){e.save(),e.scale(1/o,-1/a),e.translate(0,-a),e.beginPath();for(var t=0,n=y.length;t<n;t++){var r=y[t];e.moveTo(r[0],r[1]);for(var i=2,s=r.length;i<s;i+=2)e.lineTo(r[i],r[i+1])}e.fill(),e.beginPath(),e.restore()}}({data:e.data,width:r,height:i}):null),s&&s.compiled)s.compiled(t);else{var l=this.cachedCanvases.getCanvas("maskCanvas",r,i),c=l.context;c.save(),n(c,e),c.globalCompositeOperation="source-in",c.fillStyle=a?o.getPattern(c,this):o,c.fillRect(0,0,r,i),c.restore(),this.paintInlineImageXObject(l.canvas)}},paintImageMaskXObjectRepeat:function(e,t,r,i){var o=e.width,a=e.height,s=this.current.fillColor,l=this.current.patternFill,c=this.cachedCanvases.getCanvas("maskCanvas",o,a),u=c.context;u.save(),n(u,e),u.globalCompositeOperation="source-in",u.fillStyle=l?s.getPattern(u,this):s,u.fillRect(0,0,o,a),u.restore();for(var h=this.ctx,d=0,f=i.length;d<f;d+=2)h.save(),h.transform(t,0,0,r,i[d],i[d+1]),h.scale(1,-1),h.drawImage(c.canvas,0,0,o,a,0,-1,1,1),h.restore()},paintImageMaskXObjectGroup:function(e){for(var t=this.ctx,r=this.current.fillColor,i=this.current.patternFill,o=0,a=e.length;o<a;o++){var s=e[o],l=s.width,c=s.height,u=this.cachedCanvases.getCanvas("maskCanvas",l,c),h=u.context;h.save(),n(h,s),h.globalCompositeOperation="source-in",h.fillStyle=i?r.getPattern(h,this):r,h.fillRect(0,0,l,c),h.restore(),t.save(),t.transform.apply(t,s.transform),t.scale(1,-1),t.drawImage(u.canvas,0,0,l,c,0,-1,1,1),t.restore()}},paintImageXObject:function(e){var t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)("Dependent image isn't ready yet")},paintImageXObjectRepeat:function(e,t,n,i){var o=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);if(o){for(var a=o.width,s=o.height,l=[],c=0,u=i.length;c<u;c+=2)l.push({transform:[t,0,0,n,i[c],i[c+1]],x:0,y:0,w:a,h:s});this.paintInlineImageXObjectGroup(o,l)}else(0,r.warn)("Dependent image isn't ready yet")},paintInlineImageXObject:function(e){var n=e.width,r=e.height,i=this.ctx;this.save(),i.scale(1/n,-1/r);var o,a,s=i.mozCurrentTransformInverse,l=s[0],c=s[1],u=Math.max(Math.sqrt(l*l+c*c),1),h=s[2],d=s[3],f=Math.max(Math.sqrt(h*h+d*d),1);if("function"==typeof HTMLElement&&e instanceof HTMLElement||!e.data)o=e;else{var p=(a=this.cachedCanvases.getCanvas("inlineImage",n,r)).context;t(p,e),o=a.canvas}for(var A=n,g=r,v="prescale1";u>2&&A>1||f>2&&g>1;){var m=A,y=g;u>2&&A>1&&(u/=A/(m=Math.ceil(A/2))),f>2&&g>1&&(f/=g/(y=Math.ceil(g/2))),(p=(a=this.cachedCanvases.getCanvas(v,m,y)).context).clearRect(0,0,m,y),p.drawImage(o,0,0,A,g,0,0,m,y),o=a.canvas,A=m,g=y,v="prescale1"===v?"prescale2":"prescale1"}if(i.drawImage(o,0,0,A,g,0,-r,n,r),this.imageLayer){var b=this.getCanvasPosition(0,-r);this.imageLayer.appendImage({imgData:e,left:b[0],top:b[1],width:n/s[0],height:r/s[3]})}this.restore()},paintInlineImageXObjectGroup:function(e,n){var r=this.ctx,i=e.width,o=e.height,a=this.cachedCanvases.getCanvas("inlineImage",i,o);t(a.context,e);for(var s=0,l=n.length;s<l;s++){var c=n[s];if(r.save(),r.transform.apply(r,c.transform),r.scale(1,-1),r.drawImage(a.canvas,c.x,c.y,c.w,c.h,0,-1,1,1),this.imageLayer){var u=this.getCanvasPosition(c.x,c.y);this.imageLayer.appendImage({imgData:e,left:u[0],top:u[1],width:i,height:o})}r.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){(0,r.warn)("Unsupported 'paintXObject' command.")},markPoint:function(e){},markPointProps:function(e,t){},beginMarkedContent:function(e){},beginMarkedContentProps:function(e,t){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var e=this.ctx;this.pendingClip&&(this.pendingClip===y?e.clip("evenodd"):e.clip(),this.pendingClip=null),e.beginPath()},getSinglePixelWidth:function(e){if(null===this._cachedGetSinglePixelWidth){var t=this.ctx.mozCurrentTransformInverse;this._cachedGetSinglePixelWidth=Math.sqrt(Math.max(t[0]*t[0]+t[1]*t[1],t[2]*t[2]+t[3]*t[3]))}return this._cachedGetSinglePixelWidth},getCanvasPosition:function(e,t){var n=this.ctx.mozCurrentTransform;return[n[0]*e+n[2]*t+n[4],n[1]*e+n[3]*t+n[5]]}},r.OPS)e.prototype[r.OPS[b]]=e.prototype[b];return e}();t.CanvasGraphics=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getShadingPatternFromIR=function(e){var t=i[e[0]];if(!t)throw new Error("Unknown IR type: ".concat(e[0]));return t.fromIR(e)},t.TilingPattern=void 0;var r=n(5),i={};function o(e,t){if(t&&"undefined"!=typeof Path2D){var n=t[2]-t[0],r=t[3]-t[1],i=new Path2D;i.rect(t[0],t[1],n,r),e.clip(i)}}i.RadialAxial={fromIR:function(e){var t=e[1],n=e[2],r=e[3],i=e[4],a=e[5],s=e[6],l=e[7];return{type:"Pattern",getPattern:function(e){var c;o(e,n),"axial"===t?c=e.createLinearGradient(i[0],i[1],a[0],a[1]):"radial"===t&&(c=e.createRadialGradient(i[0],i[1],s,a[0],a[1],l));for(var u=0,h=r.length;u<h;++u){var d=r[u];c.addColorStop(d[0],d[1])}return c}}}};var a=function(){function e(e,t,n,r,i,o,a,s){var l,c=t.coords,u=t.colors,h=e.data,d=4*e.width;c[n+1]>c[r+1]&&(l=n,n=r,r=l,l=o,o=a,a=l),c[r+1]>c[i+1]&&(l=r,r=i,i=l,l=a,a=s,s=l),c[n+1]>c[r+1]&&(l=n,n=r,r=l,l=o,o=a,a=l);var f=(c[n]+t.offsetX)*t.scaleX,p=(c[n+1]+t.offsetY)*t.scaleY,A=(c[r]+t.offsetX)*t.scaleX,g=(c[r+1]+t.offsetY)*t.scaleY,v=(c[i]+t.offsetX)*t.scaleX,m=(c[i+1]+t.offsetY)*t.scaleY;if(!(p>=m))for(var y,b,_,w,x,C,S,B,k=u[o],T=u[o+1],E=u[o+2],M=u[a],D=u[a+1],O=u[a+2],I=u[s],L=u[s+1],P=u[s+2],F=Math.round(p),R=Math.round(m),N=F;N<=R;N++){if(N<g){var H=void 0;y=f-(f-A)*(H=N<p?0:p===g?1:(p-N)/(p-g)),b=k-(k-M)*H,_=T-(T-D)*H,w=E-(E-O)*H}else{var j=void 0;y=A-(A-v)*(j=N>m?1:g===m?0:(g-N)/(g-m)),b=M-(M-I)*j,_=D-(D-L)*j,w=O-(O-P)*j}var U=void 0;x=f-(f-v)*(U=N<p?0:N>m?1:(p-N)/(p-m)),C=k-(k-I)*U,S=T-(T-L)*U,B=E-(E-P)*U;for(var Q=Math.round(Math.min(y,x)),z=Math.round(Math.max(y,x)),Y=d*N+4*Q,V=Q;V<=z;V++)(U=(y-V)/(y-x))<0?U=0:U>1&&(U=1),h[Y++]=b-(b-C)*U|0,h[Y++]=_-(_-S)*U|0,h[Y++]=w-(w-B)*U|0,h[Y++]=255}}function t(t,n,r){var i,o,a=n.coords,s=n.colors;switch(n.type){case"lattice":var l=n.verticesPerRow,c=Math.floor(a.length/l)-1,u=l-1;for(i=0;i<c;i++)for(var h=i*l,d=0;d<u;d++,h++)e(t,r,a[h],a[h+1],a[h+l],s[h],s[h+1],s[h+l]),e(t,r,a[h+l+1],a[h+1],a[h+l],s[h+l+1],s[h+1],s[h+l]);break;case"triangles":for(i=0,o=a.length;i<o;i+=3)e(t,r,a[i],a[i+1],a[i+2],s[i],s[i+1],s[i+2]);break;default:throw new Error("illegal figure")}}return function(e,n,r,i,o,a,s,l){var c,u,h,d,f=Math.floor(e[0]),p=Math.floor(e[1]),A=Math.ceil(e[2])-f,g=Math.ceil(e[3])-p,v=Math.min(Math.ceil(Math.abs(A*n[0]*1.1)),3e3),m=Math.min(Math.ceil(Math.abs(g*n[1]*1.1)),3e3),y=A/v,b=g/m,_={coords:r,colors:i,offsetX:-f,offsetY:-p,scaleX:1/y,scaleY:1/b},w=v+4,x=m+4;if(l.isEnabled)c=l.drawFigures({width:v,height:m,backgroundColor:a,figures:o,context:_}),(u=s.getCanvas("mesh",w,x,!1)).context.drawImage(c,2,2),c=u.canvas;else{var C=(u=s.getCanvas("mesh",w,x,!1)).context,S=C.createImageData(v,m);if(a){var B=S.data;for(h=0,d=B.length;h<d;h+=4)B[h]=a[0],B[h+1]=a[1],B[h+2]=a[2],B[h+3]=255}for(h=0;h<o.length;h++)t(S,o[h],_);C.putImageData(S,2,2),c=u.canvas}return{canvas:c,offsetX:f-2*y,offsetY:p-2*b,scaleX:y,scaleY:b}}}();i.Mesh={fromIR:function(e){var t=e[2],n=e[3],i=e[4],s=e[5],l=e[6],c=e[7],u=e[8];return{type:"Pattern",getPattern:function(e,h,d){var f;if(o(e,c),d)f=r.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(f=r.Util.singularValueDecompose2dScale(h.baseTransform),l){var p=r.Util.singularValueDecompose2dScale(l);f=[f[0]*p[0],f[1]*p[1]]}var A=a(s,f,t,n,i,d?null:u,h.cachedCanvases,h.webGLContext);return d||(e.setTransform.apply(e,h.baseTransform),l&&e.transform.apply(e,l)),e.translate(A.offsetX,A.offsetY),e.scale(A.scaleX,A.scaleY),e.createPattern(A.canvas,"no-repeat")}}}},i.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var s=function(){var e=1,t=2;function n(e,t,n,r,i){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.canvasGraphicsFactory=r,this.baseTransform=i,this.type="Pattern",this.ctx=n}return n.prototype={createPatternCanvas:function(e){var t=this.operatorList,n=this.bbox,i=this.xstep,o=this.ystep,a=this.paintType,s=this.tilingType,l=this.color,c=this.canvasGraphicsFactory;(0,r.info)("TilingType: "+s);var u=n[0],h=n[1],d=n[2],f=n[3],p=r.Util.singularValueDecompose2dScale(this.matrix),A=r.Util.singularValueDecompose2dScale(this.baseTransform),g=[p[0]*A[0],p[1]*A[1]],v=this.getSizeAndScale(i,this.ctx.canvas.width,g[0]),m=this.getSizeAndScale(o,this.ctx.canvas.height,g[1]),y=e.cachedCanvases.getCanvas("pattern",v.size,m.size,!0),b=y.context,_=c.createCanvasGraphics(b);return _.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(_,a,l),_.transform(v.scale,0,0,m.scale,0,0),_.transform(1,0,0,1,-u,-h),this.clipBbox(_,n,u,h,d,f),_.executeOperatorList(t),this.ctx.transform(1,0,0,1,u,h),this.ctx.scale(1/v.scale,1/m.scale),y.canvas},getSizeAndScale:function(e,t,n){e=Math.abs(e);var r=Math.max(3e3,t),i=Math.ceil(e*n);return i>=r?i=r:n=i/e,{scale:n,size:i}},clipBbox:function(e,t,n,r,i,o){if(Array.isArray(t)&&4===t.length){var a=i-n,s=o-r;e.ctx.rect(n,r,a,s),e.clip(),e.endPath()}},setFillAndStrokeStyleToContext:function(n,i,o){var a=n.ctx,s=n.current;switch(i){case e:var l=this.ctx;a.fillStyle=l.fillStyle,a.strokeStyle=l.strokeStyle,s.fillColor=l.fillStyle,s.strokeColor=l.strokeStyle;break;case t:var c=r.Util.makeCssRgb(o[0],o[1],o[2]);a.fillStyle=c,a.strokeStyle=c,s.fillColor=c,s.strokeColor=c;break;default:throw new r.FormatError("Unsupported paint type: ".concat(i))}},getPattern:function(e,t){(e=this.ctx).setTransform.apply(e,this.baseTransform),e.transform.apply(e,this.matrix);var n=this.createPatternCanvas(t);return e.createPattern(n,"repeat")}},n}();t.TilingPattern=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;var r=Object.create(null);t.GlobalWorkerOptions=r,r.workerPort=void 0===r.workerPort?null:r.workerPort,r.workerSrc=void 0===r.workerSrc?"":r.workerSrc},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e){"@babel/helpers - typeof";return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var c={UNKNOWN:0,DATA:1,ERROR:2},u=1,h=2,d=3,f=4,p=5,A=6,g=7,v=8;function m(e){if("object"!==l(e)||null===e)return e;switch(e.name){case"AbortException":return new o.AbortException(e.message);case"MissingPDFException":return new o.MissingPDFException(e.message);case"UnexpectedResponseException":return new o.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new o.UnknownErrorException(e.message,e.details);default:return new o.UnknownErrorException(e.message,e.toString())}}var y=function(){function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sourceName=t,this.targetName=n,this.comObj=r,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===i.sourceName)if(t.stream)i._processStreamMessage(t);else if(t.callback){var n=t.callbackId,o=i.callbackCapabilities[n];if(!o)throw new Error("Cannot resolve callback ".concat(n));if(delete i.callbackCapabilities[n],t.callback===c.DATA)o.resolve(t.data);else{if(t.callback!==c.ERROR)throw new Error("Unexpected callback case");o.reject(m(t.reason))}}else{var a=i.actionHandler[t.action];if(!a)throw new Error("Unknown action from worker: ".concat(t.action));if(t.callbackId){var s=i.sourceName,l=t.sourceName;new Promise(function(e){e(a(t.data))}).then(function(e){r.postMessage({sourceName:s,targetName:l,callback:c.DATA,callbackId:t.callbackId,data:e})},function(e){r.postMessage({sourceName:s,targetName:l,callback:c.ERROR,callbackId:t.callbackId,reason:m(e)})})}else t.streamId?i._createStreamSink(t):a(t.data)}},r.addEventListener("message",this._onComObjOnMessage)}var t,n,r;return t=e,(n=[{key:"on",value:function(e,t){var n=this.actionHandler;if(n[e])throw new Error('There is already an actionName called "'.concat(e,'"'));n[e]=t}},{key:"send",value:function(e,t,n){this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},n)}},{key:"sendWithPromise",value:function(e,t,n){var r=this.callbackId++,i=(0,o.createPromiseCapability)();this.callbackCapabilities[r]=i;try{this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:r,data:t},n)}catch(e){i.reject(e)}return i.promise}},{key:"sendWithStream",value:function(e,t,n,r){var i=this,a=this.streamId++,s=this.sourceName,l=this.targetName,c=this.comObj;return new ReadableStream({start:function(n){var c=(0,o.createPromiseCapability)();return i.streamControllers[a]={controller:n,startCall:c,pullCall:null,cancelCall:null,isClosed:!1},i._postMessage({sourceName:s,targetName:l,action:e,streamId:a,data:t,desiredSize:n.desiredSize},r),c.promise},pull:function(e){var t=(0,o.createPromiseCapability)();return i.streamControllers[a].pullCall=t,c.postMessage({sourceName:s,targetName:l,stream:A,streamId:a,desiredSize:e.desiredSize}),t.promise},cancel:function(e){(0,o.assert)(e instanceof Error,"cancel must have a valid reason");var t=(0,o.createPromiseCapability)();return i.streamControllers[a].cancelCall=t,i.streamControllers[a].isClosed=!0,c.postMessage({sourceName:s,targetName:l,stream:u,streamId:a,reason:m(e)}),t.promise}},n)}},{key:"_createStreamSink",value:function(e){var t=this,n=this.actionHandler[e.action],r=e.streamId,i=this.sourceName,a=e.sourceName,s=this.comObj,l={enqueue:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,s=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var l=this.desiredSize;this.desiredSize-=n,l>0&&this.desiredSize<=0&&(this.sinkCapability=(0,o.createPromiseCapability)(),this.ready=this.sinkCapability.promise),t._postMessage({sourceName:i,targetName:a,stream:f,streamId:r,chunk:e},s)}},close:function(){this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:a,stream:d,streamId:r}),delete t.streamSinks[r])},error:function(e){(0,o.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:a,stream:p,streamId:r,reason:m(e)}))},sinkCapability:(0,o.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,this.streamSinks[r]=l,new Promise(function(t){t(n(e.data,l))}).then(function(){s.postMessage({sourceName:i,targetName:a,stream:v,streamId:r,success:!0})},function(e){s.postMessage({sourceName:i,targetName:a,stream:v,streamId:r,reason:m(e)})})}},{key:"_processStreamMessage",value:function(e){var t=e.streamId,n=this.sourceName,r=e.sourceName,i=this.comObj;switch(e.stream){case v:e.success?this.streamControllers[t].startCall.resolve():this.streamControllers[t].startCall.reject(m(e.reason));break;case g:e.success?this.streamControllers[t].pullCall.resolve():this.streamControllers[t].pullCall.reject(m(e.reason));break;case A:if(!this.streamSinks[t]){i.postMessage({sourceName:n,targetName:r,stream:g,streamId:t,success:!0});break}this.streamSinks[t].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[t].sinkCapability.resolve(),this.streamSinks[t].desiredSize=e.desiredSize;var a=this.streamSinks[e.streamId].onPull;new Promise(function(e){e(a&&a())}).then(function(){i.postMessage({sourceName:n,targetName:r,stream:g,streamId:t,success:!0})},function(e){i.postMessage({sourceName:n,targetName:r,stream:g,streamId:t,reason:m(e)})});break;case f:if((0,o.assert)(this.streamControllers[t],"enqueue should have stream controller"),this.streamControllers[t].isClosed)break;this.streamControllers[t].controller.enqueue(e.chunk);break;case d:if((0,o.assert)(this.streamControllers[t],"close should have stream controller"),this.streamControllers[t].isClosed)break;this.streamControllers[t].isClosed=!0,this.streamControllers[t].controller.close(),this._deleteStreamController(t);break;case p:(0,o.assert)(this.streamControllers[t],"error should have stream controller"),this.streamControllers[t].controller.error(m(e.reason)),this._deleteStreamController(t);break;case h:e.success?this.streamControllers[t].cancelCall.resolve():this.streamControllers[t].cancelCall.reject(m(e.reason)),this._deleteStreamController(t);break;case u:if(!this.streamSinks[t])break;var s=this.streamSinks[e.streamId].onCancel;new Promise(function(t){t(s&&s(m(e.reason)))}).then(function(){i.postMessage({sourceName:n,targetName:r,stream:h,streamId:t,success:!0})},function(e){i.postMessage({sourceName:n,targetName:r,stream:h,streamId:t,reason:m(e)})}),this.streamSinks[t].sinkCapability.reject(m(e.reason)),this.streamSinks[t].isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}},{key:"_deleteStreamController",value:function(){var e,t=(e=i.default.mark(function e(t){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.allSettled([this.streamControllers[t].startCall,this.streamControllers[t].pullCall,this.streamControllers[t].cancelCall].map(function(e){return e&&e.promise}));case 2:delete this.streamControllers[t];case 3:case"end":return e.stop()}},e,this)}),function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,l,"next",e)}function l(e){a(o,r,i,s,l,"throw",e)}s(void 0)})});return function(e){return t.apply(this,arguments)}}()},{key:"_postMessage",value:function(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)}},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}])&&s(t.prototype,n),r&&s(t,r),e}();t.MessageHandler=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var r=n(5),i=n(206);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(0,r.assert)("string"==typeof t,"Metadata: input is not a string"),t=this._repair(t);var n=(new i.SimpleXMLParser).parseFromString(t);this._metadataMap=new Map,n&&this._parse(n)}var t,n,s;return t=e,(n=[{key:"_repair",value:function(e){return e.replace(/^[^<]+/,"").replace(/>\\376\\377([^<]+)/g,function(e,t){for(var n=t.replace(/\\([0-3])([0-7])([0-7])/g,function(e,t,n,r){return String.fromCharCode(64*t+8*n+1*r)}).replace(/&(amp|apos|gt|lt|quot);/g,function(e,t){switch(t){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(t," isn't defined."))}),r="",i=0,o=n.length;i<o;i+=2){var a=256*n.charCodeAt(i)+n.charCodeAt(i+1);r+=a>=32&&a<127&&60!==a&&62!==a&&38!==a?String.fromCharCode(a):"&#x"+(65536+a).toString(16).substring(1)+";"}return">"+r})}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName.toLowerCase())for(t=t.firstChild;t&&"rdf:rdf"!==t.nodeName.toLowerCase();)t=t.nextSibling;var n=t?t.nodeName.toLowerCase():null;if(t&&"rdf:rdf"===n&&t.hasChildNodes())for(var r=t.childNodes,i=0,o=r.length;i<o;i++){var a=r[i];if("rdf:description"===a.nodeName.toLowerCase())for(var s=0,l=a.childNodes.length;s<l;s++)if("#text"!==a.childNodes[s].nodeName.toLowerCase()){var c=a.childNodes[s],u=c.nodeName.toLowerCase();this._metadataMap.set(u,c.textContent.trim())}}}},{key:"get",value:function(e){return this._metadataMap.has(e)?this._metadataMap.get(e):null}},{key:"getAll",value:function(){var e,t=Object.create(null),n=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}(this._metadataMap);try{for(n.s();!(e=n.n()).done;){var r=o(e.value,2),i=r[0],s=r[1];t[i]=s}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"has",value:function(e){return this._metadataMap.has(e)}}])&&l(t.prototype,n),s&&l(t,s),e}();t.Metadata=c},function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t,n){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,i=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleXMLParser=void 0;var f={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};function p(e,t){var n=e[t];return" "===n||"\n"===n||"\r"===n||"\t"===n}var A=function(){function e(){u(this,e)}return d(e,[{key:"_resolveEntities",value:function(e){var t=this;return e.replace(/&([^;]+);/g,function(e,n){if("#x"===n.substring(0,2))return String.fromCharCode(parseInt(n.substring(2),16));if("#"===n.substring(0,1))return String.fromCharCode(parseInt(n.substring(1),10));switch(n){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"'}return t.onResolveEntity(n)})}},{key:"_parseContent",value:function(e,t){var n=[],r=t;function i(){for(;r<e.length&&p(e,r);)++r}for(;r<e.length&&!p(e,r)&&">"!==e[r]&&"/"!==e[r];)++r;var o=e.substring(t,r);for(i();r<e.length&&">"!==e[r]&&"/"!==e[r]&&"?"!==e[r];){i();for(var a,s="";r<e.length&&!p(e,r)&&"="!==e[r];)s+=e[r],++r;if(i(),"="!==e[r])return null;++r,i();var l=e[r];if('"'!==l&&"'"!==l)return null;var c=e.indexOf(l,++r);if(c<0)return null;a=e.substring(r,c),n.push({name:s,value:this._resolveEntities(a)}),r=c+1,i()}return{name:o,attributes:n,parsed:r-t}}},{key:"_parseProcessingInstruction",value:function(e,t){var n=t;for(;n<e.length&&!p(e,n)&&">"!==e[n]&&"/"!==e[n];)++n;var r=e.substring(t,n);!function(){for(;n<e.length&&p(e,n);)++n}();for(var i=n;n<e.length&&("?"!==e[n]||">"!==e[n+1]);)++n;return{name:r,value:e.substring(i,n),parsed:n-t}}},{key:"parseXml",value:function(e){for(var t=0;t<e.length;){var n=t;if("<"===e[t]){var r=void 0;switch(e[++n]){case"/":if(++n,(r=e.indexOf(">",n))<0)return void this.onError(f.UnterminatedElement);this.onEndElement(e.substring(n,r)),n=r+1;break;case"?":++n;var i=this._parseProcessingInstruction(e,n);if("?>"!==e.substring(n+i.parsed,n+i.parsed+2))return void this.onError(f.UnterminatedXmlDeclaration);this.onPi(i.name,i.value),n+=i.parsed+2;break;case"!":if("--"===e.substring(n+1,n+3)){if((r=e.indexOf("--\x3e",n+3))<0)return void this.onError(f.UnterminatedComment);this.onComment(e.substring(n+3,r)),n=r+3}else if("[CDATA["===e.substring(n+1,n+8)){if((r=e.indexOf("]]>",n+8))<0)return void this.onError(f.UnterminatedCdat);this.onCdata(e.substring(n+8,r)),n=r+3}else{if("DOCTYPE"!==e.substring(n+1,n+8))return void this.onError(f.MalformedElement);var o=e.indexOf("[",n+8),a=!1;if((r=e.indexOf(">",n+8))<0)return void this.onError(f.UnterminatedDoctypeDeclaration);if(o>0&&r>o){if((r=e.indexOf("]>",n+8))<0)return void this.onError(f.UnterminatedDoctypeDeclaration);a=!0}var s=e.substring(n+8,r+(a?1:0));this.onDoctype(s),n=r+(a?2:1)}break;default:var l=this._parseContent(e,n);if(null===l)return void this.onError(f.MalformedElement);var c=!1;if("/>"===e.substring(n+l.parsed,n+l.parsed+2))c=!0;else if(">"!==e.substring(n+l.parsed,n+l.parsed+1))return void this.onError(f.UnterminatedElement);this.onBeginElement(l.name,l.attributes,c),n+=l.parsed+(c?2:1)}}else{for(;n<e.length&&"<"!==e[n];)n++;var u=e.substring(t,n);this.onText(this._resolveEntities(u))}t=n}}},{key:"onResolveEntity",value:function(e){return"&".concat(e,";")}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,n){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}]),e}(),g=function(){function e(t,n){u(this,e),this.nodeName=t,this.nodeValue=n,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return d(e,[{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"firstChild",get:function(){return this.childNodes&&this.childNodes[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes;if(e){var t=e.indexOf(this);if(-1!==t)return e[t+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map(function(e){return e.textContent}).join(""):this.nodeValue||""}}]),e}(),v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(n,A);var t=l(n);function n(){var e;return u(this,n),(e=t.call(this))._currentFragment=null,e._stack=null,e._errorCode=f.NoError,e}return d(n,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=f.NoError,this.parseXml(e),this._errorCode===f.NoError){var t=i(this._currentFragment,1)[0];if(t)return{documentElement:t}}}},{key:"onResolveEntity",value:function(e){switch(e){case"apos":return"'"}return a(c(n.prototype),"onResolveEntity",this).call(this,e)}},{key:"onText",value:function(e){if(!function(e){for(var t=0,n=e.length;t<n;t++)if(!p(e,t))return!1;return!0}(e)){var t=new g("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new g("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,n){var r=new g(e);r.childNodes=[],this._currentFragment.push(r),n||(this._stack.push(this._currentFragment),this._currentFragment=r.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop()||[];var t=this._currentFragment[this._currentFragment.length-1];if(t)for(var n=0,r=t.childNodes.length;n<r;n++)t.childNodes[n].parentNode=t}},{key:"onError",value:function(e){this._errorCode=e}}]),n}();t.SimpleXMLParser=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5);function a(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function s(e){a(o,r,i,s,l,"next",e)}function l(e){a(o,r,i,s,l,"throw",e)}s(void 0)})}}function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}var f=function(){function e(t,n){var r=this;u(this,e),(0,o.assert)(n,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=t.progressiveDone||!1;var i=t.initialData;if(i&&i.length>0){var a=new Uint8Array(i).buffer;this._queuedChunks.push(a)}this._pdfDataRangeTransport=n,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._contentLength=t.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener(function(e,t){r._onReceiveData({begin:e,chunk:t})}),this._pdfDataRangeTransport.addProgressListener(function(e,t){r._onProgress({loaded:e,total:t})}),this._pdfDataRangeTransport.addProgressiveReadListener(function(e){r._onReceiveData({chunk:e})}),this._pdfDataRangeTransport.addProgressiveDoneListener(function(){r._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}return d(e,[{key:"_onReceiveData",value:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var n=this._rangeReaders.some(function(n){return n._begin===e.begin&&(n._enqueue(t),!0)});(0,o.assert)(n,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}},{key:"_onProgress",value:function(e){if(void 0===e.total){var t=this._rangeReaders[0];t&&t.onProgress&&t.onProgress({loaded:e.loaded})}else{var n=this._fullRequestReader;n&&n.onProgress&&n.onProgress({loaded:e.loaded,total:e.total})}}},{key:"_onProgressiveDone",value:function(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}},{key:"getFullReader",value:function(){(0,o.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");var e=this._queuedChunks;return this._queuedChunks=null,new p(this,e,this._progressiveDone)}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=new A(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeReaders.slice(0).forEach(function(t){t.cancel(e)}),this._pdfDataRangeTransport.abort()}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFDataTransportStream=f;var p=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];u(this,e),this._stream=t,this._done=r||!1,this._filename=null,this._queuedChunks=n||[],this._loaded=0;var i,o=l(this._queuedChunks);try{for(o.s();!(i=o.n()).done;){var a=i.value;this._loaded+=a.byteLength}}catch(e){o.e(e)}finally{o.f()}this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}return d(e,[{key:"_enqueue",value:function(e){if(!this._done){if(this._requests.length>0)this._requests.shift().resolve({value:e,done:!1});else this._queuedChunks.push(e);this._loaded+=e.byteLength}}},{key:"read",value:function(){var e=s(i.default.mark(function e(){var t,n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this._queuedChunks.length>0)){e.next=3;break}return t=this._queuedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 3:if(!this._done){e.next=5;break}return e.abrupt("return",{value:void 0,done:!0});case 5:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 8:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[]}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}}]),e}(),A=function(){function e(t,n,r){u(this,e),this._stream=t,this._begin=n,this._end=r,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}return d(e,[{key:"_enqueue",value:function(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else this._requests.shift().resolve({value:e,done:!1}),this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[];this._done=!0,this._stream._removeRangeReader(this)}}},{key:"read",value:function(){var e=s(i.default.mark(function e(){var t,n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 9:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._stream._removeRangeReader(this)}},{key:"isStreamingSupported",get:function(){return!1}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebGLContext=void 0;var r=n(5);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o=function(){function e(t){var n=t.enable,r=void 0!==n&&n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._enabled=!0===r}var t,n,o;return t=e,(n=[{key:"composeSMask",value:function(e){var t=e.layer,n=e.mask,r=e.properties;return a.composeSMask(t,n,r)}},{key:"drawFigures",value:function(e){var t=e.width,n=e.height,r=e.backgroundColor,i=e.figures,o=e.context;return a.drawFigures(t,n,r,i,o)}},{key:"clear",value:function(){a.cleanup()}},{key:"isEnabled",get:function(){var e=this._enabled;return e&&(e=a.tryInitGL()),(0,r.shadow)(this,"isEnabled",e)}}])&&i(t.prototype,n),o&&i(t,o),e}();t.WebGLContext=o;var a=function(){function e(e,t,n){var r=e.createShader(n);if(e.shaderSource(r,t),e.compileShader(r),!e.getShaderParameter(r,e.COMPILE_STATUS)){var i=e.getShaderInfoLog(r);throw new Error("Error during shader compilation: "+i)}return r}function t(t,n){return e(t,n,t.VERTEX_SHADER)}function n(t,n){return e(t,n,t.FRAGMENT_SHADER)}function r(e,t){for(var n=e.createProgram(),r=0,i=t.length;r<i;++r)e.attachShader(n,t[r]);if(e.linkProgram(n),!e.getProgramParameter(n,e.LINK_STATUS)){var o=e.getProgramInfoLog(n);throw new Error("Error during program linking: "+o)}return n}function i(e,t,n){e.activeTexture(n);var r=e.createTexture();return e.bindTexture(e.TEXTURE_2D,r),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.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t),r}var o,a;function s(){o||(a=document.createElement("canvas"),o=a.getContext("webgl",{premultipliedalpha:!1}))}var l=" attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } ",c=" precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } ",u=null;var h=" attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } ",d=" precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } ",f=null;return{tryInitGL:function(){try{return s(),!!o}catch(e){}return!1},composeSMask:function(e,h,d){var f=e.width,p=e.height;u||function(){var e,i;s(),e=a,a=null,i=o,o=null;var h=r(i,[t(i,l),n(i,c)]);i.useProgram(h);var d={};d.gl=i,d.canvas=e,d.resolutionLocation=i.getUniformLocation(h,"u_resolution"),d.positionLocation=i.getAttribLocation(h,"a_position"),d.backdropLocation=i.getUniformLocation(h,"u_backdrop"),d.subtypeLocation=i.getUniformLocation(h,"u_subtype");var f=i.getAttribLocation(h,"a_texCoord"),p=i.getUniformLocation(h,"u_image"),A=i.getUniformLocation(h,"u_mask"),g=i.createBuffer();i.bindBuffer(i.ARRAY_BUFFER,g),i.bufferData(i.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),i.STATIC_DRAW),i.enableVertexAttribArray(f),i.vertexAttribPointer(f,2,i.FLOAT,!1,0,0),i.uniform1i(p,0),i.uniform1i(A,1),u=d}();var A=u,g=A.canvas,v=A.gl;g.width=f,g.height=p,v.viewport(0,0,v.drawingBufferWidth,v.drawingBufferHeight),v.uniform2f(A.resolutionLocation,f,p),d.backdrop?v.uniform4f(A.resolutionLocation,d.backdrop[0],d.backdrop[1],d.backdrop[2],1):v.uniform4f(A.resolutionLocation,0,0,0,0),v.uniform1i(A.subtypeLocation,"Luminosity"===d.subtype?1:0);var m=i(v,e,v.TEXTURE0),y=i(v,h,v.TEXTURE1),b=v.createBuffer();return v.bindBuffer(v.ARRAY_BUFFER,b),v.bufferData(v.ARRAY_BUFFER,new Float32Array([0,0,f,0,0,p,0,p,f,0,f,p]),v.STATIC_DRAW),v.enableVertexAttribArray(A.positionLocation),v.vertexAttribPointer(A.positionLocation,2,v.FLOAT,!1,0,0),v.clearColor(0,0,0,0),v.enable(v.BLEND),v.blendFunc(v.ONE,v.ONE_MINUS_SRC_ALPHA),v.clear(v.COLOR_BUFFER_BIT),v.drawArrays(v.TRIANGLES,0,6),v.flush(),v.deleteTexture(m),v.deleteTexture(y),v.deleteBuffer(b),g},drawFigures:function(e,i,l,c,u){f||function(){var e,i;s(),e=a,a=null,i=o,o=null;var l=r(i,[t(i,h),n(i,d)]);i.useProgram(l);var c={};c.gl=i,c.canvas=e,c.resolutionLocation=i.getUniformLocation(l,"u_resolution"),c.scaleLocation=i.getUniformLocation(l,"u_scale"),c.offsetLocation=i.getUniformLocation(l,"u_offset"),c.positionLocation=i.getAttribLocation(l,"a_position"),c.colorLocation=i.getAttribLocation(l,"a_color"),f=c}();var p=f,A=p.canvas,g=p.gl;A.width=e,A.height=i,g.viewport(0,0,g.drawingBufferWidth,g.drawingBufferHeight),g.uniform2f(p.resolutionLocation,e,i);var v,m,y,b=0;for(v=0,m=c.length;v<m;v++)switch(c[v].type){case"lattice":b+=((y=c[v].coords.length/c[v].verticesPerRow|0)-1)*(c[v].verticesPerRow-1)*6;break;case"triangles":b+=c[v].coords.length}var _=new Float32Array(2*b),w=new Uint8Array(3*b),x=u.coords,C=u.colors,S=0,B=0;for(v=0,m=c.length;v<m;v++){var k=c[v],T=k.coords,E=k.colors;switch(k.type){case"lattice":var M=k.verticesPerRow;y=T.length/M|0;for(var D=1;D<y;D++)for(var O=D*M+1,I=1;I<M;I++,O++)_[S]=x[T[O-M-1]],_[S+1]=x[T[O-M-1]+1],_[S+2]=x[T[O-M]],_[S+3]=x[T[O-M]+1],_[S+4]=x[T[O-1]],_[S+5]=x[T[O-1]+1],w[B]=C[E[O-M-1]],w[B+1]=C[E[O-M-1]+1],w[B+2]=C[E[O-M-1]+2],w[B+3]=C[E[O-M]],w[B+4]=C[E[O-M]+1],w[B+5]=C[E[O-M]+2],w[B+6]=C[E[O-1]],w[B+7]=C[E[O-1]+1],w[B+8]=C[E[O-1]+2],_[S+6]=_[S+2],_[S+7]=_[S+3],_[S+8]=_[S+4],_[S+9]=_[S+5],_[S+10]=x[T[O]],_[S+11]=x[T[O]+1],w[B+9]=w[B+3],w[B+10]=w[B+4],w[B+11]=w[B+5],w[B+12]=w[B+6],w[B+13]=w[B+7],w[B+14]=w[B+8],w[B+15]=C[E[O]],w[B+16]=C[E[O]+1],w[B+17]=C[E[O]+2],S+=12,B+=18;break;case"triangles":for(var L=0,P=T.length;L<P;L++)_[S]=x[T[L]],_[S+1]=x[T[L]+1],w[B]=C[E[L]],w[B+1]=C[E[L]+1],w[B+2]=C[E[L]+2],S+=2,B+=3}}l?g.clearColor(l[0]/255,l[1]/255,l[2]/255,1):g.clearColor(0,0,0,0),g.clear(g.COLOR_BUFFER_BIT);var F=g.createBuffer();g.bindBuffer(g.ARRAY_BUFFER,F),g.bufferData(g.ARRAY_BUFFER,_,g.STATIC_DRAW),g.enableVertexAttribArray(p.positionLocation),g.vertexAttribPointer(p.positionLocation,2,g.FLOAT,!1,0,0);var R=g.createBuffer();return g.bindBuffer(g.ARRAY_BUFFER,R),g.bufferData(g.ARRAY_BUFFER,w,g.STATIC_DRAW),g.enableVertexAttribArray(p.colorLocation),g.vertexAttribPointer(p.colorLocation,3,g.UNSIGNED_BYTE,!1,0,0),g.uniform2f(p.scaleLocation,u.scaleX,u.scaleY),g.uniform2f(p.offsetLocation,u.offsetX,u.offsetY),g.drawArrays(g.TRIANGLES,0,b),g.flush(),g.deleteBuffer(F),g.deleteBuffer(R),A},cleanup:function(){u&&u.canvas&&(u.canvas.width=0,u.canvas.height=0),f&&f.canvas&&(f.canvas.width=0,f.canvas.height=0),u=null,f=null}}}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var r=n(1),i=n(5);function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function l(e){"@babel/helpers - typeof";return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;return d(e)}(this,n)}}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&A(e.prototype,t),n&&A(e,n),e}var v=function(){function e(){p(this,e)}return g(e,null,[{key:"create",value:function(e){switch(e.data.annotationType){case i.AnnotationType.LINK:return new y(e);case i.AnnotationType.TEXT:return new b(e);case i.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new w(e);case"Btn":return e.data.radioButton?new C(e):e.data.checkBox?new x(e):new S(e);case"Ch":return new B(e)}return new _(e);case i.AnnotationType.POPUP:return new k(e);case i.AnnotationType.FREETEXT:return new E(e);case i.AnnotationType.LINE:return new M(e);case i.AnnotationType.SQUARE:return new D(e);case i.AnnotationType.CIRCLE:return new O(e);case i.AnnotationType.POLYLINE:return new I(e);case i.AnnotationType.CARET:return new P(e);case i.AnnotationType.INK:return new F(e);case i.AnnotationType.POLYGON:return new L(e);case i.AnnotationType.HIGHLIGHT:return new R(e);case i.AnnotationType.UNDERLINE:return new N(e);case i.AnnotationType.SQUIGGLY:return new H(e);case i.AnnotationType.STRIKEOUT:return new j(e);case i.AnnotationType.STAMP:return new U(e);case i.AnnotationType.FILEATTACHMENT:return new Q(e);default:return new m(e)}}}]),e}(),m=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];p(this,e),this.isRenderable=n,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderInteractiveForms=t.renderInteractiveForms,this.svgFactory=t.svgFactory,n&&(this.container=this._createContainer(r))}return g(e,[{key:"_createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.data,n=this.page,r=this.viewport,o=document.createElement("section"),a=t.rect[2]-t.rect[0],s=t.rect[3]-t.rect[1];o.setAttribute("data-annotation-id",t.id);var l=i.Util.normalizeRect([t.rect[0],n.view[3]-t.rect[1]+n.view[1],t.rect[2],n.view[3]-t.rect[3]+n.view[1]]);if(o.style.transform="matrix(".concat(r.transform.join(","),")"),o.style.transformOrigin="-".concat(l[0],"px -").concat(l[1],"px"),!e&&t.borderStyle.width>0){o.style.borderWidth="".concat(t.borderStyle.width,"px"),t.borderStyle.style!==i.AnnotationBorderStyleType.UNDERLINE&&(a-=2*t.borderStyle.width,s-=2*t.borderStyle.width);var c=t.borderStyle.horizontalCornerRadius,u=t.borderStyle.verticalCornerRadius;if(c>0||u>0){var h="".concat(c,"px / ").concat(u,"px");o.style.borderRadius=h}switch(t.borderStyle.style){case i.AnnotationBorderStyleType.SOLID:o.style.borderStyle="solid";break;case i.AnnotationBorderStyleType.DASHED:o.style.borderStyle="dashed";break;case i.AnnotationBorderStyleType.BEVELED:(0,i.warn)("Unimplemented border style: beveled");break;case i.AnnotationBorderStyleType.INSET:(0,i.warn)("Unimplemented border style: inset");break;case i.AnnotationBorderStyleType.UNDERLINE:o.style.borderBottomStyle="solid"}t.color?o.style.borderColor=i.Util.makeCssRgb(0|t.color[0],0|t.color[1],0|t.color[2]):o.style.borderWidth=0}return o.style.left="".concat(l[0],"px"),o.style.top="".concat(l[1],"px"),o.style.width="".concat(a,"px"),o.style.height="".concat(s,"px"),o}},{key:"_createPopup",value:function(e,t,n){t||((t=document.createElement("div")).style.height=e.style.height,t.style.width=e.style.width,e.appendChild(t));var r=new T({container:e,trigger:t,color:n.color,title:n.title,modificationDate:n.modificationDate,contents:n.contents,hideWrapper:!0}).render();r.style.left=e.style.width,e.appendChild(r)}},{key:"render",value:function(){(0,i.unreachable)("Abstract method `AnnotationElement.render` called")}}]),e}(),y=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.url||e.data.dest||e.data.action);return t.call(this,e,r)}return g(n,[{key:"render",value:function(){this.container.className="linkAnnotation";var e=this.data,t=this.linkService,n=document.createElement("a");return e.url?(0,r.addLinkAttributes)(n,{url:e.url,target:e.newWindow?r.LinkTarget.BLANK:t.externalLinkTarget,rel:t.externalLinkRel,enabled:t.externalLinkEnabled}):e.action?this._bindNamedAction(n,e.action):this._bindLink(n,e.dest),this.container.appendChild(n),this.container}},{key:"_bindLink",value:function(e,t){var n=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&n.linkService.navigateTo(t),!1},t&&(e.className="internalLink")}},{key:"_bindNamedAction",value:function(e,t){var n=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return n.linkService.executeNamedAction(t),!1},e.className="internalLink"}}]),n}(),b=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,r)}return g(n,[{key:"render",value:function(){this.container.className="textAnnotation";var e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}}]),n}(),_=function(e){c(n,m);var t=h(n);function n(){return p(this,n),t.apply(this,arguments)}return g(n,[{key:"render",value:function(){return this.container}}]),n}(),w=function(e){c(n,_);var t=h(n);function n(e){p(this,n);var r=e.renderInteractiveForms||!e.data.hasAppearance&&!!e.data.fieldValue;return t.call(this,e,r)}return g(n,[{key:"render",value:function(){this.container.className="textWidgetAnnotation";var e=null;if(this.renderInteractiveForms){if(this.data.multiLine?(e=document.createElement("textarea")).textContent=this.data.fieldValue:((e=document.createElement("input")).type="text",e.setAttribute("value",this.data.fieldValue)),e.disabled=this.data.readOnly,e.name=this.data.fieldName,null!==this.data.maxLen&&(e.maxLength=this.data.maxLen),this.data.comb){var t=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;e.classList.add("comb"),e.style.letterSpacing="calc(".concat(t,"px - 1ch)")}}else{(e=document.createElement("div")).textContent=this.data.fieldValue,e.style.verticalAlign="middle",e.style.display="table-cell";var n=null;this.data.fontRefName&&this.page.commonObjs.has(this.data.fontRefName)&&(n=this.page.commonObjs.get(this.data.fontRefName)),this._setTextStyle(e,n)}return null!==this.data.textAlignment&&(e.style.textAlign=["left","center","right"][this.data.textAlignment]),this.container.appendChild(e),this.container}},{key:"_setTextStyle",value:function(e,t){var n=e.style;if(n.fontSize="".concat(this.data.fontSize,"px"),n.direction=this.data.fontDirection<0?"rtl":"ltr",t){var r="normal";t.black?r="900":t.bold&&(r="bold"),n.fontWeight=r,n.fontStyle=t.italic?"italic":"normal";var i=t.loadedName?'"'.concat(t.loadedName,'", '):"",o=t.fallbackName||"Helvetica, sans-serif";n.fontFamily=i+o}}}]),n}(),x=function(e){c(n,_);var t=h(n);function n(e){return p(this,n),t.call(this,e,e.renderInteractiveForms)}return g(n,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation checkBox";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="checkbox",e.name=this.data.fieldName,this.data.fieldValue&&"Off"!==this.data.fieldValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),n}(),C=function(e){c(n,_);var t=h(n);function n(e){return p(this,n),t.call(this,e,e.renderInteractiveForms)}return g(n,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation radioButton";var e=document.createElement("input");return e.disabled=this.data.readOnly,e.type="radio",e.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&e.setAttribute("checked",!0),this.container.appendChild(e),this.container}}]),n}(),S=function(e){c(n,y);var t=h(n);function n(){return p(this,n),t.apply(this,arguments)}return g(n,[{key:"render",value:function(){var e=s(f(n.prototype),"render",this).call(this);return e.className="buttonWidgetAnnotation pushButton",e}}]),n}(),B=function(e){c(n,_);var t=h(n);function n(e){return p(this,n),t.call(this,e,e.renderInteractiveForms)}return g(n,[{key:"render",value:function(){this.container.className="choiceWidgetAnnotation";var e=document.createElement("select");e.disabled=this.data.readOnly,e.name=this.data.fieldName,this.data.combo||(e.size=this.data.options.length,this.data.multiSelect&&(e.multiple=!0));var t,n=o(this.data.options);try{for(n.s();!(t=n.n()).done;){var r=t.value,i=document.createElement("option");i.textContent=r.displayValue,i.value=r.exportValue,this.data.fieldValue.includes(r.displayValue)&&i.setAttribute("selected",!0),e.appendChild(i)}}catch(e){n.e(e)}finally{n.f()}return this.container.appendChild(e),this.container}}]),n}(),k=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!(!e.data.title&&!e.data.contents);return t.call(this,e,r)}return g(n,[{key:"render",value:function(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;var e='[data-annotation-id="'.concat(this.data.parentId,'"]'),t=this.layer.querySelector(e);if(!t)return this.container;var n=new T({container:this.container,trigger:t,color:this.data.color,title:this.data.title,modificationDate:this.data.modificationDate,contents:this.data.contents}),r=parseFloat(t.style.left),i=parseFloat(t.style.width);return this.container.style.transformOrigin="-".concat(r+i,"px -").concat(t.style.top),this.container.style.left="".concat(r+i,"px"),this.container.appendChild(n.render()),this.container}}]),n}(),T=function(){function e(t){p(this,e),this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.title=t.title,this.modificationDate=t.modificationDate,this.contents=t.contents,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}return g(e,[{key:"render",value:function(){var e=document.createElement("div");e.className="popupWrapper",this.hideElement=this.hideWrapper?e:this.container,this.hideElement.setAttribute("hidden",!0);var t=document.createElement("div");t.className="popup";var n=this.color;if(n){var o=.7*(255-n[0])+n[0],a=.7*(255-n[1])+n[1],s=.7*(255-n[2])+n[2];t.style.backgroundColor=i.Util.makeCssRgb(0|o,0|a,0|s)}var l=document.createElement("h1");l.textContent=this.title,t.appendChild(l);var c=r.PDFDateString.toDateObject(this.modificationDate);if(c){var u=document.createElement("span");u.textContent="{{date}}, {{time}}",u.dataset.l10nId="annotation_date_string",u.dataset.l10nArgs=JSON.stringify({date:c.toLocaleDateString(),time:c.toLocaleTimeString()}),t.appendChild(u)}var h=this._formatContents(this.contents);return t.appendChild(h),this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),t.addEventListener("click",this._hide.bind(this,!0)),e.appendChild(t),e}},{key:"_formatContents",value:function(e){for(var t=document.createElement("p"),n=e.split(/(?:\r\n?|\n)/),r=0,i=n.length;r<i;++r){var o=n[r];t.appendChild(document.createTextNode(o)),r<i-1&&t.appendChild(document.createElement("br"))}return t}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)}},{key:"_hide",value:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}}]),e}(),E=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,r,!0)}return g(n,[{key:"render",value:function(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(),M=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,r,!0)}return g(n,[{key:"render",value:function(){this.container.className="lineAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),i=this.svgFactory.createElement("svg:line");return i.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),i.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),i.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),i.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),i.setAttribute("stroke-width",e.borderStyle.width||1),i.setAttribute("stroke","transparent"),r.appendChild(i),this.container.append(r),this._createPopup(this.container,i,e),this.container}}]),n}(),D=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,r,!0)}return g(n,[{key:"render",value:function(){this.container.className="squareAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),i=e.borderStyle.width,o=this.svgFactory.createElement("svg:rect");return o.setAttribute("x",i/2),o.setAttribute("y",i/2),o.setAttribute("width",t-i),o.setAttribute("height",n-i),o.setAttribute("stroke-width",i||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),r.appendChild(o),this.container.append(r),this._createPopup(this.container,o,e),this.container}}]),n}(),O=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,r,!0)}return g(n,[{key:"render",value:function(){this.container.className="circleAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),i=e.borderStyle.width,o=this.svgFactory.createElement("svg:ellipse");return o.setAttribute("cx",t/2),o.setAttribute("cy",n/2),o.setAttribute("rx",t/2-i/2),o.setAttribute("ry",n/2-i/2),o.setAttribute("stroke-width",i||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),r.appendChild(o),this.container.append(r),this._createPopup(this.container,o,e),this.container}}]),n}(),I=function(e){c(n,m);var t=h(n);function n(e){var r;p(this,n);var i=!!(e.data.hasPopup||e.data.title||e.data.contents);return(r=t.call(this,e,i,!0)).containerClassName="polylineAnnotation",r.svgElementName="svg:polyline",r}return g(n,[{key:"render",value:function(){this.container.className=this.containerClassName;var e,t=this.data,n=t.rect[2]-t.rect[0],r=t.rect[3]-t.rect[1],i=this.svgFactory.create(n,r),a=[],s=o(t.vertices);try{for(s.s();!(e=s.n()).done;){var l=e.value,c=l.x-t.rect[0],u=t.rect[3]-l.y;a.push(c+","+u)}}catch(e){s.e(e)}finally{s.f()}a=a.join(" ");var h=this.svgFactory.createElement(this.svgElementName);return h.setAttribute("points",a),h.setAttribute("stroke-width",t.borderStyle.width||1),h.setAttribute("stroke","transparent"),h.setAttribute("fill","none"),i.appendChild(h),this.container.append(i),this._createPopup(this.container,h,t),this.container}}]),n}(),L=function(e){c(n,I);var t=h(n);function n(e){var r;return p(this,n),(r=t.call(this,e)).containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return n}(),P=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,r,!0)}return g(n,[{key:"render",value:function(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(),F=function(e){c(n,m);var t=h(n);function n(e){var r;p(this,n);var i=!!(e.data.hasPopup||e.data.title||e.data.contents);return(r=t.call(this,e,i,!0)).containerClassName="inkAnnotation",r.svgElementName="svg:polyline",r}return g(n,[{key:"render",value:function(){this.container.className=this.containerClassName;var e,t=this.data,n=t.rect[2]-t.rect[0],r=t.rect[3]-t.rect[1],i=this.svgFactory.create(n,r),a=o(t.inkLists);try{for(a.s();!(e=a.n()).done;){var s,l=[],c=o(e.value);try{for(c.s();!(s=c.n()).done;){var u=s.value,h=u.x-t.rect[0],d=t.rect[3]-u.y;l.push("".concat(h,",").concat(d))}}catch(e){c.e(e)}finally{c.f()}l=l.join(" ");var f=this.svgFactory.createElement(this.svgElementName);f.setAttribute("points",l),f.setAttribute("stroke-width",t.borderStyle.width||1),f.setAttribute("stroke","transparent"),f.setAttribute("fill","none"),this._createPopup(this.container,f,t),i.appendChild(f)}}catch(e){a.e(e)}finally{a.f()}return this.container.append(i),this.container}}]),n}(),R=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,r,!0)}return g(n,[{key:"render",value:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(),N=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,r,!0)}return g(n,[{key:"render",value:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(),H=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,r,!0)}return g(n,[{key:"render",value:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(),j=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,r,!0)}return g(n,[{key:"render",value:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(),U=function(e){c(n,m);var t=h(n);function n(e){p(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,r,!0)}return g(n,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),n}(),Q=function(e){c(n,m);var t=h(n);function n(e){var o;p(this,n);var a=(o=t.call(this,e,!0)).data.file,s=a.filename,l=a.content;return o.filename=(0,r.getFilenameFromUrl)(s),o.content=l,o.linkService.eventBus&&o.linkService.eventBus.dispatch("fileattachmentannotation",{source:d(o),id:(0,i.stringToPDFString)(s),filename:s,content:l}),o}return g(n,[{key:"render",value:function(){this.container.className="fileAttachmentAnnotation";var e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),this.data.hasPopup||!this.data.title&&!this.data.contents||this._createPopup(this.container,e,this.data),this.container.appendChild(e),this.container}},{key:"_download",value:function(){this.downloadManager?this.downloadManager.downloadData(this.content,this.filename,""):(0,i.warn)("Download cannot be started due to unavailable download manager")}}]),n}(),z=function(){function e(){p(this,e)}return g(e,null,[{key:"render",value:function(e){var t,n=[],a=[],s=o(e.annotations);try{for(s.s();!(t=s.n()).done;){var l=t.value;l&&(l.annotationType!==i.AnnotationType.POPUP?n.push(l):a.push(l))}}catch(e){s.e(e)}finally{s.f()}a.length&&n.push.apply(n,a);for(var c=0,u=n;c<u.length;c++){var h=u[c],d=v.create({data:h,layer:e.div,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderInteractiveForms:e.renderInteractiveForms||!1,svgFactory:new r.DOMSVGFactory});d.isRenderable&&e.div.appendChild(d.render())}}},{key:"update",value:function(e){var t,n=o(e.annotations);try{for(n.s();!(t=n.n()).done;){var r=t.value,i=e.div.querySelector('[data-annotation-id="'.concat(r.id,'"]'));i&&(i.style.transform="matrix(".concat(e.viewport.transform.join(","),")"))}}catch(e){n.e(e)}finally{n.f()}e.div.removeAttribute("hidden")}}]),e}();t.AnnotationLayer=z},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=void 0;var r=n(5),i=function(){var e=1e5,t=/\S/;function n(e,n,i){var o,a=document.createElement("span"),s={angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(e._textDivs.push(a),o=n.str,!t.test(o))return s.isWhitespace=!0,void e._textDivProperties.set(a,s);var l=r.Util.transform(e._viewport.transform,n.transform),c=Math.atan2(l[1],l[0]),u=i[n.fontName];u.vertical&&(c+=Math.PI/2);var h,d,f=Math.sqrt(l[2]*l[2]+l[3]*l[3]),p=f;u.ascent?p=u.ascent*p:u.descent&&(p=(1+u.descent)*p),0===c?(h=l[4],d=l[5]-p):(h=l[4]+p*Math.sin(c),d=l[5]-p*Math.cos(c)),a.style.left="".concat(h,"px"),a.style.top="".concat(d,"px"),a.style.fontSize="".concat(f,"px"),a.style.fontFamily=u.fontFamily,a.textContent=n.str,e._fontInspectorEnabled&&(a.dataset.fontName=n.fontName),0!==c&&(s.angle=c*(180/Math.PI));var A=!1;if(n.str.length>1)A=!0;else if(n.transform[0]!==n.transform[3]){var g=Math.abs(n.transform[0]),v=Math.abs(n.transform[3]);g!==v&&Math.max(g,v)/Math.min(g,v)>1.5&&(A=!0)}if(A&&(u.vertical?s.canvasWidth=n.height*e._viewport.scale:s.canvasWidth=n.width*e._viewport.scale),e._textDivProperties.set(a,s),e._textContentStream&&e._layoutText(a),e._enhanceTextSelection){var m=1,y=0;0!==c&&(m=Math.cos(c),y=Math.sin(c));var b,_,w=(u.vertical?n.height:n.width)*e._viewport.scale,x=f;0!==c?(b=[m,y,-y,m,h,d],_=r.Util.getAxialAlignedBoundingBox([0,0,w,x],b)):_=[h,d,h+w,d+x],e._bounds.push({left:_[0],top:_[1],right:_[2],bottom:_[3],div:a,size:[w,x],m:b})}}function i(t){if(!t._canceled){var n=t._textDivs,r=t._capability,i=n.length;if(i>e)return t._renderingDone=!0,void r.resolve();if(!t._textContentStream)for(var o=0;o<i;o++)t._layoutText(n[o]);t._renderingDone=!0,r.resolve()}}function o(e,t,n){for(var r=0,i=0;i<n;i++){var o=e[t++];o>0&&(r=r?Math.min(o,r):o)}return r}function a(e){for(var t=e._bounds,n=e._viewport,i=function(e,t,n){var r=n.map(function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}});s(e,r);var i=new Array(n.length);return r.forEach(function(e){var t=e.index;i[t]={left:e.x1New,top:0,right:e.x2New,bottom:0}}),n.map(function(t,n){var o=i[n],a=r[n];a.x1=t.top,a.y1=e-o.right,a.x2=t.bottom,a.y2=e-o.left,a.index=n,a.x1New=void 0,a.x2New=void 0}),s(t,r),r.forEach(function(e){var t=e.index;i[t].top=e.x1New,i[t].bottom=e.x2New}),i}(n.width,n.height,t),a=0;a<i.length;a++){var l=t[a].div,c=e._textDivProperties.get(l);if(0!==c.angle){var u=i[a],h=t[a],d=h.m,f=d[0],p=d[1],A=[[0,0],[0,h.size[1]],[h.size[0],0],h.size],g=new Float64Array(64);A.forEach(function(e,t){var n=r.Util.applyTransform(e,d);g[t+0]=f&&(u.left-n[0])/f,g[t+4]=p&&(u.top-n[1])/p,g[t+8]=f&&(u.right-n[0])/f,g[t+12]=p&&(u.bottom-n[1])/p,g[t+16]=p&&(u.left-n[0])/-p,g[t+20]=f&&(u.top-n[1])/f,g[t+24]=p&&(u.right-n[0])/-p,g[t+28]=f&&(u.bottom-n[1])/f,g[t+32]=f&&(u.left-n[0])/-f,g[t+36]=p&&(u.top-n[1])/-p,g[t+40]=f&&(u.right-n[0])/-f,g[t+44]=p&&(u.bottom-n[1])/-p,g[t+48]=p&&(u.left-n[0])/p,g[t+52]=f&&(u.top-n[1])/-f,g[t+56]=p&&(u.right-n[0])/p,g[t+60]=f&&(u.bottom-n[1])/-f});var v=1+Math.min(Math.abs(f),Math.abs(p));c.paddingLeft=o(g,32,16)/v,c.paddingTop=o(g,48,16)/v,c.paddingRight=o(g,0,16)/v,c.paddingBottom=o(g,16,16)/v,e._textDivProperties.set(l,c)}else c.paddingLeft=t[a].left-i[a].left,c.paddingTop=t[a].top-i[a].top,c.paddingRight=i[a].right-t[a].right,c.paddingBottom=i[a].bottom-t[a].bottom,e._textDivProperties.set(l,c)}}function s(e,t){t.sort(function(e,t){return e.x1-t.x1||e.index-t.index});var n=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];t.forEach(function(e){for(var t=0;t<n.length&&n[t].end<=e.y1;)t++;for(var r,i,o=n.length-1;o>=0&&n[o].start>=e.y2;)o--;var a,s,l=-1/0;for(a=t;a<=o;a++){var c;(c=(i=(r=n[a]).boundary).x2>e.x1?i.index>e.index?i.x1New:e.x1:void 0===i.x2New?(i.x2+e.x1)/2:i.x2New)>l&&(l=c)}for(e.x1New=l,a=t;a<=o;a++)void 0===(i=(r=n[a]).boundary).x2New?i.x2>e.x1?i.index>e.index&&(i.x2New=i.x2):i.x2New=l:i.x2New>l&&(i.x2New=Math.max(l,i.x2));var u=[],h=null;for(a=t;a<=o;a++){var d=(i=(r=n[a]).boundary).x2>e.x2?i:e;h===d?u[u.length-1].end=r.end:(u.push({start:r.start,end:r.end,boundary:d}),h=d)}for(n[t].start<e.y1&&(u[0].start=e.y1,u.unshift({start:n[t].start,end:e.y1,boundary:n[t].boundary})),e.y2<n[o].end&&(u[u.length-1].end=e.y2,u.push({start:e.y2,end:n[o].end,boundary:n[o].boundary})),a=t;a<=o;a++)if(void 0===(i=(r=n[a]).boundary).x2New){var f=!1;for(s=t-1;!f&&s>=0&&n[s].start>=i.y1;s--)f=n[s].boundary===i;for(s=o+1;!f&&s<n.length&&n[s].end<=i.y2;s++)f=n[s].boundary===i;for(s=0;!f&&s<u.length;s++)f=u[s].boundary===i;f||(i.x2New=l)}Array.prototype.splice.apply(n,[t,o-t+1].concat(u))}),n.forEach(function(t){var n=t.boundary;void 0===n.x2New&&(n.x2New=Math.max(e,n.x2))})}function l(e){var t=this,n=e.textContent,i=e.textContentStream,o=e.container,a=e.viewport,s=e.textDivs,l=e.textContentItemsStr,c=e.enhanceTextSelection;this._textContent=n,this._textContentStream=i,this._container=o,this._viewport=a,this._textDivs=s||[],this._textContentItemsStr=l||[],this._enhanceTextSelection=!!c,this._fontInspectorEnabled=!(!globalThis.FontInspector||!globalThis.FontInspector.enabled),this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,r.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise.finally(function(){t._layoutTextCtx&&(t._layoutTextCtx.canvas.width=0,t._layoutTextCtx.canvas.height=0,t._layoutTextCtx=null)}).catch(function(){})}return l.prototype={get promise(){return this._capability.promise},cancel:function(){this._canceled=!0,this._reader&&(this._reader.cancel(new r.AbortException("TextLayer task cancelled.")),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))},_processItems:function(e,t){for(var r=0,i=e.length;r<i;r++)this._textContentItemsStr.push(e[r].str),n(this,e[r],t)},_layoutText:function(e){var t=this._textDivProperties.get(e);if(!t.isWhitespace){var n="";if(0!==t.canvasWidth){var r=e.style,i=r.fontSize,o=r.fontFamily;i===this._layoutTextLastFontSize&&o===this._layoutTextLastFontFamily||(this._layoutTextCtx.font="".concat(i," ").concat(o),this._layoutTextLastFontSize=i,this._layoutTextLastFontFamily=o);var a=this._layoutTextCtx.measureText(e.textContent).width;a>0&&(t.scale=t.canvasWidth/a,n="scaleX(".concat(t.scale,")"))}0!==t.angle&&(n="rotate(".concat(t.angle,"deg) ").concat(n)),n.length>0&&(this._enhanceTextSelection&&(t.originalTransform=n),e.style.transform=n),this._textDivProperties.set(e,t),this._container.appendChild(e)}},_render:function(e){var t=this,n=(0,r.createPromiseCapability)(),o=Object.create(null),a=document.createElement("canvas");if(a.mozOpaque=!0,this._layoutTextCtx=a.getContext("2d",{alpha:!1}),this._textContent){var s=this._textContent.items,l=this._textContent.styles;this._processItems(s,l),n.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');this._reader=this._textContentStream.getReader(),function e(){t._reader.read().then(function(r){var i=r.value;r.done?n.resolve():(Object.assign(o,i.styles),t._processItems(i.items,o),e())},n.reject)}()}n.promise.then(function(){o=null,e?t._renderTimer=setTimeout(function(){i(t),t._renderTimer=null},e):i(t)},this._capability.reject)},expandTextDivs:function(e){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(a(this),this._bounds=null);for(var t=[],n=[],r=0,i=this._textDivs.length;r<i;r++){var o=this._textDivs[r],s=this._textDivProperties.get(o);s.isWhitespace||(e?(t.length=0,n.length=0,s.originalTransform&&t.push(s.originalTransform),s.paddingTop>0?(n.push("".concat(s.paddingTop,"px")),t.push("translateY(".concat(-s.paddingTop,"px)"))):n.push(0),s.paddingRight>0?n.push("".concat(s.paddingRight/s.scale,"px")):n.push(0),s.paddingBottom>0?n.push("".concat(s.paddingBottom,"px")):n.push(0),s.paddingLeft>0?(n.push("".concat(s.paddingLeft/s.scale,"px")),t.push("translateX(".concat(-s.paddingLeft/s.scale,"px)"))):n.push(0),o.style.padding=n.join(" "),t.length&&(o.style.transform=t.join(" "))):(o.style.padding=null,o.style.transform=s.originalTransform))}}}},function(e){var t=new l({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t}}();t.renderTextLayer=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var r=n(5),i=n(1),o=n(7);function a(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||c(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}var p=function(){throw new Error("Not implemented: SVGGraphics")};t.SVGGraphics=p;var A=function(e){if(Number.isInteger(e))return e.toString();var t=e.toFixed(10),n=t.length-1;if("0"!==t[n])return t;do{n--}while("0"===t[n]);return t.substring(0,"."===t[n]?n:n+1)},g=function(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":"scale(".concat(A(e[0])," ").concat(A(e[3]),")");if(e[0]===e[3]&&e[1]===-e[2]){var t=180*Math.acos(e[0])/Math.PI;return"rotate(".concat(A(t),")")}}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return"translate(".concat(A(e[4])," ").concat(A(e[5]),")");return"matrix(".concat(A(e[0])," ").concat(A(e[1])," ").concat(A(e[2])," ").concat(A(e[3])," ").concat(A(e[4])," ")+"".concat(A(e[5]),")")},v={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},m=["butt","round","square"],y=["miter","round","bevel"],b=function(){for(var e=new Uint8Array([137,80,78,71,13,10,26,10]),t=12,n=new Int32Array(256),i=0;i<256;i++){for(var a=i,s=0;s<8;s++)a=1&a?3988292384^a>>1&2147483647:a>>1&2147483647;n[i]=a}function l(e,t,r,i){var o=i,a=t.length;r[o]=a>>24&255,r[o+1]=a>>16&255,r[o+2]=a>>8&255,r[o+3]=255&a,r[o+=4]=255&e.charCodeAt(0),r[o+1]=255&e.charCodeAt(1),r[o+2]=255&e.charCodeAt(2),r[o+3]=255&e.charCodeAt(3),o+=4,r.set(t,o);var s=function(e,t,r){for(var i=-1,o=t;o<r;o++){var a=255&(i^e[o]);i=i>>>8^n[a]}return-1^i}(r,i+4,o+=t.length);r[o]=s>>24&255,r[o+1]=s>>16&255,r[o+2]=s>>8&255,r[o+3]=255&s}function c(e){var t=e.length,n=Math.ceil(t/65535),r=new Uint8Array(2+t+5*n+4),i=0;r[i++]=120,r[i++]=156;for(var o=0;t>65535;)r[i++]=0,r[i++]=255,r[i++]=255,r[i++]=0,r[i++]=0,r.set(e.subarray(o,o+65535),i),i+=65535,o+=65535,t-=65535;r[i++]=1,r[i++]=255&t,r[i++]=t>>8&255,r[i++]=255&~t,r[i++]=(65535&~t)>>8&255,r.set(e.subarray(o),i),i+=e.length-o;var a=function(e,t,n){for(var r=1,i=0,o=t;o<n;++o)i=(i+(r=(r+(255&e[o]))%65521))%65521;return i<<16|r}(e,0,e.length);return r[i++]=a>>24&255,r[i++]=a>>16&255,r[i++]=a>>8&255,r[i++]=255&a,r}function u(n,i,a,s){var u,h,d,f=n.width,p=n.height,A=n.data;switch(i){case r.ImageKind.GRAYSCALE_1BPP:h=0,u=1,d=f+7>>3;break;case r.ImageKind.RGB_24BPP:h=2,u=8,d=3*f;break;case r.ImageKind.RGBA_32BPP:h=6,u=8,d=4*f;break;default:throw new Error("invalid format")}for(var g=new Uint8Array((1+d)*p),v=0,m=0,y=0;y<p;++y)g[v++]=0,g.set(A.subarray(m,m+d),v),m+=d,v+=d;if(i===r.ImageKind.GRAYSCALE_1BPP&&s){v=0;for(var b=0;b<p;b++){v++;for(var _=0;_<d;_++)g[v++]^=255}}var w=new Uint8Array([f>>24&255,f>>16&255,f>>8&255,255&f,p>>24&255,p>>16&255,p>>8&255,255&p,u,h,0,0,0]),x=function(e){if(!o.isNodeJS)return c(e);try{var t;t=parseInt(process.versions.node)>=8?e:Buffer.from(e);var n=__webpack_require__(3).deflateSync(t,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(e){(0,r.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return c(e)}(g),C=e.length+3*t+w.length+x.length,S=new Uint8Array(C),B=0;return S.set(e,B),l("IHDR",w,S,B+=e.length),l("IDATA",x,S,B+=t+w.length),B+=t+x.length,l("IEND",new Uint8Array(0),S,B),(0,r.createObjectURL)(S,"image/png",a)}return function(e,t,n){return u(e,void 0===e.kind?r.ImageKind.GRAYSCALE_1BPP:e.kind,t,n)}}(),_=function(){function e(){h(this,e),this.fontSizeScale=1,this.fontWeight=v.fontWeight,this.fontSize=0,this.textMatrix=r.IDENTITY_MATRIX,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=r.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=v.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return f(e,[{key:"clone",value:function(){return Object.create(this)}},{key:"setCurrentPoint",value:function(e,t){this.x=e,this.y=t}}]),e}(),w=0,x=0,C=0;t.SVGGraphics=p=function(){function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var a in h(this,e),this.svgFactory=new i.DOMSVGFactory,this.current=new _,this.transformMatrix=r.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=t,this.objs=n,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!o,this._operatorIdMapping=[],r.OPS)this._operatorIdMapping[r.OPS[a]]=a}return f(e,[{key:"save",value:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()}},{key:"restore",value:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}},{key:"group",value:function(e){this.save(),this.executeOpTree(e),this.restore()}},{key:"loadDependencies",value:function(e){for(var t=this,n=e.fnArray,i=e.argsArray,o=0,a=n.length;o<a;o++)if(n[o]===r.OPS.dependency){var s,c=l(i[o]);try{var u=function(){var e=s.value,n=e.startsWith("g_")?t.commonObjs:t.objs,r=new Promise(function(t){n.get(e,t)});t.current.dependencies.push(r)};for(c.s();!(s=c.n()).done;)u()}catch(e){c.e(e)}finally{c.f()}}return Promise.all(this.current.dependencies)}},{key:"transform",value:function(e,t,n,i,o,a){var s=[e,t,n,i,o,a];this.transformMatrix=r.Util.transform(this.transformMatrix,s),this.tgrp=null}},{key:"getSVG",value:function(e,t){var n=this;this.viewport=t;var i=this._initialize(t);return this.loadDependencies(e).then(function(){return n.transformMatrix=r.IDENTITY_MATRIX,n.executeOpTree(n.convertOpList(e)),i})}},{key:"convertOpList",value:function(e){for(var t=this._operatorIdMapping,n=e.argsArray,r=e.fnArray,i=[],o=0,a=r.length;o<a;o++){var s=r[o];i.push({fnId:s,fn:t[s],args:n[o]})}return function(e){var t,n=[],r=[],i=l(e);try{for(i.s();!(t=i.n()).done;){var o=t.value;"save"!==o.fn?"restore"===o.fn?n=r.pop():n.push(o):(n.push({fnId:92,fn:"group",items:[]}),r.push(n),n=n[n.length-1].items)}}catch(e){i.e(e)}finally{i.f()}return n}(i)}},{key:"executeOpTree",value:function(e){var t,n=l(e);try{for(n.s();!(t=n.n()).done;){var i=t.value,o=i.fn,a=i.fnId,s=i.args;switch(0|a){case r.OPS.beginText:this.beginText();break;case r.OPS.dependency:break;case r.OPS.setLeading:this.setLeading(s);break;case r.OPS.setLeadingMoveText:this.setLeadingMoveText(s[0],s[1]);break;case r.OPS.setFont:this.setFont(s);break;case r.OPS.showText:case r.OPS.showSpacedText:this.showText(s[0]);break;case r.OPS.endText:this.endText();break;case r.OPS.moveText:this.moveText(s[0],s[1]);break;case r.OPS.setCharSpacing:this.setCharSpacing(s[0]);break;case r.OPS.setWordSpacing:this.setWordSpacing(s[0]);break;case r.OPS.setHScale:this.setHScale(s[0]);break;case r.OPS.setTextMatrix:this.setTextMatrix(s[0],s[1],s[2],s[3],s[4],s[5]);break;case r.OPS.setTextRise:this.setTextRise(s[0]);break;case r.OPS.setTextRenderingMode:this.setTextRenderingMode(s[0]);break;case r.OPS.setLineWidth:this.setLineWidth(s[0]);break;case r.OPS.setLineJoin:this.setLineJoin(s[0]);break;case r.OPS.setLineCap:this.setLineCap(s[0]);break;case r.OPS.setMiterLimit:this.setMiterLimit(s[0]);break;case r.OPS.setFillRGBColor:this.setFillRGBColor(s[0],s[1],s[2]);break;case r.OPS.setStrokeRGBColor:this.setStrokeRGBColor(s[0],s[1],s[2]);break;case r.OPS.setStrokeColorN:this.setStrokeColorN(s);break;case r.OPS.setFillColorN:this.setFillColorN(s);break;case r.OPS.shadingFill:this.shadingFill(s[0]);break;case r.OPS.setDash:this.setDash(s[0],s[1]);break;case r.OPS.setRenderingIntent:this.setRenderingIntent(s[0]);break;case r.OPS.setFlatness:this.setFlatness(s[0]);break;case r.OPS.setGState:this.setGState(s[0]);break;case r.OPS.fill:this.fill();break;case r.OPS.eoFill:this.eoFill();break;case r.OPS.stroke:this.stroke();break;case r.OPS.fillStroke:this.fillStroke();break;case r.OPS.eoFillStroke:this.eoFillStroke();break;case r.OPS.clip:this.clip("nonzero");break;case r.OPS.eoClip:this.clip("evenodd");break;case r.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case r.OPS.paintImageXObject:this.paintImageXObject(s[0]);break;case r.OPS.paintInlineImageXObject:this.paintInlineImageXObject(s[0]);break;case r.OPS.paintImageMaskXObject:this.paintImageMaskXObject(s[0]);break;case r.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(s[0],s[1]);break;case r.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case r.OPS.closePath:this.closePath();break;case r.OPS.closeStroke:this.closeStroke();break;case r.OPS.closeFillStroke:this.closeFillStroke();break;case r.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case r.OPS.nextLine:this.nextLine();break;case r.OPS.transform:this.transform(s[0],s[1],s[2],s[3],s[4],s[5]);break;case r.OPS.constructPath:this.constructPath(s[0],s[1]);break;case r.OPS.endPath:this.endPath();break;case 92:this.group(i.items);break;default:(0,r.warn)("Unimplemented operator ".concat(o))}}}catch(e){n.e(e)}finally{n.f()}}},{key:"setWordSpacing",value:function(e){this.current.wordSpacing=e}},{key:"setCharSpacing",value:function(e){this.current.charSpacing=e}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"setTextMatrix",value:function(e,t,n,r,i,o){var a=this.current;a.textMatrix=a.lineMatrix=[e,t,n,r,i,o],a.textMatrixScale=Math.sqrt(e*e+t*t),a.x=a.lineX=0,a.y=a.lineY=0,a.xcoords=[],a.ycoords=[],a.tspan=this.svgFactory.createElement("svg:tspan"),a.tspan.setAttributeNS(null,"font-family",a.fontFamily),a.tspan.setAttributeNS(null,"font-size","".concat(A(a.fontSize),"px")),a.tspan.setAttributeNS(null,"y",A(-a.y)),a.txtElement=this.svgFactory.createElement("svg:text"),a.txtElement.appendChild(a.tspan)}},{key:"beginText",value:function(){var e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=r.IDENTITY_MATRIX,e.lineMatrix=r.IDENTITY_MATRIX,e.textMatrixScale=1,e.tspan=this.svgFactory.createElement("svg:tspan"),e.txtElement=this.svgFactory.createElement("svg:text"),e.txtgrp=this.svgFactory.createElement("svg:g"),e.xcoords=[],e.ycoords=[]}},{key:"moveText",value:function(e,t){var n=this.current;n.x=n.lineX+=e,n.y=n.lineY+=t,n.xcoords=[],n.ycoords=[],n.tspan=this.svgFactory.createElement("svg:tspan"),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size","".concat(A(n.fontSize),"px")),n.tspan.setAttributeNS(null,"y",A(-n.y))}},{key:"showText",value:function(e){var t=this.current,n=t.font,i=t.fontSize;if(0!==i){var o,a=t.fontSizeScale,s=t.charSpacing,c=t.wordSpacing,u=t.fontDirection,h=t.textHScale*u,d=n.vertical,f=d?1:-1,p=n.defaultVMetrics,m=i*t.fontMatrix[0],y=0,b=l(e);try{for(b.s();!(o=b.n()).done;){var _=o.value;if(null!==_)if((0,r.isNum)(_))y+=f*_*i/1e3;else{var w=(_.isSpace?c:0)+s,x=_.fontChar,C=void 0,S=void 0,B=_.width;if(d){var k=void 0,T=_.vmetric||p;k=-(k=_.vmetric?T[1]:.5*B)*m;var E=T[2]*m;B=T?-T[0]:B,C=k/a,S=(y+E)/a}else C=y/a,S=0;(_.isInFont||n.missingFile)&&(t.xcoords.push(t.x+C),d&&t.ycoords.push(-t.y+S),t.tspan.textContent+=x);y+=d?B*m-w*u:B*m+w*u}else y+=u*c}}catch(e){b.e(e)}finally{b.f()}t.tspan.setAttributeNS(null,"x",t.xcoords.map(A).join(" ")),d?t.tspan.setAttributeNS(null,"y",t.ycoords.map(A).join(" ")):t.tspan.setAttributeNS(null,"y",A(-t.y)),d?t.y-=y:t.x+=y*h,t.tspan.setAttributeNS(null,"font-family",t.fontFamily),t.tspan.setAttributeNS(null,"font-size","".concat(A(t.fontSize),"px")),t.fontStyle!==v.fontStyle&&t.tspan.setAttributeNS(null,"font-style",t.fontStyle),t.fontWeight!==v.fontWeight&&t.tspan.setAttributeNS(null,"font-weight",t.fontWeight);var M=t.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;if(M===r.TextRenderingMode.FILL||M===r.TextRenderingMode.FILL_STROKE?(t.fillColor!==v.fillColor&&t.tspan.setAttributeNS(null,"fill",t.fillColor),t.fillAlpha<1&&t.tspan.setAttributeNS(null,"fill-opacity",t.fillAlpha)):t.textRenderingMode===r.TextRenderingMode.ADD_TO_PATH?t.tspan.setAttributeNS(null,"fill","transparent"):t.tspan.setAttributeNS(null,"fill","none"),M===r.TextRenderingMode.STROKE||M===r.TextRenderingMode.FILL_STROKE){var D=1/(t.textMatrixScale||1);this._setStrokeAttributes(t.tspan,D)}var O=t.textMatrix;0!==t.textRise&&((O=O.slice())[5]+=t.textRise),t.txtElement.setAttributeNS(null,"transform","".concat(g(O)," scale(").concat(A(h),", -1)")),t.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.txtElement.appendChild(t.tspan),t.txtgrp.appendChild(t.txtElement),this._ensureTransformGroup().appendChild(t.txtElement)}}},{key:"setLeadingMoveText",value:function(e,t){this.setLeading(-t),this.moveText(e,t)}},{key:"addFontStyle",value:function(e){if(!e.data)throw new Error('addFontStyle: No font data available, ensure that the "fontExtraProperties" API parameter is set.');this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var t=(0,r.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'.concat(e.loadedName,'";')+" src: url(".concat(t,"); }\n")}},{key:"setFont",value:function(e){var t=this.current,n=this.commonObjs.get(e[0]),i=e[1];t.font=n,!this.embedFonts||n.missingFile||this.embeddedFonts[n.loadedName]||(this.addFontStyle(n),this.embeddedFonts[n.loadedName]=n),t.fontMatrix=n.fontMatrix?n.fontMatrix:r.FONT_IDENTITY_MATRIX;var o="normal";n.black?o="900":n.bold&&(o="bold");var a=n.italic?"italic":"normal";i<0?(i=-i,t.fontDirection=-1):t.fontDirection=1,t.fontSize=i,t.fontFamily=n.loadedName,t.fontWeight=o,t.fontStyle=a,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",A(-t.y)),t.xcoords=[],t.ycoords=[]}},{key:"endText",value:function(){var e=this.current;e.textRenderingMode&r.TextRenderingMode.ADD_TO_PATH_FLAG&&e.txtElement&&e.txtElement.hasChildNodes()&&(e.element=e.txtElement,this.clip("nonzero"),this.endPath())}},{key:"setLineWidth",value:function(e){e>0&&(this.current.lineWidth=e)}},{key:"setLineCap",value:function(e){this.current.lineCap=m[e]}},{key:"setLineJoin",value:function(e){this.current.lineJoin=y[e]}},{key:"setMiterLimit",value:function(e){this.current.miterLimit=e}},{key:"setStrokeAlpha",value:function(e){this.current.strokeAlpha=e}},{key:"setStrokeRGBColor",value:function(e,t,n){this.current.strokeColor=r.Util.makeCssRgb(e,t,n)}},{key:"setFillAlpha",value:function(e){this.current.fillAlpha=e}},{key:"setFillRGBColor",value:function(e,t,n){this.current.fillColor=r.Util.makeCssRgb(e,t,n),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}},{key:"setStrokeColorN",value:function(e){this.current.strokeColor=this._makeColorN_Pattern(e)}},{key:"setFillColorN",value:function(e){this.current.fillColor=this._makeColorN_Pattern(e)}},{key:"shadingFill",value:function(e){var t=this.viewport.width,n=this.viewport.height,i=r.Util.inverseTransform(this.transformMatrix),o=r.Util.applyTransform([0,0],i),a=r.Util.applyTransform([0,n],i),s=r.Util.applyTransform([t,0],i),l=r.Util.applyTransform([t,n],i),c=Math.min(o[0],a[0],s[0],l[0]),u=Math.min(o[1],a[1],s[1],l[1]),h=Math.max(o[0],a[0],s[0],l[0]),d=Math.max(o[1],a[1],s[1],l[1]),f=this.svgFactory.createElement("svg:rect");f.setAttributeNS(null,"x",c),f.setAttributeNS(null,"y",u),f.setAttributeNS(null,"width",h-c),f.setAttributeNS(null,"height",d-u),f.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this.current.fillAlpha<1&&f.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().appendChild(f)}},{key:"_makeColorN_Pattern",value:function(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}},{key:"_makeTilingPattern",value:function(e){var t=e[1],n=e[2],i=e[3]||r.IDENTITY_MATRIX,o=s(e[4],4),l=o[0],c=o[1],u=o[2],h=o[3],d=e[5],f=e[6],p=e[7],A="shading".concat(C++),g=s(r.Util.applyTransform([l,c],i),2),v=g[0],m=g[1],y=s(r.Util.applyTransform([u,h],i),2),b=y[0],_=y[1],w=s(r.Util.singularValueDecompose2dScale(i),2),x=d*w[0],S=f*w[1],B=this.svgFactory.createElement("svg:pattern");B.setAttributeNS(null,"id",A),B.setAttributeNS(null,"patternUnits","userSpaceOnUse"),B.setAttributeNS(null,"width",x),B.setAttributeNS(null,"height",S),B.setAttributeNS(null,"x","".concat(v)),B.setAttributeNS(null,"y","".concat(m));var k=this.svg,T=this.transformMatrix,E=this.current.fillColor,M=this.current.strokeColor,D=this.svgFactory.create(b-v,_-m);if(this.svg=D,this.transformMatrix=i,2===p){var O=r.Util.makeCssRgb.apply(r.Util,a(t));this.current.fillColor=O,this.current.strokeColor=O}return this.executeOpTree(this.convertOpList(n)),this.svg=k,this.transformMatrix=T,this.current.fillColor=E,this.current.strokeColor=M,B.appendChild(D.childNodes[0]),this.defs.appendChild(B),"url(#".concat(A,")")}},{key:"_makeShadingPattern",value:function(e){switch(e[0]){case"RadialAxial":var t,n="shading".concat(C++),i=e[3];switch(e[1]){case"axial":var o=e[4],a=e[5];(t=this.svgFactory.createElement("svg:linearGradient")).setAttributeNS(null,"id",n),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"x1",o[0]),t.setAttributeNS(null,"y1",o[1]),t.setAttributeNS(null,"x2",a[0]),t.setAttributeNS(null,"y2",a[1]);break;case"radial":var s=e[4],c=e[5],u=e[6],h=e[7];(t=this.svgFactory.createElement("svg:radialGradient")).setAttributeNS(null,"id",n),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"cx",c[0]),t.setAttributeNS(null,"cy",c[1]),t.setAttributeNS(null,"r",h),t.setAttributeNS(null,"fx",s[0]),t.setAttributeNS(null,"fy",s[1]),t.setAttributeNS(null,"fr",u);break;default:throw new Error("Unknown RadialAxial type: ".concat(e[1]))}var d,f=l(i);try{for(f.s();!(d=f.n()).done;){var p=d.value,A=this.svgFactory.createElement("svg:stop");A.setAttributeNS(null,"offset",p[0]),A.setAttributeNS(null,"stop-color",p[1]),t.appendChild(A)}}catch(e){f.e(e)}finally{f.f()}return this.defs.appendChild(t),"url(#".concat(n,")");case"Mesh":return(0,r.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error("Unknown IR type: ".concat(e[0]))}}},{key:"setDash",value:function(e,t){this.current.dashArray=e,this.current.dashPhase=t}},{key:"constructPath",value:function(e,t){var n,i=this.current,o=i.x,a=i.y,s=[],c=0,u=l(e);try{for(u.s();!(n=u.n()).done;){switch(0|n.value){case r.OPS.rectangle:o=t[c++],a=t[c++];var h=o+t[c++],d=a+t[c++];s.push("M",A(o),A(a),"L",A(h),A(a),"L",A(h),A(d),"L",A(o),A(d),"Z");break;case r.OPS.moveTo:o=t[c++],a=t[c++],s.push("M",A(o),A(a));break;case r.OPS.lineTo:o=t[c++],a=t[c++],s.push("L",A(o),A(a));break;case r.OPS.curveTo:o=t[c+4],a=t[c+5],s.push("C",A(t[c]),A(t[c+1]),A(t[c+2]),A(t[c+3]),A(o),A(a)),c+=6;break;case r.OPS.curveTo2:s.push("C",A(o),A(a),A(t[c]),A(t[c+1]),A(t[c+2]),A(t[c+3])),o=t[c+2],a=t[c+3],c+=4;break;case r.OPS.curveTo3:o=t[c+2],a=t[c+3],s.push("C",A(t[c]),A(t[c+1]),A(o),A(a),A(o),A(a)),c+=4;break;case r.OPS.closePath:s.push("Z")}}}catch(e){u.e(e)}finally{u.f()}s=s.join(" "),i.path&&e.length>0&&e[0]!==r.OPS.rectangle&&e[0]!==r.OPS.moveTo?s=i.path.getAttributeNS(null,"d")+s:(i.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(i.path)),i.path.setAttributeNS(null,"d",s),i.path.setAttributeNS(null,"fill","none"),i.element=i.path,i.setCurrentPoint(o,a)}},{key:"endPath",value:function(){var e=this.current;if(e.path=null,this.pendingClip)if(e.element){var t="clippath".concat(w++),n=this.svgFactory.createElement("svg:clipPath");n.setAttributeNS(null,"id",t),n.setAttributeNS(null,"transform",g(this.transformMatrix));var r=e.element.cloneNode(!0);"evenodd"===this.pendingClip?r.setAttributeNS(null,"clip-rule","evenodd"):r.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,n.appendChild(r),this.defs.appendChild(n),e.activeClipUrl&&(e.clipGroup=null,this.extraStack.forEach(function(e){e.clipGroup=null}),n.setAttributeNS(null,"clip-path",e.activeClipUrl)),e.activeClipUrl="url(#".concat(t,")"),this.tgrp=null}else this.pendingClip=null}},{key:"clip",value:function(e){this.pendingClip=e}},{key:"closePath",value:function(){var e=this.current;if(e.path){var t="".concat(e.path.getAttributeNS(null,"d"),"Z");e.path.setAttributeNS(null,"d",t)}}},{key:"setLeading",value:function(e){this.current.leading=-e}},{key:"setTextRise",value:function(e){this.current.textRise=e}},{key:"setTextRenderingMode",value:function(e){this.current.textRenderingMode=e}},{key:"setHScale",value:function(e){this.current.textHScale=e/100}},{key:"setRenderingIntent",value:function(e){}},{key:"setFlatness",value:function(e){}},{key:"setGState",value:function(e){var t,n=l(e);try{for(n.s();!(t=n.n()).done;){var i=s(t.value,2),o=i[0],a=i[1];switch(o){case"LW":this.setLineWidth(a);break;case"LC":this.setLineCap(a);break;case"LJ":this.setLineJoin(a);break;case"ML":this.setMiterLimit(a);break;case"D":this.setDash(a[0],a[1]);break;case"RI":this.setRenderingIntent(a);break;case"FL":this.setFlatness(a);break;case"Font":this.setFont(a);break;case"CA":this.setStrokeAlpha(a);break;case"ca":this.setFillAlpha(a);break;default:(0,r.warn)("Unimplemented graphic state operator ".concat(o))}}}catch(e){n.e(e)}finally{n.f()}}},{key:"fill",value:function(){var e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}},{key:"stroke",value:function(){var e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}},{key:"_setStrokeAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.current,r=n.dashArray;1!==t&&r.length>0&&(r=r.map(function(e){return t*e})),e.setAttributeNS(null,"stroke",n.strokeColor),e.setAttributeNS(null,"stroke-opacity",n.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",A(n.miterLimit)),e.setAttributeNS(null,"stroke-linecap",n.lineCap),e.setAttributeNS(null,"stroke-linejoin",n.lineJoin),e.setAttributeNS(null,"stroke-width",A(t*n.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",r.map(A).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",A(t*n.dashPhase)+"px")}},{key:"eoFill",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}},{key:"fillStroke",value:function(){this.stroke(),this.fill()}},{key:"eoFillStroke",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.closePath(),this.eoFillStroke()}},{key:"paintSolidColorImageMask",value:function(){var e=this.svgFactory.createElement("svg:rect");e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","1px"),e.setAttributeNS(null,"height","1px"),e.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().appendChild(e)}},{key:"paintImageXObject",value:function(e){var t=this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)("Dependent image with object ID ".concat(e," is not ready yet"))}},{key:"paintInlineImageXObject",value:function(e,t){var n=e.width,r=e.height,i=b(e,this.forceDataSchema,!!t),o=this.svgFactory.createElement("svg:rect");o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width",A(n)),o.setAttributeNS(null,"height",A(r)),this.current.element=o,this.clip("nonzero");var a=this.svgFactory.createElement("svg:image");a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i),a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y",A(-r)),a.setAttributeNS(null,"width",A(n)+"px"),a.setAttributeNS(null,"height",A(r)+"px"),a.setAttributeNS(null,"transform","scale(".concat(A(1/n)," ").concat(A(-1/r),")")),t?t.appendChild(a):this._ensureTransformGroup().appendChild(a)}},{key:"paintImageMaskXObject",value:function(e){var t=this.current,n=e.width,r=e.height,i=t.fillColor;t.maskId="mask".concat(x++);var o=this.svgFactory.createElement("svg:mask");o.setAttributeNS(null,"id",t.maskId);var a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",A(n)),a.setAttributeNS(null,"height",A(r)),a.setAttributeNS(null,"fill",i),a.setAttributeNS(null,"mask","url(#".concat(t.maskId,")")),this.defs.appendChild(o),this._ensureTransformGroup().appendChild(a),this.paintInlineImageXObject(e,o)}},{key:"paintFormXObjectBegin",value:function(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){var n=t[2]-t[0],r=t[3]-t[1],i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x",t[0]),i.setAttributeNS(null,"y",t[1]),i.setAttributeNS(null,"width",A(n)),i.setAttributeNS(null,"height",A(r)),this.current.element=i,this.clip("nonzero"),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){}},{key:"_initialize",value:function(e){var t=this.svgFactory.create(e.width,e.height),n=this.svgFactory.createElement("svg:defs");t.appendChild(n),this.defs=n;var r=this.svgFactory.createElement("svg:g");return r.setAttributeNS(null,"transform",g(e.transform)),t.appendChild(r),this.svg=r,t}},{key:"_ensureClipGroup",value:function(){if(!this.current.clipGroup){var e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup}},{key:"_ensureTransformGroup",value:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",g(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5),a=n(213);function s(e){"@babel/helpers - typeof";return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function f(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){d(o,r,i,a,s,"next",e)}function s(e){d(o,r,i,a,s,"throw",e)}a(void 0)})}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&A(e.prototype,t),n&&A(e,n),e}var v=__webpack_require__(4),m=__webpack_require__(5),y=__webpack_require__(6),b=__webpack_require__(7),_=/^file:\/\/\/[a-zA-Z]:\//;var w=function(){function e(t){var n,r;p(this,e),this.source=t,this.url=(n=t.url,"file:"===(r=b.parse(n)).protocol||r.host?r:/^[a-z]:[/\\]/i.test(n)?b.parse("file:///".concat(n)):(r.host||(r.protocol="file:"),r)),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return g(e,[{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new T(this):new B(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=this.isFsUrl?new E(this,e,t):new k(this,e,t);return this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFNodeStream=w;var x=function(){function e(t){p(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;var n=t.source;this._contentLength=n.length,this._loaded=0,this._filename=null,this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)(),this._headersCapability=(0,o.createPromiseCapability)()}return g(e,[{key:"read",value:function(){var e=f(i.default.mark(function e(){var t,n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(null!==(t=this._readableStream.read())){e.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),n=new Uint8Array(t).buffer,e.abrupt("return",{value:n,done:!1});case 14:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",function(){t._readCapability.resolve()}),e.on("end",function(){e.destroy(),t._done=!0,t._readCapability.resolve()}),e.on("error",function(e){t._error(e)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new o.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),C=function(){function e(t){p(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)();var n=t.source;this._isStreamingSupported=!n.disableStream}return g(e,[{key:"read",value:function(){var e=f(i.default.mark(function e(){var t,n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(null!==(t=this._readableStream.read())){e.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded}),n=new Uint8Array(t).buffer,e.abrupt("return",{value:n,done:!1});case 14:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",function(){t._readCapability.resolve()}),e.on("end",function(){e.destroy(),t._done=!0,t._readCapability.resolve()}),e.on("error",function(e){t._error(e)}),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}();function S(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}var B=function(e){l(n,x);var t=u(n);function n(e){var r;p(this,n);var i=function(t){if(404===t.statusCode){var n=new o.MissingPDFException('Missing PDF "'.concat(r._url,'".'));return r._storedError=n,void r._headersCapability.reject(n)}r._headersCapability.resolve(),r._setReadableStream(t);var i=function(e){return r._readableStream.headers[e.toLowerCase()]},s=(0,a.validateRangeRequestCapabilities)({getResponseHeader:i,isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),l=s.allowRangeRequests,c=s.suggestedLength;r._isRangeSupported=l,r._contentLength=c||r._contentLength,r._filename=(0,a.extractFilenameFromHeader)(i)};return(r=t.call(this,e))._request=null,"http:"===r._url.protocol?r._request=m.request(S(r._url,e.httpHeaders),i):r._request=y.request(S(r._url,e.httpHeaders),i),r._request.on("error",function(e){r._storedError=e,r._headersCapability.reject(e)}),r._request.end(),r}return n}(),k=function(e){l(n,C);var t=u(n);function n(e,r,i){var a;for(var s in p(this,n),(a=t.call(this,e))._httpHeaders={},e.httpHeaders){var l=e.httpHeaders[s];void 0!==l&&(a._httpHeaders[s]=l)}a._httpHeaders.Range="bytes=".concat(r,"-").concat(i-1);var c=function(e){if(404!==e.statusCode)a._setReadableStream(e);else{var t=new o.MissingPDFException('Missing PDF "'.concat(a._url,'".'));a._storedError=t}};return a._request=null,"http:"===a._url.protocol?a._request=m.request(S(a._url,a._httpHeaders),c):a._request=y.request(S(a._url,a._httpHeaders),c),a._request.on("error",function(e){a._storedError=e}),a._request.end(),a}return n}(),T=function(e){l(n,x);var t=u(n);function n(e){var r;p(this,n),r=t.call(this,e);var i=decodeURIComponent(r._url.path);return _.test(r._url.href)&&(i=i.replace(/^\//,"")),v.lstat(i,function(e,t){if(e)return"ENOENT"===e.code&&(e=new o.MissingPDFException('Missing PDF "'.concat(i,'".'))),r._storedError=e,void r._headersCapability.reject(e);r._contentLength=t.size,r._setReadableStream(v.createReadStream(i)),r._headersCapability.resolve()}),r}return n}(),E=function(e){l(n,C);var t=u(n);function n(e,r,i){var o;p(this,n),o=t.call(this,e);var a=decodeURIComponent(o._url.path);return _.test(o._url.href)&&(a=a.replace(/^\//,"")),o._setReadableStream(v.createReadStream(a,{start:r,end:i-1})),o}return n}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=function(e,t){if(404===e||0===e&&t.startsWith("file:"))return new r.MissingPDFException('Missing PDF "'+t+'".');return new r.UnexpectedResponseException("Unexpected server response ("+e+') while retrieving PDF "'+t+'".',e)},t.extractFilenameFromHeader=function(e){var t=e("Content-Disposition");if(t){var n=(0,i.getFilenameFromContentDispositionHeader)(t);if(n.includes("%"))try{n=decodeURIComponent(n)}catch(e){}if(/\.pdf$/i.test(n))return n}return null},t.validateRangeRequestCapabilities=function(e){var t=e.getResponseHeader,n=e.isHttp,i=e.rangeChunkSize,o=e.disableRange;(0,r.assert)(i>0,"Range chunk size must be larger than zero");var a={allowRangeRequests:!1,suggestedLength:void 0},s=parseInt(t("Content-Length"),10);if(!Number.isInteger(s))return a;if(a.suggestedLength=s,s<=2*i)return a;if(o||!n)return a;if("bytes"!==t("Accept-Ranges"))return a;if("identity"!==(t("Content-Encoding")||"identity"))return a;return a.allowRangeRequests=!0,a},t.validateResponseStatus=function(e){return 200===e||206===e};var r=n(5),i=n(214)},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=function(e){var t=!0,n=s("filename\\*","i").exec(e);if(n){var i=u(n=n[1]);return c(i=d(i=h(i=unescape(i))))}if(n=function(e){for(var t,n=[],i=s("filename\\*((?!0\\d)\\d+)(\\*?)","ig");null!==(t=i.exec(e));){var o=t,a=r(o,4),l=a[1],c=a[2],d=a[3];if((l=parseInt(l,10))in n){if(0===l)break}else n[l]=[c,d]}for(var f=[],p=0;p<n.length&&p in n;++p){var A=r(n[p],2),g=A[0],v=A[1];v=u(v),g&&(v=unescape(v),0===p&&(v=h(v))),f.push(v)}return f.join("")}(e)){var o=d(n);return c(o)}if(n=s("filename","i").exec(e)){var a=u(n=n[1]);return c(a=d(a))}function s(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function l(e,n){if(e){if(!/^[\x00-\xFF]+$/.test(n))return n;try{var r=new TextDecoder(e,{fatal:!0}),i=Array.from(n,function(e){return 255&e.charCodeAt(0)});n=r.decode(new Uint8Array(i)),t=!1}catch(r){if(/^utf-?8$/i.test(e))try{n=decodeURIComponent(escape(n)),t=!1}catch(e){}}}return n}function c(e){return t&&/[\x80-\xff]/.test(e)&&(e=l("utf-8",e),t&&(e=l("iso-8859-1",e))),e}function u(e){if(e.startsWith('"')){for(var t=e.slice(1).split('\\"'),n=0;n<t.length;++n){var r=t[n].indexOf('"');-1!==r&&(t[n]=t[n].slice(0,r),t.length=n+1),t[n]=t[n].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function h(e){var t=e.indexOf("'");if(-1===t)return e;var n=e.slice(0,t),r=e.slice(t+1),i=r.replace(/^[^']*'/,"");return l(n,i)}function d(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(e,t,n,r){if("q"===n||"Q"===n)return r=(r=r.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,function(e,t){return String.fromCharCode(parseInt(t,16))}),l(t,r);try{r=atob(r)}catch(e){}return l(t,r)})}return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5),a=n(213);function s(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function l(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,l,"next",e)}function l(e){s(o,r,i,a,l,"throw",e)}a(void 0)})}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}var d=function(){function e(t,n){c(this,e),this.url=t,n=n||{},this.isHttp=/^https?:/i.test(t),this.httpHeaders=this.isHttp&&n.httpHeaders||{},this.withCredentials=n.withCredentials||!1,this.getXhr=n.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}return h(e,[{key:"requestRange",value:function(e,t,n){var r={begin:e,end:t};for(var i in n)r[i]=n[i];return this.request(r)}},{key:"requestFull",value:function(e){return this.request(e)}},{key:"request",value:function(e){var t=this.getXhr(),n=this.currXhrId++,r=this.pendingRequests[n]={xhr:t};for(var i in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var o=this.httpHeaders[i];void 0!==o&&t.setRequestHeader(i,o)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range","bytes=".concat(e.begin,"-").concat(e.end-1)),r.expectedStatus=206):r.expectedStatus=200,t.responseType="arraybuffer",e.onError&&(t.onerror=function(n){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,n),t.onprogress=this.onProgress.bind(this,n),r.onHeadersReceived=e.onHeadersReceived,r.onDone=e.onDone,r.onError=e.onError,r.onProgress=e.onProgress,t.send(null),n}},{key:"onProgress",value:function(e,t){var n=this.pendingRequests[e];n&&n.onProgress&&n.onProgress(t)}},{key:"onStateChange",value:function(e,t){var n=this.pendingRequests[e];if(n){var r=n.xhr;if(r.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),4===r.readyState&&e in this.pendingRequests)if(delete this.pendingRequests[e],0===r.status&&this.isHttp)n.onError&&n.onError(r.status);else{var i=r.status||200;if(200===i&&206===n.expectedStatus||i===n.expectedStatus){var a=function(e){var t=e.response;return"string"!=typeof t?t:(0,o.stringToBytes)(t).buffer}(r);if(206===i){var s=r.getResponseHeader("Content-Range"),l=/bytes (\d+)-(\d+)\/(\d+)/.exec(s);n.onDone({begin:parseInt(l[1],10),chunk:a})}else a?n.onDone({begin:0,chunk:a}):n.onError&&n.onError(r.status)}else n.onError&&n.onError(r.status)}}}},{key:"hasPendingRequests",value:function(){for(var e in this.pendingRequests)return!0;return!1}},{key:"getRequestXhr",value:function(e){return this.pendingRequests[e].xhr}},{key:"isPendingRequest",value:function(e){return e in this.pendingRequests}},{key:"abortAllRequests",value:function(){for(var e in this.pendingRequests)this.abortRequest(0|e)}},{key:"abortRequest",value:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}]),e}(),f=function(){function e(t){c(this,e),this._source=t,this._manager=new d(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}return h(e,[{key:"_onRangeRequestReaderClosed",value:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}},{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new p(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var n=new A(this._manager,e,t);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}}]),e}();t.PDFNetworkStream=f;var p=function(){function e(t,n){c(this,e),this._manager=t;var r={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=n.url,this._fullRequestId=t.requestFull(r),this._headersReceivedCapability=(0,o.createPromiseCapability)(),this._disableRange=n.disableRange||!1,this._contentLength=n.length,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}return h(e,[{key:"_onHeadersReceived",value:function(){var e=this._fullRequestId,t=this._manager.getRequestXhr(e),n=function(e){return t.getResponseHeader(e)},r=(0,a.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),i=r.allowRangeRequests,o=r.suggestedLength;i&&(this._isRangeSupported=!0),this._contentLength=o||this._contentLength,this._filename=(0,a.extractFilenameFromHeader)(n),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}},{key:"_onDone",value:function(e){e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk));this._done=!0,this._cachedChunks.length>0||(this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[])}},{key:"_onError",value:function(e){var t=this._url,n=(0,a.createResponseStatusError)(e,t);this._storedError=n,this._headersReceivedCapability.reject(n),this._requests.forEach(function(e){e.reject(n)}),this._requests=[],this._cachedChunks=[]}},{key:"_onProgress",value:function(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}},{key:"read",value:function(){var e=l(i.default.mark(function e(){var t,n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._storedError){e.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){e.next=5;break}return t=this._cachedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 5:if(!this._done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 10:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"cancel",value:function(e){this._done=!0,this._headersReceivedCapability.reject(e),this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersReceivedCapability.promise}}]),e}(),A=function(){function e(t,n,r){c(this,e),this._manager=t;var i={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=t.requestRange(n,r,i),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}return h(e,[{key:"_close",value:function(){this.onClosed&&this.onClosed(this)}},{key:"_onDone",value:function(e){var t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t;this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._close()}},{key:"_onProgress",value:function(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})}},{key:"read",value:function(){var e=l(i.default.mark(function e(){var t,n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(null===this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 9:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"cancel",value:function(e){this._done=!0,this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})}),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},{key:"isStreamingSupported",get:function(){return!1}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var r,i=(r=n(2))&&r.__esModule?r:{default:r},o=n(5),a=n(213);function s(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function l(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,l,"next",e)}function l(e){s(o,r,i,a,l,"throw",e)}a(void 0)})}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function d(e,t,n){return{method:"GET",headers:e,signal:n&&n.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function f(e){var t=new Headers;for(var n in e){var r=e[n];void 0!==r&&t.append(n,r)}return t}var p=function(){function e(t){c(this,e),this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return h(e,[{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new A(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=new g(this,e,t);return this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e),this._rangeRequestReaders.slice(0).forEach(function(t){t.cancel(e)})}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),e}();t.PDFFetchStream=p;var A=function(){function e(t){var n=this;c(this,e),this._stream=t,this._reader=null,this._loaded=0,this._filename=null;var r=t.source;this._withCredentials=r.withCredentials||!1,this._contentLength=r.length,this._headersCapability=(0,o.createPromiseCapability)(),this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._headers=f(this._stream.httpHeaders);var i=r.url;fetch(i,d(this._headers,this._withCredentials,this._abortController)).then(function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,i);n._reader=e.body.getReader(),n._headersCapability.resolve();var t=function(t){return e.headers.get(t)},r=(0,a.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:n._stream.isHttp,rangeChunkSize:n._rangeChunkSize,disableRange:n._disableRange}),s=r.allowRangeRequests,l=r.suggestedLength;n._isRangeSupported=s,n._contentLength=l||n._contentLength,n._filename=(0,a.extractFilenameFromHeader)(t),!n._isStreamingSupported&&n._isRangeSupported&&n.cancel(new o.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}return h(e,[{key:"read",value:function(){var e=l(i.default.mark(function e(){var t,n,r,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._headersCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,n=t.value,!(r=t.done)){e.next=9;break}return e.abrupt("return",{value:n,done:r});case 9:return this._loaded+=n.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),o=new Uint8Array(n).buffer,e.abrupt("return",{value:o,done:!1});case 13:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}(),g=function(){function e(t,n,r){var i=this;c(this,e),this._stream=t,this._reader=null,this._loaded=0;var s=t.source;this._withCredentials=s.withCredentials||!1,this._readCapability=(0,o.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._headers=f(this._stream.httpHeaders),this._headers.append("Range","bytes=".concat(n,"-").concat(r-1));var l=s.url;fetch(l,d(this._headers,this._withCredentials,this._abortController)).then(function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,l);i._readCapability.resolve(),i._reader=e.body.getReader()}),this.onProgress=null}return h(e,[{key:"read",value:function(){var e=l(i.default.mark(function e(){var t,n,r,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,n=t.value,!(r=t.done)){e.next=9;break}return e.abrupt("return",{value:n,done:r});case 9:return this._loaded+=n.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),o=new Uint8Array(n).buffer,e.abrupt("return",{value:o,done:!1});case 13:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),e}()}])},module.exports=factory()}).call(exports,__webpack_require__("EuP9").Buffer,__webpack_require__("W2nU"),__webpack_require__("DuR2"))},R4wc:function(e,t,n){var r=n("kM2E");r(r.S+r.F,"Object",{assign:n("To3L")})},R9M2:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},RDoK:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=116)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},116:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-radio",class:[e.border&&e.radioSize?"el-radio--"+e.radioSize:"",{"is-disabled":e.isDisabled},{"is-focus":e.focus},{"is-bordered":e.border},{"is-checked":e.model===e.label}],attrs:{role:"radio","aria-checked":e.model===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.model=e.isDisabled?e.model:e.label}}},[n("span",{staticClass:"el-radio__input",class:{"is-disabled":e.isDisabled,"is-checked":e.model===e.label}},[n("span",{staticClass:"el-radio__inner"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:e.name,disabled:e.isDisabled,tabindex:"-1"},domProps:{value:e.label,checked:e._q(e.model,e.label)},on:{focus:function(t){e.focus=!0},blur:function(t){e.focus=!1},change:[function(t){e.model=e.label},e.handleChange]}})]),n("span",{staticClass:"el-radio__label",on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])};r._withStripped=!0;var i=n(4),o={name:"ElRadio",mixins:[n.n(i).a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){for(var e=this.$parent;e;){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick(function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)})}}},a=n(0),s=Object(a.a)(o,r,[],!1,null,null,null);s.options.__file="packages/radio/src/radio.vue";var l=s.exports;l.install=function(e){e.component(l.name,l)};t.default=l},4:function(e,t){e.exports=n("fPll")}})},RPLV:function(e,t,n){var r=n("7KvD").document;e.exports=r&&r.documentElement},"RY/4":function(e,t,n){var r=n("R9M2"),i=n("dSzd")("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},Rl2i:function(e,t){e.exports=function(e){if(!e)return!1;var t=n.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var n=Object.prototype.toString},Rrel:function(e,t,n){var r=n("TcQ7"),i=n("n0T6").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},S82l:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},SLDG:function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},STLj:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=53)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},3:function(e,t){e.exports=n("ylDJ")},33:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){return t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[n("span",[e._v(e._s(e.currentLabel))])])],2)};r._withStripped=!0;var i=n(4),o=n.n(i),a=n(3),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l={mixins:[o.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,r=n.remote,i=n.valueKey;if(!this.created&&!r){if(i&&"object"===(void 0===e?"undefined":s(e))&&"object"===(void 0===t?"undefined":s(t))&&e[i]===t[i])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(a.getValueByPath)(e,n)===Object(a.getValueByPath)(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some(function(e){return Object(a.getValueByPath)(e,n)===Object(a.getValueByPath)(t,n)})}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(a.escapeRegexpString)(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple?t:[t],r=this.select.cachedOptions.indexOf(this),i=n.indexOf(this);r>-1&&i<0&&this.select.cachedOptions.splice(r,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=n(0),u=Object(c.a)(l,r,[],!1,null,null,null);u.options.__file="packages/select/src/option.vue";t.a=u.exports},4:function(e,t){e.exports=n("fPll")},53:function(e,t,n){"use strict";n.r(t);var r=n(33);r.a.install=function(e){e.component(r.a.name,r.a)},t.default=r.a}})},SXzR:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=74)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},2:function(e,t){e.exports=n("2kvA")},3:function(e,t){e.exports=n("ylDJ")},5:function(e,t){e.exports=n("fKx3")},7:function(e,t){e.exports=n("7+uW")},74:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[e.popperClass,e.content&&"el-popover--plain"],style:{width:e.width+"px"},attrs:{role:"tooltip",id:e.tooltipId,"aria-hidden":e.disabled||!e.showPopper?"true":"false"}},[e.title?n("div",{staticClass:"el-popover__title",domProps:{textContent:e._s(e.title)}}):e._e(),e._t("default",[e._v(e._s(e.content))])],2)]),n("span",{ref:"wrapper",staticClass:"el-popover__reference-wrapper"},[e._t("reference")],2)],1)};r._withStripped=!0;var i=n(5),o=n.n(i),a=n(2),s=n(3),l={name:"ElPopover",mixins:[o.a],props:{trigger:{type:String,default:"click",validator:function(e){return["click","focus","hover","manual"].indexOf(e)>-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(s.generateId)()}},watch:{showPopper:function(e){this.disabled||(e?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var e=this,t=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),t&&(Object(a.addClass)(t,"el-popover__reference"),t.setAttribute("aria-describedby",this.tooltipId),t.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(a.on)(t,"focusin",function(){e.handleFocus();var n=t.__vue__;n&&"function"==typeof n.focus&&n.focus()}),Object(a.on)(n,"focusin",this.handleFocus),Object(a.on)(t,"focusout",this.handleBlur),Object(a.on)(n,"focusout",this.handleBlur)),Object(a.on)(t,"keydown",this.handleKeydown),Object(a.on)(t,"click",this.handleClick)),"click"===this.trigger?(Object(a.on)(t,"click",this.doToggle),Object(a.on)(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(a.on)(t,"mouseenter",this.handleMouseEnter),Object(a.on)(n,"mouseenter",this.handleMouseEnter),Object(a.on)(t,"mouseleave",this.handleMouseLeave),Object(a.on)(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex<0&&console.warn("[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key"),t.querySelector("input, textarea")?(Object(a.on)(t,"focusin",this.doShow),Object(a.on)(t,"focusout",this.doClose)):(Object(a.on)(t,"mousedown",this.doShow),Object(a.on)(t,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object(a.addClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(a.removeClass)(this.referenceElm,"focusing")},handleBlur:function(){Object(a.removeClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var e=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout(function(){e.showPopper=!0},this.openDelay):this.showPopper=!0},handleKeydown:function(e){27===e.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var e=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout(function(){e.showPopper=!1},this.closeDelay):this.showPopper=!1},handleDocumentClick:function(e){var t=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&t&&!this.$el.contains(e.target)&&!t.contains(e.target)&&n&&!n.contains(e.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var e=this.reference;Object(a.off)(e,"click",this.doToggle),Object(a.off)(e,"mouseup",this.doClose),Object(a.off)(e,"mousedown",this.doShow),Object(a.off)(e,"focusin",this.doShow),Object(a.off)(e,"focusout",this.doClose),Object(a.off)(e,"mousedown",this.doShow),Object(a.off)(e,"mouseup",this.doClose),Object(a.off)(e,"mouseleave",this.handleMouseLeave),Object(a.off)(e,"mouseenter",this.handleMouseEnter),Object(a.off)(document,"click",this.handleDocumentClick)}},c=n(0),u=Object(c.a)(l,r,[],!1,null,null,null);u.options.__file="packages/popover/src/main.vue";var h=u.exports,d=function(e,t,n){var r=t.expression?t.value:t.arg,i=n.context.$refs[r];i&&(Array.isArray(i)?i[0].$refs.reference=e:i.$refs.reference=e)},f={bind:function(e,t,n){d(e,t,n)},inserted:function(e,t,n){d(e,t,n)}},p=n(7);n.n(p).a.directive("popover",f),h.install=function(e){e.directive("popover",f),e.component(h.name,h)},h.directive=f;t.default=h}})},SfB7:function(e,t,n){e.exports=!n("+E39")&&!n("S82l")(function(){return 7!=Object.defineProperty(n("ON07")("div"),"a",{get:function(){return 7}}).a})},SldL:function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag",c="object"==typeof e,u=t.regeneratorRuntime;if(u)c&&(e.exports=u);else{(u=t.regeneratorRuntime=c?e.exports:{}).wrap=b;var h="suspendedStart",d="suspendedYield",f="executing",p="completed",A={},g={};g[a]=function(){return this};var v=Object.getPrototypeOf,m=v&&v(v(D([])));m&&m!==r&&i.call(m,a)&&(g=m);var y=C.prototype=w.prototype=Object.create(g);x.prototype=y.constructor=C,C.constructor=x,C[l]=x.displayName="GeneratorFunction",u.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},u.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,C):(e.__proto__=C,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(y),e},u.awrap=function(e){return{__await:e}},S(B.prototype),B.prototype[s]=function(){return this},u.AsyncIterator=B,u.async=function(e,t,n,r){var i=new B(b(e,t,n,r));return u.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},S(y),y[l]="Generator",y[a]=function(){return this},y.toString=function(){return"[object Generator]"},u.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},u.values=D,M.prototype={constructor:M,reset:function(e){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(E),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,A):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),A},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:D(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),A}}}function b(e,t,n,r){var i=t&&t.prototype instanceof w?t:w,o=Object.create(i.prototype),a=new M(r||[]);return o._invoke=function(e,t,n){var r=h;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===A)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=_(e,t,n);if("normal"===l.type){if(r=n.done?p:d,l.arg===A)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function _(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function w(){}function x(){}function C(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function B(e){var t;this._invoke=function(n,r){function o(){return new Promise(function(t,o){!function t(n,r,o,a){var s=_(e[n],e,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}(n,r,t,o)})}return t=t?t.then(o,o):o()}}function k(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,k(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var i=_(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,A;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,A):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function D(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:O}}function O(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},SvnF:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){return function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return 1===n.length&&"object"===r(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(o,function(t,r,o,a){var s=void 0;return"{"===e[a-1]&&"}"===e[a+t.length]?o:null===(s=(0,i.hasOwn)(n,o)?n[o]:null)||void 0===s?"":s})}};var i=n("ylDJ"),o=/(%|)\{([0-9a-zA-Z_]+)\}/g},TNV1:function(e,t,n){"use strict";var r=n("cGG2");e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},TQvf:function(e,t,n){
- /*!
- * clipboard.js v2.0.10
- * https://clipboardjs.com/
- *
- * Licensed MIT © Zeno Rocha
- */
- var r;r=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return b}});var r=n(279),i=n.n(r),o=n(370),a=n.n(o),s=n(817),l=n.n(s);function c(e){try{return document.execCommand(e)}catch(e){return!1}}var u=function(e){var t=l()(e);return c("cut"),t};var h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";if("string"==typeof e){var r=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(r),n=l()(r),c("copy"),r.remove()}else n=l()(e),c("copy");return n};function d(e){"@babel/helpers - typeof";return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,i=e.target,o=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==i){if(!i||"object"!==d(i)||1!==i.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(i.hasAttribute("readonly")||i.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return o?h(o,{container:r}):i?"cut"===n?u(i):h(i,{container:r}):void 0};function p(e){"@babel/helpers - typeof";return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(s,i());var t,n,r,o=v(s);function s(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(n=o.call(this)).resolveOptions(t),n.listenClick(e),n}return t=s,r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return h(e,t)}},{key:"cut",value:function(e){return u(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}],(n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===p(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=f({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return y("action",e)}},{key:"defaultTarget",value:function(e){var t=y("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return y("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&A(t.prototype,n),r&&A(t,r),s}()},828:function(e){var t=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,n){for(;e&&e.nodeType!==t;){if("function"==typeof e.matches&&e.matches(n))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function i(e,t,n,i,o){var a=function(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}e.exports=function(e,t,n,r,o){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return i(e,t,n,r,o)}))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),i=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}(e,t,n);if(r.string(e))return function(e,t,n){return i(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},e.exports=r()},TcQ7:function(e,t,n){var r=n("MU5D"),i=n("52gC");e.exports=function(e){return r(i(e))}},TmV0:function(e,t,n){n("fZOM"),e.exports=n("FeBl").Object.values},To3L:function(e,t,n){"use strict";var r=n("+E39"),i=n("lktj"),o=n("1kS7"),a=n("NpIQ"),s=n("sB3e"),l=n("MU5D"),c=Object.assign;e.exports=!c||n("S82l")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=s(e),c=arguments.length,u=1,h=o.f,d=a.f;c>u;)for(var f,p=l(arguments[u++]),A=h?i(p).concat(h(p)):i(p),g=A.length,v=0;g>v;)f=A[v++],r&&!d.call(p,f)||(n[f]=p[f]);return n}:c},To6e:function(e,t){function n(e){return new Int16Array(e)}function r(e){return new Int32Array(e)}function i(e){return new Float32Array(e)}var o={fill:function(e,t,n,r){if(2==arguments.length)for(var i=0;i<e.length;i++)e[i]=arguments[1];else for(i=t;i<n;i++)e[i]=r}},a={arraycopy:function(e,t,n,r,i){for(var o=t+i;t<o;)n[r++]=e[t++]},out:{}};a.out.println=function(e){console.log(e)},a.out.printf=function(){console.log.apply(console,arguments)};var s={};function l(e){this.ordinal=e}s.SQRT2=1.4142135623730951,s.FAST_LOG10=function(e){return Math.log10(e)},s.FAST_LOG10_X=function(e,t){return Math.log10(e)*t},l.short_block_allowed=new l(0),l.short_block_coupled=new l(1),l.short_block_dispensed=new l(2),l.short_block_forced=new l(3);var c={};function u(e){this.ordinal=e}c.MAX_VALUE=3.4028235e38,u.vbr_off=new u(0),u.vbr_mt=new u(1),u.vbr_rh=new u(2),u.vbr_abr=new u(3),u.vbr_mtrh=new u(4),u.vbr_default=u.vbr_mtrh;e.exports={System:a,VbrMode:u,Float:c,ShortBlock:l,Util:s,Arrays:o,new_array_n:function e(t){if(1==t.length)return new Array(t[0]);var n=t[0];t=t.slice(1);for(var r=[],i=0;i<n;i++)r.push(e(t));return r},new_byte:function(e){return new Int8Array(e)},new_double:function(e){return new Float64Array(e)},new_float:i,new_float_n:function e(t){if(1==t.length)return i(t[0]);var n=t[0];t=t.slice(1);for(var r=[],o=0;o<n;o++)r.push(e(t));return r},new_int:r,new_int_n:function e(t){if(1==t.length)return r(t[0]);var n=t[0];t=t.slice(1);for(var i=[],o=0;o<n;o++)i.push(e(t));return i},new_short:n,new_short_n:function e(t){if(1==t.length)return n(t[0]);var r=t[0];t=t.slice(1);for(var i=[],o=0;o<r;o++)i.push(e(t));return i},assert:function(e){}}},U3YJ:function(module,exports,__webpack_require__){var require,require,e;e=function(){var define,module,exports;return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(!s&&("function"==typeof require&&require))return require(a,!0);if(o)return o(a,!0);throw new Error("Cannot find module '"+a+"'")}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return i(n||e)},l,l.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
- * @license MIT
- */
- var r=e("base64-js"),i=e("ieee754"),o=e("is-array");n.Buffer=s,n.SlowBuffer=s,n.INSPECT_MAX_BYTES=50,s.poolSize=8192;var a=1073741823;function s(e,t,n){if(!(this instanceof s))return new s(e,t,n);var r,i,l,c=typeof e;if("number"===c)r=e>0?e>>>0:0;else if("string"===c)"base64"===t&&(e=function(e){e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(x,"");for(;e.length%4!=0;)e+="=";return e}(e)),r=s.byteLength(e,t);else{if("object"!==c||null===e)throw new TypeError("must start with number, buffer, array or string");"Buffer"===e.type&&o(e.data)&&(e=e.data),r=+e.length>0?Math.floor(+e.length):0}if(this.length>a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");if(s.TYPED_ARRAY_SUPPORT?i=s._augment(new Uint8Array(r)):((i=this).length=r,i._isBuffer=!0),s.TYPED_ARRAY_SUPPORT&&"number"==typeof e.byteLength)i._set(e);else if(function(e){return o(e)||s.isBuffer(e)||e&&"object"==typeof e&&"number"==typeof e.length}(e))if(s.isBuffer(e))for(l=0;l<r;l++)i[l]=e.readUInt8(l);else for(l=0;l<r;l++)i[l]=(e[l]%256+256)%256;else if("string"===c)i.write(e,0,t);else if("number"===c&&!s.TYPED_ARRAY_SUPPORT&&!n)for(l=0;l<r;l++)i[l]=0;return i}function l(e,t,n,r){return k(function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function c(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function u(e,t,n){var r="",i="";n=Math.min(e.length,n);for(var o=t;o<n;o++)e[o]<=127?(r+=T(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return r+T(i)}function h(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;i++)r+=String.fromCharCode(e[i]);return r}function d(e,t,n){return h(e,t,n)}function f(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;o++)i+=C(e[o]);return i}function p(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function A(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function g(e,t,n,r,i,o){if(!s.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(t>i||t<o)throw new TypeError("value is out of bounds");if(n+r>e.length)throw new TypeError("index out of range")}function v(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;i++)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function m(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;i++)e[n+i]=t>>>8*(r?i:3-i)&255}function y(e,t,n,r,i,o){if(t>i||t<o)throw new TypeError("value is out of bounds");if(n+r>e.length)throw new TypeError("index out of range")}function b(e,t,n,r,o){return o||y(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),i.write(e,t,n,r,23,4),n+4}function _(e,t,n,r,o){return o||y(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),i.write(e,t,n,r,52,8),n+8}s.TYPED_ARRAY_SUPPORT=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray&&0===new Uint8Array(1).subarray(1,1).byteLength}catch(e){return!1}}(),s.isBuffer=function(e){return!(null==e||!e._isBuffer)},s.compare=function(e,t){if(!s.isBuffer(e)||!s.isBuffer(t))throw new TypeError("Arguments must be Buffers");for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o&&e[i]===t[i];i++);return i!==o&&(n=e[i],r=t[i]),n<r?-1:r<n?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!o(e))throw new TypeError("Usage: Buffer.concat(list[, length])");if(0===e.length)return new s(0);if(1===e.length)return e[0];var n;if(void 0===t)for(t=0,n=0;n<e.length;n++)t+=e[n].length;var r=new s(t),i=0;for(n=0;n<e.length;n++){var a=e[n];a.copy(r,i),i+=a.length}return r},s.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"ascii":case"binary":case"raw":n=e.length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;case"hex":n=e.length>>>1;break;case"utf8":case"utf-8":n=S(e).length;break;case"base64":n=B(e).length;break;default:n=e.length}return n},s.prototype.length=void 0,s.prototype.parent=void 0,s.prototype.toString=function(e,t,n){var r=!1;if(t>>>=0,n=void 0===n||n===1/0?this.length:n>>>0,e||(e="utf8"),t<0&&(t=0),n>this.length&&(n=this.length),n<=t)return"";for(;;)switch(e){case"hex":return f(this,t,n);case"utf8":case"utf-8":return u(this,t,n);case"ascii":return h(this,t,n);case"binary":return d(this,t,n);case"base64":return c(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}},s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return 0===s.compare(this,e)},s.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},s.prototype.compare=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return s.compare(this,e)},s.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},s.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},s.prototype.write=function(e,t,n,r){if(isFinite(t))isFinite(n)||(r=n,n=void 0);else{var i=r;r=t,t=n,n=i}t=Number(t)||0;var o,a=this.length-t;switch(n?(n=Number(n))>a&&(n=a):n=a,r=String(r||"utf8").toLowerCase()){case"hex":o=function(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new Error("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;a++){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))throw new Error("Invalid hex string");e[n+a]=s}return a}(this,e,t,n);break;case"utf8":case"utf-8":o=function(e,t,n,r){return k(S(t),e,n,r)}(this,e,t,n);break;case"ascii":o=l(this,e,t,n);break;case"binary":o=function(e,t,n,r){return l(e,t,n,r)}(this,e,t,n);break;case"base64":o=function(e,t,n,r){return k(B(t),e,n,r)}(this,e,t,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":o=function(e,t,n,r){return k(function(e){for(var t,n,r,i=[],o=0;o<e.length;o++)t=e.charCodeAt(o),n=t>>8,r=t%256,i.push(r),i.push(n);return i}(t),e,n,r,2)}(this,e,t,n);break;default:throw new TypeError("Unknown encoding: "+r)}return o},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),s.TYPED_ARRAY_SUPPORT)return s._augment(this.subarray(e,t));for(var r=t-e,i=new s(r,void 0,!0),o=0;o<r;o++)i[o]=this[o+e];return i},s.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||A(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||A(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){t||A(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||A(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||g(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e,t+1},s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||g(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e,this[t+1]=e>>>8):v(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||g(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e):v(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||g(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e):m(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||g(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e):m(this,e,t,!1),t+4},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||g(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||g(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e,this[t+1]=e>>>8):v(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||g(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e):v(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||g(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):m(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||g(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e):m(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,n){return b(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return b(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return _(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return _(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t||(t=0),r!==n&&0!==e.length&&0!==this.length){if(r<n)throw new TypeError("sourceEnd < sourceStart");if(t<0||t>=e.length)throw new TypeError("targetStart out of bounds");if(n<0||n>=this.length)throw new TypeError("sourceStart out of bounds");if(r<0||r>this.length)throw new TypeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(var o=0;o<i;o++)e[o+t]=this[o+n];else e._set(this.subarray(n,n+i),t)}},s.prototype.fill=function(e,t,n){if(e||(e=0),t||(t=0),n||(n=this.length),n<t)throw new TypeError("end < start");if(n!==t&&0!==this.length){if(t<0||t>=this.length)throw new TypeError("start out of bounds");if(n<0||n>this.length)throw new TypeError("end out of bounds");var r;if("number"==typeof e)for(r=t;r<n;r++)this[r]=e;else{var i=S(e.toString()),o=i.length;for(r=t;r<n;r++)this[r]=i[r%o]}return this}},s.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(s.TYPED_ARRAY_SUPPORT)return new s(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t<n;t+=1)e[t]=this[t];return e.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var w=s.prototype;s._augment=function(e){return e.constructor=s,e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=w.get,e.set=w.set,e.write=w.write,e.toString=w.toString,e.toLocaleString=w.toString,e.toJSON=w.toJSON,e.equals=w.equals,e.compare=w.compare,e.copy=w.copy,e.slice=w.slice,e.readUInt8=w.readUInt8,e.readUInt16LE=w.readUInt16LE,e.readUInt16BE=w.readUInt16BE,e.readUInt32LE=w.readUInt32LE,e.readUInt32BE=w.readUInt32BE,e.readInt8=w.readInt8,e.readInt16LE=w.readInt16LE,e.readInt16BE=w.readInt16BE,e.readInt32LE=w.readInt32LE,e.readInt32BE=w.readInt32BE,e.readFloatLE=w.readFloatLE,e.readFloatBE=w.readFloatBE,e.readDoubleLE=w.readDoubleLE,e.readDoubleBE=w.readDoubleBE,e.writeUInt8=w.writeUInt8,e.writeUInt16LE=w.writeUInt16LE,e.writeUInt16BE=w.writeUInt16BE,e.writeUInt32LE=w.writeUInt32LE,e.writeUInt32BE=w.writeUInt32BE,e.writeInt8=w.writeInt8,e.writeInt16LE=w.writeInt16LE,e.writeInt16BE=w.writeInt16BE,e.writeInt32LE=w.writeInt32LE,e.writeInt32BE=w.writeInt32BE,e.writeFloatLE=w.writeFloatLE,e.writeFloatBE=w.writeFloatBE,e.writeDoubleLE=w.writeDoubleLE,e.writeDoubleBE=w.writeDoubleBE,e.fill=w.fill,e.inspect=w.inspect,e.toArrayBuffer=w.toArrayBuffer,e};var x=/[^+\/0-9A-z]/g;function C(e){return e<16?"0"+e.toString(16):e.toString(16)}function S(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<=127)t.push(r);else{var i=n;r>=55296&&r<=57343&&n++;for(var o=encodeURIComponent(e.slice(i,n+1)).substr(1).split("%"),a=0;a<o.length;a++)t.push(parseInt(o[a],16))}}return t}function B(e){return r.toByteArray(e)}function k(e,t,n,r,i){i&&(r-=r%i);for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);o++)t[o+n]=e[o];return o}function T(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}},{"base64-js":2,ieee754:3,"is-array":4}],2:[function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array,n="+".charCodeAt(0),i="/".charCodeAt(0),o="0".charCodeAt(0),a="a".charCodeAt(0),s="A".charCodeAt(0);function l(e){var t=e.charCodeAt(0);return t===n?62:t===i?63:t<o?-1:t<o+10?t-o+26+26:t<s+26?t-s:t<a+26?t-a+26:void 0}e.toByteArray=function(e){var n,r,i,o,a,s;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var c=e.length;a="="===e.charAt(c-2)?2:"="===e.charAt(c-1)?1:0,s=new t(3*e.length/4-a),i=a>0?e.length-4:e.length;var u=0;function h(e){s[u++]=e}for(n=0,r=0;n<i;n+=4,r+=3)h((16711680&(o=l(e.charAt(n))<<18|l(e.charAt(n+1))<<12|l(e.charAt(n+2))<<6|l(e.charAt(n+3))))>>16),h((65280&o)>>8),h(255&o);return 2===a?h(255&(o=l(e.charAt(n))<<2|l(e.charAt(n+1))>>4)):1===a&&(h((o=l(e.charAt(n))<<10|l(e.charAt(n+1))<<4|l(e.charAt(n+2))>>2)>>8&255),h(255&o)),s},e.fromByteArray=function(e){var t,n,i,o,a=e.length%3,s="";function l(e){return r.charAt(e)}for(t=0,i=e.length-a;t<i;t+=3)n=(e[t]<<16)+(e[t+1]<<8)+e[t+2],s+=l((o=n)>>18&63)+l(o>>12&63)+l(o>>6&63)+l(63&o);switch(a){case 1:s+=l((n=e[e.length-1])>>2),s+=l(n<<4&63),s+="==";break;case 2:s+=l((n=(e[e.length-2]<<8)+e[e.length-1])>>10),s+=l(n>>4&63),s+=l(n<<2&63),s+="="}return s}}(void 0===n?this.base64js={}:n)},{}],3:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,h=n?i-1:0,d=n?-1:1,f=e[t+h];for(h+=d,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=256*o+e[t+h],h+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+h],h+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,h=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,A=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(t*l-1)*Math.pow(2,i),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+f]=255&a,f+=p,a/=256,c-=8);e[n+f-p]|=128*A}},{}],4:[function(e,t,n){var r=Array.isArray,i=Object.prototype.toString;t.exports=r||function(e){return!!e&&"[object Array]"==i.call(e)}},{}],5:[function(e,t,n){"use strict";var r=e("./dataReader");function i(e){if(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0;for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}}i.prototype=new r,i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"./dataReader":10}],6:[function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e,t){for(var n,i,o,a,s,l,c,u="",h=0;h<e.length;)a=(n=e.charCodeAt(h++))>>2,s=(3&n)<<4|(i=e.charCodeAt(h++))>>4,l=(15&i)<<2|(o=e.charCodeAt(h++))>>6,c=63&o,isNaN(i)?l=c=64:isNaN(o)&&(c=64),u=u+r.charAt(a)+r.charAt(s)+r.charAt(l)+r.charAt(c);return u},n.decode=function(e,t){var n,i,o,a,s,l,c="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)n=r.indexOf(e.charAt(u++))<<2|(a=r.indexOf(e.charAt(u++)))>>4,i=(15&a)<<4|(s=r.indexOf(e.charAt(u++)))>>2,o=(3&s)<<6|(l=r.indexOf(e.charAt(u++))),c+=String.fromCharCode(n),64!=s&&(c+=String.fromCharCode(i)),64!=l&&(c+=String.fromCharCode(o));return c}},{}],7:[function(e,t,n){"use strict";function r(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}r.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=r},{}],8:[function(e,t,n){"use strict";n.STORE={magic:"\0\0",compress:function(e,t){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null},n.DEFLATE=e("./flate")},{"./flate":13}],9:[function(e,t,n){"use strict";var r=e("./utils"),i=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(e,t){if(void 0===e||!e.length)return 0;var n="string"!==r.getTypeOf(e);void 0===t&&(t=0);var o=0;t^=-1;for(var a=0,s=e.length;a<s;a++)o=n?e[a]:e.charCodeAt(a),t=t>>>8^i[255&(t^o)];return-1^t}},{"./utils":26}],10:[function(e,t,n){"use strict";var r=e("./utils");function i(e){this.data=null,this.length=0,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1)}},t.exports=i},{"./utils":26}],11:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!1,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],12:[function(e,t,n){"use strict";var r=e("./utils");n.string2binary=function(e){return r.string2binary(e)},n.string2Uint8Array=function(e){return r.transformTo("uint8array",e)},n.uint8Array2String=function(e){return r.transformTo("string",e)},n.string2Blob=function(e){var t=r.transformTo("arraybuffer",e);return r.arrayBuffer2Blob(t)},n.arrayBuffer2Blob=function(e){return r.arrayBuffer2Blob(e)},n.transformTo=function(e,t){return r.transformTo(e,t)},n.getTypeOf=function(e){return r.getTypeOf(e)},n.checkSupport=function(e){return r.checkSupport(e)},n.MAX_VALUE_16BITS=r.MAX_VALUE_16BITS,n.MAX_VALUE_32BITS=r.MAX_VALUE_32BITS,n.pretty=function(e){return r.pretty(e)},n.findCompression=function(e){return r.findCompression(e)},n.isRegExp=function(e){return r.isRegExp(e)}},{"./utils":26}],13:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako");n.uncompressInputType=r?"uint8array":"array",n.compressInputType=r?"uint8array":"array",n.magic="\b\0",n.compress=function(e,t){return i.deflateRaw(e,{level:t.level||-1})},n.uncompress=function(e){return i.inflateRaw(e)}},{pako:29}],14:[function(e,t,n){"use strict";var r=e("./base64");function i(e,t){if(!(this instanceof i))return new i(e,t);this.files={},this.comment=null,this.root="",e&&this.load(e,t),this.clone=function(){var e=new i;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}i.prototype=e("./object"),i.prototype.load=e("./load"),i.support=e("./support"),i.defaults=e("./defaults"),i.utils=e("./deprecatedPublicUtils"),i.base64={encode:function(e){return r.encode(e)},decode:function(e){return r.decode(e)}},i.compressions=e("./compressions"),t.exports=i},{"./base64":6,"./compressions":8,"./defaults":11,"./deprecatedPublicUtils":12,"./load":15,"./object":18,"./support":22}],15:[function(e,t,n){"use strict";var r=e("./base64"),i=e("./utf8"),o=e("./utils"),a=e("./zipEntries");t.exports=function(e,t){var n,s,l,c;for((t=o.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode})).base64&&(e=r.decode(e)),n=(s=new a(e,t)).files,l=0;l<n.length;l++)c=n[l],this.file(c.fileNameStr,c.decompressed,{binary:!0,optimizedBinaryString:!0,date:c.date,dir:c.dir,comment:c.fileCommentStr.length?c.fileCommentStr:null,unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions,createFolders:t.createFolders});return s.zipComment.length&&(this.comment=s.zipComment),this}},{"./base64":6,"./utf8":25,"./utils":26,"./zipEntries":27}],16:[function(e,t,n){(function(e){"use strict";t.exports=function(t,n){return new e(t,n)},t.exports.test=function(t){return e.isBuffer(t)}}).call(this,e("buffer").Buffer)},{buffer:1}],17:[function(e,t,n){"use strict";var r=e("./uint8ArrayReader");function i(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0}i.prototype=new r,i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"./uint8ArrayReader":23}],18:[function(e,t,n){"use strict";var r=e("./support"),i=e("./utils"),o=e("./crc32"),a=e("./signature"),s=e("./defaults"),l=e("./base64"),c=e("./compressions"),u=e("./compressedObject"),h=e("./nodeBuffer"),d=e("./utf8"),f=e("./stringWriter"),p=e("./uint8ArrayWriter"),A=function(e){if(e._data instanceof u&&(e._data=e._data.getContent(),e.options.binary=!0,e.options.base64=!1,"uint8array"===i.getTypeOf(e._data))){var t=e._data;e._data=new Uint8Array(t.length),0!==t.length&&e._data.set(t,0)}return e._data},g=function(e){var t=A(e);return"string"===i.getTypeOf(t)?!e.options.binary&&r.nodebuffer?h(t,"utf-8"):e.asBinary():t},v=function(e){var t=A(this);return null===t||void 0===t?"":(this.options.base64&&(t=l.decode(t)),t=e&&this.options.binary?B.utf8decode(t):i.transformTo("string",t),e||this.options.binary||(t=i.transformTo("string",B.utf8encode(t))),t)},m=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this.options=n,this._initialMetadata={dir:n.dir,date:n.date}};m.prototype={asText:function(){return v.call(this,!0)},asBinary:function(){return v.call(this,!1)},asNodeBuffer:function(){var e=g(this);return i.transformTo("nodebuffer",e)},asUint8Array:function(){var e=g(this);return i.transformTo("uint8array",e)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var y=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},b=function(e,t,n){var r,o=i.getTypeOf(t);if("string"==typeof(n=function(e){return!0!==(e=e||{}).base64||null!==e.binary&&void 0!==e.binary||(e.binary=!0),(e=i.extend(e,s)).date=e.date||new Date,null!==e.compression&&(e.compression=e.compression.toUpperCase()),e}(n)).unixPermissions&&(n.unixPermissions=parseInt(n.unixPermissions,8)),n.unixPermissions&&16384&n.unixPermissions&&(n.dir=!0),n.dosPermissions&&16&n.dosPermissions&&(n.dir=!0),n.dir&&(e=w(e)),n.createFolders&&(r=_(e))&&x.call(this,r,!0),n.dir||null===t||void 0===t)n.base64=!1,n.binary=!1,t=null,o=null;else if("string"===o)n.binary&&!n.base64&&!0!==n.optimizedBinaryString&&(t=i.string2binary(t));else{if(n.base64=!1,n.binary=!0,!(o||t instanceof u))throw new Error("The data of '"+e+"' is in an unsupported format !");"arraybuffer"===o&&(t=i.transformTo("uint8array",t))}var a=new m(e,t,n);return this.files[e]=a,a},_=function(e){"/"==e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},w=function(e){return"/"!=e.slice(-1)&&(e+="/"),e},x=function(e,t){return t=void 0!==t&&t,e=w(e),this.files[e]||b.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},C=function(e,t,n){var r,a=new u;return e._data instanceof u?(a.uncompressedSize=e._data.uncompressedSize,a.crc32=e._data.crc32,0===a.uncompressedSize||e.dir?(t=c.STORE,a.compressedContent="",a.crc32=0):e._data.compressionMethod===t.magic?a.compressedContent=e._data.getCompressedContent():(r=e._data.getContent(),a.compressedContent=t.compress(i.transformTo(t.compressInputType,r),n))):((r=g(e))&&0!==r.length&&!e.dir||(t=c.STORE,r=""),a.uncompressedSize=r.length,a.crc32=o(r),a.compressedContent=t.compress(i.transformTo(t.compressInputType,r),n)),a.compressedSize=a.compressedContent.length,a.compressionMethod=t.magic,a},S=function(e,t,n,r,s,l){n.compressedContent;var c,u,h,f,p=l!==d.utf8encode,A=i.transformTo("string",l(t.name)),g=i.transformTo("string",d.utf8encode(t.name)),v=t.comment||"",m=i.transformTo("string",l(v)),b=i.transformTo("string",d.utf8encode(v)),_=g.length!==t.name.length,w=b.length!==v.length,x=t.options,C="",S="",B="";h=t._initialMetadata.dir!==t.dir?t.dir:x.dir,f=t._initialMetadata.date!==t.date?t.date:x.date;var k,T,E=0,M=0;h&&(E|=16),"UNIX"===s?(M=798,E|=(k=t.unixPermissions,T=k,k||(T=h?16893:33204),(65535&T)<<16)):(M=20,E|=63&(t.dosPermissions||0)),c=f.getHours(),c<<=6,c|=f.getMinutes(),c<<=5,c|=f.getSeconds()/2,u=f.getFullYear()-1980,u<<=4,u|=f.getMonth()+1,u<<=5,u|=f.getDate(),_&&(S=y(1,1)+y(o(A),4)+g,C+="up"+y(S.length,2)+S),w&&(B=y(1,1)+y(this.crc32(m),4)+b,C+="uc"+y(B.length,2)+B);var D="";return D+="\n\0",D+=p||!_&&!w?"\0\0":"\0\b",D+=n.compressionMethod,D+=y(c,2),D+=y(u,2),D+=y(n.crc32,4),D+=y(n.compressedSize,4),D+=y(n.uncompressedSize,4),D+=y(A.length,2),D+=y(C.length,2),{fileRecord:a.LOCAL_FILE_HEADER+D+A+C,dirRecord:a.CENTRAL_FILE_HEADER+y(M,2)+D+y(m.length,2)+"\0\0\0\0"+y(E,4)+y(r,4)+A+C+m,compressedObject:n}},B={load:function(e,t){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(e){var t,n,r,o,a=[];for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],o=new m(r.name,r._data,i.extend(r.options)),n=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&e(n,o)&&a.push(o));return a},file:function(e,t,n){if(1===arguments.length){if(i.isRegExp(e)){var r=e;return this.filter(function(e,t){return!t.dir&&r.test(e)})}return this.filter(function(t,n){return!n.dir&&t===e})[0]||null}return e=this.root+e,b.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(i.isRegExp(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=x.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!=e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){e=i.extend(e||{},{base64:!0,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:d.utf8encode}),i.checkSupport(e.type),"darwin"!==e.platform&&"freebsd"!==e.platform&&"linux"!==e.platform&&"sunos"!==e.platform||(e.platform="UNIX"),"win32"===e.platform&&(e.platform="DOS");var t,n,r=[],o=0,s=0,u=i.transformTo("string",e.encodeFileName(e.comment||this.comment||""));for(var h in this.files)if(this.files.hasOwnProperty(h)){var A=this.files[h],g=A.options.compression||e.compression.toUpperCase(),v=c[g];if(!v)throw new Error(g+" is not a valid compression method !");var m=A.options.compressionOptions||e.compressionOptions||{},b=C.call(this,A,v,m),_=S.call(this,h,A,b,o,e.platform,e.encodeFileName);o+=_.fileRecord.length+b.compressedSize,s+=_.dirRecord.length,r.push(_)}var w;w=a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+y(r.length,2)+y(r.length,2)+y(s,4)+y(o,4)+y(u.length,2)+u;var x=e.type.toLowerCase();for(t="uint8array"===x||"arraybuffer"===x||"blob"===x||"nodebuffer"===x?new p(o+s+w.length):new f(o+s+w.length),n=0;n<r.length;n++)t.append(r[n].fileRecord),t.append(r[n].compressedObject.compressedContent);for(n=0;n<r.length;n++)t.append(r[n].dirRecord);t.append(w);var B=t.finalize();switch(e.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return i.transformTo(e.type.toLowerCase(),B);case"blob":return i.arrayBuffer2Blob(i.transformTo("arraybuffer",B),e.mimeType);case"base64":return e.base64?l.encode(B):B;default:return B}},crc32:function(e,t){return o(e,t)},utf8encode:function(e){return i.transformTo("string",d.utf8encode(e))},utf8decode:function(e){return d.utf8decode(e)}};t.exports=B},{"./base64":6,"./compressedObject":7,"./compressions":8,"./crc32":9,"./defaults":11,"./nodeBuffer":16,"./signature":19,"./stringWriter":21,"./support":22,"./uint8ArrayWriter":24,"./utf8":25,"./utils":26}],19:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],20:[function(e,t,n){"use strict";var r=e("./dataReader"),i=e("./utils");function o(e,t){this.data=e,t||(this.data=i.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0}o.prototype=new r,o.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},o.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},o.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=o},{"./dataReader":10,"./utils":26}],21:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){this.data=[]};i.prototype={append:function(e){e=r.transformTo("string",e),this.data.push(e)},finalize:function(){return this.data.join("")}},t.exports=i},{"./utils":26}],22:[function(e,t,n){(function(e){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==e,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var t=new ArrayBuffer(0);try{n.blob=0===new Blob([t],{type:"application/zip"}).size}catch(e){try{var r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);r.append(t),n.blob=0===r.getBlob("application/zip").size}catch(e){n.blob=!1}}}}).call(this,e("buffer").Buffer)},{buffer:1}],23:[function(e,t,n){"use strict";var r=e("./arrayReader");function i(e){e&&(this.data=e,this.length=this.data.length,this.index=0,this.zero=0)}i.prototype=new r,i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"./arrayReader":5}],24:[function(e,t,n){"use strict";var r=e("./utils"),i=function(e){this.data=new Uint8Array(e),this.index=0};i.prototype={append:function(e){0!==e.length&&(e=r.transformTo("uint8array",e),this.data.set(e,this.index),this.index+=e.length)},finalize:function(){return this.data}},t.exports=i},{"./utils":26}],25:[function(e,t,n){"use strict";for(var r=e("./utils"),i=e("./support"),o=e("./nodeBuffer"),a=new Array(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;a[254]=a[254]=1;var l=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+a[e[n]]>t?n:t},c=function(e){var t,n,i,o,s=e.length,l=new Array(2*s);for(n=0,t=0;t<s;)if((i=e[t++])<128)l[n++]=i;else if((o=a[i])>4)l[n++]=65533,t+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&t<s;)i=i<<6|63&e[t++],o--;o>1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)};n.utf8encode=function(e){return i.nodebuffer?o(e,"utf-8"):function(e){var t,n,r,o,a,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),a=0,o=0;a<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t}(e)},n.utf8decode=function(e){if(i.nodebuffer)return r.transformTo("nodebuffer",e).toString("utf-8");for(var t=[],n=0,o=(e=r.transformTo(i.uint8array?"uint8array":"array",e)).length;n<o;){var a=l(e,Math.min(n+65536,o));i.uint8array?t.push(c(e.subarray(n,a))):t.push(c(e.slice(n,a))),n=a}return t.join("")}},{"./nodeBuffer":16,"./support":22,"./utils":26}],26:[function(e,t,n){"use strict";var r=e("./support"),i=e("./compressions"),o=e("./nodeBuffer");function a(e){return e}function s(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}function l(e){var t=65536,r=[],i=e.length,a=n.getTypeOf(e),s=0,l=!0;try{switch(a){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,o(0))}}catch(e){l=!1}if(!l){for(var c="",u=0;u<e.length;u++)c+=String.fromCharCode(e[u]);return c}for(;s<i&&t>1;)try{"array"===a||"nodebuffer"===a?r.push(String.fromCharCode.apply(null,e.slice(s,Math.min(s+t,i)))):r.push(String.fromCharCode.apply(null,e.subarray(s,Math.min(s+t,i)))),s+=t}catch(e){t=Math.floor(t/2)}return r.join("")}function c(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.string2binary=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(255&e.charCodeAt(n));return t},n.arrayBuffer2Blob=function(e,t){n.checkSupport("blob"),t=t||"application/zip";try{return new Blob([e],{type:t})}catch(n){try{var r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);return r.append(e),r.getBlob(t)}catch(e){throw new Error("Bug : can't construct the Blob.")}}},n.applyFromCharCode=l;var u={};u.string={string:a,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return u.string.uint8array(e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:function(e){return s(e,o(e.length))}},u.array={string:l,array:a,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o(e)}},u.arraybuffer={string:function(e){return l(new Uint8Array(e))},array:function(e){return c(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:a,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o(new Uint8Array(e))}},u.uint8array={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:a,nodebuffer:function(e){return o(e)}},u.nodebuffer={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return u.nodebuffer.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:a},n.transformTo=function(e,t){if(t||(t=""),!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return u[r][e](t)},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&o.test(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this browser")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.findCompression=function(e){for(var t in i)if(i.hasOwnProperty(t)&&i[t].magic===e)return i[t];return null},n.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n}},{"./compressions":8,"./nodeBuffer":16,"./support":22}],27:[function(e,t,n){"use strict";var r=e("./stringReader"),i=e("./nodeBufferReader"),o=e("./uint8ArrayReader"),a=e("./arrayReader"),s=e("./utils"),l=e("./signature"),c=e("./zipEntry"),u=e("./support");e("./object");function h(e,t){this.files=[],this.loadOptions=t,e&&this.load(e)}h.prototype={checkSignature:function(e){var t=this.reader.readString(4);if(t!==e)throw new Error("Corrupted zip or bug : unexpected signature ("+s.pretty(t)+", expected "+s.pretty(e)+")")},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=u.uint8array?"uint8array":"array",n=s.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readString(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(l.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===l.CENTRAL_FILE_HEADER;)(e=new c({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(l.CENTRAL_DIRECTORY_END);if(e<0)throw!this.isSignature(0,l.LOCAL_FILE_HEADER)?new Error("Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip : can't find end of central directory");this.reader.setIndex(e);var t=e;if(this.checkSignature(l.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,l.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(r>0)this.isSignature(t,l.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){var t=s.getTypeOf(e);if(s.checkSupport(t),"string"!==t||u.uint8array)if("nodebuffer"===t)this.reader=new i(e);else if(u.uint8array)this.reader=new o(s.transformTo("uint8array",e));else{if(!u.array)throw new Error("Unexpected error: unsupported type '"+t+"'");this.reader=new a(s.transformTo("array",e))}else this.reader=new r(e,this.loadOptions.optimizedBinaryString)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=h},{"./arrayReader":5,"./nodeBufferReader":17,"./object":18,"./signature":19,"./stringReader":20,"./support":22,"./uint8ArrayReader":23,"./utils":26,"./zipEntry":28}],28:[function(e,t,n){"use strict";var r=e("./stringReader"),i=e("./utils"),o=e("./compressedObject"),a=e("./object"),s=e("./support");function l(e,t){this.options=e,this.loadOptions=t}l.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},prepareCompressedContent:function(e,t,n){return function(){var r=e.index;e.setIndex(t);var i=e.readData(n);return e.setIndex(r),i}},prepareContent:function(e,t,n,r,o){return function(){var e=i.transformTo(r.uncompressInputType,this.getCompressedContent()),t=r.uncompress(e);if(t.length!==o)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(null===(t=i.findCompression(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");if(this.decompressed=new o,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(e,e.index,this.compressedSize,t),this.decompressed.getContent=this.prepareContent(e,e.index,this.compressedSize,t,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=i.transformTo("string",this.decompressed.getContent()),a.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(e){if(this.versionMadeBy=e.readInt(2),this.versionNeeded=e.readInt(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4),this.fileNameLength=e.readInt(2),this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=e.readData(this.fileNameLength),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=new r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index;for(this.extraFields=this.extraFields||{};e.index<i+this.extraFieldsLength;)t=e.readInt(2),n=e.readInt(2),r=e.readString(n),this.extraFields[t]={id:t,length:n,value:r}},handleUTF8:function(){var e=s.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=new r(e.value);return 1!==t.readInt(1)?null:a.crc32(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readString(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=new r(e.value);return 1!==t.readInt(1)?null:a.crc32(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readString(e.length-5))}return null}},t.exports=l},{"./compressedObject":7,"./object":18,"./stringReader":20,"./support":22,"./utils":26}],29:[function(e,t,n){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":30,"./lib/inflate":31,"./lib/utils/common":32,"./lib/zlib/constants":35}],30:[function(e,t,n){"use strict";var r=e("./zlib/deflate"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),l=Object.prototype.toString,c=0,u=-1,h=0,d=8;function f(e){if(!(this instanceof f))return new f(e);this.options=i.assign({level:u,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==c)throw new Error(a[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var p;if(p="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,p))!==c)throw new Error(a[n]);this._dict_set=!0}}function p(e,t){var n=new f(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}f.prototype.push=function(e,t){var n,a,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),1!==(n=r.deflate(s,a))&&n!==c)return this.onEnd(n),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===c):2!==a||(this.onEnd(c),s.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=f,n.deflate=p,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,p(e,t)}},{"./utils/common":32,"./utils/strings":33,"./zlib/deflate":37,"./zlib/messages":42,"./zlib/zstream":44}],31:[function(e,t,n){"use strict";var r=e("./zlib/inflate"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),u=Object.prototype.toString;function h(e){if(!(this instanceof h))return new h(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function d(e,t){var n=new h(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}h.prototype.push=function(e,t){var n,s,l,c,h,d,f=this.strm,p=this.options.chunkSize,A=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?f.input=o.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?f.input=new Uint8Array(e):f.input=e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(p),f.next_out=0,f.avail_out=p),(n=r.inflate(f,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&A&&(d="string"==typeof A?o.string2buf(A):"[object ArrayBuffer]"===u.call(A)?new Uint8Array(A):A,n=r.inflateSetDictionary(this.strm,d)),n===a.Z_BUF_ERROR&&!0===g&&(n=a.Z_OK,g=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),this.ended=!0,!1;f.next_out&&(0!==f.avail_out&&n!==a.Z_STREAM_END&&(0!==f.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(f.output,f.next_out),c=f.next_out-l,h=o.buf2string(f.output,l),f.next_out=c,f.avail_out=p-c,c&&i.arraySet(f.output,f.output,l,c,0),this.onData(h)):this.onData(i.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(g=!0)}while((f.avail_in>0||0===f.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),f.avail_out=0,!0)},h.prototype.onData=function(e){this.chunks.push(e)},h.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=h,n.inflate=d,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},n.ungzip=d},{"./utils/common":32,"./utils/strings":33,"./zlib/constants":35,"./zlib/gzheader":38,"./zlib/inflate":40,"./zlib/messages":42,"./zlib/zstream":44}],32:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,a;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],a.set(o,i),i+=o.length;return a}},o={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],33:[function(e,t,n){"use strict";var r=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",a=0;a<t;a++)n+=String.fromCharCode(e[a]);return n}a[254]=a[254]=1,n.string2buf=function(e){var t,n,i,o,a,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),a=0,o=0;a<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,o,s=t||e.length,c=new Array(2*s);for(r=0,n=0;n<s;)if((i=e[n++])<128)c[r++]=i;else if((o=a[i])>4)c[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&n<s;)i=i<<6|63&e[n++],o--;o>1?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return l(c,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+a[e[n]]>t?n:t}},{"./common":32}],34:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}},{}],35:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],36:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var o=r,a=i+n;e^=-1;for(var s=i;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}},{}],37:[function(e,t,n){"use strict";var r,i=e("../utils/common"),o=e("./trees"),a=e("./adler32"),s=e("./crc32"),l=e("./messages"),c=0,u=1,h=3,d=4,f=5,p=0,A=1,g=-2,v=-3,m=-5,y=-1,b=1,_=2,w=3,x=4,C=0,S=2,B=8,k=9,T=15,E=8,M=286,D=30,O=19,I=2*M+1,L=15,P=3,F=258,R=F+P+1,N=32,H=42,j=69,U=73,Q=91,z=103,Y=113,V=666,G=1,W=2,X=3,Z=4,$=3;function K(e,t){return e.msg=l[t],t}function J(e){return(e<<1)-(e>4?9:0)}function q(e){for(var t=e.length;--t>=0;)e[t]=0}function ee(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function te(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ee(e.strm)}function ne(e,t){e.pending_buf[e.pending++]=t}function re(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function ie(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-R?e.strstart-(e.w_size-R):0,c=e.window,u=e.w_mask,h=e.prev,d=e.strstart+F,f=c[o+a-1],p=c[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===p&&c[n+a-1]===f&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<d);if(r=F-(d-o),o=d-F,r>a){if(e.match_start=t,a=r,r>=s)break;f=c[o+a-1],p=c[o+a]}}}while((t=h[t&u])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function oe(e){var t,n,r,o,l,c,u,h,d,f,p=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-R)){i.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=p?r-p:0}while(--n);t=n=p;do{r=e.prev[--t],e.prev[t]=r>=p?r-p:0}while(--n);o+=p}if(0===e.strm.avail_in)break;if(c=e.strm,u=e.window,h=e.strstart+e.lookahead,d=o,f=void 0,(f=c.avail_in)>d&&(f=d),n=0===f?0:(c.avail_in-=f,i.arraySet(u,c.input,c.next_in,f,h),1===c.state.wrap?c.adler=a(c.adler,u,f,h):2===c.state.wrap&&(c.adler=s(c.adler,u,f,h)),c.next_in+=f,c.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=P)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+P-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<P)););}while(e.lookahead<R&&0!==e.strm.avail_in)}function ae(e,t){for(var n,r;;){if(e.lookahead<R){if(oe(e),e.lookahead<R&&t===c)return G;if(0===e.lookahead)break}if(n=0,e.lookahead>=P&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+P-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-R&&(e.match_length=ie(e,n)),e.match_length>=P)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-P),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=P){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+P-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(te(e,!1),0===e.strm.avail_out))return G}return e.insert=e.strstart<P-1?e.strstart:P-1,t===d?(te(e,!0),0===e.strm.avail_out?X:Z):e.last_lit&&(te(e,!1),0===e.strm.avail_out)?G:W}function se(e,t){for(var n,r,i;;){if(e.lookahead<R){if(oe(e),e.lookahead<R&&t===c)return G;if(0===e.lookahead)break}if(n=0,e.lookahead>=P&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+P-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=P-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-R&&(e.match_length=ie(e,n),e.match_length<=5&&(e.strategy===b||e.match_length===P&&e.strstart-e.match_start>4096)&&(e.match_length=P-1)),e.prev_length>=P&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-P,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-P),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+P-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=P-1,e.strstart++,r&&(te(e,!1),0===e.strm.avail_out))return G}else if(e.match_available){if((r=o._tr_tally(e,0,e.window[e.strstart-1]))&&te(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return G}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<P-1?e.strstart:P-1,t===d?(te(e,!0),0===e.strm.avail_out?X:Z):e.last_lit&&(te(e,!1),0===e.strm.avail_out)?G:W}function le(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function ce(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=S,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?H:Y,e.adler=2===t.wrap?0:1,t.last_flush=c,o._tr_init(t),p):K(e,g)}function ue(e){var t,n=ce(e);return n===p&&((t=e.state).window_size=2*t.w_size,q(t.head),t.max_lazy_match=r[t.level].max_lazy,t.good_match=r[t.level].good_length,t.nice_match=r[t.level].nice_length,t.max_chain_length=r[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=P-1,t.match_available=0,t.ins_h=0),n}function he(e,t,n,r,o,a){if(!e)return g;var s=1;if(t===y&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),o<1||o>k||n!==B||r<8||r>15||t<0||t>9||a<0||a>x)return K(e,g);8===r&&(r=9);var l=new function(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=B,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*I),this.dyn_dtree=new i.Buf16(2*(2*D+1)),this.bl_tree=new i.Buf16(2*(2*O+1)),q(this.dyn_ltree),q(this.dyn_dtree),q(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(L+1),this.heap=new i.Buf16(2*M+1),q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*M+1),q(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0};return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+P-1)/P),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=l.lit_bufsize>>1,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=n,ue(e)}r=[new le(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(oe(e),0===e.lookahead&&t===c)return G;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,te(e,!1),0===e.strm.avail_out))return G;if(e.strstart-e.block_start>=e.w_size-R&&(te(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===d?(te(e,!0),0===e.strm.avail_out?X:Z):(e.strstart>e.block_start&&(te(e,!1),e.strm.avail_out),G)}),new le(4,4,8,4,ae),new le(4,5,16,8,ae),new le(4,6,32,32,ae),new le(4,4,16,16,se),new le(8,16,32,32,se),new le(8,16,128,128,se),new le(8,32,128,256,se),new le(32,128,258,1024,se),new le(32,258,258,4096,se)],n.deflateInit=function(e,t){return he(e,t,B,T,E,C)},n.deflateInit2=he,n.deflateReset=ue,n.deflateResetKeep=ce,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?g:(e.state.gzhead=t,p):g},n.deflate=function(e,t){var n,i,a,l;if(!e||!e.state||t>f||t<0)return e?K(e,g):g;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===V&&t!==d)return K(e,0===e.avail_out?m:g);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===H)if(2===i.wrap)e.adler=0,ne(i,31),ne(i,139),ne(i,8),i.gzhead?(ne(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),ne(i,255&i.gzhead.time),ne(i,i.gzhead.time>>8&255),ne(i,i.gzhead.time>>16&255),ne(i,i.gzhead.time>>24&255),ne(i,9===i.level?2:i.strategy>=_||i.level<2?4:0),ne(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(ne(i,255&i.gzhead.extra.length),ne(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=j):(ne(i,0),ne(i,0),ne(i,0),ne(i,0),ne(i,0),ne(i,9===i.level?2:i.strategy>=_||i.level<2?4:0),ne(i,$),i.status=Y);else{var v=B+(i.w_bits-8<<4)<<8;v|=(i.strategy>=_||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(v|=N),v+=31-v%31,i.status=Y,re(i,v),0!==i.strstart&&(re(i,e.adler>>>16),re(i,65535&e.adler)),e.adler=1}if(i.status===j)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),ee(e),a=i.pending,i.pending!==i.pending_buf_size));)ne(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=U)}else i.status=U;if(i.status===U)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),ee(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,ne(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=Q)}else i.status=Q;if(i.status===Q)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),ee(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,ne(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=z)}else i.status=z;if(i.status===z&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ee(e),i.pending+2<=i.pending_buf_size&&(ne(i,255&e.adler),ne(i,e.adler>>8&255),e.adler=0,i.status=Y)):i.status=Y),0!==i.pending){if(ee(e),0===e.avail_out)return i.last_flush=-1,p}else if(0===e.avail_in&&J(t)<=J(n)&&t!==d)return K(e,m);if(i.status===V&&0!==e.avail_in)return K(e,m);if(0!==e.avail_in||0!==i.lookahead||t!==c&&i.status!==V){var y=i.strategy===_?function(e,t){for(var n;;){if(0===e.lookahead&&(oe(e),0===e.lookahead)){if(t===c)return G;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(te(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===d?(te(e,!0),0===e.strm.avail_out?X:Z):e.last_lit&&(te(e,!1),0===e.strm.avail_out)?G:W}(i,t):i.strategy===w?function(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=F){if(oe(e),e.lookahead<=F&&t===c)return G;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=P&&e.strstart>0&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=e.strstart+F;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);e.match_length=F-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=P?(n=o._tr_tally(e,1,e.match_length-P),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(te(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===d?(te(e,!0),0===e.strm.avail_out?X:Z):e.last_lit&&(te(e,!1),0===e.strm.avail_out)?G:W}(i,t):r[i.level].func(i,t);if(y!==X&&y!==Z||(i.status=V),y===G||y===X)return 0===e.avail_out&&(i.last_flush=-1),p;if(y===W&&(t===u?o._tr_align(i):t!==f&&(o._tr_stored_block(i,0,0,!1),t===h&&(q(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),ee(e),0===e.avail_out))return i.last_flush=-1,p}return t!==d?p:i.wrap<=0?A:(2===i.wrap?(ne(i,255&e.adler),ne(i,e.adler>>8&255),ne(i,e.adler>>16&255),ne(i,e.adler>>24&255),ne(i,255&e.total_in),ne(i,e.total_in>>8&255),ne(i,e.total_in>>16&255),ne(i,e.total_in>>24&255)):(re(i,e.adler>>>16),re(i,65535&e.adler)),ee(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?p:A)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==H&&t!==j&&t!==U&&t!==Q&&t!==z&&t!==Y&&t!==V?K(e,g):(e.state=null,t===Y?K(e,v):p):g},n.deflateSetDictionary=function(e,t){var n,r,o,s,l,c,u,h,d=t.length;if(!e||!e.state)return g;if(2===(s=(n=e.state).wrap)||1===s&&n.status!==H||n.lookahead)return g;for(1===s&&(e.adler=a(e.adler,t,d,0)),n.wrap=0,d>=n.w_size&&(0===s&&(q(n.head),n.strstart=0,n.block_start=0,n.insert=0),h=new i.Buf8(n.w_size),i.arraySet(h,t,d-n.w_size,n.w_size,0),t=h,d=n.w_size),l=e.avail_in,c=e.next_in,u=e.input,e.avail_in=d,e.next_in=0,e.input=t,oe(n);n.lookahead>=P;){r=n.strstart,o=n.lookahead-(P-1);do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+P-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--o);n.strstart=r,n.lookahead=P-1,oe(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=P-1,n.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,n.wrap=s,p},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./messages":42,"./trees":43}],38:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],39:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C,S,B;n=e.state,r=e.next_in,S=e.input,i=r+(e.avail_in-5),o=e.next_out,B=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,h=n.wnext,d=n.window,f=n.hold,p=n.bits,A=n.lencode,g=n.distcode,v=(1<<n.lenbits)-1,m=(1<<n.distbits)-1;e:do{p<15&&(f+=S[r++]<<p,p+=8,f+=S[r++]<<p,p+=8),y=A[f&v];t:for(;;){if(f>>>=b=y>>>24,p-=b,0===(b=y>>>16&255))B[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=A[(65535&y)+(f&(1<<b)-1)];continue t}if(32&b){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}_=65535&y,(b&=15)&&(p<b&&(f+=S[r++]<<p,p+=8),_+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=S[r++]<<p,p+=8,f+=S[r++]<<p,p+=8),y=g[f&m];n:for(;;){if(f>>>=b=y>>>24,p-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(f&(1<<b)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(w=65535&y,p<(b&=15)&&(f+=S[r++]<<p,(p+=8)<b&&(f+=S[r++]<<p,p+=8)),(w+=f&(1<<b)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=b,p-=b,w>(b=o-a)){if((b=w-b)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(x=0,C=d,0===h){if(x+=c-b,b<_){_-=b;do{B[o++]=d[x++]}while(--b);x=o-w,C=B}}else if(h<b){if(x+=c+h-b,(b-=h)<_){_-=b;do{B[o++]=d[x++]}while(--b);if(x=0,h<_){_-=b=h;do{B[o++]=d[x++]}while(--b);x=o-w,C=B}}}else if(x+=h-b,b<_){_-=b;do{B[o++]=d[x++]}while(--b);x=o-w,C=B}for(;_>2;)B[o++]=C[x++],B[o++]=C[x++],B[o++]=C[x++],_-=3;_&&(B[o++]=C[x++],_>1&&(B[o++]=C[x++]))}else{x=o-w;do{B[o++]=B[x++],B[o++]=B[x++],B[o++]=B[x++],_-=3}while(_>2);_&&(B[o++]=B[x++],_>1&&(B[o++]=B[x++]))}break}}break}}while(r<i&&o<s);r-=_=p>>3,f&=(1<<(p-=_<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=f,n.bits=p}},{}],40:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),a=e("./inffast"),s=e("./inftrees"),l=0,c=1,u=2,h=4,d=5,f=6,p=0,A=1,g=2,v=-2,m=-3,y=-4,b=-5,_=8,w=1,x=2,C=3,S=4,B=5,k=6,T=7,E=8,M=9,D=10,O=11,I=12,L=13,P=14,F=15,R=16,N=17,H=18,j=19,U=20,Q=21,z=22,Y=23,V=24,G=25,W=26,X=27,Z=28,$=29,K=30,J=31,q=32,ee=852,te=592,ne=15;function re(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ie(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=w,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(ee),t.distcode=t.distdyn=new r.Buf32(te),t.sane=1,t.back=-1,p):v}function oe(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,ie(e)):v}function ae(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?v:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,oe(e))):v}function se(e,t){var n,i;return e?(i=new function(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0},e.state=i,i.window=null,(n=ae(e,t))!==p&&(e.state=null),n):v}var le,ce,ue=!0;function he(e){if(ue){var t;for(le=new r.Buf32(512),ce=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(c,e.lens,0,288,le,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(u,e.lens,0,32,ce,0,e.work,{bits:5}),ue=!1}e.lencode=le,e.lenbits=9,e.distcode=ce,e.distbits=5}function de(e,t,n,i){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>i&&(o=i),r.arraySet(a.window,t,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}n.inflateReset=oe,n.inflateReset2=ae,n.inflateResetKeep=ie,n.inflateInit=function(e){return se(e,ne)},n.inflateInit2=se,n.inflate=function(e,t){var n,ee,te,ne,ie,oe,ae,se,le,ce,ue,fe,pe,Ae,ge,ve,me,ye,be,_e,we,xe,Ce,Se,Be=0,ke=new r.Buf8(4),Te=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return v;(n=e.state).mode===I&&(n.mode=L),ie=e.next_out,te=e.output,ae=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,se=n.hold,le=n.bits,ce=oe,ue=ae,xe=p;e:for(;;)switch(n.mode){case w:if(0===n.wrap){n.mode=L;break}for(;le<16;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(2&n.wrap&&35615===se){n.check=0,ke[0]=255&se,ke[1]=se>>>8&255,n.check=o(n.check,ke,2,0),se=0,le=0,n.mode=x;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&se)<<8)+(se>>8))%31){e.msg="incorrect header check",n.mode=K;break}if((15&se)!==_){e.msg="unknown compression method",n.mode=K;break}if(le-=4,we=8+(15&(se>>>=4)),0===n.wbits)n.wbits=we;else if(we>n.wbits){e.msg="invalid window size",n.mode=K;break}n.dmax=1<<we,e.adler=n.check=1,n.mode=512&se?D:I,se=0,le=0;break;case x:for(;le<16;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(n.flags=se,(255&n.flags)!==_){e.msg="unknown compression method",n.mode=K;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=K;break}n.head&&(n.head.text=se>>8&1),512&n.flags&&(ke[0]=255&se,ke[1]=se>>>8&255,n.check=o(n.check,ke,2,0)),se=0,le=0,n.mode=C;case C:for(;le<32;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.head&&(n.head.time=se),512&n.flags&&(ke[0]=255&se,ke[1]=se>>>8&255,ke[2]=se>>>16&255,ke[3]=se>>>24&255,n.check=o(n.check,ke,4,0)),se=0,le=0,n.mode=S;case S:for(;le<16;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.head&&(n.head.xflags=255&se,n.head.os=se>>8),512&n.flags&&(ke[0]=255&se,ke[1]=se>>>8&255,n.check=o(n.check,ke,2,0)),se=0,le=0,n.mode=B;case B:if(1024&n.flags){for(;le<16;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.length=se,n.head&&(n.head.extra_len=se),512&n.flags&&(ke[0]=255&se,ke[1]=se>>>8&255,n.check=o(n.check,ke,2,0)),se=0,le=0}else n.head&&(n.head.extra=null);n.mode=k;case k:if(1024&n.flags&&((fe=n.length)>oe&&(fe=oe),fe&&(n.head&&(we=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,ee,ne,fe,we)),512&n.flags&&(n.check=o(n.check,ee,fe,ne)),oe-=fe,ne+=fe,n.length-=fe),n.length))break e;n.length=0,n.mode=T;case T:if(2048&n.flags){if(0===oe)break e;fe=0;do{we=ee[ne+fe++],n.head&&we&&n.length<65536&&(n.head.name+=String.fromCharCode(we))}while(we&&fe<oe);if(512&n.flags&&(n.check=o(n.check,ee,fe,ne)),oe-=fe,ne+=fe,we)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=E;case E:if(4096&n.flags){if(0===oe)break e;fe=0;do{we=ee[ne+fe++],n.head&&we&&n.length<65536&&(n.head.comment+=String.fromCharCode(we))}while(we&&fe<oe);if(512&n.flags&&(n.check=o(n.check,ee,fe,ne)),oe-=fe,ne+=fe,we)break e}else n.head&&(n.head.comment=null);n.mode=M;case M:if(512&n.flags){for(;le<16;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(se!==(65535&n.check)){e.msg="header crc mismatch",n.mode=K;break}se=0,le=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=I;break;case D:for(;le<32;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}e.adler=n.check=re(se),se=0,le=0,n.mode=O;case O:if(0===n.havedict)return e.next_out=ie,e.avail_out=ae,e.next_in=ne,e.avail_in=oe,n.hold=se,n.bits=le,g;e.adler=n.check=1,n.mode=I;case I:if(t===d||t===f)break e;case L:if(n.last){se>>>=7&le,le-=7&le,n.mode=X;break}for(;le<3;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}switch(n.last=1&se,le-=1,3&(se>>>=1)){case 0:n.mode=P;break;case 1:if(he(n),n.mode=U,t===f){se>>>=2,le-=2;break e}break;case 2:n.mode=N;break;case 3:e.msg="invalid block type",n.mode=K}se>>>=2,le-=2;break;case P:for(se>>>=7&le,le-=7≤le<32;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if((65535&se)!=(se>>>16^65535)){e.msg="invalid stored block lengths",n.mode=K;break}if(n.length=65535&se,se=0,le=0,n.mode=F,t===f)break e;case F:n.mode=R;case R:if(fe=n.length){if(fe>oe&&(fe=oe),fe>ae&&(fe=ae),0===fe)break e;r.arraySet(te,ee,ne,fe,ie),oe-=fe,ne+=fe,ae-=fe,ie+=fe,n.length-=fe;break}n.mode=I;break;case N:for(;le<14;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(n.nlen=257+(31&se),se>>>=5,le-=5,n.ndist=1+(31&se),se>>>=5,le-=5,n.ncode=4+(15&se),se>>>=4,le-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=K;break}n.have=0,n.mode=H;case H:for(;n.have<n.ncode;){for(;le<3;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.lens[Te[n.have++]]=7&se,se>>>=3,le-=3}for(;n.have<19;)n.lens[Te[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,Ce={bits:n.lenbits},xe=s(l,n.lens,0,19,n.lencode,0,n.work,Ce),n.lenbits=Ce.bits,xe){e.msg="invalid code lengths set",n.mode=K;break}n.have=0,n.mode=j;case j:for(;n.have<n.nlen+n.ndist;){for(;ve=(Be=n.lencode[se&(1<<n.lenbits)-1])>>>16&255,me=65535&Be,!((ge=Be>>>24)<=le);){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(me<16)se>>>=ge,le-=ge,n.lens[n.have++]=me;else{if(16===me){for(Se=ge+2;le<Se;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(se>>>=ge,le-=ge,0===n.have){e.msg="invalid bit length repeat",n.mode=K;break}we=n.lens[n.have-1],fe=3+(3&se),se>>>=2,le-=2}else if(17===me){for(Se=ge+3;le<Se;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}le-=ge,we=0,fe=3+(7&(se>>>=ge)),se>>>=3,le-=3}else{for(Se=ge+7;le<Se;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}le-=ge,we=0,fe=11+(127&(se>>>=ge)),se>>>=7,le-=7}if(n.have+fe>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=K;break}for(;fe--;)n.lens[n.have++]=we}}if(n.mode===K)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=K;break}if(n.lenbits=9,Ce={bits:n.lenbits},xe=s(c,n.lens,0,n.nlen,n.lencode,0,n.work,Ce),n.lenbits=Ce.bits,xe){e.msg="invalid literal/lengths set",n.mode=K;break}if(n.distbits=6,n.distcode=n.distdyn,Ce={bits:n.distbits},xe=s(u,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,Ce),n.distbits=Ce.bits,xe){e.msg="invalid distances set",n.mode=K;break}if(n.mode=U,t===f)break e;case U:n.mode=Q;case Q:if(oe>=6&&ae>=258){e.next_out=ie,e.avail_out=ae,e.next_in=ne,e.avail_in=oe,n.hold=se,n.bits=le,a(e,ue),ie=e.next_out,te=e.output,ae=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,se=n.hold,le=n.bits,n.mode===I&&(n.back=-1);break}for(n.back=0;ve=(Be=n.lencode[se&(1<<n.lenbits)-1])>>>16&255,me=65535&Be,!((ge=Be>>>24)<=le);){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(ve&&0==(240&ve)){for(ye=ge,be=ve,_e=me;ve=(Be=n.lencode[_e+((se&(1<<ye+be)-1)>>ye)])>>>16&255,me=65535&Be,!(ye+(ge=Be>>>24)<=le);){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}se>>>=ye,le-=ye,n.back+=ye}if(se>>>=ge,le-=ge,n.back+=ge,n.length=me,0===ve){n.mode=W;break}if(32&ve){n.back=-1,n.mode=I;break}if(64&ve){e.msg="invalid literal/length code",n.mode=K;break}n.extra=15&ve,n.mode=z;case z:if(n.extra){for(Se=n.extra;le<Se;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.length+=se&(1<<n.extra)-1,se>>>=n.extra,le-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=Y;case Y:for(;ve=(Be=n.distcode[se&(1<<n.distbits)-1])>>>16&255,me=65535&Be,!((ge=Be>>>24)<=le);){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(0==(240&ve)){for(ye=ge,be=ve,_e=me;ve=(Be=n.distcode[_e+((se&(1<<ye+be)-1)>>ye)])>>>16&255,me=65535&Be,!(ye+(ge=Be>>>24)<=le);){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}se>>>=ye,le-=ye,n.back+=ye}if(se>>>=ge,le-=ge,n.back+=ge,64&ve){e.msg="invalid distance code",n.mode=K;break}n.offset=me,n.extra=15&ve,n.mode=V;case V:if(n.extra){for(Se=n.extra;le<Se;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.offset+=se&(1<<n.extra)-1,se>>>=n.extra,le-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=K;break}n.mode=G;case G:if(0===ae)break e;if(fe=ue-ae,n.offset>fe){if((fe=n.offset-fe)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=K;break}fe>n.wnext?(fe-=n.wnext,pe=n.wsize-fe):pe=n.wnext-fe,fe>n.length&&(fe=n.length),Ae=n.window}else Ae=te,pe=ie-n.offset,fe=n.length;fe>ae&&(fe=ae),ae-=fe,n.length-=fe;do{te[ie++]=Ae[pe++]}while(--fe);0===n.length&&(n.mode=Q);break;case W:if(0===ae)break e;te[ie++]=n.length,ae--,n.mode=Q;break;case X:if(n.wrap){for(;le<32;){if(0===oe)break e;oe--,se|=ee[ne++]<<le,le+=8}if(ue-=ae,e.total_out+=ue,n.total+=ue,ue&&(e.adler=n.check=n.flags?o(n.check,te,ue,ie-ue):i(n.check,te,ue,ie-ue)),ue=ae,(n.flags?se:re(se))!==n.check){e.msg="incorrect data check",n.mode=K;break}se=0,le=0}n.mode=Z;case Z:if(n.wrap&&n.flags){for(;le<32;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(se!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=K;break}se=0,le=0}n.mode=$;case $:xe=A;break e;case K:xe=m;break e;case J:return y;case q:default:return v}return e.next_out=ie,e.avail_out=ae,e.next_in=ne,e.avail_in=oe,n.hold=se,n.bits=le,(n.wsize||ue!==e.avail_out&&n.mode<K&&(n.mode<X||t!==h))&&de(e,e.output,e.next_out,ue-e.avail_out)?(n.mode=J,y):(ce-=e.avail_in,ue-=e.avail_out,e.total_in+=ce,e.total_out+=ue,n.total+=ue,n.wrap&&ue&&(e.adler=n.check=n.flags?o(n.check,te,ue,e.next_out-ue):i(n.check,te,ue,e.next_out-ue)),e.data_type=n.bits+(n.last?64:0)+(n.mode===I?128:0)+(n.mode===U||n.mode===F?256:0),(0===ce&&0===ue||t===h)&&xe===p&&(xe=b),xe)},n.inflateEnd=function(e){if(!e||!e.state)return v;var t=e.state;return t.window&&(t.window=null),e.state=null,p},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?v:(n.head=t,t.done=!1,p):v},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&n.mode!==O?v:n.mode===O&&i(1,t,r,0)!==n.check?m:de(e,t,r,r)?(n.mode=J,y):(n.havedict=1,p):v},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./inffast":39,"./inftrees":41}],41:[function(e,t,n){"use strict";var r=e("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,c,u,h,d){var f,p,A,g,v,m,y,b,_,w=d.bits,x=0,C=0,S=0,B=0,k=0,T=0,E=0,M=0,D=0,O=0,I=null,L=0,P=new r.Buf16(16),F=new r.Buf16(16),R=null,N=0;for(x=0;x<=15;x++)P[x]=0;for(C=0;C<l;C++)P[t[n+C]]++;for(k=w,B=15;B>=1&&0===P[B];B--);if(k>B&&(k=B),0===B)return c[u++]=20971520,c[u++]=20971520,d.bits=1,0;for(S=1;S<B&&0===P[S];S++);for(k<S&&(k=S),M=1,x=1;x<=15;x++)if(M<<=1,(M-=P[x])<0)return-1;if(M>0&&(0===e||1!==B))return-1;for(F[1]=0,x=1;x<15;x++)F[x+1]=F[x]+P[x];for(C=0;C<l;C++)0!==t[n+C]&&(h[F[t[n+C]]++]=C);if(0===e?(I=R=h,m=19):1===e?(I=i,L-=257,R=o,N-=257,m=256):(I=a,R=s,m=-1),O=0,C=0,x=S,v=u,T=k,E=0,A=-1,g=(D=1<<k)-1,1===e&&D>852||2===e&&D>592)return 1;for(;;){0,y=x-E,h[C]<m?(b=0,_=h[C]):h[C]>m?(b=R[N+h[C]],_=I[L+h[C]]):(b=96,_=0),f=1<<x-E,S=p=1<<T;do{c[v+(O>>E)+(p-=f)]=y<<24|b<<16|_|0}while(0!==p);for(f=1<<x-1;O&f;)f>>=1;if(0!==f?(O&=f-1,O+=f):O=0,C++,0==--P[x]){if(x===B)break;x=t[n+h[C]]}if(x>k&&(O&g)!==A){for(0===E&&(E=k),v+=S,M=1<<(T=x-E);T+E<B&&!((M-=P[T+E])<=0);)T++,M<<=1;if(D+=1<<T,1===e&&D>852||2===e&&D>592)return 1;c[A=O&g]=k<<24|T<<16|v-u|0}}return 0!==O&&(c[v+O]=x-E<<24|64<<16|0),d.bits=k,0}},{"../utils/common":32}],42:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],43:[function(e,t,n){"use strict";var r=e("../utils/common"),i=4,o=0,a=1,s=2;function l(e){for(var t=e.length;--t>=0;)e[t]=0}var c=0,u=1,h=2,d=29,f=256,p=f+1+d,A=30,g=19,v=2*p+1,m=15,y=16,b=7,_=256,w=16,x=17,C=18,S=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],B=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],T=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],E=new Array(2*(p+2));l(E);var M=new Array(2*A);l(M);var D=new Array(512);l(D);var O=new Array(256);l(O);var I=new Array(d);l(I);var L,P,F,R=new Array(A);function N(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function H(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function j(e){return e<256?D[e]:D[256+(e>>>7)]}function U(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Q(e,t,n){e.bi_valid>y-n?(e.bi_buf|=t<<e.bi_valid&65535,U(e,e.bi_buf),e.bi_buf=t>>y-e.bi_valid,e.bi_valid+=n-y):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function z(e,t,n){Q(e,n[2*t],n[2*t+1])}function Y(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function V(e,t,n){var r,i,o=new Array(m+1),a=0;for(r=1;r<=m;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=Y(o[s]++,s))}}function G(e){var t;for(t=0;t<p;t++)e.dyn_ltree[2*t]=0;for(t=0;t<A;t++)e.dyn_dtree[2*t]=0;for(t=0;t<g;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*_]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function W(e){e.bi_valid>8?U(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function X(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function Z(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&X(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!X(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function $(e,t,n){var r,i,o,a,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?z(e,i,t):(z(e,(o=O[i])+f+1,t),0!==(a=S[o])&&Q(e,i-=I[o],a),z(e,o=j(--r),n),0!==(a=B[o])&&Q(e,r-=R[o],a))}while(s<e.last_lit);z(e,_,t)}function K(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=v,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)Z(e,o,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Z(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,Z(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,h=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,A=0;for(o=0;o<=m;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<v;n++)(o=l[2*l[2*(r=e.heap[n])+1]+1]+1)>p&&(o=p,A++),l[2*r+1]=o,r>c||(e.bl_count[o]++,a=0,r>=f&&(a=d[r-f]),s=l[2*r],e.opt_len+=s*(o+a),h&&(e.static_len+=s*(u[2*r+1]+a)));if(0!==A){do{for(o=p-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,A-=2}while(A>0);for(o=p;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>c||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),r--)}}(e,t),V(o,c,e.bl_count)}function J(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<l&&i===a||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*w]++):s<=10?e.bl_tree[2*x]++:e.bl_tree[2*C]++,s=0,o=i,0===a?(l=138,c=3):i===a?(l=6,c=3):(l=7,c=4))}function q(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<l&&i===a)){if(s<c)do{z(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(z(e,i,e.bl_tree),s--),z(e,w,e.bl_tree),Q(e,s-3,2)):s<=10?(z(e,x,e.bl_tree),Q(e,s-3,3)):(z(e,C,e.bl_tree),Q(e,s-11,7));s=0,o=i,0===a?(l=138,c=3):i===a?(l=6,c=3):(l=7,c=4)}}l(R);var ee=!1;function te(e,t,n,i){Q(e,(c<<1)+(i?1:0),3),function(e,t,n,i){W(e),i&&(U(e,n),U(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){ee||(function(){var e,t,n,r,i,o=new Array(m+1);for(n=0,r=0;r<d-1;r++)for(I[r]=n,e=0;e<1<<S[r];e++)O[n++]=r;for(O[n-1]=r,i=0,r=0;r<16;r++)for(R[r]=i,e=0;e<1<<B[r];e++)D[i++]=r;for(i>>=7;r<A;r++)for(R[r]=i<<7,e=0;e<1<<B[r]-7;e++)D[256+i++]=r;for(t=0;t<=m;t++)o[t]=0;for(e=0;e<=143;)E[2*e+1]=8,e++,o[8]++;for(;e<=255;)E[2*e+1]=9,e++,o[9]++;for(;e<=279;)E[2*e+1]=7,e++,o[7]++;for(;e<=287;)E[2*e+1]=8,e++,o[8]++;for(V(E,p+1,o),e=0;e<A;e++)M[2*e+1]=5,M[2*e]=Y(e,5);L=new N(E,S,f+1,p,m),P=new N(M,B,0,A,m),F=new N(new Array(0),k,0,g,b)}(),ee=!0),e.l_desc=new H(e.dyn_ltree,L),e.d_desc=new H(e.dyn_dtree,P),e.bl_desc=new H(e.bl_tree,F),e.bi_buf=0,e.bi_valid=0,G(e)},n._tr_stored_block=te,n._tr_flush_block=function(e,t,n,r){var l,c,d=0;e.level>0?(e.strm.data_type===s&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return o;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return a;for(t=32;t<f;t++)if(0!==e.dyn_ltree[2*t])return a;return o}(e)),K(e,e.l_desc),K(e,e.d_desc),d=function(e){var t;for(J(e,e.dyn_ltree,e.l_desc.max_code),J(e,e.dyn_dtree,e.d_desc.max_code),K(e,e.bl_desc),t=g-1;t>=3&&0===e.bl_tree[2*T[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),l=e.opt_len+3+7>>>3,(c=e.static_len+3+7>>>3)<=l&&(l=c)):l=c=n+5,n+4<=l&&-1!==t?te(e,t,n,r):e.strategy===i||c===l?(Q(e,(u<<1)+(r?1:0),3),$(e,E,M)):(Q(e,(h<<1)+(r?1:0),3),function(e,t,n,r){var i;for(Q(e,t-257,5),Q(e,n-1,5),Q(e,r-4,4),i=0;i<r;i++)Q(e,e.bl_tree[2*T[i]+1],3);q(e,e.dyn_ltree,t-1),q(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,d+1),$(e,e.dyn_ltree,e.dyn_dtree)),G(e),r&&W(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(O[n]+f+1)]++,e.dyn_dtree[2*j(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){Q(e,u<<1,3),z(e,_,E),function(e){16===e.bi_valid?(U(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":32}],44:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],45:[function(e,t,n){var r=e("lodash._root"),i=1/0,o="[object Symbol]",a=/[&<>"'`]/g,s=RegExp(a.source),l={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};function c(e){return l[e]}var u=Object.prototype.toString,h=r.Symbol,d=h?h.prototype:void 0,f=h?d.toString:void 0;function p(e){if("string"==typeof e)return e;if(null==e)return"";if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&u.call(e)==o}(e))return h?f.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}t.exports=function(e){return(e=p(e))&&s.test(e)?e.replace(a,c):e}},{"lodash._root":46}],46:[function(e,t,n){(function(e){var r={function:!0,object:!0},i=r[typeof n]&&n&&!n.nodeType?n:void 0,o=r[typeof t]&&t&&!t.nodeType?t:void 0,a=h(i&&o&&"object"==typeof e&&e),s=h(r[typeof self]&&self),l=h(r[typeof window]&&window),c=h(r[typeof this]&&this),u=a||l!==(c&&c.window)&&l||s||c||Function("return this")();function h(e){return e&&e.Object===Object?e:null}t.exports=u}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],47:[function(e,t,n){var r=e("lodash._arraycopy"),i=e("lodash._arrayeach"),o=e("lodash._createassigner"),a=e("lodash.isarguments"),s=e("lodash.isarray"),l=e("lodash.isplainobject"),c=e("lodash.istypedarray"),u=e("lodash.keys"),h=e("lodash.toplainobject");var d=9007199254740991;var f,p=(f="length",function(e){return null==e?void 0:e[f]});function A(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}(p(e))}var g=o(function e(t,n,o,d,f){if(g=typeof(p=t),!p||"object"!=g&&"function"!=g)return t;var p,g,v=A(n)&&(s(n)||c(n)),m=v?void 0:u(n);return i(m||n,function(i,u){if(m&&(i=n[u=i]),function(e){return!!e&&"object"==typeof e}(i))d||(d=[]),f||(f=[]),function(e,t,n,i,o,u,d){for(var f=u.length,p=t[n];f--;)if(u[f]==p)return void(e[n]=d[f]);var g=e[n],v=o?o(g,p,n,e,t):void 0,m=void 0===v;m&&(v=p,A(p)&&(s(p)||c(p))?v=s(g)?g:A(g)?r(g):[]:l(p)||a(p)?v=a(g)?h(g):l(g)?g:{}:m=!1),u.push(p),d.push(v),m?e[n]=i(v,p,o,u,d):(v==v?v!==g:g==g)&&(e[n]=v)}(t,n,u,e,o,d,f);else{var p=t[u],g=o?o(p,i,u,t,n):void 0,y=void 0===g;y&&(g=i),void 0===g&&(!v||u in t)||!y&&(g==g?g===p:p!=p)||(t[u]=g)}}),t});t.exports=g},{"lodash._arraycopy":48,"lodash._arrayeach":49,"lodash._createassigner":50,"lodash.isarguments":55,"lodash.isarray":56,"lodash.isplainobject":57,"lodash.istypedarray":59,"lodash.keys":60,"lodash.toplainobject":62}],48:[function(e,t,n){t.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},{}],49:[function(e,t,n){t.exports=function(e,t){for(var n=-1,r=e.length;++n<r&&!1!==t(e[n],n,e););return e}},{}],50:[function(e,t,n){var r=e("lodash._bindcallback"),i=e("lodash._isiterateecall"),o=e("lodash.restparam");t.exports=function(e){return o(function(t,n){var o=-1,a=null==t?0:n.length,s=a>2?n[a-2]:void 0,l=a>2?n[2]:void 0,c=a>1?n[a-1]:void 0;for("function"==typeof s?(s=r(s,c,5),a-=2):a-=(s="function"==typeof c?c:void 0)?1:0,l&&i(n[0],n[1],l)&&(s=a<3?void 0:s,a=1);++o<a;){var u=n[o];u&&e(t,u,s)}return t})}},{"lodash._bindcallback":51,"lodash._isiterateecall":52,"lodash.restparam":53}],51:[function(e,t,n){function r(e){return e}t.exports=function(e,t,n){if("function"!=typeof e)return r;if(void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}},{}],52:[function(e,t,n){var r=/^\d+$/,i=9007199254740991;var o,a=(o="length",function(e){return null==e?void 0:e[o]});function s(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(a(e))}t.exports=function(e,t,n){if(!function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(n))return!1;var o=typeof t;if("number"==o?s(n)&&function(e,t){return e="number"==typeof e||r.test(e)?+e:-1,t=null==t?i:t,e>-1&&e%1==0&&e<t}(t,n.length):"string"==o&&t in n){var a=n[t];return e==e?e===a:a!=a}return!1}},{}],53:[function(e,t,n){var r="Expected a function",i=Math.max;t.exports=function(e,t){if("function"!=typeof e)throw new TypeError(r);return t=i(void 0===t?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,o=i(n.length-t,0),a=Array(o);++r<o;)a[r]=n[t+r];switch(t){case 0:return e.call(this,a);case 1:return e.call(this,n[0],a);case 2:return e.call(this,n[0],n[1],a)}var s=Array(t+1);for(r=-1;++r<t;)s[r]=n[r];return s[t]=a,e.apply(this,s)}}},{}],54:[function(e,t,n){var r="[object Function]",i=/^\[object .+?Constructor\]$/;var o=Object.prototype,a=Function.prototype.toString,s=o.hasOwnProperty,l=o.toString,c=RegExp("^"+a.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(e,t){var n=null==e?void 0:e[t];return function(e){return null!=e&&(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&l.call(e)==r}(e)?c.test(a.call(e)):function(e){return!!e&&"object"==typeof e}(e)&&i.test(e))}(n)?n:void 0}},{}],55:[function(e,t,n){var r=9007199254740991,i="[object Arguments]",o="[object Function]",a="[object GeneratorFunction]",s=Object.prototype,l=s.hasOwnProperty,c=s.toString,u=s.propertyIsEnumerable;var h,d=(h="length",function(e){return null==e?void 0:e[h]});t.exports=function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}(d(e))&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?c.call(e):"";return t==o||t==a}(e)}(e)}(e)&&l.call(e,"callee")&&(!u.call(e,"callee")||c.call(e)==i)}},{}],56:[function(e,t,n){var r="[object Function]",i=/^\[object .+?Constructor\]$/;function o(e){return!!e&&"object"==typeof e}var a,s,l=Object.prototype,c=Function.prototype.toString,u=l.hasOwnProperty,h=l.toString,d=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),f=9007199254740991;var p=(a=Array,function(e){return null!=e&&(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&h.call(e)==r}(e)?d.test(c.call(e)):o(e)&&i.test(e))}(s=null==a?void 0:a["isArray"])?s:void 0)||function(e){return o(e)&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}(e.length)&&"[object Array]"==h.call(e)};t.exports=p},{}],57:[function(e,t,n){var r=e("lodash._basefor"),i=e("lodash.isarguments"),o=e("lodash.keysin"),a="[object Object]";var s=Object.prototype,l=s.hasOwnProperty,c=s.toString;t.exports=function(e){var t,n;return!(!function(e){return!!e&&"object"==typeof e}(e)||c.call(e)!=a||i(e)||!(l.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(r(e,function(e,t){n=t},o),void 0===n||l.call(e,n))}},{"lodash._basefor":58,"lodash.isarguments":55,"lodash.keysin":61}],58:[function(e,t,n){var r,i=function(e,t,n){for(var i=-1,o=Object(e),a=n(e),s=a.length;s--;){var l=a[r?s:++i];if(!1===t(o[l],l,o))break}return e};t.exports=i},{}],59:[function(e,t,n){var r=9007199254740991,i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;var o=Object.prototype.toString;t.exports=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}(e.length)&&!!i[o.call(e)]}},{}],60:[function(e,t,n){var r=e("lodash._getnative"),i=e("lodash.isarguments"),o=e("lodash.isarray"),a=/^\d+$/,s=Object.prototype.hasOwnProperty,l=r(Object,"keys"),c=9007199254740991;var u,h=(u="length",function(e){return null==e?void 0:e[u]});function d(e,t){return e="number"==typeof e||a.test(e)?+e:-1,t=null==t?c:t,e>-1&&e%1==0&&e<t}function f(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function p(e){for(var t=function(e){if(null==e)return[];A(e)||(e=Object(e));var t=e.length;t=t&&f(t)&&(o(e)||i(e))&&t||0;var n=e.constructor,r=-1,a="function"==typeof n&&n.prototype===e,l=Array(t),c=t>0;for(;++r<t;)l[r]=r+"";for(var u in e)c&&d(u,t)||"constructor"==u&&(a||!s.call(e,u))||l.push(u);return l}(e),n=t.length,r=n&&e.length,a=!!r&&f(r)&&(o(e)||i(e)),l=-1,c=[];++l<n;){var u=t[l];(a&&d(u,r)||s.call(e,u))&&c.push(u)}return c}function A(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var g=l?function(e){var t,n=null==e?void 0:e.constructor;return"function"==typeof n&&n.prototype===e||"function"!=typeof e&&(null!=(t=e)&&f(h(t)))?p(e):A(e)?l(e):[]}:p;t.exports=g},{"lodash._getnative":54,"lodash.isarguments":55,"lodash.isarray":56}],61:[function(e,t,n){var r=e("lodash.isarguments"),i=e("lodash.isarray"),o=/^\d+$/,a=Object.prototype.hasOwnProperty,s=9007199254740991;function l(e,t){return e="number"==typeof e||o.test(e)?+e:-1,t=null==t?s:t,e>-1&&e%1==0&&e<t}t.exports=function(e){if(null==e)return[];var t,n;n=typeof(t=e),(!t||"object"!=n&&"function"!=n)&&(e=Object(e));var o=e.length;o=o&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}(o)&&(i(e)||r(e))&&o||0;for(var c=e.constructor,u=-1,h="function"==typeof c&&c.prototype===e,d=Array(o),f=o>0;++u<o;)d[u]=u+"";for(var p in e)f&&l(p,o)||"constructor"==p&&(h||!a.call(e,p))||d.push(p);return d}},{"lodash.isarguments":55,"lodash.isarray":56}],62:[function(e,t,n){var r=e("lodash._basecopy"),i=e("lodash.keysin");t.exports=function(e){return r(e,i(e))}},{"lodash._basecopy":63,"lodash.keysin":61}],63:[function(e,t,n){t.exports=function(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}},{}],64:[function(e,t,n){var r,i;r=e("jszip"),i=e("./internal"),t.exports={asBlob:function(e,t){var n;return n=new r,i.addFiles(n,e,t),i.generateDocument(n)}}},{"./internal":65,jszip:14}],65:[function(e,t,n){(function(n,r){var i,o,a;i=e("./templates/document"),o=e("./utils"),a={merge:e("lodash.merge")},t.exports={generateDocument:function(e){var t;if(t=e.generate({type:"arraybuffer"}),n.Blob)return new Blob([t],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"});if(n.Buffer)return new r(new Uint8Array(t));throw new Error("Neither Blob nor Buffer are accessible in this environment. Consider adding Blob.js shim")},renderDocumentFile:function(e){var t;return null==e&&(e={}),t=a.merge({margins:{top:1440,right:1440,bottom:1440,left:1440,header:720,footer:720,gutter:0}},function(){switch(e.orientation){case"landscape":return{height:12240,width:15840,orient:"landscape"};default:return{width:12240,height:15840,orient:"portrait"}}}(),{margins:e.margins}),i(t)},addFiles:function(e,t,n){return e.file("[Content_Types].xml",r("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8VHlwZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9wYWNrYWdlLzIwMDYvY29udGVudC10eXBlcyI+CiAgPERlZmF1bHQgRXh0ZW5zaW9uPSJyZWxzIiBDb250ZW50VHlwZT0KICAgICJhcHBsaWNhdGlvbi92bmQub3BlbnhtbGZvcm1hdHMtcGFja2FnZS5yZWxhdGlvbnNoaXBzK3htbCIgLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2RvY3VtZW50LnhtbCIgQ29udGVudFR5cGU9CiAgICAiYXBwbGljYXRpb24vdm5kLm9wZW54bWxmb3JtYXRzLW9mZmljZWRvY3VtZW50LndvcmRwcm9jZXNzaW5nbWwuZG9jdW1lbnQubWFpbit4bWwiLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2FmY2h1bmsubWh0IiBDb250ZW50VHlwZT0ibWVzc2FnZS9yZmM4MjIiLz4KPC9UeXBlcz4K","base64")),e.folder("_rels").file(".rels",r("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8UmVsYXRpb25zaGlwcyB4bWxucz0iaHR0cDovL3NjaGVtYXMub3BlbnhtbGZvcm1hdHMub3JnL3BhY2thZ2UvMjAwNi9yZWxhdGlvbnNoaXBzIj4KICA8UmVsYXRpb25zaGlwCiAgICAgIFR5cGU9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9vZmZpY2VEb2N1bWVudC8yMDA2L3JlbGF0aW9uc2hpcHMvb2ZmaWNlRG9jdW1lbnQiCiAgICAgIFRhcmdldD0iL3dvcmQvZG9jdW1lbnQueG1sIiBJZD0iUjA5YzgzZmFmYzA2NzQ4OGUiIC8+CjwvUmVsYXRpb25zaGlwcz4K","base64")),e.folder("word").file("document.xml",this.renderDocumentFile(n)).file("afchunk.mht",o.getMHTdocument(t)).folder("_rels").file("document.xml.rels",r("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8UmVsYXRpb25zaGlwcyB4bWxucz0iaHR0cDovL3NjaGVtYXMub3BlbnhtbGZvcm1hdHMub3JnL3BhY2thZ2UvMjAwNi9yZWxhdGlvbnNoaXBzIj4KICA8UmVsYXRpb25zaGlwIFR5cGU9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9vZmZpY2VEb2N1bWVudC8yMDA2L3JlbGF0aW9uc2hpcHMvYUZDaHVuayIKICAgIFRhcmdldD0iL3dvcmQvYWZjaHVuay5taHQiIElkPSJodG1sQ2h1bmsiIC8+CjwvUmVsYXRpb25zaGlwcz4K","base64"))}}}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./templates/document":66,"./utils":69,buffer:1,"lodash.merge":47}],66:[function(_dereq_,module,exports){var _={escape:_dereq_("lodash.escape")};module.exports=function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<w:document\n xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"\n xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"\n xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"\n xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"\n xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"\n xmlns:ns6="http://schemas.openxmlformats.org/schemaLibrary/2006/main"\n xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"\n xmlns:ns8="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"\n xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram"\n xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture"\n xmlns:ns11="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"\n xmlns:dsp="http://schemas.microsoft.com/office/drawing/2008/diagram"\n xmlns:ns13="urn:schemas-microsoft-com:office:excel"\n xmlns:o="urn:schemas-microsoft-com:office:office"\n xmlns:v="urn:schemas-microsoft-com:vml"\n xmlns:w10="urn:schemas-microsoft-com:office:word"\n xmlns:ns17="urn:schemas-microsoft-com:office:powerpoint"\n xmlns:odx="http://opendope.org/xpaths"\n xmlns:odc="http://opendope.org/conditions"\n xmlns:odq="http://opendope.org/questions"\n xmlns:odi="http://opendope.org/components"\n xmlns:odgm="http://opendope.org/SmartArt/DataHierarchy"\n xmlns:ns24="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"\n xmlns:ns25="http://schemas.openxmlformats.org/drawingml/2006/compatibility"\n xmlns:ns26="http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas">\n <w:body>\n <w:altChunk r:id="htmlChunk" />\n <w:sectPr>\n <w:pgSz w:w="'+(null==(__t=width)?"":__t)+'" w:h="'+(null==(__t=height)?"":__t)+'" w:orient="'+(null==(__t=orient)?"":__t)+'" />\n <w:pgMar w:top="'+(null==(__t=margins.top)?"":__t)+'"\n w:right="'+(null==(__t=margins.right)?"":__t)+'"\n w:bottom="'+(null==(__t=margins.bottom)?"":__t)+'"\n w:left="'+(null==(__t=margins.left)?"":__t)+'"\n w:header="'+(null==(__t=margins.header)?"":__t)+'"\n w:footer="'+(null==(__t=margins.footer)?"":__t)+'"\n w:gutter="'+(null==(__t=margins.gutter)?"":__t)+'"/>\n </w:sectPr>\n </w:body>\n</w:document>\n';return __p}},{"lodash.escape":45}],67:[function(_dereq_,module,exports){var _={escape:_dereq_("lodash.escape")};module.exports=function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='MIME-Version: 1.0\nContent-Type: multipart/related;\n type="text/html";\n boundary="----=mhtDocumentPart"\n\n\n------=mhtDocumentPart\nContent-Type: text/html;\n charset="utf-8"\nContent-Transfer-Encoding: quoted-printable\nContent-Location: file:///C:/fake/document.html\n\n'+(null==(__t=htmlSource)?"":__t)+"\n\n"+(null==(__t=contentParts)?"":__t)+"\n\n------=mhtDocumentPart--\n";return __p}},{"lodash.escape":45}],68:[function(_dereq_,module,exports){var _={escape:_dereq_("lodash.escape")};module.exports=function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="------=mhtDocumentPart\nContent-Type: "+(null==(__t=contentType)?"":__t)+"\nContent-Transfer-Encoding: "+(null==(__t=contentEncoding)?"":__t)+"\nContent-Location: "+(null==(__t=contentLocation)?"":__t)+"\n\n"+(null==(__t=encodedContent)?"":__t)+"\n";return __p}},{"lodash.escape":45}],69:[function(e,t,n){var r,i;r=e("./templates/mht_document"),i=e("./templates/mht_part"),t.exports={getMHTdocument:function(e){var t,n;return e=(n=this._prepareImageParts(e)).htmlSource,t=n.imageContentParts,e=e.replace(/\=/g,"=3D"),r({htmlSource:e,contentParts:t.join("\n")})},_prepareImageParts:function(e){var t,n,r;if(t=[],r=/"data:(\w+\/\w+);(\w+),(\S+)"/g,n=function(e,n,r,o){var a;return a="file:///C:/fake/image"+t.length+"."+n.split("/")[1],t.push(i({contentType:n,contentEncoding:r,contentLocation:a,encodedContent:o})),'"'+a+'"'},"string"==typeof e)return/<img/g.test(e)?{htmlSource:e=e.replace(r,n),imageContentParts:t}:{htmlSource:e,imageContentParts:t};throw new Error("Not a valid source provided!")}}},{"./templates/mht_document":67,"./templates/mht_part":68}]},{},[64])(64)},module.exports=e()},U5ju:function(e,t,n){n("M6a0"),n("zQR9"),n("+tPU"),n("CXw9"),n("EqBC"),n("jKW+"),e.exports=n("FeBl").Promise},UuGF:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},V0p0:function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte),o=r.new_double,a=r.new_float,s=r.new_float_n,l=r.new_int,c=r.new_int_n,u=(r.assert,n("f64w")),h=n("d4lq"),d=n("vbIv"),f=n("fd8M"),p=n("QG6P"),A=n("/00o"),g=n("jhNZ");function v(){var e=40;function t(){this.write_timing=0,this.ptr=0,this.buf=i(e)}this.Class_ID=0,this.lame_encode_frame_init=0,this.iteration_init_init=0,this.fill_buffer_resample_init=0,this.mfbuf=s([2,v.MFSIZE]),this.mode_gr=0,this.channels_in=0,this.channels_out=0,this.resample_ratio=0,this.mf_samples_to_encode=0,this.mf_size=0,this.VBR_min_bitrate=0,this.VBR_max_bitrate=0,this.bitrate_index=0,this.samplerate_index=0,this.mode_ext=0,this.lowpass1=0,this.lowpass2=0,this.highpass1=0,this.highpass2=0,this.noise_shaping=0,this.noise_shaping_amp=0,this.substep_shaping=0,this.psymodel=0,this.noise_shaping_stop=0,this.subblock_gain=0,this.use_best_huffman=0,this.full_outer_loop=0,this.l3_side=new u,this.ms_ratio=a(2),this.padding=0,this.frac_SpF=0,this.slot_lag=0,this.tag_spec=null,this.nMusicCRC=0,this.OldValue=l(2),this.CurrentStep=l(2),this.masking_lower=0,this.bv_scf=l(576),this.pseudohalf=l(g.SFBMAX),this.sfb21_extra=!1,this.inbuf_old=new Array(2),this.blackfilt=new Array(2*v.BPC+1),this.itime=o(2),this.sideinfo_len=0,this.sb_sample=s([2,2,18,A.SBLIMIT]),this.amp_filter=a(32),this.header=new Array(v.MAX_HEADER_BUF),this.h_ptr=0,this.w_ptr=0,this.ancillary_flag=0,this.ResvSize=0,this.ResvMax=0,this.scalefac_band=new h,this.minval_l=a(A.CBANDS),this.minval_s=a(A.CBANDS),this.nb_1=s([4,A.CBANDS]),this.nb_2=s([4,A.CBANDS]),this.nb_s1=s([4,A.CBANDS]),this.nb_s2=s([4,A.CBANDS]),this.s3_ss=null,this.s3_ll=null,this.decay=0,this.thm=new Array(4),this.en=new Array(4),this.tot_ener=a(4),this.loudness_sq=s([2,2]),this.loudness_sq_save=a(2),this.mld_l=a(A.SBMAX_l),this.mld_s=a(A.SBMAX_s),this.bm_l=l(A.SBMAX_l),this.bo_l=l(A.SBMAX_l),this.bm_s=l(A.SBMAX_s),this.bo_s=l(A.SBMAX_s),this.npart_l=0,this.npart_s=0,this.s3ind=c([A.CBANDS,2]),this.s3ind_s=c([A.CBANDS,2]),this.numlines_s=l(A.CBANDS),this.numlines_l=l(A.CBANDS),this.rnumlines_l=a(A.CBANDS),this.mld_cb_l=a(A.CBANDS),this.mld_cb_s=a(A.CBANDS),this.numlines_s_num1=0,this.numlines_l_num1=0,this.pe=a(4),this.ms_ratio_s_old=0,this.ms_ratio_l_old=0,this.ms_ener_ratio_old=0,this.blocktype_old=l(2),this.nsPsy=new d,this.VBR_seek_table=new f,this.ATH=null,this.PSY=null,this.nogap_total=0,this.nogap_current=0,this.decode_on_the_fly=!0,this.findReplayGain=!0,this.findPeakSample=!0,this.PeakSample=0,this.RadioGain=0,this.AudiophileGain=0,this.rgdata=null,this.noclipGainChange=0,this.noclipScale=0,this.bitrate_stereoMode_Hist=c([16,5]),this.bitrate_blockType_Hist=c([16,6]),this.pinfo=null,this.hip=null,this.in_buffer_nsamples=0,this.in_buffer_0=null,this.in_buffer_1=null,this.iteration_loop=null;for(var n=0;n<this.en.length;n++)this.en[n]=new p;for(n=0;n<this.thm.length;n++)this.thm[n]=new p;for(n=0;n<this.header.length;n++)this.header[n]=new t}v.MFSIZE=3456+A.ENCDELAY-A.MDCTDELAY,v.MAX_HEADER_BUF=256,v.MAX_BITS_PER_CHANNEL=4095,v.MAX_BITS_PER_GRANULE=7680,v.BPC=320,e.exports=v},V3tA:function(e,t,n){n("R4wc"),e.exports=n("FeBl").Object.assign},"VU/8":function(e,t){e.exports=function(e,t,n,r,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var c,u="function"==typeof s?s.options:s;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=r),c){var h=u.functional,d=h?u.render:u.beforeCreate;h?(u._injectStyles=c,u.render=function(e,t){return c.call(t),d(e,t)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:a,exports:s,options:u}}},Vi3T:function(e,t,n){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}}},W2nU:function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,h=-1;function d(){u&&l&&(u=!1,l.length?c=l.concat(c):h=-1,c.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=c.length;t;){for(l=c,c=[];++h<t;)l&&l[h].run();h=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function A(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||u||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=A,i.addListener=A,i.once=A,i.off=A,i.removeListener=A,i.removeAllListeners=A,i.emit=A,i.prependListener=A,i.prependOnceListener=A,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},WER7:function(e,t,n){"use strict";var r=n("PiFy"),i=n("7ar3"),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),l=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(r,a,arguments);l&&c&&(l(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}));return t};var h=function(){return s(r,o,arguments)};c?c(e.exports,"apply",{value:h}):e.exports.apply=h},WFjR:function(e,t,n){e.exports=n("2rcl")},WwEC:function(e,t,n){(function(t){!function(t){"use strict";var n=function(){},r="undefined"==typeof console?{log:n,debug:n,error:n,warn:n,info:n}:console;if(void 0!==e&&e.exports||void 0===t.jsMind){var i=t.document,o=function(e){return i.createElement(e)},a=function(e,t){e.hasChildNodes()?e.firstChild.nodeValue=t:e.appendChild(i.createTextNode(t))},s=function(e,t){t instanceof HTMLElement?(e.innerHTML="",e.appendChild(t)):e.innerHTML=t};"function"!=typeof String.prototype.startsWith&&(String.prototype.startsWith=function(e){return this.slice(0,e.length)===e});var l={container:"",editable:!1,theme:null,mode:"full",support_html:!0,view:{engine:"canvas",hmargin:100,vmargin:50,line_width:2,line_color:"#555",draggable:!1,hide_scrollbars_when_draggable:!1},layout:{hspace:30,vspace:20,pspace:13},default_event_handle:{enable_mousedown_handle:!0,enable_click_handle:!0,enable_dblclick_handle:!0,enable_mousewheel_handle:!0},shortcut:{enable:!0,handles:{},mapping:{addchild:45,addbrother:13,editnode:113,delnode:46,toggle:32,left:37,up:38,right:39,down:40}}},c=function(e){c.current=this,this.version="0.4.8";var t={};c.util.json.merge(t,l),c.util.json.merge(t,e),t.container?(this.options=t,this.inited=!1,this.mind=null,this.event_handles=[],this.init()):r.error("the options.container should not be null or empty.")};c.direction={left:-1,center:0,right:1},c.event_type={show:1,resize:2,edit:3,select:4},c.key={meta:8192,ctrl:4096,alt:2048,shift:1024},c.node=function(e,t,n,i,o,a,s,l){e?"number"==typeof t?(void 0===l&&(l=!0),this.id=e,this.index=t,this.topic=n,this.data=i||{},this.isroot=o,this.parent=a,this.direction=s,this.expanded=!!l,this.children=[],this._data={}):r.error("invalid node index"):r.error("invalid nodeid")},c.node.compare=function(e,t){var n=e.index,r=t.index;return n>=0&&r>=0?n-r:-1==n&&-1==r?0:-1==n?1:-1==r?-1:0},c.node.inherited=function(e,t){if(e&&t){if(e.id===t.id)return!0;if(e.isroot)return!0;for(var n=e.id,r=t;!r.isroot;)if((r=r.parent).id===n)return!0}return!1},c.node.prototype={get_location:function(){var e=this._data.view;return{x:e.abs_x,y:e.abs_y}},get_size:function(){var e=this._data.view;return{w:e.width,h:e.height}}},c.mind=function(){this.name=null,this.author=null,this.version=null,this.root=null,this.selected=null,this.nodes={}},c.mind.prototype={get_node:function(e){return e in this.nodes?this.nodes[e]:(r.warn("the node[id="+e+"] can not be found"),null)},set_root:function(e,t,n){null==this.root?(this.root=new c.node(e,0,t,n,!0),this._put_node(this.root)):r.error("root node is already exist")},add_node:function(e,t,n,i,o,a,s){if(!c.util.is_node(e)){var l=this.get_node(e);return l?this.add_node(l,t,n,i,o,a,s):(r.error("the parent_node[id="+e+"] can not be found."),null)}var u=o||-1,h=null;if(e.isroot){var d=c.direction.right;if(isNaN(a)){if("side"!==c.current.options.mode){for(var f=e.children,p=f.length,A=0,g=0;g<p;g++)f[g].direction===c.direction.left?A--:A++;d=p>1&&A>0?c.direction.left:c.direction.right}}else d=a!=c.direction.left?c.direction.right:c.direction.left;h=new c.node(t,u,n,i,!1,e,d,s)}else h=new c.node(t,u,n,i,!1,e,e.direction,s);return this._put_node(h)?(e.children.push(h),this._reindex(e)):(r.error("fail, the nodeid '"+h.id+"' has been already exist."),h=null),h},insert_node_before:function(e,t,n,i){if(!c.util.is_node(e)){var o=this.get_node(e);return o?this.insert_node_before(o,t,n,i):(r.error("the node_before[id="+e+"] can not be found."),null)}var a=e.index-.5;return this.add_node(e.parent,t,n,i,a)},get_node_before:function(e){if(!c.util.is_node(e)){var t=this.get_node(e);return t?this.get_node_before(t):(r.error("the node[id="+e+"] can not be found."),null)}if(e.isroot)return null;var n=e.index-2;return n>=0?e.parent.children[n]:null},insert_node_after:function(e,t,n,i){if(!c.util.is_node(e)){var o=this.get_node(e);return o?this.insert_node_after(o,t,n,i):(r.error("the node_after[id="+e+"] can not be found."),null)}var a=e.index+.5;return this.add_node(e.parent,t,n,i,a)},get_node_after:function(e){if(!c.util.is_node(e)){var t=this.get_node(e);return t?this.get_node_after(t):(r.error("the node[id="+e+"] can not be found."),null)}if(e.isroot)return null;var n=e.index;return e.parent.children.length>=n?e.parent.children[n]:null},move_node:function(e,t,n,i){if(!c.util.is_node(e)){var o=this.get_node(e);return o?this.move_node(o,t,n,i):(r.error("the node[id="+e+"] can not be found."),null)}return n||(n=e.parent.id),this._move_node(e,t,n,i)},_flow_node_direction:function(e,t){void 0===t?t=e.direction:e.direction=t;for(var n=e.children.length;n--;)this._flow_node_direction(e.children[n],t)},_move_node_internal:function(e,t){if(e&&t)if("_last_"==t)e.index=-1,this._reindex(e.parent);else if("_first_"==t)e.index=0,this._reindex(e.parent);else{var n=t?this.get_node(t):null;null!=n&&null!=n.parent&&n.parent.id==e.parent.id&&(e.index=n.index-.5,this._reindex(e.parent))}return e},_move_node:function(e,t,n,r){if(e&&n){if(e.parent.id!=n){for(var i=e.parent.children,o=i.length;o--;)if(i[o].id==e.id){i.splice(o,1);break}e.parent=this.get_node(n),e.parent.children.push(e)}e.parent.isroot?r==c.direction.left?e.direction=r:e.direction=c.direction.right:e.direction=e.parent.direction,this._move_node_internal(e,t),this._flow_node_direction(e)}return e},remove_node:function(e){if(!c.util.is_node(e)){var t=this.get_node(e);return t?this.remove_node(t):(r.error("the node[id="+e+"] can not be found."),!1)}if(!e)return r.error("fail, the node can not be found"),!1;if(e.isroot)return r.error("fail, can not remove root node"),!1;null!=this.selected&&this.selected.id==e.id&&(this.selected=null);for(var n=e.children,i=n.length;i--;)this.remove_node(n[i]);n.length=0;for(var o=e.parent.children,a=o.length;a--;)if(o[a].id==e.id){o.splice(a,1);break}for(var s in delete this.nodes[e.id],e)delete e[s];return e=null,!0},_put_node:function(e){return e.id in this.nodes?(r.warn("the nodeid '"+e.id+"' has been already exist."),!1):(this.nodes[e.id]=e,!0)},_reindex:function(e){if(e instanceof c.node){e.children.sort(c.node.compare);for(var t=0;t<e.children.length;t++)e.children[t].index=t+1}}},c.format={node_tree:{example:{meta:{name:"jsMind",author:"hizzgdev@163.com",version:"0.4.8"},format:"node_tree",data:{id:"root",topic:"jsMind Example"}},get_mind:function(e){var t=c.format.node_tree,n=new c.mind;return n.name=e.meta.name,n.author=e.meta.author,n.version=e.meta.version,t._parse(n,e.data),n},get_data:function(e){var t=c.format.node_tree,n={};return n.meta={name:e.name,author:e.author,version:e.version},n.format="node_tree",n.data=t._buildnode(e.root),n},_parse:function(e,t){var n=c.format.node_tree,r=n._extract_data(t);if(e.set_root(t.id,t.topic,r),"children"in t)for(var i=t.children,o=0;o<i.length;o++)n._extract_subnode(e,e.root,i[o])},_extract_data:function(e){var t={};for(var n in e)"id"!=n&&"topic"!=n&&"children"!=n&&"direction"!=n&&"expanded"!=n&&(t[n]=e[n]);return t},_extract_subnode:function(e,t,n){var r=c.format.node_tree,i=r._extract_data(n),o=null;t.isroot&&(o="left"==n.direction?c.direction.left:c.direction.right);var a=e.add_node(t,n.id,n.topic,i,null,o,n.expanded);if(n.children)for(var s=n.children,l=0;l<s.length;l++)r._extract_subnode(e,a,s[l])},_buildnode:function(e){var t=c.format.node_tree;if(e instanceof c.node){var n={id:e.id,topic:e.topic,expanded:e.expanded};if(e.parent&&e.parent.isroot&&(n.direction=e.direction==c.direction.left?"left":"right"),null!=e.data){var r=e.data;for(var i in r)n[i]=r[i]}var o=e.children;if(o.length>0){n.children=[];for(var a=0;a<o.length;a++)n.children.push(t._buildnode(o[a]))}return n}}},node_array:{example:{meta:{name:"jsMind",author:"hizzgdev@163.com",version:"0.4.8"},format:"node_array",data:[{id:"root",topic:"jsMind Example",isroot:!0}]},get_mind:function(e){var t=c.format.node_array,n=new c.mind;return n.name=e.meta.name,n.author=e.meta.author,n.version=e.meta.version,t._parse(n,e.data),n},get_data:function(e){var t=c.format.node_array,n={};return n.meta={name:e.name,author:e.author,version:e.version},n.format="node_array",n.data=[],t._array(e,n.data),n},_parse:function(e,t){var n=c.format.node_array,i=t.slice(0);i.reverse();var o=n._extract_root(e,i);o?n._extract_subnode(e,o,i):r.error("root node can not be found")},_extract_root:function(e,t){for(var n=c.format.node_array,r=t.length;r--;)if("isroot"in t[r]&&t[r].isroot){var i=t[r],o=n._extract_data(i);return e.set_root(i.id,i.topic,o),t.splice(r,1),i.id}return null},_extract_subnode:function(e,t,n){for(var r=c.format.node_array,i=n.length,o=null,a=null,s=0;i--;)if((o=n[i]).parentid==t){a=r._extract_data(o);var l=null,u=o.direction;u&&(l="left"==u?c.direction.left:c.direction.right),e.add_node(t,o.id,o.topic,a,null,l,o.expanded),n.splice(i,1),s++;var h=r._extract_subnode(e,o.id,n);h>0&&(i=n.length,s+=h)}return s},_extract_data:function(e){var t={};for(var n in e)"id"!=n&&"topic"!=n&&"parentid"!=n&&"isroot"!=n&&"direction"!=n&&"expanded"!=n&&(t[n]=e[n]);return t},_array:function(e,t){c.format.node_array._array_node(e.root,t)},_array_node:function(e,t){var n=c.format.node_array;if(e instanceof c.node){var r={id:e.id,topic:e.topic,expanded:e.expanded};if(e.parent&&(r.parentid=e.parent.id),e.isroot&&(r.isroot=!0),e.parent&&e.parent.isroot&&(r.direction=e.direction==c.direction.left?"left":"right"),null!=e.data){var i=e.data;for(var o in i)r[o]=i[o]}t.push(r);for(var a=e.children.length,s=0;s<a;s++)n._array_node(e.children[s],t)}}},freemind:{example:{meta:{name:"jsMind",author:"hizzgdev@163.com",version:"0.4.8"},format:"freemind",data:'<map version="1.0.1"><node ID="root" TEXT="freemind Example"/></map>'},get_mind:function(e){var t=c.format.freemind,n=new c.mind;n.name=e.meta.name,n.author=e.meta.author,n.version=e.meta.version;var r=e.data,i=t._parse_xml(r),o=t._find_root(i);return t._load_node(n,null,o),n},get_data:function(e){var t=c.format.freemind,n={};n.meta={name:e.name,author:e.author,version:e.version},n.format="freemind";var r=[];return r.push('<map version="1.0.1">'),t._buildmap(e.root,r),r.push("</map>"),n.data=r.join(" "),n},_parse_xml:function(e){var t=null;window.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async=!1,t.loadXML(e));return t},_find_root:function(e){for(var t=e.childNodes,n=null,r=null,i=0;i<t.length;i++)if(1==(r=t[i]).nodeType&&"map"==r.tagName){n=r;break}if(n){var o=n.childNodes;n=null;for(i=0;i<o.length;i++)if(1==(r=o[i]).nodeType&&"node"==r.tagName){n=r;break}}return n},_load_node:function(e,t,n){var r=c.format.freemind,i=n.getAttribute("ID"),o=n.getAttribute("TEXT");if(null==o)for(var a=n.childNodes,s=null,l=0;l<a.length;l++)if(1==(s=a[l]).nodeType&&"richcontent"===s.tagName){o=s.textContent;break}var u=r._load_attributes(n),h=!("expanded"in u)||"true"==u.expanded;delete u.expanded;var d=n.getAttribute("POSITION"),f=null;d&&(f="left"==d?c.direction.left:c.direction.right),t?e.add_node(t,i,o,u,null,f,h):e.set_root(i,o,u);var p=n.childNodes,A=null;for(l=0;l<p.length;l++)1==(A=p[l]).nodeType&&"node"==A.tagName&&r._load_node(e,i,A)},_load_attributes:function(e){for(var t=e.childNodes,n=null,r={},i=0;i<t.length;i++)1==(n=t[i]).nodeType&&"attribute"===n.tagName&&(r[n.getAttribute("NAME")]=n.getAttribute("VALUE"));return r},_buildmap:function(e,t){var n=c.format.freemind,r=null;e.parent&&e.parent.isroot&&(r=e.direction===c.direction.left?"left":"right"),t.push("<node"),t.push('ID="'+e.id+'"'),r&&t.push('POSITION="'+r+'"'),t.push('TEXT="'+e.topic+'">'),t.push('<attribute NAME="expanded" VALUE="'+e.expanded+'"/>');var i=e.data;if(null!=i)for(var o in i)t.push('<attribute NAME="'+o+'" VALUE="'+i[o]+'"/>');for(var a=e.children,s=0;s<a.length;s++)n._buildmap(a[s],t);t.push("</node>")}}},c.util={is_node:function(e){return!!e&&e instanceof c.node},ajax:{_xhr:function(){var e=null;if(window.XMLHttpRequest)e=new XMLHttpRequest;else try{e=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}return e},_eurl:function(e){return encodeURIComponent(e)},request:function(e,t,n,i,o){var a=c.util.ajax,s=null,l=[];for(var u in t)l.push(a._eurl(u)+"="+a._eurl(t[u]));l.length>0&&(s=l.join("&"));var h=a._xhr();h&&(h.onreadystatechange=function(){if(4==h.readyState)if(200==h.status||0==h.status){if("function"==typeof i){var e=c.util.json.string2json(h.responseText);i(null!=e?e:h.responseText)}}else"function"==typeof o?o(h):r.error("xhr request failed.",h)},n=n||"GET",h.open(n,e,!0),h.setRequestHeader("If-Modified-Since","0"),"POST"==n?(h.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),h.send(s)):h.send())},get:function(e,t){return c.util.ajax.request(e,{},"GET",t)},post:function(e,t,n){return c.util.ajax.request(e,t,"POST",n)}},dom:{add_event:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}},file:{read:function(e,t){var n=new FileReader;n.onload=function(){"function"==typeof t&&t(this.result,e.name)},n.readAsText(e)},save:function(e,n,r){var a;if("function"==typeof t.Blob)a=new Blob([e],{type:n});else{var s=new(t.BlobBuilder||t.MozBlobBuilder||t.WebKitBlobBuilder||t.MSBlobBuilder);s.append(e),a=s.getBlob(n)}if(navigator.msSaveBlob)navigator.msSaveBlob(a,r);else{var l=(t.URL||t.webkitURL).createObjectURL(a),c=o("a");if("download"in c){c.style.visibility="hidden",c.href=l,c.download=r,i.body.appendChild(c);var u=i.createEvent("MouseEvents");u.initEvent("click",!0,!0),c.dispatchEvent(u),i.body.removeChild(c)}else location.href=l}}},json:{json2string:function(e){if(JSON)try{return JSON.stringify(e)}catch(e){return r.warn(e),r.warn("can not convert to string"),null}},string2json:function(e){if(JSON)try{return JSON.parse(e)}catch(e){return r.warn(e),r.warn("can not parse to json"),null}},merge:function(e,t){for(var n in t)n in e?"object"!=typeof e[n]||"[object object]"!=Object.prototype.toString.call(e[n]).toLowerCase()||e[n].length?e[n]=t[n]:c.util.json.merge(e[n],t[n]):e[n]=t[n];return e}},uuid:{newid:function(){return((new Date).getTime().toString(16)+Math.random().toString(16).substr(2)).substr(2,16)}},text:{is_empty:function(e){return!e||0==e.replace(/\s*/,"").length}}},c.prototype={init:function(){if(!this.inited){this.inited=!0;var e=this.options,t={mode:e.mode,hspace:e.layout.hspace,vspace:e.layout.vspace,pspace:e.layout.pspace},n={container:e.container,support_html:e.support_html,engine:e.view.engine,hmargin:e.view.hmargin,vmargin:e.view.vmargin,line_width:e.view.line_width,line_color:e.view.line_color,draggable:e.view.draggable,hide_scrollbars_when_draggable:e.view.hide_scrollbars_when_draggable};this.data=new c.data_provider(this),this.layout=new c.layout_provider(this,t),this.view=new c.view_provider(this,n),this.shortcut=new c.shortcut_provider(this,e.shortcut),this.data.init(),this.layout.init(),this.view.init(),this.shortcut.init(),this._event_bind(),c.init_plugins(this)}},enable_edit:function(){this.options.editable=!0},disable_edit:function(){this.options.editable=!1},enable_event_handle:function(e){this.options.default_event_handle["enable_"+e+"_handle"]=!0},disable_event_handle:function(e){this.options.default_event_handle["enable_"+e+"_handle"]=!1},get_editable:function(){return this.options.editable},set_theme:function(e){var t=this.options.theme;this.options.theme=e||null,t!=this.options.theme&&(this.view.reset_theme(),this.view.reset_custom_style())},_event_bind:function(){this.view.add_event(this,"mousedown",this.mousedown_handle),this.view.add_event(this,"click",this.click_handle),this.view.add_event(this,"dblclick",this.dblclick_handle),this.view.add_event(this,"mousewheel",this.mousewheel_handle)},mousedown_handle:function(e){if(this.options.default_event_handle.enable_mousedown_handle){var t=e.target||event.srcElement,n=this.view.get_binded_nodeid(t);n?"jmnode"==t.tagName.toLowerCase()&&this.select_node(n):this.select_clear()}},click_handle:function(e){if(this.options.default_event_handle.enable_click_handle){var t=e.target||event.srcElement;if(this.view.is_expander(t)){var n=this.view.get_binded_nodeid(t);n&&this.toggle_node(n)}}},dblclick_handle:function(e){if(this.options.default_event_handle.enable_dblclick_handle&&this.get_editable()){var t=e.target||event.srcElement,n=this.view.get_binded_nodeid(t);n&&this.begin_edit(n)}},mousewheel_handle:function(e){this.options.default_event_handle.enable_mousewheel_handle&&window.event.ctrlKey&&(e.preventDefault(),"Up"==(e.deltaY>0?"Up":"Down")?this.view.zoomIn():this.view.zoomOut())},begin_edit:function(e){if(!c.util.is_node(e)){var t=this.get_node(e);return t?this.begin_edit(t):(r.error("the node[id="+e+"] can not be found."),!1)}this.get_editable()?this.view.edit_node_begin(e):r.error("fail, this mind map is not editable.")},end_edit:function(){this.view.edit_node_end()},toggle_node:function(e){if(!c.util.is_node(e)){var t=this.get_node(e);return t?this.toggle_node(t):void r.error("the node[id="+e+"] can not be found.")}e.isroot||(this.view.save_location(e),this.layout.toggle_node(e),this.view.relayout(),this.view.restore_location(e))},expand_node:function(e){if(!c.util.is_node(e)){var t=this.get_node(e);return t?this.expand_node(t):void r.error("the node[id="+e+"] can not be found.")}e.isroot||(this.view.save_location(e),this.layout.expand_node(e),this.view.relayout(),this.view.restore_location(e))},collapse_node:function(e){if(!c.util.is_node(e)){var t=this.get_node(e);return t?this.collapse_node(t):void r.error("the node[id="+e+"] can not be found.")}e.isroot||(this.view.save_location(e),this.layout.collapse_node(e),this.view.relayout(),this.view.restore_location(e))},expand_all:function(){this.layout.expand_all(),this.view.relayout()},collapse_all:function(){this.layout.collapse_all(),this.view.relayout()},expand_to_depth:function(e){this.layout.expand_to_depth(e),this.view.relayout()},_reset:function(){this.view.reset(),this.layout.reset(),this.data.reset()},_show:function(e){var t=e||c.format.node_array.example;this.mind=this.data.load(t),this.mind?(r.debug("data.load ok"),this.view.load(),r.debug("view.load ok"),this.layout.layout(),r.debug("layout.layout ok"),this.view.show(!0),r.debug("view.show ok"),this.invoke_event_handle(c.event_type.show,{data:[e]})):r.error("data.load error")},show:function(e){this._reset(),this._show(e)},get_meta:function(){return{name:this.mind.name,author:this.mind.author,version:this.mind.version}},get_data:function(e){var t=e||"node_tree";return this.data.get_data(t)},get_root:function(){return this.mind.root},get_node:function(e){return this.mind.get_node(e)},add_node:function(e,t,n,i){if(this.get_editable()){var o=this.mind.add_node(e,t,n,i);return o&&(this.view.add_node(o),this.layout.layout(),this.view.show(!1),this.view.reset_node_custom_style(o),this.expand_node(e),this.invoke_event_handle(c.event_type.edit,{evt:"add_node",data:[e.id,t,n,i],node:t})),o}return r.error("fail, this mind map is not editable"),null},insert_node_before:function(e,t,n,i){if(this.get_editable()){var o=c.util.is_node(e)?e.id:e,a=this.mind.insert_node_before(e,t,n,i);return a&&(this.view.add_node(a),this.layout.layout(),this.view.show(!1),this.invoke_event_handle(c.event_type.edit,{evt:"insert_node_before",data:[o,t,n,i],node:t})),a}return r.error("fail, this mind map is not editable"),null},insert_node_after:function(e,t,n,i){if(this.get_editable()){var o=c.util.is_node(e)?e.id:e,a=this.mind.insert_node_after(e,t,n,i);return a&&(this.view.add_node(a),this.layout.layout(),this.view.show(!1),this.invoke_event_handle(c.event_type.edit,{evt:"insert_node_after",data:[o,t,n,i],node:t})),a}return r.error("fail, this mind map is not editable"),null},remove_node:function(e){if(!c.util.is_node(e)){var t=this.get_node(e);return t?this.remove_node(t):(r.error("the node[id="+e+"] can not be found."),!1)}if(this.get_editable()){if(e.isroot)return r.error("fail, can not remove root node"),!1;var n=e.id,i=e.parent.id,o=this.get_node(i);return this.view.save_location(o),this.view.remove_node(e),this.mind.remove_node(e),this.layout.layout(),this.view.show(!1),this.view.restore_location(o),this.invoke_event_handle(c.event_type.edit,{evt:"remove_node",data:[n],node:i}),!0}return r.error("fail, this mind map is not editable"),!1},update_node:function(e,t){if(this.get_editable())if(c.util.text.is_empty(t))r.warn("fail, topic can not be empty");else{var n=this.get_node(e);if(n){if(n.topic===t)return r.info("nothing changed"),void this.view.update_node(n);n.topic=t,this.view.update_node(n),this.layout.layout(),this.view.show(!1),this.invoke_event_handle(c.event_type.edit,{evt:"update_node",data:[e,t],node:e})}}else r.error("fail, this mind map is not editable")},move_node:function(e,t,n,i){if(this.get_editable()){var o=this.mind.move_node(e,t,n,i);o&&(this.view.update_node(o),this.layout.layout(),this.view.show(!1),this.invoke_event_handle(c.event_type.edit,{evt:"move_node",data:[e,t,n,i],node:e}))}else r.error("fail, this mind map is not editable")},select_node:function(e){if(!c.util.is_node(e)){var t=this.get_node(e);return t?this.select_node(t):void r.error("the node[id="+e+"] can not be found.")}this.layout.is_visible(e)&&(this.mind.selected=e,this.view.select_node(e),this.invoke_event_handle(c.event_type.select,{evt:"select_node",data:[],node:e.id}))},get_selected_node:function(){return this.mind?this.mind.selected:null},select_clear:function(){this.mind&&(this.mind.selected=null,this.view.select_clear())},is_node_visible:function(e){return this.layout.is_visible(e)},find_node_before:function(e){if(!c.util.is_node(e)){var t=this.get_node(e);return t?this.find_node_before(t):void r.error("the node[id="+e+"] can not be found.")}if(e.isroot)return null;var n=null;if(e.parent.isroot)for(var i=e.parent.children,o=null,a=null,s=0;s<i.length;s++)a=i[s],e.direction===a.direction&&(e.id===a.id&&(n=o),o=a);else n=this.mind.get_node_before(e);return n},find_node_after:function(e){if(!c.util.is_node(e)){var t=this.get_node(e);return t?this.find_node_after(t):void r.error("the node[id="+e+"] can not be found.")}if(e.isroot)return null;var n=null;if(e.parent.isroot){for(var i=e.parent.children,o=!1,a=null,s=0;s<i.length;s++)if(a=i[s],e.direction===a.direction){if(o){n=a;break}e.id===a.id&&(o=!0)}}else n=this.mind.get_node_after(e);return n},set_node_color:function(e,t,n){if(!this.get_editable())return r.error("fail, this mind map is not editable"),null;var i=this.mind.get_node(e);i&&(t&&(i.data["background-color"]=t),n&&(i.data["foreground-color"]=n),this.view.reset_node_custom_style(i))},set_node_font_style:function(e,t,n,i){if(!this.get_editable())return r.error("fail, this mind map is not editable"),null;var o=this.mind.get_node(e);o&&(t&&(o.data["font-size"]=t),n&&(o.data["font-weight"]=n),i&&(o.data["font-style"]=i),this.view.reset_node_custom_style(o),this.view.update_node(o),this.layout.layout(),this.view.show(!1))},set_node_background_image:function(e,t,n,i,o){if(!this.get_editable())return r.error("fail, this mind map is not editable"),null;var a=this.mind.get_node(e);a&&(t&&(a.data["background-image"]=t),n&&(a.data.width=n),i&&(a.data.height=i),o&&(a.data["background-rotation"]=o),this.view.reset_node_custom_style(a),this.view.update_node(a),this.layout.layout(),this.view.show(!1))},set_node_background_rotation:function(e,t){if(!this.get_editable())return r.error("fail, this mind map is not editable"),null;var n=this.mind.get_node(e);if(n){if(!n.data["background-image"])return r.error("fail, only can change rotation angle of node with background image"),null;n.data["background-rotation"]=t,this.view.reset_node_custom_style(n),this.view.update_node(n),this.layout.layout(),this.view.show(!1)}},resize:function(){this.view.resize()},add_event_listener:function(e){"function"==typeof e&&this.event_handles.push(e)},clear_event_listener:function(){this.event_handles=[]},invoke_event_handle:function(e,n){var r=this;t.setTimeout(function(){r._invoke_event_handle(e,n)},0)},_invoke_event_handle:function(e,t){for(var n=this.event_handles.length,r=0;r<n;r++)this.event_handles[r](e,t)}},c.data_provider=function(e){this.jm=e},c.data_provider.prototype={init:function(){r.debug("data.init")},reset:function(){r.debug("data.reset")},load:function(e){var t=null,n=null;return"node_array"==(t="object"==typeof e?e.format?e.format:"node_tree":"freemind")?n=c.format.node_array.get_mind(e):"node_tree"==t?n=c.format.node_tree.get_mind(e):"freemind"==t?n=c.format.freemind.get_mind(e):r.warn("unsupported format"),n},get_data:function(e){var t=null;return"node_array"==e?t=c.format.node_array.get_data(this.jm.mind):"node_tree"==e?t=c.format.node_tree.get_data(this.jm.mind):"freemind"==e?t=c.format.freemind.get_data(this.jm.mind):r.error("unsupported "+e+" format"),t}},c.layout_provider=function(e,t){this.opts=t,this.jm=e,this.isside="side"==this.opts.mode,this.bounds=null,this.cache_valid=!1},c.layout_provider.prototype={init:function(){r.debug("layout.init")},reset:function(){r.debug("layout.reset"),this.bounds={n:0,s:0,w:0,e:0}},layout:function(){r.debug("layout.layout"),this.layout_direction(),this.layout_offset()},layout_direction:function(){this._layout_direction_root()},_layout_direction_root:function(){var e=this.jm.mind.root,t=null;"layout"in e._data?t=e._data.layout:(t={},e._data.layout=t);var n=e.children,r=n.length;if(t.direction=c.direction.center,t.side_index=0,this.isside)for(var i=r;i--;)this._layout_direction_side(n[i],c.direction.right,i);else{i=r;for(var o=null;i--;)(o=n[i]).direction==c.direction.left?this._layout_direction_side(o,c.direction.left,i):this._layout_direction_side(o,c.direction.right,i)}},_layout_direction_side:function(e,t,n){var r=null;"layout"in e._data?r=e._data.layout:(r={},e._data.layout=r);var i=e.children,o=i.length;r.direction=t,r.side_index=n;for(var a=o;a--;)this._layout_direction_side(i[a],t,a)},layout_offset:function(){var e=this.jm.mind.root,t=e._data.layout;t.offset_x=0,t.offset_y=0,t.outer_height=0;for(var n=e.children,r=n.length,i=[],o=[],a=null;r--;)(a=n[r])._data.layout.direction==c.direction.right?o.unshift(a):i.unshift(a);t.left_nodes=i,t.right_nodes=o,t.outer_height_left=this._layout_offset_subnodes(i),t.outer_height_right=this._layout_offset_subnodes(o),this.bounds.e=e._data.view.width/2,this.bounds.w=0-this.bounds.e,this.bounds.n=0,this.bounds.s=Math.max(t.outer_height_left,t.outer_height_right)},_layout_offset_subnodes:function(e){for(var t=0,n=e.length,r=n,i=null,o=0,a=null,s=0,l=null;r--;)a=(i=e[r])._data.layout,null==l&&(l=i.parent._data),o=this._layout_offset_subnodes(i.children),i.expanded||(o=0,this.set_visible(i.children,!1)),o=Math.max(i._data.view.height,o),a.outer_height=o,a.offset_y=s-o/2,a.offset_x=this.opts.hspace*a.direction+l.view.width*(l.layout.direction+a.direction)/2,i.parent.isroot||(a.offset_x+=this.opts.pspace*a.direction),s=s-o-this.opts.vspace,t+=o;n>1&&(t+=this.opts.vspace*(n-1)),r=n;for(var c=t/2;r--;)(i=e[r])._data.layout.offset_y+=c;return t},_layout_offset_subnodes_height:function(e){for(var t=0,n=e.length,r=n,i=null,o=0,a=null,s=0,l=null;r--;)a=(i=e[r])._data.layout,null==l&&(l=i.parent._data),o=this._layout_offset_subnodes_height(i.children),i.expanded||(o=0),o=Math.max(i._data.view.height,o),a.outer_height=o,a.offset_y=s-o/2,s=s-o-this.opts.vspace,t+=o;n>1&&(t+=this.opts.vspace*(n-1)),r=n;for(var c=t/2;r--;)(i=e[r])._data.layout.offset_y+=c;return t},get_node_offset:function(e){var t=e._data.layout,n=null;if("_offset_"in t&&this.cache_valid?n=t._offset_:(n={x:-1,y:-1},t._offset_=n),-1==n.x||-1==n.y){var r=t.offset_x,i=t.offset_y;if(!e.isroot){var o=this.get_node_offset(e.parent);r+=o.x,i+=o.y}n.x=r,n.y=i}return n},get_node_point:function(e){var t=e._data.view,n=this.get_node_offset(e),r={};return r.x=n.x+t.width*(e._data.layout.direction-1)/2,r.y=n.y-t.height/2,r},get_node_point_in:function(e){return this.get_node_offset(e)},get_node_point_out:function(e){var t=e._data.layout,n=null;if("_pout_"in t&&this.cache_valid?n=t._pout_:(n={x:-1,y:-1},t._pout_=n),-1==n.x||-1==n.y)if(e.isroot)n.x=0,n.y=0;else{var r=e._data.view,i=this.get_node_offset(e);n.x=i.x+(r.width+this.opts.pspace)*e._data.layout.direction,n.y=i.y}return n},get_expander_point:function(e){var t=this.get_node_point_out(e),n={};return e._data.layout.direction==c.direction.right?n.x=t.x-this.opts.pspace:n.x=t.x,n.y=t.y-Math.ceil(this.opts.pspace/2),n},get_min_size:function(){var e=this.jm.mind.nodes,t=null,n=null;for(var r in e)t=e[r],(n=this.get_node_point_out(t)).x>this.bounds.e&&(this.bounds.e=n.x),n.x<this.bounds.w&&(this.bounds.w=n.x);return{w:this.bounds.e-this.bounds.w,h:this.bounds.s-this.bounds.n}},toggle_node:function(e){e.isroot||(e.expanded?this.collapse_node(e):this.expand_node(e))},expand_node:function(e){e.expanded=!0,this.part_layout(e),this.set_visible(e.children,!0),this.jm.invoke_event_handle(c.event_type.show,{evt:"expand_node",data:[],node:e.id})},collapse_node:function(e){e.expanded=!1,this.part_layout(e),this.set_visible(e.children,!1),this.jm.invoke_event_handle(c.event_type.show,{evt:"collapse_node",data:[],node:e.id})},expand_all:function(){var e,t=this.jm.mind.nodes,n=0;for(var r in t)(e=t[r]).expanded||(e.expanded=!0,n++);if(n>0){var i=this.jm.mind.root;this.part_layout(i),this.set_visible(i.children,!0)}},collapse_all:function(){var e,t=this.jm.mind.nodes,n=0;for(var r in t)(e=t[r]).expanded&&!e.isroot&&(e.expanded=!1,n++);if(n>0){var i=this.jm.mind.root;this.part_layout(i),this.set_visible(i.children,!0)}},expand_to_depth:function(e,t,n){if(!(e<1))for(var r=t||this.jm.mind.root.children,i=n||1,o=r.length,a=null;o--;)a=r[o],i<e&&(a.expanded||this.expand_node(a),this.expand_to_depth(e,a.children,i+1)),i==e&&a.expanded&&this.collapse_node(a)},part_layout:function(e){var t=this.jm.mind.root;if(t){var n=t._data.layout;e.isroot?(n.outer_height_right=this._layout_offset_subnodes_height(n.right_nodes),n.outer_height_left=this._layout_offset_subnodes_height(n.left_nodes)):e._data.layout.direction==c.direction.right?n.outer_height_right=this._layout_offset_subnodes_height(n.right_nodes):n.outer_height_left=this._layout_offset_subnodes_height(n.left_nodes),this.bounds.s=Math.max(n.outer_height_left,n.outer_height_right),this.cache_valid=!1}else r.warn("can not found root node")},set_visible:function(e,t){for(var n=e.length,r=null;n--;)(r=e[n])._data.layout,r.expanded?this.set_visible(r.children,t):this.set_visible(r.children,!1),r.isroot||(r._data.layout.visible=t)},is_expand:function(e){return e.expanded},is_visible:function(e){var t=e._data.layout;return!("visible"in t&&!t.visible)}},c.graph_canvas=function(e){this.opts=e.opts,this.e_canvas=o("canvas"),this.e_canvas.className="jsmind",this.canvas_ctx=this.e_canvas.getContext("2d"),this.size={w:0,h:0}},c.graph_canvas.prototype={element:function(){return this.e_canvas},set_size:function(e,t){this.size.w=e,this.size.h=t,this.e_canvas.width=e,this.e_canvas.height=t},clear:function(){this.canvas_ctx.clearRect(0,0,this.size.w,this.size.h)},draw_line:function(e,t,n){var r=this.canvas_ctx;r.strokeStyle=this.opts.line_color,r.lineWidth=this.opts.line_width,r.lineCap="round",this._bezier_to(r,t.x+n.x,t.y+n.y,e.x+n.x,e.y+n.y)},copy_to:function(e,t){e.drawImage(this.e_canvas,0,0),t&&t()},_bezier_to:function(e,t,n,r,i){e.beginPath(),e.moveTo(t,n),e.bezierCurveTo(t+2*(r-t)/3,n,t,i,r,i),e.stroke()},_line_to:function(e,t,n,r,i){e.beginPath(),e.moveTo(t,n),e.lineTo(r,i),e.stroke()}},c.graph_svg=function(e){this.view=e,this.opts=e.opts,this.e_svg=c.graph_svg.c("svg"),this.e_svg.setAttribute("class","jsmind"),this.size={w:0,h:0},this.lines=[]},c.graph_svg.c=function(e){return i.createElementNS("http://www.w3.org/2000/svg",e)},c.graph_svg.prototype={element:function(){return this.e_svg},set_size:function(e,t){this.size.w=e,this.size.h=t,this.e_svg.setAttribute("width",e),this.e_svg.setAttribute("height",t)},clear:function(){for(var e=this.lines.length;e--;)this.e_svg.removeChild(this.lines[e]);this.lines.length=0},draw_line:function(e,t,n){var r=c.graph_svg.c("path");r.setAttribute("stroke",this.opts.line_color),r.setAttribute("stroke-width",this.opts.line_width),r.setAttribute("fill","transparent"),this.lines.push(r),this.e_svg.appendChild(r),this._bezier_to(r,t.x+n.x,t.y+n.y,e.x+n.x,e.y+n.y)},copy_to:function(e,t){var n=new Image;n.onload=function(){e.drawImage(n,0,0),t&&t()},n.src="data:image/svg+xml;base64,"+btoa((new XMLSerializer).serializeToString(this.e_svg))},_bezier_to:function(e,t,n,r,i){e.setAttribute("d","M"+t+" "+n+" C "+(t+2*(r-t)/3)+" "+n+", "+t+" "+i+", "+r+" "+i)},_line_to:function(e,t,n,r,i){e.setAttribute("d","M "+t+" "+n+" L "+r+" "+i)}},c.view_provider=function(e,t){this.opts=t,this.jm=e,this.layout=e.layout,this.container=null,this.e_panel=null,this.e_nodes=null,this.size={w:0,h:0},this.selected_node=null,this.editing_node=null,this.graph=null},c.view_provider.prototype={init:function(){var e,t;if(r.debug("view.init"),this.container=(t=this.opts.container)&&"object"==typeof t&&1===t.nodeType&&"object"==typeof t.style&&"object"==typeof t.ownerDocument?this.opts.container:(e=this.opts.container,i.getElementById(e)),this.container){this.e_panel=o("div"),this.e_nodes=o("jmnodes"),this.e_editor=o("input"),this.graph="svg"===this.opts.engine.toLowerCase()?new c.graph_svg(this):new c.graph_canvas(this),this.e_panel.className="jsmind-inner",this.e_panel.tabIndex=1,this.e_panel.appendChild(this.graph.element()),this.e_panel.appendChild(this.e_nodes),this.e_editor.className="jsmind-editor",this.e_editor.type="text",this.actualZoom=1,this.zoomStep=.1,this.minZoom=.5,this.maxZoom=2;var n=this;c.util.dom.add_event(this.e_editor,"keydown",function(e){var t=e||event;13==t.keyCode&&(n.edit_node_end(),t.stopPropagation())}),c.util.dom.add_event(this.e_editor,"blur",function(e){n.edit_node_end()}),this.container.appendChild(this.e_panel),this.enable_draggable_canvas()}else r.error("the options.view.container was not be found in dom")},add_event:function(e,t,n){c.util.dom.add_event(this.e_nodes,t,function(t){var r=t||event;n.call(e,r)})},get_binded_nodeid:function(e){if(null==e)return null;var t=e.tagName.toLowerCase();return"jmnodes"==t||"body"==t||"html"==t?null:"jmnode"==t||"jmexpander"==t?e.getAttribute("nodeid"):this.get_binded_nodeid(e.parentElement)},is_expander:function(e){return"jmexpander"==e.tagName.toLowerCase()},reset:function(){r.debug("view.reset"),this.selected_node=null,this.clear_lines(),this.clear_nodes(),this.reset_theme()},reset_theme:function(){var e=this.jm.options.theme;this.e_nodes.className=e?"theme-"+e:""},reset_custom_style:function(){var e=this.jm.mind.nodes;for(var t in e)this.reset_node_custom_style(e[t])},load:function(){r.debug("view.load"),this.init_nodes()},expand_size:function(){var e=this.layout.get_min_size(),t=e.w+2*this.opts.hmargin,n=e.h+2*this.opts.vmargin,r=this.e_panel.clientWidth,i=this.e_panel.clientHeight;r<t&&(r=t),i<n&&(i=n),this.size.w=r,this.size.h=i},init_nodes_size:function(e){var t=e._data.view;t.width=t.element.clientWidth,t.height=t.element.clientHeight},init_nodes:function(){var e=this.jm.mind.nodes,t=i.createDocumentFragment();for(var n in e)this.create_node_element(e[n],t);for(var n in this.e_nodes.appendChild(t),e)this.init_nodes_size(e[n])},add_node:function(e){this.create_node_element(e,this.e_nodes),this.init_nodes_size(e)},create_node_element:function(e,t){var n=null;"view"in e._data?n=e._data.view:(n={},e._data.view=n);var r=o("jmnode");if(e.isroot)r.className="root";else{var i=o("jmexpander");a(i,"-"),i.setAttribute("nodeid",e.id),i.style.visibility="hidden",t.appendChild(i),n.expander=i}e.topic&&(this.opts.support_html?s(r,e.topic):a(r,e.topic)),r.setAttribute("nodeid",e.id),r.style.visibility="hidden",this._reset_node_custom_style(r,e.data),t.appendChild(r),n.element=r},remove_node:function(e){null!=this.selected_node&&this.selected_node.id==e.id&&(this.selected_node=null),null!=this.editing_node&&this.editing_node.id==e.id&&(e._data.view.element.removeChild(this.e_editor),this.editing_node=null);for(var t=e.children,n=t.length;n--;)this.remove_node(t[n]);if(e._data.view){var r=e._data.view.element,i=e._data.view.expander;this.e_nodes.removeChild(r),this.e_nodes.removeChild(i),e._data.view.element=null,e._data.view.expander=null}},update_node:function(e){var t=e._data.view,n=t.element;e.topic&&(this.opts.support_html?s(n,e.topic):a(n,e.topic)),t.width=n.clientWidth,t.height=n.clientHeight},select_node:function(e){this.selected_node&&(this.selected_node._data.view.element.className=this.selected_node._data.view.element.className.replace(/\s*selected\b/i,""),this.reset_node_custom_style(this.selected_node)),e&&(this.selected_node=e,e._data.view.element.className+=" selected",this.clear_node_custom_style(e))},select_clear:function(){this.select_node(null)},get_editing_node:function(){return this.editing_node},is_editing:function(){return!!this.editing_node},edit_node_begin:function(e){if(e.topic){null!=this.editing_node&&this.edit_node_end(),this.editing_node=e;var t=e._data.view.element,n=e.topic,i=getComputedStyle(t);this.e_editor.value=n,this.e_editor.style.width=t.clientWidth-parseInt(i.getPropertyValue("padding-left"))-parseInt(i.getPropertyValue("padding-right"))+"px",t.innerHTML="",t.appendChild(this.e_editor),t.style.zIndex=5,this.e_editor.focus(),this.e_editor.select()}else r.warn("don't edit image nodes")},edit_node_end:function(){if(null!=this.editing_node){var e=this.editing_node;this.editing_node=null;var t=e._data.view.element,n=this.e_editor.value;t.style.zIndex="auto",t.removeChild(this.e_editor),c.util.text.is_empty(n)||e.topic===n?this.opts.support_html?s(t,e.topic):a(t,e.topic):this.jm.update_node(e.id,n)}this.e_panel.focus()},get_view_offset:function(){var e=this.layout.bounds;return{x:(this.size.w-e.e-e.w)/2,y:this.size.h/2}},resize:function(){this.graph.set_size(1,1),this.e_nodes.style.width="1px",this.e_nodes.style.height="1px",this.expand_size(),this._show()},_show:function(){this.graph.set_size(this.size.w,this.size.h),this.e_nodes.style.width=this.size.w+"px",this.e_nodes.style.height=this.size.h+"px",this.show_nodes(),this.show_lines(),this.jm.invoke_event_handle(c.event_type.resize,{data:[]})},zoomIn:function(){return this.setZoom(this.actualZoom+this.zoomStep)},zoomOut:function(){return this.setZoom(this.actualZoom-this.zoomStep)},setZoom:function(e){if(e<this.minZoom||e>this.maxZoom)return!1;this.actualZoom=e;for(var t=0;t<this.e_panel.children.length;t++)this.e_panel.children[t].style.transform="scale("+e+")";return this.show(!0),!0},_center_root:function(){var e=this.e_panel.clientWidth,t=this.e_panel.clientHeight;if(this.size.w>e){var n=this.get_view_offset();this.e_panel.scrollLeft=n.x-e/2}this.size.h>t&&(this.e_panel.scrollTop=(this.size.h-t)/2)},show:function(e){r.debug("view.show"),this.expand_size(),this._show(),e&&this._center_root()},relayout:function(){this.expand_size(),this._show()},save_location:function(e){var t=e._data.view;t._saved_location={x:parseInt(t.element.style.left)-this.e_panel.scrollLeft,y:parseInt(t.element.style.top)-this.e_panel.scrollTop}},restore_location:function(e){var t=e._data.view;this.e_panel.scrollLeft=parseInt(t.element.style.left)-t._saved_location.x,this.e_panel.scrollTop=parseInt(t.element.style.top)-t._saved_location.y},clear_nodes:function(){var e=this.jm.mind;if(null!=e){var t=e.nodes,n=null;for(var r in t)(n=t[r])._data.view.element=null,n._data.view.expander=null;this.e_nodes.innerHTML=""}},show_nodes:function(){var e=this.jm.mind.nodes,t=null,n=null,r=null,i=null,o=null,s="-",l=null,c=this.get_view_offset();for(var u in e)n=(l=(t=e[u])._data.view).element,r=l.expander,this.layout.is_visible(t)?(this.reset_node_custom_style(t),i=this.layout.get_node_point(t),l.abs_x=c.x+i.x,l.abs_y=c.y+i.y,n.style.left=c.x+i.x+"px",n.style.top=c.y+i.y+"px",n.style.display="",n.style.visibility="visible",!t.isroot&&t.children.length>0&&(s=t.expanded?"-":"+",o=this.layout.get_expander_point(t),r.style.left=c.x+o.x+"px",r.style.top=c.y+o.y+"px",r.style.display="",r.style.visibility="visible",a(r,s)),t.isroot||0!=t.children.length||(r.style.display="none",r.style.visibility="hidden")):(n.style.display="none",r.style.display="none")},reset_node_custom_style:function(e){this._reset_node_custom_style(e._data.view.element,e.data)},_reset_node_custom_style:function(e,t){if("background-color"in t&&(e.style.backgroundColor=t["background-color"]),"foreground-color"in t&&(e.style.color=t["foreground-color"]),"width"in t&&(e.style.width=t.width+"px"),"height"in t&&(e.style.height=t.height+"px"),"font-size"in t&&(e.style.fontSize=t["font-size"]+"px"),"font-weight"in t&&(e.style.fontWeight=t["font-weight"]),"font-style"in t&&(e.style.fontStyle=t["font-style"]),"background-image"in t){var n=t["background-image"];if(n.startsWith("data")&&t.width&&t.height){var r=new Image;r.onload=function(){var t=o("canvas");t.width=e.clientWidth,t.height=e.clientHeight;if(t.getContext){t.getContext("2d").drawImage(this,2,2,e.clientWidth,e.clientHeight);var n=t.toDataURL();e.style.backgroundImage="url("+n+")"}},r.src=n}else e.style.backgroundImage="url("+n+")";e.style.backgroundSize="99%","background-rotation"in t&&(e.style.transform="rotate("+t["background-rotation"]+"deg)")}},clear_node_custom_style:function(e){var t=e._data.view.element;t.style.backgroundColor="",t.style.color=""},clear_lines:function(){this.graph.clear()},show_lines:function(){this.clear_lines();var e=this.jm.mind.nodes,t=null,n=null,r=null,i=this.get_view_offset();for(var o in e)(t=e[o]).isroot||"visible"in t._data.layout&&!t._data.layout.visible||(n=this.layout.get_node_point_in(t),r=this.layout.get_node_point_out(t.parent),this.graph.draw_line(r,n,i))},enable_draggable_canvas:function(){if(this.opts.draggable){let e,t,n=!1;this.opts.hide_scrollbars_when_draggable&&(this.e_panel.style="overflow: hidden"),c.util.dom.add_event(this.container,"mousedown",r=>{n=!0,e=r.clientX,t=r.clientY}),c.util.dom.add_event(this.container,"mouseup",()=>{n=!1}),c.util.dom.add_event(this.container,"mousemove",r=>{n&&(this.e_panel.scrollBy(e-r.clientX,t-r.clientY),e=r.clientX,t=r.clientY)})}}},c.shortcut_provider=function(e,t){this.jm=e,this.opts=t,this.mapping=t.mapping,this.handles=t.handles,this._newid=null,this._mapping={}},c.shortcut_provider.prototype={init:function(){for(var e in c.util.dom.add_event(this.jm.view.e_panel,"keydown",this.handler.bind(this)),this.handles.addchild=this.handle_addchild,this.handles.addbrother=this.handle_addbrother,this.handles.editnode=this.handle_editnode,this.handles.delnode=this.handle_delnode,this.handles.toggle=this.handle_toggle,this.handles.up=this.handle_up,this.handles.down=this.handle_down,this.handles.left=this.handle_left,this.handles.right=this.handle_right,this.mapping)this.mapping[e]&&e in this.handles&&(this._mapping[this.mapping[e]]=this.handles[e]);"function"==typeof this.opts.id_generator?this._newid=this.opts.id_generator:this._newid=c.util.uuid.newid},enable_shortcut:function(){this.opts.enable=!0},disable_shortcut:function(){this.opts.enable=!1},handler:function(e){if(9==e.which&&e.preventDefault(),!this.jm.view.is_editing()){var t=e||event;if(!this.opts.enable)return!0;var n=t.keyCode+(t.metaKey<<13)+(t.ctrlKey<<12)+(t.altKey<<11)+(t.shiftKey<<10);n in this._mapping&&this._mapping[n].call(this,this.jm,e)}},handle_addchild:function(e,t){var n=e.get_selected_node();if(n){var r=this._newid();e.add_node(n,r,"New Node")&&(e.select_node(r),e.begin_edit(r))}},handle_addbrother:function(e,t){var n=e.get_selected_node();if(n&&!n.isroot){var r=this._newid();e.insert_node_after(n,r,"New Node")&&(e.select_node(r),e.begin_edit(r))}},handle_editnode:function(e,t){var n=e.get_selected_node();n&&e.begin_edit(n)},handle_delnode:function(e,t){var n=e.get_selected_node();n&&!n.isroot&&(e.select_node(n.parent),e.remove_node(n))},handle_toggle:function(e,t){var n=t||event,r=e.get_selected_node();r&&(e.toggle_node(r.id),n.stopPropagation(),n.preventDefault())},handle_up:function(e,t){var n=t||event,r=e.get_selected_node();if(r){var i=e.find_node_before(r);if(!i){var o=e.find_node_before(r.parent);o&&o.children.length>0&&(i=o.children[o.children.length-1])}i&&e.select_node(i),n.stopPropagation(),n.preventDefault()}},handle_down:function(e,t){var n=t||event,r=e.get_selected_node();if(r){var i=e.find_node_after(r);if(!i){var o=e.find_node_after(r.parent);o&&o.children.length>0&&(i=o.children[0])}i&&e.select_node(i),n.stopPropagation(),n.preventDefault()}},handle_left:function(e,t){this._handle_direction(e,t,c.direction.left)},handle_right:function(e,t){this._handle_direction(e,t,c.direction.right)},_handle_direction:function(e,t,n){var r=t||event,i=e.get_selected_node(),o=null;if(i){if(i.isroot){for(var a=i.children,s=[],l=0;l<a.length;l++)a[l].direction===n&&s.push(l);o=a[s[Math.floor((s.length-1)/2)]]}else if(i.direction===n){var c=(s=i.children).length;c>0&&(o=s[Math.floor((c-1)/2)])}else o=i.parent;o&&e.select_node(o),r.stopPropagation(),r.preventDefault()}}},c.plugin=function(e,t){this.name=e,this.init=t},c.plugins=[],c.register_plugin=function(e){e instanceof c.plugin&&c.plugins.push(e)},c.init_plugins=function(e){t.setTimeout(function(){c._init_plugins(e)},0)},c._init_plugins=function(e){for(var t=c.plugins.length,n=null,r=0;r<t;r++)"function"==typeof(n=c.plugins[r].init)&&n(e)},c.show=function(e,t){var n=new c(e);return n.show(t),n},e.exports=c}else r.log("jsMind has been already exist.")}("undefined"!=typeof window?window:t)}).call(t,n("DuR2"))},Wxq9:function(e,t,n){var r;window,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(e,t,n){"use strict";var r=n(3),i="object"==typeof self&&self&&self.Object===Object&&self,o=r.a||i||Function("return this")();t.a=o},function(e,t,n){e.exports=n(8)},function(e,n,r){"use strict";(function(e){var i=r(3),o="object"==typeof t&&t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o&&i.a.process,l=function(){try{return a&&a.require&&a.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();n.a=l}).call(this,r(5)(e))},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(9))},function(e,n,r){"use strict";(function(e){var i=r(0),o=r(6),a="object"==typeof t&&t&&!t.nodeType&&t,s=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=s&&s.exports===a?i.a.Buffer:void 0,c=(l?l.isBuffer:void 0)||o.a;n.a=c}).call(this,r(5)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,n,r){"use strict";(function(e){var i=r(0),o="object"==typeof t&&t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?i.a.Buffer:void 0,l=s?s.allocUnsafe:void 0;n.a=function(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}}).call(this,r(5)(e))},function(e){e.exports=JSON.parse('{"86":{"110000":"北京市","120000":"天津市","130000":"河北省","140000":"山西省","150000":"内蒙古自治区","210000":"辽宁省","220000":"吉林省","230000":"黑龙江省","310000":"上海市","320000":"江苏省","330000":"浙江省","340000":"安徽省","350000":"福建省","360000":"江西省","370000":"山东省","410000":"河南省","420000":"湖北省","430000":"湖南省","440000":"广东省","450000":"广西壮族自治区","460000":"海南省","500000":"重庆市","510000":"四川省","520000":"贵州省","530000":"云南省","540000":"西藏自治区","610000":"陕西省","620000":"甘肃省","630000":"青海省","640000":"宁夏回族自治区","650000":"新疆维吾尔自治区","710000":"台湾省","810000":"香港特别行政区","820000":"澳门特别行政区"},"110000":{"110100":"市辖区"},"110100":{"110101":"东城区","110102":"西城区","110105":"朝阳区","110106":"丰台区","110107":"石景山区","110108":"海淀区","110109":"门头沟区","110111":"房山区","110112":"通州区","110113":"顺义区","110114":"昌平区","110115":"大兴区","110116":"怀柔区","110117":"平谷区","110118":"密云区","110119":"延庆区"},"120000":{"120100":"市辖区"},"120100":{"120101":"和平区","120102":"河东区","120103":"河西区","120104":"南开区","120105":"河北区","120106":"红桥区","120110":"东丽区","120111":"西青区","120112":"津南区","120113":"北辰区","120114":"武清区","120115":"宝坻区","120116":"滨海新区","120117":"宁河区","120118":"静海区","120119":"蓟州区"},"130000":{"130100":"石家庄市","130200":"唐山市","130300":"秦皇岛市","130400":"邯郸市","130500":"邢台市","130600":"保定市","130700":"张家口市","130800":"承德市","130900":"沧州市","131000":"廊坊市","131100":"衡水市"},"130100":{"130101":"市辖区","130102":"长安区","130104":"桥西区","130105":"新华区","130107":"井陉矿区","130108":"裕华区","130109":"藁城区","130110":"鹿泉区","130111":"栾城区","130121":"井陉县","130123":"正定县","130125":"行唐县","130126":"灵寿县","130127":"高邑县","130128":"深泽县","130129":"赞皇县","130130":"无极县","130131":"平山县","130132":"元氏县","130133":"赵县","130171":"石家庄高新技术产业开发区","130172":"石家庄循环化工园区","130181":"辛集市","130183":"晋州市","130184":"新乐市"},"130200":{"130201":"市辖区","130202":"路南区","130203":"路北区","130204":"古冶区","130205":"开平区","130207":"丰南区","130208":"丰润区","130209":"曹妃甸区","130224":"滦南县","130225":"乐亭县","130227":"迁西县","130229":"玉田县","130271":"河北唐山芦台经济开发区","130272":"唐山市汉沽管理区","130273":"唐山高新技术产业开发区","130274":"河北唐山海港经济开发区","130281":"遵化市","130283":"迁安市","130284":"滦州市"},"130300":{"130301":"市辖区","130302":"海港区","130303":"山海关区","130304":"北戴河区","130306":"抚宁区","130321":"青龙满族自治县","130322":"昌黎县","130324":"卢龙县","130371":"秦皇岛市经济技术开发区","130372":"北戴河新区"},"130400":{"130401":"市辖区","130402":"邯山区","130403":"丛台区","130404":"复兴区","130406":"峰峰矿区","130407":"肥乡区","130408":"永年区","130423":"临漳县","130424":"成安县","130425":"大名县","130426":"涉县","130427":"磁县","130430":"邱县","130431":"鸡泽县","130432":"广平县","130433":"馆陶县","130434":"魏县","130435":"曲周县","130471":"邯郸经济技术开发区","130473":"邯郸冀南新区","130481":"武安市"},"130500":{"130501":"市辖区","130502":"桥东区","130503":"桥西区","130521":"邢台县","130522":"临城县","130523":"内丘县","130524":"柏乡县","130525":"隆尧县","130526":"任县","130527":"南和县","130528":"宁晋县","130529":"巨鹿县","130530":"新河县","130531":"广宗县","130532":"平乡县","130533":"威县","130534":"清河县","130535":"临西县","130571":"河北邢台经济开发区","130581":"南宫市","130582":"沙河市"},"130600":{"130601":"市辖区","130602":"竞秀区","130606":"莲池区","130607":"满城区","130608":"清苑区","130609":"徐水区","130623":"涞水县","130624":"阜平县","130626":"定兴县","130627":"唐县","130628":"高阳县","130629":"容城县","130630":"涞源县","130631":"望都县","130632":"安新县","130633":"易县","130634":"曲阳县","130635":"蠡县","130636":"顺平县","130637":"博野县","130638":"雄县","130671":"保定高新技术产业开发区","130672":"保定白沟新城","130681":"涿州市","130682":"定州市","130683":"安国市","130684":"高碑店市"},"130700":{"130701":"市辖区","130702":"桥东区","130703":"桥西区","130705":"宣化区","130706":"下花园区","130708":"万全区","130709":"崇礼区","130722":"张北县","130723":"康保县","130724":"沽源县","130725":"尚义县","130726":"蔚县","130727":"阳原县","130728":"怀安县","130730":"怀来县","130731":"涿鹿县","130732":"赤城县","130771":"张家口经济开发区","130772":"张家口市察北管理区","130773":"张家口市塞北管理区"},"130800":{"130801":"市辖区","130802":"双桥区","130803":"双滦区","130804":"鹰手营子矿区","130821":"承德县","130822":"兴隆县","130824":"滦平县","130825":"隆化县","130826":"丰宁满族自治县","130827":"宽城满族自治县","130828":"围场满族蒙古族自治县","130871":"承德高新技术产业开发区","130881":"平泉市"},"130900":{"130901":"市辖区","130902":"新华区","130903":"运河区","130921":"沧县","130922":"青县","130923":"东光县","130924":"海兴县","130925":"盐山县","130926":"肃宁县","130927":"南皮县","130928":"吴桥县","130929":"献县","130930":"孟村回族自治县","130971":"河北沧州经济开发区","130972":"沧州高新技术产业开发区","130973":"沧州渤海新区","130981":"泊头市","130982":"任丘市","130983":"黄骅市","130984":"河间市"},"131000":{"131001":"市辖区","131002":"安次区","131003":"广阳区","131022":"固安县","131023":"永清县","131024":"香河县","131025":"大城县","131026":"文安县","131028":"大厂回族自治县","131071":"廊坊经济技术开发区","131081":"霸州市","131082":"三河市"},"131100":{"131101":"市辖区","131102":"桃城区","131103":"冀州区","131121":"枣强县","131122":"武邑县","131123":"武强县","131124":"饶阳县","131125":"安平县","131126":"故城县","131127":"景县","131128":"阜城县","131171":"河北衡水高新技术产业开发区","131172":"衡水滨湖新区","131182":"深州市"},"140000":{"140100":"太原市","140200":"大同市","140300":"阳泉市","140400":"长治市","140500":"晋城市","140600":"朔州市","140700":"晋中市","140800":"运城市","140900":"忻州市","141000":"临汾市","141100":"吕梁市"},"140100":{"140101":"市辖区","140105":"小店区","140106":"迎泽区","140107":"杏花岭区","140108":"尖草坪区","140109":"万柏林区","140110":"晋源区","140121":"清徐县","140122":"阳曲县","140123":"娄烦县","140171":"山西转型综合改革示范区","140181":"古交市"},"140200":{"140201":"市辖区","140212":"新荣区","140213":"平城区","140214":"云冈区","140215":"云州区","140221":"阳高县","140222":"天镇县","140223":"广灵县","140224":"灵丘县","140225":"浑源县","140226":"左云县","140271":"山西大同经济开发区"},"140300":{"140301":"市辖区","140302":"城区","140303":"矿区","140311":"郊区","140321":"平定县","140322":"盂县"},"140400":{"140401":"市辖区","140403":"潞州区","140404":"上党区","140405":"屯留区","140406":"潞城区","140423":"襄垣县","140425":"平顺县","140426":"黎城县","140427":"壶关县","140428":"长子县","140429":"武乡县","140430":"沁县","140431":"沁源县","140471":"山西长治高新技术产业园区"},"140500":{"140501":"市辖区","140502":"城区","140521":"沁水县","140522":"阳城县","140524":"陵川县","140525":"泽州县","140581":"高平市"},"140600":{"140601":"市辖区","140602":"朔城区","140603":"平鲁区","140621":"山阴县","140622":"应县","140623":"右玉县","140671":"山西朔州经济开发区","140681":"怀仁市"},"140700":{"140701":"市辖区","140702":"榆次区","140721":"榆社县","140722":"左权县","140723":"和顺县","140724":"昔阳县","140725":"寿阳县","140726":"太谷县","140727":"祁县","140728":"平遥县","140729":"灵石县","140781":"介休市"},"140800":{"140801":"市辖区","140802":"盐湖区","140821":"临猗县","140822":"万荣县","140823":"闻喜县","140824":"稷山县","140825":"新绛县","140826":"绛县","140827":"垣曲县","140828":"夏县","140829":"平陆县","140830":"芮城县","140881":"永济市","140882":"河津市"},"140900":{"140901":"市辖区","140902":"忻府区","140921":"定襄县","140922":"五台县","140923":"代县","140924":"繁峙县","140925":"宁武县","140926":"静乐县","140927":"神池县","140928":"五寨县","140929":"岢岚县","140930":"河曲县","140931":"保德县","140932":"偏关县","140971":"五台山风景名胜区","140981":"原平市"},"141000":{"141001":"市辖区","141002":"尧都区","141021":"曲沃县","141022":"翼城县","141023":"襄汾县","141024":"洪洞县","141025":"古县","141026":"安泽县","141027":"浮山县","141028":"吉县","141029":"乡宁县","141030":"大宁县","141031":"隰县","141032":"永和县","141033":"蒲县","141034":"汾西县","141081":"侯马市","141082":"霍州市"},"141100":{"141101":"市辖区","141102":"离石区","141121":"文水县","141122":"交城县","141123":"兴县","141124":"临县","141125":"柳林县","141126":"石楼县","141127":"岚县","141128":"方山县","141129":"中阳县","141130":"交口县","141181":"孝义市","141182":"汾阳市"},"150000":{"150100":"呼和浩特市","150200":"包头市","150300":"乌海市","150400":"赤峰市","150500":"通辽市","150600":"鄂尔多斯市","150700":"呼伦贝尔市","150800":"巴彦淖尔市","150900":"乌兰察布市","152200":"兴安盟","152500":"锡林郭勒盟","152900":"阿拉善盟"},"150100":{"150101":"市辖区","150102":"新城区","150103":"回民区","150104":"玉泉区","150105":"赛罕区","150121":"土默特左旗","150122":"托克托县","150123":"和林格尔县","150124":"清水河县","150125":"武川县","150171":"呼和浩特金海工业园区","150172":"呼和浩特经济技术开发区"},"150200":{"150201":"市辖区","150202":"东河区","150203":"昆都仑区","150204":"青山区","150205":"石拐区","150206":"白云鄂博矿区","150207":"九原区","150221":"土默特右旗","150222":"固阳县","150223":"达尔罕茂明安联合旗","150271":"包头稀土高新技术产业开发区"},"150300":{"150301":"市辖区","150302":"海勃湾区","150303":"海南区","150304":"乌达区"},"150400":{"150401":"市辖区","150402":"红山区","150403":"元宝山区","150404":"松山区","150421":"阿鲁科尔沁旗","150422":"巴林左旗","150423":"巴林右旗","150424":"林西县","150425":"克什克腾旗","150426":"翁牛特旗","150428":"喀喇沁旗","150429":"宁城县","150430":"敖汉旗"},"150500":{"150501":"市辖区","150502":"科尔沁区","150521":"科尔沁左翼中旗","150522":"科尔沁左翼后旗","150523":"开鲁县","150524":"库伦旗","150525":"奈曼旗","150526":"扎鲁特旗","150571":"通辽经济技术开发区","150581":"霍林郭勒市"},"150600":{"150601":"市辖区","150602":"东胜区","150603":"康巴什区","150621":"达拉特旗","150622":"准格尔旗","150623":"鄂托克前旗","150624":"鄂托克旗","150625":"杭锦旗","150626":"乌审旗","150627":"伊金霍洛旗"},"150700":{"150701":"市辖区","150702":"海拉尔区","150703":"扎赉诺尔区","150721":"阿荣旗","150722":"莫力达瓦达斡尔族自治旗","150723":"鄂伦春自治旗","150724":"鄂温克族自治旗","150725":"陈巴尔虎旗","150726":"新巴尔虎左旗","150727":"新巴尔虎右旗","150781":"满洲里市","150782":"牙克石市","150783":"扎兰屯市","150784":"额尔古纳市","150785":"根河市"},"150800":{"150801":"市辖区","150802":"临河区","150821":"五原县","150822":"磴口县","150823":"乌拉特前旗","150824":"乌拉特中旗","150825":"乌拉特后旗","150826":"杭锦后旗"},"150900":{"150901":"市辖区","150902":"集宁区","150921":"卓资县","150922":"化德县","150923":"商都县","150924":"兴和县","150925":"凉城县","150926":"察哈尔右翼前旗","150927":"察哈尔右翼中旗","150928":"察哈尔右翼后旗","150929":"四子王旗","150981":"丰镇市"},"152200":{"152201":"乌兰浩特市","152202":"阿尔山市","152221":"科尔沁右翼前旗","152222":"科尔沁右翼中旗","152223":"扎赉特旗","152224":"突泉县"},"152500":{"152501":"二连浩特市","152502":"锡林浩特市","152522":"阿巴嘎旗","152523":"苏尼特左旗","152524":"苏尼特右旗","152525":"东乌珠穆沁旗","152526":"西乌珠穆沁旗","152527":"太仆寺旗","152528":"镶黄旗","152529":"正镶白旗","152530":"正蓝旗","152531":"多伦县","152571":"乌拉盖管委会"},"152900":{"152921":"阿拉善左旗","152922":"阿拉善右旗","152923":"额济纳旗","152971":"内蒙古阿拉善经济开发区"},"210000":{"210100":"沈阳市","210200":"大连市","210300":"鞍山市","210400":"抚顺市","210500":"本溪市","210600":"丹东市","210700":"锦州市","210800":"营口市","210900":"阜新市","211000":"辽阳市","211100":"盘锦市","211200":"铁岭市","211300":"朝阳市","211400":"葫芦岛市"},"210100":{"210101":"市辖区","210102":"和平区","210103":"沈河区","210104":"大东区","210105":"皇姑区","210106":"铁西区","210111":"苏家屯区","210112":"浑南区","210113":"沈北新区","210114":"于洪区","210115":"辽中区","210123":"康平县","210124":"法库县","210181":"新民市"},"210200":{"210201":"市辖区","210202":"中山区","210203":"西岗区","210204":"沙河口区","210211":"甘井子区","210212":"旅顺口区","210213":"金州区","210214":"普兰店区","210224":"长海县","210281":"瓦房店市","210283":"庄河市"},"210300":{"210301":"市辖区","210302":"铁东区","210303":"铁西区","210304":"立山区","210311":"千山区","210321":"台安县","210323":"岫岩满族自治县","210381":"海城市"},"210400":{"210401":"市辖区","210402":"新抚区","210403":"东洲区","210404":"望花区","210411":"顺城区","210421":"抚顺县","210422":"新宾满族自治县","210423":"清原满族自治县"},"210500":{"210501":"市辖区","210502":"平山区","210503":"溪湖区","210504":"明山区","210505":"南芬区","210521":"本溪满族自治县","210522":"桓仁满族自治县"},"210600":{"210601":"市辖区","210602":"元宝区","210603":"振兴区","210604":"振安区","210624":"宽甸满族自治县","210681":"东港市","210682":"凤城市"},"210700":{"210701":"市辖区","210702":"古塔区","210703":"凌河区","210711":"太和区","210726":"黑山县","210727":"义县","210781":"凌海市","210782":"北镇市"},"210800":{"210801":"市辖区","210802":"站前区","210803":"西市区","210804":"鲅鱼圈区","210811":"老边区","210881":"盖州市","210882":"大石桥市"},"210900":{"210901":"市辖区","210902":"海州区","210903":"新邱区","210904":"太平区","210905":"清河门区","210911":"细河区","210921":"阜新蒙古族自治县","210922":"彰武县"},"211000":{"211001":"市辖区","211002":"白塔区","211003":"文圣区","211004":"宏伟区","211005":"弓长岭区","211011":"太子河区","211021":"辽阳县","211081":"灯塔市"},"211100":{"211101":"市辖区","211102":"双台子区","211103":"兴隆台区","211104":"大洼区","211122":"盘山县"},"211200":{"211201":"市辖区","211202":"银州区","211204":"清河区","211221":"铁岭县","211223":"西丰县","211224":"昌图县","211281":"调兵山市","211282":"开原市"},"211300":{"211301":"市辖区","211302":"双塔区","211303":"龙城区","211321":"朝阳县","211322":"建平县","211324":"喀喇沁左翼蒙古族自治县","211381":"北票市","211382":"凌源市"},"211400":{"211401":"市辖区","211402":"连山区","211403":"龙港区","211404":"南票区","211421":"绥中县","211422":"建昌县","211481":"兴城市"},"220000":{"220100":"长春市","220200":"吉林市","220300":"四平市","220400":"辽源市","220500":"通化市","220600":"白山市","220700":"松原市","220800":"白城市","222400":"延边朝鲜族自治州"},"220100":{"220101":"市辖区","220102":"南关区","220103":"宽城区","220104":"朝阳区","220105":"二道区","220106":"绿园区","220112":"双阳区","220113":"九台区","220122":"农安县","220171":"长春经济技术开发区","220172":"长春净月高新技术产业开发区","220173":"长春高新技术产业开发区","220174":"长春汽车经济技术开发区","220182":"榆树市","220183":"德惠市"},"220200":{"220201":"市辖区","220202":"昌邑区","220203":"龙潭区","220204":"船营区","220211":"丰满区","220221":"永吉县","220271":"吉林经济开发区","220272":"吉林高新技术产业开发区","220273":"吉林中国新加坡食品区","220281":"蛟河市","220282":"桦甸市","220283":"舒兰市","220284":"磐石市"},"220300":{"220301":"市辖区","220302":"铁西区","220303":"铁东区","220322":"梨树县","220323":"伊通满族自治县","220381":"公主岭市","220382":"双辽市"},"220400":{"220401":"市辖区","220402":"龙山区","220403":"西安区","220421":"东丰县","220422":"东辽县"},"220500":{"220501":"市辖区","220502":"东昌区","220503":"二道江区","220521":"通化县","220523":"辉南县","220524":"柳河县","220581":"梅河口市","220582":"集安市"},"220600":{"220601":"市辖区","220602":"浑江区","220605":"江源区","220621":"抚松县","220622":"靖宇县","220623":"长白朝鲜族自治县","220681":"临江市"},"220700":{"220701":"市辖区","220702":"宁江区","220721":"前郭尔罗斯蒙古族自治县","220722":"长岭县","220723":"乾安县","220771":"吉林松原经济开发区","220781":"扶余市"},"220800":{"220801":"市辖区","220802":"洮北区","220821":"镇赉县","220822":"通榆县","220871":"吉林白城经济开发区","220881":"洮南市","220882":"大安市"},"222400":{"222401":"延吉市","222402":"图们市","222403":"敦化市","222404":"珲春市","222405":"龙井市","222406":"和龙市","222424":"汪清县","222426":"安图县"},"230000":{"230100":"哈尔滨市","230200":"齐齐哈尔市","230300":"鸡西市","230400":"鹤岗市","230500":"双鸭山市","230600":"大庆市","230700":"伊春市","230800":"佳木斯市","230900":"七台河市","231000":"牡丹江市","231100":"黑河市","231200":"绥化市","232700":"大兴安岭地区"},"230100":{"230101":"市辖区","230102":"道里区","230103":"南岗区","230104":"道外区","230108":"平房区","230109":"松北区","230110":"香坊区","230111":"呼兰区","230112":"阿城区","230113":"双城区","230123":"依兰县","230124":"方正县","230125":"宾县","230126":"巴彦县","230127":"木兰县","230128":"通河县","230129":"延寿县","230183":"尚志市","230184":"五常市"},"230200":{"230201":"市辖区","230202":"龙沙区","230203":"建华区","230204":"铁锋区","230205":"昂昂溪区","230206":"富拉尔基区","230207":"碾子山区","230208":"梅里斯达斡尔族区","230221":"龙江县","230223":"依安县","230224":"泰来县","230225":"甘南县","230227":"富裕县","230229":"克山县","230230":"克东县","230231":"拜泉县","230281":"讷河市"},"230300":{"230301":"市辖区","230302":"鸡冠区","230303":"恒山区","230304":"滴道区","230305":"梨树区","230306":"城子河区","230307":"麻山区","230321":"鸡东县","230381":"虎林市","230382":"密山市"},"230400":{"230401":"市辖区","230402":"向阳区","230403":"工农区","230404":"南山区","230405":"兴安区","230406":"东山区","230407":"兴山区","230421":"萝北县","230422":"绥滨县"},"230500":{"230501":"市辖区","230502":"尖山区","230503":"岭东区","230505":"四方台区","230506":"宝山区","230521":"集贤县","230522":"友谊县","230523":"宝清县","230524":"饶河县"},"230600":{"230601":"市辖区","230602":"萨尔图区","230603":"龙凤区","230604":"让胡路区","230605":"红岗区","230606":"大同区","230621":"肇州县","230622":"肇源县","230623":"林甸县","230624":"杜尔伯特蒙古族自治县","230671":"大庆高新技术产业开发区"},"230700":{"230701":"市辖区","230717":"伊美区","230718":"乌翠区","230719":"友好区","230722":"嘉荫县","230723":"汤旺县","230724":"丰林县","230725":"大箐山县","230726":"南岔县","230751":"金林区","230781":"铁力市"},"230800":{"230801":"市辖区","230803":"向阳区","230804":"前进区","230805":"东风区","230811":"郊区","230822":"桦南县","230826":"桦川县","230828":"汤原县","230881":"同江市","230882":"富锦市","230883":"抚远市"},"230900":{"230901":"市辖区","230902":"新兴区","230903":"桃山区","230904":"茄子河区","230921":"勃利县"},"231000":{"231001":"市辖区","231002":"东安区","231003":"阳明区","231004":"爱民区","231005":"西安区","231025":"林口县","231071":"牡丹江经济技术开发区","231081":"绥芬河市","231083":"海林市","231084":"宁安市","231085":"穆棱市","231086":"东宁市"},"231100":{"231101":"市辖区","231102":"爱辉区","231123":"逊克县","231124":"孙吴县","231181":"北安市","231182":"五大连池市","231183":"嫩江市"},"231200":{"231201":"市辖区","231202":"北林区","231221":"望奎县","231222":"兰西县","231223":"青冈县","231224":"庆安县","231225":"明水县","231226":"绥棱县","231281":"安达市","231282":"肇东市","231283":"海伦市"},"232700":{"232701":"漠河市","232721":"呼玛县","232722":"塔河县","232761":"加格达奇区","232762":"松岭区","232763":"新林区","232764":"呼中区"},"310000":{"310100":"市辖区"},"310100":{"310101":"黄浦区","310104":"徐汇区","310105":"长宁区","310106":"静安区","310107":"普陀区","310109":"虹口区","310110":"杨浦区","310112":"闵行区","310113":"宝山区","310114":"嘉定区","310115":"浦东新区","310116":"金山区","310117":"松江区","310118":"青浦区","310120":"奉贤区","310151":"崇明区"},"320000":{"320100":"南京市","320200":"无锡市","320300":"徐州市","320400":"常州市","320500":"苏州市","320600":"南通市","320700":"连云港市","320800":"淮安市","320900":"盐城市","321000":"扬州市","321100":"镇江市","321200":"泰州市","321300":"宿迁市"},"320100":{"320101":"市辖区","320102":"玄武区","320104":"秦淮区","320105":"建邺区","320106":"鼓楼区","320111":"浦口区","320113":"栖霞区","320114":"雨花台区","320115":"江宁区","320116":"六合区","320117":"溧水区","320118":"高淳区"},"320200":{"320201":"市辖区","320205":"锡山区","320206":"惠山区","320211":"滨湖区","320213":"梁溪区","320214":"新吴区","320281":"江阴市","320282":"宜兴市"},"320300":{"320301":"市辖区","320302":"鼓楼区","320303":"云龙区","320305":"贾汪区","320311":"泉山区","320312":"铜山区","320321":"丰县","320322":"沛县","320324":"睢宁县","320371":"徐州经济技术开发区","320381":"新沂市","320382":"邳州市"},"320400":{"320401":"市辖区","320402":"天宁区","320404":"钟楼区","320411":"新北区","320412":"武进区","320413":"金坛区","320481":"溧阳市"},"320500":{"320501":"市辖区","320505":"虎丘区","320506":"吴中区","320507":"相城区","320508":"姑苏区","320509":"吴江区","320571":"苏州工业园区","320581":"常熟市","320582":"张家港市","320583":"昆山市","320585":"太仓市"},"320600":{"320601":"市辖区","320602":"崇川区","320611":"港闸区","320612":"通州区","320623":"如东县","320671":"南通经济技术开发区","320681":"启东市","320682":"如皋市","320684":"海门市","320685":"海安市"},"320700":{"320701":"市辖区","320703":"连云区","320706":"海州区","320707":"赣榆区","320722":"东海县","320723":"灌云县","320724":"灌南县","320771":"连云港经济技术开发区","320772":"连云港高新技术产业开发区"},"320800":{"320801":"市辖区","320803":"淮安区","320804":"淮阴区","320812":"清江浦区","320813":"洪泽区","320826":"涟水县","320830":"盱眙县","320831":"金湖县","320871":"淮安经济技术开发区"},"320900":{"320901":"市辖区","320902":"亭湖区","320903":"盐都区","320904":"大丰区","320921":"响水县","320922":"滨海县","320923":"阜宁县","320924":"射阳县","320925":"建湖县","320971":"盐城经济技术开发区","320981":"东台市"},"321000":{"321001":"市辖区","321002":"广陵区","321003":"邗江区","321012":"江都区","321023":"宝应县","321071":"扬州经济技术开发区","321081":"仪征市","321084":"高邮市"},"321100":{"321101":"市辖区","321102":"京口区","321111":"润州区","321112":"丹徒区","321171":"镇江新区","321181":"丹阳市","321182":"扬中市","321183":"句容市"},"321200":{"321201":"市辖区","321202":"海陵区","321203":"高港区","321204":"姜堰区","321271":"泰州医药高新技术产业开发区","321281":"兴化市","321282":"靖江市","321283":"泰兴市"},"321300":{"321301":"市辖区","321302":"宿城区","321311":"宿豫区","321322":"沭阳县","321323":"泗阳县","321324":"泗洪县","321371":"宿迁经济技术开发区"},"330000":{"330100":"杭州市","330200":"宁波市","330300":"温州市","330400":"嘉兴市","330500":"湖州市","330600":"绍兴市","330700":"金华市","330800":"衢州市","330900":"舟山市","331000":"台州市","331100":"丽水市"},"330100":{"330101":"市辖区","330102":"上城区","330103":"下城区","330104":"江干区","330105":"拱墅区","330106":"西湖区","330108":"滨江区","330109":"萧山区","330110":"余杭区","330111":"富阳区","330112":"临安区","330122":"桐庐县","330127":"淳安县","330182":"建德市"},"330200":{"330201":"市辖区","330203":"海曙区","330205":"江北区","330206":"北仑区","330211":"镇海区","330212":"鄞州区","330213":"奉化区","330225":"象山县","330226":"宁海县","330281":"余姚市","330282":"慈溪市"},"330300":{"330301":"市辖区","330302":"鹿城区","330303":"龙湾区","330304":"瓯海区","330305":"洞头区","330324":"永嘉县","330326":"平阳县","330327":"苍南县","330328":"文成县","330329":"泰顺县","330371":"温州经济技术开发区","330381":"瑞安市","330382":"乐清市","330383":"龙港市"},"330400":{"330401":"市辖区","330402":"南湖区","330411":"秀洲区","330421":"嘉善县","330424":"海盐县","330481":"海宁市","330482":"平湖市","330483":"桐乡市"},"330500":{"330501":"市辖区","330502":"吴兴区","330503":"南浔区","330521":"德清县","330522":"长兴县","330523":"安吉县"},"330600":{"330601":"市辖区","330602":"越城区","330603":"柯桥区","330604":"上虞区","330624":"新昌县","330681":"诸暨市","330683":"嵊州市"},"330700":{"330701":"市辖区","330702":"婺城区","330703":"金东区","330723":"武义县","330726":"浦江县","330727":"磐安县","330781":"兰溪市","330782":"义乌市","330783":"东阳市","330784":"永康市"},"330800":{"330801":"市辖区","330802":"柯城区","330803":"衢江区","330822":"常山县","330824":"开化县","330825":"龙游县","330881":"江山市"},"330900":{"330901":"市辖区","330902":"定海区","330903":"普陀区","330921":"岱山县","330922":"嵊泗县"},"331000":{"331001":"市辖区","331002":"椒江区","331003":"黄岩区","331004":"路桥区","331022":"三门县","331023":"天台县","331024":"仙居县","331081":"温岭市","331082":"临海市","331083":"玉环市"},"331100":{"331101":"市辖区","331102":"莲都区","331121":"青田县","331122":"缙云县","331123":"遂昌县","331124":"松阳县","331125":"云和县","331126":"庆元县","331127":"景宁畲族自治县","331181":"龙泉市"},"340000":{"340100":"合肥市","340200":"芜湖市","340300":"蚌埠市","340400":"淮南市","340500":"马鞍山市","340600":"淮北市","340700":"铜陵市","340800":"安庆市","341000":"黄山市","341100":"滁州市","341200":"阜阳市","341300":"宿州市","341500":"六安市","341600":"亳州市","341700":"池州市","341800":"宣城市"},"340100":{"340101":"市辖区","340102":"瑶海区","340103":"庐阳区","340104":"蜀山区","340111":"包河区","340121":"长丰县","340122":"肥东县","340123":"肥西县","340124":"庐江县","340171":"合肥高新技术产业开发区","340172":"合肥经济技术开发区","340173":"合肥新站高新技术产业开发区","340181":"巢湖市"},"340200":{"340201":"市辖区","340202":"镜湖区","340203":"弋江区","340207":"鸠江区","340208":"三山区","340221":"芜湖县","340222":"繁昌县","340223":"南陵县","340225":"无为县","340271":"芜湖经济技术开发区","340272":"安徽芜湖长江大桥经济开发区"},"340300":{"340301":"市辖区","340302":"龙子湖区","340303":"蚌山区","340304":"禹会区","340311":"淮上区","340321":"怀远县","340322":"五河县","340323":"固镇县","340371":"蚌埠市高新技术开发区","340372":"蚌埠市经济开发区"},"340400":{"340401":"市辖区","340402":"大通区","340403":"田家庵区","340404":"谢家集区","340405":"八公山区","340406":"潘集区","340421":"凤台县","340422":"寿县"},"340500":{"340501":"市辖区","340503":"花山区","340504":"雨山区","340506":"博望区","340521":"当涂县","340522":"含山县","340523":"和县"},"340600":{"340601":"市辖区","340602":"杜集区","340603":"相山区","340604":"烈山区","340621":"濉溪县"},"340700":{"340701":"市辖区","340705":"铜官区","340706":"义安区","340711":"郊区","340722":"枞阳县"},"340800":{"340801":"市辖区","340802":"迎江区","340803":"大观区","340811":"宜秀区","340822":"怀宁县","340825":"太湖县","340826":"宿松县","340827":"望江县","340828":"岳西县","340871":"安徽安庆经济开发区","340881":"桐城市","340882":"潜山市"},"341000":{"341001":"市辖区","341002":"屯溪区","341003":"黄山区","341004":"徽州区","341021":"歙县","341022":"休宁县","341023":"黟县","341024":"祁门县"},"341100":{"341101":"市辖区","341102":"琅琊区","341103":"南谯区","341122":"来安县","341124":"全椒县","341125":"定远县","341126":"凤阳县","341171":"苏滁现代产业园","341172":"滁州经济技术开发区","341181":"天长市","341182":"明光市"},"341200":{"341201":"市辖区","341202":"颍州区","341203":"颍东区","341204":"颍泉区","341221":"临泉县","341222":"太和县","341225":"阜南县","341226":"颍上县","341271":"阜阳合肥现代产业园区","341272":"阜阳经济技术开发区","341282":"界首市"},"341300":{"341301":"市辖区","341302":"埇桥区","341321":"砀山县","341322":"萧县","341323":"灵璧县","341324":"泗县","341371":"宿州马鞍山现代产业园区","341372":"宿州经济技术开发区"},"341500":{"341501":"市辖区","341502":"金安区","341503":"裕安区","341504":"叶集区","341522":"霍邱县","341523":"舒城县","341524":"金寨县","341525":"霍山县"},"341600":{"341601":"市辖区","341602":"谯城区","341621":"涡阳县","341622":"蒙城县","341623":"利辛县"},"341700":{"341701":"市辖区","341702":"贵池区","341721":"东至县","341722":"石台县","341723":"青阳县"},"341800":{"341801":"市辖区","341802":"宣州区","341821":"郎溪县","341823":"泾县","341824":"绩溪县","341825":"旌德县","341871":"宣城市经济开发区","341881":"宁国市","341882":"广德市"},"350000":{"350100":"福州市","350200":"厦门市","350300":"莆田市","350400":"三明市","350500":"泉州市","350600":"漳州市","350700":"南平市","350800":"龙岩市","350900":"宁德市"},"350100":{"350101":"市辖区","350102":"鼓楼区","350103":"台江区","350104":"仓山区","350105":"马尾区","350111":"晋安区","350112":"长乐区","350121":"闽侯县","350122":"连江县","350123":"罗源县","350124":"闽清县","350125":"永泰县","350128":"平潭县","350181":"福清市"},"350200":{"350201":"市辖区","350203":"思明区","350205":"海沧区","350206":"湖里区","350211":"集美区","350212":"同安区","350213":"翔安区"},"350300":{"350301":"市辖区","350302":"城厢区","350303":"涵江区","350304":"荔城区","350305":"秀屿区","350322":"仙游县"},"350400":{"350401":"市辖区","350402":"梅列区","350403":"三元区","350421":"明溪县","350423":"清流县","350424":"宁化县","350425":"大田县","350426":"尤溪县","350427":"沙县","350428":"将乐县","350429":"泰宁县","350430":"建宁县","350481":"永安市"},"350500":{"350501":"市辖区","350502":"鲤城区","350503":"丰泽区","350504":"洛江区","350505":"泉港区","350521":"惠安县","350524":"安溪县","350525":"永春县","350526":"德化县","350527":"金门县","350581":"石狮市","350582":"晋江市","350583":"南安市"},"350600":{"350601":"市辖区","350602":"芗城区","350603":"龙文区","350622":"云霄县","350623":"漳浦县","350624":"诏安县","350625":"长泰县","350626":"东山县","350627":"南靖县","350628":"平和县","350629":"华安县","350681":"龙海市"},"350700":{"350701":"市辖区","350702":"延平区","350703":"建阳区","350721":"顺昌县","350722":"浦城县","350723":"光泽县","350724":"松溪县","350725":"政和县","350781":"邵武市","350782":"武夷山市","350783":"建瓯市"},"350800":{"350801":"市辖区","350802":"新罗区","350803":"永定区","350821":"长汀县","350823":"上杭县","350824":"武平县","350825":"连城县","350881":"漳平市"},"350900":{"350901":"市辖区","350902":"蕉城区","350921":"霞浦县","350922":"古田县","350923":"屏南县","350924":"寿宁县","350925":"周宁县","350926":"柘荣县","350981":"福安市","350982":"福鼎市"},"360000":{"360100":"南昌市","360200":"景德镇市","360300":"萍乡市","360400":"九江市","360500":"新余市","360600":"鹰潭市","360700":"赣州市","360800":"吉安市","360900":"宜春市","361000":"抚州市","361100":"上饶市"},"360100":{"360101":"市辖区","360102":"东湖区","360103":"西湖区","360104":"青云谱区","360105":"湾里区","360111":"青山湖区","360112":"新建区","360121":"南昌县","360123":"安义县","360124":"进贤县"},"360200":{"360201":"市辖区","360202":"昌江区","360203":"珠山区","360222":"浮梁县","360281":"乐平市"},"360300":{"360301":"市辖区","360302":"安源区","360313":"湘东区","360321":"莲花县","360322":"上栗县","360323":"芦溪县"},"360400":{"360401":"市辖区","360402":"濂溪区","360403":"浔阳区","360404":"柴桑区","360423":"武宁县","360424":"修水县","360425":"永修县","360426":"德安县","360428":"都昌县","360429":"湖口县","360430":"彭泽县","360481":"瑞昌市","360482":"共青城市","360483":"庐山市"},"360500":{"360501":"市辖区","360502":"渝水区","360521":"分宜县"},"360600":{"360601":"市辖区","360602":"月湖区","360603":"余江区","360681":"贵溪市"},"360700":{"360701":"市辖区","360702":"章贡区","360703":"南康区","360704":"赣县区","360722":"信丰县","360723":"大余县","360724":"上犹县","360725":"崇义县","360726":"安远县","360727":"龙南县","360728":"定南县","360729":"全南县","360730":"宁都县","360731":"于都县","360732":"兴国县","360733":"会昌县","360734":"寻乌县","360735":"石城县","360781":"瑞金市"},"360800":{"360801":"市辖区","360802":"吉州区","360803":"青原区","360821":"吉安县","360822":"吉水县","360823":"峡江县","360824":"新干县","360825":"永丰县","360826":"泰和县","360827":"遂川县","360828":"万安县","360829":"安福县","360830":"永新县","360881":"井冈山市"},"360900":{"360901":"市辖区","360902":"袁州区","360921":"奉新县","360922":"万载县","360923":"上高县","360924":"宜丰县","360925":"靖安县","360926":"铜鼓县","360981":"丰城市","360982":"樟树市","360983":"高安市"},"361000":{"361001":"市辖区","361002":"临川区","361003":"东乡区","361021":"南城县","361022":"黎川县","361023":"南丰县","361024":"崇仁县","361025":"乐安县","361026":"宜黄县","361027":"金溪县","361028":"资溪县","361030":"广昌县"},"361100":{"361101":"市辖区","361102":"信州区","361103":"广丰区","361104":"广信区","361123":"玉山县","361124":"铅山县","361125":"横峰县","361126":"弋阳县","361127":"余干县","361128":"鄱阳县","361129":"万年县","361130":"婺源县","361181":"德兴市"},"370000":{"370100":"济南市","370200":"青岛市","370300":"淄博市","370400":"枣庄市","370500":"东营市","370600":"烟台市","370700":"潍坊市","370800":"济宁市","370900":"泰安市","371000":"威海市","371100":"日照市","371300":"临沂市","371400":"德州市","371500":"聊城市","371600":"滨州市","371700":"菏泽市"},"370100":{"370101":"市辖区","370102":"历下区","370103":"市中区","370104":"槐荫区","370105":"天桥区","370112":"历城区","370113":"长清区","370114":"章丘区","370115":"济阳区","370116":"莱芜区","370117":"钢城区","370124":"平阴县","370126":"商河县","370171":"济南高新技术产业开发区"},"370200":{"370201":"市辖区","370202":"市南区","370203":"市北区","370211":"黄岛区","370212":"崂山区","370213":"李沧区","370214":"城阳区","370215":"即墨区","370271":"青岛高新技术产业开发区","370281":"胶州市","370283":"平度市","370285":"莱西市"},"370300":{"370301":"市辖区","370302":"淄川区","370303":"张店区","370304":"博山区","370305":"临淄区","370306":"周村区","370321":"桓台县","370322":"高青县","370323":"沂源县"},"370400":{"370401":"市辖区","370402":"市中区","370403":"薛城区","370404":"峄城区","370405":"台儿庄区","370406":"山亭区","370481":"滕州市"},"370500":{"370501":"市辖区","370502":"东营区","370503":"河口区","370505":"垦利区","370522":"利津县","370523":"广饶县","370571":"东营经济技术开发区","370572":"东营港经济开发区"},"370600":{"370601":"市辖区","370602":"芝罘区","370611":"福山区","370612":"牟平区","370613":"莱山区","370634":"长岛县","370671":"烟台高新技术产业开发区","370672":"烟台经济技术开发区","370681":"龙口市","370682":"莱阳市","370683":"莱州市","370684":"蓬莱市","370685":"招远市","370686":"栖霞市","370687":"海阳市"},"370700":{"370701":"市辖区","370702":"潍城区","370703":"寒亭区","370704":"坊子区","370705":"奎文区","370724":"临朐县","370725":"昌乐县","370772":"潍坊滨海经济技术开发区","370781":"青州市","370782":"诸城市","370783":"寿光市","370784":"安丘市","370785":"高密市","370786":"昌邑市"},"370800":{"370801":"市辖区","370811":"任城区","370812":"兖州区","370826":"微山县","370827":"鱼台县","370828":"金乡县","370829":"嘉祥县","370830":"汶上县","370831":"泗水县","370832":"梁山县","370871":"济宁高新技术产业开发区","370881":"曲阜市","370883":"邹城市"},"370900":{"370901":"市辖区","370902":"泰山区","370911":"岱岳区","370921":"宁阳县","370923":"东平县","370982":"新泰市","370983":"肥城市"},"371000":{"371001":"市辖区","371002":"环翠区","371003":"文登区","371071":"威海火炬高技术产业开发区","371072":"威海经济技术开发区","371073":"威海临港经济技术开发区","371082":"荣成市","371083":"乳山市"},"371100":{"371101":"市辖区","371102":"东港区","371103":"岚山区","371121":"五莲县","371122":"莒县","371171":"日照经济技术开发区"},"371300":{"371301":"市辖区","371302":"兰山区","371311":"罗庄区","371312":"河东区","371321":"沂南县","371322":"郯城县","371323":"沂水县","371324":"兰陵县","371325":"费县","371326":"平邑县","371327":"莒南县","371328":"蒙阴县","371329":"临沭县","371371":"临沂高新技术产业开发区","371372":"临沂经济技术开发区","371373":"临沂临港经济开发区"},"371400":{"371401":"市辖区","371402":"德城区","371403":"陵城区","371422":"宁津县","371423":"庆云县","371424":"临邑县","371425":"齐河县","371426":"平原县","371427":"夏津县","371428":"武城县","371471":"德州经济技术开发区","371472":"德州运河经济开发区","371481":"乐陵市","371482":"禹城市"},"371500":{"371501":"市辖区","371502":"东昌府区","371503":"茌平区","371521":"阳谷县","371522":"莘县","371524":"东阿县","371525":"冠县","371526":"高唐县","371581":"临清市"},"371600":{"371601":"市辖区","371602":"滨城区","371603":"沾化区","371621":"惠民县","371622":"阳信县","371623":"无棣县","371625":"博兴县","371681":"邹平市"},"371700":{"371701":"市辖区","371702":"牡丹区","371703":"定陶区","371721":"曹县","371722":"单县","371723":"成武县","371724":"巨野县","371725":"郓城县","371726":"鄄城县","371728":"东明县","371771":"菏泽经济技术开发区","371772":"菏泽高新技术开发区"},"410000":{"410100":"郑州市","410200":"开封市","410300":"洛阳市","410400":"平顶山市","410500":"安阳市","410600":"鹤壁市","410700":"新乡市","410800":"焦作市","410900":"濮阳市","411000":"许昌市","411100":"漯河市","411200":"三门峡市","411300":"南阳市","411400":"商丘市","411500":"信阳市","411600":"周口市","411700":"驻马店市","419000":"省直辖县级行政区划"},"410100":{"410101":"市辖区","410102":"中原区","410103":"二七区","410104":"管城回族区","410105":"金水区","410106":"上街区","410108":"惠济区","410122":"中牟县","410171":"郑州经济技术开发区","410172":"郑州高新技术产业开发区","410173":"郑州航空港经济综合实验区","410181":"巩义市","410182":"荥阳市","410183":"新密市","410184":"新郑市","410185":"登封市"},"410200":{"410201":"市辖区","410202":"龙亭区","410203":"顺河回族区","410204":"鼓楼区","410205":"禹王台区","410212":"祥符区","410221":"杞县","410222":"通许县","410223":"尉氏县","410225":"兰考县"},"410300":{"410301":"市辖区","410302":"老城区","410303":"西工区","410304":"瀍河回族区","410305":"涧西区","410306":"吉利区","410311":"洛龙区","410322":"孟津县","410323":"新安县","410324":"栾川县","410325":"嵩县","410326":"汝阳县","410327":"宜阳县","410328":"洛宁县","410329":"伊川县","410371":"洛阳高新技术产业开发区","410381":"偃师市"},"410400":{"410401":"市辖区","410402":"新华区","410403":"卫东区","410404":"石龙区","410411":"湛河区","410421":"宝丰县","410422":"叶县","410423":"鲁山县","410425":"郏县","410471":"平顶山高新技术产业开发区","410472":"平顶山市城乡一体化示范区","410481":"舞钢市","410482":"汝州市"},"410500":{"410501":"市辖区","410502":"文峰区","410503":"北关区","410505":"殷都区","410506":"龙安区","410522":"安阳县","410523":"汤阴县","410526":"滑县","410527":"内黄县","410571":"安阳高新技术产业开发区","410581":"林州市"},"410600":{"410601":"市辖区","410602":"鹤山区","410603":"山城区","410611":"淇滨区","410621":"浚县","410622":"淇县","410671":"鹤壁经济技术开发区"},"410700":{"410701":"市辖区","410702":"红旗区","410703":"卫滨区","410704":"凤泉区","410711":"牧野区","410721":"新乡县","410724":"获嘉县","410725":"原阳县","410726":"延津县","410727":"封丘县","410771":"新乡高新技术产业开发区","410772":"新乡经济技术开发区","410773":"新乡市平原城乡一体化示范区","410781":"卫辉市","410782":"辉县市","410783":"长垣市"},"410800":{"410801":"市辖区","410802":"解放区","410803":"中站区","410804":"马村区","410811":"山阳区","410821":"修武县","410822":"博爱县","410823":"武陟县","410825":"温县","410871":"焦作城乡一体化示范区","410882":"沁阳市","410883":"孟州市"},"410900":{"410901":"市辖区","410902":"华龙区","410922":"清丰县","410923":"南乐县","410926":"范县","410927":"台前县","410928":"濮阳县","410971":"河南濮阳工业园区","410972":"濮阳经济技术开发区"},"411000":{"411001":"市辖区","411002":"魏都区","411003":"建安区","411024":"鄢陵县","411025":"襄城县","411071":"许昌经济技术开发区","411081":"禹州市","411082":"长葛市"},"411100":{"411101":"市辖区","411102":"源汇区","411103":"郾城区","411104":"召陵区","411121":"舞阳县","411122":"临颍县","411171":"漯河经济技术开发区"},"411200":{"411201":"市辖区","411202":"湖滨区","411203":"陕州区","411221":"渑池县","411224":"卢氏县","411271":"河南三门峡经济开发区","411281":"义马市","411282":"灵宝市"},"411300":{"411301":"市辖区","411302":"宛城区","411303":"卧龙区","411321":"南召县","411322":"方城县","411323":"西峡县","411324":"镇平县","411325":"内乡县","411326":"淅川县","411327":"社旗县","411328":"唐河县","411329":"新野县","411330":"桐柏县","411371":"南阳高新技术产业开发区","411372":"南阳市城乡一体化示范区","411381":"邓州市"},"411400":{"411401":"市辖区","411402":"梁园区","411403":"睢阳区","411421":"民权县","411422":"睢县","411423":"宁陵县","411424":"柘城县","411425":"虞城县","411426":"夏邑县","411471":"豫东综合物流产业聚集区","411472":"河南商丘经济开发区","411481":"永城市"},"411500":{"411501":"市辖区","411502":"浉河区","411503":"平桥区","411521":"罗山县","411522":"光山县","411523":"新县","411524":"商城县","411525":"固始县","411526":"潢川县","411527":"淮滨县","411528":"息县","411571":"信阳高新技术产业开发区"},"411600":{"411601":"市辖区","411602":"川汇区","411603":"淮阳区","411621":"扶沟县","411622":"西华县","411623":"商水县","411624":"沈丘县","411625":"郸城县","411627":"太康县","411628":"鹿邑县","411671":"河南周口经济开发区","411681":"项城市"},"411700":{"411701":"市辖区","411702":"驿城区","411721":"西平县","411722":"上蔡县","411723":"平舆县","411724":"正阳县","411725":"确山县","411726":"泌阳县","411727":"汝南县","411728":"遂平县","411729":"新蔡县","411771":"河南驻马店经济开发区"},"419000":{"419001":"济源市"},"420000":{"420100":"武汉市","420200":"黄石市","420300":"十堰市","420500":"宜昌市","420600":"襄阳市","420700":"鄂州市","420800":"荆门市","420900":"孝感市","421000":"荆州市","421100":"黄冈市","421200":"咸宁市","421300":"随州市","422800":"恩施土家族苗族自治州","429000":"省直辖县级行政区划"},"420100":{"420101":"市辖区","420102":"江岸区","420103":"江汉区","420104":"硚口区","420105":"汉阳区","420106":"武昌区","420107":"青山区","420111":"洪山区","420112":"东西湖区","420113":"汉南区","420114":"蔡甸区","420115":"江夏区","420116":"黄陂区","420117":"新洲区"},"420200":{"420201":"市辖区","420202":"黄石港区","420203":"西塞山区","420204":"下陆区","420205":"铁山区","420222":"阳新县","420281":"大冶市"},"420300":{"420301":"市辖区","420302":"茅箭区","420303":"张湾区","420304":"郧阳区","420322":"郧西县","420323":"竹山县","420324":"竹溪县","420325":"房县","420381":"丹江口市"},"420500":{"420501":"市辖区","420502":"西陵区","420503":"伍家岗区","420504":"点军区","420505":"猇亭区","420506":"夷陵区","420525":"远安县","420526":"兴山县","420527":"秭归县","420528":"长阳土家族自治县","420529":"五峰土家族自治县","420581":"宜都市","420582":"当阳市","420583":"枝江市"},"420600":{"420601":"市辖区","420602":"襄城区","420606":"樊城区","420607":"襄州区","420624":"南漳县","420625":"谷城县","420626":"保康县","420682":"老河口市","420683":"枣阳市","420684":"宜城市"},"420700":{"420701":"市辖区","420702":"梁子湖区","420703":"华容区","420704":"鄂城区"},"420800":{"420801":"市辖区","420802":"东宝区","420804":"掇刀区","420822":"沙洋县","420881":"钟祥市","420882":"京山市"},"420900":{"420901":"市辖区","420902":"孝南区","420921":"孝昌县","420922":"大悟县","420923":"云梦县","420981":"应城市","420982":"安陆市","420984":"汉川市"},"421000":{"421001":"市辖区","421002":"沙市区","421003":"荆州区","421022":"公安县","421023":"监利县","421024":"江陵县","421071":"荆州经济技术开发区","421081":"石首市","421083":"洪湖市","421087":"松滋市"},"421100":{"421101":"市辖区","421102":"黄州区","421121":"团风县","421122":"红安县","421123":"罗田县","421124":"英山县","421125":"浠水县","421126":"蕲春县","421127":"黄梅县","421171":"龙感湖管理区","421181":"麻城市","421182":"武穴市"},"421200":{"421201":"市辖区","421202":"咸安区","421221":"嘉鱼县","421222":"通城县","421223":"崇阳县","421224":"通山县","421281":"赤壁市"},"421300":{"421301":"市辖区","421303":"曾都区","421321":"随县","421381":"广水市"},"422800":{"422801":"恩施市","422802":"利川市","422822":"建始县","422823":"巴东县","422825":"宣恩县","422826":"咸丰县","422827":"来凤县","422828":"鹤峰县"},"429000":{"429004":"仙桃市","429005":"潜江市","429006":"天门市","429021":"神农架林区"},"430000":{"430100":"长沙市","430200":"株洲市","430300":"湘潭市","430400":"衡阳市","430500":"邵阳市","430600":"岳阳市","430700":"常德市","430800":"张家界市","430900":"益阳市","431000":"郴州市","431100":"永州市","431200":"怀化市","431300":"娄底市","433100":"湘西土家族苗族自治州"},"430100":{"430101":"市辖区","430102":"芙蓉区","430103":"天心区","430104":"岳麓区","430105":"开福区","430111":"雨花区","430112":"望城区","430121":"长沙县","430181":"浏阳市","430182":"宁乡市"},"430200":{"430201":"市辖区","430202":"荷塘区","430203":"芦淞区","430204":"石峰区","430211":"天元区","430212":"渌口区","430223":"攸县","430224":"茶陵县","430225":"炎陵县","430271":"云龙示范区","430281":"醴陵市"},"430300":{"430301":"市辖区","430302":"雨湖区","430304":"岳塘区","430321":"湘潭县","430371":"湖南湘潭高新技术产业园区","430372":"湘潭昭山示范区","430373":"湘潭九华示范区","430381":"湘乡市","430382":"韶山市"},"430400":{"430401":"市辖区","430405":"珠晖区","430406":"雁峰区","430407":"石鼓区","430408":"蒸湘区","430412":"南岳区","430421":"衡阳县","430422":"衡南县","430423":"衡山县","430424":"衡东县","430426":"祁东县","430471":"衡阳综合保税区","430472":"湖南衡阳高新技术产业园区","430473":"湖南衡阳松木经济开发区","430481":"耒阳市","430482":"常宁市"},"430500":{"430501":"市辖区","430502":"双清区","430503":"大祥区","430511":"北塔区","430522":"新邵县","430523":"邵阳县","430524":"隆回县","430525":"洞口县","430527":"绥宁县","430528":"新宁县","430529":"城步苗族自治县","430581":"武冈市","430582":"邵东市"},"430600":{"430601":"市辖区","430602":"岳阳楼区","430603":"云溪区","430611":"君山区","430621":"岳阳县","430623":"华容县","430624":"湘阴县","430626":"平江县","430671":"岳阳市屈原管理区","430681":"汨罗市","430682":"临湘市"},"430700":{"430701":"市辖区","430702":"武陵区","430703":"鼎城区","430721":"安乡县","430722":"汉寿县","430723":"澧县","430724":"临澧县","430725":"桃源县","430726":"石门县","430771":"常德市西洞庭管理区","430781":"津市市"},"430800":{"430801":"市辖区","430802":"永定区","430811":"武陵源区","430821":"慈利县","430822":"桑植县"},"430900":{"430901":"市辖区","430902":"资阳区","430903":"赫山区","430921":"南县","430922":"桃江县","430923":"安化县","430971":"益阳市大通湖管理区","430972":"湖南益阳高新技术产业园区","430981":"沅江市"},"431000":{"431001":"市辖区","431002":"北湖区","431003":"苏仙区","431021":"桂阳县","431022":"宜章县","431023":"永兴县","431024":"嘉禾县","431025":"临武县","431026":"汝城县","431027":"桂东县","431028":"安仁县","431081":"资兴市"},"431100":{"431101":"市辖区","431102":"零陵区","431103":"冷水滩区","431121":"祁阳县","431122":"东安县","431123":"双牌县","431124":"道县","431125":"江永县","431126":"宁远县","431127":"蓝山县","431128":"新田县","431129":"江华瑶族自治县","431171":"永州经济技术开发区","431172":"永州市金洞管理区","431173":"永州市回龙圩管理区"},"431200":{"431201":"市辖区","431202":"鹤城区","431221":"中方县","431222":"沅陵县","431223":"辰溪县","431224":"溆浦县","431225":"会同县","431226":"麻阳苗族自治县","431227":"新晃侗族自治县","431228":"芷江侗族自治县","431229":"靖州苗族侗族自治县","431230":"通道侗族自治县","431271":"怀化市洪江管理区","431281":"洪江市"},"431300":{"431301":"市辖区","431302":"娄星区","431321":"双峰县","431322":"新化县","431381":"冷水江市","431382":"涟源市"},"433100":{"433101":"吉首市","433122":"泸溪县","433123":"凤凰县","433124":"花垣县","433125":"保靖县","433126":"古丈县","433127":"永顺县","433130":"龙山县","433173":"湖南永顺经济开发区"},"440000":{"440100":"广州市","440200":"韶关市","440300":"深圳市","440400":"珠海市","440500":"汕头市","440600":"佛山市","440700":"江门市","440800":"湛江市","440900":"茂名市","441200":"肇庆市","441300":"惠州市","441400":"梅州市","441500":"汕尾市","441600":"河源市","441700":"阳江市","441800":"清远市","441900":"东莞市","442000":"中山市","445100":"潮州市","445200":"揭阳市","445300":"云浮市"},"440100":{"440101":"市辖区","440103":"荔湾区","440104":"越秀区","440105":"海珠区","440106":"天河区","440111":"白云区","440112":"黄埔区","440113":"番禺区","440114":"花都区","440115":"南沙区","440117":"从化区","440118":"增城区"},"440200":{"440201":"市辖区","440203":"武江区","440204":"浈江区","440205":"曲江区","440222":"始兴县","440224":"仁化县","440229":"翁源县","440232":"乳源瑶族自治县","440233":"新丰县","440281":"乐昌市","440282":"南雄市"},"440300":{"440301":"市辖区","440303":"罗湖区","440304":"福田区","440305":"南山区","440306":"宝安区","440307":"龙岗区","440308":"盐田区","440309":"龙华区","440310":"坪山区","440311":"光明区"},"440400":{"440401":"市辖区","440402":"香洲区","440403":"斗门区","440404":"金湾区"},"440500":{"440501":"市辖区","440507":"龙湖区","440511":"金平区","440512":"濠江区","440513":"潮阳区","440514":"潮南区","440515":"澄海区","440523":"南澳县"},"440600":{"440601":"市辖区","440604":"禅城区","440605":"南海区","440606":"顺德区","440607":"三水区","440608":"高明区"},"440700":{"440701":"市辖区","440703":"蓬江区","440704":"江海区","440705":"新会区","440781":"台山市","440783":"开平市","440784":"鹤山市","440785":"恩平市"},"440800":{"440801":"市辖区","440802":"赤坎区","440803":"霞山区","440804":"坡头区","440811":"麻章区","440823":"遂溪县","440825":"徐闻县","440881":"廉江市","440882":"雷州市","440883":"吴川市"},"440900":{"440901":"市辖区","440902":"茂南区","440904":"电白区","440981":"高州市","440982":"化州市","440983":"信宜市"},"441200":{"441201":"市辖区","441202":"端州区","441203":"鼎湖区","441204":"高要区","441223":"广宁县","441224":"怀集县","441225":"封开县","441226":"德庆县","441284":"四会市"},"441300":{"441301":"市辖区","441302":"惠城区","441303":"惠阳区","441322":"博罗县","441323":"惠东县","441324":"龙门县"},"441400":{"441401":"市辖区","441402":"梅江区","441403":"梅县区","441422":"大埔县","441423":"丰顺县","441424":"五华县","441426":"平远县","441427":"蕉岭县","441481":"兴宁市"},"441500":{"441501":"市辖区","441502":"城区","441521":"海丰县","441523":"陆河县","441581":"陆丰市"},"441600":{"441601":"市辖区","441602":"源城区","441621":"紫金县","441622":"龙川县","441623":"连平县","441624":"和平县","441625":"东源县"},"441700":{"441701":"市辖区","441702":"江城区","441704":"阳东区","441721":"阳西县","441781":"阳春市"},"441800":{"441801":"市辖区","441802":"清城区","441803":"清新区","441821":"佛冈县","441823":"阳山县","441825":"连山壮族瑶族自治县","441826":"连南瑶族自治县","441881":"英德市","441882":"连州市"},"441900":{"441900003":"东城街道","441900004":"南城街道","441900005":"万江街道","441900006":"莞城街道","441900101":"石碣镇","441900102":"石龙镇","441900103":"茶山镇","441900104":"石排镇","441900105":"企石镇","441900106":"横沥镇","441900107":"桥头镇","441900108":"谢岗镇","441900109":"东坑镇","441900110":"常平镇","441900111":"寮步镇","441900112":"樟木头镇","441900113":"大朗镇","441900114":"黄江镇","441900115":"清溪镇","441900116":"塘厦镇","441900117":"凤岗镇","441900118":"大岭山镇","441900119":"长安镇","441900121":"虎门镇","441900122":"厚街镇","441900123":"沙田镇","441900124":"道滘镇","441900125":"洪梅镇","441900126":"麻涌镇","441900127":"望牛墩镇","441900128":"中堂镇","441900129":"高埗镇","441900401":"松山湖","441900402":"东莞港","441900403":"东莞生态园"},"442000":{"442000001":"石岐街道","442000002":"东区街道","442000003":"中山港街道","442000004":"西区街道","442000005":"南区街道","442000006":"五桂山街道","442000100":"小榄镇","442000101":"黄圃镇","442000102":"民众镇","442000103":"东凤镇","442000104":"东升镇","442000105":"古镇镇","442000106":"沙溪镇","442000107":"坦洲镇","442000108":"港口镇","442000109":"三角镇","442000110":"横栏镇","442000111":"南头镇","442000112":"阜沙镇","442000113":"南朗镇","442000114":"三乡镇","442000115":"板芙镇","442000116":"大涌镇","442000117":"神湾镇"},"445100":{"445101":"市辖区","445102":"湘桥区","445103":"潮安区","445122":"饶平县"},"445200":{"445201":"市辖区","445202":"榕城区","445203":"揭东区","445222":"揭西县","445224":"惠来县","445281":"普宁市"},"445300":{"445301":"市辖区","445302":"云城区","445303":"云安区","445321":"新兴县","445322":"郁南县","445381":"罗定市"},"450000":{"450100":"南宁市","450200":"柳州市","450300":"桂林市","450400":"梧州市","450500":"北海市","450600":"防城港市","450700":"钦州市","450800":"贵港市","450900":"玉林市","451000":"百色市","451100":"贺州市","451200":"河池市","451300":"来宾市","451400":"崇左市"},"450100":{"450101":"市辖区","450102":"兴宁区","450103":"青秀区","450105":"江南区","450107":"西乡塘区","450108":"良庆区","450109":"邕宁区","450110":"武鸣区","450123":"隆安县","450124":"马山县","450125":"上林县","450126":"宾阳县","450127":"横县"},"450200":{"450201":"市辖区","450202":"城中区","450203":"鱼峰区","450204":"柳南区","450205":"柳北区","450206":"柳江区","450222":"柳城县","450223":"鹿寨县","450224":"融安县","450225":"融水苗族自治县","450226":"三江侗族自治县"},"450300":{"450301":"市辖区","450302":"秀峰区","450303":"叠彩区","450304":"象山区","450305":"七星区","450311":"雁山区","450312":"临桂区","450321":"阳朔县","450323":"灵川县","450324":"全州县","450325":"兴安县","450326":"永福县","450327":"灌阳县","450328":"龙胜各族自治县","450329":"资源县","450330":"平乐县","450332":"恭城瑶族自治县","450381":"荔浦市"},"450400":{"450401":"市辖区","450403":"万秀区","450405":"长洲区","450406":"龙圩区","450421":"苍梧县","450422":"藤县","450423":"蒙山县","450481":"岑溪市"},"450500":{"450501":"市辖区","450502":"海城区","450503":"银海区","450512":"铁山港区","450521":"合浦县"},"450600":{"450601":"市辖区","450602":"港口区","450603":"防城区","450621":"上思县","450681":"东兴市"},"450700":{"450701":"市辖区","450702":"钦南区","450703":"钦北区","450721":"灵山县","450722":"浦北县"},"450800":{"450801":"市辖区","450802":"港北区","450803":"港南区","450804":"覃塘区","450821":"平南县","450881":"桂平市"},"450900":{"450901":"市辖区","450902":"玉州区","450903":"福绵区","450921":"容县","450922":"陆川县","450923":"博白县","450924":"兴业县","450981":"北流市"},"451000":{"451001":"市辖区","451002":"右江区","451003":"田阳区","451022":"田东县","451023":"平果县","451024":"德保县","451026":"那坡县","451027":"凌云县","451028":"乐业县","451029":"田林县","451030":"西林县","451031":"隆林各族自治县","451081":"靖西市"},"451100":{"451101":"市辖区","451102":"八步区","451103":"平桂区","451121":"昭平县","451122":"钟山县","451123":"富川瑶族自治县"},"451200":{"451201":"市辖区","451202":"金城江区","451203":"宜州区","451221":"南丹县","451222":"天峨县","451223":"凤山县","451224":"东兰县","451225":"罗城仫佬族自治县","451226":"环江毛南族自治县","451227":"巴马瑶族自治县","451228":"都安瑶族自治县","451229":"大化瑶族自治县"},"451300":{"451301":"市辖区","451302":"兴宾区","451321":"忻城县","451322":"象州县","451323":"武宣县","451324":"金秀瑶族自治县","451381":"合山市"},"451400":{"451401":"市辖区","451402":"江州区","451421":"扶绥县","451422":"宁明县","451423":"龙州县","451424":"大新县","451425":"天等县","451481":"凭祥市"},"460000":{"460100":"海口市","460200":"三亚市","460300":"三沙市","460400":"儋州市","469000":"省直辖县级行政区划"},"460100":{"460101":"市辖区","460105":"秀英区","460106":"龙华区","460107":"琼山区","460108":"美兰区"},"460200":{"460201":"市辖区","460202":"海棠区","460203":"吉阳区","460204":"天涯区","460205":"崖州区"},"460300":{"460321":"西沙群岛","460322":"南沙群岛","460323":"中沙群岛的岛礁及其海域"},"460400":{"460400100":"那大镇","460400101":"和庆镇","460400102":"南丰镇","460400103":"大成镇","460400104":"雅星镇","460400105":"兰洋镇","460400106":"光村镇","460400107":"木棠镇","460400108":"海头镇","460400109":"峨蔓镇","460400111":"王五镇","460400112":"白马井镇","460400113":"中和镇","460400114":"排浦镇","460400115":"东成镇","460400116":"新州镇","460400499":"洋浦经济开发区","460400500":"华南热作学院"},"469000":{"469001":"五指山市","469002":"琼海市","469005":"文昌市","469006":"万宁市","469007":"东方市","469021":"定安县","469022":"屯昌县","469023":"澄迈县","469024":"临高县","469025":"白沙黎族自治县","469026":"昌江黎族自治县","469027":"乐东黎族自治县","469028":"陵水黎族自治县","469029":"保亭黎族苗族自治县","469030":"琼中黎族苗族自治县"},"500000":{"500100":"市辖区","500200":"县"},"500100":{"500101":"万州区","500102":"涪陵区","500103":"渝中区","500104":"大渡口区","500105":"江北区","500106":"沙坪坝区","500107":"九龙坡区","500108":"南岸区","500109":"北碚区","500110":"綦江区","500111":"大足区","500112":"渝北区","500113":"巴南区","500114":"黔江区","500115":"长寿区","500116":"江津区","500117":"合川区","500118":"永川区","500119":"南川区","500120":"璧山区","500151":"铜梁区","500152":"潼南区","500153":"荣昌区","500154":"开州区","500155":"梁平区","500156":"武隆区"},"500200":{"500229":"城口县","500230":"丰都县","500231":"垫江县","500233":"忠县","500235":"云阳县","500236":"奉节县","500237":"巫山县","500238":"巫溪县","500240":"石柱土家族自治县","500241":"秀山土家族苗族自治县","500242":"酉阳土家族苗族自治县","500243":"彭水苗族土家族自治县"},"510000":{"510100":"成都市","510300":"自贡市","510400":"攀枝花市","510500":"泸州市","510600":"德阳市","510700":"绵阳市","510800":"广元市","510900":"遂宁市","511000":"内江市","511100":"乐山市","511300":"南充市","511400":"眉山市","511500":"宜宾市","511600":"广安市","511700":"达州市","511800":"雅安市","511900":"巴中市","512000":"资阳市","513200":"阿坝藏族羌族自治州","513300":"甘孜藏族自治州","513400":"凉山彝族自治州"},"510100":{"510101":"市辖区","510104":"锦江区","510105":"青羊区","510106":"金牛区","510107":"武侯区","510108":"成华区","510112":"龙泉驿区","510113":"青白江区","510114":"新都区","510115":"温江区","510116":"双流区","510117":"郫都区","510121":"金堂县","510129":"大邑县","510131":"蒲江县","510132":"新津县","510181":"都江堰市","510182":"彭州市","510183":"邛崃市","510184":"崇州市","510185":"简阳市"},"510300":{"510301":"市辖区","510302":"自流井区","510303":"贡井区","510304":"大安区","510311":"沿滩区","510321":"荣县","510322":"富顺县"},"510400":{"510401":"市辖区","510402":"东区","510403":"西区","510411":"仁和区","510421":"米易县","510422":"盐边县"},"510500":{"510501":"市辖区","510502":"江阳区","510503":"纳溪区","510504":"龙马潭区","510521":"泸县","510522":"合江县","510524":"叙永县","510525":"古蔺县"},"510600":{"510601":"市辖区","510603":"旌阳区","510604":"罗江区","510623":"中江县","510681":"广汉市","510682":"什邡市","510683":"绵竹市"},"510700":{"510701":"市辖区","510703":"涪城区","510704":"游仙区","510705":"安州区","510722":"三台县","510723":"盐亭县","510725":"梓潼县","510726":"北川羌族自治县","510727":"平武县","510781":"江油市"},"510800":{"510801":"市辖区","510802":"利州区","510811":"昭化区","510812":"朝天区","510821":"旺苍县","510822":"青川县","510823":"剑阁县","510824":"苍溪县"},"510900":{"510901":"市辖区","510903":"船山区","510904":"安居区","510921":"蓬溪县","510923":"大英县","510981":"射洪市"},"511000":{"511001":"市辖区","511002":"市中区","511011":"东兴区","511024":"威远县","511025":"资中县","511071":"内江经济开发区","511083":"隆昌市"},"511100":{"511101":"市辖区","511102":"市中区","511111":"沙湾区","511112":"五通桥区","511113":"金口河区","511123":"犍为县","511124":"井研县","511126":"夹江县","511129":"沐川县","511132":"峨边彝族自治县","511133":"马边彝族自治县","511181":"峨眉山市"},"511300":{"511301":"市辖区","511302":"顺庆区","511303":"高坪区","511304":"嘉陵区","511321":"南部县","511322":"营山县","511323":"蓬安县","511324":"仪陇县","511325":"西充县","511381":"阆中市"},"511400":{"511401":"市辖区","511402":"东坡区","511403":"彭山区","511421":"仁寿县","511423":"洪雅县","511424":"丹棱县","511425":"青神县"},"511500":{"511501":"市辖区","511502":"翠屏区","511503":"南溪区","511504":"叙州区","511523":"江安县","511524":"长宁县","511525":"高县","511526":"珙县","511527":"筠连县","511528":"兴文县","511529":"屏山县"},"511600":{"511601":"市辖区","511602":"广安区","511603":"前锋区","511621":"岳池县","511622":"武胜县","511623":"邻水县","511681":"华蓥市"},"511700":{"511701":"市辖区","511702":"通川区","511703":"达川区","511722":"宣汉县","511723":"开江县","511724":"大竹县","511725":"渠县","511771":"达州经济开发区","511781":"万源市"},"511800":{"511801":"市辖区","511802":"雨城区","511803":"名山区","511822":"荥经县","511823":"汉源县","511824":"石棉县","511825":"天全县","511826":"芦山县","511827":"宝兴县"},"511900":{"511901":"市辖区","511902":"巴州区","511903":"恩阳区","511921":"通江县","511922":"南江县","511923":"平昌县","511971":"巴中经济开发区"},"512000":{"512001":"市辖区","512002":"雁江区","512021":"安岳县","512022":"乐至县"},"513200":{"513201":"马尔康市","513221":"汶川县","513222":"理县","513223":"茂县","513224":"松潘县","513225":"九寨沟县","513226":"金川县","513227":"小金县","513228":"黑水县","513230":"壤塘县","513231":"阿坝县","513232":"若尔盖县","513233":"红原县"},"513300":{"513301":"康定市","513322":"泸定县","513323":"丹巴县","513324":"九龙县","513325":"雅江县","513326":"道孚县","513327":"炉霍县","513328":"甘孜县","513329":"新龙县","513330":"德格县","513331":"白玉县","513332":"石渠县","513333":"色达县","513334":"理塘县","513335":"巴塘县","513336":"乡城县","513337":"稻城县","513338":"得荣县"},"513400":{"513401":"西昌市","513422":"木里藏族自治县","513423":"盐源县","513424":"德昌县","513425":"会理县","513426":"会东县","513427":"宁南县","513428":"普格县","513429":"布拖县","513430":"金阳县","513431":"昭觉县","513432":"喜德县","513433":"冕宁县","513434":"越西县","513435":"甘洛县","513436":"美姑县","513437":"雷波县"},"520000":{"520100":"贵阳市","520200":"六盘水市","520300":"遵义市","520400":"安顺市","520500":"毕节市","520600":"铜仁市","522300":"黔西南布依族苗族自治州","522600":"黔东南苗族侗族自治州","522700":"黔南布依族苗族自治州"},"520100":{"520101":"市辖区","520102":"南明区","520103":"云岩区","520111":"花溪区","520112":"乌当区","520113":"白云区","520115":"观山湖区","520121":"开阳县","520122":"息烽县","520123":"修文县","520181":"清镇市"},"520200":{"520201":"钟山区","520203":"六枝特区","520221":"水城县","520281":"盘州市"},"520300":{"520301":"市辖区","520302":"红花岗区","520303":"汇川区","520304":"播州区","520322":"桐梓县","520323":"绥阳县","520324":"正安县","520325":"道真仡佬族苗族自治县","520326":"务川仡佬族苗族自治县","520327":"凤冈县","520328":"湄潭县","520329":"余庆县","520330":"习水县","520381":"赤水市","520382":"仁怀市"},"520400":{"520401":"市辖区","520402":"西秀区","520403":"平坝区","520422":"普定县","520423":"镇宁布依族苗族自治县","520424":"关岭布依族苗族自治县","520425":"紫云苗族布依族自治县"},"520500":{"520501":"市辖区","520502":"七星关区","520521":"大方县","520522":"黔西县","520523":"金沙县","520524":"织金县","520525":"纳雍县","520526":"威宁彝族回族苗族自治县","520527":"赫章县"},"520600":{"520601":"市辖区","520602":"碧江区","520603":"万山区","520621":"江口县","520622":"玉屏侗族自治县","520623":"石阡县","520624":"思南县","520625":"印江土家族苗族自治县","520626":"德江县","520627":"沿河土家族自治县","520628":"松桃苗族自治县"},"522300":{"522301":"兴义市","522302":"兴仁市","522323":"普安县","522324":"晴隆县","522325":"贞丰县","522326":"望谟县","522327":"册亨县","522328":"安龙县"},"522600":{"522601":"凯里市","522622":"黄平县","522623":"施秉县","522624":"三穗县","522625":"镇远县","522626":"岑巩县","522627":"天柱县","522628":"锦屏县","522629":"剑河县","522630":"台江县","522631":"黎平县","522632":"榕江县","522633":"从江县","522634":"雷山县","522635":"麻江县","522636":"丹寨县"},"522700":{"522701":"都匀市","522702":"福泉市","522722":"荔波县","522723":"贵定县","522725":"瓮安县","522726":"独山县","522727":"平塘县","522728":"罗甸县","522729":"长顺县","522730":"龙里县","522731":"惠水县","522732":"三都水族自治县"},"530000":{"530100":"昆明市","530300":"曲靖市","530400":"玉溪市","530500":"保山市","530600":"昭通市","530700":"丽江市","530800":"普洱市","530900":"临沧市","532300":"楚雄彝族自治州","532500":"红河哈尼族彝族自治州","532600":"文山壮族苗族自治州","532800":"西双版纳傣族自治州","532900":"大理白族自治州","533100":"德宏傣族景颇族自治州","533300":"怒江傈僳族自治州","533400":"迪庆藏族自治州"},"530100":{"530101":"市辖区","530102":"五华区","530103":"盘龙区","530111":"官渡区","530112":"西山区","530113":"东川区","530114":"呈贡区","530115":"晋宁区","530124":"富民县","530125":"宜良县","530126":"石林彝族自治县","530127":"嵩明县","530128":"禄劝彝族苗族自治县","530129":"寻甸回族彝族自治县","530181":"安宁市"},"530300":{"530301":"市辖区","530302":"麒麟区","530303":"沾益区","530304":"马龙区","530322":"陆良县","530323":"师宗县","530324":"罗平县","530325":"富源县","530326":"会泽县","530381":"宣威市"},"530400":{"530401":"市辖区","530402":"红塔区","530403":"江川区","530422":"澄江县","530423":"通海县","530424":"华宁县","530425":"易门县","530426":"峨山彝族自治县","530427":"新平彝族傣族自治县","530428":"元江哈尼族彝族傣族自治县"},"530500":{"530501":"市辖区","530502":"隆阳区","530521":"施甸县","530523":"龙陵县","530524":"昌宁县","530581":"腾冲市"},"530600":{"530601":"市辖区","530602":"昭阳区","530621":"鲁甸县","530622":"巧家县","530623":"盐津县","530624":"大关县","530625":"永善县","530626":"绥江县","530627":"镇雄县","530628":"彝良县","530629":"威信县","530681":"水富市"},"530700":{"530701":"市辖区","530702":"古城区","530721":"玉龙纳西族自治县","530722":"永胜县","530723":"华坪县","530724":"宁蒗彝族自治县"},"530800":{"530801":"市辖区","530802":"思茅区","530821":"宁洱哈尼族彝族自治县","530822":"墨江哈尼族自治县","530823":"景东彝族自治县","530824":"景谷傣族彝族自治县","530825":"镇沅彝族哈尼族拉祜族自治县","530826":"江城哈尼族彝族自治县","530827":"孟连傣族拉祜族佤族自治县","530828":"澜沧拉祜族自治县","530829":"西盟佤族自治县"},"530900":{"530901":"市辖区","530902":"临翔区","530921":"凤庆县","530922":"云县","530923":"永德县","530924":"镇康县","530925":"双江拉祜族佤族布朗族傣族自治县","530926":"耿马傣族佤族自治县","530927":"沧源佤族自治县"},"532300":{"532301":"楚雄市","532322":"双柏县","532323":"牟定县","532324":"南华县","532325":"姚安县","532326":"大姚县","532327":"永仁县","532328":"元谋县","532329":"武定县","532331":"禄丰县"},"532500":{"532501":"个旧市","532502":"开远市","532503":"蒙自市","532504":"弥勒市","532523":"屏边苗族自治县","532524":"建水县","532525":"石屏县","532527":"泸西县","532528":"元阳县","532529":"红河县","532530":"金平苗族瑶族傣族自治县","532531":"绿春县","532532":"河口瑶族自治县"},"532600":{"532601":"文山市","532622":"砚山县","532623":"西畴县","532624":"麻栗坡县","532625":"马关县","532626":"丘北县","532627":"广南县","532628":"富宁县"},"532800":{"532801":"景洪市","532822":"勐海县","532823":"勐腊县"},"532900":{"532901":"大理市","532922":"漾濞彝族自治县","532923":"祥云县","532924":"宾川县","532925":"弥渡县","532926":"南涧彝族自治县","532927":"巍山彝族回族自治县","532928":"永平县","532929":"云龙县","532930":"洱源县","532931":"剑川县","532932":"鹤庆县"},"533100":{"533102":"瑞丽市","533103":"芒市","533122":"梁河县","533123":"盈江县","533124":"陇川县"},"533300":{"533301":"泸水市","533323":"福贡县","533324":"贡山独龙族怒族自治县","533325":"兰坪白族普米族自治县"},"533400":{"533401":"香格里拉市","533422":"德钦县","533423":"维西傈僳族自治县"},"540000":{"540100":"拉萨市","540200":"日喀则市","540300":"昌都市","540400":"林芝市","540500":"山南市","540600":"那曲市","542500":"阿里地区"},"540100":{"540101":"市辖区","540102":"城关区","540103":"堆龙德庆区","540104":"达孜区","540121":"林周县","540122":"当雄县","540123":"尼木县","540124":"曲水县","540127":"墨竹工卡县","540171":"格尔木藏青工业园区","540172":"拉萨经济技术开发区","540173":"西藏文化旅游创意园区","540174":"达孜工业园区"},"540200":{"540202":"桑珠孜区","540221":"南木林县","540222":"江孜县","540223":"定日县","540224":"萨迦县","540225":"拉孜县","540226":"昂仁县","540227":"谢通门县","540228":"白朗县","540229":"仁布县","540230":"康马县","540231":"定结县","540232":"仲巴县","540233":"亚东县","540234":"吉隆县","540235":"聂拉木县","540236":"萨嘎县","540237":"岗巴县"},"540300":{"540302":"卡若区","540321":"江达县","540322":"贡觉县","540323":"类乌齐县","540324":"丁青县","540325":"察雅县","540326":"八宿县","540327":"左贡县","540328":"芒康县","540329":"洛隆县","540330":"边坝县"},"540400":{"540402":"巴宜区","540421":"工布江达县","540422":"米林县","540423":"墨脱县","540424":"波密县","540425":"察隅县","540426":"朗县"},"540500":{"540501":"市辖区","540502":"乃东区","540521":"扎囊县","540522":"贡嘎县","540523":"桑日县","540524":"琼结县","540525":"曲松县","540526":"措美县","540527":"洛扎县","540528":"加查县","540529":"隆子县","540530":"错那县","540531":"浪卡子县"},"540600":{"540602":"色尼区","540621":"嘉黎县","540622":"比如县","540623":"聂荣县","540624":"安多县","540625":"申扎县","540626":"索县","540627":"班戈县","540628":"巴青县","540629":"尼玛县","540630":"双湖县"},"542500":{"542521":"普兰县","542522":"札达县","542523":"噶尔县","542524":"日土县","542525":"革吉县","542526":"改则县","542527":"措勤县"},"610000":{"610100":"西安市","610200":"铜川市","610300":"宝鸡市","610400":"咸阳市","610500":"渭南市","610600":"延安市","610700":"汉中市","610800":"榆林市","610900":"安康市","611000":"商洛市"},"610100":{"610101":"市辖区","610102":"新城区","610103":"碑林区","610104":"莲湖区","610111":"灞桥区","610112":"未央区","610113":"雁塔区","610114":"阎良区","610115":"临潼区","610116":"长安区","610117":"高陵区","610118":"鄠邑区","610122":"蓝田县","610124":"周至县"},"610200":{"610201":"市辖区","610202":"王益区","610203":"印台区","610204":"耀州区","610222":"宜君县"},"610300":{"610301":"市辖区","610302":"渭滨区","610303":"金台区","610304":"陈仓区","610322":"凤翔县","610323":"岐山县","610324":"扶风县","610326":"眉县","610327":"陇县","610328":"千阳县","610329":"麟游县","610330":"凤县","610331":"太白县"},"610400":{"610401":"市辖区","610402":"秦都区","610403":"杨陵区","610404":"渭城区","610422":"三原县","610423":"泾阳县","610424":"乾县","610425":"礼泉县","610426":"永寿县","610428":"长武县","610429":"旬邑县","610430":"淳化县","610431":"武功县","610481":"兴平市","610482":"彬州市"},"610500":{"610501":"市辖区","610502":"临渭区","610503":"华州区","610522":"潼关县","610523":"大荔县","610524":"合阳县","610525":"澄城县","610526":"蒲城县","610527":"白水县","610528":"富平县","610581":"韩城市","610582":"华阴市"},"610600":{"610601":"市辖区","610602":"宝塔区","610603":"安塞区","610621":"延长县","610622":"延川县","610625":"志丹县","610626":"吴起县","610627":"甘泉县","610628":"富县","610629":"洛川县","610630":"宜川县","610631":"黄龙县","610632":"黄陵县","610681":"子长市"},"610700":{"610701":"市辖区","610702":"汉台区","610703":"南郑区","610722":"城固县","610723":"洋县","610724":"西乡县","610725":"勉县","610726":"宁强县","610727":"略阳县","610728":"镇巴县","610729":"留坝县","610730":"佛坪县"},"610800":{"610801":"市辖区","610802":"榆阳区","610803":"横山区","610822":"府谷县","610824":"靖边县","610825":"定边县","610826":"绥德县","610827":"米脂县","610828":"佳县","610829":"吴堡县","610830":"清涧县","610831":"子洲县","610881":"神木市"},"610900":{"610901":"市辖区","610902":"汉滨区","610921":"汉阴县","610922":"石泉县","610923":"宁陕县","610924":"紫阳县","610925":"岚皋县","610926":"平利县","610927":"镇坪县","610928":"旬阳县","610929":"白河县"},"611000":{"611001":"市辖区","611002":"商州区","611021":"洛南县","611022":"丹凤县","611023":"商南县","611024":"山阳县","611025":"镇安县","611026":"柞水县"},"620000":{"620100":"兰州市","620200":"嘉峪关市","620300":"金昌市","620400":"白银市","620500":"天水市","620600":"武威市","620700":"张掖市","620800":"平凉市","620900":"酒泉市","621000":"庆阳市","621100":"定西市","621200":"陇南市","622900":"临夏回族自治州","623000":"甘南藏族自治州"},"620100":{"620101":"市辖区","620102":"城关区","620103":"七里河区","620104":"西固区","620105":"安宁区","620111":"红古区","620121":"永登县","620122":"皋兰县","620123":"榆中县","620171":"兰州新区"},"620200":{"620201":"市辖区"},"620300":{"620301":"市辖区","620302":"金川区","620321":"永昌县"},"620400":{"620401":"市辖区","620402":"白银区","620403":"平川区","620421":"靖远县","620422":"会宁县","620423":"景泰县"},"620500":{"620501":"市辖区","620502":"秦州区","620503":"麦积区","620521":"清水县","620522":"秦安县","620523":"甘谷县","620524":"武山县","620525":"张家川回族自治县"},"620600":{"620601":"市辖区","620602":"凉州区","620621":"民勤县","620622":"古浪县","620623":"天祝藏族自治县"},"620700":{"620701":"市辖区","620702":"甘州区","620721":"肃南裕固族自治县","620722":"民乐县","620723":"临泽县","620724":"高台县","620725":"山丹县"},"620800":{"620801":"市辖区","620802":"崆峒区","620821":"泾川县","620822":"灵台县","620823":"崇信县","620825":"庄浪县","620826":"静宁县","620881":"华亭市"},"620900":{"620901":"市辖区","620902":"肃州区","620921":"金塔县","620922":"瓜州县","620923":"肃北蒙古族自治县","620924":"阿克塞哈萨克族自治县","620981":"玉门市","620982":"敦煌市"},"621000":{"621001":"市辖区","621002":"西峰区","621021":"庆城县","621022":"环县","621023":"华池县","621024":"合水县","621025":"正宁县","621026":"宁县","621027":"镇原县"},"621100":{"621101":"市辖区","621102":"安定区","621121":"通渭县","621122":"陇西县","621123":"渭源县","621124":"临洮县","621125":"漳县","621126":"岷县"},"621200":{"621201":"市辖区","621202":"武都区","621221":"成县","621222":"文县","621223":"宕昌县","621224":"康县","621225":"西和县","621226":"礼县","621227":"徽县","621228":"两当县"},"622900":{"622901":"临夏市","622921":"临夏县","622922":"康乐县","622923":"永靖县","622924":"广河县","622925":"和政县","622926":"东乡族自治县","622927":"积石山保安族东乡族撒拉族自治县"},"623000":{"623001":"合作市","623021":"临潭县","623022":"卓尼县","623023":"舟曲县","623024":"迭部县","623025":"玛曲县","623026":"碌曲县","623027":"夏河县"},"630000":{"630100":"西宁市","630200":"海东市","632200":"海北藏族自治州","632300":"黄南藏族自治州","632500":"海南藏族自治州","632600":"果洛藏族自治州","632700":"玉树藏族自治州","632800":"海西蒙古族藏族自治州"},"630100":{"630101":"市辖区","630102":"城东区","630103":"城中区","630104":"城西区","630105":"城北区","630121":"大通回族土族自治县","630122":"湟中县","630123":"湟源县"},"630200":{"630202":"乐都区","630203":"平安区","630222":"民和回族土族自治县","630223":"互助土族自治县","630224":"化隆回族自治县","630225":"循化撒拉族自治县"},"632200":{"632221":"门源回族自治县","632222":"祁连县","632223":"海晏县","632224":"刚察县"},"632300":{"632321":"同仁县","632322":"尖扎县","632323":"泽库县","632324":"河南蒙古族自治县"},"632500":{"632521":"共和县","632522":"同德县","632523":"贵德县","632524":"兴海县","632525":"贵南县"},"632600":{"632621":"玛沁县","632622":"班玛县","632623":"甘德县","632624":"达日县","632625":"久治县","632626":"玛多县"},"632700":{"632701":"玉树市","632722":"杂多县","632723":"称多县","632724":"治多县","632725":"囊谦县","632726":"曲麻莱县"},"632800":{"632801":"格尔木市","632802":"德令哈市","632803":"茫崖市","632821":"乌兰县","632822":"都兰县","632823":"天峻县","632857":"大柴旦行政委员会"},"640000":{"640100":"银川市","640200":"石嘴山市","640300":"吴忠市","640400":"固原市","640500":"中卫市"},"640100":{"640101":"市辖区","640104":"兴庆区","640105":"西夏区","640106":"金凤区","640121":"永宁县","640122":"贺兰县","640181":"灵武市"},"640200":{"640201":"市辖区","640202":"大武口区","640205":"惠农区","640221":"平罗县"},"640300":{"640301":"市辖区","640302":"利通区","640303":"红寺堡区","640323":"盐池县","640324":"同心县","640381":"青铜峡市"},"640400":{"640401":"市辖区","640402":"原州区","640422":"西吉县","640423":"隆德县","640424":"泾源县","640425":"彭阳县"},"640500":{"640501":"市辖区","640502":"沙坡头区","640521":"中宁县","640522":"海原县"},"650000":{"650100":"乌鲁木齐市","650200":"克拉玛依市","650400":"吐鲁番市","650500":"哈密市","652300":"昌吉回族自治州","652700":"博尔塔拉蒙古自治州","652800":"巴音郭楞蒙古自治州","652900":"阿克苏地区","653000":"克孜勒苏柯尔克孜自治州","653100":"喀什地区","653200":"和田地区","654000":"伊犁哈萨克自治州","654200":"塔城地区","654300":"阿勒泰地区","659000":"自治区直辖县级行政区划"},"650100":{"650101":"市辖区","650102":"天山区","650103":"沙依巴克区","650104":"新市区","650105":"水磨沟区","650106":"头屯河区","650107":"达坂城区","650109":"米东区","650121":"乌鲁木齐县"},"650200":{"650201":"市辖区","650202":"独山子区","650203":"克拉玛依区","650204":"白碱滩区","650205":"乌尔禾区"},"650400":{"650402":"高昌区","650421":"鄯善县","650422":"托克逊县"},"650500":{"650502":"伊州区","650521":"巴里坤哈萨克自治县","650522":"伊吾县"},"652300":{"652301":"昌吉市","652302":"阜康市","652323":"呼图壁县","652324":"玛纳斯县","652325":"奇台县","652327":"吉木萨尔县","652328":"木垒哈萨克自治县"},"652700":{"652701":"博乐市","652702":"阿拉山口市","652722":"精河县","652723":"温泉县"},"652800":{"652801":"库尔勒市","652822":"轮台县","652823":"尉犁县","652824":"若羌县","652825":"且末县","652826":"焉耆回族自治县","652827":"和静县","652828":"和硕县","652829":"博湖县","652871":"库尔勒经济技术开发区"},"652900":{"652901":"阿克苏市","652922":"温宿县","652923":"库车县","652924":"沙雅县","652925":"新和县","652926":"拜城县","652927":"乌什县","652928":"阿瓦提县","652929":"柯坪县"},"653000":{"653001":"阿图什市","653022":"阿克陶县","653023":"阿合奇县","653024":"乌恰县"},"653100":{"653101":"喀什市","653121":"疏附县","653122":"疏勒县","653123":"英吉沙县","653124":"泽普县","653125":"莎车县","653126":"叶城县","653127":"麦盖提县","653128":"岳普湖县","653129":"伽师县","653130":"巴楚县","653131":"塔什库尔干塔吉克自治县"},"653200":{"653201":"和田市","653221":"和田县","653222":"墨玉县","653223":"皮山县","653224":"洛浦县","653225":"策勒县","653226":"于田县","653227":"民丰县"},"654000":{"654002":"伊宁市","654003":"奎屯市","654004":"霍尔果斯市","654021":"伊宁县","654022":"察布查尔锡伯自治县","654023":"霍城县","654024":"巩留县","654025":"新源县","654026":"昭苏县","654027":"特克斯县","654028":"尼勒克县"},"654200":{"654201":"塔城市","654202":"乌苏市","654221":"额敏县","654223":"沙湾县","654224":"托里县","654225":"裕民县","654226":"和布克赛尔蒙古自治县"},"654300":{"654301":"阿勒泰市","654321":"布尔津县","654322":"富蕴县","654323":"福海县","654324":"哈巴河县","654325":"青河县","654326":"吉木乃县"},"659000":{"659001":"石河子市","659002":"阿拉尔市","659003":"图木舒克市","659004":"五家渠市","659006":"铁门关市"},"710000":{"710100":"台北市","710200":"高雄市","710300":"基隆市","710400":"台中市","710500":"台南市","710600":"新竹市","710700":"嘉义市"},"710100":{"710101":"内湖区","710102":"南港区","710103":"中正区","710104":"松山区","710105":"信义区","710106":"大安区","710107":"中山区","710108":"文山区","710109":"大同区","710110":"万华区","710111":"士林区","710112":"北投区"},"710200":{"710201":"新兴区","710202":"前金区","710203":"芩雅区","710204":"盐埕区","710205":"鼓山区","710206":"旗津区","710207":"前镇区","710208":"三民区","710209":"左营区","710210":"楠梓区","710211":"小港区"},"710300":{"710301":"仁爱区","710302":"信义区","710303":"中正区","710304":"暖暖区","710305":"安乐区","710307":"七堵区"},"710400":{"710301":"中区","710302":"东区","710303":"南区","710304":"西区","710305":"北区","710306":"北屯区","710307":"西屯区","710308":"南屯区"},"710500":{"710501":"中西区","710502":"东区","710503":"南区","710504":"北区","710505":"安平区","710506":"安南区"},"710600":{"710601":"东区","710602":"北区","710603":"香山区"},"710700":{"710701":"东区","710702":"西区"},"810000":{"810001":"中西區","810002":"灣仔區","810003":"東區","810004":"南區","810005":"油尖旺區","810006":"深水埗區","810007":"九龍城區","810008":"黃大仙區","810009":"觀塘區","810010":"荃灣區","810011":"屯門區","810012":"元朗區","810013":"北區","810014":"大埔區","810015":"西貢區","810016":"沙田區","810017":"葵青區","810018":"離島區"},"820000":{"820001":"花地瑪堂區","820002":"花王堂區","820003":"望德堂區","820004":"大堂區","820005":"風順堂區","820006":"嘉模堂區","820007":"路氹填海區","820008":"聖方濟各堂區"}}')},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"provinceAndCityData",function(){return dt}),n.d(t,"regionData",function(){return ht}),n.d(t,"provinceAndCityDataPlus",function(){return Mt}),n.d(t,"regionDataPlus",function(){return Rt}),n.d(t,"CodeToText",function(){return lt}),n.d(t,"TextToCode",function(){return ct});var r=n(1),i=n.n(r),o=function(e,t){return e===t||e!=e&&t!=t},a=function(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1},s=Array.prototype.splice;function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=function(){this.__data__=[],this.size=0},l.prototype.delete=function(e){var t=this.__data__,n=a(t,e);return!(n<0||(n==t.length-1?t.pop():s.call(t,n,1),--this.size,0))},l.prototype.get=function(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]},l.prototype.has=function(e){return a(this.__data__,e)>-1},l.prototype.set=function(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var c,u=l,h=n(0),d=h.a.Symbol,f=Object.prototype,p=f.hasOwnProperty,A=f.toString,g=d?d.toStringTag:void 0,v=Object.prototype.toString,m=d?d.toStringTag:void 0,y=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":m&&m in Object(e)?function(e){var t=p.call(e,g),n=e[g];try{e[g]=void 0;var r=!0}catch(e){}var i=A.call(e);return r&&(t?e[g]=n:delete e[g]),i}(e):function(e){return v.call(e)}(e)},b=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},_=function(e){if(!b(e))return!1;var t=y(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},w=h.a["__core-js_shared__"],x=(c=/[^.]+$/.exec(w&&w.keys&&w.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"",C=Function.prototype.toString,S=function(e){if(null!=e){try{return C.call(e)}catch(e){}try{return e+""}catch(e){}}return""},B=/^\[object .+?Constructor\]$/,k=Function.prototype,T=Object.prototype,E=k.toString,M=T.hasOwnProperty,D=RegExp("^"+E.call(M).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O=function(e){return!(!b(e)||function(e){return!!x&&x in e}(e))&&(_(e)?D:B).test(S(e))},I=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return O(n)?n:void 0},L=I(h.a,"Map"),P=I(Object,"create"),F=Object.prototype.hasOwnProperty,R=Object.prototype.hasOwnProperty;function N(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}N.prototype.clear=function(){this.__data__=P?P(null):{},this.size=0},N.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},N.prototype.get=function(e){var t=this.__data__;if(P){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return F.call(t,e)?t[e]:void 0},N.prototype.has=function(e){var t=this.__data__;return P?void 0!==t[e]:R.call(t,e)},N.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=P&&void 0===t?"__lodash_hash_undefined__":t,this};var H=N,j=function(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map};function U(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}U.prototype.clear=function(){this.size=0,this.__data__={hash:new H,map:new(L||u),string:new H}},U.prototype.delete=function(e){var t=j(this,e).delete(e);return this.size-=t?1:0,t},U.prototype.get=function(e){return j(this,e).get(e)},U.prototype.has=function(e){return j(this,e).has(e)},U.prototype.set=function(e,t){var n=j(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};var Q=U;function z(e){var t=this.__data__=new u(e);this.size=t.size}z.prototype.clear=function(){this.__data__=new u,this.size=0},z.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},z.prototype.get=function(e){return this.__data__.get(e)},z.prototype.has=function(e){return this.__data__.has(e)},z.prototype.set=function(e,t){var n=this.__data__;if(n instanceof u){var r=n.__data__;if(!L||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(e,t),this.size=n.size,this};var Y=z,V=function(){try{var e=I(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),G=function(e,t,n){"__proto__"==t&&V?V(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},W=Object.prototype.hasOwnProperty,X=function(e,t,n){var r=e[t];W.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||G(e,t,n)},Z=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?G(n,s,l):X(n,s,l)}return n},$=function(e){return null!=e&&"object"==typeof e},K=function(e){return $(e)&&"[object Arguments]"==y(e)},J=Object.prototype,q=J.hasOwnProperty,ee=J.propertyIsEnumerable,te=K(function(){return arguments}())?K:function(e){return $(e)&&q.call(e,"callee")&&!ee.call(e,"callee")},ne=Array.isArray,re=n(4),ie=/^(?:0|[1-9]\d*)$/,oe=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&ie.test(e))&&e>-1&&e%1==0&&e<t},ae=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},se={};se["[object Float32Array]"]=se["[object Float64Array]"]=se["[object Int8Array]"]=se["[object Int16Array]"]=se["[object Int32Array]"]=se["[object Uint8Array]"]=se["[object Uint8ClampedArray]"]=se["[object Uint16Array]"]=se["[object Uint32Array]"]=!0,se["[object Arguments]"]=se["[object Array]"]=se["[object ArrayBuffer]"]=se["[object Boolean]"]=se["[object DataView]"]=se["[object Date]"]=se["[object Error]"]=se["[object Function]"]=se["[object Map]"]=se["[object Number]"]=se["[object Object]"]=se["[object RegExp]"]=se["[object Set]"]=se["[object String]"]=se["[object WeakMap]"]=!1;var le=function(e){return function(t){return e(t)}},ce=n(2),ue=ce.a&&ce.a.isTypedArray,he=ue?le(ue):function(e){return $(e)&&ae(e.length)&&!!se[y(e)]},de=Object.prototype.hasOwnProperty,fe=function(e,t){var n=ne(e),r=!n&&te(e),i=!n&&!r&&Object(re.a)(e),o=!n&&!r&&!i&&he(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!de.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||oe(c,l))||s.push(c);return s},pe=Object.prototype,Ae=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||pe)},ge=function(e,t){return function(n){return e(t(n))}},ve=ge(Object.keys,Object),me=Object.prototype.hasOwnProperty,ye=function(e){return null!=e&&ae(e.length)&&!_(e)},be=function(e){return ye(e)?fe(e):function(e){if(!Ae(e))return ve(e);var t=[];for(var n in Object(e))me.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},_e=Object.prototype.hasOwnProperty,we=function(e){if(!b(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Ae(e),n=[];for(var r in e)("constructor"!=r||!t&&_e.call(e,r))&&n.push(r);return n},xe=function(e){return ye(e)?fe(e,!0):we(e)},Ce=n(7),Se=function(){return[]},Be=Object.prototype.propertyIsEnumerable,ke=Object.getOwnPropertySymbols,Te=ke?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}(ke(e),function(t){return Be.call(e,t)}))}:Se,Ee=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Me=ge(Object.getPrototypeOf,Object),De=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Ee(t,Te(e)),e=Me(e);return t}:Se,Oe=function(e,t,n){var r=t(e);return ne(e)?r:Ee(r,n(e))},Ie=function(e){return Oe(e,be,Te)},Le=function(e){return Oe(e,xe,De)},Pe=I(h.a,"DataView"),Fe=I(h.a,"Promise"),Re=I(h.a,"Set"),Ne=I(h.a,"WeakMap"),He=S(Pe),je=S(L),Ue=S(Fe),Qe=S(Re),ze=S(Ne),Ye=y;(Pe&&"[object DataView]"!=Ye(new Pe(new ArrayBuffer(1)))||L&&"[object Map]"!=Ye(new L)||Fe&&"[object Promise]"!=Ye(Fe.resolve())||Re&&"[object Set]"!=Ye(new Re)||Ne&&"[object WeakMap]"!=Ye(new Ne))&&(Ye=function(e){var t=y(e),n="[object Object]"==t?e.constructor:void 0,r=n?S(n):"";if(r)switch(r){case He:return"[object DataView]";case je:return"[object Map]";case Ue:return"[object Promise]";case Qe:return"[object Set]";case ze:return"[object WeakMap]"}return t});var Ve=Ye,Ge=Object.prototype.hasOwnProperty,We=h.a.Uint8Array,Xe=function(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t},Ze=/\w*$/,$e=d?d.prototype:void 0,Ke=$e?$e.valueOf:void 0,Je=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return Xe(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return function(e,t){var n=t?Xe(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var n=t?Xe(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,Ze.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Set]":return new r;case"[object Symbol]":return function(e){return Ke?Object(Ke.call(e)):{}}(e)}},qe=Object.create,et=function(){function e(){}return function(t){if(!b(t))return{};if(qe)return qe(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),tt=ce.a&&ce.a.isMap,nt=tt?le(tt):function(e){return $(e)&&"[object Map]"==Ve(e)},rt=ce.a&&ce.a.isSet,it=rt?le(rt):function(e){return $(e)&&"[object Set]"==Ve(e)},ot={};ot["[object Arguments]"]=ot["[object Array]"]=ot["[object ArrayBuffer]"]=ot["[object DataView]"]=ot["[object Boolean]"]=ot["[object Date]"]=ot["[object Float32Array]"]=ot["[object Float64Array]"]=ot["[object Int8Array]"]=ot["[object Int16Array]"]=ot["[object Int32Array]"]=ot["[object Map]"]=ot["[object Number]"]=ot["[object Object]"]=ot["[object RegExp]"]=ot["[object Set]"]=ot["[object String]"]=ot["[object Symbol]"]=ot["[object Uint8Array]"]=ot["[object Uint8ClampedArray]"]=ot["[object Uint16Array]"]=ot["[object Uint32Array]"]=!0,ot["[object Error]"]=ot["[object Function]"]=ot["[object WeakMap]"]=!1;var at=function e(t,n,r,i,o,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=o?r(t,i,o,a):r(t)),void 0!==s)return s;if(!b(t))return t;var h=ne(t);if(h){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ge.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(t,s)}else{var d=Ve(t),f="[object Function]"==d||"[object GeneratorFunction]"==d;if(Object(re.a)(t))return Object(Ce.a)(t,l);if("[object Object]"==d||"[object Arguments]"==d||f&&!o){if(s=c||f?{}:function(e){return"function"!=typeof e.constructor||Ae(e)?{}:et(Me(e))}(t),!l)return c?function(e,t){return Z(e,De(e),t)}(t,function(e,t){return e&&Z(t,xe(t),e)}(s,t)):function(e,t){return Z(e,Te(e),t)}(t,function(e,t){return e&&Z(t,be(t),e)}(s,t))}else{if(!ot[d])return o?t:{};s=Je(t,d,l)}}a||(a=new Y);var p=a.get(t);if(p)return p;a.set(t,s),it(t)?t.forEach(function(i){s.add(e(i,n,r,i,t,a))}):nt(t)&&t.forEach(function(i,o){s.set(o,e(i,n,r,o,t,a))});var A=u?c?Le:Ie:c?keysIn:be,g=h?void 0:A(t);return function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););}(g||t,function(i,o){g&&(i=t[o=i]),X(s,o,e(i,n,r,o,t,a))}),s},st=function(e){return at(e,5)},lt={},ct={},ut=i.a[86],ht=[],dt=[];for(var ft in lt[""]="全部",ut)ht.push({value:ft,label:ut[ft]}),lt[ft]=ut[ft],ct[ut[ft]]={code:ft},ct[ut[ft]]["全部"]={code:""};for(var pt=0,At=ht.length;pt<At;pt++){var gt=ht[pt].value,vt=ht[pt].label,mt=[];for(var yt in i.a[gt])mt.push({value:yt,label:i.a[gt][yt]}),lt[yt]=i.a[gt][yt],ct[vt][i.a[gt][yt]]={code:yt},ct[vt][i.a[gt][yt]]["全部"]={code:""};mt.length&&(ht[pt].children=mt)}dt=st(ht);for(var bt=0,_t=ht.length;bt<_t;bt++){var wt=ht[bt].children,xt=ht[bt].label;if(wt)for(var Ct=0,St=wt.length;Ct<St;Ct++){var Bt=wt[Ct].value,kt=wt[Ct].label,Tt=[];for(var Et in i.a[Bt])Tt.push({value:Et,label:i.a[Bt][Et]}),lt[Et]=i.a[Bt][Et],ct[xt][kt][i.a[Bt][Et]]={code:Et};Tt.length&&(wt[Ct].children=Tt)}}var Mt=st(dt);Mt.unshift({value:"",label:"全部"});for(var Dt=0,Ot=Mt.length;Dt<Ot;Dt++){var It=Mt[Dt].children;if(It&&It.length){It.unshift({value:"",label:"全部"});for(var Lt=0,Pt=It.length;Lt<Pt;Lt++){var Ft=It[Lt].children;Ft&&Ft.length&&Ft.unshift({value:"",label:"全部"})}}}var Rt=st(ht);Rt.unshift({value:"",label:"全部"});for(var Nt=0,Ht=Rt.length;Nt<Ht;Nt++){var jt=Rt[Nt].children;if(jt&&jt.length){jt.unshift({value:"",label:"全部"});for(var Ut=0,Qt=jt.length;Ut<Qt;Ut++){var zt=jt[Ut].children;zt&&zt.length&&zt.unshift({value:"",label:"全部"})}}}}])},e.exports=r()},X0uZ:function(e,t,n){var r=n("kM2E");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},X5vS:function(e,t){e.exports=function(){this.over_noise=0,this.tot_noise=0,this.max_noise=0,this.over_count=0,this.over_SSD=0,this.bits=0}},X8DO:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},XLwt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={};n.d(r,"create",function(){return v}),n.d(r,"copy",function(){return m}),n.d(r,"clone",function(){return y}),n.d(r,"set",function(){return b}),n.d(r,"add",function(){return _}),n.d(r,"scaleAndAdd",function(){return w}),n.d(r,"sub",function(){return x}),n.d(r,"len",function(){return C}),n.d(r,"length",function(){return S}),n.d(r,"lenSquare",function(){return B}),n.d(r,"lengthSquare",function(){return k}),n.d(r,"mul",function(){return T}),n.d(r,"div",function(){return E}),n.d(r,"dot",function(){return M}),n.d(r,"scale",function(){return D}),n.d(r,"normalize",function(){return O}),n.d(r,"distance",function(){return I}),n.d(r,"dist",function(){return L}),n.d(r,"distanceSquare",function(){return P}),n.d(r,"distSquare",function(){return F}),n.d(r,"negate",function(){return R}),n.d(r,"lerp",function(){return N}),n.d(r,"applyTransform",function(){return H}),n.d(r,"min",function(){return j}),n.d(r,"max",function(){return U});var i={};n.d(i,"create",function(){return pe}),n.d(i,"identity",function(){return Ae}),n.d(i,"copy",function(){return ge}),n.d(i,"mul",function(){return ve}),n.d(i,"translate",function(){return me}),n.d(i,"rotate",function(){return ye}),n.d(i,"scale",function(){return be}),n.d(i,"invert",function(){return _e}),n.d(i,"clone",function(){return we});var o={};n.d(o,"init",function(){return or}),n.d(o,"dispose",function(){return ar}),n.d(o,"disposeAll",function(){return sr}),n.d(o,"getInstance",function(){return lr}),n.d(o,"registerPainter",function(){return cr}),n.d(o,"version",function(){return ur});var a={};n.d(a,"updateProps",function(){return tc}),n.d(a,"initProps",function(){return nc}),n.d(a,"removeElement",function(){return ic}),n.d(a,"removeElementWithFadeOut",function(){return ac}),n.d(a,"isElementRemoved",function(){return rc}),n.d(a,"extendShape",function(){return hc}),n.d(a,"extendPath",function(){return fc}),n.d(a,"registerShape",function(){return pc}),n.d(a,"getShapeClass",function(){return Ac}),n.d(a,"makePath",function(){return gc}),n.d(a,"makeImage",function(){return vc}),n.d(a,"mergePath",function(){return yc}),n.d(a,"resizePath",function(){return bc}),n.d(a,"subPixelOptimizeLine",function(){return _c}),n.d(a,"subPixelOptimizeRect",function(){return wc}),n.d(a,"subPixelOptimize",function(){return xc}),n.d(a,"getTransform",function(){return Cc}),n.d(a,"applyTransform",function(){return Sc}),n.d(a,"transformDirection",function(){return Bc}),n.d(a,"groupTransition",function(){return Tc}),n.d(a,"clipPointsByRect",function(){return Ec}),n.d(a,"clipRectByRect",function(){return Mc}),n.d(a,"createIcon",function(){return Dc}),n.d(a,"linePolygonIntersect",function(){return Oc}),n.d(a,"lineLineIntersect",function(){return Ic}),n.d(a,"setTooltipConfig",function(){return Pc}),n.d(a,"traverseElements",function(){return Rc}),n.d(a,"Group",function(){return tr}),n.d(a,"Image",function(){return ra}),n.d(a,"Text",function(){return ka}),n.d(a,"Circle",function(){return qs}),n.d(a,"Ellipse",function(){return nl}),n.d(a,"Sector",function(){return ml}),n.d(a,"Ring",function(){return _l}),n.d(a,"Polygon",function(){return Sl}),n.d(a,"Polyline",function(){return Tl}),n.d(a,"Rect",function(){return ha}),n.d(a,"Line",function(){return Ol}),n.d(a,"BezierCurve",function(){return Rl}),n.d(a,"Arc",function(){return jl}),n.d(a,"IncrementalDisplayable",function(){return Kl}),n.d(a,"CompoundPath",function(){return Ul}),n.d(a,"LinearGradient",function(){return zl}),n.d(a,"RadialGradient",function(){return Yl}),n.d(a,"BoundingRect",function(){return Oe}),n.d(a,"OrientedBoundingRect",function(){return Zl}),n.d(a,"Point",function(){return xe}),n.d(a,"Path",function(){return $o});var s={};n.d(s,"createList",function(){return Sy}),n.d(s,"getLayoutRect",function(){return gh}),n.d(s,"createDimensions",function(){return om}),n.d(s,"dataStack",function(){return By}),n.d(s,"createSymbol",function(){return EA}),n.d(s,"createScale",function(){return ky}),n.d(s,"mixinAxisModelCommonMethods",function(){return Ty}),n.d(s,"getECData",function(){return Ta}),n.d(s,"enableHoverEmphasis",function(){return _s}),n.d(s,"createTextStyle",function(){return Ey});var l={};n.d(l,"linearMap",function(){return fr}),n.d(l,"round",function(){return Ar}),n.d(l,"asc",function(){return gr}),n.d(l,"getPrecision",function(){return vr}),n.d(l,"getPrecisionSafe",function(){return mr}),n.d(l,"getPixelPrecision",function(){return yr}),n.d(l,"getPercentWithPrecision",function(){return br}),n.d(l,"MAX_SAFE_INTEGER",function(){return xr}),n.d(l,"remRadian",function(){return Cr}),n.d(l,"isRadianAroundZero",function(){return Sr}),n.d(l,"parseDate",function(){return kr}),n.d(l,"quantity",function(){return Tr}),n.d(l,"quantityExponent",function(){return Er}),n.d(l,"nice",function(){return Mr}),n.d(l,"quantile",function(){return Dr}),n.d(l,"reformIntervals",function(){return Or}),n.d(l,"isNumeric",function(){return Lr}),n.d(l,"numericToNumber",function(){return Ir});var c={};n.d(c,"parse",function(){return kr}),n.d(c,"format",function(){return Pu});var u={};n.d(u,"extendShape",function(){return hc}),n.d(u,"extendPath",function(){return fc}),n.d(u,"makePath",function(){return gc}),n.d(u,"makeImage",function(){return vc}),n.d(u,"mergePath",function(){return yc}),n.d(u,"resizePath",function(){return bc}),n.d(u,"createIcon",function(){return Dc}),n.d(u,"updateProps",function(){return tc}),n.d(u,"initProps",function(){return nc}),n.d(u,"getTransform",function(){return Cc}),n.d(u,"clipPointsByRect",function(){return Ec}),n.d(u,"clipRectByRect",function(){return Mc}),n.d(u,"registerShape",function(){return pc}),n.d(u,"getShapeClass",function(){return Ac}),n.d(u,"Group",function(){return tr}),n.d(u,"Image",function(){return ra}),n.d(u,"Text",function(){return ka}),n.d(u,"Circle",function(){return qs}),n.d(u,"Ellipse",function(){return nl}),n.d(u,"Sector",function(){return ml}),n.d(u,"Ring",function(){return _l}),n.d(u,"Polygon",function(){return Sl}),n.d(u,"Polyline",function(){return Tl}),n.d(u,"Rect",function(){return ha}),n.d(u,"Line",function(){return Ol}),n.d(u,"BezierCurve",function(){return Rl}),n.d(u,"Arc",function(){return jl}),n.d(u,"IncrementalDisplayable",function(){return Kl}),n.d(u,"CompoundPath",function(){return Ul}),n.d(u,"LinearGradient",function(){return zl}),n.d(u,"RadialGradient",function(){return Yl}),n.d(u,"BoundingRect",function(){return Oe});var h={};n.d(h,"addCommas",function(){return qu}),n.d(h,"toCamelCase",function(){return eh}),n.d(h,"normalizeCssArray",function(){return th}),n.d(h,"encodeHTML",function(){return ee}),n.d(h,"formatTpl",function(){return oh}),n.d(h,"getTooltipMarker",function(){return ah}),n.d(h,"formatTime",function(){return sh}),n.d(h,"capitalFirst",function(){return lh}),n.d(h,"truncateText",function(){return Ei}),n.d(h,"getTextRect",function(){return Ju});var d={};n.d(d,"map",function(){return g.map}),n.d(d,"each",function(){return g.each}),n.d(d,"indexOf",function(){return g.indexOf}),n.d(d,"inherits",function(){return g.inherits}),n.d(d,"reduce",function(){return g.reduce}),n.d(d,"filter",function(){return g.filter}),n.d(d,"bind",function(){return g.bind}),n.d(d,"curry",function(){return g.curry}),n.d(d,"isArray",function(){return g.isArray}),n.d(d,"isString",function(){return g.isString}),n.d(d,"isObject",function(){return g.isObject}),n.d(d,"isFunction",function(){return g.isFunction}),n.d(d,"extend",function(){return g.extend}),n.d(d,"defaults",function(){return g.defaults}),n.d(d,"clone",function(){return g.clone}),n.d(d,"merge",function(){return g.merge});
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */
- var f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;Object.create;var A=n("YNzw"),g=n("/gxq");function v(e,t){return null==e&&(e=0),null==t&&(t=0),[e,t]}function m(e,t){return e[0]=t[0],e[1]=t[1],e}function y(e){return[e[0],e[1]]}function b(e,t,n){return e[0]=t,e[1]=n,e}function _(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function w(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function x(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function C(e){return Math.sqrt(B(e))}var S=C;function B(e){return e[0]*e[0]+e[1]*e[1]}var k=B;function T(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function E(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function M(e,t){return e[0]*t[0]+e[1]*t[1]}function D(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function O(e,t){var n=C(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function I(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var L=I;function P(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var F=P;function R(e,t){return e[0]=-t[0],e[1]=-t[1],e}function N(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function H(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function j(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function U(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}var Q=function(){return function(e,t){this.target=e,this.topTarget=t&&t.topTarget}}(),z=function(){function e(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new Q(t,e),"dragstart",e.event))},e.prototype._drag=function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,r=e.offsetY,i=n-this._x,o=r-this._y;this._x=n,this._y=r,t.drift(i,o,e),this.handler.dispatchToElement(new Q(t,e),"drag",e.event);var a=this.handler.findHover(n,r,t).target,s=this._dropTarget;this._dropTarget=a,t!==a&&(s&&a!==s&&this.handler.dispatchToElement(new Q(s,e),"dragleave",e.event),a&&a!==s&&this.handler.dispatchToElement(new Q(a,e),"dragenter",e.event))}},e.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new Q(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new Q(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},e}(),Y=function(){function e(e){e&&(this._$eventProcessor=e)}return e.prototype.on=function(e,t,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof t&&(r=n,n=t,t=null),!n||!e)return this;var o=this._$eventProcessor;null!=t&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),i[e]||(i[e]=[]);for(var a=0;a<i[e].length;a++)if(i[e][a].h===n)return this;var s={h:n,query:t,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},l=i[e].length-1,c=i[e][l];return c&&c.callAtLast?i[e].splice(l,0,s):i[e].push(s),this},e.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},e.prototype.off=function(e,t){var n=this._$handlers;if(!n)return this;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var r=[],i=0,o=n[e].length;i<o;i++)n[e][i].h!==t&&r.push(n[e][i]);n[e]=r}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];return this},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=r.length,s=0;s<a;s++){var l=r[s];if(!i||!i.filter||null==l.query||i.filter(e,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,t[0]);break;case 2:l.h.call(l.ctx,t[0],t[1]);break;default:l.h.apply(l.ctx,t)}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e.prototype.triggerWithContext=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=t[o-1],s=r.length,l=0;l<s;l++){var c=r[l];if(!i||!i.filter||null==c.query||i.filter(e,c.query))switch(o){case 0:c.h.call(a);break;case 1:c.h.call(a,t[0]);break;case 2:c.h.call(a,t[0],t[1]);break;default:c.h.apply(a,t.slice(1,o-1))}}return i&&i.afterTrigger&&i.afterTrigger(e),this},e}(),V=Math.log(2);function G(e,t,n,r,i,o){var a=r+"-"+i,s=e.length;if(o.hasOwnProperty(a))return o[a];if(1===t){var l=Math.round(Math.log((1<<s)-1&~i)/V);return e[n][l]}for(var c=r|1<<n,u=n+1;r&1<<u;)u++;for(var h=0,d=0,f=0;d<s;d++){var p=1<<d;p&i||(h+=(f%2?-1:1)*e[n][d]*G(e,t-1,u,c,i|p,o),f++)}return o[a]=h,h}function W(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},i=G(n,8,0,0,0,r);if(0!==i){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*G(n,7,0===a?1:0,1<<a,1<<s,r)/i*t[a];return function(e,t,n){var r=t*o[6]+n*o[7]+1;e[0]=(t*o[0]+n*o[1]+o[2])/r,e[1]=(t*o[3]+n*o[4]+o[5])/r}}}var X="___zrEVENTSAVED",Z=[];function $(e,t,n,r,i){if(t.getBoundingClientRect&&A.a.domSupported&&!K(t)){var o=t[X]||(t[X]={}),a=function(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],o=t.srcCoords,a=[],s=[],l=!0,c=0;c<4;c++){var u=e[c].getBoundingClientRect(),h=2*c,d=u.left,f=u.top;a.push(d,f),l=l&&o&&d===o[h]&&f===o[h+1],s.push(e[c].offsetLeft,e[c].offsetTop)}return l&&i?i:(t.srcCoords=a,t[r]=n?W(s,a):W(a,s))}(function(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,c=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[c]+":0",r[1-l]+":auto",i[1-c]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}(t,o),o,i);if(a)return a(e,n,r),!0}return!1}function K(e){return"CANVAS"===e.nodeName.toUpperCase()}var J=/([&<>"'])/g,q={"&":"&","<":"<",">":">",'"':""","'":"'"};function ee(e){return null==e?"":(e+"").replace(J,function(e,t){return q[t]})}var te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ne=[],re=A.a.browser.firefox&&+A.a.browser.version.split(".")[0]<39;function ie(e,t,n,r){return n=n||{},r?oe(e,t,n):re&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):oe(e,t,n),n}function oe(e,t,n){if(A.a.domSupported&&e.getBoundingClientRect){var r=t.clientX,i=t.clientY;if(K(e)){var o=e.getBoundingClientRect();return n.zrX=r-o.left,void(n.zrY=i-o.top)}if($(ne,e,r,i))return n.zrX=ne[0],void(n.zrY=ne[1])}n.zrX=n.zrY=0}function ae(e){return e||window.event}function se(e,t,n){if(null!=(t=ae(t)).zrX)return t;var r=t.type;if(r&&r.indexOf("touch")>=0){var i="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];i&&ie(e,i,t,n)}else{ie(e,t,t,n);var o=function(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(null==n||null==r)return t;return 3*(0!==r?Math.abs(r):Math.abs(n))*(r>0?-1:r<0?1:n>0?-1:1)}(t);t.zrDelta=o?o/120:-(t.detail||0)/3}var a=t.button;return null==t.which&&void 0!==a&&te.test(t.type)&&(t.which=1&a?1:2&a?3:4&a?2:0),t}function le(e,t,n,r){e.addEventListener(t,n,r)}var ce=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function ue(e){return 2===e.which||3===e.which}var he=function(){function e(){this._track=[]}return e.prototype.recognize=function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(e,t,n){var r=e.touches;if(r){for(var i={points:[],touches:[],target:t,event:e},o=0,a=r.length;o<a;o++){var s=r[o],l=ie(n,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},e.prototype._recognize=function(e){for(var t in fe)if(fe.hasOwnProperty(t)){var n=fe[t](this._track,e);if(n)return n}},e}();function de(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}var fe={pinch:function(e,t){var n=e.length;if(n){var r,i=(e[n-1]||{}).points,o=(e[n-2]||{}).points||i;if(o&&o.length>1&&i&&i.length>1){var a=de(i)/de(o);!isFinite(a)&&(a=1),t.pinchScale=a;var s=[((r=i)[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2];return t.pinchX=s[0],t.pinchY=s[1],{type:"pinch",target:e[0].target,event:t}}}}};function pe(){return[1,0,0,1,0,0]}function Ae(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function ge(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function ve(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function me(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function ye(e,t,n){var r=t[0],i=t[2],o=t[4],a=t[1],s=t[3],l=t[5],c=Math.sin(n),u=Math.cos(n);return e[0]=r*u+a*c,e[1]=-r*c+a*u,e[2]=i*u+s*c,e[3]=-i*c+u*s,e[4]=u*o+c*l,e[5]=u*l-c*o,e}function be(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function _e(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*r;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*i)*l,e[5]=(o*i-n*s)*l,e):null}function we(e){var t=[1,0,0,1,0,0];return ge(t,e),t}var xe=function(){function e(e,t){this.x=e||0,this.y=t||0}return e.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(e,t){return this.x=e,this.y=t,this},e.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},e.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},e.prototype.scale=function(e){this.x*=e,this.y*=e},e.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},e.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},e.prototype.dot=function(e){return this.x*e.x+this.y*e.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},e.prototype.distance=function(e){var t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)},e.prototype.distanceSquare=function(e){var t=this.x-e.x,n=this.y-e.y;return t*t+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(e){if(e){var t=this.x,n=this.y;return this.x=e[0]*t+e[2]*n+e[4],this.y=e[1]*t+e[3]*n+e[5],this}},e.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},e.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},e.set=function(e,t,n){e.x=t,e.y=n},e.copy=function(e,t){e.x=t.x,e.y=t.y},e.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},e.lenSquare=function(e){return e.x*e.x+e.y*e.y},e.dot=function(e,t){return e.x*t.x+e.y*t.y},e.add=function(e,t,n){e.x=t.x+n.x,e.y=t.y+n.y},e.sub=function(e,t,n){e.x=t.x-n.x,e.y=t.y-n.y},e.scale=function(e,t,n){e.x=t.x*n,e.y=t.y*n},e.scaleAndAdd=function(e,t,n,r){e.x=t.x+n.x*r,e.y=t.y+n.y*r},e.lerp=function(e,t,n,r){var i=1-r;e.x=i*t.x+r*n.x,e.y=i*t.y+r*n.y},e}(),Ce=Math.min,Se=Math.max,Be=new xe,ke=new xe,Te=new xe,Ee=new xe,Me=new xe,De=new xe,Oe=function(){function e(e,t,n,r){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),this.x=e,this.y=t,this.width=n,this.height=r}return e.prototype.union=function(e){var t=Ce(e.x,this.x),n=Ce(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Se(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=Se(e.y+e.height,this.y+this.height)-n:this.height=e.height,this.x=t,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(e){var t=this,n=e.width/t.width,r=e.height/t.height,i=[1,0,0,1,0,0];return me(i,i,[-t.x,-t.y]),be(i,i,[n,r]),me(i,i,[e.x,e.y]),i},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,i=r.x,o=r.x+r.width,a=r.y,s=r.y+r.height,l=t.x,c=t.x+t.width,u=t.y,h=t.y+t.height,d=!(o<l||c<i||s<u||h<a);if(n){var f=1/0,p=0,A=Math.abs(o-l),g=Math.abs(c-i),v=Math.abs(s-u),m=Math.abs(h-a),y=Math.min(A,g),b=Math.min(v,m);o<l||c<i?y>p&&(p=y,A<g?xe.set(De,-A,0):xe.set(De,g,0)):y<f&&(f=y,A<g?xe.set(Me,A,0):xe.set(Me,-g,0)),s<u||h<a?b>p&&(p=b,v<m?xe.set(De,0,-v):xe.set(De,0,m)):y<f&&(f=y,v<m?xe.set(Me,0,v):xe.set(Me,0,-m))}return n&&xe.copy(n,d?Me:De),d},e.prototype.contain=function(e,t){return e>=this.x&&e<=this.x+this.width&&t>=this.y&&t<=this.y+this.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return 0===this.width||0===this.height},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},e.applyTransform=function(t,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],o=r[3],a=r[4],s=r[5];return t.x=n.x*i+a,t.y=n.y*o+s,t.width=n.width*i,t.height=n.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),void(t.height<0&&(t.y+=t.height,t.height=-t.height))}Be.x=Te.x=n.x,Be.y=Ee.y=n.y,ke.x=Ee.x=n.x+n.width,ke.y=Te.y=n.y+n.height,Be.transform(r),Ee.transform(r),ke.transform(r),Te.transform(r),t.x=Ce(Be.x,ke.x,Te.x,Ee.x),t.y=Ce(Be.y,ke.y,Te.y,Ee.y);var l=Se(Be.x,ke.x,Te.x,Ee.x),c=Se(Be.y,ke.y,Te.y,Ee.y);t.width=l-t.x,t.height=c-t.y}else t!==n&&e.copy(t,n)},e}(),Ie="silent";function Le(){ce(this.event)}var Pe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handler=null,t}return p(t,e),t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Y),Fe=function(){return function(e,t){this.x=e,this.y=t}}(),Re=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Ne=new Oe(0,0,0,0),He=function(e){function t(t,n,r,i,o){var a=e.call(this)||this;return a._hovered=new Fe(0,0),a.storage=t,a.painter=n,a.painterRoot=i,a._pointerSize=o,r=r||new Pe,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new z(a),a}return p(t,e),t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(g.each(Re,function(t){e.on&&e.on(t,this[t],this)},this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var t=e.zrX,n=e.zrY,r=Qe(this,t,n),i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target);var a=this._hovered=r?new Fe(t,n):this.findHover(t,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",e),this.dispatchToElement(a,"mousemove",e),s&&s!==o&&this.dispatchToElement(a,"mouseover",e)},t.prototype.mouseout=function(e){var t=e.zrEventControl;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new Fe(0,0)},t.prototype.dispatch=function(e,t){var n=this[e];n&&n.call(this,t)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},t.prototype.dispatchToElement=function(e,t,n){var r=(e=e||{}).target;if(!r||!r.silent){for(var i="on"+t,o=function(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.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:Le}}(t,e,n);r&&(r[i]&&(o.cancelBubble=!!r[i].call(r,o)),r.trigger(t,o),r=r.__hostTarget?r.__hostTarget:r.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(e){"function"==typeof e[i]&&e[i].call(e,o),e.trigger&&e.trigger(t,o)}))}},t.prototype.findHover=function(e,t,n){var r=this.storage.getDisplayList(),i=new Fe(e,t);if(Ue(r,i,e,t,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Oe(e-s,t-s,a,a),c=r.length-1;c>=0;c--){var u=r[c];u===n||u.ignore||u.ignoreCoarsePointer||u.parent&&u.parent.ignoreCoarsePointer||(Ne.copy(u.getBoundingRect()),u.transform&&Ne.applyTransform(u.transform),Ne.intersect(l)&&o.push(u))}if(o.length)for(var h=Math.PI/12,d=2*Math.PI,f=0;f<s;f+=4)for(var p=0;p<d;p+=h){if(Ue(o,i,e+f*Math.cos(p),t+f*Math.sin(p),n),i.target)return i}}return i},t.prototype.processGesture=function(e,t){this._gestureMgr||(this._gestureMgr=new he);var n=this._gestureMgr;"start"===t&&n.clear();var r=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),r){var i=r.type;e.gestureEvent=i;var o=new Fe;o.target=r.target,this.dispatchToElement(o,i,r.event)}},t}(Y);function je(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,i=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(t,n))return!1;r.silent&&(i=!0)}var s=r.__hostTarget;r=s||r.parent}return!i||Ie}return!1}function Ue(e,t,n,r,i){for(var o=e.length-1;o>=0;o--){var a=e[o],s=void 0;if(a!==i&&!a.ignore&&(s=je(a,n,r))&&(!t.topTarget&&(t.topTarget=a),s!==Ie)){t.target=a;break}}}function Qe(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}g.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){He.prototype[e]=function(t){var n,r,i=t.zrX,o=t.zrY,a=Qe(this,i,o);if("mouseup"===e&&a||(r=(n=this.findHover(i,o)).target),"mousedown"===e)this._downEl=r,this._downPoint=[t.zrX,t.zrY],this._upEl=r;else if("mouseup"===e)this._upEl=r;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||L(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}});var ze=He,Ye=32,Ve=7;function Ge(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i<n&&r(e[i],e[i-1])<0;)i++;!function(e,t,n){n--;for(;t<n;){var r=e[t];e[t++]=e[n],e[n--]=r}}(e,t,i)}else for(;i<n&&r(e[i],e[i-1])>=0;)i++;return i-t}function We(e,t,n,r,i){for(r===t&&r++;r<n;r++){for(var o,a=e[r],s=t,l=r;s<l;)i(a,e[o=s+l>>>1])<0?l=o:s=o+1;var c=r-s;switch(c){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;c>0;)e[s+c]=e[s+c-1],c--}e[s]=a}}function Xe(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])>0){for(s=r-i;l<s&&o(e,t[n+i+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{for(s=i+1;l<s&&o(e,t[n+i-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var c=a;a=i-l,l=i-c}for(a++;a<l;){var u=a+(l-a>>>1);o(e,t[n+u])>0?a=u+1:l=u}return l}function Ze(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])<0){for(s=i+1;l<s&&o(e,t[n+i-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var c=a;a=i-l,l=i-c}else{for(s=r-i;l<s&&o(e,t[n+i+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}for(a++;a<l;){var u=a+(l-a>>>1);o(e,t[n+u])<0?l=u:a=u+1}return l}function $e(e,t){var n,r,i,o=Ve,a=0;n=e.length;var s=[];function l(n){var l=r[n],c=i[n],u=r[n+1],h=i[n+1];i[n]=c+h,n===a-3&&(r[n+1]=r[n+2],i[n+1]=i[n+2]),a--;var d=Ze(e[u],e,l,c,0,t);l+=d,0!==(c-=d)&&0!==(h=Xe(e[l+c-1],e,u,h,h-1,t))&&(c<=h?function(n,r,i,a){var l=0;for(l=0;l<r;l++)s[l]=e[n+l];var c=0,u=i,h=n;if(e[h++]=e[u++],0==--a){for(l=0;l<r;l++)e[h+l]=s[c+l];return}if(1===r){for(l=0;l<a;l++)e[h+l]=e[u+l];return void(e[h+a]=s[c])}var d,f,p,A=o;for(;;){d=0,f=0,p=!1;do{if(t(e[u],s[c])<0){if(e[h++]=e[u++],f++,d=0,0==--a){p=!0;break}}else if(e[h++]=s[c++],d++,f=0,1==--r){p=!0;break}}while((d|f)<A);if(p)break;do{if(0!==(d=Ze(e[u],s,c,r,0,t))){for(l=0;l<d;l++)e[h+l]=s[c+l];if(h+=d,c+=d,(r-=d)<=1){p=!0;break}}if(e[h++]=e[u++],0==--a){p=!0;break}if(0!==(f=Xe(s[c],e,u,a,0,t))){for(l=0;l<f;l++)e[h+l]=e[u+l];if(h+=f,u+=f,0===(a-=f)){p=!0;break}}if(e[h++]=s[c++],1==--r){p=!0;break}A--}while(d>=Ve||f>=Ve);if(p)break;A<0&&(A=0),A+=2}if((o=A)<1&&(o=1),1===r){for(l=0;l<a;l++)e[h+l]=e[u+l];e[h+a]=s[c]}else{if(0===r)throw new Error;for(l=0;l<r;l++)e[h+l]=s[c+l]}}(l,c,u,h):function(n,r,i,a){var l=0;for(l=0;l<a;l++)s[l]=e[i+l];var c=n+r-1,u=a-1,h=i+a-1,d=0,f=0;if(e[h--]=e[c--],0==--r){for(d=h-(a-1),l=0;l<a;l++)e[d+l]=s[l];return}if(1===a){for(f=(h-=r)+1,d=(c-=r)+1,l=r-1;l>=0;l--)e[f+l]=e[d+l];return void(e[h]=s[u])}var p=o;for(;;){var A=0,g=0,v=!1;do{if(t(s[u],e[c])<0){if(e[h--]=e[c--],A++,g=0,0==--r){v=!0;break}}else if(e[h--]=s[u--],g++,A=0,1==--a){v=!0;break}}while((A|g)<p);if(v)break;do{if(0!==(A=r-Ze(s[u],e,n,r,r-1,t))){for(r-=A,f=(h-=A)+1,d=(c-=A)+1,l=A-1;l>=0;l--)e[f+l]=e[d+l];if(0===r){v=!0;break}}if(e[h--]=s[u--],1==--a){v=!0;break}if(0!==(g=a-Xe(e[c],s,0,a,a-1,t))){for(a-=g,f=(h-=g)+1,d=(u-=g)+1,l=0;l<g;l++)e[f+l]=s[d+l];if(a<=1){v=!0;break}}if(e[h--]=e[c--],0==--r){v=!0;break}p--}while(A>=Ve||g>=Ve);if(v)break;p<0&&(p=0),p+=2}(o=p)<1&&(o=1);if(1===a){for(f=(h-=r)+1,d=(c-=r)+1,l=r-1;l>=0;l--)e[f+l]=e[d+l];e[h]=s[u]}else{if(0===a)throw new Error;for(d=h-(a-1),l=0;l<a;l++)e[d+l]=s[l]}}(l,c,u,h))}return n<120?5:n<1542?10:n<119151?19:40,r=[],i=[],{mergeRuns:function(){for(;a>1;){var e=a-2;if(e>=1&&i[e-1]<=i[e]+i[e+1]||e>=2&&i[e-2]<=i[e]+i[e-1])i[e-1]<i[e+1]&&e--;else if(i[e]>i[e+1])break;l(e)}},forceMergeRuns:function(){for(;a>1;){var e=a-2;e>0&&i[e-1]<i[e+1]&&e--,l(e)}},pushRun:function(e,t){r[a]=e,i[a]=t,a+=1}}}function Ke(e,t,n,r){n||(n=0),r||(r=e.length);var i=r-n;if(!(i<2)){var o=0;if(i<Ye)We(e,n,r,n+(o=Ge(e,n,r,t)),t);else{var a=$e(e,t),s=function(e){for(var t=0;e>=Ye;)t|=1&e,e>>=1;return e+t}(i);do{if((o=Ge(e,n,r,t))<s){var l=i;l>s&&(l=s),We(e,n,n+l,n+o,t),o=l}a.pushRun(n,o),a.mergeRuns(),i-=o,n+=o}while(0!==i);a.forceMergeRuns()}}}var Je=1,qe=4,et=!1;function tt(){et||(et=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function nt(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var rt=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=nt}return e.prototype.traverse=function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},e.prototype.getDisplayList=function(e,t){t=t||!1;var n=this._displayList;return!e&&n.length||this.updateDisplayList(t),n},e.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,r=0,i=t.length;r<i;r++)this._updateAndAddDisplayable(t[r],null,e);n.length=this._displayListLen,Ke(n,nt)},e.prototype._updateAndAddDisplayable=function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.update(),e.afterUpdate();var r=e.getClipPath();if(e.ignoreClip)t=null;else if(r){t=t?t.slice():[];for(var i=r,o=e;i;)i.parent=o,i.updateTransform(),t.push(i),o=i,i=i.getClipPath()}if(e.childrenRef){for(var a=e.childrenRef(),s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty|=Je),this._updateAndAddDisplayable(l,t,n)}e.__dirty=0}else{var c=e;t&&t.length?c.__clipPaths=t:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(tt(),c.z=0),isNaN(c.z2)&&(tt(),c.z2=0),isNaN(c.zlevel)&&(tt(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var u=e.getDecalElement&&e.getDecalElement();u&&this._updateAndAddDisplayable(u,t,n);var h=e.getTextGuideLine();h&&this._updateAndAddDisplayable(h,t,n);var d=e.getTextContent();d&&this._updateAndAddDisplayable(d,t,n)}},e.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},e.prototype.delRoot=function(e){if(e instanceof Array)for(var t=0,n=e.length;t<n;t++)this.delRoot(e[t]);else{var r=g.indexOf(this._roots,e);r>=0&&this._roots.splice(r,1)}},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),it=A.a.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)},ot={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4))},elasticOut:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/.4)+1)},elasticInOut:function(e){var t,n=.1;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=.1):t=.4*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/.4)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-ot.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*ot.bounceIn(2*e):.5*ot.bounceOut(2*e-1)+.5}},at=ot,st=Math.pow,lt=Math.sqrt,ct=1e-8,ut=1e-4,ht=lt(3),dt=1/3,ft=v(),pt=v(),At=v();function gt(e){return e>-ct&&e<ct}function vt(e){return e>ct||e<-ct}function mt(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function yt(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function bt(e,t,n,r,i,o){var a=r+3*(t-n)-e,s=3*(n-2*t+e),l=3*(t-e),c=e-i,u=s*s-3*a*l,h=s*l-9*a*c,d=l*l-3*s*c,f=0;if(gt(u)&>(h)){if(gt(s))o[0]=0;else(C=-l/s)>=0&&C<=1&&(o[f++]=C)}else{var p=h*h-4*u*d;if(gt(p)){var A=h/u,g=-A/2;(C=-s/a+A)>=0&&C<=1&&(o[f++]=C),g>=0&&g<=1&&(o[f++]=g)}else if(p>0){var v=lt(p),m=u*s+1.5*a*(-h+v),y=u*s+1.5*a*(-h-v);(C=(-s-((m=m<0?-st(-m,dt):st(m,dt))+(y=y<0?-st(-y,dt):st(y,dt))))/(3*a))>=0&&C<=1&&(o[f++]=C)}else{var b=(2*u*s-3*a*h)/(2*lt(u*u*u)),_=Math.acos(b)/3,w=lt(u),x=Math.cos(_),C=(-s-2*w*x)/(3*a),S=(g=(-s+w*(x+ht*Math.sin(_)))/(3*a),(-s+w*(x-ht*Math.sin(_)))/(3*a));C>=0&&C<=1&&(o[f++]=C),g>=0&&g<=1&&(o[f++]=g),S>=0&&S<=1&&(o[f++]=S)}}return f}function _t(e,t,n,r,i){var o=6*n-12*t+6*e,a=9*t+3*r-3*e-9*n,s=3*t-3*e,l=0;if(gt(a)){if(vt(o))(u=-s/o)>=0&&u<=1&&(i[l++]=u)}else{var c=o*o-4*a*s;if(gt(c))i[0]=-o/(2*a);else if(c>0){var u,h=lt(c),d=(-o-h)/(2*a);(u=(-o+h)/(2*a))>=0&&u<=1&&(i[l++]=u),d>=0&&d<=1&&(i[l++]=d)}}return l}function wt(e,t,n,r,i,o){var a=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,c=(s-a)*i+a,u=(l-s)*i+s,h=(u-c)*i+c;o[0]=e,o[1]=a,o[2]=c,o[3]=h,o[4]=h,o[5]=u,o[6]=l,o[7]=r}function xt(e,t,n,r,i,o,a,s,l,c,u){var h,d,f,p,A,g=.005,v=1/0;ft[0]=l,ft[1]=c;for(var m=0;m<1;m+=.05)pt[0]=mt(e,n,i,a,m),pt[1]=mt(t,r,o,s,m),(p=F(ft,pt))<v&&(h=m,v=p);v=1/0;for(var y=0;y<32&&!(g<ut);y++)d=h-g,f=h+g,pt[0]=mt(e,n,i,a,d),pt[1]=mt(t,r,o,s,d),p=F(pt,ft),d>=0&&p<v?(h=d,v=p):(At[0]=mt(e,n,i,a,f),At[1]=mt(t,r,o,s,f),A=F(At,ft),f<=1&&A<v?(h=f,v=A):g*=.5);return u&&(u[0]=mt(e,n,i,a,h),u[1]=mt(t,r,o,s,h)),lt(v)}function Ct(e,t,n,r,i,o,a,s,l){for(var c=e,u=t,h=0,d=1/l,f=1;f<=l;f++){var p=f*d,A=mt(e,n,i,a,p),g=mt(t,r,o,s,p),v=A-c,m=g-u;h+=Math.sqrt(v*v+m*m),c=A,u=g}return h}function St(e,t,n,r){var i=1-r;return i*(i*e+2*r*t)+r*r*n}function Bt(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function kt(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function Tt(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,s=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function Et(e,t,n,r,i,o,a,s,l){var c,u=.005,h=1/0;ft[0]=a,ft[1]=s;for(var d=0;d<1;d+=.05){pt[0]=St(e,n,i,d),pt[1]=St(t,r,o,d),(g=F(ft,pt))<h&&(c=d,h=g)}h=1/0;for(var f=0;f<32&&!(u<ut);f++){var p=c-u,A=c+u;pt[0]=St(e,n,i,p),pt[1]=St(t,r,o,p);var g=F(pt,ft);if(p>=0&&g<h)c=p,h=g;else{At[0]=St(e,n,i,A),At[1]=St(t,r,o,A);var v=F(At,ft);A<=1&&v<h?(c=A,h=v):u*=.5}}return l&&(l[0]=St(e,n,i,c),l[1]=St(t,r,o,c)),lt(h)}function Mt(e,t,n,r,i,o,a){for(var s=e,l=t,c=0,u=1/a,h=1;h<=a;h++){var d=h*u,f=St(e,n,i,d),p=St(t,r,o,d),A=f-s,g=p-l;c+=Math.sqrt(A*A+g*g),s=f,l=p}return c}var Dt=/cubic-bezier\(([0-9,\.e ]+)\)/;function Ot(e){var t=e&&Dt.exec(e);if(t){var n=t[1].split(","),r=+Object(g.trim)(n[0]),i=+Object(g.trim)(n[1]),o=+Object(g.trim)(n[2]),a=+Object(g.trim)(n[3]);if(isNaN(r+i+o+a))return;var s=[];return function(e){return e<=0?0:e>=1?1:bt(0,r,o,1,e,s)&&mt(0,i,a,1,s[0])}}}var It=function(){function e(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||g.noop,this.ondestroy=e.ondestroy||g.noop,this.onrestart=e.onrestart||g.noop,e.easing&&this.setEasing(e.easing)}return e.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),!this._paused){var n=this._life,r=e-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i){if(!this.loop)return!0;var s=r%n;this._startTime=e-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=t},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(e){this.easing=e,this.easingFunc=Object(g.isFunction)(e)?e:at[e]||Ot(e)},e}(),Lt=n("DRaW"),Pt=n("edjc"),Ft=Array.prototype.slice;function Rt(e,t,n){return(t-e)*n+e}function Nt(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=Rt(t[o],n[o],r);return e}function Ht(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=t[o]+n[o]*r;return e}function jt(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=t[a][s]+n[a][s]*r}return e}function Ut(e,t){for(var n=e.length,r=t.length,i=n>r?t:e,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,r);s++)i.push({offset:a.offset,color:a.color.slice()})}function Qt(e,t,n){var r=e,i=t;if(r.push&&i.push){var o=r.length,a=i.length;if(o!==a)if(o>a)r.length=a;else for(var s=o;s<a;s++)r.push(1===n?i[s]:Ft.call(i[s]));var l=r[0]&&r[0].length;for(s=0;s<r.length;s++)if(1===n)isNaN(r[s])&&(r[s]=i[s]);else for(var c=0;c<l;c++)isNaN(r[s][c])&&(r[s][c]=i[s][c])}}function zt(e){if(Object(g.isArrayLike)(e)){var t=e.length;if(Object(g.isArrayLike)(e[0])){for(var n=[],r=0;r<t;r++)n.push(Ft.call(e[r]));return n}return Ft.call(e)}return e}function Yt(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=null==e[3]?1:e[3],"rgba("+e.join(",")+")"}var Vt=1,Gt=2,Wt=4,Xt=5;function Zt(e){return e===Wt||e===Xt}function $t(e){return e===Vt||e===Gt}var Kt=[0,0,0,0],Jt=function(){function e(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r=this.keyframes,i=r.length,o=!1,a=6,s=t;if(Object(g.isArrayLike)(t)){var l=function(e){return Object(g.isArrayLike)(e&&e[0])?2:1}(t);a=l,(1===l&&!Object(g.isNumber)(t[0])||2===l&&!Object(g.isNumber)(t[0][0]))&&(o=!0)}else if(Object(g.isNumber)(t)&&!Object(g.eqNaN)(t))a=0;else if(Object(g.isString)(t))if(isNaN(+t)){var c=Lt.parse(t);c&&(s=c,a=3)}else a=0;else if(Object(g.isGradientObject)(t)){var u=Object(g.extend)({},s);u.colorStops=Object(g.map)(t.colorStops,function(e){return{offset:e.offset,color:Lt.parse(e.color)}}),Object(Pt.m)(t)?a=Wt:Object(Pt.o)(t)&&(a=Xt),s=u}0===i?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var h={time:e,value:s,rawValue:t,percent:0};return n&&(h.easing=n,h.easingFunc=Object(g.isFunction)(n)?n:at[n]||Ot(n)),r.push(h),h},e.prototype.prepare=function(e,t){var n=this.keyframes;this._needsSort&&n.sort(function(e,t){return e.time-t.time});for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=$t(r),l=Zt(r),c=0;c<i;c++){var u=n[c],h=u.value,d=o.value;u.percent=u.time/e,a||(s&&c!==i-1?Qt(h,d,r):l&&Ut(h.colorStops,d.colorStops))}if(!a&&r!==Xt&&t&&this.needsAnimate()&&t.needsAnimate()&&r===t.valType&&!t._finished){this._additiveTrack=t;var f=n[0].value;for(c=0;c<i;c++)0===r?n[c].additiveValue=n[c].value-f:3===r?n[c].additiveValue=Ht([],n[c].value,f,-1):$t(r)&&(n[c].additiveValue=r===Vt?Ht([],n[c].value,f,-1):jt([],n[c].value,f,-1))}},e.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,i,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,l=this.keyframes,c=l.length,u=this.propName,h=3===s,d=this._lastFr,f=Math.min;if(1===c)r=i=l[0];else{if(t<0)n=0;else if(t<this._lastFrP){for(n=f(d+1,c-1);n>=0&&!(l[n].percent<=t);n--);n=f(n,c-2)}else{for(n=d;n<c&&!(l[n].percent>t);n++);n=f(n-1,c-2)}i=l[n+1],r=l[n]}if(r&&i){this._lastFr=n,this._lastFrP=t;var p=i.percent-r.percent,A=0===p?1:f((t-r.percent)/p,1);i.easingFunc&&(A=i.easingFunc(A));var v=o?this._additiveValue:h?Kt:e[u];if(!$t(s)&&!h||v||(v=this._additiveValue=[]),this.discrete)e[u]=A<1?r.rawValue:i.rawValue;else if($t(s))s===Vt?Nt(v,r[a],i[a],A):function(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=Rt(t[a][s],n[a][s],r)}}(v,r[a],i[a],A);else if(Zt(s)){var m=r[a],y=i[a],b=s===Wt;e[u]={type:b?"linear":"radial",x:Rt(m.x,y.x,A),y:Rt(m.y,y.y,A),colorStops:Object(g.map)(m.colorStops,function(e,t){var n=y.colorStops[t];return{offset:Rt(e.offset,n.offset,A),color:Yt(Nt([],e.color,n.color,A))}}),global:y.global},b?(e[u].x2=Rt(m.x2,y.x2,A),e[u].y2=Rt(m.y2,y.y2,A)):e[u].r=Rt(m.r,y.r,A)}else if(h)Nt(v,r[a],i[a],A),o||(e[u]=Yt(v));else{var _=Rt(r[a],i[a],A);o?this._additiveValue=_:e[u]=_}o&&this._addToTarget(e)}}},e.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,r=this._additiveValue;0===t?e[n]=e[n]+r:3===t?(Lt.parse(e[n],Kt),Ht(Kt,Kt,r,1),e[n]=Yt(Kt)):t===Vt?Ht(e[n],e[n],r,1):t===Gt&&jt(e[n],e[n],r,1)},e}(),qt=function(){function e(e,t,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&r?Object(g.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(e){this._target=e},e.prototype.when=function(e,t,n){return this.whenWithKeys(e,t,Object(g.keys)(t),n)},e.prototype.whenWithKeys=function(e,t,n,r){for(var i=this._tracks,o=0;o<n.length;o++){var a=n[o],s=i[a];if(!s){s=i[a]=new Jt(a);var l=void 0,c=this._getAdditiveTrack(a);if(c){var u=c.keyframes,h=u[u.length-1];l=h&&h.value,3===c.valType&&l&&(l=Yt(l))}else l=this._target[a];if(null==l)continue;e>0&&s.addKeyframe(0,zt(l),r),this._trackKeys.push(a)}s.addKeyframe(e,zt(t[a]),r)}return this._maxTime=Math.max(this._maxTime,e),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n<t;n++)e[n].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var n=0;n<t.length;n++)t[n].call(this)},e.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,n=0;n<t.length;n++)e[t[n]].setFinished()},e.prototype._getAdditiveTrack=function(e){var t,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var i=n[r].getTrack(e);i&&(t=i)}return t},e.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var t=this,n=[],r=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,c=l.length;if(a.prepare(r,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var u=l[c-1];u&&(t._target[a.propName]=u.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var h=new It({life:r,loop:this._loop,delay:this._delay||0,onframe:function(e){t._started=2;var r=t._additiveAnimators;if(r){for(var i=!1,o=0;o<r.length;o++)if(r[o]._clip){i=!0;break}i||(t._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(t._target,e);var a=t._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](t._target,e)},ondestroy:function(){t._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),e&&h.setEasing(e)}else this._doneCallback();return this}},e.prototype.stop=function(e){if(this._clip){var t=this._clip;e&&t.onframe(1),this._abortedCallback()}},e.prototype.delay=function(e){return this._delay=e,this},e.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},e.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},e.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(e){return this._tracks[e]},e.prototype.getTracks=function(){var e=this;return Object(g.map)(this._trackKeys,function(t){return e._tracks[t]})},e.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,i=0;i<e.length;i++){var o=n[e[i]];o&&!o.isFinished()&&(t?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(i=0;i<r.length;i++)if(!n[r[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},e.prototype.saveTo=function(e,t,n){if(e){t=t||this._trackKeys;for(var r=0;r<t.length;r++){var i=t[r],o=this._tracks[i];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(e[i]=zt(s.rawValue))}}}},e.prototype.__changeFinalValue=function(e,t){t=t||Object(g.keys)(e);for(var n=0;n<t.length;n++){var r=t[n],i=this._tracks[r];if(i){var o=i.keyframes;if(o.length>1){var a=o.pop();i.addKeyframe(a.time,e[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}();function en(){return(new Date).getTime()}var tn,nn,rn=function(e){function t(t){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,t=t||{},n.stage=t.stage||{},n}return p(t,e),t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var t=e.getClip();t&&this.addClip(t)},t.prototype.removeClip=function(e){if(e.animation){var t=e.prev,n=e.next;t?t.next=n:this._head=n,n?n.prev=t:this._tail=t,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var t=e.getClip();t&&this.removeClip(t),e.animation=null},t.prototype.update=function(e){for(var t=en()-this._pausedTime,n=t-this._time,r=this._head;r;){var i=r.next;r.step(t,n)?(r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=t,e||(this.trigger("frame",n),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0,it(function t(){e._running&&(it(t),!e._paused&&e.update())})},t.prototype.start=function(){this._running||(this._time=en(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=en(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=en()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var t=e.next;e.prev=e.next=e.animation=null,e=t}this._head=this._tail=null},t.prototype.isFinished=function(){return null==this._head},t.prototype.animate=function(e,t){t=t||{},this.start();var n=new qt(e,t.loop);return this.addAnimator(n),n},t}(Y),on=A.a.domSupported,an=(nn={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:tn=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:g.map(tn,function(e){var t=e.replace("mouse","pointer");return nn.hasOwnProperty(t)?t:e})}),sn={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},ln=!1;function cn(e){var t=e.pointerType;return"pen"===t||"touch"===t}function un(e){e&&(e.zrByTouch=!0)}function hn(e,t){for(var n=t,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var dn=function(){return function(e,t){this.stopPropagation=g.noop,this.stopImmediatePropagation=g.noop,this.preventDefault=g.noop,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}}(),fn={mousedown:function(e){e=se(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=se(this.dom,e);var t=this.__mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=se(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){hn(this,(e=se(this.dom,e)).toElement||e.relatedTarget)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){ln=!0,e=se(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){ln||(e=se(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){un(e=se(this.dom,e)),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),fn.mousemove.call(this,e),fn.mousedown.call(this,e)},touchmove:function(e){un(e=se(this.dom,e)),this.handler.processGesture(e,"change"),fn.mousemove.call(this,e)},touchend:function(e){un(e=se(this.dom,e)),this.handler.processGesture(e,"end"),fn.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<300&&fn.click.call(this,e)},pointerdown:function(e){fn.mousedown.call(this,e)},pointermove:function(e){cn(e)||fn.mousemove.call(this,e)},pointerup:function(e){fn.mouseup.call(this,e)},pointerout:function(e){cn(e)||fn.mouseout.call(this,e)}};g.each(["click","dblclick","contextmenu"],function(e){fn[e]=function(t){t=se(this.dom,t),this.trigger(e,t)}});var pn={pointermove:function(e){cn(e)||pn.mousemove.call(this,e)},pointerup:function(e){pn.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function An(e,t){var n=t.domHandlers;A.a.pointerEventsSupported?g.each(an.pointer,function(r){vn(t,r,function(t){n[r].call(e,t)})}):(A.a.touchEventsSupported&&g.each(an.touch,function(r){vn(t,r,function(i){n[r].call(e,i),function(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}(t)})}),g.each(an.mouse,function(r){vn(t,r,function(i){i=ae(i),t.touching||n[r].call(e,i)})}))}function gn(e,t){function n(n){vn(t,n,function(r){r=ae(r),hn(e,r.target)||(r=function(e,t){return se(e.dom,new dn(e,t),!0)}(e,r),t.domHandlers[n].call(e,r))},{capture:!0})}A.a.pointerEventsSupported?g.each(sn.pointer,n):A.a.touchEventsSupported||g.each(sn.mouse,n)}function vn(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,le(e.domTarget,t,n,r)}function mn(e){var t,n,r,i,o=e.mounted;for(var a in o)o.hasOwnProperty(a)&&(t=e.domTarget,n=a,r=o[a],i=e.listenerOpts[a],t.removeEventListener(n,r,i));e.mounted={}}var yn=function(){return function(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t}}(),bn=function(e){function t(t,n){var r=e.call(this)||this;return r.__pointerCapturing=!1,r.dom=t,r.painterRoot=n,r._localHandlerScope=new yn(t,fn),on&&(r._globalHandlerScope=new yn(document,pn)),An(r,r._localHandlerScope),r}return p(t,e),t.prototype.dispose=function(){mn(this._localHandlerScope),on&&mn(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,on&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var t=this._globalHandlerScope;e?gn(this,t):mn(t)}},t}(Y),_n=1;A.a.hasGlobalWindow&&(_n=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var wn=_n,xn=.4,Cn=Ae,Sn=5e-5;function Bn(e){return e>Sn||e<-Sn}var kn=[],Tn=[],En=[1,0,0,1,0,0],Mn=Math.abs,Dn=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function On(e,t){for(var n=0;n<Dn.length;n++){var r=Dn[n];e[r]=t[r]}}var In=function(){function e(){}var t;return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},e.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},e.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},e.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},e.prototype.needLocalTransform=function(){return Bn(this.rotation)||Bn(this.x)||Bn(this.y)||Bn(this.scaleX-1)||Bn(this.scaleY-1)||Bn(this.skewX)||Bn(this.skewY)},e.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||[1,0,0,1,0,0],t?this.getLocalTransform(n):Cn(n),e&&(t?ve(n,e,n):ge(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&Cn(n)},e.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(null!=t&&1!==t){this.getGlobalScale(kn);var n=kn[0]<0?-1:1,r=kn[1]<0?-1:1,i=((kn[0]-n)*t+n)/kn[0]||0,o=((kn[1]-r)*t+r)/kn[1]||0;e[0]*=i,e[1]*=i,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],_e(this.invTransform,e)},e.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},e.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=Math.atan2(e[1],e[0]),i=Math.PI/2+r-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(ve(Tn,e.invTransform,t),t=Tn);var n=this.originX,r=this.originY;(n||r)&&(En[4]=n,En[5]=r,ve(Tn,t,En),Tn[4]-=n,Tn[5]-=r,t=Tn),this.setLocalTransform(t)}},e.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},e.prototype.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&H(n,n,r),n},e.prototype.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&H(n,n,r),n},e.prototype.getLineScale=function(){var e=this.transform;return e&&Mn(e[0]-1)>1e-10&&Mn(e[3]-1)>1e-10?Math.sqrt(Mn(e[0]*e[3]-e[2]*e[1])):1},e.prototype.copyTransform=function(e){On(this,e)},e.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,r=e.originY||0,i=e.scaleX,o=e.scaleY,a=e.anchorX,s=e.anchorY,l=e.rotation||0,c=e.x,u=e.y,h=e.skewX?Math.tan(e.skewX):0,d=e.skewY?Math.tan(-e.skewY):0;if(n||r||a||s){var f=n+a,p=r+s;t[4]=-f*i-h*p*o,t[5]=-p*o-d*f*i}else t[4]=t[5]=0;return t[0]=i,t[3]=o,t[1]=d*i,t[2]=h*o,l&&ye(t,t,l),t[4]+=n+c,t[5]+=r+u,t},e.initDefaultProps=((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,void(t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0)),e}(),Ln=n("zMj2"),Pn=n("OwOc"),Fn={};function Rn(e,t){t=t||Pn.a;var n=Fn[t];n||(n=Fn[t]=new Ln.a(500));var r=n.get(e);return null==r&&(r=Pn.d.measureText(e,t).width,n.put(e,r)),r}function Nn(e,t,n,r){var i=Rn(e,t),o=Qn(t),a=jn(0,i,n),s=Un(0,o,r);return new Oe(a,s,i,o)}function Hn(e,t,n,r){var i=((e||"")+"").split("\n");if(1===i.length)return Nn(i[0],t,n,r);for(var o=new Oe(0,0,0,0),a=0;a<i.length;a++){var s=Nn(i[a],t,n,r);0===a?o.copy(s):o.union(s)}return o}function jn(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function Un(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function Qn(e){return Rn("国",e)}function zn(e,t){return"string"==typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function Yn(e,t,n){var r=t.position||"inside",i=null!=t.distance?t.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,c=n.y,u="left",h="top";if(r instanceof Array)l+=zn(r[0],n.width),c+=zn(r[1],n.height),u=null,h=null;else switch(r){case"left":l-=i,c+=s,u="right",h="middle";break;case"right":l+=i+a,c+=s,h="middle";break;case"top":l+=a/2,c-=i,u="center",h="bottom";break;case"bottom":l+=a/2,c+=o+i,u="center";break;case"inside":l+=a/2,c+=s,u="center",h="middle";break;case"insideLeft":l+=i,c+=s,h="middle";break;case"insideRight":l+=a-i,c+=s,u="right",h="middle";break;case"insideTop":l+=a/2,c+=i,u="center";break;case"insideBottom":l+=a/2,c+=o-i,u="center",h="bottom";break;case"insideTopLeft":l+=i,c+=i;break;case"insideTopRight":l+=a-i,c+=i,u="right";break;case"insideBottomLeft":l+=i,c+=o-i,h="bottom";break;case"insideBottomRight":l+=a-i,c+=o-i,u="right",h="bottom"}return(e=e||{}).x=l,e.y=c,e.align=u,e.verticalAlign=h,e}var Vn=Dn.concat(["ignore"]),Gn=Object(g.reduce)(Dn,function(e,t){return e[t]=!0,e},{ignore:!1}),Wn={},Xn=new Oe(0,0,0,0),Zn=function(){function e(e){this.id=Object(g.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return e.prototype._init=function(e){this.attr(e)},e.prototype.drift=function(e,t,n){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=e,r[5]+=t,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=t.innerTransformable,o=void 0,a=void 0,s=!1;i.parent=r?this:null;var l=!1;if(i.copyTransform(t),null!=n.position){var c=Xn;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),r||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Wn,n,c):Yn(Wn,n,c),i.x=Wn.x,i.y=Wn.y,o=Wn.align,a=Wn.verticalAlign;var u=n.origin;if(u&&null!=n.rotation){var h=void 0,d=void 0;"center"===u?(h=.5*c.width,d=.5*c.height):(h=zn(u[0],c.width),d=zn(u[1],c.height)),l=!0,i.originX=-i.x+h+(r?0:c.x),i.originY=-i.y+d+(r?0:c.y)}}null!=n.rotation&&(i.rotation=n.rotation);var f=n.offset;f&&(i.x+=f[0],i.y+=f[1],l||(i.originX=-f[0],i.originY=-f[1]));var p=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,A=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,v=void 0,m=void 0;p&&this.canBeInsideText()?(g=n.insideFill,v=n.insideStroke,null!=g&&"auto"!==g||(g=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(g),m=!0)):(g=n.outsideFill,v=n.outsideStroke,null!=g&&"auto"!==g||(g=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(g),m=!0)),(g=g||"#000")===A.fill&&v===A.stroke&&m===A.autoStroke&&o===A.align&&a===A.verticalAlign||(s=!0,A.fill=g,A.stroke=v,A.autoStroke=m,A.align=o,A.verticalAlign=a,t.setDefaultTextStyle(A)),t.__dirty|=Je,s&&t.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(e){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?"#ccc":"#333"},e.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof t&&Object(Lt.parse)(t);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(i?0:255)*(1-r);return n[3]=1,Object(Lt.stringify)(n,"rgba")},e.prototype.traverse=function(e,t){},e.prototype.attrKV=function(e,t){"textConfig"===e?this.setTextConfig(t):"textContent"===e?this.setTextContent(t):"clipPath"===e?this.setClipPath(t):"extra"===e?(this.extra=this.extra||{},Object(g.extend)(this.extra,t)):this[e]=t},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(e,t){if("string"==typeof e)this.attrKV(e,t);else if(Object(g.isObject)(e))for(var n=e,r=Object(g.keys)(n),i=0;i<r.length;i++){var o=r[i];this.attrKV(o,e[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],i=r.__fromStateTransition;if(!(r.getLoop()||i&&"__zr_normal__"!==i)){var o=r.targetName,a=o?t[o]:t;r.saveTo(a)}}},e.prototype._innerSaveToNormal=function(e){var t=this._normalState;t||(t=this._normalState={}),e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,Vn)},e.prototype._savePrimaryToNormal=function(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];null==e[i]||i in t||(t[i]=this[i])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(e){return this.states[e]},e.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},e.prototype.clearStates=function(e){this.useState("__zr_normal__",!1,e)},e.prototype.useState=function(e,t,n,r){var i="__zr_normal__"===e;if(this.hasState()||!i){var o=this.currentStates,a=this.stateTransition;if(!(Object(g.indexOf)(o,e)>=0)||!t&&1!==o.length){var s;if(this.stateProxy&&!i&&(s=this.stateProxy(e)),s||(s=this.states&&this.states[e]),s||i){i||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||r);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,s,this._normalState,t,!n&&!this.__inHover&&a&&a.duration>0,a);var c=this._textContent,u=this._textGuide;return c&&c.useState(e,t,n,l),u&&u.useState(e,t,n,l),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Je),s}Object(g.logError)("State "+e+" not exists.")}}},e.prototype.useStates=function(e,t,n){if(e.length){var r=[],i=this.currentStates,o=e.length,a=o===i.length;if(a)for(var s=0;s<o;s++)if(e[s]!==i[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=e[s],c=void 0;this.stateProxy&&(c=this.stateProxy(l,e)),c||(c=this.states[l]),c&&r.push(c)}var u=r[o-1],h=!!(u&&u.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(r),f=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(e.join(","),d,this._normalState,!1,!t&&!this.__inHover&&f&&f.duration>0,f);var p=this._textContent,A=this._textGuide;p&&p.useStates(e,t,h),A&&A.useStates(e,t,h),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Je)}else this.clearStates()},e.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},e.prototype.removeState=function(e){var t=Object(g.indexOf)(this.currentStates,e);if(t>=0){var n=this.currentStates.slice();n.splice(t,1),this.useStates(n)}},e.prototype.replaceState=function(e,t,n){var r=this.currentStates.slice(),i=Object(g.indexOf)(r,e),o=Object(g.indexOf)(r,t)>=0;i>=0?o?r.splice(i,1):r[i]=t:n&&!o&&r.push(t),this.useStates(r)},e.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},e.prototype._mergeStates=function(e){for(var t,n={},r=0;r<e.length;r++){var i=e[r];Object(g.extend)(n,i),i.textConfig&&(t=t||{},Object(g.extend)(t,i.textConfig))}return t&&(n.textConfig=t),n},e.prototype._applyStateObj=function(e,t,n,r,i,o){var a=!(t&&r);t&&t.textConfig?(this.textConfig=Object(g.extend)({},r?this.textConfig:n.textConfig),Object(g.extend)(this.textConfig,t.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,c=0;c<Vn.length;c++){var u=Vn[c],h=i&&Gn[u];t&&null!=t[u]?h?(l=!0,s[u]=t[u]):this[u]=t[u]:a&&null!=n[u]&&(h?(l=!0,s[u]=n[u]):this[u]=n[u])}if(!i)for(c=0;c<this.animators.length;c++){var d=this.animators[c],f=d.targetName;d.getLoop()||d.__changeFinalValue(f?(t||n)[f]:t||n)}l&&this._transitionState(e,s,o)},e.prototype._attachComponent=function(e){if((!e.__zr||e.__hostTarget)&&e!==this){var t=this.__zr;t&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this}},e.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},e.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(e){var t=this._textContent;t!==e&&(t&&t!==e&&this.removeTextContent(),e.innerTransformable=new In,this._attachComponent(e),this._textContent=e,this.markRedraw())},e.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),Object(g.extend)(this.textConfig,e),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=Je;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,n=this._textGuide;t&&(t.__inHover=e),n&&(n.__inHover=e)},e.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.addAnimator(t[n]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},e.prototype.animate=function(e,t,n){var r=e?this[e]:this;var i=new qt(r,t,n);return e&&(i.targetName=e),this.addAnimator(i,e),i},e.prototype.addAnimator=function(e,t){var n=this.__zr,r=this;e.during(function(){r.updateDuringAnimation(t)}).done(function(){var t=r.animators,n=Object(g.indexOf)(t,e);n>=0&&t.splice(n,1)}),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(e){this.markRedraw()},e.prototype.stopAnimation=function(e,t){for(var n=this.animators,r=n.length,i=[],o=0;o<r;o++){var a=n[o];e&&e!==a.scope?i.push(a):a.stop(t)}return this.animators=i,this},e.prototype.animateTo=function(e,t,n){$n(this,e,t,n)},e.prototype.animateFrom=function(e,t,n){$n(this,e,t,n,!0)},e.prototype._transitionState=function(e,t,n,r){for(var i=$n(this,t,n,r),o=0;o<i.length;o++)i[o].__fromStateTransition=e},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=Je;function n(e,n,r,i){function o(e,t){Object.defineProperty(t,0,{get:function(){return e[r]},set:function(t){e[r]=t}}),Object.defineProperty(t,1,{get:function(){return e[i]},set:function(t){e[i]=t}})}Object.defineProperty(t,e,{get:function(){this[n]||o(this,this[n]=[]);return this[n]},set:function(e){this[r]=e[0],this[i]=e[1],this[n]=e,o(this,e)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();function $n(e,t,n,r,i){var o=[];!function e(t,n,r,i,o,a,s,l){var c=Object(g.keys)(i);var u=o.duration;var h=o.delay;var d=o.additive;var f=o.setToFinal;var p=!Object(g.isObject)(a);var A=t.animators;var v=[];for(var m=0;m<c.length;m++){var y=c[m],b=i[y];if(null!=b&&null!=r[y]&&(p||a[y]))if(!Object(g.isObject)(b)||Object(g.isArrayLike)(b)||Object(g.isGradientObject)(b))v.push(y);else{if(n){l||(r[y]=b,t.updateDuringAnimation(n));continue}e(t,y,r[y],b,o,a&&a[y],s,l)}else l||(r[y]=b,t.updateDuringAnimation(n),v.push(y))}var _=v.length;if(!d&&_)for(var w=0;w<A.length;w++){var x=A[w];if(x.targetName===n){var C=x.stopTracks(v);if(C){var S=Object(g.indexOf)(A,x);A.splice(S,1)}}}o.force||(v=Object(g.filter)(v,function(e){return t=i[e],n=r[e],!(t===n||Object(g.isArrayLike)(t)&&Object(g.isArrayLike)(n)&&function(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}(t,n));var t,n}),_=v.length);if(_>0||o.force&&!s.length){var B=void 0,k=void 0,T=void 0;if(l){k={},f&&(B={});for(var w=0;w<_;w++){var y=v[w];k[y]=r[y],f?B[y]=i[y]:r[y]=i[y]}}else if(f){T={};for(var w=0;w<_;w++){var y=v[w];T[y]=zt(r[y]),Jn(r,i,y)}}var x=new qt(r,!1,!1,d?Object(g.filter)(A,function(e){return e.targetName===n}):null);x.targetName=n,o.scope&&(x.scope=o.scope),f&&B&&x.whenWithKeys(0,B,v),T&&x.whenWithKeys(0,T,v),x.whenWithKeys(null==u?500:u,l?k:i,v).delay(h||0),t.addAnimator(x,n),s.push(x)}}(e,"",e,t,n=n||{},r,o,i);var a=o.length,s=!1,l=n.done,c=n.aborted,u=function(){s=!0,--a<=0&&(s?l&&l():c&&c())},h=function(){--a<=0&&(s?l&&l():c&&c())};a||l&&l(),o.length>0&&n.during&&o[0].during(function(e,t){n.during(t)});for(var d=0;d<o.length;d++){var f=o[d];u&&f.done(u),h&&f.aborted(h),n.force&&f.duration(n.duration),f.start(n.easing)}return o}function Kn(e,t,n){for(var r=0;r<n;r++)e[r]=t[r]}function Jn(e,t,n){if(Object(g.isArrayLike)(t[n]))if(Object(g.isArrayLike)(e[n])||(e[n]=[]),Object(g.isTypedArray)(t[n])){var r=t[n].length;e[n].length!==r&&(e[n]=new t[n].constructor(r),Kn(e[n],t[n],r))}else{var i=t[n],o=e[n],a=i.length;if(c=i,Object(g.isArrayLike)(c[0]))for(var s=i[0].length,l=0;l<a;l++)o[l]?Kn(o[l],i[l],s):o[l]=Array.prototype.slice.call(i[l]);else Kn(o,i,a);o.length=i.length}else e[n]=t[n];var c}Object(g.mixin)(Zn,Y),Object(g.mixin)(Zn,In);var qn=Zn,er=function(e){function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return p(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},t.prototype.addBefore=function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var n=this._children,r=n.indexOf(t);r>=0&&(n.splice(r,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=g.indexOf(this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];if(e&&e!==this&&e.parent!==this&&e!==r){n[t]=e,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,n=this._children,r=g.indexOf(n,e);return r<0?this:(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh(),this)},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;n<e.length;n++){var r=e[n];t&&r.removeSelfFromZr(t),r.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,t){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];e.call(t,i,r)}return this},t.prototype.traverse=function(e,t){for(var n=0;n<this._children.length;n++){var r=this._children[n],i=e.call(t,r);r.isGroup&&!i&&r.traverse(e,t)}return this},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(t)}},t.prototype.getBoundingRect=function(e){for(var t=new Oe(0,0,0,0),n=e||this._children,r=[],i=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(r);l?(Oe.applyTransform(t,s,l),(i=i||t.clone()).union(t)):(i=i||s.clone()).union(s)}}return i||t},t}(qn);er.prototype.type="group";var tr=er,nr={},rr={};
- /*!
- * ZRender, a high performance 2d drawing library.
- *
- * Copyright (c) 2013, Baidu Inc.
- * All rights reserved.
- *
- * LICENSE
- * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
- */var ir=function(){function e(e,t,n){var r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=t,this.id=e;var i=new rt,o=n.renderer||"canvas";nr[o]||(o=g.keys(nr)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var a=new nr[o](t,i,n,e),s=n.ssr||a.ssrOnly;this.storage=i,this.painter=a;var l,c=A.a.node||A.a.worker||s?null:new bn(a.getViewportRoot(),a.root),u=n.useCoarsePointer;(null==u||"auto"===u?A.a.touchEventsSupported:!!u)&&(l=g.retrieve2(n.pointerSize,44)),this.handler=new ze(i,a,c,a.root,l),this.animation=new rn({stage:{update:s?null:function(){return r._flush(!0)}}}),s||this.animation.start()}return e.prototype.add=function(e){e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},e.prototype.remove=function(e){e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(e,t){this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh()},e.prototype.setBackgroundColor=function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=function(e){if(!e)return!1;if("string"==typeof e)return Object(Lt.lum)(e,1)<xn;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,i=0;i<r;i++)n+=Object(Lt.lum)(t[i].color,1);return(n/=r)<xn}return!1}(e)},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(e){this._darkMode=e},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(e){e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},e.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},e.prototype.flush=function(){this._flush(!1)},e.prototype._flush=function(e){var t,n=en();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var r=en();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:r-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},e.prototype.resize=function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(e){this.handler.setCursorStyle(e)},e.prototype.findHover=function(e,t){return this.handler.findHover(e,t)},e.prototype.on=function(e,t,n){return this.handler.on(e,t,n),this},e.prototype.off=function(e,t){this.handler.off(e,t)},e.prototype.trigger=function(e,t){this.handler.trigger(e,t)},e.prototype.clear=function(){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof tr&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},e.prototype.dispose=function(){var e;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,e=this.id,delete rr[e]},e}();function or(e,t){var n=new ir(g.guid(),e,t);return rr[n.id]=n,n}function ar(e){e.dispose()}function sr(){for(var e in rr)rr.hasOwnProperty(e)&&rr[e].dispose();rr={}}function lr(e){return rr[e]}function cr(e,t){nr[e]=t}var ur="5.4.3",hr=1e-4,dr=20;function fr(e,t,n,r){var i=t[0],o=t[1],a=n[0],s=n[1],l=o-i,c=s-a;if(0===l)return 0===c?a:(a+s)/2;if(r)if(l>0){if(e<=i)return a;if(e>=o)return s}else{if(e>=i)return a;if(e<=o)return s}else{if(e===i)return a;if(e===o)return s}return(e-i)/l*c+a}function pr(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return g.isString(e)?(n=e,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e;var n}function Ar(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),dr),e=(+e).toFixed(t),n?e:+e}function gr(e){return e.sort(function(e,t){return e-t}),e}function vr(e){if(e=+e,isNaN(e))return 0;if(e>1e-14)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return mr(e)}function mr(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function yr(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function br(e,t,n){return e[t]&&_r(e,n)[t]||0}function _r(e,t){var n=g.reduce(e,function(e,t){return e+(isNaN(t)?0:t)},0);if(0===n)return[];for(var r=Math.pow(10,t),i=g.map(e,function(e){return(isNaN(e)?0:e)/n*r*100}),o=100*r,a=g.map(i,function(e){return Math.floor(e)}),s=g.reduce(a,function(e,t){return e+t},0),l=g.map(i,function(e,t){return e-a[t]});s<o;){for(var c=Number.NEGATIVE_INFINITY,u=null,h=0,d=l.length;h<d;++h)l[h]>c&&(c=l[h],u=h);++a[u],l[u]=0,++s}return g.map(a,function(e){return e/r})}function wr(e,t){var n=Math.max(vr(e),vr(t)),r=e+t;return n>dr?r:Ar(r,n)}var xr=9007199254740991;function Cr(e){var t=2*Math.PI;return(e%t+t)%t}function Sr(e){return e>-hr&&e<hr}var Br=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function kr(e){if(e instanceof Date)return e;if(g.isString(e)){var t=Br.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}return null==e?new Date(NaN):new Date(Math.round(e))}function Tr(e){return Math.pow(10,Er(e))}function Er(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function Mr(e,t){var n=Er(e),r=Math.pow(10,n),i=e/r;return e=(t?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,n>=-20?+e.toFixed(n<0?-n:0):e}function Dr(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],o=n-r;return o?i+o*(e[r]-i):i}function Or(e){e.sort(function(e,t){return function e(t,n,r){return t.interval[r]<n.interval[r]||t.interval[r]===n.interval[r]&&(t.close[r]-n.close[r]==(r?-1:1)||!r&&e(t,n,1))}(e,t,0)?-1:1});for(var t=-1/0,n=1,r=0;r<e.length;){for(var i=e[r].interval,o=e[r].close,a=0;a<2;a++)i[a]<=t&&(i[a]=t,o[a]=a?1:1-n),t=i[a],n=o[a];i[0]===i[1]&&o[0]*o[1]!=1?e.splice(r,1):r++}return e}function Ir(e){var t=parseFloat(e);return t==e&&(0!==t||!g.isString(e)||e.indexOf("x")<=0)?t:NaN}function Lr(e){return!isNaN(Ir(e))}function Pr(){return Math.round(9*Math.random())}function Fr(e,t){return null==e?t:null==t?e:e*t/function e(t,n){return 0===n?t:e(n,t%n)}(e,t)}"undefined"!=typeof console&&console.warn&&console.log;function Rr(e){0}function Nr(e){throw new Error(e)}function Hr(e,t,n){return(t-e)*n+e}var jr="series\0",Ur="\0_ec_\0";function Qr(e){return e instanceof Array?e:null==e?[]:[e]}function zr(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var Yr=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Vr(e){return!Object(g.isObject)(e)||Object(g.isArray)(e)||e instanceof Date?e:e.value}function Gr(e){return Object(g.isObject)(e)&&!(e instanceof Array)}function Wr(e,t,n){var r="normalMerge"===n,i="replaceMerge"===n,o="replaceAll"===n;e=e||[],t=(t||[]).slice();var a=Object(g.createHashMap)();Object(g.each)(t,function(e,n){Object(g.isObject)(e)||(t[n]=null)});var s,l,c=function(e,t,n){var r=[];if("replaceAll"===n)return r;for(var i=0;i<e.length;i++){var o=e[i];o&&null!=o.id&&t.set(o.id,i),r.push({existing:"replaceMerge"===n||Jr(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}(e,a,n);return(r||i)&&function(e,t,n,r){Object(g.each)(r,function(i,o){if(i&&null!=i.id){var a=Zr(i.id),s=n.get(a);if(null!=s){var l=e[s];Object(g.assert)(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=i,l.existing=t[s],r[o]=null}}})}(c,e,a,t),r&&function(e,t){Object(g.each)(t,function(n,r){if(n&&null!=n.name)for(var i=0;i<e.length;i++){var o=e[i].existing;if(!e[i].newOption&&o&&(null==o.id||null==n.id)&&!Jr(n)&&!Jr(o)&&Xr("name",o,n))return e[i].newOption=n,void(t[r]=null)}})}(c,t),r||i?function(e,t,n){Object(g.each)(t,function(t){if(t){for(var r,i=0;(r=e[i])&&(r.newOption||Jr(r.existing)||r.existing&&null!=t.id&&!Xr("id",t,r.existing));)i++;r?(r.newOption=t,r.brandNew=n):e.push({newOption:t,brandNew:n,existing:null,keyInfo:null}),i++}})}(c,t,i):o&&function(e,t){Object(g.each)(t,function(t){e.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})}(c,t),s=c,l=Object(g.createHashMap)(),Object(g.each)(s,function(e){var t=e.existing;t&&l.set(t.id,e)}),Object(g.each)(s,function(e){var t=e.newOption;Object(g.assert)(!t||null==t.id||!l.get(t.id)||l.get(t.id)===e,"id duplicates: "+(t&&t.id)),t&&null!=t.id&&l.set(t.id,e),!e.keyInfo&&(e.keyInfo={})}),Object(g.each)(s,function(e,t){var n=e.existing,r=e.newOption,i=e.keyInfo;if(Object(g.isObject)(r)){if(i.name=null!=r.name?Zr(r.name):n?n.name:jr+t,n)i.id=Zr(n.id);else if(null!=r.id)i.id=Zr(r.id);else{var o=0;do{i.id="\0"+i.name+"\0"+o++}while(l.get(i.id))}l.set(i.id,e)}}),c}function Xr(e,t,n){var r=$r(t[e],null),i=$r(n[e],null);return null!=r&&null!=i&&r===i}function Zr(e){return $r(e,"")}function $r(e,t){return null==e?t:Object(g.isString)(e)?e:Object(g.isNumber)(e)||Object(g.isStringSafe)(e)?e+"":t}function Kr(e){var t=e.name;return!(!t||!t.indexOf(jr))}function Jr(e){return e&&null!=e.id&&0===Zr(e.id).indexOf(Ur)}function qr(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?Object(g.isArray)(t.dataIndex)?Object(g.map)(t.dataIndex,function(t){return e.indexOfRawIndex(t)}):e.indexOfRawIndex(t.dataIndex):null!=t.name?Object(g.isArray)(t.name)?Object(g.map)(t.name,function(t){return e.indexOfName(t)}):e.indexOfName(t.name):void 0}function ei(){var e="__ec_inner_"+ti++;return function(t){return t[e]||(t[e]={})}}var ti=Pr();function ni(e,t,n){var r=ri(t,n),i=r.mainTypeSpecified,o=r.queryOptionMap,a=r.others,s=n?n.defaultMainType:null;return!i&&s&&o.set(s,{}),o.each(function(t,r){var i=ai(e,r,t,{useDefault:s===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[r+"Models"]=i.models,a[r+"Model"]=i.models[0]}),a}function ri(e,t){var n;if(Object(g.isString)(e)){var r={};r[e+"Index"]=0,n=r}else n=e;var i=Object(g.createHashMap)(),o={},a=!1;return Object(g.each)(n,function(e,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=r[1],l=(r[2]||"").toLowerCase();if(s&&l&&!(t&&t.includeMainTypes&&Object(g.indexOf)(t.includeMainTypes,s)<0))a=a||!!s,(i.get(s)||i.set(s,{}))[l]=e}else o[n]=e}),{mainTypeSpecified:a,queryOptionMap:i,others:o}}var ii={useDefault:!0,enableAll:!1,enableNone:!1},oi={useDefault:!1,enableAll:!0,enableNone:!0};function ai(e,t,n,r){r=r||ii;var i=n.index,o=n.id,a=n.name,s={models:null,specified:null!=i||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=r.useDefault&&(l=e.getComponent(t))?[l]:[],s}return"none"===i||!1===i?(Object(g.assert)(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===i&&(Object(g.assert)(r.enableAll,'`"all"` is not a valid value on index option.'),i=o=a=null),s.models=e.queryComponents({mainType:t,index:i,id:o,name:a}),s)}function si(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function li(e,t){var n=Object(g.createHashMap)(),r=[];return Object(g.each)(e,function(e){var i=t(e);(n.get(i)||(r.push(i),n.set(i,[]))).push(e)}),{keys:r,buckets:n}}function ci(e,t,n,r,i){var o=null==t||"auto"===t;if(null==r)return r;if(Object(g.isNumber)(r))return Ar(p=Hr(n||0,r,i),o?Math.max(vr(n||0),vr(r)):t);if(Object(g.isString)(r))return i<1?n:r;for(var a=[],s=n,l=r,c=Math.max(s?s.length:0,l.length),u=0;u<c;++u){var h=e.getDimensionInfo(u);if(h&&"ordinal"===h.type)a[u]=(i<1&&s?s:l)[u];else{var d=s&&s[u]?s[u]:0,f=l[u],p=Hr(d,f,i);a[u]=Ar(p,o?Math.max(vr(d),vr(f)):t)}}return a}var ui=".",hi="___EC__COMPONENT__CONTAINER___",di="___EC__EXTENDED_CLASS___";function fi(e){var t={main:"",sub:""};if(e){var n=e.split(ui);t.main=n[0]||"",t.sub=n[1]||""}return t}function pi(e,t){e.$constructor=e,e.extend=function(e){var t,n,r=this;return n=r,g.isFunction(n)&&/^class\s/.test(Function.prototype.toString.call(n))?t=function(e){function t(){return e.apply(this,arguments)||this}return p(t,e),t}(r):(t=function(){(e.$constructor||r).apply(this,arguments)},g.inherits(t,this)),g.extend(t.prototype,e),t[di]=!0,t.extend=this.extend,t.superCall=vi,t.superApply=mi,t.superClass=r,t}}function Ai(e,t){e.extend=t.extend}var gi=Math.round(10*Math.random());function vi(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[t].apply(e,n)}function mi(e,t,n){return this.superClass.prototype[t].apply(e,n)}function yi(e){var t={};e.registerClass=function(e){var n,r=e.type||e.prototype.type;if(r){n=r,g.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),e.prototype.type=r;var i=fi(r);if(i.sub){if(i.sub!==hi){((function(e){var n=t[e.main];n&&n[hi]||((n=t[e.main]={})[hi]=!0);return n})(i))[i.sub]=e}}else t[i.main]=e}return e},e.getClass=function(e,n,r){var i=t[e];if(i&&i[hi]&&(i=n?i[n]:null),r&&!i)throw new Error(n?"Component "+e+"."+(n||"")+" is used but not imported.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){var n=fi(e),r=[],i=t[n.main];return i&&i[hi]?g.each(i,function(e,t){t!==hi&&r.push(e)}):r.push(i),r},e.hasClass=function(e){var n=fi(e);return!!t[n.main]},e.getAllClassMainTypes=function(){var e=[];return g.each(t,function(t,n){e.push(n)}),e},e.hasSubTypes=function(e){var n=fi(e),r=t[n.main];return r&&r[hi]}}function bi(e,t){for(var n=0;n<e.length;n++)e[n][1]||(e[n][1]=e[n][0]);return t=t||!1,function(n,r,i){for(var o={},a=0;a<e.length;a++){var s=e[a][1];if(!(r&&g.indexOf(r,s)>=0||i&&g.indexOf(i,s)<0)){var l=n.getShallow(s,t);null!=l&&(o[e[a][0]]=l)}}return o}}var _i=bi([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),wi=function(){function e(){}return e.prototype.getAreaStyle=function(e,t){return _i(this,e,t)},e}(),xi=new Ln.a(50);function Ci(e){if("string"==typeof e){var t=xi.get(e);return t&&t.image}return e}function Si(e,t,n,r,i){if(e){if("string"==typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var o=xi.get(e),a={hostEl:n,cb:r,cbPayload:i};return o?!ki(t=o.image)&&o.pending.push(a):((t=Pn.d.loadImage(e,Bi,Bi)).__zrImageSrc=e,xi.put(e,t.__cachedImgObj={image:t,pending:[a]})),t}return e}return t}function Bi(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function ki(e){return e&&e.width&&e.height}var Ti=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Ei(e,t,n,r,i){if(!t)return"";var o=(e+"").split("\n");i=Mi(t,n,r,i);for(var a=0,s=o.length;a<s;a++)o[a]=Di(o[a],i);return o.join("\n")}function Mi(e,t,n,r){r=r||{};var i=Object(g.extend)({},r);i.font=t,n=Object(g.retrieve2)(n,"..."),i.maxIterations=Object(g.retrieve2)(r.maxIterations,2);var o=i.minChar=Object(g.retrieve2)(r.minChar,0);i.cnCharWidth=Rn("国",t);var a=i.ascCharWidth=Rn("a",t);i.placeholder=Object(g.retrieve2)(r.placeholder,"");for(var s=e=Math.max(0,e-1),l=0;l<o&&s>=a;l++)s-=a;var c=Rn(n,t);return c>s&&(n="",c=0),s=e-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=s,i.containerWidth=e,i}function Di(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var o=Rn(e,r);if(o<=n)return e;for(var a=0;;a++){if(o<=i||a>=t.maxIterations){e+=t.ellipsis;break}var s=0===a?Oi(e,i,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*i/o):0;o=Rn(e=e.substr(0,s),r)}return""===e&&(e=t.placeholder),e}function Oi(e,t,n,r){for(var i=0,o=0,a=e.length;o<a&&i<t;o++){var s=e.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}var Ii=function(){return function(){}}(),Li=function(){return function(e){this.tokens=[],e&&(this.tokens=e)}}(),Pi=function(){return function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}}();function Fi(e,t,n,r,i){var o,a,s=""===t,l=i&&n.rich[i]||{},c=e.lines,u=l.font||n.font,h=!1;if(r){var d=l.padding,f=d?d[1]+d[3]:0;if(null!=l.width&&"auto"!==l.width){var p=zn(l.width,r.width)+f;c.length>0&&p+r.accumWidth>r.width&&(o=t.split("\n"),h=!0),r.accumWidth=p}else{var A=Hi(t,u,r.width,r.breakAll,r.accumWidth);r.accumWidth=A.accumWidth+f,a=A.linesWidths,o=A.lines}}else o=t.split("\n");for(var g=0;g<o.length;g++){var v=o[g],m=new Ii;if(m.styleName=i,m.text=v,m.isLineHolder=!v&&!s,"number"==typeof l.width?m.width=l.width:m.width=a?a[g]:Rn(v,u),g||h)c.push(new Li([m]));else{var y=(c[c.length-1]||(c[0]=new Li)).tokens,b=y.length;1===b&&y[0].isLineHolder?y[0]=m:(v||!b||s)&&y.push(m)}}}var Ri=Object(g.reduce)(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function Ni(e){return!function(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}(e)||!!Ri[e]}function Hi(e,t,n,r,i){for(var o=[],a=[],s="",l="",c=0,u=0,h=0;h<e.length;h++){var d=e.charAt(h);if("\n"!==d){var f=Rn(d,t),p=!r&&!Ni(d);(o.length?u+f>n:i+u+f>n)?u?(s||l)&&(p?(s||(s=l,l="",u=c=0),o.push(s),a.push(u-c),l+=d,s="",u=c+=f):(l&&(s+=l,l="",c=0),o.push(s),a.push(u),s=d,u=f)):p?(o.push(l),a.push(c),l=d,c=f):(o.push(d),a.push(f)):(u+=f,p?(l+=d,c+=f):(l&&(s+=l,l="",c=0),s+=d))}else l&&(s+=l,u+=c),o.push(s),a.push(u),s="",l="",c=0,u=0}return o.length||s||(s=e,l="",c=0),l&&(s+=l),s&&(o.push(s),a.push(u)),1===o.length&&(u+=i),{accumWidth:u,lines:o,linesWidths:a}}var ji="__zr_style_"+Math.round(10*Math.random()),Ui={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Qi={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Ui[ji]=!0;var zi=["z","z2","invisible"],Yi=["invisible"],Vi=function(e){function t(t){return e.call(this,t)||this}var n;return p(t,e),t.prototype._init=function(t){for(var n=Object(g.keys)(t),r=0;r<n.length;r++){var i=n[r];"style"===i?this.useStyle(t[i]):e.prototype.attrKV.call(this,i,t[i])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,t,n,r){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(e,t,n){Gi.copy(e.getBoundingRect()),e.transform&&Gi.applyTransform(e.transform);return Wi.width=t,Wi.height=n,!Gi.intersect(Wi)}(this,e,t)||i&&!i[0]&&!i[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(r&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},t.prototype.contain=function(e,t){return this.rectContain(e,t)},t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.rectContain=function(e,t){var n=this.transformCoordToLocal(e,t);return this.getBoundingRect().contain(n[0],n[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var t=this.transform,n=this.getBoundingRect(),r=this.style,i=r.shadowBlur||0,o=r.shadowOffsetX||0,a=r.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new Oe(0,0,0,0)),t?Oe.applyTransform(e,n,t):e.copy(n),(i||o||a)&&(e.width+=2*i+Math.abs(o),e.height+=2*i+Math.abs(a),e.x=Math.min(e.x,e.x+o-i),e.y=Math.min(e.y,e.y+a-i));var s=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-s),e.y=Math.floor(e.y-s),e.width=Math.ceil(e.width+1+2*s),e.height=Math.ceil(e.height+1+2*s))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new Oe(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(t,n){"style"!==t?e.prototype.attrKV.call(this,t,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(e,t){return"string"==typeof e?this.style[e]=t:Object(g.extend)(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(2&this.__dirty)},t.prototype.styleUpdated=function(){this.__dirty&=-3},t.prototype.createStyle=function(e){return Object(g.createObject)(Ui,e)},t.prototype.useStyle=function(e){e[ji]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[ji]},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,n,zi)},t.prototype._applyStateObj=function(t,n,r,i,o,a){e.prototype._applyStateObj.call(this,t,n,r,i,o,a);var s,l=!(n&&i);if(n&&n.style?o?i?s=n.style:(s=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),i?this.style:r.style),this._mergeStyle(s,n.style)):l&&(s=r.style),s)if(o){var c=this.style;if(this.style=this.createStyle(l?{}:c),l)for(var u=Object(g.keys)(c),h=0;h<u.length;h++){(f=u[h])in s&&(s[f]=s[f],this.style[f]=c[f])}var d=Object(g.keys)(s);for(h=0;h<d.length;h++){var f=d[h];this.style[f]=this.style[f]}this._transitionState(t,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var p=this.__inHover?Yi:zi;for(h=0;h<p.length;h++){f=p[h];n&&null!=n[f]?this[f]=n[f]:l&&null!=r[f]&&(this[f]=r[f])}},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(r.style=n),r},t.prototype._mergeStyle=function(e,t){return Object(g.extend)(e,t),e},t.prototype.getAnimationStyleProps=function(){return Qi},t.initDefaultProps=((n=t.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=2|Je)),t}(qn),Gi=new Oe(0,0,0,0),Wi=new Oe(0,0,0,0);var Xi=Vi,Zi=Math.min,$i=Math.max,Ki=Math.sin,Ji=Math.cos,qi=2*Math.PI,eo=v(),to=v(),no=v();function ro(e,t,n){if(0!==e.length){for(var r=e[0],i=r[0],o=r[0],a=r[1],s=r[1],l=1;l<e.length;l++)r=e[l],i=Zi(i,r[0]),o=$i(o,r[0]),a=Zi(a,r[1]),s=$i(s,r[1]);t[0]=i,t[1]=a,n[0]=o,n[1]=s}}function io(e,t,n,r,i,o){i[0]=Zi(e,n),i[1]=Zi(t,r),o[0]=$i(e,n),o[1]=$i(t,r)}var oo=[],ao=[];function so(e,t,n,r,i,o,a,s,l,c){var u=_t,h=mt,d=u(e,n,i,a,oo);l[0]=1/0,l[1]=1/0,c[0]=-1/0,c[1]=-1/0;for(var f=0;f<d;f++){var p=h(e,n,i,a,oo[f]);l[0]=Zi(p,l[0]),c[0]=$i(p,c[0])}d=u(t,r,o,s,ao);for(f=0;f<d;f++){var A=h(t,r,o,s,ao[f]);l[1]=Zi(A,l[1]),c[1]=$i(A,c[1])}l[0]=Zi(e,l[0]),c[0]=$i(e,c[0]),l[0]=Zi(a,l[0]),c[0]=$i(a,c[0]),l[1]=Zi(t,l[1]),c[1]=$i(t,c[1]),l[1]=Zi(s,l[1]),c[1]=$i(s,c[1])}function lo(e,t,n,r,i,o,a,s){var l=kt,c=St,u=$i(Zi(l(e,n,i),1),0),h=$i(Zi(l(t,r,o),1),0),d=c(e,n,i,u),f=c(t,r,o,h);a[0]=Zi(e,i,d),a[1]=Zi(t,o,f),s[0]=$i(e,i,d),s[1]=$i(t,o,f)}function co(e,t,n,r,i,o,a,s,l){var c=j,u=U,h=Math.abs(i-o);if(h%qi<1e-4&&h>1e-4)return s[0]=e-n,s[1]=t-r,l[0]=e+n,void(l[1]=t+r);if(eo[0]=Ji(i)*n+e,eo[1]=Ki(i)*r+t,to[0]=Ji(o)*n+e,to[1]=Ki(o)*r+t,c(s,eo,to),u(l,eo,to),(i%=qi)<0&&(i+=qi),(o%=qi)<0&&(o+=qi),i>o&&!a?o+=qi:i<o&&a&&(i+=qi),a){var d=o;o=i,i=d}for(var f=0;f<o;f+=Math.PI/2)f>i&&(no[0]=Ji(f)*n+e,no[1]=Ki(f)*r+t,c(s,no,s),u(l,no,l))}var uo={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ho=[],fo=[],po=[],Ao=[],go=[],vo=[],mo=Math.min,yo=Math.max,bo=Math.cos,_o=Math.sin,wo=Math.abs,xo=Math.PI,Co=2*xo,So="undefined"!=typeof Float32Array,Bo=[];function ko(e){return Math.round(e/xo*1e8)/1e8%2*xo}function To(e,t){var n=ko(e[0]);n<0&&(n+=Co);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=Co?i=n+Co:t&&n-i>=Co?i=n-Co:!t&&n>i?i=n+(Co-ko(n-i)):t&&n<i&&(i=n-(Co-ko(i-n))),e[0]=n,e[1]=i}var Eo=function(){function e(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}var t;return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(e,t,n){(n=n||0)>0&&(this._ux=wo(n/wn/e)||0,this._uy=wo(n/wn/t)||0)},e.prototype.setDPR=function(e){this.dpr=e},e.prototype.setContext=function(e){this._ctx=e},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(uo.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},e.prototype.lineTo=function(e,t){var n=wo(e-this._xi),r=wo(t-this._yi),i=n>this._ux||r>this._uy;if(this.addData(uo.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(e,t,n,r,i,o){return this._drawPendingPt(),this.addData(uo.C,e,t,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(e,t,n,r,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(e,t,n,r){return this._drawPendingPt(),this.addData(uo.Q,e,t,n,r),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(e,t,n,r,i,o){this._drawPendingPt(),Bo[0]=r,Bo[1]=i,To(Bo,o),r=Bo[0];var a=(i=Bo[1])-r;return this.addData(uo.A,e,t,n,n,r,a,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,r,i,o),this._xi=bo(i)*n+e,this._yi=_o(i)*n+t,this},e.prototype.arcTo=function(e,t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},e.prototype.rect=function(e,t,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,r),this.addData(uo.R,e,t,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(uo.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&e.closePath(),this._xi=t,this._yi=n,this},e.prototype.fill=function(e){e&&e.fill(),this.toStatic()},e.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(e){var t=e.length;this.data&&this.data.length===t||!So||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},e.prototype.appendPath=function(e){e instanceof Array||(e=[e]);for(var t=e.length,n=0,r=this._len,i=0;i<t;i++)n+=e[i].len();So&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(i=0;i<t;i++)for(var o=e[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},e.prototype.addData=function(e,t,n,r,i,o,a,s,l){if(this._saveData){var c=this.data;this._len+arguments.length>c.length&&(this._expandData(),c=this.data);for(var u=0;u<arguments.length;u++)c[this._len++]=arguments[u]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,So&&this._len>11&&(this.data=new Float32Array(e)))}},e.prototype.getBoundingRect=function(){po[0]=po[1]=go[0]=go[1]=Number.MAX_VALUE,Ao[0]=Ao[1]=vo[0]=vo[1]=-Number.MAX_VALUE;var e,t=this.data,n=0,r=0,i=0,o=0;for(e=0;e<this._len;){var a=t[e++],s=1===e;switch(s&&(i=n=t[e],o=r=t[e+1]),a){case uo.M:n=i=t[e++],r=o=t[e++],go[0]=i,go[1]=o,vo[0]=i,vo[1]=o;break;case uo.L:io(n,r,t[e],t[e+1],go,vo),n=t[e++],r=t[e++];break;case uo.C:so(n,r,t[e++],t[e++],t[e++],t[e++],t[e],t[e+1],go,vo),n=t[e++],r=t[e++];break;case uo.Q:lo(n,r,t[e++],t[e++],t[e],t[e+1],go,vo),n=t[e++],r=t[e++];break;case uo.A:var l=t[e++],c=t[e++],u=t[e++],h=t[e++],d=t[e++],f=t[e++]+d;e+=1;var p=!t[e++];s&&(i=bo(d)*u+l,o=_o(d)*h+c),co(l,c,u,h,d,f,p,go,vo),n=bo(f)*u+l,r=_o(f)*h+c;break;case uo.R:io(i=n=t[e++],o=r=t[e++],i+t[e++],o+t[e++],go,vo);break;case uo.Z:n=i,r=o}j(po,po,go),U(Ao,Ao,vo)}return 0===e&&(po[0]=po[1]=Ao[0]=Ao[1]=0),new Oe(po[0],po[1],Ao[0]-po[0],Ao[1]-po[1])},e.prototype._calculateLength=function(){var e=this.data,t=this._len,n=this._ux,r=this._uy,i=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,c=0,u=0,h=0;h<t;){var d=e[h++],f=1===h;f&&(a=i=e[h],s=o=e[h+1]);var p=-1;switch(d){case uo.M:i=a=e[h++],o=s=e[h++];break;case uo.L:var A=e[h++],g=(y=e[h++])-o;(wo(E=A-i)>n||wo(g)>r||h===t-1)&&(p=Math.sqrt(E*E+g*g),i=A,o=y);break;case uo.C:var v=e[h++],m=e[h++],y=(A=e[h++],e[h++]),b=e[h++],_=e[h++];p=Ct(i,o,v,m,A,y,b,_,10),i=b,o=_;break;case uo.Q:p=Mt(i,o,v=e[h++],m=e[h++],A=e[h++],y=e[h++],10),i=A,o=y;break;case uo.A:var w=e[h++],x=e[h++],C=e[h++],S=e[h++],B=e[h++],k=e[h++],T=k+B;h+=1;e[h++];f&&(a=bo(B)*C+w,s=_o(B)*S+x),p=yo(C,S)*mo(Co,Math.abs(k)),i=bo(T)*C+w,o=_o(T)*S+x;break;case uo.R:a=i=e[h++],s=o=e[h++],p=2*e[h++]+2*e[h++];break;case uo.Z:var E=a-i;g=s-o;p=Math.sqrt(E*E+g*g),i=a,o=s}p>=0&&(l[u++]=p,c+=p)}return this._pathLen=c,c},e.prototype.rebuildPath=function(e,t){var n,r,i,o,a,s,l,c,u,h,d=this.data,f=this._ux,p=this._uy,A=this._len,g=t<1,v=0,m=0,y=0;if(!g||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,c=t*this._pathLen))e:for(var b=0;b<A;){var _=d[b++],w=1===b;switch(w&&(n=i=d[b],r=o=d[b+1]),_!==uo.L&&y>0&&(e.lineTo(u,h),y=0),_){case uo.M:n=i=d[b++],r=o=d[b++],e.moveTo(i,o);break;case uo.L:a=d[b++],s=d[b++];var x=wo(a-i),C=wo(s-o);if(x>f||C>p){if(g){if(v+(X=l[m++])>c){var S=(c-v)/X;e.lineTo(i*(1-S)+a*S,o*(1-S)+s*S);break e}v+=X}e.lineTo(a,s),i=a,o=s,y=0}else{var B=x*x+C*C;B>y&&(u=a,h=s,y=B)}break;case uo.C:var k=d[b++],T=d[b++],E=d[b++],M=d[b++],D=d[b++],O=d[b++];if(g){if(v+(X=l[m++])>c){wt(i,k,E,D,S=(c-v)/X,ho),wt(o,T,M,O,S,fo),e.bezierCurveTo(ho[1],fo[1],ho[2],fo[2],ho[3],fo[3]);break e}v+=X}e.bezierCurveTo(k,T,E,M,D,O),i=D,o=O;break;case uo.Q:k=d[b++],T=d[b++],E=d[b++],M=d[b++];if(g){if(v+(X=l[m++])>c){Tt(i,k,E,S=(c-v)/X,ho),Tt(o,T,M,S,fo),e.quadraticCurveTo(ho[1],fo[1],ho[2],fo[2]);break e}v+=X}e.quadraticCurveTo(k,T,E,M),i=E,o=M;break;case uo.A:var I=d[b++],L=d[b++],P=d[b++],F=d[b++],R=d[b++],N=d[b++],H=d[b++],j=!d[b++],U=P>F?P:F,Q=wo(P-F)>.001,z=R+N,Y=!1;if(g)v+(X=l[m++])>c&&(z=R+N*(c-v)/X,Y=!0),v+=X;if(Q&&e.ellipse?e.ellipse(I,L,P,F,H,R,z,j):e.arc(I,L,U,R,z,j),Y)break e;w&&(n=bo(R)*P+I,r=_o(R)*F+L),i=bo(z)*P+I,o=_o(z)*F+L;break;case uo.R:n=i=d[b],r=o=d[b+1],a=d[b++],s=d[b++];var V=d[b++],G=d[b++];if(g){if(v+(X=l[m++])>c){var W=c-v;e.moveTo(a,s),e.lineTo(a+mo(W,V),s),(W-=V)>0&&e.lineTo(a+V,s+mo(W,G)),(W-=G)>0&&e.lineTo(a+yo(V-W,0),s+G),(W-=V)>0&&e.lineTo(a,s+yo(G-W,0));break e}v+=X}e.rect(a,s,V,G);break;case uo.Z:if(g){var X;if(v+(X=l[m++])>c){S=(c-v)/X;e.lineTo(i*(1-S)+n*S,o*(1-S)+r*S);break e}v+=X}e.closePath(),i=n,o=r}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=uo,e.initDefaultProps=((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,void(t._version=0)),e}();function Mo(e,t,n,r,i,o,a){if(0===i)return!1;var s=i,l=0;if(a>t+s&&a>r+s||a<t-s&&a<r-s||o>e+s&&o>n+s||o<e-s&&o<n-s)return!1;if(e===n)return Math.abs(o-e)<=s/2;var c=(l=(t-r)/(e-n))*o-a+(e*r-n*t)/(e-n);return c*c/(l*l+1)<=s/2*s/2}function Do(e,t,n,r,i,o,a,s,l,c,u){if(0===l)return!1;var h=l;return!(u>t+h&&u>r+h&&u>o+h&&u>s+h||u<t-h&&u<r-h&&u<o-h&&u<s-h||c>e+h&&c>n+h&&c>i+h&&c>a+h||c<e-h&&c<n-h&&c<i-h&&c<a-h)&&xt(e,t,n,r,i,o,a,s,c,u,null)<=h/2}function Oo(e,t,n,r,i,o,a,s,l){if(0===a)return!1;var c=a;return!(l>t+c&&l>r+c&&l>o+c||l<t-c&&l<r-c&&l<o-c||s>e+c&&s>n+c&&s>i+c||s<e-c&&s<n-c&&s<i-c)&&Et(e,t,n,r,i,o,s,l,null)<=c/2}var Io=2*Math.PI;function Lo(e){return(e%=Io)<0&&(e+=Io),e}var Po=2*Math.PI;function Fo(e,t,n,r,i,o,a,s,l){if(0===a)return!1;var c=a;s-=e,l-=t;var u=Math.sqrt(s*s+l*l);if(u-c>n||u+c<n)return!1;if(Math.abs(r-i)%Po<1e-4)return!0;if(o){var h=r;r=Lo(i),i=Lo(h)}else r=Lo(r),i=Lo(i);r>i&&(i+=Po);var d=Math.atan2(l,s);return d<0&&(d+=Po),d>=r&&d<=i||d+Po>=r&&d+Po<=i}function Ro(e,t,n,r,i,o){if(o>t&&o>r||o<t&&o<r)return 0;if(r===t)return 0;var a=(o-t)/(r-t),s=r<t?1:-1;1!==a&&0!==a||(s=r<t?.5:-.5);var l=a*(n-e)+e;return l===i?1/0:l>i?s:0}var No=Eo.CMD,Ho=2*Math.PI,jo=1e-4;var Uo=[-1,-1,-1],Qo=[-1,-1];function zo(e,t,n,r,i,o,a,s,l,c){if(c>t&&c>r&&c>o&&c>s||c<t&&c<r&&c<o&&c<s)return 0;var u,h=bt(t,r,o,s,c,Uo);if(0===h)return 0;for(var d=0,f=-1,p=void 0,A=void 0,g=0;g<h;g++){var v=Uo[g],m=0===v||1===v?.5:1;mt(e,n,i,a,v)<l||(f<0&&(f=_t(t,r,o,s,Qo),Qo[1]<Qo[0]&&f>1&&(void 0,u=Qo[0],Qo[0]=Qo[1],Qo[1]=u),p=mt(t,r,o,s,Qo[0]),f>1&&(A=mt(t,r,o,s,Qo[1]))),2===f?v<Qo[0]?d+=p<t?m:-m:v<Qo[1]?d+=A<p?m:-m:d+=s<A?m:-m:v<Qo[0]?d+=p<t?m:-m:d+=s<p?m:-m)}return d}function Yo(e,t,n,r,i,o,a,s){if(s>t&&s>r&&s>o||s<t&&s<r&&s<o)return 0;var l=function(e,t,n,r,i){var o=e-2*t+n,a=2*(t-e),s=e-r,l=0;if(gt(o))vt(a)&&(u=-s/a)>=0&&u<=1&&(i[l++]=u);else{var c=a*a-4*o*s;if(gt(c))(u=-a/(2*o))>=0&&u<=1&&(i[l++]=u);else if(c>0){var u,h=lt(c),d=(-a-h)/(2*o);(u=(-a+h)/(2*o))>=0&&u<=1&&(i[l++]=u),d>=0&&d<=1&&(i[l++]=d)}}return l}(t,r,o,s,Uo);if(0===l)return 0;var c=kt(t,r,o);if(c>=0&&c<=1){for(var u=0,h=St(t,r,o,c),d=0;d<l;d++){var f=0===Uo[d]||1===Uo[d]?.5:1;St(e,n,i,Uo[d])<a||(Uo[d]<c?u+=h<t?f:-f:u+=o<h?f:-f)}return u}f=0===Uo[0]||1===Uo[0]?.5:1;return St(e,n,i,Uo[0])<a?0:o<t?f:-f}function Vo(e,t,n,r,i,o,a,s){if((s-=t)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Uo[0]=-l,Uo[1]=l;var c=Math.abs(r-i);if(c<1e-4)return 0;if(c>=Ho-1e-4){r=0,i=Ho;var u=o?1:-1;return a>=Uo[0]+e&&a<=Uo[1]+e?u:0}if(r>i){var h=r;r=i,i=h}r<0&&(r+=Ho,i+=Ho);for(var d=0,f=0;f<2;f++){var p=Uo[f];if(p+e>a){var A=Math.atan2(s,p);u=o?1:-1;A<0&&(A=Ho+A),(A>=r&&A<=i||A+Ho>=r&&A+Ho<=i)&&(A>Math.PI/2&&A<1.5*Math.PI&&(u=-u),d+=u)}}return d}function Go(e,t,n,r,i){for(var o,a,s,l,c=e.data,u=e.len(),h=0,d=0,f=0,p=0,A=0,g=0;g<u;){var v=c[g++],m=1===g;switch(v===No.M&&g>1&&(n||(h+=Ro(d,f,p,A,r,i))),m&&(p=d=c[g],A=f=c[g+1]),v){case No.M:d=p=c[g++],f=A=c[g++];break;case No.L:if(n){if(Mo(d,f,c[g],c[g+1],t,r,i))return!0}else h+=Ro(d,f,c[g],c[g+1],r,i)||0;d=c[g++],f=c[g++];break;case No.C:if(n){if(Do(d,f,c[g++],c[g++],c[g++],c[g++],c[g],c[g+1],t,r,i))return!0}else h+=zo(d,f,c[g++],c[g++],c[g++],c[g++],c[g],c[g+1],r,i)||0;d=c[g++],f=c[g++];break;case No.Q:if(n){if(Oo(d,f,c[g++],c[g++],c[g],c[g+1],t,r,i))return!0}else h+=Yo(d,f,c[g++],c[g++],c[g],c[g+1],r,i)||0;d=c[g++],f=c[g++];break;case No.A:var y=c[g++],b=c[g++],_=c[g++],w=c[g++],x=c[g++],C=c[g++];g+=1;var S=!!(1-c[g++]);o=Math.cos(x)*_+y,a=Math.sin(x)*w+b,m?(p=o,A=a):h+=Ro(d,f,o,a,r,i);var B=(r-y)*w/_+y;if(n){if(Fo(y,b,w,x,x+C,S,t,B,i))return!0}else h+=Vo(y,b,w,x,x+C,S,B,i);d=Math.cos(x+C)*_+y,f=Math.sin(x+C)*w+b;break;case No.R:if(p=d=c[g++],A=f=c[g++],o=p+c[g++],a=A+c[g++],n){if(Mo(p,A,o,A,t,r,i)||Mo(o,A,o,a,t,r,i)||Mo(o,a,p,a,t,r,i)||Mo(p,a,p,A,t,r,i))return!0}else h+=Ro(o,A,o,a,r,i),h+=Ro(p,a,p,A,r,i);break;case No.Z:if(n){if(Mo(d,f,p,A,t,r,i))return!0}else h+=Ro(d,f,p,A,r,i);d=p,f=A}}return n||(s=f,l=A,Math.abs(s-l)<jo)||(h+=Ro(d,f,p,A,r,i)||0),0!==h}var Wo=Object(g.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Ui),Xo={style:Object(g.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Qi.style)},Zo=Dn.concat(["invisible","culling","z","z2","zlevel","parent"]),$o=function(e){function t(t){return e.call(this,t)||this}var n;return p(t,e),t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(e){n.buildPath(e,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s<Zo.length;++s)i[Zo[s]]=this[Zo[s]];i.__dirty|=Je}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(t){var n=Object(g.keys)(t);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var i=0;i<n.length;i++){var o=n[i],a=t[o];"style"===o?this.style?Object(g.extend)(this.style,a):this.useStyle(a):"shape"===o?Object(g.extend)(this.shape,a):e.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var e=this.style.fill;if("none"!==e){if(Object(g.isString)(e)){var t=Object(Lt.lum)(e,0);return t>.5?"#333":t>.2?"#eee":"#ccc"}if(e)return"#ccc"}return"#333"},t.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(Object(g.isString)(t)){var n=this.__zr;if(!(!n||!n.isDarkMode())===Object(Lt.lum)(e,0)<xn)return t}},t.prototype.buildPath=function(e,t,n){},t.prototype.pathUpdated=function(){this.__dirty&=~qe},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new Eo(!1)},t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.getBoundingRect=function(){var e=this._rect,t=this.style,n=!e;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&qe)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),e=i.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||n){o.copy(e);var a=t.strokeNoScale?this.getLineScale():1,s=t.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return e},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(e,t,n,r){return Go(e,t,!0,n,r)}(o,a/s,e,t)))return!0}if(this.hasFill())return function(e,t,n){return Go(e,0,!1,t,n)}(o,e,t)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=qe,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(t,n){"shape"===t?this.setShape(n):e.prototype.attrKV.call(this,t,n)},t.prototype.setShape=function(e,t){var n=this.shape;return n||(n=this.shape={}),"string"==typeof e?n[e]=t:Object(g.extend)(n,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&qe)},t.prototype.createStyle=function(e){return Object(g.createObject)(Wo,e)},t.prototype._innerSaveToNormal=function(t){e.prototype._innerSaveToNormal.call(this,t);var n=this._normalState;t.shape&&!n.shape&&(n.shape=Object(g.extend)({},this.shape))},t.prototype._applyStateObj=function(t,n,r,i,o,a){e.prototype._applyStateObj.call(this,t,n,r,i,o,a);var s,l=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=Object(g.extend)({},r.shape),Object(g.extend)(s,n.shape)):(s=Object(g.extend)({},i?this.shape:r.shape),Object(g.extend)(s,n.shape)):l&&(s=r.shape),s)if(o){this.shape=Object(g.extend)({},this.shape);for(var c={},u=Object(g.keys)(s),h=0;h<u.length;h++){var d=u[h];"object"==typeof s[d]?this.shape[d]=s[d]:c[d]=s[d]}this._transitionState(t,{shape:c},a)}else this.shape=s,this.dirtyShape()},t.prototype._mergeStates=function(t){for(var n,r=e.prototype._mergeStates.call(this,t),i=0;i<t.length;i++){var o=t[i];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(r.shape=n),r},t.prototype.getAnimationStyleProps=function(){return Xo},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var n=function(t){function n(n){var r=t.call(this,n)||this;return e.init&&e.init.call(r,n),r}return p(n,t),n.prototype.getDefaultStyle=function(){return Object(g.clone)(e.style)},n.prototype.getDefaultShape=function(){return Object(g.clone)(e.shape)},n}(t);for(var r in e)"function"==typeof e[r]&&(n.prototype[r]=e[r]);return n},t.initDefaultProps=((n=t.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=2|Je|qe)),t}(Xi),Ko=Object(g.defaults)({strokeFirst:!0,font:Pn.a,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Wo),Jo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return null!=t&&"none"!==t&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},t.prototype.createStyle=function(e){return Object(g.createObject)(Ko,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var t=e.text;null!=t?t+="":t="";var n=Hn(t,e.font,e.textAlign,e.textBaseline);if(n.x+=e.x||0,n.y+=e.y||0,this.hasStroke()){var r=e.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},t.initDefaultProps=void(t.prototype.dirtyRectTolerance=10),t}(Xi);Jo.prototype.type="tspan";var qo=Jo,ea=Object(g.defaults)({x:0,y:0},Ui),ta={style:Object(g.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Qi.style)};var na=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.createStyle=function(e){return Object(g.createObject)(ea,e)},t.prototype._getSize=function(e){var t=this.style,n=t[e];if(null!=n)return n;var r,i=(r=t.image)&&"string"!=typeof r&&r.width&&r.height?t.image:this.__image;if(!i)return 0;var o="width"===e?"height":"width",a=t[o];return null==a?i[e]:i[e]/i[o]*a},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return ta},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new Oe(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Xi);na.prototype.type="image";var ra=na;var ia=Math.round;function oa(e,t,n){if(t){var r=t.x1,i=t.x2,o=t.y1,a=t.y2;e.x1=r,e.x2=i,e.y1=o,e.y2=a;var s=n&&n.lineWidth;return s?(ia(2*r)===ia(2*i)&&(e.x1=e.x2=sa(r,s,!0)),ia(2*o)===ia(2*a)&&(e.y1=e.y2=sa(o,s,!0)),e):e}}function aa(e,t,n){if(t){var r=t.x,i=t.y,o=t.width,a=t.height;e.x=r,e.y=i,e.width=o,e.height=a;var s=n&&n.lineWidth;return s?(e.x=sa(r,s,!0),e.y=sa(i,s,!0),e.width=Math.max(sa(r+o,s,!1)-e.x,0===o?0:1),e.height=Math.max(sa(i+a,s,!1)-e.y,0===a?0:1),e):e}}function sa(e,t,n){if(!t)return e;var r=ia(2*e);return(r+ia(t))%2==0?r/2:(r+(n?1:-1))/2}var la=function(){return function(){this.x=0,this.y=0,this.width=0,this.height=0}}(),ca={},ua=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultShape=function(){return new la},t.prototype.buildPath=function(e,t){var n,r,i,o;if(this.subPixelOptimize){var a=aa(ca,t,this.style);n=a.x,r=a.y,i=a.width,o=a.height,a.r=t.r,t=a}else n=t.x,r=t.y,i=t.width,o=t.height;t.r?function(e,t){var n,r,i,o,a,s=t.x,l=t.y,c=t.width,u=t.height,h=t.r;c<0&&(s+=c,c=-c),u<0&&(l+=u,u=-u),"number"==typeof h?n=r=i=o=h:h instanceof Array?1===h.length?n=r=i=o=h[0]:2===h.length?(n=i=h[0],r=o=h[1]):3===h.length?(n=h[0],r=o=h[1],i=h[2]):(n=h[0],r=h[1],i=h[2],o=h[3]):n=r=i=o=0,n+r>c&&(n*=c/(a=n+r),r*=c/a),i+o>c&&(i*=c/(a=i+o),o*=c/a),r+i>u&&(r*=u/(a=r+i),i*=u/a),n+o>u&&(n*=u/(a=n+o),o*=u/a),e.moveTo(s+n,l),e.lineTo(s+c-r,l),0!==r&&e.arc(s+c-r,l+r,r,-Math.PI/2,0),e.lineTo(s+c,l+u-i),0!==i&&e.arc(s+c-i,l+u-i,i,0,Math.PI/2),e.lineTo(s+o,l+u),0!==o&&e.arc(s+o,l+u-o,o,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(e,t):e.rect(n,r,i,o)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}($o);ua.prototype.type="rect";var ha=ua,da={fill:"#000"},fa={style:Object(g.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Qi.style)},pa=function(e){function t(t){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=da,n.attr(t),n}return p(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t<this._children.length;t++){var n=this._children[t];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var t=this.innerTransformable;t?(t.updateTransform(),t.transform&&(this.transform=t.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(t){var n=this.innerTransformable;return n?n.getLocalTransform(t):e.prototype.getLocalTransform.call(this,t)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){var e;this._childCursor=0,_a(e=this.style),Object(g.each)(e.rich,_a),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(t){e.prototype.addSelfToZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=t},t.prototype.removeSelfFromZr=function(t){e.prototype.removeSelfFromZr.call(this,t);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new Oe(0,0,0,0),t=this._children,n=[],r=null,i=0;i<t.length;i++){var o=t[i],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(e.copy(a),e.applyTransform(s),(r=r||e.clone()).union(e)):(r=r||a.clone()).union(a)}this._rect=r||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||da},t.prototype.setTextContent=function(e){0},t.prototype._mergeStyle=function(e,t){if(!t)return e;var n=t.rich,r=e.rich||n&&{};return Object(g.extend)(e,t),n&&r?(this._mergeRich(r,n),e.rich=r):r&&(e.rich=r),e},t.prototype._mergeRich=function(e,t){for(var n=Object(g.keys)(t),r=0;r<n.length;r++){var i=n[r];e[i]=e[i]||{},Object(g.extend)(e[i],t[i])}},t.prototype.getAnimationStyleProps=function(){return fa},t.prototype._getOrCreateChild=function(e){var t=this._children[this._childCursor];return t&&t instanceof e||(t=new e),this._children[this._childCursor++]=t,t.__zr=this.__zr,t.parent=this,t},t.prototype._updatePlainTexts=function(){var e=this.style,t=e.font||Pn.a,n=e.padding,r=function(e,t){null!=e&&(e+="");var n,r=t.overflow,i=t.padding,o=t.font,a="truncate"===r,s=Qn(o),l=Object(g.retrieve2)(t.lineHeight,s),c=!!t.backgroundColor,u="truncate"===t.lineOverflow,h=t.width,d=(n=null==h||"break"!==r&&"breakAll"!==r?e?e.split("\n"):[]:e?Hi(e,t.font,h,"breakAll"===r,0).lines:[]).length*l,f=Object(g.retrieve2)(t.height,d);if(d>f&&u){var p=Math.floor(f/l);n=n.slice(0,p)}if(e&&a&&null!=h)for(var A=Mi(h,o,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),v=0;v<n.length;v++)n[v]=Di(n[v],A);var m=f,y=0;for(v=0;v<n.length;v++)y=Math.max(Rn(n[v],o),y);null==h&&(h=y);var b=y;return i&&(m+=i[0]+i[2],b+=i[1]+i[3],h+=i[1]+i[3]),c&&(b=h),{lines:n,height:f,outerWidth:b,outerHeight:m,lineHeight:l,calculatedLineHeight:s,contentWidth:y,contentHeight:d,width:h}}(Sa(e),e),i=Ba(e),o=!!e.backgroundColor,a=r.outerHeight,s=r.outerWidth,l=r.contentWidth,c=r.lines,u=r.lineHeight,h=this._defaultStyle,d=e.x||0,f=e.y||0,p=e.align||h.align||"left",A=e.verticalAlign||h.verticalAlign||"top",v=d,m=Un(f,r.contentHeight,A);if(i||n){var y=jn(d,s,p),b=Un(f,a,A);i&&this._renderBackground(e,e,y,b,s,a)}m+=u/2,n&&(v=Ca(d,p,n),"top"===A?m+=n[0]:"bottom"===A&&(m-=n[2]));for(var _=0,w=!1,x=(xa("fill"in e?e.fill:(w=!0,h.fill))),C=(wa("stroke"in e?e.stroke:o||h.autoStroke&&!w?null:(_=2,h.stroke))),S=e.textShadowBlur>0,B=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),k=r.calculatedLineHeight,T=0;T<c.length;T++){var E=this._getOrCreateChild(qo),M=E.createStyle();E.useStyle(M),M.text=c[T],M.x=v,M.y=m,p&&(M.textAlign=p),M.textBaseline="middle",M.opacity=e.opacity,M.strokeFirst=!0,S&&(M.shadowBlur=e.textShadowBlur||0,M.shadowColor=e.textShadowColor||"transparent",M.shadowOffsetX=e.textShadowOffsetX||0,M.shadowOffsetY=e.textShadowOffsetY||0),M.stroke=C,M.fill=x,C&&(M.lineWidth=e.lineWidth||_,M.lineDash=e.lineDash,M.lineDashOffset=e.lineDashOffset||0),M.font=t,ya(M,e),m+=u,B&&E.setBoundingRect(new Oe(jn(M.x,e.width,M.textAlign),Un(M.y,k,M.textBaseline),l,k))}},t.prototype._updateRichTexts=function(){var e=this.style,t=function(e,t){var n=new Pi;if(null!=e&&(e+=""),!e)return n;for(var r,i=t.width,o=t.height,a=t.overflow,s="break"!==a&&"breakAll"!==a||null==i?null:{width:i,accumWidth:0,breakAll:"breakAll"===a},l=Ti.lastIndex=0;null!=(r=Ti.exec(e));){var c=r.index;c>l&&Fi(n,e.substring(l,c),t,s),Fi(n,r[2],t,s,r[1]),l=Ti.lastIndex}l<e.length&&Fi(n,e.substring(l,e.length),t,s);var u=[],h=0,d=0,f=t.padding,p="truncate"===a,A="truncate"===t.lineOverflow;function v(e,t,n){e.width=t,e.lineHeight=n,h+=n,d=Math.max(d,t)}e:for(var m=0;m<n.lines.length;m++){for(var y=n.lines[m],b=0,_=0,w=0;w<y.tokens.length;w++){var x=(I=y.tokens[w]).styleName&&t.rich[I.styleName]||{},C=I.textPadding=x.padding,S=C?C[1]+C[3]:0,B=I.font=x.font||t.font;I.contentHeight=Qn(B);var k=Object(g.retrieve2)(x.height,I.contentHeight);if(I.innerHeight=k,C&&(k+=C[0]+C[2]),I.height=k,I.lineHeight=Object(g.retrieve3)(x.lineHeight,t.lineHeight,k),I.align=x&&x.align||t.align,I.verticalAlign=x&&x.verticalAlign||"middle",A&&null!=o&&h+I.lineHeight>o){w>0?(y.tokens=y.tokens.slice(0,w),v(y,_,b),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m);break e}var T=x.width,E=null==T||"auto"===T;if("string"==typeof T&&"%"===T.charAt(T.length-1))I.percentWidth=T,u.push(I),I.contentWidth=Rn(I.text,B);else{if(E){var M=x.backgroundColor,D=M&&M.image;D&&ki(D=Ci(D))&&(I.width=Math.max(I.width,D.width*k/D.height))}var O=p&&null!=i?i-_:null;null!=O&&O<I.width?!E||O<S?(I.text="",I.width=I.contentWidth=0):(I.text=Ei(I.text,O-S,B,t.ellipsis,{minChar:t.truncateMinChar}),I.width=I.contentWidth=Rn(I.text,B)):I.contentWidth=Rn(I.text,B)}I.width+=S,_+=I.width,x&&(b=Math.max(b,I.lineHeight))}v(y,_,b)}for(n.outerWidth=n.width=Object(g.retrieve2)(i,d),n.outerHeight=n.height=Object(g.retrieve2)(o,h),n.contentHeight=h,n.contentWidth=d,f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]),m=0;m<u.length;m++){var I,L=(I=u[m]).percentWidth;I.width=parseInt(L,10)/100*n.width}return n}(Sa(e),e),n=t.width,r=t.outerWidth,i=t.outerHeight,o=e.padding,a=e.x||0,s=e.y||0,l=this._defaultStyle,c=e.align||l.align,u=e.verticalAlign||l.verticalAlign,h=jn(a,r,c),d=Un(s,i,u),f=h,p=d;o&&(f+=o[3],p+=o[0]);var A=f+n;Ba(e)&&this._renderBackground(e,e,h,d,r,i);for(var v=!!e.backgroundColor,m=0;m<t.lines.length;m++){for(var y=t.lines[m],b=y.tokens,_=b.length,w=y.lineHeight,x=y.width,C=0,S=f,B=A,k=_-1,T=void 0;C<_&&(!(T=b[C]).align||"left"===T.align);)this._placeToken(T,e,w,p,S,"left",v),x-=T.width,S+=T.width,C++;for(;k>=0&&"right"===(T=b[k]).align;)this._placeToken(T,e,w,p,B,"right",v),x-=T.width,B-=T.width,k--;for(S+=(n-(S-f)-(A-B)-x)/2;C<=k;)T=b[C],this._placeToken(T,e,w,p,S+T.width/2,"center",v),S+=T.width,C++;p+=w}},t.prototype._placeToken=function(e,t,n,r,i,o,a){var s=t.rich[e.styleName]||{};s.text=e.text;var l=e.verticalAlign,c=r+n/2;"top"===l?c=r+e.height/2:"bottom"===l&&(c=r+n-e.height/2),!e.isLineHolder&&Ba(s)&&this._renderBackground(s,t,"right"===o?i-e.width:"center"===o?i-e.width/2:i,c-e.height/2,e.width,e.height);var u=!!s.backgroundColor,h=e.textPadding;h&&(i=Ca(i,o,h),c-=e.height/2-h[0]-e.innerHeight/2);var d=this._getOrCreateChild(qo),f=d.createStyle();d.useStyle(f);var p=this._defaultStyle,A=!1,v=0,m=xa("fill"in s?s.fill:"fill"in t?t.fill:(A=!0,p.fill)),y=wa("stroke"in s?s.stroke:"stroke"in t?t.stroke:u||a||p.autoStroke&&!A?null:(v=2,p.stroke)),b=s.textShadowBlur>0||t.textShadowBlur>0;f.text=e.text,f.x=i,f.y=c,b&&(f.shadowBlur=s.textShadowBlur||t.textShadowBlur||0,f.shadowColor=s.textShadowColor||t.textShadowColor||"transparent",f.shadowOffsetX=s.textShadowOffsetX||t.textShadowOffsetX||0,f.shadowOffsetY=s.textShadowOffsetY||t.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=e.font||Pn.a,f.opacity=Object(g.retrieve3)(s.opacity,t.opacity,1),ya(f,s),y&&(f.lineWidth=Object(g.retrieve3)(s.lineWidth,t.lineWidth,v),f.lineDash=Object(g.retrieve2)(s.lineDash,t.lineDash),f.lineDashOffset=t.lineDashOffset||0,f.stroke=y),m&&(f.fill=m);var _=e.contentWidth,w=e.contentHeight;d.setBoundingRect(new Oe(jn(f.x,_,f.textAlign),Un(f.y,w,f.textBaseline),_,w))},t.prototype._renderBackground=function(e,t,n,r,i,o){var a,s,l,c=e.backgroundColor,u=e.borderWidth,h=e.borderColor,d=c&&c.image,f=c&&!d,p=e.borderRadius,A=this;if(f||e.lineHeight||u&&h){(a=this._getOrCreateChild(ha)).useStyle(a.createStyle()),a.style.fill=null;var v=a.shape;v.x=n,v.y=r,v.width=i,v.height=o,v.r=p,a.dirtyShape()}if(f)(l=a.style).fill=c||null,l.fillOpacity=Object(g.retrieve2)(e.fillOpacity,1);else if(d){(s=this._getOrCreateChild(ra)).onload=function(){A.dirtyStyle()};var m=s.style;m.image=c.image,m.x=n,m.y=r,m.width=i,m.height=o}u&&h&&((l=a.style).lineWidth=u,l.stroke=h,l.strokeOpacity=Object(g.retrieve2)(e.strokeOpacity,1),l.lineDash=e.borderDash,l.lineDashOffset=e.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(a||s).style;y.shadowBlur=e.shadowBlur||0,y.shadowColor=e.shadowColor||"transparent",y.shadowOffsetX=e.shadowOffsetX||0,y.shadowOffsetY=e.shadowOffsetY||0,y.opacity=Object(g.retrieve3)(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return ba(e)&&(t=[e.fontStyle,e.fontWeight,ma(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&Object(g.trim)(t)||e.textFont||e.font},t}(Xi),Aa={left:!0,right:1,center:1},ga={top:1,bottom:1,middle:1},va=["fontStyle","fontWeight","fontSize","fontFamily"];function ma(e){return"string"!=typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?Pn.c+"px":e+"px":e}function ya(e,t){for(var n=0;n<va.length;n++){var r=va[n],i=t[r];null!=i&&(e[r]=i)}}function ba(e){return null!=e.fontSize||e.fontFamily||e.fontWeight}function _a(e){if(e){e.font=pa.makeFont(e);var t=e.align;"middle"===t&&(t="center"),e.align=null==t||Aa[t]?t:"left";var n=e.verticalAlign;"center"===n&&(n="middle"),e.verticalAlign=null==n||ga[n]?n:"top",e.padding&&(e.padding=Object(g.normalizeCssArray)(e.padding))}}function wa(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function xa(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function Ca(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function Sa(e){var t=e.text;return null!=t&&(t+=""),t}function Ba(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var ka=pa,Ta=ei(),Ea=function(e,t,n,r){if(r){var i=Ta(r);i.dataIndex=n,i.dataType=t,i.seriesIndex=e,"group"===r.type&&r.traverse(function(r){var i=Ta(r);i.seriesIndex=e,i.dataIndex=n,i.dataType=t})}},Ma=1,Da={},Oa=ei(),Ia=ei(),La=0,Pa=1,Fa=2,Ra=["emphasis","blur","select"],Na=["normal","emphasis","blur","select"],Ha=10,ja=9,Ua="highlight",Qa="downplay",za="select",Ya="unselect",Va="toggleSelect";function Ga(e){return null!=e&&"none"!==e}var Wa=new Ln.a(100);function Xa(e){if(Object(g.isString)(e)){var t=Wa.get(e);return t||(t=Lt.lift(e,-.1),Wa.put(e,t)),t}if(Object(g.isGradientObject)(e)){var n=Object(g.extend)({},e);return n.colorStops=Object(g.map)(e.colorStops,function(e){return{offset:e.offset,color:Lt.lift(e.color,-.1)}}),n}return e}function Za(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function $a(e){Za(e,"emphasis",Fa)}function Ka(e){e.hoverState===Fa&&Za(e,"normal",La)}function Ja(e){Za(e,"blur",Pa)}function qa(e){e.hoverState===Pa&&Za(e,"normal",La)}function es(e){e.selected=!0}function ts(e){e.selected=!1}function ns(e,t,n){t(e,n)}function rs(e,t,n){ns(e,t,n),e.isGroup&&e.traverse(function(e){ns(e,t,n)})}function is(e,t){switch(t){case"emphasis":e.hoverState=Fa;break;case"normal":e.hoverState=La;break;case"blur":e.hoverState=Pa;break;case"select":e.selected=!0}}function os(e,t){var n=this.states[e];if(this.style){if("emphasis"===e)return function(e,t,n,r){var i=n&&Object(g.indexOf)(n,"select")>=0,o=!1;if(e instanceof $o){var a=Oa(e),s=i&&a.selectFill||a.normalFill,l=i&&a.selectStroke||a.normalStroke;if(Ga(s)||Ga(l)){var c=(r=r||{}).style||{};"inherit"===c.fill?(o=!0,r=Object(g.extend)({},r),(c=Object(g.extend)({},c)).fill=s):!Ga(c.fill)&&Ga(s)?(o=!0,r=Object(g.extend)({},r),(c=Object(g.extend)({},c)).fill=Xa(s)):!Ga(c.stroke)&&Ga(l)&&(o||(r=Object(g.extend)({},r),c=Object(g.extend)({},c)),c.stroke=Xa(l)),r.style=c}}if(r&&null==r.z2){o||(r=Object(g.extend)({},r));var u=e.z2EmphasisLift;r.z2=e.z2+(null!=u?u:Ha)}return r}(this,0,t,n);if("blur"===e)return function(e,t,n){var r=Object(g.indexOf)(e.currentStates,t)>=0,i=e.style.opacity,o=r?null:function(e,t,n,r){for(var i=e.style,o={},a=0;a<t.length;a++){var s=t[a],l=i[s];o[s]=null==l?r&&r[s]:l}for(a=0;a<e.animators.length;a++){var c=e.animators[a];c.__fromStateTransition&&c.__fromStateTransition.indexOf(n)<0&&"style"===c.targetName&&c.saveTo(o,t)}return o}(e,["opacity"],t,{opacity:1}),a=(n=n||{}).style||{};return null==a.opacity&&(n=Object(g.extend)({},n),a=Object(g.extend)({opacity:r?i:.1*o.opacity},a),n.style=a),n}(this,e,n);if("select"===e)return function(e,t,n){if(n&&null==n.z2){n=Object(g.extend)({},n);var r=e.z2SelectLift;n.z2=e.z2+(null!=r?r:ja)}return n}(this,0,n)}return n}function as(e){e.stateProxy=os;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=os),n&&(n.stateProxy=os)}function ss(e,t){!As(e,t)&&!e.__highByOuter&&rs(e,$a)}function ls(e,t){!As(e,t)&&!e.__highByOuter&&rs(e,Ka)}function cs(e,t){e.__highByOuter|=1<<(t||0),rs(e,$a)}function us(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&rs(e,Ka)}function hs(e){rs(e,Ja)}function ds(e){rs(e,qa)}function fs(e){rs(e,es)}function ps(e){rs(e,ts)}function As(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function gs(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(t,i){var o=Ia(i),a="series"===t,s=a?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse(function(e){qa(e)}),a&&n.push(i)),o.isBlured=!1}),Object(g.each)(r,function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(n,!1,t)})}function vs(e,t,n,r){var i=r.getModel();function o(e,t){for(var n=0;n<t.length;n++){var r=e.getItemGraphicEl(t[n]);r&&ds(r)}}if(n=n||"coordinateSystem",null!=e&&t&&"none"!==t){var a=i.getSeriesByIndex(e),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];i.eachSeries(function(e){var i=a===e,c=e.coordinateSystem;if(c&&c.master&&(c=c.master),!("series"===n&&!i||"coordinateSystem"===n&&!(c&&s?c===s:i)||"series"===t&&i)){if(r.getViewOfSeriesModel(e).group.traverse(function(e){Ja(e)}),Object(g.isArrayLike)(t))o(e.getData(),t);else if(Object(g.isObject)(t))for(var u=Object(g.keys)(t),h=0;h<u.length;h++)o(e.getData(u[h]),t[u[h]]);l.push(e),Ia(e).isBlured=!0}}),i.eachComponent(function(e,t){if("series"!==e){var n=r.getViewOfComponentModel(t);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,i)}})}}function ms(e,t,n){if(null!=e&&null!=t){var r=n.getModel().getComponent(e,t);if(r){Ia(r).isBlured=!0;var i=n.getViewOfComponentModel(r);i&&i.focusBlurEnabled&&i.group.traverse(function(e){Ja(e)})}}}function ys(e,t,n,r){var i={focusSelf:!1,dispatchers:null};if(null==e||"series"===e||null==t||null==n)return i;var o=r.getModel().getComponent(e,t);if(!o)return i;var a=r.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return i;for(var s,l=a.findHighDownDispatchers(n),c=0;c<l.length;c++)if("self"===Ta(l[c]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function bs(e){var t=e.getAllData();Object(g.each)(t,function(t){var n=t.data,r=t.type;n.eachItemGraphicEl(function(t,n){e.isSelected(n,r)?fs(t):ps(t)})})}function _s(e,t,n){ks(e,!0),rs(e,as),xs(e,t,n)}function ws(e,t,n,r){r?function(e){ks(e,!1)}(e):_s(e,t,n)}function xs(e,t,n){var r=Ta(e);null!=t?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var Cs=["emphasis","blur","select"],Ss={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Bs(e,t,n,r){n=n||"itemStyle";for(var i=0;i<Cs.length;i++){var o=Cs[i],a=t.getModel([o,n]);e.ensureState(o).style=r?r(a):a[Ss[n]]()}}function ks(e,t){var n=!1===t,r=e;e.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=e.highDownSilentOnTouch),n&&!r.__highDownDispatcher||(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function Ts(e){return!(!e||!e.__highDownDispatcher)}function Es(e){var t=e.type;return t===za||t===Ya||t===Va}function Ms(e){var t=e.type;return t===Ua||t===Qa}var Ds=Eo.CMD,Os=[[],[],[]],Is=Math.sqrt,Ls=Math.atan2;function Ps(e,t){if(t){var n,r,i,o,a,s,l=e.data,c=e.len(),u=Ds.M,h=Ds.C,d=Ds.L,f=Ds.R,p=Ds.A,A=Ds.Q;for(i=0,o=0;i<c;){switch(n=l[i++],o=i,r=0,n){case u:case d:r=1;break;case h:r=3;break;case A:r=2;break;case p:var g=t[4],v=t[5],m=Is(t[0]*t[0]+t[1]*t[1]),y=Is(t[2]*t[2]+t[3]*t[3]),b=Ls(-t[1]/y,t[0]/m);l[i]*=m,l[i++]+=g,l[i]*=y,l[i++]+=v,l[i++]*=m,l[i++]*=y,l[i++]+=b,l[i++]+=b,o=i+=2;break;case f:s[0]=l[i++],s[1]=l[i++],H(s,s,t),l[o++]=s[0],l[o++]=s[1],s[0]+=l[i++],s[1]+=l[i++],H(s,s,t),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<r;a++){var _=Os[a];_[0]=l[i++],_[1]=l[i++],H(_,_,t),l[o++]=_[0],l[o++]=_[1]}}e.increaseVersion()}}var Fs=Math.sqrt,Rs=Math.sin,Ns=Math.cos,Hs=Math.PI;function js(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function Us(e,t){return(e[0]*t[0]+e[1]*t[1])/(js(e)*js(t))}function Qs(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(Us(e,t))}function zs(e,t,n,r,i,o,a,s,l,c,u){var h=l*(Hs/180),d=Ns(h)*(e-n)/2+Rs(h)*(t-r)/2,f=-1*Rs(h)*(e-n)/2+Ns(h)*(t-r)/2,p=d*d/(a*a)+f*f/(s*s);p>1&&(a*=Fs(p),s*=Fs(p));var A=(i===o?-1:1)*Fs((a*a*(s*s)-a*a*(f*f)-s*s*(d*d))/(a*a*(f*f)+s*s*(d*d)))||0,g=A*a*f/s,v=A*-s*d/a,m=(e+n)/2+Ns(h)*g-Rs(h)*v,y=(t+r)/2+Rs(h)*g+Ns(h)*v,b=Qs([1,0],[(d-g)/a,(f-v)/s]),_=[(d-g)/a,(f-v)/s],w=[(-1*d-g)/a,(-1*f-v)/s],x=Qs(_,w);if(Us(_,w)<=-1&&(x=Hs),Us(_,w)>=1&&(x=0),x<0){var C=Math.round(x/Hs*1e6)/1e6;x=2*Hs+C%2*Hs}u.addData(c,m,y,a,s,b,x,h,o)}var Ys=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Vs=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var Gs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.applyTransform=function(e){},t}($o);function Ws(e){return null!=e.setData}function Xs(e,t){var n=function(e){var t=new Eo;if(!e)return t;var n,r=0,i=0,o=r,a=i,s=Eo.CMD,l=e.match(Ys);if(!l)return t;for(var c=0;c<l.length;c++){for(var u=l[c],h=u.charAt(0),d=void 0,f=u.match(Vs)||[],p=f.length,A=0;A<p;A++)f[A]=parseFloat(f[A]);for(var g=0;g<p;){var v=void 0,m=void 0,y=void 0,b=void 0,_=void 0,w=void 0,x=void 0,C=r,S=i,B=void 0,k=void 0;switch(h){case"l":r+=f[g++],i+=f[g++],d=s.L,t.addData(d,r,i);break;case"L":r=f[g++],i=f[g++],d=s.L,t.addData(d,r,i);break;case"m":r+=f[g++],i+=f[g++],d=s.M,t.addData(d,r,i),o=r,a=i,h="l";break;case"M":r=f[g++],i=f[g++],d=s.M,t.addData(d,r,i),o=r,a=i,h="L";break;case"h":r+=f[g++],d=s.L,t.addData(d,r,i);break;case"H":r=f[g++],d=s.L,t.addData(d,r,i);break;case"v":i+=f[g++],d=s.L,t.addData(d,r,i);break;case"V":i=f[g++],d=s.L,t.addData(d,r,i);break;case"C":d=s.C,t.addData(d,f[g++],f[g++],f[g++],f[g++],f[g++],f[g++]),r=f[g-2],i=f[g-1];break;case"c":d=s.C,t.addData(d,f[g++]+r,f[g++]+i,f[g++]+r,f[g++]+i,f[g++]+r,f[g++]+i),r+=f[g-2],i+=f[g-1];break;case"S":v=r,m=i,B=t.len(),k=t.data,n===s.C&&(v+=r-k[B-4],m+=i-k[B-3]),d=s.C,C=f[g++],S=f[g++],r=f[g++],i=f[g++],t.addData(d,v,m,C,S,r,i);break;case"s":v=r,m=i,B=t.len(),k=t.data,n===s.C&&(v+=r-k[B-4],m+=i-k[B-3]),d=s.C,C=r+f[g++],S=i+f[g++],r+=f[g++],i+=f[g++],t.addData(d,v,m,C,S,r,i);break;case"Q":C=f[g++],S=f[g++],r=f[g++],i=f[g++],d=s.Q,t.addData(d,C,S,r,i);break;case"q":C=f[g++]+r,S=f[g++]+i,r+=f[g++],i+=f[g++],d=s.Q,t.addData(d,C,S,r,i);break;case"T":v=r,m=i,B=t.len(),k=t.data,n===s.Q&&(v+=r-k[B-4],m+=i-k[B-3]),r=f[g++],i=f[g++],d=s.Q,t.addData(d,v,m,r,i);break;case"t":v=r,m=i,B=t.len(),k=t.data,n===s.Q&&(v+=r-k[B-4],m+=i-k[B-3]),r+=f[g++],i+=f[g++],d=s.Q,t.addData(d,v,m,r,i);break;case"A":y=f[g++],b=f[g++],_=f[g++],w=f[g++],x=f[g++],zs(C=r,S=i,r=f[g++],i=f[g++],w,x,y,b,_,d=s.A,t);break;case"a":y=f[g++],b=f[g++],_=f[g++],w=f[g++],x=f[g++],zs(C=r,S=i,r+=f[g++],i+=f[g++],w,x,y,b,_,d=s.A,t)}}"z"!==h&&"Z"!==h||(d=s.Z,t.addData(d),r=o,i=a),n=d}return t.toStatic(),t}(e),r=Object(g.extend)({},t);return r.buildPath=function(e){if(Ws(e)){e.setData(n.data),(t=e.getContext())&&e.rebuildPath(t,1)}else{var t=e;n.rebuildPath(t,1)}},r.applyTransform=function(e){Ps(n,e),this.dirtyShape()},r}function Zs(e,t){return new Gs(Xs(e,t))}function $s(e,t){t=t||{};var n=new $o;return e.shape&&n.setShape(e.shape),n.setStyle(e.style),t.bakeTransform?Ps(n.path,e.getComputedTransform()):t.toLocal?n.setLocalTransform(e.getComputedTransform()):n.copyTransform(e),n.buildPath=e.buildPath,n.applyTransform=n.applyTransform,n.z=e.z,n.z2=e.z2,n.zlevel=e.zlevel,n}var Ks=function(){return function(){this.cx=0,this.cy=0,this.r=0}}(),Js=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultShape=function(){return new Ks},t.prototype.buildPath=function(e,t){e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI)},t}($o);Js.prototype.type="circle";var qs=Js,el=function(){return function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}}(),tl=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultShape=function(){return new el},t.prototype.buildPath=function(e,t){var n=.5522848,r=t.cx,i=t.cy,o=t.rx,a=t.ry,s=o*n,l=a*n;e.moveTo(r-o,i),e.bezierCurveTo(r-o,i-l,r-s,i-a,r,i-a),e.bezierCurveTo(r+s,i-a,r+o,i-l,r+o,i),e.bezierCurveTo(r+o,i+l,r+s,i+a,r,i+a),e.bezierCurveTo(r-s,i+a,r-o,i+l,r-o,i),e.closePath()},t}($o);tl.prototype.type="ellipse";var nl=tl,rl=Math.PI,il=2*rl,ol=Math.sin,al=Math.cos,sl=Math.acos,ll=Math.atan2,cl=Math.abs,ul=Math.sqrt,hl=Math.max,dl=Math.min,fl=1e-4;function pl(e,t,n,r,i,o,a){var s=e-n,l=t-r,c=(a?o:-o)/ul(s*s+l*l),u=c*l,h=-c*s,d=e+u,f=t+h,p=n+u,A=r+h,g=(d+p)/2,v=(f+A)/2,m=p-d,y=A-f,b=m*m+y*y,_=i-o,w=d*A-p*f,x=(y<0?-1:1)*ul(hl(0,_*_*b-w*w)),C=(w*y-m*x)/b,S=(-w*m-y*x)/b,B=(w*y+m*x)/b,k=(-w*m+y*x)/b,T=C-g,E=S-v,M=B-g,D=k-v;return T*T+E*E>M*M+D*D&&(C=B,S=k),{cx:C,cy:S,x0:-u,y0:-h,x1:C*(i/_-1),y1:S*(i/_-1)}}function Al(e,t){var n,r=hl(t.r,0),i=hl(t.r0||0,0),o=r>0;if(o||i>0){if(o||(r=i,i=0),i>r){var a=r;r=i,i=a}var s=t.startAngle,l=t.endAngle;if(!isNaN(s)&&!isNaN(l)){var c=t.cx,u=t.cy,h=!!t.clockwise,d=cl(l-s),f=d>il&&d%il;if(f>fl&&(d=f),r>fl)if(d>il-fl)e.moveTo(c+r*al(s),u+r*ol(s)),e.arc(c,u,r,s,l,!h),i>fl&&(e.moveTo(c+i*al(l),u+i*ol(l)),e.arc(c,u,i,l,s,h));else{var p=void 0,A=void 0,v=void 0,m=void 0,y=void 0,b=void 0,_=void 0,w=void 0,x=void 0,C=void 0,S=void 0,B=void 0,k=void 0,T=void 0,E=void 0,M=void 0,D=r*al(s),O=r*ol(s),I=i*al(l),L=i*ol(l),P=d>fl;if(P){var F=t.cornerRadius;F&&(p=(n=function(e){var t;if(Object(g.isArray)(e)){var n=e.length;if(!n)return e;t=1===n?[e[0],e[0],0,0]:2===n?[e[0],e[0],e[1],e[1]]:3===n?e.concat(e[2]):e}else t=[e,e,e,e];return t}(F))[0],A=n[1],v=n[2],m=n[3]);var R=cl(r-i)/2;if(y=dl(R,v),b=dl(R,m),_=dl(R,p),w=dl(R,A),S=x=hl(y,b),B=C=hl(_,w),(x>fl||C>fl)&&(k=r*al(l),T=r*ol(l),E=i*al(s),M=i*ol(s),d<rl)){var N=function(e,t,n,r,i,o,a,s){var l=n-e,c=r-t,u=a-i,h=s-o,d=h*l-u*c;if(!(d*d<fl))return[e+(d=(u*(t-o)-h*(e-i))/d)*l,t+d*c]}(D,O,E,M,k,T,I,L);if(N){var H=D-N[0],j=O-N[1],U=k-N[0],Q=T-N[1],z=1/ol(sl((H*U+j*Q)/(ul(H*H+j*j)*ul(U*U+Q*Q)))/2),Y=ul(N[0]*N[0]+N[1]*N[1]);S=dl(x,(r-Y)/(z+1)),B=dl(C,(i-Y)/(z-1))}}}if(P)if(S>fl){var V=dl(v,S),G=dl(m,S),W=pl(E,M,D,O,r,V,h),X=pl(k,T,I,L,r,G,h);e.moveTo(c+W.cx+W.x0,u+W.cy+W.y0),S<x&&V===G?e.arc(c+W.cx,u+W.cy,S,ll(W.y0,W.x0),ll(X.y0,X.x0),!h):(V>0&&e.arc(c+W.cx,u+W.cy,V,ll(W.y0,W.x0),ll(W.y1,W.x1),!h),e.arc(c,u,r,ll(W.cy+W.y1,W.cx+W.x1),ll(X.cy+X.y1,X.cx+X.x1),!h),G>0&&e.arc(c+X.cx,u+X.cy,G,ll(X.y1,X.x1),ll(X.y0,X.x0),!h))}else e.moveTo(c+D,u+O),e.arc(c,u,r,s,l,!h);else e.moveTo(c+D,u+O);if(i>fl&&P)if(B>fl){V=dl(p,B),W=pl(I,L,k,T,i,-(G=dl(A,B)),h),X=pl(D,O,E,M,i,-V,h);e.lineTo(c+W.cx+W.x0,u+W.cy+W.y0),B<C&&V===G?e.arc(c+W.cx,u+W.cy,B,ll(W.y0,W.x0),ll(X.y0,X.x0),!h):(G>0&&e.arc(c+W.cx,u+W.cy,G,ll(W.y0,W.x0),ll(W.y1,W.x1),!h),e.arc(c,u,i,ll(W.cy+W.y1,W.cx+W.x1),ll(X.cy+X.y1,X.cx+X.x1),h),V>0&&e.arc(c+X.cx,u+X.cy,V,ll(X.y1,X.x1),ll(X.y0,X.x0),!h))}else e.lineTo(c+I,u+L),e.arc(c,u,i,l,s,h);else e.lineTo(c+I,u+L)}else e.moveTo(c,u);e.closePath()}}}var gl=function(){return function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}}(),vl=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultShape=function(){return new gl},t.prototype.buildPath=function(e,t){Al(e,t)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}($o);vl.prototype.type="sector";var ml=vl,yl=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.r0=0}}(),bl=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultShape=function(){return new yl},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,i,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,i,!0)},t}($o);bl.prototype.type="ring";var _l=bl;function wl(e,t,n){var r=t.smooth,i=t.points;if(i&&i.length>=2){if(r){var o=function(e,t,n,r){var i,o,a,s,l=[],c=[],u=[],h=[];if(r){a=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,f=e.length;d<f;d++)j(a,a,e[d]),U(s,s,e[d]);j(a,a,r[0]),U(s,s,r[1])}for(d=0,f=e.length;d<f;d++){var p=e[d];if(n)i=e[d?d-1:f-1],o=e[(d+1)%f];else{if(0===d||d===f-1){l.push(y(e[d]));continue}i=e[d-1],o=e[d+1]}x(c,o,i),D(c,c,t);var A=I(p,i),g=I(p,o),v=A+g;0!==v&&(A/=v,g/=v),D(u,c,-A),D(h,c,g);var m=_([],p,u),b=_([],p,h);r&&(U(m,m,a),j(m,m,s),U(b,b,a),j(b,b,s)),l.push(m),l.push(b)}return n&&l.push(l.shift()),l}(i,r,n,t.smoothConstraint);e.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],c=o[2*s+1],u=i[(s+1)%a];e.bezierCurveTo(l[0],l[1],c[0],c[1],u[0],u[1])}}else{e.moveTo(i[0][0],i[0][1]);s=1;for(var h=i.length;s<h;s++)e.lineTo(i[s][0],i[s][1])}n&&e.closePath()}}var xl=function(){return function(){this.points=null,this.smooth=0,this.smoothConstraint=null}}(),Cl=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultShape=function(){return new xl},t.prototype.buildPath=function(e,t){wl(e,t,!0)},t}($o);Cl.prototype.type="polygon";var Sl=Cl,Bl=function(){return function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}}(),kl=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Bl},t.prototype.buildPath=function(e,t){wl(e,t,!1)},t}($o);kl.prototype.type="polyline";var Tl=kl,El={},Ml=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}}(),Dl=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Ml},t.prototype.buildPath=function(e,t){var n,r,i,o;if(this.subPixelOptimize){var a=oa(El,t,this.style);n=a.x1,r=a.y1,i=a.x2,o=a.y2}else n=t.x1,r=t.y1,i=t.x2,o=t.y2;var s=t.percent;0!==s&&(e.moveTo(n,r),s<1&&(i=n*(1-s)+i*s,o=r*(1-s)+o*s),e.lineTo(i,o))},t.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},t}($o);Dl.prototype.type="line";var Ol=Dl,Il=[],Ll=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}}();function Pl(e,t,n){var r=e.cpx2,i=e.cpy2;return null!=r||null!=i?[(n?yt:mt)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?yt:mt)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?Bt:St)(e.x1,e.cpx1,e.x2,t),(n?Bt:St)(e.y1,e.cpy1,e.y2,t)]}var Fl=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Ll},t.prototype.buildPath=function(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.cpx1,s=t.cpy1,l=t.cpx2,c=t.cpy2,u=t.percent;0!==u&&(e.moveTo(n,r),null==l||null==c?(u<1&&(Tt(n,a,i,u,Il),a=Il[1],i=Il[2],Tt(r,s,o,u,Il),s=Il[1],o=Il[2]),e.quadraticCurveTo(a,s,i,o)):(u<1&&(wt(n,a,l,i,u,Il),a=Il[1],l=Il[2],i=Il[3],wt(r,s,c,o,u,Il),s=Il[1],c=Il[2],o=Il[3]),e.bezierCurveTo(a,s,l,c,i,o)))},t.prototype.pointAt=function(e){return Pl(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=Pl(this.shape,e,!0);return O(t,t)},t}($o);Fl.prototype.type="bezier-curve";var Rl=Fl,Nl=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}}(),Hl=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Nl},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r,0),o=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(o),c=Math.sin(o);e.moveTo(l*i+n,c*i+r),e.arc(n,r,i,o,a,!s)},t}($o);Hl.prototype.type="arc";var jl=Hl,Ul=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return p(t,e),t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,t=this.shapeChanged(),n=0;n<e.length;n++)t=t||e[n].shapeChanged();t&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1],e[n].segmentIgnoreThreshold)},t.prototype.buildPath=function(e,t){for(var n=t.paths||[],r=0;r<n.length;r++)n[r].buildPath(e,n[r].shape,!0)},t.prototype.afterBrush=function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),$o.prototype.getBoundingRect.call(this)},t}($o),Ql=function(){function e(e){this.colorStops=e||[]}return e.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})},e}(),zl=function(e){function t(t,n,r,i,o,a){var s=e.call(this,o)||this;return s.x=null==t?0:t,s.y=null==n?0:n,s.x2=null==r?1:r,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return p(t,e),t}(Ql),Yl=function(e){function t(t,n,r,i,o){var a=e.call(this,i)||this;return a.x=null==t?.5:t,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=o||!1,a}return p(t,e),t}(Ql),Vl=[0,0],Gl=[0,0],Wl=new xe,Xl=new xe,Zl=function(){function e(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new xe;for(n=0;n<2;n++)this._axes[n]=new xe;e&&this.fromBoundingRect(e,t)}return e.prototype.fromBoundingRect=function(e,t){var n=this._corners,r=this._axes,i=e.x,o=e.y,a=i+e.width,s=o+e.height;if(n[0].set(i,o),n[1].set(a,o),n[2].set(a,s),n[3].set(i,s),t)for(var l=0;l<4;l++)n[l].transform(t);xe.sub(r[0],n[1],n[0]),xe.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(l=0;l<2;l++)this._origin[l]=r[l].dot(n[0])},e.prototype.intersect=function(e,t){var n=!0,r=!t;return Wl.set(1/0,1/0),Xl.set(0,0),!this._intersectCheckOneSide(this,e,Wl,Xl,r,1)&&(n=!1,r)?n:!this._intersectCheckOneSide(e,this,Wl,Xl,r,-1)&&(n=!1,r)?n:(r||xe.copy(t,n?Wl:Xl),n)},e.prototype._intersectCheckOneSide=function(e,t,n,r,i,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,e._corners,Vl),this._getProjMinMaxOnAxis(s,t._corners,Gl),Vl[1]<Gl[0]||Vl[0]>Gl[1]){if(a=!1,i)return a;var c=Math.abs(Gl[0]-Vl[1]),u=Math.abs(Vl[0]-Gl[1]);Math.min(c,u)>r.len()&&(c<u?xe.scale(r,l,-c*o):xe.scale(r,l,u*o))}else if(n){c=Math.abs(Gl[0]-Vl[1]),u=Math.abs(Vl[0]-Gl[1]);Math.min(c,u)<n.len()&&(c<u?xe.scale(n,l,c*o):xe.scale(n,l,-u*o))}}return a},e.prototype._getProjMinMaxOnAxis=function(e,t,n){for(var r=this._axes[e],i=this._origin,o=t[0].dot(r)+i[e],a=o,s=o,l=1;l<t.length;l++){var c=t[l].dot(r)+i[e];a=Math.min(c,a),s=Math.max(c,s)}n[0]=a,n[1]=s},e}(),$l=[],Kl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.notClear=!0,t.incremental=!0,t._displayables=[],t._temporaryDisplayables=[],t._cursor=0,t}return p(t,e),t.prototype.traverse=function(e,t){e.call(t,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n<e.length;n++)this.addDisplayable(e[n],t)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},t.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){(t=this._displayables[e]).parent=this,t.update(),t.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){var t;(t=this._temporaryDisplayables[e]).parent=this,t.update(),t.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new Oe(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform($l)),e.union(r)}this._rect=e}return this._rect},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t);if(this.getBoundingRect().contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){if(this._displayables[r].contain(e,t))return!0}return!1},t}(Xi),Jl=ei();function ql(e,t,n,r,i){var o;if(t&&t.ecModel){var a=t.ecModel.getUpdatePayload();o=a&&a.animation}var s="update"===e;if(t&&t.isAnimationEnabled()){var l=void 0,c=void 0,u=void 0;return r?(l=Object(g.retrieve2)(r.duration,200),c=Object(g.retrieve2)(r.easing,"cubicOut"),u=0):(l=t.getShallow(s?"animationDurationUpdate":"animationDuration"),c=t.getShallow(s?"animationEasingUpdate":"animationEasing"),u=t.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(l=o.duration),null!=o.easing&&(c=o.easing),null!=o.delay&&(u=o.delay)),Object(g.isFunction)(u)&&(u=u(n,i)),Object(g.isFunction)(l)&&(l=l(n)),{duration:l||0,delay:u,easing:c}}return null}function ec(e,t,n,r,i,o,a){var s,l=!1;Object(g.isFunction)(i)?(a=o,o=i,i=null):Object(g.isObject)(i)&&(o=i.cb,a=i.during,l=i.isFrom,s=i.removeOpt,i=i.dataIndex);var c="leave"===e;c||t.stopAnimation("leave");var u=ql(e,r,i,c?s||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(t,i):null);if(u&&u.duration>0){var h=u.duration,d=u.delay,f=u.easing,p={duration:h,delay:d||0,easing:f,done:o,force:!!o||!!a,setToFinal:!c,scope:e,during:a};l?t.animateFrom(n,p):t.animateTo(n,p)}else t.stopAnimation(),!l&&t.attr(n),a&&a(1),o&&o()}function tc(e,t,n,r,i,o){ec("update",e,t,n,r,i,o)}function nc(e,t,n,r,i,o){ec("enter",e,t,n,r,i,o)}function rc(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){if("leave"===e.animators[t].scope)return!0}return!1}function ic(e,t,n,r,i,o){rc(e)||ec("leave",e,t,n,r,i,o)}function oc(e,t,n,r){e.removeTextContent(),e.removeTextGuideLine(),ic(e,{style:{opacity:0}},t,n,r)}function ac(e,t,n){function r(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse(function(e){e.isGroup||oc(e,t,n,r)}):oc(e,t,n,r)}function sc(e){Jl(e).oldStyle=e.style}var lc=Math.max,cc=Math.min,uc={};function hc(e){return $o.extend(e)}var dc=function(e,t){var n=Xs(e,t);return function(e){function t(t){var r=e.call(this,t)||this;return r.applyTransform=n.applyTransform,r.buildPath=n.buildPath,r}return p(t,e),t}(Gs)};function fc(e,t){return dc(e,t)}function pc(e,t){uc[e]=t}function Ac(e){if(uc.hasOwnProperty(e))return uc[e]}function gc(e,t,n,r){var i=Zs(e,t);return n&&("center"===r&&(n=mc(n,i.getBoundingRect())),bc(i,n)),i}function vc(e,t,n){var r=new ra({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(mc(t,i))}}});return r}function mc(e,t){var n,r=t.width/t.height,i=e.height*r;return n=i<=e.width?e.height:(i=e.width)/r,{x:e.x+e.width/2-i/2,y:e.y+e.height/2-n/2,width:i,height:n}}var yc=function(e,t){for(var n=[],r=e.length,i=0;i<r;i++){var o=e[i];n.push(o.getUpdatedPathProxy(!0))}var a=new $o(t);return a.createPathProxy(),a.buildPath=function(e){if(Ws(e)){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t,1)}},a};function bc(e,t){if(e.applyTransform){var n=e.getBoundingRect().calculateTransform(t);e.applyTransform(n)}}function _c(e,t){return oa(e,e,{lineWidth:t}),e}function wc(e){return aa(e.shape,e.shape,e.style),e}var xc=sa;function Cc(e,t){for(var n=Ae([]);e&&e!==t;)ve(n,e.getLocalTransform(),n),e=e.parent;return n}function Sc(e,t,n){return t&&!Object(g.isArrayLike)(t)&&(t=In.getLocalTransform(t)),n&&(t=_e([],t)),H([],e,t)}function Bc(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return o=Sc(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function kc(e){return!e.isGroup}function Tc(e,t,n){if(e&&t){var r,i=(r={},e.traverse(function(e){kc(e)&&e.anid&&(r[e.anid]=e)}),r);t.traverse(function(e){if(kc(e)&&e.anid){var t=i[e.anid];if(t){var r=o(e);e.attr(o(t)),tc(e,r,n,Ta(e).dataIndex)}}})}function o(e){var t={x:e.x,y:e.y,rotation:e.rotation};return function(e){return null!=e.shape}(e)&&(t.shape=Object(g.extend)({},e.shape)),t}}function Ec(e,t){return Object(g.map)(e,function(e){var n=e[0];n=lc(n,t.x),n=cc(n,t.x+t.width);var r=e[1];return r=lc(r,t.y),[n,r=cc(r,t.y+t.height)]})}function Mc(e,t){var n=lc(e.x,t.x),r=cc(e.x+e.width,t.x+t.width),i=lc(e.y,t.y),o=cc(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function Dc(e,t,n){var r=Object(g.extend)({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),Object(g.defaults)(i,n),new ra(r)):gc(e.replace("path://",""),r,n,"center")}function Oc(e,t,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(Ic(e,t,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function Ic(e,t,n,r,i,o,a,s){var l,c=n-e,u=r-t,h=a-i,d=s-o,f=Lc(h,d,c,u);if((l=f)<=1e-6&&l>=-1e-6)return!1;var p=e-i,A=t-o,g=Lc(p,A,c,u)/f;if(g<0||g>1)return!1;var v=Lc(p,A,h,d)/f;return!(v<0||v>1)}function Lc(e,t,n,r){return e*r-n*t}function Pc(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Object(g.isString)(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=e.formatterParamsExtra;l&&Object(g.each)(Object(g.keys)(l),function(e){Object(g.hasOwn)(s,e)||(s[e]=l[e],s.$vars.push(e))});var c=Ta(e.el);c.componentMainType=o,c.componentIndex=a,c.tooltipConfig={name:r,option:Object(g.defaults)({content:r,formatterParams:s},i)}}function Fc(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function Rc(e,t){if(e)if(Object(g.isArray)(e))for(var n=0;n<e.length;n++)Fc(e[n],t);else Fc(e,t)}pc("circle",qs),pc("ellipse",nl),pc("sector",ml),pc("ring",_l),pc("polygon",Sl),pc("polyline",Tl),pc("rect",ha),pc("line",Ol),pc("bezierCurve",Rl),pc("arc",jl);var Nc={};function Hc(e,t){for(var n=0;n<Ra.length;n++){var r=Ra[n],i=t[r],o=e.ensureState(r);o.style=o.style||{},o.style.text=i}var a=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(a,!0)}function jc(e,t,n){var r,i=e.labelFetcher,o=e.labelDataIndex,a=e.labelDimIndex,s=t.normal;i&&(r=i.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=Object(g.isFunction)(e.defaultText)?e.defaultText(o,e,n):e.defaultText);for(var l={normal:r},c=0;c<Ra.length;c++){var u=Ra[c],h=t[u];l[u]=Object(g.retrieve2)(i?i.getFormattedLabel(o,u,null,a,h&&h.get("formatter")):null,r)}return l}function Uc(e,t,n,r){n=n||Nc;for(var i=e instanceof ka,o=!1,a=0;a<Na.length;a++){if((d=t[Na[a]])&&d.getShallow("show")){o=!0;break}}var s=i?e:e.getTextContent();if(o){i||(s||(s=new ka,e.setTextContent(s)),e.stateProxy&&(s.stateProxy=e.stateProxy));var l=jc(n,t),c=t.normal,u=!!c.getShallow("show"),h=zc(c,r&&r.normal,n,!1,!i);h.text=l.normal,i||e.setTextConfig(Yc(c,n,!1));for(a=0;a<Ra.length;a++){var d,f=Ra[a];if(d=t[f]){var p=s.ensureState(f),A=!!Object(g.retrieve2)(d.getShallow("show"),u);if(A!==u&&(p.ignore=!A),p.style=zc(d,r&&r[f],n,!0,!i),p.style.text=l[f],!i)e.ensureState(f).textConfig=Yc(d,n,!0)}}s.silent=!!c.getShallow("silent"),null!=s.style.x&&(h.x=s.style.x),null!=s.style.y&&(h.y=s.style.y),s.ignore=!u,s.useStyle(h),s.dirty(),n.enableTextSetter&&($c(s).setLabelText=function(e){var r=jc(n,t,e);Hc(s,r)})}else s&&(s.ignore=!0);e.dirty()}function Qc(e,t){t=t||"label";for(var n={normal:e.getModel(t)},r=0;r<Ra.length;r++){var i=Ra[r];n[i]=e.getModel([i,t])}return n}function zc(e,t,n,r,i){var o={};return function(e,t,n,r,i){n=n||Nc;var o,a=t.ecModel,s=a&&a.option.textStyle,l=function(e){var t;for(;e&&e!==e.ecModel;){var n=(e.option||Nc).rich;if(n){t=t||{};for(var r=Object(g.keys)(n),i=0;i<r.length;i++){var o=r[i];t[o]=1}}e=e.parentModel}return t}(t);if(l)for(var c in o={},l)if(l.hasOwnProperty(c)){var u=t.getModel(["rich",c]);Xc(o[c]={},u,s,n,r,i,!1,!0)}o&&(e.rich=o);var h=t.get("overflow");h&&(e.overflow=h);var d=t.get("minMargin");null!=d&&(e.margin=d);Xc(e,t,s,n,r,i,!0,!1)}(o,e,n,r,i),t&&Object(g.extend)(o,t),o}function Yc(e,t,n){t=t||{};var r,i={},o=e.getShallow("rotate"),a=Object(g.retrieve2)(e.getShallow("distance"),n?null:5),s=e.getShallow("offset");return"outside"===(r=e.getShallow("position")||(n?null:"inside"))&&(r=t.defaultOutsidePosition||"top"),null!=r&&(i.position=r),null!=s&&(i.offset=s),null!=o&&(o*=Math.PI/180,i.rotation=o),null!=a&&(i.distance=a),i.outsideFill="inherit"===e.get("color")?t.inheritColor||null:"auto",i}var Vc=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Gc=["align","lineHeight","width","height","tag","verticalAlign"],Wc=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Xc(e,t,n,r,i,o,a,s){n=!i&&n||Nc;var l=r&&r.inheritColor,c=t.getShallow("color"),u=t.getShallow("textBorderColor"),h=Object(g.retrieve2)(t.getShallow("opacity"),n.opacity);"inherit"!==c&&"auto"!==c||(c=l||null),"inherit"!==u&&"auto"!==u||(u=l||null),o||(c=c||n.color,u=u||n.textBorderColor),null!=c&&(e.fill=c),null!=u&&(e.stroke=u);var d=Object(g.retrieve2)(t.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(e.lineWidth=d);var f=Object(g.retrieve2)(t.getShallow("textBorderType"),n.textBorderType);null!=f&&(e.lineDash=f);var p=Object(g.retrieve2)(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=p&&(e.lineDashOffset=p),i||null!=h||s||(h=r&&r.defaultOpacity),null!=h&&(e.opacity=h),i||o||null==e.fill&&r.inheritColor&&(e.fill=r.inheritColor);for(var A=0;A<Vc.length;A++){var v=Vc[A];null!=(y=Object(g.retrieve2)(t.getShallow(v),n[v]))&&(e[v]=y)}for(A=0;A<Gc.length;A++){v=Gc[A];null!=(y=t.getShallow(v))&&(e[v]=y)}if(null==e.verticalAlign){var m=t.getShallow("baseline");null!=m&&(e.verticalAlign=m)}if(!a||!r.disableBox){for(A=0;A<Wc.length;A++){var y;v=Wc[A];null!=(y=t.getShallow(v))&&(e[v]=y)}var b=t.getShallow("borderType");null!=b&&(e.borderDash=b),"auto"!==e.backgroundColor&&"inherit"!==e.backgroundColor||!l||(e.backgroundColor=l),"auto"!==e.borderColor&&"inherit"!==e.borderColor||!l||(e.borderColor=l)}}function Zc(e,t){var n=t&&t.getModel("textStyle");return Object(g.trim)([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var $c=ei();function Kc(e,t,n,r){if(e){var i=$c(e);i.prevValue=i.value,i.value=n;var o=t.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=r,i.statesModels=t)}}function Jc(e,t,n,r,i){var o=$c(e);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=Object(g.retrieve2)(o.interpolatedValue,o.prevValue),l=o.value;e.percent=0,(null==o.prevValue?nc:tc)(e,{percent:1},r,t,null,function(r){var c=ci(n,o.precision,s,l,r);o.interpolatedValue=1===r?null:c;var u=jc({labelDataIndex:t,labelFetcher:i,defaultText:a?a(c):c+""},o.statesModels,c);Hc(e,u)})}}var qc,eu,tu=["textStyle","color"],nu=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],ru=new ka,iu=function(){function e(){}return e.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(tu):null)},e.prototype.getFont=function(){return Zc({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<nu.length;n++)t[nu[n]]=this.getShallow(nu[n]);return ru.useStyle(t),ru.update(),ru.getBoundingRect()},e}(),ou=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],au=bi(ou),su=function(){function e(){}return e.prototype.getLineStyle=function(e){return au(this,e)},e}(),lu=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],cu=bi(lu),uu=function(){function e(){}return e.prototype.getItemStyle=function(e,t){return cu(this,e,t)},e}(),hu=function(){function e(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}return e.prototype.init=function(e,t,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},e.prototype.mergeOption=function(e,t){Object(g.merge)(this.option,e,!0)},e.prototype.get=function(e,t){return null==e?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},e.prototype.getShallow=function(e,t){var n=this.option,r=null==n?n:n[e];if(null==r&&!t){var i=this.parentModel;i&&(r=i.getShallow(e))}return r},e.prototype.getModel=function(t,n){var r=null!=t,i=r?this.parsePath(t):null;return new e(r?this._doGet(i):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),this.ecModel)},e.prototype.isEmpty=function(){return null==this.option},e.prototype.restoreData=function(){},e.prototype.clone=function(){return new(0,this.constructor)(Object(g.clone)(this.option))},e.prototype.parsePath=function(e){return"string"==typeof e?e.split("."):e},e.prototype.resolveParentPath=function(e){return e},e.prototype.isAnimationEnabled=function(){if(!A.a.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(e,t){var n=this.option;if(!e)return n;for(var r=0;r<e.length&&(!e[r]||null!=(n=n&&"object"==typeof n?n[e[r]]:null));r++);return null==n&&t&&(n=t._doGet(this.resolveParentPath(e),t.parentModel)),n},e}();pi(hu),qc=hu,eu=["__\0is_clz",gi++].join("_"),qc.prototype[eu]=!0,qc.isInstance=function(e){return!(!e||!e[eu])},Object(g.mixin)(hu,su),Object(g.mixin)(hu,uu),Object(g.mixin)(hu,wi),Object(g.mixin)(hu,iu);var du=hu,fu=Math.round(10*Math.random());function pu(e){return[e||"",fu++].join("_")}function Au(e,t){return g.merge(g.merge({},e,!0),t,!0)}var gu="ZH",vu="EN",mu=vu,yu={},bu={},_u=A.a.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf(gu)>-1?gu:mu;function wu(e,t){e=e.toUpperCase(),bu[e]=new du(t),yu[e]=t}function xu(e){return bu[e]}wu(vu,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),wu(gu,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},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:""}}}});var Cu=1e3,Su=60*Cu,Bu=60*Su,ku=24*Bu,Tu=365*ku,Eu={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Mu={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+Eu.hour,minute:"{yyyy}-{MM}-{dd} "+Eu.minute,second:"{yyyy}-{MM}-{dd} "+Eu.second,millisecond:Eu.none},Du=["year","month","day","hour","minute","second","millisecond"],Ou=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Iu(e,t){return"0000".substr(0,t-(e+="").length)+e}function Lu(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function Pu(e,t,n,r){var i=kr(e),o=i[Nu(n)](),a=i[Hu(n)]()+1,s=Math.floor((a-1)/3)+1,l=i[ju(n)](),c=i["get"+(n?"UTC":"")+"Day"](),u=i[Uu(n)](),h=(u-1)%12+1,d=i[Qu(n)](),f=i[zu(n)](),p=i[Yu(n)](),A=(r instanceof du?r:xu(r||_u)||bu[mu]).getModel("time"),g=A.get("month"),v=A.get("monthAbbr"),m=A.get("dayOfWeek"),y=A.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,o%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,g[a-1]).replace(/{MMM}/g,v[a-1]).replace(/{MM}/g,Iu(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Iu(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,m[c]).replace(/{ee}/g,y[c]).replace(/{e}/g,c+"").replace(/{HH}/g,Iu(u,2)).replace(/{H}/g,u+"").replace(/{hh}/g,Iu(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,Iu(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,Iu(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,Iu(p,3)).replace(/{S}/g,p+"")}function Fu(e,t){var n=kr(e),r=n[Hu(t)]()+1,i=n[ju(t)](),o=n[Uu(t)](),a=n[Qu(t)](),s=n[zu(t)](),l=0===n[Yu(t)](),c=l&&0===s,u=c&&0===a,h=u&&0===o,d=h&&1===i;return d&&1===r?"year":d?"month":h?"day":u?"hour":c?"minute":l?"second":"millisecond"}function Ru(e,t,n){var r=g.isNumber(e)?kr(e):e;switch(t=t||Fu(e,n)){case"year":return r[Nu(n)]();case"half-year":return r[Hu(n)]()>=6?1:0;case"quarter":return Math.floor((r[Hu(n)]()+1)/4);case"month":return r[Hu(n)]();case"day":return r[ju(n)]();case"half-day":return r[Uu(n)]()/24;case"hour":return r[Uu(n)]();case"minute":return r[Qu(n)]();case"second":return r[zu(n)]();case"millisecond":return r[Yu(n)]()}}function Nu(e){return e?"getUTCFullYear":"getFullYear"}function Hu(e){return e?"getUTCMonth":"getMonth"}function ju(e){return e?"getUTCDate":"getDate"}function Uu(e){return e?"getUTCHours":"getHours"}function Qu(e){return e?"getUTCMinutes":"getMinutes"}function zu(e){return e?"getUTCSeconds":"getSeconds"}function Yu(e){return e?"getUTCMilliseconds":"getMilliseconds"}function Vu(e){return e?"setUTCFullYear":"setFullYear"}function Gu(e){return e?"setUTCMonth":"setMonth"}function Wu(e){return e?"setUTCDate":"setDate"}function Xu(e){return e?"setUTCHours":"setHours"}function Zu(e){return e?"setUTCMinutes":"setMinutes"}function $u(e){return e?"setUTCSeconds":"setSeconds"}function Ku(e){return e?"setUTCMilliseconds":"setMilliseconds"}function Ju(e,t,n,r,i,o,a,s){return new ka({style:{text:e,font:t,align:n,verticalAlign:r,padding:i,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}function qu(e){if(!Lr(e))return g.isString(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function eh(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var th=g.normalizeCssArray;function nh(e,t,n){function r(e){return e&&g.trim(e)?e:"-"}function i(e){return!(null==e||isNaN(e)||!isFinite(e))}var o="time"===t,a=e instanceof Date;if(o||a){var s=o?kr(e):e;if(!isNaN(+s))return Pu(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===t)return g.isStringSafe(e)?r(e):g.isNumber(e)&&i(e)?e+"":"-";var l=Ir(e);return i(l)?qu(l):g.isStringSafe(e)?r(e):"boolean"==typeof e?e+"":"-"}var rh=["a","b","c","d","e","f","g"],ih=function(e,t){return"{"+e+(null==t?"":t)+"}"};function oh(e,t,n){g.isArray(t)||(t=[t]);var r=t.length;if(!r)return"";for(var i=t[0].$vars||[],o=0;o<i.length;o++){var a=rh[o];e=e.replace(ih(a),ih(a,0))}for(var s=0;s<r;s++)for(var l=0;l<i.length;l++){var c=t[s][i[l]];e=e.replace(ih(rh[l],s),n?ee(c):c)}return e}function ah(e,t){var n=g.isString(e)?{color:e,extraCssText:t}:e||{},r=n.color,i=n.type;t=n.extraCssText;var o=n.renderMode||"html";return r?"html"===o?"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+ee(r)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+ee(r)+";"+(t||"")+'"></span>':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}:""}function sh(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var r=kr(t),i=n?"getUTC":"get",o=r[i+"FullYear"](),a=r[i+"Month"]()+1,s=r[i+"Date"](),l=r[i+"Hours"](),c=r[i+"Minutes"](),u=r[i+"Seconds"](),h=r[i+"Milliseconds"]();return e=e.replace("MM",Iu(a,2)).replace("M",a).replace("yyyy",o).replace("yy",Iu(o%100+"",2)).replace("dd",Iu(s,2)).replace("d",s).replace("hh",Iu(l,2)).replace("h",l).replace("mm",Iu(c,2)).replace("m",c).replace("ss",Iu(u,2)).replace("s",u).replace("SSS",Iu(h,3))}function lh(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}function ch(e,t){return t=t||"transparent",g.isString(e)?e:g.isObject(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function uh(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var hh=g.each,dh=["left","right","top","bottom","width","height"],fh=[["width","left","right"],["height","top","bottom"]];function ph(e,t,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild(function(l,c){var u,h,d=l.getBoundingRect(),f=t.childAt(c+1),p=f&&f.getBoundingRect();if("horizontal"===e){var A=d.width+(p?-p.x+d.x:0);(u=o+A)>r||l.newline?(o=0,u=A,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var g=d.height+(p?-p.y+d.y:0);(h=a+g)>i||l.newline?(o+=s+n,a=0,h=g,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===e?o=u+n:a=h+n)})}var Ah=ph;g.curry(ph,"vertical"),g.curry(ph,"horizontal");function gh(e,t,n){n=th(n||0);var r=t.width,i=t.height,o=pr(e.left,r),a=pr(e.top,i),s=pr(e.right,r),l=pr(e.bottom,i),c=pr(e.width,r),u=pr(e.height,i),h=n[2]+n[0],d=n[1]+n[3],f=e.aspect;switch(isNaN(c)&&(c=r-s-d-o),isNaN(u)&&(u=i-l-h-a),null!=f&&(isNaN(c)&&isNaN(u)&&(f>r/i?c=.8*r:u=.8*i),isNaN(c)&&(c=f*u),isNaN(u)&&(u=c/f)),isNaN(o)&&(o=r-s-c-d),isNaN(a)&&(a=i-l-u-h),e.left||e.right){case"center":o=r/2-c/2-n[3];break;case"right":o=r-c-d}switch(e.top||e.bottom){case"middle":case"center":a=i/2-u/2-n[0];break;case"bottom":a=i-u-h}o=o||0,a=a||0,isNaN(c)&&(c=r-d-o-(s||0)),isNaN(u)&&(u=i-h-a-(l||0));var p=new Oe(o+n[3],a+n[0],c,u);return p.margin=n,p}function vh(e,t,n,r,i,o){var a,s=!i||!i.hv||i.hv[0],l=!i||!i.hv||i.hv[1],c=i&&i.boundingMode||"all";if((o=o||e).x=e.x,o.y=e.y,!s&&!l)return!1;if("raw"===c)a="group"===e.type?new Oe(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(a=e.getBoundingRect(),e.needLocalTransform()){var u=e.getLocalTransform();(a=a.clone()).applyTransform(u)}var h=gh(g.defaults({width:a.width,height:a.height},t),n,r),d=s?h.x-a.x:0,f=l?h.y-a.y:0;return"raw"===c?(o.x=d,o.y=f):(o.x+=d,o.y+=f),o===e&&e.markRedraw(),!0}function mh(e){var t=e.layoutMode||e.constructor.layoutMode;return g.isObject(t)?t:t?{type:t}:null}function yh(e,t,n){var r=n&&n.ignoreSize;!g.isArray(r)&&(r=[r,r]);var i=a(fh[0],0),o=a(fh[1],1);function a(n,i){var o={},a=0,c={},u=0;if(hh(n,function(t){c[t]=e[t]}),hh(n,function(e){s(t,e)&&(o[e]=c[e]=t[e]),l(o,e)&&a++,l(c,e)&&u++}),r[i])return l(t,n[1])?c[n[2]]=null:l(t,n[2])&&(c[n[1]]=null),c;if(2!==u&&a){if(a>=2)return o;for(var h=0;h<n.length;h++){var d=n[h];if(!s(o,d)&&s(e,d)){o[d]=e[d];break}}return o}return c}function s(e,t){return e.hasOwnProperty(t)}function l(e,t){return null!=e[t]&&"auto"!==e[t]}function c(e,t,n){hh(e,function(e){t[e]=n[e]})}c(fh[0],e,i),c(fh[1],e,o)}function bh(e){return _h({},e)}function _h(e,t){return t&&e&&hh(dh,function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var wh=ei(),xh=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.uid=pu("ec_cpt_model"),i}var n;return p(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=mh(this),r=n?bh(e):{},i=t.getTheme();g.merge(e,i.get(this.mainType)),g.merge(e,this.getDefaultOption()),n&&yh(e,r,n)},t.prototype.mergeOption=function(e,t){g.merge(this.option,e,!0);var n=mh(this);n&&yh(this.option,e,n)},t.prototype.optionUpdated=function(e,t){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!function(e){return!(!e||!e[di])}(e))return e.defaultOption;var t=wh(this);if(!t.defaultOption){for(var n=[],r=e;r;){var i=r.prototype.defaultOption;i&&n.push(i),r=r.superClass}for(var o={},a=n.length-1;a>=0;a--)o=g.merge(o,n[a],!0);t.defaultOption=o}return t.defaultOption},t.prototype.getReferringComponents=function(e,t){var n=e+"Index",r=e+"Id";return ai(this.ecModel,e,{index:this.get(n,!0),id:this.get(r,!0)},t)},t.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=((n=t.prototype).type="component",n.id="",n.name="",n.mainType="",n.subType="",void(n.componentIndex=0)),t}(du);Ai(xh,du),yi(xh),function(e){var t={};e.registerSubTypeDefaulter=function(e,n){var r=fi(e);t[r.main]=n},e.determineSubType=function(n,r){var i=r.type;if(!i){var o=fi(n).main;e.hasSubTypes(n)&&t[o]&&(i=t[o](r))}return i}}(xh),function(e,t){function n(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}e.topologicalTravel=function(e,r,i,o){if(e.length){var a=function(e){var r={},i=[];return g.each(e,function(o){var a=n(r,o),s=function(e,t){var n=[];return g.each(e,function(e){g.indexOf(t,e)>=0&&n.push(e)}),n}(a.originalDeps=t(o),e);a.entryCount=s.length,0===a.entryCount&&i.push(o),g.each(s,function(e){g.indexOf(a.predecessor,e)<0&&a.predecessor.push(e);var t=n(r,e);g.indexOf(t.successor,e)<0&&t.successor.push(o)})}),{graph:r,noEntryList:i}}(r),s=a.graph,l=a.noEntryList,c={};for(g.each(e,function(e){c[e]=!0});l.length;){var u=l.pop(),h=s[u],d=!!c[u];d&&(i.call(o,u,h.originalDeps.slice()),delete c[u]),g.each(h.successor,d?p:f)}g.each(c,function(){var e="";throw new Error(e)})}function f(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function p(e){c[e]=!0,f(e)}}}(xh,function(e){var t=[];g.each(xh.getClassesByMainType(e),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=g.map(t,function(e){return fi(e).main}),"dataset"!==e&&g.indexOf(t,"dataset")<=0&&t.unshift("dataset");return t});var Ch=xh,Sh="";"undefined"!=typeof navigator&&(Sh=navigator.platform||"");var Bh="rgba(0, 0, 0, 0.2)",kh={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Bh,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Bh,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Bh,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Bh,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Bh,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Bh,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Sh.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Th=Object(g.createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Eh="original",Mh="arrayRows",Dh="objectRows",Oh="keyedColumns",Ih="typedArray",Lh="unknown",Ph="column",Fh="row",Rh={Must:1,Might:2,Not:3},Nh=ei();function Hh(e,t,n){var r={},i=Uh(t);if(!i||!e)return r;var o,a,s=[],l=[],c=t.ecModel,u=Nh(c).datasetMap,h=i.uid+"_"+n.seriesLayoutBy;e=e.slice(),Object(g.each)(e,function(t,n){var i=Object(g.isObject)(t)?t:e[n]={name:t};"ordinal"===i.type&&null==o&&(o=n,a=p(i)),r[i.name]=[]});var d=u.get(h)||u.set(h,{categoryWayDim:a,valueWayDim:0});function f(e,t,n){for(var r=0;r<n;r++)e.push(t+r)}function p(e){var t=e.dimsDef;return t?t.length:1}return Object(g.each)(e,function(e,t){var n=e.name,i=p(e);if(null==o){var a=d.valueWayDim;f(r[n],a,i),f(l,a,i),d.valueWayDim+=i}else if(o===t)f(r[n],0,i),f(s,0,i);else{a=d.categoryWayDim;f(r[n],a,i),f(l,a,i),d.categoryWayDim+=i}}),s.length&&(r.itemName=s),l.length&&(r.seriesName=l),r}function jh(e,t,n){var r={};if(!Uh(e))return r;var i,o=t.sourceFormat,a=t.dimensionsDefine;o!==Dh&&o!==Oh||Object(g.each)(a,function(e,t){"name"===(Object(g.isObject)(e)?e.name:e)&&(i=t)});var s=function(){for(var e={},r={},s=[],l=0,c=Math.min(5,n);l<c;l++){var u=zh(t.data,o,t.seriesLayoutBy,a,t.startIndex,l);s.push(u);var h=u===Rh.Not;if(h&&null==e.v&&l!==i&&(e.v=l),(null==e.n||e.n===e.v||!h&&s[e.n]===Rh.Not)&&(e.n=l),d(e)&&s[e.n]!==Rh.Not)return e;h||(u===Rh.Might&&null==r.v&&l!==i&&(r.v=l),null!=r.n&&r.n!==r.v||(r.n=l))}function d(e){return null!=e.v&&null!=e.n}return d(e)?e:d(r)?r:null}();if(s){r.value=[s.v];var l=null!=i?i:s.n;r.itemName=[l],r.seriesName=[l]}return r}function Uh(e){if(!e.get("data",!0))return ai(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},ii).models[0]}function Qh(e,t){return zh(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function zh(e,t,n,r,i,o){var a,s,l;if(Object(g.isTypedArray)(e))return Rh.Not;if(r){var c=r[o];Object(g.isObject)(c)?(s=c.name,l=c.type):Object(g.isString)(c)&&(s=c)}if(null!=l)return"ordinal"===l?Rh.Must:Rh.Not;if(t===Mh){var u=e;if(n===Fh){for(var h=u[o],d=0;d<(h||[]).length&&d<5;d++)if(null!=(a=b(h[i+d])))return a}else for(d=0;d<u.length&&d<5;d++){var f=u[i+d];if(f&&null!=(a=b(f[o])))return a}}else if(t===Dh){var p=e;if(!s)return Rh.Not;for(d=0;d<p.length&&d<5;d++){if((m=p[d])&&null!=(a=b(m[s])))return a}}else if(t===Oh){var A=e;if(!s)return Rh.Not;if(!(h=A[s])||Object(g.isTypedArray)(h))return Rh.Not;for(d=0;d<h.length&&d<5;d++)if(null!=(a=b(h[d])))return a}else if(t===Eh){var v=e;for(d=0;d<v.length&&d<5;d++){var m,y=Vr(m=v[d]);if(!Object(g.isArray)(y))return Rh.Not;if(null!=(a=b(y[o])))return a}}function b(e){var t=Object(g.isString)(e);return null!=e&&isFinite(e)&&""!==e?t?Rh.Might:Rh.Not:t&&"-"!==e?Rh.Must:void 0}return Rh.Not}var Yh=Object(g.createHashMap)();var Vh,Gh,Wh,Xh=ei(),Zh=ei(),$h=function(){function e(){}return e.prototype.getColorFromPalette=function(e,t,n){var r=Qr(this.get("color",!0)),i=this.get("colorLayer",!0);return Jh(this,Xh,r,i,e,t,n)},e.prototype.clearColorPalette=function(){var e,t;(t=Xh)(e=this).paletteIdx=0,t(e).paletteNameMap={}},e}();function Kh(e,t,n,r){var i=Qr(e.get(["aria","decal","decals"]));return Jh(e,Zh,i,null,t,n,r)}function Jh(e,t,n,r,i,o,a){var s=t(o=o||e),l=s.paletteIdx||0,c=s.paletteNameMap=s.paletteNameMap||{};if(c.hasOwnProperty(i))return c[i];var u=null!=a&&r?function(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}(r,a):n;if((u=u||n)&&u.length){var h=u[l];return i&&(c[i]=h),s.paletteIdx=(l+1)%u.length,h}}var qh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.init=function(e,t,n,r,i,o){r=r||{},this.option=null,this._theme=new du(r),this._locale=new du(i),this._optionManager=o},t.prototype.setOption=function(e,t,n){var r=nd(t);this._optionManager.setOption(e,n,r),this._resetOption(null,r)},t.prototype.resetOption=function(e,t){return this._resetOption(e,nd(t))},t.prototype._resetOption=function(e,t){var n=!1,r=this._optionManager;if(!e||"recreate"===e){var i=r.mountOption("recreate"===e);0,this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(i,t)):Wh(this,i),n=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var o=r.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,t))}if(!e||"recreate"===e||"media"===e){var a=r.getMediaOption(this);a.length&&Object(g.each)(a,function(e){n=!0,this._mergeOption(e,t)},this)}return n},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,t){var n=this.option,r=this._componentsMap,i=this._componentsCount,o=[],a=Object(g.createHashMap)(),s=t&&t.replaceMergeMainTypeMap;Nh(this).datasetMap=Object(g.createHashMap)(),Object(g.each)(e,function(e,t){null!=e&&(Ch.hasClass(t)?t&&(o.push(t),a.set(t,!0)):n[t]=null==n[t]?Object(g.clone)(e):Object(g.merge)(n[t],e,!0))}),s&&s.each(function(e,t){Ch.hasClass(t)&&!a.get(t)&&(o.push(t),a.set(t,!0))}),Ch.topologicalTravel(o,Ch.getAllClassMainTypes(),function(t){var o=function(e,t,n){var r=Yh.get(t);if(!r)return n;var i=r(e);return i?n.concat(i):n}(this,t,Qr(e[t])),a=r.get(t),l=a?s&&s.get(t)?"replaceMerge":"normalMerge":"replaceAll",c=Wr(a,o,l);(function(e,t,n){Object(g.each)(e,function(e){var r=e.newOption;Object(g.isObject)(r)&&(e.keyInfo.mainType=t,e.keyInfo.subType=function(e,t,n,r){return t.type?t.type:n?n.subType:r.determineSubType(e,t)}(t,r,e.existing,n))})})(c,t,Ch),n[t]=null,r.set(t,null),i.set(t,0);var u,h=[],d=[],f=0;Object(g.each)(c,function(e,n){var r=e.existing,i=e.newOption;if(i){var o="series"===t,a=Ch.getClass(t,e.keyInfo.subType,!o);if(!a)return;if("tooltip"===t){if(u)return;u=!0}if(r&&r.constructor===a)r.name=e.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1);else{var s=Object(g.extend)({componentIndex:n},e.keyInfo);r=new a(i,this,this,s),Object(g.extend)(r,s),e.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(h.push(r.option),d.push(r),f++):(h.push(void 0),d.push(void 0))},this),n[t]=h,r.set(t,d),i.set(t,f),"series"===t&&Vh(this)},this),this._seriesIndices||Vh(this)},t.prototype.getOption=function(){var e=Object(g.clone)(this.option);return Object(g.each)(e,function(t,n){if(Ch.hasClass(n)){for(var r=Qr(t),i=r.length,o=!1,a=i-1;a>=0;a--)r[a]&&!Jr(r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,e[n]=r}}),delete e["\0_ec_inner"],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){var r=n[t||0];if(r)return r;if(null==t)for(var i=0;i<n.length;i++)if(n[i])return n[i]}},t.prototype.queryComponents=function(e){var t=e.mainType;if(!t)return[];var n,r=e.index,i=e.id,o=e.name,a=this._componentsMap.get(t);return a&&a.length?(null!=r?(n=[],Object(g.each)(Qr(r),function(e){a[e]&&n.push(a[e])})):n=null!=i?ed("id",i,a):null!=o?ed("name",o,a):Object(g.filter)(a,function(e){return!!e}),td(n,e)):[]},t.prototype.findComponents=function(e){var t,n,r,i,o,a=e.query,s=e.mainType,l=(n=s+"Index",r=s+"Id",i=s+"Name",!(t=a)||null==t[n]&&null==t[r]&&null==t[i]?null:{mainType:s,index:t[n],id:t[r],name:t[i]}),c=l?this.queryComponents(l):Object(g.filter)(this._componentsMap.get(s),function(e){return!!e});return o=td(c,e),e.filter?Object(g.filter)(o,e.filter):o},t.prototype.eachComponent=function(e,t,n){var r=this._componentsMap;if(Object(g.isFunction)(e)){var i=t,o=e;r.each(function(e,t){for(var n=0;e&&n<e.length;n++){var r=e[n];r&&o.call(i,t,r,r.componentIndex)}})}else for(var a=Object(g.isString)(e)?r.get(e):Object(g.isObject)(e)?this.findComponents(e):null,s=0;a&&s<a.length;s++){var l=a[s];l&&t.call(n,l,l.componentIndex)}},t.prototype.getSeriesByName=function(e){var t=$r(e,null);return Object(g.filter)(this._componentsMap.get("series"),function(e){return!!e&&null!=t&&e.name===t})},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return Object(g.filter)(this._componentsMap.get("series"),function(t){return!!t&&t.subType===e})},t.prototype.getSeries=function(){return Object(g.filter)(this._componentsMap.get("series"),function(e){return!!e})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,t){Gh(this),Object(g.each)(this._seriesIndices,function(n){var r=this._componentsMap.get("series")[n];e.call(t,r,n)},this)},t.prototype.eachRawSeries=function(e,t){Object(g.each)(this._componentsMap.get("series"),function(n){n&&e.call(t,n,n.componentIndex)})},t.prototype.eachSeriesByType=function(e,t,n){Gh(this),Object(g.each)(this._seriesIndices,function(r){var i=this._componentsMap.get("series")[r];i.subType===e&&t.call(n,i,r)},this)},t.prototype.eachRawSeriesByType=function(e,t,n){return Object(g.each)(this.getSeriesByType(e),t,n)},t.prototype.isSeriesFiltered=function(e){return Gh(this),null==this._seriesIndicesMap.get(e.componentIndex)},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,t){Gh(this);var n=[];Object(g.each)(this._seriesIndices,function(r){var i=this._componentsMap.get("series")[r];e.call(t,i,r)&&n.push(r)},this),this._seriesIndices=n,this._seriesIndicesMap=Object(g.createHashMap)(n)},t.prototype.restoreData=function(e){Vh(this);var t=this._componentsMap,n=[];t.each(function(e,t){Ch.hasClass(t)&&n.push(t)}),Ch.topologicalTravel(n,Ch.getAllClassMainTypes(),function(n){Object(g.each)(t.get(n),function(t){!t||"series"===n&&function(e,t){if(t){var n=t.seriesIndex,r=t.seriesId,i=t.seriesName;return null!=n&&e.componentIndex!==n||null!=r&&e.id!==r||null!=i&&e.name!==i}}(t,e)||t.restoreData()})})},t.internalField=(Vh=function(e){var t=e._seriesIndices=[];Object(g.each)(e._componentsMap.get("series"),function(e){e&&t.push(e.componentIndex)}),e._seriesIndicesMap=Object(g.createHashMap)(t)},Gh=function(e){},void(Wh=function(e,t){e.option={},e.option["\0_ec_inner"]=1,e._componentsMap=Object(g.createHashMap)({series:[]}),e._componentsCount=Object(g.createHashMap)();var n,r,i,o=t.aria;Object(g.isObject)(o)&&null==o.enabled&&(o.enabled=!0),n=t,r=e._theme.option,i=n.color&&!n.colorLayer,Object(g.each)(r,function(e,t){"colorLayer"===t&&i||Ch.hasClass(t)||("object"==typeof e?n[t]=n[t]?Object(g.merge)(n[t],e,!1):Object(g.clone)(e):null==n[t]&&(n[t]=e))}),Object(g.merge)(t,kh,!1),e._mergeOption(t,null)})),t}(du);function ed(e,t,n){if(Object(g.isArray)(t)){var r=Object(g.createHashMap)();return Object(g.each)(t,function(e){null!=e&&(null!=$r(e,null)&&r.set(e,!0))}),Object(g.filter)(n,function(t){return t&&r.get(t[e])})}var i=$r(t,null);return Object(g.filter)(n,function(t){return t&&null!=i&&t[e]===i})}function td(e,t){return t.hasOwnProperty("subType")?Object(g.filter)(e,function(e){return e&&e.subType===t.subType}):e}function nd(e){var t=Object(g.createHashMap)();return e&&Object(g.each)(Qr(e.replaceMerge),function(e){t.set(e,!0)}),{replaceMergeMainTypeMap:t}}Object(g.mixin)(qh,$h);var rd=qh,id=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],od=function(){return function(e){g.each(id,function(t){this[t]=g.bind(e[t],e)},this)}}(),ad={},sd=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(e,t){var n=[];g.each(ad,function(r,i){var o=r.create(e,t);n=n.concat(o||[])}),this._coordinateSystems=n},e.prototype.update=function(e,t){g.each(this._coordinateSystems,function(n){n.update&&n.update(e,t)})},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(e,t){ad[e]=t},e.get=function(e){return ad[e]},e}(),ld=/^(min|max)?(.+)$/;function cd(e,t,n){var r={width:t,height:n,aspectratio:t/n},i=!0;return Object(g.each)(e,function(e,t){var n=t.match(ld);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();(function(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t})(r[a],e,o)||(i=!1)}}),i}var ud=function(){function e(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return e.prototype.setOption=function(e,t,n){e&&(Object(g.each)(Qr(e.series),function(e){e&&e.data&&Object(g.isTypedArray)(e.data)&&Object(g.setAsPrimitive)(e.data)}),Object(g.each)(Qr(e.dataset),function(e){e&&e.source&&Object(g.isTypedArray)(e.source)&&Object(g.setAsPrimitive)(e.source)})),e=Object(g.clone)(e);var r=this._optionBackup,i=function(e,t,n){var r,i,o=[],a=e.baseOption,s=e.timeline,l=e.options,c=e.media,u=!!e.media,h=!!(l||s||a&&a.timeline);a?(i=a).timeline||(i.timeline=s):((h||u)&&(e.options=e.media=null),i=e);u&&Object(g.isArray)(c)&&Object(g.each)(c,function(e){e&&e.option&&(e.query?o.push(e):r||(r=e))});function d(e){Object(g.each)(t,function(t){t(e,n)})}return d(i),Object(g.each)(l,function(e){return d(e)}),Object(g.each)(o,function(e){return d(e.option)}),{baseOption:i,timelineOptions:l||[],mediaDefault:r,mediaList:o}}(e,t,!r);this._newBaseOption=i.baseOption,r?(i.timelineOptions.length&&(r.timelineOptions=i.timelineOptions),i.mediaList.length&&(r.mediaList=i.mediaList),i.mediaDefault&&(r.mediaDefault=i.mediaDefault)):this._optionBackup=i},e.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],Object(g.clone)(e?t.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(e){var t,n=this._timelineOptions;if(n.length){var r=e.getComponent("timeline");r&&(t=Object(g.clone)(n[r.getCurrentIndex()]))}return t},e.prototype.getMediaOption=function(e){var t,n,r=this._api.getWidth(),i=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var c=0,u=o.length;c<u;c++)cd(o[c].query,r,i)&&s.push(c);return!s.length&&a&&(s=[-1]),s.length&&(t=s,n=this._currentMediaIndices,t.join(",")!==n.join(","))&&(l=Object(g.map)(s,function(e){return Object(g.clone)(-1===e?a.option:o[e].option)})),this._currentMediaIndices=s,l},e}(),hd=g.each,dd=g.isObject,fd=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function pd(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=fd.length;n<r;n++){var i=fd[n],o=t.normal,a=t.emphasis;o&&o[i]&&(e[i]=e[i]||{},e[i].normal?g.merge(e[i].normal,o[i]):e[i].normal=o[i],o[i]=null),a&&a[i]&&(e[i]=e[i]||{},e[i].emphasis?g.merge(e[i].emphasis,a[i]):e[i].emphasis=a[i],a[i]=null)}}function Ad(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var r=e[t].normal,i=e[t].emphasis;r&&(n?(e[t].normal=e[t].emphasis=null,g.defaults(e[t],r)):e[t]=r),i&&(e.emphasis=e.emphasis||{},e.emphasis[t]=i,i.focus&&(e.emphasis.focus=i.focus),i.blurScope&&(e.emphasis.blurScope=i.blurScope))}}function gd(e){Ad(e,"itemStyle"),Ad(e,"lineStyle"),Ad(e,"areaStyle"),Ad(e,"label"),Ad(e,"labelLine"),Ad(e,"upperLabel"),Ad(e,"edgeLabel")}function vd(e,t){var n=dd(e)&&e[t],r=dd(n)&&n.textStyle;if(r){0;for(var i=0,o=Yr.length;i<o;i++){var a=Yr[i];r.hasOwnProperty(a)&&(n[a]=r[a])}}}function md(e){e&&(gd(e),vd(e,"label"),e.emphasis&&vd(e.emphasis,"label"))}function yd(e){return g.isArray(e)?e:e?[e]:[]}function bd(e){return(g.isArray(e)?e[0]:e)||{}}function _d(e,t){hd(yd(e.series),function(e){dd(e)&&function(e){if(dd(e)){pd(e),gd(e),vd(e,"label"),vd(e,"upperLabel"),vd(e,"edgeLabel"),e.emphasis&&(vd(e.emphasis,"label"),vd(e.emphasis,"upperLabel"),vd(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(pd(t),md(t));var n=e.markLine;n&&(pd(n),md(n));var r=e.markArea;r&&md(r);var i=e.data;if("graph"===e.type){i=i||e.nodes;var o=e.links||e.edges;if(o&&!g.isTypedArray(o))for(var a=0;a<o.length;a++)md(o[a]);g.each(e.categories,function(e){gd(e)})}if(i&&!g.isTypedArray(i))for(a=0;a<i.length;a++)md(i[a]);if((t=e.markPoint)&&t.data){var s=t.data;for(a=0;a<s.length;a++)md(s[a])}if((n=e.markLine)&&n.data){var l=n.data;for(a=0;a<l.length;a++)g.isArray(l[a])?(md(l[a][0]),md(l[a][1])):md(l[a])}"gauge"===e.type?(vd(e,"axisLabel"),vd(e,"title"),vd(e,"detail")):"treemap"===e.type?(Ad(e.breadcrumb,"itemStyle"),g.each(e.levels,function(e){gd(e)})):"tree"===e.type&&gd(e.leaves)}}(e)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),hd(n,function(t){hd(yd(e[t]),function(e){e&&(vd(e,"axisLabel"),vd(e.axisPointer,"label"))})}),hd(yd(e.parallel),function(e){var t=e&&e.parallelAxisDefault;vd(t,"axisLabel"),vd(t&&t.axisPointer,"label")}),hd(yd(e.calendar),function(e){Ad(e,"itemStyle"),vd(e,"dayLabel"),vd(e,"monthLabel"),vd(e,"yearLabel")}),hd(yd(e.radar),function(e){vd(e,"name"),e.name&&null==e.axisName&&(e.axisName=e.name,delete e.name),null!=e.nameGap&&null==e.axisNameGap&&(e.axisNameGap=e.nameGap,delete e.nameGap)}),hd(yd(e.geo),function(e){dd(e)&&(md(e),hd(yd(e.regions),function(e){md(e)}))}),hd(yd(e.timeline),function(e){md(e),Ad(e,"label"),Ad(e,"itemStyle"),Ad(e,"controlStyle",!0);var t=e.data;g.isArray(t)&&g.each(t,function(e){g.isObject(e)&&(Ad(e,"label"),Ad(e,"itemStyle"))})}),hd(yd(e.toolbox),function(e){Ad(e,"iconStyle"),hd(e.feature,function(e){Ad(e,"iconStyle")})}),vd(bd(e.axisPointer),"label"),vd(bd(e.tooltip).axisPointer,"label")}function wd(e){e&&Object(g.each)(xd,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var xd=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Cd=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Sd=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Bd(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<Sd.length;n++){var r=Sd[n][1],i=Sd[n][0];null!=t[r]&&(t[i]=t[r])}}function kd(e){e&&"edge"===e.alignTo&&null!=e.margin&&null==e.edgeDistance&&(e.edgeDistance=e.margin)}function Td(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function Ed(e,t){_d(e,t),e.series=Qr(e.series),Object(g.each)(e.series,function(e){if(Object(g.isObject)(e)){var t,n=e.type;if("line"===n)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===n||"gauge"===n){if(null!=e.clockWise&&(e.clockwise=e.clockWise),kd(e.label),(o=e.data)&&!Object(g.isTypedArray)(o))for(var r=0;r<o.length;r++)kd(o[r]);null!=e.hoverOffset&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset))}else if("gauge"===n){var i=function(e,t){for(var n=t.split(","),r=e,i=0;i<n.length&&null!=(r=r&&r[n[i]]);i++);return r}(e,"pointer.color");null!=i&&function(e,t,n,r){for(var i,o=t.split(","),a=e,s=0;s<o.length-1;s++)null==a[i=o[s]]&&(a[i]={}),a=a[i];(r||null==a[o[s]])&&(a[o[s]]=n)}(e,"itemStyle.color",i)}else if("bar"===n){var o;if(Bd(e),Bd(e.backgroundStyle),Bd(e.emphasis),(o=e.data)&&!Object(g.isTypedArray)(o))for(r=0;r<o.length;r++)"object"==typeof o[r]&&(Bd(o[r]),Bd(o[r]&&o[r].emphasis))}else if("sunburst"===n){var a=e.highlightPolicy;a&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=a)),Td(e),function e(t,n){if(t)for(var r=0;r<t.length;r++)n(t[r]),t[r]&&e(t[r].children,n)}(e.data,Td)}else"graph"===n||"sankey"===n?(t=e)&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency")):"map"===n&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation&&Object(g.defaults)(e,e.mapLocation));null!=e.hoverAnimation&&(e.emphasis=e.emphasis||{},e.emphasis&&null==e.emphasis.scale&&(e.emphasis.scale=e.hoverAnimation)),wd(e)}}),e.dataRange&&(e.visualMap=e.dataRange),Object(g.each)(Cd,function(t){var n=e[t];n&&(Object(g.isArray)(n)||(n=[n]),Object(g.each)(n,function(e){wd(e)}))})}function Md(e){Object(g.each)(e,function(t,n){var r=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,c,u){var h,d,f=a.get(t.stackedDimension,u);if(isNaN(f))return i;s?d=a.getRawIndex(u):h=a.get(t.stackedByDimension,u);for(var p=NaN,A=n-1;A>=0;A--){var g=e[A];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,h)),d>=0){var v=g.data.getByRawIndex(g.stackResultDimension,d);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&f>=0&&v>0||"samesign"===l&&f<=0&&v<0){f=wr(f,v),p=v;break}}}return r[0]=f,r[1]=p,r})})}var Dd,Od,Id,Ld,Pd,Fd=function(){return function(e){this.data=e.data||(e.sourceFormat===Oh?{}:[]),this.sourceFormat=e.sourceFormat||Lh,this.seriesLayoutBy=e.seriesLayoutBy||Ph,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var n=0;n<t.length;n++){var r=t[n];null==r.type&&Qh(this,n)===Rh.Must&&(r.type="ordinal")}}}();function Rd(e){return e instanceof Fd}function Nd(e,t,n){n=n||jd(e);var r=t.seriesLayoutBy,i=function(e,t,n,r,i){var o,a;if(!e)return{dimensionsDefine:Ud(i),startIndex:a,dimensionsDetectedCount:o};if(t===Mh){var s=e;"auto"===r||null==r?Qd(function(e){null!=e&&"-"!==e&&(Object(g.isString)(e)?null==a&&(a=1):a=0)},n,s,10):a=Object(g.isNumber)(r)?r:r?1:0,i||1!==a||(i=[],Qd(function(e,t){i[t]=null!=e?e+"":""},n,s,1/0)),o=i?i.length:n===Fh?s.length:s[0]?s[0].length:null}else if(t===Dh)i||(i=function(e){var t,n=0;for(;n<e.length&&!(t=e[n++]););if(t)return Object(g.keys)(t)}(e));else if(t===Oh)i||(i=[],Object(g.each)(e,function(e,t){i.push(t)}));else if(t===Eh){var l=Vr(e[0]);o=Object(g.isArray)(l)&&l.length||1}return{startIndex:a,dimensionsDefine:Ud(i),dimensionsDetectedCount:o}}(e,n,r,t.sourceHeader,t.dimensions);return new Fd({data:e,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:Object(g.clone)(t)})}function Hd(e){return new Fd({data:e,sourceFormat:Object(g.isTypedArray)(e)?Ih:Eh})}function jd(e){var t=Lh;if(Object(g.isTypedArray)(e))t=Ih;else if(Object(g.isArray)(e)){0===e.length&&(t=Mh);for(var n=0,r=e.length;n<r;n++){var i=e[n];if(null!=i){if(Object(g.isArray)(i)){t=Mh;break}if(Object(g.isObject)(i)){t=Dh;break}}}}else if(Object(g.isObject)(e))for(var o in e)if(Object(g.hasOwn)(e,o)&&Object(g.isArrayLike)(e[o])){t=Oh;break}return t}function Ud(e){if(e){var t=Object(g.createHashMap)();return Object(g.map)(e,function(e,n){var r={name:(e=Object(g.isObject)(e)?e:{name:e}).name,displayName:e.displayName,type:e.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var i=t.get(r.name);return i?r.name+="-"+i.count++:t.set(r.name,{count:1}),r})}}function Qd(e,t,n,r){if(t===Fh)for(var i=0;i<n.length&&i<r;i++)e(n[i]?n[i][0]:null,i);else{var o=n[0]||[];for(i=0;i<o.length&&i<r;i++)e(o[i],i)}}function zd(e){var t=e.sourceFormat;return t===Dh||t===Oh}var Yd=function(){function e(e,t){var n=Rd(e)?e:Hd(e);this._source=n;var r=this._data=n.data;n.sourceFormat===Ih&&(this._offset=0,this._dimSize=t,this._data=r),Pd(this,r,n)}var t;return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(e,t){},e.prototype.appendData=function(e){},e.prototype.clean=function(){},e.protoInitialize=((t=e.prototype).pure=!1,void(t.persistent=!0)),e.internalField=function(){var e;Pd=function(e,i,o){var a=o.sourceFormat,s=o.seriesLayoutBy,l=o.startIndex,c=o.dimensionsDefine,u=Ld[ef(a,s)];if(Object(g.extend)(e,u),a===Ih)e.getItem=t,e.count=r,e.fillStorage=n;else{var h=Wd(a,s);e.getItem=Object(g.bind)(h,null,i,l,c);var d=$d(a,s);e.count=Object(g.bind)(d,null,i,l,c)}};var t=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,r=this._dimSize,i=r*e,o=0;o<r;o++)t[o]=n[i+o];return t},n=function(e,t,n,r){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=r[a],l=null==s[0]?1/0:s[0],c=null==s[1]?-1/0:s[1],u=t-e,h=n[a],d=0;d<u;d++){var f=i[d*o+a];h[e+d]=f,f<l&&(l=f),f>c&&(c=f)}s[0]=l,s[1]=c}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}(e={})[Mh+"_"+Ph]={pure:!0,appendData:i},e[Mh+"_"+Fh]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[Dh]={pure:!0,appendData:i},e[Oh]={pure:!0,appendData:function(e){var t=this._data;Object(g.each)(e,function(e,n){for(var r=t[n]||(t[n]=[]),i=0;i<(e||[]).length;i++)r.push(e[i])})}},e[Eh]={appendData:i},e[Ih]={persistent:!1,pure:!0,appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}},Ld=e}(),e}(),Vd=function(e,t,n,r){return e[r]},Gd=((Dd={})[Mh+"_"+Ph]=function(e,t,n,r){return e[r+t]},Dd[Mh+"_"+Fh]=function(e,t,n,r,i){r+=t;for(var o=i||[],a=e,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[r]:null}return o},Dd[Dh]=Vd,Dd[Oh]=function(e,t,n,r,i){for(var o=i||[],a=0;a<n.length;a++){var s=n[a].name;0;var l=e[s];o[a]=l?l[r]:null}return o},Dd[Eh]=Vd,Dd);function Wd(e,t){var n=Gd[ef(e,t)];return n}var Xd=function(e,t,n){return e.length},Zd=((Od={})[Mh+"_"+Ph]=function(e,t,n){return Math.max(0,e.length-t)},Od[Mh+"_"+Fh]=function(e,t,n){var r=e[0];return r?Math.max(0,r.length-t):0},Od[Dh]=Xd,Od[Oh]=function(e,t,n){var r=n[0].name;var i=e[r];return i?i.length:0},Od[Eh]=Xd,Od);function $d(e,t){var n=Zd[ef(e,t)];return n}var Kd=function(e,t,n){return e[t]},Jd=((Id={})[Mh]=Kd,Id[Dh]=function(e,t,n){return e[n]},Id[Oh]=Kd,Id[Eh]=function(e,t,n){var r=Vr(e);return r instanceof Array?r[t]:r},Id[Ih]=Kd,Id);function qd(e){var t=Jd[e];return t}function ef(e,t){return e===Mh?e+"_"+t:e}function tf(e,t,n){if(e){var r=e.getRawDataItem(t);if(null!=r){var i=e.getStore(),o=i.getSource().sourceFormat;if(null!=n){var a=e.getDimensionIndex(n),s=i.getDimensionProperty(a);return qd(o)(r,a,s)}var l=r;return o===Eh&&(l=Vr(r)),l}}}var nf=/\{@(.+?)\}/g,rf=function(){function e(){}return e.prototype.getDataParams=function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),o=n.getName(e),a=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),l=s&&s[n.getItemVisual(e,"drawType")||"fill"],c=s&&s.stroke,u=this.mainType,h="series"===u,d=n.userOutput&&n.userOutput.get();return{componentType:u,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:i,data:a,dataType:t,value:r,color:l,borderColor:c,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(e,t,n,r,i,o){t=t||"normal";var a=this.getData(n),s=this.getDataParams(e,n);(o&&(s.value=o.interpolatedValue),null!=r&&g.isArray(s.value)&&(s.value=s.value[r]),i)||(i=a.getItemModel(e).get("normal"===t?["label","formatter"]:[t,"label","formatter"]));return g.isFunction(i)?(s.status=t,s.dimensionIndex=r,i(s)):g.isString(i)?oh(i,s).replace(nf,function(t,n){var r=n.length,i=n;"["===i.charAt(0)&&"]"===i.charAt(r-1)&&(i=+i.slice(1,r-1));var s=tf(a,e,i);if(o&&g.isArray(o.interpolatedValue)){var l=a.getDimensionIndex(i);l>=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""}):void 0},e.prototype.getRawValue=function(e,t){return tf(this.getData(t),e)},e.prototype.formatTooltip=function(e,t,n){},e}();function of(e){var t,n;return g.isObject(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function af(e){return new sf(e)}var sf=function(){function e(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return e.prototype.perform=function(e){var t,n=this._upstream,r=e&&e.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(t=this._plan(this.context));var o,a=u(this._modBy),s=this._modDataCount||0,l=u(e&&e.modBy),c=e&&e.modDataCount||0;function u(e){return!(e>=1)&&(e=1),e}a===l&&s===c||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=this._doReset(r)),this._modBy=l,this._modDataCount=c;var h=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,f=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!r&&(o||d<f)){var p=this._progress;if(Object(g.isArray)(p))for(var A=0;A<p.length;A++)this._doProgress(p[A],d,f,l,c);else this._doProgress(p,d,f,l,c)}this._dueIndex=f;var v=null!=this._settedOutputEnd?this._settedOutputEnd:f;0,this._outputDueEnd=v}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(e,t,n,r,i){lf.reset(t,n,r,i),this._callingProgress=e,this._callingProgress({start:t,end:n,count:n-t,next:lf.next},this.context)},e.prototype._doReset=function(e){var t,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!e&&this._reset&&((t=this._reset(this.context))&&t.progress&&(n=t.forceFirstProgress,t=t.progress),Object(g.isArray)(t)&&!t.length&&(t=null)),this._progress=t,this._modBy=this._modDataCount=null;var r=this._downstream;return r&&r.dirty(),n},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},e}(),lf=function(){var e,t,n,r,i,o={reset:function(l,c,u,h){t=l,e=c,n=u,r=h,i=Math.ceil(r/n),o.next=n>1&&r>0?s:a}};return o;function a(){return t<e?t++:null}function s(){var o=t%i*n+Math.ceil(t/i),a=t>=e?null:o<r?o:t;return t++,a}}();function cf(e,t){var n=t&&t.type;return"ordinal"===n?e:("time"!==n||Object(g.isNumber)(e)||null==e||"-"===e||(e=+kr(e)),null==e||""===e?NaN:+e)}var uf=Object(g.createHashMap)({number:function(e){return parseFloat(e)},time:function(e){return+kr(e)},trim:function(e){return Object(g.isString)(e)?Object(g.trim)(e):e}});function hf(e){return uf.get(e)}var df={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t}},ff=function(){function e(e,t){if(!Object(g.isNumber)(t)){var n="";0,Nr(n)}this._opFn=df[e],this._rvalFloat=Ir(t)}return e.prototype.evaluate=function(e){return Object(g.isNumber)(e)?this._opFn(e,this._rvalFloat):this._opFn(Ir(e),this._rvalFloat)},e}(),pf=function(){function e(e,t){var n="desc"===e;this._resultLT=n?1:-1,null==t&&(t=n?"min":"max"),this._incomparable="min"===t?-1/0:1/0}return e.prototype.evaluate=function(e,t){var n=Object(g.isNumber)(e)?e:Ir(e),r=Object(g.isNumber)(t)?t:Ir(t),i=isNaN(n),o=isNaN(r);if(i&&(n=this._incomparable),o&&(r=this._incomparable),i&&o){var a=Object(g.isString)(e),s=Object(g.isString)(t);a&&(n=s?e:0),s&&(r=a?t:0)}return n<r?this._resultLT:n>r?-this._resultLT:0},e}(),Af=function(){function e(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=Ir(t)}return e.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var n=typeof e;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(t=Ir(e)===this._rvalFloat)}return this._isEQ?t:!t},e}();function gf(e,t){return"eq"===e||"ne"===e?new Af("eq"===e,t):Object(g.hasOwn)(df,e)?new ff(e,t):null}var vf=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(e){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(e){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(e,t){},e.prototype.retrieveValueFromItem=function(e,t){},e.prototype.convertValue=function(e,t){return cf(e,t)},e}();function mf(e){var t=e.sourceFormat;if(!Cf(t)){var n="";0,Nr(n)}return e.data}function yf(e){var t=e.sourceFormat,n=e.data;if(!Cf(t)){var r="";0,Nr(r)}if(t===Mh){for(var i=[],o=0,a=n.length;o<a;o++)i.push(n[o].slice());return i}if(t===Dh){for(i=[],o=0,a=n.length;o<a;o++)i.push(Object(g.extend)({},n[o]));return i}}function bf(e,t,n){if(null!=n)return Object(g.isNumber)(n)||!isNaN(n)&&!Object(g.hasOwn)(t,n)?e[n]:Object(g.hasOwn)(t,n)?t[n]:void 0}function _f(e){return Object(g.clone)(e)}var wf=Object(g.createHashMap)();function xf(e,t,n,r){var i="";t.length||Nr(i),Object(g.isObject)(e)||Nr(i);var o=e.type,a=wf.get(o);a||Nr(i);var s=Object(g.map)(t,function(e){return function(e,t){var n=new vf,r=e.data,i=n.sourceFormat=e.sourceFormat,o=e.startIndex,a="";e.seriesLayoutBy!==Ph&&Nr(a);var s=[],l={},c=e.dimensionsDefine;if(c)Object(g.each)(c,function(e,t){var n=e.name,r={index:t,name:n,displayName:e.displayName};if(s.push(r),null!=n){var i="";Object(g.hasOwn)(l,n)&&Nr(i),l[n]=r}});else for(var u=0;u<e.dimensionsDetectedCount;u++)s.push({index:u});var h=Wd(i,Ph);t.__isBuiltIn&&(n.getRawDataItem=function(e){return h(r,o,s,e)},n.getRawData=Object(g.bind)(mf,null,e)),n.cloneRawData=Object(g.bind)(yf,null,e);var d=$d(i,Ph);n.count=Object(g.bind)(d,null,r,o,s);var f=qd(i);n.retrieveValue=function(e,t){var n=h(r,o,s,e);return p(n,t)};var p=n.retrieveValueFromItem=function(e,t){if(null!=e){var n=s[t];return n?f(e,t,n.name):void 0}};return n.getDimensionInfo=Object(g.bind)(bf,null,s,l),n.cloneAllDimensionInfo=Object(g.bind)(_f,null,s),n}(e,a)}),l=Qr(a.transform({upstream:s[0],upstreamList:s,config:Object(g.clone)(e.config)}));return Object(g.map)(l,function(e,n){var r,i="";Object(g.isObject)(e)||Nr(i),e.data||Nr(i),Cf(jd(e.data))||Nr(i);var o=t[0];if(o&&0===n&&!e.dimensions){var a=o.startIndex;a&&(e.data=o.data.slice(0,a).concat(e.data)),r={seriesLayoutBy:Ph,sourceHeader:a,dimensions:o.metaRawOption.dimensions}}else r={seriesLayoutBy:Ph,sourceHeader:0,dimensions:e.dimensions};return Nd(e.data,r,null)})}function Cf(e){return e===Mh||e===Dh}var Sf,Bf="undefined"==typeof Uint32Array?Array:Uint32Array,kf="undefined"==typeof Uint16Array?Array:Uint16Array,Tf="undefined"==typeof Int32Array?Array:Int32Array,Ef="undefined"==typeof Float64Array?Array:Float64Array,Mf={float:Ef,int:Tf,ordinal:Array,number:Array,time:Ef};function Df(e){return e>65535?Bf:kf}function Of(e,t,n,r,i){var o=Mf[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),c=0;c<s;c++)l[c]=a[c];e[t]=l}}else e[t]=new o(r)}var If=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(g.createHashMap)()}return e.prototype.initData=function(e,t,n){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var r=e.getSource(),i=this.defaultDimValueGetter=Sf[r.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[];zd(r);this._dimensions=Object(g.map)(t,function(e){return{type:e.type,property:e.property}}),this._initDataFromProvider(0,e.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(e,t){var n=this._calcDimNameToIdx,r=this._dimensions,i=n.get(e);if(null!=i){if(r[i].type===t)return i}else i=r.length;return r[i]={type:t},n.set(e,i),this._chunks[i]=new Mf[t||"float"](this._rawCount),this._rawExtent[i]=[1/0,-1/0],i},e.prototype.collectOrdinalMeta=function(e,t){var n=this._chunks[e],r=this._dimensions[e],i=this._rawExtent,o=r.ordinalOffset||0,a=n.length;0===o&&(i[e]=[1/0,-1/0]);for(var s=i[e],l=o;l<a;l++){var c=n[l]=t.parseAndCollect(n[l]);isNaN(c)||(s[0]=Math.min(c,s[0]),s[1]=Math.max(c,s[1]))}r.ordinalMeta=t,r.ordinalOffset=a,r.type="ordinal"},e.prototype.getOrdinalMeta=function(e){return this._dimensions[e].ordinalMeta},e.prototype.getDimensionProperty=function(e){var t=this._dimensions[e];return t&&t.property},e.prototype.appendData=function(e){var t=this._provider,n=this.count();t.appendData(e);var r=t.count();return t.persistent||(r+=n),n<r&&this._initDataFromProvider(n,r,!0),[n,r]},e.prototype.appendValues=function(e,t){for(var n=this._chunks,r=this._dimensions,i=r.length,o=this._rawExtent,a=this.count(),s=a+Math.max(e.length,t||0),l=0;l<i;l++){Of(n,l,(f=r[l]).type,s,!0)}for(var c=[],u=a;u<s;u++)for(var h=u-a,d=0;d<i;d++){var f=r[d],p=Sf.arrayRows.call(this,e[h]||c,f.property,h,d);n[d][u]=p;var A=o[d];p<A[0]&&(A[0]=p),p>A[1]&&(A[1]=p)}return this._rawCount=this._count=s,{start:a,end:s}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,i=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=Object(g.map)(o,function(e){return e.property}),c=0;c<a;c++){var u=o[c];s[c]||(s[c]=[1/0,-1/0]),Of(i,c,u.type,t,n)}if(r.fillStorage)r.fillStorage(e,t,i,s);else for(var h=[],d=e;d<t;d++){h=r.getItem(d,h);for(var f=0;f<a;f++){var p=i[f],A=this._dimValueGetter(h,l[f],d,f);p[d]=A;var v=s[f];A<v[0]&&(v[0]=A),A>v[1]&&(v[1]=A)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var n=this._chunks[e];return n?n[this.getRawIndex(t)]:NaN},e.prototype.getValues=function(e,t){var n=[],r=[];if(null==t){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=e;i=0;for(var o=r.length;i<o;i++)n.push(this.get(r[i],t));return n},e.prototype.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var n=this._chunks[e];return n?n[t]:NaN},e.prototype.getSum=function(e){var t=0;if(this._chunks[e])for(var n=0,r=this.count();n<r;n++){var i=this.get(e,n);isNaN(i)||(t+=i)}return t},e.prototype.getMedian=function(e){var t=[];this.each([e],function(e){isNaN(e)||t.push(e)});var n=t.sort(function(e,t){return e-t}),r=this.count();return 0===r?0:r%2==1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},e.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;for(var r=0,i=this._count-1;r<=i;){var o=(r+i)/2|0;if(t[o]<e)r=o+1;else{if(!(t[o]>e))return o;i=o-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks[e],i=[];if(!r)return i;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,c=this.count();l<c;l++){var u=t-r[this.getRawIndex(l)],h=Math.abs(u);h<=n&&((h<o||h===o&&u>=0&&a<0)&&(o=h,a=u,s=0),u===a&&(i[s++]=l))}return i.length=s,i},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var i=0;i<r;i++)e[i]=t[i]}else e=new n(t.buffer,0,r)}else{e=new(n=Df(this._rawCount))(this.count());for(i=0;i<e.length;i++)e[i]=i}return e},e.prototype.filter=function(e,t){if(!this._count)return this;for(var n=this.clone(),r=n.count(),i=new(Df(n._rawCount))(r),o=[],a=e.length,s=0,l=e[0],c=n._chunks,u=0;u<r;u++){var h=void 0,d=n.getRawIndex(u);if(0===a)h=t(u);else if(1===a){h=t(c[l][d],u)}else{for(var f=0;f<a;f++)o[f]=c[e[f]][d];o[f]=u,h=t.apply(null,o)}h&&(i[s++]=d)}return s<r&&(n._indices=i),n._count=s,n._extent=[],n._updateGetRawIdx(),n},e.prototype.selectRange=function(e){var t=this.clone(),n=t._count;if(!n)return this;var r=Object(g.keys)(e),i=r.length;if(!i)return this;var o=t.count(),a=new(Df(t._rawCount))(o),s=0,l=r[0],c=e[l][0],u=e[l][1],h=t._chunks,d=!1;if(!t._indices){var f=0;if(1===i){for(var p=h[r[0]],A=0;A<n;A++){((b=p[A])>=c&&b<=u||isNaN(b))&&(a[s++]=f),f++}d=!0}else if(2===i){p=h[r[0]];var v=h[r[1]],m=e[r[1]][0],y=e[r[1]][1];for(A=0;A<n;A++){var b=p[A],_=v[A];(b>=c&&b<=u||isNaN(b))&&(_>=m&&_<=y||isNaN(_))&&(a[s++]=f),f++}d=!0}}if(!d)if(1===i)for(A=0;A<o;A++){var w=t.getRawIndex(A);((b=h[r[0]][w])>=c&&b<=u||isNaN(b))&&(a[s++]=w)}else for(A=0;A<o;A++){for(var x=!0,C=(w=t.getRawIndex(A),0);C<i;C++){var S=r[C];((b=h[S][w])<e[S][0]||b>e[S][1])&&(x=!1)}x&&(a[s++]=t.getRawIndex(A))}return s<o&&(t._indices=a),t._count=s,t._extent=[],t._updateGetRawIdx(),t},e.prototype.map=function(e,t){var n=this.clone(e);return this._updateDims(n,e,t),n},e.prototype.modify=function(e,t){this._updateDims(this,e,t)},e.prototype._updateDims=function(e,t,n){for(var r=e._chunks,i=[],o=t.length,a=e.count(),s=[],l=e._rawExtent,c=0;c<t.length;c++)l[t[c]]=[1/0,-1/0];for(var u=0;u<a;u++){for(var h=e.getRawIndex(u),d=0;d<o;d++)s[d]=r[t[d]][h];s[o]=u;var f=n&&n.apply(null,s);if(null!=f){"object"!=typeof f&&(i[0]=f,f=i);for(c=0;c<f.length;c++){var p=t[c],A=f[c],g=l[p],v=r[p];v&&(v[h]=A),A<g[0]&&(g[0]=A),A>g[1]&&(g[1]=A)}}}},e.prototype.lttbDownSample=function(e,t){var n,r,i,o=this.clone([e],!0),a=o._chunks[e],s=this.count(),l=0,c=Math.floor(1/t),u=this.getRawIndex(0),h=new(Df(this._rawCount))(Math.min(2*(Math.ceil(s/c)+2),s));h[l++]=u;for(var d=1;d<s-1;d+=c){for(var f=Math.min(d+c,s-1),p=Math.min(d+2*c,s),A=(p+f)/2,g=0,v=f;v<p;v++){var m=a[S=this.getRawIndex(v)];isNaN(m)||(g+=m)}g/=p-f;var y=d,b=Math.min(d+c,s),_=d-1,w=a[u];n=-1,i=y;var x=-1,C=0;for(v=y;v<b;v++){var S;m=a[S=this.getRawIndex(v)];isNaN(m)?(C++,x<0&&(x=S)):(r=Math.abs((_-A)*(m-w)-(_-v)*(g-w)))>n&&(n=r,i=S)}C>0&&C<b-y&&(h[l++]=Math.min(x,i),i=Math.max(x,i)),h[l++]=i,u=i}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},e.prototype.downSample=function(e,t,n,r){for(var i=this.clone([e],!0),o=i._chunks,a=[],s=Math.floor(1/t),l=o[e],c=this.count(),u=i._rawExtent[e]=[1/0,-1/0],h=new(Df(this._rawCount))(Math.ceil(c/s)),d=0,f=0;f<c;f+=s){s>c-f&&(s=c-f,a.length=s);for(var p=0;p<s;p++){var A=this.getRawIndex(f+p);a[p]=l[A]}var g=n(a),v=this.getRawIndex(Math.min(f+r(a,g)||0,c-1));l[v]=g,g<u[0]&&(u[0]=g),g>u[1]&&(u[1]=g),h[d++]=v}return i._count=d,i._indices=h,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(n){case 0:t(i);break;case 1:t(r[e[0]][a],i);break;case 2:t(r[e[0]][a],r[e[1]][a],i);break;default:for(var s=0,l=[];s<n;s++)l[s]=r[e[s]][a];l[s]=i,t.apply(null,l)}}},e.prototype.getDataExtent=function(e){var t=this._chunks[e],n=[1/0,-1/0];if(!t)return n;var r,i=this.count();if(!this._indices)return this._rawExtent[e].slice();if(r=this._extent[e])return r.slice();for(var o=(r=n)[0],a=r[1],s=0;s<i;s++){var l=t[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return r=[o,a],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i<r.length;i++)n.push(r[i][t]);return n},e.prototype.clone=function(t,n){var r,i,o=new e,a=this._chunks,s=t&&Object(g.reduce)(t,function(e,t){return e[t]=!0,e},{});if(s)for(var l=0;l<a.length;l++)o._chunks[l]=s[l]?(r=a[l],i=void 0,(i=r.constructor)===Array?r.slice():new i(r)):a[l];else o._chunks=a;return this._copyCommonProps(o),n||(o._indices=this._cloneIndices()),o._updateGetRawIdx(),o},e.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=Object(g.clone)(this._extent),e._rawExtent=Object(g.clone)(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array){var n=this._indices.length;t=new e(n);for(var r=0;r<n;r++)t[r]=this._indices[r]}else t=new e(this._indices);return t}return null},e.prototype._getRawIdxIdentity=function(e){return e},e.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return cf(e[r],this._dimensions[r])}Sf={arrayRows:e,objectRows:function(e,t,n,r){return cf(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return cf(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}(),Lf=function(){function e(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n=this._sourceHost,r=this._getUpstreamSourceManagers(),i=!!r.length;if(Ff(n)){var o=n,a=void 0,s=void 0,l=void 0;if(i){var c=r[0];c.prepareSource(),a=(l=c.getSource()).data,s=l.sourceFormat,t=[c._getVersionSign()]}else a=o.get("data",!0),s=Object(g.isTypedArray)(a)?Ih:Eh,t=[];var u=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},d=Object(g.retrieve2)(u.seriesLayoutBy,h.seriesLayoutBy)||null,f=Object(g.retrieve2)(u.sourceHeader,h.sourceHeader),p=Object(g.retrieve2)(u.dimensions,h.dimensions);e=d!==h.seriesLayoutBy||!!f!=!!h.sourceHeader||p?[Nd(a,{seriesLayoutBy:d,sourceHeader:f,dimensions:p},s)]:[]}else{var A=n;if(i){var v=this._applyTransform(r);e=v.sourceList,t=v.upstreamSignList}else{e=[Nd(A.get("source",!0),this._getSourceMetaRawOption(),null)],t=[]}}this._setLocalSource(e,t)},e.prototype._applyTransform=function(e){var t,n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(null!=i){var o="";1!==e.length&&Rf(o)}var a,s=[],l=[];return Object(g.each)(e,function(e){e.prepareSource();var t=e.getSource(i||0),n="";null==i||t||Rf(n),s.push(t),l.push(e._getVersionSign())}),r?t=function(e,t,n){var r=Qr(e),i=r.length,o="";i||Nr(o);for(var a=0,s=i;a<s;a++)t=xf(r[a],t),a!==s-1&&(t.length=Math.max(t.length,1));return t}(r,s,n.componentIndex):null!=i&&(t=[(a=s[0],new Fd({data:a.data,sourceFormat:a.sourceFormat,seriesLayoutBy:a.seriesLayoutBy,dimensionsDefine:Object(g.clone)(a.dimensionsDefine),startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount}))]),{sourceList:t,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var n=e[t];if(n._isDirty()||this._upstreamSignList[t]!==n._getVersionSign())return!0}},e.prototype.getSource=function(e){e=e||0;var t=this._sourceList[e];if(!t){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(e)}return t},e.prototype.getSharedDataStore=function(e){var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},e.prototype._innerGetDataStore=function(e,t,n){var r=this._storeList,i=r[0];i||(i=r[0]={});var o=i[n];if(!o){var a=this._getUpstreamSourceManagers()[0];Ff(this._sourceHost)&&a?o=a._innerGetDataStore(e,t,n):(o=new If).initData(new Yd(t,e.length),e),i[n]=o}return o},e.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(Ff(e)){var t=Uh(e);return t?[t.getSourceManager()]:[]}return Object(g.map)(function(e){return e.get("transform",!0)||e.get("fromTransformResult",!0)?ai(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},ii).models:[]}(e),function(e){return e.getSourceManager()})},e.prototype._getSourceMetaRawOption=function(){var e,t,n,r=this._sourceHost;if(Ff(r))e=r.get("seriesLayoutBy",!0),t=r.get("sourceHeader",!0),n=r.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=r;e=i.get("seriesLayoutBy",!0),t=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:t,dimensions:n}},e}();function Pf(e){e.option.transform&&Object(g.setAsPrimitive)(e.option.transform)}function Ff(e){return"series"===e.mainType}function Rf(e){throw new Error(e)}var Nf="line-height:1";function Hf(e,t){var n=e.color||"#6e7079",r=e.fontSize||12,i=e.fontWeight||"400",o=e.color||"#464646",a=e.fontSize||14,s=e.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+ee(r+"")+"px;color:"+ee(n)+";font-weight:"+ee(i+""),valueStyle:"font-size:"+ee(a+"")+"px;color:"+ee(o)+";font-weight:"+ee(s+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:i},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var jf=[0,10,20,30],Uf=["","\n","\n\n","\n\n\n"];function Qf(e,t){return t.type=e,t}function zf(e){return"section"===e.type}function Yf(e){return zf(e)?Vf:Gf}function Vf(e,t,n,r){var i,o=t.noHeader,a=(i=function e(t){if(zf(t)){var n=0,r=t.blocks.length,i=r>1||r>0&&!t.noHeader;return Object(g.each)(t.blocks,function(t){var r=e(t);r>=n&&(n=r+ +(i&&(!r||zf(t)&&!t.noHeader)))}),n}return 0}(t),{html:jf[i],richText:Uf[i]}),s=[],l=t.blocks||[];Object(g.assert)(!l||Object(g.isArray)(l)),l=l||[];var c=e.orderMode;if(t.sortBlocks&&c){l=l.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Object(g.hasOwn)(u,c)){var h=new pf(u[c],null);l.sort(function(e,t){return h.evaluate(e.sortParam,t.sortParam)})}else"seriesDesc"===c&&l.reverse()}Object(g.each)(l,function(n,i){var o=t.valueFormatter,l=Yf(n)(o?Object(g.extend)(Object(g.extend)({},e),{valueFormatter:o}):e,n,i>0?a.html:0,r);null!=l&&s.push(l)});var d="richText"===e.renderMode?s.join(a.richText):Xf(s.join(""),o?n:a.html);if(o)return d;var f=nh(t.header,"ordinal",e.useUTC),p=Hf(r,e.renderMode).nameStyle;return"richText"===e.renderMode?Zf(e,f,p)+a.richText+d:Xf('<div style="'+p+";"+Nf+';">'+ee(f)+"</div>"+d,n)}function Gf(e,t,n,r){var i=e.renderMode,o=t.noName,a=t.noValue,s=!t.markerType,l=t.name,c=e.useUTC,u=t.valueFormatter||e.valueFormatter||function(e){return e=Object(g.isArray)(e)?e:[e],Object(g.map)(e,function(e,t){return nh(e,Object(g.isArray)(f)?f[t]:f,c)})};if(!o||!a){var h=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),d=o?"":nh(l,"ordinal",c),f=t.valueType,p=a?[]:u(t.value),A=!s||!o,v=!s&&o,m=Hf(r,i),y=m.nameStyle,b=m.valueStyle;return"richText"===i?(s?"":h)+(o?"":Zf(e,d,y))+(a?"":function(e,t,n,r,i){var o=[i],a=r?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Object(g.isArray)(t)?t.join(" "):t,o)}(e,p,A,v,b)):Xf((s?"":h)+(o?"":function(e,t,n){return'<span style="'+n+";"+(t?"margin-left:2px":"")+'">'+ee(e)+"</span>"}(d,!s,y))+(a?"":function(e,t,n,r){var i=t?"float:right;margin-left:"+(n?"10px":"20px"):"";return e=Object(g.isArray)(e)?e:[e],'<span style="'+i+";"+r+'">'+Object(g.map)(e,function(e){return ee(e)}).join(" ")+"</span>"}(p,A,v,b)),n)}}function Wf(e,t,n,r,i,o){if(e)return Yf(e)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter},e,0,o)}function Xf(e,t){return'<div style="'+("margin: "+t+"px 0 0")+";"+Nf+';">'+e+'<div style="clear:both"></div></div>'}function Zf(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function $f(e,t){return ch(e.getData().getItemVisual(t,"style")[e.visualDrawType])}function Kf(e,t){var n=e.get("padding");return null!=n?n:"richText"===t?[8,10]:10}var Jf=function(){function e(){this.richTextStyles={},this._nextStyleNameId=Pr()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var r="richText"===n?this._generateStyleName():null,i=ah({color:t,type:e,renderMode:n,markerId:r});return Object(g.isString)(i)?i:(this.richTextStyles[r]=i.style,i.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};Object(g.isArray)(t)?Object(g.each)(t,function(e){return Object(g.extend)(n,e)}):Object(g.extend)(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}();function qf(e){var t,n,r,i,o=e.series,a=e.dataIndex,s=e.multipleSeries,l=o.getData(),c=l.mapDimensionsAll("defaultedTooltip"),u=c.length,h=o.getRawValue(a),d=Object(g.isArray)(h),f=$f(o,a);if(u>1||d&&!u){var p=function(e,t,n,r,i){var o=t.getData(),a=Object(g.reduce)(e,function(e,t,n){var r=o.getDimensionInfo(n);return e=e||r&&!1!==r.tooltip&&null!=r.displayName},!1),s=[],l=[],c=[];function u(e,t){var n=o.getDimensionInfo(t);n&&!1!==n.otherDims.tooltip&&(a?c.push(Qf("nameValue",{markerType:"subItem",markerColor:i,name:n.displayName,value:e,valueType:n.type})):(s.push(e),l.push(n.type)))}return r.length?Object(g.each)(r,function(e){u(tf(o,n,e),e)}):Object(g.each)(e,u),{inlineValues:s,inlineValueTypes:l,blocks:c}}(h,o,a,c,f);t=p.inlineValues,n=p.inlineValueTypes,r=p.blocks,i=p.inlineValues[0]}else if(u){var A=l.getDimensionInfo(c[0]);i=t=tf(l,a,c[0]),n=A.type}else i=t=d?h[0]:h;var v=Kr(o),m=v&&o.name||"",y=l.getName(a),b=s?m:y;return Qf("section",{header:m,noHeader:s||!v,sortParam:i,blocks:[Qf("nameValue",{markerType:"item",markerColor:f,name:b,noName:!Object(g.trim)(b),value:t,valueType:n})].concat(r||[])})}var ep=ei();function tp(e,t){return e.getName(t)||e.getId(t)}var np="__universalTransitionEnabled",rp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}var n;return p(t,e),t.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=af({count:op,reset:ap}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),(ep(this).sourceManager=new Lf(this)).prepareSource();var r=this.getInitialData(e,n);lp(r,this),this.dataTask.context.data=r,ep(this).dataBeforeProcessed=r,ip(this),this._initSelectedMapFromData(r)},t.prototype.mergeDefaultAndTheme=function(e,t){var n=mh(this),r=n?bh(e):{},i=this.subType;Ch.hasClass(i)&&(i+="Series"),g.merge(e,t.getTheme().get(this.subType)),g.merge(e,this.getDefaultOption()),zr(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&yh(e,r,n)},t.prototype.mergeOption=function(e,t){e=g.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=mh(this);n&&yh(this.option,e,n);var r=ep(this).sourceManager;r.dirty(),r.prepareSource();var i=this.getInitialData(e,t);lp(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,ep(this).dataBeforeProcessed=i,ip(this),this._initSelectedMapFromData(i)},t.prototype.fillDataTextStyle=function(e){if(e&&!g.isTypedArray(e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&zr(e[n],"label",t)},t.prototype.getInitialData=function(e,t){},t.prototype.appendData=function(e){this.getRawData().appendData(e.data)},t.prototype.getData=function(e){var t=up(this);if(t){var n=t.context.data;return null==e?n:n.getLinkedData(e)}return ep(this).data},t.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},t.prototype.setData=function(e){var t=up(this);if(t){var n=t.context;n.outputData=e,t!==this.dataTask&&(n.data=e)}ep(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return g.createHashMap(e)},t.prototype.getSourceManager=function(){return ep(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return ep(this).dataBeforeProcessed},t.prototype.getColorBy=function(){return this.get("colorBy")||"series"},t.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},t.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},t.prototype.formatTooltip=function(e,t,n){return qf({series:this,dataIndex:e,multipleSeries:t})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(A.a.node&&(!e||!e.ssr))return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),!!t},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel,i=$h.prototype.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},t.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(t);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<e.length;o++){var a=tp(i,e[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},t.prototype.toggleSelect=function(e,t){for(var n=[],r=0;r<e.length;r++)n[0]=e[r],this.isSelected(e[r],t)?this.unselect(n,t):this.select(n,t)},t.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,t=g.keys(e),n=[],r=0;r<t.length;r++){var i=e[t[r]];i>=0&&n.push(i)}return n},t.prototype.isSelected=function(e,t){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(t);return("all"===n||n[tp(r,e)])&&!r.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[np])return!0;var e=this.option.universalTransition;return!!e&&(!0===e||e&&e.enabled)},t.prototype._innerSelect=function(e,t){var n,r,i=this.option,o=i.selectedMode,a=t.length;if(o&&a)if("series"===o)i.selectedMap="all";else if("multiple"===o){g.isObject(i.selectedMap)||(i.selectedMap={});for(var s=i.selectedMap,l=0;l<a;l++){var c=t[l];s[h=tp(e,c)]=!0,this._selectedDataIndicesMap[h]=e.getRawIndex(c)}}else if("single"===o||!0===o){var u=t[a-1],h=tp(e,u);i.selectedMap=((n={})[h]=!0,n),this._selectedDataIndicesMap=((r={})[h]=e.getRawIndex(u),r)}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var t=[];e.hasItemOption&&e.each(function(n){var r=e.getRawDataItem(n);r&&r.selected&&t.push(n)}),t.length>0&&this._innerSelect(e,t)}},t.registerClass=function(e){return Ch.registerClass(e)},t.protoInitialize=((n=t.prototype).type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",void(n.visualDrawType="fill")),t}(Ch);function ip(e){var t=e.name;Kr(e)||(e.name=function(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return g.each(n,function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)}),r.join(" ")}(e)||t)}function op(e){return e.model.getRawData().count()}function ap(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),sp}function sp(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function lp(e,t){g.each(g.concatArray(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,g.curry(cp,t))})}function cp(e,t){var n=up(e);return n&&n.setOutputEnd((t||this).count()),t}function up(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}g.mixin(rp,rf),g.mixin(rp,$h),Ai(rp,Ch);var hp=rp,dp=function(){function e(){this.group=new tr,this.uid=pu("viewComponent")}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){},e.prototype.updateLayout=function(e,t,n,r){},e.prototype.updateVisual=function(e,t,n,r){},e.prototype.toggleBlurSeries=function(e,t,n){},e.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},e}();pi(dp),yi(dp);var fp=dp;function pp(){var e=ei();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===a&&o===s)&&"reset"}}var Ap=ei(),gp=pp(),vp=function(){function e(){this.group=new tr,this.uid=pu("viewChart"),this.renderTask=af({plan:bp,reset:_p}),this.renderTask.context={view:this}}return e.prototype.init=function(e,t){},e.prototype.render=function(e,t,n,r){0},e.prototype.highlight=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&yp(i,r,"emphasis")},e.prototype.downplay=function(e,t,n,r){var i=e.getData(r&&r.dataType);i&&yp(i,r,"normal")},e.prototype.remove=function(e,t){this.group.removeAll()},e.prototype.dispose=function(e,t){},e.prototype.updateView=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateLayout=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},e.prototype.eachRendered=function(e){Rc(this.group,e)},e.markUpdateMethod=function(e,t){Ap(e).updateMethod=t},e.protoInitialize=void(e.prototype.type="chart"),e}();function mp(e,t,n){e&&Ts(e)&&("emphasis"===t?cs:us)(e,n)}function yp(e,t,n){var r=qr(e,t),i=t&&null!=t.highlightKey?function(e){var t=Da[e];return null==t&&Ma<=32&&(t=Da[e]=Ma++),t}(t.highlightKey):null;null!=r?Object(g.each)(Qr(r),function(t){mp(e.getItemGraphicEl(t),n,i)}):e.eachItemGraphicEl(function(e){mp(e,n,i)})}function bp(e){return gp(e.model)}function _p(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&Ap(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,n,r,i),wp[l]}pi(vp),yi(vp);var wp={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},xp=vp,Cp="\0__throttleOriginMethod",Sp="\0__throttleRate",Bp="\0__throttleType";function kp(e,t,n){var r,i,o,a,s,l=0,c=0,u=null;function h(){c=(new Date).getTime(),u=null,e.apply(o,a||[])}t=t||0;var d=function(){for(var e=[],d=0;d<arguments.length;d++)e[d]=arguments[d];r=(new Date).getTime(),o=this,a=e;var f=s||t,p=s||n;s=null,i=r-(p?l:c)-f,clearTimeout(u),p?u=setTimeout(h,f):i>=0?h():u=setTimeout(h,-i),l=r};return d.clear=function(){u&&(clearTimeout(u),u=null)},d.debounceNextCall=function(e){s=e},d}function Tp(e,t,n,r){var i=e[t];if(i){var o=i[Cp]||i,a=i[Bp];if(i[Sp]!==n||a!==r){if(null==n||!r)return e[t]=o;(i=e[t]=kp(o,n,"debounce"===r))[Cp]=o,i[Bp]=r,i[Sp]=n}return i}}function Ep(e,t){var n=e[t];n&&n[Cp]&&(n.clear&&n.clear(),e[t]=n[Cp])}var Mp=ei(),Dp={itemStyle:bi(lu,!0),lineStyle:bi(ou,!0)},Op={lineStyle:"stroke",itemStyle:"fill"};function Ip(e,t){var n=e.visualStyleMapper||Dp[t];return n||(console.warn("Unknown style type '"+t+"'."),Dp.itemStyle)}function Lp(e,t){var n=e.visualDrawType||Op[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var Pp={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),o=Ip(e,r)(i),a=i.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=Lp(e,r),l=o[s],c=Object(g.isFunction)(l)?l:null,u="auto"===o.fill||"auto"===o.stroke;if(!o[s]||c||u){var h=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[s]||(o[s]=h,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||Object(g.isFunction)(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||Object(g.isFunction)(o.stroke)?h:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var r=e.getDataParams(n),i=Object(g.extend)({},o);i[s]=c(r),t.setItemVisual(n,"style",i)}}}},Fp=new du,Rp={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e)){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=Ip(e,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(e,t){var n=e.getRawDataItem(t);if(n&&n[r]){Fp.option=n[r];var a=i(Fp),s=e.ensureUniqueItemVisual(t,"style");Object(g.extend)(s,a),Fp.option.decal&&(e.setItemVisual(t,"decal",Fp.option.decal),Fp.option.decal.dirty=!0),o in a&&e.setItemVisual(t,"colorFromPalette",!1)}}:null}}}},Np={performRawSeries:!0,overallReset:function(e){var t=Object(g.createHashMap)();e.eachSeries(function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var r=e.type+"-"+n,i=t.get(r);i||(i={},t.set(r,i)),Mp(e).scope=i}}),e.eachSeries(function(t){if(!t.isColorBySeries()&&!e.isSeriesFiltered(t)){var n=t.getRawData(),r={},i=t.getData(),o=Mp(t).scope,a=t.visualStyleAccessPath||"itemStyle",s=Lp(t,a);i.each(function(e){var t=i.getRawIndex(e);r[t]=e}),n.each(function(e){var a=r[e];if(i.getItemVisual(a,"colorFromPalette")){var l=i.ensureUniqueItemVisual(a,"style"),c=n.getName(e)||e+"",u=n.count();l[s]=t.getColorFromPalette(c,o,u)}})}})}},Hp=Math.PI;var jp=function(){function e(e,t,n,r){this._stageTaskMap=Object(g.createHashMap)(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return e.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each(function(e){var t=e.overallTask;t&&t.dirty()})},e.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex?n.step:null,o=r&&r.modDataCount;return{step:i,modBy:null!=o?Math.ceil(o/i):null,modDataCount:o}}},e.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},e.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData().count(),i=n.progressiveEnabled&&t.incrementalPrepareRender&&r>=n.threshold,o=e.get("large")&&r>=e.get("largeThreshold"),a="mod"===e.get("progressiveChunkMode")?r:null;e.pipelineContext=n.context={progressiveRender:i,modDataCount:a,large:o}},e.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=Object(g.createHashMap)();e.eachSeries(function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),t._pipe(e,e.dataTask)})},e.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;Object(g.each)(this._allHandlers,function(r){var i=e.get(r.uid)||e.set(r.uid,{}),o="";Object(g.assert)(!(r.reset&&r.overallReset),o),r.reset&&this._createSeriesStageTask(r,i,t,n),r.overallReset&&this._createOverallStageTask(r,i,t,n)},this)},e.prototype.prepareView=function(e,t,n,r){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=n,o.api=r,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},e.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},e.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},e.prototype._performStageTasks=function(e,t,n,r){r=r||{};var i=!1,o=this;function a(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}Object(g.each)(e,function(e,s){if(!r.visualType||r.visualType===e.visualType){var l=o._stageTaskMap.get(e.uid),c=l.seriesTaskMap,u=l.overallTask;if(u){var h,d=u.agentStubMap;d.each(function(e){a(r,e)&&(e.dirty(),h=!0)}),h&&u.dirty(),o.updatePayload(u,n);var f=o.getPerformArgs(u,r.block);d.each(function(e){e.perform(f)}),u.perform(f)&&(i=!0)}else c&&c.each(function(s,l){a(r,s)&&s.dirty();var c=o.getPerformArgs(s,r.block);c.skip=!e.performRawSeries&&t.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(c)&&(i=!0)})}}),this.unfinished=i||this.unfinished},e.prototype.performSeriesTasks=function(e){var t;e.eachSeries(function(e){t=e.dataTask.perform()||t}),this.unfinished=t||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)})},e.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},e.prototype._createSeriesStageTask=function(e,t,n,r){var i=this,o=t.seriesTaskMap,a=t.seriesTaskMap=Object(g.createHashMap)(),s=e.seriesType,l=e.getTargetSeries;function c(t){var s=t.uid,l=a.set(s,o&&o.get(s)||af({plan:Vp,reset:Gp,count:Zp}));l.context={model:t,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(t,l)}e.createOnAllSeries?n.eachRawSeries(c):s?n.eachRawSeriesByType(s,c):l&&l(n,r).each(c)},e.prototype._createOverallStageTask=function(e,t,n,r){var i=this,o=t.overallTask=t.overallTask||af({reset:Up});o.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=Object(g.createHashMap)(),l=e.seriesType,c=e.getTargetSeries,u=!0,h=!1,d="";function f(e){var t=e.uid,n=s.set(t,a&&a.get(t)||(h=!0,af({reset:Qp,onDirty:Yp})));n.context={model:e,overallProgress:u},n.agent=o,n.__block=u,i._pipe(e,n)}Object(g.assert)(!e.createOnAllSeries,d),l?n.eachRawSeriesByType(l,f):c?c(n,r).each(f):(u=!1,Object(g.each)(n.getSeries(),f)),h&&o.dirty()},e.prototype._pipe=function(e,t){var n=e.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=t),r.tail&&r.tail.pipe(t),r.tail=t,t.__idxInPipeline=r.count++,t.__pipeline=r},e.wrapStageHandler=function(e,t){return Object(g.isFunction)(e)&&(e={overallReset:e,seriesType:function(e){$p=null;try{e(Kp,Jp)}catch(e){}return $p}(e)}),e.uid=pu("stageHandler"),t&&(e.visualType=t),e},e}();function Up(e){e.overallReset(e.ecModel,e.api,e.payload)}function Qp(e){return e.overallProgress&&zp}function zp(){this.agent.dirty(),this.getDownstream().dirty()}function Yp(){this.agent&&this.agent.dirty()}function Vp(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function Gp(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Qr(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Object(g.map)(t,function(e,t){return Xp(t)}):Wp}var Wp=Xp(0);function Xp(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(t,r)}}function Zp(e){return e.data.count()}var $p,Kp={},Jp={};function qp(e,t){for(var n in t.prototype)e[n]=g.noop}qp(Kp,rd),qp(Jp,od),Kp.eachSeriesByType=Kp.eachRawSeriesByType=function(e){$p=e},Kp.eachComponent=function(e){"series"===e.mainType&&e.subType&&($p=e.subType)};var eA=jp,tA=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],nA={color:tA,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],tA]},rA=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],iA={darkMode:!0,color:rA,backgroundColor:"#100C2A",axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:"#B9B8CE"}},textStyle:{color:"#B9B8CE"},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:"#B9B8CE"}},dataZoom:{borderColor:"#71708A",textStyle:{color:"#B9B8CE"},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:"#B9B8CE"}},timeline:{lineStyle:{color:"#B9B8CE"},label:{color:"#B9B8CE"},controlStyle:{color:"#B9B8CE",borderColor:"#B9B8CE"}},calendar:{itemStyle:{color:"#100C2A"},dayLabel:{color:"#B9B8CE"},monthLabel:{color:"#B9B8CE"},yearLabel:{color:"#B9B8CE"}},timeAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},logAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},valueAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},categoryAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},line:{symbol:"circle"},graph:{color:rA},gauge:{title:{color:"#B9B8CE"},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:"#B9B8CE"},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};iA.categoryAxis.splitLine.show=!1;var oA=iA,aA=function(){function e(){}return e.prototype.normalizeQuery=function(e){var t={},n={},r={};if(g.isString(e)){var i=fi(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};g.each(e,function(e,i){for(var s=!1,l=0;l<o.length;l++){var c=o[l],u=i.lastIndexOf(c);if(u>0&&u===i.length-c.length){var h=i.slice(0,u);"data"!==h&&(t.mainType=h,t[c.toLowerCase()]=e,s=!0)}}a.hasOwnProperty(i)&&(n[i]=e,s=!0),s||(r[i]=e)})}return{cptQuery:t,dataQuery:n,otherQuery:r}},e.prototype.filter=function(e,t){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=t.cptQuery,l=t.dataQuery;return c(s,o,"mainType")&&c(s,o,"subType")&&c(s,o,"index","componentIndex")&&c(s,o,"name")&&c(s,o,"id")&&c(l,i,"name")&&c(l,i,"dataIndex")&&c(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(e,t.otherQuery,r,i));function c(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),sA=["symbol","symbolSize","symbolRotate","symbolOffset"],lA=sA.concat(["symbolKeepAspect"]),cA={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var r={},i={},o=!1,a=0;a<sA.length;a++){var s=sA[a],l=e.get(s);Object(g.isFunction)(l)?(o=!0,i[s]=l):r[s]=l}if(r.symbol=r.symbol||e.defaultSymbol,n.setVisual(Object(g.extend)({legendIcon:e.legendIcon||r.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},r)),!t.isSeriesFiltered(e)){var c=Object(g.keys)(i);return{dataEach:o?function(t,n){for(var r=e.getRawValue(n),o=e.getDataParams(n),a=0;a<c.length;a++){var s=c[a];t.setItemVisual(n,s,i[s](r,o))}}:null}}}}},uA={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(e.hasSymbolVisual&&!t.isSeriesFiltered(e))return{dataEach:e.getData().hasItemOption?function(e,t){for(var n=e.getItemModel(t),r=0;r<lA.length;r++){var i=lA[r],o=n.getShallow(i,!0);null!=o&&e.setItemVisual(t,i,o)}}:null}}};function hA(e,t,n){switch(n){case"color":return e.getItemVisual(t,"style")[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n);default:0}}function dA(e,t){switch(t){case"color":return e.getVisual("style")[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t);default:0}}function fA(e,t,n,r){switch(n){case"color":e.ensureUniqueItemVisual(t,"style")[e.getVisual("drawType")]=r,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,n,r);break;default:0}}function pA(e,t){Object(g.each)([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],function(n){t(n[0],function(t,r,i){t=Object(g.extend)({},t),i.dispatchAction(Object(g.extend)(t,{type:n[1],seriesIndex:function(t,n){var r=[];return t.eachComponent({mainType:"series",subType:e,query:n},function(e){r.push(e.seriesIndex)}),r}(r,t)}))})})}function AA(e,t,n,r,i){var o=e+t;n.isSilent(o)||r.eachComponent({mainType:"series",subType:"pie"},function(e){for(var t=e.seriesIndex,r=e.option.selectedMap,a=i.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===t){var l=e.getData(),c=qr(l,i.fromActionPayload);n.trigger(o,{type:o,seriesId:e.id,name:Object(g.isArray)(c)?l.getName(c[0]):l.getName(c),selected:Object(g.isString)(r)?r:Object(g.extend)({},r)})}})}function gA(e,t,n){for(var r;e&&(!t(e)||(r=e,!n));)e=e.__hostTarget||e.parent;return r}var vA=Math.round(9*Math.random()),mA="function"==typeof Object.defineProperty,yA=function(){function e(){this._id="__ec_inner_"+vA++}return e.prototype.get=function(e){return this._guard(e)[this._id]},e.prototype.set=function(e,t){var n=this._guard(e);return mA?Object.defineProperty(n,this._id,{value:t,enumerable:!1,configurable:!0}):n[this._id]=t,this},e.prototype.delete=function(e){return!!this.has(e)&&(delete this._guard(e)[this._id],!0)},e.prototype.has=function(e){return!!this._guard(e)[this._id]},e.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},e}(),bA=$o.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r+o),e.lineTo(n-i,r+o),e.closePath()}}),_A=$o.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r),e.lineTo(n,r+o),e.lineTo(n-i,r),e.closePath()}}),wA=$o.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,i=t.width/5*3,o=Math.max(i,t.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,c=Math.asin(s/a),u=Math.cos(c)*a,h=Math.sin(c),d=Math.cos(c),f=.6*a,p=.7*a;e.moveTo(n-u,l+s),e.arc(n,l,a,Math.PI-c,2*Math.PI+c),e.bezierCurveTo(n+u-h*f,l+s+d*f,n,r-p,n,r),e.bezierCurveTo(n,r-p,n-u+h*f,l+s+d*f,n-u,l+s),e.closePath()}}),xA=$o.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,i=t.x,o=t.y,a=r/3*2;e.moveTo(i,o),e.lineTo(i+a,o+n),e.lineTo(i,o+n/4*3),e.lineTo(i-a,o+n),e.lineTo(i,o),e.closePath()}}),CA={line:Ol,rect:ha,roundRect:ha,square:ha,circle:qs,diamond:_A,pin:wA,arrow:xA,triangle:bA},SA={line:function(e,t,n,r,i){i.x1=e,i.y1=t+r/2,i.x2=e+n,i.y2=t+r/2},rect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r},roundRect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(e,t,n,r,i){var o=Math.min(n,r);i.x=e,i.y=t,i.width=o,i.height=o},circle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.r=Math.min(n,r)/2},diamond:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r},pin:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},arrow:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},triangle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r}},BA={};Object(g.each)(CA,function(e,t){BA[t]=new e});var kA=$o.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=Yn(e,t,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===t.position&&(r.y=n.y+.4*n.height),r},buildPath:function(e,t,n){var r=t.symbolType;if("none"!==r){var i=BA[r];i||(i=BA[r="rect"]),SA[r](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,n)}}});function TA(e,t){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=e:n.fill=e,this.markRedraw()}}function EA(e,t,n,r,i,o,a){var s,l=0===e.indexOf("empty");return l&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),(s=0===e.indexOf("image://")?vc(e.slice(8),new Oe(t,n,r,i),a?"center":"cover"):0===e.indexOf("path://")?gc(e.slice(7),{},new Oe(t,n,r,i),a?"center":"cover"):new kA({shape:{symbolType:e,x:t,y:n,width:r,height:i}})).__isEmptyBrush=l,s.setColor=TA,o&&s.setColor(o),s}function MA(e){return Object(g.isArray)(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function DA(e,t){if(null!=e)return Object(g.isArray)(e)||(e=[e,e]),[pr(e[0],t[0])||0,pr(Object(g.retrieve2)(e[1],e[0]),t[1])||0]}function OA(e){return isFinite(e)}function IA(e,t,n){for(var r="radial"===t.type?function(e,t,n){var r=n.width,i=n.height,o=Math.min(r,i),a=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;return t.global||(a=a*r+n.x,s=s*i+n.y,l*=o),a=OA(a)?a:.5,s=OA(s)?s:.5,l=l>=0&&OA(l)?l:.5,e.createRadialGradient(a,s,0,a,s,l)}(e,t,n):function(e,t,n){var r=null==t.x?0:t.x,i=null==t.x2?1:t.x2,o=null==t.y?0:t.y,a=null==t.y2?0:t.y2;return t.global||(r=r*n.width+n.x,i=i*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),r=OA(r)?r:0,i=OA(i)?i:1,o=OA(o)?o:0,a=OA(a)?a:0,e.createLinearGradient(r,o,i,a)}(e,t,n),i=t.colorStops,o=0;o<i.length;o++)r.addColorStop(i[o].offset,i[o].color);return r}function LA(e){return parseInt(e,10)}function PA(e,t,n){var r=["width","height"][t],i=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=n[r]&&"auto"!==n[r])return parseFloat(n[r]);var s=document.defaultView.getComputedStyle(e);return(e[i]||LA(s[r])||LA(e.style[r]))-(LA(s[o])||0)-(LA(s[a])||0)|0}function FA(e){var t,n,r=e.style,i=r.lineDash&&r.lineWidth>0&&(t=r.lineDash,n=r.lineWidth,t&&"solid"!==t&&n>0?"dashed"===t?[4*n,2*n]:"dotted"===t?[n]:Object(g.isNumber)(t)?[t]:Object(g.isArray)(t)?t:null:null),o=r.lineDashOffset;if(i){var a=r.strokeNoScale&&e.getLineScale?e.getLineScale():1;a&&1!==a&&(i=Object(g.map)(i,function(e){return e/a}),o/=a)}return[i,o]}var RA=new Eo(!0);function NA(e){var t=e.stroke;return!(null==t||"none"===t||!(e.lineWidth>0))}function HA(e){return"string"==typeof e&&"none"!==e}function jA(e){var t=e.fill;return null!=t&&"none"!==t}function UA(e,t){if(null!=t.fillOpacity&&1!==t.fillOpacity){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function QA(e,t){if(null!=t.strokeOpacity&&1!==t.strokeOpacity){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function zA(e,t,n){var r=Si(t.image,t.__image,n);if(ki(r)){var i=e.createPattern(r,t.repeat||"repeat");if("function"==typeof DOMMatrix&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*g.RADIAN_TO_DEGREE),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}var YA=["shadowBlur","shadowOffsetX","shadowOffsetY"],VA=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function GA(e,t,n,r,i){var o=!1;if(!r&&t===(n=n||{}))return!1;if(r||t.opacity!==n.opacity){qA(e,i),o=!0;var a=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(a)?Ui.opacity:a}(r||t.blend!==n.blend)&&(o||(qA(e,i),o=!0),e.globalCompositeOperation=t.blend||Ui.blend);for(var s=0;s<YA.length;s++){var l=YA[s];(r||t[l]!==n[l])&&(o||(qA(e,i),o=!0),e[l]=e.dpr*(t[l]||0))}return(r||t.shadowColor!==n.shadowColor)&&(o||(qA(e,i),o=!0),e.shadowColor=t.shadowColor||Ui.shadowColor),o}function WA(e,t,n,r,i){var o=eg(t,i.inHover),a=r?null:n&&eg(n,i.inHover)||{};if(o===a)return!1;var s=GA(e,o,a,r,i);if((r||o.fill!==a.fill)&&(s||(qA(e,i),s=!0),HA(o.fill)&&(e.fillStyle=o.fill)),(r||o.stroke!==a.stroke)&&(s||(qA(e,i),s=!0),HA(o.stroke)&&(e.strokeStyle=o.stroke)),(r||o.opacity!==a.opacity)&&(s||(qA(e,i),s=!0),e.globalAlpha=null==o.opacity?1:o.opacity),t.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==l&&(s||(qA(e,i),s=!0),e.lineWidth=l)}for(var c=0;c<VA.length;c++){var u=VA[c],h=u[0];(r||o[h]!==a[h])&&(s||(qA(e,i),s=!0),e[h]=o[h]||u[1])}return s}function XA(e,t){var n=t.transform,r=e.dpr||1;n?e.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):e.setTransform(r,0,0,r,0,0)}var ZA=1,$A=2,KA=3,JA=4;function qA(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function eg(e,t){return t&&e.__hoverStyle||e.style}function tg(e,t){ng(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function ng(e,t,n,r){var i=t.transform;if(!t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return t.__dirty&=~Je,void(t.__isRendered=!1);var o=t.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if(a&&!function(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}(o,a)||(a&&a.length&&(qA(e,n),e.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(qA(e,n),e.save(),function(e,t,n){for(var r=!1,i=0;i<e.length;i++){var o=e[i];r=r||o.isZeroArea(),XA(t,o),t.beginPath(),o.buildPath(t,o.shape),t.clip()}n.allClipped=r}(o,e,n),s=!0),n.prevElClipPaths=o),n.allClipped)t.__isRendered=!1;else{t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var c=n.prevEl;c||(l=s=!0);var u,h,d=t instanceof $o&&t.autoBatch&&function(e){var t=jA(e),n=NA(e);return!(e.lineDash||!(+t^+n)||t&&"string"!=typeof e.fill||n&&"string"!=typeof e.stroke||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}(t.style);s||(u=i,h=c.transform,u&&h?u[0]!==h[0]||u[1]!==h[1]||u[2]!==h[2]||u[3]!==h[3]||u[4]!==h[4]||u[5]!==h[5]:u||h)?(qA(e,n),XA(e,t)):d||qA(e,n);var f=eg(t,n.inHover);t instanceof $o?(n.lastDrawType!==ZA&&(l=!0,n.lastDrawType=ZA),WA(e,t,c,l,n),d&&(n.batchFill||n.batchStroke)||e.beginPath(),function(e,t,n,r){var i,o=NA(n),a=jA(n),s=n.strokePercent,l=s<1,c=!t.path;t.silent&&!l||!c||t.createPathProxy();var u=t.path||RA,h=t.__dirty;if(!r){var d=n.fill,f=n.stroke,p=a&&!!d.colorStops,A=o&&!!f.colorStops,g=a&&!!d.image,v=o&&!!f.image,m=void 0,y=void 0,b=void 0,_=void 0,w=void 0;(p||A)&&(w=t.getBoundingRect()),p&&(m=h?IA(e,d,w):t.__canvasFillGradient,t.__canvasFillGradient=m),A&&(y=h?IA(e,f,w):t.__canvasStrokeGradient,t.__canvasStrokeGradient=y),g&&(b=h||!t.__canvasFillPattern?zA(e,d,t):t.__canvasFillPattern,t.__canvasFillPattern=b),v&&(_=h||!t.__canvasStrokePattern?zA(e,f,t):t.__canvasStrokePattern,t.__canvasStrokePattern=b),p?e.fillStyle=m:g&&(b?e.fillStyle=b:a=!1),A?e.strokeStyle=y:v&&(_?e.strokeStyle=_:o=!1)}var x,C,S=t.getGlobalScale();u.setScale(S[0],S[1],t.segmentIgnoreThreshold),e.setLineDash&&n.lineDash&&(x=(i=FA(t))[0],C=i[1]);var B=!0;(c||h&qe)&&(u.setDPR(e.dpr),l?u.setContext(null):(u.setContext(e),B=!1),u.reset(),t.buildPath(u,t.shape,r),u.toStatic(),t.pathUpdated()),B&&u.rebuildPath(e,l?s:1),x&&(e.setLineDash(x),e.lineDashOffset=C),r||(n.strokeFirst?(o&&QA(e,n),a&&UA(e,n)):(a&&UA(e,n),o&&QA(e,n))),x&&e.setLineDash([])}(e,t,f,d),d&&(n.batchFill=f.fill||"",n.batchStroke=f.stroke||"")):t instanceof qo?(n.lastDrawType!==KA&&(l=!0,n.lastDrawType=KA),WA(e,t,c,l,n),function(e,t,n){var r,i=n.text;if(null!=i&&(i+=""),i){e.font=n.font||Pn.a,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var o=void 0,a=void 0;e.setLineDash&&n.lineDash&&(o=(r=FA(t))[0],a=r[1]),o&&(e.setLineDash(o),e.lineDashOffset=a),n.strokeFirst?(NA(n)&&e.strokeText(i,n.x,n.y),jA(n)&&e.fillText(i,n.x,n.y)):(jA(n)&&e.fillText(i,n.x,n.y),NA(n)&&e.strokeText(i,n.x,n.y)),o&&e.setLineDash([])}}(e,t,f)):t instanceof ra?(n.lastDrawType!==$A&&(l=!0,n.lastDrawType=$A),function(e,t,n,r,i){GA(e,eg(t,i.inHover),n&&eg(n,i.inHover),r,i)}(e,t,c,l,n),function(e,t,n){var r=t.__image=Si(n.image,t.__image,t,t.onload);if(r&&ki(r)){var i=n.x||0,o=n.y||0,a=t.getWidth(),s=t.getHeight(),l=r.width/r.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=r.width,s=r.height),n.sWidth&&n.sHeight){var c=n.sx||0,u=n.sy||0;e.drawImage(r,c,u,n.sWidth,n.sHeight,i,o,a,s)}else if(n.sx&&n.sy){var h=a-(c=n.sx),d=s-(u=n.sy);e.drawImage(r,c,u,h,d,i,o,a,s)}else e.drawImage(r,i,o,a,s)}}(e,t,f)):t.getTemporalDisplayables&&(n.lastDrawType!==JA&&(l=!0,n.lastDrawType=JA),function(e,t,n){var r=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=t.getCursor(),a=r.length;o<a;o++){var l=r[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),ng(e,l,s,o===a-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var c=0,u=i.length;c<u;c++){var l=i[c];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),ng(e,l,s,c===u-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}(e,t,n)),d&&r&&qA(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}}var rg=new yA,ig=new Ln.a(100),og=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function ag(e,t){if("none"===e)return null;var n=t.getDevicePixelRatio(),r=t.getZr(),i="svg"===r.painter.type;e.dirty&&rg.delete(e);var o=rg.get(e);if(o)return o;var a=Object(g.defaults)(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return function(e){for(var t,o=[n],s=!0,l=0;l<og.length;++l){var c=a[og[l]];if(null!=c&&!Object(g.isArray)(c)&&!Object(g.isString)(c)&&!Object(g.isNumber)(c)&&"boolean"!=typeof c){s=!1;break}o.push(c)}if(s){t=o.join(",")+(i?"-svg":"");var u=ig.get(t);u&&(i?e.svgElement=u:e.image=u)}var h,d=function e(t){if(!t||0===t.length)return[[0,0]];if(Object(g.isNumber)(t)){var n=Math.ceil(t);return[[n,n]]}var r=!0;for(var i=0;i<t.length;++i)if(!Object(g.isNumber)(t[i])){r=!1;break}if(r)return e([t]);var o=[];for(var i=0;i<t.length;++i)if(Object(g.isNumber)(t[i])){var n=Math.ceil(t[i]);o.push([n,n])}else{var n=Object(g.map)(t[i],function(e){return Math.ceil(e)});n.length%2==1?o.push(n.concat(n)):o.push(n)}return o}(a.dashArrayX),f=function(e){if(!e||"object"==typeof e&&0===e.length)return[0,0];if(Object(g.isNumber)(e)){var t=Math.ceil(e);return[t,t]}var n=Object(g.map)(e,function(e){return Math.ceil(e)});return e.length%2?n.concat(n):n}(a.dashArrayY),p=function e(t){if(!t||0===t.length)return[["rect"]];if(Object(g.isString)(t))return[[t]];var n=!0;for(var r=0;r<t.length;++r)if(!Object(g.isString)(t[r])){n=!1;break}if(n)return e([t]);var i=[];for(var r=0;r<t.length;++r)Object(g.isString)(t[r])?i.push([t[r]]):i.push(t[r]);return i}(a.symbol),A=(_=d,Object(g.map)(_,function(e){return sg(e)})),v=sg(f),m=!i&&Pn.d.createCanvas(),y=i&&{tag:"g",attrs:{},key:"dcl",children:[]},b=function(){for(var e=1,t=0,n=A.length;t<n;++t)e=Fr(e,A[t]);for(var r=1,t=0,n=p.length;t<n;++t)r=Fr(r,p[t].length);e*=r;var i=v*A.length*p.length;return{width:Math.max(1,Math.min(e,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}();var _;m&&(m.width=b.width*n,m.height=b.height*n,h=m.getContext("2d"));(function(){h&&(h.clearRect(0,0,m.width,m.height),a.backgroundColor&&(h.fillStyle=a.backgroundColor,h.fillRect(0,0,m.width,m.height)));for(var e=0,t=0;t<f.length;++t)e+=f[t];if(!(e<=0))for(var o=-v,s=0,l=0,c=0;o<b.height;){if(s%2==0){for(var u=l/2%p.length,A=0,g=0,_=0;A<2*b.width;){for(var w=0,t=0;t<d[c].length;++t)w+=d[c][t];if(w<=0)break;if(g%2==0){var x=.5*(1-a.symbolSize),C=A+d[c][g]*x,S=o+f[s]*x,B=d[c][g]*a.symbolSize,k=f[s]*a.symbolSize,T=_/2%p[u].length;E(C,S,B,k,p[u][T])}A+=d[c][g],++_,++g===d[c].length&&(g=0)}++c===d.length&&(c=0)}o+=f[s],++l,++s===f.length&&(s=0)}function E(e,t,o,s,l){var c=i?1:n,u=EA(l,e*c,t*c,o*c,s*c,a.color,a.symbolKeepAspect);if(i){var d=r.painter.renderOneToVNode(u);d&&y.children.push(d)}else tg(h,u)}})(),s&&ig.put(t,m||y);e.image=m,e.svgElement=y,e.svgWidth=b.width,e.svgHeight=b.height}(s),s.rotation=a.rotation,s.scaleX=s.scaleY=i?1:1/n,rg.set(e,s),e.dirty=!1,s}function sg(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2==1?2*t:t}var lg=new Y,cg={};function ug(e){return cg[e]}var hg={zrender:"5.4.3"},dg=2e3,fg=1e3,pg=3e3,Ag={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:fg,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:pg,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},gg=/^[a-zA-Z0-9_]+$/,vg="__connectUpdateStatus";function mg(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!this.isDisposed())return bg(this,e,t);Yg(this.id)}}function yg(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return bg(this,e,t)}}function bg(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),Y.prototype[t].apply(e,n)}var _g,wg,xg,Cg,Sg,Bg,kg,Tg,Eg,Mg,Dg,Og,Ig,Lg,Pg,Fg,Rg,Ng,Hg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t}(Y),jg=Hg.prototype;jg.on=yg("on"),jg.off=yg("off");var Ug=function(e){function t(t,n,r){var i=e.call(this,new aA)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],r=r||{},Object(g.isString)(n)&&(n=$g[n]),i._dom=t;var o="canvas",a="auto",s=!1,l=i._zr=or(t,{renderer:r.renderer||o,devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:Object(g.retrieve2)(r.useDirtyRect,s),useCoarsePointer:Object(g.retrieve2)(r.useCoarsePointer,a),pointerSize:r.pointerSize});i._ssr=r.ssr,i._throttledZrFlush=kp(Object(g.bind)(l.flush,l),17),(n=Object(g.clone)(n))&&Ed(n,!0),i._theme=n,i._locale=function(e){if(Object(g.isString)(e)){var t=yu[e.toUpperCase()]||{};return e===gu||e===vu?Object(g.clone)(t):Object(g.merge)(Object(g.clone)(t),Object(g.clone)(yu[mu]),!1)}return Object(g.merge)(Object(g.clone)(e),Object(g.clone)(yu[mu]),!1)}(r.locale||_u),i._coordSysMgr=new sd;var c=i._api=Pg(i);function u(e,t){return e.__prio-t.__prio}return Ke(Zg,u),Ke(Wg,u),i._scheduler=new eA(i,c,Wg,Zg),i._messageCenter=new Hg,i._initEvents(),i.resize=Object(g.bind)(i.resize,i),l.animation.on("frame",i._onframe,i),Mg(l,i),Dg(l,i),Object(g.setAsPrimitive)(i),i}return p(t,e),t.prototype._onframe=function(){if(!this._disposed){Ng(this);var e=this._scheduler;if(this.__pendingUpdate){var t=this.__pendingUpdate.silent;this.__flagInMainProcess=!0;try{_g(this),Cg.update.call(this,null,this.__pendingUpdate.updateParams)}catch(e){throw this.__flagInMainProcess=!1,this.__pendingUpdate=null,e}this._zr.flush(),this.__flagInMainProcess=!1,this.__pendingUpdate=null,Tg.call(this,t),Eg.call(this,t)}else if(e.unfinished){var n=1,r=this._model,i=this._api;e.unfinished=!1;do{var o=+new Date;e.performSeriesTasks(r),e.performDataProcessorTasks(r),Bg(this,r),e.performVisualTasks(r),Lg(this,this._model,i,"remain",{}),n-=+new Date-o}while(n>0&&e.unfinished);e.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(e,t,n){if(!this.__flagInMainProcess)if(this._disposed)Yg(this.id);else{var r,i,o;if(Object(g.isObject)(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,o=t.transition,t=t.notMerge),this.__flagInMainProcess=!0,!this._model||t){var a=new ud(this._api),s=this._theme,l=this._model=new rd;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(e,{replaceMerge:i},Xg);var c={seriesTransition:o,optionChanged:!0};if(n)this.__pendingUpdate={silent:r,updateParams:c},this.__flagInMainProcess=!1,this.getZr().wakeUp();else{try{_g(this),Cg.update.call(this,null,c)}catch(e){throw this.__pendingUpdate=null,this.__flagInMainProcess=!1,e}this._ssr||this._zr.flush(),this.__pendingUpdate=null,this.__flagInMainProcess=!1,Tg.call(this,r),Eg.call(this,r)}}},t.prototype.setTheme=function(){Rr()},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||A.a.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};var t=this._zr.painter;return t.getRenderedCanvas({backgroundColor:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};var t=this._zr.painter;return t.renderToString({useViewBox:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(A.a.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return Object(g.each)(t,function(e){e.stopAnimation(null,!0)}),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(!this._disposed){var t=(e=e||{}).excludeComponents,n=this._model,r=[],i=this;Object(g.each)(t,function(e){n.eachComponent({mainType:e},function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return Object(g.each)(r,function(e){e.group.ignore=!1}),o}Yg(this.id)},t.prototype.getConnectedDataURL=function(e){if(!this._disposed){var t="svg"===e.type,n=this.group,r=Math.min,i=Math.max;if(qg[n]){var o=1/0,a=1/0,s=-1/0,l=-1/0,c=[],u=e&&e.pixelRatio||this.getDevicePixelRatio();Object(g.each)(Jg,function(u,h){if(u.group===n){var d=t?u.getZr().painter.getSvgDom().innerHTML:u.renderToCanvas(Object(g.clone)(e)),f=u.getDom().getBoundingClientRect();o=r(f.left,o),a=r(f.top,a),s=i(f.right,s),l=i(f.bottom,l),c.push({dom:d,left:f.left,top:f.top})}});var h=(s*=u)-(o*=u),d=(l*=u)-(a*=u),f=Pn.d.createCanvas(),p=or(f,{renderer:t?"svg":"canvas"});if(p.resize({width:h,height:d}),t){var A="";return Object(g.each)(c,function(e){var t=e.left-o,n=e.top-a;A+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"}),p.painter.getSvgRoot().innerHTML=A,e.connectedBackgroundColor&&p.painter.setBackgroundColor(e.connectedBackgroundColor),p.refreshImmediately(),p.painter.toDataURL()}return e.connectedBackgroundColor&&p.add(new ha({shape:{x:0,y:0,width:h,height:d},style:{fill:e.connectedBackgroundColor}})),Object(g.each)(c,function(e){var t=new ra({style:{x:e.left*u-o,y:e.top*u-a,image:e.dom}});p.add(t)}),p.refreshImmediately(),f.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}Yg(this.id)},t.prototype.convertToPixel=function(e,t){return Sg(this,"convertToPixel",e,t)},t.prototype.convertFromPixel=function(e,t){return Sg(this,"convertFromPixel",e,t)},t.prototype.containPixel=function(e,t){if(!this._disposed){var n,r=ni(this._model,e);return Object(g.each)(r,function(e,r){r.indexOf("Models")>=0&&Object(g.each)(e,function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(t);else if("seriesModels"===r){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n=n||o.containPoint(t,e))}else 0},this)},this),!!n}Yg(this.id)},t.prototype.getVisual=function(e,t){var n=ni(this._model,e,{defaultMainType:"series"}),r=n.seriesModel;var i=r.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=o?hA(i,o,t):dA(i,t)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e,t,n,r=this;Object(g.each)(zg,function(e){var t=function(t){var n,i=r.getModel(),o=t.target,a="globalout"===e;if(a?n={}:o&&gA(o,function(e){var t=Ta(e);if(t&&null!=t.dataIndex){var r=t.dataModel||i.getSeriesByIndex(t.seriesIndex);return n=r&&r.getDataParams(t.dataIndex,t.dataType)||{},!0}if(t.eventData)return n=Object(g.extend)({},t.eventData),!0},!0),n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var c=s&&null!=l&&i.getComponent(s,l),u=c&&r["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,n.event=t,n.type=e,r._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:c,view:u},r.trigger(e,n)}};t.zrEventfulCallAtLast=!0,r._zr.on(e,t,r)}),Object(g.each)(Gg,function(e,t){r._messageCenter.on(t,function(e){this.trigger(t,e)},r)}),Object(g.each)(["selectchanged"],function(e){r._messageCenter.on(e,function(t){this.trigger(e,t)},r)}),e=this._messageCenter,t=this,n=this._api,e.on("selectchanged",function(e){var r=n.getModel();e.isFromClick?(AA("map","selectchanged",t,r,e),AA("pie","selectchanged",t,r,e)):"select"===e.fromAction?(AA("map","selected",t,r,e),AA("pie","selected",t,r,e)):"unselect"===e.fromAction&&(AA("map","unselected",t,r,e),AA("pie","unselected",t,r,e))})},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){this._disposed?Yg(this.id):this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed)Yg(this.id);else{this._disposed=!0,this.getDom()&&si(this.getDom(),nv,"");var e=this._api,t=this._model;Object(g.each)(this._componentsViews,function(n){n.dispose(t,e)}),Object(g.each)(this._chartsViews,function(n){n.dispose(t,e)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete Jg[this.id]}},t.prototype.resize=function(e){if(!this.__flagInMainProcess)if(this._disposed)Yg(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this.__pendingUpdate&&(null==r&&(r=this.__pendingUpdate.silent),n=!0,this.__pendingUpdate=null),this.__flagInMainProcess=!0;try{n&&_g(this),Cg.update.call(this,{type:"resize",animation:Object(g.extend)({duration:0},e&&e.animation)})}catch(e){throw this.__flagInMainProcess=!1,e}this.__flagInMainProcess=!1,Tg.call(this,r),Eg.call(this,r)}}},t.prototype.showLoading=function(e,t){if(this._disposed)Yg(this.id);else if(Object(g.isObject)(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Kg[e]){var n=Kg[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},t.prototype.hideLoading=function(){this._disposed?Yg(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},t.prototype.makeActionFromEvent=function(e){var t=Object(g.extend)({},e);return t.type=Gg[e.type],t},t.prototype.dispatchAction=function(e,t){if(this._disposed)Yg(this.id);else if(Object(g.isObject)(t)||(t={silent:!!t}),Vg[e.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(e);else{var n=t.silent;kg.call(this,e,n);var r=t.flush;r?this._zr.flush():!1!==r&&A.a.browser.weChat&&this._throttledZrFlush(),Tg.call(this,n),Eg.call(this,n)}},t.prototype.updateLabelLayout=function(){lg.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed)Yg(this.id);else{var t=e.seriesIndex,n=this.getModel().getSeriesByIndex(t);0,n.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},t.internalField=function(){function e(e){e.clearColorPalette(),e.eachSeries(function(e){e.clearColorPalette()})}function t(e){for(var t=[],n=e.currentStates,r=0;r<n.length;r++){var i=n[r];"emphasis"!==i&&"blur"!==i&&"select"!==i&&t.push(i)}e.selected&&e.states.select&&t.push("select"),e.hoverState===Fa&&e.states.emphasis?t.push("emphasis"):e.hoverState===Pa&&e.states.blur&&t.push("blur"),e.useStates(t)}function n(e,t){if(!e.preventAutoZ){var n=e.get("z")||0,r=e.get("zlevel")||0;t.eachRendered(function(e){return function e(t,n,r,i){var o=t.getTextContent();var a=t.getTextGuideLine();var s=t.isGroup;if(s)for(var l=t.childrenRef(),c=0;c<l.length;c++)i=Math.max(e(l[c],n,r,i),i);else t.z=n,t.zlevel=r,i=Math.max(t.z2,i);o&&(o.z=n,o.zlevel=r,isFinite(i)&&(o.z2=i+2));if(a){var u=t.textGuideLineConfig;a.z=n,a.zlevel=r,isFinite(i)&&(a.z2=i+(u&&u.showAbove?1:-1))}return i}(e,n,r,-1/0),!0})}}function r(e,t){t.eachRendered(function(e){if(!rc(e)){var t=e.getTextContent(),n=e.getTextGuideLine();e.stateTransition&&(e.stateTransition=null),t&&t.stateTransition&&(t.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),e.hasState()?(e.prevStates=e.currentStates,e.clearStates()):e.prevStates&&(e.prevStates=null)}})}function i(e,n){var r=e.getModel("stateAnimation"),i=e.isAnimationEnabled(),o=r.get("duration"),a=o>0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;n.eachRendered(function(e){if(e.states&&e.states.emphasis){if(rc(e))return;if(e instanceof $o&&function(e){var t=Oa(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var n=e.states.select||{};t.selectFill=n.style&&n.style.fill||null,t.selectStroke=n.style&&n.style.stroke||null}(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(i){e.stateTransition=a;var r=e.getTextContent(),o=e.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}e.__dirty&&t(e)}})}_g=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),wg(e,!0),wg(e,!1),t.plan()},wg=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,o=t?e._componentsMap:e._chartsMap,a=e._zr,s=e._api,l=0;l<i.length;l++)i[l].__alive=!1;function c(e){var l=e.__requireNewView;e.__requireNewView=!1;var c="_ec_"+e.id+"_"+e.type,u=!l&&o[c];if(!u){var h=fi(e.type),d=t?fp.getClass(h.main,h.sub):xp.getClass(h.sub);0,(u=new d).init(n,s),o[c]=u,i.push(u),a.add(u.group)}e.__viewId=u.__id=c,u.__alive=!0,u.__model=e,u.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!t&&r.prepareView(u,e,n,s)}t?n.eachComponent(function(e,t){"series"!==e&&c(t)}):n.eachSeries(c);for(l=0;l<i.length;){var u=i[l];u.__alive?l++:(!t&&u.renderTask.dispose(),a.remove(u.group),u.dispose(n,s),i.splice(l,1),o[u.__id]===u&&delete o[u.__id],u.__id=u.group.__ecComponentInfo=null)}},xg=function(e,t,n,r,i){var o=e._model;if(o.setUpdatePayload(n),r){var a={};a[r+"Id"]=n[r+"Id"],a[r+"Index"]=n[r+"Index"],a[r+"Name"]=n[r+"Name"];var s={mainType:r,query:a};i&&(s.subType=i);var l,c=n.excludeSeriesId;null!=c&&(l=Object(g.createHashMap)(),Object(g.each)(Qr(c),function(e){var t=$r(e,null);null!=t&&l.set(t,!0)})),o&&o.eachComponent(s,function(t){if(!(l&&null!=l.get(t.id)))if(Ms(n))if(t instanceof hp)n.type!==Ua||n.notBlur||t.get(["emphasis","disabled"])||function(e,t,n){var r=e.seriesIndex,i=e.getData(t.dataType);if(i){var o=qr(i,t);o=(Object(g.isArray)(o)?o[0]:o)||0;var a=i.getItemGraphicEl(o);if(!a)for(var s=i.count(),l=0;!a&&l<s;)a=i.getItemGraphicEl(l++);if(a){var c=Ta(a);vs(r,c.focus,c.blurScope,n)}else{var u=e.get(["emphasis","focus"]),h=e.get(["emphasis","blurScope"]);null!=u&&vs(r,u,h,n)}}}(t,n,e._api);else{var r=ys(t.mainType,t.componentIndex,n.name,e._api),i=r.focusSelf,o=r.dispatchers;n.type===Ua&&i&&!n.notBlur&&ms(t.mainType,t.componentIndex,e._api),o&&Object(g.each)(o,function(e){n.type===Ua?cs(e):us(e)})}else Es(n)&&t instanceof hp&&(!function(e,t,n){if(Es(t)){var r=t.dataType,i=qr(e.getData(r),t);Object(g.isArray)(i)||(i=[i]),e[t.type===Va?"toggleSelect":t.type===za?"select":"unselect"](i,r)}}(t,n,e._api),bs(t),Rg(e))},e),o&&o.eachComponent(s,function(t){l&&null!=l.get(t.id)||u(e["series"===r?"_chartsMap":"_componentsMap"][t.__viewId])},e)}else Object(g.each)([].concat(e._componentsViews).concat(e._chartsViews),u);function u(r){r&&r.__alive&&r[t]&&r[t](r.__model,o,e._api,n)}},Cg={prepareAndUpdate:function(e){_g(this),Cg.update.call(this,e,{optionChanged:null!=e.newOption})},update:function(t,n){var r=this._model,i=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(r){r.setUpdatePayload(t),s.restoreData(r,t),s.performSeriesTasks(r),a.create(r,i),s.performDataProcessorTasks(r,t),Bg(this,r),a.update(r,i),e(r),s.performVisualTasks(r,t),Og(this,r,i,t,n);var l=r.get("backgroundColor")||"transparent",c=r.get("darkMode");o.setBackgroundColor(l),null!=c&&"auto"!==c&&o.setDarkMode(c),lg.trigger("afterupdate",r,i)}},updateTransform:function(t){var n=this,r=this._model,i=this._api;if(r){r.setUpdatePayload(t);var o=[];r.eachComponent(function(e,a){if("series"!==e){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,r,i,t);l&&l.update&&o.push(s)}else o.push(s)}});var a=Object(g.createHashMap)();r.eachSeries(function(e){var o=n._chartsMap[e.__viewId];if(o.updateTransform){var s=o.updateTransform(e,r,i,t);s&&s.update&&a.set(e.uid,1)}else a.set(e.uid,1)}),e(r),this._scheduler.performVisualTasks(r,t,{setDirty:!0,dirtyMap:a}),Lg(this,r,i,t,{},a),lg.trigger("afterupdate",r,i)}},updateView:function(t){var n=this._model;n&&(n.setUpdatePayload(t),xp.markUpdateMethod(t,"updateView"),e(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0}),Og(this,n,this._api,t,{}),lg.trigger("afterupdate",n,this._api))},updateVisual:function(t){var n=this,r=this._model;r&&(r.setUpdatePayload(t),r.eachSeries(function(e){e.getData().clearAllVisual()}),xp.markUpdateMethod(t,"updateVisual"),e(r),this._scheduler.performVisualTasks(r,t,{visualType:"visual",setDirty:!0}),r.eachComponent(function(e,i){if("series"!==e){var o=n.getViewOfComponentModel(i);o&&o.__alive&&o.updateVisual(i,r,n._api,t)}}),r.eachSeries(function(e){n._chartsMap[e.__viewId].updateVisual(e,r,n._api,t)}),lg.trigger("afterupdate",r,this._api))},updateLayout:function(e){Cg.update.call(this,e)}},Sg=function(e,t,n,r){if(e._disposed)Yg(e.id);else{for(var i,o=e._model,a=e._coordSysMgr.getCoordinateSystems(),s=ni(o,n),l=0;l<a.length;l++){var c=a[l];if(c[t]&&null!=(i=c[t](o,s,r)))return i}0}},Bg=function(e,t){var n=e._chartsMap,r=e._scheduler;t.eachSeries(function(e){r.updateStreamModes(e,n[e.__viewId])})},kg=function(e,t){var n=this,r=this.getModel(),i=e.type,o=e.escapeConnect,a=Vg[i],s=a.actionInfo,l=(s.update||"update").split(":"),c=l.pop(),u=null!=l[0]&&fi(l[0]);this.__flagInMainProcess=!0;var h=[e],d=!1;e.batch&&(d=!0,h=Object(g.map)(e.batch,function(t){return(t=Object(g.defaults)(Object(g.extend)({},t),e)).batch=null,t}));var f,p=[],A=Es(e),v=Ms(e);if(v&&gs(this._api),Object(g.each)(h,function(t){if((f=(f=a.action(t,n._model,n._api))||Object(g.extend)({},t)).type=s.event||f.type,p.push(f),v){var r=ri(e),i=r.queryOptionMap,o=r.mainTypeSpecified?i.keys()[0]:"series";xg(n,c,t,o),Rg(n)}else A?(xg(n,c,t,"series"),Rg(n)):u&&xg(n,c,t,u.main,u.sub)}),"none"!==c&&!v&&!A&&!u)try{this.__pendingUpdate?(_g(this),Cg.update.call(this,e),this.__pendingUpdate=null):Cg[c].call(this,e)}catch(e){throw this.__flagInMainProcess=!1,e}if(f=d?{type:s.event||i,escapeConnect:o,batch:p}:p[0],this.__flagInMainProcess=!1,!t){var m=this._messageCenter;if(m.trigger(f.type,f),A){var y={type:"selectchanged",escapeConnect:o,selected:function(e){var t=[];return e.eachSeries(function(e){var n=e.getAllData();Object(g.each)(n,function(n){n.data;var r=n.type,i=e.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:e.seriesIndex};null!=r&&(o.dataType=r),t.push(o)}})}),t}(r),isFromClick:e.isFromClick||!1,fromAction:e.type,fromActionPayload:e};m.trigger(y.type,y)}}},Tg=function(e){for(var t=this._pendingActions;t.length;){var n=t.shift();kg.call(this,n,e)}},Eg=function(e){!e&&this.trigger("updated")},Mg=function(e,t){e.on("rendered",function(n){t.trigger("rendered",n),!e.animation.isFinished()||t.__pendingUpdate||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")})},Dg=function(e,t){e.on("mouseover",function(e){var n=gA(e.target,Ts);n&&(!function(e,t,n){var r=Ta(e),i=ys(r.componentMainType,r.componentIndex,r.componentHighDownName,n),o=i.dispatchers,a=i.focusSelf;o?(a&&ms(r.componentMainType,r.componentIndex,n),Object(g.each)(o,function(e){return ss(e,t)})):(vs(r.seriesIndex,r.focus,r.blurScope,n),"self"===r.focus&&ms(r.componentMainType,r.componentIndex,n),ss(e,t))}(n,e,t._api),Rg(t))}).on("mouseout",function(e){var n=gA(e.target,Ts);n&&(!function(e,t,n){gs(n);var r=Ta(e),i=ys(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;i?Object(g.each)(i,function(e){return ls(e,t)}):ls(e,t)}(n,e,t._api),Rg(t))}).on("click",function(e){var n=gA(e.target,function(e){return null!=Ta(e).dataIndex},!0);if(n){var r=n.selected?"unselect":"select",i=Ta(n);t._api.dispatchAction({type:r,dataType:i.dataType,dataIndexInside:i.dataIndex,seriesIndex:i.seriesIndex,isFromClick:!0})}})},Og=function(e,t,n,r,i){!function(e){var t=[],n=[],r=!1;if(e.eachComponent(function(e,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===e?n:t).push({zlevel:o,z:a,idx:i.componentIndex,type:e,key:s})}),r){var i,o,a=t.concat(n);Ke(a,function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel}),Object(g.each)(a,function(t){var n=e.getComponent(t.type,t.idx),r=t.zlevel,a=t.key;null!=i&&(r=Math.max(i,r)),a?(r===i&&a!==o&&r++,o=a):o&&(r===i&&r++,o=""),i=r,n.setZLevel(r)})}}(t),Ig(e,t,n,r,i),Object(g.each)(e._chartsViews,function(e){e.__alive=!1}),Lg(e,t,n,r,i),Object(g.each)(e._chartsViews,function(e){e.__alive||e.remove(t,n)})},Ig=function(e,t,o,a,s,l){Object(g.each)(l||e._componentsViews,function(e){var s=e.__model;r(s,e),e.render(s,t,o,a),n(s,e),i(s,e)})},Lg=function(e,t,o,a,s,l){var c=e._scheduler;s=Object(g.extend)(s||{},{updatedSeries:t.getSeries()}),lg.trigger("series:beforeupdate",t,o,s);var u=!1;t.eachSeries(function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var i=n.renderTask;c.updatePayload(i,a),r(t,n),l&&l.get(t.uid)&&i.dirty(),i.perform(c.getPerformArgs(i))&&(u=!0),n.group.silent=!!t.get("silent"),function(e,t){var n=e.get("blendMode")||null;t.eachRendered(function(e){e.isGroup||(e.style.blend=n)})}(t,n),bs(t)}),c.unfinished=u||c.unfinished,lg.trigger("series:layoutlabels",t,o,s),lg.trigger("series:transition",t,o,s),t.eachSeries(function(t){var r=e._chartsMap[t.__viewId];n(t,r),i(t,r)}),function(e,t){var n=0;e._zr.storage.traverse(function(e){e.isGroup||n++}),n>t.get("hoverLayerThreshold")&&!A.a.node&&!A.a.worker&&t.eachSeries(function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.eachRendered(function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)})}})}(e,t),lg.trigger("series:afterupdate",t,o,s)},Rg=function(e){e.__needsUpdateStatus=!0,e.getZr().wakeUp()},Ng=function(e){e.__needsUpdateStatus&&(e.getZr().storage.traverse(function(e){rc(e)||t(e)}),e.__needsUpdateStatus=!1)},Pg=function(e){return new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return p(n,t),n.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(t){for(;t;){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}},n.prototype.enterEmphasis=function(t,n){cs(t,n),Rg(e)},n.prototype.leaveEmphasis=function(t,n){us(t,n),Rg(e)},n.prototype.enterBlur=function(t){hs(t),Rg(e)},n.prototype.leaveBlur=function(t){ds(t),Rg(e)},n.prototype.enterSelect=function(t){fs(t),Rg(e)},n.prototype.leaveSelect=function(t){ps(t),Rg(e)},n.prototype.getModel=function(){return e.getModel()},n.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},n.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},n}(od))(e)},Fg=function(e){function t(e,t){for(var n=0;n<e.length;n++){e[n][vg]=t}}Object(g.each)(Gg,function(n,r){e._messageCenter.on(r,function(n){if(qg[e.group]&&0!==e[vg]){if(n&&n.escapeConnect)return;var r=e.makeActionFromEvent(n),i=[];Object(g.each)(Jg,function(t){t!==e&&t.group===e.group&&i.push(t)}),t(i,0),Object(g.each)(i,function(e){1!==e[vg]&&e.dispatchAction(r)}),t(i,2)}})})}}(),t}(Y),Qg=Ug.prototype;Qg.on=mg("on"),Qg.off=mg("off"),Qg.one=function(e,t,n){var r=this;Rr(),this.on.call(this,e,function n(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];t&&t.apply&&t.apply(this,i),r.off(e,n)},n)};var zg=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Yg(e){0}var Vg={},Gg={},Wg=[],Xg=[],Zg=[],$g={},Kg={},Jg={},qg={},ev=+new Date-0,tv=+new Date-0,nv="_echarts_instance_";function rv(e,t,n){var r=!(n&&n.ssr);if(r){0;var i=lv(e);if(i)return i;0}var o=new Ug(e,t,n);return o.id="ec_"+ev++,Jg[o.id]=o,r&&si(e,nv,o.id),Fg(o),lg.trigger("afterinit",o),o}function iv(e){if(Object(g.isArray)(e)){var t=e;e=null,Object(g.each)(t,function(t){null!=t.group&&(e=t.group)}),e=e||"g_"+tv++,Object(g.each)(t,function(t){t.group=e})}return qg[e]=!0,e}function ov(e){qg[e]=!1}var av=ov;function sv(e){Object(g.isString)(e)?e=Jg[e]:e instanceof Ug||(e=lv(e)),e instanceof Ug&&!e.isDisposed()&&e.dispose()}function lv(e){return Jg[function(e,t){return e.getAttribute?e.getAttribute(t):e[t]}(e,nv)]}function cv(e){return Jg[e]}function uv(e,t){$g[e]=t}function hv(e){Object(g.indexOf)(Xg,e)<0&&Xg.push(e)}function dv(e,t){wv(Wg,e,t,dg)}function fv(e){Av("afterinit",e)}function pv(e){Av("afterupdate",e)}function Av(e,t){lg.on(e,t)}function gv(e,t,n){Object(g.isFunction)(t)&&(n=t,t="");var r=Object(g.isObject)(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,Gg[t]||(Object(g.assert)(gg.test(r)&&gg.test(t)),Vg[r]||(Vg[r]={action:n,actionInfo:e}),Gg[t]=r)}function vv(e,t){sd.register(e,t)}function mv(e){var t=sd.get(e);if(t)return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()}function yv(e,t){wv(Zg,e,t,fg,"layout")}function bv(e,t){wv(Zg,e,t,pg,"visual")}var _v=[];function wv(e,t,n,r,i){if((Object(g.isFunction)(t)||Object(g.isObject)(t))&&(n=t,t=r),!(Object(g.indexOf)(_v,n)>=0)){_v.push(n);var o=eA.wrapStageHandler(n,i);o.__prio=t,o.__raw=n,e.push(o)}}function xv(e,t){Kg[e]=t}function Cv(e){Object(Pn.e)({createCanvas:e})}function Sv(e,t,n){var r=ug("registerMap");r&&r(e,t,n)}function Bv(e){var t=ug("getMap");return t&&t(e)}var kv=function(e){var t=(e=Object(g.clone)(e)).type,n="";t||Nr(n);var r=t.split(":");2!==r.length&&Nr(n);var i=!1;"echarts"===r[0]&&(t=r[1],i=!0),e.__isBuiltIn=i,wf.set(t,e)};bv(2e3,Pp),bv(4500,Rp),bv(4500,Np),bv(2e3,cA),bv(4500,uA),bv(7e3,function(e,t){e.eachRawSeries(function(n){if(!e.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each(function(e){var n=r.getItemVisual(e,"decal");n&&(r.ensureUniqueItemVisual(e,"style").decal=ag(n,t))});var i=r.getVisual("decal");i&&(r.getVisual("style").decal=ag(i,t))}})}),hv(Ed),dv(900,function(e){var t=Object(g.createHashMap)();e.eachSeries(function(e){var n=e.get("stack");if(n){var r=t.get(n)||t.set(n,[]),i=e.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}}),t.each(Md)}),xv("default",function(e,t){t=t||{},g.defaults(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new tr,r=new ha({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i,o=new ka({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new ha({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return n.add(a),t.showSpinner&&((i=new jl({shape:{startAngle:-Hp/2,endAngle:-Hp/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Hp/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*Hp/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=o.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-2*s-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner&&n?0:5+n/2)+(t.showSpinner?0:n/2)+(n?0:s),c=e.getHeight()/2;t.showSpinner&&i.setShape({cx:l,cy:c}),a.setShape({x:l-s,y:c-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}),gv({type:Ua,event:Ua,update:Ua},g.noop),gv({type:Qa,event:Qa,update:Qa},g.noop),gv({type:za,event:za,update:za},g.noop),gv({type:Ya,event:Ya,update:Ya},g.noop),gv({type:Va,event:Va,update:Va},g.noop),uv("light",nA),uv("dark",oA);var Tv={},Ev=[],Mv={registerPreprocessor:hv,registerProcessor:dv,registerPostInit:fv,registerPostUpdate:pv,registerUpdateLifecycle:Av,registerAction:gv,registerCoordinateSystem:vv,registerLayout:yv,registerVisual:bv,registerTransform:kv,registerLoading:xv,registerMap:Sv,registerImpl:function(e,t){cg[e]=t},PRIORITY:Ag,ComponentModel:Ch,ComponentView:fp,SeriesModel:hp,ChartView:xp,registerComponentModel:function(e){Ch.registerClass(e)},registerComponentView:function(e){fp.registerClass(e)},registerSeriesModel:function(e){hp.registerClass(e)},registerChartView:function(e){xp.registerClass(e)},registerSubTypeDefaulter:function(e,t){Ch.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){cr(e,t)}};function Dv(e){Object(g.isArray)(e)?Object(g.each)(e,function(e){Dv(e)}):Object(g.indexOf)(Ev,e)>=0||(Ev.push(e),Object(g.isFunction)(e)&&(e={install:e}),e.install(Mv))}function Ov(e){return null==e?0:e.length||1}function Iv(e){return e}var Lv=function(){function e(e,t,n,r,i,o){this._old=e,this._new=t,this._oldKeyGetter=n||Iv,this._newKeyGetter=r||Iv,this.context=i,this._diffModeMultiple="multiple"===o}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,n={},r=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,r,"_oldKeyGetter"),this._initIndexMap(t,n,i,"_newKeyGetter");for(var o=0;o<e.length;o++){var a=r[o],s=n[a],l=Ov(s);if(l>1){var c=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(c,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(i,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},r={},i=[],o=[];this._initIndexMap(e,n,i,"_oldKeyGetter"),this._initIndexMap(t,r,o,"_newKeyGetter");for(var a=0;a<i.length;a++){var s=i[a],l=n[s],c=r[s],u=Ov(l),h=Ov(c);if(u>1&&1===h)this._updateManyToOne&&this._updateManyToOne(c,l),r[s]=null;else if(1===u&&h>1)this._updateOneToMany&&this._updateOneToMany(c,l),r[s]=null;else if(1===u&&1===h)this._update&&this._update(c,l),r[s]=null;else if(u>1&&h>1)this._updateManyToMany&&this._updateManyToMany(c,l),r[s]=null;else if(u>1)for(var d=0;d<u;d++)this._remove&&this._remove(l[d]);else this._remove&&this._remove(l)}this._performRestAdd(o,r)},e.prototype._performRestAdd=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=t[r],o=Ov(i);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(i[a]);else 1===o&&this._add&&this._add(i);t[r]=null}},e.prototype._initIndexMap=function(e,t,n,r){for(var i=this._diffModeMultiple,o=0;o<e.length;o++){var a="_ec_"+this[r](e[o],o);if(i||(n[o]=a),t){var s=t[a],l=Ov(s);0===l?(t[a]=o,i&&n.push(a)):1===l?t[a]=[s,o]:s.push(o)}}},e}(),Pv=function(){function e(e,t){this._encode=e,this._schema=t}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function Fv(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function Rv(e){return"category"===e?"ordinal":"time"===e?"time":"float"}var Nv=function(){return function(e){this.otherDims={},null!=e&&g.extend(this,e)}}(),Hv=ei(),jv={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Uv=function(){function e(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=Yv(this.source)))},e.prototype.getSourceDimensionIndex=function(e){return Object(g.retrieve2)(this._dimNameMap.get(e),-1)},e.prototype.getSourceDimension=function(e){var t=this.source.dimensionsDefine;if(t)return t[e]},e.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,t=zd(this.source),n=!Vv(e),r="",i=[],o=0,a=0;o<e;o++){var s=void 0,l=void 0,c=void 0,u=this.dimensions[a];if(u&&u.storeDimIndex===o)s=t?u.name:null,l=u.type,c=u.ordinalMeta,a++;else{var h=this.getSourceDimension(o);h&&(s=t?h.name:null,l=h.type)}i.push({property:s,type:l,ordinalMeta:c}),!t||null==s||u&&u.isCalculationCoord||(r+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),r+="$",r+=jv[l]||"f",c&&(r+=c.uid),r+="$"}var d=this.source;return{dimensions:i,hash:[d.seriesLayoutBy,d.startIndex,r].join("$$")}},e.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,n=0;t<this._fullDimCount;t++){var r=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===t)i.isCalculationCoord||(r=i.name),n++;else{var o=this.getSourceDimension(t);o&&(r=o.name)}e.push(r)}return e},e.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function Qv(e){return e instanceof Uv}function zv(e){for(var t=Object(g.createHashMap)(),n=0;n<(e||[]).length;n++){var r=e[n],i=Object(g.isObject)(r)?r.name:r;null!=i&&null==t.get(i)&&t.set(i,n)}return t}function Yv(e){var t=Hv(e);return t.dimNameMap||(t.dimNameMap=zv(e.dimensionsDefine))}function Vv(e){return e>30}var Gv,Wv,Xv,Zv,$v,Kv,Jv,qv=g.isObject,em=g.map,tm="undefined"==typeof Int32Array?Array:Int32Array,nm=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],rm=["_approximateExtent"],im=function(){function e(e,t){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r=!1;Qv(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(r=!0,n=e),n=n||["x","y"];for(var i={},o=[],a={},s=!1,l={},c=0;c<n.length;c++){var u=n[c],h=g.isString(u)?new Nv({name:u}):u instanceof Nv?u:new Nv(u),d=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=d,h.coordDimIndex=0);var f=h.otherDims=h.otherDims||{};o.push(d),i[d]=h,null!=l[d]&&(s=!0),h.createInvertedIndices&&(a[d]=[]),0===f.itemName&&(this._nameDimIdx=c),0===f.itemId&&(this._idDimIdx=c),r&&(h.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=t,this._invertedIndicesMap=a,this._dimOmitted){var p=this._dimIdxToName=g.createHashMap();g.each(o,function(e){p.set(i[e].storeDimIndex,e)})}}return e.prototype.getDimension=function(e){var t=this._recognizeDimIndex(e);if(null==t)return e;if(t=e,!this._dimOmitted)return this.dimensions[t];var n=this._dimIdxToName.get(t);if(null!=n)return n;var r=this._schema.getSourceDimension(t);return r?r.name:void 0},e.prototype.getDimensionIndex=function(e){var t=this._recognizeDimIndex(e);if(null!=t)return t;if(null==e)return-1;var n=this._getDimInfo(e);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},e.prototype._recognizeDimIndex=function(e){if(g.isNumber(e)||null!=e&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},e.prototype._getStoreDimIndex=function(e){var t=this.getDimensionIndex(e);return t},e.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},e.prototype._initGetDimensionInfo=function(e){var t=this._dimInfos;this._getDimInfo=e?function(e){return t.hasOwnProperty(e)?t[e]:void 0}:function(e){return t[e]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(e,t){var n=this._dimSummary;if(null==t)return n.encodeFirstDimNotExtra[e];var r=n.encode[e];return r?r[t]:null},e.prototype.mapDimensionsAll=function(e){return(this._dimSummary.encode[e]||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(e,t,n){var r,i=this;if(e instanceof If&&(r=e),!r){var o=this.dimensions,a=Rd(e)||g.isArrayLike(e)?new Yd(e,o.length):e;r=new If;var s=em(o,function(e){return{type:i._dimInfos[e].type,property:e}});r.initData(a,s,n)}this._store=r,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=function(e,t){var n={},r=n.encode={},i=Object(g.createHashMap)(),o=[],a=[],s={};Object(g.each)(e.dimensions,function(t){var n,l=e.getDimensionInfo(t),c=l.coordDim;if(c){var u=l.coordDimIndex;Fv(r,c)[u]=t,l.isExtraCoord||(i.set(c,1),"ordinal"!==(n=l.type)&&"time"!==n&&(o[0]=t),Fv(s,c)[u]=e.getDimensionIndex(l.name)),l.defaultTooltip&&a.push(t)}Th.each(function(e,t){var n=Fv(r,t),i=l.otherDims[t];null!=i&&!1!==i&&(n[i]=l.name)})});var l=[],c={};i.each(function(e,t){var n=r[t];c[t]=n[0],l=l.concat(n)}),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=Object(g.map)(l,function(t){return e.getDimensionInfo(t).storeDimIndex}),n.encodeFirstDimNotExtra=c;var u=r.label;u&&u.length&&(o=u.slice());var h=r.tooltip;return h&&h.length?a=h.slice():a.length||(a=o.slice()),r.defaultedLabel=o,r.defaultedTooltip=a,n.userOutput=new Pv(s,t),n}(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(e){var t=this._store.appendData(e);this._doInit(t[0],t[1])},e.prototype.appendValues=function(e,t){var n=this._store.appendValues(e,t.length),r=n.start,i=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var a=r;a<i;a++){var s=a-r;this._nameList[a]=t[s],o&&Jv(this,a)}},e.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,n=0;n<t.length;n++){var r=this._dimInfos[t[n]];r.ordinalMeta&&e.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return null==this._idDimIdx&&e.getSource().sourceFormat!==Ih&&!e.fillStorage},e.prototype._doInit=function(e,t){if(!(e>=t)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,i=this._idList;if(n.getSource().sourceFormat===Eh&&!n.pure)for(var o=[],a=e;a<t;a++){var s=n.getItem(a,o);if(!this.hasItemOption&&Gr(s)&&(this.hasItemOption=!0),s){var l=s.name;null==r[a]&&null!=l&&(r[a]=$r(l,null));var c=s.id;null==i[a]&&null!=c&&(i[a]=$r(c,null))}}if(this._shouldMakeIdFromName())for(a=e;a<t;a++)Jv(this,a);Gv(this)}},e.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},e.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},e.prototype.setCalculationInfo=function(e,t){qv(e)?g.extend(this._calculationInfo,e):this._calculationInfo[e]=t},e.prototype.getName=function(e){var t=this.getRawIndex(e),n=this._nameList[t];return null==n&&null!=this._nameDimIdx&&(n=Xv(this,this._nameDimIdx,t)),null==n&&(n=""),n},e.prototype._getCategory=function(e,t){var n=this._store.get(e,t),r=this._store.getOrdinalMeta(e);return r?r.categories[n]:n},e.prototype.getId=function(e){return Wv(this,this.getRawIndex(e))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.get(r.storeDimIndex,t)},e.prototype.getByRawIndex=function(e,t){var n=this._store,r=this._dimInfos[e];if(r)return n.getByRawIndex(r.storeDimIndex,t)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},e.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},e.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},e.prototype.getValues=function(e,t){var n=this,r=this._store;return g.isArray(e)?r.getValues(em(e,function(e){return n._getStoreDimIndex(e)}),t):r.getValues(e)},e.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,n=0,r=t.length;n<r;n++)if(isNaN(this._store.get(t[n],e)))return!1;return!0},e.prototype.indexOfName=function(e){for(var t=0,n=this._store.count();t<n;t++)if(this.getName(t)===e)return t;return-1},e.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},e.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},e.prototype.rawIndexOf=function(e,t){var n=e&&this._invertedIndicesMap[e];var r=n[t];return null==r||isNaN(r)?-1:r},e.prototype.indicesOfNearest=function(e,t,n){return this._store.indicesOfNearest(this._getStoreDimIndex(e),t,n)},e.prototype.each=function(e,t,n){g.isFunction(e)&&(n=t,t=e,e=[]);var r=n||this,i=em(Zv(e),this._getStoreDimIndex,this);this._store.each(i,r?g.bind(t,r):t)},e.prototype.filterSelf=function(e,t,n){g.isFunction(e)&&(n=t,t=e,e=[]);var r=n||this,i=em(Zv(e),this._getStoreDimIndex,this);return this._store=this._store.filter(i,r?g.bind(t,r):t),this},e.prototype.selectRange=function(e){var t=this,n={},r=g.keys(e),i=[];return g.each(r,function(r){var o=t._getStoreDimIndex(r);n[o]=e[r],i.push(o)}),this._store=this._store.selectRange(n),this},e.prototype.mapArray=function(e,t,n){g.isFunction(e)&&(n=t,t=e,e=[]),n=n||this;var r=[];return this.each(e,function(){r.push(t&&t.apply(this,arguments))},n),r},e.prototype.map=function(e,t,n,r){var i=n||r||this,o=em(Zv(e),this._getStoreDimIndex,this),a=Kv(this);return a._store=this._store.map(o,i?g.bind(t,i):t),a},e.prototype.modify=function(e,t,n,r){var i=n||r||this;var o=em(Zv(e),this._getStoreDimIndex,this);this._store.modify(o,i?g.bind(t,i):t)},e.prototype.downSample=function(e,t,n,r){var i=Kv(this);return i._store=this._store.downSample(this._getStoreDimIndex(e),t,n,r),i},e.prototype.lttbDownSample=function(e,t){var n=Kv(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(e),t),n},e.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},e.prototype.getItemModel=function(e){var t=this.hostModel,n=this.getRawDataItem(e);return new du(n,t,t&&t.ecModel)},e.prototype.diff=function(e){var t=this;return new Lv(e?e.getStore().getIndices():[],this.getStore().getIndices(),function(t){return Wv(e,t)},function(e){return Wv(t,e)})},e.prototype.getVisual=function(e){var t=this._visual;return t&&t[e]},e.prototype.setVisual=function(e,t){this._visual=this._visual||{},qv(e)?g.extend(this._visual,e):this._visual[e]=t},e.prototype.getItemVisual=function(e,t){var n=this._itemVisuals[e],r=n&&n[t];return null==r?this.getVisual(t):r},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];r||(r=n[e]={});var i=r[t];return null==i&&(i=this.getVisual(t),g.isArray(i)?i=i.slice():qv(i)&&(i=g.extend({},i)),r[t]=i),i},e.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,qv(t)?g.extend(r,t):r[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){qv(e)?g.extend(this._layout,e):this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?g.extend(this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;Ea(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){g.each(this._graphicEls,function(n,r){n&&e&&e.call(t,n,r)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:em(this.dimensions,this._getDimInfo,this),this.hostModel)),$v(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];g.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(g.slice(arguments)))})},e.internalField=(Gv=function(e){var t=e._invertedIndicesMap;g.each(t,function(n,r){var i=e._dimInfos[r],o=i.ordinalMeta,a=e._store;if(o){n=t[r]=new tm(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(i.storeDimIndex,s)]=s}})},Xv=function(e,t,n){return $r(e._getCategory(t,n),null)},Wv=function(e,t){var n=e._idList[t];return null==n&&null!=e._idDimIdx&&(n=Xv(e,e._idDimIdx,t)),null==n&&(n="e\0\0"+t),n},Zv=function(e){return g.isArray(e)||(e=null!=e?[e]:[]),e},Kv=function(t){var n=new e(t._schema?t._schema:em(t.dimensions,t._getDimInfo,t),t.hostModel);return $v(n,t),n},$v=function(e,t){g.each(nm.concat(t.__wrappedMethods||[]),function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e.__wrappedMethods=t.__wrappedMethods,g.each(rm,function(n){e[n]=g.clone(t[n])}),e._calculationInfo=g.extend({},t._calculationInfo)},void(Jv=function(e,t){var n=e._nameList,r=e._idList,i=e._nameDimIdx,o=e._idDimIdx,a=n[t],s=r[t];if(null==a&&null!=i&&(n[t]=a=Xv(e,i,t)),null==s&&null!=o&&(r[t]=s=Xv(e,o,t)),null==s&&null!=a){var l=e._nameRepeatCount,c=l[a]=(l[a]||0)+1;s=a,c>1&&(s+="__ec__"+c),r[t]=s}})),e}();function om(e,t){return am(e,t).dimensions}function am(e,t){Rd(e)||(e=Hd(e));var n=(t=t||{}).coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],i=Object(g.createHashMap)(),o=[],a=function(e,t,n,r){var i=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return Object(g.each)(t,function(e){var t;Object(g.isObject)(e)&&(t=e.dimsDef)&&(i=Math.max(i,t.length))}),i}(e,n,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&Vv(a),l=r===e.dimensionsDefine,c=l?Yv(e):zv(r),u=t.encodeDefine;!u&&t.encodeDefaulter&&(u=t.encodeDefaulter(e,a));for(var h=Object(g.createHashMap)(u),d=new Tf(a),f=0;f<d.length;f++)d[f]=-1;function p(e){var t=d[e];if(t<0){var n=r[e],i=Object(g.isObject)(n)?n:{name:n},a=new Nv,s=i.name;null!=s&&null!=c.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var l=o.length;return d[e]=l,a.storeDimIndex=e,o.push(a),a}return o[t]}if(!s)for(f=0;f<a;f++)p(f);h.each(function(e,t){var n=Qr(e).slice();if(1===n.length&&!Object(g.isString)(n[0])&&n[0]<0)h.set(t,!1);else{var r=h.set(t,[]);Object(g.each)(n,function(e,n){var i=Object(g.isString)(e)?c.get(e):e;null!=i&&i<a&&(r[n]=i,v(p(i),t,n))})}});var A=0;function v(e,t,n){null!=Th.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,i.set(t,!0))}Object(g.each)(n,function(e){var t,n,r,i;if(Object(g.isString)(e))t=e,i={};else{t=(i=e).name;var o=i.ordinalMeta;i.ordinalMeta=null,(i=Object(g.extend)({},i)).ordinalMeta=o,n=i.dimsDef,r=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=h.get(t);if(!1!==s){if(!(s=Qr(s)).length)for(var c=0;c<(n&&n.length||1);c++){for(;A<a&&null!=p(A).coordDim;)A++;A<a&&s.push(A++)}Object(g.each)(s,function(e,o){var a=p(e);if(l&&null!=i.type&&(a.type=i.type),v(Object(g.defaults)(a,i),t,o),null==a.name&&n){var s=n[o];!Object(g.isObject)(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}r&&Object(g.defaults)(a.otherDims,r)})}});var m=t.generateCoord,y=t.generateCoordCount,b=null!=y;y=m?y||1:0;var _=m||"value";function w(e){null==e.name&&(e.name=e.coordDim)}if(s)Object(g.each)(o,function(e){w(e)}),o.sort(function(e,t){return e.storeDimIndex-t.storeDimIndex});else for(var x=0;x<a;x++){var C=p(x);null==C.coordDim&&(C.coordDim=sm(_,i,b),C.coordDimIndex=0,(!m||y<=0)&&(C.isExtraCoord=!0),y--),w(C),null!=C.type||Qh(e,x)!==Rh.Must&&(!C.isExtraCoord||null==C.otherDims.itemName&&null==C.otherDims.seriesName)||(C.type="ordinal")}return function(e){for(var t=Object(g.createHashMap)(),n=0;n<e.length;n++){var r=e[n],i=r.name,o=t.get(i)||0;o>0&&(r.name=i+(o-1)),o++,t.set(i,o)}}(o),new Uv({source:e,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function sm(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var lm=function(){return function(e){this.coordSysDims=[],this.axisMap=Object(g.createHashMap)(),this.categoryAxisMap=Object(g.createHashMap)(),this.coordSysName=e}}();var cm={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",ii).models[0],o=e.getReferringComponents("yAxis",ii).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),um(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),um(o)&&(r.set("y",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",ii).models[0];t.coordSysDims=["single"],n.set("single",i),um(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",ii).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),um(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),um(a)&&(r.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();Object(g.each)(o.parallelAxisIndex,function(e,o){var s=i.getComponent("parallelAxis",e),l=a[o];n.set(l,s),um(s)&&(r.set(l,s),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=o))})}};function um(e){return"category"===e.get("type")}function hm(e,t,n){var r,i,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(e){return!Qv(e.schema)}(t)?(i=t.schema,r=i.dimensions,o=t.store):r=t;var l,c,u,h,d=!(!e||!e.get("stack"));if(Object(g.each)(r,function(e,t){Object(g.isString)(e)&&(r[t]=e={name:e}),d&&!e.isExtraCoord&&(a||l||!e.ordinalMeta||(l=e),c||"ordinal"===e.type||"time"===e.type||s&&s!==e.coordDim||(c=e))}),!c||a||l||(a=!0),c){u="__\0ecstackresult_"+e.id,h="__\0ecstackedover_"+e.id,l&&(l.createInvertedIndices=!0);var f=c.coordDim,p=c.type,A=0;Object(g.each)(r,function(e){e.coordDim===f&&A++});var v={name:u,coordDim:f,coordDimIndex:A,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},m={name:h,coordDim:h,coordDimIndex:A+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1};i?(o&&(v.storeDimIndex=o.ensureCalculationDimension(h,p),m.storeDimIndex=o.ensureCalculationDimension(u,p)),i.appendCalculationDimension(v),i.appendCalculationDimension(m)):(r.push(v),r.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:h,stackResultDimension:u}}function dm(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function fm(e,t){return dm(e,t)?e.getCalculationInfo("stackResultDimension"):t}var pm=function(e,t,n){n=n||{};var r,i=t.getSourceManager(),o=!1;e?(o=!0,r=Hd(e)):o=(r=i.getSource()).sourceFormat===Eh;var a=function(e){var t=e.get("coordinateSystem"),n=new lm(t),r=cm[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}(t),s=function(e,t){var n,r=e.get("coordinateSystem"),i=sd.get(r);return t&&t.coordSysDims&&(n=g.map(t.coordSysDims,function(e){var n={name:e},r=t.axisMap.get(e);if(r){var i=r.get("type");n.type=Rv(i)}return n})),n||(n=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),n}(t,a),l=n.useEncodeDefaulter,c=g.isFunction(l)?l:l?g.curry(Hh,s,t):null,u=am(r,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!o}),h=function(e,t,n){var r,i;return n&&g.each(e,function(e,o){var a=e.coordDim,s=n.categoryAxisMap.get(a);s&&(null==r&&(r=o),e.ordinalMeta=s.getOrdinalMeta(),t&&(e.createInvertedIndices=!0)),null!=e.otherDims.itemName&&(i=!0)}),i||null==r||(e[r].otherDims.itemName=0),r}(u.dimensions,n.createInvertedIndices,a),d=o?null:i.getSharedDataStore(u),f=hm(t,{schema:u,store:d}),p=new im(u,t);p.setCalculationInfo(f);var A=null!=h&&function(e){if(e.sourceFormat===Eh){var t=function(e){for(var t=0;t<e.length&&null==e[t];)t++;return e[t]}(e.data||[]);return!g.isArray(Vr(t))}}(r)?function(e,t,n,r){return r===h?n:this.defaultDimValueGetter(e,t,n,r)}:null;return p.hasItemOption=!1,p.initData(o?r:d,null,A),p},Am=function(){function e(e){this._setting=e||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(e){return this._setting[e]},e.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();yi(Am);var gm=Am,vm=0;function mm(e){return Object(g.isObject)(e)&&null!=e.value?e.value:e+""}var ym=function(){function e(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++vm}return e.createByAxisModel=function(t){var n=t.option,r=n.data,i=r&&Object(g.map)(r,mm);return new e({categories:i,needCollect:!i,deduplication:!1!==n.dedplication})},e.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},e.prototype.parseAndCollect=function(e){var t,n=this._needCollect;if(!Object(g.isString)(e)&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var r=this._getOrCreateMap();return null==(t=r.get(e))&&(n?(t=this.categories.length,this.categories[t]=e,r.set(e,t)):t=NaN),t},e.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(g.createHashMap)(this.categories))},e}();function bm(e){return"interval"===e.type||"log"===e.type}function _m(e,t,n,r){var i={},o=e[1]-e[0],a=i.interval=Mr(o/t,!0);null!=n&&a<n&&(a=i.interval=n),null!=r&&a>r&&(a=i.interval=r);var s=i.intervalPrecision=xm(a);return function(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),Cm(e,0,t),Cm(e,1,t),e[0]>e[1]&&(e[0]=e[1])}(i.niceTickExtent=[Ar(Math.ceil(e[0]/a)*a,s),Ar(Math.floor(e[1]/a)*a,s)],e),i}function wm(e){var t=Math.pow(10,Er(e)),n=e/t;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Ar(n*t)}function xm(e){return vr(e)+2}function Cm(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function Sm(e,t){return e>=t[0]&&e<=t[1]}function Bm(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function km(e,t){return e*(t[1]-t[0])+t[0]}var Tm=function(e){function t(t){var n=e.call(this,t)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new ym({})),Object(g.isArray)(r)&&(r=new ym({categories:Object(g.map)(r,function(e){return Object(g.isObject)(e)?e.value:e})})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return p(t,e),t.prototype.parse=function(e){return null==e?NaN:Object(g.isString)(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return Sm(e=this.parse(e),this._extent)&&null!=this._ordinalMeta.categories[e]},t.prototype.normalize=function(e){return Bm(e=this._getTickNumber(this.parse(e)),this._extent)},t.prototype.scale=function(e){return e=Math.round(km(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],t=this._extent,n=t[0];n<=t[1];)e.push({value:n}),n++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(null!=e){for(var t=e.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,t.length);i<a;++i){var s=t[i];n[i]=s,r[s]=i}for(var l=0;i<o;++i){for(;null!=r[l];)l++;n.push(l),r[l]=i}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},t.prototype._getTickNumber=function(e){var t=this._ticksByOrdinalNumber;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getRawOrdinalNumber=function(e){var t=this._ordinalNumbersByTick;return t&&e>=0&&e<t.length?t[e]:e},t.prototype.getLabel=function(e){if(!this.isBlank()){var t=this.getRawOrdinalNumber(e.value),n=this._ordinalMeta.categories[t];return null==n?"":n+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(gm);gm.registerClass(Tm);var Em=Tm,Mm=Ar,Dm=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return p(t,e),t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return Sm(e,this._extent)},t.prototype.normalize=function(e){return Bm(e,this._extent)},t.prototype.scale=function(e){return km(e,this._extent)},t.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},t.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=xm(e)},t.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!t)return o;n[0]<r[0]&&(e?o.push({value:Mm(r[0]-t,i)}):o.push({value:n[0]}));for(var a=r[0];a<=r[1]&&(o.push({value:a}),(a=Mm(a+t,i))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:r[1];return n[1]>s&&(e?o.push({value:Mm(s+t,i)}):o.push({value:n[1]})),o},t.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),i=1;i<t.length;i++){for(var o=t[i],a=t[i-1],s=0,l=[],c=(o.value-a.value)/e;s<e-1;){var u=Mm(a.value+(s+1)*c);u>r[0]&&u<r[1]&&l.push(u),s++}n.push(l)}return n},t.prototype.getLabel=function(e,t){if(null==e)return"";var n=t&&t.precision;return null==n?n=vr(e.value)||0:"auto"===n&&(n=this._intervalPrecision),qu(Mm(e.value,n,!0))},t.prototype.calcNiceTicks=function(e,t,n){e=e||5;var r=this._extent,i=r[1]-r[0];if(isFinite(i)){i<0&&(i=-i,r.reverse());var o=_m(r,e,t,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=Math.abs(t[0]);e.fixMax?t[0]-=n/2:(t[1]+=n/2,t[0]-=n/2)}else t[1]=1;var r=t[1]-t[0];isFinite(r)||(t[0]=0,t[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var i=this._interval;e.fixMin||(t[0]=Mm(Math.floor(t[0]/i)*i)),e.fixMax||(t[1]=Mm(Math.ceil(t[1]/i)*i))},t.prototype.setNiceExtent=function(e,t){this._niceExtent=[e,t]},t.type="interval",t}(gm);gm.registerClass(Dm);var Om=Dm,Im="undefined"!=typeof Float32Array,Lm=Im?Float32Array:Array;function Pm(e){return Object(g.isArray)(e)?Im?new Float32Array(e):e:new Lm(e)}var Fm="__ec_stack_";function Rm(e){return e.get("stack")||Fm+e.seriesIndex}function Nm(e){return e.dim+e.index}function Hm(e,t){var n=[];return t.eachSeriesByType(e,function(e){Ym(e)&&n.push(e)}),n}function jm(e){var t=function(e){var t={};Object(g.each)(e,function(e){var n=e.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var r=e.getData(),i=n.dim+"_"+n.index,o=r.getDimensionIndex(r.mapDimension(n.dim)),a=r.getStore(),s=0,l=a.count();s<l;++s){var c=a.get(o,s);t[i]?t[i].push(c):t[i]=[c]}});var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];if(i){i.sort(function(e,t){return e-t});for(var o=null,a=1;a<i.length;++a){var s=i[a]-i[a-1];s>0&&(o=null===o?s:Math.min(o,s))}n[r]=o}}return n}(e),n=[];return Object(g.each)(e,function(e){var r,i=e.coordinateSystem.getBaseAxis(),o=i.getExtent();if("category"===i.type)r=i.getBandWidth();else if("value"===i.type||"time"===i.type){var a=i.dim+"_"+i.index,s=t[a],l=Math.abs(o[1]-o[0]),c=i.scale.getExtent(),u=Math.abs(c[1]-c[0]);r=s?l/u*s:l}else{var h=e.getData();r=Math.abs(o[1]-o[0])/h.count()}var d=pr(e.get("barWidth"),r),f=pr(e.get("barMaxWidth"),r),p=pr(e.get("barMinWidth")||(Vm(e)?.5:1),r),A=e.get("barGap"),g=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:d,barMaxWidth:f,barMinWidth:p,barGap:A,barCategoryGap:g,axisKey:Nm(i),stackId:Rm(e)})}),Um(n)}function Um(e){var t={};Object(g.each)(e,function(e,n){var r=e.axisKey,i=e.bandWidth,o=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;t[r]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var c=e.barMaxWidth;c&&(a[s].maxWidth=c);var u=e.barMinWidth;u&&(a[s].minWidth=u);var h=e.barGap;null!=h&&(o.gap=h);var d=e.barCategoryGap;null!=d&&(o.categoryGap=d)});var n={};return Object(g.each)(t,function(e,t){n[t]={};var r=e.stacks,i=e.bandWidth,o=e.categoryGap;if(null==o){var a=Object(g.keys)(r).length;o=Math.max(35-4*a,15)+"%"}var s=pr(o,i),l=pr(e.gap,1),c=e.remainedWidth,u=e.autoWidthCount,h=(c-s)/(u+(u-1)*l);h=Math.max(h,0),Object(g.each)(r,function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){r=e.width;t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,c-=r+l*r,u--}else{var r=h;t&&t<r&&(r=Math.min(t,c)),n&&n>r&&(r=n),r!==h&&(e.width=r,c-=r+l*r,u--)}}),h=(c-s)/(u+(u-1)*l),h=Math.max(h,0);var d,f=0;Object(g.each)(r,function(e,t){e.width||(e.width=h),d=e,f+=e.width*(1+l)}),d&&(f-=d.width*l);var p=-f/2;Object(g.each)(r,function(e,r){n[t][r]=n[t][r]||{bandWidth:i,offset:p,width:e.width},p+=e.width*(1+l)})}),n}function Qm(e,t){var n=Hm(e,t),r=jm(n);Object(g.each)(n,function(e){var t=e.getData(),n=e.coordinateSystem.getBaseAxis(),i=Rm(e),o=r[Nm(n)][i],a=o.offset,s=o.width;t.setLayout({bandWidth:o.bandWidth,offset:a,size:s})})}function zm(e){return{seriesType:e,plan:pp(),reset:function(e){if(Ym(e)){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),o=t.getDimensionIndex(t.mapDimension(i.dim)),a=t.getDimensionIndex(t.mapDimension(r.dim)),s=e.get("showBackground",!0),l=t.mapDimension(i.dim),c=t.getCalculationInfo("stackResultDimension"),u=dm(t,l)&&!!t.getCalculationInfo("stackedOnSeries"),h=i.isHorizontal(),d=function(e,t){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}(0,i),f=Vm(e),p=e.get("barMinHeight")||0,A=c&&t.getDimensionIndex(c),g=t.getLayout("size"),v=t.getLayout("offset");return{progress:function(e,t){for(var r,i=e.count,l=f&&Pm(3*i),c=f&&s&&Pm(3*i),m=f&&Pm(i),y=n.master.getRect(),b=h?y.width:y.height,_=t.getStore(),w=0;null!=(r=e.next());){var x=_.get(u?A:o,r),C=_.get(a,r),S=d,B=void 0;u&&(B=+x-_.get(o,r));var k=void 0,T=void 0,E=void 0,M=void 0;if(h){var D=n.dataToPoint([x,C]);if(u)S=n.dataToPoint([B,C])[0];k=S,T=D[1]+v,E=D[0]-S,M=g,Math.abs(E)<p&&(E=(E<0?-1:1)*p)}else{D=n.dataToPoint([C,x]);if(u)S=n.dataToPoint([C,B])[1];k=D[0]+v,T=S,E=g,M=D[1]-S,Math.abs(M)<p&&(M=(M<=0?-1:1)*p)}f?(l[w]=k,l[w+1]=T,l[w+2]=h?E:M,c&&(c[w]=h?y.x:k,c[w+1]=h?T:y.y,c[w+2]=b),m[r]=r):t.setItemLayout(r,{x:k,y:T,width:E,height:M}),w+=3}f&&t.setLayout({largePoints:l,largeDataIndices:m,largeBackgroundPoints:c,valueAxisHorizontal:h})}}}}}}function Ym(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function Vm(e){return e.pipelineContext&&e.pipelineContext.large}var Gm=function(e){function t(t){var n=e.call(this,t)||this;return n.type="time",n}return p(t,e),t.prototype.getLabel=function(e){var t=this.getSetting("useUTC");return Pu(e.value,Mu[function(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(Lu(this._minLevelUnit))]||Mu.second,t,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,t,n){var r=this.getSetting("useUTC");return function(e,t,n,r,i){var o=null;if(g.isString(n))o=n;else if(g.isFunction(n))o=n(e.value,t,{level:e.level});else{var a=g.extend({},Eu);if(e.level>0)for(var s=0;s<Du.length;++s)a[Du[s]]="{primary|"+a[Du[s]]+"}";var l=n?!1===n.inherit?n:g.defaults(n,a):a,c=Fu(e.value,i);if(l[c])o=l[c];else if(l.inherit){for(s=Ou.indexOf(c)-1;s>=0;--s)if(l[c]){o=l[c];break}o=o||a.none}if(g.isArray(o)){var u=null==e.level?0:e.level>=0?e.level:o.length+e.level;o=o[u=Math.min(u,o.length-1)]}}return Pu(new Date(e.value),o,i,r)}(e,t,n,this.getSetting("locale"),r)},t.prototype.getTicks=function(){var e=this._interval,t=this._extent,n=[];if(!e)return n;n.push({value:t[0],level:0});var r=this.getSetting("useUTC"),i=function(e,t,n,r){var i=Ou,o=0;function a(e,t,n,i,o,a,s){for(var l=new Date(t),c=t,u=l[i]();c<n&&c<=r[1];)s.push({value:c}),u+=e,l[o](u),c=l.getTime();s.push({value:c,notAdd:!0})}function s(e,i,o){var s=[],l=!i.length;if(!function(e,t,n,r){var i=kr(t),o=kr(n),a=function(e){return Ru(i,e,r)===Ru(o,e,r)},s=function(){return a("year")},l=function(){return s()&&a("month")},c=function(){return l()&&a("day")},u=function(){return c()&&a("hour")},h=function(){return u()&&a("minute")},d=function(){return h()&&a("second")};switch(e){case"year":return s();case"month":return l();case"day":return c();case"hour":return u();case"minute":return h();case"second":return d();case"millisecond":return d()&&a("millisecond")}}(Lu(e),r[0],r[1],n)){l&&(i=[{value:function(e,t,n){var r=new Date(e);switch(Lu(t)){case"year":case"month":r[Gu(n)](0);case"day":r[Wu(n)](1);case"hour":r[Xu(n)](0);case"minute":r[Zu(n)](0);case"second":r[$u(n)](0),r[Ku(n)](0)}return r.getTime()}(new Date(r[0]),e,n)},{value:r[1]}]);for(var c=0;c<i.length-1;c++){var u=i[c].value,h=i[c+1].value;if(u!==h){var d=void 0,f=void 0,p=void 0,A=!1;switch(e){case"year":d=Math.max(1,Math.round(t/ku/365)),f=Nu(n),p=Vu(n);break;case"half-year":case"quarter":case"month":d=Zm(t),f=Hu(n),p=Gu(n);break;case"week":case"half-week":case"day":d=Xm(t,31),f=ju(n),p=Wu(n),A=!0;break;case"half-day":case"quarter-day":case"hour":d=$m(t),f=Uu(n),p=Xu(n);break;case"minute":d=Km(t,!0),f=Qu(n),p=Zu(n);break;case"second":d=Km(t,!1),f=zu(n),p=$u(n);break;case"millisecond":d=Jm(t),f=Yu(n),p=Ku(n)}a(d,u,h,f,p,A,s),"year"===e&&o.length>1&&0===c&&o.unshift({value:o[0].value-d})}}for(var c=0;c<s.length;c++)o.push(s[c]);return s}}for(var l=[],c=[],u=0,h=0,d=0;d<i.length&&o++<1e4;++d){var f=Lu(i[d]);if((b=i[d])===Lu(b)){s(i[d],l[l.length-1]||[],c);var p=i[d+1]?Lu(i[d+1]):null;if(f!==p){if(c.length){h=u,c.sort(function(e,t){return e.value-t.value});for(var A=[],v=0;v<c.length;++v){var m=c[v].value;0!==v&&c[v-1].value===m||(A.push(c[v]),m>=r[0]&&m<=r[1]&&u++)}var y=(r[1]-r[0])/t;if(u>1.5*y&&h>y/1.5)break;if(l.push(A),u>y||e===i[d])break}c=[]}}}var b;0;for(var _=Object(g.filter)(Object(g.map)(l,function(e){return Object(g.filter)(e,function(e){return e.value>=r[0]&&e.value<=r[1]&&!e.notAdd})}),function(e){return e.length>0}),w=[],x=_.length-1,d=0;d<_.length;++d)for(var C=_[d],S=0;S<C.length;++S)w.push({value:C[S].value,level:x-d});w.sort(function(e,t){return e.value-t.value});for(var B=[],d=0;d<w.length;++d)0!==d&&w[d].value===w[d-1].value||B.push(w[d]);return B}(this._minLevelUnit,this._approxInterval,r,t);return(n=n.concat(i)).push({value:t[1],level:0}),n},t.prototype.calcNiceExtent=function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=ku,t[1]+=ku),t[1]===-1/0&&t[0]===1/0){var n=new Date;t[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),t[0]=t[1]-ku}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,t,n){e=e||10;var r=this._extent,i=r[1]-r[0];this._approxInterval=i/e,null!=t&&this._approxInterval<t&&(this._approxInterval=t),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=Wm.length,a=Math.min(function(e,t,n,r){for(;n<r;){var i=n+r>>>1;e[i][1]<t?n=i+1:r=i}return n}(Wm,this._approxInterval,0,o),o-1);this._interval=Wm[a][1],this._minLevelUnit=Wm[Math.max(a-1,0)][0]},t.prototype.parse=function(e){return Object(g.isNumber)(e)?e:+kr(e)},t.prototype.contain=function(e){return Sm(this.parse(e),this._extent)},t.prototype.normalize=function(e){return Bm(this.parse(e),this._extent)},t.prototype.scale=function(e){return km(e,this._extent)},t.type="time",t}(Om),Wm=[["second",Cu],["minute",Su],["hour",Bu],["quarter-day",6*Bu],["half-day",12*Bu],["day",1.2*ku],["half-week",3.5*ku],["week",7*ku],["month",31*ku],["quarter",95*ku],["half-year",Tu/2],["year",Tu]];function Xm(e,t){return(e/=ku)>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function Zm(e){return(e/=30*ku)>6?6:e>3?3:e>2?2:1}function $m(e){return(e/=Bu)>12?12:e>6?6:e>3.5?4:e>2?2:1}function Km(e,t){return(e/=t?Su:Cu)>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function Jm(e){return Mr(e,!0)}gm.registerClass(Gm);var qm=Gm,ey=gm.prototype,ty=Om.prototype,ny=Ar,ry=Math.floor,iy=Math.ceil,oy=Math.pow,ay=Math.log,sy=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="log",t.base=10,t._originalScale=new Om,t._interval=0,t}return p(t,e),t.prototype.getTicks=function(e){var t=this._originalScale,n=this._extent,r=t.getExtent(),i=ty.getTicks.call(this,e);return g.map(i,function(e){var t=e.value,i=Ar(oy(this.base,t));return i=t===n[0]&&this._fixMin?cy(i,r[0]):i,{value:i=t===n[1]&&this._fixMax?cy(i,r[1]):i}},this)},t.prototype.setExtent=function(e,t){var n=ay(this.base);e=ay(Math.max(0,e))/n,t=ay(Math.max(0,t))/n,ty.setExtent.call(this,e,t)},t.prototype.getExtent=function(){var e=this.base,t=ey.getExtent.call(this);t[0]=oy(e,t[0]),t[1]=oy(e,t[1]);var n=this._originalScale.getExtent();return this._fixMin&&(t[0]=cy(t[0],n[0])),this._fixMax&&(t[1]=cy(t[1],n[1])),t},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=ay(e[0])/ay(t),e[1]=ay(e[1])/ay(t),ey.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},t.prototype.calcNiceTicks=function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r=Tr(n);for(e/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var i=[Ar(iy(t[0]/r)*r),Ar(ry(t[1]/r)*r)];this._interval=r,this._niceExtent=i}},t.prototype.calcNiceExtent=function(e){ty.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return Sm(e=ay(e)/ay(this.base),this._extent)},t.prototype.normalize=function(e){return Bm(e=ay(e)/ay(this.base),this._extent)},t.prototype.scale=function(e){return e=km(e,this._extent),oy(this.base,e)},t.type="log",t}(gm),ly=sy.prototype;function cy(e,t){return ny(e,vr(t))}ly.getMinorTicks=ty.getMinorTicks,ly.getLabel=ty.getLabel,gm.registerClass(sy);var uy=sy,hy=function(){function e(e,t,n){this._prepareParams(e,t,n)}return e.prototype._prepareParams=function(e,t,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var r=this._isOrdinal="ordinal"===e.type;this._needCrossZero="interval"===e.type&&t.getNeedCrossZero&&t.getNeedCrossZero();var i=this._modelMinRaw=t.get("min",!0);Object(g.isFunction)(i)?this._modelMinNum=Ay(e,i({min:n[0],max:n[1]})):"dataMin"!==i&&(this._modelMinNum=Ay(e,i));var o=this._modelMaxRaw=t.get("max",!0);if(Object(g.isFunction)(o)?this._modelMaxNum=Ay(e,o({min:n[0],max:n[1]})):"dataMax"!==o&&(this._modelMaxNum=Ay(e,o)),r)this._axisDataLen=t.getCategories().length;else{var a=t.get("boundaryGap"),s=Object(g.isArray)(a)?a:[a||0,a||0];"boolean"==typeof s[0]||"boolean"==typeof s[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[zn(s[0],1),zn(s[1],1)]}},e.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,n=this._dataMax,r=this._axisDataLen,i=this._boundaryGapInner,o=e?null:n-t||Math.abs(t),a="dataMin"===this._modelMinRaw?t:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=a,c=null!=s;null==a&&(a=e?r?0:NaN:t-i[0]*o),null==s&&(s=e?r?r-1:NaN:n+i[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var u=Object(g.eqNaN)(a)||Object(g.eqNaN)(s)||e&&!r;this._needCrossZero&&(a>0&&s>0&&!l&&(a=0),a<0&&s<0&&!c&&(s=0));var h=this._determinedMin,d=this._determinedMax;return null!=h&&(a=h,l=!0),null!=d&&(s=d,c=!0),{min:a,max:s,minFixed:l,maxFixed:c,isBlank:u}},e.prototype.modifyDataMinMax=function(e,t){this[fy[e]]=t},e.prototype.setDeterminedMinMax=function(e,t){var n=dy[e];this[n]=t},e.prototype.freeze=function(){this.frozen=!0},e}(),dy={min:"_determinedMin",max:"_determinedMax"},fy={min:"_dataMin",max:"_dataMax"};function py(e,t,n){var r=e.rawExtentInfo;return r||(r=new hy(e,t,n),e.rawExtentInfo=r,r)}function Ay(e,t){return null==t?null:Object(g.eqNaN)(t)?NaN:e.parse(t)}function gy(e,t){var n=e.type,r=py(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var i=r.min,o=r.max,a=t.ecModel;if(a&&"time"===n){var s=Hm("bar",a),l=!1;if(g.each(s,function(e){l=l||e.getBaseAxis()===t.axis}),l){var c=jm(s),u=function(e,t,n,r){var i=n.axis.getExtent(),o=i[1]-i[0],a=function(e,t,n){if(e&&t){var r=e[Nm(t)];return null!=r&&null!=n?r[Rm(n)]:r}}(r,n.axis);if(void 0===a)return{min:e,max:t};var s=1/0;g.each(a,function(e){s=Math.min(e.offset,s)});var l=-1/0;g.each(a,function(e){l=Math.max(e.offset+e.width,l)}),s=Math.abs(s),l=Math.abs(l);var c=s+l,u=t-e,h=u/(1-(s+l)/o)-u;return{min:e-=h*(s/c),max:t+=h*(l/c)}}(i,o,t,c);i=u.min,o=u.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function vy(e,t){var n=t,r=gy(e,n),i=r.extent,o=n.get("splitNumber");e instanceof uy&&(e.base=n.get("logBase"));var a=e.type,s=n.get("interval"),l="interval"===a||"time"===a;e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&e.setInterval&&e.setInterval(s)}function my(e,t){if(t=t||e.get("type"))switch(t){case"category":return new Em({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new qm({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(gm.getClass(t)||Om)}}function yy(e){var t,n,r=e.getLabelModel().get("formatter"),i="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?(n=r,function(t,r){return e.scale.getFormattedLabel(t,r,n)}):g.isString(r)?function(t){return function(n){var r=e.scale.getLabel(n);return t.replace("{value}",null!=r?r:"")}}(r):g.isFunction(r)?(t=r,function(n,r){return null!=i&&(r=n.value-i),t(by(e,n),r,null!=n.level?{level:n.level}:null)}):function(t){return e.scale.getLabel(t)}}function by(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function _y(e){var t=e.get("interval");return null==t?"auto":t}function wy(e){return"category"===e.type&&0===_y(e.getLabelModel())}function xy(e,t){var n={};return g.each(e.mapDimensionsAll(t),function(t){n[fm(e,t)]=!0}),g.keys(n)}var Cy=function(){function e(){}return e.prototype.getNeedCrossZero=function(){return!this.option.scale},e.prototype.getCoordSysModel=function(){},e}();function Sy(e){return pm(null,e)}var By={isDimensionStacked:dm,enableDataStack:hm,getStackedDimension:fm};function ky(e,t){var n=t;t instanceof du||(n=new du(t));var r=my(n);return r.setExtent(e[0],e[1]),vy(r,n),r}function Ty(e){g.mixin(e,Cy)}function Ey(e,t){return zc(e,null,null,"normal"!==(t=t||{}).state)}var My=1e-8;function Dy(e,t){return Math.abs(e-t)<My}function Oy(e,t,n){var r=0,i=e[0];if(!i)return!1;for(var o=1;o<e.length;o++){var a=e[o];r+=Ro(i[0],i[1],a[0],a[1],t,n),i=a}var s=e[0];return Dy(i[0],s[0])&&Dy(i[1],s[1])||(r+=Ro(i[0],i[1],s[0],s[1],t,n)),0!==r}var Iy=[];function Ly(e,t){for(var n=0;n<e.length;n++)H(e[n],e[n],t)}function Py(e,t,n,r){for(var i=0;i<e.length;i++){var o=e[i];r&&(o=r.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(j(t,t,o),U(n,n,o))}}var Fy=function(){function e(e){this.name=e}return e.prototype.setCenter=function(e){this._center=e},e.prototype.getCenter=function(){var e=this._center;return e||(e=this._center=this.calcCenter()),e},e}(),Ry=function(){return function(e,t){this.type="polygon",this.exterior=e,this.interiors=t}}(),Ny=function(){return function(e){this.type="linestring",this.points=e}}(),Hy=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.type="geoJSON",i.geometries=n,i._center=r&&[r[0],r[1]],i}return p(t,e),t.prototype.calcCenter=function(){for(var e,t=this.geometries,n=0,r=0;r<t.length;r++){var i=t[r],o=i.exterior,a=o&&o.length;a>n&&(e=i,n=a)}if(e)return function(e){for(var t=0,n=0,r=0,i=e.length,o=e[i-1][0],a=e[i-1][1],s=0;s<i;s++){var l=e[s][0],c=e[s][1],u=o*c-l*a;t+=u,n+=(o+l)*u,r+=(a+c)*u,o=l,a=c}return t?[n/t/3,r/t/3,t]:[e[0][0]||0,e[0][1]||0]}(e.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},t.prototype.getBoundingRect=function(e){var t=this._rect;if(t&&!e)return t;var n=[1/0,1/0],r=[-1/0,-1/0],i=this.geometries;return Object(g.each)(i,function(t){"polygon"===t.type?Py(t.exterior,n,r,e):Object(g.each)(t.points,function(t){Py(t,n,r,e)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),t=new Oe(n[0],n[1],r[0]-n[0],r[1]-n[1]),e||(this._rect=t),t},t.prototype.contain=function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var r=0,i=n.length;r<i;r++){var o=n[r];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(Oy(a,e[0],e[1])){for(var l=0;l<(s?s.length:0);l++)if(Oy(s[l],e[0],e[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=i.width/i.height;n?r||(r=n/o):n=o*r;for(var a=new Oe(e,t,n,r),s=i.calculateTransform(a),l=this.geometries,c=0;c<l.length;c++){var u=l[c];"polygon"===u.type?(Ly(u.exterior,s),Object(g.each)(u.interiors,function(e){Ly(e,s)})):Object(g.each)(u.points,function(e){Ly(e,s)})}(i=this._rect).copy(a),this._center=[i.x+i.width/2,i.y+i.height/2]},t.prototype.cloneShallow=function(e){null==e&&(e=this.name);var n=new t(e,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},t}(Fy),jy=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="geoSVG",r._elOnlyForCalculate=n,r}return p(t,e),t.prototype.calcCenter=function(){for(var e=this._elOnlyForCalculate,t=e.getBoundingRect(),n=[t.x+t.width/2,t.y+t.height/2],r=Ae(Iy),i=e;i&&!i.isGeoSVGGraphicRoot;)ve(r,i.getLocalTransform(),r),i=i.parent;return _e(r,r),H(n,n,r),n},t}(Fy);function Uy(e,t,n){for(var r=0;r<e.length;r++)e[r]=Qy(e[r],t[r],n)}function Qy(e,t,n){for(var r=[],i=t[0],o=t[1],a=0;a<e.length;a+=2){var s=e.charCodeAt(a)-64,l=e.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),i=s+=i,o=l+=o,r.push([s/n,l/n])}return r}function zy(e,t){return e=function(e){if(!e.UTF8Encoding)return e;var t=e,n=t.UTF8Scale;null==n&&(n=1024);var r=t.features;return g.each(r,function(e){var t=e.geometry,r=t.encodeOffsets,i=t.coordinates;if(r)switch(t.type){case"LineString":t.coordinates=Qy(i,r,n);break;case"Polygon":case"MultiLineString":Uy(i,r,n);break;case"MultiPolygon":g.each(i,function(e,t){return Uy(e,r[t],n)})}}),t.UTF8Encoding=!1,t}(e),g.map(g.filter(e.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var n=e.properties,r=e.geometry,i=[];switch(r.type){case"Polygon":var o=r.coordinates;i.push(new Ry(o[0],o.slice(1)));break;case"MultiPolygon":g.each(r.coordinates,function(e){e[0]&&i.push(new Ry(e[0],e.slice(1)))});break;case"LineString":i.push(new Ny([r.coordinates]));break;case"MultiLineString":i.push(new Ny(r.coordinates))}var a=new Hy(n[t||"name"],i,n.cp);return a.properties=n,a})}var Yy=ei();function Vy(e){return"category"===e.type?function(e){var t=e.getLabelModel(),n=Wy(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(e):function(e){var t=e.scale.getTicks(),n=yy(e);return{labels:g.map(t,function(t,r){return{level:t.level,formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tickValue:t.value}})}}(e)}function Gy(e,t){return"category"===e.type?function(e,t){var n,r,i=Xy(e,"ticks"),o=_y(t),a=Zy(i,o);if(a)return a;t.get("show")&&!e.scale.isBlank()||(n=[]);if(g.isFunction(o))n=Jy(e,o,!0);else if("auto"===o){var s=Wy(e,e.getLabelModel());r=s.labelCategoryInterval,n=g.map(s.labels,function(e){return e.tickValue})}else n=Ky(e,r=o,!0);return $y(i,o,{ticks:n,tickCategoryInterval:r})}(e,t):{ticks:g.map(e.scale.getTicks(),function(e){return e.value})}}function Wy(e,t){var n,r=Xy(e,"labels"),i=_y(t),o=Zy(r,i);return o||$y(r,i,{labels:g.isFunction(i)?Jy(e,i):Ky(e,n="auto"===i?function(e){var t=Yy(e).autoInterval;return null!=t?t:Yy(e).autoInterval=e.calculateCategoryInterval()}(e):i),labelCategoryInterval:n})}function Xy(e,t){return Yy(e)[t]||(Yy(e)[t]=[])}function Zy(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function $y(e,t,n){return e.push({key:t,value:n}),n}function Ky(e,t,n){var r=yy(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),c=o[0],u=i.count();0!==c&&l>1&&u/l>2&&(c=Math.round(Math.ceil(c/l)*l));var h=wy(e),d=a.get("showMinLabel")||h,f=a.get("showMaxLabel")||h;d&&c!==o[0]&&A(o[0]);for(var p=c;p<=o[1];p+=l)A(p);function A(e){var t={value:e};s.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return f&&p-l!==o[1]&&A(o[1]),s}function Jy(e,t,n){var r=e.scale,i=yy(e),o=[];return g.each(r.getTicks(),function(e){var a=r.getLabel(e),s=e.value;t(e.value,a)&&o.push(n?s:{formattedLabel:i(e),rawLabel:a,tickValue:s})}),o}var qy=[0,1];function eb(e,t){var n=(e[1]-e[0])/t/2;e[0]+=n,e[1]-=n}var tb=function(){function e(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}return e.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return yr(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&eb(n=n.slice(),r.count()),fr(e,qy,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&eb(n=n.slice(),r.count());var i=fr(e,n,qy,t);return this.scale.scale(i)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){var t=(e=e||{}).tickModel||this.getTickModel(),n=Gy(this,t).ticks,r=Object(g.map)(n,function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}},this);return function(e,t,n,r){var i=t.length;if(!e.onBand||n||!i)return;var o,a,s=e.getExtent();if(1===i)t[0].coord=s[0],o=t[1]={coord:s[0]};else{var l=t[i-1].tickValue-t[0].tickValue,c=(t[i-1].coord-t[0].coord)/l;Object(g.each)(t,function(e){e.coord-=c/2});var u=e.scale.getExtent();a=1+u[1]-t[i-1].tickValue,o={coord:t[i-1].coord+c*a},t.push(o)}var h=s[0]>s[1];d(t[0].coord,s[0])&&(r?t[0].coord=s[0]:t.shift());r&&d(s[0],t[0].coord)&&t.unshift({coord:s[0]});d(s[1],o.coord)&&(r?o.coord=s[1]:t.pop());r&&d(o.coord,s[1])&&t.push({coord:s[1]});function d(e,t){return e=Ar(e),t=Ar(t),h?e>t:e<t}}(this,r,t.get("alignWithLabel"),e.clamp),r},e.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick").get("splitNumber");e>0&&e<100||(e=5);var t=this.scale.getMinorTicks(e);return Object(g.map)(t,function(e){return Object(g.map)(e,function(e){return{coord:this.dataToCoord(e),tickValue:e}},this)},this)},e.prototype.getViewLabels=function(){return Vy(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return function(e){var t=function(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}(e),n=yy(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.scale,o=i.getExtent(),a=i.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],c=e.dataToCoord(l+1)-e.dataToCoord(l),u=Math.abs(c*Math.cos(r)),h=Math.abs(c*Math.sin(r)),d=0,f=0;l<=o[1];l+=s){var p,A,g=Hn(n({value:l}),t.font,"center","top");p=1.3*g.width,A=1.3*g.height,d=Math.max(d,p,7),f=Math.max(f,A,7)}var v=d/u,m=f/h;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var y=Math.max(0,Math.floor(Math.min(v,m))),b=Yy(e.model),_=e.getExtent(),w=b.lastAutoInterval,x=b.lastTickCount;return null!=w&&null!=x&&Math.abs(w-y)<=1&&Math.abs(x-a)<=1&&w>y&&b.axisExtent0===_[0]&&b.axisExtent1===_[1]?y=w:(b.lastTickCount=a,b.lastAutoInterval=y,b.axisExtent0=_[0],b.axisExtent1=_[1]),y}(this)},e}();function nb(e){var t=Ch.extend(e);return Ch.registerClass(t),t}function rb(e){var t=fp.extend(e);return fp.registerClass(t),t}function ib(e){var t=hp.extend(e);return hp.registerClass(t),t}function ob(e){var t=xp.extend(e);return xp.registerClass(t),t}var ab=2*Math.PI,sb=Eo.CMD,lb=["top","right","bottom","left"];function cb(e,t,n,r,i){var o=n.width,a=n.height;switch(e){case"top":r.set(n.x+o/2,n.y-t),i.set(0,-1);break;case"bottom":r.set(n.x+o/2,n.y+a+t),i.set(0,1);break;case"left":r.set(n.x-t,n.y+a/2),i.set(-1,0);break;case"right":r.set(n.x+o+t,n.y+a/2),i.set(1,0)}}function ub(e,t,n,r,i,o,a,s,l){a-=e,s-=t;var c=Math.sqrt(a*a+s*s),u=(a/=c)*n+e,h=(s/=c)*n+t;if(Math.abs(r-i)%ab<1e-4)return l[0]=u,l[1]=h,c-n;if(o){var d=r;r=Lo(i),i=Lo(d)}else r=Lo(r),i=Lo(i);r>i&&(i+=ab);var f=Math.atan2(s,a);if(f<0&&(f+=ab),f>=r&&f<=i||f+ab>=r&&f+ab<=i)return l[0]=u,l[1]=h,c-n;var p=n*Math.cos(r)+e,A=n*Math.sin(r)+t,g=n*Math.cos(i)+e,v=n*Math.sin(i)+t,m=(p-a)*(p-a)+(A-s)*(A-s),y=(g-a)*(g-a)+(v-s)*(v-s);return m<y?(l[0]=p,l[1]=A,Math.sqrt(m)):(l[0]=g,l[1]=v,Math.sqrt(y))}function hb(e,t,n,r,i,o,a,s){var l=i-e,c=o-t,u=n-e,h=r-t,d=Math.sqrt(u*u+h*h),f=(l*(u/=d)+c*(h/=d))/d;s&&(f=Math.min(Math.max(f,0),1)),f*=d;var p=a[0]=e+f*u,A=a[1]=t+f*h;return Math.sqrt((p-i)*(p-i)+(A-o)*(A-o))}function db(e,t,n,r,i,o,a){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r);var s=e+n,l=t+r,c=a[0]=Math.min(Math.max(i,e),s),u=a[1]=Math.min(Math.max(o,t),l);return Math.sqrt((c-i)*(c-i)+(u-o)*(u-o))}var fb=[];function pb(e,t,n){var r=db(t.x,t.y,t.width,t.height,e.x,e.y,fb);return n.set(fb[0],fb[1]),r}function Ab(e,t,n){for(var r,i,o=0,a=0,s=0,l=0,c=1/0,u=t.data,h=e.x,d=e.y,f=0;f<u.length;){var p=u[f++];1===f&&(s=o=u[f],l=a=u[f+1]);var A=c;switch(p){case sb.M:o=s=u[f++],a=l=u[f++];break;case sb.L:A=hb(o,a,u[f],u[f+1],h,d,fb,!0),o=u[f++],a=u[f++];break;case sb.C:A=xt(o,a,u[f++],u[f++],u[f++],u[f++],u[f],u[f+1],h,d,fb),o=u[f++],a=u[f++];break;case sb.Q:A=Et(o,a,u[f++],u[f++],u[f],u[f+1],h,d,fb),o=u[f++],a=u[f++];break;case sb.A:var g=u[f++],v=u[f++],m=u[f++],y=u[f++],b=u[f++],_=u[f++];f+=1;var w=!!(1-u[f++]);r=Math.cos(b)*m+g,i=Math.sin(b)*y+v,f<=1&&(s=r,l=i),A=ub(g,v,y,b,b+_,w,(h-g)*y/m+g,d,fb),o=Math.cos(b+_)*m+g,a=Math.sin(b+_)*y+v;break;case sb.R:A=db(s=o=u[f++],l=a=u[f++],u[f++],u[f++],h,d,fb);break;case sb.Z:A=hb(o,a,s,l,h,d,fb,!0),o=s,a=l}A<c&&(c=A,n.set(fb[0],fb[1]))}return c}var gb=new xe,vb=new xe,mb=new xe,yb=new xe,bb=new xe;function _b(e,t){if(e){var n=e.getTextGuideLine(),r=e.getTextContent();if(r&&n){var i=e.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=i.candidates||lb,s=r.getBoundingRect().clone();s.applyTransform(r.getComputedTransform());var l=1/0,c=i.anchor,u=e.getComputedTransform(),h=u&&_e([],u),d=t.get("length2")||0;c&&mb.copy(c);for(var f=0;f<a.length;f++){cb(a[f],0,s,gb,yb),xe.scaleAndAdd(vb,gb,yb,d),vb.transform(h);var p=e.getBoundingRect(),A=c?c.distance(vb):e instanceof $o?Ab(vb,e.path,mb):pb(vb,p,mb);A<l&&(l=A,vb.transform(u),mb.transform(u),mb.toArray(o[0]),vb.toArray(o[1]),gb.toArray(o[2]))}Cb(o,t.get("minTurnAngle")),n.setShape({points:o})}}}var wb=[],xb=new xe;function Cb(e,t){if(t<=180&&t>0){t=t/180*Math.PI,gb.fromArray(e[0]),vb.fromArray(e[1]),mb.fromArray(e[2]),xe.sub(yb,gb,vb),xe.sub(bb,mb,vb);var n=yb.len(),r=bb.len();if(!(n<.001||r<.001)){yb.scale(1/n),bb.scale(1/r);var i=yb.dot(bb);if(Math.cos(t)<i){var o=hb(vb.x,vb.y,mb.x,mb.y,gb.x,gb.y,wb,!1);xb.fromArray(wb),xb.scaleAndAdd(bb,o/Math.tan(Math.PI-t));var a=mb.x!==vb.x?(xb.x-vb.x)/(mb.x-vb.x):(xb.y-vb.y)/(mb.y-vb.y);if(isNaN(a))return;a<0?xe.copy(xb,vb):a>1&&xe.copy(xb,mb),xb.toArray(e[1])}}}}function Sb(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,gb.fromArray(e[0]),vb.fromArray(e[1]),mb.fromArray(e[2]),xe.sub(yb,vb,gb),xe.sub(bb,mb,vb);var r=yb.len(),i=bb.len();if(!(r<.001||i<.001))if(yb.scale(1/r),bb.scale(1/i),yb.dot(t)<Math.cos(n)){var o=hb(vb.x,vb.y,mb.x,mb.y,gb.x,gb.y,wb,!1);xb.fromArray(wb);var a=Math.PI/2,s=a+Math.acos(bb.dot(t))-n;if(s>=a)xe.copy(xb,mb);else{xb.scaleAndAdd(bb,o/Math.tan(Math.PI/2-s));var l=mb.x!==vb.x?(xb.x-vb.x)/(mb.x-vb.x):(xb.y-vb.y)/(mb.y-vb.y);if(isNaN(l))return;l<0?xe.copy(xb,vb):l>1&&xe.copy(xb,mb)}xb.toArray(e[1])}}}function Bb(e,t,n,r){var i="normal"===n,o=i?e:e.ensureState(n);o.ignore=t;var a=r.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?e.useStyle(s):o.style=s}function kb(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=L(r[0],r[1]),o=L(r[1],r[2]);if(!i||!o)return e.lineTo(r[1][0],r[1][1]),void e.lineTo(r[2][0],r[2][1]);var a=Math.min(i,o)*n,s=N([],r[1],r[0],a/i),l=N([],r[1],r[2],a/o),c=N([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],c[0],c[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var u=1;u<r.length;u++)e.lineTo(r[u][0],r[u][1])}function Tb(e,t,n){var r=e.getTextGuideLine(),i=e.getTextContent();if(i){for(var o=t.normal,a=o.get("show"),s=i.ignore,l=0;l<Na.length;l++){var c=Na[l],u=t[c],h="normal"===c;if(u){var d=u.get("show");if((h?s:Object(g.retrieve2)(i.states[c]&&i.states[c].ignore,s))||!Object(g.retrieve2)(d,a)){var f=h?r:r&&r.states[c];f&&(f.ignore=!0);continue}r||(r=new Tl,e.setTextGuideLine(r),h||!s&&a||Bb(r,!0,"normal",t.normal),e.stateProxy&&(r.stateProxy=e.stateProxy)),Bb(r,!1,c,u)}}if(r){Object(g.defaults)(r.style,n),r.style.fill=null;var p=o.get("showAbove");(e.textGuideLineConfig=e.textGuideLineConfig||{}).showAbove=p||!1,r.buildPath=kb}}else r&&e.removeTextGuideLine()}function Eb(e,t){t=t||"labelLine";for(var n={normal:e.getModel(t)},r=0;r<Ra.length;r++){var i=Ra[r];n[i]=e.getModel([i,t])}return n}function Mb(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(!r.defaultAttr.ignore){var i=r.label,o=i.getComputedTransform(),a=i.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=i.style.margin||0,c=a.clone();c.applyTransform(o),c.x-=l/2,c.y-=l/2,c.width+=l,c.height+=l;var u=s?new Zl(a,o):null;t.push({label:i,labelLine:r.labelLine,rect:c,localRect:a,obb:u,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:s,transform:o})}}return t}function Db(e,t,n,r,i,o){var a=e.length;if(!(a<2)){e.sort(function(e,n){return e.rect[t]-n.rect[t]});for(var s,l=0,c=!1,u=[],h=0,d=0;d<a;d++){var f=e[d],p=f.rect;(s=p[t]-l)<0&&(p[t]-=s,f.label[t]-=s,c=!0);var A=Math.max(-s,0);u.push(A),h+=A,l=p[t]+p[n]}h>0&&o&&w(-h/a,0,a);var g,v,m=e[0],y=e[a-1];return b(),g<0&&x(-g,.8),v<0&&x(v,.8),b(),_(g,v,1),_(v,g,-1),b(),g<0&&C(-g),v<0&&C(v),c}function b(){g=m.rect[t]-r,v=i-y.rect[t]-y.rect[n]}function _(e,t,n){if(e<0){var r=Math.min(t,-e);if(r>0){w(r*n,0,a);var i=r+e;i<0&&x(-i*n,1)}else x(-e*n,1)}}function w(n,r,i){0!==n&&(c=!0);for(var o=r;o<i;o++){var a=e[o];a.rect[t]+=n,a.label[t]+=n}}function x(r,i){for(var o=[],s=0,l=1;l<a;l++){var c=e[l-1].rect,u=Math.max(e[l].rect[t]-c[t]-c[n],0);o.push(u),s+=u}if(s){var h=Math.min(Math.abs(r)/s,i);if(r>0)for(l=0;l<a-1;l++){w(o[l]*h,0,l+1)}else for(l=a-1;l>0;l--){w(-(o[l-1]*h),l,a)}}}function C(e){var t=e<0?-1:1;e=Math.abs(e);for(var n=Math.ceil(e/(a-1)),r=0;r<a-1;r++)if(t>0?w(n,0,r+1):w(-n,a-r-1,a),(e-=n)<=0)return}}function Ob(e,t,n,r){return Db(e,"y","height",t,n,r)}function Ib(e){var t=[];e.sort(function(e,t){return t.priority-e.priority});var n=new Oe(0,0,0,0);function r(e){if(!e.ignore){var t=e.ensureState("emphasis");null==t.ignore&&(t.ignore=!1)}e.ignore=!0}for(var i=0;i<e.length;i++){var o=e[i],a=o.axisAligned,s=o.localRect,l=o.transform,c=o.label,u=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var h=o.obb,d=!1,f=0;f<t.length;f++){var p=t[f];if(n.intersect(p.rect)){if(a&&p.axisAligned){d=!0;break}if(p.obb||(p.obb=new Zl(p.localRect,p.transform)),h||(h=new Zl(s,l)),h.intersect(p.obb)){d=!0;break}}}d?(r(c),u&&r(u)):(c.attr("ignore",o.defaultAttr.ignore),u&&u.attr("ignore",o.defaultAttr.labelGuideIgnore),t.push(o))}}function Lb(e,t){var n=e.label,r=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:function(e){if(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].slice());return t}}(r&&r.shape.points)}}var Pb=["align","verticalAlign","width","height","fontSize"],Fb=new In,Rb=ei(),Nb=ei();function Hb(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];null!=t[i]&&(e[i]=t[i])}}var jb=["x","y","rotation"],Ub=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(e,t,n,r,i){var o=r.style,a=r.__hostTarget.textConfig||{},s=r.getComputedTransform(),l=r.getBoundingRect().plain();Oe.applyTransform(l,l,s),s?Fb.setLocalTransform(s):(Fb.x=Fb.y=Fb.rotation=Fb.originX=Fb.originY=0,Fb.scaleX=Fb.scaleY=1);var c,u=r.__hostTarget;if(u){c=u.getBoundingRect().plain();var h=u.getComputedTransform();Oe.applyTransform(c,c,h)}var d=c&&u.getTextGuideLine();this._labelList.push({label:r,labelLine:d,seriesModel:n,dataIndex:e,dataType:t,layoutOption:i,computedLayoutOption:null,rect:l,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:d&&d.ignore,x:Fb.x,y:Fb.y,scaleX:Fb.scaleX,scaleY:Fb.scaleY,rotation:Fb.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:r.cursor,attachedPos:a.position,attachedRot:a.rotation}})},e.prototype.addLabelsOfSeries=function(e){var t=this;this._chartViewList.push(e);var n=e.__model,r=n.get("labelLayout");(Object(g.isFunction)(r)||Object(g.keys)(r).length)&&e.group.traverse(function(e){if(e.ignore)return!0;var i=e.getTextContent(),o=Ta(e);i&&!i.disableLabelLayout&&t._addLabel(o.dataIndex,o.dataType,n,i,r)})},e.prototype.updateLayoutConfig=function(e){var t=e.getWidth(),n=e.getHeight();function r(e,t){return function(){_b(e,t)}}for(var i=0;i<this._labelList.length;i++){var o=this._labelList[i],a=o.label,s=a.__hostTarget,l=o.defaultAttr,c=void 0;c=(c=Object(g.isFunction)(o.layoutOption)?o.layoutOption(Lb(o,s)):o.layoutOption)||{},o.computedLayoutOption=c;var u=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=c.x||null!=c.y?null:l.attachedPos,rotation:null!=c.rotate?c.rotate*u:l.attachedRot,offset:[c.dx||0,c.dy||0]});var h=!1;if(null!=c.x?(a.x=pr(c.x,t),a.setStyle("x",0),h=!0):(a.x=l.x,a.setStyle("x",l.style.x)),null!=c.y?(a.y=pr(c.y,n),a.setStyle("y",0),h=!0):(a.y=l.y,a.setStyle("y",l.style.y)),c.labelLinePoints){var d=s.getTextGuideLine();d&&(d.setShape({points:c.labelLinePoints}),h=!1)}Rb(a).needsUpdateLabelLine=h,a.rotation=null!=c.rotate?c.rotate*u:l.rotation,a.scaleX=l.scaleX,a.scaleY=l.scaleY;for(var f=0;f<Pb.length;f++){var p=Pb[f];a.setStyle(p,null!=c[p]?c[p]:l.style[p])}if(c.draggable){if(a.draggable=!0,a.cursor="move",s){var A=o.seriesModel;if(null!=o.dataIndex)A=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex);a.on("drag",r(s,A.getModel("labelLine")))}}else a.off("drag"),a.cursor=l.cursor}},e.prototype.layout=function(e){var t,n=e.getWidth(),r=e.getHeight(),i=Mb(this._labelList),o=Object(g.filter)(i,function(e){return"shiftX"===e.layoutOption.moveOverlap}),a=Object(g.filter)(i,function(e){return"shiftY"===e.layoutOption.moveOverlap});Db(o,"x","width",0,n,t),Ob(a,0,r),Ib(Object(g.filter)(i,function(e){return e.layoutOption.hideOverlap}))},e.prototype.processLabelsOverall=function(){var e=this;Object(g.each)(this._chartViewList,function(t){var n=t.__model,r=t.ignoreLabelLineUpdate,i=n.isAnimationEnabled();t.group.traverse(function(t){if(t.ignore&&!t.forceLabelAnimation)return!0;var o=!r,a=t.getTextContent();!o&&a&&(o=Rb(a).needsUpdateLabelLine),o&&e._updateLabelLine(t,n),i&&e._animateLabels(t,n)})})},e.prototype._updateLabelLine=function(e,t){var n=e.getTextContent(),r=Ta(e),i=r.dataIndex;if(n&&null!=i){var o=t.getData(r.dataType),a=o.getItemModel(i),s={},l=o.getItemVisual(i,"style"),c=o.getVisual("drawType");s.stroke=l[c];var u=a.getModel("labelLine");Tb(e,Eb(a),s),_b(e,u)}},e.prototype._animateLabels=function(e,t){var n=e.getTextContent(),r=e.getTextGuideLine();if(n&&(e.forceLabelAnimation||!n.ignore&&!n.invisible&&!e.disableLabelAnimation&&!rc(e))){var i=(f=Rb(n)).oldLayout,o=Ta(e),a=o.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},l=t.getData(o.dataType);if(i){n.attr(i);var c=e.prevStates;c&&(Object(g.indexOf)(c,"select")>=0&&n.attr(f.oldLayoutSelect),Object(g.indexOf)(c,"emphasis")>=0&&n.attr(f.oldLayoutEmphasis)),tc(n,s,t,a)}else if(n.attr(s),!$c(n).valueAnimation){var u=Object(g.retrieve2)(n.style.opacity,1);n.style.opacity=0,nc(n,{style:{opacity:u}},t,a)}if(f.oldLayout=s,n.states.select){var h=f.oldLayoutSelect={};Hb(h,s,jb),Hb(h,n.states.select,jb)}if(n.states.emphasis){var d=f.oldLayoutEmphasis={};Hb(d,s,jb),Hb(d,n.states.emphasis,jb)}Jc(n,a,l,t,t)}if(r&&!r.ignore&&!r.invisible){i=(f=Nb(r)).oldLayout;var f,p={points:r.shape.points};i?(r.attr({shape:i}),tc(r,{shape:p},t)):(r.setShape(p),r.style.strokePercent=0,nc(r,{style:{strokePercent:1}},t)),f.oldLayout=p}},e}(),Qb=ei();function zb(e){e.registerUpdateLifecycle("series:beforeupdate",function(e,t,n){var r=Qb(t).labelManager;r||(r=Qb(t).labelManager=new Ub),r.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(e,t,n){var r=Qb(t).labelManager;n.updatedSeries.forEach(function(e){r.addLabelsOfSeries(t.getViewOfSeriesModel(e))}),r.updateLayoutConfig(t),r.layout(t),r.processLabelsOverall()})}Dv(zb);var Yb=Math.sin,Vb=Math.cos,Gb=Math.PI,Wb=2*Math.PI,Xb=180/Gb,Zb=function(){function e(){}return e.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},e.prototype.moveTo=function(e,t){this._add("M",e,t)},e.prototype.lineTo=function(e,t){this._add("L",e,t)},e.prototype.bezierCurveTo=function(e,t,n,r,i,o){this._add("C",e,t,n,r,i,o)},e.prototype.quadraticCurveTo=function(e,t,n,r){this._add("Q",e,t,n,r)},e.prototype.arc=function(e,t,n,r,i,o){this.ellipse(e,t,n,n,0,r,i,o)},e.prototype.ellipse=function(e,t,n,r,i,o,a,s){var l=a-o,c=!s,u=Math.abs(l),h=Object(Pt.j)(u-Wb)||(c?l>=Wb:-l>=Wb),d=l>0?l%Wb:l%Wb+Wb,f=!1;f=!!h||!Object(Pt.j)(u)&&d>=Gb==!!c;var p=e+n*Vb(o),A=t+r*Yb(o);this._start&&this._add("M",p,A);var g=Math.round(i*Xb);if(h){var v=1/this._p,m=(c?1:-1)*(Wb-v);this._add("A",n,r,g,1,+c,e+n*Vb(o+m),t+r*Yb(o+m)),v>.01&&this._add("A",n,r,g,0,+c,p,A)}else{var y=e+n*Vb(a),b=t+r*Yb(a);this._add("A",n,r,g,+f,+c,y,b)}},e.prototype.rect=function(e,t,n,r){this._add("M",e,t),this._add("l",n,0),this._add("l",0,r),this._add("l",-n,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(e,t,n,r,i,o,a,s,l){for(var c=[],u=this._p,h=1;h<arguments.length;h++){var d=arguments[h];if(isNaN(d))return void(this._invalid=!0);c.push(Math.round(d*u)/u)}this._d.push(e+c.join(" ")),this._start="Z"===e},e.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},e.prototype.getStr=function(){return this._str},e}(),$b="none",Kb=Math.round;var Jb=["lineCap","miterLimit","lineJoin"],qb=Object(g.map)(Jb,function(e){return"stroke-"+e.toLowerCase()});function e_(e,t,n,r){var i=null==t.opacity?1:t.opacity;if(n instanceof ra)e("opacity",i);else{if(function(e){var t=e.fill;return null!=t&&t!==$b}(t)){var o=Object(Pt.p)(t.fill);e("fill",o.color);var a=null!=t.fillOpacity?t.fillOpacity*o.opacity*i:o.opacity*i;(r||a<1)&&e("fill-opacity",a)}else e("fill",$b);if(function(e){var t=e.stroke;return null!=t&&t!==$b}(t)){var s=Object(Pt.p)(t.stroke);e("stroke",s.color);var l=t.strokeNoScale?n.getLineScale():1,c=l?(t.lineWidth||0)/l:0,u=null!=t.strokeOpacity?t.strokeOpacity*s.opacity*i:s.opacity*i,h=t.strokeFirst;if((r||1!==c)&&e("stroke-width",c),(r||h)&&e("paint-order",h?"stroke":"fill"),(r||u<1)&&e("stroke-opacity",u),t.lineDash){var d=FA(n),f=d[0],p=d[1];f&&(p=Kb(p||0),e("stroke-dasharray",f.join(",")),(p||r)&&e("stroke-dashoffset",p))}else r&&e("stroke-dasharray",$b);for(var A=0;A<Jb.length;A++){var g=Jb[A];if(r||t[g]!==Wo[g]){var v=t[g]||Wo[g];v&&e(qb[A],v)}}}else r&&e("stroke",$b)}}var t_="http://www.w3.org/2000/svg",n_="http://www.w3.org/1999/xlink",r_="http://www.w3.org/2000/xmlns/",i_="http://www.w3.org/XML/1998/namespace";function o_(e){return document.createElementNS(t_,e)}function a_(e,t,n,r,i){return{tag:e,attrs:n||{},children:r,text:i,key:t}}function s_(e,t){var n=(t=t||{}).newline?"\n":"";return function e(t){var r=t.children,i=t.tag,o=t.attrs,a=t.text;return function(e,t){var n=[];if(t)for(var r in t){var i=t[r],o=r;!1!==i&&(!0!==i&&null!=i&&(o+='="'+i+'"'),n.push(o))}return"<"+e+" "+n.join(" ")+">"}(i,o)+("style"!==i?ee(a):a||"")+(r?""+n+Object(g.map)(r,function(t){return e(t)}).join(n)+n:"")+"</"+i+">"}(e)}function l_(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function c_(e,t,n,r){return a_("svg","root",{width:e,height:t,xmlns:t_,"xmlns:xlink":n_,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+e+" "+t},n)}var u_={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},h_="transform-origin";function d_(e,t,n){var r=Object(g.extend)({},e.shape);Object(g.extend)(r,t),e.buildPath(n,r);var i=new Zb;return i.reset(Object(Pt.f)(e)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function f_(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[h_]=n+"px "+r+"px")}var p_={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function A_(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function g_(e){return Object(g.isString)(e)?u_[e]?"cubic-bezier("+u_[e]+")":Ot(e)?e:"":""}function v_(e,t,n,r){var i=e.animators,o=i.length,a=[];if(e instanceof Ul){if(v=function(e,t,n){var r,i,o=e.shape.paths,a={};if(Object(g.each)(o,function(e){var t=l_(n.zrId);t.animation=!0,v_(e,{},t,!0);var o=t.cssAnims,s=t.cssNodes,l=Object(g.keys)(o),c=l.length;if(c){var u=o[i=l[c-1]];for(var h in u){var d=u[h];a[h]=a[h]||{d:""},a[h].d+=d.d||""}for(var f in s){var p=s[f].animation;p.indexOf(i)>=0&&(r=p)}}}),r){t.d=!1;var s=A_(a,n);return r.replace(i,s)}}(e,t,n))a.push(v);else if(!o)return}else if(!o)return;for(var s={},l=0;l<o;l++){var c=i[l],u=[c.getMaxTime()/1e3+"s"],h=g_(c.getClip().easing),d=c.getDelay();h?u.push(h):u.push("linear"),d&&u.push(d/1e3+"s"),c.getLoop()&&u.push("infinite");var f=u.join(" ");s[f]=s[f]||[f,[]],s[f][1].push(c)}function p(i){var o,a=i[1],s=a.length,l={},c={},u={},h="animation-timing-function";function d(e,t,n){for(var r=e.getTracks(),i=e.getMaxTime(),o=0;o<r.length;o++){var a=r[o];if(a.needsAnimate()){var s=a.keyframes,l=a.propName;if(n&&(l=n(l)),l)for(var c=0;c<s.length;c++){var u=s[c],d=Math.round(u.time/i*100)+"%",f=g_(u.easing),p=u.rawValue;(Object(g.isString)(p)||Object(g.isNumber)(p))&&(t[d]=t[d]||{},t[d][l]=u.rawValue,f&&(t[d][h]=f))}}}}for(var f=0;f<s;f++){(C=(x=a[f]).targetName)?"shape"===C&&d(x,c):!r&&d(x,l)}for(var p in l){var A={};On(A,e),Object(g.extend)(A,l[p]);var v=Object(Pt.g)(A),m=l[p][h];u[p]=v?{transform:v}:{},f_(u[p],A),m&&(u[p][h]=m)}var y=!0;for(var p in c){u[p]=u[p]||{};var b=!o;m=c[p][h];b&&(o=new Eo);var _=o.len();o.reset(),u[p].d=d_(e,c[p],o);var w=o.len();if(!b&&_!==w){y=!1;break}m&&(u[p][h]=m)}if(!y)for(var p in u)delete u[p].d;if(!r)for(f=0;f<s;f++){var x,C;"style"===(C=(x=a[f]).targetName)&&d(x,u,function(e){return p_[e]})}var S,B=Object(g.keys)(u),k=!0;for(f=1;f<B.length;f++){var T=B[f-1],E=B[f];if(u[T][h_]!==u[E][h_]){k=!1;break}S=u[T][h_]}if(k&&S){for(var p in u)u[p][h_]&&delete u[p][h_];t[h_]=S}if(Object(g.filter)(B,function(e){return Object(g.keys)(u[e]).length>0}).length)return A_(u,n)+" "+i[0]+" both"}for(var A in s){var v;(v=p(s[A]))&&a.push(v)}if(a.length){var m=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+m]={animation:a.join(",")},t.class=m}}var m_=Math.round;function y_(e){return e&&Object(g.isString)(e.src)}function b_(e){return e&&Object(g.isFunction)(e.toDataURL)}function __(e,t,n,r){e_(function(i,o){var a="fill"===i||"stroke"===i;a&&Object(Pt.k)(o)?D_(t,e,i,r):a&&Object(Pt.n)(o)?O_(n,e,i,r):e[i]=o},t,n,!1),function(e,t,n){var r=e.style;if(Object(Pt.i)(r)){var i=Object(Pt.h)(e),o=n.shadowCache,a=o[i];if(!a){var s=e.getGlobalScale(),l=s[0],c=s[1];if(!l||!c)return;var u=r.shadowOffsetX||0,h=r.shadowOffsetY||0,d=r.shadowBlur,f=Object(Pt.p)(r.shadowColor),p=f.opacity,A=f.color,g=d/2/l,v=d/2/c,m=g+" "+v;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=a_("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[a_("feDropShadow","",{dx:u/l,dy:h/c,stdDeviation:m,"flood-color":A,"flood-opacity":p})]),o[i]=a}t.filter=Object(Pt.d)(a)}}(n,e,r)}function w_(e){return Object(Pt.j)(e[0]-1)&&Object(Pt.j)(e[1])&&Object(Pt.j)(e[2])&&Object(Pt.j)(e[3]-1)}function x_(e,t,n){if(t&&(!function(e){return Object(Pt.j)(e[4])&&Object(Pt.j)(e[5])}(t)||!w_(t))){var r=n?10:1e4;e.transform=w_(t)?"translate("+m_(t[4]*r)/r+" "+m_(t[5]*r)/r+")":Object(Pt.e)(t)}}function C_(e,t,n){for(var r=e.points,i=[],o=0;o<r.length;o++)i.push(m_(r[o][0]*n)/n),i.push(m_(r[o][1]*n)/n);t.points=i.join(" ")}function S_(e){return!e.smooth}var B_,k_,T_={circle:[(B_=["cx","cy","r"],k_=Object(g.map)(B_,function(e){return"string"==typeof e?[e,e]:e}),function(e,t,n){for(var r=0;r<k_.length;r++){var i=k_[r],o=e[i[0]];null!=o&&(t[i[1]]=m_(o*n)/n)}})],polyline:[C_,S_],polygon:[C_,S_]};function E_(e,t){var n=e.style,r=e.shape,i=T_[e.type],o={},a=t.animation,s="path",l=e.style.strokePercent,c=t.compress&&Object(Pt.f)(e)||4;if(!i||t.willUpdate||i[1]&&!i[1](r)||a&&function(e){for(var t=e.animators,n=0;n<t.length;n++)if("shape"===t[n].targetName)return!0;return!1}(e)||l<1){var u=!e.path||e.shapeChanged();e.path||e.createPathProxy();var h=e.path;u&&(h.beginPath(),e.buildPath(h,e.shape),e.pathUpdated());var d=h.getVersion(),f=e,p=f.__svgPathBuilder;f.__svgPathVersion===d&&p&&l===f.__svgPathStrokePercent||(p||(p=f.__svgPathBuilder=new Zb),p.reset(c),h.rebuildPath(p,l),p.generateStr(),f.__svgPathVersion=d,f.__svgPathStrokePercent=l),o.d=p.getStr()}else{s=e.type;var A=Math.pow(10,c);i[0](r,o,A)}return x_(o,e.transform),__(o,n,e,t),t.animation&&v_(e,o,t),a_(s,e.id+"",o)}function M_(e,t){return e instanceof $o?E_(e,t):e instanceof ra?function(e,t){var n=e.style,r=n.image;if(r&&!Object(g.isString)(r)&&(y_(r)?r=r.src:b_(r)&&(r=r.toDataURL())),r){var i=n.x||0,o=n.y||0,a={href:r,width:n.width,height:n.height};return i&&(a.x=i),o&&(a.y=o),x_(a,e.transform),__(a,n,e,t),t.animation&&v_(e,a,t),a_("image",e.id+"",a)}}(e,t):e instanceof qo?function(e,t){var n=e.style,r=n.text;if(null!=r&&(r+=""),r&&!isNaN(n.x)&&!isNaN(n.y)){var i=n.font||Pn.a,o=n.x||0,a=Object(Pt.b)(n.y||0,Qn(i),n.textBaseline),s={"dominant-baseline":"central","text-anchor":Pt.a[n.textAlign]||n.textAlign};if(ba(n)){var l="",c=n.fontStyle,u=ma(n.fontSize);if(!parseFloat(u))return;var h=n.fontFamily||Pn.b,d=n.fontWeight;l+="font-size:"+u+";font-family:"+h+";",c&&"normal"!==c&&(l+="font-style:"+c+";"),d&&"normal"!==d&&(l+="font-weight:"+d+";"),s.style=l}else s.style="font: "+i;return r.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),x_(s,e.transform),__(s,n,e,t),t.animation&&v_(e,s,t),a_("text",e.id+"",s,void 0,r)}}(e,t):void 0}function D_(e,t,n,r){var i,o=e[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(Pt.m)(o))i="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Object(Pt.o)(o))return void 0;i="radialGradient",a.cx=Object(g.retrieve2)(o.x,.5),a.cy=Object(g.retrieve2)(o.y,.5),a.r=Object(g.retrieve2)(o.r,.5)}for(var s=o.colorStops,l=[],c=0,u=s.length;c<u;++c){var h=100*Object(Pt.q)(s[c].offset)+"%",d=s[c].color,f=Object(Pt.p)(d),p=f.color,A=f.opacity,v={offset:h};v["stop-color"]=p,A<1&&(v["stop-opacity"]=A),l.push(a_("stop",c+"",v))}var m=s_(a_(i,"",a,l)),y=r.gradientCache,b=y[m];b||(b=r.zrId+"-g"+r.gradientIdx++,y[m]=b,a.id=b,r.defs[b]=a_(i,b,a,l)),t[n]=Object(Pt.d)(b)}function O_(e,t,n,r){var i,o=e.style[n],a=e.getBoundingRect(),s={},l=o.repeat,c="no-repeat"===l,u="repeat-x"===l,h="repeat-y"===l;if(Object(Pt.l)(o)){var d=o.imageWidth,f=o.imageHeight,p=void 0,A=o.image;if(Object(g.isString)(A)?p=A:y_(A)?p=A.src:b_(A)&&(p=A.toDataURL()),"undefined"==typeof Image){var v="Image width/height must been given explictly in svg-ssr renderer.";Object(g.assert)(d,v),Object(g.assert)(f,v)}else if(null==d||null==f){var m=function(e,t){if(e){var n=e.elm,r=d||t.width,i=f||t.height;"pattern"===e.tag&&(u?(i=1,r/=a.width):h&&(r=1,i/=a.height)),e.attrs.width=r,e.attrs.height=i,n&&(n.setAttribute("width",r),n.setAttribute("height",i))}},y=Si(p,null,e,function(e){c||m(x,e),m(i,e)});y&&y.width&&y.height&&(d=d||y.width,f=f||y.height)}i=a_("image","img",{href:p,width:d,height:f}),s.width=d,s.height=f}else o.svgElement&&(i=Object(g.clone)(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(i){var b,_;c?b=_=1:u?(_=1,b=s.width/a.width):h?(b=1,_=s.height/a.height):s.patternUnits="userSpaceOnUse",null==b||isNaN(b)||(s.width=b),null==_||isNaN(_)||(s.height=_);var w=Object(Pt.g)(o);w&&(s.patternTransform=w);var x=a_("pattern","",s,[i]),C=s_(x),S=r.patternCache,B=S[C];B||(B=r.zrId+"-p"+r.patternIdx++,S[C]=B,s.id=B,x=r.defs[B]=a_("pattern",B,s,[i])),t[n]=Object(Pt.d)(B)}}function I_(e,t,n){var r=n.clipPathCache,i=n.defs,o=r[e.id];if(!o){var a={id:o=n.zrId+"-c"+n.clipPathIdx++};r[e.id]=o,i[o]=a_("clipPath",o,a,[E_(e,n)])}t["clip-path"]=Object(Pt.d)(o)}function L_(e){return document.createTextNode(e)}function P_(e,t,n){e.insertBefore(t,n)}function F_(e,t){e.removeChild(t)}function R_(e,t){e.appendChild(t)}function N_(e){return e.parentNode}function H_(e){return e.nextSibling}function j_(e,t){e.textContent=t}var U_=58,Q_=120,z_=a_("","");function Y_(e){return void 0===e}function V_(e){return void 0!==e}function G_(e,t,n){for(var r={},i=t;i<=n;++i){var o=e[i].key;void 0!==o&&(r[o]=i)}return r}function W_(e,t){var n=e.key===t.key;return e.tag===t.tag&&n}function X_(e){var t,n=e.children,r=e.tag;if(V_(r)){var i=e.elm=o_(r);if(K_(z_,e),Object(g.isArray)(n))for(t=0;t<n.length;++t){var o=n[t];null!=o&&R_(i,X_(o))}else V_(e.text)&&!Object(g.isObject)(e.text)&&R_(i,L_(e.text))}else e.elm=L_(e.text);return e.elm}function Z_(e,t,n,r,i){for(;r<=i;++r){var o=n[r];null!=o&&P_(e,X_(o),t)}}function $_(e,t,n,r){for(;n<=r;++n){var i=t[n];if(null!=i)if(V_(i.tag))F_(N_(i.elm),i.elm);else F_(e,i.elm)}}function K_(e,t){var n,r=t.elm,i=e&&e.attrs||{},o=t.attrs||{};if(i!==o){for(n in o){var a=o[n];i[n]!==a&&(!0===a?r.setAttribute(n,""):!1===a?r.removeAttribute(n):n.charCodeAt(0)!==Q_?r.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?r.setAttributeNS(r_,n,a):n.charCodeAt(3)===U_?r.setAttributeNS(i_,n,a):n.charCodeAt(5)===U_?r.setAttributeNS(n_,n,a):r.setAttribute(n,a))}for(n in i)n in o||r.removeAttribute(n)}}function J_(e,t){var n=t.elm=e.elm,r=e.children,i=t.children;e!==t&&(K_(e,t),Y_(t.text)?V_(r)&&V_(i)?r!==i&&function(e,t,n){for(var r,i,o,a=0,s=0,l=t.length-1,c=t[0],u=t[l],h=n.length-1,d=n[0],f=n[h];a<=l&&s<=h;)null==c?c=t[++a]:null==u?u=t[--l]:null==d?d=n[++s]:null==f?f=n[--h]:W_(c,d)?(J_(c,d),c=t[++a],d=n[++s]):W_(u,f)?(J_(u,f),u=t[--l],f=n[--h]):W_(c,f)?(J_(c,f),P_(e,c.elm,H_(u.elm)),c=t[++a],f=n[--h]):W_(u,d)?(J_(u,d),P_(e,u.elm,c.elm),u=t[--l],d=n[++s]):(Y_(r)&&(r=G_(t,a,l)),Y_(i=r[d.key])?P_(e,X_(d),c.elm):(o=t[i]).tag!==d.tag?P_(e,X_(d),c.elm):(J_(o,d),t[i]=void 0,P_(e,o.elm,c.elm)),d=n[++s]);(a<=l||s<=h)&&(a>l?Z_(e,null==n[h+1]?null:n[h+1].elm,n,s,h):$_(e,t,a,l))}(n,r,i):V_(i)?(V_(e.text)&&j_(n,""),Z_(n,null,i,0,i.length-1)):V_(r)?$_(n,r,0,r.length-1):V_(e.text)&&j_(n,""):e.text!==t.text&&(V_(r)&&$_(n,r,0,r.length-1),j_(n,t.text)))}var q_=0;function ew(e){return function(){0}}var tw=function(){function e(e,t,n){if(this.type="svg",this.refreshHover=ew("refreshHover"),this.configLayer=ew("configLayer"),this.storage=t,this._opts=n=Object(g.extend)({},n),this.root=e,this._id="zr"+q_++,this._oldVNode=c_(n.width,n.height),e&&!n.ssr){var r=this._viewport=document.createElement("div");r.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=o_("svg");K_(null,this._oldVNode),r.appendChild(i),e.appendChild(r)}this.resize(n.width,n.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",function(e,t){if(W_(e,t))J_(e,t);else{var n=e.elm,r=N_(n);X_(t),null!==r&&(P_(r,t.elm,H_(n)),$_(r,[e],0,0))}}(this._oldVNode,e),this._oldVNode=e}},e.prototype.renderOneToVNode=function(e){return M_(e,l_(this._id))},e.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),n=this._width,r=this._height,i=l_(this._id);i.animation=e.animation,i.willUpdate=e.willUpdate,i.compress=e.compress;var o=[],a=this._bgVNode=function(e,t,n,r){var i;if(n&&"none"!==n)if(i=a_("rect","bg",{width:e,height:t,x:"0",y:"0",id:"0"}),Object(Pt.k)(n))D_({fill:n},i.attrs,"fill",r);else if(Object(Pt.n)(n))O_({style:{fill:n},dirty:g.noop,getBoundingRect:function(){return{width:e,height:t}}},i.attrs,"fill",r);else{var o=Object(Pt.p)(n),a=o.color,s=o.opacity;i.attrs.fill=a,s<1&&(i.attrs["fill-opacity"]=s)}return i}(n,r,this._backgroundColor,i);a&&o.push(a);var s=e.compress?null:this._mainVNode=a_("g","main",{},[]);this._paintList(t,i,s?s.children:o),s&&o.push(s);var l=Object(g.map)(Object(g.keys)(i.defs),function(e){return i.defs[e]});if(l.length&&o.push(a_("defs","defs",{},l)),e.animation){var c=function(e,t,n){var r=(n=n||{}).newline?"\n":"",i=" {"+r,o=r+"}",a=Object(g.map)(Object(g.keys)(e),function(t){return t+i+Object(g.map)(Object(g.keys)(e[t]),function(n){return n+":"+e[t][n]+";"}).join(r)+o}).join(r),s=Object(g.map)(Object(g.keys)(t),function(e){return"@keyframes "+e+i+Object(g.map)(Object(g.keys)(t[e]),function(n){return n+i+Object(g.map)(Object(g.keys)(t[e][n]),function(r){var i=t[e][n][r];return"d"===r&&(i='path("'+i+'")'),r+":"+i+";"}).join(r)+o}).join(r)+o}).join(r);return a||s?["<![CDATA[",a,s,"]]>"].join(r):""}(i.cssNodes,i.cssAnims,{newline:!0});if(c){var u=a_("style","stl",{},[],c);o.push(u)}}return c_(n,r,o,e.useViewBox)},e.prototype.renderToString=function(e){return e=e||{},s_(this.renderToVNode({animation:Object(g.retrieve2)(e.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(g.retrieve2)(e.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(e,t,n){for(var r,i,o=e.length,a=[],s=0,l=0,c=0;c<o;c++){var u=e[c];if(!u.invisible){var h=u.__clipPaths,d=h&&h.length||0,f=i&&i.length||0,p=void 0;for(p=Math.max(d-1,f-1);p>=0&&(!h||!i||h[p]!==i[p]);p--);for(var A=f-1;A>p;A--)r=a[--s-1];for(var g=p+1;g<d;g++){var v={};I_(h[g],v,t);var m=a_("g","clip-g-"+l++,v,[]);(r?r.children:n).push(m),a[s++]=m,r=m}i=h;var y=M_(u,t);y&&(r?r.children:n).push(y)}}},e.prototype.resize=function(e,t){var n=this._opts,r=this.root,i=this._viewport;if(null!=e&&(n.width=e),null!=t&&(n.height=t),r&&i&&(i.style.display="none",e=PA(r,0,n),t=PA(r,1,n),i.style.display=""),this._width!==e||this._height!==t){if(this._width=e,this._height=t,i){var o=i.style;o.width=e+"px",o.height=t+"px"}if(Object(Pt.n)(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",e),a.setAttribute("height",t));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",e),s.setAttribute("height",t))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(e){var t=this.renderToString(),n="data:image/svg+xml;";return e?(t=Object(Pt.c)(t))&&n+"base64,"+t:n+"charset=UTF-8,"+encodeURIComponent(t)},e}();function nw(e,t,n){var r=Pn.d.createCanvas(),i=t.getWidth(),o=t.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",r.setAttribute("data-zr-dom-id",e)),r.width=i*n,r.height=o*n,r}var rw=function(e){function t(t,n,r){var i,o=e.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,r=r||wn,"string"==typeof t?i=nw(t,n,r):g.isObject(t)&&(t=(i=t).id),o.id=t,o.dom=i;var a=i.style;return a&&(g.disableUserSelect(i),i.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=r,o}return p(t,e),t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=nw("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,t,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,l=new Oe(0,0,0,0);function c(e){if(e.isFinite()&&!e.isZero())if(0===o.length){(t=new Oe(0,0,0,0)).copy(e),o.push(t)}else{for(var t,n=!1,r=1/0,i=0,c=0;c<o.length;++c){var u=o[c];if(u.intersect(e)){var h=new Oe(0,0,0,0);h.copy(u),h.union(e),o[c]=h,n=!0;break}if(s){l.copy(e),l.union(u);var d=e.width*e.height,f=u.width*u.height,p=l.width*l.height-d-f;p<r&&(r=p,i=c)}}if(s&&(o[i].union(e),n=!0),!n)(t=new Oe(0,0,0,0)).copy(e),o.push(t);s||(s=o.length>=a)}}for(var u=this.__startIndex;u<this.__endIndex;++u){if(f=e[u]){var h=f.shouldBePainted(n,r,!0,!0);(p=f.__isRendered&&(f.__dirty&Je||!h)?f.getPrevPaintRect():null)&&c(p);var d=h&&(f.__dirty&Je||!f.__isRendered)?f.getPaintRect():null;d&&c(d)}}for(u=this.__prevStartIndex;u<this.__prevEndIndex;++u){var f,p;h=(f=t[u]).shouldBePainted(n,r,!0,!0);if(f&&(!h||!f.__zr)&&f.__isRendered)(p=f.getPrevPaintRect())&&c(p)}do{i=!1;for(u=0;u<o.length;)if(o[u].isZero())o.splice(u,1);else{for(var A=u+1;A<o.length;)o[u].intersect(o[A])?(i=!0,o[u].union(o[A]),o.splice(A,1)):A++;u++}}while(i);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,t){var n=this.dpr,r=this.dom,i=r.style,o=this.domBack;i&&(i.width=e+"px",i.height=t+"px"),r.width=e*n,r.height=t*n,o&&(o.width=e*n,o.height=t*n,1!==n&&this.ctxBack.scale(n,n))},t.prototype.clear=function(e,t,n){var r=this.dom,i=this.ctx,o=r.width,a=r.height;t=t||this.clearColor;var s=this.motionBlur&&!e,l=this.lastFrameAlpha,c=this.dpr,u=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,o/c,a/c));var h=this.domBack;function d(e,n,r,o){if(i.clearRect(e,n,r,o),t&&"transparent"!==t){var a=void 0;if(g.isGradientObject(t))a=(t.global||t.__width===r&&t.__height===o)&&t.__canvasGradient||IA(i,t,{x:0,y:0,width:r,height:o}),t.__canvasGradient=a,t.__width=r,t.__height=o;else g.isImagePatternObject(t)&&(t.scaleX=t.scaleX||c,t.scaleY=t.scaleY||c,a=zA(i,t,{dirty:function(){u.setUnpainted(),u.__painter.refresh()}}));i.save(),i.fillStyle=a||t,i.fillRect(e,n,r,o),i.restore()}s&&(i.save(),i.globalAlpha=l,i.drawImage(h,e,n,r,o),i.restore())}!n||s?d(0,0,o,a):n.length&&g.each(n,function(e){d(e.x*c,e.y*c,e.width*c,e.height*c)})},t}(Y),iw=314159;var ow=function(){function e(e,t,n,r){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=g.extend({},n||{}),this.dpr=n.devicePixelRatio||wn,this._singleCanvas=i,this.root=e,e.style&&(g.disableUserSelect(e),e.innerHTML=""),this.storage=t;var o=this._zlevelList;this._prevDisplayList=[];var a=this._layers;if(i){var s=e,l=s.width,c=s.height;null!=n.width&&(l=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,s.width=l*this.dpr,s.height=c*this.dpr,this._width=l,this._height=c;var u=new rw(s,this,this.dpr);u.__builtin__=!0,u.initContext(),a[iw]=u,u.zlevel=iw,o.push(iw),this._domRoot=e}else{this._width=PA(e,0,n),this._height=PA(e,1,n);var h=this._domRoot=function(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);e.appendChild(h)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},e.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),n=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,n,e,this._redrawId);for(var i=0;i<r.length;i++){var o=r[i],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===i?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=t.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(e){var t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){for(var r,i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<t;o++){var a=e[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(1e5)),r||(r=n.ctx).save(),ng(r,a,i,o===t-1))}r&&r.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(1e5)},e.prototype.paintOne=function(e,t){tg(e,t)},e.prototype._paintList=function(e,t,n,r){if(this._redrawId===r){n=n||!1,this._updateLayerStatus(e);var i=this._doPaintList(e,t,n),o=i.finished,a=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(e),o)this.eachLayer(function(e){e.afterBrush&&e.afterBrush()});else{var s=this;it(function(){s._paintList(e,t,n,r)})}}},e.prototype._compositeManually=function(){var e=this.getLayer(iw).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer(function(r){r.virtual&&e.drawImage(r.dom,0,0,t,n)})},e.prototype._doPaintList=function(e,t,n){for(var r=this,i=[],o=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var s=this._zlevelList[a],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||n)&&i.push(l)}for(var c=!0,u=!1,h=function(a){var s,l=i[a],h=l.ctx,f=o&&l.createRepaintRects(e,t,d._width,d._height),p=n?l.__startIndex:l.__drawIndex,A=!n&&l.incremental&&Date.now,g=A&&Date.now(),v=l.zlevel===d._zlevelList[0]?d._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,f);else if(p===l.__startIndex){var m=e[p];m.incremental&&m.notClear&&!n||l.clear(!1,v,f)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=l.__startIndex);var y=function(t){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(s=p;s<l.__endIndex;s++){var i=e[s];if(i.__inHover&&(u=!0),r._doPaintEl(i,l,o,t,n,s===l.__endIndex-1),A)if(Date.now()-g>15)break}n.prevElClipPaths&&h.restore()};if(f)if(0===f.length)s=l.__endIndex;else for(var b=d.dpr,_=0;_<f.length;++_){var w=f[_];h.save(),h.beginPath(),h.rect(w.x*b,w.y*b,w.width*b,w.height*b),h.clip(),y(w),h.restore()}else h.save(),y(),h.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(c=!1)},d=this,f=0;f<i.length;f++)h(f);return A.a.wxa&&g.each(this._layers,function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()}),{finished:c,needsRefreshHover:u}},e.prototype._doPaintEl=function(e,t,n,r,i,o){var a=t.ctx;if(n){var s=e.getPaintRect();(!r||s&&s.intersect(r))&&(ng(a,e,i,o),e.setPrevPaintRect(s))}else ng(a,e,i,o)},e.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=iw);var n=this._layers[e];return n||((n=new rw("zr_"+e,this,this.dpr)).zlevel=e,n.__builtin__=!0,this._layerConfig[e]?g.merge(n,this._layerConfig[e],!0):this._layerConfig[e-.01]&&g.merge(n,this._layerConfig[e-.01],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},e.prototype.insertLayer=function(e,t){var n=this._layers,r=this._zlevelList,i=r.length,o=this._domRoot,a=null,s=-1;if(!n[e]&&function(e){return!!e&&(!!e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh)}(t)){if(i>0&&e>r[0]){for(s=0;s<i-1&&!(r[s]<e&&r[s+1]>e);s++);a=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(t.dom,l.nextSibling):o.appendChild(t.dom)}else o.firstChild?o.insertBefore(t.dom,o.firstChild):o.appendChild(t.dom);t.__painter=this}},e.prototype.eachLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r];e.call(t,this._layers[i],i)}},e.prototype.eachBuiltinLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__&&e.call(t,o,i)}},e.prototype.eachOtherLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__||e.call(t,o,i)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(e){function t(e){o&&(o.__endIndex!==e&&(o.__dirty=!0),o.__endIndex=e)}if(this.eachBuiltinLayer(function(e,t){e.__dirty=e.__used=!1}),this._singleCanvas)for(var n=1;n<e.length;n++){if((s=e[n]).zlevel!==e[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}}var r,i,o=null,a=0;for(i=0;i<e.length;i++){var s,l=(s=e[i]).zlevel,c=void 0;r!==l&&(r=l,a=0),s.incremental?((c=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,a=1):c=this.getLayer(l+(a>0?.01:0),this._needsManuallyCompositing),c.__builtin__||g.logError("ZLevel "+l+" has been used by unkown layer "+c.id),c!==o&&(c.__used=!0,c.__startIndex!==i&&(c.__dirty=!0),c.__startIndex=i,c.incremental?c.__drawIndex=-1:c.__drawIndex=i,t(i),o=c),s.__dirty&Je&&!s.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=i))}t(i),this.eachBuiltinLayer(function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(e){e.clear()},e.prototype.setBackgroundColor=function(e){this._backgroundColor=e,g.each(this._layers,function(e){e.setUnpainted()})},e.prototype.configLayer=function(e,t){if(t){var n=this._layerConfig;n[e]?g.merge(n[e],t,!0):n[e]=t;for(var r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r];if(i===e||i===e+.01){var o=this._layers[i];g.merge(o,n[e],!0)}}}},e.prototype.delLayer=function(e){var t=this._layers,n=this._zlevelList,r=t[e];r&&(r.dom.parentNode.removeChild(r.dom),delete t[e],n.splice(g.indexOf(n,e),1))},e.prototype.resize=function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts,i=this.root;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=PA(i,0,r),t=PA(i,1,r),n.style.display="",this._width!==e||t!==this._height){for(var o in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(e,t);this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(iw).resize(e,t)}return this},e.prototype.clearLayer=function(e){var t=this._layers[e];t&&t.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[iw].dom;var t=new rw("image",this,e.pixelRatio||this.dpr);t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor);var n=t.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var r=t.dom.width,i=t.dom.height;this.eachLayer(function(e){e.__builtin__?n.drawImage(e.dom,0,0,r,i):e.renderToCanvas&&(n.save(),e.renderToCanvas(n),n.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var c=a[s];ng(n,c,o,s===l-1)}return t.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}();var aw=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return p(t,e),t.prototype.getInitialData=function(e){return pm(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var t=new tr,n=EA("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);t.add(n),n.setStyle(e.lineStyle);var r=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),o="none"===r?"circle":r,a=.8*e.itemHeight,s=EA(o,(e.itemWidth-a)/2,(e.itemHeight-a)/2,a,a,e.itemStyle.fill);t.add(s),s.setStyle(e.itemStyle);var l="inherit"===e.iconRotate?i:e.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([e.itemWidth/2,e.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),t},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(hp);function sw(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var i=tf(e,t,n[0]);return null!=i?i+"":null}if(r){for(var o=[],a=0;a<n.length;a++)o.push(tf(e,t,n[a]));return o.join(" ")}}function lw(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!Object(g.isArray)(t))return t+"";for(var r=[],i=0;i<n.length;i++){var o=e.getDimensionIndex(n[i]);o>=0&&r.push(t[o])}return r.join(" ")}function cw(e,t){this.parent.drift(e,t)}var uw=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.updateData(t,n,r,i),o}return p(t,e),t.prototype._createSymbol=function(e,t,n,r,i){this.removeAll();var o=EA(e,-1,-1,2,2,null,i);o.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=cw,this._symbolType=e,this.add(o)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){cs(this.childAt(0))},t.prototype.downplay=function(){us(this.childAt(0))},t.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},t.prototype.setDraggable=function(e,t){var n=this.childAt(0);n.draggable=e,n.cursor=!t&&e?"move":n.cursor},t.prototype.updateData=function(e,n,r,i){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",a=e.hostModel,s=t.getSymbolSize(e,n),l=o!==this._symbolType,c=i&&i.disableAnimation;if(l){var u=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,s,u)}else{(d=this.childAt(0)).silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};c?d.attr(h):tc(d,h,a,n),sc(d)}if(this._updateCommon(e,n,s,r,i),l){var d=this.childAt(0);if(!c){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,nc(d,h,a,n)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,t,n,r,i){var o,a,s,l,c,u,h,d,f,p=this.childAt(0),A=e.hostModel;if(r&&(o=r.emphasisItemStyle,a=r.blurItemStyle,s=r.selectItemStyle,l=r.focus,c=r.blurScope,h=r.labelStatesModels,d=r.hoverScale,f=r.cursorStyle,u=r.emphasisDisabled),!r||e.hasItemOption){var v=r&&r.itemModel?r.itemModel:e.getItemModel(t),m=v.getModel("emphasis");o=m.getModel("itemStyle").getItemStyle(),s=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),l=m.get("focus"),c=m.get("blurScope"),u=m.get("disabled"),h=Qc(v),d=m.getShallow("scale"),f=v.getShallow("cursor")}var y=e.getItemVisual(t,"symbolRotate");p.attr("rotation",(y||0)*Math.PI/180||0);var b=DA(e.getItemVisual(t,"symbolOffset"),n);b&&(p.x=b[0],p.y=b[1]),f&&p.attr("cursor",f);var _=e.getItemVisual(t,"style"),w=_.fill;if(p instanceof ra){var x=p.style;p.useStyle(Object(g.extend)({image:x.image,x:x.x,y:x.y,width:x.width,height:x.height},_))}else p.__isEmptyBrush?p.useStyle(Object(g.extend)({},_)):p.useStyle(_),p.style.decal=null,p.setColor(w,i&&i.symbolInnerColor),p.style.strokeNoScale=!0;var C=e.getItemVisual(t,"liftZ"),S=this._z2;null!=C?null==S&&(this._z2=p.z2,p.z2+=C):null!=S&&(p.z2=S,this._z2=null);var B=i&&i.useNameLabel;Uc(p,h,{labelFetcher:A,labelDataIndex:t,defaultText:function(t){return B?e.getName(t):sw(e,t)},inheritColor:w,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var k=p.ensureState("emphasis");k.style=o,p.ensureState("select").style=s,p.ensureState("blur").style=a;var T=null==d||!0===d?Math.max(1.1,3/this._sizeY):isFinite(d)&&d>0?+d:1;k.scaleX=this._sizeX*T,k.scaleY=this._sizeY*T,this.setSymbolScale(1),ws(this,l,c,u)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,t,n){var r=this.childAt(0),i=Ta(this).dataIndex,o=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var a=r.getTextContent();a&&ic(a,{style:{opacity:0}},t,{dataIndex:i,removeOpt:o,cb:function(){r.removeTextContent()}})}else r.removeTextContent();ic(r,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:i,cb:e,removeOpt:o})},t.getSymbolSize=function(e,t){return MA(e.getItemVisual(t,"symbolSize"))},t}(tr);function hw(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function dw(e){return null==e||Object(g.isObject)(e)||(e={isIgnore:e}),e||{}}function fw(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Qc(t),cursorStyle:t.get("cursor")}}var pw=function(){function e(e){this.group=new tr,this._SymbolCtor=e||uw}return e.prototype.updateData=function(e,t){this._progressiveEls=null,t=dw(t);var n=this.group,r=e.hostModel,i=this._data,o=this._SymbolCtor,a=t.disableAnimation,s=fw(e),l={disableAnimation:a},c=t.getSymbolPoint||function(t){return e.getItemLayout(t)};i||n.removeAll(),e.diff(i).add(function(r){var i=c(r);if(hw(e,i,r,t)){var a=new o(e,r,s,l);a.setPosition(i),e.setItemGraphicEl(r,a),n.add(a)}}).update(function(u,h){var d=i.getItemGraphicEl(h),f=c(u);if(hw(e,f,u,t)){var p=e.getItemVisual(u,"symbol")||"circle",A=d&&d.getSymbolType&&d.getSymbolType();if(!d||A&&A!==p)n.remove(d),(d=new o(e,u,s,l)).setPosition(f);else{d.updateData(e,u,s,l);var g={x:f[0],y:f[1]};a?d.attr(g):tc(d,g,r)}n.add(d),e.setItemGraphicEl(u,d)}else n.remove(d)}).remove(function(e){var t=i.getItemGraphicEl(e);t&&t.fadeOut(function(){n.remove(t)},r)}).execute(),this._getSymbolPoint=c,this._data=e},e.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl(function(t,n){var r=e._getSymbolPoint(n);t.setPosition(r),t.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=fw(e),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=dw(n);for(var i=e.start;i<e.end;i++){var o=t.getItemLayout(i);if(hw(t,o,i,n)){var a=new this._SymbolCtor(t,i,this._seriesScope);a.traverse(r),a.setPosition(o),this.group.add(a),t.setItemGraphicEl(i,a),this._progressiveEls.push(a)}}},e.prototype.eachRendered=function(e){Rc(this._progressiveEls||this.group,e)},e.prototype.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl(function(e){e.fadeOut(function(){t.remove(e)},n.hostModel)}):t.removeAll()},e}();function Aw(e,t,n){var r=e.getBaseAxis(),i=e.getOtherAxis(r),o=function(e,t){var n=0,r=e.scale.getExtent();"start"===t?n=r[0]:"end"===t?n=r[1]:Object(g.isNumber)(t)&&!isNaN(t)?n=t:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]);return n}(i,n),a=r.dim,s=i.dim,l=t.mapDimension(s),c=t.mapDimension(a),u="x"===s||"radius"===s?1:0,h=Object(g.map)(e.dimensions,function(e){return t.mapDimension(e)}),d=!1,f=t.getCalculationInfo("stackResultDimension");return dm(t,h[0])&&(d=!0,h[0]=f),dm(t,h[1])&&(d=!0,h[1]=f),{dataDimsForPoint:h,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!d,valueDim:l,baseDim:c,baseDataOffset:u,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function gw(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}var vw=Math.min,mw=Math.max;function yw(e,t){return isNaN(e)||isNaN(t)}function bw(e,t,n,r,i,o,a,s,l){for(var c,u,h,d,f,p,A=n,g=0;g<r;g++){var v=t[2*A],m=t[2*A+1];if(A>=i||A<0)break;if(yw(v,m)){if(l){A+=o;continue}break}if(A===n)e[o>0?"moveTo":"lineTo"](v,m),h=v,d=m;else{var y=v-c,b=m-u;if(y*y+b*b<.5){A+=o;continue}if(a>0){for(var _=A+o,w=t[2*_],x=t[2*_+1];w===v&&x===m&&g<r;)g++,A+=o,w=t[2*(_+=o)],x=t[2*_+1],y=(v=t[2*A])-c,b=(m=t[2*A+1])-u;var C=g+1;if(l)for(;yw(w,x)&&C<r;)C++,w=t[2*(_+=o)],x=t[2*_+1];var S=.5,B=0,k=0,T=void 0,E=void 0;if(C>=r||yw(w,x))f=v,p=m;else{B=w-c,k=x-u;var M=v-c,D=w-v,O=m-u,I=x-m,L=void 0,P=void 0;if("x"===s){L=Math.abs(M),P=Math.abs(D);var F=B>0?1:-1;f=v-F*L*a,p=m,T=v+F*P*a,E=m}else if("y"===s){L=Math.abs(O),P=Math.abs(I);var R=k>0?1:-1;f=v,p=m-R*L*a,T=v,E=m+R*P*a}else L=Math.sqrt(M*M+O*O),f=v-B*a*(1-(S=(P=Math.sqrt(D*D+I*I))/(P+L))),p=m-k*a*(1-S),E=m+k*a*S,T=vw(T=v+B*a*S,mw(w,v)),E=vw(E,mw(x,m)),T=mw(T,vw(w,v)),p=m-(k=(E=mw(E,vw(x,m)))-m)*L/P,f=vw(f=v-(B=T-v)*L/P,mw(c,v)),p=vw(p,mw(u,m)),f=mw(f,vw(c,v)),p=mw(p,vw(u,m)),T=v+(B=v-f)*P/L,E=m+(k=m-p)*P/L}e.bezierCurveTo(h,d,f,p,v,m),h=T,d=E}else e.lineTo(v,m)}c=v,u=m,A+=o}return g}var _w=function(){return function(){this.smooth=0,this.smoothConstraint=!0}}(),ww=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polyline",n}return p(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new _w},t.prototype.buildPath=function(e,t){var n=t.points,r=0,i=n.length/2;if(t.connectNulls){for(;i>0&&yw(n[2*i-2],n[2*i-1]);i--);for(;r<i&&yw(n[2*r],n[2*r+1]);r++);}for(;r<i;)r+=bw(e,n,r,i,i,1,t.smooth,t.smoothMonotone,t.connectNulls)+1},t.prototype.getPointOn=function(e,t){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,r,i=this.path.data,o=Eo.CMD,a="x"===t,s=[],l=0;l<i.length;){var c=void 0,u=void 0,h=void 0,d=void 0,f=void 0,p=void 0,A=void 0;switch(i[l++]){case o.M:n=i[l++],r=i[l++];break;case o.L:if(c=i[l++],u=i[l++],(A=a?(e-n)/(c-n):(e-r)/(u-r))<=1&&A>=0){var g=a?(u-r)*A+r:(c-n)*A+n;return a?[e,g]:[g,e]}n=c,r=u;break;case o.C:c=i[l++],u=i[l++],h=i[l++],d=i[l++],f=i[l++],p=i[l++];var v=a?bt(n,c,h,f,e,s):bt(r,u,d,p,e,s);if(v>0)for(var m=0;m<v;m++){var y=s[m];if(y<=1&&y>=0){g=a?mt(r,u,d,p,y):mt(n,c,h,f,y);return a?[e,g]:[g,e]}}n=f,r=p}}},t}($o),xw=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t}(_w),Cw=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-polygon",n}return p(t,e),t.prototype.getDefaultShape=function(){return new xw},t.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,o=n.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;o>0&&yw(n[2*o-2],n[2*o-1]);o--);for(;i<o&&yw(n[2*i],n[2*i+1]);i++);}for(;i<o;){var s=bw(e,n,i,o,o,1,t.smooth,a,t.connectNulls);bw(e,r,i+s-1,s,o,-1,t.stackedOnSmooth,a,t.connectNulls),i+=s+1,e.closePath()}},t}($o);function Sw(e,t,n,r,i){var o=e.getArea(),a=o.x,s=o.y,l=o.width,c=o.height,u=n.get(["lineStyle","width"])||2;a-=u/2,s-=u/2,l+=u,c+=u,a=Math.floor(a),l=Math.round(l);var h=new ha({shape:{x:a,y:s,width:l,height:c}});if(t){var d=e.getBaseAxis(),f=d.isHorizontal(),p=d.inverse;f?(p&&(h.shape.x+=l),h.shape.width=0):(p||(h.shape.y+=c),h.shape.height=0);var A=Object(g.isFunction)(i)?function(e){i(e,h)}:null;nc(h,{shape:{width:l,height:c,x:a,y:s}},n,null,r,A)}return h}function Bw(e,t,n){var r=e.getArea(),i=Ar(r.r0,1),o=Ar(r.r,1),a=new ml({shape:{cx:Ar(e.cx,1),cy:Ar(e.cy,1),r0:i,r:o,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});t&&("angle"===e.getBaseAxis().dim?a.shape.endAngle=r.startAngle:a.shape.r=i,nc(a,{shape:{endAngle:r.endAngle,r:o}},n));return a}function kw(e,t,n,r,i){return e?"polar"===e.type?Bw(e,t,n):"cartesian2d"===e.type?Sw(e,t,n,r,i):null:null}function Tw(e,t){return e.type===t}function Ew(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function Mw(e){for(var t=1/0,n=1/0,r=-1/0,i=-1/0,o=0;o<e.length;){var a=e[o++],s=e[o++];isNaN(a)||(t=Math.min(a,t),r=Math.max(a,r)),isNaN(s)||(n=Math.min(s,n),i=Math.max(s,i))}return[[t,n],[r,i]]}function Dw(e,t){var n=Mw(e),r=n[0],i=n[1],o=Mw(t),a=o[0],s=o[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function Ow(e){return g.isNumber(e)?e:e?.5:0}function Iw(e,t,n,r){var i=t.getBaseAxis(),o="x"===i.dim||"radius"===i.dim?0:1,a=[],s=0,l=[],c=[],u=[],h=[];if(r){for(s=0;s<e.length;s+=2)isNaN(e[s])||isNaN(e[s+1])||h.push(e[s],e[s+1]);e=h}for(s=0;s<e.length-2;s+=2)switch(u[0]=e[s+2],u[1]=e[s+3],c[0]=e[s],c[1]=e[s+1],a.push(c[0],c[1]),n){case"end":l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1]);break;case"middle":var d=(c[o]+u[o])/2,f=[];l[o]=f[o]=d,l[1-o]=c[1-o],f[1-o]=u[1-o],a.push(l[0],l[1]),a.push(f[0],f[1]);break;default:l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1])}return a.push(e[s++],e[s++]),a}function Lw(e,t,n){var r=e.getVisual("visualMeta");if(r&&r.length&&e.count()&&"cartesian2d"===t.type){for(var i,o,a=r.length-1;a>=0;a--){var s=e.getDimensionInfo(r[a].dimension);if("x"===(i=s&&s.coordDim)||"y"===i){o=r[a];break}}if(o){var l=t.getAxis(i),c=g.map(o.stops,function(e){return{coord:l.toGlobalCoord(l.dataToCoord(e.value)),color:e.color}}),u=c.length,h=o.outerColors.slice();u&&c[0].coord>c[u-1].coord&&(c.reverse(),h.reverse());var d=function(e,t){var n,r,i=[],o=e.length;function a(e,t,n){var r=e.coord,i=(n-r)/(t.coord-r);return{coord:n,color:Object(Lt.lerp)(i,[e.color,t.color])}}for(var s=0;s<o;s++){var l=e[s],c=l.coord;if(c<0)n=l;else{if(c>t){r?i.push(a(r,l,t)):n&&i.push(a(n,l,0),a(n,l,t));break}n&&(i.push(a(n,l,0)),n=null),i.push(l),r=l}}return i}(c,"x"===i?n.getWidth():n.getHeight()),f=d.length;if(!f&&u)return c[0].coord<0?h[1]?h[1]:c[u-1].color:h[0]?h[0]:c[0].color;var p=d[0].coord-10,A=d[f-1].coord+10,v=A-p;if(v<.001)return"transparent";g.each(d,function(e){e.offset=(e.coord-p)/v}),d.push({offset:f?d[f-1].offset:.5,color:h[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:h[0]||"transparent"});var m=new zl(0,0,0,0,d,!0);return m[i]=p,m[i+"2"]=A,m}}}function Pw(e,t,n){var r=e.get("showAllSymbol"),i="auto"===r;if(!r||i){var o=n.getAxesByScale("ordinal")[0];if(o&&(!i||!function(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(1.5*uw.getSymbolSize(t,a)[e.isHorizontal()?1:0]>r)return!1;return!0}(o,t))){var a=t.mapDimension(o.dim),s={};return g.each(o.getViewLabels(),function(e){var t=o.scale.getRawOrdinalNumber(e.tickValue);s[t]=1}),function(e){return!s.hasOwnProperty(t.get(a,e))}}}}function Fw(e,t){return[e[2*t],e[2*t+1]]}function Rw(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<Ra.length;t++)if(e.get([Ra[t],"endLabel","show"]))return!0;return!1}function Nw(e,t,n,r){if(Tw(t,"cartesian2d")){var i=r.getModel("endLabel"),o=i.get("valueAnimation"),a=r.getData(),s={lastFrameIndex:0},l=Rw(r)?function(n,r){e._endLabelOnDuring(n,r,a,s,o,i,t)}:null,c=t.getBaseAxis().isHorizontal(),u=Sw(t,n,r,function(){var t=e._endLabel;t&&n&&null!=s.originalX&&t.attr({x:s.originalX,y:s.originalY})},l);if(!r.get("clip",!0)){var h=u.shape,d=Math.max(h.width,h.height);c?(h.y-=d,h.height+=2*d):(h.x-=d,h.width+=2*d)}return l&&l(1,u),u}return Bw(t,n,r)}var Hw=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.init=function(){var e=new tr,t=new pw;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},t.prototype.render=function(e,t,n){var r=this,i=e.coordinateSystem,o=this.group,a=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),c=a.getLayout("points")||[],u="polar"===i.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,A=this._lineGroup,v=!t.ssr&&e.isAnimationEnabled(),m=!l.isEmpty(),y=l.get("origin"),b=Aw(i,a,y),_=m&&function(e,t,n){if(!n.valueDim)return[];for(var r=t.count(),i=Pm(2*r),o=0;o<r;o++){var a=gw(n,e,t,o);i[2*o]=a[0],i[2*o+1]=a[1]}return i}(i,a,b),w=e.get("showSymbol"),x=e.get("connectNulls"),C=w&&!u&&Pw(e,a,i),S=this._data;S&&S.eachItemGraphicEl(function(e,t){e.__temp&&(o.remove(e),S.setItemGraphicEl(t,null))}),w||d.remove(),o.add(A);var B,k=!u&&e.get("step");i&&i.getArea&&e.get("clip",!0)&&(null!=(B=i.getArea()).width?(B.x-=.1,B.y-=.1,B.width+=.2,B.height+=.2):B.r0&&(B.r0-=.5,B.r+=.5)),this._clipShapeForSymbol=B;var T=Lw(a,i,n)||a.getVisual("style")[a.getVisual("drawType")];if(f&&h.type===i.type&&k===this._step){m&&!p?p=this._newPolygon(c,_):p&&!m&&(A.remove(p),p=this._polygon=null),u||this._initOrUpdateEndLabel(e,i,ch(T));var E=A.getClipPath();if(E)nc(E,{shape:Nw(this,i,!1,e).shape},e);else A.setClipPath(Nw(this,i,!0,e));w&&d.updateData(a,{isIgnore:C,clipShape:B,disableAnimation:!0,getSymbolPoint:function(e){return[c[2*e],c[2*e+1]]}}),Ew(this._stackedOnPoints,_)&&Ew(this._points,c)||(v?this._doUpdateAnimation(a,_,i,n,k,y,x):(k&&(c=Iw(c,i,k,x),_&&(_=Iw(_,i,k,x))),f.setShape({points:c}),p&&p.setShape({points:c,stackedOnPoints:_})))}else w&&d.updateData(a,{isIgnore:C,clipShape:B,disableAnimation:!0,getSymbolPoint:function(e){return[c[2*e],c[2*e+1]]}}),v&&this._initSymbolLabelAnimation(a,i,B),k&&(c=Iw(c,i,k,x),_&&(_=Iw(_,i,k,x))),f=this._newPolyline(c),m?p=this._newPolygon(c,_):p&&(A.remove(p),p=this._polygon=null),u||this._initOrUpdateEndLabel(e,i,ch(T)),A.setClipPath(Nw(this,i,!0,e));var M=e.getModel("emphasis"),D=M.get("focus"),O=M.get("blurScope"),I=M.get("disabled");(f.useStyle(g.defaults(s.getLineStyle(),{fill:"none",stroke:T,lineJoin:"bevel"})),Bs(f,e,"lineStyle"),f.style.lineWidth>0&&"bolder"===e.get(["emphasis","lineStyle","width"]))&&(f.getState("emphasis").style.lineWidth=+f.style.lineWidth+1);Ta(f).seriesIndex=e.seriesIndex,ws(f,D,O,I);var L=Ow(e.get("smooth")),P=e.get("smoothMonotone");if(f.setShape({smooth:L,smoothMonotone:P,connectNulls:x}),p){var F=a.getCalculationInfo("stackedOnSeries"),R=0;p.useStyle(g.defaults(l.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),F&&(R=Ow(F.get("smooth"))),p.setShape({smooth:L,stackedOnSmooth:R,smoothMonotone:P,connectNulls:x}),Bs(p,e,"areaStyle"),Ta(p).seriesIndex=e.seriesIndex,ws(p,D,O,I)}var N=function(e){r._changePolyState(e)};a.eachItemGraphicEl(function(e){e&&(e.onHoverStateChange=N)}),this._polyline.onHoverStateChange=N,this._data=a,this._coordSys=i,this._stackedOnPoints=_,this._points=c,this._step=k,this._valueOrigin=y,e.get("triggerLineEvent")&&(this.packEventData(e,f),p&&this.packEventData(e,p))},t.prototype.packEventData=function(e,t){Ta(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,t,n,r){var i=e.getData(),o=qr(i,r);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=i.getLayout("points"),s=i.getItemGraphicEl(o);if(!s){var l=a[2*o],c=a[2*o+1];if(isNaN(l)||isNaN(c))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,c))return;var u=e.get("zlevel")||0,h=e.get("z")||0;(s=new uw(i,o)).x=l,s.y=c,s.setZ(u,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=u,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else xp.prototype.highlight.call(this,e,t,n,r)},t.prototype.downplay=function(e,t,n,r){var i=e.getData(),o=qr(i,r);if(this._changePolyState("normal"),null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else xp.prototype.downplay.call(this,e,t,n,r)},t.prototype._changePolyState=function(e){var t=this._polygon;is(this._polyline,e),t&&is(t,e)},t.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new ww({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t,t},t.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Cw({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},t.prototype._initSymbolLabelAnimation=function(e,t,n){var r,i,o=t.getBaseAxis(),a=o.inverse;"cartesian2d"===t.type?(r=o.isHorizontal(),i=!1):"polar"===t.type&&(r="angle"===o.dim,i=!0);var s=e.hostModel,l=s.get("animationDuration");g.isFunction(l)&&(l=l(null));var c=s.get("animationDelay")||0,u=g.isFunction(c)?c(null):c;e.eachItemGraphicEl(function(e,o){var s=e;if(s){var h=[e.x,e.y],d=void 0,f=void 0,p=void 0;if(n)if(i){var A=n,v=t.pointToCoord(h);r?(d=A.startAngle,f=A.endAngle,p=-v[1]/180*Math.PI):(d=A.r0,f=A.r,p=v[0])}else{var m=n;r?(d=m.x,f=m.x+m.width,p=e.x):(d=m.y+m.height,f=m.y,p=e.y)}var y=f===d?0:(p-d)/(f-d);a&&(y=1-y);var b=g.isFunction(c)?c(o):l*y+u,_=s.getSymbolPath(),w=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:b}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:b}),_.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,t,n){var r=e.getModel("endLabel");if(Rw(e)){var i=e.getData(),o=this._polyline,a=i.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new ka({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(e){for(var t,n,r=e.length/2;r>0&&(t=e[2*r-2],n=e[2*r-1],isNaN(t)||isNaN(n));r--);return r-1}(a);l>=0&&(Uc(o,Qc(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:l,defaultText:function(e,t,n){return null!=n?lw(i,n):sw(i,e)},enableTextSetter:!0},function(e,t){var n=t.getBaseAxis(),r=n.isHorizontal(),i=n.inverse,o=r?i?"right":"left":"center",a=r?"middle":i?"top":"bottom";return{normal:{align:e.get("align")||o,verticalAlign:e.get("verticalAlign")||a}}}(r,t)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,t,n,r,i,o,a){var s=this._endLabel,l=this._polyline;if(s){e<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var c=n.getLayout("points"),u=n.hostModel,h=u.get("connectNulls"),d=o.get("precision"),f=o.get("distance")||0,p=a.getBaseAxis(),A=p.isHorizontal(),g=p.inverse,v=t.shape,m=g?A?v.x:v.y+v.height:A?v.x+v.width:v.y,y=(A?f:0)*(g?-1:1),b=(A?0:-f)*(g?-1:1),_=A?"x":"y",w=function(e,t,n){for(var r,i,o=e.length/2,a="x"===n?0:1,s=0,l=-1,c=0;c<o;c++)if(i=e[2*c+a],!isNaN(i)&&!isNaN(e[2*c+1-a]))if(0!==c){if(r<=t&&i>=t||r>=t&&i<=t){l=c;break}s=c,r=i}else r=i;return{range:[s,l],t:(t-r)/(i-r)}}(c,m,_),x=w.range,C=x[1]-x[0],S=void 0;if(C>=1){if(C>1&&!h){var B=Fw(c,x[0]);s.attr({x:B[0]+y,y:B[1]+b}),i&&(S=u.getRawValue(x[0]))}else{(B=l.getPointOn(m,_))&&s.attr({x:B[0]+y,y:B[1]+b});var k=u.getRawValue(x[0]),T=u.getRawValue(x[1]);i&&(S=ci(n,d,k,T,w.t))}r.lastFrameIndex=x[0]}else{var E=1===e||r.lastFrameIndex>0?x[0]:0;B=Fw(c,E);i&&(S=u.getRawValue(E)),s.attr({x:B[0]+y,y:B[1]+b})}i&&$c(s).setLabelText(S)}},t.prototype._doUpdateAnimation=function(e,t,n,r,i,o,a){var s=this._polyline,l=this._polygon,c=e.hostModel,u=function(e,t,n,r,i,o,a,s){for(var l=function(e,t){var n=[];return t.diff(e).add(function(e){n.push({cmd:"+",idx:e})}).update(function(e,t){n.push({cmd:"=",idx:t,idx1:e})}).remove(function(e){n.push({cmd:"-",idx:e})}).execute(),n}(e,t),c=[],u=[],h=[],d=[],f=[],p=[],A=[],g=Aw(i,t,a),v=e.getLayout("points")||[],m=t.getLayout("points")||[],y=0;y<l.length;y++){var b=l[y],_=!0,w=void 0,x=void 0;switch(b.cmd){case"=":w=2*b.idx,x=2*b.idx1;var C=v[w],S=v[w+1],B=m[x],k=m[x+1];(isNaN(C)||isNaN(S))&&(C=B,S=k),c.push(C,S),u.push(B,k),h.push(n[w],n[w+1]),d.push(r[x],r[x+1]),A.push(t.getRawIndex(b.idx1));break;case"+":var T=b.idx,E=g.dataDimsForPoint,M=i.dataToPoint([t.get(E[0],T),t.get(E[1],T)]);x=2*T,c.push(M[0],M[1]),u.push(m[x],m[x+1]);var D=gw(g,i,t,T);h.push(D[0],D[1]),d.push(r[x],r[x+1]),A.push(t.getRawIndex(T));break;case"-":_=!1}_&&(f.push(b),p.push(p.length))}p.sort(function(e,t){return A[e]-A[t]});var O=c.length,I=Pm(O),L=Pm(O),P=Pm(O),F=Pm(O),R=[];for(y=0;y<p.length;y++){var N=p[y],H=2*y,j=2*N;I[H]=c[j],I[H+1]=c[j+1],L[H]=u[j],L[H+1]=u[j+1],P[H]=h[j],P[H+1]=h[j+1],F[H]=d[j],F[H+1]=d[j+1],R[y]=f[N]}return{current:I,next:L,stackedOnCurrent:P,stackedOnNext:F,status:R}}(this._data,e,this._stackedOnPoints,t,this._coordSys,0,this._valueOrigin),h=u.current,d=u.stackedOnCurrent,f=u.next,p=u.stackedOnNext;if(i&&(h=Iw(u.current,n,i,a),d=Iw(u.stackedOnCurrent,n,i,a),f=Iw(u.next,n,i,a),p=Iw(u.stackedOnNext,n,i,a)),Dw(h,f)>3e3||l&&Dw(d,p)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:p})));s.shape.__points=u.current,s.shape.points=h;var A={shape:{points:f}};u.current!==h&&(A.shape.__points=u.next),s.stopAnimation(),tc(s,A,c),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),tc(l,{shape:{stackedOnPoints:p}},c),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var g=[],v=u.status,m=0;m<v.length;m++){if("="===v[m].cmd){var y=e.getItemGraphicEl(v[m].idx1);y&&g.push({el:y,ptIdx:m})}}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var e=s.shape.__points,t=0;t<g.length;t++){var n=g[t].el,r=2*g[t].ptIdx;n.x=e[r],n.y=e[r+1],n.markRedraw()}})},t.prototype.remove=function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(e,r){e.__temp&&(t.remove(e),n.setItemGraphicEl(r,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(xp);function jw(e,t){return{seriesType:e,plan:pp(),reset:function(e){var n=e.getData(),r=e.coordinateSystem,i=e.pipelineContext,o=t||i.large;if(r){var a=Object(g.map)(r.dimensions,function(e){return n.mapDimension(e)}).slice(0,2),s=a.length,l=n.getCalculationInfo("stackResultDimension");dm(n,a[0])&&(a[0]=l),dm(n,a[1])&&(a[1]=l);var c=n.getStore(),u=n.getDimensionIndex(a[0]),h=n.getDimensionIndex(a[1]);return s&&{progress:function(e,t){for(var n=e.end-e.start,i=o&&Pm(n*s),a=[],l=[],d=e.start,f=0;d<e.end;d++){var p=void 0;if(1===s){var A=c.get(u,d);p=r.dataToPoint(A,null,l)}else a[0]=c.get(u,d),a[1]=c.get(h,d),p=r.dataToPoint(a,null,l);o?(i[f++]=p[0],i[f++]=p[1]):t.setItemLayout(d,p.slice())}o&&t.setLayout("points",i)}}}}}}var Uw={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},Qw=function(e){return Math.round(e.length/2)};function zw(e){return{seriesType:e,reset:function(e,t,n){var r=e.getData(),i=e.get("sampling"),o=e.coordinateSystem,a=r.count();if(a>10&&"cartesian2d"===o.type&&i){var s=o.getBaseAxis(),l=o.getOtherAxis(s),c=s.getExtent(),u=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(u||1),d=Math.round(a/h);if(isFinite(d)&&d>1){"lttb"===i&&e.setData(r.lttbDownSample(r.mapDimension(l.dim),1/d));var f=void 0;Object(g.isString)(i)?f=Uw[i]:Object(g.isFunction)(i)&&(f=i),f&&e.setData(r.downSample(r.mapDimension(l.dim),1/d,f,Qw))}}}}}var Yw=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.getInitialData=function(e,t){return pm(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,t,n){var r=this.coordinateSystem;if(r&&r.clampData){var i=r.clampData(e),o=r.dataToPoint(i);if(n)Object(g.each)(r.getAxes(),function(e,n){if("category"===e.type&&null!=t){var r=e.getTicksCoords(),a=i[n],s="x1"===t[n]||"y1"===t[n];if(s&&(a+=1),r.length<2)return;if(2===r.length)return void(o[n]=e.toGlobalCoord(e.getExtent()[s?1:0]));for(var l=void 0,c=void 0,u=1,h=0;h<r.length;h++){var d=r[h].coord,f=h===r.length-1?r[h-1].tickValue+u:r[h].tickValue;if(f===a){c=d;break}if(f<a)l=d;else if(null!=l&&f>a){c=(d+l)/2;break}1===h&&(u=f-r[0].tickValue)}null==c&&(l?l&&(c=r[r.length-1].coord):c=r[0].coord),o[n]=e.toGlobalCoord(c)}});else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),c=r.getBaseAxis().isHorizontal()?0:1;o[c]+=s+l/2}return o}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(hp);hp.registerClass(Yw);var Vw=Yw,Gw=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.getInitialData=function(){return pm(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},t.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Au(Vw.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(Vw),Ww=function(){return function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}}(),Xw=function(e){function t(t){var n=e.call(this,t)||this;return n.type="sausage",n}return p(t,e),t.prototype.getDefaultShape=function(){return new Ww},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-i),s=i+a,l=t.startAngle,c=t.endAngle,u=t.clockwise,h=2*Math.PI,d=u?c-l<h:l-c<h;d||(l=c-(u?h:-h));var f=Math.cos(l),p=Math.sin(l),A=Math.cos(c),g=Math.sin(c);d?(e.moveTo(f*i+n,p*i+r),e.arc(f*s+n,p*s+r,a,-Math.PI+l,l,!u)):e.moveTo(f*o+n,p*o+r),e.arc(n,r,o,l,c,!u),e.arc(A*s+n,g*s+r,a,c-2*Math.PI,c-Math.PI,!u),0!==i&&e.arc(n,r,i,c,l,u)},t}($o);function Zw(e,t,n){return t*Math.sin(e)*(n?-1:1)}function $w(e,t,n){return t*Math.cos(e)*(n?1:-1)}function Kw(e,t,n){var r=e.get("borderRadius");if(null==r)return n?{cornerRadius:0}:null;Object(g.isArray)(r)||(r=[r,r,r,r]);var i=Math.abs(t.r||0-t.r0||0);return{cornerRadius:Object(g.map)(r,function(e){return zn(e,i)})}}var Jw=Math.max,qw=Math.min;var ex=function(e){function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return p(t,e),t.prototype.render=function(e,t,n,r){this._model=e,this._removeOnRenderedListener(n),this._updateDrawMode(e);var i=e.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n,r))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,t){this._progressiveEls=[],this._incrementalRenderLarge(e,t)},t.prototype.eachRendered=function(e){Rc(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e,t,n,r){var i,o=this.group,a=e.getData(),s=this._data,l=e.coordinateSystem,c=l.getBaseAxis();"cartesian2d"===l.type?i=c.isHorizontal():"polar"===l.type&&(i="angle"===c.dim);var u=e.isAnimationEnabled()?e:null,h=function(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();0;if(n&&"category"===r.type&&"cartesian2d"===t.type)return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}(e,l);h&&this._enableRealtimeSort(h,a,n);var d=e.get("clip",!0)||h,f=function(e,t){var n=e.getArea&&e.getArea();if(Tw(e,"cartesian2d")){var r=e.getBaseAxis();if("category"!==r.type||!r.onBand){var i=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}(l,a);o.removeClipPath();var p=e.get("roundCap",!0),A=e.get("showBackground",!0),g=e.getModel("backgroundStyle"),v=g.get("borderRadius")||0,m=[],y=this._backgroundEls,b=r&&r.isInitSort,_=r&&"changeAxisOrder"===r.type;function w(e){var t=lx[l.type](a,e),n=function(e,t,n){return new("polar"===e.type?ml:ha)({shape:Ax(t,n,e),silent:!0,z2:0})}(l,i,t);return n.useStyle(g.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",v):n.setShape("cornerRadius",v),m[e]=n,n}a.diff(s).add(function(t){var n=a.getItemModel(t),r=lx[l.type](a,t,n);if(A&&w(t),a.hasValue(t)&&sx[l.type](r)){var s=!1;d&&(s=tx[l.type](f,r));var g=nx[l.type](e,a,t,r,i,u,c.model,!1,p);h&&(g.forceLabelAnimation=!0),ux(g,a,t,n,r,e,i,"polar"===l.type),b?g.attr({shape:r}):h?rx(h,u,g,r,t,i,!1,!1):nc(g,{shape:r},e,t),a.setItemGraphicEl(t,g),o.add(g),g.ignore=s}}).update(function(t,n){var r=a.getItemModel(t),x=lx[l.type](a,t,r);if(A){var C=void 0;0===y.length?C=w(n):((C=y[n]).useStyle(g.getItemStyle()),"cartesian2d"===l.type?C.setShape("r",v):C.setShape("cornerRadius",v),m[t]=C);var S=lx[l.type](a,t);tc(C,{shape:Ax(i,S,l)},u,t)}var B=s.getItemGraphicEl(n);if(a.hasValue(t)&&sx[l.type](x)){var k=!1;if(d&&(k=tx[l.type](f,x))&&o.remove(B),B?sc(B):B=nx[l.type](e,a,t,x,i,u,c.model,!!B,p),h&&(B.forceLabelAnimation=!0),_){var T=B.getTextContent();if(T){var E=$c(T);null!=E.prevValue&&(E.prevValue=E.value)}}else ux(B,a,t,r,x,e,i,"polar"===l.type);b?B.attr({shape:x}):h?rx(h,u,B,x,t,i,!0,_):tc(B,{shape:x},e,t,null),a.setItemGraphicEl(t,B),B.ignore=k,o.add(B)}else o.remove(B)}).remove(function(t){var n=s.getItemGraphicEl(t);n&&ac(n,e,t)}).execute();var x=this._backgroundGroup||(this._backgroundGroup=new tr);x.removeAll();for(var C=0;C<m.length;++C)x.add(m[C]);o.add(x),this._backgroundEls=m,this._data=a},t.prototype._renderLarge=function(e,t,n){this._clear(),fx(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),fx(t,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&kw(e.coordinateSystem,!1,e),n=this.group;t?n.setClipPath(t):n.removeClipPath()},t.prototype._enableRealtimeSort=function(e,t,n){var r=this;if(t.count()){var i=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,n),this._isFirstFrame=!1;else{var o=function(e){var n=t.getItemGraphicEl(e),r=n&&n.shape;return r&&Math.abs(i.isHorizontal()?r.height:r.width)||0};this._onRendered=function(){r._updateSortWithinSameData(t,o,i,n)},n.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,t,n){var r=[];return e.each(e.mapDimension(t.dim),function(e,t){var i=n(t);i=null==i?NaN:i,r.push({dataIndex:t,mappedValue:i,ordinalNumber:e})}),r.sort(function(e,t){return t.mappedValue-e.mappedValue}),{ordinalNumbers:Object(g.map)(r,function(e){return e.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(e,t,n){for(var r=n.scale,i=e.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=r.getOrdinalMeta().categories.length;a<s;++a){var l=e.rawIndexOf(i,r.getRawOrdinalNumber(a)),c=l<0?Number.MIN_VALUE:t(e.indexOfRawIndex(l));if(c>o)return!0;o=c}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,r=n.getExtent(),i=Math.max(0,r[0]),o=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=o;++i)if(e.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},t.prototype._updateSortWithinSameData=function(e,t,n,r){if(this._isOrderChangedWithinSameData(e,t,n)){var i=this._dataSort(e,n,t);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},t.prototype._dispatchInitSort=function(e,t,n){var r=t.baseAxis,i=this._dataSort(e,r,function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)});n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,n=this._data;e&&e.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(t){ac(t,e,Ta(t).dataIndex)})):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(xp),tx={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=Jw(t.x,e.x),s=qw(t.x+t.width,i),l=Jw(t.y,e.y),c=qw(t.y+t.height,o),u=s<a,h=c<l;return t.x=u&&a>i?s:a,t.y=h&&l>o?c:l,t.width=u?0:s-a,t.height=h?0:c-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),u||h},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=qw(t.r,e.r),o=Jw(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){r=t.r;t.r=t.r0,t.r0=r}return a}},nx={cartesian2d:function(e,t,n,r,i,o,a,s,l){var c=new ha({shape:Object(g.extend)({},r),z2:1});(c.__dataIndex=n,c.name="item",o)&&(c.shape[i?"height":"width"]=0);return c},polar:function(e,t,n,r,i,o,a,s,l){var c=!i&&l?Xw:ml,u=new c({shape:r,z2:1});u.name="item";var h,d,f=cx(i);if(u.calculateTextPosition=(h=f,d=({isRoundCap:c===Xw}||{}).isRoundCap,function(e,t,n){var r=t.position;if(!r||r instanceof Array)return Yn(e,t,n);var i=h(r),o=null!=t.distance?t.distance:5,a=this.shape,s=a.cx,l=a.cy,c=a.r,u=a.r0,f=(c+u)/2,p=a.startAngle,A=a.endAngle,g=(p+A)/2,v=d?Math.abs(c-u)/2:0,m=Math.cos,y=Math.sin,b=s+c*m(p),_=l+c*y(p),w="left",x="top";switch(i){case"startArc":b=s+(u-o)*m(g),_=l+(u-o)*y(g),w="center",x="top";break;case"insideStartArc":b=s+(u+o)*m(g),_=l+(u+o)*y(g),w="center",x="bottom";break;case"startAngle":b=s+f*m(p)+Zw(p,o+v,!1),_=l+f*y(p)+$w(p,o+v,!1),w="right",x="middle";break;case"insideStartAngle":b=s+f*m(p)+Zw(p,-o+v,!1),_=l+f*y(p)+$w(p,-o+v,!1),w="left",x="middle";break;case"middle":b=s+f*m(g),_=l+f*y(g),w="center",x="middle";break;case"endArc":b=s+(c+o)*m(g),_=l+(c+o)*y(g),w="center",x="bottom";break;case"insideEndArc":b=s+(c-o)*m(g),_=l+(c-o)*y(g),w="center",x="top";break;case"endAngle":b=s+f*m(A)+Zw(A,o+v,!0),_=l+f*y(A)+$w(A,o+v,!0),w="left",x="middle";break;case"insideEndAngle":b=s+f*m(A)+Zw(A,-o+v,!0),_=l+f*y(A)+$w(A,-o+v,!0),w="right",x="middle";break;default:return Yn(e,t,n)}return(e=e||{}).x=b,e.y=_,e.align=w,e.verticalAlign=x,e}),o){var p=u.shape,A=i?"r":"endAngle",g={};p[A]=i?r.r0:r.startAngle,g[A]=r[A],(s?tc:nc)(u,{shape:g},o)}return u}};function rx(e,t,n,r,i,o,a,s){var l,c;o?(c={x:r.x,width:r.width},l={y:r.y,height:r.height}):(c={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?tc:nc)(n,{shape:l},t,i,null);var u=t?e.baseAxis.model:null;(a?tc:nc)(n,{shape:c},u,i)}function ix(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var ox=["x","y","width","height"],ax=["cx","cy","r","startAngle","endAngle"],sx={cartesian2d:function(e){return!ix(e,ox)},polar:function(e){return!ix(e,ax)}},lx={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),i=n?function(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}(n,r):0,o=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function cx(e){return function(e){var t=e?"Arc":"Angle";return function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}}(e)}function ux(e,t,n,r,i,o,a,s){var l=t.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var c=e.shape,u=Kw(r.getModel("itemStyle"),c,!0);Object(g.extend)(c,u),e.setShape(c)}}else{var h=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",h)}e.useStyle(l);var d=r.getShallow("cursor");d&&e.attr("cursor",d);var f=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",p=Qc(r);Uc(e,p,{labelFetcher:o,labelDataIndex:n,defaultText:sw(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:f});var A=e.getTextContent();if(s&&A){var v=r.get(["label","position"]);e.textConfig.inside="middle"===v||null,function(e,t,n,r){if(Object(g.isNumber)(r))e.setTextConfig({rotation:r});else if(Object(g.isArray)(t))e.setTextConfig({rotation:0});else{var i,o=e.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,c=n(t);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=l;break;case"startAngle":case"insideStartAngle":i=a;break;case"endAngle":case"insideEndAngle":i=s;break;default:return void e.setTextConfig({rotation:0})}var u=1.5*Math.PI-i;"middle"===c&&u>Math.PI/2&&u<1.5*Math.PI&&(u-=Math.PI),e.setTextConfig({rotation:u})}}(e,"outside"===v?f:v,cx(a),r.get(["label","rotate"]))}Kc(A,p,o.getRawValue(n),function(e){return lw(t,e)});var m=r.getModel(["emphasis"]);ws(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),Bs(e,r),function(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}(i)&&(e.style.fill="none",e.style.stroke="none",Object(g.each)(e.states,function(e){e.style&&(e.style.fill=e.style.stroke="none")}))}var hx=function(){return function(){}}(),dx=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeBar",n}return p(t,e),t.prototype.getDefaultShape=function(){return new hx},t.prototype.buildPath=function(e,t){for(var n=t.points,r=this.baseDimIdx,i=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[r]=s,a[i]=n[l+2],o[r]=n[l+r],o[i]=n[l+i],e.rect(o[0],o[1],a[0],a[1])},t}($o);function fx(e,t,n,r){var i=e.getData(),o=i.getLayout("valueAxisHorizontal")?1:0,a=i.getLayout("largeDataIndices"),s=i.getLayout("size"),l=e.getModel("backgroundStyle"),c=i.getLayout("largeBackgroundPoints");if(c){var u=new dx({shape:{points:c},incremental:!!r,silent:!0,z2:0});u.baseDimIdx=o,u.largeDataIndices=a,u.barWidth=s,u.useStyle(l.getItemStyle()),t.add(u),n&&n.push(u)}var h=new dx({shape:{points:i.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,t.add(h),h.useStyle(i.getVisual("style")),Ta(h).seriesIndex=e.seriesIndex,e.get("silent")||(h.on("mousedown",px),h.on("mousemove",px)),n&&n.push(h)}var px=kp(function(e){var t=function(e,t,n){for(var r=e.baseDimIdx,i=1-r,o=e.shape.points,a=e.largeDataIndices,s=[],l=[],c=e.barWidth,u=0,h=o.length/3;u<h;u++){var d=3*u;if(l[r]=c,l[i]=o[d+2],s[r]=o[d+r],s[i]=o[d+i],l[i]<0&&(s[i]+=l[i],l[i]=-l[i]),t>=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[u]}return-1}(this,e.offsetX,e.offsetY);Ta(this).dataIndex=t>=0?t:null},30,!1);function Ax(e,t,n){if(Tw(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}var o=t;return{cx:(i=n.getArea()).cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:2*Math.PI}}var gx=ex;var vx=2*Math.PI,mx=Math.PI/180;function yx(e,t){return gh(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function bx(e,t){var n=yx(e,t),r=e.get("center"),i=e.get("radius");g.isArray(i)||(i=[0,i]);var o,a,s=pr(n.width,t.getWidth()),l=pr(n.height,t.getHeight()),c=Math.min(s,l),u=pr(i[0],c/2),h=pr(i[1],c/2),d=e.coordinateSystem;if(d){var f=d.dataToPoint(r);o=f[0]||0,a=f[1]||0}else g.isArray(r)||(r=[r,r]),o=pr(r[0],s)+n.x,a=pr(r[1],l)+n.y;return{cx:o,cy:a,r0:u,r:h}}function _x(e,t,n){t.eachSeriesByType(e,function(e){var t=e.getData(),r=t.mapDimension("value"),i=yx(e,n),o=bx(e,n),a=o.cx,s=o.cy,l=o.r,c=o.r0,u=-e.get("startAngle")*mx,h=e.get("minAngle")*mx,d=0;t.each(r,function(e){!isNaN(e)&&d++});var f=t.getSum(r),p=Math.PI/(f||d)*2,A=e.get("clockwise"),g=e.get("roseType"),v=e.get("stillShowZeroSum"),m=t.getDataExtent(r);m[0]=0;var y=vx,b=0,_=u,w=A?1:-1;if(t.setLayout({viewRect:i,r:l}),t.each(r,function(e,n){var r;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:a,cy:s,r0:c,r:g?NaN:l});else{(r="area"!==g?0===f&&v?p:e*p:vx/d)<h?(r=h,y-=h):b+=e;var i=_+w*r;t.setItemLayout(n,{angle:r,startAngle:_,endAngle:i,clockwise:A,cx:a,cy:s,r0:c,r:g?fr(e,m,[c,l]):l}),_=i}}),y<vx&&d)if(y<=.001){var x=vx/d;t.each(r,function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n);r.angle=x,r.startAngle=u+w*n*x,r.endAngle=u+w*(n+1)*x}})}else p=y/b,_=u,t.each(r,function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n),i=r.angle===h?h:e*p;r.startAngle=_,r.endAngle=_+w*i,_+=w*i}})})}function wx(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var r=e.getData();r.filterSelf(function(e){for(var t=r.getName(e),i=0;i<n.length;i++)if(!n[i].isSelected(t))return!1;return!0})}}}}var xx=Math.PI/180;function Cx(e,t,n,r,i,o,a,s,l,c){if(!(e.length<2)){for(var u=e.length,h=0;h<u;h++)if("outer"===e[h].position&&"labelLine"===e[h].labelAlignTo){var d=e[h].label.x-c;e[h].linePoints[1][0]+=d,e[h].label.x=c}Ob(e,l,l+a)&&function(e){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<e.length;s++)if("none"===e[s].labelAlignTo){var l=e[s],c=l.label.y>n?a:o,u=Math.abs(l.label.y-n);if(u>=c.maxY){var h=l.label.x-t-l.len2*i,d=r+l.len,p=Math.abs(h)<d?Math.sqrt(u*u/(1-h*h/d/d)):d;c.rB=p,c.maxY=u}c.list.push(l)}f(o),f(a)}(e)}function f(e){for(var o=e.rB,a=o*o,s=0;s<e.list.length;s++){var l=e.list[s],c=Math.abs(l.label.y-n),u=r+l.len,h=u*u,d=Math.sqrt((1-Math.abs(c*c/a))*h),f=t+(d+l.len2)*i,p=f-l.label.x;Sx(l,l.targetTextWidth-p*i,!0),l.label.x=f}}}function Sx(e,t,n){if(void 0===n&&(n=!1),null==e.labelStyleWidth){var r=e.label,i=r.style,o=e.rect,a=i.backgroundColor,s=i.padding,l=s?s[1]+s[3]:0,c=i.overflow,u=o.width+(a?0:l);if(t<u||n){var h=o.height;if(c&&c.match("break")){r.setStyle("backgroundColor",null),r.setStyle("width",t-l);var d=r.getBoundingRect();r.setStyle("width",Math.ceil(d.width)),r.setStyle("backgroundColor",a)}else{var f=t-l,p=t<u?f:n?f>e.unconstrainedWidth?null:f:null;r.setStyle("width",p)}var A=r.getBoundingRect();o.width=A.width;var g=(r.style.margin||0)+2.1;o.height=A.height+g,o.y-=(o.height-h)/2}}}function Bx(e){return"center"===e.position}function kx(e){var t,n,r=e.getData(),i=[],o=!1,a=(e.get("minShowLabelAngle")||0)*xx,s=r.getLayout("viewRect"),l=r.getLayout("r"),c=s.width,u=s.x,h=s.y,d=s.height;function f(e){e.ignore=!0}r.each(function(e){var s=r.getItemGraphicEl(e),h=s.shape,d=s.getTextContent(),p=s.getTextGuideLine(),A=r.getItemModel(e),v=A.getModel("label"),m=v.get("position")||A.get(["emphasis","label","position"]),y=v.get("distanceToLabelLine"),b=v.get("alignTo"),_=pr(v.get("edgeDistance"),c),w=v.get("bleedMargin"),x=A.getModel("labelLine"),C=x.get("length");C=pr(C,c);var S=x.get("length2");if(S=pr(S,c),Math.abs(h.endAngle-h.startAngle)<a)return Object(g.each)(d.states,f),d.ignore=!0,void(p&&(Object(g.each)(p.states,f),p.ignore=!0));if(function(e){if(!e.ignore)return!0;for(var t in e.states)if(!1===e.states[t].ignore)return!0;return!1}(d)){var B,k,T,E,M=(h.startAngle+h.endAngle)/2,D=Math.cos(M),O=Math.sin(M);t=h.cx,n=h.cy;var I="inside"===m||"inner"===m;if("center"===m)B=h.cx,k=h.cy,E="center";else{var L=(I?(h.r+h.r0)/2*D:h.r*D)+t,P=(I?(h.r+h.r0)/2*O:h.r*O)+n;if(B=L+3*D,k=P+3*O,!I){var F=L+D*(C+l-h.r),R=P+O*(C+l-h.r),N=F+(D<0?-1:1)*S;B="edge"===b?D<0?u+_:u+c-_:N+(D<0?-y:y),k=R,T=[[L,P],[F,R],[N,R]]}E=I?"center":"edge"===b?D>0?"right":"left":D>0?"left":"right"}var H=Math.PI,j=0,U=v.get("rotate");if(Object(g.isNumber)(U))j=U*(H/180);else if("center"===m)j=0;else if("radial"===U||!0===U){j=D<0?-M+H:-M}else if("tangential"===U&&"outside"!==m&&"outer"!==m){var Q=Math.atan2(D,O);Q<0&&(Q=2*H+Q),O>0&&(Q=H+Q),j=Q-H}if(o=!!j,d.x=B,d.y=k,d.rotation=j,d.setStyle({verticalAlign:"middle"}),I){d.setStyle({align:E});var z=d.states.select;z&&(z.x+=d.x,z.y+=d.y)}else{var Y=d.getBoundingRect().clone();Y.applyTransform(d.getComputedTransform());var V=(d.style.margin||0)+2.1;Y.y-=V/2,Y.height+=V,i.push({label:d,labelLine:p,position:m,len:C,len2:S,minTurnAngle:x.get("minTurnAngle"),maxSurfaceAngle:x.get("maxSurfaceAngle"),surfaceNormal:new xe(D,O),linePoints:T,textAlign:E,labelDistance:y,labelAlignTo:b,edgeDistance:_,bleedMargin:w,rect:Y,unconstrainedWidth:Y.width,labelStyleWidth:d.style.width})}s.setTextConfig({inside:I})}}),!o&&e.get("avoidLabelOverlap")&&function(e,t,n,r,i,o,a,s){for(var l=[],c=[],u=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d<e.length;d++){var f=e[d].label;Bx(e[d])||(f.x<t?(u=Math.min(u,f.x),l.push(e[d])):(h=Math.max(h,f.x),c.push(e[d])))}for(d=0;d<e.length;d++)if(!Bx(g=e[d])&&g.linePoints){if(null!=g.labelStyleWidth)continue;f=g.label;var p=g.linePoints,A=void 0;A="edge"===g.labelAlignTo?f.x<t?p[2][0]-g.labelDistance-a-g.edgeDistance:a+i-g.edgeDistance-p[2][0]-g.labelDistance:"labelLine"===g.labelAlignTo?f.x<t?u-a-g.bleedMargin:a+i-h-g.bleedMargin:f.x<t?f.x-a-g.bleedMargin:a+i-f.x-g.bleedMargin,g.targetTextWidth=A,Sx(g,A)}for(Cx(c,t,n,r,1,0,o,0,s,h),Cx(l,t,n,r,-1,0,o,0,s,u),d=0;d<e.length;d++){var g;if(!Bx(g=e[d])&&g.linePoints){f=g.label,p=g.linePoints;var v="edge"===g.labelAlignTo,m=f.style.padding,y=m?m[1]+m[3]:0,b=f.style.backgroundColor?0:y,_=g.rect.width+b,w=p[1][0]-p[2][0];v?f.x<t?p[2][0]=a+g.edgeDistance+_+g.labelDistance:p[2][0]=a+i-g.edgeDistance-_-g.labelDistance:(f.x<t?p[2][0]=f.x+g.labelDistance:p[2][0]=f.x-g.labelDistance,p[1][0]=p[2][0]+w),p[1][1]=p[2][1]=f.y}}}(i,t,n,l,c,d,u,h);for(var p=0;p<i.length;p++){var A=i[p],v=A.label,m=A.labelLine,y=isNaN(v.x)||isNaN(v.y);if(v){v.setStyle({align:A.textAlign}),y&&(Object(g.each)(v.states,f),v.ignore=!0);var b=v.states.select;b&&(b.x+=v.x,b.y+=v.y)}if(m){var _=A.linePoints;y||!_?(Object(g.each)(m.states,f),m.ignore=!0):(Cb(_,A.minTurnAngle),Sb(_,A.surfaceNormal,A.maxSurfaceAngle),m.setShape({points:_}),v.__hostTarget.textGuideLineConfig={anchor:new xe(_[0][0],_[0][1])})}}}var Tx=function(e){function t(t,n,r){var i=e.call(this)||this;i.z2=2;var o=new ka;return i.setTextContent(o),i.updateData(t,n,r,!0),i}return p(t,e),t.prototype.updateData=function(e,t,n,r){var i=e.hostModel,o=e.getItemModel(t),a=o.getModel("emphasis"),s=e.getItemLayout(t),l=Object(g.extend)(Kw(o.getModel("itemStyle"),s,!0),s);if(isNaN(l.startAngle))this.setShape(l);else{if(r){this.setShape(l);var c=i.getShallow("animationType");i.ecModel.ssr?(nc(this,{scaleX:0,scaleY:0},i,{dataIndex:t,isFrom:!0}),this.originX=l.cx,this.originY=l.cy):"scale"===c?(this.shape.r=s.r0,nc(this,{shape:{r:s.r}},i,t)):null!=n?(this.setShape({startAngle:n,endAngle:n}),nc(this,{shape:{startAngle:s.startAngle,endAngle:s.endAngle}},i,t)):(this.shape.endAngle=s.startAngle,tc(this,{shape:{endAngle:s.endAngle}},i,t))}else sc(this),tc(this,{shape:l},i,t);this.useStyle(e.getItemVisual(t,"style")),Bs(this,o);var u=(s.startAngle+s.endAngle)/2,h=i.get("selectedOffset"),d=Math.cos(u)*h,f=Math.sin(u)*h,p=o.getShallow("cursor");p&&this.attr("cursor",p),this._updateLabel(i,e,t),this.ensureState("emphasis").shape=Object(g.extend)({r:s.r+(a.get("scale")&&a.get("scaleSize")||0)},Kw(a.getModel("itemStyle"),s)),Object(g.extend)(this.ensureState("select"),{x:d,y:f,shape:Kw(o.getModel(["select","itemStyle"]),s)}),Object(g.extend)(this.ensureState("blur"),{shape:Kw(o.getModel(["blur","itemStyle"]),s)});var A=this.getTextGuideLine(),v=this.getTextContent();A&&Object(g.extend)(A.ensureState("select"),{x:d,y:f}),Object(g.extend)(v.ensureState("select"),{x:d,y:f}),ws(this,a.get("focus"),a.get("blurScope"),a.get("disabled"))}},t.prototype._updateLabel=function(e,t,n){var r=t.getItemModel(n),i=r.getModel("labelLine"),o=t.getItemVisual(n,"style"),a=o&&o.fill,s=o&&o.opacity;Uc(this,Qc(r),{labelFetcher:t.hostModel,labelDataIndex:n,inheritColor:a,defaultOpacity:s,defaultText:e.getFormattedLabel(n,"normal")||t.getName(n)});var l=this.getTextContent();this.setTextConfig({position:null,rotation:null}),l.attr({z2:10});var c=e.get(["label","position"]);if("outside"!==c&&"outer"!==c)this.removeTextGuideLine();else{var u=this.getTextGuideLine();u||(u=new Tl,this.setTextGuideLine(u)),Tb(this,Eb(r),{stroke:a,opacity:Object(g.retrieve3)(i.get(["lineStyle","opacity"]),s,1)})}},t}(ml),Ex=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return p(t,e),t.prototype.render=function(e,t,n,r){var i,o=e.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),c=1;isNaN(l&&l.startAngle)&&c<o.count();++c)l=o.getItemLayout(c);l&&(i=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&e.get("showEmptyCircle")){var u=new ml({shape:bx(e,n)});u.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=u,s.add(u)}o.diff(a).add(function(e){var t=new Tx(o,e,i);o.setItemGraphicEl(e,t),s.add(t)}).update(function(e,t){var n=a.getItemGraphicEl(t);n.updateData(o,e,i),n.off("click"),s.add(n),o.setItemGraphicEl(e,n)}).remove(function(t){ac(a.getItemGraphicEl(t),e,t)}).execute(),kx(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=o)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,t){var n=t.getData().getItemLayout(0);if(n){var r=e[0]-n.cx,i=e[1]-n.cy,o=Math.sqrt(r*r+i*i);return o<=n.r&&o>=n.r0}},t.type="pie",t}(xp);function Mx(e,t,n){t=Object(g.isArray)(t)&&{coordDimensions:t}||Object(g.extend)({encodeDefine:e.getEncode()},t);var r=e.getSource(),i=am(r,t).dimensions,o=new im(i,e);return o.initData(r,n),o}var Dx=function(){function e(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return e.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},e.prototype.containName=function(e){return this._getRawData().indexOfName(e)>=0},e.prototype.indexOfName=function(e){return this._getDataWithEncodedVisual().indexOfName(e)},e.prototype.getItemVisual=function(e,t){return this._getDataWithEncodedVisual().getItemVisual(e,t)},e}(),Ox=ei(),Ix=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Dx(g.bind(this.getData,this),g.bind(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return Mx(this,{coordDimensions:["value"],encodeDefaulter:g.curry(jh,this)})},t.prototype.getDataParams=function(t){var n=this.getData(),r=Ox(n),i=r.seats;if(!i){var o=[];n.each(n.mapDimension("value"),function(e){o.push(e)}),i=r.seats=_r(o,n.hostModel.get("percentPrecision"))}var a=e.prototype.getDataParams.call(this,t);return a.percent=i[t]||0,a.$vars.push("percent"),a},t.prototype._defaultLabelLine=function(e){zr(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(hp);var Lx=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return p(t,e),t.prototype.getInitialData=function(e,t){return pm(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(hp),Px=function(){return function(){}}(),Fx=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return p(t,e),t.prototype.getDefaultShape=function(){return new Px},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,t){var n,r=t.points,i=t.size,o=this.symbolProxy,a=o.shape,s=e.getContext?e.getContext():e,l=s&&i[0]<4,c=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<r.length;){var u=r[n++],h=r[n++];isNaN(u)||isNaN(h)||(c&&!c.contain(u,h)||(a.x=u-i[0]/2,a.y=h-i[1]/2,a.width=i[0],a.height=i[1],o.buildPath(e,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},t.prototype.afterBrush=function(){var e,t=this.shape,n=t.points,r=t.size,i=this._ctx,o=this.softClipShape;if(i){for(e=this._off;e<n.length;){var a=n[e++],s=n[e++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||i.fillRect(a-r[0]/2,s-r[1]/2,r[0],r[1]))}this.incremental&&(this._off=e,this.notClear=!0)}},t.prototype.findDataIndex=function(e,t){for(var n=this.shape,r=n.points,i=n.size,o=Math.max(i[0],4),a=Math.max(i[1],4),s=r.length/2-1;s>=0;s--){var l=2*s,c=r[l]-o/2,u=r[l+1]-a/2;if(e>=c&&t>=u&&e<=c+o&&t<=u+a)return s}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return e=n[0],t=n[1],r.contain(e,t)?(this.hoverDataIdx=this.findDataIndex(e,t))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,n=t.points,r=t.size,i=r[0],o=r[1],a=1/0,s=1/0,l=-1/0,c=-1/0,u=0;u<n.length;){var h=n[u++],d=n[u++];a=Math.min(h,a),l=Math.max(h,l),s=Math.min(d,s),c=Math.max(d,c)}e=this._rect=new Oe(a-i/2,s-o/2,l-a+i,c-s+o)}return e},t}($o),Rx=function(){function e(){this.group=new tr}return e.prototype.updateData=function(e,t){this._clear();var n=this._create();n.setShape({points:e.getLayout("points")}),this._setCommon(n,e,t)},e.prototype.updateLayout=function(e){var t=e.getLayout("points");this.group.eachChild(function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),r=4*e.startIndex*2;t=new Float32Array(t.buffer,r,n)}e.setShape("points",t),e.reset()})},e.prototype.incrementalPrepareUpdate=function(e){this._clear()},e.prototype.incrementalUpdate=function(e,t,n){var r=this._newAdded[0],i=t.getLayout("points"),o=r&&r.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+i.length);s.set(o),s.set(i,a),r.endIndex=e.end,r.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=e.start,l.endIndex=e.end,l.incremental=!0,l.setShape({points:i}),this._setCommon(l,t,n)}},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new Fx({cursor:"default"});return e.ignoreCoarsePointer=!0,this.group.add(e),this._newAdded.push(e),e},e.prototype._setCommon=function(e,t,n){var r=t.hostModel;n=n||{};var i=t.getVisual("symbolSize");e.setShape("size",i instanceof Array?i:[i,i]),e.softClipShape=n.clipShape||null,e.symbolProxy=EA(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var o=e.shape.size[0]<4;e.useStyle(r.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=t.getVisual("style"),s=a&&a.fill;s&&e.setColor(s);var l=Ta(e);l.seriesIndex=r.seriesIndex,e.on("mousemove",function(t){l.dataIndex=null;var n=e.hoverDataIdx;n>=0&&(l.dataIndex=n+(e.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),Nx=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){var r=e.getData();this._updateSymbolDraw(r,e).updateData(r,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData();this._updateSymbolDraw(r,e).incrementalPrepareUpdate(r),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},t.prototype.updateTransform=function(e,t,n){var r=e.getData();if(this.group.dirty(),!this._finished||r.count()>1e4)return{update:!0};var i=jw("").reset(e,t,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},t.prototype._updateSymbolDraw=function(e,t){var n=this._symbolDraw,r=t.pipelineContext.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new Rx:new pw,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(xp),Hx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(Ch),jx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",ii).models[0]},t.type="cartesian2dAxis",t}(Ch);g.mixin(jx,Cy);var Ux={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},Qx=g.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Ux),zx=g.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Ux),Yx={category:Qx,value:zx,time:g.merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},zx),log:g.defaults({logBase:10},zx)},Vx={value:1,category:1,time:1,log:1};function Gx(e,t,n,r){Object(g.each)(Vx,function(i,o){var a=Object(g.merge)(Object(g.merge)({},Yx[o],!0),r,!0),s=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t+"Axis."+o,n}return p(n,e),n.prototype.mergeDefaultAndTheme=function(e,t){var n=mh(this),r=n?bh(e):{},i=t.getTheme();Object(g.merge)(e,i.get(o+"Axis")),Object(g.merge)(e,this.getDefaultOption()),e.type=Wx(e),n&&yh(e,r,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=ym.createByAxisModel(this))},n.prototype.getCategories=function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=t+"Axis."+o,n.defaultOption=a,n}(n);e.registerComponentModel(s)}),e.registerSubTypeDefaulter(t+"Axis",Wx)}function Wx(e){return e.type||(e.data?"category":"value")}var Xx=["x","y"];function Zx(e){return"interval"===e.type||"time"===e.type}var $x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=Xx,t}return p(t,e),t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,t=this.getAxis("y").scale;if(Zx(e)&&Zx(t)){var n=e.getExtent(),r=t.getExtent(),i=this.dataToPoint([n[0],r[0]]),o=this.dataToPoint([n[1],r[1]]),a=n[1]-n[0],s=r[1]-r[0];if(a&&s){var l=(o[0]-i[0])/a,c=(o[1]-i[1])/s,u=i[0]-n[0]*l,h=i[1]-r[0]*c,d=this._transform=[l,0,0,c,u,h];this._invTransform=_e([],d)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,t){var n=this.dataToPoint(e),r=this.dataToPoint(t),i=this.getArea(),o=new Oe(n[0],n[1],r[0]-n[0],r[1]-n[1]);return i.intersect(o)},t.prototype.dataToPoint=function(e,t,n){n=n||[];var r=e[0],i=e[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return H(n,e,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(r,t)),n[1]=a.toGlobalCoord(a.dataToCoord(i,t)),n},t.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(e[0]),s=r.parse(e[1]);return(t=t||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),t},t.prototype.pointToData=function(e,t){var n=[];if(this._invTransform)return H(n,e,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(e[0]),t),n[1]=i.coordToData(i.toLocalCoord(e[1]),t),n},t.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},t.prototype.getArea=function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1]),r=Math.min(t[0],t[1]),i=Math.max(e[0],e[1])-n,o=Math.max(t[0],t[1])-r;return new Oe(n,r,i,o)},t}(function(){function e(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return e.prototype.getAxis=function(e){return this._axes[e]},e.prototype.getAxes=function(){return g.map(this._dimList,function(e){return this._axes[e]},this)},e.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),g.filter(this.getAxes(),function(t){return t.scale.type===e})},e.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},e}()),Kx=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return p(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.getGlobalExtent=function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},t.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},t.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(tb);function Jx(e,t,n){n=n||{};var r=e.coordinateSystem,i=t.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,l=a?"onZero":s,c=i.dim,u=r.getRect(),h=[u.x,u.x+u.width,u.y,u.y+u.height],d={left:0,right:1,top:0,bottom:1,onZero:2},f=t.get("offset")||0,p="x"===c?[h[2]-f,h[3]+f]:[h[0]-f,h[1]+f];if(a){var A=a.toGlobalCoord(a.dataToCoord(0));p[d.onZero]=Math.max(Math.min(A,p[1]),p[0])}o.position=["y"===c?p[d[l]]:h[0],"x"===c?p[d[l]]:h[3]],o.rotation=Math.PI/2*("x"===c?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?p[d[s]]-p[d.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),g.retrieve(n.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var v=t.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-v:v,o.z2=1,o}function qx(e){return"cartesian2d"===e.get("coordinateSystem")}function eC(e){var t={xAxisModel:null,yAxisModel:null};return g.each(t,function(n,r){var i=r.replace(/Model$/,""),o=e.getReferringComponents(i,ii).models[0];t[r]=o}),t}var tC=Math.log;function nC(e,t,n){var r=Om.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=gy(e,t),c=l.extent,u=l.fixMin,h=l.fixMax;if("log"===e.type){var d=tC(e.base);c=[tC(c[0])/d,tC(c[1])/d]}e.setExtent(c[0],c[1]),e.calcNiceExtent({splitNumber:a,fixMin:u,fixMax:h});var f=r.getExtent.call(e);u&&(c[0]=f[0]),h&&(c[1]=f[1]);var p=r.getInterval.call(e),A=c[0],g=c[1];if(u&&h)p=(g-A)/a;else if(u)for(g=c[0]+p*a;g<c[1]&&isFinite(g)&&isFinite(c[1]);)p=wm(p),g=c[0]+p*a;else if(h)for(A=c[1]-p*a;A>c[0]&&isFinite(A)&&isFinite(c[0]);)p=wm(p),A=c[1]-p*a;else{e.getTicks().length-1>a&&(p=wm(p));var v=p*a;(A=Ar((g=Math.ceil(c[1]/p)*p)-v))<0&&c[0]>=0?(A=0,g=Ar(v)):g>0&&c[1]<=0&&(g=0,A=-Ar(v))}var m=(i[0].value-o[0].value)/s,y=(i[a].value-o[a].value)/s;r.setExtent.call(e,A+p*m,g+p*y),r.setInterval.call(e,p),(m||y)&&r.setNiceExtent.call(e,A+p,g-p)}function rC(e,t){return e.getCoordSysModel()===t}function iC(e,t,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=e[t],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)oC(o[l])&&(i=o[l]);else for(var c in o)if(o.hasOwnProperty(c)&&oC(o[c])&&!r[u(o[c])]){i=o[c];break}i&&(r[u(i)]=!0)}function u(e){return e.dim+"_"+e.index}}function oC(e){return e&&"category"!==e.type&&"time"!==e.type&&function(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}(e)}var aC=function(){function e(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Xx,this._initCartesian(e,t,n),this.model=e}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(e,t){var n=this._axesMap;function r(e){var t,n=Object(g.keys)(e),r=n.length;if(r){for(var i=[],o=r-1;o>=0;o--){var a=e[+n[o]],s=a.model,l=a.scale;bm(l)&&s.get("alignTicks")&&null==s.get("interval")?i.push(a):(vy(l,s),bm(l)&&(t=a))}i.length&&(t||vy((t=i.pop()).scale,t.model),Object(g.each)(i,function(e){nC(e.scale,e.model,t.scale)}))}}this._updateScale(e,this.model),r(n.x),r(n.y);var i={};Object(g.each)(n.x,function(e){iC(n,"y",e,i)}),Object(g.each)(n.y,function(e){iC(n,"x",e,i)}),this.resize(this.model,t)},e.prototype.resize=function(e,t,n){var r=e.getBoxLayoutParams(),i=!n&&e.get("containLabel"),o=gh(r,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var a=this._axesList;function s(){Object(g.each)(a,function(e){var t=e.isHorizontal(),n=t?[0,o.width]:[0,o.height],r=e.inverse?1:0;e.setExtent(n[r],n[1-r]),function(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return r-e+t}}(e,t?o.x:o.y)})}s(),i&&(Object(g.each)(a,function(e){if(!e.model.get(["axisLabel","inside"])){var t=function(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,i,o=n.getExtent();i=n instanceof Em?n.count():(r=n.getTicks()).length;var a,s,l,c,u,h,d,f,p=e.getLabelModel(),A=yy(e),g=1;i>40&&(g=Math.ceil(i/40));for(var v=0;v<i;v+=g){var m=A(r?r[v]:{value:o[0]+v},v),y=p.getTextRect(m),b=(s=y,l=p.get("rotate")||0,c=l*Math.PI/180,u=s.width,h=s.height,d=u*Math.abs(Math.cos(c))+Math.abs(h*Math.sin(c)),f=u*Math.abs(Math.sin(c))+Math.abs(h*Math.cos(c)),new Oe(s.x,s.y,d,f));a?a.union(b):a=b}return a}}(e);if(t){var n=e.isHorizontal()?"height":"width",r=e.model.get(["axisLabel","margin"]);o[n]-=t[n]+r,"top"===e.position?o.y+=t.height+r:"left"===e.position&&(o.x+=t.width+r)}}}),s()),Object(g.each)(this._coordsList,function(e){e.calcAffineTransform()})},e.prototype.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n)return n[t||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}Object(g.isObject)(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,i=this._coordsList;r<i.length;r++)if(i[r].getAxis("x").index===e||i[r].getAxis("y").index===t)return i[r]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},e.prototype.convertFromPixel=function(e,t,n){var r=this._findConvertTarget(t);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},e.prototype._findConvertTarget=function(e){var t,n,r=e.seriesModel,i=e.xAxisModel||r&&r.getReferringComponents("xAxis",ii).models[0],o=e.yAxisModel||r&&r.getReferringComponents("yAxis",ii).models[0],a=e.gridModel,s=this._coordsList;if(r)t=r.coordinateSystem,Object(g.indexOf)(s,t)<0&&(t=null);else if(i&&o)t=this.getCartesian(i.componentIndex,o.componentIndex);else if(i)n=this.getAxis("x",i.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){a.coordinateSystem===this&&(t=this._coordsList[0])}return{cartesian:t,axis:n}},e.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},e.prototype._initCartesian=function(e,t,n){var r=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(t.eachComponent("xAxis",l("x"),this),t.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(t){return function(n,r){if(rC(n,e)){var l=n.get("position");"x"===t?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var c=new Kx(t,my(n),[0,0],n.get("type"),l),u="category"===c.type;c.onBand=u&&n.get("boundaryGap"),c.inverse=n.get("inverse"),n.axis=c,c.model=n,c.grid=i,c.index=r,i._axesList.push(c),a[t][r]=c,s[t]++}}}this._axesMap=a,Object(g.each)(a.x,function(t,n){Object(g.each)(a.y,function(i,o){var a="x"+n+"y"+o,s=new $x(a);s.master=r,s.model=e,r._coordsMap[a]=s,r._coordsList.push(s),s.addAxis(t),s.addAxis(i)})})},e.prototype._updateScale=function(e,t){function n(e,t){Object(g.each)(xy(e,t.dim),function(n){t.scale.unionExtentFromData(e,n)})}Object(g.each)(this._axesList,function(e){if(e.scale.setExtent(1/0,-1/0),"category"===e.type){var t=e.model.get("categorySortInfo");e.scale.setSortInfo(t)}}),e.eachSeries(function(e){if(qx(e)){var r=eC(e),i=r.xAxisModel,o=r.yAxisModel;if(!rC(i,t)||!rC(o,t))return;var a=this.getCartesian(i.componentIndex,o.componentIndex),s=e.getData(),l=a.getAxis("x"),c=a.getAxis("y");n(s,l),n(s,c)}},this)},e.prototype.getTooltipAxes=function(e){var t=[],n=[];return Object(g.each)(this.getCartesians(),function(r){var i=null!=e&&"auto"!==e?r.getAxis(e):r.getBaseAxis(),o=r.getOtherAxis(i);Object(g.indexOf)(t,i)<0&&t.push(i),Object(g.indexOf)(n,o)<0&&n.push(o)}),{baseAxes:t,otherAxes:n}},e.create=function(t,n){var r=[];return t.eachComponent("grid",function(i,o){var a=new e(i,t,n);a.name="grid_"+o,a.resize(i,n,!0),i.coordinateSystem=a,r.push(a)}),t.eachSeries(function(e){if(qx(e)){var t=eC(e),n=t.xAxisModel,r=t.yAxisModel,i=n.getCoordSysModel();0;var o=i.coordinateSystem;e.coordinateSystem=o.getCartesian(n.componentIndex,r.componentIndex)}}),r},e.dimensions=Xx,e}(),sC=Math.PI,lC=function(){function e(e,t){this.group=new tr,this.opt=t,this.axisModel=e,Object(g.defaults)(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new tr({x:t.position[0],y:t.position[1],rotation:t.rotation});n.updateTransform(),this._transformGroup=n}return e.prototype.hasBuilder=function(e){return!!cC[e]},e.prototype.add=function(e){cC[e](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(e,t,n){var r,i,o=Cr(t-e);return Sr(o)?(i=n>0?"top":"bottom",r="center"):Sr(o-sC)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o<sC?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},e.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},e.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},e}(),cC={axisLine:function(e,t,n,r){var i=t.get(["axisLine","show"]);if("auto"===i&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),i){var o=t.axis.getExtent(),a=r.transform,s=[o[0],0],l=[o[1],0],c=s[0]>l[0];a&&(H(s,s,a),H(l,l,a));var u=Object(g.extend)({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new Ol({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:u,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});_c(h.shape,h.style.lineWidth),h.anid="line",n.add(h);var d=t.get(["axisLine","symbol"]);if(null!=d){var f=t.get(["axisLine","symbolSize"]);Object(g.isString)(d)&&(d=[d,d]),(Object(g.isString)(f)||Object(g.isNumber)(f))&&(f=[f,f]);var p=DA(t.get(["axisLine","symbolOffset"])||0,f),A=f[0],v=f[1];Object(g.each)([{rotate:e.rotation+Math.PI/2,offset:p[0],r:0},{rotate:e.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(t,r){if("none"!==d[r]&&null!=d[r]){var i=EA(d[r],-A/2,-v/2,A,v,u.stroke,!0),o=t.r+t.offset,a=c?l:s;i.attr({rotation:t.rotate,x:a[0]+o*Math.cos(e.rotation),y:a[1]-o*Math.sin(e.rotation),silent:!0,z2:11}),n.add(i)}})}}},axisTickLabel:function(e,t,n,r){var i=function(e,t,n,r){var i=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&r.handleAutoShown&&(a=r.handleAutoShown("axisTick"));if(!a||i.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=r.tickDirection*o.get("length"),c=fC(i.getTicksCoords(),t.transform,l,Object(g.defaults)(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),u=0;u<c.length;u++)e.add(c[u]);return c}(n,r,t,e),o=function(e,t,n,r){var i=n.axis;if(!Object(g.retrieve)(r.axisLabelShow,n.get(["axisLabel","show"]))||i.scale.isBlank())return;var o=n.getModel("axisLabel"),a=o.get("margin"),s=i.getViewLabels(),l=(Object(g.retrieve)(r.labelRotate,o.get("rotate"))||0)*sC/180,c=lC.innerTextLayout(r.rotation,l,r.labelDirection),u=n.getCategories&&n.getCategories(!0),h=[],d=lC.isLabelSilent(n),f=n.get("triggerEvent");return Object(g.each)(s,function(s,l){var p="ordinal"===i.scale.type?i.scale.getRawOrdinalNumber(s.tickValue):s.tickValue,A=s.formattedLabel,v=s.rawLabel,m=o;if(u&&u[p]){var y=u[p];Object(g.isObject)(y)&&y.textStyle&&(m=new du(y.textStyle,o,n.ecModel))}var b=m.getTextColor()||n.get(["axisLine","lineStyle","color"]),_=i.dataToCoord(p),w=new ka({x:_,y:r.labelOffset+r.labelDirection*a,rotation:c.rotation,silent:d,z2:10+(s.level||0),style:zc(m,{text:A,align:m.getShallow("align",!0)||c.textAlign,verticalAlign:m.getShallow("verticalAlign",!0)||m.getShallow("baseline",!0)||c.textVerticalAlign,fill:Object(g.isFunction)(b)?b("category"===i.type?v:"value"===i.type?p+"":p,l):b})});if(w.anid="label_"+p,f){var x=lC.makeAxisEventDataBase(n);x.targetType="axisLabel",x.value=v,x.tickIndex=l,"category"===i.type&&(x.dataIndex=p),Ta(w).eventData=x}t.add(w),w.updateTransform(),h.push(w),e.add(w),w.decomposeTransform()}),h}(n,r,t,e);((function(e,t,n){if(wy(e.axis))return;var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],c=n[0],u=n[1],h=n[n.length-1],d=n[n.length-2];!1===r?(uC(o),uC(c)):hC(o,a)&&(r?(uC(a),uC(u)):(uC(o),uC(c)));!1===i?(uC(s),uC(h)):hC(l,s)&&(i?(uC(l),uC(d)):(uC(s),uC(h)))})(t,o,i),function(e,t,n,r){var i=n.axis,o=n.getModel("minorTick");if(!o.get("show")||i.scale.isBlank())return;var a=i.getMinorTicksCoords();if(!a.length)return;for(var s=o.getModel("lineStyle"),l=r*o.get("length"),c=Object(g.defaults)(s.getLineStyle(),Object(g.defaults)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),u=0;u<a.length;u++)for(var h=fC(a[u],t.transform,l,c,"minorticks_"+u),d=0;d<h.length;d++)e.add(h[d])}(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"]))&&Ib(Mb(Object(g.map)(o,function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}})))},axisName:function(e,t,n,r){var i=Object(g.retrieve)(e.axisName,t.get("name"));if(i){var o,a,s=t.get("nameLocation"),l=e.nameDirection,c=t.getModel("nameTextStyle"),u=t.get("nameGap")||0,h=t.axis.getExtent(),d=h[0]>h[1]?-1:1,f=["start"===s?h[0]-d*u:"end"===s?h[1]+d*u:(h[0]+h[1])/2,dC(s)?e.labelOffset+l*u:0],p=t.get("nameRotate");null!=p&&(p=p*sC/180),dC(s)?o=lC.innerTextLayout(e.rotation,null!=p?p:e.rotation,l):(o=function(e,t,n,r){var i,o,a=Cr(n-e),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;Sr(a-sC/2)?(o=l?"bottom":"top",i="center"):Sr(a-1.5*sC)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*sC&&a>sC/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:i,textVerticalAlign:o}}(e.rotation,s,p||0,h),null!=(a=e.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var A=c.getFont(),v=t.get("nameTruncate",!0)||{},m=v.ellipsis,y=Object(g.retrieve)(e.nameTruncateMaxWidth,v.maxWidth,a),b=new ka({x:f[0],y:f[1],rotation:o.rotation,silent:lC.isLabelSilent(t),style:zc(c,{text:i,font:A,overflow:"truncate",width:y,ellipsis:m,fill:c.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:c.get("align")||o.textAlign,verticalAlign:c.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Pc({el:b,componentModel:t,itemName:i}),b.__fullText=i,b.anid="name",t.get("triggerEvent")){var _=lC.makeAxisEventDataBase(t);_.targetType="axisName",_.name=i,Ta(b).eventData=_}r.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function uC(e){e&&(e.ignore=!0)}function hC(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(n&&r){var i=Ae([]);return ye(i,i,-e.rotation),n.applyTransform(ve([],i,e.getLocalTransform())),r.applyTransform(ve([],i,t.getLocalTransform())),n.intersect(r)}}function dC(e){return"middle"===e||"center"===e}function fC(e,t,n,r,i){for(var o=[],a=[],s=[],l=0;l<e.length;l++){var c=e[l].coord;a[0]=c,a[1]=0,s[0]=c,s[1]=n,t&&(H(a,a,t),H(s,s,t));var u=new Ol({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:r,z2:2,autoBatch:!0,silent:!0});_c(u.shape,u.style.lineWidth),u.anid=i+"_"+e[l].tickValue,o.push(u)}return o}var pC=lC;function AC(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(e,t,n){var r=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),o=i.get("link",!0)||[],a=[];Object(g.each)(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var s=yC(n.model),l=e.coordSysAxesInfo[s]={};e.coordSysMap[s]=n;var c=n.model,u=c.getModel("tooltip",r);if(Object(g.each)(n.getAxes(),Object(g.curry)(p,!1,null)),n.getTooltipAxes&&r&&u.get("show")){var h="axis"===u.get("trigger"),d="cross"===u.get(["axisPointer","type"]),f=n.getTooltipAxes(u.get(["axisPointer","axis"]));(h||d)&&Object(g.each)(f.baseAxes,Object(g.curry)(p,!d||"cross",h)),d&&Object(g.each)(f.otherAxes,Object(g.curry)(p,"cross",!1))}}function p(r,s,c){var h=c.model.getModel("axisPointer",i),d=h.get("show");if(d&&("auto"!==d||r||mC(h))){null==s&&(s=h.get("triggerTooltip"));var f=(h=r?function(e,t,n,r,i,o){var a=t.getModel("axisPointer"),s={};Object(g.each)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(e){s[e]=Object(g.clone)(a.get(e))}),s.snap="category"!==e.type&&!!o,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===i){var c=a.get(["label","show"]);if(l.show=null==c||c,!o){var u=s.lineStyle=a.get("crossStyle");u&&Object(g.defaults)(l,u.textStyle)}}return e.model.getModel("axisPointer",new du(s,n,r))}(c,u,i,t,r,s):h).get("snap"),p=yC(c.model),A=s||f||"category"===c.type,v=e.axesInfo[p]={key:p,axis:c,coordSys:n,axisPointerModel:h,triggerTooltip:s,involveSeries:A,snap:f,useHandle:mC(h),seriesModels:[],linkGroup:null};l[p]=v,e.seriesInvolved=e.seriesInvolved||A;var m=function(e,t){for(var n=t.model,r=t.dim,i=0;i<e.length;i++){var o=e[i]||{};if(gC(o[r+"AxisId"],n.id)||gC(o[r+"AxisIndex"],n.componentIndex)||gC(o[r+"AxisName"],n.name))return i}}(o,c);if(null!=m){var y=a[m]||(a[m]={axesInfo:{}});y.axesInfo[p]=v,y.mapper=o[m].mapper,v.linkGroup=y}}}})}(n,e,t),n.seriesInvolved&&function(e,t){t.eachSeries(function(t){var n=t.coordinateSystem,r=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==i&&!1!==t.get(["axisPointer","show"],!0)&&Object(g.each)(e.coordSysAxesInfo[yC(n.model)],function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())})})}(n,e),n}function gC(e,t){return"all"===e||Object(g.isArray)(e)&&Object(g.indexOf)(e,t)>=0||e===t}function vC(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[yC(e)]}function mC(e){return!!e.get(["handle","show"])}function yC(e){return e.type+"||"+e.id}var bC={},_C=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(t,n,r,i){this.axisPointerClass&&function(e){var t=vC(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=mC(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),i.value=a,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}(t),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(t,r,!0)},t.prototype.updateAxisPointer=function(e,t,n,r){this._doUpdateAxisPointerClass(e,n,!1)},t.prototype.remove=function(e,t){var n=this._axisPointer;n&&n.remove(t)},t.prototype.dispose=function(t,n){this._disposeAxisPointer(n),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,n,r){var i=t.getAxisPointerClass(this.axisPointerClass);if(i){var o=function(e){var t=vC(e);return t&&t.axisPointerModel}(e);o?(this._axisPointer||(this._axisPointer=new i)).render(e,o,n,r):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,t){bC[e]=t},t.getAxisPointerClass=function(e){return e&&bC[e]},t.type="axis",t}(fp),wC=ei();function xC(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=r.coordinateSystem.getRect(),c=i.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var u=s.length,h=wC(e).splitAreaColors,d=g.createHashMap(),f=0;if(h)for(var p=0;p<c.length;p++){var A=h.get(c[p].tickValue);if(null!=A){f=(A+(u-1)*p)%u;break}}var v=i.toGlobalCoord(c[0].coord),m=a.getAreaStyle();s=g.isArray(s)?s:[s];for(p=1;p<c.length;p++){var y=i.toGlobalCoord(c[p].coord),b=void 0,_=void 0,w=void 0,x=void 0;i.isHorizontal()?(b=v,_=l.y,w=y-b,x=l.height,v=b+w):(b=l.x,_=v,w=l.width,v=_+(x=y-_));var C=c[p-1].tickValue;null!=C&&d.set(C,f),t.add(new ha({anid:null!=C?"area_"+C:null,shape:{x:b,y:_,width:w,height:x},style:g.defaults({fill:s[f]},m),autoBatch:!0,silent:!0})),f=(f+1)%u}wC(e).splitAreaColors=d}}}function CC(e){wC(e).splitAreaColors=null}var SC=["axisLine","axisTickLabel","axisName"],BC=["splitArea","splitLine","minorSplitLine"],kC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return p(t,e),t.prototype.render=function(t,n,r,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new tr,this.group.add(this._axisGroup),t.get("show")){var a=t.getCoordSysModel(),s=Jx(a,t),l=new pC(t,g.extend({handleAutoShown:function(e){for(var n=a.coordinateSystem.getCartesians(),r=0;r<n.length;r++)if(bm(n[r].getOtherAxis(t.axis).scale))return!0;return!1}},s));g.each(SC,l.add,l),this._axisGroup.add(l.getGroup()),g.each(BC,function(e){t.get([e,"show"])&&TC[e](this,this._axisGroup,t,a)},this),i&&"changeAxisOrder"===i.type&&i.isInitSort||Tc(o,this._axisGroup,t),e.prototype.render.call(this,t,n,r,i)}},t.prototype.remove=function(){CC(this)},t.type="cartesianAxis",t}(_C),TC={splitLine:function(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=g.isArray(s)?s:[s];for(var l=r.coordinateSystem.getRect(),c=i.isHorizontal(),u=0,h=i.getTicksCoords({tickModel:o}),d=[],f=[],p=a.getLineStyle(),A=0;A<h.length;A++){var v=i.toGlobalCoord(h[A].coord);c?(d[0]=v,d[1]=l.y,f[0]=v,f[1]=l.y+l.height):(d[0]=l.x,d[1]=v,f[0]=l.x+l.width,f[1]=v);var m=u++%s.length,y=h[A].tickValue,b=new Ol({anid:null!=y?"line_"+h[A].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:g.defaults({stroke:s[m]},p),silent:!0});_c(b.shape,p.lineWidth),t.add(b)}}},minorSplitLine:function(e,t,n,r){var i=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=r.coordinateSystem.getRect(),s=i.isHorizontal(),l=i.getMinorTicksCoords();if(l.length)for(var c=[],u=[],h=o.getLineStyle(),d=0;d<l.length;d++)for(var f=0;f<l[d].length;f++){var p=i.toGlobalCoord(l[d][f].coord);s?(c[0]=p,c[1]=a.y,u[0]=p,u[1]=a.y+a.height):(c[0]=a.x,c[1]=p,u[0]=a.x+a.width,u[1]=p);var A=new Ol({anid:"minor_line_"+l[d][f].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:u[0],y2:u[1]},style:h,silent:!0});_c(A.shape,h.lineWidth),t.add(A)}},splitArea:function(e,t,n,r){xC(e,t,n,r)}},EC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="xAxis",t}(kC),MC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=EC.type,t}return p(t,e),t.type="yAxis",t}(kC),DC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="grid",t}return p(t,e),t.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new ha({shape:e.coordinateSystem.getRect(),style:Object(g.defaults)({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(fp),OC={offset:0};function IC(e){e.registerComponentView(DC),e.registerComponentModel(Hx),e.registerCoordinateSystem("cartesian2d",aC),Gx(e,"x",jx,OC),Gx(e,"y",jx,OC),e.registerComponentView(EC),e.registerComponentView(MC),e.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}function LC(e){e.eachSeriesByType("radar",function(e){var t=e.getData(),n=[],r=e.coordinateSystem;if(r){var i=r.getIndicatorAxes();g.each(i,function(e,o){t.each(t.mapDimension(i[o].dim),function(e,t){n[t]=n[t]||[];var i=r.dataToPoint(e,o);n[t][o]=PC(i)?i:FC(r)})}),t.each(function(e){var i=g.find(n[e],function(e){return PC(e)})||FC(r);n[e].push(i.slice()),t.setItemLayout(e,n[e])})}})}function PC(e){return!isNaN(e[0])&&!isNaN(e[1])}function FC(e){return[e.cx,e.cy]}function RC(e){var t=e.polar;if(t){g.isArray(t)||(t=[t]);var n=[];g.each(t,function(t,r){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],g.isArray(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)}),e.polar=n}g.each(e.series,function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)})}var NC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){var r=e.coordinateSystem,i=this.group,o=e.getData(),s=this._data;function l(e,t){var n=e.getItemVisual(t,"symbol")||"circle";if("none"!==n){var r=MA(e.getItemVisual(t,"symbolSize")),i=EA(n,-1,-1,2,2),o=e.getItemVisual(t,"symbolRotate")||0;return i.attr({style:{strokeNoScale:!0},z2:100,scaleX:r[0]/2,scaleY:r[1]/2,rotation:o*Math.PI/180||0}),i}}function c(t,n,r,i,o,s){r.removeAll();for(var c=0;c<n.length-1;c++){var u=l(i,o);u&&(u.__dimIdx=c,t[c]?(u.setPosition(t[c]),a[s?"initProps":"updateProps"](u,{x:n[c][0],y:n[c][1]},e,o)):u.setPosition(n[c]),r.add(u))}}function u(e){return g.map(e,function(e){return[r.cx,r.cy]})}o.diff(s).add(function(t){var n=o.getItemLayout(t);if(n){var r=new Sl,i=new Tl,a={shape:{points:n}};r.shape.points=u(n),i.shape.points=u(n),nc(r,a,e,t),nc(i,a,e,t);var s=new tr,l=new tr;s.add(i),s.add(r),s.add(l),c(i.shape.points,n,l,o,t,!0),o.setItemGraphicEl(t,s)}}).update(function(t,n){var r=s.getItemGraphicEl(n),i=r.childAt(0),a=r.childAt(1),l=r.childAt(2),u={shape:{points:o.getItemLayout(t)}};u.shape.points&&(c(i.shape.points,u.shape.points,l,o,t,!1),sc(a),sc(i),tc(i,u,e),tc(a,u,e),o.setItemGraphicEl(t,r))}).remove(function(e){i.remove(s.getItemGraphicEl(e))}).execute(),o.eachItemGraphicEl(function(e,t){var n=o.getItemModel(t),r=e.childAt(0),a=e.childAt(1),s=e.childAt(2),l=o.getItemVisual(t,"style"),c=l.fill;i.add(e),r.useStyle(g.defaults(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),Bs(r,n,"lineStyle"),Bs(a,n,"areaStyle");var u=n.getModel("areaStyle"),h=u.isEmpty()&&u.parentModel.isEmpty();a.ignore=h,g.each(["emphasis","select","blur"],function(e){var t=n.getModel([e,"areaStyle"]),r=t.isEmpty()&&t.parentModel.isEmpty();a.ensureState(e).ignore=r&&h}),a.useStyle(g.defaults(u.getAreaStyle(),{fill:c,opacity:.7,decal:l.decal}));var d=n.getModel("emphasis"),f=d.getModel("itemStyle").getItemStyle();s.eachChild(function(e){if(e instanceof ra){var r=e.style;e.useStyle(g.extend({image:r.image,x:r.x,y:r.y,width:r.width,height:r.height},l))}else e.useStyle(l),e.setColor(c),e.style.strokeNoScale=!0;e.ensureState("emphasis").style=g.clone(f);var i=o.getStore().get(o.getDimensionIndex(e.__dimIdx),t);(null==i||isNaN(i))&&(i=""),Uc(e,Qc(n),{labelFetcher:o.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:i,inheritColor:c,defaultOpacity:l.opacity})}),ws(e,d.get("focus"),d.get("blurScope"),d.get("disabled"))}),this._data=o},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(xp),HC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return p(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Dx(g.bind(this.getData,this),g.bind(this.getRawData,this))},t.prototype.getInitialData=function(e,t){return Mx(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.coordinateSystem.getIndicatorAxes(),o=this.getData().getName(e),a=""===o?this.name:o,s=$f(this,e);return Qf("section",{header:a,sortBlocks:!0,blocks:g.map(i,function(t){var n=r.get(r.mapDimension(t.dim),e);return Qf("nameValue",{markerType:"subItem",markerColor:s,name:t.name,value:n,sortParam:n})})})},t.prototype.getTooltipPosition=function(e){if(null!=e)for(var t=this.getData(),n=this.coordinateSystem,r=t.getValues(g.map(n.dimensions,function(e){return t.mapDimension(e)}),e),i=0,o=r.length;i<o;i++)if(!isNaN(r[i])){var a=n.getIndicatorAxes();return n.coordToPoint(a[i].dataToCoord(r[i]),i)}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(hp),jC=Yx.value;function UC(e,t){return g.defaults({show:t},e)}var QC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),i=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),c=this.get("axisNameGap"),u=this.get("triggerEvent"),h=g.map(this.get("indicator")||[],function(h){null!=h.max&&h.max>0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var d=a;null!=h.color&&(d=g.defaults({color:h.color},a));var f=g.merge(g.clone(h),{boundaryGap:e,splitNumber:t,scale:n,axisLine:r,axisTick:i,axisLabel:o,name:h.text,showName:s,nameLocation:"end",nameGap:c,nameTextStyle:d,triggerEvent:u},!1);if(g.isString(l)){var p=f.name;f.name=l.replace("{value}",null!=p?p:"")}else g.isFunction(l)&&(f.name=l(f.name,f));var A=new du(f,null,this.ecModel);return g.mixin(A,Cy.prototype),A.mainType="radar",A.componentIndex=this.componentIndex,A},this);this._indicatorModels=h},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:g.merge({lineStyle:{color:"#bbb"}},jC.axisLine),axisLabel:UC(jC.axisLabel,!1),axisTick:UC(jC.axisTick,!1),splitLine:UC(jC.splitLine,!0),splitArea:UC(jC.splitArea,!0),indicator:[]},t}(Ch),zC=["axisLine","axisTickLabel","axisName"],YC=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){this.group.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),r=g.map(n,function(e){var n=e.model.get("showName")?e.name:"";return new pC(e.model,{axisName:n,position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});g.each(r,function(e){g.each(zC,e.add,e),this.group.add(e.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var r=e.get("shape"),i=e.getModel("splitLine"),o=e.getModel("splitArea"),a=i.getModel("lineStyle"),s=o.getModel("areaStyle"),l=i.get("show"),c=o.get("show"),u=a.get("color"),h=s.get("color"),d=g.isArray(u)?u:[u],f=g.isArray(h)?h:[h],p=[],A=[];if("circle"===r)for(var v=n[0].getTicksCoords(),m=t.cx,y=t.cy,b=0;b<v.length;b++){if(l)p[T(p,d,b)].push(new qs({shape:{cx:m,cy:y,r:v[b].coord}}));if(c&&b<v.length-1)A[T(A,f,b)].push(new _l({shape:{cx:m,cy:y,r0:v[b].coord,r:v[b+1].coord}}))}else{var _,w=g.map(n,function(e,n){var r=e.getTicksCoords();return _=null==_?r.length-1:Math.min(r.length-1,_),g.map(r,function(e){return t.coordToPoint(e.coord,n)})}),x=[];for(b=0;b<=_;b++){for(var C=[],S=0;S<n.length;S++)C.push(w[S][b]);if(C[0]&&C.push(C[0].slice()),l)p[T(p,d,b)].push(new Tl({shape:{points:C}}));if(c&&x)A[T(A,f,b-1)].push(new Sl({shape:{points:C.concat(x)}}));x=C.slice().reverse()}}var B=a.getLineStyle(),k=s.getAreaStyle();g.each(A,function(e,t){this.group.add(yc(e,{style:g.defaults({stroke:"none",fill:f[t%f.length]},k),silent:!0}))},this),g.each(p,function(e,t){this.group.add(yc(e,{style:g.defaults({fill:"none",stroke:d[t%d.length]},B),silent:!0}))},this)}function T(e,t,n){var r=n%t.length;return e[r]=e[r]||[],r}},t.type="radar",t}(fp),VC=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.type="value",i.angle=0,i.name="",i}return p(t,e),t}(tb),GC=function(){function e(e,t,n){this.dimensions=[],this._model=e,this._indicatorAxes=Object(g.map)(e.getIndicatorModels(),function(e,t){var n="indicator_"+t,r=new VC(n,new Om);return r.name=e.get("name"),r.model=e,e.axis=r,this.dimensions.push(n),r},this),this.resize(e,n)}return e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},e.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t].angle;return[this.cx+e*Math.cos(n),this.cy-e*Math.sin(n)]},e.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=Math.sqrt(t*t+n*n);t/=r,n/=r;for(var i,o=Math.atan2(-n,t),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var c=this._indicatorAxes[l],u=Math.abs(o-c.angle);u<a&&(i=c,s=l,a=u)}return[s,+(i&&i.coordToData(r))]},e.prototype.resize=function(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i)/2;this.cx=pr(n[0],r),this.cy=pr(n[1],i),this.startAngle=e.get("startAngle")*Math.PI/180;var a=e.get("radius");(Object(g.isString)(a)||Object(g.isNumber)(a))&&(a=[0,a]),this.r0=pr(a[0],o),this.r=pr(a[1],o),Object(g.each)(this._indicatorAxes,function(e,t){e.setExtent(this.r0,this.r);var n=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),e.angle=n},this)},e.prototype.update=function(e,t){var n=this._indicatorAxes,r=this._model;Object(g.each)(n,function(e){e.scale.setExtent(1/0,-1/0)}),e.eachSeriesByType("radar",function(t,i){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===r){var o=t.getData();Object(g.each)(n,function(e){e.scale.unionExtentFromData(o,o.mapDimension(e.dim))})}},this);var i=r.get("splitNumber"),o=new Om;o.setExtent(0,i),o.setInterval(1),Object(g.each)(n,function(e,t){nC(e.scale,e.model,o)})},e.prototype.convertToPixel=function(e,t,n){return console.warn("Not implemented."),null},e.prototype.convertFromPixel=function(e,t,n){return console.warn("Not implemented."),null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.create=function(t,n){var r=[];return t.eachComponent("radar",function(i){var o=new e(i,t,n);r.push(o),i.coordinateSystem=o}),t.eachSeriesByType("radar",function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=r[e.get("radarIndex")||0])}),r},e.dimensions=[],e}();function WC(e){e.registerCoordinateSystem("radar",GC),e.registerComponentModel(QC),e.registerComponentView(YC),e.registerVisual({seriesType:"radar",reset:function(e){var t=e.getData();t.each(function(e){t.setItemVisual(e,"legendIcon","roundRect")}),t.setVisual("legendIcon","roundRect")}})}var XC="\0_ec_interaction_mutex";function ZC(e,t){return!!$C(e)[t]}function $C(e){return e[XC]||(e[XC]={})}function KC(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(ce(r.event),JC(e,t,n,r,i))}function JC(e,t,n,r,i){i.isAvailableBehavior=Object(g.bind)(qC,null,n,r),e.trigger(t,i)}function qC(e,t,n){var r=n[e];return!e||r&&(!Object(g.isString)(r)||t.event[r+"Key"])}gv({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},g.noop);var eS=function(e){function t(t){var n=e.call(this)||this;n._zr=t;var r=Object(g.bind)(n._mousedownHandler,n),i=Object(g.bind)(n._mousemoveHandler,n),o=Object(g.bind)(n._mouseupHandler,n),a=Object(g.bind)(n._mousewheelHandler,n),s=Object(g.bind)(n._pinchHandler,n);return n.enable=function(e,n){this.disable(),this._opt=Object(g.defaults)(Object(g.clone)(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",r),t.on("mousemove",i),t.on("mouseup",o)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",a),t.on("pinch",s))},n.disable=function(){t.off("mousedown",r),t.off("mousemove",i),t.off("mouseup",o),t.off("mousewheel",a),t.off("pinch",s)},n}return p(t,e),t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!ue(e)){for(var t=e.target;t;){if(t.draggable)return;t=t.__hostTarget||t.parent}var n=e.offsetX,r=e.offsetY;this.pointerChecker&&this.pointerChecker(e,n,r)&&(this._x=n,this._y=r,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(this._dragging&&qC("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!ZC(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,r=this._x,i=this._y,o=t-r,a=n-i;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&ce(e.event),JC(this,"pan","moveOnMouseMove",e,{dx:o,dy:a,oldX:r,oldY:i,newX:t,newY:n,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){ue(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=qC("zoomOnMouseWheel",e,this._opt),n=qC("moveOnMouseWheel",e,this._opt),r=e.wheelDelta,i=Math.abs(r),o=e.offsetX,a=e.offsetY;if(0!==r&&(t||n)){if(t){var s=i>3?1.4:i>1?1.2:1.1;KC(this,"zoom","zoomOnMouseWheel",e,{scale:r>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(r);KC(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(r>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){ZC(this._zr,"globalPan")||KC(this,"zoom",null,e,{scale:e.pinchScale>1?1.1:1/1.1,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})},t}(Y);function tS(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function nS(e,t,n,r){var i=e.target,o=e.zoomLimit,a=e.zoom=e.zoom||1;if(a*=t,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var c=a/e.zoom;e.zoom=a,i.x-=(n-i.x)*(c-1),i.y-=(r-i.y)*(c-1),i.scaleX*=c,i.scaleY*=c,i.dirty()}var rS,iS={axisPointer:1,tooltip:1,brush:1};function oS(e,t,n){var r=t.getComponentByElement(e.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!iS.hasOwnProperty(r.mainType)&&i&&i.model!==n}function aS(e){Object(g.isString)(e)&&(e=(new DOMParser).parseFromString(e,"text/xml"));var t=e;for(9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}var sS={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},lS=Object(g.keys)(sS),cS={"alignment-baseline":"textBaseline","stop-color":"stopColor"},uS=Object(g.keys)(cS),hS=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(e,t){t=t||{};var n=aS(e);this._defsUsePending=[];var r=new tr;this._root=r;var i=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||t.width),s=parseFloat(n.getAttribute("height")||t.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),vS(n,r,null,!0,!1);for(var l,c,u=n.firstChild;u;)this._parseNode(u,r,i,null,!1,!1),u=u.nextSibling;if(function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r[0].style[r[1]]=e[r[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],o){var h=_S(o);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=a&&null!=s&&(c=BS(l,{x:0,y:0,width:a,height:s}),!t.ignoreViewBox)){var d=r;(r=new tr).add(d),d.scaleX=d.scaleY=c.scale,d.x=c.x,d.y=c.y}return t.ignoreRootClip||null==a||null==s||r.setClipPath(new ha({shape:{x:0,y:0,width:a,height:s}})),{root:r,width:a,height:s,viewBoxRect:l,viewBoxTransform:c,named:i}},e.prototype._parseNode=function(e,t,n,r,i,o){var a,s=e.nodeName.toLowerCase(),l=r;if("defs"===s&&(i=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=t;else{if(!i){var c=rS[s];if(c&&Object(g.hasOwn)(rS,s)){a=c.call(this,e,t);var u=e.getAttribute("name");if(u){var h={name:u,namedFrom:null,svgNodeTagLower:s,el:a};n.push(h),"g"===s&&(l=h)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:s,el:a});t.add(a)}}var d=dS[s];if(d&&Object(g.hasOwn)(dS,s)){var f=d.call(this,e),p=e.getAttribute("id");p&&(this._defs[p]=f)}}if(a&&a.isGroup)for(var A=e.firstChild;A;)1===A.nodeType?this._parseNode(A,a,n,l,i,o):3===A.nodeType&&o&&this._parseText(A,a),A=A.nextSibling},e.prototype._parseText=function(e,t){var n=new qo({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});AS(t,n),vS(e,n,this._defsUsePending,!1,!1),function(e,t){var n=t.__selfStyle;if(n){var r=n.textBaseline,i=r;r&&"auto"!==r?"baseline"===r?i="alphabetic":"before-edge"===r||"text-before-edge"===r?i="top":"after-edge"===r||"text-after-edge"===r?i="bottom":"central"!==r&&"mathematical"!==r||(i="middle"):i="alphabetic",e.style.textBaseline=i}var o=t.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),e.style.textAlign=s)}}(n,t);var r=n.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var o=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=o;var a=n.getBoundingRect();return this._textX+=a.width,t.add(n),n},e.internalField=void(rS={g:function(e,t){var n=new tr;return AS(t,n),vS(e,n,this._defsUsePending,!1,!1),n},rect:function(e,t){var n=new ha;return AS(t,n),vS(e,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(e,t){var n=new qs;return AS(t,n),vS(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),n.silent=!0,n},line:function(e,t){var n=new Ol;return AS(t,n),vS(e,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(e,t){var n=new nl;return AS(t,n),vS(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(e,t){var n,r=e.getAttribute("points");r&&(n=gS(r));var i=new Sl({shape:{points:n||[]},silent:!0});return AS(t,i),vS(e,i,this._defsUsePending,!1,!1),i},polyline:function(e,t){var n,r=e.getAttribute("points");r&&(n=gS(r));var i=new Tl({shape:{points:n||[]},silent:!0});return AS(t,i),vS(e,i,this._defsUsePending,!1,!1),i},image:function(e,t){var n=new ra;return AS(t,n),vS(e,n,this._defsUsePending,!1,!1),n.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),n.silent=!0,n},text:function(e,t){var n=e.getAttribute("x")||"0",r=e.getAttribute("y")||"0",i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(r)+parseFloat(o);var a=new tr;return AS(t,a),vS(e,a,this._defsUsePending,!1,!0),a},tspan:function(e,t){var n=e.getAttribute("x"),r=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0",a=new tr;return AS(t,a),vS(e,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),a},path:function(e,t){var n=Zs(e.getAttribute("d")||"");return AS(t,n),vS(e,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),e}(),dS={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),r=parseInt(e.getAttribute("x2")||"10",10),i=parseInt(e.getAttribute("y2")||"0",10),o=new zl(t,n,r,i);return fS(e,o),pS(e,o),o},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),r=parseInt(e.getAttribute("r")||"0",10),i=new Yl(t,n,r);return fS(e,i),pS(e,i),i}};function fS(e,t){"userSpaceOnUse"===e.getAttribute("gradientUnits")&&(t.global=!0)}function pS(e,t){for(var n=e.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r=n.getAttribute("offset"),i=void 0;i=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var o={};SS(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:a})}n=n.nextSibling}}function AS(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),Object(g.defaults)(t.__inheritedStyle,e.__inheritedStyle))}function gS(e){for(var t=_S(e),n=[],r=0;r<t.length;r+=2){var i=parseFloat(t[r]),o=parseFloat(t[r+1]);n.push([i,o])}return n}function vS(e,t,n,r,i){var o=t,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===e.nodeType&&(function(e,t){var n=e.getAttribute("transform");if(n){var r=[],i=null;(n=n.replace(/,/g," ")).replace(wS,function(e,t,n){return r.push(t,n),""});for(var o=r.length-1;o>0;o-=2){var a=r[o],s=r[o-1],l=_S(a);switch(i=i||[1,0,0,1,0,0],s){case"translate":me(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":be(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":ye(i,i,-parseFloat(l[0])*xS);break;case"skewX":var c=Math.tan(parseFloat(l[0])*xS);ve(i,[1,0,c,1,0,0],i);break;case"skewY":var u=Math.tan(parseFloat(l[0])*xS);ve(i,[1,u,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5])}}t.setLocalTransform(i)}}(e,t),SS(e,a,s),r||function(e,t,n){for(var r=0;r<lS.length;r++){var i=lS[r],o=e.getAttribute(i);null!=o&&(t[sS[i]]=o)}for(var r=0;r<uS.length;r++){var i=uS[r],o=e.getAttribute(i);null!=o&&(n[cS[i]]=o)}}(e,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=yS(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=yS(o,"stroke",a.stroke,n)),Object(g.each)(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(e){null!=a[e]&&(o.style[e]=parseFloat(a[e]))}),Object(g.each)(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(e){null!=a[e]&&(o.style[e]=a[e])}),i&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=Object(g.map)(_S(a.lineDash),function(e){return parseFloat(e)})),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}var mS=/^url\(\s*#(.*?)\)/;function yS(e,t,n,r){var i=n&&n.match(mS);if(!i)return"none"===n&&(n=null),n;var o=Object(g.trim)(i[1]);r.push([e,t,o])}var bS=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function _S(e){return e.match(bS)||[]}var wS=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,xS=Math.PI/180;var CS=/([^\s:;]+)\s*:\s*([^:;]+)/g;function SS(e,t,n){var r,i=e.getAttribute("style");if(i)for(CS.lastIndex=0;null!=(r=CS.exec(i));){var o=r[1],a=Object(g.hasOwn)(sS,o)?sS[o]:null;a&&(t[a]=r[2]);var s=Object(g.hasOwn)(cS,o)?cS[o]:null;s&&(n[s]=r[2])}}function BS(e,t){var n=t.width/e.width,r=t.height/e.height,i=Math.min(n,r);return{scale:i,x:-(e.x+e.width/2)*i+(t.x+t.width/2),y:-(e.y+e.height/2)*i+(t.y+t.height/2)}}var kS=Object(g.createHashMap)(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),TS=function(){function e(e,t){this.type="geoSVG",this._usedGraphicMap=Object(g.createHashMap)(),this._freedGraphics=[],this._mapName=e,this._parsedXML=aS(t)}return e.prototype.load=function(){var e=this._firstGraphic;if(!e){e=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(e),this._boundingRect=this._firstGraphic.boundingRect.clone();var t=function(e){var t=[],n=Object(g.createHashMap)();return Object(g.each)(e,function(e){if(null==e.namedFrom){var r=new jy(e.name,e.el);t.push(r),n.set(e.name,r)}}),{regions:t,regionsMap:n}}(e.named),n=t.regions,r=t.regionsMap;this._regions=n,this._regionsMap=r}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},e.prototype._buildGraphic=function(e){var t,n,r,i;try{n=(t=e&&(r=e,i={ignoreViewBox:!0,ignoreRootClip:!0},(new hS).parse(r,i))||{}).root,Object(g.assert)(null!=n)}catch(e){throw new Error("Invalid svg format\n"+e.message)}var o=new tr;o.add(n),o.isGeoSVGGraphicRoot=!0;var a=t.width,s=t.height,l=t.viewBoxRect,c=this._boundingRect;if(!c){var u=void 0,h=void 0,d=void 0,f=void 0;if(null!=a?(u=0,d=a):l&&(u=l.x,d=l.width),null!=s?(h=0,f=s):l&&(h=l.y,f=l.height),null==u||null==h){var p=n.getBoundingRect();null==u&&(u=p.x,d=p.width),null==h&&(h=p.y,f=p.height)}c=this._boundingRect=new Oe(u,h,d,f)}if(l){var A=BS(l,c);n.scaleX=n.scaleY=A.scale,n.x=A.x,n.y=A.y}o.setClipPath(new ha({shape:c.plain()}));var v=[];return Object(g.each)(t.named,function(e){var t;null!=kS.get(e.svgNodeTagLower)&&(v.push(e),(t=e.el).silent=!1,t.isGroup&&t.traverse(function(e){e.silent=!1}))}),{root:o,boundingRect:c,named:v}},e.prototype.useGraphic=function(e){var t=this._usedGraphicMap,n=t.get(e);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),t.set(e,n),n)},e.prototype.freeGraphic=function(e){var t=this._usedGraphicMap,n=t.get(e);n&&(t.removeKey(e),this._freedGraphics.push(n))},e}();for(var ES=[126,25],MS="南海诸岛",DS=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],OS=0;OS<DS.length;OS++)for(var IS=0;IS<DS[OS].length;IS++)DS[OS][IS][0]/=10.5,DS[OS][IS][1]/=-14,DS[OS][IS][0]+=ES[0],DS[OS][IS][1]+=ES[1];var LS={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};var PS=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var FS=function(){function e(e,t,n){var r;this.type="geoJSON",this._parsedMap=Object(g.createHashMap)(),this._mapName=e,this._specialAreas=n,this._geoJSON=(r=t,Object(g.isString)(r)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r)}return e.prototype.load=function(e,t){t=t||"name";var n=this._parsedMap.get(t);if(!n){var r=this._parseToRegions(t);n=this._parsedMap.set(t,{regions:r,boundingRect:function(e){for(var t,n=0;n<e.length;n++){var r=e[n].getBoundingRect();(t=t||r.clone()).union(r)}return t}(r)})}var i=Object(g.createHashMap)(),o=[];return Object(g.each)(n.regions,function(t){var n=t.name;e&&Object(g.hasOwn)(e,n)&&(t=t.cloneShallow(n=e[n])),o.push(t),i.set(n,t)}),{regions:o,boundingRect:n.boundingRect||new Oe(0,0,0,0),regionsMap:i}},e.prototype._parseToRegions=function(e){var t,n=this._mapName,r=this._geoJSON;try{t=r?zy(r,e):[]}catch(e){throw new Error("Invalid geoJson format\n"+e.message)}return function(e,t){if("china"===e){for(var n=0;n<t.length;n++)if(t[n].name===MS)return;t.push(new Hy(MS,g.map(DS,function(e){return{type:"polygon",exterior:e}}),ES))}}(n,t),Object(g.each)(t,function(e){var t=e.name;!function(e,t){if("china"===e){var n=LS[t.name];if(n){var r=t.getCenter();r[0]+=n[0]/10.5,r[1]+=-n[1]/14,t.setCenter(r)}}}(n,e),function(e,t){"china"===e&&"台湾"===t.name&&t.geometries.push({type:"polygon",exterior:PS[0]})}(n,e);var r=this._specialAreas&&this._specialAreas[t];r&&e.transformTo(r.left,r.top,r.width,r.height)},this),t},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();var RS=Object(g.createHashMap)(),NS={registerMap:function(e,t,n){if(t.svg){var r=new TS(e,t.svg);RS.set(e,r)}else{var i=t.geoJson||t.geoJSON;i&&!t.features?n=t.specialAreas:i=t;r=new FS(e,i,n);RS.set(e,r)}},getGeoResource:function(e){return RS.get(e)},getMapForUser:function(e){var t=RS.get(e);return t&&"geoJSON"===t.type&&t.getMapForUser()},load:function(e,t,n){var r=RS.get(e);if(r)return r.load(t,n)}},HS=["rect","circle","line","ellipse","polygon","polyline","path"],jS=g.createHashMap(HS),US=g.createHashMap(HS.concat(["g"])),QS=g.createHashMap(HS.concat(["g"])),zS=ei();function YS(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function VS(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}function GS(e,t,n,r){var i=r.getModel("itemStyle"),o=r.getModel(["emphasis","itemStyle"]),a=r.getModel(["blur","itemStyle"]),s=r.getModel(["select","itemStyle"]),l=YS(i),c=YS(o),u=YS(s),h=YS(a),d=e.data;if(d){var f=d.getItemVisual(n,"style"),p=d.getItemVisual(n,"decal");e.isVisualEncodedByVisualMap&&f.fill&&(l.fill=f.fill),p&&(l.decal=ag(p,e.api))}t.setStyle(l),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=c,t.ensureState("select").style=u,t.ensureState("blur").style=h,as(t)}function WS(e,t,n,r,i,o,a){var s=e.data,l=e.isGeo,c=s&&isNaN(s.get(s.mapDimension("value"),o)),u=s&&s.getItemLayout(o);if(l||c||u&&u.showLabel){var h=l?n:o,d=void 0;(!s||o>=0)&&(d=i);var f=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Uc(t,Qc(r),{labelFetcher:d,labelDataIndex:h,defaultText:n},f);var p=t.getTextContent();if(p&&(zS(p).ignore=p.ignore,t.textConfig&&a)){var A=t.getBoundingRect().clone();t.textConfig.layoutRect=A,t.textConfig.position=[(a[0]-A.x)/A.width*100+"%",(a[1]-A.y)/A.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function XS(e,t,n,r,i,o){e.data?e.data.setItemGraphicEl(o,t):Ta(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:r&&r.option||{}}}function ZS(e,t,n,r,i){e.data||Pc({el:t,componentModel:i,itemName:n,itemTooltipOption:r.get("tooltip")})}function $S(e,t,n,r,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var o=r.getModel("emphasis"),a=o.get("focus");return ws(t,a,o.get("blurScope"),o.get("disabled")),e.isGeo&&function(e,t,n){var r=Ta(e);r.componentMainType=t.mainType,r.componentIndex=t.componentIndex,r.componentHighDownName=n}(t,i,n),a}function KS(e,t,n){var r,i=[];function o(){r=[]}function a(){r.length&&(i.push(r),r=[])}var s=t({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(e,t){isFinite(e)&&isFinite(t)&&r.push([e,t])},sphere:function(){}});return!n&&s.polygonStart(),g.each(e,function(e){s.lineStart();for(var t=0;t<e.length;t++)s.point(e[t][0],e[t][1]);s.lineEnd()}),!n&&s.polygonEnd(),i}var JS=function(){function e(e){var t=new tr;this.uid=pu("ec_map_draw"),this._controller=new eS(e.getZr()),this._controllerHost={target:t},this.group=t,t.add(this._regionsGroup=new tr),t.add(this._svgGroup=new tr)}return e.prototype.draw=function(e,t,n,r,i){var o="geo"===e.mainType,a=e.getData&&e.getData();o&&t.eachComponent({mainType:"series",subType:"map"},function(t){a||t.getHostGeoModel()!==e||(a=t.getData())});var s=e.coordinateSystem,l=this._regionsGroup,c=this.group,u=s.getTransformInfo(),h=u.raw,d=u.roam;!l.childAt(0)||i?(c.x=d.x,c.y=d.y,c.scaleX=d.scaleX,c.scaleY=d.scaleY,c.dirty()):tc(c,d,e);var f=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,p={api:n,geo:s,mapOrGeoModel:e,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(p):"geoSVG"===s.resourceType&&this._buildSVG(p),this._updateController(e,t,n),this._updateMapSelectHandler(e,l,n,r)},e.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=g.createHashMap(),n=g.createHashMap(),r=this._regionsGroup,i=e.transformInfoRaw,o=e.mapOrGeoModel,a=e.data,s=e.geo.projection,l=s&&s.stream;function c(e,t){return t&&(e=t(e)),e&&[e[0]*i.scaleX+i.x,e[1]*i.scaleY+i.y]}function u(e){return{shape:{points:function(e){for(var t=[],n=!l&&s&&s.project,r=0;r<e.length;++r){var i=c(e[r],n);i&&t.push(i)}return t}(e)}}}r.removeAll(),g.each(e.geo.regions,function(i){var h=i.name,d=t.get(h),f=n.get(h)||{},p=f.dataIdx,A=f.regionModel;d||(d=t.set(h,new tr),r.add(d),p=a?a.indexOfName(h):null,A=e.isGeo?o.getRegionModel(h):a?a.getItemModel(p):null,n.set(h,{dataIdx:p,regionModel:A}));var v=[],m=[];g.each(i.geometries,function(e){if("polygon"===e.type){var t=[e.exterior].concat(e.interiors||[]);l&&(t=KS(t,l)),g.each(t,function(e){v.push(new Sl(u(e)))})}else{var n=e.points;l&&(n=KS(n,l,!0)),g.each(n,function(e){m.push(new Tl(u(e)))})}});var y=c(i.getCenter(),s&&s.project);function b(t,n){if(t.length){var r=new Ul({culling:!0,segmentIgnoreThreshold:1,shape:{paths:t}});d.add(r),GS(e,r,p,A),WS(e,r,h,A,o,p,y),n&&(VS(r),g.each(r.states,VS))}}b(v),b(m,!0)}),t.each(function(t,r){var i=n.get(r),a=i.dataIdx,s=i.regionModel;XS(e,t,r,s,o,a),ZS(e,t,r,s,o),$S(e,t,r,s,o)},this)},e.prototype._buildSVG=function(e){var t=e.geo.map,n=e.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(t)&&(this._freeSVG(),this._useSVG(t));var r=this._svgDispatcherMap=g.createHashMap(),i=!1;g.each(this._svgGraphicRecord.named,function(t){var n=t.name,o=e.mapOrGeoModel,a=e.data,s=t.svgNodeTagLower,l=t.el,c=a?a.indexOfName(n):null,u=o.getRegionModel(n);(null!=jS.get(s)&&l instanceof Xi&&GS(e,l,c,u),l instanceof Xi&&(l.culling=!0),l.z2EmphasisLift=0,t.namedFrom)||(null!=QS.get(s)&&WS(e,l,n,u,o,c,null),XS(e,l,n,u,o,c),ZS(e,l,n,u,o),null!=US.get(s)&&("self"===$S(e,l,n,u,o)&&(i=!0),(r.get(n)||r.set(n,[])).push(l)))},this),this._enableBlurEntireSVG(i,e)},e.prototype._enableBlurEntireSVG=function(e,t){if(e&&t.isGeo){var n=t.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse(function(e){if(!e.isGroup){as(e);var t=e.ensureState("blur").style||{};null==t.opacity&&null!=n&&(t.opacity=n),e.ensureState("emphasis")}})}},e.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},e.prototype.findHighDownDispatchers=function(e,t){if(null==e)return[];var n=t.coordinateSystem;if("geoJSON"===n.resourceType){var r=this._regionsGroupByName;if(r){var i=r.get(e);return i?[i]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(e)||[]},e.prototype._svgResourceChanged=function(e){return this._svgMapName!==e},e.prototype._useSVG=function(e){var t=NS.getGeoResource(e);if(t&&"geoSVG"===t.type){var n=t.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=e}},e.prototype._freeSVG=function(){var e=this._svgMapName;if(null!=e){var t=NS.getGeoResource(e);t&&"geoSVG"===t.type&&t.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},e.prototype._updateController=function(e,t,n){var r=e.coordinateSystem,i=this._controller,o=this._controllerHost;o.zoomLimit=e.get("scaleLimit"),o.zoom=r.getZoom(),i.enable(e.get("roam")||!1);var a=e.mainType;function s(){var t={type:"geoRoam",componentType:a};return t[a+"Id"]=e.id,t}i.off("pan").on("pan",function(e){this._mouseDownFlag=!1,tS(o,e.dx,e.dy),n.dispatchAction(g.extend(s(),{dx:e.dx,dy:e.dy,animation:{duration:0}}))},this),i.off("zoom").on("zoom",function(e){this._mouseDownFlag=!1,nS(o,e.scale,e.originX,e.originY),n.dispatchAction(g.extend(s(),{zoom:e.scale,originX:e.originX,originY:e.originY,animation:{duration:0}}))},this),i.setPointerChecker(function(t,i,o){return r.containPoint([i,o])&&!oS(t,n,e)})},e.prototype.resetForLabelLayout=function(){this.group.traverse(function(e){var t=e.getTextContent();t&&(t.ignore=zS(t).ignore)})},e.prototype._updateMapSelectHandler=function(e,t,n,r){var i=this;t.off("mousedown"),t.off("click"),e.get("selectedMode")&&(t.on("mousedown",function(){i._mouseDownFlag=!0}),t.on("click",function(e){i._mouseDownFlag&&(i._mouseDownFlag=!1)}))},e}(),qS=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var i=this.group;if(i.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&r&&"geoRoam"===r.type&&this._mapDraw.resetForLabelLayout(),r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===e.id)(o=this._mapDraw)&&i.add(o.group);else if(e.needsDrawMap){var o=this._mapDraw||new JS(n);i.add(o.group),o.draw(e,t,n,this,r),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},t.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.prototype._renderSymbols=function(e,t,n){var r=e.originalData,i=this.group;r.each(r.mapDimension("value"),function(t,n){if(!isNaN(t)){var o=r.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new qs({style:{fill:e.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:Ha+1)});if(!s){var c=e.mainSeries.getData(),u=r.getName(n),h=c.indexOfName(u),d=r.getItemModel(n),f=d.getModel("label"),p=c.getItemGraphicEl(h);Uc(l,Qc(d),{labelFetcher:{getFormattedLabel:function(t,n){return e.getFormattedLabel(h,n)}},defaultText:u}),l.disableLabelAnimation=!0,f.get("position")||l.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(e){is(l,e)}}i.add(l)}}})},t.type="map",t}(xp),eB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,r=n.getRegion(t);return r&&n.dataToPoint(r.getCenter())}},n}return p(t,e),t.prototype.getInitialData=function(e){for(var t=Mx(this,{coordDimensions:["value"],encodeDefaulter:g.curry(jh,this)}),n=g.createHashMap(),r=[],i=0,o=t.count();i<o;i++){var a=t.getName(i);n.set(a,!0)}var s=NS.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return g.each(s.regions,function(e){var t=e.name;n.get(t)||r.push(t)}),t.appendValues([],r),t},t.prototype.getHostGeoModel=function(){var e=this.option.geoIndex;return null!=e?this.ecModel.getComponent("geo",e):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},t.prototype.getRegionModel=function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},t.prototype.formatTooltip=function(e,t,n){for(var r=this.getData(),i=this.getRawValue(e),o=r.getName(e),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var c=a[l].originalData.indexOfName(o),u=r.mapDimension("value");isNaN(a[l].originalData.get(u,c))||s.push(a[l].name)}return Qf("section",{header:s.join(", "),noHeader:!s.length,blocks:[Qf("nameValue",{name:o,value:i})]})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.getLegendIcon=function(e){var t=e.icon||"roundRect",n=EA(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill);return n.setStyle(e.itemStyle),n.style.stroke="none",t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(hp);function tB(e){var t={};e.eachSeriesByType("map",function(e){var n=e.getHostGeoModel(),r=n?"o"+n.id:"i"+e.getMapType();(t[r]=t[r]||[]).push(e)}),g.each(t,function(e,t){for(var n,r,i,o=(n=g.map(e,function(e){return e.getData()}),r=e[0].get("mapValueCalculation"),i={},g.each(n,function(e){e.each(e.mapDimension("value"),function(t,n){var r="ec-"+e.getName(n);i[r]=i[r]||[],isNaN(t)||i[r].push(t)})}),n[0].map(n[0].mapDimension("value"),function(e,t){for(var o,a="ec-"+n[0].getName(t),s=0,l=1/0,c=-1/0,u=i[a].length,h=0;h<u;h++)l=Math.min(l,i[a][h]),c=Math.max(c,i[a][h]),s+=i[a][h];return o="min"===r?l:"max"===r?c:"average"===r?s/u:s,0===u?NaN:o})),a=0;a<e.length;a++)e[a].originalData=e[a].getData();for(a=0;a<e.length;a++)e[a].seriesGroup=e,e[a].needsDrawMap=0===a&&!e[a].getHostGeoModel(),e[a].setData(o.cloneShallow()),e[a].mainSeries=e[0]})}function nB(e){var t={};e.eachSeriesByType("map",function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!t[r]){var i={};g.each(n.seriesGroup,function(t){var n=t.coordinateSystem,r=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&r.each(r.mapDimension("value"),function(e,t){var o=r.getName(t),a=n.getRegion(o);if(a&&!isNaN(e)){var s=i[o]||0,l=n.dataToPoint(a.getCenter());i[o]=s+1,r.setItemLayout(t,{point:l,offset:s})}})});var o=n.getData();o.each(function(e){var t=o.getName(e),n=o.getItemLayout(e)||{};n.showLabel=!i[t],o.setItemLayout(e,n)}),t[r]=!0}})}var rB=H;function iB(e){var t=e.seriesModel;return t?t.coordinateSystem:null}var oB=function(e){function t(t){var n=e.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new In,n._rawTransformable=new In,n.name=t,n}return p(t,e),t.prototype.setBoundingRect=function(e,t,n,r){return this._rect=new Oe(e,t,n,r),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(e,t,n,r){this._transformTo(e,t,n,r),this._viewRect=new Oe(e,t,n,r)},t.prototype._transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=this._rawTransformable;o.transform=i.calculateTransform(new Oe(e,t,n,r));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},t.prototype.setCenter=function(e,t){e&&(this._center=[pr(e[0],t.getWidth()),pr(e[1],t.getHeight())],this._updateCenterAndZoom())},t.prototype.setZoom=function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},t.prototype.getDefaultCenter=function(){var e=this.getBoundingRect();return[e.x+e.width/2,e.y+e.height/2]},t.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},t.prototype.getZoom=function(){return this._zoom||1},t.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},t.prototype._updateCenterAndZoom=function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),i=this.getZoom();r=H([],r,e),n=H([],n,e),t.originX=r[0],t.originY=r[1],t.x=n[0]-r[0],t.y=n[1]-r[1],t.scaleX=t.scaleY=i,this._updateTransform()},t.prototype._updateTransform=function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),ge(this.transform||(this.transform=[]),t.transform||[1,0,0,1,0,0]),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],_e(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var e=this._rawTransformable,t=this._roamTransformable,n=new In;return n.transform=t.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},t.prototype.dataToPoint=function(e,t,n){var r=t?this._rawTransform:this.transform;return n=n||[],r?rB(n,e,r):m(n,e)},t.prototype.pointToData=function(e){var t=this.invTransform;return t?rB([],e,t):[e[0],e[1]]},t.prototype.convertToPixel=function(e,t,n){var r=iB(t);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var r=iB(t);return r===this?r.pointToData(n):null},t.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},t.dimensions=["x","y"],t}(In),aB={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},sB=["lng","lat"],lB=function(e){function t(t,n,r){var i=e.call(this,t)||this;i.dimensions=sB,i.type="geo",i._nameCoordMap=g.createHashMap(),i.map=n;var o,a=r.projection,s=NS.load(n,r.nameMap,r.nameProperty),l=NS.getGeoResource(n),c=(i.resourceType=l?l.type:null,i.regions=s.regions),u=aB[l.type];if(i._regionsMap=s.regionsMap,i.regions=s.regions,i.projection=a,a)for(var h=0;h<c.length;h++){var d=c[h].getBoundingRect(a);(o=o||d.clone()).union(d)}else o=s.boundingRect;return i.setBoundingRect(o.x,o.y,o.width,o.height),i.aspectScale=a?1:g.retrieve2(r.aspectScale,u.aspectScale),i._invertLongitute=!a&&u.invertLongitute,i}return p(t,e),t.prototype._transformTo=function(e,t,n,r){var i=this.getBoundingRect(),o=this._invertLongitute;i=i.clone(),o&&(i.y=-i.y-i.height);var a=this._rawTransformable;a.transform=i.calculateTransform(new Oe(e,t,n,r));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},t.prototype.getRegion=function(e){return this._regionsMap.get(e)},t.prototype.getRegionByCoord=function(e){for(var t=this.regions,n=0;n<t.length;n++){var r=t[n];if("geoJSON"===r.type&&r.contain(e))return t[n]}},t.prototype.addGeoCoord=function(e,t){this._nameCoordMap.set(e,t)},t.prototype.getGeoCoord=function(e){var t=this._regionsMap.get(e);return this._nameCoordMap.get(e)||t&&t.getCenter()},t.prototype.dataToPoint=function(e,t,n){if(g.isString(e)&&(e=this.getGeoCoord(e)),e){var r=this.projection;return r&&(e=r.project(e)),e&&this.projectedToPoint(e,t,n)}},t.prototype.pointToData=function(e){var t=this.projection;return t&&(e=t.unproject(e)),e&&this.pointToProjected(e)},t.prototype.pointToProjected=function(t){return e.prototype.pointToData.call(this,t)},t.prototype.projectedToPoint=function(t,n,r){return e.prototype.dataToPoint.call(this,t,n,r)},t.prototype.convertToPixel=function(e,t,n){var r=cB(t);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,t,n){var r=cB(t);return r===this?r.pointToData(n):null},t}(oB);function cB(e){var t=e.geoModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",ii).models[0]||{}).coordinateSystem:null}g.mixin(lB,oB);var uB=lB;function hB(e,t){var n=e.get("boundingCoords");if(null!=n){var r=n[0],i=n[1];if(isFinite(r[0])&&isFinite(r[1])&&isFinite(i[0])&&isFinite(i[1])){var o=this.projection;if(o){var a=r[0],s=r[1],l=i[0],c=i[1];r=[1/0,1/0],i=[-1/0,-1/0];var u=function(e,t,n,a){for(var s=n-e,l=a-t,c=0;c<=100;c++){var u=c/100,h=o.project([e+s*u,t+l*u]);j(r,r,h),U(i,i,h)}};u(a,s,l,s),u(l,s,l,c),u(l,c,a,c),u(a,c,l,s)}this.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1])}else 0}var h,d,f,p=this.getBoundingRect(),A=e.get("layoutCenter"),g=e.get("layoutSize"),v=t.getWidth(),m=t.getHeight(),y=p.width/p.height*this.aspectScale,b=!1;if(A&&g&&(h=[pr(A[0],v),pr(A[1],m)],d=pr(g,Math.min(v,m)),isNaN(h[0])||isNaN(h[1])||isNaN(d)||(b=!0)),b)f={},y>1?(f.width=d,f.height=d/y):(f.height=d,f.width=d*y),f.y=h[1]-f.height/2,f.x=h[0]-f.width/2;else{var _=e.getBoxLayoutParams();_.aspect=y,f=gh(_,{width:v,height:m})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}var dB=new(function(){function e(){this.dimensions=sB}return e.prototype.create=function(e,t){var n=[];function r(e){return{nameProperty:e.get("nameProperty"),aspectScale:e.get("aspectScale"),projection:e.get("projection")}}e.eachComponent("geo",function(e,i){var o=e.get("map"),a=new uB(o+i,o,g.extend({nameMap:e.get("nameMap")},r(e)));a.zoomLimit=e.get("scaleLimit"),n.push(a),e.coordinateSystem=a,a.model=e,a.resize=hB,a.resize(e,t)}),e.eachSeries(function(e){if("geo"===e.get("coordinateSystem")){var t=e.get("geoIndex")||0;e.coordinateSystem=n[t]}});var i={};return e.eachSeriesByType("map",function(e){if(!e.getHostGeoModel()){var t=e.getMapType();i[t]=i[t]||[],i[t].push(e)}}),g.each(i,function(e,i){var o=g.map(e,function(e){return e.get("nameMap")}),a=new uB(i,i,g.extend({nameMap:g.mergeAll(o)},r(e[0])));a.zoomLimit=g.retrieve.apply(null,g.map(e,function(e){return e.get("scaleLimit")})),n.push(a),a.resize=hB,a.resize(e[0],t),g.each(e,function(e){e.coordinateSystem=a,function(e,t){g.each(t.get("geoCoord"),function(t,n){e.addGeoCoord(n,t)})}(a,e)})}),n},e.prototype.getFilledRegions=function(e,t,n,r){for(var i=(e||[]).slice(),o=g.createHashMap(),a=0;a<i.length;a++)o.set(i[a].name,i[a]);var s=NS.load(t,n,r);return g.each(s.regions,function(e){var t=e.name;!o.get(t)&&i.push({name:t})}),i},e}()),fB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(e,t,n){var r=NS.getGeoResource(e.map);if(r&&"geoJSON"===r.type){var i=e.itemStyle=e.itemStyle||{};"color"in i||(i.color="#eee")}this.mergeDefaultAndTheme(e,n),zr(e,"label",["show"])},t.prototype.optionUpdated=function(){var e=this,t=this.option;t.regions=dB.getFilledRegions(t.regions,t.map,t.nameMap,t.nameProperty);var n={};this._optionModelMap=g.reduce(t.regions||[],function(t,r){var i=r.name;return i&&(t.set(i,new du(r,e,e.ecModel)),r.selected&&(n[i]=!0)),t},g.createHashMap()),t.selectedMap||(t.selectedMap=n)},t.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new du(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(e,t){var n=this.getRegionModel(e),r="normal"===t?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),i={name:e};return g.isFunction(r)?(i.status=t,r(i)):g.isString(r)?r.replace("{a}",null!=e?e:""):void 0},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.select=function(e){var t=this.option,n=t.selectedMode;n&&("multiple"!==n&&(t.selectedMap=null),(t.selectedMap||(t.selectedMap={}))[e]=!0)},t.prototype.unSelect=function(e){var t=this.option.selectedMap;t&&(t[e]=!1)},t.prototype.toggleSelected=function(e){this[this.isSelected(e)?"unSelect":"select"](e)},t.prototype.isSelected=function(e){var t=this.option.selectedMap;return!(!t||!t[e])},t.type="geo",t.layoutMode="box",t.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},t}(Ch);function pB(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function AB(e,t,n,r){var i=e.getZoom(),o=e.getCenter(),a=t.zoom,s=e.projectedToPoint?e.projectedToPoint(o):e.dataToPoint(o);if(null!=t.dx&&null!=t.dy&&(s[0]-=t.dx,s[1]-=t.dy,e.setCenter(pB(e,s),r)),null!=a){if(n){var l=n.min||0,c=n.max||1/0;a=Math.max(Math.min(i*a,c),l)/i}e.scaleX*=a,e.scaleY*=a;var u=(t.originX-e.x)*(a-1),h=(t.originY-e.y)*(a-1);e.x-=u,e.y-=h,e.updateTransform(),e.setCenter(pB(e,s),r),e.setZoom(a*i)}return{center:e.getCenter(),zoom:e.getZoom()}}var gB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.focusBlurEnabled=!0,n}return p(t,e),t.prototype.init=function(e,t){this._api=t},t.prototype.render=function(e,t,n,r){if(this._model=e,!e.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new JS(n));var i=this._mapDraw;i.draw(e,t,n,this,r),i.group.on("click",this._handleRegionClick,this),i.group.silent=e.get("silent"),this.group.add(i.group),this.updateSelectStatus(e,t,n)},t.prototype._handleRegionClick=function(e){var t;gA(e.target,function(e){return null!=(t=Ta(e).eventData)},!0),t&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:t.name})},t.prototype.updateSelectStatus=function(e,t,n){var r=this;this._mapDraw.group.traverse(function(e){var t=Ta(e).eventData;if(t)return r._model.isSelected(t.name)?n.enterSelect(e):n.leaveSelect(e),!0})},t.prototype.findHighDownDispatchers=function(e){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(e,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}(fp);function vB(e,t,n){NS.registerMap(e,t,n)}function mB(e){function t(t,n){n.update="geo:updateSelectStatus",e.registerAction(n,function(e,n){var r={},i=[];return n.eachComponent({mainType:"geo",query:e},function(n){n[t](e.name);var o=n.coordinateSystem;Object(g.each)(o.regions,function(e){r[e.name]=n.isSelected(e.name)||!1});var a=[];Object(g.each)(r,function(e,t){r[t]&&a.push(t)}),i.push({geoIndex:n.componentIndex,name:a})}),{selected:r,allSelected:i,name:e.name}})}e.registerCoordinateSystem("geo",dB),e.registerComponentModel(fB),e.registerComponentView(gB),e.registerImpl("registerMap",vB),e.registerImpl("getMap",function(e){return NS.getMapForUser(e)}),t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),e.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(e,t,n){var r=e.componentType||"series";t.eachComponent({mainType:r,query:e},function(t){var i=t.coordinateSystem;if("geo"===i.type){var o=AB(i,e,t.get("scaleLimit"),n);t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===r&&Object(g.each)(t.seriesGroup,function(e){e.setCenter(o.center),e.setZoom(o.zoom)})}})})}function yB(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){!function(e){var t=e.children,n=t.length,r=0,i=0;for(;--n>=0;){var o=t[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=function(e,t,n,r){if(t){for(var i=e,o=e,a=o.parentNode.children[0],s=t,l=i.hierNode.modifier,c=o.hierNode.modifier,u=a.hierNode.modifier,h=s.hierNode.modifier;s=xB(s),o=CB(o),s&&o;){i=xB(i),a=CB(a),i.hierNode.ancestor=e;var d=s.hierNode.prelim+h-o.hierNode.prelim-c+r(s,o);d>0&&(BB(SB(s,e,n),e,d),c+=d,l+=d),h+=s.hierNode.modifier,c+=o.hierNode.modifier,l+=i.hierNode.modifier,u+=a.hierNode.modifier}s&&!xB(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=h-l),o&&!CB(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=c-u,n=e)}return n}(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function bB(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function _B(e){return arguments.length?e:kB}function wB(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function xB(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function CB(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function SB(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function BB(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function kB(e,t){return e.parentNode===t.parentNode?1:2}var TB=function(){return function(){this.parentPoint=[],this.childPoints=[]}}(),EB=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new TB},t.prototype.buildPath=function(e,t){var n=t.childPoints,r=n.length,i=t.parentPoint,o=n[0],a=n[r-1];if(1===r)return e.moveTo(i[0],i[1]),void e.lineTo(o[0],o[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,c=1-l,u=pr(t.forkPosition,1),h=[];h[l]=i[l],h[c]=i[c]+(a[c]-i[c])*u,e.moveTo(i[0],i[1]),e.lineTo(h[0],h[1]),e.moveTo(o[0],o[1]),h[l]=o[l],e.lineTo(h[0],h[1]),h[l]=a[l],e.lineTo(h[0],h[1]),e.lineTo(a[0],a[1]);for(var d=1;d<r-1;d++){var f=n[d];e.moveTo(f[0],f[1]),h[l]=f[l],e.lineTo(h[0],h[1])}},t}($o);function MB(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)}function DB(e,t,n,r,i){var o=!n,a=e.tree.getNodeByDataIndex(t),s=a.getModel(),l=a.getVisual("style").fill,c=!1===a.isExpand&&0!==a.children.length?l:"#fff",u=e.tree.root,h=a.parentNode===u?a:a.parentNode||a,d=e.getItemGraphicEl(h.dataIndex),f=h.getLayout(),p=d?{x:d.__oldX,y:d.__oldY,rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:f,A=a.getLayout();o?((n=new uw(e,t,null,{symbolInnerColor:c,useNameLabel:!0})).x=p.x,n.y=p.y):n.updateData(e,t,null,{symbolInnerColor:c,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=A.rawX,n.__radialRawY=A.rawY,r.add(n),e.setItemGraphicEl(t,n),n.__oldX=n.x,n.__oldY=n.y,tc(n,{x:A.x,y:A.y},i);var v=n.getSymbolPath();if("radial"===i.get("layout")){var m=u.children[0],y=m.getLayout(),b=m.children.length,_=void 0,w=void 0;if(A.x===y.x&&!0===a.isExpand&&m.children.length){var x={x:(m.children[0].getLayout().x+m.children[b-1].getLayout().x)/2,y:(m.children[0].getLayout().y+m.children[b-1].getLayout().y)/2};(_=Math.atan2(x.y-y.y,x.x-y.x))<0&&(_=2*Math.PI+_),(w=x.x<y.x)&&(_-=Math.PI)}else(_=Math.atan2(A.y-y.y,A.x-y.x))<0&&(_=2*Math.PI+_),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(w=A.x<y.x)&&(_-=Math.PI):(w=A.x>y.x)||(_-=Math.PI);var C=w?"left":"right",S=s.getModel("label"),B=S.get("rotate"),k=B*(Math.PI/180),T=v.getTextContent();T&&(v.setTextConfig({position:S.get("position")||C,rotation:null==B?-_:k,origin:"center"}),T.setStyle("verticalAlign","middle"))}var E=s.get(["emphasis","focus"]),M="relative"===E?g.concatArray(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===E?a.getAncestorsIndices():"descendant"===E?a.getDescendantIndices():null;M&&(Ta(n).focus=M),function(e,t,n,r,i,o,a,s){var l=t.getModel(),c=e.get("edgeShape"),u=e.get("layout"),h=e.getOrient(),d=e.get(["lineStyle","curveness"]),f=e.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),A=r.__edge;if("curve"===c)t.parentNode&&t.parentNode!==n&&(A||(A=r.__edge=new Rl({shape:PB(u,h,d,i,i)})),tc(A,{shape:PB(u,h,d,o,a)},e));else if("polyline"===c)if("orthogonal"===u){if(t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var v=t.children,m=[],y=0;y<v.length;y++){var b=v[y].getLayout();m.push([b.x,b.y])}A||(A=r.__edge=new EB({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:h,forkPosition:f}})),tc(A,{shape:{parentPoint:[a.x,a.y],childPoints:m}},e)}}else 0;A&&("polyline"!==c||t.isExpand)&&(A.useStyle(g.defaults({strokeNoScale:!0,fill:null},p)),Bs(A,l,"lineStyle"),as(A),s.add(A))}(i,a,u,n,p,f,A,r),n.__edge&&(n.onHoverStateChange=function(t){if("blur"!==t){var r=a.parentNode&&e.getItemGraphicEl(a.parentNode.dataIndex);r&&r.hoverState===Pa||is(n.__edge,t)}})}function OB(e,t,n,r,i){var o=IB(t.tree.root,e),a=o.source,s=o.sourceLayout,l=t.getItemGraphicEl(e.dataIndex);if(l){var c=t.getItemGraphicEl(a.dataIndex).__edge,u=l.__edge||(!1===a.isExpand||1===a.children.length?c:void 0),h=r.get("edgeShape"),d=r.get("layout"),f=r.get("orient"),p=r.get(["lineStyle","curveness"]);u&&("curve"===h?ic(u,{shape:PB(d,f,p,s,s),style:{opacity:0}},r,{cb:function(){n.remove(u)},removeOpt:i}):"polyline"===h&&"orthogonal"===r.get("layout")&&ic(u,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},r,{cb:function(){n.remove(u)},removeOpt:i}))}}function IB(e,t){for(var n,r=t.parentNode===e?t:t.parentNode||t;null==(n=r.getLayout());)r=r.parentNode===e?r:r.parentNode||r;return{source:r,sourceLayout:n}}function LB(e,t,n,r,i){var o=e.tree.getNodeByDataIndex(t),a=IB(e.tree.root,o).sourceLayout,s={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};ic(n,{x:a.x+1,y:a.y+1},i,{cb:function(){r.remove(n),e.setItemGraphicEl(t,null)},removeOpt:s}),n.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:s}),o.children.forEach(function(t){OB(t,e,r,i,s)}),OB(o,e,r,i,s)}function PB(e,t,n,r,i){var o,a,s,l,c,u,h,d;if("radial"===e){c=r.rawX,h=r.rawY,u=i.rawX,d=i.rawY;var f=wB(c,h),p=wB(c,h+(d-h)*n),A=wB(u,d+(h-d)*n),g=wB(u,d);return{x1:f.x||0,y1:f.y||0,x2:g.x||0,y2:g.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:A.x||0,cpy2:A.y||0}}return c=r.x,h=r.y,u=i.x,d=i.y,"LR"!==t&&"RL"!==t||(o=c+(u-c)*n,a=h,s=u+(c-u)*n,l=d),"TB"!==t&&"BT"!==t||(o=c,a=h+(d-h)*n,s=u,l=d+(h-d)*n),{x1:c,y1:h,x2:u,y2:d,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var FB=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._mainGroup=new tr,n}return p(t,e),t.prototype.init=function(e,t){this._controller=new eS(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,t,n){var r=e.getData(),i=e.layoutInfo,o=this._mainGroup;"radial"===e.get("layout")?(o.x=i.x+i.width/2,o.y=i.y+i.height/2):(o.x=i.x,o.y=i.y),this._updateViewCoordSys(e,n),this._updateController(e,t,n);var a=this._data;r.diff(a).add(function(t){MB(r,t)&&DB(r,t,null,o,e)}).update(function(t,n){var i=a.getItemGraphicEl(n);MB(r,t)?DB(r,t,i,o,e):i&&LB(a,n,i,o,e)}).remove(function(t){var n=a.getItemGraphicEl(t);n&&LB(a,t,n,o,e)}).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===e.get("expandAndCollapse")&&r.eachItemGraphicEl(function(t,r){t.off("click").on("click",function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:r})})}),this._data=r},t.prototype._updateViewCoordSys=function(e,t){var n=e.getData(),r=[];n.each(function(e){var t=n.getItemLayout(e);!t||isNaN(t.x)||isNaN(t.y)||r.push([+t.x,+t.y])});var i=[],o=[];ro(r,i,o);var a=this._min,s=this._max;o[0]-i[0]==0&&(i[0]=a?a[0]:i[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-i[1]==0&&(i[1]=a?a[1]:i[1]-1,o[1]=s?s[1]:o[1]+1);var l=e.coordinateSystem=new oB;l.zoomLimit=e.get("scaleLimit"),l.setBoundingRect(i[0],i[1],o[0]-i[0],o[1]-i[1]),l.setCenter(e.get("center"),t),l.setZoom(e.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=i,this._max=o},t.prototype._updateController=function(e,t,n){var r=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker(function(t,r,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(r,i)&&!oS(t,n,e)}),i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",function(t){tS(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})}).on("zoom",function(t){nS(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),r._updateNodeAndLinkScale(e),n.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(e){var t=e.getData(),n=this._getNodeGlobalScale(e);t.eachItemGraphicEl(function(e,t){e.setSymbolScale(n)})},t.prototype._getNodeGlobalScale=function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,r=t.scaleX||1;return((t.getZoom()-1)*n+1)/r},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},t.type="tree",t}(xp),RB=ei();function NB(e,t){if(RB(r=this).mainData===r){var n=Object(g.extend)({},RB(this).datas);n[this.dataType]=t,zB(t,n,e)}else YB(t,this.dataType,RB(this).mainData,e);var r;return t}function HB(e,t){return e.struct&&e.struct.update(),t}function jB(e,t){return Object(g.each)(RB(t).datas,function(n,r){n!==t&&YB(n.cloneShallow(),r,t,e)}),t}function UB(e){var t=RB(this).mainData;return null==e||null==t?t:RB(t).datas[e]}function QB(){var e=RB(this).mainData;return null==e?[{data:e}]:Object(g.map)(Object(g.keys)(RB(e).datas),function(t){return{type:t,data:RB(e).datas[t]}})}function zB(e,t,n){RB(e).datas={},Object(g.each)(t,function(t,r){YB(t,r,e,n)})}function YB(e,t,n,r){RB(n).datas[t]=e,RB(e).mainData=n,e.dataType=t,r.struct&&(e[r.structAttr]=r.struct,r.struct[r.datasAttr[t]]=e),e.getLinkedData=UB,e.getLinkedDataAll=QB}var VB=function(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,zB(t,n,e),Object(g.each)(n,function(n){Object(g.each)(t.TRANSFERABLE_METHODS,function(t){n.wrapMethod(t,Object(g.curry)(NB,e))})}),t.wrapMethod("cloneShallow",Object(g.curry)(jB,e)),Object(g.each)(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,Object(g.curry)(HB,e))}),Object(g.assert)(n[t.dataType]===t)},GB=function(){function e(e,t){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=e||"",this.hostTree=t}return e.prototype.isRemoved=function(){return this.dataIndex<0},e.prototype.eachNode=function(e,t,n){g.isFunction(e)&&(n=t,t=e,e=null),e=e||{},g.isString(e)&&(e={order:e});var r,i=e.order||"preorder",o=this[e.attr||"children"];"preorder"===i&&(r=t.call(n,this));for(var a=0;!r&&a<o.length;a++)o[a].eachNode(e,t,n);"postorder"===i&&t.call(n,this)},e.prototype.updateDepthAndHeight=function(e){var t=0;this.depth=e;for(var n=0;n<this.children.length;n++){var r=this.children[n];r.updateDepthAndHeight(e+1),r.height>t&&(t=r.height)}this.height=t+1},e.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].getNodeById(e);if(i)return i}},e.prototype.contains=function(e){if(e===this)return!0;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].contains(e);if(i)return i}},e.prototype.getAncestors=function(e){for(var t=[],n=e?this:this.parentNode;n;)t.push(n),n=n.parentNode;return t.reverse(),t},e.prototype.getAncestorsIndices=function(){for(var e=[],t=this;t;)e.push(t.dataIndex),t=t.parentNode;return e.reverse(),e},e.prototype.getDescendantIndices=function(){var e=[];return this.eachNode(function(t){e.push(t.dataIndex)}),e},e.prototype.getValue=function(e){var t=this.hostTree.data;return t.getStore().get(t.getDimensionIndex(e||"value"),this.dataIndex)},e.prototype.setLayout=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(e)},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},e.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t<e.length;++t)if(e[t]===this)return t;return-1}return-1},e.prototype.isAncestorOf=function(e){for(var t=e.parentNode;t;){if(t===this)return!0;t=t.parentNode}return!1},e.prototype.isDescendantOf=function(e){return e!==this&&e.isAncestorOf(this)},e}();var WB=function(){function e(e){this.type="tree",this._nodes=[],this.hostModel=e}return e.prototype.eachNode=function(e,t,n){this.root.eachNode(e,t,n)},e.prototype.getNodeByDataIndex=function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},e.prototype.getNodeById=function(e){return this.root.getNodeById(e)},e.prototype.update=function(){for(var e=this.data,t=this._nodes,n=0,r=t.length;n<r;n++)t[n].dataIndex=-1;for(n=0,r=e.count();n<r;n++)t[e.getRawIndex(n)].dataIndex=n},e.prototype.clearLayouts=function(){this.data.clearItemLayouts()},e.createTree=function(t,n,r){var i=new e(n),o=[],a=1;!function e(t,n){var r=t.value;a=Math.max(a,g.isArray(r)?r.length:1);o.push(t);var s=new GB($r(t.name,""),i);n?function(e,t){var n=t.children;if(e.parentNode===t)return;n.push(e),e.parentNode=t}(s,n):i.root=s;i._nodes.push(s);var l=t.children;if(l)for(var c=0;c<l.length;c++)e(l[c],s)}(t),i.root.updateDepthAndHeight(0);var s=am(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,l=new im(s,n);return l.initData(o),r&&r(l),VB({mainData:l,struct:i,structAttr:"tree"}),i.update(),i},e}();function XB(e,t,n){if(e&&g.indexOf(t,e.type)>=0){var r=n.getData().tree.root,i=e.targetNode;if(g.isString(i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var o=e.targetNodeId;if(null!=o&&(i=r.getNodeById(o)))return{node:i}}}function ZB(e){for(var t=[];e;)(e=e.parentNode)&&t.push(e);return t.reverse()}function $B(e,t){var n=ZB(e);return g.indexOf(n,t)>=0}function KB(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}var JB=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return p(t,e),t.prototype.getInitialData=function(e){var t={name:e.name,children:e.data},n=e.leaves||{},r=new du(n,this,this.ecModel),i=WB.createTree(t,this,function(e){e.wrapMethod("getItemModel",function(e,t){var n=i.getNodeByDataIndex(t);return n&&n.children.length&&n.isExpand||(e.parentModel=r),e})});var o=0;i.eachNode("preorder",function(e){e.depth>o&&(o=e.depth)});var a=e.expandAndCollapse&&e.initialTreeDepth>=0?e.initialTreeDepth:o;return i.root.eachNode("preorder",function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=a}),i.data},t.prototype.getOrient=function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,t,n){for(var r=this.getData().tree,i=r.root.children[0],o=r.getNodeByDataIndex(e),a=o.getValue(),s=o.name;o&&o!==i;)s=o.parentNode.name+"."+s,o=o.parentNode;return Qf("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=KB(r,this),n.collapsed=!r.isExpand,n},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(hp);function qB(e,t){for(var n,r=[e];n=r.pop();)if(t(n),n.isExpand){var i=n.children;if(i.length)for(var o=i.length-1;o>=0;o--)r.push(i[o])}}function ek(e,t){e.eachSeriesByType("tree",function(e){!function(e,t){var n=function(e,t){return gh(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t);e.layoutInfo=n;var r=e.get("layout"),i=0,o=0,a=null;"radial"===r?(i=2*Math.PI,o=Math.min(n.height,n.width)/2,a=_B(function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth})):(i=n.width,o=n.height,a=_B());var s=e.getData().tree.root,l=s.children[0];if(l){!function(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,r,i=[t];n=i.pop();)if(r=n.children,n.isExpand&&r.length)for(var o=r.length-1;o>=0;o--){var a=r[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}}(s),function(e,t,n){for(var r,i=[e],o=[];r=i.pop();)if(o.push(r),r.isExpand){var a=r.children;if(a.length)for(var s=0;s<a.length;s++)i.push(a[s])}for(;r=o.pop();)t(r,n)}(l,yB,a),s.hierNode.modifier=-l.hierNode.prelim,qB(l,bB);var c=l,u=l,h=l;qB(l,function(e){var t=e.getLayout().x;t<c.getLayout().x&&(c=e),t>u.getLayout().x&&(u=e),e.depth>h.depth&&(h=e)});var d=c===u?1:a(c,u)/2,f=d-c.getLayout().x,p=0,A=0,g=0,v=0;if("radial"===r)p=i/(u.getLayout().x+d+f),A=o/(h.depth-1||1),qB(l,function(e){g=(e.getLayout().x+f)*p,v=(e.depth-1)*A;var t=wB(g,v);e.setLayout({x:t.x,y:t.y,rawX:g,rawY:v},!0)});else{var m=e.getOrient();"RL"===m||"LR"===m?(A=o/(u.getLayout().x+d+f),p=i/(h.depth-1||1),qB(l,function(e){v=(e.getLayout().x+f)*A,g="LR"===m?(e.depth-1)*p:i-(e.depth-1)*p,e.setLayout({x:g,y:v},!0)})):"TB"!==m&&"BT"!==m||(p=i/(u.getLayout().x+d+f),A=o/(h.depth-1||1),qB(l,function(e){g=(e.getLayout().x+f)*p,v="TB"===m?(e.depth-1)*A:o-(e.depth-1)*A,e.setLayout({x:g,y:v},!0)}))}}}(e,t)})}function tk(e){e.eachSeriesByType("tree",function(e){var t=e.getData();t.tree.eachNode(function(e){var n=e.getModel().getModel("itemStyle").getItemStyle(),r=t.ensureUniqueItemVisual(e.dataIndex,"style");Object(g.extend)(r,n)})})}var nk=["treemapZoomToNode","treemapRender","treemapMove"];function rk(e){var t={};e.getData().tree.eachNode(function(n){for(var r=n;r&&r.depth>1;)r=r.parentNode;var i=Kh(e.ecModel,r.name||r.dataIndex+"",t);n.setVisual("decal",i)})}var ik=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return p(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};!function e(t){var n=0;g.each(t.children,function(t){e(t);var r=t.value;g.isArray(r)&&(r=r[0]),n+=r});var r=t.value;g.isArray(r)&&(r=r[0]);(null==r||isNaN(r))&&(r=n);r<0&&(r=0);g.isArray(t.value)?t.value[0]=r:t.value=r}(n);var r=e.levels||[],i=this.designatedVisualItemStyle={},o=new du({itemStyle:i},this,t);r=e.levels=function(e,t){var n,r,i=Qr(t.get("color")),o=Qr(t.get(["aria","decal","decals"]));if(!i)return;e=e||[],g.each(e,function(e){var t=new du(e),i=t.get("color"),o=t.get("decal");(t.get(["itemStyle","color"])||i&&"none"!==i)&&(n=!0),(t.get(["itemStyle","decal"])||o&&"none"!==o)&&(r=!0)});var a=e[0]||(e[0]={});n||(a.color=i.slice());!r&&o&&(a.decal=o.slice());return e}(r,t);var a=g.map(r||[],function(e){return new du(e,o,t)},this),s=WB.createTree(n,this,function(e){e.wrapMethod("getItemModel",function(e,t){var n=s.getNodeByDataIndex(t),r=n?a[n.depth]:null;return e.parentModel=r||o,e})});return s.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e);return Qf("nameValue",{name:r.getName(e),value:i})},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treeAncestors=KB(r,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},g.extend(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=g.createHashMap(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){rk(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(hp),ok=5;function ak(e,t,n,r,i,o){var a=[[i?e:e-ok,t],[e+n,t],[e+n,t+r],[i?e:e-ok,t+r]];return!o&&a.splice(2,0,[e+n+ok,t+r/2]),!i&&a.push([e,t+r/2]),a}function sk(e,t,n){Ta(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&KB(n,t)}}var lk=function(){function e(e){this.group=new tr,e.add(this.group)}return e.prototype.render=function(e,t,n,r){var i=e.getModel("breadcrumb"),o=this.group;if(o.removeAll(),i.get("show")&&n){var a=i.getModel("itemStyle"),s=i.getModel("emphasis"),l=a.getModel("textStyle"),c=s.getModel(["itemStyle","textStyle"]),u={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(e,u,a,s,l,c,r),vh(o,u.pos,u.box)}},e.prototype._prepare=function(e,t,n){for(var r=e;r;r=r.parentNode){var i=$r(r.getModel().get("name"),""),o=n.getTextRect(i),a=Math.max(o.width+16,t.emptyItemWidth);t.totalWidth+=a+8,t.renderList.push({node:r,text:i,width:a})}},e.prototype._renderContent=function(e,t,n,r,i,o,a){for(var s,l,c,u,h,d,f,p,A,v=0,m=t.emptyItemWidth,y=e.get(["breadcrumb","height"]),b=(s=t.pos,l=t.box,u=l.width,h=l.height,d=pr(s.left,u),f=pr(s.top,h),p=pr(s.right,u),A=pr(s.bottom,h),(isNaN(d)||isNaN(parseFloat(s.left)))&&(d=0),(isNaN(p)||isNaN(parseFloat(s.right)))&&(p=u),(isNaN(f)||isNaN(parseFloat(s.top)))&&(f=0),(isNaN(A)||isNaN(parseFloat(s.bottom)))&&(A=h),c=th(c||0),{width:Math.max(p-d-c[1]-c[3],0),height:Math.max(A-f-c[0]-c[2],0)}),_=t.totalWidth,w=t.renderList,x=r.getModel("itemStyle").getItemStyle(),C=w.length-1;C>=0;C--){var S=w[C],B=S.node,k=S.width,T=S.text;_>b.width&&(_-=k-m,k=m,T=null);var E=new Sl({shape:{points:ak(v,0,k,y,C===w.length-1,0===C)},style:Object(g.defaults)(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new ka({style:zc(i,{text:T})}),textConfig:{position:"inside"},z2:1e4*Ha,onclick:Object(g.curry)(a,B)});E.disableLabelAnimation=!0,E.getTextContent().ensureState("emphasis").style=zc(o,{text:T}),E.ensureState("emphasis").style=x,ws(E,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(E),sk(E,e,B),v+=k+8}},e.prototype.remove=function(){this.group.removeAll()},e}(),ck=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(e,t,n,r,i){return!this._elExistsMap[e.id]&&(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:n,delay:r,easing:i}),!0)},e.prototype.finished=function(e){return this._finishedCallback=e,this},e.prototype.start=function(){for(var e=this,t=this._storage.length,n=function(){--t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},r=0,i=this._storage.length;r<i;r++){var o=this._storage[r];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},e}();var uk=tr,hk=ha,dk="label",fk="upperLabel",pk=10*Ha,Ak=2*Ha,gk=3*Ha,vk=bi([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),mk=function(e){var t=vk(e);return t.stroke=t.fill=t.lineWidth=null,t},yk=ei();var bk=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return p(t,e),t.prototype.render=function(e,t,n,r){var i=t.findComponents({mainType:"series",subType:"treemap",query:r});if(!(Object(g.indexOf)(i,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var o=XB(r,["treemapZoomToNode","treemapRootToNode"],e),a=r&&r.type,s=e.layoutInfo,l=!this._oldTree,c=this._storage,u="treemapRootToNode"===a&&o&&c?{rootNodeGroup:c.nodeGroup[o.node.getRawIndex()],direction:r.direction}:null,h=this._giveContainerGroup(s),d=e.get("animation"),f=this._doRender(h,e,u);!d||l||a&&"treemapZoomToNode"!==a&&"treemapRootToNode"!==a?f.renderFinally():this._doAnimation(h,f,e,u),this._resetController(n),this._renderBreadcrumb(e,n,o)}},t.prototype._giveContainerGroup=function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new uk,this._initEvents(t),this.group.add(t)),t.x=e.x,t.y=e.y,t},t.prototype._doRender=function(e,t,n){var r=t.getData().tree,i=this._oldTree,o={nodeGroup:[],background:[],content:[]},a={nodeGroup:[],background:[],content:[]},s=this._storage,l=[];function c(e,r,i,c){return function(e,t,n,r,i,o,a,s,l,c){if(!a)return;var u=a.getLayout(),h=e.getData(),d=a.getModel();if(h.setItemGraphicEl(a.dataIndex,null),!u||!u.isInView)return;var f=u.width,p=u.height,A=u.borderWidth,v=u.invisible,m=a.getRawIndex(),y=s&&s.getRawIndex(),b=a.viewChildren,_=u.upperHeight,w=b&&b.length,x=d.getModel("itemStyle"),C=d.getModel(["emphasis","itemStyle"]),S=d.getModel(["blur","itemStyle"]),B=d.getModel(["select","itemStyle"]),k=x.get("borderRadius")||0,T=H("nodeGroup",uk);if(!T)return;if(l.add(T),T.x=u.x||0,T.y=u.y||0,T.markRedraw(),yk(T).nodeWidth=f,yk(T).nodeHeight=p,u.isAboveViewRoot)return T;var E=H("background",hk,c,Ak);E&&function(t,n,r){var i=Ta(n);if(i.dataIndex=a.dataIndex,i.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:f,height:p,r:k}),v)F(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=mk(x);l.fill=s;var c=vk(C);c.fill=C.get("borderColor");var u=vk(S);u.fill=S.get("borderColor");var h=vk(B);if(h.fill=B.get("borderColor"),r){var d=f-2*A;R(n,s,o.opacity,{x:A,y:0,width:d,height:_})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=c,n.ensureState("blur").style=u,n.ensureState("select").style=h,as(n)}t.add(n)}(T,E,w&&u.upperLabelHeight);var M=d.getModel("emphasis"),D=M.get("focus"),O=M.get("blurScope"),I=M.get("disabled"),L="ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():D;if(w)Ts(T)&&ks(T,!1),E&&(ks(E,!I),h.setItemGraphicEl(a.dataIndex,E),xs(E,L,O));else{var P=H("content",hk,c,gk);P&&function(t,n){var r=Ta(n);r.dataIndex=a.dataIndex,r.seriesIndex=e.seriesIndex;var i=Math.max(f-2*A,0),o=Math.max(p-2*A,0);if(n.culling=!0,n.setShape({x:A,y:A,width:i,height:o,r:k}),v)F(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,c=mk(x);c.fill=l,c.decal=s.decal;var u=vk(C),h=vk(S),d=vk(B);R(n,l,s.opacity,null),n.setStyle(c),n.ensureState("emphasis").style=u,n.ensureState("blur").style=h,n.ensureState("select").style=d,as(n)}t.add(n)}(T,P),E.disableMorphing=!0,E&&Ts(E)&&ks(E,!1),ks(T,!I),h.setItemGraphicEl(a.dataIndex,T),xs(T,L,O)}return T;function F(e){!e.invisible&&o.push(e)}function R(t,n,r,i){var o=d.getModel(i?fk:dk),s=$r(d.get("name"),null),l=o.getShallow("show");Uc(t,Qc(d,i?fk:dk),{defaultText:l?s:null,inheritColor:n,defaultOpacity:r,labelFetcher:e,labelDataIndex:a.dataIndex});var c=t.getTextContent();if(c){var h=c.style,f=Object(g.normalizeCssArray)(h.padding||0);i&&(t.setTextConfig({layoutRect:i}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var e=Math.max((i?i.width:t.shape.width)-f[1]-f[3],0),n=Math.max((i?i.height:t.shape.height)-f[0]-f[2],0);h.width===e&&h.height===n||c.setStyle({width:e,height:n})},h.truncateMinChar=2,h.lineOverflow="truncate",N(h,i,u);var p=c.getState("emphasis");N(p?p.style:null,i,u)}}function N(t,n,r){var i=t?t.text:null;if(!n&&r.isLeafRoot&&null!=i){var o=e.get("drillDownIcon",!0);t.text=o?o+" "+i:i}}function H(e,o,s,l){var c=null!=y&&n[e][y],u=i[e];return c?(n[e][y]=null,function(e,t){var n=e[m]={};t instanceof uk?(n.oldX=t.x,n.oldY=t.y):n.oldShape=Object(g.extend)({},t.shape)}(u,c)):v||((c=new o)instanceof Xi&&(c.z2=function(e,t){return e*pk+t}(s,l)),function(e,t){var n=e[m]={},o=a.parentNode,s=t instanceof tr;if(o&&(!r||"drillDown"===r.direction)){var l=0,c=0,u=i.background[o.getRawIndex()];!r&&u&&u.oldShape&&(l=u.oldShape.width,c=u.oldShape.height),s?(n.oldX=0,n.oldY=c):n.oldShape={x:l,y:c,width:0,height:0}}n.fadein=!s}(u,c)),t[e][m]=c}}(t,a,s,n,o,l,e,r,i,c)}!function e(t,n,r,i,o){i?(n=t,Object(g.each)(t,function(e,t){!e.isRemoved()&&s(t,t)})):new Lv(n,t,a,a).add(s).update(s).remove(Object(g.curry)(s,null)).execute();function a(e){return e.getId()}function s(a,s){var l=null!=a?t[a]:null,u=null!=s?n[s]:null,h=c(l,u,r,o);h&&e(l&&l.viewChildren||[],u&&u.viewChildren||[],h,i,o+1)}}(r.root?[r.root]:[],i&&i.root?[i.root]:[],e,r===i||!i,0);var u=function(e){var t={nodeGroup:[],background:[],content:[]};return e&&Object(g.each)(e,function(e,n){var r=t[n];Object(g.each)(e,function(e){e&&(r.push(e),yk(e).willDelete=!0)})}),t}(s);return this._oldTree=r,this._storage=a,{lastsForAnimation:o,willDeleteEls:u,renderFinally:function(){Object(g.each)(u,function(e){Object(g.each)(e,function(e){e.parent&&e.parent.remove(e)})}),Object(g.each)(l,function(e){e.invisible=!0,e.dirty()})}}},t.prototype._doAnimation=function(e,t,n,r){var i=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=(Object(g.isFunction)(i)?0:i)||0,s=(Object(g.isFunction)(o)?null:o)||"cubicOut",l=new ck;Object(g.each)(t.willDeleteEls,function(e,t){Object(g.each)(e,function(e,n){if(!e.invisible){var i,o=e.parent,c=yk(o);if(r&&"drillDown"===r.direction)i=o===r.rootNodeGroup?{shape:{x:0,y:0,width:c.nodeWidth,height:c.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,h=0;c.willDelete||(u=c.nodeWidth/2,h=c.nodeHeight/2),i="nodeGroup"===t?{x:u,y:h,style:{opacity:0}}:{shape:{x:u,y:h,width:0,height:0},style:{opacity:0}}}i&&l.add(e,i,a,0,s)}})}),Object(g.each)(this._storage,function(e,n){Object(g.each)(e,function(e,r){var i=t.lastsForAnimation[n][r],o={};i&&(e instanceof tr?null!=i.oldX&&(o.x=e.x,o.y=e.y,e.x=i.oldX,e.y=i.oldY):(i.oldShape&&(o.shape=Object(g.extend)({},e.shape),e.setShape(i.oldShape)),i.fadein?(e.setStyle("opacity",0),o.style={opacity:1}):1!==e.style.opacity&&(o.style={opacity:1})),l.add(e,o,a,0,s))})},this),this._state="animating",l.finished(Object(g.bind)(function(){this._state="ready",t.renderFinally()},this)).start()},t.prototype._resetController=function(e){var t=this._controller;t||((t=this._controller=new eS(e.getZr())).enable(this.seriesModel.get("roam")),t.on("pan",Object(g.bind)(this._onPan,this)),t.on("zoom",Object(g.bind)(this._onZoom,this)));var n=new Oe(0,0,e.getWidth(),e.getHeight());t.setPointerChecker(function(e,t,r){return n.contain(t,r)})},t.prototype._clearController=function(){var e=this._controller;e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if("animating"!==this._state&&(Math.abs(e.dx)>3||Math.abs(e.dy)>3)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},t.prototype._onZoom=function(e){var t=e.originX,n=e.originY;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;var o=new Oe(i.x,i.y,i.width,i.height),a=this.seriesModel.layoutInfo,s=[1,0,0,1,0,0];me(s,s,[-(t-=a.x),-(n-=a.y)]),be(s,s,[e.scale,e.scale]),me(s,s,[t,n]),o.applyTransform(s),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}})}},t.prototype._initEvents=function(e){var t=this;e.on("click",function(e){if("ready"===t._state){var n=t.seriesModel.get("nodeClick",!0);if(n){var r=t.findTarget(e.offsetX,e.offsetY);if(r){var i=r.node;if(i.getLayout().isLeafRoot)t._rootToNode(r);else if("zoomToNode"===n)t._zoomToNode(r);else if("link"===n){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&uh(a,s)}}}}},this)},t.prototype._renderBreadcrumb=function(e,t,n){var r=this;n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2))||(n={node:e.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new lk(this.group))).render(e,t,n.node,function(t){"animating"!==r._state&&($B(e.getViewRoot(),t)?r._rootToNode({node:t}):r._zoomToNode({node:t}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,t){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(e,t),a=i.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:r,offsetX:o[0],offsetY:o[1]}}},this),n},t.type="treemap",t}(xp),_k=g.each,wk=g.isObject,xk=-1,Ck=function(){function e(t){var n=t.mappingMethod,r=t.type,i=this.option=g.clone(t);this.type=r,this.mappingMethod=n,this._normalizeData=Lk[n];var o=e.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(Sk(i),function(e){var t=e.pieceList;e.hasSpecialVisual=!1,g.each(t,function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)})}(i)):"category"===n?i.categories?function(e){var t=e.categories,n=e.categoryMap={},r=e.visual;if(_k(t,function(e,t){n[e]=t}),!g.isArray(r)){var i=[];g.isObject(r)?_k(r,function(e,t){var r=n[t];i[null!=r?r:xk]=e}):i[xk]=r,r=Ik(e,i)}for(var o=t.length-1;o>=0;o--)null==r[o]&&(delete n[t[o]],t.pop())}(i):Sk(i,!0):(g.assert("linear"!==n||i.dataExtent),Sk(i))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return g.bind(this._normalizeData,this)},e.listVisualTypes=function(){return g.keys(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,n){g.isObject(e)?g.each(e,t,n):t.call(n,e)},e.mapVisual=function(t,n,r){var i,o=g.isArray(t)?[]:g.isObject(t)?{}:(i=!0,null);return e.eachVisual(t,function(e,t){var a=n.call(r,e,t);i?o=a:o[t]=a}),o},e.retrieveVisuals=function(t){var n,r={};return t&&_k(e.visualHandlers,function(e,i){t.hasOwnProperty(i)&&(r[i]=t[i],n=!0)}),n?r:null},e.prepareVisualTypes=function(e){if(g.isArray(e))e=e.slice();else{if(!wk(e))return[];var t=[];_k(e,function(e,n){t.push(n)}),e=t}return e.sort(function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1}),e},e.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},e.findPieceIndex=function(e,t,n){for(var r,i=1/0,o=0,a=t.length;o<a;o++){var s=t[o].value;if(null!=s){if(s===e||g.isString(s)&&s===e+"")return o;n&&h(s,o)}}for(o=0,a=t.length;o<a;o++){var l=t[o],c=l.interval,u=l.close;if(c){if(c[0]===-1/0){if(Pk(u[1],e,c[1]))return o}else if(c[1]===1/0){if(Pk(u[0],c[0],e))return o}else if(Pk(u[0],c[0],e)&&Pk(u[1],e,c[1]))return o;n&&h(c[0],o),n&&h(c[1],o)}}if(n)return e===1/0?t.length-1:e===-1/0?0:r;function h(t,n){var o=Math.abs(t-e);o<i&&(i=o,r=n)}},e.visualHandlers={color:{applyVisual:Tk("color"),getColorMapper:function(){var e=this.option;return g.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),Ek.call(this,e)}:function(t,n,r){var i=!!r;return!n&&(t=this._normalizeData(t)),r=Lt.fastLerp(t,e.parsedVisual,r),i?r:Lt.stringify(r,"rgba")},this)},_normalizedToVisual:{linear:function(e){return Lt.stringify(Lt.fastLerp(e,this.option.parsedVisual),"rgba")},category:Ek,piecewise:function(e,t){var n=Ok.call(this,t);return null==n&&(n=Lt.stringify(Lt.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:Mk}},colorHue:Bk(function(e,t){return Lt.modifyHSL(e,t)}),colorSaturation:Bk(function(e,t){return Lt.modifyHSL(e,null,t)}),colorLightness:Bk(function(e,t){return Lt.modifyHSL(e,null,null,t)}),colorAlpha:Bk(function(e,t){return Lt.modifyAlpha(e,t)}),decal:{applyVisual:Tk("decal"),_normalizedToVisual:{linear:null,category:Ek,piecewise:null,fixed:null}},opacity:{applyVisual:Tk("opacity"),_normalizedToVisual:Dk([0,1])},liftZ:{applyVisual:Tk("liftZ"),_normalizedToVisual:{linear:Mk,category:Mk,piecewise:Mk,fixed:Mk}},symbol:{applyVisual:function(e,t,n){n("symbol",this.mapValueToVisual(e))},_normalizedToVisual:{linear:kk,category:Ek,piecewise:function(e,t){var n=Ok.call(this,t);return null==n&&(n=kk.call(this,e)),n},fixed:Mk}},symbolSize:{applyVisual:Tk("symbolSize"),_normalizedToVisual:Dk([0,1])}},e}();function Sk(e,t){var n=e.visual,r=[];g.isObject(n)?_k(n,function(e){r.push(e)}):null!=n&&r.push(n);t||1!==r.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(r[1]=r[0]),Ik(e,r)}function Bk(e){return{applyVisual:function(t,n,r){var i=this.mapValueToVisual(t);r("color",e(n("color"),i))},_normalizedToVisual:Dk([0,1])}}function kk(e){var t=this.option.visual;return t[Math.round(fr(e,[0,1],[0,t.length-1],!0))]||{}}function Tk(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function Ek(e){var t=this.option.visual;return t[this.option.loop&&e!==xk?e%t.length:e]}function Mk(){return this.option.visual[0]}function Dk(e){return{linear:function(t){return fr(t,e,this.option.visual,!0)},category:Ek,piecewise:function(t,n){var r=Ok.call(this,n);return null==r&&(r=fr(t,e,this.option.visual,!0)),r},fixed:Mk}}function Ok(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=n[Ck.findPieceIndex(e,n)];if(r&&r.visual)return r.visual[this.type]}}function Ik(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=g.map(t,function(e){var t=Lt.parse(e);return t||[0,0,0,1]})),t}var Lk={linear:function(e){return fr(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=Ck.findPieceIndex(e,t,!0);if(null!=n)return fr(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?xk:t},fixed:g.noop};function Pk(e,t,n){return e?t<=n:t<n}var Fk=Ck,Rk="itemStyle",Nk=ei(),Hk={seriesType:"treemap",reset:function(e){var t=e.getData().tree.root;t.isRemoved()||function e(t,n,r,i){var o=t.getModel();var a=t.getLayout();var s=t.hostTree.data;if(!a||a.invisible||!a.isInView)return;var l=o.getModel(Rk);var c=function(e,t,n){var r=Object(g.extend)({},t),i=n.designatedVisualItemStyle;return Object(g.each)(["color","colorAlpha","colorSaturation"],function(n){i[n]=t[n];var o=e.get(n);i[n]=null,null!=o&&(r[n]=o)}),r}(l,n,i);var u=s.ensureUniqueItemVisual(t.dataIndex,"style");var h=l.get("borderColor");var d=l.get("borderColorSaturation");var f;null!=d&&(f=jk(c),h=function(e,t){return null!=t?Object(Lt.modifyHSL)(t,null,null,e):null}(d,f));u.stroke=h;var p=t.viewChildren;if(p&&p.length){var A=function(e,t,n,r,i,o){if(!o||!o.length)return;var a=Qk(t,"color")||null!=i.color&&"none"!==i.color&&(Qk(t,"colorAlpha")||Qk(t,"colorSaturation"));if(!a)return;var s=t.get("visualMin"),l=t.get("visualMax"),c=n.dataExtent.slice();null!=s&&s<c[0]&&(c[0]=s),null!=l&&l>c[1]&&(c[1]=l);var u=t.get("colorMappingBy"),h={type:a.name,dataExtent:c,visual:a.range};"color"!==h.type||"index"!==u&&"id"!==u?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new Fk(h);return Nk(d).drColorMappingBy=u,d}(0,o,a,0,c,p);Object(g.each)(p,function(t,n){if(t.depth>=r.length||t===r[t.depth]){var a=function(e,t,n,r,i,o){var a=Object(g.extend)({},t);if(i){var s=i.type,l="color"===s&&Nk(i).drColorMappingBy,c="index"===l?r:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));a[s]=i.mapValueToVisual(c)}return a}(o,c,t,n,A,i);e(t,a,r,i)}})}else f=jk(c),u.fill=f}(t,{},e.getViewRoot().getAncestors(),e)}};function jk(e){var t=Uk(e,"color");if(t){var n=Uk(e,"colorAlpha"),r=Uk(e,"colorSaturation");return r&&(t=Object(Lt.modifyHSL)(t,null,null,r)),n&&(t=Object(Lt.modifyAlpha)(t,n)),t}}function Uk(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function Qk(e,t){var n=e.get(t);return Object(g.isArray)(n)&&n.length?{name:t,range:n}:null}var zk=Math.max,Yk=Math.min,Vk=g.retrieve,Gk=g.each,Wk=["itemStyle","borderWidth"],Xk=["itemStyle","gapWidth"],Zk=["upperLabel","show"],$k=["upperLabel","height"],Kk={seriesType:"treemap",reset:function(e,t,n,r){var i=n.getWidth(),o=n.getHeight(),a=e.option,s=gh(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],c=pr(Vk(s.width,l[0]),i),u=pr(Vk(s.height,l[1]),o),h=r&&r.type,d=XB(r,["treemapZoomToNode","treemapRootToNode"],e),f="treemapRender"===h||"treemapMove"===h?r.rootRect:null,p=e.getViewRoot(),A=ZB(p);if("treemapMove"!==h){var v="treemapZoomToNode"===h?function(e,t,n,r,i){var o,a=(t||{}).node,s=[r,i];if(!a||a===n)return s;var l=r*i,c=l*e.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var u=0,h=o.children,d=0,f=h.length;d<f;d++)u+=h[d].getValue();var p=a.getValue();if(0===p)return s;c*=u/p;var A=o.getModel(),g=A.get(Wk),v=Math.max(g,eT(A));(c+=4*g*g+(3*g+v)*Math.pow(c,.5))>xr&&(c=xr),a=o}c<l&&(c=l);var m=Math.pow(c/l,.5);return[r*m,i*m]}(e,d,p,c,u):f?[f.width,f.height]:[c,u],m=a.sort;m&&"asc"!==m&&"desc"!==m&&(m="desc");var y={squareRatio:a.squareRatio,sort:m,leafDepth:a.leafDepth};p.hostTree.clearLayouts();var b={x:0,y:0,width:v[0],height:v[1],area:v[0]*v[1]};p.setLayout(b),function e(t,n,r,i){var o;var a;if(t.isRemoved())return;var s=t.getLayout();o=s.width;a=s.height;var l=t.getModel();var c=l.get(Wk);var u=l.get(Xk)/2;var h=eT(l);var d=Math.max(c,h);var f=c-u;var p=d-u;t.setLayout({borderWidth:c,upperHeight:d,upperLabelHeight:h},!0);o=zk(o-2*f,0);a=zk(a-f-p,0);var A=o*a;var v=function(e,t,n,r,i,o){var a=e.children||[],s=r.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=r.leafDepth&&r.leafDepth<=o;if(i&&!l)return e.viewChildren=[];!function(e,t){t&&e.sort(function(e,n){var r="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===r?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:r})}(a=g.filter(a,function(e){return!e.isRemoved()}),s);var c=function(e,t,n){for(var r=0,i=0,o=t.length;i<o;i++)r+=t[i].getValue();var a,s=e.get("visualDimension");t&&t.length?"value"===s&&n?(a=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],Gk(t,function(e){var t=e.getValue(s);t<a[0]&&(a[0]=t),t>a[1]&&(a[1]=t)})):a=[NaN,NaN];return{sum:r,dataExtent:a}}(t,a,s);if(0===c.sum)return e.viewChildren=[];if(c.sum=function(e,t,n,r,i){if(!r)return n;for(var o=e.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var c=i["asc"===r?a-l-1:l].getValue();c/n*t<o&&(s=l,n-=c)}return"asc"===r?i.splice(0,a-s):i.splice(s,a-s),n}(t,n,c.sum,s,a),0===c.sum)return e.viewChildren=[];for(var u=0,h=a.length;u<h;u++){var d=a[u].getValue()/c.sum*n;a[u].setLayout({area:d})}l&&(a.length&&e.setLayout({isLeafRoot:!0},!0),a.length=0);return e.viewChildren=a,e.setLayout({dataExtent:c.dataExtent},!0),a}(t,l,A,n,r,i);if(!v.length)return;var m={x:f,y:p,width:o,height:a};var y=Yk(o,a);var b=1/0;var _=[];_.area=0;for(var w=0,x=v.length;w<x;){var C=v[w];_.push(C),_.area+=C.getLayout().area;var S=Jk(_,y,n.squareRatio);S<=b?(w++,b=S):(_.area-=_.pop().getLayout().area,qk(_,y,m,u,!1),y=Yk(m.width,m.height),_.length=_.area=0,b=1/0)}_.length&&qk(_,y,m,u,!0);if(!r){var B=l.get("childrenVisibleMin");null!=B&&A<B&&(r=!0)}for(var w=0,x=v.length;w<x;w++)e(v[w],n,r,i+1)}(p,y,!1,0),b=p.getLayout(),Gk(A,function(e,t){var n=(A[t+1]||p).getValue();e.setLayout(g.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},b))})}var _=e.getData().tree.root;_.setLayout(function(e,t,n){if(t)return{x:t.x,y:t.y};var r={x:0,y:0};if(!n)return r;var i=n.node,o=i.getLayout();if(!o)return r;var a=[o.width/2,o.height/2],s=i;for(;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}(s,f,d),!0),e.setLayoutInfo(s),function e(t,n,r,i,o){var a=t.getLayout();var s=r[o];var l=s&&s===t;if(s&&!l||o===r.length&&t!==i)return;t.setLayout({isInView:!0,invisible:!l&&!n.intersect(a),isAboveViewRoot:l},!0);var c=new Oe(n.x-a.x,n.y-a.y,n.width,n.height);Gk(t.viewChildren||[],function(t){e(t,c,r,i,o+1)})}(_,new Oe(-s.x,-s.y,i,o),A,p,0)}};function Jk(e,t,n){for(var r=0,i=1/0,o=0,a=void 0,s=e.length;o<s;o++)(a=e[o].getLayout().area)&&(a<i&&(i=a),a>r&&(r=a));var l=e.area*e.area,c=t*t*n;return l?zk(c*r/l,l/(c*i)):1/0}function qk(e,t,n,r,i){var o=t===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],c=n[s[o]],u=t?e.area/t:0;(i||u>n[l[a]])&&(u=n[l[a]]);for(var h=0,d=e.length;h<d;h++){var f=e[h],p={},A=u?f.getLayout().area/u:0,g=p[l[a]]=zk(u-2*r,0),v=n[s[o]]+n[l[o]]-c,m=h===d-1||v<A?v:A,y=p[l[o]]=zk(m-2*r,0);p[s[a]]=n[s[a]]+Yk(r,g/2),p[s[o]]=c+Yk(r,y/2),c+=m,f.setLayout(p,!0)}n[s[a]]+=u,n[l[a]]-=u}function eT(e){return e.get(Zk)?e.get($k):0}function tT(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",function(e){var n=e.getCategoriesData(),r=e.getGraph().data,i=n.mapArray(n.getName);r.filterSelf(function(e){var n=r.getItemModel(e).getShallow("category");if(null!=n){Object(g.isNumber)(n)&&(n=i[n]);for(var o=0;o<t.length;o++)if(!t[o].isSelected(n))return!1}return!0})})}function nT(e){var t={};e.eachSeriesByType("graph",function(e){var n=e.getCategoriesData(),r=e.getData(),i={};n.each(function(r){var o=n.getName(r);i["ec-"+o]=r;var a=n.getItemModel(r),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=e.getColorFromPalette(o,t)),n.setItemVisual(r,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],c=0;c<l.length;c++){var u=a.getShallow(l[c],!0);null!=u&&n.setItemVisual(r,l[c],u)}}),n.count()&&r.each(function(e){var t=r.getItemModel(e).getShallow("category");if(null!=t){Object(g.isString)(t)&&(t=i["ec-"+t]);var o=n.getItemVisual(t,"style"),a=r.ensureUniqueItemVisual(e,"style");Object(g.extend)(a,o);for(var s=["symbol","symbolSize","symbolKeepAspect"],l=0;l<s.length;l++)r.setItemVisual(e,s[l],n.getItemVisual(t,s[l]))}})})}function rT(e){return e instanceof Array||(e=[e,e]),e}function iT(e){e.eachSeriesByType("graph",function(e){var t=e.getGraph(),n=e.getEdgeData(),r=rT(e.get("edgeSymbol")),i=rT(e.get("edgeSymbolSize"));n.setVisual("fromSymbol",r&&r[0]),n.setVisual("toSymbol",r&&r[1]),n.setVisual("fromSymbolSize",i&&i[0]),n.setVisual("toSymbolSize",i&&i[1]),n.setVisual("style",e.getModel("lineStyle").getLineStyle()),n.each(function(e){var r=n.getItemModel(e),i=t.getEdgeByIndex(e),o=rT(r.getShallow("symbol",!0)),a=rT(r.getShallow("symbolSize",!0)),s=r.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(e,"style");switch(Object(g.extend)(l,s),l.stroke){case"source":var c=i.node1.getVisual("style");l.stroke=c&&c.fill;break;case"target":c=i.node2.getVisual("style");l.stroke=c&&c.fill}o[0]&&i.setVisual("fromSymbol",o[0]),o[1]&&i.setVisual("toSymbol",o[1]),a[0]&&i.setVisual("fromSymbolSize",a[0]),a[1]&&i.setVisual("toSymbolSize",a[1])})})}var oT=function(e){return e.get("autoCurveness")||null},aT=function(e,t){var n=oT(e),r=20,i=[];if(g.isNumber(n))r=n;else if(g.isArray(n))return void(e.__curvenessList=n);t>r&&(r=t);var o=r%2?r+2:r+3;i=[];for(var a=0;a<o;a++)i.push((a%2?a+1:a)/10*(a%2?-1:1));e.__curvenessList=i},sT=function(e,t,n){var r=[e.id,e.dataIndex].join("."),i=[t.id,t.dataIndex].join(".");return[n.uid,r,i].join("--\x3e")},lT=function(e){var t=e.split("--\x3e");return[t[0],t[2],t[1]].join("--\x3e")},cT=function(e,t){var n=sT(e.node1,e.node2,t);return t.__edgeMap[n]},uT=function(e,t){return hT(sT(e.node1,e.node2,t),t)+hT(sT(e.node2,e.node1,t),t)},hT=function(e,t){var n=t.__edgeMap;return n[e]?n[e].length:0};function dT(e,t,n,r){var i=oT(t),o=g.isArray(i);if(!i)return null;var a=cT(e,t);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===n){s=l;break}var c=uT(e,t);aT(t,c),e.lineStyle=e.lineStyle||{};var u=sT(e.node1,e.node2,t),h=t.__curvenessList,d=o?0:c%2?0:1;if(a.isForward)return h[d+s];var f=lT(u),p=hT(f,t),A=h[s+p+d];return r?o?i&&0===i[0]?(p+d)%2?A:-A:((p%2?0:1)+d)%2?A:-A:(p+d)%2?A:-A:h[s+p+d]}function fT(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode(function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])}),pT(n,e)}}function pT(e,t){e.eachEdge(function(e,n){var r=g.retrieve3(e.getModel().get(["lineStyle","curveness"]),-dT(e,t,n,!0),0),i=y(e.node1.getLayout()),o=y(e.node2.getLayout()),a=[i,o];+r&&a.push([(i[0]+o[0])/2-(i[1]-o[1])*r,(i[1]+o[1])/2-(o[0]-i[0])*r]),e.setLayout(a)})}function AT(e,t){e.eachSeriesByType("graph",function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var r=e.getData(),i=[];Object(g.each)(n.dimensions,function(e){i=i.concat(r.mapDimensionsAll(e))});for(var o=0;o<r.count();o++){for(var a=[],s=!1,l=0;l<i.length;l++){var c=r.get(i[l],o);isNaN(c)||(s=!0),a.push(c)}s?r.setItemLayout(o,n.dataToPoint(a)):r.setItemLayout(o,[NaN,NaN])}pT(r.graph,e)}else t&&"none"!==t||fT(e)})}function gT(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,r=t.scaleX;return((t.getZoom()-1)*n+1)/r}function vT(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var mT=Math.PI,yT=[];function bT(e,t,n,r){var i=e.coordinateSystem;if(!i||"view"===i.type){var o=i.getBoundingRect(),a=e.getData(),s=a.graph,l=o.width/2+o.x,c=o.height/2+o.y,u=Math.min(o.width,o.height)/2,h=a.count();if(a.setLayout({cx:l,cy:c}),h){if(n){var d=i.pointToData(r),f=d[0],p=d[1],A=[f-l,p-c];O(A,A),D(A,A,u),n.setLayout([l+A[0],c+A[1]],!0),wT(n,e.get(["circular","rotateLabel"]),l,c)}_T[t](e,s,a,u,l,c,h),s.eachEdge(function(t,n){var r,i=g.retrieve3(t.getModel().get(["lineStyle","curveness"]),dT(t,e,n),0),o=y(t.node1.getLayout()),a=y(t.node2.getLayout()),s=(o[0]+a[0])/2,u=(o[1]+a[1])/2;+i&&(r=[l*(i*=3)+s*(1-i),c*i+u*(1-i)]),t.setLayout([o,a,r])})}}}var _T={value:function(e,t,n,r,i,o,a){var s=0,l=n.getSum("value"),c=2*Math.PI/(l||a);t.eachNode(function(e){var t=e.getValue("value"),n=c*(l?t:1)/2;s+=n,e.setLayout([r*Math.cos(s)+i,r*Math.sin(s)+o]),s+=n})},symbolSize:function(e,t,n,r,i,o,a){var s=0;yT.length=a;var l=gT(e);t.eachNode(function(e){var t=vT(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=l;var n=Math.asin(t/2/r);isNaN(n)&&(n=mT/2),yT[e.dataIndex]=n,s+=2*n});var c=(2*mT-s)/a/2,u=0;t.eachNode(function(e){var t=c+yT[e.dataIndex];u+=t,(!e.getLayout()||!e.getLayout().fixed)&&e.setLayout([r*Math.cos(u)+i,r*Math.sin(u)+o]),u+=t})}};function wT(e,t,n,r){var i=e.getGraphicEl();if(i){var o=e.getModel().get(["label","rotate"])||0,a=i.getSymbolPath();if(t){var s=e.getLayout(),l=Math.atan2(s[1]-r,s[0]-n);l<0&&(l=2*Math.PI+l);var c=s[0]<n;c&&(l-=Math.PI);var u=c?"left":"right";a.setTextConfig({rotation:-l,position:u,origin:"center"});var h=a.ensureState("emphasis");g.extend(h.textConfig||(h.textConfig={}),{position:u})}else a.setTextConfig({rotation:o*=Math.PI/180})}}function xT(e){e.eachSeriesByType("graph",function(e){"circular"===e.get("layout")&&bT(e,"symbolSize")})}var CT=w;function ST(e){e.eachSeriesByType("graph",function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},r=e.getGraph(),i=r.data,o=r.edgeData,a=e.getModel("force"),s=a.get("initLayout");e.preservedPoints?i.each(function(e){var t=i.getId(e);i.setItemLayout(e,n[t]||[NaN,NaN])}):s&&"none"!==s?"circular"===s&&bT(e,"value"):fT(e);var l=i.getDataExtent("value"),c=o.getDataExtent("value"),u=a.get("repulsion"),h=a.get("edgeLength"),d=g.isArray(u)?u:[u,u],f=g.isArray(h)?h:[h,h];f=[f[1],f[0]];var p=i.mapArray("value",function(e,t){var n=i.getItemLayout(t),r=fr(e,l,d);return isNaN(r)&&(r=(d[0]+d[1])/2),{w:r,rep:r,fixed:i.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),A=o.mapArray("value",function(t,n){var i=r.getEdgeByIndex(n),o=fr(t,c,f);isNaN(o)&&(o=(f[0]+f[1])/2);var a=i.getModel(),s=g.retrieve3(i.getModel().get(["lineStyle","curveness"]),-dT(i,e,n,!0),0);return{n1:p[i.node1.dataIndex],n2:p[i.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}}),_=t.getBoundingRect(),w=function(e,t,n){for(var r=e,i=t,o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],c=null==n.gravity?.1:n.gravity,u=0;u<r.length;u++){var h=r[u];h.p||(h.p=v(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=y(h.p),h.edges=null}var d,f,p=null==n.friction?.6:n.friction,A=p;return{warmUp:function(){A=.8*p},setFixed:function(e){r[e].fixed=!0},setUnfixed:function(e){r[e].fixed=!1},beforeStep:function(e){d=e},afterStep:function(e){f=e},step:function(e){d&&d(r,i);for(var t=[],n=r.length,o=0;o<i.length;o++){var a=i[o];if(!a.ignoreForceLayout){var s=a.n1;x(t,(g=a.n2).p,s.p);var u=C(t)-a.d,h=g.w/(s.w+g.w);isNaN(h)&&(h=0),O(t,t),!s.fixed&&CT(s.p,s.p,t,h*u*A),!g.fixed&&CT(g.p,g.p,t,-(1-h)*u*A)}}for(o=0;o<n;o++)(_=r[o]).fixed||(x(t,l,_.p),CT(_.p,_.p,t,c*A));for(o=0;o<n;o++){s=r[o];for(var p=o+1;p<n;p++){var g;x(t,(g=r[p]).p,s.p),0===(u=C(t))&&(b(t,Math.random()-.5,Math.random()-.5),u=1);var v=(s.rep+g.rep)/u/u;!s.fixed&&CT(s.pp,s.pp,t,v),!g.fixed&&CT(g.pp,g.pp,t,-v)}}var y=[];for(o=0;o<n;o++){var _;(_=r[o]).fixed||(x(y,_.p,_.pp),CT(_.p,_.p,y,A),m(_.pp,_.p))}var w=(A*=.992)<.01;f&&f(r,i,w),e&&e(w)}}}(p,A,{rect:_,gravity:a.get("gravity"),friction:a.get("friction")});w.beforeStep(function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].fixed&&m(e[n].p,r.getNodeByIndex(n).getLayout())}),w.afterStep(function(e,t,o){for(var a=0,s=e.length;a<s;a++)e[a].fixed||r.getNodeByIndex(a).setLayout(e[a].p),n[i.getId(a)]=e[a].p;for(a=0,s=t.length;a<s;a++){var l=t[a],c=r.getEdgeByIndex(a),u=l.n1.p,h=l.n2.p,d=c.getLayout();(d=d?d.slice():[])[0]=d[0]||[],d[1]=d[1]||[],m(d[0],u),m(d[1],h),+l.curveness&&(d[2]=[(u[0]+h[0])/2-(u[1]-h[1])*l.curveness,(u[1]+h[1])/2-(h[0]-u[0])*l.curveness]),c.setLayout(d)}}),e.forceLayout=w,e.preservedPoints=n,w.step()}else e.forceLayout=null})}function BT(e,t){var n=[];return e.eachSeriesByType("graph",function(e){var r=e.get("coordinateSystem");if(!r||"view"===r){var i=e.getData(),o=[],a=[];ro(i.mapArray(function(e){var t=i.getItemModel(e);return[+t.get("x"),+t.get("y")]}),o,a),a[0]-o[0]==0&&(a[0]+=1,o[0]-=1),a[1]-o[1]==0&&(a[1]+=1,o[1]-=1);var s=(a[0]-o[0])/(a[1]-o[1]),l=function(e,t,n){return gh(Object(g.extend)(e.getBoxLayoutParams(),{aspect:n}),{width:t.getWidth(),height:t.getHeight()})}(e,t,s);isNaN(s)&&(o=[l.x,l.y],a=[l.x+l.width,l.y+l.height]);var c=a[0]-o[0],u=a[1]-o[1],h=l.width,d=l.height,f=e.coordinateSystem=new oB;f.zoomLimit=e.get("scaleLimit"),f.setBoundingRect(o[0],o[1],c,u),f.setViewRect(l.x,l.y,h,d),f.setCenter(e.get("center"),t),f.setZoom(e.get("zoom")),n.push(f)}}),n}var kT=Ol.prototype,TT=Rl.prototype,ET=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}}();!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}p(t,e)}(ET);function MT(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var DT=function(e){function t(t){var n=e.call(this,t)||this;return n.type="ec-line",n}return p(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new ET},t.prototype.buildPath=function(e,t){MT(t)?kT.buildPath.call(this,e,t):TT.buildPath.call(this,e,t)},t.prototype.pointAt=function(e){return MT(this.shape)?kT.pointAt.call(this,e):TT.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var t=this.shape,n=MT(t)?[t.x2-t.x1,t.y2-t.y1]:TT.tangentAt.call(this,e);return O(n,n)},t}($o),OT=["fromSymbol","toSymbol"];function IT(e){return"_"+e+"Type"}function LT(e,t,n){var r=t.getItemVisual(n,e);if(r&&"none"!==r){var i=t.getItemVisual(n,e+"Size"),o=t.getItemVisual(n,e+"Rotate"),a=t.getItemVisual(n,e+"Offset"),s=t.getItemVisual(n,e+"KeepAspect"),l=MA(i),c=DA(a||0,l),u=EA(r,-l[0]/2+c[0],-l[1]/2+c[1],l[0],l[1],null,s);return u.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,u.name=e,u}}function PT(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}var FT=function(e){function t(t,n,r){var i=e.call(this)||this;return i._createLine(t,n,r),i}return p(t,e),t.prototype._createLine=function(e,t,n){var r=e.hostModel,i=function(e){var t=new DT({name:"line",subPixelOptimize:!0});return PT(t.shape,e),t}(e.getItemLayout(t));i.shape.percent=0,nc(i,{shape:{percent:1}},r,t),this.add(i),Object(g.each)(OT,function(n){var r=LT(n,e,t);this.add(r),this[IT(n)]=e.getItemVisual(t,n)},this),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var r=e.hostModel,i=this.childOfName("line"),o=e.getItemLayout(t),a={shape:{}};PT(a.shape,o),tc(i,a,r,t),Object(g.each)(OT,function(n){var r=e.getItemVisual(t,n),i=IT(n);if(this[i]!==r){this.remove(this.childOfName(n));var o=LT(n,e,t);this.add(o)}this[i]=r},this),this._updateCommonStl(e,t,n)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,t,n){var r=e.hostModel,i=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,c=n&&n.emphasisDisabled,u=n&&n.focus,h=n&&n.blurScope;if(!n||e.hasItemOption){var d=e.getItemModel(t),f=d.getModel("emphasis");o=f.getModel("lineStyle").getLineStyle(),a=d.getModel(["blur","lineStyle"]).getLineStyle(),s=d.getModel(["select","lineStyle"]).getLineStyle(),c=f.get("disabled"),u=f.get("focus"),h=f.get("blurScope"),l=Qc(d)}var p=e.getItemVisual(t,"style"),A=p.stroke;i.useStyle(p),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,i.ensureState("blur").style=a,i.ensureState("select").style=s,Object(g.each)(OT,function(e){var t=this.childOfName(e);if(t){t.setColor(A),t.style.opacity=p.opacity;for(var n=0;n<Ra.length;n++){var r=Ra[n],o=i.getState(r);if(o){var a=o.style||{},s=t.ensureState(r),l=s.style||(s.style={});null!=a.stroke&&(l[t.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}t.markRedraw()}},this);var v=r.getRawValue(t);Uc(this,l,{labelDataIndex:t,labelFetcher:{getFormattedLabel:function(t,n){return r.getFormattedLabel(t,n,e.dataType)}},inheritColor:A||"#000",defaultOpacity:p.opacity,defaultText:(null==v?e.getName(t):isFinite(v)?Ar(v):v)+""});var m=this.getTextContent();if(m){var y=l.normal;m.__align=m.style.align,m.__verticalAlign=m.style.verticalAlign,m.__position=y.get("position")||"middle";var b=y.get("distance");Object(g.isArray)(b)||(b=[b,b]),m.__labelDistance=b}this.setTextConfig({position:null,local:!0,inside:!1}),ws(this,u,h,c)},t.prototype.highlight=function(){cs(this)},t.prototype.downplay=function(){us(this)},t.prototype.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},t.prototype.setLinePoints=function(e){var t=this.childOfName("line");PT(t.shape,e),t.dirty()},t.prototype.beforeUpdate=function(){var e=this.childOfName("fromSymbol"),t=this.childOfName("toSymbol"),n=this.getTextContent();if(e||t||n&&!n.ignore){for(var r=1,i=this.parent;i;)i.scaleX&&(r/=i.scaleX),i=i.parent;var o=this.childOfName("line");if(this.__dirty||o.__dirty){var a=o.shape.percent,s=o.pointAt(0),l=o.pointAt(a),c=x([],l,s);if(O(c,c),e&&(e.setPosition(s),w(e,0),e.scaleX=e.scaleY=r*a,e.markRedraw()),t&&(t.setPosition(l),w(t,1),t.scaleX=t.scaleY=r*a,t.markRedraw()),n&&!n.ignore){n.x=n.y=0,n.originX=n.originY=0;var u=void 0,h=void 0,d=n.__labelDistance,f=d[0]*r,p=d[1]*r,A=a/2,g=o.tangentAt(A),v=[g[1],-g[0]],m=o.pointAt(A);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]);var y=g[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var b=-Math.atan2(g[1],g[0]);l[0]<s[0]&&(b=Math.PI+b),n.rotation=b}var _=void 0;switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":_=-p,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":_=p,h="top";break;default:_=0,h="middle"}switch(n.__position){case"end":n.x=c[0]*f+l[0],n.y=c[1]*p+l[1],u=c[0]>.8?"left":c[0]<-.8?"right":"center",h=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":n.x=-c[0]*f+s[0],n.y=-c[1]*p+s[1],u=c[0]>.8?"right":c[0]<-.8?"left":"center",h=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=f*y+s[0],n.y=s[1]+_,u=g[0]<0?"right":"left",n.originX=-f*y,n.originY=-_;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=m[0],n.y=m[1]+_,u="center",n.originY=-_;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-f*y+l[0],n.y=l[1]+_,u=g[0]>=0?"right":"left",n.originX=f*y,n.originY=-_}n.scaleX=n.scaleY=r,n.setStyle({verticalAlign:n.__verticalAlign||h,align:n.__align||u})}}}function w(e,t){var n=e.__specifiedRotation;if(null==n){var r=o.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(r[1],r[0]))}else e.attr("rotation",n)}},t}(tr);function RT(e){var t=e.hostModel,n=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:Qc(t)}}function NT(e){return isNaN(e[0])||isNaN(e[1])}function HT(e){return e&&!NT(e[0])&&!NT(e[1])}var jT=function(){function e(e){this.group=new tr,this._LineCtor=e||FT}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var n=this.group,r=this._lineData;this._lineData=e,r||n.removeAll();var i=RT(e);e.diff(r).add(function(n){t._doAdd(e,n,i)}).update(function(n,o){t._doUpdate(r,e,o,n,i)}).remove(function(e){n.remove(r.getItemGraphicEl(e))}).execute()},e.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl(function(t,n){t.updateLayout(e,n)},this)},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=RT(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function n(e){e.isGroup||function(e){return e.animators&&e.animators.length>0}(e)||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=e.start;r<e.end;r++){if(HT(t.getItemLayout(r))){var i=new this._LineCtor(t,r,this._seriesScope);i.traverse(n),this.group.add(i),t.setItemGraphicEl(r,i),this._progressiveEls.push(i)}}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(e){Rc(this._progressiveEls||this.group,e)},e.prototype._doAdd=function(e,t,n){if(HT(e.getItemLayout(t))){var r=new this._LineCtor(e,t,n);e.setItemGraphicEl(t,r),this.group.add(r)}},e.prototype._doUpdate=function(e,t,n,r,i){var o=e.getItemGraphicEl(n);HT(t.getItemLayout(r))?(o?o.updateData(t,r,i):o=new this._LineCtor(t,r,i),t.setItemGraphicEl(r,o),this.group.add(o)):this.group.remove(o)},e}(),UT=[],QT=[],zT=[],YT=St,VT=F,GT=Math.abs;function WT(e,t,n){for(var r,i=e[0],o=e[1],a=e[2],s=1/0,l=n*n,c=.1,u=.1;u<=.9;u+=.1){UT[0]=YT(i[0],o[0],a[0],u),UT[1]=YT(i[1],o[1],a[1],u),(f=GT(VT(UT,t)-l))<s&&(s=f,r=u)}for(var h=0;h<32;h++){var d=r+c;QT[0]=YT(i[0],o[0],a[0],r),QT[1]=YT(i[1],o[1],a[1],r),zT[0]=YT(i[0],o[0],a[0],d),zT[1]=YT(i[1],o[1],a[1],d);var f=VT(QT,t)-l;if(GT(f)<.01)break;var p=VT(zT,t)-l;c/=2,f<0?p>=0?r+=c:r-=c:p>=0?r-=c:r+=c}return r}function XT(e,t){var n=[],r=Tt,i=[[],[],[]],o=[[],[]],a=[];t/=2,e.eachEdge(function(e,s){var l=e.getLayout(),c=e.getVisual("fromSymbol"),u=e.getVisual("toSymbol");l.__original||(l.__original=[y(l[0]),y(l[1])],l[2]&&l.__original.push(y(l[2])));var h=l.__original;if(null!=l[2]){if(m(i[0],h[0]),m(i[1],h[2]),m(i[2],h[1]),c&&"none"!==c){var d=vT(e.node1),f=WT(i,h[0],d*t);r(i[0][0],i[1][0],i[2][0],f,n),i[0][0]=n[3],i[1][0]=n[4],r(i[0][1],i[1][1],i[2][1],f,n),i[0][1]=n[3],i[1][1]=n[4]}if(u&&"none"!==u){d=vT(e.node2),f=WT(i,h[1],d*t);r(i[0][0],i[1][0],i[2][0],f,n),i[1][0]=n[1],i[2][0]=n[2],r(i[0][1],i[1][1],i[2][1],f,n),i[1][1]=n[1],i[2][1]=n[2]}m(l[0],i[0]),m(l[1],i[2]),m(l[2],i[1])}else{if(m(o[0],h[0]),m(o[1],h[1]),x(a,o[1],o[0]),O(a,a),c&&"none"!==c){d=vT(e.node1);w(o[0],o[0],a,d*t)}if(u&&"none"!==u){d=vT(e.node2);w(o[1],o[1],a,-d*t)}m(l[0],o[0]),m(l[1],o[1])}})}function ZT(e){return"view"===e.type}var $T=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(e,t){var n=new pw,r=new jT,i=this.group;this._controller=new eS(t.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},t.prototype.render=function(e,t,n){var r=this,i=e.coordinateSystem;this._model=e;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(ZT(i)){var l={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?s.attr(l):tc(s,l,e)}XT(e.getGraph(),gT(e));var c=e.getData();o.updateData(c);var u=e.getEdgeData();a.updateData(u),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var h=e.forceLayout,d=e.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,d);var f=e.get("layout");c.graph.eachNode(function(t){var n=t.dataIndex,i=t.getGraphicEl(),o=t.getModel();if(i){i.off("drag").off("dragend");var a=o.get("draggable");a&&i.on("drag",function(o){switch(f){case"force":h.warmUp(),!r._layouting&&r._startForceLayoutIteration(h,d),h.setFixed(n),c.setItemLayout(n,[i.x,i.y]);break;case"circular":c.setItemLayout(n,[i.x,i.y]),t.setLayout({fixed:!0},!0),bT(e,"symbolSize",t,[o.offsetX,o.offsetY]),r.updateLayout(e);break;case"none":default:c.setItemLayout(n,[i.x,i.y]),pT(e.getGraph(),e),r.updateLayout(e)}}).on("dragend",function(){h&&h.setUnfixed(n)}),i.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(Ta(i).focus=t.getAdjacentDataIndices())}}),c.graph.eachEdge(function(e){var t=e.getGraphicEl(),n=e.getModel().get(["emphasis","focus"]);t&&"adjacency"===n&&(Ta(t).focus={edge:[e.dataIndex],node:[e.node1.dataIndex,e.node2.dataIndex]})});var p="circular"===e.get("layout")&&e.get(["circular","rotateLabel"]),A=c.getLayout("cx"),g=c.getLayout("cy");c.graph.eachNode(function(e){wT(e,p,A,g)}),this._firstRender=!1},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,t){var n=this;!function r(){e.step(function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(r,16):r())})}()},t.prototype._updateController=function(e,t,n){var r=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker(function(t,r,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(r,i)&&!oS(t,n,e)}),ZT(e.coordinateSystem)?(i.enable(e.get("roam")),o.zoomLimit=e.get("scaleLimit"),o.zoom=e.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",function(t){tS(o,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})}).on("zoom",function(t){nS(o,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),r._updateNodeAndLinkScale(),XT(e.getGraph(),gT(e)),r._lineDraw.updateLayout(),n.updateLabelLayout()})):i.disable()},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,t=e.getData(),n=gT(e);t.eachItemGraphicEl(function(e,t){e&&e.setSymbolScale(n)})},t.prototype.updateLayout=function(e){XT(e.getGraph(),gT(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(xp);function KT(e){return"_EC_"+e}var JT=function(){function e(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[KT(e)]){var r=new qT(e,t);return r.hostGraph=this,this.nodes.push(r),n[KT(e)]=r,r}},e.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},e.prototype.getNodeById=function(e){return this._nodesMap[KT(e)]},e.prototype.addEdge=function(e,t,n){var r=this._nodesMap,i=this._edgesMap;if(g.isNumber(e)&&(e=this.nodes[e]),g.isNumber(t)&&(t=this.nodes[t]),e instanceof qT||(e=r[KT(e)]),t instanceof qT||(t=r[KT(t)]),e&&t){var o=e.id+"-"+t.id,a=new eE(e,t,n);return a.hostGraph=this,this._directed&&(e.outEdges.push(a),t.inEdges.push(a)),e.edges.push(a),e!==t&&t.edges.push(a),this.edges.push(a),i[o]=a,a}},e.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},e.prototype.getEdge=function(e,t){e instanceof qT&&(e=e.id),t instanceof qT&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},e.prototype.eachNode=function(e,t){for(var n=this.nodes,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&e.call(t,n[i],i)},e.prototype.eachEdge=function(e,t){for(var n=this.edges,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&e.call(t,n[i],i)},e.prototype.breadthFirstTraverse=function(e,t,n,r){if(t instanceof qT||(t=this._nodesMap[KT(t)]),t){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(r,t,null))for(var a=[t];a.length;){var s=a.shift(),l=s[i];for(o=0;o<l.length;o++){var c=l[o],u=c.node1===s?c.node2:c.node1;if(!u.__visited){if(e.call(r,u,s))return;a.push(u),u.__visited=!0}}}}},e.prototype.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,r=this.edges,i=0,o=n.length;i<o;i++)n[i].dataIndex=-1;for(i=0,o=e.count();i<o;i++)n[e.getRawIndex(i)].dataIndex=i;t.filterSelf(function(e){var n=r[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0});for(i=0,o=r.length;i<o;i++)r[i].dataIndex=-1;for(i=0,o=t.count();i<o;i++)r[t.getRawIndex(i)].dataIndex=i},e.prototype.clone=function(){for(var t=new e(this._directed),n=this.nodes,r=this.edges,i=0;i<n.length;i++)t.addNode(n[i].id,n[i].dataIndex);for(i=0;i<r.length;i++){var o=r[i];t.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return t},e}(),qT=function(){function e(e,t){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==e?"":e,this.dataIndex=null==t?-1:t}return e.prototype.degree=function(){return this.edges.length},e.prototype.inDegree=function(){return this.inEdges.length},e.prototype.outDegree=function(){return this.outEdges.length},e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(e)},e.prototype.getAdjacentDataIndices=function(){for(var e={edge:[],node:[]},t=0;t<this.edges.length;t++){var n=this.edges[t];n.dataIndex<0||(e.edge.push(n.dataIndex),e.node.push(n.node1.dataIndex,n.node2.dataIndex))}return e},e}(),eE=function(){function e(e,t,n){this.dataIndex=-1,this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}return e.prototype.getModel=function(e){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(e)},e.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},e}();function tE(e,t){return{getValue:function(n){var r=this[e][t];return r.getStore().get(r.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,r){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}g.mixin(qT,tE("hostGraph","data")),g.mixin(eE,tE("hostGraph","edgeData"));var nE=JT;function rE(e,t,n,r,i){for(var o=new nE(r),a=0;a<e.length;a++)o.addNode(g.retrieve(e[a].id,e[a].name,a),a);var s=[],l=[],c=0;for(a=0;a<t.length;a++){var u=t[a],h=u.source,d=u.target;o.addEdge(h,d,c)&&(l.push(u),s.push(g.retrieve($r(u.id,null),h+" > "+d)),c++)}var f,p=n.get("coordinateSystem");if("cartesian2d"===p||"polar"===p)f=pm(e,n);else{var A=sd.get(p),v=A&&A.dimensions||[];g.indexOf(v,"value")<0&&v.concat(["value"]);var m=am(e,{coordDimensions:v,encodeDefine:n.getEncode()}).dimensions;(f=new im(m,n)).initData(e)}var y=new im(["value"],n);return y.initData(l,s),i&&i(f,y),VB({mainData:f,struct:o,structAttr:"graph",datas:{node:f,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var iE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return p(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments);var n=this;function r(){return n._categoriesData}this.legendVisualProvider=new Dx(r,r),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(t){e.prototype.mergeDefaultAndTheme.apply(this,arguments),zr(t,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,t){var n,r=e.edges||e.links||[],i=e.data||e.nodes||[],o=this;if(i&&r){oT(n=this)&&(n.__curvenessList=[],n.__edgeMap={},aT(n));var a=rE(i,r,this,!0,function(e,t){e.wrapMethod("getItemModel",function(e){var t=o._categoriesModels,n=e.getShallow("category"),r=t[n];return r&&(r.parentModel=e.parentModel,e.parentModel=r),e});var n=du.prototype.getModel;function r(e,t){var r=n.call(this,e,t);return r.resolveParentPath=i,r}function i(e){if(e&&("label"===e[0]||"label"===e[1])){var t=e.slice();return"label"===e[0]?t[0]="edgeLabel":"label"===e[1]&&(t[1]="edgeLabel"),t}return e}t.wrapMethod("getItemModel",function(e){return e.resolveParentPath=i,e.getModel=r,e})});return g.each(a.edges,function(e){!function(e,t,n,r){if(oT(n)){var i=sT(e,t,n),o=n.__edgeMap,a=o[lT(i)];o[i]&&!a?o[i].isForward=!0:a&&o[i]&&(a.isForward=!0,o[i].isForward=!1),o[i]=o[i]||[],o[i].push(r)}}(e.node1,e.node2,this,e.dataIndex)},this),a.data}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(e,t,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(e,n),o=r.graph.getEdgeByIndex(e),a=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Qf("nameValue",{name:l.join(" > "),value:i.value,noValue:null==i.value})}return qf({series:this,dataIndex:e,multipleSeries:t})},t.prototype._updateCategoriesData=function(){var e=g.map(this.option.categories||[],function(e){return null!=e.value?e:g.extend({value:0},e)}),t=new im(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray(function(e){return t.getItemModel(e)})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(hp),oE={type:"graphRoam",event:"graphRoam",update:"none"};var aE=function(){return function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}}(),sE=function(e){function t(t){var n=e.call(this,t)||this;return n.type="pointer",n}return p(t,e),t.prototype.getDefaultShape=function(){return new aE},t.prototype.buildPath=function(e,t){var n=Math.cos,r=Math.sin,i=t.r,o=t.width,a=t.angle,s=t.x-n(a)*o*(o>=i/3?1:2),l=t.y-r(a)*o*(o>=i/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(a)*o,t.y+r(a)*o),e.lineTo(t.x+n(t.angle)*i,t.y+r(t.angle)*i),e.lineTo(t.x-n(a)*o,t.y-r(a)*o),e.lineTo(s,l)},t}($o);function lE(e,t){var n=null==e?"":e+"";return t&&(Object(g.isString)(t)?n=t.replace("{value}",n):Object(g.isFunction)(t)&&(n=t(e))),n}var cE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){this.group.removeAll();var r=e.get(["axisLine","lineStyle","color"]),i=function(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i);return{cx:pr(n[0],t.getWidth()),cy:pr(n[1],t.getHeight()),r:pr(e.get("radius"),o/2)}}(e,n);this._renderMain(e,t,n,r,i),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,n,r,i){var o=this.group,a=e.get("clockwise"),s=-e.get("startAngle")/180*Math.PI,l=-e.get("endAngle")/180*Math.PI,c=e.getModel("axisLine"),u=c.get("roundCap")?Xw:ml,h=c.get("show"),d=c.getModel("lineStyle"),f=d.get("width"),p=[s,l];To(p,!a);for(var A=(l=p[1])-(s=p[0]),v=s,m=[],y=0;h&&y<r.length;y++){var b=new u({shape:{startAngle:v,endAngle:l=s+A*Math.min(Math.max(r[y][0],0),1),cx:i.cx,cy:i.cy,clockwise:a,r0:i.r-f,r:i.r},silent:!0});b.setStyle({fill:r[y][1]}),b.setStyle(d.getLineStyle(["color","width"])),m.push(b),v=l}m.reverse(),Object(g.each)(m,function(e){return o.add(e)});var _=function(e){if(e<=0)return r[0][1];var t;for(t=0;t<r.length;t++)if(r[t][0]>=e&&(0===t?0:r[t-1][0])<e)return r[t][1];return r[t-1][1]};this._renderTicks(e,t,n,_,i,s,l,a,f),this._renderTitleAndDetail(e,t,n,_,i),this._renderAnchor(e,i),this._renderPointer(e,t,n,_,i,s,l,a,f)},t.prototype._renderTicks=function(e,t,n,r,i,o,a,s,l){for(var c,u,h=this.group,d=i.cx,f=i.cy,p=i.r,A=+e.get("min"),v=+e.get("max"),m=e.getModel("splitLine"),y=e.getModel("axisTick"),b=e.getModel("axisLabel"),_=e.get("splitNumber"),w=y.get("splitNumber"),x=pr(m.get("length"),p),C=pr(y.get("length"),p),S=o,B=(a-o)/_,k=B/w,T=m.getModel("lineStyle").getLineStyle(),E=y.getModel("lineStyle").getLineStyle(),M=m.get("distance"),D=0;D<=_;D++){if(c=Math.cos(S),u=Math.sin(S),m.get("show")){var O=new Ol({shape:{x1:c*(p-(I=M?M+l:l))+d,y1:u*(p-I)+f,x2:c*(p-x-I)+d,y2:u*(p-x-I)+f},style:T,silent:!0});"auto"===T.stroke&&O.setStyle({stroke:r(D/_)}),h.add(O)}if(b.get("show")){var I=b.get("distance")+M,L=lE(Ar(D/_*(v-A)+A),b.get("formatter")),P=r(D/_),F=c*(p-x-I)+d,R=u*(p-x-I)+f,N=b.get("rotate"),H=0;"radial"===N?(H=-S+2*Math.PI)>Math.PI/2&&(H+=Math.PI):"tangential"===N?H=-S-Math.PI/2:Object(g.isNumber)(N)&&(H=N*Math.PI/180),0===H?h.add(new ka({style:zc(b,{text:L,x:F,y:R,verticalAlign:u<-.8?"top":u>.8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:P}),silent:!0})):h.add(new ka({style:zc(b,{text:L,x:F,y:R,verticalAlign:"middle",align:"center"},{inheritColor:P}),silent:!0,originX:F,originY:R,rotation:H}))}if(y.get("show")&&D!==_){I=(I=y.get("distance"))?I+l:l;for(var j=0;j<=w;j++){c=Math.cos(S),u=Math.sin(S);var U=new Ol({shape:{x1:c*(p-I)+d,y1:u*(p-I)+f,x2:c*(p-C-I)+d,y2:u*(p-C-I)+f},silent:!0,style:E});"auto"===E.stroke&&U.setStyle({stroke:r((D+j/w)/_)}),h.add(U),S+=k}S-=k}else S+=B}},t.prototype._renderPointer=function(e,t,n,r,i,o,a,s,l){var c=this.group,u=this._data,h=this._progressEls,d=[],f=e.get(["pointer","show"]),p=e.getModel("progress"),A=p.get("show"),v=e.getData(),m=v.mapDimension("value"),y=+e.get("min"),b=+e.get("max"),_=[y,b],w=[o,a];function x(t,n){var r,o=v.getItemModel(t).getModel("pointer"),a=pr(o.get("width"),i.r),s=pr(o.get("length"),i.r),l=e.get(["pointer","icon"]),c=o.get("offsetCenter"),u=pr(c[0],i.r),h=pr(c[1],i.r),d=o.get("keepAspect");return(r=l?EA(l,u-a/2,h-s,a,s,null,d):new sE({shape:{angle:-Math.PI/2,width:a,r:s,x:u,y:h}})).rotation=-(n+Math.PI/2),r.x=i.cx,r.y=i.cy,r}function C(e,t){var n=p.get("roundCap")?Xw:ml,r=p.get("overlap"),a=r?p.get("width"):l/v.count(),c=r?i.r-a:i.r-(e+1)*a,u=r?i.r:i.r-e*a,h=new n({shape:{startAngle:o,endAngle:t,cx:i.cx,cy:i.cy,clockwise:s,r0:c,r:u}});return r&&(h.z2=b-v.get(m,e)%b),h}(A||f)&&(v.diff(u).add(function(t){var n=v.get(m,t);if(f){var r=x(t,o);nc(r,{rotation:-((isNaN(+n)?w[0]:fr(n,_,w,!0))+Math.PI/2)},e),c.add(r),v.setItemGraphicEl(t,r)}if(A){var i=C(t,o),a=p.get("clip");nc(i,{shape:{endAngle:fr(n,_,w,a)}},e),c.add(i),Ea(e.seriesIndex,v.dataType,t,i),d[t]=i}}).update(function(t,n){var r=v.get(m,t);if(f){var i=u.getItemGraphicEl(n),a=i?i.rotation:o,s=x(t,a);s.rotation=a,tc(s,{rotation:-((isNaN(+r)?w[0]:fr(r,_,w,!0))+Math.PI/2)},e),c.add(s),v.setItemGraphicEl(t,s)}if(A){var l=h[n],g=C(t,l?l.shape.endAngle:o),y=p.get("clip");tc(g,{shape:{endAngle:fr(r,_,w,y)}},e),c.add(g),Ea(e.seriesIndex,v.dataType,t,g),d[t]=g}}).execute(),v.each(function(e){var t=v.getItemModel(e),n=t.getModel("emphasis"),i=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(f){var s=v.getItemGraphicEl(e),l=v.getItemVisual(e,"style"),c=l.fill;if(s instanceof ra){var u=s.style;s.useStyle(Object(g.extend)({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(c);s.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",r(fr(v.get(m,e),_,[0,1],!0))),s.z2EmphasisLift=0,Bs(s,t),ws(s,i,o,a)}if(A){var h=d[e];h.useStyle(v.getItemVisual(e,"style")),h.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,Bs(h,t),ws(h,i,o,a)}}),this._progressEls=d)},t.prototype._renderAnchor=function(e,t){var n=e.getModel("anchor");if(n.get("show")){var r=n.get("size"),i=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=EA(i,t.cx-r/2+pr(o[0],t.r),t.cy-r/2+pr(o[1],t.r),r,r,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},t.prototype._renderTitleAndDetail=function(e,t,n,r,i){var o=this,a=e.getData(),s=a.mapDimension("value"),l=+e.get("min"),c=+e.get("max"),u=new tr,h=[],d=[],f=e.isAnimationEnabled(),p=e.get(["pointer","showAbove"]);a.diff(this._data).add(function(e){h[e]=new ka({silent:!0}),d[e]=new ka({silent:!0})}).update(function(e,t){h[e]=o._titleEls[t],d[e]=o._detailEls[t]}).execute(),a.each(function(t){var n=a.getItemModel(t),o=a.get(s,t),A=new tr,g=r(fr(o,[l,c],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),y=i.cx+pr(m[0],i.r),b=i.cy+pr(m[1],i.r);(T=h[t]).attr({z2:p?0:2,style:zc(v,{x:y,y:b,text:a.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:g})}),A.add(T)}var _=n.getModel("detail");if(_.get("show")){var w=_.get("offsetCenter"),x=i.cx+pr(w[0],i.r),C=i.cy+pr(w[1],i.r),S=pr(_.get("width"),i.r),B=pr(_.get("height"),i.r),k=e.get(["progress","show"])?a.getItemVisual(t,"style").fill:g,T=d[t],E=_.get("formatter");T.attr({z2:p?0:2,style:zc(_,{x:x,y:C,text:lE(o,E),width:isNaN(S)?null:S,height:isNaN(B)?null:B,align:"center",verticalAlign:"middle"},{inheritColor:k})}),Kc(T,{normal:_},o,function(e){return lE(e,E)}),f&&Jc(T,t,a,e,{getFormattedLabel:function(e,t,n,r,i,a){return lE(a?a.interpolatedValue:o,E)}}),A.add(T)}u.add(A)}),this.group.add(u),this._titleEls=h,this._detailEls=d},t.type="gauge",t}(xp),uE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return p(t,e),t.prototype.getInitialData=function(e,t){return Mx(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(hp);var hE=["itemStyle","opacity"],dE=function(e){function t(t,n){var r=e.call(this)||this,i=r,o=new Tl,a=new ka;return i.setTextContent(a),r.setTextGuideLine(o),r.updateData(t,n,!0),r}return p(t,e),t.prototype.updateData=function(e,t,n){var r=e.hostModel,i=e.getItemModel(t),o=e.getItemLayout(t),a=i.getModel("emphasis"),s=i.get(hE);s=null==s?1:s,n||sc(this),this.useStyle(e.getItemVisual(t,"style")),this.style.lineJoin="round",n?(this.setShape({points:o.points}),this.style.opacity=0,nc(this,{style:{opacity:s}},r,t)):tc(this,{style:{opacity:s},shape:{points:o.points}},r,t),Bs(this,i),this._updateLabel(e,t),ws(this,a.get("focus"),a.get("blurScope"),a.get("disabled"))},t.prototype._updateLabel=function(e,t){var n=this.getTextGuideLine(),r=this.getTextContent(),i=e.hostModel,o=e.getItemModel(t),a=e.getItemLayout(t).label,s=e.getItemVisual(t,"style"),l=s.fill;Uc(r,Qc(o),{labelFetcher:e.hostModel,labelDataIndex:t,defaultOpacity:s.opacity,defaultText:e.getName(t)},{normal:{align:a.textAlign,verticalAlign:a.verticalAlign}}),this.setTextConfig({local:!0,inside:!!a.inside,insideStroke:l,outsideFill:l});var c=a.linePoints;n.setShape({points:c}),this.textGuideLineConfig={anchor:c?new xe(c[0][0],c[0][1]):null},tc(r,{style:{x:a.x,y:a.y}},i,t),r.attr({rotation:a.rotation,originX:a.x,originY:a.y,z2:10}),Tb(this,Eb(o),{stroke:l})},t}(Sl),fE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreLabelLineUpdate=!0,n}return p(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this._data,o=this.group;r.diff(i).add(function(e){var t=new dE(r,e);r.setItemGraphicEl(e,t),o.add(t)}).update(function(e,t){var n=i.getItemGraphicEl(t);n.updateData(r,e),o.add(n),r.setItemGraphicEl(e,n)}).remove(function(t){ac(i.getItemGraphicEl(t),e,t)}).execute(),this._data=r},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(xp),pE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Dx(g.bind(this.getData,this),g.bind(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.getInitialData=function(e,t){return Mx(this,{coordDimensions:["value"],encodeDefaulter:g.curry(jh,this)})},t.prototype._defaultLabelLine=function(e){zr(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},t.prototype.getDataParams=function(t){var n=this.getData(),r=e.prototype.getDataParams.call(this,t),i=n.mapDimension("value"),o=n.getSum(i);return r.percent=o?+(n.get(i,t)/o*100).toFixed(2):0,r.$vars.push("percent"),r},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(hp);function AE(e,t){e.eachSeriesByType("funnel",function(e){var n=e.getData(),r=n.mapDimension("value"),i=e.get("sort"),o=function(e,t){return gh(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t),a=e.get("orient"),s=o.width,l=o.height,c=function(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,function(e){return e}),i=[],o="ascending"===t,a=0,s=e.count();a<s;a++)i[a]=a;return Object(g.isFunction)(t)?i.sort(t):"none"!==t&&i.sort(function(e,t){return o?r[e]-r[t]:r[t]-r[e]}),i}(n,i),u=o.x,h=o.y,d="horizontal"===a?[pr(e.get("minSize"),l),pr(e.get("maxSize"),l)]:[pr(e.get("minSize"),s),pr(e.get("maxSize"),s)],f=n.getDataExtent(r),p=e.get("min"),A=e.get("max");null==p&&(p=Math.min(f[0],0)),null==A&&(A=f[1]);var v=e.get("funnelAlign"),m=e.get("gap"),y=(("horizontal"===a?s:l)-m*(n.count()-1))/n.count(),b=function(e,t){if("horizontal"===a){var i=fr(n.get(r,e)||0,[p,A],d,!0),o=void 0;switch(v){case"top":o=h;break;case"center":o=h+(l-i)/2;break;case"bottom":o=h+(l-i)}return[[t,o],[t,o+i]]}var c,f=fr(n.get(r,e)||0,[p,A],d,!0);switch(v){case"left":c=u;break;case"center":c=u+(s-f)/2;break;case"right":c=u+s-f}return[[c,t],[c+f,t]]};"ascending"===i&&(y=-y,m=-m,"horizontal"===a?u+=s:h+=l,c=c.reverse());for(var _=0;_<c.length;_++){var w=c[_],x=c[_+1],C=n.getItemModel(w);if("horizontal"===a){var S=C.get(["itemStyle","width"]);null==S?S=y:(S=pr(S,s),"ascending"===i&&(S=-S));var B=b(w,u),k=b(x,u+S);u+=S+m,n.setItemLayout(w,{points:B.concat(k.slice().reverse())})}else{var T=C.get(["itemStyle","height"]);null==T?T=y:(T=pr(T,l),"ascending"===i&&(T=-T));B=b(w,h),k=b(x,h+T);h+=T+m,n.setItemLayout(w,{points:B.concat(k.slice().reverse())})}}!function(e){var t=e.hostModel.get("orient");e.each(function(n){var r,i,o,a,s=e.getItemModel(n),l=s.getModel("label").get("position"),c=s.getModel("labelLine"),u=e.getItemLayout(n),h=u.points,d="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(d)"insideLeft"===l?(i=(h[0][0]+h[3][0])/2+5,o=(h[0][1]+h[3][1])/2,r="left"):"insideRight"===l?(i=(h[1][0]+h[2][0])/2-5,o=(h[1][1]+h[2][1])/2,r="right"):(i=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,o=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,r="center"),a=[[i,o],[i,o]];else{var f=void 0,p=void 0,A=void 0,g=void 0,v=c.get("length");"left"===l?(f=(h[3][0]+h[0][0])/2,p=(h[3][1]+h[0][1])/2,i=(A=f-v)-5,r="right"):"right"===l?(f=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,i=(A=f+v)+5,r="left"):"top"===l?(f=(h[3][0]+h[0][0])/2,o=(g=(p=(h[3][1]+h[0][1])/2)-v)-5,r="center"):"bottom"===l?(f=(h[1][0]+h[2][0])/2,o=(g=(p=(h[1][1]+h[2][1])/2)+v)+5,r="center"):"rightTop"===l?(f="horizontal"===t?h[3][0]:h[1][0],p="horizontal"===t?h[3][1]:h[1][1],"horizontal"===t?(o=(g=p-v)-5,r="center"):(i=(A=f+v)+5,r="top")):"rightBottom"===l?(f=h[2][0],p=h[2][1],"horizontal"===t?(o=(g=p+v)+5,r="center"):(i=(A=f+v)+5,r="bottom")):"leftTop"===l?(f=h[0][0],p="horizontal"===t?h[0][1]:h[1][1],"horizontal"===t?(o=(g=p-v)-5,r="center"):(i=(A=f-v)-5,r="right")):"leftBottom"===l?(f="horizontal"===t?h[1][0]:h[3][0],p="horizontal"===t?h[1][1]:h[2][1],"horizontal"===t?(o=(g=p+v)+5,r="center"):(i=(A=f-v)-5,r="right")):(f=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,"horizontal"===t?(o=(g=p+v)+5,r="center"):(i=(A=f+v)+5,r="left")),"horizontal"===t?i=A=f:o=g=p,a=[[f,p],[A,g]]}u.label={linePoints:a,x:i,y:o,verticalAlign:"middle",textAlign:r,inside:d}})}(n)})}var gE=.3;function vE(e,t,n,r){for(var i,o=[],a=0;a<n.length;a++){var s=n[a],l=e.get(e.mapDimension(s),t);i=l,("category"===r.getAxis(s).type?null==i:null==i||isNaN(i))||o.push(r.dataToPoint(l,s))}return o}function mE(e,t,n,r,i){var o=vE(e,n,r,i),a=new Tl({shape:{points:o},z2:10});return t.add(a),e.setItemGraphicEl(n,a),a}function yE(e){var t=e.get("smooth",!0);return!0===t&&(t=gE),t=Ir(t),Object(g.eqNaN)(t)&&(t=0),{smooth:t}}function bE(e,t,n,r){e.useStyle(t.getItemVisual(n,"style")),e.style.fill=null,e.setShape("smooth",r.smooth);var i=t.getItemModel(n),o=i.getModel("emphasis");Bs(e,i,"lineStyle"),ws(e,o.get("focus"),o.get("blurScope"),o.get("disabled"))}var _E=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._dataGroup=new tr,n._initialized=!1,n}return p(t,e),t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,t,n,r){this._progressiveEls=null;var i=this._dataGroup,o=e.getData(),a=this._data,s=e.coordinateSystem,l=s.dimensions,c=yE(e);if(o.diff(a).add(function(e){bE(mE(o,i,e,l,s),o,e,c)}).update(function(t,n){var r=a.getItemGraphicEl(n),i=vE(o,t,l,s);o.setItemGraphicEl(t,r),tc(r,{shape:{points:i}},e,t),sc(r),bE(r,o,t,c)}).remove(function(e){var t=a.getItemGraphicEl(e);i.remove(t)}).execute(),!this._initialized){this._initialized=!0;var u=function(e,t,n){var r=e.model,i=e.getRect(),o=new ha({shape:{x:i.x,y:i.y,width:i.width,height:i.height}}),a="horizontal"===r.get("layout")?"width":"height";return o.setShape(a,0),nc(o,{shape:{width:i.width,height:i.height}},t,n),o}(s,e,function(){setTimeout(function(){i.removeClipPath()})});i.setClipPath(u)}this._data=o},t.prototype.incrementalPrepareRender=function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(e,t,n){for(var r=t.getData(),i=t.coordinateSystem,o=i.dimensions,a=yE(t),s=this._progressiveEls=[],l=e.start;l<e.end;l++){var c=mE(r,this._dataGroup,l,o,i);c.incremental=!0,bE(c,r,l,a),s.push(c)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(xp);function wE(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var n={};return Object(g.each)(t.dimensions,function(e){var t=+e.replace("dim","");n[e]=t}),n}}var xE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return p(t,e),t.prototype.getInitialData=function(e,t){return pm(null,this,{useEncodeDefaulter:Object(g.bind)(wE,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var t=this.coordinateSystem,n=this.getData(),r=[];return t.eachActiveState(n,function(t,i){e===t&&r.push(n.getRawIndex(i))}),r},t.type="series.parallel",t.dependencies=["parallel"],t.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},t}(hp),CE=["lineStyle","opacity"],SE={seriesType:"parallel",reset:function(e,t){var n=e.coordinateSystem,r={normal:e.get(["lineStyle","opacity"]),active:e.get("activeOpacity"),inactive:e.get("inactiveOpacity")};return{progress:function(e,t){n.eachActiveState(t,function(e,n){var i=r[e];if("normal"===e&&t.hasItemOption){var o=t.getItemModel(n).get(CE,!0);null!=o&&(i=o)}t.ensureUniqueItemVisual(n,"style").opacity=i},e.start,e.end)}}}};function BE(e){!function(e){if(e.parallel)return;var t=!1;g.each(e.series,function(e){e&&"parallel"===e.type&&(t=!0)}),t&&(e.parallel=[{}])}(e),function(e){var t=Qr(e.parallelAxis);g.each(t,function(t){if(g.isObject(t)){var n=t.parallelIndex||0,r=Qr(e.parallel)[n];r&&r.parallelAxisDefault&&g.merge(t,r.parallelAxisDefault,!1)}})}(e)}var kE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},Object(g.each)(TE,function(e,t){n.getZr().on(t,this._handlers[t]=Object(g.bind)(e,this))},this)),Tp(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(e,t){Ep(this,"_throttledDispatchExpand"),Object(g.each)(this._handlers,function(e,n){t.getZr().off(n,e)}),this._handlers=null},t.prototype._throttledDispatchExpand=function(e){this._dispatchExpand(e)},t.prototype._dispatchExpand=function(e){e&&this._api.dispatchAction(Object(g.extend)({type:"parallelAxisExpand"},e))},t.type="parallel",t}(fp),TE={mousedown:function(e){EE(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(EE(this,"click")&&t){var n=[e.offsetX,e.offsetY];if(Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2)>5)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&EE(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r?null:{duration:0}})}}};function EE(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}var ME=kE,DE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var t=this.option;e&&g.merge(t,e,!0),this._initDimensions()},t.prototype.contains=function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},t.prototype.setAxisExpand=function(e){g.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])},this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=g.filter(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(e){return(e.get("parallelIndex")||0)===this.componentIndex},this);g.each(n,function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)})},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t}(Ch),OE=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.type=i||"value",a.axisIndex=o,a}return p(t,e),t.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},t}(tb);function IE(e,t,n,r,i,o){e=e||0;var a=n[1]-n[0];if(null!=i&&(i=PE(i,[0,a])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===r){var s=Math.abs(t[1]-t[0]);i=o=PE(s=PE(s,[0,a]),[i,o]),r=0}t[0]=PE(t[0],n),t[1]=PE(t[1],n);var l=LE(t,r);t[r]+=e;var c,u=i||0,h=n.slice();return l.sign<0?h[0]+=u:h[1]-=u,t[r]=PE(t[r],h),c=LE(t,r),null!=i&&(c.sign!==l.sign||c.span<i)&&(t[1-r]=t[r]+l.sign*i),c=LE(t,r),null!=o&&c.span>o&&(t[1-r]=t[r]+c.sign*o),t}function LE(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function PE(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}var FE=g.each,RE=Math.min,NE=Math.max,HE=Math.floor,jE=Math.ceil,UE=Ar,QE=Math.PI;function zE(e,t){return RE(NE(e,t[0]),t[1])}var YE=function(){function e(e,t,n){this.type="parallel",this._axesMap=g.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=e.dimensions,i=e.parallelAxisIndex;FE(r,function(e,n){var r=i[n],o=t.getComponent("parallelAxis",r),a=this._axesMap.set(e,new OE(e,my(o),[0,0],o.get("type"),r)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this},this)},e.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},e.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),n=t.axisBase,r=t.layoutBase,i=t.pixelDimIndex,o=e[1-i],a=e[i];return o>=n&&o<=n+t.axisLength&&a>=r&&a<=r+t.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(e,t){t.eachSeries(function(n){if(e.contains(n,t)){var r=n.getData();FE(this.dimensions,function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(r,r.mapDimension(e)),vy(t.scale,t.model)},this)}},this)},e.prototype.resize=function(e,t){this._rect=gh(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var e,t=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=t.get("layout"),a="horizontal"===o?0:1,s=n[i[a]],l=[0,s],c=this.dimensions.length,u=zE(t.get("axisExpandWidth"),l),h=zE(t.get("axisExpandCount")||0,[0,c]),d=t.get("axisExpandable")&&c>3&&c>h&&h>1&&u>0&&s>0,f=t.get("axisExpandWindow");f?(e=zE(f[1]-f[0],l),f[1]=f[0]+e):(e=zE(u*(h-1),l),(f=[u*(t.get("axisExpandCenter")||HE(c/2))-e/2])[1]=f[0]+e);var p=(s-e)/(c-h);p<3&&(p=0);var A=[HE(UE(f[0]/u,1))+1,jE(UE(f[1]/u,1))-1],g=p/u*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:d,axisExpandWidth:u,axisCollapseWidth:p,axisExpandWindow:f,axisCount:c,winInnerIndices:A,axisExpandWindow0Pos:g}},e.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),i=r.layout;t.each(function(e){var t=[0,r.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])}),FE(n,function(t,n){var o=(r.axisExpandable?function(e,t){var n,r,i=t.layoutLength,o=t.axisExpandWidth,a=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,c=s,u=!1;e<l[0]?(n=e*s,r=s):e<=l[1]?(n=t.axisExpandWindow0Pos+e*o-t.axisExpandWindow[0],c=o,u=!0):(n=i-(a-1-e)*s,r=s);return{position:n,axisNameAvailableWidth:c,axisLabelShow:u,nameTruncateMaxWidth:r}}:function(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}})(n,r),a={horizontal:{x:o.position,y:r.axisLength},vertical:{x:0,y:o.position}},s={horizontal:QE/2,vertical:0},l=[a[i].x+e.x,a[i].y+e.y],c=s[i],u=[1,0,0,1,0,0];ye(u,u,c),me(u,u,l),this._axesLayout[t]={position:l,rotation:c,transform:u,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},e.prototype.getAxis=function(e){return this._axesMap.get(e)},e.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},e.prototype.eachActiveState=function(e,t,n,r){null==n&&(n=0),null==r&&(r=e.count());var i=this._axesMap,o=this.dimensions,a=[],s=[];g.each(o,function(t){a.push(e.mapDimension(t)),s.push(i.get(t).model)});for(var l=this.hasAxisBrushed(),c=n;c<r;c++){var u=void 0;if(l){u="active";for(var h=e.getValues(a,c),d=0,f=o.length;d<f;d++){if("inactive"===s[d].getActiveState(h[d])){u="inactive";break}}}else u="normal";t(u,c)}},e.prototype.hasAxisBrushed=function(){for(var e=this.dimensions,t=this._axesMap,n=!1,r=0,i=e.length;r<i;r++)"normal"!==t.get(e[r]).model.getActiveState()&&(n=!0);return n},e.prototype.axisCoordToPoint=function(e,t){return Sc([e,0],this._axesLayout[t].transform)},e.prototype.getAxisLayout=function(e){return g.clone(this._axesLayout[e])},e.prototype.getSlidedAxisExpandWindow=function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,r=t.axisExpandWindow.slice(),i=r[1]-r[0],o=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:r};var a,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",c=t.axisCollapseWidth,u=this._model.get("axisExpandSlideTriggerArea"),h=null!=u[0];if(c)h&&c&&s<i*u[0]?(l="jump",a=s-i*u[2]):h&&c&&s>i*(1-u[0])?(l="jump",a=s-i*(1-u[2])):(a=s-i*u[1])>=0&&(a=s-i*(1-u[1]))<=0&&(a=0),(a*=t.axisExpandWidth/c)?IE(a,r,o,"all"):l="none";else{var d=r[1]-r[0];(r=[NE(0,o[1]*s/d-d/2)])[1]=RE(o[1],r[0]+d),r[0]=r[1]-d}return{axisExpandWindow:r,behavior:l}},e}();var VE={create:function(e,t){var n=[];return e.eachComponent("parallel",function(r,i){var o=new YE(r,e,t);o.name="parallel_"+i,o.resize(r,t),r.coordinateSystem=o,o.model=r,n.push(o)}),e.eachSeries(function(e){if("parallel"===e.get("coordinateSystem")){var t=e.getReferringComponents("parallel",ii).models[0];e.coordinateSystem=t.coordinateSystem}}),n}},GE=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.activeIntervals=[],n}return p(t,e),t.prototype.getAreaSelectStyle=function(){return bi([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var t=this.activeIntervals=g.clone(e);if(t)for(var n=t.length-1;n>=0;n--)gr(t[n])},t.prototype.getActiveState=function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(+e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var r=0,i=t.length;r<i;r++)if(t[r][0]<=e&&e<=t[r][1])return"active";return"inactive"},t}(Ch);g.mixin(GE,Cy);var WE=GE,XE=!0,ZE=Math.min,$E=Math.max,KE=Math.pow,JE=1e4,qE=6,eM=6,tM={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},nM={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},rM={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},iM=0,oM=function(e){function t(t){var n=e.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=t,n.group=new tr,n._uid="brushController_"+iM++,Object(g.each)(OM,function(e,t){this._handlers[t]=Object(g.bind)(e,this)},n),n}return p(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||function(e,t,n){$C(e)[t]=n}(t,"globalPan",this._uid),Object(g.each)(this._handlers,function(e,n){t.on(n,e)}),this._brushType=e.brushType,this._brushOption=Object(g.merge)(Object(g.clone)(rM),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;!function(e,t,n){var r=$C(e);r[t]===n&&(r[t]=null)}(e,"globalPan",this._uid),Object(g.each)(this._handlers,function(t,n){e.off(n,t)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};Object(g.each)(e,function(e){t[e.panelId]=Object(g.clone)(e)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=Object(g.map)(e,function(e){return Object(g.merge)(Object(g.clone)(rM),e,!0)});var t="\0-brush-index-",n=this._covers,r=this._covers=[],i=this,o=this._creatingCover;return new Lv(n,e,function(e,t){return a(e.__brushOption,t)},a).add(s).update(s).remove(function(e){n[e]!==o&&i.group.remove(n[e])}).execute(),this;function a(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function s(t,a){var s=e[t];if(null!=a&&n[a]===o)r[t]=n[a];else{var l=r[t]=null!=a?(n[a].__brushOption=s,n[a]):sM(i,aM(i,s));uM(i,l)}}},t.prototype.unmount=function(){return this.enableBrush(!1),pM(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(Y);function aM(e,t){var n=LM[t.brushType].createCover(e,t);return n.__brushOption=t,cM(n,t),e.group.add(n),n}function sM(e,t){var n=hM(t);return n.endCreating&&(n.endCreating(e,t),cM(t,t.__brushOption)),t}function lM(e,t){var n=t.__brushOption;hM(t).updateCoverShape(e,t,n.range,n)}function cM(e,t){var n=t.z;null==n&&(n=JE),e.traverse(function(e){e.z=n,e.z2=n})}function uM(e,t){hM(t).updateCommon(e,t),lM(e,t)}function hM(e){return LM[e.__brushOption.brushType]}function dM(e,t,n){var r,i=e._panels;if(!i)return XE;var o=e._transform;return Object(g.each)(i,function(e){e.isTargetByCursor(t,n,o)&&(r=e)}),r}function fM(e,t){var n=e._panels;if(!n)return XE;var r=t.__brushOption.panelId;return null!=r?n[r]:XE}function pM(e){var t=e._covers,n=t.length;return Object(g.each)(t,function(t){e.group.remove(t)},e),t.length=0,!!n}function AM(e,t){var n=Object(g.map)(e._covers,function(e){var t=e.__brushOption,n=Object(g.clone)(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}});e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function gM(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function vM(e,t,n,r){var i=new tr;return i.add(new ha({name:"main",style:_M(n),silent:!0,draggable:!0,cursor:"move",drift:Object(g.curry)(CM,e,t,i,["n","s","w","e"]),ondragend:Object(g.curry)(AM,t,{isEnd:!0})})),Object(g.each)(r,function(n){i.add(new ha({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(g.curry)(CM,e,t,i,n),ondragend:Object(g.curry)(AM,t,{isEnd:!0})}))}),i}function mM(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=$E(i,eM),a=n[0][0],s=n[1][0],l=a-i/2,c=s-i/2,u=n[0][1],h=n[1][1],d=u-o+i/2,f=h-o+i/2,p=u-a,A=h-s,g=p+i,v=A+i;bM(e,t,"main",a,s,p,A),r.transformable&&(bM(e,t,"w",l,c,o,v),bM(e,t,"e",d,c,o,v),bM(e,t,"n",l,c,g,o),bM(e,t,"s",l,f,g,o),bM(e,t,"nw",l,c,o,o),bM(e,t,"ne",d,c,o,o),bM(e,t,"sw",l,f,o,o),bM(e,t,"se",d,f,o,o))}function yM(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(_M(n)),i.attr({silent:!r,cursor:r?"move":"default"}),Object(g.each)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var i=t.childOfName(n.join("")),o=1===n.length?xM(e,n[0]):function(e,t){var n=[xM(e,t[0]),xM(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?nM[o]+"-resize":null})})}function bM(e,t,n,r,i,o,a){var s,l,c,u,h,d=t.childOfName(n);d&&d.setShape((s=kM(e,t,[[r,i],[r+o,i+a]]),l=ZE(s[0][0],s[1][0]),c=ZE(s[0][1],s[1][1]),u=$E(s[0][0],s[1][0]),h=$E(s[0][1],s[1][1]),{x:l,y:c,width:u-l,height:h-c}))}function _M(e){return Object(g.defaults)({strokeNoScale:!0},e.brushStyle)}function wM(e,t,n,r){var i=[ZE(e,n),ZE(t,r)],o=[$E(e,n),$E(t,r)];return[[i[0],o[0]],[i[1],o[1]]]}function xM(e,t){return{left:"w",right:"e",top:"n",bottom:"s"}[Bc({w:"left",e:"right",n:"top",s:"bottom"}[t],function(e){return Cc(e.group)}(e))]}function CM(e,t,n,r,i,o){var a=n.__brushOption,s=e.toRectRange(a.range),l=BM(t,i,o);Object(g.each)(r,function(e){var t=tM[e];s[t[0]][t[1]]+=l[t[0]]}),a.range=e.fromRectRange(wM(s[0][0],s[1][0],s[0][1],s[1][1])),uM(t,n),AM(t,{isEnd:!1})}function SM(e,t,n,r){var i=t.__brushOption.range,o=BM(e,n,r);Object(g.each)(i,function(e){e[0]+=o[0],e[1]+=o[1]}),uM(e,t),AM(e,{isEnd:!1})}function BM(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function kM(e,t,n){var r=fM(e,t);return r&&r!==XE?r.clipPath(n,e._transform):Object(g.clone)(n)}function TM(e){var t=e.event;t.preventDefault&&t.preventDefault()}function EM(e,t,n){return e.childOfName("main").contain(t,n)}function MM(e,t,n,r){var i,o=e._creatingCover,a=e._creatingPanel,s=e._brushOption;if(e._track.push(n.slice()),function(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],i=n[0]-r[0],o=n[1]-r[1];return KE(i*i+o*o,.5)>qE}(e)||o){if(a&&!o){"single"===s.brushMode&&pM(e);var l=Object(g.clone)(s);l.brushType=DM(l.brushType,a),l.panelId=a===XE?null:a.panelId,o=e._creatingCover=aM(e,l),e._covers.push(o)}if(o){var c=LM[DM(e._brushType,a)];o.__brushOption.range=c.getCreatingRange(kM(e,o,e._track)),r&&(sM(e,o),c.updateCommon(e,o)),lM(e,o),i={isEnd:r}}}else r&&"single"===s.brushMode&&s.removeOnClick&&dM(e,t,n)&&pM(e)&&(i={isEnd:r,removeOnClick:!0});return i}function DM(e,t){return"auto"===e?t.defaultBrushType:e}var OM={mousedown:function(e){if(this._dragging)IM(this,e);else if(!e.target||!e.target.draggable){TM(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=dM(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if(function(e,t,n){if(e._brushType&&!function(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}(e,t.offsetX,t.offsetY)){var r=e._zr,i=e._covers,o=dM(e,t,n);if(!e._dragging)for(var a=0;a<i.length;a++){var s=i[a].__brushOption;if(o&&(o===XE||s.panelId===o.panelId)&&LM[s.brushType].contain(i[a],n[0],n[1]))return}o&&r.setCursorStyle("crosshair")}}(this,e,r),this._dragging){TM(e);var i=MM(this,e,r,!1);i&&AM(this,i)}},mouseup:function(e){IM(this,e)}};function IM(e,t){if(e._dragging){TM(t);var n=t.offsetX,r=t.offsetY,i=MM(e,t,e.group.transformCoordToLocal(n,r),!0);e._dragging=!1,e._track=[],e._creatingCover=null,i&&AM(e,i)}}var LM={lineX:PM(0),lineY:PM(1),rect:{createCover:function(e,t){function n(e){return e}return vM({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=gM(e);return wM(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){mM(e,t,n,r)},updateCommon:yM,contain:EM},polygon:{createCover:function(e,t){var n=new tr;return n.add(new Tl({name:"main",style:_M(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new Sl({name:"main",draggable:!0,drift:Object(g.curry)(SM,e,t),ondragend:Object(g.curry)(AM,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:kM(e,t,n)})},updateCommon:yM,contain:EM}};function PM(e){return{createCover:function(t,n){return vM({toRectRange:function(t){var n=[t,[0,100]];return e&&n.reverse(),n},fromRectRange:function(t){return t[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=gM(t);return[ZE(n[0][e],n[1][e]),$E(n[0][e],n[1][e])]},updateCoverShape:function(t,n,r,i){var o,a=fM(t,n);if(a!==XE&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,o];e&&l.reverse(),mM(t,n,l,i)},updateCommon:yM,contain:EM}}var FM=oM;function RM(e){return e=jM(e),function(t){return Ec(t,e)}}function NM(e,t){return e=jM(e),function(n){var r=null!=t?t:n,i=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(i||0)]}}function HM(e,t,n){var r=jM(e);return function(e,i){return r.contain(i[0],i[1])&&!oS(e,t,n)}}function jM(e){return Oe.create(e)}var UM=["axisLine","axisTickLabel","axisName"];var QM=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments),(this._brushController=new FM(n.getZr())).on("brush",g.bind(this._onBrush,this))},t.prototype.render=function(e,t,n,r){if(!function(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}(e,t,r)){this.axisModel=e,this.api=n,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new tr,this.group.add(this._axisGroup),e.get("show")){var o=function(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}(e,t),a=o.coordinateSystem,s=e.getAreaSelectStyle(),l=s.width,c=e.axis.dim,u=a.getAxisLayout(c),h=g.extend({strokeContainThreshold:l},u),d=new pC(e,h);g.each(UM,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(h,s,e,o,l,n),Tc(i,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,t,n,r,i,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),c=Oe.create({x:a[0],y:-i/2,width:s,height:i});c.x-=l,c.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:RM(c),isTargetByCursor:HM(c,o,r),getLinearBrushOtherExtent:NM(c,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(function(e){var t=e.axis;return g.map(e.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}})}(n))},t.prototype._onBrush=function(e){var t=e.areas,n=this.axisModel,r=n.axis,i=g.map(t,function(e){return[r.coordToData(e.range[0],!0),r.coordToData(e.range[1],!0)]});(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:i})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(fp),zM={type:"axisAreaSelect",event:"axisAreaSelected"};var YM={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function VM(e){e.registerComponentView(ME),e.registerComponentModel(DE),e.registerCoordinateSystem("parallel",VE),e.registerPreprocessor(BE),e.registerComponentModel(WE),e.registerComponentView(QM),Gx(e,"parallel",WE,YM),function(e){e.registerAction(zM,function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},function(t){t.axis.model.setActiveIntervals(e.intervals)})}),e.registerAction("parallelAxisExpand",function(e,t){t.eachComponent({mainType:"parallel",query:e},function(t){t.setAxisExpand(e)})})}(e)}var GM=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}}(),WM=function(e){function t(t){return e.call(this,t)||this}return p(t,e),t.prototype.getDefaultShape=function(){return new GM},t.prototype.buildPath=function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},t.prototype.highlight=function(){cs(this)},t.prototype.downplay=function(){us(this)},t}($o);var XM=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._focusAdjacencyDisabled=!1,n}return p(t,e),t.prototype.render=function(e,t,n){var r=this,i=e.getGraph(),o=this.group,a=e.layoutInfo,s=a.width,l=a.height,c=e.getData(),u=e.getData("edge"),h=e.get("orient");this._model=e,o.removeAll(),o.x=a.x,o.y=a.y,i.eachEdge(function(t){var n=new WM,r=Ta(n);r.dataIndex=t.dataIndex,r.seriesIndex=e.seriesIndex,r.dataType="edge";var i,a,c,d,f,p,A,v,m=t.getModel(),y=m.getModel("lineStyle"),b=y.get("curveness"),_=t.node1.getLayout(),w=t.node1.getModel(),x=w.get("localX"),C=w.get("localY"),S=t.node2.getLayout(),B=t.node2.getModel(),k=B.get("localX"),T=B.get("localY"),E=t.getLayout();switch(n.shape.extent=Math.max(1,E.dy),n.shape.orient=h,"vertical"===h?(i=(null!=x?x*s:_.x)+E.sy,a=(null!=C?C*l:_.y)+_.dy,c=(null!=k?k*s:S.x)+E.ty,f=i,p=a*(1-b)+(d=null!=T?T*l:S.y)*b,A=c,v=a*b+d*(1-b)):(i=(null!=x?x*s:_.x)+_.dx,a=(null!=C?C*l:_.y)+E.sy,f=i*(1-b)+(c=null!=k?k*s:S.x)*b,p=a,A=i*b+c*(1-b),v=d=(null!=T?T*l:S.y)+E.ty),n.setShape({x1:i,y1:a,x2:c,y2:d,cpx1:f,cpy1:p,cpx2:A,cpy2:v}),n.useStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=t.node1.getVisual("color"),n.style.decal=t.node1.getVisual("style").decal;break;case"target":n.style.fill=t.node2.getVisual("color"),n.style.decal=t.node2.getVisual("style").decal;break;case"gradient":var M=t.node1.getVisual("color"),D=t.node2.getVisual("color");Object(g.isString)(M)&&Object(g.isString)(D)&&(n.style.fill=new zl(0,0,+("horizontal"===h),+("vertical"===h),[{color:M,offset:0},{color:D,offset:1}]))}Uc(n,Qc(m,"edgeLabel"),{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:""+m.get("value")}),n.setTextConfig({position:"inside"});var O=m.getModel("emphasis");Bs(n,m,"lineStyle",function(e){return e.getItemStyle()}),o.add(n),u.setItemGraphicEl(t.dataIndex,n);var I=O.get("focus");ws(n,"adjacency"===I?t.getAdjacentDataIndices():I,O.get("blurScope"),O.get("disabled")),Ta(n).dataType="edge"}),i.eachNode(function(t){var n=t.getLayout(),r=t.getModel(),i=r.get("localX"),a=r.get("localY"),u=r.getModel("emphasis"),h=new ha({shape:{x:null!=i?i*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy},style:r.getModel("itemStyle").getItemStyle(),z2:10});Uc(h,Qc(r),{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id}),h.disableLabelAnimation=!0,h.setStyle("fill",t.getVisual("color")),h.setStyle("decal",t.getVisual("style").decal),Bs(h,r),o.add(h),c.setItemGraphicEl(t.dataIndex,h),Ta(h).dataType="node";var d=u.get("focus");ws(h,"adjacency"===d?t.getAdjacentDataIndices():d,u.get("blurScope"),u.get("disabled"))}),c.eachItemGraphicEl(function(t,i){c.getItemModel(i).get("draggable")&&(t.drift=function(t,o){r._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/s,localY:this.shape.y/l})},t.ondragend=function(){r._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move")}),!this._data&&e.isAnimationEnabled()&&o.setClipPath(function(e,t,n){var r=new ha({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return nc(r,{shape:{width:e.width+20}},t,n),r}(o.getBoundingRect(),e,function(){o.removeClipPath()})),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(xp),ZM=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.getInitialData=function(e,t){var n=e.edges||e.links,r=e.data||e.nodes,i=e.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a<i.length;a++)null!=i[a].depth&&i[a].depth>=0&&(o[i[a].depth]=new du(i[a],this,t));if(r&&n)return rE(r,n,this,!0,function(e,t){e.wrapMethod("getItemModel",function(e,t){var n=e.parentModel,r=n.getData().getItemLayout(t);if(r){var i=r.depth,o=n.levelModels[i];o&&(e.parentModel=o)}return e}),t.wrapMethod("getItemModel",function(e,t){var n=e.parentModel,r=n.getGraph().getEdgeByIndex(t),i=r.node1.getLayout();if(i){var o=i.depth,a=n.levelModels[o];a&&(e.parentModel=a)}return e})}).data},t.prototype.setNodePosition=function(e,t){var n=(this.option.data||this.option.nodes)[e];n.localX=t[0],n.localY=t[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,t,n){function r(e){return isNaN(e)||null==e}if("edge"===n){var i=this.getDataParams(e,n),o=i.data,a=i.value;return Qf("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:r(a)})}var s=this.getGraph().getNodeByIndex(e).getLayout().value,l=this.getDataParams(e,n).data.name;return Qf("nameValue",{name:null!=l?l+"":null,value:s,noValue:r(s)})},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(t,n){var r=e.prototype.getDataParams.call(this,t,n);if(null==r.value&&"node"===n){var i=this.getGraph().getNodeByIndex(t).getLayout().value;r.value=i}return r},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(hp);function $M(e,t){e.eachSeriesByType("sankey",function(e){var n=e.get("nodeWidth"),r=e.get("nodeGap"),i=function(e,t){return gh(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}(e,t);e.layoutInfo=i;var o=i.width,a=i.height,s=e.getGraph(),l=s.nodes,c=s.edges;!function(e){g.each(e,function(e){var t=aD(e.outEdges,oD),n=aD(e.inEdges,oD),r=e.getValue()||0,i=Math.max(t,n,r);e.setLayout({value:i},!0)})}(l),function(e,t,n,r,i,o,a,s,l){(function(e,t,n,r,i,o,a){for(var s=[],l=[],c=[],u=[],h=0,d=0;d<t.length;d++)s[d]=1;for(var d=0;d<e.length;d++)l[d]=e[d].inEdges.length,0===l[d]&&c.push(e[d]);var f=-1;for(;c.length;){for(var p=0;p<c.length;p++){var A=c[p],v=A.hostGraph.data.getRawDataItem(A.dataIndex),m=null!=v.depth&&v.depth>=0;m&&v.depth>f&&(f=v.depth),A.setLayout({depth:m?v.depth:h},!0),"vertical"===o?A.setLayout({dy:n},!0):A.setLayout({dx:n},!0);for(var y=0;y<A.outEdges.length;y++){var b=A.outEdges[y],_=t.indexOf(b);s[_]=0;var w=b.node2,x=e.indexOf(w);0==--l[x]&&u.indexOf(w)<0&&u.push(w)}}++h,c=u,u=[]}for(var d=0;d<s.length;d++)if(1===s[d])throw new Error("Sankey is a DAG, the original data has cycle!");var C=f>h-1?f:h-1;a&&"left"!==a&&function(e,t,n,r){if("right"===t){for(var i=[],o=e,a=0;o.length;){for(var s=0;s<o.length;s++){var l=o[s];l.setLayout({skNodeHeight:a},!0);for(var c=0;c<l.inEdges.length;c++){var u=l.inEdges[c];i.indexOf(u.node1)<0&&i.push(u.node1)}}o=i,i=[],++a}g.each(e,function(e){KM(e)||e.setLayout({depth:Math.max(0,r-e.getLayout().skNodeHeight)},!0)})}else"justify"===t&&function(e,t){g.each(e,function(e){KM(e)||e.outEdges.length||e.setLayout({depth:t},!0)})}(e,r)}(e,a,0,C);!function(e,t,n){g.each(e,function(e){var r=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:r},!0):e.setLayout({x:r},!0)})}(e,"vertical"===o?(i-n)/C:(r-n)/C,o)})(e,t,n,i,o,s,l),function(e,t,n,r,i,o,a){var s=function(e,t){var n=[],r="vertical"===t?"y":"x",i=li(e,function(e){return e.getLayout()[r]});return i.keys.sort(function(e,t){return e-t}),g.each(i.keys,function(e){n.push(i.buckets.get(e))}),n}(e,a);(function(e,t,n,r,i,o){var a=1/0;g.each(e,function(e){var t=e.length,s=0;g.each(e,function(e){s+=e.getLayout().value});var l="vertical"===o?(r-(t-1)*i)/s:(n-(t-1)*i)/s;l<a&&(a=l)}),g.each(e,function(e){g.each(e,function(e,t){var n=e.getLayout().value*a;"vertical"===o?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))})}),g.each(t,function(e){var t=+e.getValue()*a;e.setLayout({dy:t},!0)})})(s,t,n,r,i,a),JM(s,i,n,r,a);for(var l=1;o>0;o--)qM(s,l*=.99,a),JM(s,i,n,r,a),sD(s,l,a),JM(s,i,n,r,a)}(e,t,o,i,r,a,s),function(e,t){var n="vertical"===t?"x":"y";g.each(e,function(e){e.outEdges.sort(function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]}),e.inEdges.sort(function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]})}),g.each(e,function(e){var t=0,n=0;g.each(e.outEdges,function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy}),g.each(e.inEdges,function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy})})}(e,s)}(l,c,n,r,o,a,0!==g.filter(l,function(e){return 0===e.getLayout().value}).length?0:e.get("layoutIterations"),e.get("orient"),e.get("nodeAlign"))})}function KM(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function JM(e,t,n,r,i){var o="vertical"===i?"x":"y";g.each(e,function(e){var a,s,l;e.sort(function(e,t){return e.getLayout()[o]-t.getLayout()[o]});for(var c=0,u=e.length,h="vertical"===i?"dx":"dy",d=0;d<u;d++)(l=c-(s=e[d]).getLayout()[o])>0&&(a=s.getLayout()[o]+l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),c=s.getLayout()[o]+s.getLayout()[h]+t;if((l=c-t-("vertical"===i?r:n))>0){a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0),c=a;for(d=u-2;d>=0;--d)(l=(s=e[d]).getLayout()[o]+s.getLayout()[h]+t-c)>0&&(a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),c=s.getLayout()[o]}})}function qM(e,t,n){g.each(e.slice().reverse(),function(e){g.each(e,function(e){if(e.outEdges.length){var r=aD(e.outEdges,eD,n)/aD(e.outEdges,oD);if(isNaN(r)){var i=e.outEdges.length;r=i?aD(e.outEdges,tD,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-iD(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-iD(e,n))*t;e.setLayout({y:a},!0)}}})})}function eD(e,t){return iD(e.node2,t)*e.getValue()}function tD(e,t){return iD(e.node2,t)}function nD(e,t){return iD(e.node1,t)*e.getValue()}function rD(e,t){return iD(e.node1,t)}function iD(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function oD(e){return e.getValue()}function aD(e,t,n){for(var r=0,i=e.length,o=-1;++o<i;){var a=+t(e[o],n);isNaN(a)||(r+=a)}return r}function sD(e,t,n){g.each(e,function(e){g.each(e,function(e){if(e.inEdges.length){var r=aD(e.inEdges,nD,n)/aD(e.inEdges,oD);if(isNaN(r)){var i=e.inEdges.length;r=i?aD(e.inEdges,rD,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-iD(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-iD(e,n))*t;e.setLayout({y:a},!0)}}})})}function lD(e){e.eachSeriesByType("sankey",function(e){var t=e.getGraph(),n=t.nodes,r=t.edges;if(n.length){var i=1/0,o=-1/0;g.each(n,function(e){var t=e.getLayout().value;t<i&&(i=t),t>o&&(o=t)}),g.each(n,function(t){var n=new Fk({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:e.get("color")}).mapValueToVisual(t.getLayout().value),r=t.getModel().get(["itemStyle","color"]);null!=r?(t.setVisual("color",r),t.setVisual("style",{fill:r})):(t.setVisual("color",n),t.setVisual("style",{fill:n}))})}r.length&&g.each(r,function(e){var t=e.getModel().get("lineStyle");e.setVisual("style",t)})})}var cD=function(){function e(){}return e.prototype.getInitialData=function(e,t){var n,r,i=t.getComponent("xAxis",this.get("xAxisIndex")),o=t.getComponent("yAxis",this.get("yAxisIndex")),a=i.get("type"),s=o.get("type");"category"===a?(e.layout="horizontal",n=i.getOrdinalMeta(),r=!0):"category"===s?(e.layout="vertical",n=o.getOrdinalMeta(),r=!0):e.layout=e.layout||"horizontal";var l=["x","y"],c="horizontal"===e.layout?0:1,u=this._baseAxisDim=l[c],h=l[1-c],d=[i,o],f=d[c].get("type"),p=d[1-c].get("type"),A=e.data;if(A&&r){var v=[];g.each(A,function(e,t){var n;g.isArray(e)?(n=e.slice(),e.unshift(t)):g.isArray(e.value)?((n=g.extend({},e)).value=n.value.slice(),e.value.unshift(t)):n=e,v.push(n)}),e.data=v}var m=this.defaultValueDimensions,y=[{name:u,type:Rv(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:Rv(p),dimsDef:m.slice()}];return Mx(this,{coordDimensions:y,dimensionsCount:m.length+1,encodeDefaulter:g.curry(Hh,y,this)})},e.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},e}(),uD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return p(t,e),t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(hp);Object(g.mixin)(uD,cD,!0);var hD=uD,dD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===e.get("layout")?1:0;r.diff(o).add(function(e){if(r.hasValue(e)){var t=AD(r.getItemLayout(e),r,e,a,!0);r.setItemGraphicEl(e,t),i.add(t)}}).update(function(e,t){var n=o.getItemGraphicEl(t);if(r.hasValue(e)){var s=r.getItemLayout(e);n?(sc(n),gD(s,n,r,e)):n=AD(s,r,e,a),i.add(n),r.setItemGraphicEl(e,n)}else i.remove(n)}).remove(function(e){var t=o.getItemGraphicEl(e);t&&i.remove(t)}).execute(),this._data=r},t.prototype.remove=function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(e){e&&t.remove(e)})},t.type="boxplot",t}(xp),fD=function(){return function(){}}(),pD=function(e){function t(t){var n=e.call(this,t)||this;return n.type="boxplotBoxPath",n}return p(t,e),t.prototype.getDefaultShape=function(){return new fD},t.prototype.buildPath=function(e,t){var n=t.points,r=0;for(e.moveTo(n[r][0],n[r][1]),r++;r<4;r++)e.lineTo(n[r][0],n[r][1]);for(e.closePath();r<n.length;r++)e.moveTo(n[r][0],n[r][1]),r++,e.lineTo(n[r][0],n[r][1])},t}($o);function AD(e,t,n,r,i){var o=e.ends,a=new pD({shape:{points:i?function(e,t,n){return g.map(e,function(e){return(e=e.slice())[t]=n.initBaseline,e})}(o,r,e):o}});return gD(e,a,t,n,i),a}function gD(e,t,n,r,i){var o=n.hostModel;(0,a[i?"initProps":"updateProps"])(t,{shape:{points:e.ends}},o,r),t.useStyle(n.getItemVisual(r,"style")),t.style.strokeNoScale=!0,t.z2=100;var s=n.getItemModel(r),l=s.getModel("emphasis");Bs(t,s),ws(t,l.get("focus"),l.get("blurScope"),l.get("disabled"))}var vD=dD,mD=g.each;function yD(e){var t=function(e){var t=[],n=[];return e.eachSeriesByType("boxplot",function(e){var r=e.getBaseAxis(),i=g.indexOf(n,r);i<0&&(i=n.length,n[i]=r,t[i]={axis:r,seriesModels:[]}),t[i].seriesModels.push(e)}),t}(e);mD(t,function(e){var t=e.seriesModels;t.length&&(!function(e){var t,n=e.axis,r=e.seriesModels,i=r.length,o=e.boxWidthList=[],a=e.boxOffsetList=[],s=[];if("category"===n.type)t=n.getBandWidth();else{var l=0;mD(r,function(e){l=Math.max(l,e.getData().count())});var c=n.getExtent();t=Math.abs(c[1]-c[0])/l}mD(r,function(e){var n=e.get("boxWidth");g.isArray(n)||(n=[n,n]),s.push([pr(n[0],t)||0,pr(n[1],t)||0])});var u=.8*t-2,h=u/i*.3,d=(u-h*(i-1))/i,f=d/2-u/2;mD(r,function(e,t){a.push(f),f+=h+d,o.push(Math.min(Math.max(d,s[t][0]),s[t][1]))})}(e),mD(t,function(t,n){!function(e,t,n){var r=e.coordinateSystem,i=e.getData(),o=n/2,a="horizontal"===e.get("layout")?0:1,s=1-a,l=["x","y"],c=i.mapDimension(l[a]),u=i.mapDimensionsAll(l[s]);if(null==c||u.length<5)return;for(var h=0;h<i.count();h++){var d=i.get(c,h),f=y(d,u[2],h),p=y(d,u[0],h),A=y(d,u[1],h),g=y(d,u[3],h),v=y(d,u[4],h),m=[];b(m,A,!1),b(m,g,!0),m.push(p,A,v,g),_(m,p),_(m,v),_(m,f),i.setItemLayout(h,{initBaseline:f[s],ends:m})}function y(e,n,o){var l,c=i.get(n,o),u=[];return u[a]=e,u[s]=c,isNaN(e)||isNaN(c)?l=[NaN,NaN]:(l=r.dataToPoint(u))[a]+=t,l}function b(e,t,n){var r=t.slice(),i=t.slice();r[a]+=o,i[a]-=o,n?e.push(r,i):e.push(i,r)}function _(e,t){var n=t.slice(),r=t.slice();n[a]-=o,r[a]+=o,e.push(n,r)}}(t,e.boxOffsetList[n],e.boxWidthList[n])}))})}var bD={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==Mh){var n="";0,Nr(n)}var r=function(e,t){for(var n=[],r=[],i=(t=t||{}).boundIQR,o="none"===i||0===i,a=0;a<e.length;a++){var s=gr(e[a].slice()),l=Dr(s,.25),c=Dr(s,.5),u=Dr(s,.75),h=s[0],d=s[s.length-1],f=(null==i?1.5:i)*(u-l),p=o?h:Math.max(h,l-f),A=o?d:Math.min(d,u+f),v=t.itemNameFormatter,m=Object(g.isFunction)(v)?v({value:a}):Object(g.isString)(v)?v.replace("{value}",a+""):a+"";n.push([m,p,l,c,u,A]);for(var y=0;y<s.length;y++){var b=s[y];if(b<p||b>A){var _=[m,b];r.push(_)}}}return{boxData:n,outliers:r}}(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:r.boxData},{data:r.outliers}]}};var _D=["color","borderColor"],wD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,t,n){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,t,n,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},t.prototype.eachRendered=function(e){Rc(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;null!=this._isLargeDraw&&t===this._isLargeDraw||(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e){var t=e.getData(),n=this._data,r=this.group,i=t.getLayout("isSimpleBox"),o=e.get("clip",!0),a=e.coordinateSystem,s=a.getArea&&a.getArea();this._data||r.removeAll(),t.diff(n).add(function(n){if(t.hasValue(n)){var a=t.getItemLayout(n);if(o&&BD(s,a))return;var l=SD(a,n,!0);nc(l,{shape:{points:a.ends}},e,n),kD(l,t,n,i),r.add(l),t.setItemGraphicEl(n,l)}}).update(function(a,l){var c=n.getItemGraphicEl(l);if(t.hasValue(a)){var u=t.getItemLayout(a);o&&BD(s,u)?r.remove(c):(c?(tc(c,{shape:{points:u.ends}},e,a),sc(c)):c=SD(u,a),kD(c,t,a,i),r.add(c),t.setItemGraphicEl(a,c))}else r.remove(c)}).remove(function(e){var t=n.getItemGraphicEl(e);t&&r.remove(t)}).execute(),this._data=t},t.prototype._renderLarge=function(e){this._clear(),MD(e,this.group);var t=e.get("clip",!0)?kw(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,t){for(var n,r=t.getData(),i=r.getLayout("isSimpleBox");null!=(n=e.next());){var o=SD(r.getItemLayout(n),n);kD(o,r,n,i),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},t.prototype._incrementalRenderLarge=function(e,t){MD(t,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(xp),xD=function(){return function(){}}(),CD=function(e){function t(t){var n=e.call(this,t)||this;return n.type="normalCandlestickBox",n}return p(t,e),t.prototype.getDefaultShape=function(){return new xD},t.prototype.buildPath=function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))},t}($o);function SD(e,t,n){var r=e.ends;return new CD({shape:{points:n?function(e,t){return g.map(e,function(e){return(e=e.slice())[1]=t.initBaseline,e})}(r,e):r},z2:100})}function BD(e,t){for(var n=!0,r=0;r<t.ends.length;r++)if(e.contain(t.ends[r][0],t.ends[r][1])){n=!1;break}return n}function kD(e,t,n,r){var i=t.getItemModel(n);e.useStyle(t.getItemVisual(n,"style")),e.style.strokeNoScale=!0,e.__simpleBox=r,Bs(e,i)}var TD=function(){return function(){}}(),ED=function(e){function t(t){var n=e.call(this,t)||this;return n.type="largeCandlestickBox",n}return p(t,e),t.prototype.getDefaultShape=function(){return new TD},t.prototype.buildPath=function(e,t){for(var n=t.points,r=0;r<n.length;)if(this.__sign===n[r++]){var i=n[r++];e.moveTo(i,n[r++]),e.lineTo(i,n[r++])}else r+=3},t}($o);function MD(e,t,n,r){var i=e.getData(),o=i.getLayout("largePoints"),a=new ED({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});t.add(a);var s=new ED({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});t.add(s);var l=new ED({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});t.add(l),DD(1,a,e,i),DD(-1,s,e,i),DD(0,l,e,i),r&&(a.incremental=!0,s.incremental=!0),n&&n.push(a,s)}function DD(e,t,n,r){var i=n.get(["itemStyle",e>0?"borderColor":"borderColor0"])||n.get(["itemStyle",e>0?"color":"color0"]);0===e&&(i=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(_D);t.useStyle(o),t.style.fill=null,t.style.stroke=i}var OD=wD,ID=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return p(t,e),t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,t,n){var r=t.getItemLayout(e);return r&&n.rect(r.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(hp);Object(g.mixin)(ID,cD,!0);var LD=ID;function PD(e){e&&g.isArray(e.series)&&g.each(e.series,function(e){g.isObject(e)&&"k"===e.type&&(e.type="candlestick")})}var FD=["itemStyle","borderColor"],RD=["itemStyle","borderColor0"],ND=["itemStyle","borderColorDoji"],HD=["itemStyle","color"],jD=["itemStyle","color0"],UD={seriesType:"candlestick",plan:pp(),performRawSeries:!0,reset:function(e,t){function n(e,t){return t.get(e>0?HD:jD)}function r(e,t){return t.get(0===e?ND:e>0?FD:RD)}if(!t.isSeriesFiltered(e))return!e.pipelineContext.large&&{progress:function(e,t){for(var i;null!=(i=e.next());){var o=t.getItemModel(i),a=t.getItemLayout(i).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=r(a,o)||s.fill;var l=t.ensureUniqueItemVisual(i,"style");Object(g.extend)(l,s)}}}}};function QD(e,t,n,r,i,o){return n>r?-1:n<r?1:o?0:t>0?e.get(i,t-1)<=r?1:-1:1}var zD={seriesType:"candlestick",plan:pp(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=function(e,t){var n,r=e.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),o=pr(Object(g.retrieve2)(e.get("barMaxWidth"),i),i),a=pr(Object(g.retrieve2)(e.get("barMinWidth"),1),i),s=e.get("barWidth");return null!=s?pr(s,i):Math.max(Math.min(i/2,o),a)}(e,n),i=0,o=1,a=["x","y"],s=n.getDimensionIndex(n.mapDimension(a[i])),l=Object(g.map)(n.mapDimensionsAll(a[o]),n.getDimensionIndex,n),c=l[0],u=l[1],h=l[2],d=l[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(s<0||l.length<4))return{progress:e.pipelineContext.large?function(n,r){var a,l,f=Pm(4*n.count),p=0,A=[],g=[],v=r.getStore(),m=!!e.get(["itemStyle","borderColorDoji"]);for(;null!=(l=n.next());){var y=v.get(s,l),b=v.get(c,l),_=v.get(u,l),w=v.get(h,l),x=v.get(d,l);isNaN(y)||isNaN(w)||isNaN(x)?(f[p++]=NaN,p+=3):(f[p++]=QD(v,l,b,_,u,m),A[i]=y,A[o]=w,a=t.dataToPoint(A,null,g),f[p++]=a?a[0]:NaN,f[p++]=a?a[1]:NaN,A[o]=x,a=t.dataToPoint(A,null,g),f[p++]=a?a[1]:NaN)}r.setLayout("largePoints",f)}:function(e,n){var a,l=n.getStore();for(;null!=(a=e.next());){var f=l.get(s,a),p=l.get(c,a),A=l.get(u,a),g=l.get(h,a),v=l.get(d,a),m=Math.min(p,A),y=Math.max(p,A),b=k(m,f),_=k(y,f),w=k(g,f),x=k(v,f),C=[];T(C,_,0),T(C,b,1),C.push(M(x),M(_),M(w),M(b));var S=n.getItemModel(a),B=!!S.get(["itemStyle","borderColorDoji"]);n.setItemLayout(a,{sign:QD(l,a,p,A,u,B),initBaseline:p>A?_[o]:b[o],ends:C,brushRect:E(g,v,f)})}function k(e,n){var r=[];return r[i]=n,r[o]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(r)}function T(e,t,n){var o=t.slice(),a=t.slice();o[i]=xc(o[i]+r/2,1,!1),a[i]=xc(a[i]-r/2,1,!0),n?e.push(o,a):e.push(a,o)}function E(e,t,n){var a=k(e,n),s=k(t,n);return a[i]-=r/2,s[i]-=r/2,{x:a[0],y:a[1],width:o?r:s[0]-a[0],height:o?s[1]-a[1]:r}}function M(e){return e[i]=xc(e[i],1),e}}}}};function YD(e,t){var n=t.rippleEffectColor||t.color;e.eachChild(function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?n:null,fill:"fill"===t.brushType?n:null}})})}var VD=function(e){function t(t,n){var r=e.call(this)||this,i=new uw(t,n),o=new tr;return r.add(i),r.add(o),r.updateData(t,n),r}return p(t,e),t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,r=e.rippleNumber,i=this.childAt(1),o=0;o<r;o++){var a=EA(t,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/r*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),i.add(a)}YD(i,e)},t.prototype.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),r=["symbolType","period","rippleScale","rippleNumber"],i=0;i<r.length;i++){var o=r[i];if(t[o]!==e[o])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}YD(n,e)},t.prototype.highlight=function(){cs(this)},t.prototype.downplay=function(){us(this)},t.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},t.prototype.updateData=function(e,t){var n=this,r=e.hostModel;this.childAt(0).updateData(e,t);var i=this.childAt(1),o=e.getItemModel(t),a=e.getItemVisual(t,"symbol"),s=MA(e.getItemVisual(t,"symbolSize")),l=e.getItemVisual(t,"style"),c=l&&l.fill,u=o.getModel("emphasis");i.setScale(s),i.traverse(function(e){e.setStyle("fill",c)});var h=DA(e.getItemVisual(t,"symbolOffset"),s);h&&(i.x=h[0],i.y=h[1]);var d=e.getItemVisual(t,"symbolRotate");i.rotation=(d||0)*Math.PI/180||0;var f={};f.showEffectOn=r.get("showEffectOn"),f.rippleScale=o.get(["rippleEffect","scale"]),f.brushType=o.get(["rippleEffect","brushType"]),f.period=1e3*o.get(["rippleEffect","period"]),f.effectOffset=t/e.count(),f.z=r.getShallow("z")||0,f.zlevel=r.getShallow("zlevel")||0,f.symbolType=a,f.color=c,f.rippleEffectColor=o.get(["rippleEffect","color"]),f.rippleNumber=o.get(["rippleEffect","number"]),"render"===f.showEffectOn?(this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(e){"emphasis"===e?"render"!==f.showEffectOn&&n.startEffectAnimation(f):"normal"===e&&"render"!==f.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=f,ws(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype.fadeOut=function(e){e&&e()},t}(tr),GD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(){this._symbolDraw=new pw(VD)},t.prototype.render=function(e,t,n){var r=e.getData(),i=this._symbolDraw;i.updateData(r,{clipShape:this._getClipShape(e)}),this.group.add(i.group)},t.prototype._getClipShape=function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},t.prototype.updateTransform=function(e,t,n){var r=e.getData();this.group.dirty();var i=jw("").reset(e,t,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=we(t.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(xp),WD=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return p(t,e),t.prototype.getInitialData=function(e,t){return pm(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(e,t,n){return n.point(t.getItemLayout(e))},t.type="series.effectScatter",t.dependencies=["grid","polar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},t}(hp);var XD=function(e){function t(t,n,r){var i=e.call(this)||this;return i.add(i.createLine(t,n,r)),i._updateEffectSymbol(t,n),i}return p(t,e),t.prototype.createLine=function(e,t,n){return new FT(e,t,n)},t.prototype._updateEffectSymbol=function(e,t){var n=e.getItemModel(t).getModel("effect"),r=n.get("symbolSize"),i=n.get("symbol");g.isArray(r)||(r=[r,r]);var o=e.getItemVisual(t,"style"),a=n.get("color")||o&&o.stroke,s=this.childAt(1);this._symbolType!==i&&(this.remove(s),(s=EA(i,-.5,-.5,1,1,a)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",a),s.setStyle(n.getItemStyle(["color"])),s.scaleX=r[0],s.scaleY=r[1],s.setColor(a),this._symbolType=i,this._symbolScale=r,this._updateEffectAnimation(e,n,t))},t.prototype._updateEffectAnimation=function(e,t,n){var r=this.childAt(1);if(r){var i=e.getItemLayout(n),o=1e3*t.get("period"),a=t.get("loop"),s=t.get("roundTrip"),l=t.get("constantSpeed"),c=g.retrieve(t.get("delay"),function(t){return t/e.count()*o/3});if(r.ignore=!0,this._updateAnimationPoints(r,i),l>0&&(o=this._getLineLength(r)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){r.stopAnimation();var u=void 0;u=g.isFunction(c)?c(n):c,r.__t>0&&(u=-o*r.__t),this._animateSymbol(r,o,u,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},t.prototype._animateSymbol=function(e,t,n,r,i){if(t>0){e.__t=0;var o=this,a=e.animate("",r).when(i?2*t:t,{__t:i?2:1}).delay(n).during(function(){o._updateSymbolPosition(e)});r||a.done(function(){o.remove(e)}),a.start()}},t.prototype._getLineLength=function(e){return L(e.__p1,e.__cp1)+L(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},t.prototype.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},t.prototype._updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,i=e.__t<1?e.__t:2-e.__t,o=[e.x,e.y],a=o.slice(),s=St,l=Bt;o[0]=s(t[0],r[0],n[0],i),o[1]=s(t[1],r[1],n[1],i);var c=e.__t<1?l(t[0],r[0],n[0],i):l(n[0],r[0],t[0],1-i),u=e.__t<1?l(t[1],r[1],n[1],i):l(n[1],r[1],t[1],1-i);e.rotation=-Math.atan2(u,c)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==e.__lastT&&e.__lastT<e.__t?(e.scaleY=1.05*L(a,o),1===i&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===e.__lastT?e.scaleY=2*L(t,o):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=o[0],e.y=o[1]},t.prototype.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},t}(tr),ZD=function(e){function t(t,n,r){var i=e.call(this)||this;return i._createPolyline(t,n,r),i}return p(t,e),t.prototype._createPolyline=function(e,t,n){var r=e.getItemLayout(t),i=new Tl({shape:{points:r}});this.add(i),this._updateCommonStl(e,t,n)},t.prototype.updateData=function(e,t,n){var r=e.hostModel;tc(this.childAt(0),{shape:{points:e.getItemLayout(t)}},r,t),this._updateCommonStl(e,t,n)},t.prototype._updateCommonStl=function(e,t,n){var r=this.childAt(0),i=e.getItemModel(t),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||e.hasItemOption){var c=i.getModel("emphasis");o=c.getModel("lineStyle").getLineStyle(),l=c.get("disabled"),a=c.get("focus"),s=c.get("blurScope")}r.useStyle(e.getItemVisual(t,"style")),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,ws(this,a,s,l)},t.prototype.updateLayout=function(e,t){this.childAt(0).setShape("points",e.getItemLayout(t))},t}(tr),$D=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._lastFrame=0,t._lastFramePercent=0,t}return p(t,e),t.prototype.createLine=function(e,t,n){return new ZD(e,t,n)},t.prototype._updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],r=0,i=1;i<t.length;i++){var o=t[i-1],a=t[i];r+=L(o,a),n.push(r)}if(0!==r){for(i=0;i<n.length;i++)n[i]/=r;this._offsets=n,this._length=r}else this._length=0},t.prototype._getLineLength=function(){return this._length},t.prototype._updateSymbolPosition=function(e){var t=e.__t<1?e.__t:2-e.__t,n=this._points,r=this._offsets,i=n.length;if(r){var o,a=this._lastFrame;if(t<this._lastFramePercent){for(o=Math.min(a+1,i-1);o>=0&&!(r[o]<=t);o--);o=Math.min(o,i-2)}else{for(o=a;o<i&&!(r[o]>t);o++);o=Math.min(o-1,i-2)}var s=(t-r[o])/(r[o+1]-r[o]),l=n[o],c=n[o+1];e.x=l[0]*(1-s)+s*c[0],e.y=l[1]*(1-s)+s*c[1];var u=e.__t<1?c[0]-l[0]:l[0]-c[0],h=e.__t<1?c[1]-l[1]:l[1]-c[1];e.rotation=-Math.atan2(h,u)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=t,e.ignore=!1}},t}(XD),KD=function(){return function(){this.polyline=!1,this.curveness=0,this.segs=[]}}(),JD=function(e){function t(t){var n=e.call(this,t)||this;return n._off=0,n.hoverDataIdx=-1,n}return p(t,e),t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new KD},t.prototype.buildPath=function(e,t){var n,r=t.segs,i=t.curveness;if(t.polyline)for(n=this._off;n<r.length;){var o=r[n++];if(o>0){e.moveTo(r[n++],r[n++]);for(var a=1;a<o;a++)e.lineTo(r[n++],r[n++])}}else for(n=this._off;n<r.length;){var s=r[n++],l=r[n++],c=r[n++],u=r[n++];if(e.moveTo(s,l),i>0){var h=(s+c)/2-(l-u)*i,d=(l+u)/2-(c-s)*i;e.quadraticCurveTo(h,d,c,u)}else e.lineTo(c,u)}this.incremental&&(this._off=n,this.notClear=!0)},t.prototype.findDataIndex=function(e,t){var n=this.shape,r=n.segs,i=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<r.length;){var l=r[s++];if(l>0)for(var c=r[s++],u=r[s++],h=1;h<l;h++){if(Mo(c,u,d=r[s++],f=r[s++],o,e,t))return a}a++}else for(a=0,s=0;s<r.length;){c=r[s++],u=r[s++];var d=r[s++],f=r[s++];if(i>0){if(Oo(c,u,(c+d)/2-(u-f)*i,(u+f)/2-(d-c)*i,d,f,o,e,t))return a}else if(Mo(c,u,d,f,o,e,t))return a;a++}return-1},t.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return e=n[0],t=n[1],r.contain(e,t)?(this.hoverDataIdx=this.findDataIndex(e,t))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape.segs,n=1/0,r=1/0,i=-1/0,o=-1/0,a=0;a<t.length;){var s=t[a++],l=t[a++];n=Math.min(s,n),i=Math.max(s,i),r=Math.min(l,r),o=Math.max(l,o)}e=this._rect=new Oe(n,r,i,o)}return e},t}($o),qD=function(){function e(){this.group=new tr}return e.prototype.updateData=function(e){this._clear();var t=this._create();t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e)},e.prototype.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clear()},e.prototype.incrementalUpdate=function(e,t){var n=this._newAdded[0],r=t.getLayout("linesPoints"),i=n&&n.shape.segs;if(i&&i.length<2e4){var o=i.length,a=new Float32Array(o+r.length);a.set(i),a.set(r,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:r}),this._setCommon(s,t),s.__startIndex=e.start}},e.prototype.remove=function(){this._clear()},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new JD({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(e),this.group.add(e),e},e.prototype._setCommon=function(e,t,n){var r=t.hostModel;e.setShape({polyline:r.get("polyline"),curveness:r.get(["lineStyle","curveness"])}),e.useStyle(r.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var i=t.getVisual("style");i&&i.stroke&&e.setStyle("stroke",i.stroke),e.setStyle("fill",null);var o=Ta(e);o.seriesIndex=r.seriesIndex,e.on("mousemove",function(t){o.dataIndex=null;var n=e.hoverDataIdx;n>0&&(o.dataIndex=n+e.__startIndex)})},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),eO={seriesType:"lines",plan:pp(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),r=e.pipelineContext.large;return{progress:function(i,o){var a=[];if(r){var s=void 0,l=i.end-i.start;if(n){for(var c=0,u=i.start;u<i.end;u++)c+=e.getLineCoordsCount(u);s=new Float32Array(l+2*c)}else s=new Float32Array(4*l);var h=0,d=[];for(u=i.start;u<i.end;u++){var f=e.getLineCoords(u,a);n&&(s[h++]=f);for(var p=0;p<f;p++)d=t.dataToPoint(a[p],!1,d),s[h++]=d[0],s[h++]=d[1]}o.setLayout("linesPoints",s)}else for(u=i.start;u<i.end;u++){var A=o.getItemModel(u),g=(f=e.getLineCoords(u,a),[]);if(n)for(var v=0;v<f;v++)g.push(t.dataToPoint(a[v]));else{g[0]=t.dataToPoint(a[0]),g[1]=t.dataToPoint(a[1]);var m=A.get(["lineStyle","curveness"]);+m&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*m,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*m])}o.setItemLayout(u,g)}}}}}},tO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this._updateLineDraw(r,e),o=e.get("zlevel"),a=e.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),i.updateData(r);var c=e.get("clip",!0)&&kw(e.coordinateSystem,!1,e);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,n){var r=e.getData();this._updateLineDraw(r,e).incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},t.prototype.incrementalRender=function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,t,n){var r=e.getData(),i=e.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var o=eO.reset(e,t,n);o.progress&&o.progress({start:0,end:r.count(),count:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},t.prototype._updateLineDraw=function(e,t){var n=this._lineDraw,r=this._showEffect(t),i=!!t.get("polyline"),o=t.pipelineContext.large;return n&&r===this._hasEffet&&i===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new qD:new jT(i?r?$D:ZD:r?XD:FT),this._hasEffet=r,this._isPolyline=i,this._isLargeDraw=o),this.group.add(n.group),n},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var t=e.getZr();"svg"===t.painter.getType()||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.type="lines",t}(xp),nO="undefined"==typeof Uint32Array?Array:Uint32Array,rO="undefined"==typeof Float64Array?Array:Float64Array;function iO(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=Object(g.map)(t,function(e){var t={coords:[e[0].coord,e[1].coord]};return e[0].name&&(t.fromName=e[0].name),e[1].name&&(t.toName=e[1].name),Object(g.mergeAll)([t,e[0],e[1]])}))}var oO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return p(t,e),t.prototype.init=function(t){t.data=t.data||[],iO(t);var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(t){if(iO(t),t.data){var n=this._processFlatCoordsArray(t.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(t.data=new Float32Array(n.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=Object(g.concatArray)(this._flatCoords,t.flatCoords),this._flatCoordsOffset=Object(g.concatArray)(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var t=this.getData().getItemModel(e),n=t.option instanceof Array?t.option:t.getShallow("coords");return n},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],r=this._flatCoordsOffset[2*e+1],i=0;i<r;i++)t[i]=t[i]||[],t[i][0]=this._flatCoords[n+2*i],t[i][1]=this._flatCoords[n+2*i+1];return r}var o=this._getCoordsFromItemModel(e);for(i=0;i<o.length;i++)t[i]=t[i]||[],t[i][0]=o[i][0],t[i][1]=o[i][1];return o.length},t.prototype._processFlatCoordsArray=function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),Object(g.isNumber)(e[0])){for(var n=e.length,r=new nO(n),i=new rO(n),o=0,a=0,s=0,l=0;l<n;){s++;var c=e[l++];r[a++]=o+t,r[a++]=c;for(var u=0;u<c;u++){var h=e[l++],d=e[l++];i[o++]=h,i[o++]=d}}return{flatCoordsOffset:new Uint32Array(r.buffer,0,a),flatCoords:i,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},t.prototype.getInitialData=function(e,t){var n=new im(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],function(e,t,r,i){if(e instanceof Array)return NaN;n.hasItemOption=!0;var o=e.value;return null!=o?o instanceof Array?o[i]:o:void 0}),n},t.prototype.formatTooltip=function(e,t,n){var r=this.getData().getItemModel(e),i=r.get("name");if(i)return i;var o=r.get("fromName"),a=r.get("toName"),s=[];return null!=o&&s.push(o),null!=a&&s.push(a),Qf("nameValue",{name:s.join(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),t=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.get("show")&&t>0?t+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(hp);function aO(e){return e instanceof Array||(e=[e,e]),e}var sO={seriesType:"lines",reset:function(e){var t=aO(e.get("symbol")),n=aO(e.get("symbolSize")),r=e.getData();return r.setVisual("fromSymbol",t&&t[0]),r.setVisual("toSymbol",t&&t[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]),{dataEach:r.hasItemOption?function(e,t){var n=e.getItemModel(t),r=aO(n.getShallow("symbol",!0)),i=aO(n.getShallow("symbolSize",!0));r[0]&&e.setItemVisual(t,"fromSymbol",r[0]),r[1]&&e.setItemVisual(t,"toSymbol",r[1]),i[0]&&e.setItemVisual(t,"fromSymbolSize",i[0]),i[1]&&e.setItemVisual(t,"toSymbolSize",i[1])}:null}}};var lO=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=Pn.d.createCanvas();this.canvas=e}return e.prototype.update=function(e,t,n,r,i,o){var a=this._getBrush(),s=this._getGradient(i,"inRange"),l=this._getGradient(i,"outOfRange"),c=this.pointSize+this.blurSize,u=this.canvas,h=u.getContext("2d"),d=e.length;u.width=t,u.height=n;for(var f=0;f<d;++f){var p=e[f],A=p[0],g=p[1],v=r(p[2]);h.globalAlpha=v,h.drawImage(a,A-c,g-c)}if(!u.width||!u.height)return u;for(var m=h.getImageData(0,0,u.width,u.height),y=m.data,b=0,_=y.length,w=this.minOpacity,x=this.maxOpacity-w;b<_;){v=y[b+3]/256;var C=4*Math.floor(255*v);if(v>0){var S=o(v)?s:l;v>0&&(v=v*x+w),y[b++]=S[C],y[b++]=S[C+1],y[b++]=S[C+2],y[b++]=S[C+3]*v*256}else b+=4}return h.putImageData(m,0,0),u},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=Pn.d.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var r=e.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-t,t,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),e},e.prototype._getGradient=function(e,t){for(var n=this._gradientPixels,r=n[t]||(n[t]=new Uint8ClampedArray(1024)),i=[0,0,0,0],o=0,a=0;a<256;a++)e[t](a/255,!0,i),r[o++]=i[0],r[o++]=i[1],r[o++]=i[2],r[o++]=i[3];return r},e}();function cO(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var uO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){var r;t.eachComponent("visualMap",function(t){t.eachTargetSeries(function(n){n===e&&(r=t)})}),this._progressiveEls=null,this.group.removeAll();var i=e.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):cO(i)&&this._renderOnGeo(i,e,r,n)},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,n,r){var i=t.coordinateSystem;i&&(cO(i)?this.render(t,n,r):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(t,r,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){Rc(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,t,n,r,i){var o,a,s,l,c=e.coordinateSystem,u=Tw(c,"cartesian2d");if(u){var h=c.getAxis("x"),d=c.getAxis("y");0,o=h.getBandWidth()+.5,a=d.getBandWidth()+.5,s=h.scale.getExtent(),l=d.scale.getExtent()}for(var f=this.group,p=e.getData(),A=e.getModel(["emphasis","itemStyle"]).getItemStyle(),g=e.getModel(["blur","itemStyle"]).getItemStyle(),v=e.getModel(["select","itemStyle"]).getItemStyle(),m=e.get(["itemStyle","borderRadius"]),y=Qc(e),b=e.getModel("emphasis"),_=b.get("focus"),w=b.get("blurScope"),x=b.get("disabled"),C=u?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],S=n;S<r;S++){var B=void 0,k=p.getItemVisual(S,"style");if(u){var T=p.get(C[0],S),E=p.get(C[1],S);if(isNaN(p.get(C[2],S))||isNaN(T)||isNaN(E)||T<s[0]||T>s[1]||E<l[0]||E>l[1])continue;var M=c.dataToPoint([T,E]);B=new ha({shape:{x:M[0]-o/2,y:M[1]-a/2,width:o,height:a},style:k})}else{if(isNaN(p.get(C[1],S)))continue;B=new ha({z2:1,shape:c.dataToRect([p.get(C[0],S)]).contentShape,style:k})}if(p.hasItemOption){var D=p.getItemModel(S),O=D.getModel("emphasis");A=O.getModel("itemStyle").getItemStyle(),g=D.getModel(["blur","itemStyle"]).getItemStyle(),v=D.getModel(["select","itemStyle"]).getItemStyle(),m=D.get(["itemStyle","borderRadius"]),_=O.get("focus"),w=O.get("blurScope"),x=O.get("disabled"),y=Qc(D)}B.shape.r=m;var I=e.getRawValue(S),L="-";I&&null!=I[2]&&(L=I[2]+""),Uc(B,y,{labelFetcher:e,labelDataIndex:S,defaultOpacity:k.opacity,defaultText:L}),B.ensureState("emphasis").style=A,B.ensureState("blur").style=g,B.ensureState("select").style=v,ws(B,_,w,x),B.incremental=i,i&&(B.states.emphasis.hoverLayer=!0),f.add(B),p.setItemGraphicEl(S,B),this._progressiveEls&&this._progressiveEls.push(B)}},t.prototype._renderOnGeo=function(e,t,n,r){var i=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=t.getData(),s=this._hmLayer||this._hmLayer||new lO;s.blurSize=t.get("blurSize"),s.pointSize=t.get("pointSize"),s.minOpacity=t.get("minOpacity"),s.maxOpacity=t.get("maxOpacity");var l=e.getViewRect().clone(),c=e.getRoamTransform();l.applyTransform(c);var u=Math.max(l.x,0),h=Math.max(l.y,0),d=Math.min(l.width+l.x,r.getWidth()),f=Math.min(l.height+l.y,r.getHeight()),p=d-u,A=f-h,v=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],m=a.mapArray(v,function(t,n,r){var i=e.dataToPoint([t,n]);return i[0]-=u,i[1]-=h,i.push(r),i}),y=n.getExtent(),b="visualMap.continuous"===n.type?function(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}(y,n.option.range):function(e,t,n){var r=e[1]-e[0],i=(t=g.map(t,function(t){return{interval:[(t.interval[0]-e[0])/r,(t.interval[1]-e[0])/r]}})).length,o=0;return function(e){var r;for(r=o;r<i;r++)if((a=t[r].interval)[0]<=e&&e<=a[1]){o=r;break}if(r===i)for(r=o-1;r>=0;r--){var a;if((a=t[r].interval)[0]<=e&&e<=a[1]){o=r;break}}return r>=0&&r<i&&n[r]}}(y,n.getPieceList(),n.option.selected);s.update(m,p,A,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:o.color.getColorMapper()},b);var _=new ra({style:{width:p,height:A,x:u,y:h,image:s.canvas},silent:!0});this.group.add(_)},t.type="heatmap",t}(xp),hO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.getInitialData=function(e,t){return pm(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=sd.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(hp);var dO=["itemStyle","borderWidth"],fO=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],pO=new qs;function AO(e,t,n,r){var i=e.getItemLayout(t),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,u=n.isAnimationEnabled(),h={dataIndex:t,layout:i,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:l,animationModel:u?n:null,hoverScale:u&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(e,t,n,r,i){var o,a=r.valueDim,s=e.get("symbolBoundingData"),l=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),c=l.toGlobalCoord(l.dataToCoord(0)),u=1-+(n[a.wh]<=0);if(g.isArray(s)){var h=[gO(l,s[0])-c,gO(l,s[1])-c];h[1]<h[0]&&h.reverse(),o=h[u]}else o=null!=s?gO(l,s)-c:t?r.coordSysExtent[a.index][u]-c:n[a.wh];i.boundingLength=o,t&&(i.repeatCutLength=n[a.wh]);i.pxSign=o>0?1:-1}(n,o,i,r,h),function(e,t,n,r,i,o,a,s,l,c){var u,h=l.valueDim,d=l.categoryDim,f=Math.abs(n[d.wh]),p=e.getItemVisual(t,"symbolSize");u=g.isArray(p)?p.slice():null==p?["100%","100%"]:[p,p];u[d.index]=pr(u[d.index],f),u[h.index]=pr(u[h.index],r?f:Math.abs(o)),c.symbolSize=u,(c.symbolScale=[u[0]/s,u[1]/s])[h.index]*=(l.isHorizontal?-1:1)*a}(e,t,i,o,0,h.boundingLength,h.pxSign,c,r,h),function(e,t,n,r,i){var o=e.get(dO)||0;o&&(pO.attr({scaleX:t[0],scaleY:t[1],rotation:n}),pO.updateTransform(),o/=pO.getLineScale(),o*=t[r.valueDim.index]);i.valueLineWidth=o||0}(n,h.symbolScale,l,r,h);var d=h.symbolSize;return function(e,t,n,r,i,o,a,s,l,c,u,h){var d=u.categoryDim,f=u.valueDim,p=h.pxSign,A=Math.max(t[f.index]+s,0),v=A;if(r){var m=Math.abs(l),y=g.retrieve(e.get("symbolMargin"),"15%")+"",b=!1;y.lastIndexOf("!")===y.length-1&&(b=!0,y=y.slice(0,y.length-1));var _=pr(y,t[f.index]),w=Math.max(A+2*_,0),x=b?0:2*_,C=Lr(r),S=C?r:DO((m+x)/w),B=m-S*A;_=B/2/(b?S:Math.max(S-1,1)),w=A+2*_,x=b?0:2*_,C||"fixed"===r||(S=c?DO((Math.abs(c)+x)/w):0),v=S*w-x,h.repeatTimes=S,h.symbolMargin=_}var k=p*(v/2),T=h.pathPosition=[];T[d.index]=n[d.wh]/2,T[f.index]="start"===a?k:"end"===a?l-k:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var E=h.bundlePosition=[];E[d.index]=n[d.xy],E[f.index]=n[f.xy];var M=h.barRectShape=g.extend({},n);M[f.wh]=p*Math.max(Math.abs(n[f.wh]),Math.abs(T[f.index]+k)),M[d.wh]=n[d.wh];var D=h.clipShape={};D[d.xy]=-n[d.xy],D[d.wh]=u.ecSize[d.wh],D[f.xy]=0,D[f.wh]=n[f.wh]}(n,d,i,o,0,DA(n.get("symbolOffset"),d),s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,r,h),h}function gO(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function vO(e){var t=e.symbolPatternSize,n=EA(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function mO(e,t,n,r){var i=e.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,c=n.repeatTimes||0,u=0,h=o[t.valueDim.index]+a+2*n.symbolMargin;for(TO(e,function(e){e.__pictorialAnimationIndex=u,e.__pictorialRepeatTimes=c,u<c?EO(e,null,p(u),n,r):EO(e,null,{scaleX:0,scaleY:0},n,r,function(){i.remove(e)}),u++});u<c;u++){var d=vO(n);d.__pictorialAnimationIndex=u,d.__pictorialRepeatTimes=c,i.add(d);var f=p(u);EO(d,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},n,r)}function p(e){var t=s.slice(),r=n.pxSign,i=e;return("start"===n.symbolRepeatDirection?r>0:r<0)&&(i=c-1-e),t[l.index]=h*(i-c/2+.5)+s[l.index],{x:t[0],y:t[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function yO(e,t,n,r){var i=e.__pictorialBundle,o=e.__pictorialMainPath;o?EO(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(o=e.__pictorialMainPath=vO(n),i.add(o),EO(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function bO(e,t,n){var r=g.extend({},t.barRectShape),i=e.__pictorialBarRect;i?EO(i,null,{shape:r},t,n):((i=e.__pictorialBarRect=new ha({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,e.add(i))}function _O(e,t,n,r){if(n.symbolClip){var i=e.__pictorialClipPath,o=g.extend({},n.clipShape),s=t.valueDim,l=n.animationModel,c=n.dataIndex;if(i)tc(i,{shape:o},l,c);else{o[s.wh]=0,i=new ha({shape:o}),e.__pictorialBundle.setClipPath(i),e.__pictorialClipPath=i;var u={};u[s.wh]=n.clipShape[s.wh],a[r?"updateProps":"initProps"](i,{shape:u},l,c)}}}function wO(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=xO,n.isAnimationEnabled=CO,n}function xO(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function CO(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function SO(e,t,n,r){var i=new tr,o=new tr;return i.add(o),i.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?mO(i,t,n):yO(i,0,n),bO(i,n,r),_O(i,t,n,r),i.__pictorialShapeStr=kO(e,n),i.__pictorialSymbolMeta=n,i}function BO(e,t,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var o=[];TO(r,function(e){o.push(e)}),r.__pictorialMainPath&&o.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),g.each(o,function(e){ic(e,{scaleX:0,scaleY:0},n,t,function(){r.parent&&r.parent.remove(r)})}),e.setItemGraphicEl(t,null)}function kO(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function TO(e,t,n){g.each(e.__pictorialBundle.children(),function(r){r!==e.__pictorialBarRect&&t.call(n,r)})}function EO(e,t,n,r,i,o){t&&e.attr(t),r.symbolClip&&!i?n&&e.attr(n):n&&a[i?"updateProps":"initProps"](e,n,r.animationModel,r.dataIndex,o)}function MO(e,t,n){var r=n.dataIndex,i=n.itemModel,o=i.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),l=i.getModel(["select","itemStyle"]).getItemStyle(),c=i.getShallow("cursor"),u=o.get("focus"),h=o.get("blurScope"),d=o.get("scale");TO(e,function(e){if(e instanceof ra){var t=e.style;e.useStyle(g.extend({image:t.image,x:t.x,y:t.y,width:t.width,height:t.height},n.style))}else e.useStyle(n.style);var r=e.ensureState("emphasis");r.style=a,d&&(r.scaleX=1.1*e.scaleX,r.scaleY=1.1*e.scaleY),e.ensureState("blur").style=s,e.ensureState("select").style=l,c&&(e.cursor=c),e.z2=n.z2});var f=t.valueDim.posDesc[+(n.boundingLength>0)];Uc(e.__pictorialBarRect,Qc(i),{labelFetcher:t.seriesModel,labelDataIndex:r,defaultText:sw(t.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),ws(e,u,h,o.get("disabled"))}function DO(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var OO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){var r=this.group,i=e.getData(),o=this._data,a=e.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:fO[+s],categoryDim:fO[1-+s]};return i.diff(o).add(function(e){if(i.hasValue(e)){var t=wO(i,e),n=AO(i,e,t,c),o=SO(i,c,n);i.setItemGraphicEl(e,o),r.add(o),MO(o,c,n)}}).update(function(e,t){var n=o.getItemGraphicEl(t);if(i.hasValue(e)){var a=wO(i,e),s=AO(i,e,a,c),l=kO(i,s);n&&l!==n.__pictorialShapeStr&&(r.remove(n),i.setItemGraphicEl(e,null),n=null),n?function(e,t,n){var r=n.animationModel,i=n.dataIndex;tc(e.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,i),n.symbolRepeat?mO(e,t,n,!0):yO(e,t,n,!0);bO(e,n,!0),_O(e,t,n,!0)}(n,c,s):n=SO(i,c,s,!0),i.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,r.add(n),MO(n,c,s)}else r.remove(n)}).remove(function(e){var t=o.getItemGraphicEl(e);t&&BO(o,e,t.__pictorialSymbolMeta.animationModel,t)}).execute(),this._data=i,this.group},t.prototype.remove=function(e,t){var n=this.group,r=this._data;e.get("animation")?r&&r.eachItemGraphicEl(function(t){BO(r,Ta(t).dataIndex,e,t)}):n.removeAll()},t.type="pictorialBar",t}(xp),IO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return p(t,e),t.prototype.getInitialData=function(t){return t.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=Au(Vw.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(Vw);var LO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._layers=[],n}return p(t,e),t.prototype.render=function(e,t,n){var r=e.getData(),i=this,o=this.group,a=e.getLayerSeries(),s=r.getLayout("layoutInfo"),l=s.rect,c=s.boundaryGap;function u(e){return e.name}o.x=0,o.y=l.y+c[0];var h=[];function d(t,n,s){var l=i._layers;if("remove"!==t){for(var c,u,d=[],f=[],p=a[n].indices,A=0;A<p.length;A++){var g=r.getItemLayout(p[A]),v=g.x,m=g.y0,y=g.y;d.push(v,m),f.push(v,m+y),c=r.getItemVisual(p[A],"style")}var b=r.getItemLayout(p[0]),_=e.getModel("label").get("margin"),w=e.getModel("emphasis");if("add"===t){var x=h[n]=new tr;u=new Cw({shape:{points:d,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),x.add(u),o.add(x),e.isAnimationEnabled()&&u.setClipPath(function(e,t,n){var r=new ha({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return nc(r,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,n),r}(u.getBoundingRect(),e,function(){u.removeClipPath()}))}else{x=l[s];u=x.childAt(0),o.add(x),h[n]=x,tc(u,{shape:{points:d,stackedOnPoints:f}},e),sc(u)}Uc(u,Qc(e),{labelDataIndex:p[A-1],defaultText:r.getName(p[A-1]),inheritColor:c.fill},{normal:{verticalAlign:"middle"}}),u.setTextConfig({position:null,local:!0});var C=u.getTextContent();C&&(C.x=b.x-_,C.y=b.y0+b.y/2),u.useStyle(c),r.setItemGraphicEl(n,u),Bs(u,e),ws(u,w.get("focus"),w.get("blurScope"),w.get("disabled"))}else o.remove(l[n])}new Lv(this._layersSeries||[],a,u,u).add(Object(g.bind)(d,this,"add")).update(Object(g.bind)(d,this,"update")).remove(Object(g.bind)(d,this,"remove")).execute(),this._layersSeries=a,this._layers=h},t.type="themeRiver",t}(xp),PO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Dx(g.bind(this.getData,this),g.bind(this.getRawData,this))},t.prototype.fixData=function(e){var t=e.length,n={},r=[];li(e,function(e){return n.hasOwnProperty(e[0]+"")||(n[e[0]+""]=-1),e[2]}).buckets.each(function(e,t){r.push({name:t,dataList:e})});for(var i=r.length,o=0;o<i;++o){for(var a=r[o].name,s=0;s<r[o].dataList.length;++s){var l=r[o].dataList[s][0]+"";n[l]=o}for(var l in n)n.hasOwnProperty(l)&&n[l]!==o&&(n[l]=o,e[t]=[l,0,a],t++)}return e},t.prototype.getInitialData=function(e,t){for(var n=this.getReferringComponents("singleAxis",ii).models[0].get("type"),r=g.filter(e.data,function(e){return void 0!==e[2]}),i=this.fixData(r||[]),o=[],a=this.nameMap=g.createHashMap(),s=0,l=0;l<i.length;++l)o.push(i[l][2]),a.get(i[l][2])||(a.set(i[l][2],s),s++);var c=am(i,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:Rv(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,u=new im(c,this);return u.initData(i),u},t.prototype.getLayerSeries=function(){for(var e=this.getData(),t=e.count(),n=[],r=0;r<t;++r)n[r]=r;var i=e.mapDimension("single"),o=[];return li(n,function(t){return e.get("name",t)}).buckets.each(function(t,n){t.sort(function(t,n){return e.get(i,t)-e.get(i,n)}),o.push({name:n,indices:t})}),o},t.prototype.getAxisTooltipData=function(e,t,n){g.isArray(e)||(e=e?[e]:[]);for(var r,i=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,l=0;l<s;++l){for(var c=Number.MAX_VALUE,u=-1,h=o[l].indices.length,d=0;d<h;++d){var f=i.get(e[0],o[l].indices[d]),p=Math.abs(f-t);p<=c&&(r=f,c=p,u=o[l].indices[d])}a.push(u)}return{dataIndices:a,nestestValue:r}},t.prototype.formatTooltip=function(e,t,n){var r=this.getData();return Qf("nameValue",{name:r.getName(e),value:r.get(r.mapDimension("value"),e)})},t.type="series.themeRiver",t.dependencies=["singleAxis"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},t}(hp);function FO(e,t){e.eachSeriesByType("themeRiver",function(e){var t=e.getData(),n=e.coordinateSystem,r={},i=n.getRect();r.rect=i;var o=e.get("boundaryGap"),a=n.getAxis();(r.boundaryGap=o,"horizontal"===a.orient)?(o[0]=pr(o[0],i.height),o[1]=pr(o[1],i.height),RO(t,e,i.height-o[0]-o[1])):(o[0]=pr(o[0],i.width),o[1]=pr(o[1],i.width),RO(t,e,i.width-o[0]-o[1]));t.setLayout("layoutInfo",r)})}function RO(e,t,n){if(e.count())for(var r,i=t.coordinateSystem,o=t.getLayerSeries(),a=e.mapDimension("single"),s=e.mapDimension("value"),l=g.map(o,function(t){return g.map(t.indices,function(t){var n=i.dataToPoint(e.get(a,t));return n[1]=e.get(s,t),n})}),c=function(e){for(var t=e.length,n=e[0].length,r=[],i=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<t;++l)s+=e[l][a][1];s>o&&(o=s),r.push(s)}for(var c=0;c<n;++c)i[c]=(o-r[c])/2;o=0;for(var u=0;u<n;++u){var h=r[u]+i[u];h>o&&(o=h)}return{y0:i,max:o}}(l),u=c.y0,h=n/c.max,d=o.length,f=o[0].indices.length,p=0;p<f;++p){r=u[p]*h,e.setItemLayout(o[0].indices[p],{layerIndex:0,x:l[0][p][0],y0:r,y:l[0][p][1]*h});for(var A=1;A<d;++A)r+=l[A-1][p][1]*h,e.setItemLayout(o[A].indices[p],{layerIndex:A,x:l[A][p][0],y0:r,y:l[A][p][1]*h})}}var NO=2,HO=4,jO=function(e){function t(t,n,r,i){var o=e.call(this)||this;o.z2=NO,o.textConfig={inside:!0},Ta(o).seriesIndex=n.seriesIndex;var a=new ka({z2:HO,silent:t.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,t,n,r,i),o}return p(t,e),t.prototype.updateData=function(e,t,n,r,i){this.node=t,t.piece=this,n=n||this._seriesModel,r=r||this._ecModel;var o=this;Ta(o).dataIndex=t.dataIndex;var a=t.getModel(),s=a.getModel("emphasis"),l=t.getLayout(),c=g.extend({},l);c.label=null;var u=t.getVisual("style");u.lineJoin="bevel";var h=t.getVisual("decal");h&&(u.decal=ag(h,i));var d=Kw(a.getModel("itemStyle"),c,!0);g.extend(c,d),g.each(Ra,function(e){var t=o.ensureState(e),n=a.getModel([e,"itemStyle"]);t.style=n.getItemStyle();var r=Kw(n,c);r&&(t.shape=r)}),e?(o.setShape(c),o.shape.r=l.r0,nc(o,{shape:{r:l.r}},n,t.dataIndex)):(tc(o,{shape:c},n),sc(o)),o.useStyle(u),this._updateLabel(n);var f=a.getShallow("cursor");f&&o.attr("cursor",f),this._seriesModel=n||this._seriesModel,this._ecModel=r||this._ecModel;var p=s.get("focus");ws(this,"ancestor"===p?t.getAncestorsIndices():"descendant"===p?t.getDescendantIndices():p,s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e){var t=this,n=this.node.getModel(),r=n.getModel("label"),i=this.node.getLayout(),o=i.endAngle-i.startAngle,a=(i.startAngle+i.endAngle)/2,s=Math.cos(a),l=Math.sin(a),c=this,u=c.getTextContent(),h=this.node.dataIndex,d=r.get("minAngle")/180*Math.PI,f=r.get("show")&&!(null!=d&&Math.abs(o)<d);function p(e,t){var n=e.get(t);return null==n?r.get(t):n}u.ignore=!f,g.each(Na,function(r){var d="normal"===r?n.getModel("label"):n.getModel([r,"label"]),f="normal"===r,A=f?u:u.ensureState(r),v=e.getFormattedLabel(h,r);f&&(v=v||t.node.name),A.style=zc(d,{},null,"normal"!==r,!0),v&&(A.style.text=v);var m=d.get("show");null==m||f||(A.ignore=!m);var y,b=p(d,"position"),_=f?c:c.states[r],w=_.style.fill;_.textConfig={outsideFill:"inherit"===d.get("color")?w:null,inside:"outside"!==b};var x=p(d,"distance")||0,C=p(d,"align");"outside"===b?(y=i.r+x,C=a>Math.PI/2?"right":"left"):C&&"center"!==C?"left"===C?(y=i.r0+x,a>Math.PI/2&&(C="right")):"right"===C&&(y=i.r-x,a>Math.PI/2&&(C="left")):(y=o===2*Math.PI&&0===i.r0?0:(i.r+i.r0)/2,C="center"),A.style.align=C,A.style.verticalAlign=p(d,"verticalAlign")||"middle",A.x=y*s+i.cx,A.y=y*l+i.cy;var S=p(d,"rotate"),B=0;"radial"===S?(B=Lo(-a))>Math.PI/2&&B<1.5*Math.PI&&(B+=Math.PI):"tangential"===S?(B=Math.PI/2-a)>Math.PI/2?B-=Math.PI:B<-Math.PI/2&&(B+=Math.PI):g.isNumber(S)&&(B=S*Math.PI/180),A.rotation=B}),u.dirtyStyle()},t}(ml),UO="sunburstRootToNode",QO="sunburstHighlight",zO="sunburstUnhighlight";var YO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n,r){var i=this;this.seriesModel=e,this.api=n,this.ecModel=t;var o=e.getData(),a=o.tree.root,s=e.getViewRoot(),l=this.group,c=e.get("renderLabelForZeroData"),u=[];s.eachNode(function(e){u.push(e)});var h=this._oldChildren||[];!function(r,i){if(0===r.length&&0===i.length)return;function s(e){return e.getId()}function u(s,u){var h=null==s?null:r[s],d=null==u?null:i[u];!function(r,i){c||!r||r.getValue()||(r=null);if(r!==a&&i!==a)if(i&&i.piece)r?(i.piece.updateData(!1,r,e,t,n),o.setItemGraphicEl(r.dataIndex,i.piece)):function(e){if(!e)return;e.piece&&(l.remove(e.piece),e.piece=null)}(i);else if(r){var s=new jO(r,e,t,n);l.add(s),o.setItemGraphicEl(r.dataIndex,s)}}(h,d)}new Lv(i,r,s,s).add(u).update(u).remove(g.curry(u,null)).execute()}(u,h),function(r,o){o.depth>0?(i.virtualPiece?i.virtualPiece.updateData(!1,r,e,t,n):(i.virtualPiece=new jO(r,e,t,n),l.add(i.virtualPiece)),o.piece.off("click"),i.virtualPiece.on("click",function(e){i._rootToNode(o.parentNode)})):i.virtualPiece&&(l.remove(i.virtualPiece),i.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=u},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",function(t){var n=!1;e.seriesModel.getViewRoot().eachNode(function(r){if(!n&&r.piece&&r.piece===t.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)e._rootToNode(r);else if("link"===i){var o=r.getModel(),a=o.get("link");if(a)uh(a,o.get("target",!0)||"_blank")}n=!0}})})},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:UO,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,t){var n=t.getData().getItemLayout(0);if(n){var r=e[0]-n.cx,i=e[1]-n.cy,o=Math.sqrt(r*r+i*i);return o<=n.r&&o>=n.r0}},t.type="sunburst",t}(xp);var VO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreStyleOnData=!0,n}return p(t,e),t.prototype.getInitialData=function(e,t){var n={name:e.name,children:e.data};!function e(t){var n=0;g.each(t.children,function(t){e(t);var r=t.value;g.isArray(r)&&(r=r[0]),n+=r});var r=t.value;g.isArray(r)&&(r=r[0]);(null==r||isNaN(r))&&(r=n);r<0&&(r=0);g.isArray(t.value)?t.value[0]=r:t.value=r}(n);var r=this._levelModels=g.map(e.levels||[],function(e){return new du(e,this,t)},this),i=WB.createTree(n,this,function(e){e.wrapMethod("getItemModel",function(e,t){var n=i.getNodeByDataIndex(t),o=r[n.depth];return o&&(e.parentModel=o),e})});return i.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(t){var n=e.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(t);return n.treePathInfo=KB(r,this),n},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)},t.prototype.enableAriaDecal=function(){rk(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(hp),GO=Math.PI/180;function WO(e,t,n){t.eachSeriesByType(e,function(e){var t=e.get("center"),r=e.get("radius");g.isArray(r)||(r=[0,r]),g.isArray(t)||(t=[t,t]);var i=n.getWidth(),o=n.getHeight(),a=Math.min(i,o),s=pr(t[0],i),l=pr(t[1],o),c=pr(r[0],a/2),u=pr(r[1],a/2),h=-e.get("startAngle")*GO,d=e.get("minAngle")*GO,f=e.getData().tree.root,p=e.getViewRoot(),A=p.depth,v=e.get("sort");null!=v&&function e(t,n){var r=t.children||[];t.children=function(e,t){if(g.isFunction(t)){var n=g.map(e,function(e,t){var n=e.getValue();return{params:{depth:e.depth,height:e.height,dataIndex:e.dataIndex,getValue:function(){return n}},index:t}});return n.sort(function(e,n){return t(e.params,n.params)}),g.map(n,function(t){return e[t.index]})}var r="asc"===t;return e.sort(function(e,t){var n=(e.getValue()-t.getValue())*(r?1:-1);return 0===n?(e.dataIndex-t.dataIndex)*(r?-1:1):n})}(r,n);r.length&&g.each(t.children,function(t){e(t,n)})}(p,v);var m=0;g.each(p.children,function(e){!isNaN(e.getValue())&&m++});var y=p.getValue(),b=Math.PI/(y||m)*2,_=p.depth>0,w=p.height-(_?-1:1),x=(u-c)/(w||1),C=e.get("clockwise"),S=e.get("stillShowZeroSum"),B=C?1:-1,k=function(t,n){if(t){var r=n;if(t!==f){var i=t.getValue(),o=0===y&&S?b:i*b;o<d&&(o=d),r=n+B*o;var u=t.depth-A-(_?-1:1),h=c+x*u,p=c+x*(u+1),v=e.getLevelModel(t);if(v){var m=v.get("r0",!0),w=v.get("r",!0),T=v.get("radius",!0);null!=T&&(m=T[0],w=T[1]),null!=m&&(h=pr(m,a/2)),null!=w&&(p=pr(w,a/2))}t.setLayout({angle:o,startAngle:n,endAngle:r,clockwise:C,cx:s,cy:l,r0:h,r:p})}if(t.children&&t.children.length){var E=0;g.each(t.children,function(e){E+=k(e,n+E)})}return r-n}};if(_){var T=c,E=c+x,M=2*Math.PI;f.setLayout({angle:M,startAngle:h,endAngle:h+M,clockwise:C,cx:s,cy:l,r0:T,r:E})}k(p,h)})}function XO(e){var t={};e.eachSeriesByType("sunburst",function(e){var n=e.getData(),r=n.tree;r.eachNode(function(i){var o=i.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=function(e,n,r){for(var i=e;i&&i.depth>1;)i=i.parentNode;var o=n.getColorFromPalette(i.name||i.dataIndex+"",t);return e.depth>1&&Object(g.isString)(o)&&(o=Object(Lt.lift)(o,(e.depth-1)/(r-1)*.5)),o}(i,e,r.root.height));var a=n.ensureUniqueItemVisual(i.dataIndex,"style");Object(g.extend)(a,o)})})}var ZO={color:"fill",borderColor:"stroke"},$O={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},KO=ei(),JO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,t){return pm(null,this)},t.prototype.getDataParams=function(t,n,r){var i=e.prototype.getDataParams.call(this,t,n);return r&&(i.info=KO(r).info),i},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(hp);function qO(e,t){return t=t||[0,0],g.map(["x","y"],function(n,r){var i=this.getAxis(n),o=t[r],a=e[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))},this)}function eI(e,t){return t=t||[0,0],g.map([0,1],function(n){var r=t[n],i=e[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])},this)}function tI(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,i=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function nI(e,t){return t=t||[0,0],g.map(["Radius","Angle"],function(n,r){var i=this["get"+n+"Axis"](),o=t[r],a=e[r]/2,s="category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s},this)}function rI(e,t,n,r){return e&&(e.legacy||!1!==e.legacy&&!n&&!r&&"tspan"!==t&&("text"===t||Object(g.hasOwn)(e,"text")))}function iI(e,t,n){var r,i,o,a=e;if("text"===t)o=a;else{o={},Object(g.hasOwn)(a,"text")&&(o.text=a.text),Object(g.hasOwn)(a,"rich")&&(o.rich=a.rich),Object(g.hasOwn)(a,"textFill")&&(o.fill=a.textFill),Object(g.hasOwn)(a,"textStroke")&&(o.stroke=a.textStroke),Object(g.hasOwn)(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Object(g.hasOwn)(a,"fontSize")&&(o.fontSize=a.fontSize),Object(g.hasOwn)(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Object(g.hasOwn)(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},r={};var s=Object(g.hasOwn)(a,"textPosition");n?r.position=s?a.textPosition:"inside":s&&(r.position=a.textPosition),Object(g.hasOwn)(a,"textPosition")&&(r.position=a.textPosition),Object(g.hasOwn)(a,"textOffset")&&(r.offset=a.textOffset),Object(g.hasOwn)(a,"textRotation")&&(r.rotation=a.textRotation),Object(g.hasOwn)(a,"textDistance")&&(r.distance=a.textDistance)}return oI(o,e),Object(g.each)(o.rich,function(e){oI(e,e)}),{textConfig:r,textContent:i}}function oI(e,t){t&&(t.font=t.textFont||t.font,Object(g.hasOwn)(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),Object(g.hasOwn)(t,"textAlign")&&(e.align=t.textAlign),Object(g.hasOwn)(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),Object(g.hasOwn)(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),Object(g.hasOwn)(t,"textWidth")&&(e.width=t.textWidth),Object(g.hasOwn)(t,"textHeight")&&(e.height=t.textHeight),Object(g.hasOwn)(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),Object(g.hasOwn)(t,"textPadding")&&(e.padding=t.textPadding),Object(g.hasOwn)(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),Object(g.hasOwn)(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),Object(g.hasOwn)(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),Object(g.hasOwn)(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),Object(g.hasOwn)(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),Object(g.hasOwn)(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),Object(g.hasOwn)(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function aI(e,t,n){var r=e;r.textPosition=r.textPosition||n.position||"inside",null!=n.offset&&(r.textOffset=n.offset),null!=n.rotation&&(r.textRotation=n.rotation),null!=n.distance&&(r.textDistance=n.distance);var i=r.textPosition.indexOf("inside")>=0,o=e.fill||"#000";sI(r,t);var a=null==r.textFill;return i?a&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),null==r.textStrokeWidth&&(r.textStrokeWidth=2)):(a&&(r.textFill=e.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=t.text,r.rich=t.rich,Object(g.each)(t.rich,function(e){sI(e,e)}),r}function sI(e,t){t&&(Object(g.hasOwn)(t,"fill")&&(e.textFill=t.fill),Object(g.hasOwn)(t,"stroke")&&(e.textStroke=t.fill),Object(g.hasOwn)(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),Object(g.hasOwn)(t,"font")&&(e.font=t.font),Object(g.hasOwn)(t,"fontStyle")&&(e.fontStyle=t.fontStyle),Object(g.hasOwn)(t,"fontWeight")&&(e.fontWeight=t.fontWeight),Object(g.hasOwn)(t,"fontSize")&&(e.fontSize=t.fontSize),Object(g.hasOwn)(t,"fontFamily")&&(e.fontFamily=t.fontFamily),Object(g.hasOwn)(t,"align")&&(e.textAlign=t.align),Object(g.hasOwn)(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),Object(g.hasOwn)(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),Object(g.hasOwn)(t,"width")&&(e.textWidth=t.width),Object(g.hasOwn)(t,"height")&&(e.textHeight=t.height),Object(g.hasOwn)(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),Object(g.hasOwn)(t,"padding")&&(e.textPadding=t.padding),Object(g.hasOwn)(t,"borderColor")&&(e.textBorderColor=t.borderColor),Object(g.hasOwn)(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),Object(g.hasOwn)(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),Object(g.hasOwn)(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),Object(g.hasOwn)(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),Object(g.hasOwn)(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),Object(g.hasOwn)(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),Object(g.hasOwn)(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),Object(g.hasOwn)(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),Object(g.hasOwn)(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),Object(g.hasOwn)(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var lI={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},cI=Object(g.keys)(lI),uI=(Object(g.reduce)(Dn,function(e,t){return e[t]=1,e},{}),Dn.join(", "),["","style","shape","extra"]),hI=ei();function dI(e,t,n,r,i){var o=e+"Animation",a=ql(e,r,i)||{},s=hI(t).userDuring;return a.duration>0&&(a.during=s?Object(g.bind)(yI,{el:t,userDuring:s}):null,a.setToFinal=!0,a.scope=e),Object(g.extend)(a,n[o]),a}function fI(e,t,n,r){var i=(r=r||{}).dataIndex,o=r.isInit,a=r.clearStyle,s=n.isAnimationEnabled(),l=hI(e),c=t.style;l.userDuring=t.during;var u={},h={};if(function(e,t,n){for(var r=0;r<cI.length;r++){var i=cI[r],o=lI[i],a=t[i];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(var r=0;r<Dn.length;r++){var s=Dn[r];null!=t[s]&&(n[s]=t[s])}}(0,t,h),_I("shape",t,h),_I("extra",t,h),!o&&s&&(function(e,t,n){for(var r=t.transition,i=gI(r)?Dn:Qr(r||[]),o=0;o<i.length;o++){var a=i[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=e[a];0,n[a]=s}}}(e,t,u),bI("shape",e,t,u),bI("extra",e,t,u),function(e,t,n,r){if(!n)return;var i,o=e.style;if(o){var a=n.transition,s=t.transition;if(a&&!gI(a)){var l=Qr(a);!i&&(i=r.style={});for(var c=0;c<l.length;c++){var u=l[c],h=o[u];i[u]=h}}else if(e.getAnimationStyleProps&&(gI(s)||gI(a)||Object(g.indexOf)(s,"style")>=0)){var d=e.getAnimationStyleProps(),f=d?d.style:null;if(f){!i&&(i=r.style={});for(var p=Object(g.keys)(n),c=0;c<p.length;c++){var u=p[c];if(f[u]){var h=o[u];i[u]=h}}}}}}(e,t,c,u)),h.style=c,function(e,t,n){var r=t.style;if(!e.isGroup&&r){if(n){e.useStyle({});for(var i=e.animators,o=0;o<i.length;o++){var a=i[o];"style"===a.targetName&&a.changeTarget(e.style)}}e.setStyle(r)}t&&(t.style=null,t&&e.attr(t),t.style=r)}(e,h,a),function(e,t){Object(g.hasOwn)(t,"silent")&&(e.silent=t.silent),Object(g.hasOwn)(t,"ignore")&&(e.ignore=t.ignore),e instanceof Xi&&Object(g.hasOwn)(t,"invisible")&&(e.invisible=t.invisible);e instanceof $o&&Object(g.hasOwn)(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}(e,t),s)if(o){var d={};Object(g.each)(uI,function(e){var n=e?t[e]:t;n&&n.enterFrom&&(e&&(d[e]=d[e]||{}),Object(g.extend)(e?d[e]:d,n.enterFrom))});var f=dI("enter",e,t,n,i);f.duration>0&&e.animateFrom(d,f)}else!function(e,t,n,r,i){if(i){var o=dI("update",e,t,r,n);o.duration>0&&e.animateFrom(i,o)}}(e,t,i||0,n,u);pI(e,t),c?e.dirty():e.markRedraw()}function pI(e,t){for(var n=hI(e).leaveToProps,r=0;r<uI.length;r++){var i=uI[r],o=i?t[i]:t;o&&o.leaveTo&&(n||(n=hI(e).leaveToProps={}),i&&(n[i]=n[i]||{}),Object(g.extend)(i?n[i]:n,o.leaveTo))}}function AI(e,t,n,r){if(e){var i=e.parent,o=hI(e).leaveToProps;if(o){var a=dI("update",e,t,n,0);a.done=function(){i.remove(e),r&&r()},e.animateTo(o,a)}else i.remove(e),r&&r()}}function gI(e){return"all"===e}var vI={},mI={setTransform:function(e,t){return vI.el[e]=t,this},getTransform:function(e){return vI.el[e]},setShape:function(e,t){var n=vI.el;return(n.shape||(n.shape={}))[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=vI.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=vI.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=vI.el.style;if(t)return t[e]},setExtra:function(e,t){return(vI.el.extra||(vI.el.extra={}))[e]=t,this},getExtra:function(e){var t=vI.el.extra;if(t)return t[e]}};function yI(){var e=this.el;if(e){var t=hI(e).userDuring,n=this.userDuring;t===n?(vI.el=e,n(mI)):this.el=this.userDuring=null}}function bI(e,t,n,r){var i=n[e];if(i){var o,a=t[e];if(a){var s=n.transition,l=i.transition;if(l)if(!o&&(o=r[e]={}),gI(l))Object(g.extend)(o,a);else for(var c=Qr(l),u=0;u<c.length;u++){var h=a[f=c[u]];o[f]=h}else if(gI(s)||Object(g.indexOf)(s,e)>=0){!o&&(o=r[e]={});var d=Object(g.keys)(a);for(u=0;u<d.length;u++){var f;h=a[f=d[u]];wI(i[f],h)&&(o[f]=h)}}}}}function _I(e,t,n){var r=t[e];if(r)for(var i=n[e]={},o=Object(g.keys)(r),a=0;a<o.length;a++){var s=o[a];i[s]=zt(r[s])}}function wI(e,t){return Object(g.isArrayLike)(e)?e!==t:null!=e&&isFinite(e)}var xI=ei(),CI=["percent","easing","shape","style","extra"];function SI(e){e.stopAnimation("keyframe"),e.attr(xI(e))}function BI(e,t,n){if(n.isAnimationEnabled()&&t)if(Object(g.isArray)(t))Object(g.each)(t,function(t){BI(e,t,n)});else{var r=t.keyframes,i=t.duration;if(n&&null==i){var o=ql("enter",n,0);i=o&&o.duration}if(r&&i){var a=xI(e);Object(g.each)(uI,function(n){if(!n||e[n]){var o;r.sort(function(e,t){return e.percent-t.percent}),Object(g.each)(r,function(r){var s=e.animators,l=n?r[n]:r;if(l){var c=Object(g.keys)(l);if(n||(c=Object(g.filter)(c,function(e){return Object(g.indexOf)(CI,e)<0})),c.length){o||((o=e.animate(n,t.loop,!0)).scope="keyframe");for(var u=0;u<s.length;u++)s[u]!==o&&s[u].targetName===o.targetName&&s[u].stopTracks(c);n&&(a[n]=a[n]||{});var h=n?a[n]:a;Object(g.each)(c,function(t){h[t]=((n?e[n]:e)||{})[t]}),o.whenWithKeys(i*r.percent,l,c,r.easing)}}}),o&&o.delay(t.delay||0).duration(i).start(t.easing)}})}}}var kI="emphasis",TI="normal",EI=[TI,kI,"blur","select"],MI={normal:["itemStyle"],emphasis:[kI,"itemStyle"],blur:["blur","itemStyle"],select:["select","itemStyle"]},DI={normal:["label"],emphasis:[kI,"label"],blur:["blur","label"],select:["select","label"]},OI=["x","y"],II="e\0\0",LI={normal:{},emphasis:{},blur:{},select:{}},PI={cartesian2d:function(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:g.bind(qO,e)}}},geo:function(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:g.bind(eI,e)}}},single:function(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:Object(g.bind)(tI,e)}}},polar:function(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),r=t.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:r[1],r0:r[0]},api:{coord:function(r){var i=t.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=e.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a},size:g.bind(nI,e)}}},calendar:function(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}};function FI(e){return e instanceof $o}function RI(e){return e instanceof Xi}var NI=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n,r){this._progressiveEls=null;var i=this._data,o=e.getData(),a=this.group,s=zI(e,o,t,n);i||a.removeAll(),o.diff(i).add(function(t){YI(n,null,t,s(t,r),e,a,o)}).remove(function(t){var n=i.getItemGraphicEl(t);n&&AI(n,KO(n).option,e)}).update(function(t,l){var c=i.getItemGraphicEl(l);YI(n,c,t,s(t,r),e,a,o)}).execute();var l=e.get("clip",!0)?kw(e.coordinateSystem,!1,e):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},t.prototype.incrementalPrepareRender=function(e,t,n){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,n,r,i){var o=t.getData(),a=zI(t,o,n,r),s=this._progressiveEls=[];function l(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}for(var c=e.start;c<e.end;c++){var u=YI(null,null,c,a(c,i),t,this.group,o);u&&(u.traverse(l),s.push(u))}},t.prototype.eachRendered=function(e){Rc(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,t,n,r){var i=t.element;if(null==i||n.name===i)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===i)return!0;return!1},t.type="custom",t}(xp);function HI(e){var t,n=e.type;if("path"===n){var r=e.shape,i=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,o=eL(r);t=gc(o,null,i,r.layout||"center"),KO(t).customPathData=o}else if("image"===n)t=new ra({}),KO(t).customImagePath=e.style.image;else if("text"===n)t=new ka({});else if("group"===n)t=new tr;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=Ac(n);if(!a){var s="";0,Nr(s)}t=new a}return KO(t).customGraphicType=n,t.name=e.name,t.z2EmphasisLift=1,t.z2SelectLift=1,t}function jI(e,t,n,r,i,o,a){SI(t);var s=i&&i.normal.cfg;s&&t.setTextConfig(s),r&&null==r.transition&&(r.transition=OI);var l=r&&r.style;if(l){if("text"===t.type){var c=l;Object(g.hasOwn)(c,"textFill")&&(c.fill=c.textFill),Object(g.hasOwn)(c,"textStroke")&&(c.stroke=c.textStroke)}var u=void 0,h=FI(t)?l.decal:null;e&&h&&(h.dirty=!0,u=ag(h,e)),l.__decalPattern=u}RI(t)&&(l&&(u=l.__decalPattern)&&(l.decal=u));fI(t,r,o,{dataIndex:n,isInit:a,clearStyle:!0}),BI(t,r.keyframeAnimation,o)}function UI(e,t,n,r,i){var o=t.isGroup?null:t,a=i&&i[e].cfg;if(o){var s=o.ensureState(e);if(!1===r){var l=o.getState(e);l&&(l.style=null)}else s.style=r||null;a&&(s.textConfig=a),as(o)}}function QI(e,t,n){var r=n===TI,i=r?t:XI(t,n),o=i?i.z2:null;null!=o&&((r?e:e.ensureState(n)).z2=o||0)}function zI(e,t,n,r){var i=e.get("renderItem"),o=e.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):PI[o.type](o));for(var s,l,c=Object(g.defaults)({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:function(e,n){return null==n&&(n=s),t.getStore().get(t.getDimensionIndex(e||0),n)},style:function(n,r){0;null==r&&(r=s);var i=t.getItemVisual(r,"style"),o=i&&i.fill,a=i&&i.opacity,l=y(r,TI).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var c={inheritColor:Object(g.isString)(o)?o:"#000"},u=b(r,TI),h=zc(u,null,c,!1,!0);h.text=u.getShallow("show")?Object(g.retrieve2)(e.getFormattedLabel(r,TI),sw(t,r)):null;var d=Yc(u,c,!1);return w(n,l),l=aI(l,h,d),n&&_(l,n),l.legacy=!0,l},ordinalRawValue:function(e,n){null==n&&(n=s),e=e||0;var r=t.getDimensionInfo(e);if(!r){var i=t.getDimensionIndex(e);return i>=0?t.getStore().get(i,n):void 0}var o=t.get(r.name,n),a=r&&r.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,r){0;null==r&&(r=s);var i=y(r,kI).getItemStyle(),o=b(r,kI),a=zc(o,null,null,!0,!0);a.text=o.getShallow("show")?Object(g.retrieve3)(e.getFormattedLabel(r,kI),e.getFormattedLabel(r,TI),sw(t,r)):null;var l=Yc(o,null,!0);return w(n,i),i=aI(i,a,l),n&&_(i,n),i.legacy=!0,i},visual:function(e,n){if(null==n&&(n=s),Object(g.hasOwn)(ZO,e)){var r=t.getItemVisual(n,"style");return r?r[ZO[e]]:null}if(Object(g.hasOwn)($O,e))return t.getItemVisual(n,e)},barLayout:function(e){if("cartesian2d"===o.type){var t=o.getBaseAxis();return function(e){var t=[],n=e.axis;if("category"===n.type){for(var r=n.getBandWidth(),i=0;i<e.count;i++)t.push(Object(g.defaults)({bandWidth:r,axisKey:"axis0",stackId:Fm+i},e));var o=Um(t),a=[];for(i=0;i<e.count;i++){var s=o.axis0[Fm+i];s.offsetCenter=s.offset+s.width/2,a.push(s)}return a}}(Object(g.defaults)({axis:t},e))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(e){return Zc(e,n)}},a.api||{}),u={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:a.coordSys,dataInsideLength:t.count(),encode:function(e){var t={};return Object(g.each)(e.dimensions,function(n){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var i=r.coordDim;(t[i]=t[i]||[])[r.coordDimIndex]=e.getDimensionIndex(n)}}),t}(e.getData())},h={},d={},f={},p={},A=0;A<EI.length;A++){var v=EI[A];f[v]=e.getModel(MI[v]),p[v]=e.getModel(DI[v])}function m(e){return e===s?l||(l=t.getItemModel(e)):t.getItemModel(e)}function y(e,n){return t.hasItemOption?e===s?h[n]||(h[n]=m(e).getModel(MI[n])):m(e).getModel(MI[n]):f[n]}function b(e,n){return t.hasItemOption?e===s?d[n]||(d[n]=m(e).getModel(DI[n])):m(e).getModel(DI[n]):p[n]}return function(e,n){return s=e,l=null,h={},d={},i&&i(Object(g.defaults)({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},u),c)};function _(e,t){for(var n in t)Object(g.hasOwn)(t,n)&&(e[n]=t[n])}function w(e,t){e&&(e.textFill&&(t.textFill=e.textFill),e.textPosition&&(t.textPosition=e.textPosition))}}function YI(e,t,n,r,i,o,a){if(r){var s=VI(e,t,n,r,i,o);return s&&a.setItemGraphicEl(n,s),s&&ws(s,r.focus,r.blurScope,r.emphasisDisabled),s}o.remove(t)}function VI(e,t,n,r,i,o){var a=-1,s=t;t&&GI(t,r,i)&&(a=Object(g.indexOf)(o.childrenRef(),t),t=null);var l,c,u=!t,h=t;h?h.clearStates():(h=HI(r),s&&(l=s,(c=h).copyTransform(l),RI(c)&&RI(l)&&(c.setStyle(l.style),c.z=l.z,c.z2=l.z2,c.zlevel=l.zlevel,c.invisible=l.invisible,c.ignore=l.ignore,FI(c)&&FI(l)&&c.setShape(l.shape)))),!1===r.morph?h.disableMorphing=!0:h.disableMorphing&&(h.disableMorphing=!1),LI.normal.cfg=LI.normal.conOpt=LI.emphasis.cfg=LI.emphasis.conOpt=LI.blur.cfg=LI.blur.conOpt=LI.select.cfg=LI.select.conOpt=null,LI.isLegacy=!1,function(e,t,n,r,i,o){if(e.isGroup)return;WI(n,null,o),WI(n,kI,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,c=o.select.conOpt;if(null!=a||null!=s||null!=c||null!=l){var u=e.getTextContent();if(!1===a)u&&e.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},u?u.clearStates():(u=HI(a),e.setTextContent(u)),jI(null,u,t,a,null,r,i);for(var h=a&&a.style,d=0;d<EI.length;d++){var f=EI[d];if(f!==TI){var p=o[f].conOpt;UI(f,u,0,ZI(a,p,f),null)}}h?u.dirty():u.markRedraw()}}}(h,n,r,i,u,LI),function(e,t,n,r,i){var o=n.clipPath;if(!1===o)e&&e.getClipPath()&&e.removeClipPath();else if(o){var a=e.getClipPath();a&&GI(a,o,r)&&(a=null),a||(a=HI(o),e.setClipPath(a)),jI(null,a,t,o,null,r,i)}}(h,n,r,i,u),jI(e,h,n,r,LI,i,u),Object(g.hasOwn)(r,"info")&&(KO(h).info=r.info);for(var d=0;d<EI.length;d++){var f=EI[d];if(f!==TI){var p=XI(r,f);UI(f,h,0,ZI(r,p,f),LI)}}return function(e,t,n){if(!e.isGroup){var r=e,i=n.currentZ,o=n.currentZLevel;r.z=i,r.zlevel=o;var a=t.z2;null!=a&&(r.z2=a||0);for(var s=0;s<EI.length;s++)QI(r,t,EI[s])}}(h,r,i),"group"===r.type&&function(e,t,n,r,i){var o=r.children,a=o?o.length:0,s=r.$mergeChildren,l="byName"===s||r.diffChildrenByName,c=!1===s;if(!a&&!l&&!c)return;if(l)return u={api:e,oldChildren:t.children()||[],newChildren:o||[],dataIndex:n,seriesModel:i,group:t},void new Lv(u.oldChildren,u.newChildren,KI,KI,u).add(JI).update(JI).remove(qI).execute();var u;c&&t.removeAll();for(var h=0;h<a;h++){var d=o[h],f=t.childAt(h);d?(null==d.ignore&&(d.ignore=!1),VI(e,f,n,d,i,t)):f.ignore=!0}for(var p=t.childCount()-1;p>=h;p--){var A=t.childAt(p);$I(t,A,i)}}(e,h,n,r,i),a>=0?o.replaceAt(h,a):o.add(h),h}function GI(e,t,n){var r,i=KO(e),o=t.type,a=t.shape,s=t.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==i.customGraphicType||"path"===o&&((r=a)&&(Object(g.hasOwn)(r,"pathData")||Object(g.hasOwn)(r,"d")))&&eL(a)!==i.customPathData||"image"===o&&Object(g.hasOwn)(s,"image")&&s.image!==i.customImagePath}function WI(e,t,n){var r=t?XI(e,t):e,i=t?ZI(e,r,kI):e.style,o=e.type,a=r?r.textConfig:null,s=e.textContent,l=s?t?XI(s,t):s:null;if(i&&(n.isLegacy||rI(i,o,!!a,!!l))){n.isLegacy=!0;var c=iI(i,o,!t);!a&&c.textConfig&&(a=c.textConfig),!l&&c.textContent&&(l=c.textContent)}if(!t&&l){var u=l;!u.type&&(u.type="text")}var h=t?n[t]:n.normal;h.cfg=a,h.conOpt=l}function XI(e,t){return t?e?e[t]:null:e}function ZI(e,t,n){var r=t&&t.style;return null==r&&n===kI&&e&&(r=e.styleEmphasis),r}function $I(e,t,n){t&&AI(t,KO(e).option,n)}function KI(e,t){var n=e&&e.name;return null!=n?n:II+t}function JI(e,t){var n=this.context,r=null!=e?n.newChildren[e]:null,i=null!=t?n.oldChildren[t]:null;VI(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function qI(e){var t=this.context,n=t.oldChildren[e];n&&AI(n,KO(n).option,t.seriesModel)}function eL(e){return e&&(e.pathData||e.d)}var tL=ei(),nL=g.clone,rL=g.bind;function iL(e,t,n,r){(function e(t,n){if(g.isObject(t)&&g.isObject(n)){var r=!0;return g.each(n,function(n,i){r=r&&e(t[i],n)}),!!r}return t===n})(tL(n).lastProp,r)||(tL(n).lastProp=r,t?tc(n,r,e):(n.stopAnimation(),n.attr(r)))}function oL(e,t){e[t.get(["label","show"])?"show":"hide"]()}function aL(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function sL(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse(function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=i&&(e.zlevel=i),e.silent=n)})}var lL=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(e,t,n,r){var i=t.get("value"),o=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,r||this._lastValue!==i||this._lastStatus!==o){this._lastValue=i,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,i,e,t,n);var c=l.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var u=this._moveAnimation=this.determineAnimation(e,t);if(a){var h=g.curry(iL,t,u);this.updatePointerEl(a,l,h),this.updateLabelEl(a,l,h,t)}else a=this._group=new tr,this.createPointerEl(a,l,e,t),this.createLabelEl(a,l,e,t),n.getZr().add(a);sL(a,t,!0),this._renderHandle(i)}},e.prototype.remove=function(e){this.clear(e)},e.prototype.dispose=function(e){this.clear(e)},e.prototype.determineAnimation=function(e,t){var n=t.get("animation"),r=e.axis,i="category"===r.type,o=t.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(i&&r.getBandWidth()>a)return!0;if(o){var s=vC(e).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},e.prototype.makeElOption=function(e,t,n,r,i){},e.prototype.createPointerEl=function(e,t,n,r){var i=t.pointer;if(i){var o=tL(e).pointerEl=new a[i.type](nL(t.pointer));e.add(o)}},e.prototype.createLabelEl=function(e,t,n,r){if(t.label){var i=tL(e).labelEl=new ka(nL(t.label));e.add(i),oL(i,r)}},e.prototype.updatePointerEl=function(e,t,n){var r=tL(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},e.prototype.updateLabelEl=function(e,t,n,r){var i=tL(e).labelEl;i&&(i.setStyle(t.label.style),n(i,{x:t.label.x,y:t.label.y}),oL(i,r))},e.prototype._renderHandle=function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return i&&r.remove(i),void(this._handle=null);this._handle||(t=!0,i=this._handle=Dc(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){ce(e.event)},onmousedown:rL(this._onHandleDragMove,this,0,0),drift:rL(this._onHandleDragMove,this),ondragend:rL(this._onHandleDragEnd,this)}),r.add(i)),sL(i,n,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");g.isArray(s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,Tp(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},e.prototype._moveHandleToValue=function(e,t){iL(this._axisPointerModel,!t&&this._moveAnimation,this._handle,aL(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(aL(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(aL(r)),tL(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){if(this._handle){var e=this._payloadInfo,t=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:t.axis.dim,axisIndex:t.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),Ep(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}},e}();function cL(e){var t,n=e.get("type"),r=e.getModel(n+"Style");return"line"===n?(t=r.getLineStyle()).fill=null:"shadow"===n&&((t=r.getAreaStyle()).stroke=null),t}function uL(e,t,n,r,i){var o=hL(n.get("value"),t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=th(a.get("padding")||0),l=a.getFont(),c=Hn(o,l),u=i.position,h=c.width+s[1]+s[3],d=c.height+s[0]+s[2],f=i.align;"right"===f&&(u[0]-=h),"center"===f&&(u[0]-=h/2);var p=i.verticalAlign;"bottom"===p&&(u[1]-=d),"middle"===p&&(u[1]-=d/2),function(e,t,n,r){var i=r.getWidth(),o=r.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}(u,h,d,r);var A=a.get("backgroundColor");A&&"auto"!==A||(A=t.get(["axisLine","lineStyle","color"])),e.label={x:u[0],y:u[1],style:zc(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:A}),z2:10}}function hL(e,t,n,r,i){e=t.scale.parse(e);var o=t.scale.getLabel({value:e},{precision:i.precision}),a=i.formatter;if(a){var s={value:by(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};g.each(r,function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,i=t&&t.getDataParams(r);i&&s.seriesData.push(i)}),g.isString(a)?o=a.replace("{value}",o):g.isFunction(a)&&(o=a(s))}return o}function dL(e,t,n){var r=[1,0,0,1,0,0];return ye(r,r,n.rotation),me(r,r,n.position),Sc([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function fL(e,t,n,r,i,o){var a=pC.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),uL(t,r,i,o,{position:dL(r.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function pL(e,t,n){return{x1:e[n=n||0],y1:e[1-n],x2:t[n],y2:t[1-n]}}function AL(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}}function gL(e,t,n,r,i,o){return{cx:e,cy:t,r0:n,r:r,startAngle:i,endAngle:o,clockwise:!0}}var vL=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis,a=o.grid,s=r.get("type"),l=mL(a,o).getOtherAxis(o).getGlobalExtent(),c=o.toGlobalCoord(o.dataToCoord(t,!0));if(s&&"none"!==s){var u=cL(r),h=yL[s](o,c,l);h.style=u,e.graphicKey=h.type,e.pointer=h}fL(t,e,Jx(a.model,n),n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=Jx(t.axis.grid.model,t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=dL(t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=mL(o,i).getOtherAxis(i).getGlobalExtent(),l="x"===i.dim?0:1,c=[e.x,e.y];c[l]+=t[l],c[l]=Math.min(a[1],c[l]),c[l]=Math.max(a[0],c[l]);var u=(s[1]+s[0])/2,h=[u,u];h[l]=c[l];return{x:c[0],y:c[1],rotation:e.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},t}(lL);function mL(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var yL={line:function(e,t,n){return{type:"Line",subPixelOptimize:!0,shape:pL([t,n[0]],[t,n[1]],bL(e))}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:AL([t-r/2,n[0]],[r,i],bL(e))}}};function bL(e){return"x"===e.dim?0:1}var _L=vL,wL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(Ch),xL=ei(),CL=g.each;function SL(e,t,n){if(!A.a.node){var r=t.getZr();xL(r).records||(xL(r).records={}),function(e,t){if(xL(e).initialized)return;function n(n,r){e.on(n,function(n){var i=function(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}(t);CL(xL(e).records,function(e){e&&r(e,n,i.dispatchAction)}),function(e,t){var n,r=e.showTip.length,i=e.hideTip.length;r?n=e.showTip[r-1]:i&&(n=e.hideTip[i-1]);n&&(n.dispatchAction=null,t.dispatchAction(n))}(i.pendings,t)})}xL(e).initialized=!0,n("click",g.curry(kL,"click")),n("mousemove",g.curry(kL,"mousemove")),n("globalout",BL)}(r,t),(xL(r).records[e]||(xL(r).records[e]={})).handler=n}}function BL(e,t,n){e.handler("leave",null,n)}function kL(e,t,n,r){t.handler(e,n,r)}function TL(e,t){if(!A.a.node){var n=t.getZr();(xL(n).records||{})[e]&&(xL(n).records[e]=null)}}var EL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){var r=t.getComponent("tooltip"),i=e.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";SL("axisPointer",n,function(e,t,n){"none"!==i&&("leave"===e||i.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})})},t.prototype.remove=function(e,t){TL("axisPointer",t)},t.prototype.dispose=function(e,t){TL("axisPointer",t)},t.type="axisPointer",t}(fp);function ML(e,t){var n,r=[],i=e.seriesIndex;if(null==i||!(n=t.getSeriesByIndex(i)))return{point:[]};var o=n.getData(),a=qr(o,e);if(null==a||a<0||g.isArray(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(e.isStacked){var c=l.getBaseAxis(),u=l.getOtherAxis(c).dim,h=c.dim,d="x"===u||"radius"===u?1:0,f=o.mapDimension(h),p=[];p[d]=o.get(f,a),p[1-d]=o.get(o.getCalculationInfo("stackResultDimension"),a),r=l.dataToPoint(p)||[]}else r=l.dataToPoint(o.getValues(g.map(l.dimensions,function(e){return o.mapDimension(e)}),a))||[];else if(s){var A=s.getBoundingRect().clone();A.applyTransform(s.transform),r=[A.x+A.width/2,A.y+A.height/2]}return{point:r,el:s}}var DL=ei();function OL(e,t,n){var r=e.currTrigger,i=[e.x,e.y],o=e,a=e.dispatchAction||Object(g.bind)(n.dispatchAction,n),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){RL(i)&&(i=ML({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},t).point);var l=RL(i),c=o.axesInfo,u=s.axesInfo,h="leave"===r||RL(i),d={},f={},p={list:[],map:{}},A={showPointer:Object(g.curry)(LL,f),showTooltip:Object(g.curry)(PL,p)};Object(g.each)(s.coordSysMap,function(e,t){var n=l||e.containPoint(i);Object(g.each)(s.coordSysAxesInfo[t],function(e,t){var r=e.axis,o=function(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}(c,e);if(!h&&n&&(!c||o)){var a=o&&o.value;null!=a||l||(a=r.pointToData(i)),null!=a&&IL(e,a,A,!1,d)}})});var v={};return Object(g.each)(u,function(e,t){var n=e.linkGroup;n&&!f[t]&&Object(g.each)(n.axesInfo,function(t,r){var i=f[r];if(t!==e&&i){var o=i.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,FL(t),FL(e)))),v[e.key]=o}})}),Object(g.each)(v,function(e,t){IL(u[t],e,A,!0,d)}),function(e,t,n){var r=n.axesInfo=[];Object(g.each)(t,function(t,n){var i=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})})}(f,u,d),function(e,t,n,r){if(RL(t)||!e.list.length)return void r({type:"hideTip"});var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}(p,i,e,a),function(e,t,n){var r=n.getZr(),i=DL(r).axisPointerLastHighlights||{},o=DL(r).axisPointerLastHighlights={};Object(g.each)(e,function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&Object(g.each)(n.seriesDataIndices,function(e){var t=e.seriesIndex+" | "+e.dataIndex;o[t]=e})});var a=[],s=[];Object(g.each)(i,function(e,t){!o[t]&&s.push(e)}),Object(g.each)(o,function(e,t){!i[t]&&a.push(e)}),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),a.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:a})}(u,0,n),d}}function IL(e,t,n,r,i){var o=e.axis;if(!o.scale.isBlank()&&o.containData(t))if(e.involveSeries){var a=function(e,t){var n=t.axis,r=n.dim,i=e,o=[],a=Number.MAX_VALUE,s=-1;return Object(g.each)(t.seriesModels,function(t,l){var c,u,h=t.getData().mapDimensionsAll(r);if(t.getAxisTooltipData){var d=t.getAxisTooltipData(h,e,n);u=d.dataIndices,c=d.nestestValue}else{if(!(u=t.getData().indicesOfNearest(h[0],e,"category"===n.type?.5:null)).length)return;c=t.getData().get(h[0],u[0])}if(null!=c&&isFinite(c)){var f=e-c,p=Math.abs(f);p<=a&&((p<a||f>=0&&s<0)&&(a=p,s=f,i=c,o.length=0),Object(g.each)(u,function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:o,snapToValue:i}}(t,e),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==i.seriesIndex&&Object(g.extend)(i,s[0]),!r&&e.snap&&o.containData(l)&&null!=l&&(t=l),n.showPointer(e,t,s),n.showTooltip(e,a,l)}else n.showPointer(e,t)}function LL(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function PL(e,t,n,r){var i=n.payloadBatch,o=t.axis,a=o.model,s=t.axisPointerModel;if(t.triggerTooltip&&i.length){var l=t.coordSys.model,c=yC(l),u=e.map[c];u||(u=e.map[c]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},e.list.push(u)),u.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function FL(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function RL(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function NL(e){_C.registerAxisPointerClass("CartesianAxisPointer",_L),e.registerComponentModel(wL),e.registerComponentView(EL),e.registerPreprocessor(function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!Object(g.isArray)(t)&&(e.axisPointer.link=[t])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=AC(e,t)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},OL)}var HL=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(t),c=r.get("type");if(c&&"none"!==c){var u=cL(r),h=jL[c](o,a,l,s);h.style=u,e.graphicKey=h.type,e.pointer=h}uL(e,n,r,i,function(e,t,n,r,i){var o=t.axis,a=o.dataToCoord(e),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,c,u,h=r.getRadiusAxis().getExtent();if("radius"===o.dim){var d=[1,0,0,1,0,0];ye(d,d,s),me(d,d,[r.cx,r.cy]),l=Sc([a,-i],d);var f=t.getModel("axisLabel").get("rotate")||0,p=pC.innerTextLayout(s,f*Math.PI/180,-1);c=p.textAlign,u=p.textVerticalAlign}else{var A=h[1];l=r.coordToPoint([A+i,a]);var g=r.cx,v=r.cy;c=Math.abs(l[0]-g)/A<.3?"center":l[0]>g?"left":"right",u=Math.abs(l[1]-v)/A<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:c,verticalAlign:u}}(t,n,0,a,r.get(["label","margin"])))},t}(lL);var jL={line:function(e,t,n,r){return"angle"===e.dim?{type:"Line",shape:pL(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r){var i=Math.max(1,e.getBandWidth()),o=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:gL(t.cx,t.cy,r[0],r[1],(-n-i/2)*o,(i/2-n)*o)}:{type:"Sector",shape:gL(t.cx,t.cy,n-i/2,n+i/2,0,2*Math.PI)}}},UL=HL,QL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.findAxisModel=function(e){var t;return this.ecModel.eachComponent(e,function(e){e.getCoordSysModel()===this&&(t=e)},this),t},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(Ch),zL=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",ii).models[0]},t.type="polarAxis",t}(Ch);g.mixin(zL,Cy);var YL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="angleAxis",t}(zL),VL=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="radiusAxis",t}(zL),GL=function(e){function t(t,n){return e.call(this,"radius",t,n)||this}return p(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t}(tb);GL.prototype.dataToRadius=tb.prototype.dataToCoord,GL.prototype.radiusToData=tb.prototype.coordToData;var WL=GL,XL=ei(),ZL=function(e){function t(t,n){return e.call(this,"angle",t,n||[0,360])||this}return p(t,e),t.prototype.pointToData=function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this.getLabelModel(),t=this.scale,n=t.getExtent(),r=t.count();if(n[1]-n[0]<1)return 0;var i=n[0],o=this.dataToCoord(i+1)-this.dataToCoord(i),a=Math.abs(o),s=Hn(null==i?"":i+"",e.getFont(),"center","top"),l=Math.max(s.height,7)/a;isNaN(l)&&(l=1/0);var c=Math.max(0,Math.floor(l)),u=XL(this.model),h=u.lastAutoInterval,d=u.lastTickCount;return null!=h&&null!=d&&Math.abs(h-c)<=1&&Math.abs(d-r)<=1&&h>c?c=h:(u.lastTickCount=r,u.lastAutoInterval=c),c},t}(tb);ZL.prototype.dataToAngle=tb.prototype.dataToCoord,ZL.prototype.angleToData=tb.prototype.coordToData;var $L=ZL,KL=["radius","angle"];function JL(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}var qL=function(){function e(e){this.dimensions=KL,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new WL,this._angleAxis=new $L,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},e.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},e.prototype.getAxis=function(e){return this["_"+e+"Axis"]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(e){var t=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===e&&t.push(n),r.scale.type===e&&t.push(r),t},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},e.prototype.dataToPoint=function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},e.prototype.pointToData=function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},e.prototype.pointToCoord=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);r.inverse?o=a-360:a=o+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;for(var l=Math.atan2(-n,t)/Math.PI*180,c=l<o?1:-1;l<o||l>a;)l+=360*c;return[s,l]},e.prototype.coordToPoint=function(e){var t=e[0],n=e[1]/180*Math.PI;return[Math.cos(n)*t+this.cx,-Math.sin(n)*t+this.cy]},e.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis().getExtent().slice();t[0]>t[1]&&t.reverse();var n=e.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:t[0],r:t[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,r=t-this.cy,i=n*n+r*r-1e-4,o=this.r,a=this.r0;return i<=o*o&&i>=a*a}}},e.prototype.convertToPixel=function(e,t,n){return JL(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return JL(t)===this?this.pointToData(n):null},e}();function eP(e,t){var n=this,r=n.getAngleAxis(),i=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),e.eachSeries(function(e){if(e.coordinateSystem===n){var t=e.getData();g.each(xy(t,"radius"),function(e){i.scale.unionExtentFromData(t,e)}),g.each(xy(t,"angle"),function(e){r.scale.unionExtentFromData(t,e)})}}),vy(r.scale,r.model),vy(i.scale,i.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),a=360/r.scale.count();r.inverse?o[1]+=a:o[1]-=a,r.setExtent(o[0],o[1])}}function tP(e,t){if(e.type=t.get("type"),e.scale=my(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),function(e){return"angleAxis"===e.mainType}(t)){e.inverse=e.inverse!==t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}var nP={dimensions:KL,create:function(e,t){var n=[];return e.eachComponent("polar",function(e,r){var i=new qL(r+"");i.update=eP;var o=i.getRadiusAxis(),a=i.getAngleAxis(),s=e.findAxisModel("radiusAxis"),l=e.findAxisModel("angleAxis");tP(o,s),tP(a,l),function(e,t,n){var r=t.get("center"),i=n.getWidth(),o=n.getHeight();e.cx=pr(r[0],i),e.cy=pr(r[1],o);var a=e.getRadiusAxis(),s=Math.min(i,o)/2,l=t.get("radius");null==l?l=[0,"100%"]:g.isArray(l)||(l=[0,l]);var c=[pr(l[0],s),pr(l[1],s)];a.inverse?a.setExtent(c[1],c[0]):a.setExtent(c[0],c[1])}(i,e,t),n.push(i),e.coordinateSystem=i,i.model=e}),e.eachSeries(function(e){if("polar"===e.get("coordinateSystem")){var t=e.getReferringComponents("polar",ii).models[0];0,e.coordinateSystem=t.coordinateSystem}}),n}},rP=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function iP(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),i=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function oP(e){return e.getRadiusAxis().inverse?0:1}function aP(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var sP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return p(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,r=n.polar,i=r.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=g.map(n.getViewLabels(),function(e){e=g.clone(e);var t=n.scale,r="ordinal"===t.type?t.getRawOrdinalNumber(e.tickValue):e.tickValue;return e.coord=n.dataToCoord(r),e});aP(s),aP(o),g.each(rP,function(t){!e.get([t,"show"])||n.scale.isBlank()&&"axisLine"!==t||lP[t](this.group,e,r,o,a,i,s)},this)}},t.type="angleAxis",t}(_C),lP={axisLine:function(e,t,n,r,i,o){var a,s=t.getModel(["axisLine","lineStyle"]),l=oP(n),c=l?0:1;(a=0===o[c]?new qs({shape:{cx:n.cx,cy:n.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new _l({shape:{cx:n.cx,cy:n.cy,r:o[l],r0:o[c]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,e.add(a)},axisTick:function(e,t,n,r,i,o){var a=t.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[oP(n)],c=g.map(r,function(e){return new Ol({shape:iP(n,[l,l+s],e.coord)})});e.add(yc(c,{style:g.defaults(a.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,r,i,o){if(i.length){for(var a=t.getModel("axisTick"),s=t.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),c=o[oP(n)],u=[],h=0;h<i.length;h++)for(var d=0;d<i[h].length;d++)u.push(new Ol({shape:iP(n,[c,c+l],i[h][d].coord)}));e.add(yc(u,{style:g.defaults(s.getModel("lineStyle").getLineStyle(),g.defaults(a.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(e,t,n,r,i,o,a){var s=t.getCategories(!0),l=t.getModel("axisLabel"),c=l.get("margin"),u=t.get("triggerEvent");g.each(a,function(r,i){var a=l,h=r.tickValue,d=o[oP(n)],f=n.coordToPoint([d+c,r.coord]),p=n.cx,A=n.cy,v=Math.abs(f[0]-p)/d<.3?"center":f[0]>p?"left":"right",m=Math.abs(f[1]-A)/d<.3?"middle":f[1]>A?"top":"bottom";if(s&&s[h]){var y=s[h];g.isObject(y)&&y.textStyle&&(a=new du(y.textStyle,l,l.ecModel))}var b=new ka({silent:pC.isLabelSilent(t),style:zc(a,{x:f[0],y:f[1],fill:a.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:r.formattedLabel,align:v,verticalAlign:m})});if(e.add(b),u){var _=pC.makeAxisEventDataBase(t);_.targetType="axisLabel",_.value=r.rawLabel,Ta(b).eventData=_}},this)},splitLine:function(e,t,n,r,i,o){var a=t.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=0;u<r.length;u++){var h=l++%s.length;c[h]=c[h]||[],c[h].push(new Ol({shape:iP(n,o,r[u].coord)}))}for(u=0;u<c.length;u++)e.add(yc(c[u],{style:g.defaults({stroke:s[u%s.length]},a.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(e,t,n,r,i,o){if(i.length){for(var a=t.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<i.length;l++)for(var c=0;c<i[l].length;c++)s.push(new Ol({shape:iP(n,o,i[l][c].coord)}));e.add(yc(s,{style:a.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(e,t,n,r,i,o){if(r.length){var a=t.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=Math.PI/180,h=-r[0].coord*u,d=Math.min(o[0],o[1]),f=Math.max(o[0],o[1]),p=t.get("clockwise"),A=1,v=r.length;A<=v;A++){var m=A===v?r[0].coord:r[A].coord,y=l++%s.length;c[y]=c[y]||[],c[y].push(new ml({shape:{cx:n.cx,cy:n.cy,r0:d,r:f,startAngle:h,endAngle:-m*u,clockwise:p},silent:!0})),h=-m*u}for(A=0;A<c.length;A++)e.add(yc(c[A],{style:g.defaults({fill:s[A%s.length]},a.getAreaStyle()),silent:!0}))}}},cP=sP,uP=["axisLine","axisTickLabel","axisName"],hP=["splitLine","splitArea","minorSplitLine"],dP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return p(t,e),t.prototype.render=function(e,t){if(this.group.removeAll(),e.get("show")){var n=this._axisGroup,r=this._axisGroup=new tr;this.group.add(r);var i=e.axis,o=i.polar,a=o.getAngleAxis(),s=i.getTicksCoords(),l=i.getMinorTicksCoords(),c=a.getExtent()[0],u=i.getExtent(),h=function(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}(o,e,c),d=new pC(e,h);g.each(uP,d.add,d),r.add(d.getGroup()),Tc(n,r,e),g.each(hP,function(t){e.get([t,"show"])&&!i.scale.isBlank()&&fP[t](this.group,e,o,c,u,s,l)},this)}},t.type="radiusAxis",t}(_C),fP={splitLine:function(e,t,n,r,i,o){var a=t.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=0;u<o.length;u++){var h=l++%s.length;c[h]=c[h]||[],c[h].push(new qs({shape:{cx:n.cx,cy:n.cy,r:Math.max(o[u].coord,0)}}))}for(u=0;u<c.length;u++)e.add(yc(c[u],{style:g.defaults({stroke:s[u%s.length],fill:null},a.getLineStyle()),silent:!0}))},minorSplitLine:function(e,t,n,r,i,o,a){if(a.length){for(var s=t.getModel("minorSplitLine").getModel("lineStyle"),l=[],c=0;c<a.length;c++)for(var u=0;u<a[c].length;u++)l.push(new qs({shape:{cx:n.cx,cy:n.cy,r:a[c][u].coord}}));e.add(yc(l,{style:g.defaults({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(e,t,n,r,i,o){if(o.length){var a=t.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=o[0].coord,h=1;h<o.length;h++){var d=l++%s.length;c[d]=c[d]||[],c[d].push(new ml({shape:{cx:n.cx,cy:n.cy,r0:u,r:o[h].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),u=o[h].coord}for(h=0;h<c.length;h++)e.add(yc(c[h],{style:g.defaults({fill:s[h%s.length]},a.getAreaStyle()),silent:!0}))}}};var pP=dP;function AP(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function gP(e,t){return t.dim+e.model.componentIndex}var vP=function(e,t,n){var r={},i=function(e){var t={};g.each(e,function(e,n){var r=e.getData(),i=e.coordinateSystem,o=i.getBaseAxis(),a=gP(i,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/r.count(),c=t[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},u=c.stacks;t[a]=c;var h=AP(e);u[h]||c.autoWidthCount++,u[h]=u[h]||{width:0,maxWidth:0};var d=pr(e.get("barWidth"),l),f=pr(e.get("barMaxWidth"),l),p=e.get("barGap"),A=e.get("barCategoryGap");d&&!u[h].width&&(d=Math.min(c.remainedWidth,d),u[h].width=d,c.remainedWidth-=d),f&&(u[h].maxWidth=f),null!=p&&(c.gap=p),null!=A&&(c.categoryGap=A)});var n={};return g.each(t,function(e,t){n[t]={};var r=e.stacks,i=e.bandWidth,o=pr(e.categoryGap,i),a=pr(e.gap,1),s=e.remainedWidth,l=e.autoWidthCount,c=(s-o)/(l+(l-1)*a);c=Math.max(c,0),g.each(r,function(e,t){var n=e.maxWidth;n&&n<c&&(n=Math.min(n,s),e.width&&(n=Math.min(n,e.width)),s-=n,e.width=n,l--)}),c=(s-o)/(l+(l-1)*a),c=Math.max(c,0);var u,h=0;g.each(r,function(e,t){e.width||(e.width=c),u=e,h+=e.width*(1+a)}),u&&(h-=u.width*a);var d=-h/2;g.each(r,function(e,r){n[t][r]=n[t][r]||{offset:d,width:e.width},d+=e.width*(1+a)})}),n}(g.filter(t.getSeriesByType(e),function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type}));t.eachSeriesByType(e,function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,o=n.getBaseAxis(),a=gP(n,o),s=AP(e),l=i[a][s],c=l.offset,u=l.width,h=n.getOtherAxis(o),d=e.coordinateSystem.cx,f=e.coordinateSystem.cy,p=e.get("barMinHeight")||0,A=e.get("barMinAngle")||0;r[s]=r[s]||[];for(var g=t.mapDimension(h.dim),v=t.mapDimension(o.dim),m=dm(t,g),y="radius"!==o.dim||!e.get("roundCap",!0),b=h.dataToCoord(0),_=0,w=t.count();_<w;_++){var x=t.get(g,_),C=t.get(v,_),S=x>=0?"p":"n",B=b;m&&(r[s][C]||(r[s][C]={p:b,n:b}),B=r[s][C][S]);var k=void 0,T=void 0,E=void 0,M=void 0;if("radius"===h.dim){var D=h.dataToCoord(x)-b,O=o.dataToCoord(C);Math.abs(D)<p&&(D=(D<0?-1:1)*p),k=B,T=B+D,M=(E=O-c)-u,m&&(r[s][C][S]=T)}else{var I=h.dataToCoord(x,y)-b,L=o.dataToCoord(C);Math.abs(I)<A&&(I=(I<0?-1:1)*A),T=(k=L+c)+u,E=B,M=B+I,m&&(r[s][C][S]=M)}t.setItemLayout(_,{cx:d,cy:f,r0:k,r:T,startAngle:-E*Math.PI/180,endAngle:-M*Math.PI/180,clockwise:E>=M})}}})},mP={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},yP={splitNumber:5},bP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="polar",t}(fp);function _P(e,t){t=t||{};var n=e.coordinateSystem,r=e.axis,i={},o=r.position,a=r.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],c={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};i.position=["vertical"===a?c.vertical[o]:l[0],"horizontal"===a?c.horizontal[o]:l[3]];i.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],e.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),g.retrieve(t.labelInside,e.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var u=t.rotate;return null==u&&(u=e.get(["axisLabel","rotate"])),i.labelRotation="top"===o?-u:u,i.z2=1,i}var wP=["axisLine","axisTickLabel","axisName"],xP=["splitArea","splitLine"],CP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="SingleAxisPointer",n}return p(t,e),t.prototype.render=function(t,n,r,i){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new tr;var s=_P(t),l=new pC(t,s);g.each(wP,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),g.each(xP,function(e){t.get([e,"show"])&&SP[e](this,this.group,this._axisGroup,t)},this),Tc(a,this._axisGroup,t),e.prototype.render.call(this,t,n,r,i)},t.prototype.remove=function(){CC(this)},t.type="singleAxis",t}(_C),SP={splitLine:function(e,t,n,r){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),c=r.coordinateSystem.getRect(),u=i.isHorizontal(),h=[],d=0,f=i.getTicksCoords({tickModel:o}),p=[],A=[],v=0;v<f.length;++v){var m=i.toGlobalCoord(f[v].coord);u?(p[0]=m,p[1]=c.y,A[0]=m,A[1]=c.y+c.height):(p[0]=c.x,p[1]=m,A[0]=c.x+c.width,A[1]=m);var y=new Ol({shape:{x1:p[0],y1:p[1],x2:A[0],y2:A[1]},silent:!0});_c(y.shape,l);var b=d++%s.length;h[b]=h[b]||[],h[b].push(y)}var _=a.getLineStyle(["color"]);for(v=0;v<h.length;++v)t.add(yc(h[v],{style:g.defaults({stroke:s[v%s.length]},_),silent:!0}))}},splitArea:function(e,t,n,r){xC(e,n,r,r)}},BP=CP,kP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},t}(Ch);Object(g.mixin)(kP,Cy.prototype);var TP=kP,EP=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r)||this;return a.type=i||"value",a.position=o||"bottom",a}return p(t,e),t.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},t.prototype.pointToData=function(e,t){return this.coordinateSystem.pointToData(e)[0]},t}(tb),MP=["single"];function DP(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}var OP=function(){function e(e,t,n){this.type="single",this.dimension="single",this.dimensions=MP,this.axisPointerEnabled=!0,this.model=e,this._init(e,t,n)}return e.prototype._init=function(e,t,n){var r=this.dimension,i=new EP(r,my(e),[0,0],e.get("type"),e.get("position")),o="category"===i.type;i.onBand=o&&e.get("boundaryGap"),i.inverse=e.get("inverse"),i.orient=e.get("orient"),e.axis=i,i.model=e,i.coordinateSystem=this,this._axis=i},e.prototype.update=function(e,t){e.eachSeries(function(e){if(e.coordinateSystem===this){var t=e.getData();Object(g.each)(t.mapDimensionsAll(this.dimension),function(e){this._axis.scale.unionExtentFromData(t,e)},this),vy(this._axis.scale,this._axis.model)}},this)},e.prototype.resize=function(e,t){this._rect=gh({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},e.prototype.getRect=function(){return this._rect},e.prototype._adjustAxis=function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),r=n?[0,e.width]:[0,e.height],i=t.inverse?1:0;t.setExtent(r[i],r[1-i]),this._updateAxisTransform(t,n?e.x:e.y)},e.prototype._updateAxisTransform=function(e,t){var n=e.getExtent(),r=n[0]+n[1],i=e.isHorizontal();e.toGlobalCoord=i?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=i?function(e){return e-t}:function(e){return r-e+t}},e.prototype.getAxis=function(){return this._axis},e.prototype.getBaseAxis=function(){return this._axis},e.prototype.getAxes=function(){return[this._axis]},e.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},e.prototype.containPoint=function(e){var t=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},e.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},e.prototype.dataToPoint=function(e){var t=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[i]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r},e.prototype.convertToPixel=function(e,t,n){return DP(t)===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){return DP(t)===this?this.pointToData(n):null},e}();var IP={create:function(e,t){var n=[];return e.eachComponent("singleAxis",function(r,i){var o=new OP(r,e,t);o.name="single_"+i,o.resize(r,t),r.coordinateSystem=o,n.push(o)}),e.eachSeries(function(e){if("singleAxis"===e.get("coordinateSystem")){var t=e.getReferringComponents("singleAxis",ii).models[0];e.coordinateSystem=t&&t.coordinateSystem}}),n},dimensions:MP},LP=["x","y"],PP=["width","height"],FP=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.makeElOption=function(e,t,n,r,i){var o=n.axis,a=o.coordinateSystem,s=HP(a,1-NP(o)),l=a.dataToPoint(t)[0],c=r.get("type");if(c&&"none"!==c){var u=cL(r),h=RP[c](o,l,s);h.style=u,e.graphicKey=h.type,e.pointer=h}fL(t,e,_P(n),n,r,i)},t.prototype.getHandleTransform=function(e,t,n){var r=_P(t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=dL(t.axis,e,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,t,n,r){var i=n.axis,o=i.coordinateSystem,a=NP(i),s=HP(o,a),l=[e.x,e.y];l[a]+=t[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var c=HP(o,1-a),u=(c[1]+c[0])/2,h=[u,u];return h[a]=l[a],{x:l[0],y:l[1],rotation:e.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},t}(lL),RP={line:function(e,t,n){return{type:"Line",subPixelOptimize:!0,shape:pL([t,n[0]],[t,n[1]],NP(e))}},shadow:function(e,t,n){var r=e.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:AL([t-r/2,n[0]],[r,i],NP(e))}}};function NP(e){return e.isHorizontal()?0:1}function HP(e,t){var n=e.getRect();return[n[LP[t]],n[LP[t]]+n[PP[t]]]}var jP=FP,UP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="single",t}(fp);function QP(e,t){var n,r=e.cellSize;1===(n=g.isArray(r)?r:e.cellSize=[r,r]).length&&(n[1]=n[0]);var i=g.map([0,1],function(e){return function(e,t){return null!=e[fh[t][0]]||null!=e[fh[t][1]]&&null!=e[fh[t][2]]}(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]});yh(e,t,{type:"box",ignoreSize:i})}var zP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(t,n,r){var i=bh(t);e.prototype.init.apply(this,arguments),QP(t,i)},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),QP(this.option,t)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}(Ch),YP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){var r=this.group;r.removeAll();var i=e.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient(),s=t.getLocaleModel();this._renderDayRect(e,o,r),this._renderLines(e,o,a,r),this._renderYearText(e,o,a,r),this._renderMonthText(e,s,a,r),this._renderWeekText(e,s,o,a,r)},t.prototype._renderDayRect=function(e,t,n){for(var r=e.coordinateSystem,i=e.getModel("itemStyle").getItemStyle(),o=r.getCellWidth(),a=r.getCellHeight(),s=t.start.time;s<=t.end.time;s=r.getNextNDay(s,1).time){var l=r.dataToRect([s],!1).tl,c=new ha({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:i});n.add(c)}},t.prototype._renderLines=function(e,t,n,r){var i=this,o=e.coordinateSystem,a=e.getModel(["splitLine","lineStyle"]).getLineStyle(),s=e.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=t.start,u=0;c.time<=t.end.time;u++){d(c.formatedDate),0===u&&(c=o.getDateInfo(t.start.y+"-"+t.start.m));var h=c.date;h.setMonth(h.getMonth()+1),c=o.getDateInfo(h)}function d(t){i._firstDayOfMonth.push(o.getDateInfo(t)),i._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=i._getLinePointsOfOneWeek(e,t,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,r)}d(o.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),a,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),a,r)},t.prototype._getEdgesPoints=function(e,t,n){var r=[e[0].slice(),e[e.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-t/2,r[1][i]=r[1][i]+t/2,r},t.prototype._drawSplitline=function(e,t,n){var r=new Tl({z2:20,shape:{points:e},style:t});n.add(r)},t.prototype._getLinePointsOfOneWeek=function(e,t,n){for(var r=e.coordinateSystem,i=r.getDateInfo(t),o=[],a=0;a<7;a++){var s=r.getNextNDay(i.time,a),l=r.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},t.prototype._formatterLabel=function(e,t){return Object(g.isString)(e)&&e?(n=e,r=t,g.each(r,function(e,t){n=n.replace("{"+t+"}",i?ee(e):e)}),n):Object(g.isFunction)(e)?e(t):t.nameMap;var n,r,i},t.prototype._yearTextPositionControl=function(e,t,n,r,i){var o=t[0],a=t[1],s=["center","bottom"];"bottom"===r?(a+=i,s=["center","top"]):"left"===r?o-=i:"right"===r?(o+=i,s=["center","top"]):a-=i;var l=0;return"left"!==r&&"right"!==r||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},t.prototype._renderYearText=function(e,t,n,r){var i=e.getModel("yearLabel");if(i.get("show")){var o=i.get("margin"),a=i.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,c=(s[0][1]+s[1][1])/2,u="horizontal"===n?0:1,h={top:[l,s[u][1]],bottom:[l,s[1-u][1]],left:[s[1-u][0],c],right:[s[u][0],c]},d=t.start.y;+t.end.y>+t.start.y&&(d=d+"-"+t.end.y);var f=i.get("formatter"),p={start:t.start.y,end:t.end.y,nameMap:d},A=this._formatterLabel(f,p),g=new ka({z2:30,style:zc(i,{text:A})});g.attr(this._yearTextPositionControl(g,h[a],n,a,o)),r.add(g)}},t.prototype._monthTextPositionControl=function(e,t,n,r,i){var o="left",a="top",s=e[0],l=e[1];return"horizontal"===n?(l+=i,t&&(o="center"),"start"===r&&(a="bottom")):(s+=i,t&&(a="middle"),"start"===r&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},t.prototype._renderMonthText=function(e,t,n,r){var i=e.getModel("monthLabel");if(i.get("show")){var o=i.get("nameMap"),a=i.get("margin"),s=i.get("position"),l=i.get("align"),c=[this._tlpoints,this._blpoints];o&&!Object(g.isString)(o)||(o&&(t=xu(o)||t),o=t.get(["time","monthAbbr"])||[]);var u="start"===s?0:1,h="horizontal"===n?0:1;a="start"===s?-a:a;for(var d="center"===l,f=0;f<c[u].length-1;f++){var p=c[u][f].slice(),A=this._firstDayOfMonth[f];if(d){var v=this._firstDayPoints[f];p[h]=(v[h]+c[0][f+1][h])/2}var m=i.get("formatter"),y=o[+A.m-1],b={yyyy:A.y,yy:(A.y+"").slice(2),MM:A.m,M:+A.m,nameMap:y},_=this._formatterLabel(m,b),w=new ka({z2:30,style:Object(g.extend)(zc(i,{text:_}),this._monthTextPositionControl(p,d,n,s,a))});r.add(w)}}},t.prototype._weekTextPositionControl=function(e,t,n,r,i){var o="center",a="middle",s=e[0],l=e[1],c="start"===n;return"horizontal"===t?(s=s+r+(c?1:-1)*i[0]/2,o=c?"right":"left"):(l=l+r+(c?1:-1)*i[1]/2,a=c?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},t.prototype._renderWeekText=function(e,t,n,r,i){var o=e.getModel("dayLabel");if(o.get("show")){var a=e.coordinateSystem,s=o.get("position"),l=o.get("nameMap"),c=o.get("margin"),u=a.getFirstDayOfWeek();if(!l||Object(g.isString)(l))l&&(t=xu(l)||t),l=t.get(["time","dayOfWeekShort"])||Object(g.map)(t.get(["time","dayOfWeekAbbr"]),function(e){return e[0]});var h=a.getNextNDay(n.end.time,7-n.lweek).time,d=[a.getCellWidth(),a.getCellHeight()];c=pr(c,Math.min(d[1],d[0])),"start"===s&&(h=a.getNextNDay(n.start.time,-(7+n.fweek)).time,c=-c);for(var f=0;f<7;f++){var p,A=a.getNextNDay(h,f),v=a.dataToRect([A.time],!1).center;p=Math.abs((f+u)%7);var m=new ka({z2:30,style:Object(g.extend)(zc(o,{text:l[p]}),this._weekTextPositionControl(v,r,s,c,d))});i.add(m)}}},t.type="calendar",t}(fp);function VP(e){var t=e.calendarModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem:null}var GP=function(){function e(t,n,r){this.type="calendar",this.dimensions=e.dimensions,this.getDimensionsInfo=e.getDimensionsInfo,this._model=t}return e.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},e.prototype.getRangeInfo=function(){return this._rangeInfo},e.prototype.getModel=function(){return this._model},e.prototype.getRect=function(){return this._rect},e.prototype.getCellWidth=function(){return this._sw},e.prototype.getCellHeight=function(){return this._sh},e.prototype.getOrient=function(){return this._orient},e.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},e.prototype.getDateInfo=function(e){var t=(e=kr(e)).getFullYear(),n=e.getMonth()+1,r=n<10?"0"+n:""+n,i=e.getDate(),o=i<10?"0"+i:""+i,a=e.getDay();return{y:t+"",m:r,d:o,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:e.getTime(),formatedDate:t+"-"+r+"-"+o,date:e}},e.prototype.getNextNDay=function(e,t){return 0===(t=t||0)?this.getDateInfo(e):((e=new Date(this.getDateInfo(e).time)).setDate(e.getDate()+t),this.getDateInfo(e))},e.prototype.update=function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,r=["width","height"],i=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];g.each([0,1],function(e){c(i,e)&&(o[r[e]]=i[e]*a[e])});var s={width:t.getWidth(),height:t.getHeight()},l=this._rect=gh(o,s);function c(e,t){return null!=e[t]&&"auto"!==e[t]}g.each([0,1],function(e){c(i,e)||(i[e]=l[r[e]]/a[e])}),this._sw=i[0],this._sh=i[1]},e.prototype.dataToPoint=function(e,t){g.isArray(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),r=this._rangeInfo,i=n.formatedDate;if(t&&!(n.time>=r.start.time&&n.time<r.end.time+864e5))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([r.start.time,i]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},e.prototype.pointToData=function(e){var t=this.pointToDate(e);return t&&t.time},e.prototype.dataToRect=function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},e.prototype.pointToDate=function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,r):this._getDateByWeeksAndDay(t,n-1,r)},e.prototype.convertToPixel=function(e,t,n){var r=VP(t);return r===this?r.dataToPoint(n):null},e.prototype.convertFromPixel=function(e,t,n){var r=VP(t);return r===this?r.pointToData(n):null},e.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},e.prototype._initRangeOption=function(){var e,t=this._model.get("range");if(g.isArray(t)&&1===t.length&&(t=t[0]),g.isArray(t))e=t;else{var n=t.toString();if(/^\d{4}$/.test(n)&&(e=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var r=this.getDateInfo(n),i=r.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);e=[r.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(e=[n,n])}if(!e)return t;var a=this._getRangeInfo(e);return a.start.time>a.end.time&&e.reverse(),e},e.prototype._getRangeInfo=function(e){var t,n=[this.getDateInfo(e[0]),this.getDateInfo(e[1])];n[0].time>n[1].time&&(t=!0,n.reverse());var r=Math.floor(n[1].time/864e5)-Math.floor(n[0].time/864e5)+1,i=new Date(n[0].time),o=i.getDate(),a=n[1].date.getDate();i.setDate(o+r-1);var s=i.getDate();if(s!==a)for(var l=i.getTime()-n[1].time>0?1:-1;(s=i.getDate())!==a&&(i.getTime()-n[1].time)*l>0;)r-=l,i.setDate(s-l);var c=Math.floor((r+n[0].day+6)/7),u=t?1-c:c-1;return t&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:r,weeks:c,nthWeek:u,fweek:n[0].day,lweek:n[1].day}},e.prototype._getDateByWeeksAndDay=function(e,t,n){var r=this._getRangeInfo(n);if(e>r.weeks||0===e&&t<r.fweek||e===r.weeks&&t>r.lweek)return null;var i=7*(e-1)-r.fweek+t,o=new Date(r.start.time);return o.setDate(+r.start.d+i),this.getDateInfo(o)},e.create=function(t,n){var r=[];return t.eachComponent("calendar",function(i){var o=new e(i,t,n);r.push(o),i.coordinateSystem=o}),t.eachSeries(function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=r[e.get("calendarIndex")||0])}),r},e.dimensions=["time","value"],e}();function WP(e,t){var n;return g.each(t,function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)}),n}var XP=["transition","enterFrom","leaveTo"],ZP=XP.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function $P(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),e&&t)for(var r=n?XP:ZP,i=0;i<r.length;i++){var o=r[i];null==e[o]&&null!=t[o]&&(e[o]=t[o])}}var KP=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.preventAutoZ=!0,n}return p(t,e),t.prototype.mergeOption=function(t,n){var r=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,t,n),this.option.elements=r},t.prototype.optionUpdated=function(e,t){var n=this.option,r=(t?n:e).elements,i=n.elements=t?[]:n.elements,o=[];this._flatten(r,o,null);var a=Wr(i,o,"normalMerge"),s=this._elOptionsToUpdate=[];g.each(a,function(e,t){var n=e.newOption;n&&(s.push(n),function(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}(e,n),function(e,t,n){var r=g.extend({},n),i=e[t],o=n.$action||"merge";"merge"===o?i?(g.merge(i,r,!0),yh(i,r,{ignoreSize:!0}),_h(n,i),$P(n,i),$P(n,i,"shape"),$P(n,i,"style"),$P(n,i,"extra"),n.clipPath=i.clipPath):e[t]=r:"replace"===o?e[t]=r:"remove"===o&&i&&(e[t]=null)}(i,t,n),function(e,t){if(e&&(e.hv=t.hv=[WP(t,["left","right"]),WP(t,["top","bottom"])],"group"===e.type)){var n=e,r=t;null==n.width&&(n.width=r.width=0),null==n.height&&(n.height=r.height=0)}}(i[t],n))},this),n.elements=g.filter(i,function(e){return e&&delete e.$action,null!=e})},t.prototype._flatten=function(e,t,n){g.each(e,function(e){if(e){n&&(e.parentOption=n),t.push(e);var r=e.children;r&&r.length&&this._flatten(r,t,e),delete e.children}},this)},t.prototype.useElOptionsToUpdate=function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e},t.type="graphic",t.defaultOption={elements:[]},t}(Ch),JP={path:null,compoundPath:null,group:tr,image:ra,text:ka},qP=ei(),eF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(){this._elMap=g.createHashMap()},t.prototype.render=function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},t.prototype._updateElements=function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,r=this.group,i=e.get("z"),o=e.get("zlevel");g.each(t,function(t){var a=$r(t.id,null),s=null!=a?n.get(a):null,l=$r(t.parentId,null),c=null!=l?n.get(l):r,u=t.type,h=t.style;"text"===u&&h&&t.hv&&t.hv[1]&&(h.textVerticalAlign=h.textBaseline=h.verticalAlign=h.align=null);var d=t.textContent,f=t.textConfig;if(h&&rI(h,u,!!f,!!d)){var p=iI(h,u,!0);!f&&p.textConfig&&(f=t.textConfig=p.textConfig),!d&&p.textContent&&(d=p.textContent)}var A=function(e){return e=g.extend({},e),g.each(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(dh),function(t){delete e[t]}),e}(t);var v=t.$action||"merge",m="merge"===v,y="replace"===v;if(m){var b=s;(k=!s)?b=nF(a,c,t.type,n):(b&&(qP(b).isNew=!1),SI(b)),b&&(fI(b,A,e,{isInit:k}),iF(b,t,i,o))}else if(y){rF(s,t,n,e);var _=nF(a,c,t.type,n);_&&(fI(_,A,e,{isInit:!0}),iF(_,t,i,o))}else"remove"===v&&(pI(s,t),rF(s,t,n,e));var w=n.get(a);if(w&&d)if(m){var x=w.getTextContent();x?x.attr(d):w.setTextContent(new ka(d))}else y&&w.setTextContent(new ka(d));if(w){var C=t.clipPath;if(C){var S=C.type,B=void 0,k=!1;if(m){var T=w.getClipPath();B=(k=!T||qP(T).type!==S)?tF(S):T}else y&&(k=!0,B=tF(S));w.setClipPath(B),fI(B,C,e,{isInit:k}),BI(B,C.keyframeAnimation,e)}var E=qP(w);w.setTextConfig(f),E.option=t,function(e,t,n){var r=Ta(e).eventData;e.silent||e.ignore||r||(r=Ta(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name});r&&(r.info=n.info)}(w,e,t),Pc({el:w,componentModel:e,itemName:w.name,itemTooltipOption:t.tooltip}),BI(w,t.keyframeAnimation,e)}})}},t.prototype._relocate=function(e,t){for(var n=e.option.elements,r=this.group,i=this._elMap,o=t.getWidth(),a=t.getHeight(),s=["x","y"],l=0;l<n.length;l++){if((p=null!=(f=$r((d=n[l]).id,null))?i.get(f):null)&&p.isGroup){var c=(A=p.parent)===r,u=qP(p),h=qP(A);u.width=pr(u.option.width,c?o:h.width)||0,u.height=pr(u.option.height,c?a:h.height)||0}}for(l=n.length-1;l>=0;l--){var d,f,p;if(p=null!=(f=$r((d=n[l]).id,null))?i.get(f):null){var A=p.parent,v=(h=qP(A),{}),m=vh(p,d,A===r?{width:o,height:a}:{width:h.width,height:h.height},null,{hv:d.hv,boundingMode:d.bounding},v);if(!qP(p).isNew&&m){for(var y=d.transition,b={},_=0;_<s.length;_++){var w=s[_],x=v[w];y&&(gI(y)||g.indexOf(y,w)>=0)?b[w]=x:p[w]=x}tc(p,b,e,0)}else p.attr(v)}}},t.prototype._clear=function(){var e=this,t=this._elMap;t.each(function(n){rF(n,qP(n).option,t,e._lastGraphicModel)}),this._elMap=g.createHashMap()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(fp);function tF(e){var t=g.hasOwn(JP,e)?JP[e]:Ac(e);var n=new t({});return qP(n).type=e,n}function nF(e,t,n,r){var i=tF(n);return t.add(i),r.set(e,i),qP(i).id=e,qP(i).isNew=!0,i}function rF(e,t,n,r){e&&e.parent&&("group"===e.type&&e.traverse(function(e){rF(e,t,n,r)}),AI(e,t,r),n.removeKey(qP(e).id))}function iF(e,t,n,r){e.isGroup||g.each([["cursor",Xi.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],function(n){var r=n[0];g.hasOwn(t,r)?e[r]=g.retrieve2(t[r],n[1]):null==e[r]&&(e[r]=n[1])}),g.each(g.keys(t),function(n){if(0===n.indexOf("on")){var r=t[n];e[n]=g.isFunction(r)?r:null}}),g.hasOwn(t,"draggable")&&(e.draggable=t.draggable),null!=t.name&&(e.name=t.name),null!=t.id&&(e.id=t.id)}var oF=["x","y","radius","angle","single"],aF=["cartesian2d","polar","singleAxis"];function sF(e){return e+"Axis"}function lF(e,t){var n,r=Object(g.createHashMap)(),i=[],o=Object(g.createHashMap)();e.eachComponent({mainType:"dataZoom",query:t},function(e){o.get(e.uid)||s(e)});do{n=!1,e.eachComponent("dataZoom",a)}while(n);function a(e){!o.get(e.uid)&&function(e){var t=!1;return e.eachTargetAxis(function(e,n){var i=r.get(e);i&&i[n]&&(t=!0)}),t}(e)&&(s(e),n=!0)}function s(e){o.set(e.uid,!0),i.push(e),e.eachTargetAxis(function(e,t){(r.get(e)||r.set(e,[]))[t]=!0})}return i}function cF(e){var t=e.ecModel,n={infoList:[],infoMap:Object(g.createHashMap)()};return e.eachTargetAxis(function(e,r){var i=t.getComponent(sF(e),r);if(i){var o=i.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(i)}}}),n}var uF=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}();function hF(e){var t={};return Object(g.each)(["start","end","startValue","endValue","throttle"],function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}var dF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return p(t,e),t.prototype.init=function(e,t,n){var r=hF(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this._doInit(r)},t.prototype.mergeOption=function(e){var t=hF(e);Object(g.merge)(this.option,e,!0),Object(g.merge)(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var n=this.settledOption;Object(g.each)([["start","startValue"],["end","endValue"]],function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=Object(g.createHashMap)();this._fillSpecifiedTargetAxis(t)?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each(function(e){e.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return Object(g.each)(oF,function(n){var r=this.getReferringComponents(sF(n),oi);if(r.specified){t=!0;var i=new uF;Object(g.each)(r.models,function(e){i.add(e.componentIndex)}),e.set(n,i)}},this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var n=this.ecModel,r=!0;if(r){var i="vertical"===t?"y":"x";o(n.findComponents({mainType:i+"Axis"}),i)}r&&o(n.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}}),"single");function o(t,n){var i=t[0];if(i){var o=new uF;if(o.add(i.componentIndex),e.set(n,o),r=!1,"x"===n||"y"===n){var a=i.getReferringComponents("grid",ii).models[0];a&&Object(g.each)(t,function(e){i.componentIndex!==e.componentIndex&&a===e.getReferringComponents("grid",ii).models[0]&&o.add(e.componentIndex)})}}}r&&Object(g.each)(oF,function(t){if(r){var i=n.findComponents({mainType:sF(t),filter:function(e){return"category"===e.get("type",!0)}});if(i[0]){var o=new uF;o.add(i[0].componentIndex),e.set(t,o),r=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(t){!e&&(e=t)},this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,n=this.get("rangeMode");Object(g.each)([["start","startValue"],["end","endValue"]],function(r,i){var o=null!=e[r[0]],a=null!=e[r[1]];o&&!a?t[i]="percent":!o&&a?t[i]="value":n?t[i]=n[i]:o&&(t[i]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(t,n){null==e&&(e=this.ecModel.getComponent(sF(t),n))},this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each(function(n,r){Object(g.each)(n.indexList,function(n){e.call(t,r,n)})})},t.prototype.getAxisProxy=function(e,t){var n=this.getAxisModel(e,t);if(n)return n.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var n=this._targetAxisInfoMap.get(e);if(n&&n.indexMap[t])return this.ecModel.getComponent(sF(e),t)},t.prototype.setRawRange=function(e){var t=this.option,n=this.settledOption;Object(g.each)([["start","startValue"],["end","endValue"]],function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;Object(g.each)(["start","startValue","end","endValue"],function(n){t[n]=e[n]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,n=this._targetAxisInfoMap.keys(),r=0;r<n.length;r++)for(var i=n[r],o=this._targetAxisInfoMap.get(i),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(i,o.indexList[a]);if(s.hostedBy(this))return s;t||(t=s)}return t},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(Ch),fF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="dataZoom.select",t}(dF),pF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},t.type="dataZoom",t}(fp),AF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="dataZoom.select",t}(pF),gF=g.each,vF=gr;var mF=function(){function e(e,t,n,r){this._dimName=e,this._axisIndex=t,this.ecModel=r,this._dataZoomModel=n}return e.prototype.hostedBy=function(e){return this._dataZoomModel===e},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries(function(t){if(function(e){var t=e.get("coordinateSystem");return Object(g.indexOf)(aF,t)>=0}(t)){var n=sF(this._dimName),r=t.getReferringComponents(n,ii).models[0];r&&this._axisIndex===r.componentIndex&&e.push(t)}},this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return g.clone(this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,n=this._dataExtent,r=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];gF(["start","end"],function(l,c){var u=e[l],h=e[l+"Value"];"percent"===i[c]?(null==u&&(u=o[c]),h=r.parse(fr(u,o,n))):(t=!0,u=fr(h=null==h?n[c]:r.parse(h),n,o)),s[c]=null==h||isNaN(h)?n[c]:h,a[c]=null==u||isNaN(u)?o[c]:u}),vF(s),vF(a);var l=this._minMaxSpan;function c(e,t,n,i,o){var a=o?"Span":"ValueSpan";IE(0,e,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)t[s]=fr(e[s],n,i,!0),o&&(t[s]=r.parse(t[s]))}return t?c(s,a,n,o,!1):c(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=function(e,t,n){var r=[1/0,-1/0];gF(n,function(e){!function(e,t,n){t&&g.each(xy(t,n),function(n){var r=t.getApproximateExtent(n);r[0]<e[0]&&(e[0]=r[0]),r[1]>e[1]&&(e[1]=r[1])})}(r,e.getData(),t)});var i=e.getAxisModel(),o=py(i.axis.scale,i,r).calculate();return[o.min,o.max]}(this,this._dimName,t),this._updateMinMaxSpan();var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(e,t){if(e===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=e.get("filterMode"),o=this._valueWindow;"none"!==i&&gF(r,function(e){var t=e.getData(),r=t.mapDimensionsAll(n);if(r.length){if("weakFilter"===i){var a=t.getStore(),s=g.map(r,function(e){return t.getDimensionIndex(e)},t);t.filterSelf(function(e){for(var t,n,i,l=0;l<r.length;l++){var c=a.get(s[l],e),u=!isNaN(c),h=c<o[0],d=c>o[1];if(u&&!h&&!d)return!0;u&&(i=!0),h&&(t=!0),d&&(n=!0)}return i&&t&&n})}else gF(r,function(n){if("empty"===i)e.setData(t=t.map(n,function(e){return function(e){return e>=o[0]&&e<=o[1]}(e)?e:NaN}));else{var r={};r[n]=o,t.selectRange(r)}});gF(r,function(e){t.setApproximateExtent(o,e)})}})}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,n=this._dataExtent;gF(["min","max"],function(r){var i=t.get(r+"Span"),o=t.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=fr(n[0]+o,n,[0,100],!0):null!=i&&(o=fr(i,[0,100],n,!0)-n[0]),e[r+"Span"]=i,e[r+"ValueSpan"]=o},this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,n=this._valueWindow;if(t){var r=yr(n,[0,500]);r=Math.min(r,20);var i=e.axis.scale.rawExtentInfo;0!==t[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==t[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},e}(),yF={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(r,i){var o=e.getComponent(sF(r),i);t(r,i,o,n)})})}t(function(e,t,n,r){n.__dzAxisProxy=null});var n=[];t(function(t,r,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new mF(t,r,o,e),n.push(i.__dzAxisProxy))});var r=Object(g.createHashMap)();return Object(g.each)(n,function(e){Object(g.each)(e.getTargetSeriesModels(),function(e){r.set(e.uid,e)})}),r},overallReset:function(e,t){e.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(t,n){e.getAxisProxy(t,n).reset(e)}),e.eachTargetAxis(function(n,r){e.getAxisProxy(n,r).filterData(e,t)})}),e.eachComponent("dataZoom",function(e){var t=e.findRepresentativeAxisProxy();if(t){var n=t.getDataPercentWindow(),r=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}})}};var bF=!1;function _F(e){bF||(bF=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,yF),function(e){e.registerAction("dataZoom",function(e,t){var n=lF(t,e);Object(g.each)(n,function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function wF(e){e.registerComponentModel(fF),e.registerComponentView(AF),_F(e)}var xF=function(){return function(){}}(),CF={};function SF(e,t){CF[e]=t}function BF(e){return CF[e]}var kF=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;g.each(this.option.feature,function(e,n){var r=BF(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(t)),g.merge(e,r.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(Ch);function TF(e,t){var n=th(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),e=new ha({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1})}var EF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(e,t,n,r){var i=this.group;if(i.removeAll(),e.get("show")){var o=+e.get("itemSize"),a="vertical"===e.get("orient"),s=e.get("feature")||{},l=this._features||(this._features={}),c=[];g.each(s,function(e,t){c.push(t)}),new Lv(this._featureNames||[],c).add(u).update(u).remove(g.curry(u,null)).execute(),this._featureNames=c,function(e,t,n){var r=t.getBoxLayoutParams(),i=t.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=gh(r,o,i);Ah(t.get("orient"),e,t.get("itemGap"),a.width,a.height),vh(e,r,o,i)}(i,e,n),i.add(TF(i.getBoundingRect(),e)),a||i.eachChild(function(e){var t=e.__title,r=e.ensureState("emphasis"),a=r.textConfig||(r.textConfig={}),s=e.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!g.isFunction(l)&&t){var c=l.style||(l.style={}),u=Hn(t,ka.makeFont(c)),h=e.x+i.x,d=!1;e.y+i.y+o+u.height>n.getHeight()&&(a.position="top",d=!0);var f=d?-5-u.height:o+10;h+u.width/2>n.getWidth()?(a.position=["100%",f],c.align="right"):h-u.width/2<0&&(a.position=[0,f],c.align="left")}})}function u(u,h){var d,f=c[u],p=c[h],A=s[f],v=new du(A,e,e.ecModel);if(r&&null!=r.newTitle&&r.featureName===f&&(A.title=r.newTitle),f&&!p){if(function(e){return 0===e.indexOf("my")}(f))d={onclick:v.option.onclick,featureName:f};else{var m=BF(f);if(!m)return;d=new m}l[f]=d}else if(!(d=l[p]))return;d.uid=pu("toolbox-feature"),d.model=v,d.ecModel=t,d.api=n;var y=d instanceof xF;f||!p?!v.get("show")||y&&d.unusable?y&&d.remove&&d.remove(t,n):(!function(r,s,l){var c,u,h=r.getModel("iconStyle"),d=r.getModel(["emphasis","iconStyle"]),f=s instanceof xF&&s.getIcons?s.getIcons():r.get("icon"),p=r.get("title")||{};g.isString(f)?(c={})[l]=f:c=f;g.isString(p)?(u={})[l]=p:u=p;var A=r.iconPaths={};g.each(c,function(l,c){var f=Dc(l,{},{x:-o/2,y:-o/2,width:o,height:o});f.setStyle(h.getItemStyle());var p=f.ensureState("emphasis");p.style=d.getItemStyle();var v=new ka({style:{text:u[c],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null},ignore:!0});f.setTextContent(v),Pc({el:f,componentModel:e,itemName:c,formatterParamsExtra:{title:u[c]}}),f.__title=u[c],f.on("mouseover",function(){var t=d.getItemStyle(),r=a?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";v.setStyle({fill:d.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),f.setTextConfig({position:d.get("textPosition")||r}),v.ignore=!e.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==r.get(["iconStatus",c])&&n.leaveEmphasis(this),v.hide()}),("emphasis"===r.get(["iconStatus",c])?cs:us)(f),i.add(f),f.on("click",g.bind(s.onclick,s,t,n,c)),A[c]=f})}(v,d,f),v.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&("emphasis"===t?cs:us)(r[e])},d instanceof xF&&d.render&&d.render(v,t,n,r)):y&&d.dispose&&d.dispose(t,n)}},t.prototype.updateView=function(e,t,n,r){g.each(this._features,function(e){e instanceof xF&&e.updateView&&e.updateView(e.model,t,n,r)})},t.prototype.remove=function(e,t){g.each(this._features,function(n){n instanceof xF&&n.remove&&n.remove(e,t)}),this.group.removeAll()},t.prototype.dispose=function(e,t){g.each(this._features,function(n){n instanceof xF&&n.dispose&&n.dispose(e,t)})},t.type="toolbox",t}(fp),MF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.onclick=function(e,t){var n=this.model,r=n.get("name")||e.get("title.0.text")||"echarts",i="svg"===t.getZr().painter.getType(),o=i?"svg":n.get("type",!0)||"png",a=t.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=A.a.browser;if(Object(g.isFunction)(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=r+"."+o,l.target="_blank",l.href=a;var c=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(c)}else if(window.navigator.msSaveOrOpenBlob||i){var u=a.split(","),h=u[0].indexOf("base64")>-1,d=i?decodeURIComponent(u[1]):u[1];h&&(d=window.atob(d));var f=r+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var p=d.length,v=new Uint8Array(p);p--;)v[p]=d.charCodeAt(p);var m=new Blob([v]);window.navigator.msSaveOrOpenBlob(m,f)}else{var y=document.createElement("iframe");document.body.appendChild(y);var b=y.contentWindow,_=b.document;_.open("image/svg+xml","replace"),_.write(d),_.close(),b.focus(),_.execCommand("SaveAs",!0,f),document.body.removeChild(y)}}else{var w=n.get("lang"),x='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',C=window.open();C.document.write(x),C.document.title=r}},t.getDefaultOption=function(e){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},t}(xF),DF=[["line","bar"],["stack"]],OF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return g.each(e.get("type"),function(e){t[e]&&(n[e]=t[e])}),n},t.getDefaultOption=function(e){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},t.prototype.onclick=function(e,t,n){var r=this.model,i=r.get(["seriesIndex",n]);if(IF[n]){var o,a={series:[]};g.each(DF,function(e){g.indexOf(e,n)>=0&&g.each(e,function(e){r.setIconStatus(e,"normal")})}),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},function(e){var t=e.subType,i=e.id,o=IF[n](t,i,e,r);o&&(g.defaults(o,e.option),a.series.push(o));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var c=l.dim+"Axis",u=e.getReferringComponents(c,ii).models[0].componentIndex;a[c]=a[c]||[];for(var h=0;h<=u;h++)a[c][u]=a[c][u]||{};a[c][u].boundaryGap="bar"===n}}});var s=n;"stack"===n&&(o=g.merge({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(s="tiled")),t.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},t}(xF),IF={line:function(e,t,n,r){if("bar"===e)return g.merge({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if("line"===e)return g.merge({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var i="__ec_magicType_stack__"===n.get("stack");if("line"===e||"bar"===e)return r.setIconStatus("stack",i?"normal":"emphasis"),g.merge({id:t,stack:i?"":"__ec_magicType_stack__"},r.get(["option","stack"])||{},!0)}};gv({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});var LF=OF,PF=new Array(60).join("-"),FF="\t";function RF(e){var t,n,r,i=function(e){var t={},n=[],r=[];return e.eachRawSeries(function(e){var i=e.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(e);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else n.push(e)}}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}(e);return{value:g.filter([(n=i.seriesGroupByCategoryAxis,r=[],g.each(n,function(e,t){var n=e.categoryAxis,i=e.valueAxis.dim,o=[" "].concat(g.map(e.series,function(e){return e.name})),a=[n.model.getCategories()];g.each(e.series,function(e){var t=e.getRawData();a.push(e.getRawData().mapArray(t.mapDimension(i),function(e){return e}))});for(var s=[o.join(FF)],l=0;l<a[0].length;l++){for(var c=[],u=0;u<a.length;u++)c.push(a[u][l]);s.push(c.join(FF))}r.push(s.join("\n"))}),r.join("\n\n"+PF+"\n\n")),(t=i.other,g.map(t,function(e){var t=e.getRawData(),n=[e.name],r=[];return t.each(t.dimensions,function(){for(var e=arguments.length,i=arguments[e-1],o=t.getName(i),a=0;a<e-1;a++)r[a]=arguments[a];n.push((o?o+FF:"")+r.join(FF))}),n.join("\n")}).join("\n\n"+PF+"\n\n"))],function(e){return!!e.replace(/[\n\t\s]/g,"")}).join("\n\n"+PF+"\n\n"),meta:i.meta}}function NF(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var HF=new RegExp("["+FF+"]+","g");function jF(e,t){var n=e.split(new RegExp("\n*"+PF+"\n*","g")),r={series:[]};return g.each(n,function(e,n){if(function(e){if(e.slice(0,e.indexOf("\n")).indexOf(FF)>=0)return!0}(e)){var i=function(e){for(var t=e.split(/\n+/g),n=NF(t.shift()).split(HF),r=[],i=g.map(n,function(e){return{name:e,data:[]}}),o=0;o<t.length;o++){var a=NF(t[o]).split(HF);r.push(a.shift());for(var s=0;s<a.length;s++)i[s]&&(i[s].data[o]=a[s])}return{series:i,categories:r}}(e),o=t[n],a=o.axisDim+"Axis";o&&(r[a]=r[a]||[],r[a][o.axisIndex]={data:i.categories},r.series=r.series.concat(i.series))}else{i=function(e){for(var t=e.split(/\n+/g),n=NF(t.shift()),r=[],i=0;i<t.length;i++){var o=NF(t[i]);if(o){var a=o.split(HF),s="",l=void 0,c=!1;isNaN(a[0])?(c=!0,s=a[0],a=a.slice(1),r[i]={name:s,value:[]},l=r[i].value):l=r[i]=[];for(var u=0;u<a.length;u++)l.push(+a[u]);1===l.length&&(c?r[i].value=l[0]:r[i]=l[0])}}return{name:n,data:r}}(e);r.series.push(i)}}),r}var UF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.onclick=function(e,t){setTimeout(function(){t.dispatchAction({type:"hideTip"})});var n=t.getDom(),r=this.model;this._dom&&n.removeChild(this._dom);var i=document.createElement("div");i.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",i.style.backgroundColor=r.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=r.get("lang")||[];o.innerHTML=a[0]||r.get("title"),o.style.cssText="margin:10px 20px",o.style.color=r.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var c=r.get("optionToContent"),u=r.get("contentToOption"),h=RF(e);if(g.isFunction(c)){var d=c(t.getOption());g.isString(d)?s.innerHTML=d:g.isDom(d)&&s.appendChild(d)}else{l.readOnly=r.get("readOnly");var f=l.style;f.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",f.color=r.get("textColor"),f.borderColor=r.get("textareaBorderColor"),f.backgroundColor=r.get("textareaColor"),l.value=h.value,s.appendChild(l)}var p=h.meta,A=document.createElement("div");A.style.cssText="position:absolute;bottom:5px;left:0;right:0";var v="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),y=document.createElement("div");v+=";background-color:"+r.get("buttonColor"),v+=";color:"+r.get("buttonTextColor");var b=this;function _(){n.removeChild(i),b._dom=null}le(m,"click",_),le(y,"click",function(){if(null==u&&null!=c||null!=u&&null==c)_();else{var e;try{e=g.isFunction(u)?u(s,t.getOption()):jF(l.value,p)}catch(e){throw _(),new Error("Data view format error "+e)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),_()}}),m.innerHTML=a[1],y.innerHTML=a[2],y.style.cssText=m.style.cssText=v,!r.get("readOnly")&&A.appendChild(y),A.appendChild(m),i.appendChild(o),i.appendChild(s),i.appendChild(A),s.style.height=n.clientHeight-80+"px",n.appendChild(i),this._dom=i},t.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.getDefaultOption=function(e){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},t}(xF);gv({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var n=[];g.each(e.newOption.series,function(e){var r=t.getSeriesByName(e.name)[0];if(r){var i=r.get("data");n.push({name:e.name,data:function(e,t){return g.map(e,function(e,n){var r=t&&t[n];if(g.isObject(r)&&!g.isArray(r)){g.isObject(e)&&!g.isArray(e)||(e={value:e});var i=null!=r.name&&null==e.name;return e=g.defaults(e,r),i&&delete e.name,e}return e})}(e.data,i)})}else n.push(g.extend({type:"scatter"},e))}),t.mergeOption(g.defaults({series:n},e.newOption))});var QF=UF,zF=g.each,YF=ei();function VF(e){var t=YF(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var GF=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.onclick=function(e,t){!function(e){YF(e).snapshots=null}(e),t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])}},t}(xF);gv({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});var WF=GF,XF=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],ZF=function(){function e(e,t,n){var r=this;this._targetInfoList=[];var i=KF(t,e);Object(g.each)(JF,function(e,t){(!n||!n.include||Object(g.indexOf)(n.include,t)>=0)&&e(i,r._targetInfoList)})}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=tR[e.brushType](0,n,t);e.__rangeOffset={offset:rR[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}}),e},e.prototype.matchOutputRanges=function(e,t,n){Object(g.each)(e,function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&Object(g.each)(r.coordSyses,function(r){var i=tR[e.brushType](1,r,e.range,!0);n(e,i.values,r,t)})},this)},e.prototype.setInputRanges=function(e,t){Object(g.each)(e,function(e){var n,r,i,o,a,s=this.findTargetInfo(e,t);if(e.range=e.range||[],s&&!0!==s){e.panelId=s.panelId;var l=tR[e.brushType](0,s.coordSys,e.coordRange),c=e.__rangeOffset;e.range=c?rR[e.brushType](l.values,c.offset,(n=l.xyMinMax,r=c.xyMinMax,i=oR(n),o=oR(r),a=[i[0]/o[0],i[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}},this)},e.prototype.makePanelOpts=function(e,t){return Object(g.map)(this._targetInfoList,function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:RM(r),isTargetByCursor:HM(r,e,n.coordSysModel),getLinearBrushOtherExtent:NM(r)}})},e.prototype.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return!0===r||r&&Object(g.indexOf)(r.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=KF(t,e),i=0;i<n.length;i++){var o=n[i],a=e.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<qF.length;s++)if(qF[s](r,o))return o}return!0},e}();function $F(e){return e[0]>e[1]&&e.reverse(),e}function KF(e,t){return ni(e,t,{includeMainTypes:XF})}var JF={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=e.gridModels,o=Object(g.createHashMap)(),a={},s={};(n||r||i)&&(Object(g.each)(n,function(e){var t=e.axis.grid.model;o.set(t.id,t),a[t.id]=!0}),Object(g.each)(r,function(e){var t=e.axis.grid.model;o.set(t.id,t),s[t.id]=!0}),Object(g.each)(i,function(e){o.set(e.id,e),a[e.id]=!0,s[e.id]=!0}),o.each(function(e){var i=e.coordinateSystem,o=[];Object(g.each)(i.getCartesians(),function(e,t){(Object(g.indexOf)(n,e.getAxis("x").model)>=0||Object(g.indexOf)(r,e.getAxis("y").model)>=0)&&o.push(e)}),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:eR.grid,xAxisDeclared:a[e.id],yAxisDeclared:s[e.id]})}))},geo:function(e,t){Object(g.each)(e.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:eR.geo})})}},qF=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],eR={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Cc(e)),t}},tR={lineX:Object(g.curry)(nR,0),lineY:Object(g.curry)(nR,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),o=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),a=[$F([i[0],o[0]]),$F([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,n,r){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:Object(g.map)(n,function(n){var o=e?t.pointToData(n,r):t.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],o[0]),i[1][0]=Math.min(i[1][0],o[1]),i[0][1]=Math.max(i[0][1],o[0]),i[1][1]=Math.max(i[1][1],o[1]),o}),xyMinMax:i}}};function nR(e,t,n,r){var i=n.getAxis(["x","y"][e]),o=$F(Object(g.map)([0,1],function(e){return t?i.coordToData(i.toLocalCoord(r[e]),!0):i.toGlobalCoord(i.dataToCoord(r[e]))})),a=[];return a[e]=o,a[1-e]=[NaN,NaN],{values:o,xyMinMax:a}}var rR={lineX:Object(g.curry)(iR,0),lineY:Object(g.curry)(iR,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return Object(g.map)(e,function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]})}};function iR(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function oR(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var aR,sR,lR=ZF,cR=g.each,uR=Ur+"toolbox-dataZoom_",hR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(e,t,n,r){this._brushController||(this._brushController=new FM(n.getZr()),this._brushController.on("brush",g.bind(this._onBrush,this)).mount()),function(e,t,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive);n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var a=new lR(fR(e),t,{include:["grid"]}).makePanelOpts(i,function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(a).enableBrush(!(!o||!a.length)&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}(e,t,this,r,n),function(e,t){e.setIconStatus("back",function(e){return VF(e).length}(t)>1?"emphasis":"normal")}(e,t)},t.prototype.onclick=function(e,t,n){dR[n].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]),new lR(fR(this.model),r,{include:["grid"]}).matchOutputRanges(t,r,function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(i("x",n,t[0]),i("y",n,t[1])):i({lineX:"x",lineY:"y"}[r],n,t)}}),function(e,t){var n=VF(e);zF(t,function(t,r){for(var i=n.length-1;i>=0&&!n[i][r];i--);if(i<0){var o=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(o){var a=o.getPercentRange();n[0][r]={dataZoomId:r,start:a[0],end:a[1]}}}}),n.push(t)}(r,n),this._dispatchZoomAction(n)}function i(e,t,i){var o=t.getAxis(e),a=o.model,s=function(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){n.getAxisModel(e,t.componentIndex)&&(r=n)}),r}(e,a,r),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(i=IE(0,i.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:i[0],endValue:i[1]})}},t.prototype._dispatchZoomAction=function(e){var t=[];cR(e,function(e,n){t.push(g.clone(e))}),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},t}(xF),dR={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(function(e){var t=VF(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return zF(n,function(e,n){for(var i=t.length-1;i>=0;i--)if(e=t[i][n]){r[n]=e;break}}),r}(this.ecModel))}};function fR(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}aR="dataZoom",sR=function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(t&&null!=t.get(n)){var r=t.getModel(n),i=[],o=ni(e,fR(r));return cR(o.xAxisModels,function(e){return a(e,"xAxis","xAxisIndex")}),cR(o.yAxisModels,function(e){return a(e,"yAxis","yAxisIndex")}),i}function a(e,t,n){var o=e.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:uR+t+o};a[n]=o,i.push(a)}},Object(g.assert)(null==Yh.get(aR)&&sR),Yh.set(aR,sR);var pR=hR;var AR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(Ch);function gR(e){var t=e.get("confine");return null!=t?!!t:"richText"===e.get("renderMode")}function vR(e){if(A.a.domSupported)for(var t=document.documentElement.style,n=0,r=e.length;n<r;n++)if(e[n]in t)return e[n]}var mR=vR(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function yR(e,t){if(!e)return t;t=eh(t,!0);var n=e.indexOf(t);return(e=-1===n?t:"-"+e.slice(0,n)+"-"+t).toLowerCase()}var bR=yR(vR(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),_R=yR(mR,"transform"),wR="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(A.a.transform3dSupported?"will-change:transform;":"");function xR(e,t,n){var r=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!A.a.transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=A.a.transform3dSupported,a="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+_R+":"+a+";":[["top",0],["left",0],[mR,a]]}function CR(e,t,n){var r=[],i=e.get("transitionDuration"),o=e.get("backgroundColor"),a=e.get("shadowBlur"),s=e.get("shadowColor"),l=e.get("shadowOffsetX"),c=e.get("shadowOffsetY"),u=e.getModel("textStyle"),h=Kf(e,"html"),d=l+"px "+c+"px "+a+"px "+s;return r.push("box-shadow:"+d),t&&i&&r.push(function(e,t){var n=" "+e/2+"s cubic-bezier(0.23,1,0.32,1)",r="opacity"+n+",visibility"+n;return t||(n=" "+e+"s cubic-bezier(0.23,1,0.32,1)",r+=A.a.transformSupported?","+_R+n:",left"+n+",top"+n),bR+":"+r}(i,n)),o&&r.push("background-color:"+o),Object(g.each)(["width","color","radius"],function(t){var n="border-"+t,i=eh(n),o=e.get(i);null!=o&&r.push(n+":"+o+("color"===t?"":"px"))}),r.push(function(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px");var i=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,a=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&o&&t.push("text-shadow:"+a+"px "+s+"px "+o+"px "+i),Object(g.each)(["decoration","align"],function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)}),t.join(";")}(u)),null!=h&&r.push("padding:"+th(h).join("px ")+"px"),r.join(";")+";"}function SR(e,t,n,r,i){var o=t&&t.painter;if(n){var a=o&&o.getViewportRoot();a&&function(e,t,n,r,i){$(Z,t,r,i,!0)&&$(e,n,Z[0],Z[1])}(e,a,document.body,r,i)}else{e[0]=r,e[1]=i;var s=o&&o.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var BR=function(){function e(e,t,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,A.a.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=t.getZr(),o=this._appendToBody=n&&n.appendToBody;SR(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),o?document.body.appendChild(r):e.appendChild(r),this._container=e;var a=this;r.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},r.onmousemove=function(e){if(e=e||window.event,!a._enterable){var t=i.handler;se(i.painter.getViewportRoot(),e,!0),t.dispatch("mousemove",e)}},r.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return e.prototype.update=function(e){var t,n,r,i=this._container,o=(n="position",(r=(t=i).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t))?n?r[n]:r:null),a=i.style;"absolute"!==a.position&&"absolute"!==o&&(a.position="relative");var s=e.get("alwaysShowContent");s&&this._moveIfResized(),this._alwaysShowContent=s,this.el.className=e.get("className")||""},e.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=wR+CR(e,!this._firstShow,this._longHide)+xR(i[0],i[1],!0)+"border-color:"+ch(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(e,t,n,r,i){var o=this.el;if(null!=e){var a="";if(Object(g.isString)(i)&&"item"===n.get("trigger")&&!gR(n)&&(a=function(e,t,n){if(!Object(g.isString)(n)||"inside"===n)return"";var r=e.get("backgroundColor"),i=e.get("borderWidth");t=ch(t);var o,a,s=o="left"===(o=n)?"right":"right"===o?"left":"top"===o?"bottom":"top",l=Math.max(1.5*Math.round(i),6),c="",u=_R+":";Object(g.indexOf)(["left","right"],s)>-1?(c+="top:50%",u+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(c+="left:50%",u+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var h=a*Math.PI/180,d=l+i,f=d*Math.abs(Math.cos(h))+d*Math.abs(Math.sin(h)),p=t+" solid "+i+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",(c+=";"+s+":-"+Math.round(100*((f-Math.SQRT2*i)/2+Math.SQRT2*i-(f-d)/2))/100+"px")+";"+u+";","border-bottom:"+p,"border-right:"+p,"background-color:"+r+";"].join("")+'"></div>'}(n,r,i)),Object(g.isString)(e))o.innerHTML=e+a;else if(e){o.innerHTML="",Object(g.isArray)(e)||(e=[e]);for(var s=0;s<e.length;s++)Object(g.isDom)(e[s])&&e[s].parentNode!==o&&o.appendChild(e[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el;return[e.offsetWidth,e.offsetHeight]},e.prototype.moveTo=function(e,t){var n=this._styleCoord;if(SR(n,this._zr,this._appendToBody,e,t),null!=n[0]&&null!=n[1]){var r=this.el.style,i=xR(n[0],n[1]);Object(g.each)(i,function(e){r[e[0]]=e[1]})}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){var e=this,t=this.el.style;t.visibility="hidden",t.opacity="0",A.a.transform3dSupported&&(t.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return e._longHide=!0},500)},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(Object(g.bind)(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},e}();function kR(e){return Math.max(0,e)}function TR(e){var t=kR(e.shadowBlur||0),n=kR(e.shadowOffsetX||0),r=kR(e.shadowOffsetY||0);return{left:kR(t-n),right:kR(t+n),top:kR(t-r),bottom:kR(t+r)}}function ER(e,t,n,r){e[0]=n,e[1]=r,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var MR=function(){function e(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),ER(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return e.prototype.update=function(e){var t=e.get("alwaysShowContent");t&&this._moveIfResized(),this._alwaysShowContent=t},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(e,t,n,r,i){var o=this;g.isObject(e)&&Nr(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new ka({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:Kf(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),g.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(e){o.el.style[e]=n.get(e)}),g.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(e){o.el.style[e]=a.get(e)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},e.prototype.setEnterable=function(e){this._enterable=e},e.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect(),n=TR(e.style);return[t.width+n.left+n.right,t.height+n.top+n.bottom]},e.prototype.moveTo=function(e,t){var n=this.el;if(n){var r=this._styleCoord;ER(r,this._zr,e,t),e=r[0],t=r[1];var i=n.style,o=kR(i.borderWidth||0),a=TR(i);n.x=e+o+a.left,n.y=t+o+a.top,n.markRedraw()}},e.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(g.bind(this.hide,this),e)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}(),DR=new ha({shape:{x:-1,y:-1,width:2,height:2}});function OR(e,t,n){var r,i=t.ecModel;n?(r=new du(n,i,i),r=new du(t.option,r,i)):r=t;for(var o=e.length-1;o>=0;o--){var a=e[o];a&&(a instanceof du&&(a=a.get("tooltip",!0)),Object(g.isString)(a)&&(a={formatter:a}),a&&(r=new du(a,r,i)))}return r}function IR(e,t){return e.dispatchAction||Object(g.bind)(t.dispatchAction,t)}function LR(e){return"center"===e||"middle"===e}var PR=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(e,t){if(!A.a.node&&t.getDom()){var n,r=e.getComponent("tooltip"),i=this._renderMode="auto"===(n=r.get("renderMode"))?A.a.domSupported?"html":"richText":n||"html";this._tooltipContent="richText"===i?new MR(t):new BR(t.getDom(),t,{appendToBody:r.get("appendToBody",!0)})}},t.prototype.render=function(e,t,n){if(!A.a.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n;var r=this._tooltipContent;r.update(e),r.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&e.get("transitionDuration")?Tp(this,"_updatePosition",50,"fixRate"):Ep(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel.get("triggerOn");SL("itemTooltip",this._api,Object(g.bind)(function(t,n,r){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,r):"leave"===t&&this._hide(r))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,t=this._ecModel,n=this._api,r=e.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&i.manuallyShowTip(e,t,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,t,n,r){if(r.from!==this.uid&&!A.a.node&&n.getDom()){var i=IR(r,n);this._ticket="";var o=r.dataByCoordSys,a=function(e,t,n){var r=ri(e).queryOptionMap,i=r.keys()[0];if(!i||"series"===i)return;var o,a=ai(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(!a)return;if(n.getViewOfComponentModel(a).group.traverse(function(t){var n=Ta(t).tooltipConfig;if(n&&n.name===e.name)return o=t,!0}),o)return{componentMainType:i,componentIndex:a.componentIndex,el:o}}(r,t,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var l=DR;l.x=r.x,l.y=r.y,l.update(),Ta(l).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:l},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var c=ML(r,t),u=c.point[0],h=c.point[1];null!=u&&null!=h&&this._tryShow({offsetX:u,offsetY:h,target:c.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},t.prototype.manuallyHideTip=function(e,t,n,r){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(IR(r,n))},t.prototype._manuallyAxisShowTip=function(e,t,n,r){var i=r.seriesIndex,o=r.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=t.getSeriesByIndex(i);if(s)if("axis"===OR([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}},t.prototype._tryShow=function(e,t){var n=e.target;if(this._tooltipModel){this._lastX=e.offsetX,this._lastY=e.offsetY;var r=e.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,e);else if(n){var i,o;this._lastDataByCoordSys=null,gA(n,function(e){return null!=Ta(e).dataIndex?(i=e,!0):null!=Ta(e).tooltipConfig?(o=e,!0):void 0},!0),i?this._showSeriesItemTooltip(e,i,t):o?this._showComponentItemTooltip(e,o,t):this._hide(t)}else this._lastDataByCoordSys=null,this._hide(t)}},t.prototype._showOrMove=function(e,t){var n=e.get("showDelay");t=Object(g.bind)(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},t.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,r=this._tooltipModel,i=[t.offsetX,t.offsetY],o=OR([t.tooltipOption],r),a=this._renderMode,s=[],l=Qf("section",{blocks:[],noHeader:!0}),c=[],u=new Jf;Object(g.each)(e,function(e){Object(g.each)(e.dataByAxis,function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),i=e.value;if(t&&null!=i){var o=hL(i,t.axis,n,e.seriesDataIndices,e.valueLabelOpt),h=Qf("section",{header:o,noHeader:!Object(g.trim)(o),sortBlocks:!0,blocks:[]});l.blocks.push(h),Object(g.each)(e.seriesDataIndices,function(l){var d=n.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,p=d.getDataParams(f);if(!(p.dataIndex<0)){p.axisDim=e.axisDim,p.axisIndex=e.axisIndex,p.axisType=e.axisType,p.axisId=e.axisId,p.axisValue=by(t.axis,{value:i}),p.axisValueLabel=o,p.marker=u.makeTooltipMarker("item",ch(p.color),a);var A=of(d.formatTooltip(f,!0,null)),v=A.frag;if(v){var m=OR([d],r).get("valueFormatter");h.blocks.push(m?Object(g.extend)({valueFormatter:m},v):v)}A.text&&c.push(A.text),s.push(p)}})}})}),l.blocks.reverse(),c.reverse();var h=t.position,d=o.get("order"),f=Wf(l,u,a,d,n.get("useUTC"),o.get("textStyle"));f&&c.unshift(f);var p="richText"===a?"\n\n":"<br/>",A=c.join(p);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(o,h,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,A,s,Math.random()+"",i[0],i[1],h,null,u)})},t.prototype._showSeriesItemTooltip=function(e,t,n){var r=this._ecModel,i=Ta(t),o=i.seriesIndex,a=r.getSeriesByIndex(o),s=i.dataModel||a,l=i.dataIndex,c=i.dataType,u=s.getData(c),h=this._renderMode,d=e.positionDefault,f=OR([u.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),p=f.get("trigger");if(null==p||"item"===p){var A=s.getDataParams(l,c),v=new Jf;A.marker=v.makeTooltipMarker("item",ch(A.color),h);var m=of(s.formatTooltip(l,!1,c)),y=f.get("order"),b=f.get("valueFormatter"),_=m.frag,w=_?Wf(b?Object(g.extend)({valueFormatter:b},_):_,v,h,y,r.get("useUTC"),f.get("textStyle")):m.text,x="item_"+s.name+"_"+l;this._showOrMove(f,function(){this._showTooltipContent(f,w,A,x,e.offsetX,e.offsetY,e.position,e.target,v)}),n({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:o,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,t,n){var r=Ta(t),i=r.tooltipConfig.option||{};if(Object(g.isString)(i)){i={content:i,formatter:i}}var o=[i],a=this._ecModel.getComponent(r.componentMainType,r.componentIndex);a&&o.push(a),o.push({formatter:i.content});var s=e.positionDefault,l=OR(o,this._tooltipModel,s?{position:s}:null),c=l.get("content"),u=Math.random()+"",h=new Jf;this._showOrMove(l,function(){var n=Object(g.clone)(l.get("formatterParams")||{});this._showTooltipContent(l,c,n,u,e.offsetX,e.offsetY,e.position,t,h)}),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,t,n,r,i,o,a,s,l){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent;c.setEnterable(e.get("enterable"));var u=e.get("formatter");a=a||e.get("position");var h=t,d=this._getNearestPoint([i,o],n,e.get("trigger"),e.get("borderColor")).color;if(u)if(Object(g.isString)(u)){var f=e.ecModel.get("useUTC"),p=Object(g.isArray)(n)?n[0]:n;h=u,p&&p.axisType&&p.axisType.indexOf("time")>=0&&(h=Pu(p.axisValue,h,f)),h=oh(h,n,!0)}else if(Object(g.isFunction)(u)){var A=Object(g.bind)(function(t,r){t===this._ticket&&(c.setContent(r,l,e,d,a),this._updatePosition(e,a,i,o,c,n,s))},this);this._ticket=r,h=u(n,r,A)}else h=u;c.setContent(h,l,e,d,a),c.show(e,d),this._updatePosition(e,a,i,o,c,n,s)}},t.prototype._getNearestPoint=function(e,t,n,r){return"axis"===n||Object(g.isArray)(t)?{color:r||("html"===this._renderMode?"#fff":"none")}:Object(g.isArray)(t)?void 0:{color:r||t.color||t.borderColor}},t.prototype._updatePosition=function(e,t,n,r,i,o,a){var s=this._api.getWidth(),l=this._api.getHeight();t=t||e.get("position");var c=i.getSize(),u=e.get("align"),h=e.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),Object(g.isFunction)(t)&&(t=t([n,r],o,i.el,d,{viewSize:[s,l],contentSize:c.slice()})),Object(g.isArray)(t))n=pr(t[0],s),r=pr(t[1],l);else if(Object(g.isObject)(t)){var f=t;f.width=c[0],f.height=c[1];var p=gh(f,{width:s,height:l});n=p.x,r=p.y,u=null,h=null}else if(Object(g.isString)(t)&&a){var A=function(e,t,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,c=t.width,u=t.height;switch(e){case"inside":s=t.x+c/2-i/2,l=t.y+u/2-o/2;break;case"top":s=t.x+c/2-i/2,l=t.y-o-a;break;case"bottom":s=t.x+c/2-i/2,l=t.y+u+a;break;case"left":s=t.x-i-a,l=t.y+u/2-o/2;break;case"right":s=t.x+c+a,l=t.y+u/2-o/2}return[s,l]}(t,d,c,e.get("borderWidth"));n=A[0],r=A[1]}else{A=function(e,t,n,r,i,o,a){var s=n.getSize(),l=s[0],c=s[1];null!=o&&(e+l+o+2>r?e-=l+o:e+=o);null!=a&&(t+c+a>i?t-=c+a:t+=a);return[e,t]}(n,r,i,s,l,u?null:20,h?null:20);n=A[0],r=A[1]}if(u&&(n-=LR(u)?c[0]/2:"right"===u?c[0]:0),h&&(r-=LR(h)?c[1]/2:"bottom"===h?c[1]:0),gR(e)){A=function(e,t,n,r,i){var o=n.getSize(),a=o[0],s=o[1];return e=Math.min(e+a,r)-a,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}(n,r,i,s,l);n=A[0],r=A[1]}i.moveTo(n,r)},t.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===e.length;return i&&Object(g.each)(n,function(n,o){var a=n.dataByAxis||[],s=(e[o]||{}).dataByAxis||[];(i=i&&a.length===s.length)&&Object(g.each)(a,function(e,n){var o=s[n]||{},a=e.seriesDataIndices||[],l=o.seriesDataIndices||[];(i=i&&e.value===o.value&&e.axisType===o.axisType&&e.axisId===o.axisId&&a.length===l.length)&&Object(g.each)(a,function(e,t){var n=l[t];i=i&&e.seriesIndex===n.seriesIndex&&e.dataIndex===n.dataIndex}),r&&Object(g.each)(e.seriesDataIndices,function(e){var n=e.seriesIndex,o=t[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=t,!!i},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,t){!A.a.node&&t.getDom()&&(Ep(this,"_updatePosition"),this._tooltipContent.dispose(),TL("itemTooltip",t))},t.type="tooltip",t}(fp);var FR=["rect","polygon","keep","clear"];function RR(e,t){var n=Qr(e?e.brush:[]);if(n.length){var r=[];g.each(n,function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(r=r.concat(t))});var i=e&&e.toolbox;g.isArray(i)&&(i=i[0]),i||(i={feature:{}},e.toolbox=[i]);var o,a,s=i.feature||(i.feature={}),l=s.brush||(s.brush={}),c=l.type||(l.type=[]);c.push.apply(c,r),o=c,a={},g.each(o,function(e){a[e]=1}),o.length=0,g.each(a,function(e,t){o.push(t)}),t&&!c.length&&c.push.apply(c,FR)}}var NR=g.each;function HR(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function jR(e,t,n){var r={};return NR(t,function(t){var i,o=r[t]=((i=function(){}).prototype.__hidden=i.prototype,new i);NR(e[t],function(e,r){if(Fk.isValidType(r)){var i={type:r,visual:e};n&&n(i,t),o[r]=new Fk(i),"opacity"===r&&((i=g.clone(i)).type="colorAlpha",o.__hidden.__alphaForOpacity=new Fk(i))}})}),r}function UR(e,t,n){var r;g.each(n,function(e){t.hasOwnProperty(e)&&HR(t[e])&&(r=!0)}),r&&g.each(n,function(n){t.hasOwnProperty(n)&&HR(t[n])?e[n]=g.clone(t[n]):delete e[n]})}var QR={lineX:zR(0),lineY:zR(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&Oy(n.range,e[0],e[1])},rect:function(e,t,n){var r=n.range;if(!e||r.length<=1)return!1;var i=e.x,o=e.y,a=e.width,s=e.height,l=r[0];return!!(Oy(r,i,o)||Oy(r,i+a,o)||Oy(r,i,o+s)||Oy(r,i+a,o+s)||Oe.create(e).contain(l[0],l[1])||Oc(i,o,i+a,o,r)||Oc(i,o,i,o+s,r)||Oc(i+a,o,i+a,o+s,r)||Oc(i,o+s,i+a,o+s,r))||void 0}}};function zR(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,r){if(t){var i=r.range;return YR(t[e],i)}},rect:function(r,i,o){if(r){var a=o.range,s=[r[t[e]],r[t[e]]+r[n[e]]];return s[1]<s[0]&&s.reverse(),YR(s[0],a)||YR(s[1],a)||YR(a[0],s)||YR(a[1],s)}}}}function YR(e,t){return t[0]<=e&&e<=t[1]}var VR=["inBrush","outOfBrush"],GR="__ecBrushSelect",WR="__ecInBrushSelectEvent";function XR(e){e.eachComponent({mainType:"brush"},function(t){(t.brushTargetManager=new lR(t.option,e)).setInputRanges(t.areas,e)})}function ZR(e,t,n){var r,i,o=[];e.eachComponent({mainType:"brush"},function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})}),XR(e),e.eachComponent({mainType:"brush"},function(t,n){var a={brushId:t.id,brushIndex:n,brushName:t.name,areas:g.clone(t.areas),selected:[]};o.push(a);var s=t.option,l=s.brushLink,c=[],u=[],h=[],d=!1;n||(r=s.throttleType,i=s.throttleDelay);var f=g.map(t.areas,function(e){var t=JR[e.brushType],n=g.defaults({boundingRect:t?t(e):void 0},e);return n.selectors=function(e){var t=e.brushType,n={point:function(r){return QR[t].point(r,n,e)},rect:function(r){return QR[t].rect(r,n,e)}};return n}(n),n}),p=jR(t.option,VR,function(e){e.mappingMethod="fixed"});function A(e){return"all"===l||!!c[e]}function v(e){return!!e.length}g.isArray(l)&&g.each(l,function(e){c[e]=1}),e.eachSeries(function(n,r){var i=h[r]=[];"parallel"===n.subType?function(e,t){var n=e.coordinateSystem;d=d||n.hasAxisBrushed(),A(t)&&n.eachActiveState(e.getData(),function(e,t){"active"===e&&(u[t]=1)})}(n,r):function(n,r,i){if(!n.brushSelector||function(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(g.isArray(n)?g.indexOf(n,t)<0:t!==n)}(t,r))return;if(g.each(f,function(r){t.brushTargetManager.controlSeries(r,n,e)&&i.push(r),d=d||v(i)}),A(r)&&v(i)){var o=n.getData();o.each(function(e){KR(n,i,o,e)&&(u[e]=1)})}}(n,r,i)}),e.eachSeries(function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};a.selected.push(n);var r=h[t],i=e.getData(),o=A(t)?function(e){return u[e]?(n.dataIndex.push(i.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(t){return KR(e,r,i,t)?(n.dataIndex.push(i.getRawIndex(t)),"inBrush"):"outOfBrush"};(A(t)?d:v(r))&&function(e,t,n,r,i,o){var a,s={};function l(e){return hA(n,a,e)}function c(e,t){fA(n,a,e,t)}function u(e,u){a=null==o?e:u;var h=n.getRawDataItem(a);if(!h||!1!==h.visualMap)for(var d=r.call(i,e),f=t[d],p=s[d],A=0,g=p.length;A<g;A++){var v=p[A];f[v]&&f[v].applyVisual(e,l,c)}}g.each(e,function(e){var n=Fk.prepareVisualTypes(t[e]);s[e]=n}),null==o?n.each(u):n.each([o],u)}(VR,p,i,o)})}),function(e,t,n,r,i){if(!i)return;var o=e.getZr();if(o[WR])return;o[GR]||(o[GR]=$R);Tp(o,GR,n,t)(e,r)}(t,r,i,o,n)}function $R(e,t){if(!e.isDisposed()){var n=e.getZr();n[WR]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[WR]=!1}}function KR(e,t,n,r){for(var i=0,o=t.length;i<o;i++){var a=t[i];if(e.brushSelector(r,n,a.selectors,a))return!0}}var JR={rect:function(e){return qR(e.range)},polygon:function(e){for(var t,n=e.range,r=0,i=n.length;r<i;r++){t=t||[[1/0,-1/0],[1/0,-1/0]];var o=n[r];o[0]<t[0][0]&&(t[0][0]=o[0]),o[0]>t[0][1]&&(t[0][1]=o[0]),o[1]<t[1][0]&&(t[1][0]=o[1]),o[1]>t[1][1]&&(t[1][1]=o[1])}return t&&qR(t)}};function qR(e){return new Oe(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var eN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new FM(t.getZr())).on("brush",g.bind(this._onBrush,this)).mount()},t.prototype.render=function(e,t,n,r){this.model=e,this._updateController(e,t,n,r)},t.prototype.updateTransform=function(e,t,n,r){XR(t),this._updateController(e,t,n,r)},t.prototype.updateVisual=function(e,t,n,r){this.updateTransform(e,t,n,r)},t.prototype.updateView=function(e,t,n,r){this._updateController(e,t,n,r)},t.prototype._updateController=function(e,t,n,r){(!r||r.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var t=this.model.id,n=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:t,areas:g.clone(n),$from:t}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:g.clone(n),$from:t})},t.type="brush",t}(fp);function tN(e,t){return g.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new du(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var nN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return p(t,e),t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&UR(n,e,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},r.hasOwnProperty("liftZ")||(r.liftZ=5)},t.prototype.setAreas=function(e){e&&(this.areas=g.map(e,function(e){return tN(this.option,e)},this))},t.prototype.setBrushOption=function(e){this.brushOption=tN(this.option,e),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}(Ch),rN=["rect","polygon","lineX","lineY","keep","clear"],iN=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(t,e),t.prototype.render=function(e,t,n){var r,i,o;t.eachComponent({mainType:"brush"},function(e){r=e.brushType,i=e.brushOption.brushMode||"single",o=o||!!e.areas.length}),this._brushType=r,this._brushMode=i,g.each(e.get("type",!0),function(t){e.setIconStatus(t,("keep"===t?"multiple"===i:"clear"===t?o:t===r)?"emphasis":"normal")})},t.prototype.updateView=function(e,t,n){this.render(e,t,n)},t.prototype.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return g.each(e.get("type",!0),function(e){t[e]&&(n[e]=t[e])}),n},t.prototype.onclick=function(e,t,n){var r=this._brushType,i=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},t.getDefaultOption=function(e){return{show:!0,type:rN.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:e.getLocaleModel().get(["toolbox","brush","title"])}},t}(xF);var oN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return p(t,e),t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(Ch),aN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.render=function(e,t,n){if(this.group.removeAll(),e.get("show")){var r=this.group,i=e.getModel("textStyle"),o=e.getModel("subtextStyle"),a=e.get("textAlign"),s=g.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),l=new ka({style:zc(i,{text:e.get("text"),fill:i.getTextColor()},{disableBox:!0}),z2:10}),c=l.getBoundingRect(),u=e.get("subtext"),h=new ka({style:zc(o,{text:u,fill:o.getTextColor(),y:c.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=e.get("link"),f=e.get("sublink"),p=e.get("triggerEvent",!0);l.silent=!d&&!p,h.silent=!f&&!p,d&&l.on("click",function(){uh(d,"_"+e.get("target"))}),f&&h.on("click",function(){uh(f,"_"+e.get("subtarget"))}),Ta(l).eventData=Ta(h).eventData=p?{componentType:"title",componentIndex:e.componentIndex}:null,r.add(l),u&&r.add(h);var A=r.getBoundingRect(),v=e.getBoxLayoutParams();v.width=A.width,v.height=A.height;var m=gh(v,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));a||("middle"===(a=e.get("left")||e.get("right"))&&(a="center"),"right"===a?m.x+=m.width:"center"===a&&(m.x+=m.width/2)),s||("center"===(s=e.get("top")||e.get("bottom"))&&(s="middle"),"bottom"===s?m.y+=m.height:"middle"===s&&(m.y+=m.height/2),s=s||"top"),r.x=m.x,r.y=m.y,r.markRedraw();var y={align:a,verticalAlign:s};l.setStyle(y),h.setStyle(y),A=r.getBoundingRect();var b=m.margin,_=e.getItemStyle(["color","opacity"]);_.fill=e.get("backgroundColor");var w=new ha({shape:{x:A.x-b[3],y:A.y-b[0],width:A.width+b[1]+b[3],height:A.height+b[0]+b[2],r:e.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});r.add(w)}},t.type="title",t}(fp);var sN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return p(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._initData()},t.prototype.mergeOption=function(t){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e,t=this.option,n=t.data||[],r=t.axisType,i=this._names=[];"category"===r?(e=[],Object(g.each)(n,function(t,n){var r,o=$r(Vr(t),"");Object(g.isObject)(t)?(r=Object(g.clone)(t)).value=n:r=n,e.push(r),i.push(o)})):e=n;var o={category:"ordinal",time:"time",value:"number"}[r]||"number";(this._data=new im([{name:"value",type:o}],this)).initData(e,i)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(Ch),lN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="timeline.slider",t.defaultOption=Au(sN.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t}(sN);Object(g.mixin)(lN,rf.prototype);var cN=lN,uN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="timeline",t}(fp),hN=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r)||this;return o.type=i||"value",o}return p(t,e),t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},t}(tb),dN=Math.PI,fN=ei();function pN(e,t,n,r,i,o){var a=t.get("color");i?(i.setColor(a),n.add(i),o&&o.onUpdate(i)):((i=EA(e.get("symbol"),-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(i),o&&o.onCreate(i));var s=t.getItemStyle(["color"]);i.setStyle(s),r=Object(g.merge)({rectHover:!0,z2:100},r,!0);var l=MA(e.get("symbolSize"));r.scaleX=l[0]/2,r.scaleY=l[1]/2;var c=DA(e.get("symbolOffset"),l);c&&(r.x=(r.x||0)+c[0],r.y=(r.y||0)+c[1]);var u=e.get("symbolRotate");return r.rotation=(u||0)*Math.PI/180||0,i.attr(r),i.updateTransform(),i}function AN(e,t,n,r,i,o){if(!e.dragging){var a=i.getModel("checkpointStyle"),s=r.dataToCoord(i.getData().get("value",n));if(o||!a.get("animation",!0))e.attr({x:s,y:0}),t&&t.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};e.stopAnimation(null,!0),e.animateTo({x:s,y:0},l),t&&t.animateTo({shape:{x2:s}},l)}}}var gN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(e,t){this.api=t},t.prototype.render=function(e,t,n){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var r=this._layout(e,n),i=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(r,e);e.formatTooltip=function(e){return Qf("nameValue",{noName:!0,value:a.scale.getLabel({value:e})})},Object(g.each)(["AxisLine","AxisTick","Control","CurrentPointer"],function(t){this["_render"+t](r,i,a,e)},this),this._renderAxisLabel(r,o,a,e),this._position(r,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,t){var n,r,i,o,a=e.get(["label","position"]),s=e.get("orient"),l=function(e,t){return gh(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}(e,t),c={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2<t.getHeight()/2?"-":"+":l.x+l.width/2<t.getWidth()/2?"+":"-":Object(g.isString)(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][a]:a)>=0||"+"===n?"left":"right"},u={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:dN/2},d="vertical"===s?l.height:l.width,f=e.getModel("controlStyle"),p=f.get("show",!0),A=p?f.get("itemSize"):0,v=p?f.get("itemGap"):0,m=A+v,y=e.get(["label","rotate"])||0;y=y*dN/180;var b=f.get("position",!0),_=p&&f.get("showPlayBtn",!0),w=p&&f.get("showPrevBtn",!0),x=p&&f.get("showNextBtn",!0),C=0,S=d;"left"===b||"bottom"===b?(_&&(r=[0,0],C+=m),w&&(i=[C,0],C+=m),x&&(o=[S-A,0],S-=m)):(_&&(r=[S-A,0],S-=m),w&&(i=[0,0],C+=m),x&&(o=[S-A,0],S-=m));var B=[C,S];return e.get("inverse")&&B.reverse(),{viewRect:l,mainLength:d,orient:s,rotation:h[s],labelRotation:y,labelPosOpt:n,labelAlign:e.get(["label","align"])||c[s],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||u[s],playPosition:r,prevBtnPosition:i,nextBtnPosition:o,axisExtent:B,controlSize:A,controlGap:v}},t.prototype._position=function(e,t){var n=this._mainGroup,r=this._labelGroup,i=e.viewRect;if("vertical"===e.orient){var o=[1,0,0,1,0,0],a=i.x,s=i.y+i.height;me(o,o,[-a,-s]),ye(o,o,-dN/2),me(o,o,[a,s]),(i=i.clone()).applyTransform(o)}var l=v(i),c=v(n.getBoundingRect()),u=v(r.getBoundingRect()),h=[n.x,n.y],d=[r.x,r.y];d[0]=h[0]=l[0][0];var f,p=e.labelPosOpt;null==p||Object(g.isString)(p)?(m(h,c,l,1,f="+"===p?0:1),m(d,u,l,1,1-f)):(m(h,c,l,1,f=p>=0?0:1),d[1]=h[1]+p);function A(e){e.originX=l[0][0]-e.x,e.originY=l[1][0]-e.y}function v(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function m(e,t,n,r,i){e[r]+=n[r][i]-t[r][i]}n.setPosition(h),r.setPosition(d),n.rotation=r.rotation=e.rotation,A(n),A(r)},t.prototype._createAxis=function(e,t){var n=t.getData(),r=t.get("axisType"),i=function(e,t){if(t=t||e.get("type"))switch(t){case"category":return new Em({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new qm({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new Om}}(t,r);i.getTicks=function(){return n.mapArray(["value"],function(e){return{value:e}})};var o=n.getDataExtent("value");i.setExtent(o[0],o[1]),i.calcNiceTicks();var a=new hN("value",i,e.axisExtent,r);return a.model=t,a},t.prototype._createGroup=function(e){var t=this[e]=new tr;return this.group.add(t),t},t.prototype._renderAxisLine=function(e,t,n,r){var i=n.getExtent();if(r.get(["lineStyle","show"])){var o=new Ol({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:Object(g.extend)({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});t.add(o);var a=this._progressLine=new Ol({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:Object(g.defaults)({lineCap:"round",lineWidth:o.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});t.add(a)}},t.prototype._renderAxisTick=function(e,t,n,r){var i=this,o=r.getData(),a=n.scale.getTicks();this._tickSymbols=[],Object(g.each)(a,function(e){var a=n.dataToCoord(e.value),s=o.getItemModel(e.value),l=s.getModel("itemStyle"),c=s.getModel(["emphasis","itemStyle"]),u=s.getModel(["progress","itemStyle"]),h={x:a,y:0,onclick:Object(g.bind)(i._changeTimeline,i,e.value)},d=pN(s,l,t,h);d.ensureState("emphasis").style=c.getItemStyle(),d.ensureState("progress").style=u.getItemStyle(),_s(d);var f=Ta(d);s.get("tooltip")?(f.dataIndex=e.value,f.dataModel=r):f.dataIndex=f.dataModel=null,i._tickSymbols.push(d)})},t.prototype._renderAxisLabel=function(e,t,n,r){var i=this;if(n.getLabelModel().get("show")){var o=r.getData(),a=n.getViewLabels();this._tickLabels=[],Object(g.each)(a,function(r){var a=r.tickValue,s=o.getItemModel(a),l=s.getModel("label"),c=s.getModel(["emphasis","label"]),u=s.getModel(["progress","label"]),h=n.dataToCoord(r.tickValue),d=new ka({x:h,y:0,rotation:e.labelRotation-e.rotation,onclick:Object(g.bind)(i._changeTimeline,i,a),silent:!1,style:zc(l,{text:r.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});d.ensureState("emphasis").style=zc(c),d.ensureState("progress").style=zc(u),t.add(d),_s(d),fN(d).dataIndex=a,i._tickLabels.push(d)})}},t.prototype._renderControl=function(e,t,n,r){var i=e.controlSize,o=e.rotation,a=r.getModel("controlStyle").getItemStyle(),s=r.getModel(["emphasis","controlStyle"]).getItemStyle(),l=r.getPlayState(),c=r.get("inverse",!0);function u(e,n,l,c){if(e){var u=zn(Object(g.retrieve2)(r.get(["controlStyle",n+"BtnSize"]),i),i),h=function(e,t,n,r){var i=r.style,o=Dc(e.get(["controlStyle",t]),r||{},new Oe(n[0],n[1],n[2],n[3]));i&&o.setStyle(i);return o}(r,n+"Icon",[0,-u/2,u,u],{x:e[0],y:e[1],originX:i/2,originY:0,rotation:c?-o:0,rectHover:!0,style:a,onclick:l});h.ensureState("emphasis").style=s,t.add(h),_s(h)}}u(e.nextBtnPosition,"next",Object(g.bind)(this._changeTimeline,this,c?"-":"+")),u(e.prevBtnPosition,"prev",Object(g.bind)(this._changeTimeline,this,c?"+":"-")),u(e.playPosition,l?"stop":"play",Object(g.bind)(this._handlePlayClick,this,!l),!0)},t.prototype._renderCurrentPointer=function(e,t,n,r){var i=r.getData(),o=r.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=Object(g.bind)(s._handlePointerDrag,s),e.ondragend=Object(g.bind)(s._handlePointerDragend,s),AN(e,s._progressLine,o,n,r,!0)},onUpdate:function(e){AN(e,s._progressLine,o,n,r)}};this._currentPointer=pN(a,a,this._mainGroup,{},this._currentPointer,l)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,t){var n=this._toAxisCoord(e)[0],r=gr(this._axis.getExtent().slice());n>r[1]&&(n=r[1]),n<r[0]&&(n=r[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var i=this._progressLine;i&&(i.shape.x2=n,i.dirty());var o=this._findNearestTick(n),a=this.model;(t||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},t.prototype._doPlayStop=function(){var e=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var t=e.model;e._changeTimeline(t.getCurrentIndex()+(t.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},t.prototype._toAxisCoord=function(e){return Sc(e,this._mainGroup.getLocalTransform(),!0)},t.prototype._findNearestTick=function(e){var t,n=this.model.getData(),r=1/0,i=this._axis;return n.each(["value"],function(n,o){var a=i.dataToCoord(n),s=Math.abs(a-e);s<r&&(r=s,t=o)}),t},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._changeTimeline=function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})},t.prototype._updateTicksStatus=function(){var e=this.model.getCurrentIndex(),t=this._tickSymbols,n=this._tickLabels;if(t)for(var r=0;r<t.length;r++)t&&t[r]&&t[r].toggleState("progress",r<e);if(n)for(r=0;r<n.length;r++)n&&n[r]&&n[r].toggleState("progress",fN(n[r]).dataIndex<=e)},t.type="timeline.slider",t}(uN);function vN(e){var t=e&&e.timeline;g.isArray(t)||(t=t?[t]:[]),g.each(t,function(e){e&&function(e){var t=e.type,n={number:"value",time:"time"};n[t]&&(e.axisType=n[t],delete e.type);if(mN(e),yN(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});yN(r,"position")||(r.position=e.controlPosition),"none"!==r.position||yN(r,"show")||(r.show=!1,delete r.position),delete e.controlPosition}g.each(e.data||[],function(e){g.isObject(e)&&!g.isArray(e)&&(!yN(e,"value")&&yN(e,"name")&&(e.value=e.name),mN(e))})}(e)})}function mN(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),r=e.label||e.label||{},i=r.normal||(r.normal={}),o={normal:1,emphasis:1};g.each(r,function(e,t){o[t]||yN(i,t)||(i[t]=e)}),n.label&&!yN(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function yN(e,t){return e.hasOwnProperty(t)}function bN(e,t){if(!e)return!1;for(var n=Object(g.isArray)(e)?e:[e],r=0;r<n.length;r++)if(n[r]&&n[r][t])return!0;return!1}function _N(e){zr(e,"label",["show"])}var wN=ei(),xN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return p(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},t.prototype.isAnimationEnabled=function(){if(A.a.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,n,r){var i=this.mainType;n||t.eachSeries(function(e){var n=e.get(this.mainType,!0),o=wN(e)[i];n&&n.data?(o?o._mergeOption(n,t,!0):(r&&_N(n),g.each(n.data,function(e){e instanceof Array?(_N(e[0]),_N(e[1])):_N(e)}),o=this.createMarkerModelFromSeries(n,this,t),g.extend(o,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),o.__hostSeries=e),wN(e)[i]=o):wN(e)[i]=null},this)},t.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e),o=r.getName(e);return Qf("section",{header:this.name,blocks:[Qf("nameValue",{name:o,value:i,noName:!o,noValue:null==i})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.getMarkerModelFromSeries=function(e,t){return wN(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(Ch);g.mixin(xN,rf.prototype);var CN=xN,SN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(CN);function BN(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function kN(e,t,n,r,i,o){var a=[],s=dm(t,r)?t.getCalculationInfo("stackResultDimension"):r,l=IN(t,s,e),c=t.indicesOfNearest(s,l)[0];a[i]=t.get(n,c),a[o]=t.get(s,c);var u=t.get(r,c),h=vr(t.get(r,c));return(h=Math.min(h,20))>=0&&(a[o]=+a[o].toFixed(h)),[a,u]}var TN={min:Object(g.curry)(kN,"min"),max:Object(g.curry)(kN,"max"),average:Object(g.curry)(kN,"average"),median:Object(g.curry)(kN,"median")};function EN(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,i=r&&r.dimensions;if(!function(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}(t)&&!Object(g.isArray)(t.coord)&&Object(g.isArray)(i)){var o=MN(t,n,r,e);if((t=Object(g.clone)(t)).type&&TN[t.type]&&o.baseAxis&&o.valueAxis){var a=Object(g.indexOf)(i,o.baseAxis.dim),s=Object(g.indexOf)(i,o.valueAxis.dim),l=TN[t.type](n,o.baseDataDim,o.valueDataDim,a,s);t.coord=l[0],t.value=l[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&Object(g.isArray)(i))for(var c=t.coord,u=0;u<2;u++)TN[c[u]]&&(c[u]=IN(n,n.mapDimension(i[u]),c[u]));else t.coord=[];return t}}function MN(e,t,n,r){var i={};return null!=e.valueIndex||null!=e.valueDim?(i.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(function(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function DN(e,t){return!(e&&e.containData&&t.coord&&!BN(t))||e.containData(t.coord)}function ON(e,t){return e?function(e,n,r,i){return cf(i<2?e.coord&&e.coord[i]:e.value,t[i])}:function(e,n,r,i){return cf(e.value,t[i])}}function IN(e,t,n){if("average"===n){var r=0,i=0;return e.each(t,function(e,t){isNaN(e)||(r+=e,i++)}),r/i}return"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}var LN=ei(),PN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.init=function(){this.markerGroupMap=Object(g.createHashMap)()},t.prototype.render=function(e,t,n){var r=this,i=this.markerGroupMap;i.each(function(e){LN(e).keep=!1}),t.eachSeries(function(e){var i=CN.getMarkerModelFromSeries(e,r.type);i&&r.renderSeries(e,i,t,n)}),i.each(function(e){!LN(e).keep&&r.group.remove(e.group)})},t.prototype.markKeep=function(e){LN(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var n=this;Object(g.each)(e,function(e){var r=CN.getMarkerModelFromSeries(e,n.type);r&&r.getData().eachItemGraphicEl(function(e){e&&(t?hs(e):ds(e))})})},t.type="marker",t}(fp);function FN(e,t,n){var r=t.coordinateSystem;e.each(function(i){var o,a=e.getItemModel(i),s=pr(a.get("x"),n.getWidth()),l=pr(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(r){var c=e.get(r.dimensions[0],i),u=e.get(r.dimensions[1],i);o=r.dataToPoint([c,u])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),e.setItemLayout(i,o)})}var RN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=CN.getMarkerModelFromSeries(e,"markPoint");t&&(FN(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())},this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new pw),c=function(e,t,n){var r;r=e?Object(g.map)(e&&e.dimensions,function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return Object(g.extend)(Object(g.extend)({},n),{name:e,ordinalMeta:null})}):[{name:"value",type:"float"}];var i=new im(r,n),o=Object(g.map)(n.get("data"),Object(g.curry)(EN,t));e&&(o=Object(g.filter)(o,Object(g.curry)(DN,e)));var a=ON(!!e,r);return i.initData(o,null,a),i}(i,e,t);t.setData(c),FN(t.getData(),e,r),c.each(function(e){var n=c.getItemModel(e),r=n.getShallow("symbol"),i=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(Object(g.isFunction)(r)||Object(g.isFunction)(i)||Object(g.isFunction)(o)||Object(g.isFunction)(s)){var u=t.getRawValue(e),h=t.getDataParams(e);Object(g.isFunction)(r)&&(r=r(u,h)),Object(g.isFunction)(i)&&(i=i(u,h)),Object(g.isFunction)(o)&&(o=o(u,h)),Object(g.isFunction)(s)&&(s=s(u,h))}var d=n.getModel("itemStyle").getItemStyle(),f=dA(a,"color");d.fill||(d.fill=f),c.setItemVisual(e,{symbol:r,symbolSize:i,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:d})}),l.updateData(c),this.group.add(l.group),c.eachItemGraphicEl(function(e){e.traverse(function(e){Ta(e).dataModel=t})}),this.markKeep(l),l.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(PN);var NN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}(CN),HN=ei(),jN=function(e,t,n,r){var i,o=e.getData();if(Object(g.isArray)(r))i=r;else{var a=r.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=r.xAxis||null!=r.yAxis){var s=void 0,l=void 0;if(null!=r.yAxis||null!=r.xAxis)s=t.getAxis(null!=r.yAxis?"y":"x"),l=Object(g.retrieve)(r.yAxis,r.xAxis);else{var c=MN(r,o,t,e);s=c.valueAxis,l=IN(o,fm(o,c.valueDataDim),a)}var u="x"===s.dim?0:1,h=1-u,d=Object(g.clone)(r),f={coord:[]};d.type=null,d.coord=[],d.coord[h]=-1/0,f.coord[h]=1/0;var p=n.get("precision");p>=0&&Object(g.isNumber)(l)&&(l=+l.toFixed(Math.min(p,20))),d.coord[u]=f.coord[u]=l,i=[d,f,{type:a,valueIndex:r.valueIndex,value:l}]}else i=[]}var A=[EN(e,i[0]),EN(e,i[1]),Object(g.extend)({},i[2])];return A[2].type=A[2].type||null,Object(g.merge)(A[2],A[0]),Object(g.merge)(A[2],A[1]),A};function UN(e){return!isNaN(e)&&!isFinite(e)}function QN(e,t,n,r){var i=1-e,o=r.dimensions[e];return UN(t[i])&&UN(n[i])&&t[e]===n[e]&&r.getAxis(o).containData(t[e])}function zN(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(QN(1,n,r,e)||QN(0,n,r,e)))return!0}return DN(e,t[0])&&DN(e,t[1])}function YN(e,t,n,r,i){var o,a=r.coordinateSystem,s=e.getItemModel(t),l=pr(s.get("x"),i.getWidth()),c=pr(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(c)){if(r.getMarkerPosition)o=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var u=a.dimensions,h=e.get(u[0],t),d=e.get(u[1],t);o=a.dataToPoint([h,d])}if(Tw(a,"cartesian2d")){var f=a.getAxis("x"),p=a.getAxis("y");u=a.dimensions;UN(e.get(u[0],t))?o[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):UN(e.get(u[1],t))&&(o[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c)}else o=[l,c];e.setItemLayout(t,o)}var VN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=CN.getMarkerModelFromSeries(e,"markLine");if(t){var r=t.getData(),i=HN(t).from,o=HN(t).to;i.each(function(t){YN(i,t,!0,e,n),YN(o,t,!1,e,n)}),r.each(function(e){r.setItemLayout(e,[i.getItemLayout(e),o.getItemLayout(e)])}),this.markerGroupMap.get(e.id).updateLayout()}},this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new jT);this.group.add(l.group);var c=function(e,t,n){var r;r=e?Object(g.map)(e&&e.dimensions,function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return Object(g.extend)(Object(g.extend)({},n),{name:e,ordinalMeta:null})}):[{name:"value",type:"float"}];var i=new im(r,n),o=new im(r,n),a=new im([],n),s=Object(g.map)(n.get("data"),Object(g.curry)(jN,t,e,n));e&&(s=Object(g.filter)(s,Object(g.curry)(zN,e)));var l=ON(!!e,r);return i.initData(Object(g.map)(s,function(e){return e[0]}),null,l),o.initData(Object(g.map)(s,function(e){return e[1]}),null,l),a.initData(Object(g.map)(s,function(e){return e[2]})),a.hasItemOption=!0,{from:i,to:o,line:a}}(i,e,t),u=c.from,h=c.to,d=c.line;HN(t).from=u,HN(t).to=h,t.setData(d);var f=t.get("symbol"),p=t.get("symbolSize"),A=t.get("symbolRotate"),v=t.get("symbolOffset");function m(t,n,i){var o=t.getItemModel(n);YN(t,n,i,e,r);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=dA(a,"color")),t.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Object(g.retrieve2)(o.get("symbolOffset",!0),v[i?0:1]),symbolRotate:Object(g.retrieve2)(o.get("symbolRotate",!0),A[i?0:1]),symbolSize:Object(g.retrieve2)(o.get("symbolSize"),p[i?0:1]),symbol:Object(g.retrieve2)(o.get("symbol",!0),f[i?0:1]),style:s})}Object(g.isArray)(f)||(f=[f,f]),Object(g.isArray)(p)||(p=[p,p]),Object(g.isArray)(A)||(A=[A,A]),Object(g.isArray)(v)||(v=[v,v]),c.from.each(function(e){m(u,e,!0),m(h,e,!1)}),d.each(function(e){var t=d.getItemModel(e).getModel("lineStyle").getLineStyle();d.setItemLayout(e,[u.getItemLayout(e),h.getItemLayout(e)]),null==t.stroke&&(t.stroke=u.getItemVisual(e,"style").fill),d.setItemVisual(e,{fromSymbolKeepAspect:u.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:u.getItemVisual(e,"symbolOffset"),fromSymbolRotate:u.getItemVisual(e,"symbolRotate"),fromSymbolSize:u.getItemVisual(e,"symbolSize"),fromSymbol:u.getItemVisual(e,"symbol"),toSymbolKeepAspect:h.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(e,"symbolOffset"),toSymbolRotate:h.getItemVisual(e,"symbolRotate"),toSymbolSize:h.getItemVisual(e,"symbolSize"),toSymbol:h.getItemVisual(e,"symbol"),style:t})}),l.updateData(d),c.line.eachItemGraphicEl(function(e){Ta(e).dataModel=t,e.traverse(function(e){Ta(e).dataModel=t})}),this.markKeep(l),l.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(PN);var GN=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.createMarkerModelFromSeries=function(e,n,r){return new t(e,n,r)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(CN),WN=ei(),XN=function(e,t,n,r){var i=r[0],o=r[1];if(i&&o){var a=EN(e,i),s=EN(e,o),l=a.coord,c=s.coord;l[0]=Object(g.retrieve)(l[0],-1/0),l[1]=Object(g.retrieve)(l[1],-1/0),c[0]=Object(g.retrieve)(c[0],1/0),c[1]=Object(g.retrieve)(c[1],1/0);var u=Object(g.mergeAll)([{},a,s]);return u.coord=[a.coord,s.coord],u.x0=a.x,u.y0=a.y,u.x1=s.x,u.y1=s.y,u}};function ZN(e){return!isNaN(e)&&!isFinite(e)}function $N(e,t,n,r){var i=1-e;return ZN(t[i])&&ZN(n[i])}function KN(e,t){var n=t.coord[0],r=t.coord[1],i={coord:n,x:t.x0,y:t.y0},o={coord:r,x:t.x1,y:t.y1};return Tw(e,"cartesian2d")?!(!n||!r||!$N(1,n,r)&&!$N(0,n,r))||function(e,t,n){return!(e&&e.containZone&&t.coord&&n.coord&&!BN(t)&&!BN(n))||e.containZone(t.coord,n.coord)}(e,i,o):DN(e,i)||DN(e,o)}function JN(e,t,n,r,i){var o,a=r.coordinateSystem,s=e.getItemModel(t),l=pr(s.get(n[0]),i.getWidth()),c=pr(s.get(n[1]),i.getHeight());if(isNaN(l)||isNaN(c)){if(r.getMarkerPosition){var u=e.getValues(["x0","y0"],t),h=e.getValues(["x1","y1"],t),d=a.clampData(u),f=a.clampData(h),p=[];"x0"===n[0]?p[0]=d[0]>f[0]?h[0]:u[0]:p[0]=d[0]>f[0]?u[0]:h[0],"y0"===n[1]?p[1]=d[1]>f[1]?h[1]:u[1]:p[1]=d[1]>f[1]?u[1]:h[1],o=r.getMarkerPosition(p,n,!0)}else{var A=[m=e.get(n[0],t),y=e.get(n[1],t)];a.clampData&&a.clampData(A,A),o=a.dataToPoint(A,!0)}if(Tw(a,"cartesian2d")){var g=a.getAxis("x"),v=a.getAxis("y"),m=e.get(n[0],t),y=e.get(n[1],t);ZN(m)?o[0]=g.toGlobalCoord(g.getExtent()["x0"===n[0]?0:1]):ZN(y)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c)}else o=[l,c];return o}var qN=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];var eH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.updateTransform=function(e,t,n){t.eachSeries(function(e){var t=CN.getMarkerModelFromSeries(e,"markArea");if(t){var r=t.getData();r.each(function(t){var i=Object(g.map)(qN,function(i){return JN(r,t,i,e,n)});r.setItemLayout(t,i),r.getItemGraphicEl(t).setShape("points",i)})}},this)},t.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new tr});this.group.add(l.group),this.markKeep(l);var c=function(e,t,n){var r,i;if(e){var o=Object(g.map)(e&&e.dimensions,function(e){var n=t.getData(),r=n.getDimensionInfo(n.mapDimension(e))||{};return Object(g.extend)(Object(g.extend)({},r),{name:e,ordinalMeta:null})});i=Object(g.map)(["x0","y0","x1","y1"],function(e,t){return{name:e,type:o[t%2].type}}),r=new im(i,n)}else r=new im(i=[{name:"value",type:"float"}],n);var a=Object(g.map)(n.get("data"),Object(g.curry)(XN,t,e,n));e&&(a=Object(g.filter)(a,Object(g.curry)(KN,e)));var s=e?function(e,t,n,r){var o=e.coord[Math.floor(r/2)][r%2];return cf(o,i[r])}:function(e,t,n,r){return cf(e.value,i[r])};return r.initData(a,null,s),r.hasItemOption=!0,r}(i,e,t);t.setData(c),c.each(function(t){var n=Object(g.map)(qN,function(n){return JN(c,t,n,e,r)}),o=i.getAxis("x").scale,s=i.getAxis("y").scale,l=o.getExtent(),u=s.getExtent(),h=[o.parse(c.get("x0",t)),o.parse(c.get("x1",t))],d=[s.parse(c.get("y0",t)),s.parse(c.get("y1",t))];gr(h),gr(d);var f=!!(l[0]>h[1]||l[1]<h[0]||u[0]>d[1]||u[1]<d[0]);c.setItemLayout(t,{points:n,allClipped:f});var p=c.getItemModel(t).getModel("itemStyle").getItemStyle(),A=dA(a,"color");p.fill||(p.fill=A,Object(g.isString)(p.fill)&&(p.fill=Lt.modifyAlpha(p.fill,.4))),p.stroke||(p.stroke=A),c.setItemVisual(t,"style",p)}),c.diff(WN(l).data).add(function(e){var t=c.getItemLayout(e);if(!t.allClipped){var n=new Sl({shape:{points:t.points}});c.setItemGraphicEl(e,n),l.group.add(n)}}).update(function(e,n){var r=WN(l).data.getItemGraphicEl(n),i=c.getItemLayout(e);i.allClipped?r&&l.group.remove(r):(r?tc(r,{shape:{points:i.points}},t,e):r=new Sl({shape:{points:i.points}}),c.setItemGraphicEl(e,r),l.group.add(r))}).remove(function(e){var t=WN(l).data.getItemGraphicEl(e);l.group.remove(t)}).execute(),c.eachItemGraphicEl(function(e,n){var r=c.getItemModel(n),i=c.getItemVisual(n,"style");e.useStyle(c.getItemVisual(n,"style")),Uc(e,Qc(r),{labelFetcher:t,labelDataIndex:n,defaultText:c.getName(n)||"",inheritColor:Object(g.isString)(i.fill)?Lt.modifyAlpha(i.fill,1):"#000"}),Bs(e,r),ws(e,null,null,r.get(["emphasis","disabled"])),Ta(e).dataModel=t}),WN(l).data=c,l.group.silent=t.get("silent")||e.get("silent")},t.type="markArea",t}(PN);var tH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return p(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),this._updateSelector(t)},t.prototype._updateSelector=function(e){var t=e.selector,n=this.ecModel;!0===t&&(t=e.selector=["all","inverse"]),g.isArray(t)&&g.each(t,function(e,r){g.isString(e)&&(e={type:e}),t[r]=g.merge(e,function(e,t){return"all"===t?{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,e.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var r=e[n].get("name");if(this.isSelected(r)){this.select(r),t=!0;break}}!t&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],n=[];e.eachRawSeries(function(r){var i,o=r.name;if(n.push(o),r.legendVisualProvider){var a=r.legendVisualProvider.getAllNames();e.isSeriesFiltered(r)||(n=n.concat(a)),a.length?t=t.concat(a):i=!0}else i=!0;i&&Kr(r)&&t.push(r.name)}),this._availableNames=n;var r=this.get("data")||t,i=g.createHashMap(),o=g.map(r,function(e){return(g.isString(e)||g.isNumber(e))&&(e={name:e}),i.get(e.name)?null:(i.set(e.name,!0),new du(e,this,this.ecModel))},this);this._data=g.filter(o,function(e){return!!e})},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var t=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;g.each(n,function(e){t[e.get("name")]=!1})}t[e]=!0},t.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,t=this.option.selected;g.each(e,function(e){t[e.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;g.each(e,function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]})},t.prototype.isSelected=function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&g.indexOf(this._availableNames,e)>=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(Ch),nH=g.curry,rH=g.each,iH=tr;function oH(e,t,n,r){lH(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),sH(e,t,n,r)}function aH(e){for(var t,n=e.getZr().storage.getDisplayList(),r=0,i=n.length;r<i&&!(t=n[r].states.emphasis);)r++;return t&&t.hoverLayer}function sH(e,t,n,r){aH(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function lH(e,t,n,r){aH(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}var cH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return p(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new iH),this.group.add(this._selectorGroup=new iH),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var i=e.get("align"),o=e.get("orient");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===o?"right":"left");var a=e.get("selector",!0),s=e.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(i,e,t,n,a,o,s);var l=e.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},u=e.get("padding"),h=gh(l,c,u),d=this.layoutInner(e,i,h,r,a,s),f=gh(g.defaults({width:d.width,height:d.height},l),c,u);this.group.x=f.x-d.x,this.group.y=f.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=TF(d,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,r,i,o,a){var s=this.getContentGroup(),l=g.createHashMap(),c=t.get("selectedMode"),u=[];n.eachRawSeries(function(e){!e.get("legendHoverLink")&&u.push(e.id)}),rH(t.getData(),function(i,o){var a=i.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var h=new iH;return h.newline=!0,void s.add(h)}var d=n.getSeriesByName(a)[0];if(!l.get(a)){if(d){var f=d.getData(),p=f.getVisual("legendLineStyle")||{},A=f.getVisual("legendIcon"),v=f.getVisual("style");this._createItem(d,a,o,i,t,e,p,v,A,c,r).on("click",nH(oH,a,null,r,u)).on("mouseover",nH(sH,d.name,null,r,u)).on("mouseout",nH(lH,d.name,null,r,u)),l.set(a,!0)}else n.eachRawSeries(function(n){if(!l.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var h=s.indexOfName(a),d=s.getItemVisual(h,"style"),f=s.getItemVisual(h,"legendIcon"),p=Object(Lt.parse)(d.fill);p&&0===p[3]&&(p[3]=.2,d=g.extend(g.extend({},d),{fill:Object(Lt.stringify)(p,"rgba")})),this._createItem(n,a,o,i,t,e,{},d,f,c,r).on("click",nH(oH,null,a,r,u)).on("mouseover",nH(sH,null,a,r,u)).on("mouseout",nH(lH,null,a,r,u)),l.set(a,!0)}},this);0}},this),i&&this._createSelector(i,t,r,o,a)},t.prototype._createSelector=function(e,t,n,r,i){var o=this.getSelectorGroup();rH(e,function(e){var r=e.type,i=new ka({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i),Uc(i,{normal:t.getModel("selectorLabel"),emphasis:t.getModel(["emphasis","selectorLabel"])},{defaultText:e.title}),_s(i)})},t.prototype._createItem=function(e,t,n,r,i,o,a,s,l,c,u){var h=e.visualDrawType,d=i.get("itemWidth"),f=i.get("itemHeight"),p=i.isSelected(t),A=r.get("symbolRotate"),v=r.get("symbolKeepAspect"),m=r.get("icon"),y=function(e,t,n,r,i,o,a){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),rH(e,function(n,r){"inherit"===e[r]&&(e[r]=t[r])})}var l=t.getModel("itemStyle"),c=l.getItemStyle(),u=0===e.lastIndexOf("empty",0)?"fill":"stroke",h=l.getShallow("decal");c.decal=h&&"inherit"!==h?ag(h,a):r.decal,"inherit"===c.fill&&(c.fill=r[i]);"inherit"===c.stroke&&(c.stroke=r[u]);"inherit"===c.opacity&&(c.opacity=("fill"===i?r:n).opacity);s(c,r);var d=t.getModel("lineStyle"),f=d.getLineStyle();if(s(f,n),"auto"===c.fill&&(c.fill=r.fill),"auto"===c.stroke&&(c.stroke=r.fill),"auto"===f.stroke&&(f.stroke=r.fill),!o){var p=t.get("inactiveBorderWidth"),A=c[u];c.lineWidth="auto"===p?r.lineWidth>0&&A?2:0:c.lineWidth,c.fill=t.get("inactiveColor"),c.stroke=t.get("inactiveBorderColor"),f.stroke=d.get("inactiveColor"),f.lineWidth=d.get("inactiveWidth")}return{itemStyle:c,lineStyle:f}}(l=m||l||"roundRect",r,a,s,h,p,u),b=new iH,_=r.getModel("textStyle");if(!g.isFunction(e.getLegendIcon)||m&&"inherit"!==m){var w="inherit"===m&&e.getData().getVisual("symbol")?"inherit"===A?e.getData().getVisual("symbolRotate"):A:0;b.add(function(e){var t=e.icon||"roundRect",n=EA(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:d,itemHeight:f,icon:l,iconRotate:w,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:v}))}else b.add(e.getLegendIcon({itemWidth:d,itemHeight:f,icon:l,iconRotate:A,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:v}));var x="left"===o?d+5:-5,C=o,S=i.get("formatter"),B=t;g.isString(S)&&S?B=S.replace("{name}",null!=t?t:""):g.isFunction(S)&&(B=S(t));var k=r.get("inactiveColor");b.add(new ka({style:zc(_,{text:B,x:x,y:f/2,fill:p?_.getTextColor():k,align:C,verticalAlign:"middle"})}));var T=new ha({shape:b.getBoundingRect(),invisible:!0}),E=r.getModel("tooltip");return E.get("show")&&Pc({el:T,componentModel:i,itemName:t,itemTooltipOption:E.option}),b.add(T),b.eachChild(function(e){e.silent=!0}),T.silent=!c,this.getContentGroup().add(b),_s(b),b.__legendDataIndex=n,b},t.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Ah(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),c=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),i){Ah("horizontal",s,e.get("selectorItemGap",!0));var u=s.getBoundingRect(),h=[-u.x,-u.y],d=e.get("selectorButtonGap",!0),f=e.getOrient().index,p=0===f?"width":"height",A=0===f?"height":"width",g=0===f?"y":"x";"end"===o?h[f]+=l[p]+d:c[f]+=u[p]+d,h[1-f]+=l[A]/2-u[A]/2,s.x=h[0],s.y=h[1],a.x=c[0],a.y=c[1];var v={x:0,y:0};return v[p]=l[p]+d+u[p],v[A]=Math.max(l[A],u[A]),v[g]=Math.min(0,u[g]+h[1-f]),v}return a.x=c[0],a.y=c[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(fp);function uH(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0})}function hH(e,t,n){var r,i={},o="toggleSelected"===e;return n.eachComponent("legend",function(n){o&&null!=r?n[r?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?n[e]():(n[e](t.name),r=n.isSelected(t.name));var a=n.getData();Object(g.each)(a,function(e){var t=e.get("name");if("\n"!==t&&""!==t){var r=n.isSelected(t);i.hasOwnProperty(t)?i[t]=i[t]&&r:i[t]=r}})}),"allSelect"===e||"inverseSelect"===e?{selected:i}:{name:t.name,selected:i}}function dH(e){e.registerComponentModel(tH),e.registerComponentView(cH),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,uH),e.registerSubTypeDefaulter("legend",function(){return"plain"}),function(e){e.registerAction("legendToggleSelect","legendselectchanged",Object(g.curry)(hH,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Object(g.curry)(hH,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Object(g.curry)(hH,"inverseSelect")),e.registerAction("legendSelect","legendselected",Object(g.curry)(hH,"select")),e.registerAction("legendUnSelect","legendunselected",Object(g.curry)(hH,"unSelect"))}(e)}function fH(e,t,n){var r=[1,1];r[e.getOrient().index]=0,yh(t,n,{type:"box",ignoreSize:!!r})}var pH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,n,r){var i=bh(t);e.prototype.init.call(this,t,n,r),fH(this,t,i)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),fH(this,this.option,t)},t.type="legend.scroll",t.defaultOption=Au(tH.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(tH),AH=tr,gH=["width","height"],vH=["x","y"],mH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return p(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new AH),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new AH)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(t,n,r,i,o,a,s){var l=this;e.prototype.renderInner.call(this,t,n,r,i,o,a,s);var c=this._controllerGroup,u=n.get("pageIconSize",!0),h=g.isArray(u)?u:[u,u];f("pagePrev",0);var d=n.getModel("pageTextStyle");function f(e,t){var r=e+"DataIndex",o=Dc(n.get("pageIcons",!0)[n.getOrient().name][t],{onclick:g.bind(l._pageGo,l,r,n,i)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});o.name=e,c.add(o)}c.add(new ka({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},t.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getSelectorGroup(),s=e.getOrient().index,l=gH[s],c=vH[s],u=gH[1-s],h=vH[1-s];i&&Ah("horizontal",a,e.get("selectorItemGap",!0));var d=e.get("selectorButtonGap",!0),f=a.getBoundingRect(),p=[-f.x,-f.y],A=g.clone(n);i&&(A[l]=n[l]-f[l]-d);var v=this._layoutContentAndController(e,r,A,s,l,u,h,c);if(i){if("end"===o)p[s]+=v[l]+d;else{var m=f[l]+d;p[s]-=m,v[c]-=m}v[l]+=f[l]+d,p[1-s]+=v[h]+v[u]/2-f[u]/2,v[u]=Math.max(v[u],f[u]),v[h]=Math.min(v[h],f[h]+p[1-s]),a.x=p[0],a.y=p[1],a.markRedraw()}return v},t.prototype._layoutContentAndController=function(e,t,n,r,i,o,a,s){var l=this.getContentGroup(),c=this._containerGroup,u=this._controllerGroup;Ah(e.get("orient"),l,e.get("itemGap"),r?n.width:null,r?null:n.height),Ah("horizontal",u,e.get("pageButtonItemGap",!0));var h=l.getBoundingRect(),d=u.getBoundingRect(),f=this._showController=h[i]>n[i],p=[-h.x,-h.y];t||(p[r]=l[s]);var A=[0,0],v=[-d.x,-d.y],m=g.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));f&&("end"===e.get("pageButtonPosition",!0)?v[r]+=n[i]-d[i]:A[r]+=d[i]+m);v[1-r]+=h[o]/2-d[o]/2,l.setPosition(p),c.setPosition(A),u.setPosition(v);var y={x:0,y:0};if(y[i]=f?n[i]:h[i],y[o]=Math.max(h[o],d[o]),y[a]=Math.min(0,d[a]+v[1-r]),c.__rectSize=n[i],f){var b={x:0,y:0};b[i]=Math.max(n[i]-d[i]-m,0),b[o]=y[o],c.setClipPath(new ha({shape:b})),c.__rectSize=b[i]}else u.eachChild(function(e){e.attr({invisible:!0,silent:!0})});var _=this._getPageInfo(e);return null!=_.pageIndex&&tc(l,{x:_.contentPosition[0],y:_.contentPosition[1]},f?e:null),this._updatePageInfoView(e,_),y},t.prototype._pageGo=function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;g.each(["pagePrev","pageNext"],function(r){var i=null!=t[r+"DataIndex"],o=n.childOfName(r);o&&(o.setStyle("fill",i?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=i?"pointer":"default")});var r=n.childOfName("pageText"),i=e.get("pageFormatter"),o=t.pageIndex,a=null!=o?o+1:0,s=t.pageCount;r&&i&&r.setStyle("text",g.isString(i)?i.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):i({current:a,total:s}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=e.getOrient().index,o=gH[i],a=vH[i],s=this._findTargetItemIndex(t),l=n.children(),c=l[s],u=l.length,h=u?1:0,d={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return d;var f=m(c);d.contentPosition[i]=-f.s;for(var p=s+1,A=f,g=f,v=null;p<=u;++p)(!(v=m(l[p]))&&g.e>A.s+r||v&&!y(v,A.s))&&(A=g.i>A.i?g:v)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=A.i),++d.pageCount),g=v;for(p=s-1,A=f,g=f,v=null;p>=-1;--p)(v=m(l[p]))&&y(g,v.s)||!(A.i<g.i)||(g=A,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=A.i),++d.pageCount,++d.pageIndex),A=v;return d;function m(e){if(e){var t=e.getBoundingRect(),n=t[a]+e[a];return{s:n,e:n+t[o],i:e.__legendDataIndex}}}function y(e,t){return e.e>=t&&e.s<=t+r}},t.prototype._findTargetItemIndex=function(e){return this._showController?(this.getContentGroup().eachChild(function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===e&&(t=i)}),null!=t?t:n):0;var t,n},t.type="legend.scroll",t}(cH);function yH(e){Dv(dH),e.registerComponentModel(pH),e.registerComponentView(mH),function(e){e.registerAction("legendScroll","legendscroll",function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(e){e.setScrollDataIndex(n)})})}(e)}var bH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="dataZoom.inside",t.defaultOption=Au(dF.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(dF),_H=ei();function wH(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function xH(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function CH(e,t,n,r){return e.coordinateSystem.containPoint([n,r])}function SH(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(e,t){var n=_H(t),r=n.coordSysRecordMap||(n.coordSysRecordMap=Object(g.createHashMap)());r.each(function(e){e.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(e){var n=cF(e);Object(g.each)(n.infoList,function(n){var i=n.model.uid,o=r.get(i)||r.set(i,function(e,t){var n={model:t,containsPoint:Object(g.curry)(CH,t),dispatchAction:Object(g.curry)(xH,e),dataZoomInfoMap:null,controller:null},r=n.controller=new eS(e.getZr());return Object(g.each)(["pan","zoom","scrollMove"],function(e){r.on(e,function(t){var r=[];n.dataZoomInfoMap.each(function(i){if(t.isAvailableBehavior(i.model.option)){var o=(i.getRange||{})[e],a=o&&o(i.dzReferCoordSysInfo,n.model.mainType,n.controller,t);!i.model.get("disabled",!0)&&a&&r.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}}),r.length&&n.dispatchAction(r)})}),n}(t,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=Object(g.createHashMap)())).set(e.uid,{dzReferCoordSysInfo:n,model:e,getRange:null})})}),r.each(function(e){var t,n=e.controller,i=e.dataZoomInfoMap;if(i){var o=i.keys()[0];null!=o&&(t=i.get(o))}if(t){var a=function(e){var t,n={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return e.each(function(e){var i=e.model,o=!i.get("disabled",!0)&&(!i.get("zoomLock",!0)||"move");n["type_"+o]>n["type_"+t]&&(t=o),r=r&&i.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(i);n.enable(a.controlType,a.opt),n.setPointerChecker(e.containsPoint),Tp(e,"dispatchAction",t.model.get("throttle",!0),"fixRate")}else wH(r,e)})})}var BH=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return p(t,e),t.prototype.render=function(t,n,r){e.prototype.render.apply(this,arguments),t.noTarget()?this._clear():(this.range=t.getPercentRange(),function(e,t,n){_H(e).coordSysRecordMap.each(function(e){var r=e.dataZoomInfoMap.get(t.uid);r&&(r.getRange=n)})}(r,t,{pan:Object(g.bind)(kH.pan,this),zoom:Object(g.bind)(kH.zoom,this),scrollMove:Object(g.bind)(kH.scrollMove,this)}))},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){!function(e,t){for(var n=_H(e).coordSysRecordMap,r=n.keys(),i=0;i<r.length;i++){var o=r[i],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=t.uid;s.get(l)&&(s.removeKey(l),s.keys().length||wH(n,a))}}}(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(pF),kH={zoom:function(e,t,n,r){var i=this.range,o=i.slice(),a=e.axisModels[0];if(a){var s=EH[t](null,[r.originX,r.originY],a,n,e),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/r.scale,0);o[0]=(o[0]-l)*c+l,o[1]=(o[1]-l)*c+l;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return IE(0,o,[0,100],0,u.minSpan,u.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:TH(function(e,t,n,r,i,o){var a=EH[r]([o.oldX,o.oldY],[o.newX,o.newY],t,i,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength}),scrollMove:TH(function(e,t,n,r,i,o){return EH[r]([0,0],[o.scrollDelta,o.scrollDelta],t,i,n).signal*(e[1]-e[0])*o.scrollDelta})};function TH(e){return function(t,n,r,i){var o=this.range,a=o.slice(),s=t.axisModels[0];if(s)return IE(e(a,s,t,n,r,i),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var EH={grid:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=c[1]-c[0],a.pixelStart=c[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},MH=BH;function DH(e){_F(e),e.registerComponentModel(bH),e.registerComponentView(MH),SH(e)}var OH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=Au(dF.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(dF),IH=ha,LH="horizontal",PH=5,FH=["line","bar","candlestick","scatter"],RH={easing:"cubicOut",duration:100,delay:0};function NH(e){return"vertical"===e?"ns-resize":"ew-resize"}var HH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return p(t,e),t.prototype.init=function(e,t){this.api=t,this._onBrush=Object(g.bind)(this._onBrush,this),this._onBrushEnd=Object(g.bind)(this._onBrushEnd,this)},t.prototype.render=function(t,n,r,i){if(e.prototype.render.apply(this,arguments),Tp(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1!==t.get("show")){if(t.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){Ep(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var t=this._displayables.sliderGroup=new tr;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,t=this.api,n=e.get("brushSelect")?7:0,r=this._findCoordRect(),i={width:t.getWidth(),height:t.getHeight()},o=this._orient===LH?{right:i.width-r.x-r.width,top:i.height-30-7-n,width:r.width,height:30}:{right:7,top:r.y,width:30,height:r.height},a=bh(e.option);Object(g.each)(["right","top","width","height"],function(e){"ph"===a[e]&&(a[e]=o[e])});var s=gh(a,i);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==LH||i?n===LH&&i?{scaleY:a?1:-1,scaleX:-1}:"vertical"!==n||i?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=e.getBoundingRect([o]);e.x=t.x-s.x,e.y=t.y-s.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.sliderGroup,r=e.get("brushSelect");n.add(new IH({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var i=new IH({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:Object(g.bind)(this._onClickPanel,this)}),o=this.api.getZr();r?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(i)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var t=this._size,n=this._shadowSize||[],r=e.series,i=r.getRawData(),o=r.getShadowDim&&r.getShadowDim(),a=o&&i.getDimensionInfo(o)?r.getShadowDim():e.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(i!==this._shadowData||a!==this._shadowDim||t[0]!==n[0]||t[1]!==n[1]){var c=i.getDataExtent(a),u=.3*(c[1]-c[0]);c=[c[0]-u,c[1]+u];var h,d=[0,t[1]],f=[0,t[0]],p=[[t[0],0],[0,0]],A=[],g=f[1]/(i.count()-1),v=0,m=Math.round(i.count()/t[0]);i.each([a],function(e,t){if(m>0&&t%m)v+=g;else{var n=null==e||isNaN(e)||""===e,r=n?0:fr(e,c,d,!0);n&&!h&&t?(p.push([p[p.length-1][0],0]),A.push([A[A.length-1][0],0])):!n&&h&&(p.push([v,0]),A.push([v,0])),p.push([v,r]),A.push([v,r]),v+=g,h=n}}),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=A}this._shadowData=i,this._shadowDim=a,this._shadowSize=[t[0],t[1]];for(var y=this.dataZoomModel,b=0;b<3;b++){var _=w(1===b);this._displayables.sliderGroup.add(_),this._displayables.dataShadowSegs.push(_)}}}function w(e){var t=y.getModel(e?"selectedDataBackground":"dataBackground"),n=new tr,r=new Sl({shape:{points:s},segmentIgnoreThreshold:1,style:t.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new Tl({shape:{points:l},segmentIgnoreThreshold:1,style:t.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,r=this.ecModel;return e.eachTargetAxis(function(i,o){var a=e.getAxisProxy(i,o).getTargetSeriesModels();Object(g.each)(a,function(e){if(!(n||!0!==t&&Object(g.indexOf)(FH,e.get("type"))<0)){var a,s=r.getComponent(sF(i),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[i],c=e.coordinateSystem;null!=l&&c.getOtherAxis&&(a=c.getOtherAxis(s).inverse),l=e.getData().mapDimension(l),n={thisAxis:s,series:e,thisDim:i,otherDim:l,otherAxisInverse:a}}},this)},this),n}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,n=t.handles=[null,null],r=t.handleLabels=[null,null],i=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,c=a.get("brushSelect"),u=t.filler=new IH({silent:c,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});i.add(u),i.add(new IH({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),Object(g.each)([0,1],function(t){var o=a.get("handleIcon");!BA[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=EA(o,-1,0,2,2,null,!0);s.attr({cursor:NH(this._orient),draggable:!0,drift:Object(g.bind)(this._onDragMove,this,t),ondragend:Object(g.bind)(this._onDragEnd,this),onmouseover:Object(g.bind)(this._showDataInfo,this,!0),onmouseout:Object(g.bind)(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),c=a.get("handleSize");this._handleHeight=pr(c,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),_s(s);var u=a.get("handleColor");null!=u&&(s.style.fill=u),i.add(n[t]=s);var h=a.getModel("textStyle");e.add(r[t]=new ka({silent:!0,invisible:!0,style:zc(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))},this);var h=u;if(c){var d=pr(a.get("moveHandleSize"),o[1]),f=t.moveHandle=new ha({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:d}}),p=.8*d,A=t.moveHandleIcon=EA(a.get("moveHandleIcon"),-p/2,-p/2,p,p,"#fff",!0);A.silent=!0,A.y=o[1]+d/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(d,10));(h=t.moveZone=new ha({invisible:!0,shape:{y:o[1]-v,height:d+v}})).on("mouseover",function(){s.enterEmphasis(f)}).on("mouseout",function(){s.leaveEmphasis(f)}),i.add(f),i.add(A),i.add(h)}h.attr({draggable:!0,cursor:NH(this._orient),drift:Object(g.bind)(this._onDragMove,this,"all"),ondragstart:Object(g.bind)(this._showDataInfo,this,!0),ondragend:Object(g.bind)(this._onDragEnd,this),onmouseover:Object(g.bind)(this._showDataInfo,this,!0),onmouseout:Object(g.bind)(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[fr(e[0],[0,100],t,!0),fr(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];IE(t,r,i,n.get("zoomLock")?"all":e,null!=o.minSpan?fr(o.minSpan,a,i,!0):null,null!=o.maxSpan?fr(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=gr([fr(r[0],i,a,!0),fr(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},t.prototype._updateView=function(e){var t=this._displayables,n=this._handleEnds,r=gr(n.slice()),i=this._size;Object(g.each)([0,1],function(e){var r=t.handles[e],o=this._handleHeight;r.attr({scaleX:o/2,scaleY:o/2,x:n[e]+(e?-1:1),y:i[1]/2-o/2})},this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]});var o={x:r[0],width:r[1]-r[0]};t.moveHandle&&(t.moveHandle.setShape(o),t.moveZone.setShape(o),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=t.dataShadowSegs,s=[0,r[0],r[1],i[0]],l=0;l<a.length;l++){var c=a[l],u=c.getClipPath();u||(u=new ha,c.setClipPath(u)),u.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:i[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var t=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,o=["",""];if(t.get("showDetail")){var a=t.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,c=e?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(c[0],s),this._formatLabel(c[1],s)]}}var u=gr(this._handleEnds.slice());function h(e){var t=Cc(n.handles[e].parent,this.group),a=Bc(0===e?"right":"left",t),s=this._handleWidth/2+PH,l=Sc([u[e]+(0===e?-s:s),this._size[1]/2],t);r[e].setStyle({x:l[0],y:l[1],verticalAlign:i===LH?"middle":a,align:i===LH?a:"center",text:o[e]})}h.call(this,0),h.call(this,1)},t.prototype._formatLabel=function(e,t){var n=this.dataZoomModel,r=n.get("labelFormatter"),i=n.get("labelPrecision");null!=i&&"auto"!==i||(i=t.getPixelPrecision());var o=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(i,20));return Object(g.isFunction)(r)?r(e,o):Object(g.isString)(r)?r.replace("{value}",o):o},t.prototype._showDataInfo=function(e){e=this._dragging||e;var t=this._displayables,n=t.handleLabels;n[0].attr("invisible",!e),n[1].attr("invisible",!e),t.moveHandle&&this.api[e?"enterEmphasis":"leaveEmphasis"](t.moveHandle,1)},t.prototype._onDragMove=function(e,t,n,r){this._dragging=!0,ce(r.event);var i=Sc([t,n],this._displayables.sliderGroup.getLocalTransform(),!0),o=this._updateInterval(e,i[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),o&&a&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(e){var t=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,n=e.offsetY;this._brushStart=new xe(t,n),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var t=this._displayables.brushRect;if(this._brushing=!1,t){t.attr("ignore",!0);var n=t.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),i=[0,100];this._range=gr([fr(n.x,r,i,!0),fr(n.x+n.width,r,i,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(ce(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var n=this._displayables,r=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new IH({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(e,t),l=a.transformCoordToLocal(o.x,o.y),c=this._size;s[0]=Math.max(Math.min(c[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:c[1]})},t.prototype._dispatchZoomAction=function(e){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?RH:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=cF(this.dataZoomModel).infoList;if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}if(!e){var r=this.api.getWidth(),i=this.api.getHeight();e={x:.2*r,y:.2*i,width:.6*r,height:.6*i}}return e},t.type="dataZoom.slider",t}(pF);function jH(e){e.registerComponentModel(OH),e.registerComponentView(HH),_F(e)}var UH={get:function(e,t,n){var r=g.clone((QH[e]||{})[t]);return n&&g.isArray(r)?r[r.length-1]:r}},QH={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},zH=UH,YH=Fk.mapVisual,VH=Fk.eachVisual,GH=g.isArray,WH=g.each,XH=gr,ZH=fr,$H=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return p(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},t.prototype.optionUpdated=function(e,t){var n=this.option;!t&&UR(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=g.bind(e,this),this.controllerVisuals=jR(this.option.controller,t,e),this.targetVisuals=jR(this.option.target,t,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries(function(e,n){t.push(n)}):t=Qr(e),t},t.prototype.eachTargetSeries=function(e,t){g.each(this.getTargetSeriesIndices(),function(n){var r=this.ecModel.getSeriesByIndex(n);r&&e.call(t,r)},this)},t.prototype.isTargetSeries=function(e){var t=!1;return this.eachTargetSeries(function(n){n===e&&(t=!0)}),t},t.prototype.formatValueText=function(e,t,n){var r,i=this.option,o=i.precision,a=this.dataBound,s=i.formatter;n=n||["<",">"],g.isArray(e)&&(e=e.slice(),r=!0);var l=t?e:r?[c(e[0]),c(e[1])]:c(e);return g.isString(s)?s.replace("{value}",r?l[0]:l).replace("{value2}",r?l[1]:l):g.isFunction(s)?r?s(e[0],e[1]):s(e):r?e[0]===a[0]?n[0]+" "+l[1]:e[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function c(e){return e===a[0]?"min":e===a[1]?"max":(+e).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var e=this.option,t=XH([e.min,e.max]);this._dataExtent=t},t.prototype.getDataDimensionIndex=function(e){var t=this.option.dimension;if(null!=t)return e.getDimensionIndex(t);for(var n=e.dimensions,r=n.length-1;r>=0;r--){var i=n[r],o=e.getDimensionInfo(i);if(!o.isCalculationCoord)return o.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},r=t.target||(t.target={}),i=t.controller||(t.controller={});g.merge(r,n),g.merge(i,n);var o=this.isCategory();function a(n){GH(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")}}a.call(this,r),a.call(this,i),function(e,t,n){var r=e[t],i=e[n];r&&!i&&(i=e[n]={},WH(r,function(e,t){if(Fk.isValidType(t)){var n=zH.get(t,"inactive",o);null!=n&&(i[t]=n,"color"!==t||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}}))}.call(this,r,"inRange","outOfRange"),function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get("inactiveColor"),i=this.getItemSymbol()||"roundRect";WH(this.stateList,function(a){var s=this.itemSize,l=e[a];l||(l=e[a]={color:o?r:[r]}),null==l.symbol&&(l.symbol=t&&g.clone(t)||(o?i:[i])),null==l.symbolSize&&(l.symbolSize=n&&g.clone(n)||(o?s[0]:[s[0],s[0]])),l.symbol=YH(l.symbol,function(e){return"none"===e?i:e});var c=l.symbolSize;if(null!=c){var u=-1/0;VH(c,function(e){e>u&&(u=e)}),l.symbolSize=YH(c,function(e){return ZH(e,[0,u],[0,s[0]],!0)})}},this)}.call(this,i)},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(Ch),KH=[20,140];function JH(e,t,n){if(n[0]===n[1])return n.slice();for(var r=(n[1]-n[0])/200,i=n[0],o=[],a=0;a<=200&&i<n[1];a++)o.push(i),i+=r;return o.push(n[1]),o}var qH=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(null==t[0]||isNaN(t[0]))&&(t[0]=KH[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=KH[1])},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):g.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),g.each(this.stateList,function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=t[1]/3)},this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),t=gr((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},t.prototype.getValueState=function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[];return this.eachTargetSeries(function(n){var r=[],i=n.getData();i.each(this.getDataDimensionIndex(i),function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)},this),t.push({seriesId:n.id,dataIndex:r})},this),t},t.prototype.getVisualMeta=function(e){var t=JH(this,"outOfRange",this.getExtent()),n=JH(this,"inRange",this.option.range.slice()),r=[];function i(t,n){r.push({value:t,color:e(t,n)})}for(var o=0,a=0,s=n.length,l=t.length;a<l&&(!n.length||t[a]<=n[0]);a++)t[a]<n[o]&&i(t[a],"outOfRange");for(var c=1;o<s;o++,c=0)c&&r.length&&i(n[o],"outOfRange"),i(n[o],"inRange");for(c=1;a<l;a++)(!n.length||n[n.length-1]<t[a])&&(c&&(r.length&&i(r[r.length-1].value,"outOfRange"),c=0),i(t[a],"outOfRange"));var u=r.length;return{stops:r,outerColors:[u?r[0].color:"transparent",u?r[u-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=Au($H.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),t}($H),ej=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return p(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t},t.prototype.render=function(e,t,n,r){this.visualMapModel=e,!1!==e.get("show")?this.doRender(e,t,n,r):this.group.removeAll()},t.prototype.renderBackground=function(e){var t=this.visualMapModel,n=th(t.get("padding")||0),r=e.getBoundingRect();e.add(new ha({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},t.prototype.getControllerVisual=function(e,t,n){var r=(n=n||{}).forceState,i=this.visualMapModel,o={};if("color"===t){var a=i.get("contentColor");o.color=a}function s(e){return o[e]}function l(e,t){o[e]=t}var c=i.controllerVisuals[r||i.getValueState(e)],u=Fk.prepareVisualTypes(c);return g.each(u,function(r){var i=c[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=c.__alphaForOpacity),Fk.dependsOn(r,t)&&i&&i.applyVisual(e,s,l)}),o[t]},t.prototype.positionGroup=function(e){var t=this.visualMapModel,n=this.api;vh(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},t.prototype.doRender=function(e,t,n,r){},t.type="visualMap",t}(fp),tj=[["left","right","width"],["top","bottom","height"]];function nj(e,t,n){var r=e.option,i=r.align;if(null!=i&&"auto"!==i)return i;for(var o={width:t.getWidth(),height:t.getHeight()},a="horizontal"===r.orient?1:0,s=tj[a],l=[0,null,10],c={},u=0;u<3;u++)c[tj[1-a][u]]=l[u],c[s[u]]=2===u?n[0]:r[s[u]];var h=[["x","width",3],["y","height",0]][a],d=gh(c,o,r.padding);return s[(d.margin[h[2]]||0)+d[h[0]]+.5*d[h[1]]<.5*o[h[1]]?0:1]}function rj(e,t){return g.each(e||[],function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")}),e}var ij=fr,oj=g.each,aj=Math.min,sj=Math.max,lj=12;function cj(e,t,n,r){return new Sl({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){ce(e.event)},ondragend:r})}function uj(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function hj(e){return"vertical"===e?"ns-resize":"ew-resize"}var dj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return p(t,e),t.prototype.doRender=function(e,t,n,r){this._api=n,r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},t.prototype._renderEndsText=function(e,t,n){if(t){var r=t[1-n];r=null!=r?r+"":"";var i=this.visualMapModel,o=i.get("textGap"),a=i.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),c=this._applyTransform(0===n?"bottom":"top",s),u=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new ka({style:zc(h,{x:l[0],y:l[1],verticalAlign:"horizontal"===u?"middle":c,align:"horizontal"===u?c:"center",text:r})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,n=this._shapes,r=t.itemSize,i=this._orient,o=this._useHandle,a=nj(t,this.api,r),s=n.mainGroup=this._createBarGroup(a),l=new tr;s.add(l),l.add(n.outOfRange=cj()),l.add(n.inRange=cj(null,o?hj(this._orient):null,g.bind(this._dragHandle,this,"all",!1),g.bind(this._dragHandle,this,"all",!0))),l.setClipPath(new ha({shape:{x:0,y:0,width:r[0],height:r[1],r:3}}));var c=t.textStyleModel.getTextRect("国"),u=sj(c.width,c.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(t,s,0,r,u,i),this._createHandle(t,s,1,r,u,i)),this._createIndicator(t,s,r,u,i),e.add(s)},t.prototype._createHandle=function(e,t,n,r,i,o){var a=g.bind(this._dragHandle,this,n,!1),s=g.bind(this._dragHandle,this,n,!0),l=zn(e.get("handleSize"),r[0]),c=EA(e.get("handleIcon"),-l/2,-l/2,l,l,null,!0),u=hj(this._orient);c.attr({cursor:u,draggable:!0,drift:a,ondragend:s,onmousemove:function(e){ce(e.event)}}),c.x=r[0]/2,c.useStyle(e.getModel("handleStyle").getItemStyle()),c.setStyle({strokeNoScale:!0,strokeFirst:!0}),c.style.lineWidth*=2,c.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),ks(c,!0),t.add(c);var h=this.visualMapModel.textStyleModel,d=new ka({cursor:u,draggable:!0,drift:a,onmousemove:function(e){ce(e.event)},ondragend:s,style:zc(h,{x:0,y:0,text:""})});d.ensureState("blur").style={opacity:.1},d.stateTransition={duration:200},this.group.add(d);var f=[l,0],p=this._shapes;p.handleThumbs[n]=c,p.handleLabelPoints[n]=f,p.handleLabels[n]=d},t.prototype._createIndicator=function(e,t,n,r,i){var o=zn(e.get("indicatorSize"),n[0]),a=EA(e.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=e.getModel("indicatorStyle").getItemStyle();if(a instanceof ra){var l=a.style;a.useStyle(g.extend({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else a.useStyle(s);t.add(a);var c=this.visualMapModel.textStyleModel,u=new ka({silent:!0,invisible:!0,style:zc(c,{x:0,y:0,text:""})});this.group.add(u);var h=[("horizontal"===i?r/2:6)+n[0]/2,0],d=this._shapes;d.indicator=a,d.indicatorLabel=u,d.indicatorLabelPoint=h,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,t,n,r){if(this._useHandle){if(this._dragging=!t,!t){var i=this._applyTransform([n,r],this._shapes.mainGroup,!0);this._updateInterval(e,i[1]),this._hideIndicator(),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():uj(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),r=[0,e.itemSize[1]];this._handleEnds=[ij(t[0],n,r,!0),ij(t[1],n,r,!0)]},t.prototype._updateInterval=function(e,t){t=t||0;var n=this.visualMapModel,r=this._handleEnds,i=[0,n.itemSize[1]];IE(t,r,i,e,0);var o=n.getExtent();this._dataInterval=[ij(r[0],i,o,!0),ij(r[1],i,o,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,n=t.getExtent(),r=this._shapes,i=[0,t.itemSize[1]],o=e?i:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,i,"outOfRange");r.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),r.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},t.prototype._createBarVisual=function(e,t,n,r){var i={forceState:r,convertOpacityToAlpha:!0},o=this._makeColorGradient(e,i),a=[this.getControllerVisual(e[0],"symbolSize",i),this.getControllerVisual(e[1],"symbolSize",i)],s=this._createBarPoints(n,a);return{barColor:new zl(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},t.prototype._makeColorGradient=function(e,t){var n=[],r=(e[1]-e[0])/100;n.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var i=1;i<100;i++){var o=e[0]+r*i;if(o>e[1])break;n.push({color:this.getControllerVisual(o,"color",t),offset:i/100})}return n.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),n},t.prototype._createBarPoints=function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},t.prototype._createBarGroup=function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new tr("horizontal"!==t||n?"horizontal"===t&&n?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"!==t||n?{scaleX:"left"===e?1:-1}:{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2})},t.prototype._updateHandle=function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,o=n.handleLabels,a=r.itemSize,s=r.getExtent();oj([0,1],function(l){var c=i[l];c.setStyle("fill",t.handlesColor[l]),c.y=e[l];var u=ij(e[l],[0,a[1]],s,!0),h=this.getControllerVisual(u,"symbolSize");c.scaleX=c.scaleY=h/a[0],c.x=a[0]-h/2;var d=Sc(n.handleLabelPoints[l],Cc(c,this.group));o[l].setStyle({x:d[0],y:d[1],text:r.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(e,t,n,r){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,s=[0,a[1]],l=this._shapes,c=l.indicator;if(c){c.attr("invisible",!1);var u=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0}),h=this.getControllerVisual(e,"symbolSize"),d=ij(e,o,s,!0),f=a[0]-h/2,p={x:c.x,y:c.y};c.y=d,c.x=f;var A=Sc(l.indicatorLabelPoint,Cc(c,this.group)),g=l.indicatorLabel;g.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),m="horizontal"===this._orient;g.setStyle({text:(n||"")+i.formatValueText(t),verticalAlign:m?v:"middle",align:m?"center":v});var y={x:f,y:d,style:{fill:u}},b={style:{x:A[0],y:A[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var _={duration:100,easing:"cubicInOut",additive:!0};c.x=p.x,c.y=p.y,c.animateTo(y,_),g.animateTo(b,_)}else c.attr(y),g.attr(b);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var x=0;x<w.length;x++)this._api.enterBlur(w[x])}},t.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,r=e._applyTransform([t.offsetX,t.offsetY],e._shapes.mainGroup,!0,!0);r[1]=aj(sj(0,r[1]),n[1]),e._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}}).on("mouseout",function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()})},t.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(e,t){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var i=[0,r[1]],o=n.getExtent();e=aj(sj(i[0],e),i[1]);var a=function(e,t,n){var r=lj/2,i=e.get("hoverLinkDataSize");i&&(r=ij(i,t,n,!0)/2);return r}(n,o,i),s=[e-a,e+a],l=ij(e,i,o,!0),c=[ij(s[0],i,o,!0),ij(s[1],i,o,!0)];s[0]<i[0]&&(c[0]=-1/0),s[1]>i[1]&&(c[1]=1/0),t&&(c[0]===-1/0?this._showIndicator(l,c[1],"< ",a):c[1]===1/0?this._showIndicator(l,c[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var u=this._hoverLinkDataIndices,h=[];(t||uj(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(c));var d=function(e,t){var n={},r={};return i(e||[],n),i(t||[],r,n),[o(n),o(r)];function i(e,t,n){for(var r=0,i=e.length;r<i;r++){var o=$r(e[r].seriesId,null);if(null==o)return;for(var a=Qr(e[r].dataIndex),s=n&&n[o],l=0,c=a.length;l<c;l++){var u=a[l];s&&s[u]?s[u]=null:(t[o]||(t[o]={}))[u]=1}}}function o(e,t){var n=[];for(var r in e)if(e.hasOwnProperty(r)&&null!=e[r])if(t)n.push(+r);else{var i=o(e[r],!0);i.length&&n.push({seriesId:r,dataIndex:i})}return n}}(u,h);this._dispatchHighDown("downplay",rj(d[0],n)),this._dispatchHighDown("highlight",rj(d[1],n))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var t;if(gA(e.target,function(e){var n=Ta(e);if(null!=n.dataIndex)return t=n,!0},!0),t){var n=this.ecModel.getSeriesByIndex(t.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(n)){var i=n.getData(t.dataType),o=i.getStore().get(r.getDataDimensionIndex(i),t.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var t=this._shapes.handleLabels;if(t)for(var n=0;n<t.length;n++)this._api.leaveBlur(t[n])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",rj(e,this.visualMapModel)),e.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(e,t,n,r){var i=Cc(t,r?null:this.group);return g.isArray(e)?Sc(e,i,n):Bc(e,i,n)},t.prototype._dispatchHighDown=function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(ej),fj={type:"selectDataRange",event:"dataRangeSelected",update:"update"},pj=function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(t){t.setSelected(e.selected)})},Aj=[{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",function(t){var r,i,o,a,s,l=e.pipelineContext;!t.isTargetSeries(e)||l&&l.large||n.push((r=t.stateList,i=t.targetVisuals,o=g.bind(t.getValueState,t),a=t.getDataDimensionIndex(e.getData()),s={},g.each(r,function(e){var t=Fk.prepareVisualTypes(i[e]);s[e]=t}),{progress:function(e,t){var n,r;function l(e){return hA(t,r,e)}function c(e,n){fA(t,r,e,n)}null!=a&&(n=t.getDimensionIndex(a));for(var u=t.getStore();null!=(r=e.next());){var h=t.getRawDataItem(r);if(!h||!1!==h.visualMap)for(var d=null!=a?u.get(n,r):r,f=o(d),p=i[f],A=s[f],g=0,v=A.length;g<v;g++){var m=A[g];p[m]&&p[m].applyVisual(d,l,c)}}}}))}),n}},{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),r=[];t.eachComponent("visualMap",function(t){if(t.isTargetSeries(e)){var i=t.getVisualMeta(g.bind(gj,null,e,t))||{stops:[],outerColors:[]},o=t.getDataDimensionIndex(n);o>=0&&(i.dimension=o,r.push(i))}}),e.getData().setVisual("visualMeta",r)}}];function gj(e,t,n,r){for(var i=t.targetVisuals[r],o=Fk.prepareVisualTypes(i),a={color:dA(e.getData(),"color")},s=0,l=o.length;s<l;s++){var c=o[s],u=i["opacity"===c?"__alphaForOpacity":c];u&&u.applyVisual(n,h,d)}return a.color;function h(e){return a[e]}function d(e,t){a[e]=t}}var vj=g.each;function mj(e){var t=e&&e.visualMap;g.isArray(t)||(t=t?[t]:[]),vj(t,function(e){if(e){yj(e,"splitList")&&!yj(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&g.isArray(t)&&vj(t,function(e){g.isObject(e)&&(yj(e,"start")&&!yj(e,"min")&&(e.min=e.start),yj(e,"end")&&!yj(e,"max")&&(e.max=e.end))})}})}function yj(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var bj=!1;function _j(e){bj||(bj=!0,e.registerSubTypeDefaulter("visualMap",function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}),e.registerAction(fj,pj),Object(g.each)(Aj,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(mj))}function wj(e){e.registerComponentModel(qH),e.registerComponentView(dj),_j(e)}var xj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return p(t,e),t.prototype.optionUpdated=function(t,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],Cj[this._mode].call(this,this._pieceList),this._resetSelected(t,n);var i=this.option.categories;this.resetVisual(function(e,t){"categories"===r?(e.mappingMethod="category",e.categories=g.clone(i)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=g.map(this._pieceList,function(e){return e=g.clone(e),"inRange"!==t&&(e.visual=null),e}))})},t.prototype.completeVisualOption=function(){var t=this.option,n={},r=Fk.listVisualTypes(),i=this.isCategory();function o(e,t,n){return e&&e[t]&&e[t].hasOwnProperty(n)}g.each(t.pieces,function(e){g.each(r,function(t){e.hasOwnProperty(t)&&(n[t]=1)})}),g.each(n,function(e,n){var r=!1;g.each(this.stateList,function(e){r=r||o(t,e,n)||o(t.target,e,n)},this),!r&&g.each(this.stateList,function(e){(t[e]||(t[e]={}))[n]=zH.get(n,"inRange"===e?"active":"inactive",i)})},this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var n=this.option,r=this._pieceList,i=(t?n:e).selected||{};if(n.selected=i,g.each(r,function(e,t){var n=this.getSelectedMapKey(e);i.hasOwnProperty(n)||(i[n]=!0)},this),"single"===n.selectedMode){var o=!1;g.each(r,function(e,t){var n=this.getSelectedMapKey(e);i[n]&&(o?i[n]=!1:o=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return"categories"===this._mode?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=g.clone(e)},t.prototype.getValueState=function(e){var t=Fk.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[],n=this._pieceList;return this.eachTargetSeries(function(r){var i=[],o=r.getData();o.each(this.getDataDimensionIndex(o),function(t,r){Fk.findPieceIndex(t,n)===e&&i.push(r)},this),t.push({seriesId:r.id,dataIndex:i})},this),t},t.prototype.getRepresentValue=function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},t.prototype.getVisualMeta=function(e){if(!this.isCategory()){var t=[],n=["",""],r=this,i=this._pieceList.slice();if(i.length){var o=i[0].interval[0];o!==-1/0&&i.unshift({interval:[-1/0,o]}),(o=i[i.length-1].interval[1])!==1/0&&i.push({interval:[o,1/0]})}else i.push({interval:[-1/0,1/0]});var a=-1/0;return g.each(i,function(e){var t=e.interval;t&&(t[0]>a&&s([a,t[0]],"outOfRange"),s(t.slice()),a=t[1])},this),{stops:t,outerColors:n}}function s(i,o){var a=r.getRepresentValue({interval:i});o||(o=r.getValueState(a));var s=e(a,o);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}},t.type="visualMap.piecewise",t.defaultOption=Au($H.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}($H),Cj={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;for(var o=(r[1]-r[0])/i;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var a=0,s=r[0];a<i;s+=o,a++){var l=a===i-1?r[1]:s+o;e.push({interval:[s,l],close:[1,1]})}t.maxOpen&&e.push({interval:[r[1],1/0],close:[0,0]}),Or(e),g.each(e,function(e,t){e.index=t,e.text=this.formatValueText(e.interval)},this)},categories:function(e){var t=this.option;g.each(t.categories,function(t){e.push({text:this.formatValueText(t,!0),value:t})},this),Sj(t,e)},pieces:function(e){var t=this.option;g.each(t.pieces,function(t,n){g.isObject(t)||(t={value:t});var r={text:"",index:n};if(null!=t.label&&(r.text=t.label),t.hasOwnProperty("value")){var i=r.value=t.value;r.interval=[i,i],r.close=[1,1]}else{for(var o=r.interval=[],a=r.close=[0,0],s=[1,0,1],l=[-1/0,1/0],c=[],u=0;u<2;u++){for(var h=[["gte","gt","min"],["lte","lt","max"]][u],d=0;d<3&&null==o[u];d++)o[u]=t[h[d]],a[u]=s[d],c[u]=2===d;null==o[u]&&(o[u]=l[u])}c[0]&&o[1]===1/0&&(a[0]=0),c[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(r.value=o[0])}r.visual=Fk.retrieveVisuals(t),e.push(r)},this),Sj(t,e),Or(e),g.each(e,function(e){var t=e.close,n=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)},this)}};function Sj(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var Bj=xj,kj=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return p(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),r=t.textStyleModel,i=r.getFont(),o=r.getTextColor(),a=this._getItemAlign(),s=t.itemSize,l=this._getViewData(),c=l.endsText,u=g.retrieve(t.get("showLabel",!0),!c);c&&this._renderEndsText(e,c[0],s,u,a),g.each(l.viewPieceList,function(r){var l=r.piece,c=new tr;c.onclick=g.bind(this._onItemClick,this,l),this._enableHoverLink(c,r.indexInModelPieceList);var h=t.getRepresentValue(l);if(this._createItemSymbol(c,h,[0,0,s[0],s[1]]),u){var d=this.visualMapModel.getValueState(h);c.add(new ka({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:i,fill:o,opacity:"outOfRange"===d?.5:1}}))}e.add(c)},this),c&&this._renderEndsText(e,c[1],s,u,a),Ah(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,t){var n=this;e.on("mouseover",function(){return r("highlight")}).on("mouseout",function(){return r("downplay")});var r=function(e){var r=n.visualMapModel;r.option.hoverLink&&n.api.dispatchAction({type:e,batch:rj(r.findTargetDataIndices(t),r)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return nj(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},t.prototype._renderEndsText=function(e,t,n,r,i){if(t){var o=new tr,a=this.visualMapModel.textStyleModel;o.add(new ka({style:zc(a,{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:r?i:"center",text:t})})),e.add(o)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=g.map(e.getPieceList(),function(e,t){return{piece:e,indexInModelPieceList:t}}),n=e.get("text"),r=e.get("orient"),i=e.get("inverse");return("horizontal"===r?i:!i)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},t.prototype._createItemSymbol=function(e,t,n){e.add(EA(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},t.prototype._onItemClick=function(e){var t=this.visualMapModel,n=t.option,r=n.selectedMode;if(r){var i=g.clone(n.selected),o=t.getSelectedMapKey(e);"single"===r||!0===r?(i[o]=!0,g.each(i,function(e,t){i[t]=t===o})):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}},t.type="visualMap.piecewise",t}(ej);function Tj(e){e.registerComponentModel(Bj),e.registerComponentView(kj),_j(e)}var Ej={label:{enabled:!0},decal:{show:!1}},Mj=ei(),Dj={};function Oj(e,t){var n=e.getModel("aria");if(n.get("enabled")){var r=g.clone(Ej);g.merge(r.label,e.getLocaleModel().get("aria"),!1),g.merge(n.option,r,!1),function(){if(n.getModel("decal").get("show")){var t=g.createHashMap();e.eachSeries(function(e){if(!e.isColorBySeries()){var n=t.get(e.type);n||(n={},t.set(e.type,n)),Mj(e).scope=n}}),e.eachRawSeries(function(t){if(!e.isSeriesFiltered(t))if(g.isFunction(t.enableAriaDecal))t.enableAriaDecal();else{var n=t.getData();if(t.isColorBySeries()){var r=Kh(t.ecModel,t.name,Dj,e.getSeriesCount()),i=n.getVisual("decal");n.setVisual("decal",c(i,r))}else{var o=t.getRawData(),a={},s=Mj(t).scope;n.each(function(e){var t=n.getRawIndex(e);a[t]=e});var l=o.count();o.each(function(e){var r=a[e],i=o.getName(e)||e+"",u=Kh(t.ecModel,i,s,l),h=n.getItemVisual(r,"decal");n.setItemVisual(r,"decal",c(h,u))})}}function c(e,t){var n=e?g.extend(g.extend({},t),e):t;return n.dirty=!0,n}})}}(),function(){var r=e.getLocaleModel().get("aria"),o=n.getModel("label");if(o.option=g.defaults(o.option,r),!o.get("enabled"))return;var a=t.getZr().dom;if(o.get("description"))return void a.setAttribute("aria-label",o.get("description"));var s,l=e.getSeriesCount(),c=o.get(["data","maxCount"])||10,u=o.get(["series","maxCount"])||10,h=Math.min(l,u);if(l<1)return;var d=function(){var t=e.get("title");t&&t.length&&(t=t[0]);return t&&t.text}();if(d){var f=o.get(["general","withTitle"]);s=i(f,{title:d})}else s=o.get(["general","withoutTitle"]);var p=[],A=l>1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]);s+=i(A,{seriesCount:l}),e.eachSeries(function(t,n){if(n<h){var r=void 0,a=t.get("name"),s=a?"withName":"withoutName";r=i(r=l>1?o.get(["series","multiple",s]):o.get(["series","single",s]),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(_=t.subType,e.getLocaleModel().get(["series","typeNames"])[_]||"自定义图")});var u=t.getData();if(u.count()>c){var d=o.get(["data","partialData"]);r+=i(d,{displayCnt:c})}else r+=o.get(["data","allData"]);for(var f=o.get(["data","separator","middle"]),A=o.get(["data","separator","end"]),g=[],v=0;v<u.count();v++)if(v<c){var m=u.getName(v),y=u.getValues(v),b=o.get(["data",m?"withName":"withoutName"]);g.push(i(b,{name:m,value:y.join(f)}))}r+=g.join(f)+A,p.push(r)}var _});var v=o.getModel(["series","multiple","separator"]),m=v.get("middle"),y=v.get("end");s+=p.join(m)+y,a.setAttribute("aria-label",s)}()}function i(e,t){if(!g.isString(e))return e;var n=e;return g.each(t,function(e,t){n=n.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)}),n}}function Ij(e){if(e&&e.aria){var t=e.aria;null!=t.show&&(t.enabled=t.show),t.label=t.label||{},g.each(["description","general","series","data"],function(e){null!=t[e]&&(t.label[e]=t[e])})}}var Lj={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},Pj=function(){function e(e){if(null==(this._condVal=Object(g.isString)(e)?new RegExp(e):Object(g.isRegExp)(e)?e:null)){var t="";0,Nr(t)}}return e.prototype.evaluate=function(e){var t=typeof e;return Object(g.isString)(t)?this._condVal.test(e):!!Object(g.isNumber)(t)&&this._condVal.test(e+"")},e}(),Fj=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),Rj=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(!e[t].evaluate())return!1;return!0},e}(),Nj=function(){function e(){}return e.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(e[t].evaluate())return!0;return!1},e}(),Hj=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),jj=function(){function e(){}return e.prototype.evaluate=function(){for(var e=!!this.valueParser,t=(0,this.getValue)(this.valueGetterParam),n=e?this.valueParser(t):null,r=0;r<this.subCondList.length;r++)if(!this.subCondList[r].evaluate(e?n:t))return!1;return!0},e}();function Uj(e,t){if(!0===e||!1===e){var n=new Fj;return n.value=e,n}var r="";return zj(e)||Nr(r),e.and?Qj("and",e,t):e.or?Qj("or",e,t):e.not?function(e,t){var n=e.not,r="";0;zj(n)||Nr(r);var i=new Hj;i.child=Uj(n,t),i.child||Nr(r);return i}(e,t):function(e,t){for(var n="",r=t.prepareGetValue(e),i=[],o=Object(g.keys)(e),a=e.parser,s=a?hf(a):null,l=0;l<o.length;l++){var c=o[l];if("parser"!==c&&!t.valueGetterAttrMap.get(c)){var u=Object(g.hasOwn)(Lj,c)?Lj[c]:c,h=e[c],d=s?s(h):h,f=gf(u,d)||"reg"===u&&new Pj(d);f||Nr(n),i.push(f)}}i.length||Nr(n);var p=new jj;return p.valueGetterParam=r,p.valueParser=s,p.getValue=t.getValue,p.subCondList=i,p}(e,t)}function Qj(e,t,n){var r=t[e],i="";Object(g.isArray)(r)||Nr(i),r.length||Nr(i);var o="and"===e?new Rj:new Nj;return o.children=Object(g.map)(r,function(e){return Uj(e,n)}),o.children.length||Nr(i),o}function zj(e){return Object(g.isObject)(e)&&!Object(g.isArrayLike)(e)}var Yj=function(){function e(e,t){this._cond=Uj(e,t)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();var Vj={type:"echarts:filter",transform:function(e){for(var t,n,r,i=e.upstream,o=(n=e.config,r={valueGetterAttrMap:Object(g.createHashMap)({dimension:!0}),prepareGetValue:function(e){var t="",n=e.dimension;Object(g.hasOwn)(e,"dimension")||Nr(t);var r=i.getDimensionInfo(n);return r||Nr(t),{dimIdx:r.index}},getValue:function(e){return i.retrieveValueFromItem(t,e.dimIdx)}},new Yj(n,r)),a=[],s=0,l=i.count();s<l;s++)t=i.getRawDataItem(s),o.evaluate()&&a.push(t);return{data:a}}};var Gj={type:"echarts:sort",transform:function(e){var t=e.upstream,n="",r=Qr(e.config);r.length||Nr(n);var i=[];Object(g.each)(r,function(e){var r=e.dimension,o=e.order,a=e.parser,s=e.incomparable;if(null==r&&Nr(n),"asc"!==o&&"desc"!==o&&Nr(n),s&&"min"!==s&&"max"!==s){var l="";0,Nr(l)}if("asc"!==o&&"desc"!==o){var c="";0,Nr(c)}var u=t.getDimensionInfo(r);u||Nr(n);var h=a?hf(a):null;a&&!h&&Nr(n),i.push({dimIdx:u.index,parser:h,comparator:new pf(o,s)})});var o=t.sourceFormat;o!==Mh&&o!==Dh&&Nr(n);for(var a=[],s=0,l=t.count();s<l;s++)a.push(t.getRawDataItem(s));return a.sort(function(e,n){for(var r=0;r<i.length;r++){var o=i[r],a=t.retrieveValueFromItem(e,o.dimIdx),s=t.retrieveValueFromItem(n,o.dimIdx);o.parser&&(a=o.parser(a),s=o.parser(s));var l=o.comparator.evaluate(a,s);if(0!==l)return l}return 0}),{data:a}}};var Wj=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return p(t,e),t.prototype.init=function(t,n,r){e.prototype.init.call(this,t,n,r),this._sourceManager=new Lf(this),Pf(this)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),Pf(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:Ph},t}(Ch),Xj=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataset",t}return p(t,e),t.type="dataset",t}(fp);var Zj=Eo.CMD;function $j(e,t){return Math.abs(e-t)<1e-5}function Kj(e){var t,n,r,i,o,a=e.data,s=e.len(),l=[],c=0,u=0,h=0,d=0;function f(e,n){t&&t.length>2&&l.push(t),t=[e,n]}function p(e,n,r,i){$j(e,r)&&$j(n,i)||t.push(e,n,r,i,r,i)}function A(e,n,r,i,o,a){var s=Math.abs(n-e),l=4*Math.tan(s/4)/3,c=n<e?-1:1,u=Math.cos(e),h=Math.sin(e),d=Math.cos(n),f=Math.sin(n),p=u*o+r,A=h*a+i,g=d*o+r,v=f*a+i,m=o*l*c,y=a*l*c;t.push(p-m*h,A+y*u,g+m*f,v-y*d,g,v)}for(var g=0;g<s;){var v=a[g++],m=1===g;switch(m&&(h=c=a[g],d=u=a[g+1],v!==Zj.L&&v!==Zj.C&&v!==Zj.Q||(t=[h,d])),v){case Zj.M:c=h=a[g++],u=d=a[g++],f(h,d);break;case Zj.L:p(c,u,n=a[g++],r=a[g++]),c=n,u=r;break;case Zj.C:t.push(a[g++],a[g++],a[g++],a[g++],c=a[g++],u=a[g++]);break;case Zj.Q:n=a[g++],r=a[g++],i=a[g++],o=a[g++],t.push(c+2/3*(n-c),u+2/3*(r-u),i+2/3*(n-i),o+2/3*(r-o),i,o),c=i,u=o;break;case Zj.A:var y=a[g++],b=a[g++],_=a[g++],w=a[g++],x=a[g++],C=a[g++]+x;g+=1;var S=!a[g++];n=Math.cos(x)*_+y,r=Math.sin(x)*w+b,m?f(h=n,d=r):p(c,u,n,r),c=Math.cos(C)*_+y,u=Math.sin(C)*w+b;for(var B=(S?-1:1)*Math.PI/2,k=x;S?k>C:k<C;k+=B){A(k,S?Math.max(k+B,C):Math.min(k+B,C),y,b,_,w)}break;case Zj.R:h=c=a[g++],d=u=a[g++],n=h+a[g++],r=d+a[g++],f(n,d),p(n,d,n,r),p(n,r,h,r),p(h,r,h,d),p(h,d,n,d);break;case Zj.Z:t&&p(c,u,h,d),c=h,u=d}}return t&&t.length>2&&l.push(t),l}function Jj(e,t,n,r,i,o,a,s,l,c){if($j(e,n)&&$j(t,r)&&$j(i,a)&&$j(o,s))l.push(a,s);else{var u=2/c,h=u*u,d=a-e,f=s-t,p=Math.sqrt(d*d+f*f);d/=p,f/=p;var A=n-e,g=r-t,v=i-a,m=o-s,y=A*A+g*g,b=v*v+m*m;if(y<h&&b<h)l.push(a,s);else{var _=d*A+f*g,w=-d*v-f*m;if(y-_*_<h&&_>=0&&b-w*w<h&&w>=0)l.push(a,s);else{var x=[],C=[];wt(e,n,i,a,.5,x),wt(t,r,o,s,.5,C),Jj(x[0],C[0],x[1],C[1],x[2],C[2],x[3],C[3],l,c),Jj(x[4],C[4],x[5],C[5],x[6],C[6],x[7],C[7],l,c)}}}}function qj(e,t,n){var r=e[t],i=e[1-t],o=Math.abs(r/i),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],c=0;c<a;c++)l.push(s);var u=n-a*s;if(u>0)for(c=0;c<u;c++)l[c%a]+=1;return l}function eU(e,t,n){for(var r=e.r0,i=e.r,o=e.startAngle,a=e.endAngle,s=Math.abs(a-o),l=s*i,c=i-r,u=l>Math.abs(c),h=qj([l,c],u?0:1,t),d=(u?s:c)/h.length,f=0;f<h.length;f++)for(var p=(u?c:s)/h[f],A=0;A<h[f];A++){var g={};u?(g.startAngle=o+d*f,g.endAngle=o+d*(f+1),g.r0=r+p*A,g.r=r+p*(A+1)):(g.startAngle=o+p*A,g.endAngle=o+p*(A+1),g.r0=r+d*f,g.r=r+d*(f+1)),g.clockwise=e.clockwise,g.cx=e.cx,g.cy=e.cy,n.push(g)}}function tU(e,t,n,r){return e*r-n*t}function nU(e,t,n,r,i,o,a,s){var l=n-e,c=r-t,u=a-i,h=s-o,d=tU(u,h,l,c);if(Math.abs(d)<1e-6)return null;var f=tU(e-i,t-o,u,h)/d;return f<0||f>1?null:new xe(f*l+e,f*c+t)}function rU(e,t,n){var r=new xe;xe.sub(r,n,t),r.normalize();var i=new xe;return xe.sub(i,e,t),i.dot(r)}function iU(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function oU(e){var t=e.points,n=[],r=[];ro(t,n,r);var i=new Oe(n[0],n[1],r[0]-n[0],r[1]-n[1]),o=i.width,a=i.height,s=i.x,l=i.y,c=new xe,u=new xe;return o>a?(c.x=u.x=s+o/2,c.y=l,u.y=l+a):(c.y=u.y=l+a/2,c.x=s,u.x=s+o),function(e,t,n){for(var r=e.length,i=[],o=0;o<r;o++){var a=e[o],s=e[(o+1)%r],l=nU(a[0],a[1],s[0],s[1],t.x,t.y,n.x,n.y);l&&i.push({projPt:rU(l,t,n),pt:l,idx:o})}if(i.length<2)return[{points:e},{points:e}];i.sort(function(e,t){return e.projPt-t.projPt});var c=i[0],u=i[i.length-1];if(u.idx<c.idx){var h=c;c=u,u=h}var d=[c.pt.x,c.pt.y],f=[u.pt.x,u.pt.y],p=[d],A=[f];for(o=c.idx+1;o<=u.idx;o++)iU(p,e[o].slice());for(iU(p,f),iU(p,d),o=u.idx+1;o<=c.idx+r;o++)iU(A,e[o%r].slice());return iU(A,d),iU(A,f),[{points:p},{points:A}]}(t,c,u)}function aU(e,t,n,r){if(1===n)r.push(t);else{var i=Math.floor(n/2),o=e(t);aU(e,o[0],i,r),aU(e,o[1],n-i,r)}return r}function sU(e,t){var n,r=[],i=e.shape;switch(e.type){case"rect":!function(e,t,n){for(var r=e.width,i=e.height,o=r>i,a=qj([r,i],o?0:1,t),s=o?"width":"height",l=o?"height":"width",c=o?"x":"y",u=o?"y":"x",h=e[s]/a.length,d=0;d<a.length;d++)for(var f=e[l]/a[d],p=0;p<a[d];p++){var A={};A[c]=d*h,A[u]=p*f,A[s]=h,A[l]=f,A.x+=e.x,A.y+=e.y,n.push(A)}}(i,t,r),n=ha;break;case"sector":eU(i,t,r),n=ml;break;case"circle":eU({r0:0,r:i.r,startAngle:0,endAngle:2*Math.PI,cx:i.cx,cy:i.cy},t,r),n=ml;break;default:var o=e.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=Object(g.map)(function(e,t){var n=Kj(e),r=[];t=t||1;for(var i=0;i<n.length;i++){var o=n[i],a=[],s=o[0],l=o[1];a.push(s,l);for(var c=2;c<o.length;){var u=o[c++],h=o[c++],d=o[c++],f=o[c++],p=o[c++],A=o[c++];Jj(s,l,u,h,d,f,p,A,a,t),s=p,l=A}r.push(a)}return r}(e.getUpdatedPathProxy(),a),function(e){return function(e){for(var t=[],n=0;n<e.length;)t.push([e[n++],e[n++]]);return t}(e)}),l=s.length;if(0===l)aU(oU,{points:s[0]},t,r);else if(l===t)for(var c=0;c<l;c++)r.push({points:s[c]});else{var u=0,h=Object(g.map)(s,function(e){var t=[],n=[];ro(e,t,n);var r=(n[1]-t[1])*(n[0]-t[0]);return u+=r,{poly:e,area:r}});h.sort(function(e,t){return t.area-e.area});var d=t;for(c=0;c<l;c++){var f=h[c];if(d<=0)break;var p=c===l-1?d:Math.ceil(f.area/u*t);p<0||(aU(oU,{points:f.poly},p,r),d-=p)}}n=Sl}if(!n)return function(e,t){for(var n=[],r=0;r<t;r++)n.push($s(e));return n}(e,t);var A,v,m=[];for(c=0;c<r.length;c++){var y=new n;y.setShape(r[c]),A=e,(v=y).setStyle(A.style),v.z=A.z,v.z2=A.z2,v.zlevel=A.zlevel,m.push(y)}return m}function lU(e,t){var n=e.length,r=t.length;if(n===r)return[e,t];for(var i=[],o=[],a=n<r?e:t,s=Math.min(n,r),l=Math.abs(r-n)/6,c=(s-2)/6,u=Math.ceil(l/c)+1,h=[a[0],a[1]],d=l,f=2;f<s;){var p=a[f-2],A=a[f-1],g=a[f++],v=a[f++],m=a[f++],y=a[f++],b=a[f++],_=a[f++];if(d<=0)h.push(g,v,m,y,b,_);else{for(var w=Math.min(d,u-1)+1,x=1;x<=w;x++){var C=x/w;wt(p,g,m,b,C,i),wt(A,v,y,_,C,o),p=i[3],A=o[3],h.push(i[1],o[1],i[2],o[2],p,A),g=i[5],v=o[5],m=i[6],y=o[6]}d-=w-1}}return a===e?[h,t]:[e,h]}function cU(e,t){for(var n=e.length,r=e[n-2],i=e[n-1],o=[],a=0;a<t.length;)o[a++]=r,o[a++]=i;return o}function uU(e){for(var t=0,n=0,r=0,i=e.length,o=0,a=i-2;o<i;a=o,o+=2){var s=e[a],l=e[a+1],c=e[o],u=e[o+1],h=s*u-c*l;t+=h,n+=(s+c)*h,r+=(l+u)*h}return 0===t?[e[0]||0,e[1]||0]:[n/t/3,r/t/3,t]}function hU(e,t,n,r){for(var i=(e.length-2)/6,o=1/0,a=0,s=e.length,l=s-2,c=0;c<i;c++){for(var u=6*c,h=0,d=0;d<s;d+=2){var f=0===d?u:(u+d-2)%l+2,p=e[f]-n[0],A=e[f+1]-n[1],g=t[d]-r[0]-p,v=t[d+1]-r[1]-A;h+=g*g+v*v}h<o&&(o=h,a=c)}return a}function dU(e){for(var t=[],n=e.length,r=0;r<n;r+=2)t[r]=e[n-r-2],t[r+1]=e[n-r-1];return t}function fU(e){return e.__isCombineMorphing}var pU="__mOriginal_";function AU(e,t,n){var r=pU+t,i=e[r]||e[t];e[r]||(e[r]=e[t]);var o=n.replace,a=n.after,s=n.before;e[t]=function(){var e,t=arguments;return s&&s.apply(this,t),e=o?o.apply(this,t):i.apply(this,t),a&&a.apply(this,t),e}}function gU(e,t){var n=pU+t;e[n]&&(e[t]=e[n],e[n]=null)}function vU(e,t){for(var n=0;n<e.length;n++)for(var r=e[n],i=0;i<r.length;){var o=r[i],a=r[i+1];r[i++]=t[0]*o+t[2]*a+t[4],r[i++]=t[1]*o+t[3]*a+t[5]}}function mU(e,t){var n=e.getUpdatedPathProxy(),r=t.getUpdatedPathProxy(),i=function(e,t){for(var n,r,i,o=[],a=[],s=0;s<Math.max(e.length,t.length);s++){var l=e[s],c=t[s],u=void 0,h=void 0;l?c?(r=u=(n=lU(l,c))[0],i=h=n[1]):(h=cU(i||l,l),u=l):(u=cU(r||c,c),h=c),o.push(u),a.push(h)}return[o,a]}(Kj(n),Kj(r)),o=i[0],a=i[1],s=e.getComputedTransform(),l=t.getComputedTransform();s&&vU(o,s),l&&vU(a,l),AU(t,"updateTransform",{replace:function(){this.transform=null}}),t.transform=null;var c=function(e,t,n,r){for(var i,o=[],a=0;a<e.length;a++){var s=e[a],l=t[a],c=uU(s),u=uU(l);null==i&&(i=c[2]<0!=u[2]<0);var h=[],d=[],f=0,p=1/0,A=[],g=s.length;i&&(s=dU(s));for(var v=6*hU(s,l,c,u),m=g-2,y=0;y<m;y+=2){var b=(v+y)%m+2;h[y+2]=s[b]-c[0],h[y+3]=s[b+1]-c[1]}if(h[0]=s[v]-c[0],h[1]=s[v+1]-c[1],n>0)for(var _=r/n,w=-r/2;w<=r/2;w+=_){var x=Math.sin(w),C=Math.cos(w),S=0;for(y=0;y<s.length;y+=2){var B=h[y],k=h[y+1],T=l[y]-u[0],E=l[y+1]-u[1],M=T*C-E*x,D=T*x+E*C;A[y]=M,A[y+1]=D;var O=M-B,I=D-k;S+=O*O+I*I}if(S<p){p=S,f=w;for(var L=0;L<A.length;L++)d[L]=A[L]}}else for(var P=0;P<g;P+=2)d[P]=l[P]-u[0],d[P+1]=l[P+1]-u[1];o.push({from:h,to:d,fromCp:c,toCp:u,rotation:-f})}return o}(o,a,10,Math.PI),u=[];AU(t,"buildPath",{replace:function(e){for(var n=t.__morphT,r=1-n,i=[],o=0;o<c.length;o++){var a=c[o],s=a.from,l=a.to,h=a.rotation*n,d=a.fromCp,f=a.toCp,p=Math.sin(h),A=Math.cos(h);N(i,d,f,n);for(var g=0;g<s.length;g+=2){var v=s[g],m=s[g+1],y=v*r+(x=l[g])*n,b=m*r+(C=l[g+1])*n;u[g]=y*A-b*p+i[0],u[g+1]=y*p+b*A+i[1]}var _=u[0],w=u[1];e.moveTo(_,w);for(g=2;g<s.length;){var x=u[g++],C=u[g++],S=u[g++],B=u[g++],k=u[g++],T=u[g++];_===x&&w===C&&S===k&&B===T?e.lineTo(k,T):e.bezierCurveTo(x,C,S,B,k,T),_=k,w=T}}}})}function yU(e,t,n){if(!e||!t)return t;var r=n.done,i=n.during;return mU(e,t),t.__morphT=0,t.animateTo({__morphT:1},Object(g.defaults)({during:function(e){t.dirtyShape(),i&&i(e)},done:function(){gU(t,"buildPath"),gU(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape(),r&&r()}},n)),t}function bU(e){var t=1/0,n=1/0,r=-1/0,i=-1/0,o=Object(g.map)(e,function(e){var o=e.getBoundingRect(),a=e.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return t=Math.min(s,t),n=Math.min(l,n),r=Math.max(s,r),i=Math.max(l,i),[s,l]});return Object(g.map)(o,function(o,a){return{cp:o,z:function(e,t,n,r,i,o){e=i===n?0:Math.round(32767*(e-n)/(i-n)),t=o===r?0:Math.round(32767*(t-r)/(o-r));for(var a,s=0,l=32768;l>0;l/=2){var c=0,u=0;(e&l)>0&&(c=1),(t&l)>0&&(u=1),s+=l*l*(3*c^u),0===u&&(1===c&&(e=l-1-e,t=l-1-t),a=e,e=t,t=a)}return s}(o[0],o[1],t,n,r,i),path:e[a]}}).sort(function(e,t){return e.z-t.z}).map(function(e){return e.path})}function _U(e){return sU(e.path,e.count)}function wU(e){return Object(g.isArray)(e[0])}function xU(e,t){for(var n=[],r=e.length,i=0;i<r;i++)n.push({one:e[i],many:[]});for(i=0;i<t.length;i++){var o=t[i].length,a=void 0;for(a=0;a<o;a++)n[a%r].many.push(t[i][a])}var s=0;for(i=r-1;i>=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var c=Math.ceil(o/2);n[i].many=l.slice(c,o),n[s].many=l.slice(0,c),s++}return n}var CU={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r<e.count;r++){var i=$s(e.path);i.setStyle("opacity",n),t.push(i)}return t},split:null};function SU(e,t,n,r,i,o){if(e.length&&t.length){var a=ql("update",r,i);if(a&&a.duration>0){var s,l,c=r.getModel("universalTransition").get("delay"),u=Object.assign({setToFinal:!0},a);wU(e)&&(s=e,l=t),wU(t)&&(s=t,l=e);for(var h=s?s===e:e.length>t.length,d=s?xU(l,s):xU(h?t:e,[h?e:t]),f=0,p=0;p<d.length;p++)f+=d[p].many.length;var A=0;for(p=0;p<d.length;p++)v(d[p],h,A,f),A+=d[p].many.length}}function v(e,t,r,i,a){var s=e.many,l=e.one;if(1!==s.length||a)for(var h=Object(g.defaults)({dividePath:CU[n],individualDelay:c&&function(e,t,n,o){return c(e+r,i)}},u),d=t?function(e,t,n){var r=[];!function e(t){for(var n=0;n<t.length;n++){var i=t[n];fU(i)?e(i.childrenRef()):i instanceof $o&&r.push(i)}}(e);var i=r.length;if(!i)return{fromIndividuals:[],toIndividuals:[],count:0};var o=(n.dividePath||_U)({path:t,count:i});if(o.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};r=bU(r),o=bU(o);for(var a=n.done,s=n.during,l=n.individualDelay,c=new In,u=0;u<i;u++){var h=r[u],d=o[u];d.parent=t,d.copyTransform(c),l||mU(h,d)}function f(e){for(var t=0;t<o.length;t++)o[t].addSelfToZr(e)}function p(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,gU(t,"addSelfToZr"),gU(t,"removeSelfFromZr")}t.__isCombineMorphing=!0,t.childrenRef=function(){return o},AU(t,"addSelfToZr",{after:function(e){f(e)}}),AU(t,"removeSelfFromZr",{after:function(e){for(var t=0;t<o.length;t++)o[t].removeSelfFromZr(e)}});var A=o.length;if(l){var v=A,m=function(){0==--v&&(p(),a&&a())};for(u=0;u<A;u++){var y=l?Object(g.defaults)({delay:(n.delay||0)+l(u,A,r[u],o[u]),done:m},n):n;yU(r[u],o[u],y)}}else t.__morphT=0,t.animateTo({__morphT:1},Object(g.defaults)({during:function(e){for(var n=0;n<A;n++){var r=o[n];r.__morphT=t.__morphT,r.dirtyShape()}s&&s(e)},done:function(){p();for(var t=0;t<e.length;t++)gU(e[t],"updateTransform");a&&a()}},n));return t.__zr&&f(t.__zr),{fromIndividuals:r,toIndividuals:o,count:A}}(s,l,h):function(e,t,n){var r=t.length,i=[],o=n.dividePath||_U;if(fU(e)){!function e(t){for(var n=0;n<t.length;n++){var r=t[n];fU(r)?e(r.childrenRef()):r instanceof $o&&i.push(r)}}(e.childrenRef());var a=i.length;if(a<r)for(var s=0,l=a;l<r;l++)i.push($s(i[s++%a]));i.length=r}else{i=o({path:e,count:r});var c=e.getComputedTransform();for(l=0;l<i.length;l++)i[l].setLocalTransform(c);if(i.length!==r)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}i=bU(i),t=bU(t);var u=n.individualDelay;for(l=0;l<r;l++){var h=u?Object(g.defaults)({delay:(n.delay||0)+u(l,r,i[l],t[l])},n):n;yU(i[l],t[l],h)}return{fromIndividuals:i,toIndividuals:t,count:t.length}}(l,s,h),f=d.fromIndividuals,p=d.toIndividuals,A=f.length,m=0;m<A;m++){y=c?Object(g.defaults)({delay:c(m,A)},u):u;o(f[m],p[m],t?s[m]:e.one,t?e.one:s[m],y)}else{var y,b=t?s[0]:l,_=t?l:s[0];if(fU(b))v({many:[b],one:_},!0,r,i,!0);else yU(b,_,y=c?Object(g.defaults)({delay:c(r,i)},u):u),o(b,_,b,_,y)}}}function BU(e){if(!e)return[];if(Object(g.isArray)(e)){for(var t=[],n=0;n<e.length;n++)t.push(BU(e[n]));return t}var r=[];return e.traverse(function(e){e instanceof $o&&!e.disableMorphing&&!e.invisible&&!e.ignore&&r.push(e)}),r}var kU=1e4,TU=ei();function EU(e){var t=[];return Object(g.each)(e,function(e){var n=e.data;if(!(n.count()>kU))for(var r=n.getIndices(),i=function(e){for(var t=e.dimensions,n=0;n<t.length;n++){var r=e.getDimensionInfo(t[n]);if(r&&0===r.otherDims.itemGroupId)return t[n]}}(n),o=0;o<r.length;o++)t.push({dataGroupId:e.dataGroupId,data:n,dim:e.dim||i,divide:e.divide,dataIndex:o})}),t}function MU(e,t,n){e.traverse(function(e){e instanceof $o&&nc(e,{style:{opacity:0}},t,{dataIndex:n,isFrom:!0})})}function DU(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function OU(e){e.stopAnimation(),e.isGroup&&e.traverse(function(e){e.stopAnimation()})}function IU(e,t,n){var r=ql("update",n,t);r&&e.traverse(function(e){if(e instanceof Xi){var t=Jl(e).oldStyle;t&&e.animateFrom({style:t},r)}})}function LU(e,t,n){var r=EU(e),i=EU(t);function o(e,t,n,r,i){(n||e)&&t.animateFrom({style:n&&n!==e?Object(g.extend)(Object(g.extend)({},n.style),e.style):e.style},i)}function a(e){for(var t=0;t<e.length;t++)if(e[t].dim)return e[t].dim}var s=a(r),l=a(i),c=!1;function u(e,t){return function(n){var r=n.data,i=n.dataIndex;if(t)return r.getId(i);var o=n.dataGroupId,a=e?s||l:l||s,c=a&&r.getDimensionInfo(a),u=c&&c.ordinalMeta;if(c){var h=r.get(c.name,i);return u&&u.categories[h]||h+""}var d=r.getRawDataItem(i);return d&&d.groupId?d.groupId+"":o||r.getId(i)}}var h=function(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++){var i=e[r],o=t[r];if(i.data.getId(i.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}(r,i),d={};if(!h)for(var f=0;f<i.length;f++){var p=i[f],A=p.data.getItemGraphicEl(p.dataIndex);A&&(d[A.id]=!0)}function v(e,t){var n=r[t],a=i[e],s=a.data.hostModel,l=n.data.getItemGraphicEl(n.dataIndex),u=a.data.getItemGraphicEl(a.dataIndex);l!==u?l&&d[l.id]||u&&(OU(u),l?(OU(l),DU(l),c=!0,SU(BU(l),BU(u),a.divide,s,e,o)):MU(u,s,e)):u&&IU(u,a.dataIndex,s)}new Lv(r,i,u(!0,h),u(!1,h),null,"multiple").update(v).updateManyToOne(function(e,t){var n=i[e],a=n.data,s=a.hostModel,l=a.getItemGraphicEl(n.dataIndex),u=Object(g.filter)(Object(g.map)(t,function(e){return r[e].data.getItemGraphicEl(r[e].dataIndex)}),function(e){return e&&e!==l&&!d[e.id]});l&&(OU(l),u.length?(Object(g.each)(u,function(e){OU(e),DU(e)}),c=!0,SU(BU(u),BU(l),n.divide,s,e,o)):MU(l,s,n.dataIndex))}).updateOneToMany(function(e,t){var n=r[t],a=n.data.getItemGraphicEl(n.dataIndex);if(!a||!d[a.id]){var s=Object(g.filter)(Object(g.map)(e,function(e){return i[e].data.getItemGraphicEl(i[e].dataIndex)}),function(e){return e&&e!==a}),l=i[e[0]].data.hostModel;s.length&&(Object(g.each)(s,function(e){return OU(e)}),a?(OU(a),DU(a),c=!0,SU(BU(a),BU(s),n.divide,l,e[0],o)):Object(g.each)(s,function(t){return MU(t,l,e[0])}))}}).updateManyToMany(function(e,t){new Lv(t,e,function(e){return r[e].data.getId(r[e].dataIndex)},function(e){return i[e].data.getId(i[e].dataIndex)}).update(function(n,r){v(e[n],t[r])}).execute()}).execute(),c&&Object(g.each)(t,function(e){var t=e.data.hostModel,r=t&&n.getViewOfSeriesModel(t),i=ql("update",t,0);r&&t.isAnimationEnabled()&&i&&i.duration>0&&r.group.traverse(function(e){e instanceof $o&&!e.animators.length&&e.animateFrom({style:{opacity:0}},i)})})}function PU(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function FU(e){return Object(g.isArray)(e)?e.sort().join(","):e}function RU(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function NU(e,t){for(var n=0;n<e.length;n++){if(null!=t.seriesIndex&&t.seriesIndex===e[n].seriesIndex||null!=t.seriesId&&t.seriesId===e[n].id)return n}}n.d(t,"version",function(){return"5.4.2"}),n.d(t,"dependencies",function(){return hg}),n.d(t,"PRIORITY",function(){return Ag}),n.d(t,"init",function(){return rv}),n.d(t,"connect",function(){return iv}),n.d(t,"disConnect",function(){return ov}),n.d(t,"disconnect",function(){return av}),n.d(t,"dispose",function(){return sv}),n.d(t,"getInstanceByDom",function(){return lv}),n.d(t,"getInstanceById",function(){return cv}),n.d(t,"registerTheme",function(){return uv}),n.d(t,"registerPreprocessor",function(){return hv}),n.d(t,"registerProcessor",function(){return dv}),n.d(t,"registerPostInit",function(){return fv}),n.d(t,"registerPostUpdate",function(){return pv}),n.d(t,"registerUpdateLifecycle",function(){return Av}),n.d(t,"registerAction",function(){return gv}),n.d(t,"registerCoordinateSystem",function(){return vv}),n.d(t,"getCoordinateSystemDimensions",function(){return mv}),n.d(t,"registerLocale",function(){return wu}),n.d(t,"registerLayout",function(){return yv}),n.d(t,"registerVisual",function(){return bv}),n.d(t,"registerLoading",function(){return xv}),n.d(t,"setCanvasCreator",function(){return Cv}),n.d(t,"registerMap",function(){return Sv}),n.d(t,"getMap",function(){return Bv}),n.d(t,"registerTransform",function(){return kv}),n.d(t,"dataTool",function(){return Tv}),n.d(t,"zrender",function(){return o}),n.d(t,"matrix",function(){return i}),n.d(t,"vector",function(){return r}),n.d(t,"zrUtil",function(){return g}),n.d(t,"color",function(){return Lt}),n.d(t,"throttle",function(){return kp}),n.d(t,"helper",function(){return s}),n.d(t,"use",function(){return Dv}),n.d(t,"setPlatformAPI",function(){return Pn.e}),n.d(t,"parseGeoJSON",function(){return zy}),n.d(t,"parseGeoJson",function(){return zy}),n.d(t,"number",function(){return l}),n.d(t,"time",function(){return c}),n.d(t,"graphic",function(){return u}),n.d(t,"format",function(){return h}),n.d(t,"util",function(){return d}),n.d(t,"env",function(){return A.a}),n.d(t,"List",function(){return im}),n.d(t,"Model",function(){return du}),n.d(t,"Axis",function(){return tb}),n.d(t,"ComponentModel",function(){return Ch}),n.d(t,"ComponentView",function(){return fp}),n.d(t,"SeriesModel",function(){return hp}),n.d(t,"ChartView",function(){return xp}),n.d(t,"innerDrawElementOnCanvas",function(){return tg}),n.d(t,"extendComponentModel",function(){return nb}),n.d(t,"extendComponentView",function(){return rb}),n.d(t,"extendSeriesModel",function(){return ib}),n.d(t,"extendChartView",function(){return ob}),Dv([function(e){e.registerPainter("canvas",ow)}]),Dv([function(e){e.registerPainter("svg",tw)}]),Dv([function(e){e.registerChartView(Hw),e.registerSeriesModel(aw),e.registerLayout(jw("line",!0)),e.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),n=e.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,zw("line"))},function(e){e.registerChartView(gx),e.registerSeriesModel(Gw),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,g.curry(Qm,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,zm("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,zw("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)})})},function(e){e.registerChartView(Ex),e.registerSeriesModel(Ix),pA("pie",e.registerAction),e.registerLayout(Object(g.curry)(_x,"pie")),e.registerProcessor(wx("pie")),e.registerProcessor({seriesType:"pie",reset:function(e,t){var n=e.getData();n.filterSelf(function(e){var t=n.mapDimension("value"),r=n.get(t,e);return!(Object(g.isNumber)(r)&&!isNaN(r)&&r<0)})}})},function(e){Dv(IC),e.registerSeriesModel(Lx),e.registerChartView(Nx),e.registerLayout(jw("scatter"))},function(e){Dv(WC),e.registerChartView(NC),e.registerSeriesModel(HC),e.registerLayout(LC),e.registerProcessor(wx("radar")),e.registerPreprocessor(RC)},function(e){Dv(mB),e.registerChartView(qS),e.registerSeriesModel(eB),e.registerLayout(nB),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,tB),pA("map",e.registerAction)},function(e){e.registerChartView(FB),e.registerSeriesModel(JB),e.registerLayout(ek),e.registerVisual(tk),function(e){e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},function(t){var n=e.dataIndex,r=t.getData().tree.getNodeByDataIndex(n);r.isExpand=!r.isExpand})}),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(e,t,n){t.eachComponent({mainType:"series",subType:"tree",query:e},function(t){var r=AB(t.coordinateSystem,e,void 0,n);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)})})}(e)},function(e){e.registerSeriesModel(ik),e.registerChartView(bk),e.registerVisual(Hk),e.registerLayout(Kk),function(e){for(var t=0;t<nk.length;t++)e.registerAction({type:nk[t],update:"updateView"},g.noop);e.registerAction({type:"treemapRootToNode",update:"updateView"},function(e,t){t.eachComponent({mainType:"series",subType:"treemap",query:e},function(t,n){var r=XB(e,["treemapZoomToNode","treemapRootToNode"],t);if(r){var i=t.getViewRoot();i&&(e.direction=$B(i,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}})})}(e)},function(e){e.registerChartView($T),e.registerSeriesModel(iE),e.registerProcessor(tT),e.registerVisual(nT),e.registerVisual(iT),e.registerLayout(AT),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,xT),e.registerLayout(ST),e.registerCoordinateSystem("graphView",{dimensions:oB.dimensions,create:BT}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},g.noop),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},g.noop),e.registerAction(oE,function(e,t,n){t.eachComponent({mainType:"series",query:e},function(t){var r=AB(t.coordinateSystem,e,void 0,n);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)})})},function(e){e.registerChartView(cE),e.registerSeriesModel(uE)},function(e){e.registerChartView(fE),e.registerSeriesModel(pE),e.registerLayout(AE),e.registerProcessor(wx("funnel"))},function(e){Dv(VM),e.registerChartView(_E),e.registerSeriesModel(xE),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,SE)},function(e){e.registerChartView(XM),e.registerSeriesModel(ZM),e.registerLayout($M),e.registerVisual(lD),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])})})},function(e){e.registerSeriesModel(hD),e.registerChartView(vD),e.registerLayout(yD),e.registerTransform(bD)},function(e){e.registerChartView(OD),e.registerSeriesModel(LD),e.registerPreprocessor(PD),e.registerVisual(UD),e.registerLayout(zD)},function(e){e.registerChartView(GD),e.registerSeriesModel(WD),e.registerLayout(jw("effectScatter"))},function(e){e.registerChartView(tO),e.registerSeriesModel(oO),e.registerLayout(eO),e.registerVisual(sO)},function(e){e.registerChartView(uO),e.registerSeriesModel(hO)},function(e){e.registerChartView(OO),e.registerSeriesModel(IO),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Object(g.curry)(Qm,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,zm("pictorialBar"))},function(e){e.registerChartView(LO),e.registerSeriesModel(PO),e.registerLayout(FO),e.registerProcessor(wx("themeRiver"))},function(e){e.registerChartView(YO),e.registerSeriesModel(VO),e.registerLayout(Object(g.curry)(WO,"sunburst")),e.registerProcessor(Object(g.curry)(wx,"sunburst")),e.registerVisual(XO),function(e){e.registerAction({type:UO,update:"updateView"},function(e,t){t.eachComponent({mainType:"series",subType:"sunburst",query:e},function(t,n){var r=XB(e,[UO],t);if(r){var i=t.getViewRoot();i&&(e.direction=$B(i,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}})}),e.registerAction({type:QO,update:"none"},function(e,t,n){e=Object(g.extend)({},e),t.eachComponent({mainType:"series",subType:"sunburst",query:e},function(t){var n=XB(e,[QO],t);n&&(e.dataIndex=n.node.dataIndex)}),n.dispatchAction(Object(g.extend)(e,{type:"highlight"}))}),e.registerAction({type:zO,update:"updateView"},function(e,t,n){e=Object(g.extend)({},e),n.dispatchAction(Object(g.extend)(e,{type:"downplay"}))})}(e)},function(e){e.registerChartView(NI),e.registerSeriesModel(JO)}]),Dv(function(e){Dv(IC),Dv(NL)}),Dv(function(e){Dv(NL),_C.registerAxisPointerClass("PolarAxisPointer",UL),e.registerCoordinateSystem("polar",nP),e.registerComponentModel(QL),e.registerComponentView(bP),Gx(e,"angle",YL,mP),Gx(e,"radius",VL,yP),e.registerComponentView(cP),e.registerComponentView(pP),e.registerLayout(Object(g.curry)(vP,"bar"))}),Dv(mB),Dv(function(e){Dv(NL),_C.registerAxisPointerClass("SingleAxisPointer",jP),e.registerComponentView(UP),e.registerComponentView(BP),e.registerComponentModel(TP),Gx(e,"single",TP,TP.defaultOption),e.registerCoordinateSystem("single",IP)}),Dv(VM),Dv(function(e){e.registerComponentModel(zP),e.registerComponentView(YP),e.registerCoordinateSystem("calendar",GP)}),Dv(function(e){e.registerComponentModel(KP),e.registerComponentView(eF),e.registerPreprocessor(function(e){var t=e.graphic;Object(g.isArray)(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])})}),Dv(function(e){e.registerComponentModel(kF),e.registerComponentView(EF),SF("saveAsImage",MF),SF("magicType",LF),SF("dataView",QF),SF("dataZoom",pR),SF("restore",WF),Dv(wF)}),Dv(function(e){Dv(NL),e.registerComponentModel(AR),e.registerComponentView(PR),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},g.noop),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},g.noop)}),Dv(NL),Dv(function(e){e.registerComponentView(eN),e.registerComponentModel(nN),e.registerPreprocessor(RR),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,ZR),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(t){t.setAreas(e.areas)})}),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},g.noop),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},g.noop),SF("brush",iN)}),Dv(function(e){e.registerComponentModel(oN),e.registerComponentView(aN)}),Dv(function(e){e.registerComponentModel(cN),e.registerComponentView(gN),e.registerSubTypeDefaulter("timeline",function(){return"slider"}),function(e){e.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(e,t,n){var r=t.getComponent("timeline");return r&&null!=e.currentIndex&&(r.setCurrentIndex(e.currentIndex),!r.get("loop",!0)&&r.isIndexMax()&&r.getPlayState()&&(r.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:e.from}))),t.resetOption("timeline",{replaceMerge:r.get("replaceMerge",!0)}),Object(g.defaults)({currentIndex:r.option.currentIndex},e)}),e.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)})}(e),e.registerPreprocessor(vN)}),Dv(function(e){e.registerComponentModel(SN),e.registerComponentView(RN),e.registerPreprocessor(function(e){bN(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})})}),Dv(function(e){e.registerComponentModel(NN),e.registerComponentView(VN),e.registerPreprocessor(function(e){bN(e.series,"markLine")&&(e.markLine=e.markLine||{})})}),Dv(function(e){e.registerComponentModel(GN),e.registerComponentView(eH),e.registerPreprocessor(function(e){bN(e.series,"markArea")&&(e.markArea=e.markArea||{})})}),Dv(function(e){Dv(dH),Dv(yH)}),Dv(function(e){Dv(DH),Dv(jH)}),Dv(DH),Dv(jH),Dv(function(e){Dv(wj),Dv(Tj)}),Dv(wj),Dv(Tj),Dv(function(e){e.registerPreprocessor(Ij),e.registerVisual(e.PRIORITY.VISUAL.ARIA,Oj)}),Dv(function(e){e.registerTransform(Vj),e.registerTransform(Gj)}),Dv(function(e){e.registerComponentModel(Wj),e.registerComponentView(Xj)}),Dv(function(e){e.registerUpdateLifecycle("series:beforeupdate",function(e,t,n){Object(g.each)(Qr(n.seriesTransition),function(e){Object(g.each)(Qr(e.to),function(e){for(var t=n.updatedSeries,r=0;r<t.length;r++)(null!=e.seriesIndex&&e.seriesIndex===t[r].seriesIndex||null!=e.seriesId&&e.seriesId===t[r].id)&&(t[r][np]=!0)})})}),e.registerUpdateLifecycle("series:transition",function(e,t,n){var r=TU(t);if(r.oldSeries&&n.updatedSeries&&n.optionChanged){var i=n.seriesTransition;if(i)Object(g.each)(Qr(i),function(e){!function(e,t,n,r){var i=[],o=[];Object(g.each)(Qr(e.from),function(e){var n=NU(t.oldSeries,e);n>=0&&i.push({dataGroupId:t.oldDataGroupIds[n],data:t.oldData[n],divide:RU(t.oldData[n]),dim:e.dimension})}),Object(g.each)(Qr(e.to),function(e){var r=NU(n.updatedSeries,e);if(r>=0){var i=n.updatedSeries[r].getData();o.push({dataGroupId:t.oldDataGroupIds[r],data:i,divide:RU(i),dim:e.dimension})}}),i.length>0&&o.length>0&&LU(i,o,r)}(e,r,n,t)});else{var o=function(e,t){var n=Object(g.createHashMap)(),r=Object(g.createHashMap)(),i=Object(g.createHashMap)();return Object(g.each)(e.oldSeries,function(t,n){var o=e.oldDataGroupIds[n],a=e.oldData[n],s=PU(t),l=FU(s);r.set(l,{dataGroupId:o,data:a}),Object(g.isArray)(s)&&Object(g.each)(s,function(e){i.set(e,{key:l,dataGroupId:o,data:a})})}),Object(g.each)(t.updatedSeries,function(e){if(e.isUniversalTransitionEnabled()&&e.isAnimationEnabled()){var t=e.get("dataGroupId"),o=e.getData(),a=PU(e),s=FU(a),l=r.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:RU(l.data),data:l.data}],newSeries:[{dataGroupId:t,divide:RU(o),data:o}]});else if(Object(g.isArray)(a)){var c=[];Object(g.each)(a,function(e){var t=r.get(e);t.data&&c.push({dataGroupId:t.dataGroupId,divide:RU(t.data),data:t.data})}),c.length&&n.set(s,{oldSeries:c,newSeries:[{dataGroupId:t,data:o,divide:RU(o)}]})}else{var u=i.get(a);if(u){var h=n.get(u.key);h||(h={oldSeries:[{dataGroupId:u.dataGroupId,data:u.data,divide:RU(u.data)}],newSeries:[]},n.set(u.key,h)),h.newSeries.push({dataGroupId:t,data:o,divide:RU(o)})}}}}),n}(r,n);Object(g.each)(o.keys(),function(e){var n=o.get(e);LU(n.oldSeries,n.newSeries,t)})}Object(g.each)(n.updatedSeries,function(e){e[np]&&(e[np]=!1)})}for(var a=e.getSeries(),s=r.oldSeries=[],l=r.oldDataGroupIds=[],c=r.oldData=[],u=0;u<a.length;u++){var h=a[u].getData();h.count()<kU&&(s.push(a[u]),l.push(a[u].get("dataGroupId")),c.push(h))}})}),Dv(zb)},Xc4G:function(e,t,n){var r=n("lktj"),i=n("1kS7"),o=n("NpIQ");e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},Xd32:function(e,t,n){n("+tPU"),n("zQR9"),e.exports=n("5PlU")},XfW5:function(e,t,n){"use strict";var r=n("PiFy");e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},XgCd:function(e,t,n){"use strict";var r=String.prototype.replace,i=/%20/g,o="RFC1738",a="RFC3986";e.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,i,"+")},RFC3986:function(e){return String(e)}},RFC1738:o,RFC3986:a}},XmWM:function(e,t,n){"use strict";var r=n("cGG2"),i=n("DQCr"),o=n("fuGk"),a=n("xLtR"),s=n("DUeU");function l(e){this.defaults=e,this.interceptors={request:new o,response:new o}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(e){l.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}}),r.forEach(["post","put","patch"],function(e){l.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}}),e.exports=l},Xxa5:function(e,t,n){e.exports=n("jyFz")},"Y2/2":function(e,t,n){var r=n("To6e"),i=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays);r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int,r.new_int_n,r.assert;function a(){var e=64.82,t=(a.YULE_ORDER,.95),n=(a.MAX_SAMP_FREQ,a.RMS_WINDOW_TIME_NUMERATOR),r=a.RMS_WINDOW_TIME_DENOMINATOR,s=(a.MAX_SAMPLES_PER_WINDOW,[[.038575994352,-3.84664617118067,-.02160367184185,7.81501653005538,-.00123395316851,-11.34170355132042,-9291677959e-14,13.05504219327545,-.01655260341619,-12.28759895145294,.02161526843274,9.4829380631979,-.02074045215285,-5.87257861775999,.00594298065125,2.75465861874613,.00306428023191,-.86984376593551,.00012025322027,.13919314567432,.00288463683916],[.0541865640643,-3.47845948550071,-.02911007808948,6.36317777566148,-.00848709379851,-8.54751527471874,-.00851165645469,9.4769360780128,-.00834990904936,-8.81498681370155,.02245293253339,6.85401540936998,-.02596338512915,-4.39470996079559,.01624864962975,2.19611684890774,-.00240879051584,-.75104302451432,.00674613682247,.13149317958808,-.00187763777362],[.15457299681924,-2.37898834973084,-.09331049056315,2.84868151156327,-.06247880153653,-2.64577170229825,.02163541888798,2.23697657451713,-.05588393329856,-1.67148153367602,.04781476674921,1.00595954808547,.00222312597743,-.45953458054983,.03174092540049,.16378164858596,-.01390589421898,-.05032077717131,.00651420667831,.0234789740702,-.00881362733839],[.30296907319327,-1.61273165137247,-.22613988682123,1.0797749225997,-.08587323730772,-.2565625775407,.03282930172664,-.1627671912044,-.00915702933434,-.22638893773906,-.02364141202522,.39120800788284,-.00584456039913,-.22138138954925,.06276101321749,.04500235387352,-828086748e-14,.02005851806501,.00205861885564,.00302439095741,-.02950134983287],[.33642304856132,-1.49858979367799,-.2557224142557,.87350271418188,-.11828570177555,.12205022308084,.11921148675203,-.80774944671438,-.07834489609479,.47854794562326,-.0046997791438,-.12453458140019,-.0058950022444,-.04067510197014,.05724228140351,.08333755284107,.00832043980773,-.04237348025746,-.0163538138454,.02977207319925,-.0176017656815],[.4491525660845,-.62820619233671,-.14351757464547,.29661783706366,-.22784394429749,-.372563729424,-.01419140100551,.00213767857124,.04078262797139,-.42029820170918,-.12398163381748,.22199650564824,.04097565135648,.00613424350682,.10478503600251,.06747620744683,-.01863887810927,.05784820375801,-.03193428438915,.03222754072173,.00541907748707],[.56619470757641,-1.04800335126349,-.75464456939302,.29156311971249,.1624213774223,-.26806001042947,.16744243493672,.00819999645858,-.18901604199609,.45054734505008,.3093178284183,-.33032403314006,-.27562961986224,.0673936833311,.00647310677246,-.04784254229033,.08647503780351,.01639907836189,-.0378898455484,.01807364323573,-.00588215443421],[.58100494960553,-.51035327095184,-.53174909058578,-.31863563325245,-.14289799034253,-.20256413484477,.17520704835522,.1472815413433,.02377945217615,.38952639978999,.15558449135573,-.23313271880868,-.25344790059353,-.05246019024463,.01628462406333,-.02505961724053,.06920467763959,.02442357316099,-.03721611395801,.01818801111503,-.00749618797172],[.53648789255105,-.2504987195602,-.42163034350696,-.43193942311114,-.00275953611929,-.03424681017675,.04267842219415,-.04678328784242,-.10214864179676,.26408300200955,.14590772289388,.15113130533216,-.02459864859345,-.17556493366449,-.11202315195388,-.18823009262115,-.04060034127,.05477720428674,.0478866554818,.0470440968812,-.02217936801134]]),l=[[.98621192462708,-1.97223372919527,-1.97242384925416,.97261396931306,.98621192462708],[.98500175787242,-1.96977855582618,-1.97000351574484,.9702284756635,.98500175787242],[.97938932735214,-1.95835380975398,-1.95877865470428,.95920349965459,.97938932735214],[.97531843204928,-1.95002759149878,-1.95063686409857,.95124613669835,.97531843204928],[.97316523498161,-1.94561023566527,-1.94633046996323,.94705070426118,.97316523498161],[.96454515552826,-1.92783286977036,-1.92909031105652,.93034775234268,.96454515552826],[.96009142950541,-1.91858953033784,-1.92018285901082,.92177618768381,.96009142950541],[.95856916599601,-1.9154210807478,-1.91713833199203,.91885558323625,.95856916599601],[.94597685600279,-1.88903307939452,-1.89195371200558,.89487434461664,.94597685600279]];function c(e,t,n,r,i,o){for(;0!=i--;)n[r]=1e-10+e[t+0]*o[0]-n[r-1]*o[1]+e[t-1]*o[2]-n[r-2]*o[3]+e[t-2]*o[4]-n[r-3]*o[5]+e[t-3]*o[6]-n[r-4]*o[7]+e[t-4]*o[8]-n[r-5]*o[9]+e[t-5]*o[10]-n[r-6]*o[11]+e[t-6]*o[12]-n[r-7]*o[13]+e[t-7]*o[14]-n[r-8]*o[15]+e[t-8]*o[16]-n[r-9]*o[17]+e[t-9]*o[18]-n[r-10]*o[19]+e[t-10]*o[20],++r,++t}function u(e,t,n,r,i,o){for(;0!=i--;)n[r]=e[t+0]*o[0]-n[r-1]*o[1]+e[t-1]*o[2]-n[r-2]*o[3]+e[t-2]*o[4],++r,++t}function h(e){return e*e}this.InitGainAnalysis=function(e,t){return function(e,t){for(var i=0;i<MAX_ORDER;i++)e.linprebuf[i]=e.lstepbuf[i]=e.loutbuf[i]=e.rinprebuf[i]=e.rstepbuf[i]=e.routbuf[i]=0;switch(0|t){case 48e3:e.reqindex=0;break;case 44100:e.reqindex=1;break;case 32e3:e.reqindex=2;break;case 24e3:e.reqindex=3;break;case 22050:e.reqindex=4;break;case 16e3:e.reqindex=5;break;case 12e3:e.reqindex=6;break;case 11025:e.reqindex=7;break;case 8e3:e.reqindex=8;break;default:return INIT_GAIN_ANALYSIS_ERROR}return e.sampleWindow=0|(t*n+r-1)/r,e.lsum=0,e.rsum=0,e.totsamp=0,o.ill(e.A,0),INIT_GAIN_ANALYSIS_OK}(e,t)!=INIT_GAIN_ANALYSIS_OK?INIT_GAIN_ANALYSIS_ERROR:(e.linpre=MAX_ORDER,e.rinpre=MAX_ORDER,e.lstep=MAX_ORDER,e.rstep=MAX_ORDER,e.lout=MAX_ORDER,e.rout=MAX_ORDER,o.fill(e.B,0),INIT_GAIN_ANALYSIS_OK)},this.AnalyzeSamples=function(e,t,n,r,o,d,f){var p,A,g,v,m,y,b;if(0==d)return GAIN_ANALYSIS_OK;switch(b=0,m=d,f){case 1:r=t,o=n;break;case 2:break;default:return GAIN_ANALYSIS_ERROR}for(d<MAX_ORDER?(i.arraycopy(t,n,e.linprebuf,MAX_ORDER,d),i.arraycopy(r,o,e.rinprebuf,MAX_ORDER,d)):(i.arraycopy(t,n,e.linprebuf,MAX_ORDER,MAX_ORDER),i.arraycopy(r,o,e.rinprebuf,MAX_ORDER,MAX_ORDER));m>0;){y=m>e.sampleWindow-e.totsamp?e.sampleWindow-e.totsamp:m,b<MAX_ORDER?(p=e.linpre+b,A=e.linprebuf,g=e.rinpre+b,v=e.rinprebuf,y>MAX_ORDER-b&&(y=MAX_ORDER-b)):(p=n+b,A=t,g=o+b,v=r),c(A,p,e.lstepbuf,e.lstep+e.totsamp,y,s[e.reqindex]),c(v,g,e.rstepbuf,e.rstep+e.totsamp,y,s[e.reqindex]),u(e.lstepbuf,e.lstep+e.totsamp,e.loutbuf,e.lout+e.totsamp,y,l[e.reqindex]),u(e.rstepbuf,e.rstep+e.totsamp,e.routbuf,e.rout+e.totsamp,y,l[e.reqindex]),p=e.lout+e.totsamp,A=e.loutbuf,g=e.rout+e.totsamp,v=e.routbuf;for(var _=y%8;0!=_--;)e.lsum+=h(A[p++]),e.rsum+=h(v[g++]);for(_=y/8;0!=_--;)e.lsum+=h(A[p+0])+h(A[p+1])+h(A[p+2])+h(A[p+3])+h(A[p+4])+h(A[p+5])+h(A[p+6])+h(A[p+7]),p+=8,e.rsum+=h(v[g+0])+h(v[g+1])+h(v[g+2])+h(v[g+3])+h(v[g+4])+h(v[g+5])+h(v[g+6])+h(v[g+7]),g+=8;if(m-=y,b+=y,e.totsamp+=y,e.totsamp==e.sampleWindow){var w=10*a.STEPS_per_dB*Math.log10((e.lsum+e.rsum)/e.totsamp*.5+1e-37),x=w<=0?0:0|w;x>=e.A.length&&(x=e.A.length-1),e.A[x]++,e.lsum=e.rsum=0,i.arraycopy(e.loutbuf,e.totsamp,e.loutbuf,0,MAX_ORDER),i.arraycopy(e.routbuf,e.totsamp,e.routbuf,0,MAX_ORDER),i.arraycopy(e.lstepbuf,e.totsamp,e.lstepbuf,0,MAX_ORDER),i.arraycopy(e.rstepbuf,e.totsamp,e.rstepbuf,0,MAX_ORDER),e.totsamp=0}if(e.totsamp>e.sampleWindow)return GAIN_ANALYSIS_ERROR}return d<MAX_ORDER?(i.arraycopy(e.linprebuf,d,e.linprebuf,0,MAX_ORDER-d),i.arraycopy(e.rinprebuf,d,e.rinprebuf,0,MAX_ORDER-d),i.arraycopy(t,n,e.linprebuf,MAX_ORDER-d,d),i.arraycopy(r,o,e.rinprebuf,MAX_ORDER-d,d)):(i.arraycopy(t,n+d-MAX_ORDER,e.linprebuf,0,MAX_ORDER),i.arraycopy(r,o+d-MAX_ORDER,e.rinprebuf,0,MAX_ORDER)),GAIN_ANALYSIS_OK},this.GetTitleGain=function(n){for(var r=function(n,r){var i,o=0;for(i=0;i<r;i++)o+=n[i];if(0==o)return GAIN_NOT_ENOUGH_SAMPLES;var s=0|Math.ceil(o*(1-t));for(i=r;i-- >0&&!((s-=n[i])<=0););return e-i/a.STEPS_per_dB}(n.A,n.A.length),i=0;i<n.A.length;i++)n.B[i]+=n.A[i],n.A[i]=0;for(i=0;i<MAX_ORDER;i++)n.linprebuf[i]=n.lstepbuf[i]=n.loutbuf[i]=n.rinprebuf[i]=n.rstepbuf[i]=n.routbuf[i]=0;return n.totsamp=0,n.lsum=n.rsum=0,r}}a.STEPS_per_dB=100,a.MAX_dB=120,a.GAIN_NOT_ENOUGH_SAMPLES=-24601,a.GAIN_ANALYSIS_ERROR=0,a.GAIN_ANALYSIS_OK=1,a.INIT_GAIN_ANALYSIS_ERROR=0,a.INIT_GAIN_ANALYSIS_OK=1,a.YULE_ORDER=10,a.MAX_ORDER=a.YULE_ORDER,a.MAX_SAMP_FREQ=48e3,a.RMS_WINDOW_TIME_NUMERATOR=1,a.RMS_WINDOW_TIME_DENOMINATOR=20,a.MAX_SAMPLES_PER_WINDOW=a.MAX_SAMP_FREQ*a.RMS_WINDOW_TIME_NUMERATOR/a.RMS_WINDOW_TIME_DENOMINATOR+1,e.exports=a},Y5mS:function(e,t,n){"use strict";var r,i=n("lFkc");i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""))
- /**
- * Checks if an event is supported in the current execution environment.
- *
- * NOTE: This will not work correctly for non-generic events such as `change`,
- * `reset`, `load`, `error`, and `select`.
- *
- * Borrows from Modernizr.
- *
- * @param {string} eventNameSuffix Event name, e.g. "click".
- * @param {?boolean} capture Check if the capture phase is supported.
- * @return {boolean} True if the event is supported.
- * @internal
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
- */,e.exports=function(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"==typeof a[n]}return!o&&r&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}},"YA+t":function(e,t,n){"use strict";e.exports=class{constructor(e){this.setOptions(e),this.initialize()}setOptions(e){e=e||{},this.options=Object.assign({checkPolyphone:!1,charCase:0},e)}initialize(){this.char_dict="YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJQQPFZASYJNTYDJXKJCDJSZCBARTDCLYJQMWNQNCLLLKBYBZZSYHQQLTWLCCXTXLLZNTYLNEWYZYXCZXXGRKRMTCNDNJTSYYSSDQDGHSDBJGHRWRQLYBGLXHLGTGXBQJDZPYJSJYJCTMRNYMGRZJCZGJMZMGXMPRYXKJNYMSGMZJYMKMFXMLDTGFBHCJHKYLPFMDXLQJJSMTQGZSJLQDLDGJYCALCMZCSDJLLNXDJFFFFJCZFMZFFPFKHKGDPSXKTACJDHHZDDCRRCFQYJKQCCWJDXHWJLYLLZGCFCQDSMLZPBJJPLSBCJGGDCKKDEZSQCCKJGCGKDJTJDLZYCXKLQSCGJCLTFPCQCZGWPJDQYZJJBYJHSJDZWGFSJGZKQCCZLLPSPKJGQJHZZLJPLGJGJJTHJJYJZCZMLZLYQBGJWMLJKXZDZNJQSYZMLJLLJKYWXMKJLHSKJGBMCLYYMKXJQLBMLLKMDXXKWYXYSLMLPSJQQJQXYXFJTJDXMXXLLCXQBSYJBGWYMBGGBCYXPJYGPEPFGDJGBHBNSQJYZJKJKHXQFGQZKFHYGKHDKLLSDJQXPQYKYBNQSXQNSZSWHBSXWHXWBZZXDMNSJBSBKBBZKLYLXGWXDRWYQZMYWSJQLCJXXJXKJEQXSCYETLZHLYYYSDZPAQYZCMTLSHTZCFYZYXYLJSDCJQAGYSLCQLYYYSHMRQQKLDXZSCSSSYDYCJYSFSJBFRSSZQSBXXPXJYSDRCKGJLGDKZJZBDKTCSYQPYHSTCLDJDHMXMCGXYZHJDDTMHLTXZXYLYMOHYJCLTYFBQQXPFBDFHHTKSQHZYYWCNXXCRWHOWGYJLEGWDQCWGFJYCSNTMYTOLBYGWQWESJPWNMLRYDZSZTXYQPZGCWXHNGPYXSHMYQJXZTDPPBFYHZHTJYFDZWKGKZBLDNTSXHQEEGZZYLZMMZYJZGXZXKHKSTXNXXWYLYAPSTHXDWHZYMPXAGKYDXBHNHXKDPJNMYHYLPMGOCSLNZHKXXLPZZLBMLSFBHHGYGYYGGBHSCYAQTYWLXTZQCEZYDQDQMMHTKLLSZHLSJZWFYHQSWSCWLQAZYNYTLSXTHAZNKZZSZZLAXXZWWCTGQQTDDYZTCCHYQZFLXPSLZYGPZSZNGLNDQTBDLXGTCTAJDKYWNSYZLJHHZZCWNYYZYWMHYCHHYXHJKZWSXHZYXLYSKQYSPSLYZWMYPPKBYGLKZHTYXAXQSYSHXASMCHKDSCRSWJPWXSGZJLWWSCHSJHSQNHCSEGNDAQTBAALZZMSSTDQJCJKTSCJAXPLGGXHHGXXZCXPDMMHLDGTYBYSJMXHMRCPXXJZCKZXSHMLQXXTTHXWZFKHCCZDYTCJYXQHLXDHYPJQXYLSYYDZOZJNYXQEZYSQYAYXWYPDGXDDXSPPYZNDLTWRHXYDXZZJHTCXMCZLHPYYYYMHZLLHNXMYLLLMDCPPXHMXDKYCYRDLTXJCHHZZXZLCCLYLNZSHZJZZLNNRLWHYQSNJHXYNTTTKYJPYCHHYEGKCTTWLGQRLGGTGTYGYHPYHYLQYQGCWYQKPYYYTTTTLHYHLLTYTTSPLKYZXGZWGPYDSSZZDQXSKCQNMJJZZBXYQMJRTFFBTKHZKBXLJJKDXJTLBWFZPPTKQTZTGPDGNTPJYFALQMKGXBDCLZFHZCLLLLADPMXDJHLCCLGYHDZFGYDDGCYYFGYDXKSSEBDHYKDKDKHNAXXYBPBYYHXZQGAFFQYJXDMLJCSQZLLPCHBSXGJYNDYBYQSPZWJLZKSDDTACTBXZDYZYPJZQSJNKKTKNJDJGYYPGTLFYQKASDNTCYHBLWDZHBBYDWJRYGKZYHEYYFJMSDTYFZJJHGCXPLXHLDWXXJKYTCYKSSSMTWCTTQZLPBSZDZWZXGZAGYKTYWXLHLSPBCLLOQMMZSSLCMBJCSZZKYDCZJGQQDSMCYTZQQLWZQZXSSFPTTFQMDDZDSHDTDWFHTDYZJYQJQKYPBDJYYXTLJHDRQXXXHAYDHRJLKLYTWHLLRLLRCXYLBWSRSZZSYMKZZHHKYHXKSMDSYDYCJPBZBSQLFCXXXNXKXWYWSDZYQOGGQMMYHCDZTTFJYYBGSTTTYBYKJDHKYXBELHTYPJQNFXFDYKZHQKZBYJTZBXHFDXKDASWTAWAJLDYJSFHBLDNNTNQJTJNCHXFJSRFWHZFMDRYJYJWZPDJKZYJYMPCYZNYNXFBYTFYFWYGDBNZZZDNYTXZEMMQBSQEHXFZMBMFLZZSRXYMJGSXWZJSPRYDJSJGXHJJGLJJYNZZJXHGXKYMLPYYYCXYTWQZSWHWLYRJLPXSLSXMFSWWKLCTNXNYNPSJSZHDZEPTXMYYWXYYSYWLXJQZQXZDCLEEELMCPJPCLWBXSQHFWWTFFJTNQJHJQDXHWLBYZNFJLALKYYJLDXHHYCSTYYWNRJYXYWTRMDRQHWQCMFJDYZMHMYYXJWMYZQZXTLMRSPWWCHAQBXYGZYPXYYRRCLMPYMGKSJSZYSRMYJSNXTPLNBAPPYPYLXYYZKYNLDZYJZCZNNLMZHHARQMPGWQTZMXXMLLHGDZXYHXKYXYCJMFFYYHJFSBSSQLXXNDYCANNMTCJCYPRRNYTYQNYYMBMSXNDLYLYSLJRLXYSXQMLLYZLZJJJKYZZCSFBZXXMSTBJGNXYZHLXNMCWSCYZYFZLXBRNNNYLBNRTGZQYSATSWRYHYJZMZDHZGZDWYBSSCSKXSYHYTXXGCQGXZZSHYXJSCRHMKKBXCZJYJYMKQHZJFNBHMQHYSNJNZYBKNQMCLGQHWLZNZSWXKHLJHYYBQLBFCDSXDLDSPFZPSKJYZWZXZDDXJSMMEGJSCSSMGCLXXKYYYLNYPWWWGYDKZJGGGZGGSYCKNJWNJPCXBJJTQTJWDSSPJXZXNZXUMELPXFSXTLLXCLJXJJLJZXCTPSWXLYDHLYQRWHSYCSQYYBYAYWJJJQFWQCQQCJQGXALDBZZYJGKGXPLTZYFXJLTPADKYQHPMATLCPDCKBMTXYBHKLENXDLEEGQDYMSAWHZMLJTWYGXLYQZLJEEYYBQQFFNLYXRDSCTGJGXYYNKLLYQKCCTLHJLQMKKZGCYYGLLLJDZGYDHZWXPYSJBZKDZGYZZHYWYFQYTYZSZYEZZLYMHJJHTSMQWYZLKYYWZCSRKQYTLTDXWCTYJKLWSQZWBDCQYNCJSRSZJLKCDCDTLZZZACQQZZDDXYPLXZBQJYLZLLLQDDZQJYJYJZYXNYYYNYJXKXDAZWYRDLJYYYRJLXLLDYXJCYWYWNQCCLDDNYYYNYCKCZHXXCCLGZQJGKWPPCQQJYSBZZXYJSQPXJPZBSBDSFNSFPZXHDWZTDWPPTFLZZBZDMYYPQJRSDZSQZSQXBDGCPZSWDWCSQZGMDHZXMWWFYBPDGPHTMJTHZSMMBGZMBZJCFZWFZBBZMQCFMBDMCJXLGPNJBBXGYHYYJGPTZGZMQBQTCGYXJXLWZKYDPDYMGCFTPFXYZTZXDZXTGKMTYBBCLBJASKYTSSQYYMSZXFJEWLXLLSZBQJJJAKLYLXLYCCTSXMCWFKKKBSXLLLLJYXTYLTJYYTDPJHNHNNKBYQNFQYYZBYYESSESSGDYHFHWTCJBSDZZTFDMXHCNJZYMQWSRYJDZJQPDQBBSTJGGFBKJBXTGQHNGWJXJGDLLTHZHHYYYYYYSXWTYYYCCBDBPYPZYCCZYJPZYWCBDLFWZCWJDXXHYHLHWZZXJTCZLCDPXUJCZZZLYXJJTXPHFXWPYWXZPTDZZBDZCYHJHMLXBQXSBYLRDTGJRRCTTTHYTCZWMXFYTWWZCWJWXJYWCSKYBZSCCTZQNHXNWXXKHKFHTSWOCCJYBCMPZZYKBNNZPBZHHZDLSYDDYTYFJPXYNGFXBYQXCBHXCPSXTYZDMKYSNXSXLHKMZXLYHDHKWHXXSSKQYHHCJYXGLHZXCSNHEKDTGZXQYPKDHEXTYKCNYMYYYPKQYYYKXZLTHJQTBYQHXBMYHSQCKWWYLLHCYYLNNEQXQWMCFBDCCMLJGGXDQKTLXKGNQCDGZJWYJJLYHHQTTTNWCHMXCXWHWSZJYDJCCDBQCDGDNYXZTHCQRXCBHZTQCBXWGQWYYBXHMBYMYQTYEXMQKYAQYRGYZSLFYKKQHYSSQYSHJGJCNXKZYCXSBXYXHYYLSTYCXQTHYSMGSCPMMGCCCCCMTZTASMGQZJHKLOSQYLSWTMXSYQKDZLJQQYPLSYCZTCQQPBBQJZCLPKHQZYYXXDTDDTSJCXFFLLCHQXMJLWCJCXTSPYCXNDTJSHJWXDQQJSKXYAMYLSJHMLALYKXCYYDMNMDQMXMCZNNCYBZKKYFLMCHCMLHXRCJJHSYLNMTJZGZGYWJXSRXCWJGJQHQZDQJDCJJZKJKGDZQGJJYJYLXZXXCDQHHHEYTMHLFSBDJSYYSHFYSTCZQLPBDRFRZTZYKYWHSZYQKWDQZRKMSYNBCRXQBJYFAZPZZEDZCJYWBCJWHYJBQSZYWRYSZPTDKZPFPBNZTKLQYHBBZPNPPTYZZYBQNYDCPJMMCYCQMCYFZZDCMNLFPBPLNGQJTBTTNJZPZBBZNJKLJQYLNBZQHKSJZNGGQSZZKYXSHPZSNBCGZKDDZQANZHJKDRTLZLSWJLJZLYWTJNDJZJHXYAYNCBGTZCSSQMNJPJYTYSWXZFKWJQTKHTZPLBHSNJZSYZBWZZZZLSYLSBJHDWWQPSLMMFBJDWAQYZTCJTBNNWZXQXCDSLQGDSDPDZHJTQQPSWLYYJZLGYXYZLCTCBJTKTYCZJTQKBSJLGMGZDMCSGPYNJZYQYYKNXRPWSZXMTNCSZZYXYBYHYZAXYWQCJTLLCKJJTJHGDXDXYQYZZBYWDLWQCGLZGJGQRQZCZSSBCRPCSKYDZNXJSQGXSSJMYDNSTZTPBDLTKZWXQWQTZEXNQCZGWEZKSSBYBRTSSSLCCGBPSZQSZLCCGLLLZXHZQTHCZMQGYZQZNMCOCSZJMMZSQPJYGQLJYJPPLDXRGZYXCCSXHSHGTZNLZWZKJCXTCFCJXLBMQBCZZWPQDNHXLJCTHYZLGYLNLSZZPCXDSCQQHJQKSXZPBAJYEMSMJTZDXLCJYRYYNWJBNGZZTMJXLTBSLYRZPYLSSCNXPHLLHYLLQQZQLXYMRSYCXZLMMCZLTZSDWTJJLLNZGGQXPFSKYGYGHBFZPDKMWGHCXMSGDXJMCJZDYCABXJDLNBCDQYGSKYDQTXDJJYXMSZQAZDZFSLQXYJSJZYLBTXXWXQQZBJZUFBBLYLWDSLJHXJYZJWTDJCZFQZQZZDZSXZZQLZCDZFJHYSPYMPQZMLPPLFFXJJNZZYLSJEYQZFPFZKSYWJJJHRDJZZXTXXGLGHYDXCSKYSWMMZCWYBAZBJKSHFHJCXMHFQHYXXYZFTSJYZFXYXPZLCHMZMBXHZZSXYFYMNCWDABAZLXKTCSHHXKXJJZJSTHYGXSXYYHHHJWXKZXSSBZZWHHHCWTZZZPJXSNXQQJGZYZYWLLCWXZFXXYXYHXMKYYSWSQMNLNAYCYSPMJKHWCQHYLAJJMZXHMMCNZHBHXCLXTJPLTXYJHDYYLTTXFSZHYXXSJBJYAYRSMXYPLCKDUYHLXRLNLLSTYZYYQYGYHHSCCSMZCTZQXKYQFPYYRPFFLKQUNTSZLLZMWWTCQQYZWTLLMLMPWMBZSSTZRBPDDTLQJJBXZCSRZQQYGWCSXFWZLXCCRSZDZMCYGGDZQSGTJSWLJMYMMZYHFBJDGYXCCPSHXNZCSBSJYJGJMPPWAFFYFNXHYZXZYLREMZGZCYZSSZDLLJCSQFNXZKPTXZGXJJGFMYYYSNBTYLBNLHPFZDCYFBMGQRRSSSZXYSGTZRNYDZZCDGPJAFJFZKNZBLCZSZPSGCYCJSZLMLRSZBZZLDLSLLYSXSQZQLYXZLSKKBRXBRBZCYCXZZZEEYFGKLZLYYHGZSGZLFJHGTGWKRAAJYZKZQTSSHJJXDCYZUYJLZYRZDQQHGJZXSSZBYKJPBFRTJXLLFQWJHYLQTYMBLPZDXTZYGBDHZZRBGXHWNJTJXLKSCFSMWLSDQYSJTXKZSCFWJLBXFTZLLJZLLQBLSQMQQCGCZFPBPHZCZJLPYYGGDTGWDCFCZQYYYQYSSCLXZSKLZZZGFFCQNWGLHQYZJJCZLQZZYJPJZZBPDCCMHJGXDQDGDLZQMFGPSYTSDYFWWDJZJYSXYYCZCYHZWPBYKXRYLYBHKJKSFXTZJMMCKHLLTNYYMSYXYZPYJQYCSYCWMTJJKQYRHLLQXPSGTLYYCLJSCPXJYZFNMLRGJJTYZBXYZMSJYJHHFZQMSYXRSZCWTLRTQZSSTKXGQKGSPTGCZNJSJCQCXHMXGGZTQYDJKZDLBZSXJLHYQGGGTHQSZPYHJHHGYYGKGGCWJZZYLCZLXQSFTGZSLLLMLJSKCTBLLZZSZMMNYTPZSXQHJCJYQXYZXZQZCPSHKZZYSXCDFGMWQRLLQXRFZTLYSTCTMJCXJJXHJNXTNRZTZFQYHQGLLGCXSZSJDJLJCYDSJTLNYXHSZXCGJZYQPYLFHDJSBPCCZHJJJQZJQDYBSSLLCMYTTMQTBHJQNNYGKYRQYQMZGCJKPDCGMYZHQLLSLLCLMHOLZGDYYFZSLJCQZLYLZQJESHNYLLJXGJXLYSYYYXNBZLJSSZCQQCJYLLZLTJYLLZLLBNYLGQCHXYYXOXCXQKYJXXXYKLXSXXYQXCYKQXQCSGYXXYQXYGYTQOHXHXPYXXXULCYEYCHZZCBWQBBWJQZSCSZSSLZYLKDESJZWMYMCYTSDSXXSCJPQQSQYLYYZYCMDJDZYWCBTJSYDJKCYDDJLBDJJSODZYSYXQQYXDHHGQQYQHDYXWGMMMAJDYBBBPPBCMUUPLJZSMTXERXJMHQNUTPJDCBSSMSSSTKJTSSMMTRCPLZSZMLQDSDMJMQPNQDXCFYNBFSDQXYXHYAYKQYDDLQYYYSSZBYDSLNTFQTZQPZMCHDHCZCWFDXTMYQSPHQYYXSRGJCWTJTZZQMGWJJTJHTQJBBHWZPXXHYQFXXQYWYYHYSCDYDHHQMNMTMWCPBSZPPZZGLMZFOLLCFWHMMSJZTTDHZZYFFYTZZGZYSKYJXQYJZQBHMBZZLYGHGFMSHPZFZSNCLPBQSNJXZSLXXFPMTYJYGBXLLDLXPZJYZJYHHZCYWHJYLSJEXFSZZYWXKZJLUYDTMLYMQJPWXYHXSKTQJEZRPXXZHHMHWQPWQLYJJQJJZSZCPHJLCHHNXJLQWZJHBMZYXBDHHYPZLHLHLGFWLCHYYTLHJXCJMSCPXSTKPNHQXSRTYXXTESYJCTLSSLSTDLLLWWYHDHRJZSFGXTSYCZYNYHTDHWJSLHTZDQDJZXXQHGYLTZPHCSQFCLNJTCLZPFSTPDYNYLGMJLLYCQHYSSHCHYLHQYQTMZYPBYWRFQYKQSYSLZDQJMPXYYSSRHZJNYWTQDFZBWWTWWRXCWHGYHXMKMYYYQMSMZHNGCEPMLQQMTCWCTMMPXJPJJHFXYYZSXZHTYBMSTSYJTTQQQYYLHYNPYQZLCYZHZWSMYLKFJXLWGXYPJYTYSYXYMZCKTTWLKSMZSYLMPWLZWXWQZSSAQSYXYRHSSNTSRAPXCPWCMGDXHXZDZYFJHGZTTSBJHGYZSZYSMYCLLLXBTYXHBBZJKSSDMALXHYCFYGMQYPJYCQXJLLLJGSLZGQLYCJCCZOTYXMTMTTLLWTGPXYMZMKLPSZZZXHKQYSXCTYJZYHXSHYXZKXLZWPSQPYHJWPJPWXQQYLXSDHMRSLZZYZWTTCYXYSZZSHBSCCSTPLWSSCJCHNLCGCHSSPHYLHFHHXJSXYLLNYLSZDHZXYLSXLWZYKCLDYAXZCMDDYSPJTQJZLNWQPSSSWCTSTSZLBLNXSMNYYMJQBQHRZWTYYDCHQLXKPZWBGQYBKFCMZWPZLLYYLSZYDWHXPSBCMLJBSCGBHXLQHYRLJXYSWXWXZSLDFHLSLYNJLZYFLYJYCDRJLFSYZFSLLCQYQFGJYHYXZLYLMSTDJCYHBZLLNWLXXYGYYHSMGDHXXHHLZZJZXCZZZCYQZFNGWPYLCPKPYYPMCLQKDGXZGGWQBDXZZKZFBXXLZXJTPJPTTBYTSZZDWSLCHZHSLTYXHQLHYXXXYYZYSWTXZKHLXZXZPYHGCHKCFSYHUTJRLXFJXPTZTWHPLYXFCRHXSHXKYXXYHZQDXQWULHYHMJTBFLKHTXCWHJFWJCFPQRYQXCYYYQYGRPYWSGSUNGWCHKZDXYFLXXHJJBYZWTSXXNCYJJYMSWZJQRMHXZWFQSYLZJZGBHYNSLBGTTCSYBYXXWXYHXYYXNSQYXMQYWRGYQLXBBZLJSYLPSYTJZYHYZAWLRORJMKSCZJXXXYXCHDYXRYXXJDTSQFXLYLTSFFYXLMTYJMJUYYYXLTZCSXQZQHZXLYYXZHDNBRXXXJCTYHLBRLMBRLLAXKYLLLJLYXXLYCRYLCJTGJCMTLZLLCYZZPZPCYAWHJJFYBDYYZSMPCKZDQYQPBPCJPDCYZMDPBCYYDYCNNPLMTMLRMFMMGWYZBSJGYGSMZQQQZTXMKQWGXLLPJGZBQCDJJJFPKJKCXBLJMSWMDTQJXLDLPPBXCWRCQFBFQJCZAHZGMYKPHYYHZYKNDKZMBPJYXPXYHLFPNYYGXJDBKXNXHJMZJXSTRSTLDXSKZYSYBZXJLXYSLBZYSLHXJPFXPQNBYLLJQKYGZMCYZZYMCCSLCLHZFWFWYXZMWSXTYNXJHPYYMCYSPMHYSMYDYSHQYZCHMJJMZCAAGCFJBBHPLYZYLXXSDJGXDHKXXTXXNBHRMLYJSLTXMRHNLXQJXYZLLYSWQGDLBJHDCGJYQYCMHWFMJYBMBYJYJWYMDPWHXQLDYGPDFXXBCGJSPCKRSSYZJMSLBZZJFLJJJLGXZGYXYXLSZQYXBEXYXHGCXBPLDYHWETTWWCJMBTXCHXYQXLLXFLYXLLJLSSFWDPZSMYJCLMWYTCZPCHQEKCQBWLCQYDPLQPPQZQFJQDJHYMMCXTXDRMJWRHXCJZYLQXDYYNHYYHRSLSRSYWWZJYMTLTLLGTQCJZYABTCKZCJYCCQLJZQXALMZYHYWLWDXZXQDLLQSHGPJFJLJHJABCQZDJGTKHSSTCYJLPSWZLXZXRWGLDLZRLZXTGSLLLLZLYXXWGDZYGBDPHZPBRLWSXQBPFDWOFMWHLYPCBJCCLDMBZPBZZLCYQXLDOMZBLZWPDWYYGDSTTHCSQSCCRSSSYSLFYBFNTYJSZDFNDPDHDZZMBBLSLCMYFFGTJJQWFTMTPJWFNLBZCMMJTGBDZLQLPYFHYYMJYLSDCHDZJWJCCTLJCLDTLJJCPDDSQDSSZYBNDBJLGGJZXSXNLYCYBJXQYCBYLZCFZPPGKCXZDZFZTJJFJSJXZBNZYJQTTYJYHTYCZHYMDJXTTMPXSPLZCDWSLSHXYPZGTFMLCJTYCBPMGDKWYCYZCDSZZYHFLYCTYGWHKJYYLSJCXGYWJCBLLCSNDDBTZBSCLYZCZZSSQDLLMQYYHFSLQLLXFTYHABXGWNYWYYPLLSDLDLLBJCYXJZMLHLJDXYYQYTDLLLBUGBFDFBBQJZZMDPJHGCLGMJJPGAEHHBWCQXAXHHHZCHXYPHJAXHLPHJPGPZJQCQZGJJZZUZDMQYYBZZPHYHYBWHAZYJHYKFGDPFQSDLZMLJXKXGALXZDAGLMDGXMWZQYXXDXXPFDMMSSYMPFMDMMKXKSYZYSHDZKXSYSMMZZZMSYDNZZCZXFPLSTMZDNMXCKJMZTYYMZMZZMSXHHDCZJEMXXKLJSTLWLSQLYJZLLZJSSDPPMHNLZJCZYHMXXHGZCJMDHXTKGRMXFWMCGMWKDTKSXQMMMFZZYDKMSCLCMPCGMHSPXQPZDSSLCXKYXTWLWJYAHZJGZQMCSNXYYMMPMLKJXMHLMLQMXCTKZMJQYSZJSYSZHSYJZJCDAJZYBSDQJZGWZQQXFKDMSDJLFWEHKZQKJPEYPZYSZCDWYJFFMZZYLTTDZZEFMZLBNPPLPLPEPSZALLTYLKCKQZKGENQLWAGYXYDPXLHSXQQWQCQXQCLHYXXMLYCCWLYMQYSKGCHLCJNSZKPYZKCQZQLJPDMDZHLASXLBYDWQLWDNBQCRYDDZTJYBKBWSZDXDTNPJDTCTQDFXQQMGNXECLTTBKPWSLCTYQLPWYZZKLPYGZCQQPLLKCCYLPQMZCZQCLJSLQZDJXLDDHPZQDLJJXZQDXYZQKZLJCYQDYJPPYPQYKJYRMPCBYMCXKLLZLLFQPYLLLMBSGLCYSSLRSYSQTMXYXZQZFDZUYSYZTFFMZZSMZQHZSSCCMLYXWTPZGXZJGZGSJSGKDDHTQGGZLLBJDZLCBCHYXYZHZFYWXYZYMSDBZZYJGTSMTFXQYXQSTDGSLNXDLRYZZLRYYLXQHTXSRTZNGZXBNQQZFMYKMZJBZYMKBPNLYZPBLMCNQYZZZSJZHJCTZKHYZZJRDYZHNPXGLFZTLKGJTCTSSYLLGZRZBBQZZKLPKLCZYSSUYXBJFPNJZZXCDWXZYJXZZDJJKGGRSRJKMSMZJLSJYWQSKYHQJSXPJZZZLSNSHRNYPZTWCHKLPSRZLZXYJQXQKYSJYCZTLQZYBBYBWZPQDWWYZCYTJCJXCKCWDKKZXSGKDZXWWYYJQYYTCYTDLLXWKCZKKLCCLZCQQDZLQLCSFQCHQHSFSMQZZLNBJJZBSJHTSZDYSJQJPDLZCDCWJKJZZLPYCGMZWDJJBSJQZSYZYHHXJPBJYDSSXDZNCGLQMBTSFSBPDZDLZNFGFJGFSMPXJQLMBLGQCYYXBQKDJJQYRFKZTJDHCZKLBSDZCFJTPLLJGXHYXZCSSZZXSTJYGKGCKGYOQXJPLZPBPGTGYJZGHZQZZLBJLSQFZGKQQJZGYCZBZQTLDXRJXBSXXPZXHYZYCLWDXJJHXMFDZPFZHQHQMQGKSLYHTYCGFRZGNQXCLPDLBZCSCZQLLJBLHBZCYPZZPPDYMZZSGYHCKCPZJGSLJLNSCDSLDLXBMSTLDDFJMKDJDHZLZXLSZQPQPGJLLYBDSZGQLBZLSLKYYHZTTNTJYQTZZPSZQZTLLJTYYLLQLLQYZQLBDZLSLYYZYMDFSZSNHLXZNCZQZPBWSKRFBSYZMTHBLGJPMCZZLSTLXSHTCSYZLZBLFEQHLXFLCJLYLJQCBZLZJHHSSTBRMHXZHJZCLXFNBGXGTQJCZTMSFZKJMSSNXLJKBHSJXNTNLZDNTLMSJXGZJYJCZXYJYJWRWWQNZTNFJSZPZSHZJFYRDJSFSZJZBJFZQZZHZLXFYSBZQLZSGYFTZDCSZXZJBQMSZKJRHYJZCKMJKHCHGTXKXQGLXPXFXTRTYLXJXHDTSJXHJZJXZWZLCQSBTXWXGXTXXHXFTSDKFJHZYJFJXRZSDLLLTQSQQZQWZXSYQTWGWBZCGZLLYZBCLMQQTZHZXZXLJFRMYZFLXYSQXXJKXRMQDZDMMYYBSQBHGZMWFWXGMXLZPYYTGZYCCDXYZXYWGSYJYZNBHPZJSQSYXSXRTFYZGRHZTXSZZTHCBFCLSYXZLZQMZLMPLMXZJXSFLBYZMYQHXJSXRXSQZZZSSLYFRCZJRCRXHHZXQYDYHXSJJHZCXZBTYNSYSXJBQLPXZQPYMLXZKYXLXCJLCYSXXZZLXDLLLJJYHZXGYJWKJRWYHCPSGNRZLFZWFZZNSXGXFLZSXZZZBFCSYJDBRJKRDHHGXJLJJTGXJXXSTJTJXLYXQFCSGSWMSBCTLQZZWLZZKXJMLTMJYHSDDBXGZHDLBMYJFRZFSGCLYJBPMLYSMSXLSZJQQHJZFXGFQFQBPXZGYYQXGZTCQWYLTLGWSGWHRLFSFGZJMGMGBGTJFSYZZGZYZAFLSSPMLPFLCWBJZCLJJMZLPJJLYMQDMYYYFBGYGYZMLYZDXQYXRQQQHSYYYQXYLJTYXFSFSLLGNQCYHYCWFHCCCFXPYLYPLLZYXXXXXKQHHXSHJZCFZSCZJXCPZWHHHHHAPYLQALPQAFYHXDYLUKMZQGGGDDESRNNZLTZGCHYPPYSQJJHCLLJTOLNJPZLJLHYMHEYDYDSQYCDDHGZUNDZCLZYZLLZNTNYZGSLHSLPJJBDGWXPCDUTJCKLKCLWKLLCASSTKZZDNQNTTLYYZSSYSSZZRYLJQKCQDHHCRXRZYDGRGCWCGZQFFFPPJFZYNAKRGYWYQPQXXFKJTSZZXSWZDDFBBXTBGTZKZNPZZPZXZPJSZBMQHKCYXYLDKLJNYPKYGHGDZJXXEAHPNZKZTZCMXCXMMJXNKSZQNMNLWBWWXJKYHCPSTMCSQTZJYXTPCTPDTNNPGLLLZSJLSPBLPLQHDTNJNLYYRSZFFJFQWDPHZDWMRZCCLODAXNSSNYZRESTYJWJYJDBCFXNMWTTBYLWSTSZGYBLJPXGLBOCLHPCBJLTMXZLJYLZXCLTPNCLCKXTPZJSWCYXSFYSZDKNTLBYJCYJLLSTGQCBXRYZXBXKLYLHZLQZLNZCXWJZLJZJNCJHXMNZZGJZZXTZJXYCYYCXXJYYXJJXSSSJSTSSTTPPGQTCSXWZDCSYFPTFBFHFBBLZJCLZZDBXGCXLQPXKFZFLSYLTUWBMQJHSZBMDDBCYSCCLDXYCDDQLYJJWMQLLCSGLJJSYFPYYCCYLTJANTJJPWYCMMGQYYSXDXQMZHSZXPFTWWZQSWQRFKJLZJQQYFBRXJHHFWJJZYQAZMYFRHCYYBYQWLPEXCCZSTYRLTTDMQLYKMBBGMYYJPRKZNPBSXYXBHYZDJDNGHPMFSGMWFZMFQMMBCMZZCJJLCNUXYQLMLRYGQZCYXZLWJGCJCGGMCJNFYZZJHYCPRRCMTZQZXHFQGTJXCCJEAQCRJYHPLQLSZDJRBCQHQDYRHYLYXJSYMHZYDWLDFRYHBPYDTSSCNWBXGLPZMLZZTQSSCPJMXXYCSJYTYCGHYCJWYRXXLFEMWJNMKLLSWTXHYYYNCMMCWJDQDJZGLLJWJRKHPZGGFLCCSCZMCBLTBHBQJXQDSPDJZZGKGLFQYWBZYZJLTSTDHQHCTCBCHFLQMPWDSHYYTQWCNZZJTLBYMBPDYYYXSQKXWYYFLXXNCWCXYPMAELYKKJMZZZBRXYYQJFLJPFHHHYTZZXSGQQMHSPGDZQWBWPJHZJDYSCQWZKTXXSQLZYYMYSDZGRXCKKUJLWPYSYSCSYZLRMLQSYLJXBCXTLWDQZPCYCYKPPPNSXFYZJJRCEMHSZMSXLXGLRWGCSTLRSXBZGBZGZTCPLUJLSLYLYMTXMTZPALZXPXJTJWTCYYZLBLXBZLQMYLXPGHDSLSSDMXMBDZZSXWHAMLCZCPJMCNHJYSNSYGCHSKQMZZQDLLKABLWJXSFMOCDXJRRLYQZKJMYBYQLYHETFJZFRFKSRYXFJTWDSXXSYSQJYSLYXWJHSNLXYYXHBHAWHHJZXWMYLJCSSLKYDZTXBZSYFDXGXZJKHSXXYBSSXDPYNZWRPTQZCZENYGCXQFJYKJBZMLJCMQQXUOXSLYXXLYLLJDZBTYMHPFSTTQQWLHOKYBLZZALZXQLHZWRRQHLSTMYPYXJJXMQSJFNBXYXYJXXYQYLTHYLQYFMLKLJTMLLHSZWKZHLJMLHLJKLJSTLQXYLMBHHLNLZXQJHXCFXXLHYHJJGBYZZKBXSCQDJQDSUJZYYHZHHMGSXCSYMXFEBCQWWRBPYYJQTYZCYQYQQZYHMWFFHGZFRJFCDPXNTQYZPDYKHJLFRZXPPXZDBBGZQSTLGDGYLCQMLCHHMFYWLZYXKJLYPQHSYWMQQGQZMLZJNSQXJQSYJYCBEHSXFSZPXZWFLLBCYYJDYTDTHWZSFJMQQYJLMQXXLLDTTKHHYBFPWTYYSQQWNQWLGWDEBZWCMYGCULKJXTMXMYJSXHYBRWFYMWFRXYQMXYSZTZZTFYKMLDHQDXWYYNLCRYJBLPSXCXYWLSPRRJWXHQYPHTYDNXHHMMYWYTZCSQMTSSCCDALWZTCPQPYJLLQZYJSWXMZZMMYLMXCLMXCZMXMZSQTZPPQQBLPGXQZHFLJJHYTJSRXWZXSCCDLXTYJDCQJXSLQYCLZXLZZXMXQRJMHRHZJBHMFLJLMLCLQNLDXZLLLPYPSYJYSXCQQDCMQJZZXHNPNXZMEKMXHYKYQLXSXTXJYYHWDCWDZHQYYBGYBCYSCFGPSJNZDYZZJZXRZRQJJYMCANYRJTLDPPYZBSTJKXXZYPFDWFGZZRPYMTNGXZQBYXNBUFNQKRJQZMJEGRZGYCLKXZDSKKNSXKCLJSPJYYZLQQJYBZSSQLLLKJXTBKTYLCCDDBLSPPFYLGYDTZJYQGGKQTTFZXBDKTYYHYBBFYTYYBCLPDYTGDHRYRNJSPTCSNYJQHKLLLZSLYDXXWBCJQSPXBPJZJCJDZFFXXBRMLAZHCSNDLBJDSZBLPRZTSWSBXBCLLXXLZDJZSJPYLYXXYFTFFFBHJJXGBYXJPMMMPSSJZJMTLYZJXSWXTYLEDQPJMYGQZJGDJLQJWJQLLSJGJGYGMSCLJJXDTYGJQJQJCJZCJGDZZSXQGSJGGCXHQXSNQLZZBXHSGZXCXYLJXYXYYDFQQJHJFXDHCTXJYRXYSQTJXYEFYYSSYYJXNCYZXFXMSYSZXYYSCHSHXZZZGZZZGFJDLTYLNPZGYJYZYYQZPBXQBDZTZCZYXXYHHSQXSHDHGQHJHGYWSZTMZMLHYXGEBTYLZKQWYTJZRCLEKYSTDBCYKQQSAYXCJXWWGSBHJYZYDHCSJKQCXSWXFLTYNYZPZCCZJQTZWJQDZZZQZLJJXLSBHPYXXPSXSHHEZTXFPTLQYZZXHYTXNCFZYYHXGNXMYWXTZSJPTHHGYMXMXQZXTSBCZYJYXXTYYZYPCQLMMSZMJZZLLZXGXZAAJZYXJMZXWDXZSXZDZXLEYJJZQBHZWZZZQTZPSXZTDSXJJJZNYAZPHXYYSRNQDTHZHYYKYJHDZXZLSWCLYBZYECWCYCRYLCXNHZYDZYDYJDFRJJHTRSQTXYXJRJHOJYNXELXSFSFJZGHPZSXZSZDZCQZBYYKLSGSJHCZSHDGQGXYZGXCHXZJWYQWGYHKSSEQZZNDZFKWYSSTCLZSTSYMCDHJXXYWEYXCZAYDMPXMDSXYBSQMJMZJMTZQLPJYQZCGQHXJHHLXXHLHDLDJQCLDWBSXFZZYYSCHTYTYYBHECXHYKGJPXHHYZJFXHWHBDZFYZBCAPNPGNYDMSXHMMMMAMYNBYJTMPXYYMCTHJBZYFCGTYHWPHFTWZZEZSBZEGPFMTSKFTYCMHFLLHGPZJXZJGZJYXZSBBQSCZZLZCCSTPGXMJSFTCCZJZDJXCYBZLFCJSYZFGSZLYBCWZZBYZDZYPSWYJZXZBDSYUXLZZBZFYGCZXBZHZFTPBGZGEJBSTGKDMFHYZZJHZLLZZGJQZLSFDJSSCBZGPDLFZFZSZYZYZSYGCXSNXXCHCZXTZZLJFZGQSQYXZJQDCCZTQCDXZJYQJQCHXZTDLGSCXZSYQJQTZWLQDQZTQCHQQJZYEZZZPBWKDJFCJPZTYPQYQTTYNLMBDKTJZPQZQZZFPZSBNJLGYJDXJDZZKZGQKXDLPZJTCJDQBXDJQJSTCKNXBXZMSLYJCQMTJQWWCJQNJNLLLHJCWQTBZQYDZCZPZZDZYDDCYZZZCCJTTJFZDPRRTZTJDCQTQZDTJNPLZBCLLCTZSXKJZQZPZLBZRBTJDCXFCZDBCCJJLTQQPLDCGZDBBZJCQDCJWYNLLZYZCCDWLLXWZLXRXNTQQCZXKQLSGDFQTDDGLRLAJJTKUYMKQLLTZYTDYYCZGJWYXDXFRSKSTQTENQMRKQZHHQKDLDAZFKYPBGGPZREBZZYKZZSPEGJXGYKQZZZSLYSYYYZWFQZYLZZLZHWCHKYPQGNPGBLPLRRJYXCCSYYHSFZFYBZYYTGZXYLXCZWXXZJZBLFFLGSKHYJZEYJHLPLLLLCZGXDRZELRHGKLZZYHZLYQSZZJZQLJZFLNBHGWLCZCFJYSPYXZLZLXGCCPZBLLCYBBBBUBBCBPCRNNZCZYRBFSRLDCGQYYQXYGMQZWTZYTYJXYFWTEHZZJYWLCCNTZYJJZDEDPZDZTSYQJHDYMBJNYJZLXTSSTPHNDJXXBYXQTZQDDTJTDYYTGWSCSZQFLSHLGLBCZPHDLYZJYCKWTYTYLBNYTSDSYCCTYSZYYEBHEXHQDTWNYGYCLXTSZYSTQMYGZAZCCSZZDSLZCLZRQXYYELJSBYMXSXZTEMBBLLYYLLYTDQYSHYMRQWKFKBFXNXSBYCHXBWJYHTQBPBSBWDZYLKGZSKYHXQZJXHXJXGNLJKZLYYCDXLFYFGHLJGJYBXQLYBXQPQGZTZPLNCYPXDJYQYDYMRBESJYYHKXXSTMXRCZZYWXYQYBMCLLYZHQYZWQXDBXBZWZMSLPDMYSKFMZKLZCYQYCZLQXFZZYDQZPZYGYJYZMZXDZFYFYTTQTZHGSPCZMLCCYTZXJCYTJMKSLPZHYSNZLLYTPZCTZZCKTXDHXXTQCYFKSMQCCYYAZHTJPCYLZLYJBJXTPNYLJYYNRXSYLMMNXJSMYBCSYSYLZYLXJJQYLDZLPQBFZZBLFNDXQKCZFYWHGQMRDSXYCYTXNQQJZYYPFZXDYZFPRXEJDGYQBXRCNFYYQPGHYJDYZXGRHTKYLNWDZNTSMPKLBTHBPYSZBZTJZSZZJTYYXZPHSSZZBZCZPTQFZMYFLYPYBBJQXZMXXDJMTSYSKKBJZXHJCKLPSMKYJZCXTMLJYXRZZQSLXXQPYZXMKYXXXJCLJPRMYYGADYSKQLSNDHYZKQXZYZTCGHZTLMLWZYBWSYCTBHJHJFCWZTXWYTKZLXQSHLYJZJXTMPLPYCGLTBZZTLZJCYJGDTCLKLPLLQPJMZPAPXYZLKKTKDZCZZBNZDYDYQZJYJGMCTXLTGXSZLMLHBGLKFWNWZHDXUHLFMKYSLGXDTWWFRJEJZTZHYDXYKSHWFZCQSHKTMQQHTZHYMJDJSKHXZJZBZZXYMPAGQMSTPXLSKLZYNWRTSQLSZBPSPSGZWYHTLKSSSWHZZLYYTNXJGMJSZSUFWNLSOZTXGXLSAMMLBWLDSZYLAKQCQCTMYCFJBSLXCLZZCLXXKSBZQCLHJPSQPLSXXCKSLNHPSFQQYTXYJZLQLDXZQJZDYYDJNZPTUZDSKJFSLJHYLZSQZLBTXYDGTQFDBYAZXDZHZJNHHQBYKNXJJQCZMLLJZKSPLDYCLBBLXKLELXJLBQYCXJXGCNLCQPLZLZYJTZLJGYZDZPLTQCSXFDMNYCXGBTJDCZNBGBQYQJWGKFHTNPYQZQGBKPBBYZMTJDYTBLSQMPSXTBNPDXKLEMYYCJYNZCTLDYKZZXDDXHQSHDGMZSJYCCTAYRZLPYLTLKXSLZCGGEXCLFXLKJRTLQJAQZNCMBYDKKCXGLCZJZXJHPTDJJMZQYKQSECQZDSHHADMLZFMMZBGNTJNNLGBYJBRBTMLBYJDZXLCJLPLDLPCQDHLXZLYCBLCXZZJADJLNZMMSSSMYBHBSQKBHRSXXJMXSDZNZPXLGBRHWGGFCXGMSKLLTSJYYCQLTSKYWYYHYWXBXQYWPYWYKQLSQPTNTKHQCWDQKTWPXXHCPTHTWUMSSYHBWCRWXHJMKMZNGWTMLKFGHKJYLSYYCXWHYECLQHKQHTTQKHFZLDXQWYZYYDESBPKYRZPJFYYZJCEQDZZDLATZBBFJLLCXDLMJSSXEGYGSJQXCWBXSSZPDYZCXDNYXPPZYDLYJCZPLTXLSXYZYRXCYYYDYLWWNZSAHJSYQYHGYWWAXTJZDAXYSRLTDPSSYYFNEJDXYZHLXLLLZQZSJNYQYQQXYJGHZGZCYJCHZLYCDSHWSHJZYJXCLLNXZJJYYXNFXMWFPYLCYLLABWDDHWDXJMCXZTZPMLQZHSFHZYNZTLLDYWLSLXHYMMYLMBWWKYXYADTXYLLDJPYBPWUXJMWMLLSAFDLLYFLBHHHBQQLTZJCQJLDJTFFKMMMBYTHYGDCQRDDWRQJXNBYSNWZDBYYTBJHPYBYTTJXAAHGQDQTMYSTQXKBTZPKJLZRBEQQSSMJJBDJOTGTBXPGBKTLHQXJJJCTHXQDWJLWRFWQGWSHCKRYSWGFTGYGBXSDWDWRFHWYTJJXXXJYZYSLPYYYPAYXHYDQKXSHXYXGSKQHYWFDDDPPLCJLQQEEWXKSYYKDYPLTJTHKJLTCYYHHJTTPLTZZCDLTHQKZXQYSTEEYWYYZYXXYYSTTJKLLPZMCYHQGXYHSRMBXPLLNQYDQHXSXXWGDQBSHYLLPJJJTHYJKYPPTHYYKTYEZYENMDSHLCRPQFDGFXZPSFTLJXXJBSWYYSKSFLXLPPLBBBLBSFXFYZBSJSSYLPBBFFFFSSCJDSTZSXZRYYSYFFSYZYZBJTBCTSBSDHRTJJBYTCXYJEYLXCBNEBJDSYXYKGSJZBXBYTFZWGENYHHTHZHHXFWGCSTBGXKLSXYWMTMBYXJSTZSCDYQRCYTWXZFHMYMCXLZNSDJTTTXRYCFYJSBSDYERXJLJXBBDEYNJGHXGCKGSCYMBLXJMSZNSKGXFBNBPTHFJAAFXYXFPXMYPQDTZCXZZPXRSYWZDLYBBKTYQPQJPZYPZJZNJPZJLZZFYSBTTSLMPTZRTDXQSJEHBZYLZDHLJSQMLHTXTJECXSLZZSPKTLZKQQYFSYGYWPCPQFHQHYTQXZKRSGTTSQCZLPTXCDYYZXSQZSLXLZMYCPCQBZYXHBSXLZDLTCDXTYLZJYYZPZYZLTXJSJXHLPMYTXCQRBLZSSFJZZTNJYTXMYJHLHPPLCYXQJQQKZZSCPZKSWALQSBLCCZJSXGWWWYGYKTJBBZTDKHXHKGTGPBKQYSLPXPJCKBMLLXDZSTBKLGGQKQLSBKKTFXRMDKBFTPZFRTBBRFERQGXYJPZSSTLBZTPSZQZSJDHLJQLZBPMSMMSXLQQNHKNBLRDDNXXDHDDJCYYGYLXGZLXSYGMQQGKHBPMXYXLYTQWLWGCPBMQXCYZYDRJBHTDJYHQSHTMJSBYPLWHLZFFNYPMHXXHPLTBQPFBJWQDBYGPNZTPFZJGSDDTQSHZEAWZZYLLTYYBWJKXXGHLFKXDJTMSZSQYNZGGSWQSPHTLSSKMCLZXYSZQZXNCJDQGZDLFNYKLJCJLLZLMZZNHYDSSHTHZZLZZBBHQZWWYCRZHLYQQJBEYFXXXWHSRXWQHWPSLMSSKZTTYGYQQWRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY",this.full_dict={a:"啊阿锕",ai:"埃挨哎唉哀皑癌蔼矮艾碍爱隘诶捱嗳嗌嫒瑷暧砹锿霭",an:"鞍氨安俺按暗岸胺案谙埯揞犴庵桉铵鹌顸黯",ang:"肮昂盎",ao:"凹敖熬翱袄傲奥懊澳坳拗嗷噢岙廒遨媪骜聱螯鏊鳌鏖",ba:"芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸茇菝萆捭岜灞杷钯粑鲅魃",bai:"白柏百摆佰败拜稗薜掰鞴",ban:"斑班搬扳般颁板版扮拌伴瓣半办绊阪坂豳钣瘢癍舨",bang:"邦帮梆榜膀绑棒磅蚌镑傍谤蒡螃",bao:"苞胞包褒雹保堡饱宝抱报暴豹鲍爆勹葆宀孢煲鸨褓趵龅",bo:"剥薄玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳亳蕃啵饽檗擘礴钹鹁簸跛",bei:"杯碑悲卑北辈背贝钡倍狈备惫焙被孛陂邶埤蓓呗怫悖碚鹎褙鐾",ben:"奔苯本笨畚坌锛",beng:"崩绷甭泵蹦迸唪嘣甏",bi:"逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛匕仳俾芘荜荸吡哔狴庳愎滗濞弼妣婢嬖璧贲畀铋秕裨筚箅篦舭襞跸髀",bian:"鞭边编贬扁便变卞辨辩辫遍匾弁苄忭汴缏煸砭碥稹窆蝙笾鳊",biao:"标彪膘表婊骠飑飙飚灬镖镳瘭裱鳔",bie:"鳖憋别瘪蹩鳘",bin:"彬斌濒滨宾摈傧浜缤玢殡膑镔髌鬓",bing:"兵冰柄丙秉饼炳病并禀邴摒绠枋槟燹",bu:"捕卜哺补埠不布步簿部怖拊卟逋瓿晡钚醭",ca:"擦嚓礤",cai:"猜裁材才财睬踩采彩菜蔡",can:"餐参蚕残惭惨灿骖璨粲黪",cang:"苍舱仓沧藏伧",cao:"操糙槽曹草艹嘈漕螬艚",ce:"厕策侧册测刂帻恻",ceng:"层蹭噌",cha:"插叉茬茶查碴搽察岔差诧猹馇汊姹杈楂槎檫钗锸镲衩",chai:"拆柴豺侪茈瘥虿龇",chan:"搀掺蝉馋谗缠铲产阐颤冁谄谶蒇廛忏潺澶孱羼婵嬗骣觇禅镡裣蟾躔",chang:"昌猖场尝常长偿肠厂敞畅唱倡伥鬯苌菖徜怅惝阊娼嫦昶氅鲳",chao:"超抄钞朝嘲潮巢吵炒怊绉晁耖",che:"车扯撤掣彻澈坼屮砗",chen:"郴臣辰尘晨忱沉陈趁衬称谌抻嗔宸琛榇肜胂碜龀",cheng:"撑城橙成呈乘程惩澄诚承逞骋秤埕嵊徵浈枨柽樘晟塍瞠铖裎蛏酲",chi:"吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽傺墀芪茌搋叱哧啻嗤彳饬沲媸敕胝眙眵鸱瘛褫蚩螭笞篪豉踅踟魑",chong:"充冲虫崇宠茺忡憧铳艟",chou:"抽酬畴踌稠愁筹仇绸瞅丑俦圳帱惆溴妯瘳雠鲋",chu:"臭初出橱厨躇锄雏滁除楚础储矗搐触处亍刍憷绌杵楮樗蜍蹰黜",chuan:"揣川穿椽传船喘串掾舛惴遄巛氚钏镩舡",chuang:"疮窗幢床闯创怆",chui:"吹炊捶锤垂陲棰槌",chun:"春椿醇唇淳纯蠢促莼沌肫朐鹑蝽",chuo:"戳绰蔟辶辍镞踔龊",ci:"疵茨磁雌辞慈瓷词此刺赐次荠呲嵯鹚螅糍趑",cong:"聪葱囱匆从丛偬苁淙骢琮璁枞",cu:"凑粗醋簇猝殂蹙",cuan:"蹿篡窜汆撺昕爨",cui:"摧崔催脆瘁粹淬翠萃悴璀榱隹",cun:"村存寸磋忖皴",cuo:"撮搓措挫错厝脞锉矬痤鹾蹉躜",da:"搭达答瘩打大耷哒嗒怛妲疸褡笪靼鞑",dai:"呆歹傣戴带殆代贷袋待逮怠埭甙呔岱迨逯骀绐玳黛",dan:"耽担丹单郸掸胆旦氮但惮淡诞弹蛋亻儋卩萏啖澹檐殚赕眈瘅聃箪",dang:"当挡党荡档谠凼菪宕砀铛裆",dao:"刀捣蹈倒岛祷导到稻悼道盗叨啁忉洮氘焘忑纛",de:"德得的锝",deng:"蹬灯登等瞪凳邓噔嶝戥磴镫簦",di:"堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔氐籴诋谛邸坻莜荻嘀娣柢棣觌砥碲睇镝羝骶",dian:"颠掂滇碘点典靛垫电佃甸店惦奠淀殿丶阽坫埝巅玷癜癫簟踮",diao:"碉叼雕凋刁掉吊钓调轺铞蜩粜貂",die:"跌爹碟蝶迭谍叠佚垤堞揲喋渫轶牒瓞褶耋蹀鲽鳎",ding:"丁盯叮钉顶鼎锭定订丢仃啶玎腚碇町铤疔耵酊",dong:"东冬董懂动栋侗恫冻洞垌咚岽峒夂氡胨胴硐鸫",dou:"兜抖斗陡豆逗痘蔸钭窦窬蚪篼酡",du:"都督毒犊独读堵睹赌杜镀肚度渡妒芏嘟渎椟橐牍蠹笃髑黩",duan:"端短锻段断缎彖椴煅簖",dui:"堆兑队对怼憝碓",dun:"墩吨蹲敦顿囤钝盾遁炖砘礅盹镦趸",duo:"掇哆多夺垛躲朵跺舵剁惰堕咄哚缍柁铎裰踱",e:"蛾峨鹅俄额讹娥恶厄扼遏鄂饿噩谔垩垭苊莪萼呃愕屙婀轭曷腭硪锇锷鹗颚鳄",en:"恩蒽摁唔嗯",er:"而儿耳尔饵洱二贰迩珥铒鸸鲕",fa:"发罚筏伐乏阀法珐垡砝",fan:"藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛蘩幡犭梵攵燔畈蹯",fang:"坊芳方肪房防妨仿访纺放匚邡彷钫舫鲂",fei:"菲非啡飞肥匪诽吠肺废沸费芾狒悱淝妃绋绯榧腓斐扉祓砩镄痱蜚篚翡霏鲱",fen:"芬酚吩氛分纷坟焚汾粉奋份忿愤粪偾瀵棼愍鲼鼢",feng:"丰封枫蜂峰锋风疯烽逢冯缝讽奉凤俸酆葑沣砜",fu:"佛否夫敷肤孵扶拂辐幅氟符伏俘服浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐匐凫郛芙苻茯莩菔呋幞滏艴孚驸绂桴赙黻黼罘稃馥虍蚨蜉蝠蝮麸趺跗鳆",ga:"噶嘎蛤尬呷尕尜旮钆",gai:"该改概钙盖溉丐陔垓戤赅胲",gan:"干甘杆柑竿肝赶感秆敢赣坩苷尴擀泔淦澉绀橄旰矸疳酐",gang:"冈刚钢缸肛纲岗港戆罡颃筻",gong:"杠工攻功恭龚供躬公宫弓巩汞拱贡共蕻廾咣珙肱蚣蛩觥",gao:"篙皋高膏羔糕搞镐稿告睾诰郜蒿藁缟槔槁杲锆",ge:"哥歌搁戈鸽胳疙割革葛格阁隔铬个各鬲仡哿塥嗝纥搿膈硌铪镉袼颌虼舸骼髂",gei:"给",gen:"根跟亘茛哏艮",geng:"耕更庚羹埂耿梗哽赓鲠",gou:"钩勾沟苟狗垢构购够佝诟岣遘媾缑觏彀鸲笱篝鞲",gu:"辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇嘏诂菰哌崮汩梏轱牯牿胍臌毂瞽罟钴锢瓠鸪鹄痼蛄酤觚鲴骰鹘",gua:"刮瓜剐寡挂褂卦诖呱栝鸹",guai:"乖拐怪哙",guan:"棺关官冠观管馆罐惯灌贯倌莞掼涫盥鹳鳏",guang:"光广逛犷桄胱疒",gui:"瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽匦刿庋宄妫桧炅晷皈簋鲑鳜",gun:"辊滚棍丨衮绲磙鲧",guo:"锅郭国果裹过馘蠃埚掴呙囗帼崞猓椁虢锞聒蜮蜾蝈",ha:"哈",hai:"骸孩海氦亥害骇咴嗨颏醢",han:"酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉邗菡撖阚瀚晗焓颔蚶鼾",hen:"夯痕很狠恨",hang:"杭航沆绗珩桁",hao:"壕嚎豪毫郝好耗号浩薅嗥嚆濠灏昊皓颢蚝",he:"呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺诃劾壑藿嗑嗬阖盍蚵翮",hei:"嘿黑",heng:"哼亨横衡恒訇蘅",hong:"轰哄烘虹鸿洪宏弘红黉讧荭薨闳泓",hou:"喉侯猴吼厚候后堠後逅瘊篌糇鲎骺",hu:"呼乎忽瑚壶葫胡蝴狐糊湖弧虎唬护互沪户冱唿囫岵猢怙惚浒滹琥槲轷觳烀煳戽扈祜鹕鹱笏醐斛",hua:"花哗华猾滑画划化话劐浍骅桦铧稞",huai:"槐徊怀淮坏还踝",huan:"欢环桓缓换患唤痪豢焕涣宦幻郇奂垸擐圜洹浣漶寰逭缳锾鲩鬟",huang:"荒慌黄磺蝗簧皇凰惶煌晃幌恍谎隍徨湟潢遑璜肓癀蟥篁鳇",hui:"灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘诙茴荟蕙哕喙隳洄彗缋珲晖恚虺蟪麾",hun:"荤昏婚魂浑混诨馄阍溷缗",huo:"豁活伙火获或惑霍货祸攉嚯夥钬锪镬耠蠖",ji:"击圾基机畸稽积箕肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪居丌乩剞佶佴脔墼芨芰萁蒺蕺掎叽咭哜唧岌嵴洎彐屐骥畿玑楫殛戟戢赍觊犄齑矶羁嵇稷瘠瘵虮笈笄暨跻跽霁鲚鲫髻麂",jia:"嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁伽郏拮岬浃迦珈戛胛恝铗镓痂蛱笳袈跏",jian:"歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件健舰剑饯渐溅涧建僭谏谫菅蒹搛囝湔蹇謇缣枧柙楗戋戬牮犍毽腱睑锏鹣裥笕箴翦趼踺鲣鞯",jiang:"僵姜将浆江疆蒋桨奖讲匠酱降茳洚绛缰犟礓耩糨豇",jiao:"蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫佼僬茭挢噍峤徼姣纟敫皎鹪蛟醮跤鲛",jie:"窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届偈讦诘喈嗟獬婕孑桀獒碣锴疖袷颉蚧羯鲒骱髫",jin:"巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸尽卺荩堇噤馑廑妗缙瑾槿赆觐钅锓衿矜",jing:"劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净刭儆阱菁獍憬泾迳弪婧肼胫腈旌",jiong:"炯窘冂迥扃",jiu:"揪究纠玖韭久灸九酒厩救旧臼舅咎就疚僦啾阄柩桕鹫赳鬏",ju:"鞠拘狙疽驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧倨讵苣苴莒掬遽屦琚枸椐榘榉橘犋飓钜锔窭裾趄醵踽龃雎鞫",juan:"捐鹃娟倦眷卷绢鄄狷涓桊蠲锩镌隽",jue:"撅攫抉掘倔爵觉决诀绝厥劂谲矍蕨噘崛獗孓珏桷橛爝镢蹶觖",jun:"均菌钧军君峻俊竣浚郡骏捃狻皲筠麇",ka:"喀咖卡佧咔胩",ke:"咯坷苛柯棵磕颗科壳咳可渴克刻客课岢恪溘骒缂珂轲氪瞌钶疴窠蝌髁",kai:"开揩楷凯慨剀垲蒈忾恺铠锎",kan:"刊堪勘坎砍看侃凵莰莶戡龛瞰",kang:"康慷糠扛抗亢炕坑伉闶钪",kao:"考拷烤靠尻栲犒铐",ken:"肯啃垦恳垠裉颀",keng:"吭忐铿",kong:"空恐孔控倥崆箜",kou:"抠口扣寇芤蔻叩眍筘",ku:"枯哭窟苦酷库裤刳堀喾绔骷",kua:"夸垮挎跨胯侉",kuai:"块筷侩快蒯郐蒉狯脍",kuan:"宽款髋",kuang:"匡筐狂框矿眶旷况诓诳邝圹夼哐纩贶",kui:"亏盔岿窥葵奎魁傀馈愧溃馗匮夔隗揆喹喟悝愦阕逵暌睽聩蝰篑臾跬",kun:"坤昆捆困悃阃琨锟醌鲲髡",kuo:"括扩廓阔蛞",la:"垃拉喇蜡腊辣啦剌摺邋旯砬瘌",lai:"莱来赖崃徕涞濑赉睐铼癞籁",lan:"蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥啉岚懔漤榄斓罱镧褴",lang:"琅榔狼廊郎朗浪莨蒗啷阆锒稂螂",lao:"捞劳牢老佬姥酪烙涝唠崂栳铑铹痨醪",le:"勒乐肋仂叻嘞泐鳓",lei:"雷镭蕾磊累儡垒擂类泪羸诔荽咧漯嫘缧檑耒酹",ling:"棱冷拎玲菱零龄铃伶羚凌灵陵岭领另令酃塄苓呤囹泠绫柃棂瓴聆蛉翎鲮",leng:"楞愣",li:"厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐痢立粒沥隶力璃哩俪俚郦坜苈莅蓠藜捩呖唳喱猁溧澧逦娌嫠骊缡珞枥栎轹戾砺詈罹锂鹂疠疬蛎蜊蠡笠篥粝醴跞雳鲡鳢黧",lian:"俩联莲连镰廉怜涟帘敛脸链恋炼练挛蔹奁潋濂娈琏楝殓臁膦裢蠊鲢",liang:"粮凉梁粱良两辆量晾亮谅墚椋踉靓魉",liao:"撩聊僚疗燎寥辽潦了撂镣廖料蓼尥嘹獠寮缭钌鹩耢",lie:"列裂烈劣猎冽埒洌趔躐鬣",lin:"琳林磷霖临邻鳞淋凛赁吝蔺嶙廪遴檩辚瞵粼躏麟",liu:"溜琉榴硫馏留刘瘤流柳六抡偻蒌泖浏遛骝绺旒熘锍镏鹨鎏",long:"龙聋咙笼窿隆垄拢陇弄垅茏泷珑栊胧砻癃",lou:"楼娄搂篓漏陋喽嵝镂瘘耧蝼髅",lu:"芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮垆摅撸噜泸渌漉璐栌橹轳辂辘氇胪镥鸬鹭簏舻鲈",lv:"驴吕铝侣旅履屡缕虑氯律率滤绿捋闾榈膂稆褛",luan:"峦孪滦卵乱栾鸾銮",lue:"掠略锊",lun:"轮伦仑沦纶论囵",luo:"萝螺罗逻锣箩骡裸落洛骆络倮荦摞猡泺椤脶镙瘰雒",ma:"妈麻玛码蚂马骂嘛吗唛犸嬷杩麽",mai:"埋买麦卖迈脉劢荬咪霾",man:"瞒馒蛮满蔓曼慢漫谩墁幔缦熳镘颟螨鳗鞔",mang:"芒茫盲忙莽邙漭朦硭蟒",meng:"氓萌蒙檬盟锰猛梦孟勐甍瞢懵礞虻蜢蠓艋艨黾",miao:"猫苗描瞄藐秒渺庙妙喵邈缈缪杪淼眇鹋蜱",mao:"茅锚毛矛铆卯茂冒帽貌贸侔袤勖茆峁瑁昴牦耄旄懋瞀蛑蝥蟊髦",me:"么",mei:"玫枚梅酶霉煤没眉媒镁每美昧寐妹媚坶莓嵋猸浼湄楣镅鹛袂魅",men:"门闷们扪玟焖懑钔",mi:"眯醚靡糜迷谜弥米秘觅泌蜜密幂芈冖谧蘼嘧猕獯汨宓弭脒敉糸縻麋",mian:"棉眠绵冕免勉娩缅面沔湎腼眄",mie:"蔑灭咩蠛篾",min:"民抿皿敏悯闽苠岷闵泯珉",ming:"明螟鸣铭名命冥茗溟暝瞑酩",miu:"谬",mo:"摸摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谟茉蓦馍嫫镆秣瘼耱蟆貊貘",mou:"谋牟某厶哞婺眸鍪",mu:"拇牡亩姆母墓暮幕募慕木目睦牧穆仫苜呒沐毪钼",na:"拿哪呐钠那娜纳内捺肭镎衲箬",nai:"氖乃奶耐奈鼐艿萘柰",nan:"南男难囊喃囡楠腩蝻赧",nao:"挠脑恼闹孬垴猱瑙硇铙蛲",ne:"淖呢讷",nei:"馁",nen:"嫩能枘恁",ni:"妮霓倪泥尼拟你匿腻逆溺伲坭猊怩滠昵旎祢慝睨铌鲵",nian:"蔫拈年碾撵捻念廿辇黏鲇鲶",niang:"娘酿",niao:"鸟尿茑嬲脲袅",nie:"捏聂孽啮镊镍涅乜陧蘖嗫肀颞臬蹑",nin:"您柠",ning:"狞凝宁拧泞佞蓥咛甯聍",niu:"牛扭钮纽狃忸妞蚴",nong:"脓浓农侬",nu:"奴努怒呶帑弩胬孥驽",nv:"女恧钕衄",nuan:"暖",nuenue:"虐",nue:"疟谑",nuo:"挪懦糯诺傩搦喏锘",ou:"哦欧鸥殴藕呕偶沤怄瓯耦",pa:"啪趴爬帕怕琶葩筢",pai:"拍排牌徘湃派俳蒎",pan:"攀潘盘磐盼畔判叛爿泮袢襻蟠蹒",pang:"乓庞旁耪胖滂逄",pao:"抛咆刨炮袍跑泡匏狍庖脬疱",pei:"呸胚培裴赔陪配佩沛掊辔帔淠旆锫醅霈",pen:"喷盆湓",peng:"砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯堋嘭怦蟛",pi:"砒霹批披劈琵毗啤脾疲皮匹痞僻屁譬丕陴邳郫圮鼙擗噼庀媲纰枇甓睥罴铍痦癖疋蚍貔",pian:"篇偏片骗谝骈犏胼褊翩蹁",piao:"飘漂瓢票剽嘌嫖缥殍瞟螵",pie:"撇瞥丿苤氕",pin:"拼频贫品聘拚姘嫔榀牝颦",ping:"乒坪苹萍平凭瓶评屏俜娉枰鲆",po:"坡泼颇婆破魄迫粕叵鄱溥珀钋钷皤笸",pou:"剖裒踣",pu:"扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑匍噗濮璞氆镤镨蹼",qi:"期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫亟亓圻芑萋葺嘁屺岐汔淇骐绮琪琦杞桤槭欹祺憩碛蛴蜞綦綮趿蹊鳍麒",qia:"掐恰洽葜",qian:"牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉佥阡芊芡荨掮岍悭慊骞搴褰缱椠肷愆钤虔箝",qiang:"枪呛腔羌墙蔷强抢嫱樯戗炝锖锵镪襁蜣羟跫跄",qiao:"橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍劁诮谯荞愀憔缲樵毳硗跷鞒",qie:"切茄且怯窃郄唼惬妾挈锲箧",qin:"钦侵亲秦琴勤芹擒禽寝沁芩蓁蕲揿吣嗪噙溱檎螓衾",qing:"青轻氢倾卿清擎晴氰情顷请庆倩苘圊檠磬蜻罄箐謦鲭黥",qiong:"琼穷邛茕穹筇銎",qiu:"秋丘邱球求囚酋泅俅氽巯艽犰湫逑遒楸赇鸠虬蚯蝤裘糗鳅鼽",qu:"趋区蛆曲躯屈驱渠取娶龋趣去诎劬蕖蘧岖衢阒璩觑氍祛磲癯蛐蠼麴瞿黢",quan:"圈颧权醛泉全痊拳犬券劝诠荃獾悛绻辁畎铨蜷筌鬈",que:"缺炔瘸却鹊榷确雀阙悫",qun:"裙群逡",ran:"然燃冉染苒髯",rang:"瓤壤攘嚷让禳穰",rao:"饶扰绕荛娆桡",ruo:"惹若弱",re:"热偌",ren:"壬仁人忍韧任认刃妊纫仞荏葚饪轫稔衽",reng:"扔仍",ri:"日",rong:"戎茸蓉荣融熔溶容绒冗嵘狨缛榕蝾",rou:"揉柔肉糅蹂鞣",ru:"茹蠕儒孺如辱乳汝入褥蓐薷嚅洳溽濡铷襦颥",ruan:"软阮朊",rui:"蕊瑞锐芮蕤睿蚋",run:"闰润",sa:"撒洒萨卅仨挲飒",sai:"腮鳃塞赛噻",san:"三叁伞散彡馓氵毵糁霰",sang:"桑嗓丧搡磉颡",sao:"搔骚扫嫂埽臊瘙鳋",se:"瑟色涩啬铩铯穑",sen:"森",seng:"僧",sha:"莎砂杀刹沙纱傻啥煞脎歃痧裟霎鲨",shai:"筛晒酾",shan:"珊苫杉山删煽衫闪陕擅赡膳善汕扇缮剡讪鄯埏芟潸姗骟膻钐疝蟮舢跚鳝",shang:"墒伤商赏晌上尚裳垧绱殇熵觞",shao:"梢捎稍烧芍勺韶少哨邵绍劭苕潲蛸笤筲艄",she:"奢赊蛇舌舍赦摄射慑涉社设厍佘猞畲麝",shen:"砷申呻伸身深娠绅神沈审婶甚肾慎渗诜谂吲哂渖椹矧蜃",sheng:"声生甥牲升绳省盛剩胜圣丞渑媵眚笙",shi:"师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试谥埘莳蓍弑唑饣轼耆贳炻礻铈铊螫舐筮豕鲥鲺",shou:"收手首守寿授售受瘦兽扌狩绶艏",shu:"蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱恕倏塾菽忄沭涑澍姝纾毹腧殳镯秫鹬",shua:"刷耍唰涮",shuai:"摔衰甩帅蟀",shuan:"栓拴闩",shuang:"霜双爽孀",shui:"谁水睡税",shun:"吮瞬顺舜恂",shuo:"说硕朔烁蒴搠嗍濯妁槊铄",si:"斯撕嘶思私司丝死肆寺嗣四伺似饲巳厮俟兕菥咝汜泗澌姒驷缌祀祠锶鸶耜蛳笥",song:"松耸怂颂送宋讼诵凇菘崧嵩忪悚淞竦",sou:"搜艘擞嗽叟嗖嗾馊溲飕瞍锼螋",su:"苏酥俗素速粟僳塑溯宿诉肃夙谡蔌嗉愫簌觫稣",suan:"酸蒜算",sui:"虽隋随绥髓碎岁穗遂隧祟蓑冫谇濉邃燧眭睢",sun:"孙损笋荪狲飧榫跣隼",suo:"梭唆缩琐索锁所唢嗦娑桫睃羧",ta:"塌他它她塔獭挞蹋踏闼溻遢榻沓",tai:"胎苔抬台泰酞太态汰邰薹肽炱钛跆鲐",tan:"坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭郯蕈昙钽锬覃",tang:"汤塘搪堂棠膛唐糖傥饧溏瑭铴镗耥螗螳羰醣",thang:"倘躺淌",theng:"趟烫",tao:"掏涛滔绦萄桃逃淘陶讨套挑鼗啕韬饕",te:"特",teng:"藤腾疼誊滕",ti:"梯剔踢锑提题蹄啼体替嚏惕涕剃屉荑悌逖绨缇鹈裼醍",tian:"天添填田甜恬舔腆掭忝阗殄畋钿蚺",tiao:"条迢眺跳佻祧铫窕龆鲦",tie:"贴铁帖萜餮",ting:"厅听烃汀廷停亭庭挺艇莛葶婷梃蜓霆",tong:"通桐酮瞳同铜彤童桶捅筒统痛佟僮仝茼嗵恸潼砼",tou:"偷投头透亠",tu:"凸秃突图徒途涂屠土吐兔堍荼菟钍酴",tuan:"湍团疃",tui:"推颓腿蜕褪退忒煺",tun:"吞屯臀饨暾豚窀",tuo:"拖托脱鸵陀驮驼椭妥拓唾乇佗坨庹沱柝砣箨舄跎鼍",wa:"挖哇蛙洼娃瓦袜佤娲腽",wai:"歪外",wan:"豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕剜芄苋菀纨绾琬脘畹蜿箢",wang:"汪王亡枉网往旺望忘妄罔尢惘辋魍",wei:"威巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫倭偎诿隈葳薇帏帷崴嵬猥猬闱沩洧涠逶娓玮韪軎炜煨熨痿艉鲔",wen:"瘟温蚊文闻纹吻稳紊问刎愠阌汶璺韫殁雯",weng:"嗡翁瓮蓊蕹",wo:"挝蜗涡窝我斡卧握沃莴幄渥杌肟龌",wu:"巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误兀仵阢邬圬芴庑怃忤浯寤迕妩骛牾焐鹉鹜蜈鋈鼯",xi:"昔熙析西硒矽晰嘻吸锡牺稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细僖兮隰郗茜葸蓰奚唏徙饩阋浠淅屣嬉玺樨曦觋欷熹禊禧钸皙穸蜥蟋舾羲粞翕醯鼷",xia:"瞎虾匣霞辖暇峡侠狭下厦夏吓掀葭嗄狎遐瑕硖瘕罅黠",xian:"锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线冼藓岘猃暹娴氙祆鹇痫蚬筅籼酰跹",xiang:"相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象芗葙饷庠骧缃蟓鲞飨",xiao:"萧硝霄削哮嚣销消宵淆晓小孝校肖啸笑效哓咻崤潇逍骁绡枭枵筱箫魈",xie:"楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑偕亵勰燮薤撷廨瀣邂绁缬榭榍歙躞",xin:"薪芯锌欣辛新忻心信衅囟馨莘歆铽鑫",xing:"星腥猩惺兴刑型形邢行醒幸杏性姓陉荇荥擤悻硎",xiong:"兄凶胸匈汹雄熊芎",xiu:"休修羞朽嗅锈秀袖绣莠岫馐庥鸺貅髹",xu:"墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续讴诩圩蓿怵洫溆顼栩煦砉盱胥糈醑",xuan:"轩喧宣悬旋玄选癣眩绚儇谖萱揎馔泫洵渲漩璇楦暄炫煊碹铉镟痃",xue:"靴薛学穴雪血噱泶鳕",xun:"勋熏循旬询寻驯巡殉汛训讯逊迅巽埙荀薰峋徇浔曛窨醺鲟",ya:"压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶伢揠吖岈迓娅琊桠氩砑睚痖",yan:"焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验厣靥赝俨偃兖讠谳郾鄢芫菸崦恹闫阏洇湮滟妍嫣琰晏胭腌焱罨筵酽魇餍鼹",yang:"殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾徉怏泱炀烊恙蛘鞅",yao:"邀腰妖瑶摇尧遥窑谣姚咬舀药要耀夭爻吆崾徭瀹幺珧杳曜肴鹞窈繇鳐",ye:"椰噎耶爷野冶也页掖业叶曳腋夜液谒邺揶馀晔烨铘",yi:"一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎刈劓佾诒圪圯埸懿苡薏弈奕挹弋呓咦咿噫峄嶷猗饴怿怡悒漪迤驿缢殪贻旖熠钇镒镱痍瘗癔翊衤蜴舣羿翳酏黟",yin:"茵荫因殷音阴姻吟银淫寅饮尹引隐印胤鄞堙茚喑狺夤氤铟瘾蚓霪龈",ying:"英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映嬴郢茔莺萦撄嘤膺滢潆瀛瑛璎楹鹦瘿颍罂",yo:"哟唷",yong:"拥佣臃痈庸雍踊蛹咏泳涌永恿勇用俑壅墉慵邕镛甬鳙饔",you:"幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼卣攸侑莸呦囿宥柚猷牖铕疣蝣鱿黝鼬",yu:"迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉浴寓裕预豫驭禺毓伛俣谀谕萸蓣揄喁圄圉嵛狳饫庾阈妪妤纡瑜昱觎腴欤於煜燠聿钰鹆瘐瘀窳蝓竽舁雩龉",yuan:"鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院塬沅媛瑗橼爰眢鸢螈鼋",yue:"曰约越跃钥岳粤月悦阅龠樾刖钺",yun:"耘云郧匀陨允运蕴酝晕韵孕郓芸狁恽纭殒昀氲",za:"匝砸杂拶咂",zai:"栽哉灾宰载再在咱崽甾",zan:"攒暂赞瓒昝簪糌趱錾",zang:"赃脏葬奘戕臧",zao:"遭糟凿藻枣早澡蚤躁噪造皂灶燥唣缫",ze:"责择则泽仄赜啧迮昃笮箦舴",zei:"贼",zen:"怎谮",zeng:"增憎曾赠缯甑罾锃",zha:"扎喳渣札轧铡闸眨栅榨咋乍炸诈揸吒咤哳怍砟痄蚱齄",zhai:"摘斋宅窄债寨砦",zhan:"瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽谵搌旃",zhang:"樟章彰漳张掌涨杖丈帐账仗胀瘴障仉鄣幛嶂獐嫜璋蟑",zhao:"招昭找沼赵照罩兆肇召爪诏棹钊笊",zhe:"遮折哲蛰辙者锗蔗这浙谪陬柘辄磔鹧褚蜇赭",zhen:"珍斟真甄砧臻贞针侦枕疹诊震振镇阵缜桢榛轸赈胗朕祯畛鸩",zheng:"蒸挣睁征狰争怔整拯正政帧症郑证诤峥钲铮筝",zhi:"芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒卮陟郅埴芷摭帙忮彘咫骘栉枳栀桎轵轾攴贽膣祉祗黹雉鸷痣蛭絷酯跖踬踯豸觯",zhong:"中盅忠钟衷终种肿重仲众冢锺螽舂舯踵",zhou:"舟周州洲诌粥轴肘帚咒皱宙昼骤啄着倜诹荮鬻纣胄碡籀舳酎鲷",zhu:"珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑住注祝驻伫侏邾苎茱洙渚潴驺杼槠橥炷铢疰瘃蚰竺箸翥躅麈",zhua:"抓",zhuai:"拽",zhuan:"专砖转撰赚篆抟啭颛",zhuang:"桩庄装妆撞壮状丬",zhui:"椎锥追赘坠缀萑骓缒",zhun:"谆准",zhuo:"捉拙卓桌琢茁酌灼浊倬诼廴蕞擢啜浞涿杓焯禚斫",zi:"兹咨资姿滋淄孜紫仔籽滓子自渍字谘嵫姊孳缁梓辎赀恣眦锱秭耔笫粢觜訾鲻髭",zong:"鬃棕踪宗综总纵腙粽",zou:"邹走奏揍鄹鲰",zu:"租足卒族祖诅阻组俎菹啐徂驵蹴",zuan:"钻纂攥缵",zui:"嘴醉最罪",zun:"尊遵撙樽鳟",zuo:"昨左佐柞做作坐座阝阼胙祚酢",cou:"薮楱辏腠",nang:"攮哝囔馕曩",o:"喔",dia:"嗲",chuai:"嘬膪踹",cen:"岑涔",diu:"铥",nou:"耨",fou:"缶",bia:"髟"},this.polyphone={19969:"DZ",19975:"WM",19988:"QJ",20048:"YL",20056:"SC",20060:"NM",20094:"QG",20127:"QJ",20167:"QC",20193:"YG",20250:"KH",20256:"ZC",20282:"SC",20285:"QJG",20291:"TD",20314:"YD",20340:"NE",20375:"TD",20389:"YJ",20391:"CZ",20415:"PB",20446:"YS",20447:"SQ",20504:"TC",20608:"KG",20854:"QJ",20857:"ZC",20911:"PF",20985:"AW",21032:"PB",21048:"XQ",21049:"SC",21089:"YS",21119:"JC",21242:"SB",21273:"SC",21305:"YP",21306:"QO",21330:"ZC",21333:"SDC",21345:"QK",21378:"CA",21397:"SC",21414:"XS",21442:"SC",21477:"JG",21480:"TD",21484:"ZS",21494:"YX",21505:"YX",21512:"HG",21523:"XH",21537:"PB",21542:"PF",21549:"KH",21571:"E",21574:"DA",21588:"TD",21589:"O",21618:"ZC",21621:"KHA",21632:"ZJ",21654:"KG",21679:"LKG",21683:"KH",21710:"A",21719:"YH",21734:"WOE",21769:"A",21780:"WN",21804:"XH",21834:"A",21899:"ZD",21903:"RN",21908:"WO",21939:"ZC",21956:"SA",21964:"YA",21970:"TD",22003:"A",22031:"JG",22040:"XS",22060:"ZC",22066:"ZC",22079:"MH",22129:"XJ",22179:"XA",22237:"NJ",22244:"TD",22280:"JQ",22300:"YH",22313:"XW",22331:"YQ",22343:"YJ",22351:"PH",22395:"DC",22412:"TD",22484:"PB",22500:"PB",22534:"ZD",22549:"DH",22561:"PB",22612:"TD",22771:"KQ",22831:"HB",22841:"JG",22855:"QJ",22865:"XQ",23013:"ML",23081:"WM",23487:"SX",23558:"QJ",23561:"YW",23586:"YW",23614:"YW",23615:"SN",23631:"PB",23646:"ZS",23663:"ZT",23673:"YG",23762:"TD",23769:"ZS",23780:"QJ",23884:"QK",24055:"XH",24113:"DC",24162:"ZC",24191:"GA",24273:"QJ",24324:"NL",24377:"TD",24378:"QJ",24439:"PF",24554:"ZS",24683:"TD",24694:"WE",24733:"LK",24925:"TN",25094:"ZG",25100:"XQ",25103:"XH",25153:"PB",25170:"PB",25179:"KG",25203:"PB",25240:"ZS",25282:"FB",25303:"NA",25324:"KG",25341:"ZY",25373:"WZ",25375:"XJ",25384:"A",25457:"A",25528:"SD",25530:"SC",25552:"TD",25774:"ZC",25874:"ZC",26044:"YW",26080:"WM",26292:"PB",26333:"PB",26355:"ZY",26366:"CZ",26397:"ZC",26399:"QJ",26415:"ZS",26451:"SB",26526:"ZC",26552:"JG",26561:"TD",26588:"JG",26597:"CZ",26629:"ZS",26638:"YL",26646:"XQ",26653:"KG",26657:"XJ",26727:"HG",26894:"ZC",26937:"ZS",26946:"ZC",26999:"KJ",27099:"KJ",27449:"YQ",27481:"XS",27542:"ZS",27663:"ZS",27748:"TS",27784:"SC",27788:"ZD",27795:"TD",27812:"O",27850:"PB",27852:"MB",27895:"SL",27898:"PL",27973:"QJ",27981:"KH",27986:"HX",27994:"XJ",28044:"YC",28065:"WG",28177:"SM",28267:"QJ",28291:"KH",28337:"ZQ",28463:"TL",28548:"DC",28601:"TD",28689:"PB",28805:"JG",28820:"QG",28846:"PB",28952:"TD",28975:"ZC",29100:"A",29325:"QJ",29575:"SL",29602:"FB",30010:"TD",30044:"CX",30058:"PF",30091:"YSP",30111:"YN",30229:"XJ",30427:"SC",30465:"SX",30631:"YQ",30655:"QJ",30684:"QJG",30707:"SD",30729:"XH",30796:"LG",30917:"PB",31074:"NM",31085:"JZ",31109:"SC",31181:"ZC",31192:"MLB",31293:"JQ",31400:"YX",31584:"YJ",31896:"ZN",31909:"ZY",31995:"XJ",32321:"PF",32327:"ZY",32418:"HG",32420:"XQ",32421:"HG",32438:"LG",32473:"GJ",32488:"TD",32521:"QJ",32527:"PB",32562:"ZSQ",32564:"JZ",32735:"ZD",32793:"PB",33071:"PF",33098:"XL",33100:"YA",33152:"PB",33261:"CX",33324:"BP",33333:"TD",33406:"YA",33426:"WM",33432:"PB",33445:"JG",33486:"ZN",33493:"TS",33507:"QJ",33540:"QJ",33544:"ZC",33564:"XQ",33617:"YT",33632:"QJ",33636:"XH",33637:"YX",33694:"WG",33705:"PF",33728:"YW",33882:"SR",34067:"WM",34074:"YW",34121:"QJ",34255:"ZC",34259:"XL",34425:"JH",34430:"XH",34485:"KH",34503:"YS",34532:"HG",34552:"XS",34558:"YE",34593:"ZL",34660:"YQ",34892:"XH",34928:"SC",34999:"QJ",35048:"PB",35059:"SC",35098:"ZC",35203:"TQ",35265:"JX",35299:"JX",35782:"SZ",35828:"YS",35830:"E",35843:"TD",35895:"YG",35977:"MH",36158:"JG",36228:"QJ",36426:"XQ",36466:"DC",36710:"JC",36711:"ZYG",36767:"PB",36866:"SK",36951:"YW",37034:"YX",37063:"XH",37218:"ZC",37325:"ZC",38063:"PB",38079:"TD",38085:"QY",38107:"DC",38116:"TD",38123:"YD",38224:"HG",38241:"XTC",38271:"ZC",38415:"YE",38426:"KH",38461:"YD",38463:"AE",38466:"PB",38477:"XJ",38518:"YT",38551:"WK",38585:"ZC",38704:"XS",38739:"LJ",38761:"GJ",38808:"SQ",39048:"JG",39049:"XJ",39052:"HG",39076:"CZ",39271:"XT",39534:"TD",39552:"TD",39584:"PB",39647:"SB",39730:"LG",39748:"TPB",40109:"ZQ",40479:"ND",40516:"HG",40536:"HG",40583:"QJ",40765:"YQ",40784:"QJ",40840:"YK",40863:"QJG"}}getCamelChars(e){if("string"!=typeof e)throw new Error(-1,"函数getCamelChars需要字符串类型参数!");let t=new Array;for(let n=0,r=e.length;n<r;n++){let r=e.charAt(n);t.push(this._getChar(r))}let n=this._getResult(t);return 1===this.options.charCase?n=n.toLowerCase():2!==this.options.charCase||(n=n.toUpperCase()),n}getFullChars(e){let t=e.length,n="";new RegExp("[a-zA-Z0-9- ]");for(let r=0;r<t;r++){let t=e.substr(r,1),i=t.charCodeAt(0);if(i>40869||i<19968)n+=t;else{let e=this._getFullChar(t);!1!==e&&(n+=e)}}return 1===this.options.charCase?n=n.toLowerCase():2!==this.options.charCase||(n=n.toUpperCase()),n}_getFullChar(e){for(let t in this.full_dict)if(-1!=this.full_dict[t].indexOf(e))return this._capitalize(t);return!1}_capitalize(e){if(e.length>0)return e.substr(0,1).toUpperCase()+e.substr(1,e.length)}_getChar(e){let t=e.charCodeAt(0);return t>40869||t<19968?e:this.options.checkPolyphone&&this.polyphone[t]?this.polyphone[t]:this.char_dict.charAt(t-19968)}_getResult(e){if(!this.options.checkPolyphone)return e.join("");let t=[""];for(let n=0,r=e.length;n<r;n++){let r=e[n],i=r.length;if(1==i)for(let e=0;e<t.length;e++)t[k]+=r;else{let e=t.slice(0);t=[];for(let n=0;n<i;n++){let i=e.slice(0);for(let e=0;e<i.length;e++)i[e]+=r.charAt(n);t=t.concat(i)}}}return t}}},YAhB:function(e,t,n){"use strict";var r=n("++K3"),i=n("Y5mS"),o=10,a=40,s=800;function l(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*o,i=n*o,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(1==e.deltaMode?(r*=a,i*=a):(r*=s,i*=s)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}l.getEventType=function(){return r.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},e.exports=l},YNzw:function(e,t,n){"use strict";var r=function(){return function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}}(),i=new(function(){return function(){this.browser=new r,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window}}());"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(i.wxa=!0,i.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?i.worker=!0:"undefined"==typeof navigator?(i.node=!0,i.svgSupported=!0):function(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]);i&&(n.ie=!0,n.version=i[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);t.svgSupported="undefined"!=typeof SVGRect,t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported="undefined"!=typeof document;var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,i),t.a=i},YQ7m:function(e,t,n){e.exports={default:n("hM5s"),__esModule:!0}},Yobk:function(e,t,n){var r=n("77Pl"),i=n("qio6"),o=n("xnc9"),a=n("ax3d")("IE_PROTO"),s=function(){},l=function(){var e,t=n("ON07")("iframe"),r=o.length;for(t.style.display="none",n("RPLV").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},Zcwg:function(e,t,n){"use strict";t.__esModule=!0;var r=n("2kvA");var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return e.prototype.beforeEnter=function(e){(0,r.addClass)(e,"collapse-transition"),e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height="0",e.style.paddingTop=0,e.style.paddingBottom=0},e.prototype.enter=function(e){e.dataset.oldOverflow=e.style.overflow,0!==e.scrollHeight?(e.style.height=e.scrollHeight+"px",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom):(e.style.height="",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom),e.style.overflow="hidden"},e.prototype.afterEnter=function(e){(0,r.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow},e.prototype.beforeLeave=function(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.height=e.scrollHeight+"px",e.style.overflow="hidden"},e.prototype.leave=function(e){0!==e.scrollHeight&&((0,r.addClass)(e,"collapse-transition"),e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0)},e.prototype.afterLeave=function(e){(0,r.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},e}();t.default={name:"ElCollapseTransition",functional:!0,render:function(e,t){var n=t.children;return e("transition",{on:new i},n)}}},ZezE:function(e,t){function n(e){var t=e;this.ordinal=function(){return t}}n.STEREO=new n(0),n.JOINT_STEREO=new n(1),n.DUAL_CHANNEL=new n(2),n.MONO=new n(3),n.NOT_SET=new n(4),e.exports=n},Zo5e:function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=(r.new_float_n,r.new_int,r.new_int_n,r.assert,n("/00o"));e.exports=function(){this.useAdjust=0,this.aaSensitivityP=0,this.adjust=0,this.adjustLimit=0,this.decay=0,this.floor=0,this.l=i(o.SBMAX_l),this.s=i(o.SBMAX_s),this.psfb21=i(o.PSFB21),this.psfb12=i(o.PSFB12),this.cb_l=i(o.CBANDS),this.cb_s=i(o.CBANDS),this.eql_w=i(o.BLKSIZE/2)}},Zoe1:function(e,t,n){"use strict";var r=n("7ar3"),i=n("gcUb"),o=n("GybJ"),a=r("%TypeError%"),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),d=i("Map.prototype.get",!0),f=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),A=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(l){if(t)return d(t,r)}else if(n)return function(e,t){var n=A(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return h(e,r)}else if(l){if(t)return p(t,r)}else if(n)return function(e,t){return!!A(e,t)}(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),u(e,r,i)):l?(t||(t=new l),f(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=A(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r}},Zzip:function(e,t,n){e.exports={default:n("/n6Q"),__esModule:!0}},aFK5:function(e,t,n){e.exports={default:n("gAsd"),__esModule:!0}},aMwW:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=131)}({131:function(e,t,n){"use strict";n.r(t);var r=n(5),i=n.n(r),o=n(17),a=n.n(o),s=n(2),l=n(3),c=n(7),u=n.n(c),h={name:"ElTooltip",mixins:[i.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l.generateId)(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new u.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=a()(200,function(){return e.handleClosePopper()}))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var r=n.data=n.data||{};return r.staticClass=this.addTooltipClass(r.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s.on)(this.referenceElm,"mouseenter",this.show),Object(s.on)(this.referenceElm,"mouseleave",this.hide),Object(s.on)(this.referenceElm,"focus",function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()}),Object(s.on)(this.referenceElm,"blur",this.handleBlur),Object(s.on)(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick(function(){e.value&&e.updatePopper()})},watch:{focusing:function(e){e?Object(s.addClass)(this.referenceElm,"focusing"):Object(s.removeClass)(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.showPopper=!0},this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout(function(){e.showPopper=!1},this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n<e.length;n++)e[n]&&e[n].tag&&(t=e[n]);return t}},beforeDestroy:function(){this.popperVM&&this.popperVM.$destroy()},destroyed:function(){var e=this.referenceElm;1===e.nodeType&&(Object(s.off)(e,"mouseenter",this.show),Object(s.off)(e,"mouseleave",this.hide),Object(s.off)(e,"focus",this.handleFocus),Object(s.off)(e,"blur",this.handleBlur),Object(s.off)(e,"click",this.removeFocusing))},install:function(e){e.component(h.name,h)}};t.default=h},17:function(e,t){e.exports=n("ON3O")},2:function(e,t){e.exports=n("2kvA")},3:function(e,t){e.exports=n("ylDJ")},5:function(e,t){e.exports=n("fKx3")},7:function(e,t){e.exports=n("7+uW")}})},aW5l:function(e,t,n){"use strict";t.__esModule=!0;n("ylDJ");t.default={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},ackW:function(e,t,n){"use strict";
- /**
- * @fileoverview Task mixin
- * @license MIT
- * @author Rafal Pospiech <neuronet.io@gmail.com>
- * @package GanttElastic
- */t.a={computed:{getViewBox(){const e=this.task;return`0 0 ${e.width} ${e.height}`},getGroupTransform(){return`translate(${this.task.x} ${this.task.y})`},displayExpander(){const e=this.root.state.options.chart.expander;return e.display||e.displayIfTaskListHidden&&!this.root.state.options.taskList.display}},methods:{emitEvent(e,t){this.root.state.options.scroll.scrolling||this.root.$emit(`chart-${this.task.type}-${e}`,{event:t,data:this.task})}}}},aj7g:function(e,t){var n="auto",r={"":!0,lr:!0,rl:!0},i={start:!0,middle:!0,end:!0,left:!0,right:!0};function o(e){return"string"==typeof e&&(!!i[e.toLowerCase()]&&e.toLowerCase())}function a(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function s(e,t,i){var s=this,l=/MSIE\s8\.0/.test(navigator.userAgent),c={};l?s=document.createElement("custom"):c.enumerable=!0,s.hasBeenReset=!1;var u="",h=!1,d=e,f=t,p=i,A=null,g="",v=!0,m="auto",y="start",b=50,_="middle",w=50,x="middle";if(Object.defineProperty(s,"id",a({},c,{get:function(){return u},set:function(e){u=""+e}})),Object.defineProperty(s,"pauseOnExit",a({},c,{get:function(){return h},set:function(e){h=!!e}})),Object.defineProperty(s,"startTime",a({},c,{get:function(){return d},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");d=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"endTime",a({},c,{get:function(){return f},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");f=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",a({},c,{get:function(){return p},set:function(e){p=""+e,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",a({},c,{get:function(){return A},set:function(e){A=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",a({},c,{get:function(){return g},set:function(e){var t=function(e){return"string"==typeof e&&!!r[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===t)throw new SyntaxError("An invalid or illegal string was specified.");g=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",a({},c,{get:function(){return v},set:function(e){v=!!e,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",a({},c,{get:function(){return m},set:function(e){if("number"!=typeof e&&e!==n)throw new SyntaxError("An invalid number or illegal string was specified.");m=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"lineAlign",a({},c,{get:function(){return y},set:function(e){var t=o(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",a({},c,{get:function(){return b},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");b=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",a({},c,{get:function(){return _},set:function(e){var t=o(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");_=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",a({},c,{get:function(){return w},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");w=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",a({},c,{get:function(){return x},set:function(e){var t=o(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");x=t,this.hasBeenReset=!0}})),s.displayState=void 0,l)return s}s.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=s},alfv:function(e,t,n){var r;window,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=140)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){e.exports=n(141)},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",function(){return i}),n.d(t,"__assign",function(){return o}),n.d(t,"__rest",function(){return a}),n.d(t,"__decorate",function(){return s}),n.d(t,"__param",function(){return l}),n.d(t,"__metadata",function(){return c}),n.d(t,"__awaiter",function(){return u}),n.d(t,"__generator",function(){return h}),n.d(t,"__createBinding",function(){return d}),n.d(t,"__exportStar",function(){return f}),n.d(t,"__values",function(){return p}),n.d(t,"__read",function(){return A}),n.d(t,"__spread",function(){return g}),n.d(t,"__spreadArrays",function(){return v}),n.d(t,"__spreadArray",function(){return m}),n.d(t,"__await",function(){return y}),n.d(t,"__asyncGenerator",function(){return b}),n.d(t,"__asyncDelegator",function(){return _}),n.d(t,"__asyncValues",function(){return w}),n.d(t,"__makeTemplateObject",function(){return x}),n.d(t,"__importStar",function(){return S}),n.d(t,"__importDefault",function(){return B}),n.d(t,"__classPrivateFieldGet",function(){return k}),n.d(t,"__classPrivateFieldSet",function(){return T});
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */
- var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function h(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var d=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function f(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||d(t,e,n)}function p(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function A(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(A(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function m(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{(n=i[e](t)).value instanceof y?Promise.resolve(n.value.v).then(l,c):u(o[0][2],n)}catch(e){u(o[0][3],e)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function _(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,i,(t=e[n](t)).done,t.value)})}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var C=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&d(t,e,n);return C(t,e),t}function B(e){return e&&e.__esModule?e:{default:e}}function k(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function T(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(91)),a=r(n(4)),s=r(n(25)),l=r(n(19)),c=r(n(120)),u=r(n(26)),h=r(n(93)),d=r(n(74)),f=r(n(55)),p=r(n(56));(0,i.default)(t,"__esModule",{value:!0}),t.DomElement=void 0;var A=n(2),g=n(6),v=[];function m(e){var t=[],n=[];return t=(0,o.default)(e)?e:e.split(";"),(0,a.default)(t).call(t,function(e){var t,r=(0,s.default)(t=e.split(":")).call(t,function(e){return(0,l.default)(e).call(e)});2===r.length&&n.push(r[0]+":"+r[1])}),n}var y=function(){function e(t){if(this.elems=[],this.length=this.elems.length,this.dataSource=new c.default,t){if(t instanceof e)return t;var n=[],r=t instanceof Node?t.nodeType:-1;if(this.selector=t,1===r||9===r)n=[t];else if(function(e){return!!e&&(e instanceof HTMLCollection||e instanceof NodeList)}(t))n=g.toArray(t);else if(t instanceof Array)n=t;else if("string"==typeof t){var i,o=(0,l.default)(i=t.replace("/\n/mg","")).call(i);n=0===(0,u.default)(o).call(o,"<")?function(e){var t=document.createElement("div");t.innerHTML=e;var n=t.children;return g.toArray(n)}(o):function(e){var t=document.querySelectorAll(e);return g.toArray(t)}(o)}var a=n.length;if(!a)return this;for(var s=0;s<a;s++)this.elems.push(n[s]);this.length=a}}return(0,i.default)(e.prototype,"id",{get:function(){return this.elems[0].id},enumerable:!1,configurable:!0}),e.prototype.forEach=function(e){for(var t=0;t<this.length;t++){var n=this.elems[t];if(!1===e.call(n,n,t))break}return this},e.prototype.clone=function(e){var t;void 0===e&&(e=!1);var n=[];return(0,a.default)(t=this.elems).call(t,function(t){n.push(t.cloneNode(!!e))}),b(n)},e.prototype.get=function(e){void 0===e&&(e=0);var t=this.length;return e>=t&&(e%=t),b(this.elems[e])},e.prototype.first=function(){return this.get(0)},e.prototype.last=function(){var e=this.length;return this.get(e-1)},e.prototype.on=function(e,t,n){var r;return e?("function"==typeof t&&(n=t,t=""),(0,a.default)(r=this).call(r,function(r){if(t){var i=function(e){var r=e.target;r.matches(t)&&n.call(r,e)};r.addEventListener(e,i),v.push({elem:r,selector:t,fn:n,agentFn:i})}else r.addEventListener(e,n)})):this},e.prototype.off=function(e,t,n){var r;return e?("function"==typeof t&&(n=t,t=""),(0,a.default)(r=this).call(r,function(r){if(t){for(var i=-1,o=0;o<v.length;o++){var a=v[o];if(a.selector===t&&a.fn===n&&a.elem===r){i=o;break}}if(-1!==i){var s=(0,h.default)(v).call(v,i,1)[0].agentFn;r.removeEventListener(e,s)}}else r.removeEventListener(e,n)})):this},e.prototype.attr=function(e,t){var n;return null==t?this.elems[0].getAttribute(e)||"":(0,a.default)(n=this).call(n,function(n){n.setAttribute(e,t)})},e.prototype.removeAttr=function(e){var t;(0,a.default)(t=this).call(t,function(t){t.removeAttribute(e)})},e.prototype.addClass=function(e){var t;return e?(0,a.default)(t=this).call(t,function(t){if(t.className){var n=t.className.split(/\s/);n=(0,d.default)(n).call(n,function(e){return!!(0,l.default)(e).call(e)}),(0,u.default)(n).call(n,e)<0&&n.push(e),t.className=n.join(" ")}else t.className=e}):this},e.prototype.removeClass=function(e){var t;return e?(0,a.default)(t=this).call(t,function(t){if(t.className){var n=t.className.split(/\s/);n=(0,d.default)(n).call(n,function(t){return!(!(t=(0,l.default)(t).call(t))||t===e)}),t.className=n.join(" ")}}):this},e.prototype.hasClass=function(e){if(!e)return!1;var t=this.elems[0];if(!t.className)return!1;var n=t.className.split(/\s/);return(0,f.default)(n).call(n,e)},e.prototype.css=function(e,t){var n,r;return r=""==t?"":e+":"+t+";",(0,a.default)(n=this).call(n,function(t){var n,i=(0,l.default)(n=t.getAttribute("style")||"").call(n);if(i){var o=m(i);o=(0,s.default)(o).call(o,function(t){return 0===(0,u.default)(t).call(t,e)?r:t}),""!=r&&(0,u.default)(o).call(o,r)<0&&o.push(r),""==r&&(o=m(o)),t.setAttribute("style",o.join("; "))}else t.setAttribute("style",r)})},e.prototype.getBoundingClientRect=function(){return this.elems[0].getBoundingClientRect()},e.prototype.show=function(){return this.css("display","block")},e.prototype.hide=function(){return this.css("display","none")},e.prototype.children=function(){var e=this.elems[0];return e?b(e.children):null},e.prototype.childNodes=function(){var e=this.elems[0];return e?b(e.childNodes):null},e.prototype.replaceChildAll=function(e){for(var t=this.getNode(),n=this.elems[0];n.hasChildNodes();)t.firstChild&&n.removeChild(t.firstChild);this.append(e)},e.prototype.append=function(e){var t;return(0,a.default)(t=this).call(t,function(t){(0,a.default)(e).call(e,function(e){t.appendChild(e)})})},e.prototype.remove=function(){var e;return(0,a.default)(e=this).call(e,function(e){if(e.remove)e.remove();else{var t=e.parentElement;t&&t.removeChild(e)}})},e.prototype.isContain=function(e){var t=this.elems[0],n=e.elems[0];return t.contains(n)},e.prototype.getNodeName=function(){return this.elems[0].nodeName},e.prototype.getNode=function(e){return void 0===e&&(e=0),this.elems[e]},e.prototype.find=function(e){return b(this.elems[0].querySelectorAll(e))},e.prototype.text=function(e){var t;return e?(0,a.default)(t=this).call(t,function(t){t.innerHTML=e}):this.elems[0].innerHTML.replace(/<[^>]+>/g,function(){return""})},e.prototype.html=function(e){var t=this.elems[0];return e?(t.innerHTML=e,this):t.innerHTML},e.prototype.val=function(){var e,t=this.elems[0];return(0,l.default)(e=t.value).call(e)},e.prototype.focus=function(){var e;return(0,a.default)(e=this).call(e,function(e){e.focus()})},e.prototype.prev=function(){return b(this.elems[0].previousElementSibling)},e.prototype.next=function(){return b(this.elems[0].nextElementSibling)},e.prototype.getNextSibling=function(){return b(this.elems[0].nextSibling)},e.prototype.parent=function(){return b(this.elems[0].parentElement)},e.prototype.parentUntil=function(e,t){var n=t||this.elems[0];if("BODY"===n.nodeName)return null;var r=n.parentElement;return null===r?null:r.matches(e)?b(r):this.parentUntil(e,r)},e.prototype.parentUntilEditor=function(e,t,n){var r=n||this.elems[0];if(b(r).equal(t.$textContainerElem)||b(r).equal(t.$toolbarElem))return null;var i=r.parentElement;return null===i?null:i.matches(e)?b(i):this.parentUntilEditor(e,t,i)},e.prototype.equal=function(t){return t instanceof e?this.elems[0]===t.elems[0]:t instanceof HTMLElement&&this.elems[0]===t},e.prototype.insertBefore=function(e){var t,n=b(e).elems[0];return n?(0,a.default)(t=this).call(t,function(e){n.parentNode.insertBefore(e,n)}):this},e.prototype.insertAfter=function(e){var t,n=b(e).elems[0],r=n&&n.nextSibling;return n?(0,a.default)(t=this).call(t,function(e){var t=n.parentNode;r?t.insertBefore(e,r):t.appendChild(e)}):this},e.prototype.data=function(e,t){if(null==t)return this.dataSource.get(e);this.dataSource.set(e,t)},e.prototype.getNodeTop=function(e){if(this.length<1)return this;var t=this.parent();return e.$textElem.equal(this)||e.$textElem.equal(t)?this:(t.prior=this,t.getNodeTop(e))},e.prototype.getOffsetData=function(){var e=this.elems[0];return{top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight,parent:e.offsetParent}},e.prototype.scrollTop=function(e){this.elems[0].scrollTo({top:e})},e}();function b(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new((0,p.default)(y).apply(y,A.__spreadArray([void 0],e)))}t.DomElement=y,t.default=b},function(e,t,n){e.exports=n(181)},function(e,t,n){"use strict";var r=n(8),i=n(75).f,o=n(101),a=n(10),s=n(38),l=n(17),c=n(16),u=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,h,d,f,p,A,g,v,m=e.target,y=e.global,b=e.stat,_=e.proto,w=y?r:b?r[m]:(r[m]||{}).prototype,x=y?a:a[m]||(a[m]={}),C=x.prototype;for(d in t)n=!o(y?d:m+(b?".":"#")+d,e.forced)&&w&&c(w,d),p=x[d],n&&(A=e.noTargetGet?(v=i(w,d))&&v.value:w[d]),f=n&&A?A:t[d],n&&typeof p==typeof f||(g=e.bind&&n?s(f,r):e.wrap&&n?u(f):_&&"function"==typeof f?s(Function.call,f):f,(e.sham||f&&f.sham||p&&p.sham)&&l(g,"sham",!0),x[d]=g,_&&(c(a,h=m+"Prototype")||l(a,h,{}),a[h][d]=f,e.real&&C&&!C[d]&&l(C,d,f)))}},function(e,t,n){"use strict";var r=n(0),i=r(n(94)),o=r(n(1)),a=r(n(258)),s=r(n(44)),l=r(n(45)),c=r(n(91)),u=r(n(25));(0,o.default)(t,"__esModule",{value:!0}),t.hexToRgb=t.getRandomCode=t.toArray=t.deepClone=t.isFunction=t.debounce=t.throttle=t.arrForEach=t.forEach=t.replaceSpecialSymbol=t.replaceHtmlSymbol=t.getRandom=t.UA=void 0;var h=n(2),d=function(){function e(){this._ua=navigator.userAgent;var e=this._ua.match(/(Edge?)\/(\d+)/);this.isOldEdge=!!(e&&"Edge"==e[1]&&(0,a.default)(e[2])<19),this.isFirefox=!(!/Firefox\/\d+/.test(this._ua)||/Seamonkey\/\d+/.test(this._ua))}return e.prototype.isIE=function(){return"ActiveXObject"in window},e.prototype.isWebkit=function(){return/webkit/i.test(this._ua)},e}();t.UA=new d,t.getRandom=function(e){var t;return void 0===e&&(e=""),e+(0,s.default)(t=Math.random().toString()).call(t,2)},t.replaceHtmlSymbol=function(e){return e.replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,""").replace(/(\r\n|\r|\n)/g,"<br/>")},t.replaceSpecialSymbol=function(e){return e.replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,'"')},t.forEach=function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&!1===t(n,e[n]))break},t.arrForEach=function(e,t){var n,r,i=e.length||0;for(n=0;n<i&&(r=e[n],!1!==t.call(e,r,n));n++);},t.throttle=function(e,t){void 0===t&&(t=200);var n=!1;return function(){for(var r=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];n||(n=!0,(0,l.default)(function(){n=!1,e.call.apply(e,h.__spreadArray([r],i))},t))}},t.debounce=function(e,t){void 0===t&&(t=200);var n=0;return function(){for(var r=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];n&&window.clearTimeout(n),n=(0,l.default)(function(){n=0,e.call.apply(e,h.__spreadArray([r],i))},t)}},t.isFunction=function(e){return"function"==typeof e},t.deepClone=function e(t){if("object"!==(0,i.default)(t)||"function"==typeof t||null===t)return t;var n;for(var r in(0,c.default)(t)&&(n=[]),(0,c.default)(t)||(n={}),t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=e(t[r]));return n},t.toArray=function(e){return(0,s.default)(Array.prototype).call(e)},t.getRandomCode=function(){var e;return(0,s.default)(e=Math.random().toString(36)).call(e,-5)},t.hexToRgb=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);if(null==t)return null;var n=(0,u.default)(t).call(t,function(e){return(0,a.default)(e,16)});return"rgb("+n[1]+", "+n[2]+", "+n[3]+")"}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.EMPTY_P_REGEX=t.EMPTY_P_LAST_REGEX=t.EMPTY_P=t.urlRegex=t.EMPTY_FN=void 0,t.EMPTY_FN=function(){},t.urlRegex=/^(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-.,@?^=%&:/~+#]*[\w\-@?^=%&/~+#])?/,t.EMPTY_P='<p data-we-empty-p=""><br></p>',t.EMPTY_P_LAST_REGEX=/<p data-we-empty-p=""><br\/?><\/p>$/gim,t.EMPTY_P_REGEX=/<p data-we-empty-p="">/gim},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(144))},function(e,t,n){var r=n(8),i=n(79),o=n(16),a=n(61),s=n(84),l=n(106),c=i("wks"),u=r.Symbol,h=l?u:u&&u.withoutSetter||a;e.exports=function(e){return o(c,e)&&(s||"string"==typeof c[e])||(s&&o(u,e)?c[e]=u[e]:c[e]=h("Symbol."+e)),c[e]}},function(e,t){e.exports={}},function(e,t,n){var r=n(10),i=n(16),o=n(95),a=n(18).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(10);e.exports=function(e){return r[e+"Prototype"]}},function(e,t,n){var r=n(12);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(15),i=n(18),o=n(37);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(15),i=n(100),o=n(20),a=n(59),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=n(193)},function(e,t,n){var r=n(13);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],l=t.base?o[0]+t.base:o[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var h=s(u),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==h?(a[h].references++,a[h].updater(d)):a.push({identifier:u,updater:A(d,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach(function(e){t.setAttribute(e,r[e])}),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,h=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=h(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}var f=null,p=0;function A(e,t){var n,r,i;if(t.singleton){var o=p++;n=f||(f=c(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=c(t),r=function(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=s(n[r]);a[i].references--}for(var o=l(e,t),c=0;c<n.length;c++){var u=s(n[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=o}}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),o=r.sources.map(function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")});return[n].concat(o).concat([i]).join("\n")}var a,s,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n}).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=function(e){function t(t,n){return e.call(this,t,n)||this}return r.__extends(t,e),t}(r.__importDefault(n(96)).default);t.default=i},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(45));(0,i.default)(t,"__esModule",{value:!0});var s=n(2),l=s.__importDefault(n(3)),c=s.__importDefault(n(96)),u=s.__importDefault(n(132)),h=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;r.title=n.i18next.t("menus.dropListMenu."+r.title);var s,c="zh-CN"===n.config.lang?"":"w-e-drop-list-tl";""!==c&&"list"===r.type&&(0,o.default)(s=r.list).call(s,function(e){var t=e.$elem,n=l.default(t.children());if(n.length>0){var r=null===n||void 0===n?void 0:n.getNodeName();r&&"I"===r&&t.addClass(c)}});var h=new u.default(i,r);return i.dropList=h,t.on("click",function(){var e;null!=n.selection.getRange()&&(t.css("z-index",n.zIndex.get("menu")),(0,o.default)(e=n.txt.eventHooks.dropListMenuHoverEvents).call(e,function(e){return e()}),h.show())}).on("mouseleave",function(){t.css("z-index","auto"),h.hideTimeoutId=(0,a.default)(function(){h.hide()})}),i}return s.__extends(t,e),t}(c.default);t.default=h},function(e,t,n){e.exports=n(189)},function(e,t,n){e.exports=n(202)},function(e,t,n){var r=n(76),i=n(48);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(10),i=n(8),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t,n){var r=n(38),i=n(76),o=n(33),a=n(34),s=n(90),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,h=6==e,d=7==e,f=5==e||h;return function(p,A,g,v){for(var m,y,b=o(p),_=i(b),w=r(A,g,3),x=a(_.length),C=0,S=v||s,B=t?S(p,x):n||d?S(p,0):void 0;x>C;C++)if((f||C in _)&&(y=w(m=_[C],C,b),e))if(t)B[C]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return C;case 2:l.call(B,m)}else switch(e){case 4:return!1;case 7:l.call(B,m)}return h?-1:c||u?u:B}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},function(e,t,n){e.exports=n(287)},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(30)),s=r(n(129));(0,i.default)(t,"__esModule",{value:!0});var l=n(2),c=l.__importDefault(n(3)),u=n(7),h=function(){function e(t,n){this.menu=t,this.conf=n,this.$container=c.default('<div class="w-e-panel-container"></div>');var r=t.editor;r.txt.eventHooks.clickEvents.push(e.hideCurAllPanels),r.txt.eventHooks.toolbarClickEvents.push(e.hideCurAllPanels),r.txt.eventHooks.dropListMenuHoverEvents.push(e.hideCurAllPanels)}return e.prototype.create=function(){var t=this,n=this.menu;if(!e.createdMenus.has(n)){var r=this.conf,i=this.$container,s=r.width||300,h=n.editor.$toolbarElem.getBoundingClientRect(),d=n.$elem.getBoundingClientRect(),f=h.height+h.top-d.top,p=(h.width-s)/2+h.left-d.left;i.css("width",s+"px").css("margin-top",f+"px").css("margin-left",p+"px").css("z-index",n.editor.zIndex.get("panel"));var A=c.default('<i class="w-e-icon-close w-e-panel-close"></i>');i.append(A),A.on("click",function(){t.remove()});var g=c.default('<ul class="w-e-panel-tab-title"></ul>'),v=c.default('<div class="w-e-panel-tab-content"></div>');i.append(g).append(v);var m=r.height;m&&v.css("height",m+"px").css("overflow-y","auto");var y=r.tabs||[],b=[],_=[];(0,o.default)(y).call(y,function(e,t){if(e){var n=e.title||"",r=e.tpl||"",i=c.default('<li class="w-e-item">'+n+"</li>");g.append(i);var a=c.default(r);v.append(a),b.push(i),_.push(a),0===t?(i.data("active",!0),i.addClass("w-e-active")):a.hide(),i.on("click",function(){i.data("active")||((0,o.default)(b).call(b,function(e){e.data("active",!1),e.removeClass("w-e-active")}),(0,o.default)(_).call(_,function(e){e.hide()}),i.data("active",!0),i.addClass("w-e-active"),a.show())})}}),i.on("click",function(e){e.stopPropagation()}),n.$elem.append(i),(0,o.default)(y).call(y,function(e,n){if(e){var r=e.events||[];(0,o.default)(r).call(r,function(e){var r=e.selector,i=e.type,o=e.fn||u.EMPTY_FN,s=_[n];(0,a.default)(s).call(s,r).on(i,function(e){return l.__awaiter(t,void 0,void 0,function(){return l.__generator(this,function(t){switch(t.label){case 0:return e.stopPropagation(),[4,o(e)];case 1:return t.sent()&&this.remove(),[2]}})})})})}});var w=(0,a.default)(i).call(i,"input[type=text],textarea");w.length&&w.get(0).focus(),e.hideCurAllPanels(),n.setPanel(this),e.createdMenus.add(n)}},e.prototype.remove=function(){var t=this.menu,n=this.$container;n&&n.remove(),e.createdMenus.delete(t)},e.hideCurAllPanels=function(){var t;0!==e.createdMenus.size&&(0,o.default)(t=e.createdMenus).call(t,function(e){var t=e.panel;t&&t.remove()})},e.createdMenus=new s.default,e}();t.default=h},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(48);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(64),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=function(e){function t(t,n){return e.call(this,t,n)||this}return r.__extends(t,e),t.prototype.setPanel=function(e){this.panel=e},t}(r.__importDefault(n(96)).default);t.default=i},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(56));(0,i.default)(t,"__esModule",{value:!0});var s=n(2).__importDefault(n(3)),l=function(){function e(e,t,n){this.editor=e,this.$targetElem=t,this.conf=n,this._show=!1,this._isInsertTextContainer=!1;var r=s.default("<div></div>");r.addClass("w-e-tooltip"),this.$container=r}return e.prototype.getPositionData=function(){var e=this.$container,t=0,n=0,r=document.documentElement.scrollTop,i=this.$targetElem.getBoundingClientRect(),o=this.editor.$textElem.getBoundingClientRect(),a=this.$targetElem.getOffsetData(),l=s.default(a.parent),c=this.editor.$textElem.elems[0].scrollTop;if(this._isInsertTextContainer=l.equal(this.editor.$textContainerElem),this._isInsertTextContainer){var u=l.getBoundingClientRect().height,h=a.top,d=a.left,f=a.height,p=h-c;p>25?(t=p-20-15,e.addClass("w-e-tooltip-up")):p+f+20<u?(t=p+f+10,e.addClass("w-e-tooltip-down")):(t=(p>0?p:0)+20+10,e.addClass("w-e-tooltip-down")),n=d<0?0:d}else i.top<20?(t=i.bottom+r+5,e.addClass("w-e-tooltip-down")):i.top-o.top<20?(t=i.bottom+r+5,e.addClass("w-e-tooltip-down")):(t=i.top+r-20-15,e.addClass("w-e-tooltip-up")),n=i.left<0?0:i.left;return{top:t,left:n}},e.prototype.appendMenus=function(){var e=this,t=this.conf,n=this.editor,r=this.$targetElem,i=this.$container;(0,o.default)(t).call(t,function(t,o){var a=t.$elem,l=s.default("<div></div>");l.addClass("w-e-tooltip-item-wrapper "),l.append(a),i.append(l),a.on("click",function(i){i.preventDefault(),t.onClick(n,r)&&e.remove()})})},e.prototype.create=function(){var e,t,n=this.editor,r=this.$container;this.appendMenus();var i=this.getPositionData(),o=i.top,l=i.left;r.css("top",o+"px"),r.css("left",l+"px"),r.css("z-index",n.zIndex.get("tooltip")),this._isInsertTextContainer?this.editor.$textContainerElem.append(r):s.default("body").append(r),this._show=!0,n.beforeDestroy((0,a.default)(e=this.remove).call(e,this)),n.txt.eventHooks.onBlurEvents.push((0,a.default)(t=this.remove).call(t,this))},e.prototype.remove=function(){this.$container.remove(),this._show=!1},(0,i.default)(e.prototype,"isShow",{get:function(){return this._show},enumerable:!1,configurable:!0}),e}();t.default=l},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(32);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=!0},function(e,t,n){var r=n(20),i=n(105),o=n(34),a=n(38),s=n(107),l=n(108),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var u,h,d,f,p,A,g,v=n&&n.that,m=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),_=a(t,v,1+m+b),w=function(e){return u&&l(u),new c(!0,e)},x=function(e){return m?(r(e),b?_(e[0],e[1],w):_(e[0],e[1])):b?_(e,w):_(e)};if(y)u=e;else{if("function"!=typeof(h=s(e)))throw TypeError("Target is not iterable");if(i(h)){for(d=0,f=o(e.length);f>d;d++)if((p=x(e[d]))&&p instanceof c)return p;return new c(!1)}u=h.call(e)}for(A=u.next;!(g=A.call(u)).done;){try{p=x(g.value)}catch(e){throw l(u),e}if("object"==typeof p&&p&&p instanceof c)return p}return new c(!1)}},function(e,t){e.exports={}},function(e,t,n){var r=n(85),i=n(18).f,o=n(17),a=n(16),s=n(169),l=n(9)("toStringTag");e.exports=function(e,t,n,c){if(e){var u=n?e:e.prototype;a(u,l)||i(u,l,{configurable:!0,value:t}),c&&!r&&o(u,"toString",s)}}},function(e,t,n){var r,i,o,a=n(173),s=n(8),l=n(13),c=n(17),u=n(16),h=n(80),d=n(60),f=n(49),p=s.WeakMap;if(a){var A=h.state||(h.state=new p),g=A.get,v=A.has,m=A.set;r=function(e,t){return t.facade=e,m.call(A,e,t),t},i=function(e){return g.call(A,e)||{}},o=function(e){return v.call(A,e)}}else{var y=d("state");f[y]=!0,r=function(e,t){return t.facade=e,c(e,y,t),t},i=function(e){return u(e,y)?e[y]:{}},o=function(e){return u(e,y)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){e.exports=n(263)},function(e,t,n){e.exports=n(267)},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0}),t.createElementFragment=t.createDocumentFragment=t.createElement=t.insertBefore=t.getEndPoint=t.getStartPoint=t.updateRange=t.filterSelectionNodes=void 0;var a=n(2),s=n(136),l=a.__importDefault(n(3));function c(e){return document.createElement(e)}t.filterSelectionNodes=function(e){var t=[];return(0,o.default)(e).call(e,function(e){var n=e.getNodeName();if(n!==s.ListType.OrderedList&&n!==s.ListType.UnorderedList)t.push(e);else if(e.prior)t.push(e.prior);else{var r=e.children();null===r||void 0===r||(0,o.default)(r).call(r,function(e){t.push(l.default(e))})}}),t},t.updateRange=function(e,t,n){var r=e.selection,i=document.createRange();t.length>1?(i.setStart(t.elems[0],0),i.setEnd(t.elems[t.length-1],t.elems[t.length-1].childNodes.length)):i.selectNodeContents(t.elems[0]),n&&i.collapse(!1),r.saveRange(i),r.restoreSelection()},t.getStartPoint=function(e){var t;return e.prior?e.prior:l.default(null===(t=e.children())||void 0===t?void 0:t.elems[0])},t.getEndPoint=function(e){var t;return e.prior?e.prior:l.default(null===(t=e.children())||void 0===t?void 0:t.last().elems[0])},t.insertBefore=function(e,t,n){void 0===n&&(n=null),e.parent().elems[0].insertBefore(t,n)},t.createElement=c,t.createDocumentFragment=function(){return document.createDocumentFragment()},t.createElementFragment=function(e,t,n){return void 0===n&&(n="li"),(0,o.default)(e).call(e,function(e){var r=c(n);r.innerHTML=e.html(),t.append(r),e.remove()}),t}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports={}},function(e,t,n){var r=n(17);e.exports=function(e,t,n,i){i&&i.enumerable?e[t]=n:r(e,t,n)}},function(e,t,n){"use strict";var r=n(177).charAt,i=n(43),o=n(88),a=i.set,s=i.getterFor("String Iterator");o(String,"String",function(e){a(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=s(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})})},function(e,t,n){n(179);var r=n(180),i=n(8),o=n(68),a=n(17),s=n(41),l=n(9)("toStringTag");for(var c in r){var u=i[c],h=u&&u.prototype;h&&o(h)!==l&&a(h,l,c),s[c]=s.Array}},function(e,t,n){var r=n(47);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(12),i=n(9),o=n(66),a=i("species");e.exports=function(e){return o>=51||!r(function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},function(e,t,n){e.exports=n(214)},function(e,t,n){e.exports=n(223)},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.ListHandle=void 0;var r=n(2).__importDefault(n(372)),i=function(){return function(e){this.options=e,this.selectionRangeElem=new r.default}}();t.ListHandle=i},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(13);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(79),i=n(61),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r,i=n(20),o=n(167),a=n(83),s=n(49),l=n(104),c=n(77),u=n(60)("IE_PROTO"),h=function(){},d=function(e){return"<script>"+e+"<\/script>"},f=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;f=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete f.prototype[a[n]];return f()};s[u]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h.prototype=i(e),n=new h,h.prototype=null,n[u]=e):n=f(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(103),i=n(83);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(47),i=n(8);e.exports="process"==r(i.process)},function(e,t,n){var r,i,o=n(8),a=n(67),s=o.process,l=s&&s.versions,c=l&&l.v8;c?i=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),e.exports=i&&+i},function(e,t,n){var r=n(28);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(85),i=n(47),o=n(9)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t){},function(e,t,n){"use strict";var r=n(32);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}(e)}},function(e,t,n){"use strict";var r=n(12);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){"use strict";var r=n(59),i=n(18),o=n(37);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){e.exports=n(210)},function(e,t,n){var r=n(15),i=n(58),o=n(37),a=n(27),s=n(59),l=n(16),c=n(100),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,n){var r=n(12),i=n(47),o="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(8),i=n(13),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(16),i=n(33),o=n(60),a=n(165),s=o("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){var r=n(39),i=n(80);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.10.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(8),i=n(164),o=r["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t,n){var r=n(27),i=n(34),o=n(82),a=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(64),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var r=n(65),i=n(66),o=n(12);e.exports=!!Object.getOwnPropertySymbols&&!o(function(){return!Symbol.sham&&(r?38===i:i>37&&i<41)})},function(e,t,n){var r={};r[n(9)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(5),i=n(178),o=n(78),a=n(102),s=n(42),l=n(17),c=n(50),u=n(9),h=n(39),d=n(41),f=n(118),p=f.IteratorPrototype,A=f.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v=function(){return this};e.exports=function(e,t,n,u,f,m,y){i(n,t,u);var b,_,w,x=function(e){if(e===f&&T)return T;if(!A&&e in B)return B[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},C=t+" Iterator",S=!1,B=e.prototype,k=B[g]||B["@@iterator"]||f&&B[f],T=!A&&k||x(f),E="Array"==t&&B.entries||k;if(E&&(b=o(E.call(new e)),p!==Object.prototype&&b.next&&(h||o(b)===p||(a?a(b,p):"function"!=typeof b[g]&&l(b,g,v)),s(b,C,!0,!0),h&&(d[C]=v))),"values"==f&&k&&"values"!==k.name&&(S=!0,T=function(){return k.call(this)}),h&&!y||B[g]===T||l(B,g,T),d[t]=T,f)if(_={values:x("values"),keys:m?T:x("keys"),entries:x("entries")},y)for(w in _)!A&&!S&&w in B||c(B,w,_[w]);else r({target:t,proto:!0,forced:A||S},_);return _}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(13),i=n(53),o=n(9)("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){e.exports=n(186)},function(e,t,n){var r=n(48),i="["+n(72)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(o,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},function(e,t,n){e.exports=n(206)},function(e,t,n){var r=n(228),i=n(255);function o(t){"@babel/helpers - typeof";return"function"==typeof r&&"symbol"==typeof i?(e.exports=o=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=o=function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(9);t.f=r},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2).__importDefault(n(31)),s=function(){function e(e,t){var n=this;this.$elem=e,this.editor=t,this._active=!1,e.on("click",function(e){var r;a.default.hideCurAllPanels(),(0,o.default)(r=t.txt.eventHooks.menuClickEvents).call(r,function(e){return e()}),e.stopPropagation(),null!=t.selection.getRange()&&n.clickHandler(e)})}return e.prototype.clickHandler=function(e){},e.prototype.active=function(){this._active=!0,this.$elem.addClass("w-e-active")},e.prototype.unActive=function(){this._active=!1,this.$elem.removeClass("w-e-active")},(0,i.default)(e.prototype,"isActive",{get:function(){return this._active},enumerable:!1,configurable:!0}),e}();t.default=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(56)),a=r(n(4)),s=r(n(26));(0,i.default)(t,"__esModule",{value:!0});var l=n(2),c=n(6),u=l.__importDefault(n(134)),h=l.__importDefault(n(135)),d=function(){function e(e){this.editor=e}return e.prototype.insertImg=function(e,t,n){var r=this.editor,i=r.config,o=function(e,t){return void 0===t&&(t="validate."),r.i18next.t(t+e)},a=t?'alt="'+t+'" ':"",s=n?'data-href="'+encodeURIComponent(n)+'" ':"";r.cmd.do("insertHTML",'<img src="'+e+'" '+a+s+'style="max-width:100%;"/>'),i.linkImgCallback(e,t,n);var l=document.createElement("img");l.onload=function(){l=null},l.onerror=function(){i.customAlert(o("插入图片错误"),"error","wangEditor: "+o("插入图片错误")+","+o("图片链接")+' "'+e+'",'+o("下载链接失败")),l=null},l.onabort=function(){return l=null},l.src=e},e.prototype.uploadImg=function(e){var t=this;if(e.length){var n=this.editor,r=n.config,i=function(e){return n.i18next.t("validate."+e)},l=r.uploadImgServer,d=r.uploadImgShowBase64,f=r.uploadImgMaxSize,p=f/1024/1024,A=r.uploadImgMaxLength,g=r.uploadFileName,v=r.uploadImgParams,m=r.uploadImgParamsWithUrl,y=r.uploadImgHeaders,b=r.uploadImgHooks,_=r.uploadImgTimeout,w=r.withCredentials,x=r.customUploadImg;if(x||l||d){var C=[],S=[];if(c.arrForEach(e,function(e){var t=e.name,r=e.size;if(t&&r){var o=n.config.uploadImgAccept.join("|");!1!==new RegExp(".("+o+")$","i").test(t)?f<r?S.push("【"+t+"】"+i("大于")+" "+p+"M"):C.push(e):S.push("【"+t+"】"+i("不是图片"))}}),S.length)r.customAlert(i("图片验证未通过")+": \n"+S.join("\n"),"warning");else if(0!==C.length)if(C.length>A)r.customAlert(i("一次最多上传")+A+i("张图片"),"warning");else if(x&&"function"==typeof x){var B;x(C,(0,o.default)(B=this.insertImg).call(B,this))}else{var k=new FormData;if((0,a.default)(C).call(C,function(e,t){var n=g||e.name;C.length>1&&(n+=t+1),k.append(n,e)}),l){var T=l.split("#");l=T[0];var E=T[1]||"";(0,a.default)(c).call(c,v,function(e,t){m&&((0,s.default)(l).call(l,"?")>0?l+="&":l+="?",l=l+e+"="+t),k.append(e,t)}),E&&(l+="#"+E);var M=u.default(l,{timeout:_,formData:k,headers:y,withCredentials:!!w,beforeSend:function(e){if(b.before)return b.before(e,n,C)},onTimeout:function(e){r.customAlert(i("上传图片超时"),"error"),b.timeout&&b.timeout(e,n)},onProgress:function(e,t){var r=new h.default(n);t.lengthComputable&&(e=t.loaded/t.total,r.show(e))},onError:function(e){r.customAlert(i("上传图片错误"),"error",i("上传图片错误")+","+i("服务器返回状态")+": "+e.status),b.error&&b.error(e,n)},onFail:function(e,t){r.customAlert(i("上传图片失败"),"error",i("上传图片返回结果错误")+","+i("返回结果")+": "+t),b.fail&&b.fail(e,n,t)},onSuccess:function(e,s){if(b.customInsert){var l;b.customInsert((0,o.default)(l=t.insertImg).call(l,t),s,n)}else{if("0"!=s.errno)return r.customAlert(i("上传图片失败"),"error",i("上传图片返回结果错误")+","+i("返回结果")+" errno="+s.errno),void(b.fail&&b.fail(e,n,s));var c=s.data;(0,a.default)(c).call(c,function(e){"string"==typeof e?t.insertImg(e):t.insertImg(e.url,e.alt,e.href)}),b.success&&b.success(e,n,s)}}});"string"==typeof M&&r.customAlert(M,"error")}else d&&c.arrForEach(e,function(e){var n=t,r=new FileReader;r.readAsDataURL(e),r.onload=function(){if(this.result){var e=this.result.toString();n.insertImg(e,e)}}})}else r.customAlert(i("传入的文件不合法"),"warning")}}},e}();t.default=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(410)),a=r(n(4)),s=r(n(44));function l(e){return!!e.length&&"w-e-todo"===e.attr("class")}function c(e,t){return 3===e.nodeType?e.nodeValue===t.nodeValue:e.contains(t)}function u(e,t,n){void 0===n&&(n=!0);var r=e.nodeValue,i=null===r||void 0===r?void 0:(0,s.default)(r).call(r,0,t);if(r=null===r||void 0===r?void 0:(0,s.default)(r).call(r,t),!n){var o=r;r=i,i=o}return e.nodeValue=i,r}(0,i.default)(t,"__esModule",{value:!0}),t.dealTextNode=t.isAllTodo=t.isTodo=t.getCursorNextNode=void 0,t.isTodo=l,t.isAllTodo=function(e){var t=e.selection.getSelectionRangeTopNodes();if(0!==t.length)return(0,o.default)(t).call(t,function(e){return l(e)})},t.getCursorNextNode=function e(t,n,r){var i;if(t.hasChildNodes()){var o=t.cloneNode(),s=!1;""===n.nodeValue&&(s=!0);var l=[];return(0,a.default)(i=t.childNodes).call(i,function(t){if(!c(t,n)&&s&&(o.appendChild(t.cloneNode(!0)),"BR"!==t.nodeName&&l.push(t)),c(t,n)){if(1===t.nodeType){var i=e(t,n,r);i&&""!==i.textContent&&(null===o||void 0===o||o.appendChild(i))}if(3===t.nodeType&&n.isEqualNode(t)){var a=u(t,r);o.textContent=a}s=!0}}),(0,a.default)(l).call(l,function(e){e.remove()}),o}},t.dealTextNode=u},function(e,t,n){"use strict";var r=n(0)(n(1));(0,r.default)(t,"__esModule",{value:!0});var i=n(430),o=function(){function e(e){this.maxSize=e,this.isRe=!1,this.data=new i.CeilStack(e),this.revokeData=new i.CeilStack(e)}return(0,r.default)(e.prototype,"size",{get:function(){return[this.data.size,this.revokeData.size]},enumerable:!1,configurable:!0}),e.prototype.resetMaxSize=function(e){this.data.resetMax(e),this.revokeData.resetMax(e)},e.prototype.save=function(e){return this.isRe&&(this.revokeData.clear(),this.isRe=!1),this.data.instack(e),this},e.prototype.revoke=function(e){!this.isRe&&(this.isRe=!0);var t=this.data.outstack();return!!t&&(this.revokeData.instack(t),e(t),!0)},e.prototype.restore=function(e){!this.isRe&&(this.isRe=!0);var t=this.revokeData.outstack();return!!t&&(this.data.instack(t),e(t),!0)},e}();t.default=o},function(e,t,n){var r=n(15),i=n(12),o=n(77);e.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(12),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},function(e,t,n){var r=n(20),i=n(166);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},function(e,t,n){var r=n(16),i=n(27),o=n(81).indexOf,a=n(49);e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var r=n(28);e.exports=r("document","documentElement")},function(e,t,n){var r=n(9),i=n(41),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){var r=n(84);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(68),i=n(41),o=n(9)("iterator");e.exports=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(20);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},function(e,t,n){var r=n(8);e.exports=r.Promise},function(e,t,n){var r=n(50);e.exports=function(e,t,n){for(var i in t)n&&n.unsafe&&e[i]?e[i]=t[i]:r(e,i,t[i],n);return e}},function(e,t,n){"use strict";var r=n(28),i=n(18),o=n(9),a=n(15),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(80),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(9)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},function(e,t,n){var r=n(20),i=n(32),o=n(9)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},function(e,t,n){var r,i,o,a=n(8),s=n(12),l=n(38),c=n(104),u=n(77),h=n(116),d=n(65),f=a.location,p=a.setImmediate,A=a.clearImmediate,g=a.process,v=a.MessageChannel,m=a.Dispatch,y=0,b={},_=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},w=function(e){return function(){_(e)}},x=function(e){_(e.data)},C=function(e){a.postMessage(e+"",f.protocol+"//"+f.host)};p&&A||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(y),y},A=function(e){delete b[e]},d?r=function(e){g.nextTick(w(e))}:m&&m.now?r=function(e){m.now(w(e))}:v&&!h?(o=(i=new v).port2,i.port1.onmessage=x,r=l(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&f&&"file:"!==f.protocol&&!s(C)?(r=C,a.addEventListener("message",x,!1)):r="onreadystatechange"in u("script")?function(e){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),_(e)}}:function(e){setTimeout(w(e),0)}),e.exports={set:p,clear:A}},function(e,t,n){var r=n(67);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(20),i=n(13),o=n(70);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r,i,o,a=n(12),s=n(78),l=n(17),c=n(16),u=n(9),h=n(39),d=u("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(i=s(s(o)))!==Object.prototype&&(r=i):f=!0);var p=void 0==r||a(function(){var e={};return r[d].call(e)!==e});p&&(r={}),h&&!p||c(r,d)||l(r,d,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(3)),l=n(6),c=a.__importDefault(n(269)),u=a.__importDefault(n(284)),h=a.__importDefault(n(285)),d=a.__importDefault(n(286)),f=a.__importDefault(n(305)),p=a.__importDefault(n(416)),A=a.__importDefault(n(417)),g=a.__importDefault(n(418)),v=a.__importDefault(n(419)),m=a.__importStar(n(420)),y=a.__importDefault(n(423)),b=a.__importDefault(n(424)),_=a.__importDefault(n(425)),w=a.__importDefault(n(427)),x=a.__importDefault(n(437)),C=a.__importDefault(n(23)),S=a.__importDefault(n(132)),B=a.__importDefault(n(24)),k=a.__importDefault(n(31)),T=a.__importDefault(n(35)),E=a.__importDefault(n(36)),M=1,D=function(){function e(e,t){if(this.beforeDestroyHooks=[],this.id="wangEditor-"+M++,this.toolbarSelector=e,this.textSelector=t,null==e)throw new Error("错误:初始化编辑器时候未传入任何参数,请查阅文档");this.config=l.deepClone(c.default),this.$toolbarElem=s.default("<div></div>"),this.$textContainerElem=s.default("<div></div>"),this.$textElem=s.default("<div></div>"),this.toolbarElemId="",this.textElemId="",this.isFocus=!1,this.isComposing=!1,this.isCompatibleMode=!1,this.selection=new u.default(this),this.cmd=new h.default(this),this.txt=new d.default(this),this.menus=new f.default(this),this.zIndex=new b.default,this.change=new _.default(this),this.history=new w.default(this);var n=x.default(this),r=n.disable,i=n.enable;this.disable=r,this.enable=i}return e.prototype.initSelection=function(e){A.default(this,e)},e.prototype.create=function(){this.zIndex.init(this),this.isCompatibleMode=this.config.compatibleMode(),this.isCompatibleMode||(this.config.onchangeTimeout=30),v.default(this),p.default(this),this.txt.init(),this.menus.init(),m.default(this),this.initSelection(!0),g.default(this),this.change.observe(),this.history.observe()},e.prototype.beforeDestroy=function(e){return this.beforeDestroyHooks.push(e),this},e.prototype.destroy=function(){var e,t=this;(0,o.default)(e=this.beforeDestroyHooks).call(e,function(e){return e.call(t)}),this.$toolbarElem.remove(),this.$textContainerElem.remove()},e.prototype.fullScreen=function(){m.setFullScreen(this)},e.prototype.unFullScreen=function(){m.setUnFullScreen(this)},e.prototype.scrollToHead=function(e){y.default(this,e)},e.registerMenu=function(t,n){n&&"function"==typeof n&&(e.globalCustomMenuConstructorList[t]=n)},e.$=s.default,e.BtnMenu=C.default,e.DropList=S.default,e.DropListMenu=B.default,e.Panel=k.default,e.PanelMenu=T.default,e.Tooltip=E.default,e.globalCustomMenuConstructorList={},e}();t.default=D},function(e,t,n){e.exports=n(198)},function(e,t,n){"use strict";var r=n(5),i=n(8),o=n(122),a=n(12),s=n(17),l=n(40),c=n(86),u=n(13),h=n(42),d=n(18).f,f=n(29).forEach,p=n(15),A=n(43),g=A.set,v=A.getterFor;e.exports=function(e,t,n){var A,m=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),b=m?"set":"add",_=i[e],w=_&&_.prototype,x={};if(p&&"function"==typeof _&&(y||w.forEach&&!a(function(){(new _).entries().next()}))){A=t(function(t,n){g(c(t,A,e),{type:e,collection:new _}),void 0!=n&&l(n,t[b],{that:t,AS_ENTRIES:m})});var C=v(e);f(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(e){var t="add"==e||"set"==e;e in w&&(!y||"clear"!=e)&&s(A.prototype,e,function(n,r){var i=C(this).collection;if(!t&&y&&!u(n))return"get"==e&&void 0;var o=i[e](0===n?0:n,r);return t?this:o})}),y||d(A.prototype,"size",{configurable:!0,get:function(){return C(this).collection.size}})}else A=n.getConstructor(t,e,m,b),o.REQUIRED=!0;return h(A,e,!1,!0),x[e]=A,r({global:!0,forced:!0},x),y||n.setStrong(A,e,m),A}},function(e,t,n){var r=n(49),i=n(13),o=n(16),a=n(18).f,s=n(61),l=n(201),c=s("meta"),u=0,h=Object.isExtensible||function(){return!0},d=function(e){a(e,c,{value:{objectID:"O"+ ++u,weakData:{}}})},f=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,c)){if(!h(e))return"F";if(!t)return"E";d(e)}return e[c].objectID},getWeakData:function(e,t){if(!o(e,c)){if(!h(e))return!0;if(!t)return!1;d(e)}return e[c].weakData},onFreeze:function(e){return l&&f.REQUIRED&&h(e)&&!o(e,c)&&d(e),e}};r[c]=!0},function(e,t,n){"use strict";var r=n(18).f,i=n(62),o=n(110),a=n(38),s=n(86),l=n(40),c=n(88),u=n(111),h=n(15),d=n(122).fastKey,f=n(43),p=f.set,A=f.getterFor;e.exports={getConstructor:function(e,t,n,c){var u=e(function(e,r){s(e,u,t),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),h||(e.size=0),void 0!=r&&l(r,e[c],{that:e,AS_ENTRIES:n})}),f=A(t),g=function(e,t,n){var r,i,o=f(e),a=v(e,t);return a?a.value=n:(o.last=a={index:i=d(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),h?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},v=function(e,t){var n,r=f(e),i=d(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(u.prototype,{clear:function(){for(var e=f(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,h?e.size=0:this.size=0},delete:function(e){var t=f(this),n=v(this,e);if(n){var r=n.next,i=n.previous;delete t.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),t.first==n&&(t.first=r),t.last==n&&(t.last=i),h?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=f(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!v(this,e)}}),o(u.prototype,n?{get:function(e){var t=v(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),h&&r(u.prototype,"size",{get:function(){return f(this).size}}),u},setStrong:function(e,t,n){var r=t+" Iterator",i=A(t),o=A(r);c(e,t,function(e,t){p(this,{type:r,target:e,state:i(e),kind:t,last:void 0})},function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),u(t)}}},function(e,t,n){var r=n(103),i=n(83).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){n(11)("iterator")},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default={zIndex:1e4}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0}),t.getPasteImgs=t.getPasteHtml=t.getPasteText=void 0;var a=n(2),s=n(6),l=a.__importDefault(n(296));function c(e){var t=e.clipboardData,n="";return n=null==t?window.clipboardData&&window.clipboardData.getData("text"):t.getData("text/plain"),s.replaceHtmlSymbol(n)}t.getPasteText=c,t.getPasteHtml=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var r=e.clipboardData,i="";if(r&&(i=r.getData("text/html")),!i){var o=c(e);if(!o)return"";i="<p>"+o+"</p>"}return i=l.default(i,t,n)},t.getPasteImgs=function(e){var t,n=[];if(c(e))return n;var r=null===(t=e.clipboardData)||void 0===t?void 0:t.items;return r?((0,o.default)(s).call(s,r,function(e,t){var r=t.type;/image/i.test(r)&&n.push(t.getAsFile())}),n):n}},function(e,t,n){e.exports=n(298)},function(e,t,n){e.exports=n(306)},function(e,t,n){e.exports=n(310)},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(45));(0,i.default)(t,"__esModule",{value:!0});var s=n(2).__importDefault(n(3)),l=n(7),c=function(){function e(e,t){var n=this;this.hideTimeoutId=0,this.menu=e,this.conf=t;var r=s.default('<div class="w-e-droplist"></div>'),i=s.default("<p>"+t.title+"</p>");i.addClass("w-e-dp-title"),r.append(i);var c=t.list||[],u=t.type||"list",h=t.clickHandler||l.EMPTY_FN,d=s.default('<ul class="'+("list"===u?"w-e-list":"w-e-block")+'"></ul>');(0,o.default)(c).call(c,function(e){var t=e.$elem,r=e.value,i=s.default('<li class="w-e-item"></li>');t&&(i.append(t),d.append(i),i.on("click",function(e){h(r),e.stopPropagation(),n.hideTimeoutId=(0,a.default)(function(){n.hide()})}))}),r.append(d),r.on("mouseleave",function(){n.hideTimeoutId=(0,a.default)(function(){n.hide()})}),this.$container=r,this.rendered=!1,this._show=!1}return e.prototype.show=function(){this.hideTimeoutId&&clearTimeout(this.hideTimeoutId);var e=this.menu.$elem,t=this.$container;if(!this._show){if(this.rendered)t.show();else{var n=e.getBoundingClientRect().height||0,r=this.conf.width||100;t.css("margin-top",n+"px").css("width",r+"px"),e.append(t),this.rendered=!0}this._show=!0}},e.prototype.hide=function(){var e=this.$container;this._show&&(e.hide(),this._show=!1)},(0,i.default)(e.prototype,"isShow",{get:function(){return this._show},enumerable:!1,configurable:!0}),e}();t.default=c},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default=function(e){var t=e.selection.getSelectionContainerElem();return!(null===t||void 0===t||!t.length)&&"A"===t.getNodeName()}},function(e,t,n){"use strict";var r=n(0),i=r(n(94)),o=r(n(1)),a=r(n(4));(0,o.default)(t,"__esModule",{value:!0});var s=n(6);t.default=function(e,t){var n=new XMLHttpRequest;if(n.open("POST",e),n.timeout=t.timeout||1e4,n.ontimeout=function(){console.error("wangEditor - 请求超时"),t.onTimeout&&t.onTimeout(n)},n.upload&&(n.upload.onprogress=function(e){var n=e.loaded/e.total;t.onProgress&&t.onProgress(n,e)}),t.headers&&(0,a.default)(s).call(s,t.headers,function(e,t){n.setRequestHeader(e,t)}),n.withCredentials=!!t.withCredentials,t.beforeSend){var r=t.beforeSend(n);if(r&&"object"===(0,i.default)(r)&&r.prevent)return r.msg}return n.onreadystatechange=function(){if(4===n.readyState){var e=n.status;if(!(e<200||e>=300&&e<400)){if(e>=400)return console.error("wangEditor - XHR 报错,状态码 "+e),void(t.onError&&t.onError(n));var r,o=n.responseText;if("object"!==(0,i.default)(o))try{r=JSON.parse(o)}catch(e){return console.error("wangEditor - 返回结果不是 JSON 格式",o),void(t.onFail&&t.onFail(n,o))}else r=o;t.onSuccess(n,r)}}},n.send(t.formData||null),n}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(342)),a=r(n(45));(0,i.default)(t,"__esModule",{value:!0});var s=n(2).__importDefault(n(3)),l=function(){function e(e){this.editor=e,this.$textContainer=e.$textContainerElem,this.$bar=s.default('<div class="w-e-progress"></div>'),this.isShow=!1,this.time=0,this.timeoutId=0}return e.prototype.show=function(e){var t=this;if(!this.isShow){this.isShow=!0;var n=this.$bar;this.$textContainer.append(n),(0,o.default)()-this.time>100&&e<=1&&(n.css("width",100*e+"%"),this.time=(0,o.default)());var r=this.timeoutId;r&&clearTimeout(r),this.timeoutId=(0,a.default)(function(){t.hide()},500)}},e.prototype.hide=function(){this.$bar.remove(),this.isShow=!1,this.time=0,this.timeoutId=0},e}();t.default=l},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.ListType=void 0;var r,i=n(2),o=i.__importDefault(n(3)),a=i.__importDefault(n(24)),s=n(46),l=i.__importStar(n(370));!function(e){e.OrderedList="OL",e.UnorderedList="UL"}(r=t.ListType||(t.ListType={}));var c=function(e){function t(t){var n=this,i=o.default('<div class="w-e-menu" data-title="序列">\n <i class="w-e-icon-list2"></i>\n </div>'),a={width:130,title:"序列",type:"list",list:[{$elem:o.default('\n <p>\n <i class="w-e-icon-list2 w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.list.无序列表")+"\n <p>"),value:r.UnorderedList},{$elem:o.default('<p>\n <i class="w-e-icon-list-numbered w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.list.有序列表")+"\n <p>"),value:r.OrderedList}],clickHandler:function(e){n.command(e)}};return n=e.call(this,i,t,a)||this}return i.__extends(t,e),t.prototype.command=function(e){void 0!==this.editor.selection.getSelectionContainerElem()&&(this.handleSelectionRangeNodes(e),this.tryChangeActive())},t.prototype.validator=function(e,t,n){return!(!e.length||!t.length||n.equal(e)||n.equal(t))},t.prototype.handleSelectionRangeNodes=function(e){var t=this.editor,n=t.selection,r=e.toLowerCase(),i=n.getSelectionContainerElem(),o=n.getSelectionStartElem().getNodeTop(t),a=n.getSelectionEndElem().getNodeTop(t);if(this.validator(o,a,t.$textElem)){var c=n.getRange(),u=null===c||void 0===c?void 0:c.collapsed;t.$textElem.equal(i)||(i=i.getNodeTop(t));var h,d={editor:t,listType:e,listTarget:r,$selectionElem:i,$startElem:o,$endElem:a};h=this.isOrderElem(i)?l.ClassType.Wrap:this.isOrderElem(o)&&this.isOrderElem(a)?l.ClassType.Join:this.isOrderElem(o)?l.ClassType.StartJoin:this.isOrderElem(a)?l.ClassType.EndJoin:l.ClassType.Other;var f=new l.default(l.createListHandle(h,d,c));s.updateRange(t,f.getSelectionRangeElem(),!!u)}},t.prototype.isOrderElem=function(e){var t=e.getNodeName();return t===r.OrderedList||t===r.UnorderedList},t.prototype.tryChangeActive=function(){},t}(a.default);t.default=c},function(e,t,n){e.exports=n(394)},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default=function(e){var t=e.selection.getSelectionContainerElem();return!(null===t||void 0===t||!t.length||"CODE"!=t.getNodeName()&&"PRE"!=t.getNodeName()&&"CODE"!=t.parent().getNodeName()&&"PRE"!=t.parent().getNodeName()&&!/hljs/.test(t.parent().attr("class")))}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(30));(0,i.default)(t,"__esModule",{value:!0}),t.todo=void 0;var a=n(2).__importDefault(n(3)),s=function(){function e(e){var t;this.template='<ul class="w-e-todo"><li><span contenteditable="false"><input type="checkbox"></span></li></ul>',this.checked=!1,this.$todo=a.default(this.template),this.$child=null===(t=null===e||void 0===e?void 0:e.childNodes())||void 0===t?void 0:t.clone(!0)}return e.prototype.init=function(){var e=this,t=this.getInput(),n=this.$child,r=this.getInputContainer();n&&n.insertAfter(r),t.on("click",function(){e.checked?null===t||void 0===t||t.removeAttr("checked"):null===t||void 0===t||t.attr("checked",""),e.checked=!e.checked})},e.prototype.getInput=function(){var e=this.$todo;return(0,o.default)(e).call(e,"input")},e.prototype.getInputContainer=function(){return this.getInput().parent()},e.prototype.getTodo=function(){return this.$todo},e}();t.todo=s,t.default=function(e){var t=new s(e);return t.init(),t}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2);n(145),n(147),n(151),n(153),n(155),n(157),n(159);var i=r.__importDefault(n(119));r.__exportStar(n(440),t);try{document}catch(e){throw new Error("请在浏览器环境下运行")}t.default=i.default},function(e,t,n){var r=n(142);e.exports=r},function(e,t,n){n(143);var r=n(10).Object,i=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(i.sham=!0)},function(e,t,n){var r=n(5),i=n(15);r({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:n(18).f})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(21),i=n(146);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){(t=n(22)(!1)).push([e.i,'.w-e-toolbar,\n.w-e-text-container,\n.w-e-menu-panel {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n background-color: #fff;\n /*表情菜单样式*/\n /*分割线样式*/\n}\n.w-e-toolbar h1,\n.w-e-text-container h1,\n.w-e-menu-panel h1 {\n font-size: 2em !important;\n}\n.w-e-toolbar h2,\n.w-e-text-container h2,\n.w-e-menu-panel h2 {\n font-size: 1.5em !important;\n}\n.w-e-toolbar h3,\n.w-e-text-container h3,\n.w-e-menu-panel h3 {\n font-size: 1.17em !important;\n}\n.w-e-toolbar h4,\n.w-e-text-container h4,\n.w-e-menu-panel h4 {\n font-size: 1em !important;\n}\n.w-e-toolbar h5,\n.w-e-text-container h5,\n.w-e-menu-panel h5 {\n font-size: 0.83em !important;\n}\n.w-e-toolbar p,\n.w-e-text-container p,\n.w-e-menu-panel p {\n font-size: 1em !important;\n}\n.w-e-toolbar .eleImg,\n.w-e-text-container .eleImg,\n.w-e-menu-panel .eleImg {\n cursor: pointer;\n display: inline-block;\n font-size: 18px;\n padding: 0 3px;\n}\n.w-e-toolbar *,\n.w-e-text-container *,\n.w-e-menu-panel * {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n.w-e-toolbar hr,\n.w-e-text-container hr,\n.w-e-menu-panel hr {\n cursor: pointer;\n display: block;\n height: 0px;\n border: 0;\n border-top: 3px solid #ccc;\n margin: 20px 0;\n}\n.w-e-clear-fix:after {\n content: "";\n display: table;\n clear: both;\n}\n.w-e-drop-list-item {\n position: relative;\n top: 1px;\n padding-right: 7px;\n color: #333 !important;\n}\n.w-e-drop-list-tl {\n padding-left: 10px;\n text-align: left;\n}\n',""]),e.exports=t},function(e,t,n){var r=n(21),i=n(148);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){var r=n(22),i=n(149),o=n(150);t=r(!1);var a=i(o);t.push([e.i,"@font-face {\n font-family: 'w-e-icon';\n src: url("+a+') format(\'truetype\');\n font-weight: normal;\n font-style: normal;\n}\n[class^="w-e-icon-"],\n[class*=" w-e-icon-"] {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'w-e-icon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.w-e-icon-close:before {\n content: "\\f00d";\n}\n.w-e-icon-upload2:before {\n content: "\\e9c6";\n}\n.w-e-icon-trash-o:before {\n content: "\\f014";\n}\n.w-e-icon-header:before {\n content: "\\f1dc";\n}\n.w-e-icon-pencil2:before {\n content: "\\e906";\n}\n.w-e-icon-paint-brush:before {\n content: "\\f1fc";\n}\n.w-e-icon-image:before {\n content: "\\e90d";\n}\n.w-e-icon-play:before {\n content: "\\e912";\n}\n.w-e-icon-location:before {\n content: "\\e947";\n}\n.w-e-icon-undo:before {\n content: "\\e965";\n}\n.w-e-icon-redo:before {\n content: "\\e966";\n}\n.w-e-icon-quotes-left:before {\n content: "\\e977";\n}\n.w-e-icon-list-numbered:before {\n content: "\\e9b9";\n}\n.w-e-icon-list2:before {\n content: "\\e9bb";\n}\n.w-e-icon-link:before {\n content: "\\e9cb";\n}\n.w-e-icon-happy:before {\n content: "\\e9df";\n}\n.w-e-icon-bold:before {\n content: "\\ea62";\n}\n.w-e-icon-underline:before {\n content: "\\ea63";\n}\n.w-e-icon-italic:before {\n content: "\\ea64";\n}\n.w-e-icon-strikethrough:before {\n content: "\\ea65";\n}\n.w-e-icon-table2:before {\n content: "\\ea71";\n}\n.w-e-icon-paragraph-left:before {\n content: "\\ea77";\n}\n.w-e-icon-paragraph-center:before {\n content: "\\ea78";\n}\n.w-e-icon-paragraph-right:before {\n content: "\\ea79";\n}\n.w-e-icon-paragraph-justify:before {\n content: "\\ea7a";\n}\n.w-e-icon-terminal:before {\n content: "\\f120";\n}\n.w-e-icon-page-break:before {\n content: "\\ea68";\n}\n.w-e-icon-cancel-circle:before {\n content: "\\ea0d";\n}\n.w-e-icon-font:before {\n content: "\\ea5c";\n}\n.w-e-icon-text-heigh:before {\n content: "\\ea5f";\n}\n.w-e-icon-paint-format:before {\n content: "\\e90c";\n}\n.w-e-icon-indent-increase:before {\n content: "\\ea7b";\n}\n.w-e-icon-indent-decrease:before {\n content: "\\ea7c";\n}\n.w-e-icon-row-height:before {\n content: "\\e9be";\n}\n.w-e-icon-fullscreen_exit:before {\n content: "\\e900";\n}\n.w-e-icon-fullscreen:before {\n content: "\\e901";\n}\n.w-e-icon-split-line:before {\n content: "\\ea0b";\n}\n.w-e-icon-checkbox-checked:before {\n content: "\\ea52";\n}\n',""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(e,t,n){"use strict";n.r(t),t.default="data:font/woff;base64,d09GRgABAAAAABskAAsAAAAAGtgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIPFWNtYXAAAAFoAAABHAAAARz2mfAgZ2FzcAAAAoQAAAAIAAAACAAAABBnbHlmAAACjAAAFXwAABV8IH7+mGhlYWQAABgIAAAANgAAADYb6gumaGhlYQAAGEAAAAAkAAAAJAkjBWlobXR4AAAYZAAAAKQAAACkmYcEbmxvY2EAABkIAAAAVAAAAFReAmKYbWF4cAAAGVwAAAAgAAAAIAA0ALZuYW1lAAAZfAAAAYYAAAGGmUoJ+3Bvc3QAABsEAAAAIAAAACAAAwAAAAMD7wGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA8fwDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEAQAAAAA8ACAABAAcAAEAIOkB6QbpDekS6UfpZul36bnpu+m+6cbpy+nf6gvqDepS6lzqX+pl6nHqfPAN8BTxIPHc8fz//f//AAAAAAAg6QDpBukM6RLpR+ll6Xfpuem76b7pxunL6d/qC+oN6lLqXOpf6mLqcep38A3wFPEg8dzx/P/9//8AAf/jFwQXABb7FvcWwxamFpYWVRZUFlIWSxZHFjQWCRYIFcQVuxW5FbcVrBWnEBcQEQ8GDksOLAADAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAAEAEEAAQO/A38ABQALABEAFwAAATMVIREzAxEhFSMVATUzESE1ETUhESM1Av/A/sJ+fgE+wP4Cfv7CAT5+Ar9+AT78ggE+fsACvsD+wn7+An7+wsAAAAAABABBAAEDvwN/AAUACwARABcAAAEhESM1IxM1MxEhNQERIRUjFREVMxUhEQKBAT5+wMB+/sL9wAE+wMD+wgN//sLA/X7A/sJ+AcIBPn7A/v7AfgE+AAAAAAIAAP/ABAADwAAEABMAAAE3AScBAy4BJxM3ASMBAyUBNQEHAYCAAcBA/kCfFzsyY4ABgMD+gMACgAGA/oBOAUBAAcBA/kD+nTI7FwERTgGA/oD9gMABgMD+gIAAAgAA/8AEAAOAACkALQAAAREjNTQmIyEiBh0BFBYzITI2PQEzESEVIyIGFREUFjsBMjY1ETQmKwE1ASE1IQQAwCYa/UAaJiYaAsAaJoD9wCANExMNgA0TEw0gAUD9QALAAYABgEAaJiYawBomJhpA/wCAEw3+wA0TEw0BQA0TQAGAQAAABAAAAAAEAAOAABAAIQAtADQAAAE4ATEROAExITgBMRE4ATEhNSEiBhURFBYzITI2NRE0JiMHFAYjIiY1NDYzMhYTITUTATM3A8D8gAOA/IAaJiYaA4AaJiYagDgoKDg4KCg4QP0A4AEAQOADQP0AAwBAJhr9ABomJhoDABom4Cg4OCgoODj9uIABgP7AwAAAAgAAAEAEAANAADgAPAAAASYnLgEnJiMiBw4BBwYHBgcOAQcGFRQXHgEXFhcWFx4BFxYzMjc+ATc2NzY3PgE3NjU0Jy4BJyYnARENAQPVNjg5djw9Pz89PHY5ODYLBwgLAwMDAwsIBws2ODl2PD0/Pz08djk4NgsHCAsDAwMDCwgHC/2rAUD+wAMgCAYGCAICAgIIBgYIKSoqWS0uLy8uLVkqKikIBgYIAgICAggGBggpKipZLS4vLy4tWSoqKf3gAYDAwAAAAAACAMD/wANAA8AAGwAnAAABIgcOAQcGFRQXHgEXFjEwNz4BNzY1NCcuAScmAyImNTQ2MzIWFRQGAgBCOzpXGRkyMngyMjIyeDIyGRlXOjtCUHBwUFBwcAPAGRlXOjtCeH19zEFBQUHMfX14Qjs6VxkZ/gBwUFBwcFBQcAAAAQAAAAAEAAOAACsAAAEiBw4BBwYHJxEhJz4BMzIXHgEXFhUUBw4BBwYHFzY3PgE3NjU0Jy4BJyYjAgA1MjJcKSkjlgGAkDWLUFBFRmkeHgkJIhgYHlUoICAtDAwoKIteXWoDgAoLJxscI5b+gJA0PB4eaUZFUCsoKUkgIRpgIysrYjY2OWpdXosoKAABAAAAAAQAA4AAKgAAExQXHgEXFhc3JicuAScmNTQ3PgE3NjMyFhcHIREHJicuAScmIyIHDgEHBgAMDC0gIChVHhgYIgkJHh5pRkVQUIs1kAGAliMpKVwyMjVqXV6LKCgBgDk2NmIrKyNgGiEgSSkoK1BFRmkeHjw0kAGAliMcGycLCigoi15dAAAAAAIAAABABAEDAAAmAE0AABMyFx4BFxYVFAcOAQcGIyInLgEnJjUnNDc+ATc2MxUiBgcOAQc+ASEyFx4BFxYVFAcOAQcGIyInLgEnJjUnNDc+ATc2MxUiBgcOAQc+AeEuKSk9ERISET0pKS4uKSk9ERIBIyN6UlFdQHUtCRAHCBICSS4pKT0REhIRPSkpLi4pKT0REgEjI3pSUV1AdS0JEAcIEgIAEhE9KSkuLikpPRESEhE9KSkuIF1RUnojI4AwLggTCgIBEhE9KSkuLikpPRESEhE9KSkuIF1RUnojI4AwLggTCgIBAAAGAED/wAQAA8AAAwAHAAsAEQAdACkAACUhFSERIRUhESEVIScRIzUjNRMVMxUjNTc1IzUzFRURIzUzNSM1MzUjNQGAAoD9gAKA/YACgP2AwEBAQIDAgIDAwICAgICAgAIAgAIAgMD/AMBA/fIyQJI8MkCS7v7AQEBAQEAABgAA/8AEAAPAAAMABwALABcAIwAvAAABIRUhESEVIREhFSEBNDYzMhYVFAYjIiYRNDYzMhYVFAYjIiYRNDYzMhYVFAYjIiYBgAKA/YACgP2AAoD9gP6ASzU1S0s1NUtLNTVLSzU1S0s1NUtLNTVLA4CA/wCA/wCAA0A1S0s1NUtL/rU1S0s1NUtL/rU1S0s1NUtLAAUAAABABWADAAADAAcACwAOABEAABMhFSEVIRUhFSEVIQEXNzUnBwADgPyAA4D8gAOA/IAD4MDAwMADAMBAwEDAAUDAwEDAwAAAAAADAAAAAAQAA6AAAwANABQAADchFSElFSE1EyEVITUhJQkBIxEjEQAEAPwABAD8AIABAAEAAQD9YAEgASDggEBAwEBAAQCAgMABIP7g/wABAAAAAAACAB7/zAPiA7QAMwBkAAABIiYnJicmNDc2PwE+ATMyFhcWFxYUBwYPAQYiJyY0PwE2NCcuASMiBg8BBhQXFhQHDgEjAyImJyYnJjQ3Nj8BNjIXFhQPAQYUFx4BMzI2PwE2NCcmNDc2MhcWFxYUBwYPAQ4BIwG4ChMIIxISEhIjwCNZMTFZIyMSEhISI1gPLA8PD1gpKRQzHBwzFMApKQ8PCBMKuDFZIyMSEhISI1gPLA8PD1gpKRQzHBwzFMApKQ8PDysQIxISEhIjwCNZMQFECAckLS1eLS0kwCIlJSIkLS1eLS0kVxAQDysPWCl0KRQVFRTAKXQpDysQBwj+iCUiJC0tXi0tJFcQEA8rD1gpdCkUFRUUwCl0KQ8rEA8PJC0tXi0tJMAiJQAAAAAFAAD/wAQAA8AAGwA3AFMAXwBrAAAFMjc+ATc2NTQnLgEnJiMiBw4BBwYVFBceARcWEzIXHgEXFhUUBw4BBwYjIicuAScmNTQ3PgE3NhMyNz4BNzY3BgcOAQcGIyInLgEnJicWFx4BFxYnNDYzMhYVFAYjIiYlNDYzMhYVFAYjIiYCAGpdXosoKCgoi15dampdXosoKCgoi15dalZMTHEgISEgcUxMVlZMTHEgISEgcUxMVisrKlEmJiMFHBtWODc/Pzc4VhscBSMmJlEqK9UlGxslJRsbJQGAJRsbJSUbGyVAKCiLXl1qal1eiygoKCiLXl1qal1eiygoA6AhIHFMTFZWTExxICEhIHFMTFZWTExxICH+CQYGFRAQFEM6OlYYGRkYVjo6QxQQEBUGBvcoODgoKDg4KCg4OCgoODgAAAEAAAFABAACQAAPAAATFRQWMyEyNj0BNCYjISIGABMNA8ANExMN/EANEwIgwA0TEw3ADRMTAAAAAwAA/8AEAAPAABsANwBDAAABIgcOAQcGFRQXHgEXFjMyNz4BNzY1NCcuAScmAyInLgEnJjU0Nz4BNzYzMhceARcWFRQHDgEHBhMHJwcXBxc3FzcnNwIAal1eiygoKCiLXl1qal1eiygoKCiLXl1qVkxMcSAhISBxTExWVkxMcSAhISBxTExKoKBgoKBgoKBgoKADwCgoi15dampdXosoKCgoi15dampdXosoKPxgISBxTExWVkxMcSAhISBxTExWVkxMcSAhAqCgoGCgoGCgoGCgoAACAAD/wAQAA8AADwAVAAABISIGFREUFjMhMjY1ETQmASc3FwEXA4D9ADVLSzUDADVLS/4L7VqTATNaA8BLNf0ANUtLNQMANUv85e5akgEyWgAAAAABAGX/wAObA8AAKQAAASImIyIHDgEHBhUUFjMuATU0NjcwBwYCBwYHFSETMzcjNx4BMzI2Nw4BAyBEaEZxU1RtGhtJSAYNZUoQEEs8PFkBPWzGLNc0LVUmLlAYHT0DsBAeHWE+P0FNOwsmN5lvA31+/sWPkCMZAgCA9gkPN2sJBwAAAAACAAAAAAQAA4AACQAXAAAlMwcnMxEjNxcjJREnIxEzFSE1MxEjBxEDgICgoICAoKCA/wBAwID+gIDAQMDAwAIAwMDA/wCA/UBAQALAgAEAAAMAwAAAA0ADgAAWAB8AKAAAAT4BNTQnLgEnJiMhESEyNz4BNzY1NCYBMzIWFRQGKwETIxEzMhYVFAYCxBwgFBRGLi81/sABgDUvLkYUFET+hGUqPDwpZp+fnyw+PgHbIlQvNS8uRhQU/IAUFEYuLzVGdAFGSzU1S/6AAQBLNTVLAAAAAAIAwAAAA0ADgAAfACMAAAEzERQHDgEHBiMiJy4BJyY1ETMRFBYXHgEzMjY3PgE1ASEVIQLAgBkZVzo7QkI7OlcZGYAbGBxJKChJHBgb/gACgP2AA4D+YDw0NU4WFxcWTjU0PAGg/mAeOBcYGxsYFzge/qCAAAAAAAEAgAAAA4ADgAALAAABFSMBMxUhNTMBIzUDgID+wID+QIABQIADgED9AEBAAwBAAAEAAAAABAADgAA9AAABFSMeARUUBgcOASMiJicuATUzFBYzMjY1NCYjITUhLgEnLgE1NDY3PgEzMhYXHgEVIzQmIyIGFRQWMzIWFwQA6xUWNTAscT4+cSwwNYByTk5yck7+AAEsAgQBMDU1MCxxPj5xLDA1gHJOTnJyTjtuKwHAQB1BIjViJCEkJCEkYjU0TEw0NExAAQMBJGI1NWIkISQkISRiNTRMTDQ0TCEfAAAACgAAAAAEAAOAAAMABwALAA8AEwAXABsAHwAjACcAABMRIREBNSEVHQEhNQEVITUjFSE1ESEVISUhFSERNSEVASEVISE1IRUABAD9gAEA/wABAP8AQP8AAQD/AAKAAQD/AAEA/IABAP8AAoABAAOA/IADgP3AwMBAwMACAMDAwMD/AMDAwAEAwMD+wMDAwAAABQAAAAAEAAOAAAMABwALAA8AEwAAEyEVIRUhFSERIRUhESEVIREhFSEABAD8AAKA/YACgP2ABAD8AAQA/AADgIBAgP8AgAFAgP8AgAAAAAAFAAAAAAQAA4AAAwAHAAsADwATAAATIRUhFyEVIREhFSEDIRUhESEVIQAEAPwAwAKA/YACgP2AwAQA/AAEAPwAA4CAQID/AIABQID/AIAAAAUAAAAABAADgAADAAcACwAPABMAABMhFSEFIRUhESEVIQEhFSERIRUhAAQA/AABgAKA/YACgP2A/oAEAPwABAD8AAOAgECA/wCAAUCA/wCAAAAAAAUAAAAABAADgAADAAcACwAPABMAABMhFSEVIRUhFSEVIRUhFSEVIRUhAAQA/AAEAPwABAD8AAQA/AAEAPwAA4CAQIBAgECAQIAAAAAGAAAAAAQAA4AAAwAHAAsADwATABYAABMhFSEFIRUhFSEVIRUhFSEFIRUhGQEFAAQA/AABgAKA/YACgP2AAoD9gP6ABAD8AAEAA4CAQIBAgECAQIABAAGAwAAAAAYAAAAABAADgAADAAcACwAPABMAFgAAEyEVIQUhFSEVIRUhFSEVIQUhFSEBESUABAD8AAGAAoD9gAKA/YACgP2A/oAEAPwAAQD/AAOAgECAQIBAgECAAoD+gMAAAQA/AD8C5gLmACwAACUUDwEGIyIvAQcGIyIvASY1ND8BJyY1ND8BNjMyHwE3NjMyHwEWFRQPARcWFQLmEE4QFxcQqKgQFxYQThAQqKgQEE4QFhcQqKgQFxcQThAQqKgQwxYQThAQqKgQEE4QFhcQqKgQFxcQThAQqKgQEE4QFxcQqKgQFwAAAAYAAAAAAyUDbgAUACgAPABNAFUAggAAAREUBwYrASInJjURNDc2OwEyFxYVMxEUBwYrASInJjURNDc2OwEyFxYXERQHBisBIicmNRE0NzY7ATIXFhMRIREUFxYXFjMhMjc2NzY1ASEnJicjBgcFFRQHBisBERQHBiMhIicmNREjIicmPQE0NzY7ATc2NzY7ATIXFh8BMzIXFhUBJQYFCCQIBQYGBQgkCAUGkgUFCCUIBQUFBQglCAUFkgUFCCUIBQUFBQglCAUFSf4ABAQFBAIB2wIEBAQE/oABABsEBrUGBAH3BgUINxobJv4lJhsbNwgFBQUFCLEoCBcWF7cXFhYJKLAIBQYCEv63CAUFBQUIAUkIBQYGBQj+twgFBQUFCAFJCAUGBgUI/rcIBQUFBQgBSQgFBgYF/lsCHf3jDQsKBQUFBQoLDQJmQwUCAgVVJAgGBf3jMCIjISIvAiAFBggkCAUFYBUPDw8PFWAFBQgAAgAHAEkDtwKvABoALgAACQEGIyIvASY1ND8BJyY1ND8BNjMyFwEWFRQHARUUBwYjISInJj0BNDc2MyEyFxYBTv72BgcIBR0GBuHhBgYdBQgHBgEKBgYCaQUFCP3bCAUFBQUIAiUIBQUBhf72BgYcBggHBuDhBgcHBh0FBf71BQgHBv77JQgFBQUFCCUIBQUFBQAAAAEAIwAAA90DbgCzAAAlIicmIyIHBiMiJyY1NDc2NzY3Njc2PQE0JyYjISIHBh0BFBcWFxYzFhcWFRQHBiMiJyYjIgcGIyInJjU0NzY3Njc2NzY9ARE0NTQ1NCc0JyYnJicmJyYnJiMiJyY1NDc2MzIXFjMyNzYzMhcWFRQHBiMGBwYHBh0BFBcWMyEyNzY9ATQnJicmJyY1NDc2MzIXFjMyNzYzMhcWFRQHBgciBwYHBhURFBcWFxYXMhcWFRQHBiMDwRkzMhoZMjMZDQgHCQoNDBEQChIBBxX+fhYHARUJEhMODgwLBwcOGzU1GhgxMRgNBwcJCQsMEA8JEgECAQIDBAQFCBIRDQ0KCwcHDho1NRoYMDEYDgcHCQoMDRAQCBQBBw8BkA4HARQKFxcPDgcHDhkzMhkZMTEZDgcHCgoNDRARCBQUCRERDg0KCwcHDgACAgICDAsPEQkJAQEDAwUMROAMBQMDBQzUUQ0GAQIBCAgSDwwNAgICAgwMDhEICQECAwMFDUUhAdACDQ0ICA4OCgoLCwcHAwYBAQgIEg8MDQICAgINDA8RCAgBAgEGDFC2DAcBAQcMtlAMBgEBBgcWDwwNAgICAg0MDxEICAEBAgYNT/3mRAwGAgIBCQgRDwwNAAACAAD/twP/A7cAEwA5AAABMhcWFRQHAgcGIyInJjU0NwE2MwEWFxYfARYHBiMiJyYnJicmNRYXFhcWFxYzMjc2NzY3Njc2NzY3A5soHh4avkw3RUg0NDUBbSEp/fgXJicvAQJMTHtHNjYhIRARBBMUEBASEQkXCA8SExUVHR0eHikDtxsaKCQz/plGNDU0SUkwAUsf/bErHx8NKHpNTBobLi86OkQDDw4LCwoKFiUbGhERCgsEBAIAAQAAAAAAAIWwaoFfDzz1AAsEAAAAAADbteOZAAAAANu145kAAP+3BWADwAAAAAgAAgAAAAAAAAABAAADwP/AAAAFgAAA//8FYAABAAAAAAAAAAAAAAAAAAAAKQQAAAAAAAAAAAAAAAIAAAAEAABBBAAAQQQAAAAEAAAABAAAAAQAAAAEAADABAAAAAQAAAAEAAAABAAAQAQAAAAFgAAABAAAAAQAAB4EAAAABAAAAAQAAAAEAAAABAAAZQQAAAAEAADABAAAwAQAAIAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAMlAD8DJQAAA74ABwQAACMD/wAAAAAAAAAKABQAHgBKAHYApADmAS4BkgHQAhYCXALQAw4DWAN+A6gEPgTeBPoFZAWOBdAF+AY6BnYGjgbmBy4HVgd+B6gHzgf8CCoIbgkmCXAKYgq+AAEAAAApALQACgAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(e,t,n){var r=n(21),i=n(152);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){(t=n(22)(!1)).push([e.i,'.w-e-toolbar {\n display: flex;\n padding: 0 6px;\n flex-wrap: wrap;\n position: relative;\n /* 单个菜单 */\n}\n.w-e-toolbar .w-e-menu {\n position: relative;\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n}\n.w-e-toolbar .w-e-menu i {\n color: #999;\n}\n.w-e-toolbar .w-e-menu:hover {\n background-color: #F6F6F6;\n}\n.w-e-toolbar .w-e-menu:hover i {\n color: #333;\n}\n.w-e-toolbar .w-e-active i {\n color: #1e88e5;\n}\n.w-e-toolbar .w-e-active:hover i {\n color: #1e88e5;\n}\n.w-e-menu-tooltip {\n position: absolute;\n display: flex;\n color: #f1f1f1;\n background-color: rgba(0, 0, 0, 0.75);\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n padding: 4px 5px 6px;\n justify-content: center;\n align-items: center;\n}\n.w-e-menu-tooltip-up::after {\n content: "";\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-top-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-menu-tooltip-down::after {\n content: "";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-bottom-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-menu-tooltip-item-wrapper {\n font-size: 14px;\n margin: 0 5px;\n}\n',""]),e.exports=t},function(e,t,n){var r=n(21),i=n(154);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){(t=n(22)(!1)).push([e.i,'.w-e-text-container {\n position: relative;\n height: 100%;\n}\n.w-e-text-container .w-e-progress {\n position: absolute;\n background-color: #1e88e5;\n top: 0;\n left: 0;\n height: 1px;\n}\n.w-e-text-container .placeholder {\n color: #D4D4D4;\n position: absolute;\n font-size: 11pt;\n line-height: 22px;\n left: 10px;\n top: 10px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n z-index: -1;\n}\n.w-e-text {\n padding: 0 10px;\n overflow-y: auto;\n}\n.w-e-text p,\n.w-e-text h1,\n.w-e-text h2,\n.w-e-text h3,\n.w-e-text h4,\n.w-e-text h5,\n.w-e-text table,\n.w-e-text pre {\n margin: 10px 0;\n line-height: 1.5;\n}\n.w-e-text ul,\n.w-e-text ol {\n margin: 10px 0 10px 20px;\n}\n.w-e-text blockquote {\n display: block;\n border-left: 8px solid #d0e5f2;\n padding: 5px 10px;\n margin: 10px 0;\n line-height: 1.4;\n font-size: 100%;\n background-color: #f1f1f1;\n}\n.w-e-text code {\n display: inline-block;\n background-color: #f1f1f1;\n border-radius: 3px;\n padding: 3px 5px;\n margin: 0 3px;\n}\n.w-e-text pre code {\n display: block;\n}\n.w-e-text table {\n border-top: 1px solid #ccc;\n border-left: 1px solid #ccc;\n}\n.w-e-text table td,\n.w-e-text table th {\n border-bottom: 1px solid #ccc;\n border-right: 1px solid #ccc;\n padding: 3px 5px;\n min-height: 30px;\n}\n.w-e-text table th {\n border-bottom: 2px solid #ccc;\n text-align: center;\n background-color: #f1f1f1;\n}\n.w-e-text:focus {\n outline: none;\n}\n.w-e-text img {\n cursor: pointer;\n}\n.w-e-text img:hover {\n box-shadow: 0 0 5px #333;\n}\n.w-e-text .w-e-todo {\n margin: 0 0 0 20px;\n}\n.w-e-text .w-e-todo li {\n list-style: none;\n font-size: 1em;\n}\n.w-e-text .w-e-todo li span:nth-child(1) {\n position: relative;\n left: -18px;\n}\n.w-e-text .w-e-todo li span:nth-child(1) input {\n position: absolute;\n margin-right: 3px;\n}\n.w-e-text .w-e-todo li span:nth-child(1) input[type=checkbox] {\n top: 50%;\n margin-top: -6px;\n}\n.w-e-tooltip {\n position: absolute;\n display: flex;\n color: #f1f1f1;\n background-color: rgba(0, 0, 0, 0.75);\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n padding: 4px 5px 6px;\n justify-content: center;\n align-items: center;\n}\n.w-e-tooltip-up::after {\n content: "";\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-top-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-tooltip-down::after {\n content: "";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-bottom-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-tooltip-item-wrapper {\n cursor: pointer;\n font-size: 14px;\n margin: 0 5px;\n}\n.w-e-tooltip-item-wrapper:hover {\n color: #ccc;\n text-decoration: underline;\n}\n',""]),e.exports=t},function(e,t,n){var r=n(21),i=n(156);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){(t=n(22)(!1)).push([e.i,'.w-e-menu .w-e-panel-container {\n position: absolute;\n top: 0;\n left: 50%;\n border: 1px solid #ccc;\n border-top: 0;\n box-shadow: 1px 1px 2px #ccc;\n color: #333;\n background-color: #fff;\n text-align: left;\n /* 为 emotion panel 定制的样式 */\n /* 上传图片、上传视频的 panel 定制样式 */\n}\n.w-e-menu .w-e-panel-container .w-e-panel-close {\n position: absolute;\n right: 0;\n top: 0;\n padding: 5px;\n margin: 2px 5px 0 0;\n cursor: pointer;\n color: #999;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-close:hover {\n color: #333;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-title {\n list-style: none;\n display: flex;\n font-size: 14px;\n margin: 2px 10px 0 10px;\n border-bottom: 1px solid #f1f1f1;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-title .w-e-item {\n padding: 3px 5px;\n color: #999;\n cursor: pointer;\n margin: 0 3px;\n position: relative;\n top: 1px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-title .w-e-active {\n color: #333;\n border-bottom: 1px solid #333;\n cursor: default;\n font-weight: 700;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content {\n padding: 10px 15px 10px 15px;\n font-size: 16px;\n /* 输入框的样式 */\n /* 按钮的样式 */\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input:focus,\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea:focus,\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content button:focus {\n outline: none;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea {\n width: 100%;\n border: 1px solid #ccc;\n padding: 5px;\n margin-top: 10px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea:focus {\n border-color: #1e88e5;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text] {\n border: none;\n border-bottom: 1px solid #ccc;\n font-size: 14px;\n height: 20px;\n color: #333;\n text-align: left;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text].small {\n width: 30px;\n text-align: center;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text].block {\n display: block;\n width: 100%;\n margin: 10px 0;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text]:focus {\n border-bottom: 2px solid #1e88e5;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button {\n font-size: 14px;\n color: #1e88e5;\n border: none;\n padding: 5px 10px;\n background-color: #fff;\n cursor: pointer;\n border-radius: 3px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.left {\n float: left;\n margin-right: 10px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.right {\n float: right;\n margin-left: 10px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.gray {\n color: #999;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.red {\n color: #c24f4a;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button:hover {\n background-color: #f1f1f1;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container:after {\n content: "";\n display: table;\n clear: both;\n}\n.w-e-menu .w-e-panel-container .w-e-emoticon-container .w-e-item {\n cursor: pointer;\n font-size: 18px;\n padding: 0 3px;\n display: inline-block;\n}\n.w-e-menu .w-e-panel-container .w-e-up-img-container,\n.w-e-menu .w-e-panel-container .w-e-up-video-container {\n text-align: center;\n}\n.w-e-menu .w-e-panel-container .w-e-up-img-container .w-e-up-btn,\n.w-e-menu .w-e-panel-container .w-e-up-video-container .w-e-up-btn {\n display: inline-block;\n color: #999;\n cursor: pointer;\n font-size: 60px;\n line-height: 1;\n}\n.w-e-menu .w-e-panel-container .w-e-up-img-container .w-e-up-btn:hover,\n.w-e-menu .w-e-panel-container .w-e-up-video-container .w-e-up-btn:hover {\n color: #333;\n}\n',""]),e.exports=t},function(e,t,n){var r=n(21),i=n(158);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){(t=n(22)(!1)).push([e.i,".w-e-toolbar .w-e-droplist {\n position: absolute;\n left: 0;\n top: 0;\n background-color: #fff;\n border: 1px solid #f1f1f1;\n border-right-color: #ccc;\n border-bottom-color: #ccc;\n}\n.w-e-toolbar .w-e-droplist .w-e-dp-title {\n text-align: center;\n color: #999;\n line-height: 2;\n border-bottom: 1px solid #f1f1f1;\n font-size: 13px;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-list {\n list-style: none;\n line-height: 1;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-list li.w-e-item {\n color: #333;\n padding: 5px 0;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-list li.w-e-item:hover {\n background-color: #f1f1f1;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-block {\n list-style: none;\n text-align: left;\n padding: 5px;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-block li.w-e-item {\n display: inline-block;\n padding: 3px 5px;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-block li.w-e-item:hover {\n background-color: #f1f1f1;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(0)(n(160));Element.prototype.matches||(Element.prototype.matches=function(e){for(var t=this.ownerDocument.querySelectorAll(e),n=t.length;n>=0&&t.item(n)!==this;n--);return n>-1}),r.default||(window.Promise=r.default)},function(e,t,n){e.exports=n(161)},function(e,t,n){var r=n(162);e.exports=r},function(e,t,n){n(163),n(69),n(168),n(174),n(175),n(176),n(51),n(52);var r=n(10);e.exports=r.Promise},function(e,t,n){"use strict";var r=n(5),i=n(78),o=n(102),a=n(62),s=n(17),l=n(37),c=n(40),u=function(e,t){var n=this;if(!(n instanceof u))return new u(e,t);o&&(n=o(new Error(void 0),i(n))),void 0!==t&&s(n,"message",String(t));var r=[];return c(e,r.push,{that:r}),s(n,"errors",r),n};u.prototype=a(Error.prototype,{constructor:l(5,u),message:l(5,""),name:l(5,"AggregateError")}),r({global:!0},{AggregateError:u})},function(e,t,n){var r=n(8),i=n(17);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(12);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},function(e,t,n){var r=n(13);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(15),i=n(18),o=n(20),a=n(63);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,l=0;s>l;)i.f(e,n=r[l++],t[n]);return e}},function(e,t,n){"use strict";var r,i,o,a,s=n(5),l=n(39),c=n(8),u=n(28),h=n(109),d=n(50),f=n(110),p=n(42),A=n(111),g=n(13),v=n(32),m=n(86),y=n(112),b=n(40),_=n(113),w=n(114),x=n(115).set,C=n(170),S=n(117),B=n(172),k=n(70),T=n(87),E=n(43),M=n(101),D=n(9),O=n(65),I=n(66),L=D("species"),P="Promise",F=E.get,R=E.set,N=E.getterFor(P),H=h,j=c.TypeError,U=c.document,Q=c.process,z=u("fetch"),Y=k.f,V=Y,G=!!(U&&U.createEvent&&c.dispatchEvent),W="function"==typeof PromiseRejectionEvent,X=M(P,function(){if(!(y(H)!==String(H))){if(66===I)return!0;if(!O&&!W)return!0}if(l&&!H.prototype.finally)return!0;if(I>=51&&/native code/.test(H))return!1;var e=H.resolve(1),t=function(e){e(function(){},function(){})};return(e.constructor={})[L]=t,!(e.then(function(){})instanceof t)}),Z=X||!_(function(e){H.all(e).catch(function(){})}),$=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},K=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;C(function(){for(var r=e.value,i=1==e.state,o=0;n.length>o;){var a,s,l,c=n[o++],u=i?c.ok:c.fail,h=c.resolve,d=c.reject,f=c.domain;try{u?(i||(2===e.rejection&&te(e),e.rejection=1),!0===u?a=r:(f&&f.enter(),a=u(r),f&&(f.exit(),l=!0)),a===c.promise?d(j("Promise-chain cycle")):(s=$(a))?s.call(a,h,d):h(a)):d(r)}catch(e){f&&!l&&f.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&q(e)})}},J=function(e,t,n){var r,i;G?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!W&&(i=c["on"+e])?i(r):"unhandledrejection"===e&&B("Unhandled promise rejection",n)},q=function(e){x.call(c,function(){var t,n=e.facade,r=e.value;if(ee(e)&&(t=T(function(){O?Q.emit("unhandledRejection",r,n):J("unhandledrejection",n,r)}),e.rejection=O||ee(e)?2:1,t.error))throw t.value})},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e){x.call(c,function(){var t=e.facade;O?Q.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)})},ne=function(e,t,n){return function(r){e(t,r,n)}},re=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,K(e,!0))},ie=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw j("Promise can't be resolved itself");var r=$(t);r?C(function(){var n={done:!1};try{r.call(t,ne(ie,n,e),ne(re,n,e))}catch(t){re(n,t,e)}}):(e.value=t,e.state=1,K(e,!1))}catch(t){re({done:!1},t,e)}}};X&&(H=function(e){m(this,H,P),v(e),r.call(this);var t=F(this);try{e(ne(ie,t),ne(re,t))}catch(e){re(t,e)}},(r=function(e){R(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(H.prototype,{then:function(e,t){var n=N(this),r=Y(w(this,H));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=O?Q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&K(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=F(e);this.promise=e,this.resolve=ne(ie,t),this.reject=ne(re,t)},k.f=Y=function(e){return e===H||e===o?new i(e):V(e)},l||"function"!=typeof h||(a=h.prototype.then,d(h.prototype,"then",function(e,t){var n=this;return new H(function(e,t){a.call(n,e,t)}).then(e,t)},{unsafe:!0}),"function"==typeof z&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return S(H,z.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:X},{Promise:H}),p(H,P,!1,!0),A(P),o=u(P),s({target:P,stat:!0,forced:X},{reject:function(e){var t=Y(this);return t.reject.call(void 0,e),t.promise}}),s({target:P,stat:!0,forced:l||X},{resolve:function(e){return S(l&&this===o?H:this,e)}}),s({target:P,stat:!0,forced:Z},{all:function(e){var t=this,n=Y(t),r=n.resolve,i=n.reject,o=T(function(){var n=v(t.resolve),o=[],a=0,s=1;b(e,function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then(function(e){c||(c=!0,o[l]=e,--s||r(o))},i)}),--s||r(o)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=Y(t),r=n.reject,i=T(function(){var i=v(t.resolve);b(e,function(e){i.call(t,e).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},function(e,t,n){"use strict";var r=n(85),i=n(68);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){var r,i,o,a,s,l,c,u,h=n(8),d=n(75).f,f=n(115).set,p=n(116),A=n(171),g=n(65),v=h.MutationObserver||h.WebKitMutationObserver,m=h.document,y=h.process,b=h.Promise,_=d(h,"queueMicrotask"),w=_&&_.value;w||(r=function(){var e,t;for(g&&(e=y.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},p||g||A||!v||!m?b&&b.resolve?(c=b.resolve(void 0),u=c.then,a=function(){u.call(c,r)}):a=g?function(){y.nextTick(r)}:function(){f.call(h,r)}:(s=!0,l=m.createTextNode(""),new v(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),e.exports=w||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(67);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(8);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){var r=n(8),i=n(112),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},function(e,t,n){"use strict";var r=n(5),i=n(32),o=n(70),a=n(87),s=n(40);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=o.f(t),r=n.resolve,l=n.reject,c=a(function(){var n=i(t.resolve),o=[],a=0,l=1;s(e,function(e){var i=a++,s=!1;o.push(void 0),l++,n.call(t,e).then(function(e){s||(s=!0,o[i]={status:"fulfilled",value:e},--l||r(o))},function(e){s||(s=!0,o[i]={status:"rejected",reason:e},--l||r(o))})}),--l||r(o)});return c.error&&l(c.value),n.promise}})},function(e,t,n){"use strict";var r=n(5),i=n(32),o=n(28),a=n(70),s=n(87),l=n(40);r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,u=s(function(){var n=i(t.resolve),a=[],s=0,u=1,h=!1;l(e,function(e){var i=s++,l=!1;a.push(void 0),u++,n.call(t,e).then(function(e){l||h||(h=!0,r(e))},function(e){l||h||(l=!0,a[i]=e,--u||c(new(o("AggregateError"))(a,"No one promise resolved")))})}),--u||c(new(o("AggregateError"))(a,"No one promise resolved"))});return u.error&&c(u.value),n.promise}})},function(e,t,n){"use strict";var r=n(5),i=n(39),o=n(109),a=n(12),s=n(28),l=n(114),c=n(117),u=n(50);r({target:"Promise",proto:!0,real:!0,forced:!!o&&a(function(){o.prototype.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=l(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then(function(){return n})}:e,n?function(n){return c(t,e()).then(function(){throw n})}:e)}}),i||"function"!=typeof o||o.prototype.finally||u(o.prototype,"finally",s("Promise").prototype.finally)},function(e,t,n){var r=n(64),i=n(48),o=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){"use strict";var r=n(118).IteratorPrototype,i=n(62),o=n(37),a=n(42),s=n(41),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,c,!1,!0),s[c]=l,e}},function(e,t,n){"use strict";var r=n(27),i=n(89),o=n(41),a=n(43),s=n(88),l=a.set,c=a.getterFor("Array Iterator");e.exports=s(Array,"Array",function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){n(52);var r=n(182),i=n(68),o=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===o||e instanceof Array&&t===o.forEach||a.hasOwnProperty(i(e))?r:t}},function(e,t,n){var r=n(183);e.exports=r},function(e,t,n){n(184);var r=n(14);e.exports=r("Array").forEach},function(e,t,n){"use strict";var r=n(5),i=n(185);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(e,t,n){"use strict";var r=n(29).forEach,i=n(71)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(187);e.exports=r},function(e,t,n){n(188);var r=n(10);e.exports=r.Array.isArray},function(e,t,n){n(5)({target:"Array",stat:!0},{isArray:n(53)})},function(e,t,n){var r=n(190);e.exports=r},function(e,t,n){var r=n(191),i=Array.prototype;e.exports=function(e){var t=e.map;return e===i||e instanceof Array&&t===i.map?r:t}},function(e,t,n){n(192);var r=n(14);e.exports=r("Array").map},function(e,t,n){"use strict";var r=n(5),i=n(29).map;r({target:"Array",proto:!0,forced:!n(54)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(194);e.exports=r},function(e,t,n){var r=n(195),i=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===i||e instanceof String&&t===i.trim?r:t}},function(e,t,n){n(196);var r=n(14);e.exports=r("String").trim},function(e,t,n){"use strict";var r=n(5),i=n(92).trim;r({target:"String",proto:!0,forced:n(197)("trim")},{trim:function(){return i(this)}})},function(e,t,n){var r=n(12),i=n(72);e.exports=function(e){return r(function(){return!!i[e]()||"
"!="
"[e]()||i[e].name!==e})}},function(e,t,n){var r=n(199);e.exports=r},function(e,t,n){n(200),n(69),n(51),n(52);var r=n(10);e.exports=r.Map},function(e,t,n){"use strict";var r=n(121),i=n(123);e.exports=r("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},i)},function(e,t,n){var r=n(12);e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(e,t,n){var r=n(203);e.exports=r},function(e,t,n){var r=n(204),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||e instanceof Array&&t===i.indexOf?r:t}},function(e,t,n){n(205);var r=n(14);e.exports=r("Array").indexOf},function(e,t,n){"use strict";var r=n(5),i=n(81).indexOf,o=n(71),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,l=o("indexOf");r({target:"Array",proto:!0,forced:s||!l},{indexOf:function(e){return s?a.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(207);e.exports=r},function(e,t,n){var r=n(208),i=Array.prototype;e.exports=function(e){var t=e.splice;return e===i||e instanceof Array&&t===i.splice?r:t}},function(e,t,n){n(209);var r=n(14);e.exports=r("Array").splice},function(e,t,n){"use strict";var r=n(5),i=n(82),o=n(64),a=n(34),s=n(33),l=n(90),c=n(73),u=n(54)("splice"),h=Math.max,d=Math.min;r({target:"Array",proto:!0,forced:!u},{splice:function(e,t){var n,r,u,f,p,A,g=s(this),v=a(g.length),m=i(e,v),y=arguments.length;if(0===y?n=r=0:1===y?(n=0,r=v-m):(n=y-2,r=d(h(o(t),0),v-m)),v+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(g,r),f=0;f<r;f++)(p=m+f)in g&&c(u,f,g[p]);if(u.length=r,n<r){for(f=m;f<v-r;f++)A=f+n,(p=f+r)in g?g[A]=g[p]:delete g[A];for(f=v;f>v-r+n;f--)delete g[f-1]}else if(n>r)for(f=v-r;f>m;f--)A=f+n-1,(p=f+r-1)in g?g[A]=g[p]:delete g[A];for(f=0;f<n;f++)g[f+m]=arguments[f+2];return g.length=v-r+n,u}})},function(e,t,n){var r=n(211);e.exports=r},function(e,t,n){var r=n(212),i=Array.prototype;e.exports=function(e){var t=e.filter;return e===i||e instanceof Array&&t===i.filter?r:t}},function(e,t,n){n(213);var r=n(14);e.exports=r("Array").filter},function(e,t,n){"use strict";var r=n(5),i=n(29).filter;r({target:"Array",proto:!0,forced:!n(54)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(215);e.exports=r},function(e,t,n){var r=n(216),i=n(218),o=Array.prototype,a=String.prototype;e.exports=function(e){var t=e.includes;return e===o||e instanceof Array&&t===o.includes?r:"string"==typeof e||e===a||e instanceof String&&t===a.includes?i:t}},function(e,t,n){n(217);var r=n(14);e.exports=r("Array").includes},function(e,t,n){"use strict";var r=n(5),i=n(81).includes,o=n(89);r({target:"Array",proto:!0},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(e,t,n){n(219);var r=n(14);e.exports=r("String").includes},function(e,t,n){"use strict";var r=n(5),i=n(220),o=n(48);r({target:"String",proto:!0,forced:!n(222)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(221);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(13),i=n(47),o=n(9)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(9)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){var r=n(224);e.exports=r},function(e,t,n){var r=n(225),i=Function.prototype;e.exports=function(e){var t=e.bind;return e===i||e instanceof Function&&t===i.bind?r:t}},function(e,t,n){n(226);var r=n(14);e.exports=r("Function").bind},function(e,t,n){n(5)({target:"Function",proto:!0},{bind:n(227)})},function(e,t,n){"use strict";var r=n(32),i=n(13),o=[].slice,a={};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),s=function(){var r=n.concat(o.call(arguments));return this instanceof s?function(e,t,n){if(!(t in a)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)}(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t,n){e.exports=n(229)},function(e,t,n){var r=n(230);n(250),n(251),n(252),n(253),n(254),e.exports=r},function(e,t,n){n(231),n(69),n(232),n(234),n(235),n(236),n(237),n(126),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249);var r=n(10);e.exports=r.Symbol},function(e,t,n){"use strict";var r=n(5),i=n(12),o=n(53),a=n(13),s=n(33),l=n(34),c=n(73),u=n(90),h=n(54),d=n(9),f=n(66),p=d("isConcatSpreadable"),A=f>=51||!i(function(){var e=[];return e[p]=!1,e.concat()[0]!==e}),g=h("concat"),v=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,forced:!A||!g},{concat:function(e){var t,n,r,i,o,a=s(this),h=u(a,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(o=-1===t?a:arguments[t],v(o)){if(d+(i=l(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,d++)n in o&&c(h,d,o[n])}else{if(d>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(h,d++,o)}return h.length=d,h}})},function(e,t,n){"use strict";var r=n(5),i=n(8),o=n(28),a=n(39),s=n(15),l=n(84),c=n(106),u=n(12),h=n(16),d=n(53),f=n(13),p=n(20),A=n(33),g=n(27),v=n(59),m=n(37),y=n(62),b=n(63),_=n(124),w=n(233),x=n(125),C=n(75),S=n(18),B=n(58),k=n(17),T=n(50),E=n(79),M=n(60),D=n(49),O=n(61),I=n(9),L=n(95),P=n(11),F=n(42),R=n(43),N=n(29).forEach,H=M("hidden"),j=I("toPrimitive"),U=R.set,Q=R.getterFor("Symbol"),z=Object.prototype,Y=i.Symbol,V=o("JSON","stringify"),G=C.f,W=S.f,X=w.f,Z=B.f,$=E("symbols"),K=E("op-symbols"),J=E("string-to-symbol-registry"),q=E("symbol-to-string-registry"),ee=E("wks"),te=i.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&u(function(){return 7!=y(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=G(z,t);r&&delete z[t],W(e,t,n),r&&e!==z&&W(z,t,r)}:W,ie=function(e,t){var n=$[e]=y(Y.prototype);return U(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},oe=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Y},ae=function(e,t,n){e===z&&ae(K,t,n),p(e);var r=v(t,!0);return p(n),h($,r)?(n.enumerable?(h(e,H)&&e[H][r]&&(e[H][r]=!1),n=y(n,{enumerable:m(0,!1)})):(h(e,H)||W(e,H,m(1,{})),e[H][r]=!0),re(e,r,n)):W(e,r,n)},se=function(e,t){p(e);var n=g(t),r=b(n).concat(he(n));return N(r,function(t){s&&!le.call(n,t)||ae(e,t,n[t])}),e},le=function(e){var t=v(e,!0),n=Z.call(this,t);return!(this===z&&h($,t)&&!h(K,t))&&(!(n||!h(this,t)||!h($,t)||h(this,H)&&this[H][t])||n)},ce=function(e,t){var n=g(e),r=v(t,!0);if(n!==z||!h($,r)||h(K,r)){var i=G(n,r);return!i||!h($,r)||h(n,H)&&n[H][r]||(i.enumerable=!0),i}},ue=function(e){var t=X(g(e)),n=[];return N(t,function(e){h($,e)||h(D,e)||n.push(e)}),n},he=function(e){var t=e===z,n=X(t?K:g(e)),r=[];return N(n,function(e){!h($,e)||t&&!h(z,e)||r.push($[e])}),r};(l||(T((Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=O(e),n=function(e){this===z&&n.call(K,e),h(this,H)&&h(this[H],t)&&(this[H][t]=!1),re(this,t,m(1,e))};return s&&ne&&re(z,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",function(){return Q(this).tag}),T(Y,"withoutSetter",function(e){return ie(O(e),e)}),B.f=le,S.f=ae,C.f=ce,_.f=w.f=ue,x.f=he,L.f=function(e){return ie(I(e),e)},s&&(W(Y.prototype,"description",{configurable:!0,get:function(){return Q(this).description}}),a||T(z,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),N(b(ee),function(e){P(e)}),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(h(J,t))return J[t];var n=Y(t);return J[t]=n,q[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(h(q,e))return q[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(e,t){return void 0===t?y(e):se(y(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ue,getOwnPropertySymbols:he}),r({target:"Object",stat:!0,forced:u(function(){x.f(1)})},{getOwnPropertySymbols:function(e){return x.f(A(e))}}),V)&&r({target:"JSON",stat:!0,forced:!l||u(function(){var e=Y();return"[null]"!=V([e])||"{}"!=V({a:e})||"{}"!=V(Object(e))})},{stringify:function(e,t,n){for(var r,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=t,(f(t)||void 0!==e)&&!oe(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),i[1]=t,V.apply(null,i)}});Y.prototype[j]||k(Y.prototype,j,Y.prototype.valueOf),F(Y,"Symbol"),D[H]=!0},function(e,t,n){var r=n(27),i=n(124).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t,n){n(11)("asyncIterator")},function(e,t){},function(e,t,n){n(11)("hasInstance")},function(e,t,n){n(11)("isConcatSpreadable")},function(e,t,n){n(11)("match")},function(e,t,n){n(11)("matchAll")},function(e,t,n){n(11)("replace")},function(e,t,n){n(11)("search")},function(e,t,n){n(11)("species")},function(e,t,n){n(11)("split")},function(e,t,n){n(11)("toPrimitive")},function(e,t,n){n(11)("toStringTag")},function(e,t,n){n(11)("unscopables")},function(e,t,n){var r=n(8);n(42)(r.JSON,"JSON",!0)},function(e,t){},function(e,t){},function(e,t,n){n(11)("asyncDispose")},function(e,t,n){n(11)("dispose")},function(e,t,n){n(11)("observable")},function(e,t,n){n(11)("patternMatch")},function(e,t,n){n(11)("replaceAll")},function(e,t,n){e.exports=n(256)},function(e,t,n){var r=n(257);e.exports=r},function(e,t,n){n(126),n(51),n(52);var r=n(95);e.exports=r.f("iterator")},function(e,t,n){e.exports=n(259)},function(e,t,n){var r=n(260);e.exports=r},function(e,t,n){n(261);var r=n(10);e.exports=r.parseInt},function(e,t,n){var r=n(5),i=n(262);r({global:!0,forced:parseInt!=i},{parseInt:i})},function(e,t,n){var r=n(8),i=n(92).trim,o=n(72),a=r.parseInt,s=/^[+-]?0[Xx]/,l=8!==a(o+"08")||22!==a(o+"0x16");e.exports=l?function(e,t){var n=i(String(e));return a(n,t>>>0||(s.test(n)?16:10))}:a},function(e,t,n){var r=n(264);e.exports=r},function(e,t,n){var r=n(265),i=Array.prototype;e.exports=function(e){var t=e.slice;return e===i||e instanceof Array&&t===i.slice?r:t}},function(e,t,n){n(266);var r=n(14);e.exports=r("Array").slice},function(e,t,n){"use strict";var r=n(5),i=n(13),o=n(53),a=n(82),s=n(34),l=n(27),c=n(73),u=n(9),h=n(54)("slice"),d=u("species"),f=[].slice,p=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,u,h=l(this),A=s(h.length),g=a(e,A),v=a(void 0===t?A:t,A);if(o(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return f.call(h,g,v);for(r=new(void 0===n?Array:n)(p(v-g,0)),u=0;g<v;g++,u++)g in h&&c(r,u,h[g]);return r.length=u,r}})},function(e,t,n){n(268);var r=n(10);e.exports=r.setTimeout},function(e,t,n){var r=n(5),i=n(8),o=n(67),a=[].slice,s=function(e){return function(t,n){var r=arguments.length>2,i=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(o)},{setTimeout:s(i.setTimeout),setInterval:s(i.setInterval)})},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(270));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(275)),l=a.__importDefault(n(276)),c=a.__importDefault(n(127)),u=a.__importDefault(n(277)),h=a.__importDefault(n(278)),d=a.__importDefault(n(279)),f=a.__importDefault(n(280)),p=a.__importDefault(n(281)),A=a.__importDefault(n(282)),g=a.__importDefault(n(283)),v=(0,o.default)({},s.default,l.default,c.default,h.default,u.default,d.default,f.default,p.default,A.default,g.default,{linkCheck:function(e,t){return!0}});t.default=v},function(e,t,n){e.exports=n(271)},function(e,t,n){var r=n(272);e.exports=r},function(e,t,n){n(273);var r=n(10);e.exports=r.Object.assign},function(e,t,n){var r=n(5),i=n(274);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t,n){"use strict";var r=n(15),i=n(12),o=n(63),a=n(125),s=n(58),l=n(33),c=n(76),u=Object.assign,h=Object.defineProperty;e.exports=!u||i(function(){if(r&&1!==u({b:1},u(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=o(u({},t)).join("")})?function(e,t){for(var n=l(e),i=arguments.length,u=1,h=a.f,d=s.f;i>u;)for(var f,p=c(arguments[u++]),A=h?o(p).concat(h(p)):o(p),g=A.length,v=0;g>v;)f=A[v++],r&&!d.call(p,f)||(n[f]=p[f]);return n}:u},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default={menus:["head","bold","fontSize","fontName","italic","underline","strikeThrough","indent","lineHeight","foreColor","backColor","link","list","todo","justify","quote","emoticon","image","video","table","code","splitLine","undo","redo"],fontNames:["黑体","仿宋","楷体","标楷体","华文仿宋","华文楷体","宋体","微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"],fontSizes:{"x-small":{name:"10px",value:"1"},small:{name:"13px",value:"2"},normal:{name:"16px",value:"3"},large:{name:"18px",value:"4"},"x-large":{name:"24px",value:"5"},"xx-large":{name:"32px",value:"6"},"xxx-large":{name:"48px",value:"7"}},colors:["#000000","#ffffff","#eeece0","#1c487f","#4d80bf","#c24f4a","#8baa4a","#7b5ba1","#46acc8","#f9963b"],languageType:["Bash","C","C#","C++","CSS","Java","JavaScript","JSON","TypeScript","Plain text","Html","XML","SQL","Go","Kotlin","Lua","Markdown","PHP","Python","Shell Session","Ruby"],languageTab:" ",emotions:[{title:"表情",type:"emoji",content:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣".split(/\s/)},{title:"手势",type:"emoji",content:"👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(/\s/)}],lineHeights:["1","1.15","1.6","2","2.5","3"],undoLimit:20,indentation:"2em",showMenuTooltips:!0,menuTooltipPosition:"up"}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(7);t.default={onchangeTimeout:200,onchange:null,onfocus:r.EMPTY_FN,onblur:r.EMPTY_FN,onCatalogChange:null,customAlert:function(e,t,n){window.alert(e),n&&console.error("wangEditor: "+n)}}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default={pasteFilterStyle:!0,pasteIgnoreImg:!1,pasteTextHandle:function(e){return e}}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default={styleWithCSS:!1}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(7);t.default={linkImgCheck:function(e,t,n){return!0},showLinkImg:!0,showLinkImgAlt:!0,showLinkImgHref:!0,linkImgCallback:r.EMPTY_FN,uploadImgAccept:["jpg","jpeg","png","gif","bmp"],uploadImgServer:"",uploadImgShowBase64:!1,uploadImgMaxSize:5242880,uploadImgMaxLength:100,uploadFileName:"",uploadImgParams:{},uploadImgParamsWithUrl:!1,uploadImgHeaders:{},uploadImgHooks:{},uploadImgTimeout:1e4,withCredentials:!1,customUploadImg:null,uploadImgFromMedia:null}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default={focus:!0,height:300,placeholder:"请输入正文",zIndexFullScreen:10002,showFullScreen:!0}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default={lang:"zh-CN",languages:{"zh-CN":{wangEditor:{"重置":"重置","插入":"插入","默认":"默认","创建":"创建","修改":"修改","如":"如","请输入正文":"请输入正文",menus:{title:{"标题":"标题","加粗":"加粗","字号":"字号","字体":"字体","斜体":"斜体","下划线":"下划线","删除线":"删除线","缩进":"缩进","行高":"行高","文字颜色":"文字颜色","背景色":"背景色","链接":"链接","序列":"序列","对齐":"对齐","引用":"引用","表情":"表情","图片":"图片","视频":"视频","表格":"表格","代码":"代码","分割线":"分割线","恢复":"恢复","撤销":"撤销","全屏":"全屏","取消全屏":"取消全屏","待办事项":"待办事项"},dropListMenu:{"设置标题":"设置标题","背景颜色":"背景颜色","文字颜色":"文字颜色","设置字号":"设置字号","设置字体":"设置字体","设置缩进":"设置缩进","对齐方式":"对齐方式","设置行高":"设置行高","序列":"序列",head:{"正文":"正文"},indent:{"增加缩进":"增加缩进","减少缩进":"减少缩进"},justify:{"靠左":"靠左","居中":"居中","靠右":"靠右","两端":"两端"},list:{"无序列表":"无序列表","有序列表":"有序列表"}},panelMenus:{emoticon:{"默认":"默认","新浪":"新浪",emoji:"emoji","手势":"手势"},image:{"上传图片":"上传图片","网络图片":"网络图片","图片地址":"图片地址","图片文字说明":"图片文字说明","跳转链接":"跳转链接"},link:{"链接":"链接","链接文字":"链接文字","取消链接":"取消链接","查看链接":"查看链接"},video:{"插入视频":"插入视频","上传视频":"上传视频"},table:{"行":"行","列":"列","的":"的","表格":"表格","添加行":"添加行","删除行":"删除行","添加列":"添加列","删除列":"删除列","设置表头":"设置表头","取消表头":"取消表头","插入表格":"插入表格","删除表格":"删除表格"},code:{"删除代码":"删除代码","修改代码":"修改代码","插入代码":"插入代码"}}},validate:{"张图片":"张图片","大于":"大于","图片链接":"图片链接","不是图片":"不是图片","返回结果":"返回结果","上传图片超时":"上传图片超时","上传图片错误":"上传图片错误","上传图片失败":"上传图片失败","插入图片错误":"插入图片错误","一次最多上传":"一次最多上传","下载链接失败":"下载链接失败","图片验证未通过":"图片验证未通过","服务器返回状态":"服务器返回状态","上传图片返回结果错误":"上传图片返回结果错误","请替换为支持的图片类型":"请替换为支持的图片类型","您插入的网络图片无法识别":"您插入的网络图片无法识别","您刚才插入的图片链接未通过编辑器校验":"您刚才插入的图片链接未通过编辑器校验","插入视频错误":"插入视频错误","视频链接":"视频链接","不是视频":"不是视频","视频验证未通过":"视频验证未通过","个视频":"个视频","上传视频超时":"上传视频超时","上传视频错误":"上传视频错误","上传视频失败":"上传视频失败","上传视频返回结果错误":"上传视频返回结果错误"}}},en:{wangEditor:{"重置":"reset","插入":"insert","默认":"default","创建":"create","修改":"edit","如":"like","请输入正文":"please enter the text",menus:{title:{"标题":"head","加粗":"bold","字号":"font size","字体":"font family","斜体":"italic","下划线":"underline","删除线":"strikethrough","缩进":"indent","行高":"line heihgt","文字颜色":"font color","背景色":"background","链接":"link","序列":"numbered list","对齐":"align","引用":"quote","表情":"emoticons","图片":"image","视频":"media","表格":"table","代码":"code","分割线":"split line","恢复":"undo","撤销":"redo","全屏":"fullscreen","取消全屏":"cancel fullscreen","待办事项":"todo"},dropListMenu:{"设置标题":"title","背景颜色":"background","文字颜色":"font color","设置字号":"font size","设置字体":"font family","设置缩进":"indent","对齐方式":"align","设置行高":"line heihgt","序列":"list",head:{"正文":"text"},indent:{"增加缩进":"indent","减少缩进":"outdent"},justify:{"靠左":"left","居中":"center","靠右":"right","两端":"justify"},list:{"无序列表":"unordered","有序列表":"ordered"}},panelMenus:{emoticon:{"表情":"emoji","手势":"gesture"},image:{"上传图片":"upload image","网络图片":"network image","图片地址":"image link","图片文字说明":"image alt","跳转链接":"hyperlink"},link:{"链接":"link","链接文字":"link text","取消链接":"unlink","查看链接":"view links"},video:{"插入视频":"insert video","上传视频":"upload local video"},table:{"行":"rows","列":"columns","的":" ","表格":"table","添加行":"insert row","删除行":"delete row","添加列":"insert column","删除列":"delete column","设置表头":"set header","取消表头":"cancel header","插入表格":"insert table","删除表格":"delete table"},code:{"删除代码":"delete code","修改代码":"edit code","插入代码":"insert code"}}},validate:{"张图片":"images","大于":"greater than","图片链接":"image link","不是图片":"is not image","返回结果":"return results","上传图片超时":"upload image timeout","上传图片错误":"upload image error","上传图片失败":"upload image failed","插入图片错误":"insert image error","一次最多上传":"once most at upload","下载链接失败":"download link failed","图片验证未通过":"image validate failed","服务器返回状态":"server return status","上传图片返回结果错误":"upload image return results error","请替换为支持的图片类型":"please replace with a supported image type","您插入的网络图片无法识别":"the network picture you inserted is not recognized","您刚才插入的图片链接未通过编辑器校验":"the image link you just inserted did not pass the editor verification","插入视频错误":"insert video error","视频链接":"video link","不是视频":"is not video","视频验证未通过":"video validate failed","个视频":"videos","上传视频超时":"upload video timeout","上传视频错误":"upload video error","上传视频失败":"upload video failed","上传视频返回结果错误":"upload video return results error"}}}}}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(6);t.default={compatibleMode:function(){return!(!r.UA.isIE()&&!r.UA.isOldEdge)},historyMaxSize:30}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(7);t.default={onlineVideoCheck:function(e){return!0},onlineVideoCallback:r.EMPTY_FN,showLinkVideo:!0,uploadVideoAccept:["mp4"],uploadVideoServer:"",uploadVideoMaxSize:1073741824,uploadVideoName:"",uploadVideoParams:{},uploadVideoParamsWithUrl:!1,uploadVideoHeaders:{},uploadVideoHooks:{},uploadVideoTimeout:72e5,withVideoCredentials:!1,customUploadVideo:null,customInsertVideo:null}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(19));(0,i.default)(t,"__esModule",{value:!0});var a=n(2).__importDefault(n(3)),s=n(6),l=n(7),c=function(){function e(e){this._currentRange=null,this.editor=e}return e.prototype.getRange=function(){return this._currentRange},e.prototype.saveRange=function(e){if(e)this._currentRange=e;else{var t=window.getSelection();if(0!==t.rangeCount){var n=t.getRangeAt(0),r=this.getSelectionContainerElem(n);if((null===r||void 0===r?void 0:r.length)&&"false"!==r.attr("contenteditable")&&!r.parentUntil("[contenteditable=false]")){var i=this.editor,a=i.$textElem;if(a.isContain(r)){var s;if(a.elems[0]===r.elems[0])if((0,o.default)(s=a.html()).call(s)===l.EMPTY_P){var c=a.children(),u=null===c||void 0===c?void 0:c.last();i.selection.createRangeByElem(u,!0,!0),i.selection.restoreSelection()}this._currentRange=n}}}}},e.prototype.collapseRange=function(e){void 0===e&&(e=!1);var t=this._currentRange;t&&t.collapse(e)},e.prototype.getSelectionText=function(){var e=this._currentRange;return e?e.toString():""},e.prototype.getSelectionContainerElem=function(e){var t,n;if(t=e||this._currentRange)return n=t.commonAncestorContainer,a.default(1===n.nodeType?n:n.parentNode)},e.prototype.getSelectionStartElem=function(e){var t,n;if(t=e||this._currentRange)return n=t.startContainer,a.default(1===n.nodeType?n:n.parentNode)},e.prototype.getSelectionEndElem=function(e){var t,n;if(t=e||this._currentRange)return n=t.endContainer,a.default(1===n.nodeType?n:n.parentNode)},e.prototype.isSelectionEmpty=function(){var e=this._currentRange;return!(!e||!e.startContainer||e.startContainer!==e.endContainer||e.startOffset!==e.endOffset)},e.prototype.restoreSelection=function(){var e=window.getSelection(),t=this._currentRange;e&&t&&(e.removeAllRanges(),e.addRange(t))},e.prototype.createEmptyRange=function(){var e,t=this.editor,n=this.getRange();if(n&&this.isSelectionEmpty())try{s.UA.isWebkit()?(t.cmd.do("insertHTML","​"),n.setEnd(n.endContainer,n.endOffset+1),this.saveRange(n)):(e=a.default("<strong>​</strong>"),t.cmd.do("insertElem",e),this.createRangeByElem(e,!0))}catch(e){}},e.prototype.createRangeByElems=function(e,t){var n=window.getSelection?window.getSelection():document.getSelection();null===n||void 0===n||n.removeAllRanges();var r=document.createRange();r.setStart(e,0),r.setEnd(t,t.childNodes.length||1),this.saveRange(r),this.restoreSelection()},e.prototype.createRangeByElem=function(e,t,n){if(e.length){var r=e.elems[0],i=document.createRange();n?i.selectNodeContents(r):i.selectNode(r),null!=t&&(i.collapse(t),t||(this.saveRange(i),this.editor.selection.moveCursor(r))),this.saveRange(i)}},e.prototype.getSelectionRangeTopNodes=function(){var e,t,n=null===(e=this.getSelectionStartElem())||void 0===e?void 0:e.getNodeTop(this.editor),r=null===(t=this.getSelectionEndElem())||void 0===t?void 0:t.getNodeTop(this.editor);return this.recordSelectionNodes(a.default(n),a.default(r))},e.prototype.moveCursor=function(e,t){var n,r=this.getRange(),i=3===e.nodeType?null===(n=e.nodeValue)||void 0===n?void 0:n.length:e.childNodes.length;(s.UA.isFirefox||s.UA.isIE())&&0!==i&&(3!==e.nodeType&&"BR"!==e.childNodes[i-1].nodeName||(i-=1));var o=null!==t&&void 0!==t?t:i;r&&e&&(r.setStart(e,o),r.setEnd(e,o),this.restoreSelection())},e.prototype.getCursorPos=function(){var e=window.getSelection();return null===e||void 0===e?void 0:e.anchorOffset},e.prototype.clearWindowSelectionRange=function(){var e=window.getSelection();e&&e.removeAllRanges()},e.prototype.recordSelectionNodes=function(e,t){for(var n=[],r=e,i=this.editor.$textElem,o=!0;o;){var s=null===r||void 0===r?void 0:r.getNodeTop(this.editor);"BODY"===s.getNodeName()&&(o=!1),s.length>0&&(n.push(a.default(r)),(null===t||void 0===t?void 0:t.equal(s))||i.equal(s)?o=!1:r=s.getNextSibling())}return n},e.prototype.setRangeToElem=function(e){var t=this.getRange();null===t||void 0===t||t.setStart(e,0),null===t||void 0===t||t.setEnd(e,0)},e}();t.default=c},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2).__importDefault(n(3)),i=function(){function e(e){this.editor=e}return e.prototype.do=function(e,t){var n=this.editor;n.config.styleWithCSS&&document.execCommand("styleWithCSS",!1,"true");var r=n.selection;if(r.getRange()){switch(r.restoreSelection(),e){case"insertHTML":this.insertHTML(t);break;case"insertElem":this.insertElem(t);break;default:this.execCommand(e,t)}n.menus.changeActive(),r.saveRange(),r.restoreSelection()}},e.prototype.insertHTML=function(e){var t=this.editor,n=t.selection.getRange();if(null!=n)if(this.queryCommandSupported("insertHTML"))this.execCommand("insertHTML",e);else if(n.insertNode){if(n.deleteContents(),r.default(e).elems.length>0)n.insertNode(r.default(e).elems[0]);else{var i=document.createElement("p");i.appendChild(document.createTextNode(e)),n.insertNode(i)}t.selection.collapseRange()}},e.prototype.insertElem=function(e){var t=this.editor.selection.getRange();null!=t&&t.insertNode&&(t.deleteContents(),t.insertNode(e.elems[0]))},e.prototype.execCommand=function(e,t){document.execCommand(e,!1,t)},e.prototype.queryCommandValue=function(e){return document.queryCommandValue(e)},e.prototype.queryCommandState=function(e){return document.queryCommandState(e)},e.prototype.queryCommandSupported=function(e){return document.queryCommandSupported(e)},e}();t.default=i},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(30)),a=r(n(4)),s=r(n(19)),l=r(n(26)),c=r(n(45));(0,i.default)(t,"__esModule",{value:!0});var u=n(2),h=u.__importDefault(n(3)),d=u.__importDefault(n(291)),f=n(6),p=u.__importDefault(n(303)),A=u.__importDefault(n(304)),g=n(7),v=function(){function e(e){this.editor=e,this.eventHooks={onBlurEvents:[],changeEvents:[],dropEvents:[],clickEvents:[],keydownEvents:[],keyupEvents:[],tabUpEvents:[],tabDownEvents:[],enterUpEvents:[],enterDownEvents:[],deleteUpEvents:[],deleteDownEvents:[],pasteEvents:[],linkClickEvents:[],codeClickEvents:[],textScrollEvents:[],toolbarClickEvents:[],imgClickEvents:[],imgDragBarMouseDownEvents:[],tableClickEvents:[],menuClickEvents:[],dropListMenuHoverEvents:[],splitLineEvents:[],videoClickEvents:[]}}return e.prototype.init=function(){this._saveRange(),this._bindEventHooks(),d.default(this)},e.prototype.togglePlaceholder=function(){var e,t=this.html(),n=(0,o.default)(e=this.editor.$textContainerElem).call(e,".placeholder");n.hide(),this.editor.isComposing||t&&" "!==t||n.show()},e.prototype.clear=function(){this.html(g.EMPTY_P)},e.prototype.html=function(e){var t=this.editor,n=t.$textElem;if(null==e){var r=n.html(),i=(r=(r=(r=(r=r.replace(/\u200b/gm,"")).replace(/<p><\/p>/gim,"")).replace(g.EMPTY_P_LAST_REGEX,"")).replace(g.EMPTY_P_REGEX,"<p>")).match(/<(img|br|hr|input)[^>]*>/gi);return null!==i&&(0,a.default)(i).call(i,function(e){e.match(/\/>/)||(r=r.replace(e,e.substring(0,e.length-1)+"/>"))}),r}""===(e=(0,s.default)(e).call(e))&&(e=g.EMPTY_P),0!==(0,l.default)(e).call(e,"<")&&(e="<p>"+e+"</p>"),n.html(e),t.initSelection()},e.prototype.setJSON=function(e){var t=A.default(e).children(),n=this.editor.$textElem;t&&n.replaceChildAll(t)},e.prototype.getJSON=function(){var e=this.editor.$textElem;return p.default(e)},e.prototype.text=function(e){var t=this.editor,n=t.$textElem;if(null==e){var r=n.text();return r=r.replace(/\u200b/gm,"")}n.text("<p>"+e+"</p>"),t.initSelection()},e.prototype.append=function(e){var t=this.editor;0!==(0,l.default)(e).call(e,"<")&&(e="<p>"+e+"</p>"),this.html(this.html()+e),t.initSelection()},e.prototype._saveRange=function(){var e=this.editor,t=e.$textElem,n=h.default(document);function r(){e.selection.saveRange(),e.menus.changeActive()}function i(){r(),n.off("mouseup",i)}function o(){n.on("mouseup",i),t.off("mouseleave",o)}t.on("keyup",r),t.on("click",function e(){r(),t.off("click",e)}),t.on("mousedown",function(){t.on("mouseleave",o)}),t.on("mouseup",function(n){t.off("mouseleave",o),(0,c.default)(function(){null!==e.selection.getRange()&&r()},0)})},e.prototype._bindEventHooks=function(){var e=this.editor,t=e.$textElem,n=this.eventHooks;function r(e){e.preventDefault()}t.on("click",function(e){var t=n.clickEvents;(0,a.default)(t).call(t,function(t){return t(e)})}),t.on("keyup",function(e){if(13===e.keyCode){var t=n.enterUpEvents;(0,a.default)(t).call(t,function(t){return t(e)})}}),t.on("keyup",function(e){var t=n.keyupEvents;(0,a.default)(t).call(t,function(t){return t(e)})}),t.on("keydown",function(e){var t=n.keydownEvents;(0,a.default)(t).call(t,function(t){return t(e)})}),t.on("keyup",function(e){if(8===e.keyCode){var t=n.deleteUpEvents;(0,a.default)(t).call(t,function(t){return t(e)})}}),t.on("keydown",function(e){if(8===e.keyCode){var t=n.deleteDownEvents;(0,a.default)(t).call(t,function(t){return t(e)})}}),t.on("paste",function(e){if(!f.UA.isIE()){e.preventDefault();var t=n.pasteEvents;(0,a.default)(t).call(t,function(t){return t(e)})}}),t.on("keydown",function(t){(e.isFocus||e.isCompatibleMode)&&(t.ctrlKey||t.metaKey)&&90===t.keyCode&&(t.preventDefault(),t.shiftKey?e.history.restore():e.history.revoke())}),t.on("keyup",function(e){if(9===e.keyCode){e.preventDefault();var t=n.tabUpEvents;(0,a.default)(t).call(t,function(t){return t(e)})}}),t.on("keydown",function(e){if(9===e.keyCode){e.preventDefault();var t=n.tabDownEvents;(0,a.default)(t).call(t,function(t){return t(e)})}}),t.on("scroll",f.throttle(function(e){var t=n.textScrollEvents;(0,a.default)(t).call(t,function(t){return t(e)})},100)),h.default(document).on("dragleave",r).on("drop",r).on("dragenter",r).on("dragover",r),e.beforeDestroy(function(){h.default(document).off("dragleave",r).off("drop",r).off("dragenter",r).off("dragover",r)}),t.on("drop",function(e){e.preventDefault();var t=n.dropEvents;(0,a.default)(t).call(t,function(t){return t(e)})}),t.on("click",function(e){var t=null,r=e.target,i=h.default(r);if("A"===i.getNodeName())t=i;else{var o=i.parentUntil("a");null!=o&&(t=o)}if(t){var s=n.linkClickEvents;(0,a.default)(s).call(s,function(e){return e(t)})}}),t.on("click",function(e){var t=null,r=e.target,i=h.default(r);if("IMG"!==i.getNodeName()||i.elems[0].getAttribute("data-emoji")||(e.stopPropagation(),t=i),t){var o=n.imgClickEvents;(0,a.default)(o).call(o,function(e){return e(t)})}}),t.on("click",function(e){var t=null,r=e.target,i=h.default(r);if("PRE"===i.getNodeName())t=i;else{var o=i.parentUntil("pre");null!==o&&(t=o)}if(t){var s=n.codeClickEvents;(0,a.default)(s).call(s,function(e){return e(t)})}}),t.on("click",function(t){var r=null,i=t.target,o=h.default(i);if("HR"===o.getNodeName()&&(r=o),r){e.selection.createRangeByElem(r),e.selection.restoreSelection();var s=n.splitLineEvents;(0,a.default)(s).call(s,function(e){return e(r)})}}),e.$toolbarElem.on("click",function(e){var t=n.toolbarClickEvents;(0,a.default)(t).call(t,function(t){return t(e)})}),e.$textContainerElem.on("mousedown",function(e){var t=e.target;if(h.default(t).hasClass("w-e-img-drag-rb")){var r=n.imgDragBarMouseDownEvents;(0,a.default)(r).call(r,function(e){return e()})}}),t.on("click",function(t){var r,i=t.target;if(r=h.default(i).parentUntilEditor("TABLE",e,i)){var o=n.tableClickEvents;(0,a.default)(o).call(o,function(e){return e(r)})}}),t.on("keydown",function(e){if(13===e.keyCode){var t=n.enterDownEvents;(0,a.default)(t).call(t,function(t){return t(e)})}}),t.on("click",function(e){var t=null,r=e.target,i=h.default(r);if("VIDEO"===i.getNodeName()&&(e.stopPropagation(),t=i),t){var o=n.videoClickEvents;(0,a.default)(o).call(o,function(e){return e(t)})}})},e}();t.default=v},function(e,t,n){var r=n(288);e.exports=r},function(e,t,n){var r=n(289),i=Array.prototype;e.exports=function(e){var t=e.find;return e===i||e instanceof Array&&t===i.find?r:t}},function(e,t,n){n(290);var r=n(14);e.exports=r("Array").find},function(e,t,n){"use strict";var r=n(5),i=n(29).find,o=n(89),a=!0;"find"in[]&&Array(1).find(function(){a=!1}),r({target:"Array",proto:!0,forced:a},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("find")},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(292)),o=r.__importDefault(n(293)),a=r.__importDefault(n(294)),s=r.__importDefault(n(295)),l=r.__importDefault(n(302));t.default=function(e){var t=e.editor,n=e.eventHooks;i.default(t,n.enterUpEvents,n.enterDownEvents),o.default(t,n.deleteUpEvents,n.deleteDownEvents),a.default(t,n.tabDownEvents),s.default(t,n.pasteEvents),l.default(t,n.imgClickEvents)}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(26));(0,i.default)(t,"__esModule",{value:!0});var a=n(2).__importDefault(n(3));t.default=function(e,t,n){function r(t){var n,r=a.default("<p><br></p>");r.insertBefore(t),(0,o.default)(n=t.html()).call(n,"<img")>=0?r.remove():(e.selection.createRangeByElem(r,!0,!0),e.selection.restoreSelection(),t.remove())}t.push(function(){var t=e.$textElem,n=e.selection.getSelectionContainerElem(),i=n.parent();"<code><br></code>"!==i.html()?i.equal(t)&&("P"===n.getNodeName()&&null===n.attr("data-we-empty-p")||n.text()||r(n)):r(n)}),n.push(function(t){var n;e.selection.saveRange(null===(n=getSelection())||void 0===n?void 0:n.getRangeAt(0)),e.selection.getSelectionContainerElem().id===e.textElemId&&(t.preventDefault(),e.cmd.do("insertHTML","<p><br></p>"))})}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(19));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=n(7),l=a.__importDefault(n(3));t.default=function(e,t,n){t.push(function(){var t,n=e.$textElem,r=(0,o.default)(t=n.html().toLowerCase()).call(t);if(!r||"<br>"===r){var i=l.default(s.EMPTY_P);n.html(" "),n.append(i),e.selection.createRangeByElem(i,!1,!0),e.selection.restoreSelection(),e.selection.moveCursor(i.getNode(),0)}}),n.push(function(t){var n,r=e.$textElem;(0,o.default)(n=r.html().toLowerCase()).call(n)!==s.EMPTY_P||t.preventDefault()})}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default=function(e,t){t.push(function(){if(e.cmd.queryCommandSupported("insertHTML")){var t=e.selection.getSelectionContainerElem();if(t){var n=t.parent(),r=t.getNodeName(),i=n.getNodeName();"CODE"==r||"CODE"===i||"PRE"===i||/hljs/.test(i)?e.cmd.do("insertHTML",e.config.languageTab):e.cmd.do("insertHTML"," ")}}})}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(19));(0,i.default)(t,"__esModule",{value:!0});var a=n(128),s=n(6),l=n(7);function c(e){var t=e;return t=(t=t.replace(/<div>/gim,"<p>").replace(/<\/div>/gim,"</p>")).replace(/<p><\/p>/gim,"<p><br></p>"),(0,o.default)(t).call(t)}t.default=function(e,t){t.push(function(t){var n=e.config,r=n.pasteFilterStyle,i=n.pasteIgnoreImg,o=n.pasteTextHandle,u=a.getPasteHtml(t,r,i),h=a.getPasteText(t);h=h.replace(/\n/gm,"<br>");var d=e.selection.getSelectionContainerElem();if(d){var f,p=null===d||void 0===d?void 0:d.getNodeName(),A=null===d||void 0===d?void 0:d.getNodeTop(e),g="";if(A.elems[0]&&(g=null===A||void 0===A?void 0:A.getNodeName()),"CODE"===p||"PRE"===g)return o&&s.isFunction(o)&&(h=""+(o(h)||"")),void e.cmd.do("insertHTML",(f=h,f.replace(/<br>|<br\/>/gm,"\n").replace(/<[^>]+>/gm,"")));if(l.urlRegex.test(h)&&r)return o&&s.isFunction(o)&&(h=""+(o(h)||"")),e.cmd.do("insertHTML",'<a href="'+h+'" target="_blank">'+h+"</a>");if(u)try{if(o&&s.isFunction(o)&&(u=""+(o(u)||"")),/[\.\#\@]?\w+[ ]+\{[^}]*\}/.test(u)&&r)e.cmd.do("insertHTML",""+c(h));else{var v=c(u);if(function(e){var t;if(""===e)return!1;var n=document.createElement("div");return n.innerHTML=e,"P"===(null===(t=n.firstChild)||void 0===t?void 0:t.nodeName)}(v)){var m=e.$textElem;if(e.cmd.do("insertHTML",v),m.equal(d))return void e.selection.createEmptyRange();(function(e){if(!(null===e||void 0===e?void 0:e.length))return!1;var t=e.elems[0];return"P"===t.nodeName&&"<br>"===t.innerHTML})(A)&&A.remove()}else e.cmd.do("insertHTML",v)}}catch(t){o&&s.isFunction(o)&&(h=""+(o(h)||"")),e.cmd.do("insertHTML",""+c(h))}}})}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(19)),a=r(n(4)),s=r(n(55));(0,i.default)(t,"__esModule",{value:!0});var l=n(2),c=n(297),u=l.__importDefault(n(301));function h(e,t){var n;return e=(0,o.default)(n=e.toLowerCase()).call(n),!!c.IGNORE_TAGS.has(e)||!(!t||"img"!==e)}t.default=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var r=[],i="";(new u.default).parse(e,{startElement:function(e,l){if(function(e){(e=(0,o.default)(e).call(e))&&(c.EMPTY_TAGS.has(e)||(i=e))}(e),!h(e,n)){var u=c.NECESSARY_ATTRS.get(e)||[],d=[];(0,a.default)(l).call(l,function(e){var n=e.name;"style"!==n?!1!==(0,s.default)(u).call(u,n)&&d.push(e):t||d.push(e)});var f=function(e,t){var n="";n="<"+e;var r=[];return(0,a.default)(t).call(t,function(e){r.push(e.name+'="'+e.value+'"')}),r.length>0&&(n=n+" "+r.join(" ")),n=n+(c.EMPTY_TAGS.has(e)?"/":"")+">"}(e,d);r.push(f)}},characters:function(e){e&&(h(i,n)||r.push(e))},endElement:function(e){if(!h(e,n)){var t=function(e){return"</"+e+">"}(e);r.push(t),i=""}},comment:function(e){}});var l=r.join("");return l=function(e){var t=/<span>(.*?)<\/span>/;return e.replace(/<span>.*?<\/span>/gi,function(e){var n=e.match(t);return null==n?"":n[1]})}(l)}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(129)),a=r(n(120));(0,i.default)(t,"__esModule",{value:!0}),t.TOP_LEVEL_TAGS=t.EMPTY_TAGS=t.NECESSARY_ATTRS=t.IGNORE_TAGS=void 0,t.IGNORE_TAGS=new o.default(["doctype","!doctype","html","head","meta","body","script","style","link","frame","iframe","title","svg","center","o:p"]),t.NECESSARY_ATTRS=new a.default([["img",["src","alt"]],["a",["href","target"]],["td",["colspan","rowspan"]],["th",["colspan","rowspan"]]]),t.EMPTY_TAGS=new o.default(["area","base","basefont","br","col","hr","img","input","isindex","embed"]),t.TOP_LEVEL_TAGS=new o.default(["h1","h2","h3","h4","h5","p","ul","ol","table","blockquote","pre","hr","form"])},function(e,t,n){var r=n(299);e.exports=r},function(e,t,n){n(300),n(69),n(51),n(52);var r=n(10);e.exports=r.Set},function(e,t,n){"use strict";var r=n(121),i=n(123);e.exports=r("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},i)},function(e,t){function n(){}n.prototype={handler:null,startTagRe:/^<([^>\s\/]+)((\s+[^=>\s]+(\s*=\s*((\"[^"]*\")|(\'[^']*\')|[^>\s]+))?)*)\s*\/?\s*>/m,endTagRe:/^<\/([^>\s]+)[^>]*>/m,attrRe:/([^=\s]+)(\s*=\s*((\"([^"]*)\")|(\'([^']*)\')|[^>\s]+))?/gm,parse:function(e,t){t&&(this.contentHandler=t);for(var n,r,i,o=!1,a=this;e.length>0;)"\x3c!--"==e.substring(0,4)?-1!=(i=e.indexOf("--\x3e"))?(this.contentHandler.comment(e.substring(4,i)),e=e.substring(i+3),o=!1):o=!0:"</"==e.substring(0,2)?this.endTagRe.test(e)?(RegExp.leftContext,n=RegExp.lastMatch,r=RegExp.rightContext,n.replace(this.endTagRe,function(){return a.parseEndTag.apply(a,arguments)}),e=r,o=!1):o=!0:"<"==e.charAt(0)&&(this.startTagRe.test(e)?(RegExp.leftContext,n=RegExp.lastMatch,r=RegExp.rightContext,n.replace(this.startTagRe,function(){return a.parseStartTag.apply(a,arguments)}),e=r,o=!1):o=!0),o&&(-1==(i=e.indexOf("<"))?(this.contentHandler.characters(e),e=""):(this.contentHandler.characters(e.substring(0,i)),e=e.substring(i))),o=!0},parseStartTag:function(e,t,n){var r=this.parseAttributes(t,n);this.contentHandler.startElement(t,r)},parseEndTag:function(e,t){this.contentHandler.endElement(t)},parseAttributes:function(e,t){var n=this,r=[];return t.replace(this.attrRe,function(t,i,o,a,s,l,c,u){r.push(n.parseAttribute(e,t,i,o,a,s,l,c,u))}),r},parseAttribute:function(e,t,n){var r="";return arguments[7]?r=arguments[8]:arguments[5]?r=arguments[6]:arguments[3]&&(r=arguments[4]),{name:n,value:!r&&!arguments[3]?null:r}}},e.exports=n},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default=function(e,t){t.push(function(t){e.selection.createRangeByElem(t),e.selection.restoreSelection()})}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=n(6),l=a.__importDefault(n(3));t.default=function e(t){var n=[],r=t.childNodes()||[];return(0,o.default)(r).call(r,function(t){var r,i=t.nodeType;if(3===i&&(r=t.textContent||"",r=s.replaceHtmlSymbol(r)),1===i){(r=r={}).tag=t.nodeName.toLowerCase();for(var o=[],a=t.attributes,c=a.length||0,u=0;u<c;u++){var h=a[u];o.push({name:h.name,value:h.value})}r.attrs=o,r.children=e(l.default(t))}r&&n.push(r)}),n}},function(e,t,n){"use strict";var r=n(0),i=r(n(94)),o=r(n(1)),a=r(n(4));(0,o.default)(t,"__esModule",{value:!0});var s=n(2).__importDefault(n(3));t.default=function e(t,n){void 0===n&&(n=document.createElement("div"));var r=n;return(0,a.default)(t).call(t,function(t){var n,o;"string"==typeof t&&(n=document.createTextNode(t)),"object"===(0,i.default)(t)&&(n=document.createElement(t.tag),(0,a.default)(o=t.attrs).call(o,function(e){s.default(n).attr(e.name,e.value)}),t.children&&t.children.length>0&&e(t.children,n.getRootNode())),n&&r.appendChild(n)}),s.default(r)}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(91)),a=r(n(74)),s=r(n(55)),l=r(n(4)),c=r(n(130)),u=r(n(131)),h=r(n(45)),d=r(n(56));(0,i.default)(t,"__esModule",{value:!0});var f=n(2),p=f.__importDefault(n(119)),A=f.__importDefault(n(314)),g=f.__importDefault(n(3)),v=function(){function e(e){this.editor=e,this.menuList=[],this.constructorList=A.default}return e.prototype.extend=function(e,t){t&&"function"==typeof t&&(this.constructorList[e]=t)},e.prototype.init=function(){var e,t,n=this,r=this.editor.config,i=r.excludeMenus;!1===(0,o.default)(i)&&(i=[]),r.menus=(0,a.default)(e=r.menus).call(e,function(e){return!1===(0,s.default)(i).call(i,e)}),(0,l.default)(t=r.menus).call(t,function(e){var t=n.constructorList[e];n._initMenuList(e,t)});for(var u=0,h=(0,c.default)(p.default.globalCustomMenuConstructorList);u<h.length;u++){var d=h[u],f=d[0],A=d[1];this._initMenuList(f,A)}this._addToToolbar(),r.showMenuTooltips&&this._bindMenuTooltips()},e.prototype._initMenuList=function(e,t){var n;if(null!=t&&"function"==typeof t)if((0,u.default)(n=this.menuList).call(n,function(t){return t.key===e}))console.warn("菜单名称重复:"+e);else{var r=new t(this.editor);r.key=e,this.menuList.push(r)}},e.prototype._bindMenuTooltips=function(){var e=this.editor,t=e.$toolbarElem,n=e.config.menuTooltipPosition,r=g.default('<div class="w-e-menu-tooltip w-e-menu-tooltip-'+n+'">\n <div class="w-e-menu-tooltip-item-wrapper">\n <div></div>\n </div>\n </div>');r.css("visibility","hidden"),t.append(r),r.css("z-index",e.zIndex.get("tooltip"));var i=0;function o(){i&&clearTimeout(i)}function a(){o(),r.css("visibility","hidden")}t.on("mouseover",function(s){var l,c,u=s.target,d=g.default(u);if(d.isContain(t))a();else{if(null!=d.parentUntil(".w-e-droplist"))a();else if(d.attr("data-title"))l=d.attr("data-title"),c=d;else{var f=d.parentUntil(".w-e-menu");null!=f&&(l=f.attr("data-title"),c=f)}if(l&&c){o();var p=c.getOffsetData();r.text(e.i18next.t("menus.title."+l));var A=r.getOffsetData(),v=p.left+p.width/2-A.width/2;r.css("left",v+"px"),"up"===n?r.css("top",p.top-A.height-8+"px"):"down"===n&&r.css("top",p.top+p.height+8+"px"),i=(0,h.default)(function(){r.css("visibility","visible")},200)}else a()}}).on("mouseleave",function(){a()})},e.prototype._addToToolbar=function(){var e,t=this.editor.$toolbarElem;(0,l.default)(e=this.menuList).call(e,function(e){var n=e.$elem;n&&t.append(n)})},e.prototype.menuFind=function(e){for(var t=this.menuList,n=0,r=t.length;n<r;n++)if(t[n].key===e)return t[n];return t[0]},e.prototype.changeActive=function(){var e;(0,l.default)(e=this.menuList).call(e,function(e){var t;(0,h.default)((0,d.default)(t=e.tryChangeActive).call(t,e),100)})},e}();t.default=v},function(e,t,n){var r=n(307);e.exports=r},function(e,t,n){n(308);var r=n(10);e.exports=r.Object.entries},function(e,t,n){var r=n(5),i=n(309).entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},function(e,t,n){var r=n(15),i=n(63),o=n(27),a=n(58).f,s=function(e){return function(t){for(var n,s=o(t),l=i(s),c=l.length,u=0,h=[];c>u;)n=l[u++],r&&!a.call(s,n)||h.push(e?[n,s[n]]:s[n]);return h}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,n){var r=n(311);e.exports=r},function(e,t,n){var r=n(312),i=Array.prototype;e.exports=function(e){var t=e.some;return e===i||e instanceof Array&&t===i.some?r:t}},function(e,t,n){n(313);var r=n(14);e.exports=r("Array").some},function(e,t,n){"use strict";var r=n(5),i=n(29).some;r({target:"Array",proto:!0,forced:!n(71)("some")},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(315)),o=r.__importDefault(n(316)),a=r.__importDefault(n(321)),s=r.__importDefault(n(326)),l=r.__importDefault(n(327)),c=r.__importDefault(n(328)),u=r.__importDefault(n(329)),h=r.__importDefault(n(331)),d=r.__importDefault(n(333)),f=r.__importDefault(n(334)),p=r.__importDefault(n(337)),A=r.__importDefault(n(338)),g=r.__importDefault(n(339)),v=r.__importDefault(n(350)),m=r.__importDefault(n(364)),y=r.__importDefault(n(368)),b=r.__importDefault(n(136)),_=r.__importDefault(n(377)),w=r.__importDefault(n(379)),x=r.__importDefault(n(380)),C=r.__importDefault(n(381)),S=r.__importDefault(n(401)),B=r.__importDefault(n(406)),k=r.__importDefault(n(409));t.default={bold:i.default,head:o.default,italic:s.default,link:a.default,underline:l.default,strikeThrough:c.default,fontName:u.default,fontSize:h.default,justify:d.default,quote:f.default,backColor:p.default,foreColor:A.default,video:g.default,image:v.default,indent:m.default,emoticon:y.default,list:b.default,lineHeight:_.default,undo:w.default,redo:x.default,table:C.default,code:S.default,splitLine:B.default,todo:k.default}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(23)),o=r.__importDefault(n(3)),a=function(e){function t(t){var n=o.default('<div class="w-e-menu" data-title="加粗">\n <i class="w-e-icon-bold"></i>\n </div>');return e.call(this,n,t)||this}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd.do("bold"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){this.editor.cmd.queryCommandState("bold")?this.active():this.unActive()},t}(i.default);t.default=a},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(26)),a=r(n(30)),s=r(n(4)),l=r(n(317)),c=r(n(55));(0,i.default)(t,"__esModule",{value:!0});var u=n(2),h=u.__importDefault(n(24)),d=u.__importDefault(n(3)),f=n(6),p=n(7),A=function(e){function t(t){var n=this,r=d.default('<div class="w-e-menu" data-title="标题"><i class="w-e-icon-header"></i></div>'),i={width:100,title:"设置标题",type:"list",list:[{$elem:d.default("<h1>H1</h1>"),value:"<h1>"},{$elem:d.default("<h2>H2</h2>"),value:"<h2>"},{$elem:d.default("<h3>H3</h3>"),value:"<h3>"},{$elem:d.default("<h4>H4</h4>"),value:"<h4>"},{$elem:d.default("<h5>H5</h5>"),value:"<h5>"},{$elem:d.default("<p>"+t.i18next.t("menus.dropListMenu.head.正文")+"</p>"),value:"<p>"}],clickHandler:function(e){n.command(e)}};return n=e.call(this,r,t,i)||this,t.config.onCatalogChange&&(n.oldCatalogs=[],n.addListenerCatalog(),n.getCatalogs()),n}return u.__extends(t,e),t.prototype.command=function(e){var t=this.editor,n=t.selection.getSelectionContainerElem();if(n&&t.$textElem.equal(n))this.setMultilineHead(e);else{var r;if((0,o.default)(r=["OL","UL","LI","TABLE","TH","TR","CODE","HR"]).call(r,d.default(n).getNodeName())>-1)return;t.cmd.do("formatBlock",e)}"<p>"!==e&&this.addUidForSelectionElem()},t.prototype.addUidForSelectionElem=function(){var e=this.editor.selection.getSelectionContainerElem(),t=f.getRandomCode();d.default(e).attr("id",t)},t.prototype.addListenerCatalog=function(){var e=this;this.editor.txt.eventHooks.changeEvents.push(function(){e.getCatalogs()})},t.prototype.getCatalogs=function(){var e=this.editor,t=this.editor.$textElem,n=e.config.onCatalogChange,r=(0,a.default)(t).call(t,"h1,h2,h3,h4,h5"),i=[];(0,s.default)(r).call(r,function(e,t){var n=d.default(e),r=n.attr("id"),o=n.getNodeName(),a=n.text();r||(r=f.getRandomCode(),n.attr("id",r)),a&&i.push({tag:o,id:r,text:a})}),(0,l.default)(this.oldCatalogs)!==(0,l.default)(i)&&(this.oldCatalogs=i,n&&n(i))},t.prototype.setMultilineHead=function(e){var t,n,r=this,i=this.editor,o=i.selection,a=null===(t=o.getSelectionContainerElem())||void 0===t?void 0:t.elems[0],l=["IMG","VIDEO","TABLE","TH","TR","UL","OL","PRE","HR","BLOCKQUOTE"],c=d.default(o.getSelectionStartElem()),u=d.default(o.getSelectionEndElem());u.elems[0].outerHTML!==d.default(p.EMPTY_P).elems[0].outerHTML||u.elems[0].nextSibling||(u=u.prev());var h=[];h.push(c.getNodeTop(i));var f=[],A=null===(n=o.getRange())||void 0===n?void 0:n.commonAncestorContainer.childNodes;null===A||void 0===A||(0,s.default)(A).call(A,function(e,t){e===h[0].getNode()&&f.push(t),e===u.getNodeTop(i).getNode()&&f.push(t)});for(var g=0;h[g].getNode()!==u.getNodeTop(i).getNode();){if(!h[g].elems[0])return;var v=d.default(h[g].next().getNode());h.push(v),g++}null===h||void 0===h||(0,s.default)(h).call(h,function(t,n){if(!r.hasTag(t,l)){var i=d.default(e),o=t.parent().getNode();i.html(""+t.html()),o.insertBefore(i.getNode(),t.getNode()),t.remove()}}),o.createRangeByElems(a.children[f[0]],a.children[f[1]])},t.prototype.hasTag=function(e,t){var n,r=this;if(!e)return!1;if((0,c.default)(t).call(t,null===e||void 0===e?void 0:e.getNodeName()))return!0;var i=!1;return null===(n=e.children())||void 0===n||(0,s.default)(n).call(n,function(e){i=r.hasTag(d.default(e),t)}),i},t.prototype.tryChangeActive=function(){var e=this.editor.cmd.queryCommandValue("formatBlock");/^h/i.test(e)?this.active():this.unActive()},t}(h.default);t.default=A},function(e,t,n){e.exports=n(318)},function(e,t,n){var r=n(319);e.exports=r},function(e,t,n){n(320);var r=n(10);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return r.JSON.stringify.apply(null,arguments)}},function(e,t,n){var r=n(5),i=n(28),o=n(12),a=i("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,c=/^[\uDC00-\uDFFF]$/,u=function(e,t,n){var r=n.charAt(t-1),i=n.charAt(t+1);return l.test(e)&&!c.test(i)||c.test(e)&&!l.test(r)?"\\u"+e.charCodeAt(0).toString(16):e},h=o(function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")});a&&r({target:"JSON",stat:!0,forced:h},{stringify:function(e,t,n){var r=a.apply(null,arguments);return"string"==typeof r?r.replace(s,u):r}})},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(35)),o=r.__importDefault(n(3)),a=r.__importDefault(n(322)),s=r.__importDefault(n(133)),l=r.__importDefault(n(31)),c=r.__importDefault(n(324)),u=function(e){function t(t){var n,r=o.default('<div class="w-e-menu" data-title="链接"><i class="w-e-icon-link"></i></div>');return n=e.call(this,r,t)||this,c.default(t),n}return r.__extends(t,e),t.prototype.clickHandler=function(){var e,t=this.editor;if(this.isActive){if(!(e=t.selection.getSelectionContainerElem()))return;this.createPanel(e.text(),e.attr("href"))}else t.selection.isSelectionEmpty()?this.createPanel("",""):this.createPanel(t.selection.getSelectionText(),"")},t.prototype.createPanel=function(e,t){var n=a.default(this.editor,e,t);new l.default(this,n).create()},t.prototype.tryChangeActive=function(){var e=this.editor;s.default(e)?this.active():this.unActive()},t}(i.default);t.default=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(19));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=n(6),l=a.__importDefault(n(3)),c=a.__importDefault(n(133)),u=n(323);t.default=function(e,t,n){var r,i=s.getRandom("input-link"),a=s.getRandom("input-text"),h=s.getRandom("btn-ok"),d=s.getRandom("btn-del"),f=c.default(e)?"inline-block":"none";function p(){if(c.default(e)){var t=e.selection.getSelectionContainerElem();t&&(e.selection.createRangeByElem(t),e.selection.restoreSelection(),r=t)}}return{width:300,height:0,tabs:[{title:e.i18next.t("menus.panelMenus.link.链接"),tpl:'<div>\n <input\n id="'+a+'"\n type="text"\n class="block"\n value="'+t+'"\n placeholder="'+e.i18next.t("menus.panelMenus.link.链接文字")+'"/>\n </td>\n <input\n id="'+i+'"\n type="text"\n class="block"\n value="'+n+'"\n placeholder="'+e.i18next.t("如")+' https://..."/>\n </td>\n <div class="w-e-button-container">\n <button type="button" id="'+h+'" class="right">\n '+e.i18next.t("插入")+'\n </button>\n <button type="button" id="'+d+'" class="gray right" style="display:'+f+'">\n '+e.i18next.t("menus.panelMenus.link.取消链接")+"\n </button>\n </div>\n </div>",events:[{selector:"#"+h,type:"click",fn:function(){var t,n,r,s;e.selection.restoreSelection();var h=e.selection.getSelectionRangeTopNodes()[0].getNode(),d=window.getSelection(),f=l.default("#"+i),A=l.default("#"+a),g=(0,o.default)(t=f.val()).call(t),v=(0,o.default)(n=A.val()).call(n),m="";d&&!(null===d||void 0===d?void 0:d.isCollapsed)&&(m=null===(r=u.insertHtml(d,h))||void 0===r?void 0:(0,o.default)(r).call(r));var y=null===m||void 0===m?void 0:m.replace(/<.*?>/g,""),b=null!==(s=null===y||void 0===y?void 0:y.length)&&void 0!==s?s:0;if(b<=v.length){var _=v.substring(0,b),w=v.substring(b);y===_&&(v=m+w)}if(g&&(v||(v=g),function(t,n){var r=e.config.linkCheck(t,n);if(void 0===r);else{if(!0===r)return!0;e.config.customAlert(r,"warning")}return!1}(v,g)))return function(t,n){c.default(e)?(p(),e.cmd.do("insertHTML",'<a href="'+n+'" target="_blank">'+t+"</a>")):e.cmd.do("insertHTML",'<a href="'+n+'" target="_blank">'+t+"</a>")}(v,g),!0}},{selector:"#"+d,type:"click",fn:function(){return function(){if(c.default(e)){p();var t=r.text();e.cmd.do("insertHTML","<span>"+t+"</span>")}}(),!0}}]}]}}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));function a(e,t){var n=e,r=e;do{if(n.textContent===t)break;r=n,n.parentNode&&(n=null===n||void 0===n?void 0:n.parentNode)}while("P"!==(null===n||void 0===n?void 0:n.nodeName));return r}function s(e,t){var n=e.nodeName,r="";if(3===e.nodeType)return t;if(1===e.nodeType){var i=e.getAttribute("style"),o=e.getAttribute("face"),a=e.getAttribute("color");i&&(r=r+' style="'+i+'"'),o&&(r=r+' face="'+o+'"'),a&&(r=r+' color="'+a+'"')}return"<"+(n=n.toLowerCase())+r+">"+t+"</"+n+">"}function l(e,t,n,r){var i,o=null===(i=t.textContent)||void 0===i?void 0:i.substring(n,r),a=t,l="";do{o=l=s(a,null!==o&&void 0!==o?o:""),a.parentElement&&(a=null===a||void 0===a?void 0:a.parentElement)}while(a.textContent!==e);return l}function c(e,t){return(0,o.default)(e).call(e,function(e){t=s(e,t)}),t}(0,i.default)(t,"__esModule",{value:!0}),t.insertHtml=t.createPartHtml=t.makeHtmlString=t.getTopNode=void 0,t.getTopNode=a,t.makeHtmlString=s,t.createPartHtml=l,t.insertHtml=function(e,t){var n,r,i,o,u,h=e.anchorNode,d=e.focusNode,f=e.anchorOffset,p=e.focusOffset,A=null!==(n=t.textContent)&&void 0!==n?n:"",g=function(e){for(var t,n=null!==(t=e.textContent)&&void 0!==t?t:"",r=[];(null===e||void 0===e?void 0:e.textContent)===n;)"P"!==e.nodeName&&r.push(e),e=e.childNodes[0];return r}(t),v="",m="",y="",b=h,_=d,w=h;if(null===h||void 0===h?void 0:h.isEqualNode(null!==d&&void 0!==d?d:null)){var x=l(A,h,f,p);return x=c(g,x)}for(h&&(v=l(A,h,null!==f&&void 0!==f?f:0)),d&&(y=l(A,d,0,p)),h&&(b=a(h,A)),d&&(_=a(d,A)),w=null!==(r=null===b||void 0===b?void 0:b.nextSibling)&&void 0!==r?r:h;!(null===w||void 0===w?void 0:w.isEqualNode(null!==_&&void 0!==_?_:null));){if("#text"===(null===w||void 0===w?void 0:w.nodeName))m+=null===w||void 0===w?void 0:w.textContent;else{var C=null===(o=null===(i=null===w||void 0===w?void 0:w.firstChild)||void 0===i?void 0:i.parentElement)||void 0===o?void 0:o.innerHTML;w&&(m+=s(w,null!==C&&void 0!==C?C:""))}w=null!==(u=null===w||void 0===w?void 0:w.nextSibling)&&void 0!==u?u:w}return c(g,""+v+m+y)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2).__importDefault(n(325));t.default=function(e){r.default(e)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(3)),o=r.__importDefault(n(36));t.default=function(e){var t=function(e){var t;return{showLinkTooltip:function(n){var r=[{$elem:i.default("<span>"+e.i18next.t("menus.panelMenus.link.查看链接")+"</span>"),onClick:function(e,t){var n=t.attr("href");return window.open(n,"_target"),!0}},{$elem:i.default("<span>"+e.i18next.t("menus.panelMenus.link.取消链接")+"</span>"),onClick:function(e,t){e.selection.createRangeByElem(t),e.selection.restoreSelection();var n=t.text();return e.cmd.do("insertHTML","<span>"+n+"</span>"),!0}}];(t=new o.default(e,n,r)).create()},hideLinkTooltip:function(){t&&(t.remove(),t=null)}}}(e),n=t.showLinkTooltip,r=t.hideLinkTooltip;e.txt.eventHooks.linkClickEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(23)),o=r.__importDefault(n(3)),a=function(e){function t(t){var n=o.default('<div class="w-e-menu" data-title="斜体">\n <i class="w-e-icon-italic"></i>\n </div>');return e.call(this,n,t)||this}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd.do("italic"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){this.editor.cmd.queryCommandState("italic")?this.active():this.unActive()},t}(i.default);t.default=a},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(23)),o=r.__importDefault(n(3)),a=function(e){function t(t){var n=o.default('<div class="w-e-menu" data-title="下划线">\n <i class="w-e-icon-underline"></i>\n </div>');return e.call(this,n,t)||this}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd.do("underline"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){this.editor.cmd.queryCommandState("underline")?this.active():this.unActive()},t}(i.default);t.default=a},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(23)),o=r.__importDefault(n(3)),a=function(e){function t(t){var n=o.default('<div class="w-e-menu" data-title="删除线">\n <i class="w-e-icon-strikethrough"></i>\n </div>');return e.call(this,n,t)||this}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd.do("strikeThrough"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){this.editor.cmd.queryCommandState("strikeThrough")?this.active():this.unActive()},t}(i.default);t.default=a},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(24)),o=r.__importDefault(n(3)),a=r.__importDefault(n(330)),s=function(e){function t(t){var n=this,r=o.default('<div class="w-e-menu" data-title="字体">\n <i class="w-e-icon-font"></i>\n </div>'),i={width:100,title:"设置字体",type:"list",list:new a.default(t.config.fontNames).getItemList(),clickHandler:function(e){n.command(e)}};return n=e.call(this,r,t,i)||this}return r.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,r=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];if(null!=i){var o="p"!==(null===i||void 0===i?void 0:i.nodeName.toLowerCase()),a=(null===i||void 0===i?void 0:i.getAttribute("face"))===e;if(r){if(o&&!a){var s=n.selection.getSelectionRangeTopNodes();n.selection.createRangeByElem(s[0]),n.selection.moveCursor(s[0].elems[0])}n.selection.setRangeToElem(i),n.selection.createEmptyRange()}n.cmd.do("fontName",e),r&&(n.selection.collapseRange(),n.selection.restoreSelection())}},t.prototype.tryChangeActive=function(){},t}(i.default);t.default=s},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2).__importDefault(n(3)),s=function(){function e(e){var t=this;this.itemList=[],(0,o.default)(e).call(e,function(e){t.itemList.push({$elem:a.default("<p style=\"font-family:'"+e+"'\">"+e+"</p>"),value:e})})}return e.prototype.getItemList=function(){return this.itemList},e}();t.default=s},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(24)),o=r.__importDefault(n(3)),a=r.__importDefault(n(332)),s=function(e){function t(t){var n=this,r=o.default('<div class="w-e-menu" data-title="字号">\n <i class="w-e-icon-text-heigh"></i>\n </div>'),i={width:160,title:"设置字号",type:"list",list:new a.default(t.config.fontSizes).getItemList(),clickHandler:function(e){n.command(e)}};return n=e.call(this,r,t,i)||this}return r.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,r=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];if(null!=i){var o="p"!==(null===i||void 0===i?void 0:i.nodeName.toLowerCase()),a=(null===i||void 0===i?void 0:i.getAttribute("size"))===e;if(r){if(o&&!a){var s=n.selection.getSelectionRangeTopNodes(),l=s[0].elems[0];n.selection.createRangeByElem(s[0]),n.selection.moveCursor(l),i=l}n.selection.setRangeToElem(i),n.selection.createEmptyRange()}n.cmd.do("fontSize",e),r&&(n.selection.collapseRange(),n.selection.restoreSelection())}},t.prototype.tryChangeActive=function(){},t}(i.default);t.default=s},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2).__importDefault(n(3)),i=function(){function e(e){for(var t in this.itemList=[],e){var n=e[t];this.itemList.push({$elem:r.default('<p style="font-size:'+t+'">'+n.name+"</p>"),value:n.value})}}return e.prototype.getItemList=function(){return this.itemList},e}();t.default=i},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(26));(0,i.default)(t,"__esModule",{value:!0});var s=n(2),l=s.__importDefault(n(24)),c=s.__importDefault(n(3)),u=["LI"],h=["UL","BLOCKQUOTE"],d=function(e){function t(t){var n=this,r=c.default('<div class="w-e-menu" data-title="对齐"><i class="w-e-icon-paragraph-left"></i></div>'),i={width:100,title:"对齐方式",type:"list",list:[{$elem:c.default('<p>\n <i class="w-e-icon-paragraph-left w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.justify.靠左")+"\n </p>"),value:"left"},{$elem:c.default('<p>\n <i class="w-e-icon-paragraph-center w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.justify.居中")+"\n </p>"),value:"center"},{$elem:c.default('<p>\n <i class="w-e-icon-paragraph-right w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.justify.靠右")+"\n </p>"),value:"right"},{$elem:c.default('<p>\n <i class="w-e-icon-paragraph-justify w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.justify.两端")+"\n </p>"),value:"justify"}],clickHandler:function(e){n.command(e)}};return n=e.call(this,r,t,i)||this}return s.__extends(t,e),t.prototype.command=function(e){var t=this.editor,n=t.selection,r=n.getSelectionContainerElem();n.saveRange();var i=t.selection.getSelectionRangeTopNodes();if(null===r||void 0===r?void 0:r.length)if(this.isSpecialNode(r,i[0])||this.isSpecialTopNode(i[0])){var a=this.getSpecialNodeUntilTop(r,i[0]);if(null==a)return;c.default(a).css("text-align",e)}else(0,o.default)(i).call(i,function(t){t.css("text-align",e)});n.restoreSelection()},t.prototype.getSpecialNodeUntilTop=function(e,t){for(var n=e.elems[0],r=t.elems[0];null!=n;){if(-1!==(0,a.default)(u).call(u,null===n||void 0===n?void 0:n.nodeName))return n;if(n.parentNode===r)return n;n=n.parentNode}return n},t.prototype.isSpecialNode=function(e,t){var n=this.getSpecialNodeUntilTop(e,t);return null!=n&&-1!==(0,a.default)(u).call(u,n.nodeName)},t.prototype.isSpecialTopNode=function(e){var t;return null!=e&&-1!==(0,a.default)(h).call(h,null===(t=e.elems[0])||void 0===t?void 0:t.nodeName)},t.prototype.tryChangeActive=function(){},t}(l.default);t.default=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(3)),l=a.__importDefault(n(23)),c=a.__importDefault(n(335)),u=a.__importDefault(n(336)),h=n(7),d=function(e){function t(t){var n,r=s.default('<div class="w-e-menu" data-title="引用">\n <i class="w-e-icon-quotes-left"></i>\n </div>');return n=e.call(this,r,t)||this,c.default(t),n}return a.__extends(t,e),t.prototype.clickHandler=function(){var e,t=this.editor,n=t.selection.isSelectionEmpty(),r=t.selection.getSelectionRangeTopNodes(),i=r[r.length-1];if("BLOCKQUOTE"!==this.getTopNodeName()){var a=u.default(r);a.insertAfter(i),this.delSelectNode(r);var l=null===(e=a.childNodes())||void 0===e?void 0:e.last().getNode();if(null==l)return;return l.textContent?t.selection.moveCursor(l):t.selection.moveCursor(l,0),this.tryChangeActive(),void s.default(h.EMPTY_P).insertAfter(a)}var c=s.default(i.childNodes()),d=c.length,f=i;(0,o.default)(c).call(c,function(e){var t=s.default(e);t.insertAfter(f),f=t}),i.remove(),t.selection.moveCursor(c.elems[d-1]),this.tryChangeActive(),n&&(t.selection.collapseRange(),t.selection.restoreSelection())},t.prototype.tryChangeActive=function(){var e;"BLOCKQUOTE"===(null===(e=this.editor.selection.getSelectionRangeTopNodes()[0])||void 0===e?void 0:e.getNodeName())?this.active():this.unActive()},t.prototype.getTopNodeName=function(){var e=this.editor.selection.getSelectionRangeTopNodes()[0];return null===e||void 0===e?void 0:e.getNodeName()},t.prototype.delSelectNode=function(e){(0,o.default)(e).call(e,function(e){e.remove()})},t}(l.default);t.default=d},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=n(7),o=r.__importDefault(n(3));t.default=function(e){e.txt.eventHooks.enterDownEvents.push(function(t){var n,r=e.selection.getSelectionContainerElem(),a=e.selection.getSelectionRangeTopNodes()[0];if("BLOCKQUOTE"===(null===a||void 0===a?void 0:a.getNodeName())){if("BLOCKQUOTE"===r.getNodeName()){var s=null===(n=r.childNodes())||void 0===n?void 0:n.getNode();e.selection.moveCursor(s)}if(""===r.text()){t.preventDefault(),r.remove();var l=o.default(i.EMPTY_P);l.insertAfter(a),e.selection.moveCursor(l.getNode(),0)}""===a.text()&&a.remove()}})}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2).__importDefault(n(3));t.default=function(e){var t=a.default("<blockquote></blockquote>");return(0,o.default)(e).call(e,function(e){t.append(e.clone(!0))}),t}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(25));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(24)),l=a.__importDefault(n(3)),c=n(6),u=function(e){function t(t){var n,r=this,i=l.default('<div class="w-e-menu" data-title="背景色">\n <i class="w-e-icon-paint-brush"></i>\n </div>'),a={width:120,title:"背景颜色",type:"inline-block",list:(0,o.default)(n=t.config.colors).call(n,function(e){return{$elem:l.default('<i style="color:'+e+';" class="w-e-icon-paint-brush"></i>'),value:e}}),clickHandler:function(e){r.command(e)}};return r=e.call(this,i,t,a)||this}return a.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,r=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];if(null!=i){var o="p"!==(null===i||void 0===i?void 0:i.nodeName.toLowerCase()),a=null===i||void 0===i?void 0:i.style.backgroundColor,s=c.hexToRgb(e)===a;if(r){if(o&&!s){var l=n.selection.getSelectionRangeTopNodes();n.selection.createRangeByElem(l[0]),n.selection.moveCursor(l[0].elems[0])}n.selection.createEmptyRange()}n.cmd.do("backColor",e),r&&(n.selection.collapseRange(),n.selection.restoreSelection())}},t.prototype.tryChangeActive=function(){},t}(s.default);t.default=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(25));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(24)),l=a.__importDefault(n(3)),c=function(e){function t(t){var n,r=this,i=l.default('<div class="w-e-menu" data-title="文字颜色">\n <i class="w-e-icon-pencil2"></i>\n </div>'),a={width:120,title:"文字颜色",type:"inline-block",list:(0,o.default)(n=t.config.colors).call(n,function(e){return{$elem:l.default('<i style="color:'+e+';" class="w-e-icon-pencil2"></i>'),value:e}}),clickHandler:function(e){r.command(e)}};return r=e.call(this,i,t,a)||this}return a.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,r=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];if(null!=i){var o="p"!==(null===i||void 0===i?void 0:i.nodeName.toLowerCase()),a=(null===i||void 0===i?void 0:i.getAttribute("color"))===e;if(r){if(o&&!a){var s=n.selection.getSelectionRangeTopNodes();n.selection.createRangeByElem(s[0]),n.selection.moveCursor(s[0].elems[0])}n.selection.setRangeToElem(i),n.selection.createEmptyRange()}var c=n.selection.getSelectionText();if("A"===i.nodeName&&i.textContent===c){var u=l.default("<span>​</span>").getNode();i.appendChild(u)}n.cmd.do("foreColor",e),r&&(n.selection.collapseRange(),n.selection.restoreSelection())}},t.prototype.tryChangeActive=function(){},t}(s.default);t.default=c},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(3)),o=r.__importDefault(n(31)),a=r.__importDefault(n(35)),s=r.__importDefault(n(340)),l=r.__importDefault(n(346)),c=function(e){function t(t){var n,r=i.default('<div class="w-e-menu" data-title="视频">\n <i class="w-e-icon-play"></i>\n </div>');return n=e.call(this,r,t)||this,l.default(t),n}return r.__extends(t,e),t.prototype.clickHandler=function(){this.createPanel("")},t.prototype.createPanel=function(e){var t=s.default(this.editor,e);new o.default(this,t).create()},t.prototype.tryChangeActive=function(){},t}(a.default);t.default=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(19));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=n(6),l=a.__importDefault(n(3)),c=a.__importDefault(n(341)),u=n(7);t.default=function(e,t){var n=e.config,r=new c.default(e),i=s.getRandom("input-iframe"),a=s.getRandom("btn-ok"),h=s.getRandom("input-upload"),d=s.getRandom("btn-local-ok"),f=[{title:e.i18next.t("menus.panelMenus.video.上传视频"),tpl:'<div class="w-e-up-video-container">\n <div id="'+d+'" class="w-e-up-btn">\n <i class="w-e-icon-upload2"></i>\n </div>\n <div style="display:none;">\n <input id="'+h+'" type="file" accept="video/*"/>\n </div>\n </div>',events:[{selector:"#"+d,type:"click",fn:function(){var e=l.default("#"+h).elems[0];if(!e)return!0;e.click()}},{selector:"#"+h,type:"change",fn:function(){var e=l.default("#"+h).elems[0];if(!e)return!0;var t=e.files;return t.length&&r.uploadVideo(t),!0}}]},{title:e.i18next.t("menus.panelMenus.video.插入视频"),tpl:'<div>\n <input \n id="'+i+'" \n type="text" \n class="block" \n placeholder="'+e.i18next.t("如")+':<iframe src=... ></iframe>"/>\n </td>\n <div class="w-e-button-container">\n <button type="button" id="'+a+'" class="right">\n '+e.i18next.t("插入")+"\n </button>\n </div>\n </div>",events:[{selector:"#"+a,type:"click",fn:function(){var t,n=l.default("#"+i),r=(0,o.default)(t=n.val()).call(t);if(r&&function(t){var n=e.config.onlineVideoCheck(t);return!0===n||("string"==typeof n&&e.config.customAlert(n,"error"),!1)}(r))return function(t){e.cmd.do("insertHTML",t+u.EMPTY_P),e.config.onlineVideoCallback(t)}(r),!0}}]}],p={width:300,height:0,tabs:[]};return window.FileReader&&(n.uploadVideoServer||n.customUploadVideo)&&p.tabs.push(f[0]),n.showLinkVideo&&p.tabs.push(f[1]),p}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(131)),a=r(n(56)),s=r(n(4)),l=r(n(26));(0,i.default)(t,"__esModule",{value:!0});var c=n(2),u=n(6),h=c.__importDefault(n(134)),d=c.__importDefault(n(135)),f=n(7),p=n(6),A=function(){function e(e){this.editor=e}return e.prototype.uploadVideo=function(e){var t=this;if(e.length){var n=this.editor,r=n.config,i=function(e){return n.i18next.t("validate."+e)},c=r.uploadVideoServer,f=r.uploadVideoMaxSize/1024,p=r.uploadVideoName,A=r.uploadVideoParams,g=r.uploadVideoParamsWithUrl,v=r.uploadVideoHeaders,m=r.uploadVideoHooks,y=r.uploadVideoTimeout,b=r.withVideoCredentials,_=r.customUploadVideo,w=r.uploadVideoAccept,x=[],C=[];if(u.arrForEach(e,function(e){var t=e.name,n=e.size/1024/1024;t&&n&&(w instanceof Array?(0,o.default)(w).call(w,function(e){return e===t.split(".")[t.split(".").length-1]})?f<n?C.push("【"+t+"】"+i("大于")+" "+f+"M"):x.push(e):C.push("【"+t+"】"+i("不是视频")):C.push("【"+w+"】"+i("uploadVideoAccept 不是Array")))}),C.length)r.customAlert(i("视频验证未通过")+": \n"+C.join("\n"),"warning");else if(0!==x.length)if(_&&"function"==typeof _){var S;_(x,(0,a.default)(S=this.insertVideo).call(S,this))}else{var B=new FormData;if((0,s.default)(x).call(x,function(e,t){var n=p||e.name;x.length>1&&(n+=t+1),B.append(n,e)}),c){var k=c.split("#");c=k[0];var T=k[1]||"";(0,s.default)(u).call(u,A,function(e,t){g&&((0,l.default)(c).call(c,"?")>0?c+="&":c+="?",c=c+e+"="+t),B.append(e,t)}),T&&(c+="#"+T);var E=h.default(c,{timeout:y,formData:B,headers:v,withCredentials:!!b,beforeSend:function(e){if(m.before)return m.before(e,n,x)},onTimeout:function(e){r.customAlert(i("上传视频超时"),"error"),m.timeout&&m.timeout(e,n)},onProgress:function(e,t){var r=new d.default(n);t.lengthComputable&&(e=t.loaded/t.total,r.show(e))},onError:function(e){r.customAlert(i("上传视频错误"),"error",i("上传视频错误")+","+i("服务器返回状态")+": "+e.status),m.error&&m.error(e,n)},onFail:function(e,t){r.customAlert(i("上传视频失败"),"error",i("上传视频返回结果错误")+","+i("返回结果")+": "+t),m.fail&&m.fail(e,n,t)},onSuccess:function(e,o){if(m.customInsert){var s;m.customInsert((0,a.default)(s=t.insertVideo).call(s,t),o,n)}else{if("0"!=o.errno)return r.customAlert(i("上传视频失败"),"error",i("上传视频返回结果错误")+","+i("返回结果")+" errno="+o.errno),void(m.fail&&m.fail(e,n,o));var l=o.data;t.insertVideo(l.url),m.success&&m.success(e,n,o)}}});"string"==typeof E&&r.customAlert(E,"error")}}else r.customAlert(i("传入的文件不合法"),"warning")}},e.prototype.insertVideo=function(e){var t=this.editor,n=t.config,r=function(e,n){return void 0===n&&(n="validate."),t.i18next.t(n+e)};if(n.customInsertVideo)n.customInsertVideo(e);else{p.UA.isFirefox?t.cmd.do("insertHTML",'<p data-we-video-p="true"><video src="'+e+'" controls="controls" style="max-width:100%"></video></p><p>​</p>'):t.cmd.do("insertHTML",'<video src="'+e+'" controls="controls" style="max-width:100%"></video>'+f.EMPTY_P);var i=document.createElement("video");i.onload=function(){i=null},i.onerror=function(){n.customAlert(r("插入视频错误"),"error","wangEditor: "+r("插入视频错误")+","+r("视频链接")+' "'+e+'",'+r("下载链接失败")),i=null},i.onabort=function(){return i=null},i.src=e}},e}();t.default=A},function(e,t,n){e.exports=n(343)},function(e,t,n){var r=n(344);e.exports=r},function(e,t,n){n(345);var r=n(10);e.exports=r.Date.now},function(e,t,n){n(5)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(347)),o=r.__importDefault(n(349));t.default=function(e){i.default(e),o.default(e)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.createShowHideFn=void 0;var r=n(2),i=r.__importDefault(n(3)),o=r.__importDefault(n(36)),a=r.__importDefault(n(348));function s(e){var t,n=function(t,n){return void 0===n&&(n=""),e.i18next.t(n+t)};return{showVideoTooltip:function(r){var s=[{$elem:i.default("<span class='w-e-icon-trash-o'></span>"),onClick:function(e,t){return t.remove(),!0}},{$elem:i.default("<span>100%</span>"),onClick:function(e,t){return t.attr("width","100%"),t.removeAttr("height"),!0}},{$elem:i.default("<span>50%</span>"),onClick:function(e,t){return t.attr("width","50%"),t.removeAttr("height"),!0}},{$elem:i.default("<span>30%</span>"),onClick:function(e,t){return t.attr("width","30%"),t.removeAttr("height"),!0}},{$elem:i.default("<span>"+n("重置")+"</span>"),onClick:function(e,t){return t.removeAttr("width"),t.removeAttr("height"),!0}},{$elem:i.default("<span>"+n("menus.justify.靠左")+"</span>"),onClick:function(e,t){return a.default(t,"left"),!0}},{$elem:i.default("<span>"+n("menus.justify.居中")+"</span>"),onClick:function(e,t){return a.default(t,"center"),!0}},{$elem:i.default("<span>"+n("menus.justify.靠右")+"</span>"),onClick:function(e,t){return a.default(t,"right"),!0}}];(t=new o.default(e,r,s)).create()},hideVideoTooltip:function(){t&&(t.remove(),t=null)}}}t.createShowHideFn=s,t.default=function(e){var t=s(e),n=t.showVideoTooltip,r=t.hideVideoTooltip;e.txt.eventHooks.videoClickEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r),e.txt.eventHooks.changeEvents.push(r)}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(55));(0,i.default)(t,"__esModule",{value:!0});var a=n(2).__importDefault(n(3));t.default=function(e,t){var n=function(e,t){for(var n,r=e.elems[0];null!=r;){if((0,o.default)(t).call(t,null===r||void 0===r?void 0:r.nodeName))return r;if("BODY"===(null===(n=null===r||void 0===r?void 0:r.parentNode)||void 0===n?void 0:n.nodeName))return null;r=r.parentNode}return r}(e,["P"]);n&&a.default(n).css("text-align",t)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(6);t.default=function(e){if(r.UA.isFirefox){var t=e.txt,n=e.selection;t.eventHooks.keydownEvents.push(function(t){var r=n.getSelectionContainerElem();if(r){var i=r.getNodeTop(e),o=i.length&&i.prev().length?i.prev():null;o&&o.attr("data-we-video-p")&&0===n.getCursorPos()&&8===t.keyCode&&o.remove()}})}}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(25));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=n(7),l=a.__importDefault(n(3)),c=a.__importDefault(n(31)),u=a.__importDefault(n(35)),h=a.__importDefault(n(351)),d=a.__importDefault(n(363)),f=function(e){function t(t){var n,r=this,i=l.default('<div class="w-e-menu" data-title="图片"><i class="w-e-icon-image"></i></div>'),a=d.default(t);a.onlyUploadConf&&(i=a.onlyUploadConf.$elem,(0,o.default)(n=a.onlyUploadConf.events).call(n,function(e){var t=e.type,n=e.fn||s.EMPTY_FN;i.on(t,function(e){e.stopPropagation(),n(e)})}));return(r=e.call(this,i,t)||this).imgPanelConfig=a,h.default(t),r}return a.__extends(t,e),t.prototype.clickHandler=function(){this.imgPanelConfig.onlyUploadConf||this.createPanel()},t.prototype.createPanel=function(){var e=this.imgPanelConfig,t=new c.default(this,e);this.setPanel(t),t.create()},t.prototype.tryChangeActive=function(){},t}(u.default);t.default=f},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(352)),o=r.__importDefault(n(353)),a=r.__importDefault(n(354)),s=r.__importDefault(n(362));t.default=function(e){i.default(e),o.default(e),a.default(e),s.default(e)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=n(128),o=r.__importDefault(n(97));function a(e,t){if(function(e,t){for(var n,r=(null===(n=t.clipboardData)||void 0===n?void 0:n.types)||[],i=0;i<r.length;i++)if("Files"===r[i])return!0;return!1}(0,e)||!function(e,t){var n=e.config,r=n.pasteFilterStyle,o=n.pasteIgnoreImg;return!!i.getPasteHtml(t,r,o)||!!i.getPasteText(t)}(t,e)){var n=i.getPasteImgs(e);if(n.length)new o.default(t).uploadImg(n)}}t.default=function(e){e.txt.eventHooks.pasteEvents.unshift(function(t){a(t,e)})}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2).__importDefault(n(97));t.default=function(e){e.txt.eventHooks.dropEvents.push(function(t){var n=t.dataTransfer&&t.dataTransfer.files;n&&n.length&&new r.default(e).uploadImg(n)})}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(30)),a=r(n(355));(0,i.default)(t,"__esModule",{value:!0}),t.createShowHideFn=void 0;var s=n(2).__importDefault(n(3));n(360);var l=n(6);function c(e,t,n,r,i){e.attr("style","width:"+t+"px; height:"+n+"px; left:"+r+"px; top:"+i+"px;")}function u(e){var t,n=e.$textContainerElem,r=function(e,t){var n=s.default('<div class="w-e-img-drag-mask">\n <div class="w-e-img-drag-show-size"></div>\n <div class="w-e-img-drag-rb"></div>\n </div>');return n.hide(),t.append(n),n}(0,n);function i(){(0,o.default)(n).call(n,".w-e-img-drag-mask").hide()}return function(e,n){e.on("click",function(e){e.stopPropagation()}),e.on("mousedown",".w-e-img-drag-rb",function(r){if(r.preventDefault(),t){var i=r.clientX,l=r.clientY,u=n.getBoundingClientRect(),h=t.getBoundingClientRect(),d=h.width,f=h.height,p=h.left-u.left,A=h.top-u.top,g=d/f,v=d,m=f,y=s.default(document);y.on("mousemove",_),y.on("mouseup",w),y.on("mouseleave",b)}function b(){y.off("mousemove",_),y.off("mouseup",w)}function _(t){t.stopPropagation(),t.preventDefault(),v=d+(t.clientX-i),m=f+(t.clientY-l),v/m!=g&&(m=v/g),v=(0,a.default)(v.toFixed(2)),m=(0,a.default)(m.toFixed(2)),(0,o.default)(e).call(e,".w-e-img-drag-show-size").text(v.toFixed(2).replace(".00","")+"px * "+m.toFixed(2).replace(".00","")+"px"),c(e,v,m,p,A)}function w(){t.attr("width",v+""),t.attr("height",m+"");var n=t.getBoundingClientRect();c(e,v,m,n.left-u.left,n.top-u.top),b()}})}(r,n),s.default(document).on("click",i),e.beforeDestroy(function(){s.default(document).off("click",i)}),{showDrag:function(e){if(l.UA.isIE())return!1;e&&function(e,t,n){var r=e.getBoundingClientRect(),i=n.getBoundingClientRect(),s=i.width.toFixed(2),l=i.height.toFixed(2);(0,o.default)(t).call(t,".w-e-img-drag-show-size").text(s+"px * "+l+"px"),c(t,(0,a.default)(s),(0,a.default)(l),i.left-r.left,i.top-r.top),t.show()}(n,r,t=e)},hideDrag:i}}t.createShowHideFn=u,t.default=function(e){var t=u(e),n=t.showDrag,r=t.hideDrag;e.txt.eventHooks.imgClickEvents.push(n),e.txt.eventHooks.textScrollEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.changeEvents.push(r)}},function(e,t,n){e.exports=n(356)},function(e,t,n){var r=n(357);e.exports=r},function(e,t,n){n(358);var r=n(10);e.exports=r.parseFloat},function(e,t,n){var r=n(5),i=n(359);r({global:!0,forced:parseFloat!=i},{parseFloat:i})},function(e,t,n){var r=n(8),i=n(92).trim,o=n(72),a=r.parseFloat,s=1/a(o+"-0")!=-1/0;e.exports=s?function(e){var t=i(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){var r=n(21),i=n(361);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){(t=n(22)(!1)).push([e.i,".w-e-text-container {\n overflow: hidden;\n}\n.w-e-img-drag-mask {\n position: absolute;\n z-index: 1;\n border: 1px dashed #ccc;\n box-sizing: border-box;\n}\n.w-e-img-drag-mask .w-e-img-drag-rb {\n position: absolute;\n right: -5px;\n bottom: -5px;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background: #ccc;\n cursor: se-resize;\n}\n.w-e-img-drag-mask .w-e-img-drag-show-size {\n min-width: 110px;\n height: 22px;\n line-height: 22px;\n font-size: 14px;\n color: #999;\n position: absolute;\n left: 0;\n top: 0;\n background-color: #999;\n color: #fff;\n border-radius: 2px;\n padding: 0 5px;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.createShowHideFn=void 0;var r=n(2),i=r.__importDefault(n(3)),o=r.__importDefault(n(36));function a(e){var t,n=function(t,n){return void 0===n&&(n=""),e.i18next.t(n+t)};return{showImgTooltip:function(r){var a=[{$elem:i.default("<span class='w-e-icon-trash-o'></span>"),onClick:function(e,t){return e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd.do("delete"),!0}},{$elem:i.default("<span>30%</span>"),onClick:function(e,t){return t.attr("width","30%"),t.removeAttr("height"),!0}},{$elem:i.default("<span>50%</span>"),onClick:function(e,t){return t.attr("width","50%"),t.removeAttr("height"),!0}},{$elem:i.default("<span>100%</span>"),onClick:function(e,t){return t.attr("width","100%"),t.removeAttr("height"),!0}}];a.push({$elem:i.default("<span>"+n("重置")+"</span>"),onClick:function(e,t){return t.removeAttr("width"),t.removeAttr("height"),!0}}),r.attr("data-href")&&a.push({$elem:i.default("<span>"+n("查看链接")+"</span>"),onClick:function(e,t){var n=t.attr("data-href");return n&&(n=decodeURIComponent(n),window.open(n,"_target")),!0}}),(t=new o.default(e,r,a)).create()},hideImgTooltip:function(){t&&(t.remove(),t=null)}}}t.createShowHideFn=a,t.default=function(e){var t=a(e),n=t.showImgTooltip,r=t.hideImgTooltip;e.txt.eventHooks.imgClickEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r),e.txt.eventHooks.imgDragBarMouseDownEvents.push(r),e.txt.eventHooks.changeEvents.push(r)}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(25)),a=r(n(19));(0,i.default)(t,"__esModule",{value:!0});var s=n(2),l=s.__importDefault(n(3)),c=n(6),u=s.__importDefault(n(97));t.default=function(e){var t,n=e.config,r=new u.default(e),i=c.getRandom("up-trigger-id"),s=c.getRandom("up-file-id"),h=c.getRandom("input-link-url"),d=c.getRandom("input-link-url-alt"),f=c.getRandom("input-link-url-href"),p=c.getRandom("btn-link"),A=function(t,n){return void 0===n&&(n="menus.panelMenus.image."),e.i18next.t(n+t)},g=1===n.uploadImgMaxLength?"":'multiple="multiple"',v=(0,o.default)(t=n.uploadImgAccept).call(t,function(e){return"image/"+e}).join(","),m=function(e,t,n){return'<div class="'+e+'" data-title="'+n+'">\n <div id="'+i+'" class="w-e-up-btn">\n <i class="'+t+'"></i>\n </div>\n <div style="display:none;">\n <input id="'+s+'" type="file" '+g+' accept="'+v+'"/>\n </div>\n </div>'},y=[{selector:"#"+i,type:"click",fn:function(){var e=n.uploadImgFromMedia;if(e&&"function"==typeof e)return e(),!0;var t=l.default("#"+s).elems[0];if(!t)return!0;t.click()}},{selector:"#"+s,type:"change",fn:function(){var e=l.default("#"+s).elems[0];if(!e)return!0;var t=e.files;return(null===t||void 0===t?void 0:t.length)&&r.uploadImg(t),!0}}],b=['<input\n id="'+h+'"\n type="text"\n class="block"\n placeholder="'+A("图片地址")+'"/>'];n.showLinkImgAlt&&b.push('\n <input\n id="'+d+'"\n type="text"\n class="block"\n placeholder="'+A("图片文字说明")+'"/>'),n.showLinkImgHref&&b.push('\n <input\n id="'+f+'"\n type="text"\n class="block"\n placeholder="'+A("跳转链接")+'"/>');var _=[{title:A("上传图片"),tpl:m("w-e-up-img-container","w-e-icon-upload2",""),events:y},{title:A("网络图片"),tpl:"<div>\n "+b.join("")+'\n <div class="w-e-button-container">\n <button type="button" id="'+p+'" class="right">'+A("插入","")+"</button>\n </div>\n </div>",events:[{selector:"#"+p,type:"click",fn:function(){var e,t,i,o,s,c,u,p=l.default("#"+h),A=(0,a.default)(e=p.val()).call(e);if(A&&(n.showLinkImgAlt&&(t=(0,a.default)(i=l.default("#"+d).val()).call(i)),n.showLinkImgHref&&(o=(0,a.default)(s=l.default("#"+f).val()).call(s)),c=A,!0===(u=n.linkImgCheck(c))||("string"==typeof u&&n.customAlert(u,"error"),0)))return r.insertImg(A,t,o),!0}}]}],w={width:300,height:0,tabs:[],onlyUploadConf:{$elem:l.default(m("w-e-menu","w-e-icon-image","图片")),events:y}};return window.FileReader&&(n.uploadImgShowBase64||n.uploadImgServer||n.customUploadImg||n.uploadImgFromMedia)&&w.tabs.push(_[0]),n.showLinkImg&&(w.tabs.push(_[1]),w.onlyUploadConf=void 0),w}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(3)),l=a.__importDefault(n(24)),c=a.__importDefault(n(365)),u=function(e){function t(t){var n=this,r=s.default('<div class="w-e-menu" data-title="缩进">\n <i class="w-e-icon-indent-increase"></i>\n </div>'),i={width:130,title:"设置缩进",type:"list",list:[{$elem:s.default('<p>\n <i class="w-e-icon-indent-increase w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.indent.增加缩进")+"\n <p>"),value:"increase"},{$elem:s.default('<p>\n <i class="w-e-icon-indent-decrease w-e-drop-list-item"></i>\n '+t.i18next.t("menus.dropListMenu.indent.减少缩进")+"\n <p>"),value:"decrease"}],clickHandler:function(e){n.command(e)}};return n=e.call(this,r,t,i)||this}return a.__extends(t,e),t.prototype.command=function(e){var t=this.editor,n=t.selection.getSelectionContainerElem();if(n&&t.$textElem.equal(n)){var r=t.selection.getSelectionRangeTopNodes();r.length>0&&(0,o.default)(r).call(r,function(n){c.default(s.default(n),e,t)})}else n&&n.length>0&&(0,o.default)(n).call(n,function(n){c.default(s.default(n),e,t)});t.selection.restoreSelection(),this.tryChangeActive()},t.prototype.tryChangeActive=function(){var e=this.editor,t=e.selection.getSelectionStartElem(),n=s.default(t).getNodeTop(e);n.length<=0||(""!=n.elems[0].style.paddingLeft?this.active():this.unActive())},t}(l.default);t.default=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(44)),a=r(n(19));(0,i.default)(t,"__esModule",{value:!0});var s=n(2),l=s.__importDefault(n(366)),c=s.__importDefault(n(367)),u=/^(\d+)(\w+)$/,h=/^(\d+)%$/;function d(e){var t=e.config.indentation;if("string"==typeof t){if(u.test(t)){var n,r=(0,o.default)(n=(0,a.default)(t).call(t).match(u)).call(n,1,3),i=r[0],s=r[1];return{value:Number(i),unit:s}}if(h.test(t))return{value:Number((0,a.default)(t).call(t).match(h)[1]),unit:"%"}}else if(void 0!==t.value&&t.unit)return t;return{value:2,unit:"em"}}t.default=function(e,t,n){var r=e.getNodeTop(n);/^P$/i.test(r.getNodeName())&&("increase"===t?l.default(r,d(n)):"decrease"===t&&c.default(r,d(n)))}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(44));(0,i.default)(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.elems[0];if(""===n.style.paddingLeft)e.css("padding-left",t.value+t.unit);else{var r=n.style.paddingLeft,i=(0,o.default)(r).call(r,0,r.length-t.unit.length),a=Number(i)+t.value;e.css("padding-left",""+a+t.unit)}}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(44));(0,i.default)(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.elems[0];if(""!==n.style.paddingLeft){var r=n.style.paddingLeft,i=(0,o.default)(r).call(r,0,r.length-t.unit.length),a=Number(i)-t.value;a>0?e.css("padding-left",""+a+t.unit):e.css("padding-left","")}}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(3)),o=r.__importDefault(n(35)),a=r.__importDefault(n(31)),s=r.__importDefault(n(369)),l=function(e){function t(t){var n=i.default('<div class="w-e-menu" data-title="表情">\n <i class="w-e-icon-happy"></i>\n </div>');return e.call(this,n,t)||this}return r.__extends(t,e),t.prototype.createPanel=function(){var e=s.default(this.editor);new a.default(this,e).create()},t.prototype.clickHandler=function(){this.createPanel()},t.prototype.tryChangeActive=function(){},t}(o.default);t.default=l},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(25)),a=r(n(74)),s=r(n(19));(0,i.default)(t,"__esModule",{value:!0});var l=n(2).__importDefault(n(3));t.default=function(e){var t=e.config.emotions;return{width:300,height:230,tabs:(0,o.default)(t).call(t,function(t){return{title:e.i18next.t("menus.panelMenus.emoticon."+t.title),tpl:"<div>"+function(e){var t,n,r=[];return"image"==e.type?(r=(0,o.default)(t=e.content).call(t,function(e){return"string"==typeof e?"":'<span title="'+e.alt+'">\n <img class="eleImg" data-emoji="'+e.alt+'" style src="'+e.src+'" alt="['+e.alt+']">\n </span>'}),r=(0,a.default)(r).call(r,function(e){return""!==e})):r=(0,o.default)(n=e.content).call(n,function(e){return'<span class="eleImg" title="'+e+'">'+e+"</span>"}),r.join("").replace(/ /g,"")}(t)+"</div>",events:[{selector:".eleImg",type:"click",fn:function(t){var n,r,i=l.default(t.target);return n="IMG"===i.getNodeName()?(0,s.default)(r=i.parent().html()).call(r):"<span>"+i.html()+"</span>",e.cmd.do("insertHTML",n),!0}}]}})}}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.createListHandle=t.ClassType=void 0;var r,i=n(2),o=i.__importDefault(n(3)),a=i.__importDefault(n(371)),s=i.__importDefault(n(373)),l=i.__importDefault(n(374)),c=i.__importDefault(n(375)),u=i.__importDefault(n(376));!function(e){e.Wrap="WrapListHandle",e.Join="JoinListHandle",e.StartJoin="StartJoinListHandle",e.EndJoin="EndJoinListHandle",e.Other="OtherListHandle"}(r=t.ClassType||(t.ClassType={}));var h={WrapListHandle:a.default,JoinListHandle:s.default,StartJoinListHandle:l.default,EndJoinListHandle:c.default,OtherListHandle:u.default};t.createListHandle=function(e,t,n){if(e===r.Other&&void 0===n)throw new Error("other 类需要传入 range");return e!==r.Other?new h[e](t):new h[e](t,n)};var d=function(){function e(e){this.handle=e,this.handle.exec()}return e.prototype.getSelectionRangeElem=function(){return o.default(this.handle.selectionRangeElem.get())},e}();t.default=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(3)),l=n(57),c=n(46),u=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t=this.options,n=t.listType,r=t.listTarget,i=t.$selectionElem,a=t.$startElem,l=t.$endElem,u=[],h=null===i||void 0===i?void 0:i.getNodeName(),d=a.prior,f=l.prior;if(!a.prior&&!l.prior||!(null===d||void 0===d?void 0:d.prev().length)&&!(null===f||void 0===f?void 0:f.next().length)){var p;(0,o.default)(p=null===i||void 0===i?void 0:i.children()).call(p,function(e){u.push(s.default(e))}),h===n?e=c.createElementFragment(u,c.createDocumentFragment(),"p"):(e=c.createElement(r),(0,o.default)(u).call(u,function(t){e.append(t.elems[0])})),this.selectionRangeElem.set(e),c.insertBefore(i,e,i.elems[0]),i.remove()}else{for(var A=d;A.length;)u.push(A),A=(null===f||void 0===f?void 0:f.equal(A))?s.default(void 0):A.next();var g=d.prev(),v=f.next();if(h===n?e=c.createElementFragment(u,c.createDocumentFragment(),"p"):(e=c.createElement(r),(0,o.default)(u).call(u,function(t){e.append(t.elems[0])})),g.length&&v.length){for(var m=[];v.length;)m.push(v),v=v.next();var y=c.createElement(h);(0,o.default)(m).call(m,function(e){y.append(e.elems[0])}),s.default(y).insertAfter(i),this.selectionRangeElem.set(e),(b=i.next()).length?c.insertBefore(i,e,b.elems[0]):i.parent().elems[0].append(e)}else if(g.length){var b;this.selectionRangeElem.set(e),(b=i.next()).length?c.insertBefore(i,e,b.elems[0]):i.parent().elems[0].append(e)}else this.selectionRangeElem.set(e),c.insertBefore(i,e,i.elems[0])}},t}(l.ListHandle);t.default=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=function(){function e(){this._element=null}return e.prototype.set=function(e){if(e instanceof DocumentFragment){var t,n=[];(0,o.default)(t=e.childNodes).call(t,function(e){n.push(e)}),e=n}this._element=e},e.prototype.get=function(){return this._element},e.prototype.clear=function(){this._element=null},e}();t.default=a},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(3)),l=n(57),c=n(46),u=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t,n,r,i,a,l,u,h=this.options,d=h.editor,f=h.listType,p=h.listTarget,A=h.$startElem,g=h.$endElem,v=d.selection.getSelectionRangeTopNodes(),m=null===A||void 0===A?void 0:A.getNodeName();if(m===(null===g||void 0===g?void 0:g.getNodeName()))if(v.length>2)if(v.shift(),v.pop(),u=c.createElementFragment(c.filterSelectionNodes(v),c.createDocumentFragment()),m===f)null===(e=g.children())||void 0===e||(0,o.default)(e).call(e,function(e){u.append(e)}),g.remove(),this.selectionRangeElem.set(u),A.elems[0].append(u);else{for(var y=document.createDocumentFragment(),b=document.createDocumentFragment(),_=c.getStartPoint(A);_.length;){var w=_.elems[0];_=_.next(),y.append(w)}for(var x=c.getEndPoint(g),C=[];x.length;)C.unshift(x.elems[0]),x=x.prev();(0,o.default)(C).call(C,function(e){b.append(e)});var S=c.createElement(p);S.append(y),S.append(u),S.append(b),u=S,this.selectionRangeElem.set(u),s.default(S).insertAfter(A),!(null===(t=A.children())||void 0===t?void 0:t.length)&&A.remove(),!(null===(n=g.children())||void 0===n?void 0:n.length)&&g.remove()}else{v.length=0;for(_=c.getStartPoint(A);_.length;)v.push(_),_=_.next();for(x=c.getEndPoint(g),C=[];x.length;)C.unshift(x),x=x.prev();v.push.apply(v,C),m===f?(u=c.createElementFragment(v,c.createDocumentFragment(),"p"),this.selectionRangeElem.set(u),c.insertBefore(A,u,g.elems[0])):(u=c.createElement(p),(0,o.default)(v).call(v,function(e){u.append(e.elems[0])}),this.selectionRangeElem.set(u),s.default(u).insertAfter(A)),!(null===(r=A.children())||void 0===r?void 0:r.length)&&g.remove(),!(null===(i=g.children())||void 0===i?void 0:i.length)&&g.remove()}else{var B=[];for(x=c.getEndPoint(g);x.length;)B.unshift(x),x=x.prev();var k=[];for(_=c.getStartPoint(A);_.length;)k.push(_),_=_.next();if(u=c.createDocumentFragment(),v.shift(),v.pop(),(0,o.default)(k).call(k,function(e){return u.append(e.elems[0])}),u=c.createElementFragment(c.filterSelectionNodes(v),u),(0,o.default)(B).call(B,function(e){return u.append(e.elems[0])}),this.selectionRangeElem.set(u),m===f)A.elems[0].append(u),!(null===(a=g.children())||void 0===a?void 0:a.length)&&g.remove();else if(null===(l=g.children())||void 0===l?void 0:l.length){var T=g.children();c.insertBefore(T,u,T.elems[0])}else g.elems[0].append(u)}},t}(l.ListHandle);t.default=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(3)),l=n(57),c=n(46),u=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t,n=this.options,r=n.editor,i=n.listType,a=n.listTarget,l=n.$startElem,u=r.selection.getSelectionRangeTopNodes(),h=null===l||void 0===l?void 0:l.getNodeName();u.shift();for(var d=[],f=c.getStartPoint(l);f.length;)d.push(f),f=f.next();h===i?(t=c.createDocumentFragment(),(0,o.default)(d).call(d,function(e){return t.append(e.elems[0])}),t=c.createElementFragment(c.filterSelectionNodes(u),t),this.selectionRangeElem.set(t),l.elems[0].append(t)):(t=c.createElement(a),(0,o.default)(d).call(d,function(e){return t.append(e.elems[0])}),t=c.createElementFragment(c.filterSelectionNodes(u),t),this.selectionRangeElem.set(t),s.default(t).insertAfter(l),!(null===(e=l.children())||void 0===e?void 0:e.length)&&l.remove())},t}(l.ListHandle);t.default=u},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(3)),l=n(57),c=n(46),u=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t,n,r=this.options,i=r.editor,a=r.listType,l=r.listTarget,u=r.$endElem,h=i.selection.getSelectionRangeTopNodes(),d=null===u||void 0===u?void 0:u.getNodeName();h.pop();for(var f=[],p=c.getEndPoint(u);p.length;)f.unshift(p),p=p.prev();if(d===a)if(n=c.createElementFragment(c.filterSelectionNodes(h),c.createDocumentFragment()),(0,o.default)(f).call(f,function(e){return n.append(e.elems[0])}),this.selectionRangeElem.set(n),null===(e=u.children())||void 0===e?void 0:e.length){var A=u.children();c.insertBefore(A,n,A.elems[0])}else u.elems[0].append(n);else{var g=c.filterSelectionNodes(h);g.push.apply(g,f),n=c.createElementFragment(g,c.createElement(l)),this.selectionRangeElem.set(n),s.default(n).insertBefore(u),!(null===(t=u.children())||void 0===t?void 0:t.length)&&u.remove()}},t}(l.ListHandle);t.default=u},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=n(57),o=n(46),a=function(e){function t(t,n){var r=e.call(this,t)||this;return r.range=n,r}return r.__extends(t,e),t.prototype.exec=function(){var e=this.options,t=e.editor,n=e.listTarget,r=t.selection.getSelectionRangeTopNodes(),i=o.createElementFragment(o.filterSelectionNodes(r),o.createElement(n));this.selectionRangeElem.set(i),this.range.insertNode(i)},t}(i.ListHandle);t.default=a},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(26));(0,i.default)(t,"__esModule",{value:!0});var s=n(2),l=s.__importDefault(n(24)),c=s.__importDefault(n(3)),u=s.__importDefault(n(378)),h=n(6),d=function(e){function t(t){var n=this,r=c.default('<div class="w-e-menu" data-title="行高">\n <i class="w-e-icon-row-height"></i>\n </div>'),i={width:100,title:"设置行高",type:"list",list:new u.default(t,t.config.lineHeights).getItemList(),clickHandler:function(e){t.selection.saveRange(),n.command(e)}};return n=e.call(this,r,t,i)||this}return s.__extends(t,e),t.prototype.command=function(e){var t,n=this,r=window.getSelection?window.getSelection():document.getSelection(),i=["P"],s=this.editor,l="";s.selection.restoreSelection();var u=c.default(s.selection.getSelectionContainerElem());if(null===u||void 0===u?void 0:u.length){var d=c.default(s.selection.getSelectionContainerElem()),f=c.default(s.selection.getSelectionStartElem()).elems[0],p="",A=[],g="";if(u&&s.$textElem.equal(u)){if(h.UA.isIE())return;var v=[],m=[],y=[],b=c.default(s.selection.getSelectionStartElem()),_=c.default(s.selection.getSelectionEndElem()),w=null===(t=s.selection.getRange())||void 0===t?void 0:t.commonAncestorContainer.childNodes;m.push(this.getDom(b.elems[0])),null===w||void 0===w||(0,o.default)(w).call(w,function(e,t){e===n.getDom(b.elems[0])&&v.push(t),e===n.getDom(_.elems[0])&&v.push(t)});var x=0,C=void 0;for(y.push(this.getDom(b.elems[0]));m[x]!==this.getDom(_.elems[0]);)C=c.default(m[x].nextElementSibling).elems[0],-1!==(0,a.default)(i).call(i,c.default(C).getNodeName())?(y.push(C),m.push(C)):m.push(C),x++;if("P"!==c.default(m[0]).getNodeName()){x=0;for(var S=0;S<m.length;S++)if("P"===c.default(m[S]).getNodeName()){x=S;break}if(0===x)return;for(var B=0;B!==x;)m.shift(),B++}return this.setRange(m[0],m[m.length-1]),(0,o.default)(m).call(m,function(t){p=t.getAttribute("style"),A=p?p.split(";"):[],g="","P"===c.default(t).getNodeName()?(g=e?n.styleProcessing(A)+"line-height:"+e+";":n.styleProcessing(A),l=l+"<"+c.default(t).getNodeName().toLowerCase()+' style="'+g+'">'+t.innerHTML+"</"+c.default(t).getNodeName().toLowerCase()+">"):(g=n.styleProcessing(A),l=l+"<"+c.default(t).getNodeName().toLowerCase()+' style="'+g+'">'+t.innerHTML+"</"+c.default(t).getNodeName().toLowerCase()+">")}),this.action(l,s),f=d.elems[0],void this.setRange(f.children[v[0]],f.children[v[1]])}f=this.getDom(f),-1!==(0,a.default)(i).call(i,c.default(f).getNodeName())&&(p=f.getAttribute("style"),A=p?p.split(";"):[],null===r||void 0===r||r.selectAllChildren(f),s.selection.saveRange(),e?(g=p?this.styleProcessing(A)+"line-height:"+e+";":"line-height:"+e+";",l="<"+c.default(f).getNodeName().toLowerCase()+' style="'+g+'">'+f.innerHTML+"</"+c.default(f).getNodeName().toLowerCase()+">","BLOCKQUOTE"===c.default(f).getNodeName()?c.default(f).css("line-height",e):this.action(l,s)):p&&(g=this.styleProcessing(A),l=""===g?"<"+c.default(f).getNodeName().toLowerCase()+">"+f.innerHTML+"</"+c.default(f).getNodeName().toLowerCase()+">":"<"+c.default(f).getNodeName().toLowerCase()+' style="'+g+'">'+f.innerHTML+"</"+c.default(f).getNodeName().toLowerCase()+">",this.action(l,s)))}},t.prototype.getDom=function(e){var t=c.default(e).elems[0];if(!t.parentNode)return t;return t=function e(t,n){var r=c.default(t.parentNode);return n.$textElem.equal(r)?t:e(r.elems[0],n)}(t,this.editor)},t.prototype.action=function(e,t){t.cmd.do("insertHTML",e)},t.prototype.styleProcessing=function(e){var t="";return(0,o.default)(e).call(e,function(e){""!==e&&-1===(0,a.default)(e).call(e,"line-height")&&(t=t+e+";")}),t},t.prototype.setRange=function(e,t){var n=this.editor,r=window.getSelection?window.getSelection():document.getSelection();null===r||void 0===r||r.removeAllRanges();var i=document.createRange(),o=e,a=t;i.setStart(o,0),i.setEnd(a,1),null===r||void 0===r||r.addRange(i),n.selection.saveRange(),null===r||void 0===r||r.removeAllRanges(),n.selection.restoreSelection()},t.prototype.tryChangeActive=function(){var e=this.editor,t=e.selection.getSelectionContainerElem();if(!t||!e.$textElem.equal(t)){var n=c.default(e.selection.getSelectionStartElem());if(0!==n.length){var r=(n=this.getDom(n.elems[0])).getAttribute("style")?n.getAttribute("style"):"";r&&-1!==(0,a.default)(r).call(r,"line-height")?this.active():this.unActive()}}},t}(l.default);t.default=d},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2).__importDefault(n(3)),s=function(){function e(e,t){var n=this;this.itemList=[{$elem:a.default("<span>"+e.i18next.t("默认")+"</span>"),value:""}],(0,o.default)(t).call(t,function(e){n.itemList.push({$elem:a.default("<span>"+e+"</span>"),value:e})})}return e.prototype.getItemList=function(){return this.itemList},e}();t.default=s},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(3)),o=function(e){function t(t){var n=i.default('<div class="w-e-menu" data-title="撤销">\n <i class="w-e-icon-undo"></i>\n </div>');return e.call(this,n,t)||this}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor;e.history.revoke();var t=e.$textElem.children();if(null===t||void 0===t?void 0:t.length){var n=t.last();e.selection.createRangeByElem(n,!1,!0),e.selection.restoreSelection()}},t.prototype.tryChangeActive=function(){this.editor.isCompatibleMode||(this.editor.history.size[0]?this.active():this.unActive())},t}(r.__importDefault(n(23)).default);t.default=o},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(3)),o=function(e){function t(t){var n=i.default('<div class="w-e-menu" data-title="恢复">\n <i class="w-e-icon-redo"></i>\n </div>');return e.call(this,n,t)||this}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor;e.history.restore();var t=e.$textElem.children();if(null===t||void 0===t?void 0:t.length){var n=t.last();e.selection.createRangeByElem(n,!1,!0),e.selection.restoreSelection()}},t.prototype.tryChangeActive=function(){this.editor.isCompatibleMode||(this.editor.history.size[1]?this.active():this.unActive())},t}(r.__importDefault(n(23)).default);t.default=o},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(35)),o=r.__importDefault(n(3)),a=r.__importDefault(n(382)),s=r.__importDefault(n(31)),l=r.__importDefault(n(391)),c=function(e){function t(t){var n,r=o.default('<div class="w-e-menu" data-title="表格"><i class="w-e-icon-table2"></i></div>');return n=e.call(this,r,t)||this,l.default(t),n}return r.__extends(t,e),t.prototype.clickHandler=function(){this.createPanel()},t.prototype.createPanel=function(){var e=a.default(this.editor);new s.default(this,e).create()},t.prototype.tryChangeActive=function(){},t}(i.default);t.default=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(383));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=n(6),l=a.__importDefault(n(3));n(388);var c=a.__importDefault(n(390));function u(e){return e>0&&(0,o.default)(e)}t.default=function(e){var t=new c.default(e),n=s.getRandom("w-col-id"),r=s.getRandom("w-row-id"),i=s.getRandom("btn-link"),o="menus.panelMenus.table.",a=function(t){return e.i18next.t(t)},h=[{title:a(o+"插入表格"),tpl:'<div>\n <div class="w-e-table">\n <span>'+a("创建")+'</span>\n <input id="'+r+'" type="text" class="w-e-table-input" value="5"/></td>\n <span>'+a(o+"行")+'</span>\n <input id="'+n+'" type="text" class="w-e-table-input" value="5"/></td>\n <span>'+(a(o+"列")+a(o+"的")+a(o+"表格"))+'</span>\n </div>\n <div class="w-e-button-container">\n <button type="button" id="'+i+'" class="right">'+a("插入")+"</button>\n </div>\n </div>",events:[{selector:"#"+i,type:"click",fn:function(){var i=Number(l.default("#"+n).val()),o=Number(l.default("#"+r).val());return u(o)&&u(i)?(t.createAction(o,i),!0):(e.config.customAlert("表格行列请输入正整数","warning"),!1)}}]}],d={width:330,height:0,tabs:[]};return d.tabs.push(h[0]),d}},function(e,t,n){e.exports=n(384)},function(e,t,n){var r=n(385);e.exports=r},function(e,t,n){n(386);var r=n(10);e.exports=r.Number.isInteger},function(e,t,n){n(5)({target:"Number",stat:!0},{isInteger:n(387)})},function(e,t,n){var r=n(13),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){var r=n(21),i=n(389);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){(t=n(22)(!1)).push([e.i,".w-e-table {\n display: flex;\n}\n.w-e-table .w-e-table-input {\n width: 40px;\n text-align: center!important;\n margin: 0 5px;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=n(7),o=r.__importDefault(n(3)),a=function(){function e(e){this.editor=e}return e.prototype.createAction=function(e,t){var n=this.editor,r=o.default(n.selection.getSelectionContainerElem()),i=o.default(r.elems[0]).parentUntilEditor("UL",n),a=o.default(r.elems[0]).parentUntilEditor("OL",n);if(!i&&!a){var s=this.createTableHtml(e,t);n.cmd.do("insertHTML",s)}},e.prototype.createTableHtml=function(e,t){for(var n="",r="",o=0;o<e;o++){r="";for(var a=0;a<t;a++)r+=0===o?"<th></th>":"<td></td>";n=n+"<tr>"+r+"</tr>"}return'<table border="0" width="100%" cellpadding="0" cellspacing="0"><tbody>'+n+"</tbody></table>"+i.EMPTY_P},e}();t.default=a},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(392)),o=r.__importDefault(n(400));t.default=function(e){i.default(e),o.default(e)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(3)),o=r.__importDefault(n(36)),a=r.__importDefault(n(393)),s=r.__importDefault(n(399)),l=n(7);function c(e){var t=e.selection.getSelectionStartElem(),n=e.selection.getSelectionEndElem();return(null===t||void 0===t?void 0:t.elems[0])!==(null===n||void 0===n?void 0:n.elems[0])}function u(e,t){var n=e.elems[0].nextSibling;return n&&"<br>"!==n.innerHTML||(t+=""+l.EMPTY_P),t}t.default=function(e){var t=function(e){var t;return{showTableTooltip:function(n){var r=new s.default(e),h=function(t,n){return void 0===n&&(n="menus.panelMenus.table."),e.i18next.t(n+t)},d=[{$elem:i.default("<span>"+h("删除表格")+"</span>"),onClick:function(e,t){return e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd.do("insertHTML",l.EMPTY_P),!0}},{$elem:i.default("<span>"+h("添加行")+"</span>"),onClick:function(e,t){if(c(e))return!0;var n=i.default(e.selection.getSelectionStartElem()),o=r.getRowNode(n.elems[0]);if(!o)return!0;var s=Number(r.getCurrentRowIndex(t.elems[0],o)),l=r.getTableHtml(t.elems[0]),h=r.getTableHtml(a.default.ProcessingRow(i.default(l),s).elems[0]);return h=u(t,h),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd.do("insertHTML",h),!0}},{$elem:i.default("<span>"+h("删除行")+"</span>"),onClick:function(e,t){if(c(e))return!0;var n=i.default(e.selection.getSelectionStartElem()),o=r.getRowNode(n.elems[0]);if(!o)return!0;var s=Number(r.getCurrentRowIndex(t.elems[0],o)),h=r.getTableHtml(t.elems[0]),d=a.default.DeleteRow(i.default(h),s).elems[0].children[0].children.length,f="";return e.selection.createRangeByElem(t),e.selection.restoreSelection(),f=u(t,f=0===d?l.EMPTY_P:r.getTableHtml(a.default.DeleteRow(i.default(h),s).elems[0])),e.cmd.do("insertHTML",f),!0}},{$elem:i.default("<span>"+h("添加列")+"</span>"),onClick:function(e,t){if(c(e))return!0;var n=i.default(e.selection.getSelectionStartElem()),o=r.getCurrentColIndex(n.elems[0]),s=r.getTableHtml(t.elems[0]),l=r.getTableHtml(a.default.ProcessingCol(i.default(s),o).elems[0]);return l=u(t,l),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd.do("insertHTML",l),!0}},{$elem:i.default("<span>"+h("删除列")+"</span>"),onClick:function(e,t){if(c(e))return!0;var n=i.default(e.selection.getSelectionStartElem()),o=r.getCurrentColIndex(n.elems[0]),s=r.getTableHtml(t.elems[0]),h=a.default.DeleteCol(i.default(s),o).elems[0].children[0].children[0].children.length,d="";return e.selection.createRangeByElem(t),e.selection.restoreSelection(),d=u(t,d=1===h?l.EMPTY_P:r.getTableHtml(a.default.DeleteCol(i.default(s),o).elems[0])),e.cmd.do("insertHTML",d),!0}},{$elem:i.default("<span>"+h("设置表头")+"</span>"),onClick:function(e,t){if(c(e))return!0;var n=i.default(e.selection.getSelectionStartElem()),o=r.getRowNode(n.elems[0]);if(!o)return!0;var s=Number(r.getCurrentRowIndex(t.elems[0],o));0!==s&&(s=0);var l=r.getTableHtml(t.elems[0]),h=r.getTableHtml(a.default.setTheHeader(i.default(l),s,"th").elems[0]);return h=u(t,h),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd.do("insertHTML",h),!0}},{$elem:i.default("<span>"+h("取消表头")+"</span>"),onClick:function(e,t){var n=i.default(e.selection.getSelectionStartElem()),o=r.getRowNode(n.elems[0]);if(!o)return!0;var s=Number(r.getCurrentRowIndex(t.elems[0],o));0!==s&&(s=0);var l=r.getTableHtml(t.elems[0]),c=r.getTableHtml(a.default.setTheHeader(i.default(l),s,"td").elems[0]);return c=u(t,c),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd.do("insertHTML",c),!0}}];(t=new o.default(e,n,d)).create()},hideTableTooltip:function(){t&&(t.remove(),t=null)}}}(e),n=t.showTableTooltip,r=t.hideTableTooltip;e.txt.eventHooks.tableClickEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r)}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(44)),a=r(n(93)),s=r(n(4)),l=r(n(137));(0,i.default)(t,"__esModule",{value:!0});var c=n(2).__importDefault(n(3));function u(e,t){for(;0!==e.children.length;)e.removeChild(e.children[0]);for(var n=0;n<t.length;n++)e.appendChild(t[n])}function h(e){var t=e.elems[0].children[0];return"COLGROUP"===t.nodeName&&(t=e.elems[0].children[e.elems[0].children.length-1]),t}t.default={ProcessingRow:function(e,t){for(var n=h(e),r=(0,o.default)(Array.prototype).apply(n.children),i=r[0].children.length,s=document.createElement("tr"),l=0;l<i;l++){var d=document.createElement("td");s.appendChild(d)}return(0,a.default)(r).call(r,t+1,0,s),u(n,r),c.default(n.parentNode)},ProcessingCol:function(e,t){for(var n=h(e),r=(0,o.default)(Array.prototype).apply(n.children),i=function(e){var n,i=[];for((0,s.default)(n=(0,l.default)(r[e].children)).call(n,function(e){i.push(e)});0!==r[e].children.length;)r[e].removeChild(r[e].children[0]);var o="TH"!==c.default(i[0]).getNodeName()?document.createElement("td"):document.createElement("th");(0,a.default)(i).call(i,t+1,0,o);for(var u=0;u<i.length;u++)r[e].appendChild(i[u])},d=0;d<r.length;d++)i(d);return u(n,r),c.default(n.parentNode)},DeleteRow:function(e,t){var n=h(e),r=(0,o.default)(Array.prototype).apply(n.children);return(0,a.default)(r).call(r,t,1),u(n,r),c.default(n.parentNode)},DeleteCol:function(e,t){for(var n=h(e),r=(0,o.default)(Array.prototype).apply(n.children),i=function(e){var n,i=[];for((0,s.default)(n=(0,l.default)(r[e].children)).call(n,function(e){i.push(e)});0!==r[e].children.length;)r[e].removeChild(r[e].children[0]);(0,a.default)(i).call(i,t,1);for(var o=0;o<i.length;o++)r[e].appendChild(i[o])},d=0;d<r.length;d++)i(d);return u(n,r),c.default(n.parentNode)},setTheHeader:function(e,t,n){for(var r=h(e),i=(0,o.default)(Array.prototype).apply(r.children),d=i[t].children,f=document.createElement("tr"),p=function(e){var t,r=document.createElement(n);(0,s.default)(t=(0,l.default)(d[e].children)).call(t,function(e){r.appendChild(e)}),f.appendChild(r)},A=0;A<d.length;A++)p(A);return(0,a.default)(i).call(i,t,1,f),u(r,i),c.default(r.parentNode)}}},function(e,t,n){var r=n(395);e.exports=r},function(e,t,n){n(51),n(396);var r=n(10);e.exports=r.Array.from},function(e,t,n){var r=n(5),i=n(397);r({target:"Array",stat:!0,forced:!n(113)(function(e){Array.from(e)})},{from:i})},function(e,t,n){"use strict";var r=n(38),i=n(33),o=n(398),a=n(105),s=n(34),l=n(73),c=n(107);e.exports=function(e){var t,n,u,h,d,f,p=i(e),A="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,m=void 0!==v,y=c(p),b=0;if(m&&(v=r(v,g>2?arguments[2]:void 0,2)),void 0==y||A==Array&&a(y))for(n=new A(t=s(p.length));t>b;b++)f=m?v(p[b],b):p[b],l(n,b,f);else for(d=(h=y.call(p)).next,n=new A;!(u=d.call(h)).done;b++)f=m?o(h,v,[u.value,b],!0):u.value,l(n,b,f);return n.length=b,n}},function(e,t,n){var r=n(20),i=n(108);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){throw i(e),t}}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(137));(0,i.default)(t,"__esModule",{value:!0});var s=n(2).__importDefault(n(3)),l=function(){function e(e){this.editor=e}return e.prototype.getRowNode=function(e){var t,n=s.default(e).elems[0];return n.parentNode?n=null===(t=s.default(n).parentUntil("TR",n))||void 0===t?void 0:t.elems[0]:n},e.prototype.getCurrentRowIndex=function(e,t){var n,r=0,i=e.children[0];return"COLGROUP"===i.nodeName&&(i=e.children[e.children.length-1]),(0,o.default)(n=(0,a.default)(i.children)).call(n,function(e,n){e===t&&(r=n)}),r},e.prototype.getCurrentColIndex=function(e){var t,n,r=0,i="TD"===s.default(e).getNodeName()||"TH"===s.default(e).getNodeName()?e:null===(n=s.default(e).parentUntil("TD",e))||void 0===n?void 0:n.elems[0],l=s.default(i).parent();return(0,o.default)(t=(0,a.default)(l.elems[0].children)).call(t,function(e,t){e===i&&(r=t)}),r},e.prototype.getTableHtml=function(e){return'<table border="0" width="100%" cellpadding="0" cellspacing="0">'+s.default(e).html()+"</table>"},e}();t.default=l},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default=function(e){var t=e.txt,n=e.selection;t.eventHooks.keydownEvents.push(function(t){e.selection.saveRange();var r=n.getSelectionContainerElem();if(r){var i=r.getNodeTop(e),o=i.length&&i.prev().length?i.prev():null;if(o&&"TABLE"===o.getNodeName()&&n.isSelectionEmpty()&&0===n.getCursorPos()&&8===t.keyCode){var a=i.next();!!a.length&&function(e){if(!e.length)return!1;var t=e.elems[0];return"P"===t.nodeName&&"<br>"===t.innerHTML}(i)&&(i.remove(),e.selection.setRangeToElem(a.elems[0])),t.preventDefault()}}})}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(25));(0,i.default)(t,"__esModule",{value:!0}),t.formatCodeHtml=void 0;var a=n(2),s=a.__importDefault(n(35)),l=a.__importDefault(n(3)),c=n(6),u=a.__importDefault(n(402)),h=a.__importDefault(n(138)),d=a.__importDefault(n(31)),f=a.__importDefault(n(403));t.formatCodeHtml=function(e,t){return t?(t=function(e){var t=e.match(/<pre[\s|\S]+?\/pre>/g);return null===t?e:((0,o.default)(t).call(t,function(t){e=e.replace(t,t.replace(/<\/code><code>/g,"\n").replace(/<br>/g,""))}),e)}(t=function e(t){var n,r=t.match(/<span\sclass="hljs[\s|\S]+?\/span>/gm);if(!r||!r.length)return t;for(var i=(0,o.default)(n=c.deepClone(r)).call(n,function(e){return(e=e.replace(/<span\sclass="hljs[^>]+>/,"")).replace(/<\/span>/,"")}),a=0;a<r.length;a++)t=t.replace(r[a],i[a]);return e(t)}(t)),t=c.replaceSpecialSymbol(t)):t};var p=function(e){function t(t){var n,r=l.default('<div class="w-e-menu" data-title="代码"><i class="w-e-icon-terminal"></i></div>');return n=e.call(this,r,t)||this,f.default(t),n}return a.__extends(t,e),t.prototype.insertLineCode=function(e){var t=this.editor,n=l.default("<code>"+e+"</code>");t.cmd.do("insertElem",n),t.selection.createRangeByElem(n,!1),t.selection.restoreSelection()},t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.getSelectionText();this.isActive||(e.selection.isSelectionEmpty()?this.createPanel("",""):this.insertLineCode(t))},t.prototype.createPanel=function(e,t){var n=u.default(this.editor,e,t);new d.default(this,n).create()},t.prototype.tryChangeActive=function(){var e=this.editor;h.default(e)?this.active():this.unActive()},t}(s.default);t.default=p},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(25));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=n(6),l=a.__importDefault(n(3)),c=a.__importDefault(n(138)),u=n(7);t.default=function(e,t,n){var r,i=s.getRandom("input-iframe"),a=s.getRandom("select"),h=s.getRandom("btn-ok");function d(t){c.default(e)&&function(){if(c.default(e)){var t=e.selection.getSelectionStartElem(),n=null===t||void 0===t?void 0:t.getNodeTop(e);n&&(e.selection.createRangeByElem(n),e.selection.restoreSelection())}}(),e.cmd.do("insertHTML",t);var n=e.selection.getSelectionStartElem(),r=null===n||void 0===n?void 0:n.getNodeTop(e);l.default(u.EMPTY_P).insertAfter(r)}var f=function(t){return e.i18next.t(t)};return{width:500,height:0,tabs:[{title:f("menus.panelMenus.code.插入代码"),tpl:'<div>\n <select name="" id="'+a+'">\n '+(0,o.default)(r=e.config.languageType).call(r,function(e){return"<option "+(n==e?"selected":"")+' value ="'+e+'">'+e+"</option>"})+'\n </select>\n <textarea id="'+i+'" type="text" class="wang-code-textarea" placeholder="" style="height: 160px">'+t.replace(/"/g,'"')+'</textarea>\n <div class="w-e-button-container">\n <button type="button" id="'+h+'" class="right">'+(c.default(e)?f("修改"):f("插入"))+"</button>\n </div>\n </div>",events:[{selector:"#"+h,type:"click",fn:function(){var t,n=document.getElementById(i),r=l.default("#"+a).val(),o=n.value;if(t=e.highlight?e.highlight.highlightAuto(o).value:"<xmp>"+o+"</xmp>",o)return!c.default(e)&&(d('<pre><code class="'+r+'">'+t+"</code></pre>"),!0)}}]}]}}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(404)),o=r.__importDefault(n(405));t.default=function(e){i.default(e),o.default(e)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.createShowHideFn=void 0;var r=n(2),i=r.__importDefault(n(3)),o=r.__importDefault(n(36));function a(e){var t;return{showCodeTooltip:function(n){var r,a,s=[{$elem:i.default("<span>"+(r="删除代码",void 0===a&&(a="menus.panelMenus.code."),e.i18next.t(a+r))+"</span>"),onClick:function(e,t){return t.remove(),!0}}];(t=new o.default(e,n,s)).create()},hideCodeTooltip:function(){t&&(t.remove(),t=null)}}}t.createShowHideFn=a,t.default=function(e){var t=a(e),n=t.showCodeTooltip,r=t.hideCodeTooltip;e.txt.eventHooks.codeClickEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=n(7),o=r.__importDefault(n(3));t.default=function(e){var t=e.$textElem,n=e.selection,r=e.txt.eventHooks.keydownEvents;r.push(function(e){var r;if(40===e.keyCode){var a=n.getSelectionContainerElem(),s=null===(r=t.children())||void 0===r?void 0:r.last();if("XMP"===(null===a||void 0===a?void 0:a.elems[0].tagName)&&"PRE"===(null===s||void 0===s?void 0:s.elems[0].tagName)){var l=o.default(i.EMPTY_P);t.append(l)}}}),r.push(function(t){e.selection.saveRange();var r=n.getSelectionContainerElem();if(r){var i=r.getNodeTop(e),o=null===i||void 0===i?void 0:i.prev(),a=null===i||void 0===i?void 0:i.getNextSibling();o.length&&"PRE"===(null===o||void 0===o?void 0:o.getNodeName())&&0===a.length&&0===n.getCursorPos()&&8===t.keyCode&&t.preventDefault()}})}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(23)),o=r.__importDefault(n(3)),a=r.__importDefault(n(407)),s=n(6),l=n(7),c=function(e){function t(t){var n,r=o.default('<div class="w-e-menu" data-title="分割线"><i class="w-e-icon-split-line"></i></div>');return n=e.call(this,r,t)||this,a.default(t),n}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.getRange(),n=e.selection.getSelectionContainerElem();if(null===n||void 0===n?void 0:n.length){var r=o.default(n.elems[0]),i=r.parentUntil("TABLE",n.elems[0]),a=r.children();"CODE"!==r.getNodeName()&&(i&&"TABLE"===o.default(i.elems[0]).getNodeName()||(!a||0===a.length||"IMG"!==o.default(a.elems[0]).getNodeName()||(null===t||void 0===t?void 0:t.collapsed))&&this.createSplitLine())}},t.prototype.createSplitLine=function(){var e="<hr/>"+l.EMPTY_P;s.UA.isFirefox&&(e="<hr/><p></p>"),this.editor.cmd.do("insertHTML",e)},t.prototype.tryChangeActive=function(){},t}(i.default);t.default=c},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2).__importDefault(n(408));t.default=function(e){r.default(e)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(3)),o=r.__importDefault(n(36));t.default=function(e){var t=function(e){var t;return{showSplitLineTooltip:function(n){var r=[{$elem:i.default("<span>"+e.i18next.t("menus.panelMenus.删除")+"</span>"),onClick:function(e,t){return e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd.do("delete"),!0}}];(t=new o.default(e,n,r)).create()},hideSplitLineTooltip:function(){t&&(t.remove(),t=null)}}}(e),n=t.showSplitLineTooltip,r=t.hideSplitLineTooltip;e.txt.eventHooks.splitLineEvents.push(n),e.txt.eventHooks.clickEvents.push(r),e.txt.eventHooks.keyupEvents.push(r),e.txt.eventHooks.toolbarClickEvents.push(r),e.txt.eventHooks.menuClickEvents.push(r),e.txt.eventHooks.textScrollEvents.push(r)}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(3)),l=a.__importDefault(n(23)),c=n(98),u=a.__importDefault(n(415)),h=a.__importDefault(n(139)),d=function(e){function t(t){var n,r=s.default('<div class="w-e-menu" data-title="待办事项">\n <i class="w-e-icon-checkbox-checked"></i>\n </div>');return n=e.call(this,r,t)||this,u.default(t),n}return a.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor;c.isAllTodo(e)?(this.cancelTodo(),this.tryChangeActive()):this.setTodo()},t.prototype.tryChangeActive=function(){c.isAllTodo(this.editor)?this.active():this.unActive()},t.prototype.setTodo=function(){var e=this.editor,t=e.selection.getSelectionRangeTopNodes();(0,o.default)(t).call(t,function(t){var n;if("P"===(null===t||void 0===t?void 0:t.getNodeName())){var r=h.default(t).getTodo(),i=null===(n=r.children())||void 0===n?void 0:n.getNode();r.insertAfter(t),e.selection.moveCursor(i),t.remove()}}),this.tryChangeActive()},t.prototype.cancelTodo=function(){var e=this.editor,t=e.selection.getSelectionRangeTopNodes();(0,o.default)(t).call(t,function(t){var n,r,i,o=null===(r=null===(n=t.childNodes())||void 0===n?void 0:n.childNodes())||void 0===r?void 0:r.clone(!0),a=s.default("<p></p>");a.append(o),a.insertAfter(t),null===(i=a.childNodes())||void 0===i||i.get(0).remove(),e.selection.moveCursor(a.getNode()),t.remove()})},t}(l.default);t.default=d},function(e,t,n){e.exports=n(411)},function(e,t,n){var r=n(412);e.exports=r},function(e,t,n){var r=n(413),i=Array.prototype;e.exports=function(e){var t=e.every;return e===i||e instanceof Array&&t===i.every?r:t}},function(e,t,n){n(414);var r=n(14);e.exports=r("Array").every},function(e,t,n){"use strict";var r=n(5),i=n(29).every;r({target:"Array",proto:!0,forced:!n(71)("every")},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2),s=a.__importDefault(n(3)),l=n(98),c=a.__importDefault(n(139)),u=n(98),h=n(7);t.default=function(e){e.txt.eventHooks.enterDownEvents.push(function(t){var n,r;if(l.isAllTodo(e)){t.preventDefault();var i=e.selection,a=i.getSelectionRangeTopNodes()[0],d=null===(n=a.childNodes())||void 0===n?void 0:n.get(0),f=null===(r=window.getSelection())||void 0===r?void 0:r.anchorNode,p=i.getRange();if(!(null===p||void 0===p?void 0:p.collapsed)){var A=null===p||void 0===p?void 0:p.commonAncestorContainer.childNodes,g=null===p||void 0===p?void 0:p.startContainer,v=null===p||void 0===p?void 0:p.endContainer,m=null===p||void 0===p?void 0:p.startOffset,y=null===p||void 0===p?void 0:p.endOffset,b=0,_=0,w=[];null===A||void 0===A||(0,o.default)(A).call(A,function(e,t){e.contains(g)&&(b=t),e.contains(v)&&(_=t)}),_-b>1&&(null===A||void 0===A||(0,o.default)(A).call(A,function(e,t){t<=b||t>=_||w.push(e)}),(0,o.default)(w).call(w,function(e){e.remove()})),u.dealTextNode(g,m),u.dealTextNode(v,y,!1),e.selection.moveCursor(v,0)}if(""===a.text()){var x=s.default(h.EMPTY_P);return x.insertAfter(a),i.moveCursor(x.getNode()),void a.remove()}var C=i.getCursorPos(),S=l.getCursorNextNode(null===d||void 0===d?void 0:d.getNode(),f,C),B=c.default(s.default(S)),k=B.getInputContainer(),T=k.parent().getNode(),E=B.getTodo(),M=k.getNode().nextSibling;""===(null===d||void 0===d?void 0:d.text())&&(null===d||void 0===d||d.append(s.default("<br>"))),E.insertAfter(a),M&&""!==(null===M||void 0===M?void 0:M.textContent)?i.moveCursor(T):("BR"!==(null===M||void 0===M?void 0:M.nodeName)&&s.default("<br>").insertAfter(k),i.moveCursor(T,1))}}),e.txt.eventHooks.deleteUpEvents.push(function(){var t=e.selection.getSelectionRangeTopNodes()[0];t&&u.isTodo(t)&&""===t.text()&&(s.default(h.EMPTY_P).insertAfter(t),t.remove())}),e.txt.eventHooks.deleteDownEvents.push(function(t){var n,r;if(l.isAllTodo(e)){var i,a=e.selection,c=a.getSelectionRangeTopNodes()[0],u=null===(n=c.childNodes())||void 0===n?void 0:n.getNode(),d=s.default("<p></p>"),f=d.getNode(),p=null===(r=window.getSelection())||void 0===r?void 0:r.anchorNode,A=a.getCursorPos(),g=p.previousSibling;if(""===c.text()){t.preventDefault();var v=s.default(h.EMPTY_P);return v.insertAfter(c),c.remove(),void a.moveCursor(v.getNode(),0)}"SPAN"===(null===g||void 0===g?void 0:g.nodeName)&&"INPUT"===g.childNodes[0].nodeName&&0===A&&(t.preventDefault(),null===u||void 0===u||(0,o.default)(i=u.childNodes).call(i,function(e,t){0!==t&&f.appendChild(e.cloneNode(!0))}),d.insertAfter(c),c.remove())}})}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2).__importDefault(n(3)),i=n(6),o=n(7),a={border:"1px solid #c9d8db",toolbarBgColor:"#FFF",toolbarBottomBorder:"1px solid #EEE"};t.default=function(e){var t,n,s=e.toolbarSelector,l=r.default(s),c=e.textSelector,u=e.config.height,h=e.i18next,d=r.default("<div></div>"),f=r.default("<div></div>"),p=null;null==c?(n=l.children(),l.append(d).append(f),d.css("background-color",a.toolbarBgColor).css("border",a.border).css("border-bottom",a.toolbarBottomBorder),f.css("border",a.border).css("border-top","none").css("height",u+"px")):(l.append(d),p=r.default(c).children(),r.default(c).append(f),n=f.children()),(t=r.default("<div></div>")).attr("contenteditable","true").css("width","100%").css("height","100%");var A=r.default("<div>"+h.t(e.config.placeholder)+"</div>");A.addClass("placeholder"),n&&n.length?(t.append(n),A.hide()):t.append(r.default(o.EMPTY_P)),p&&p.length&&(t.append(p),A.hide()),f.append(t),f.append(A),d.addClass("w-e-toolbar").css("z-index",e.zIndex.get("toolbar")),f.addClass("w-e-text-container"),f.css("z-index",e.zIndex.get()),t.addClass("w-e-text");var g=i.getRandom("toolbar-elem");d.attr("id",g);var v=i.getRandom("text-elem");t.attr("id",v);var m=f.getBoundingClientRect().height;m!==t.getBoundingClientRect().height&&t.css("min-height",m+"px"),e.$toolbarElem=d,e.$textContainerElem=f,e.$textElem=t,e.toolbarElemId=g,e.textElemId=v}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2).__importDefault(n(3)),i=n(7);t.default=function e(t,n){var o=t.$textElem,a=o.children();if(!a||!a.length)return o.append(r.default(i.EMPTY_P)),void e(t);var s=a.last();if(n){var l=s.html().toLowerCase(),c=s.getNodeName();if("<br>"!==l&&"<br/>"!==l||"P"!==c)return o.append(r.default(i.EMPTY_P)),void e(t)}t.selection.createRangeByElem(s,!1,!0),t.config.focus?t.selection.restoreSelection():t.selection.clearWindowSelectionRange()}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var a=n(2).__importDefault(n(3));function s(e){(0,e.config.onfocus)(e.txt.html()||"")}t.default=function(e){!function(e){e.txt.eventHooks.changeEvents.push(function(){var t=e.config.onchange;if(t){var n=e.txt.html()||"";t(n)}e.txt.togglePlaceholder()})}(e),function(e){function t(t){var n=t.target,r=a.default(n),i=e.$textElem,l=e.$toolbarElem,c=i.isContain(r),u=l.isContain(r),h=l.elems[0]==t.target;if(c)e.isFocus||s(e),e.isFocus=!0;else{if(u&&!h||!e.isFocus)return;!function(e){var t,n=e.config.onblur,r=e.txt.html()||"";(0,o.default)(t=e.txt.eventHooks.onBlurEvents).call(t,function(e){return e()}),n(r)}(e),e.isFocus=!1}}e.isFocus=!1,document.activeElement===e.$textElem.elems[0]&&e.config.focus&&(s(e),e.isFocus=!0),a.default(document).on("click",t),e.beforeDestroy(function(){a.default(document).off("click",t)})}(e),function(e){e.$textElem.on("compositionstart",function(){e.isComposing=!0,e.txt.togglePlaceholder()}).on("compositionend",function(){e.isComposing=!1,e.txt.togglePlaceholder()})}(e)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0}),t.default=function(e){var t=e.config,n=t.lang,r=t.languages;if(null==e.i18next)e.i18next={t:function(e){var t=e.split(".");return t[t.length-1]}};else try{e.i18next.init({ns:"wangEditor",lng:n,defaultNS:"wangEditor",resources:r})}catch(e){throw new Error("i18next:"+e)}}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(30));(0,i.default)(t,"__esModule",{value:!0}),t.setUnFullScreen=t.setFullScreen=void 0;var a=n(2).__importDefault(n(3));n(421);t.setFullScreen=function(e){var t=a.default(e.toolbarSelector),n=e.$textContainerElem,r=e.$toolbarElem,i=(0,o.default)(r).call(r,"i.w-e-icon-fullscreen"),s=e.config;i.removeClass("w-e-icon-fullscreen"),i.addClass("w-e-icon-fullscreen_exit"),t.addClass("w-e-full-screen-editor"),t.css("z-index",s.zIndexFullScreen);var l=r.getBoundingClientRect();n.css("height","calc(100% - "+l.height+"px)")};t.setUnFullScreen=function(e){var t=a.default(e.toolbarSelector),n=e.$textContainerElem,r=e.$toolbarElem,i=(0,o.default)(r).call(r,"i.w-e-icon-fullscreen_exit"),s=e.config;i.removeClass("w-e-icon-fullscreen_exit"),i.addClass("w-e-icon-fullscreen"),t.removeClass("w-e-full-screen-editor"),t.css("z-index","auto"),n.css("height",s.height+"px")};t.default=function(e){if(!e.textSelector&&e.config.showFullScreen){var n=e.$toolbarElem,r=a.default('<div class="w-e-menu" data-title="全屏">\n <i class="w-e-icon-fullscreen"></i>\n </div>');r.on("click",function(n){var i;(0,o.default)(i=a.default(n.currentTarget)).call(i,"i").hasClass("w-e-icon-fullscreen")?(r.attr("data-title","取消全屏"),t.setFullScreen(e)):(r.attr("data-title","全屏"),t.setUnFullScreen(e))}),n.append(r)}}},function(e,t,n){var r=n(21),i=n(422);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){(t=n(22)(!1)).push([e.i,".w-e-full-screen-editor {\n position: fixed;\n width: 100%!important;\n height: 100%!important;\n left: 0;\n top: 0;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(30));(0,i.default)(t,"__esModule",{value:!0});t.default=function(e,t){var n=e.$textElem,r=(0,o.default)(n).call(n,"[id='"+t+"']").getOffsetData().top;n.scrollTop(r)}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2).__importDefault(n(127)),i={menu:2,panel:2,toolbar:1,tooltip:1,textContainer:1},o=function(){function e(){this.tier=i,this.baseZIndex=r.default.zIndex}return e.prototype.get=function(e){return e&&this.tier[e]?this.baseZIndex+this.tier[e]:this.baseZIndex},e.prototype.init=function(e){this.baseZIndex==r.default.zIndex&&(this.baseZIndex=e.config.zIndex)},e}();t.default=o},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(74)),a=r(n(4));(0,i.default)(t,"__esModule",{value:!0});var s=n(2),l=s.__importDefault(n(426)),c=n(6),u=n(7);var h=function(e){function t(t){var n=e.call(this,function(e,r){var i;if(e=function(e,t){return(0,o.default)(e).call(e,function(e){var n=e.type,r=e.target,i=e.attributeName;return"attributes"!=n||"attributes"==n&&("contenteditable"==i||r!=t)})}(e,r.target),(i=n.data).push.apply(i,e),t.isCompatibleMode)n.asyncSave();else if(!t.isComposing)return n.asyncSave()})||this;return n.editor=t,n.data=[],n.asyncSave=u.EMPTY_FN,n}return s.__extends(t,e),t.prototype.save=function(){this.data.length&&(this.editor.history.save(this.data),this.data.length=0,this.emit())},t.prototype.emit=function(){var e;(0,a.default)(e=this.editor.txt.eventHooks.changeEvents).call(e,function(e){return e()})},t.prototype.observe=function(){var t=this;e.prototype.observe.call(this,this.editor.$textElem.elems[0]);var n=this.editor.config.onchangeTimeout;this.asyncSave=c.debounce(function(){t.save()},n),this.editor.isCompatibleMode||this.editor.$textElem.on("compositionend",function(){t.asyncSave()})},t}(l.default);t.default=h},function(e,t,n){"use strict";var r=n(0)(n(1));(0,r.default)(t,"__esModule",{value:!0});var i=function(){function e(e,t){var n=this;this.options={subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0},this.callback=function(t){e(t,n)},this.observer=new MutationObserver(this.callback),t&&(this.options=t)}return(0,r.default)(e.prototype,"target",{get:function(){return this.node},enumerable:!1,configurable:!0}),e.prototype.observe=function(e){this.node instanceof Node||(this.node=e,this.connect())},e.prototype.connect=function(){if(this.node)return this.observer.observe(this.node,this.options),this;throw new Error("还未初始化绑定,请您先绑定有效的 Node 节点")},e.prototype.disconnect=function(){var e=this.observer.takeRecords();e.length&&this.callback(e),this.observer.disconnect()},e}();t.default=i},function(e,t,n){"use strict";var r=n(0)(n(1));(0,r.default)(t,"__esModule",{value:!0});var i=n(2),o=i.__importDefault(n(428)),a=i.__importDefault(n(435)),s=i.__importDefault(n(436)),l=function(){function e(e){this.editor=e,this.content=new o.default(e),this.scroll=new a.default(e),this.range=new s.default(e)}return(0,r.default)(e.prototype,"size",{get:function(){return this.scroll.size},enumerable:!1,configurable:!0}),e.prototype.observe=function(){this.content.observe(),this.scroll.observe(),!this.editor.isCompatibleMode&&this.range.observe()},e.prototype.save=function(e){e.length&&(this.content.save(e),this.scroll.save(),!this.editor.isCompatibleMode&&this.range.save())},e.prototype.revoke=function(){this.editor.change.disconnect();var e=this.content.revoke();e&&(this.scroll.revoke(),this.editor.isCompatibleMode||(this.range.revoke(),this.editor.$textElem.focus())),this.editor.change.connect(),e&&this.editor.change.emit()},e.prototype.restore=function(){this.editor.change.disconnect();var e=this.content.restore();e&&(this.scroll.restore(),this.editor.isCompatibleMode||(this.range.restore(),this.editor.$textElem.focus())),this.editor.change.connect(),e&&this.editor.change.emit()},e}();t.default=l},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(429)),o=r.__importDefault(n(433)),a=function(){function e(e){this.editor=e}return e.prototype.observe=function(){this.editor.isCompatibleMode?this.cache=new o.default(this.editor):this.cache=new i.default(this.editor),this.cache.observe()},e.prototype.save=function(e){this.editor.isCompatibleMode?this.cache.save():this.cache.compile(e)},e.prototype.revoke=function(){var e;return null===(e=this.cache)||void 0===e?void 0:e.revoke()},e.prototype.restore=function(){var e;return null===(e=this.cache)||void 0===e?void 0:e.restore()},e}();t.default=a},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=r.__importDefault(n(99)),o=r.__importDefault(n(431)),a=n(432),s=function(e){function t(t){var n=e.call(this,t.config.historyMaxSize)||this;return n.editor=t,n}return r.__extends(t,e),t.prototype.observe=function(){this.resetMaxSize(this.editor.config.historyMaxSize)},t.prototype.compile=function(e){return this.save(o.default(e)),this},t.prototype.revoke=function(){return e.prototype.revoke.call(this,function(e){a.revoke(e)})},t.prototype.restore=function(){return e.prototype.restore.call(this,function(e){a.restore(e)})},t}(i.default);t.default=s},function(e,t,n){"use strict";var r=n(0)(n(1));(0,r.default)(t,"__esModule",{value:!0}),t.CeilStack=void 0;var i=function(){function e(e){void 0===e&&(e=0),this.data=[],this.max=0,this.reset=!1,(e=Math.abs(e))&&(this.max=e)}return e.prototype.resetMax=function(e){e=Math.abs(e),this.reset||isNaN(e)||(this.max=e,this.reset=!0)},(0,r.default)(e.prototype,"size",{get:function(){return this.data.length},enumerable:!1,configurable:!0}),e.prototype.instack=function(e){return this.data.unshift(e),this.max&&this.size>this.max&&(this.data.length=this.max),this},e.prototype.outstack=function(){return this.data.shift()},e.prototype.clear=function(){return this.data.length=0,this},e}();t.CeilStack=i},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(26));(0,i.default)(t,"__esModule",{value:!0}),t.compliePosition=t.complieNodes=t.compileValue=t.compileType=void 0;var s=n(6);function l(e){switch(e){case"childList":return"node";case"attributes":return"attr";default:return"text"}}function c(e){switch(e.type){case"attributes":return e.target.getAttribute(e.attributeName)||"";case"characterData":return e.target.textContent;default:return""}}function u(e){var t={};return e.addedNodes.length&&(t.add=s.toArray(e.addedNodes)),e.removedNodes.length&&(t.remove=s.toArray(e.removedNodes)),t}function h(e){return e.previousSibling?{type:"before",target:e.previousSibling}:e.nextSibling?{type:"after",target:e.nextSibling}:{type:"parent",target:e.target}}t.compileType=l,t.compileValue=c,t.complieNodes=u,t.compliePosition=h;var d=["UL","OL","H1","H2","H3","H4","H5","H6"];function f(e,t){for(var n=0,r=t.length-1;r>0&&e.contains(t[r]);r--)n++;return n}t.default=function(e){var t=[],n=!1,r=[];return(0,o.default)(e).call(e,function(e,i){var o={type:l(e.type),target:e.target,attr:e.attributeName||"",value:c(e)||"",oldValue:e.oldValue||"",nodes:u(e),position:h(e)};if(t.push(o),s.UA.isFirefox){if(n&&e.addedNodes.length&&1==e.addedNodes[0].nodeType){var p=e.addedNodes[0],A={type:"node",target:p,attr:"",value:"",oldValue:"",nodes:{add:[n]},position:{type:"parent",target:p}};-1!=(0,a.default)(d).call(d,p.nodeName)?(A.nodes.add=s.toArray(p.childNodes),t.push(A)):3==n.nodeType?(f(p,r)&&(A.nodes.add=s.toArray(p.childNodes)),t.push(A)):-1==(0,a.default)(d).call(d,e.target.nodeName)&&f(p,r)&&(A.nodes.add=s.toArray(p.childNodes),t.push(A))}"node"==o.type&&1==e.removedNodes.length?(n=e.removedNodes[0],r.push(n)):(n=!1,r.length=0)}}),t}},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(4)),a=r(n(130));function s(e,t){var n=e.position.target;switch(e.position.type){case"before":n.nextSibling?(n=n.nextSibling,(0,o.default)(t).call(t,function(t){e.target.insertBefore(t,n)})):(0,o.default)(t).call(t,function(t){e.target.appendChild(t)});break;case"after":(0,o.default)(t).call(t,function(t){e.target.insertBefore(t,n)});break;default:(0,o.default)(t).call(t,function(e){n.appendChild(e)})}}(0,i.default)(t,"__esModule",{value:!0}),t.restore=t.revoke=void 0;var l={node:function(e){for(var t=0,n=(0,a.default)(e.nodes);t<n.length;t++){var r=n[t],i=r[0],l=r[1];switch(i){case"add":(0,o.default)(l).call(l,function(t){e.target.removeChild(t)});break;default:s(e,l)}}},text:function(e){e.target.textContent=e.oldValue},attr:function(e){var t=e.target;null==e.oldValue?t.removeAttribute(e.attr):t.setAttribute(e.attr,e.oldValue)}};t.revoke=function(e){for(var t=e.length-1;t>-1;t--){var n=e[t];l[n.type](n)}};var c={node:function(e){for(var t=0,n=(0,a.default)(e.nodes);t<n.length;t++){var r=n[t],i=r[0],l=r[1];switch(i){case"add":s(e,l);break;default:(0,o.default)(l).call(l,function(e){e.parentNode.removeChild(e)})}}},text:function(e){e.target.textContent=e.value},attr:function(e){e.target.setAttribute(e.attr,e.value)}};t.restore=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];c[r.type](r)}}},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(434),i=function(){function e(e){this.editor=e,this.data=new r.TailChain}return e.prototype.observe=function(){this.data.resetMax(this.editor.config.historyMaxSize),this.data.insertLast(this.editor.$textElem.html())},e.prototype.save=function(){return this.data.insertLast(this.editor.$textElem.html()),this},e.prototype.revoke=function(){var e=this.data.prev();return!!e&&(this.editor.$textElem.html(e),!0)},e.prototype.restore=function(){var e=this.data.next();return!!e&&(this.editor.$textElem.html(e),!0)},e}();t.default=i},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(93));(0,i.default)(t,"__esModule",{value:!0}),t.TailChain=void 0;var a=function(){function e(){this.data=[],this.max=0,this.point=0,this.isRe=!1}return e.prototype.resetMax=function(e){(e=Math.abs(e))&&(this.max=e)},(0,i.default)(e.prototype,"size",{get:function(){return this.data.length},enumerable:!1,configurable:!0}),e.prototype.insertLast=function(e){var t;this.isRe&&((0,o.default)(t=this.data).call(t,this.point+1),this.isRe=!1);for(this.data.push(e);this.max&&this.size>this.max;)this.data.shift();return this.point=this.size-1,this},e.prototype.current=function(){return this.data[this.point]},e.prototype.prev=function(){if(!this.isRe&&(this.isRe=!0),this.point--,!(this.point<0))return this.current();this.point=0},e.prototype.next=function(){if(!this.isRe&&(this.isRe=!0),this.point++,!(this.point>=this.size))return this.current();this.point=this.size-1},e}();t.TailChain=a},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0});var r=n(2),i=function(e){function t(t){var n=e.call(this,t.config.historyMaxSize)||this;return n.editor=t,n.last=0,n.target=t.$textElem.elems[0],n}return r.__extends(t,e),t.prototype.observe=function(){var e=this;this.target=this.editor.$textElem.elems[0],this.editor.$textElem.on("scroll",function(){e.last=e.target.scrollTop}),this.resetMaxSize(this.editor.config.historyMaxSize)},t.prototype.save=function(){return e.prototype.save.call(this,[this.last,this.target.scrollTop]),this},t.prototype.revoke=function(){var t=this;return e.prototype.revoke.call(this,function(e){t.target.scrollTop=e[0]})},t.prototype.restore=function(){var t=this;return e.prototype.restore.call(this,function(e){t.target.scrollTop=e[1]})},t}(r.__importDefault(n(99)).default);t.default=i},function(e,t,n){"use strict";var r=n(0)(n(1));(0,r.default)(t,"__esModule",{value:!0});var i=n(2),o=i.__importDefault(n(99)),a=i.__importDefault(n(3)),s=n(6);function l(e){return{start:[e.startContainer,e.startOffset],end:[e.endContainer,e.endOffset],root:e.commonAncestorContainer,collapsed:e.collapsed}}var c=function(e){function t(t){var n=e.call(this,t.config.historyMaxSize)||this;return n.editor=t,n.lastRange=l(document.createRange()),n.root=t.$textElem.elems[0],n.updateLastRange=s.debounce(function(){n.lastRange=l(n.rangeHandle)},t.config.onchangeTimeout),n}return i.__extends(t,e),(0,r.default)(t.prototype,"rangeHandle",{get:function(){var e=document.getSelection();return e&&e.rangeCount?e.getRangeAt(0):document.createRange()},enumerable:!1,configurable:!0}),t.prototype.observe=function(){var e=this;function t(){var t=e.rangeHandle;(e.root===t.commonAncestorContainer||e.root.contains(t.commonAncestorContainer))&&(e.editor.isComposing||e.updateLastRange())}this.root=this.editor.$textElem.elems[0],this.resetMaxSize(this.editor.config.historyMaxSize),a.default(document).on("selectionchange",t),this.editor.beforeDestroy(function(){a.default(document).off("selectionchange",t)}),e.editor.$textElem.on("keydown",function(t){"Backspace"!=t.key&&"Delete"!=t.key||e.updateLastRange()})},t.prototype.save=function(){var t=l(this.rangeHandle);return e.prototype.save.call(this,[this.lastRange,t]),this.lastRange=t,this},t.prototype.set=function(e){try{if(e){var t=this.rangeHandle;return t.setStart.apply(t,e.start),t.setEnd.apply(t,e.end),this.editor.menus.changeActive(),!0}}catch(e){return!1}return!1},t.prototype.revoke=function(){var t=this;return e.prototype.revoke.call(this,function(e){t.set(e[0])})},t.prototype.restore=function(){var t=this;return e.prototype.restore.call(this,function(e){t.set(e[1])})},t}(o.default);t.default=c},function(e,t,n){"use strict";var r=n(0),i=r(n(1)),o=r(n(30));(0,i.default)(t,"__esModule",{value:!0});var a=n(2).__importDefault(n(3));n(438),t.default=function(e){var t,n,r=!1;return e.txt.eventHooks.changeEvents.push(function(){r&&(0,o.default)(t).call(t,".w-e-content-preview").html(e.$textElem.html())}),{disable:function(){if(!r){e.$textElem.hide();var i=e.zIndex.get("textContainer"),o=e.txt.html();t=a.default('<div class="w-e-content-mantle" style="z-index:'+i+'">\n <div class="w-e-content-preview w-e-text">'+o+"</div>\n </div>"),e.$textContainerElem.append(t);var s=e.zIndex.get("menu");n=a.default('<div class="w-e-menue-mantle" style="z-index:'+s+'"></div>'),e.$toolbarElem.append(n),r=!0}},enable:function(){r&&(t.remove(),n.remove(),e.$textElem.show(),r=!1)}}}},function(e,t,n){var r=n(21),i=n(439);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},function(e,t,n){(t=n(22)(!1)).push([e.i,".w-e-content-mantle {\n width: 100%;\n height: 100%;\n overflow-y: auto;\n}\n.w-e-content-mantle .w-e-content-preview {\n width: 100%;\n min-height: 100%;\n padding: 0 10px;\n line-height: 1.5;\n}\n.w-e-content-mantle .w-e-content-preview img {\n cursor: default;\n}\n.w-e-content-mantle .w-e-content-preview img:hover {\n box-shadow: none;\n}\n.w-e-menue-mantle {\n position: absolute;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";(0,n(0)(n(1)).default)(t,"__esModule",{value:!0})}]).default},e.exports=r()},awF4:function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(t,n("DuR2"))},ax3d:function(e,t,n){var r=n("e8AB")("keys"),i=n("3Eo+");e.exports=function(e){return r[e]||(r[e]=i(e))}},bOdI:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n("C4MV"),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},bRrM:function(e,t,n){"use strict";var r=n("7KvD"),i=n("FeBl"),o=n("evD5"),a=n("+E39"),s=n("dSzd")("species");e.exports=function(e){var t="function"==typeof i[e]?i[e]:r[e];a&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},bW9N:function(e,t,n){"use strict";t.a=
- /**
- * @fileoverview Styles for gantt-elastic
- * @license MIT
- * @author Rafal Pospiech <neuronet.io@gmail.com>
- * @package GanttElastic
- */
- function(e="12px",t="Arial, sans-serif"){return{fontSize:e,fontFamily:t,"main-view":{background:"#FFFFFF"},"main-container-wrapper":{overflow:"hidden","border-top":"1px solid #eee","border-bottom":"1px solid #eee"},"main-container":{float:"left","max-width":"100%"},"main-view-container":{},container:{display:"flex","max-width":"100%",height:"100%"},"calendar-wrapper":{"user-select":"none"},calendar:{width:"100%",background:"#f3f5f7",display:"block"},"calendar-row":{display:"flex","justify-content":"space-evenly"},"calendar-row--month":{},"calendar-row--day":{},"calendar-row--hour":{"border-bottom":"1px solid #eee"},"calendar-row-rect":{background:"transparent",display:"flex"},"calendar-row-rect--month":{},"calendar-row-rect--day":{},"calendar-row-rect--hour":{},"calendar-row-rect-child":{display:"block","border-right-width":"1px","border-right-color":"#dadada","border-right-style":"solid",position:"relative"},"calendar-row-rect-child--month":{},"calendar-row-rect-child--day":{"text-align":"center"},"calendar-row-rect-child--hour":{"text-align":"center"},"calendar-row-text":{"font-family":t,"font-size":e,color:"#606060",display:"inline-block",position:"relative"},"calendar-row-text--month":{},"calendar-row-text--day":{},"calendar-row-text--hour":{},"task-list-wrapper":{},"task-list":{background:"transparent","border-color":"#eee"},"task-list-header":{display:"flex","user-select":"none","vertical-align":"middle","border-bottom":"1px solid #eee","border-left":"1px solid #eee"},"task-list-header-column":{"border-left":"1px solid #00000050","box-sizing":"border-box",display:"flex",background:"#f3f5f7","border-color":"transparent"},"task-list-expander-wrapper":{display:"inline-flex","flex-shrink":"0","box-sizing":"border-box",margin:"0 0 0 10px"},"task-list-expander-content":{display:"inline-flex",cursor:"pointer",margin:"auto 0px","box-sizing":"border-box","user-select":"none"},"task-list-expander-line":{fill:"transparent",stroke:"#000000","stroke-width":"1","stroke-linecap":"round"},"task-list-expander-border":{fill:"#ffffffa0",stroke:"#000000A0"},"chart-expander-wrapper":{display:"block","line-height":"1","box-sizing":"border-box",margin:"0"},"chart-expander-content":{display:"inline-flex",cursor:"pointer",margin:"auto 0px","box-sizing":"border-box","user-select":"none"},"chart-expander-line":{fill:"transparent",stroke:"#000000","stroke-width":"1","stroke-linecap":"round"},"chart-expander-border":{fill:"#ffffffa0",stroke:"#000000A0"},"task-list-container":{},"task-list-header-label":{overflow:"hidden","text-overflow":"ellipsis","font-family":t,"font-size":e,"box-sizing":"border-box",margin:"auto 6px","flex-grow":"1","vertical-align":"middle"},"task-list-header-resizer-wrapper":{background:"transparent",height:"100%",width:"6px",cursor:"col-resize",display:"inline-flex","vertical-align":"center"},"task-list-header-resizer":{margin:"auto 0px"},"task-list-header-resizer-dot":{width:"3px",height:"3px",background:"#ddd","border-radius":"100%",margin:"4px 0px"},"task-list-items":{overflow:"hidden"},"task-list-item":{"border-top":"1px solid #eee","border-right":"1px solid #eee","box-sizing":"border-box",display:"flex",background:"transparent"},"task-list-item-column":{display:"inline-flex","flex-shrink":"0","border-left":"1px solid #00000050","box-sizing":"border-box","border-color":"#eee"},"task-list-item-value-wrapper":{overflow:"hidden",display:"flex",width:"100%"},"task-list-item-value-container":{margin:"auto 0px",overflow:"hidden"},"task-list-item-value":{display:"block","flex-shrink":"100","font-family":t,"font-size":e,"margin-top":"auto","margin-bottom":"auto","margin-left":"6px","margin-right":"6px",overflow:"hidden","text-overflow":"ellipsis","line-height":"1.5em","word-break":"keep-all","white-space":"nowrap",color:"#606060",background:"#FFFFFF"},"grid-lines":{},"grid-line-horizontal":{stroke:"#00000010","stroke-width":1},"grid-line-vertical":{stroke:"#00000010","stroke-width":1},"grid-line-time":{stroke:"#FF000080","stroke-width":1},chart:{"user-select":"none",overflow:"hidden"},"chart-calendar-container":{"user-select":"none",overflow:"hidden","max-width":"100%","border-right":"1px solid #eee"},"chart-graph-container":{"user-select":"none",overflow:"hidden","max-width":"100%","border-right":"1px solid #eee"},"chart-area":{},"chart-graph":{overflow:"hidden"},"chart-row-text-wrapper":{},"chart-row-text":{background:"#ffffffa0","border-radius":"10px","font-family":t,"font-size":e,"font-weight":"normal",color:"#000000a0",height:"100%",display:"inline-block"},"chart-row-text-content":{padding:"0px 6px"},"chart-row-text-content--text":{},"chart-row-text-content--html":{},"chart-row-wrapper":{},"chart-row-bar-wrapper":{},"chart-row-bar":{},"chart-row-bar-polygon":{stroke:"#E74C3C","stroke-width":1,fill:"#F75C4C"},"chart-row-project-wrapper":{},"chart-row-project":{},"chart-row-project-polygon":{},"chart-row-milestone-wrapper":{},"chart-row-milestone":{},"chart-row-milestone-polygon":{},"chart-row-task-wrapper":{},"chart-row-task":{},"chart-row-task-polygon":{},"chart-row-progress-bar-wrapper":{},"chart-row-progress-bar":{},"chart-row-progress-bar-line":{stroke:"#ffffff25","stroke-width":20},"chart-row-progress-bar-solid":{fill:"#0EAC51",height:"20%"},"chart-row-progress-bar-pattern":{fill:"url(#diagonalHatch)",transform:"translateY(0.1) scaleY(0.8)"},"chart-row-progress-bar-outline":{stroke:"#E74C3C","stroke-width":1},"chart-dependency-lines-wrapper":{},"chart-dependency-lines-path":{fill:"transparent",stroke:"#FFa00090","stroke-width":2},"chart-scroll-container":{},"chart-scroll-container--horizontal":{overflow:"auto","max-width":"100%"},"chart-scroll-container--vertical":{"overflow-y":"auto","overflow-x":"hidden","max-height":"100%",float:"right"},"chart-days-highlight-rect":{fill:"#f3f5f780"},"slot-header-beforeOptions":{display:"inline-block"}}}},"c/Tr":function(e,t,n){e.exports={default:n("5zde"),__esModule:!0}},cGG2:function(e,t,n){"use strict";var r=n("JP+z"),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:l,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function e(){var t={};function n(n,r){l(t[r])&&l(n)?t[r]=e(t[r],n):l(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},cWxy:function(e,t,n){"use strict";var r=n("dVOP");function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},ciWi:function(e,t,n){var r=n("awF4"),i=e.exports={WebVTT:n("dlST"),VTTCue:n("aj7g"),VTTRegion:n("DvOw")};r.vttjs=i,r.WebVTT=i.WebVTT;var o=i.VTTCue,a=i.VTTRegion,s=r.VTTCue,l=r.VTTRegion;i.shim=function(){r.VTTCue=o,r.VTTRegion=a},i.restore=function(){r.VTTCue=s,r.VTTRegion=l},r.VTTCue||i.shim()},cnZr:function(e,t,n){var r=n("kM2E"),i=n("L42u");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},cnlX:function(e,t,n){n("iInB");var r=n("FeBl").Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},crlp:function(e,t,n){var r=n("7KvD"),i=n("FeBl"),o=n("O4g8"),a=n("Kh4W"),s=n("evD5").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},d4lq:function(e,t,n){var r=n("To6e"),i=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int),a=(r.new_int_n,r.assert,n("/00o"));e.exports=function(e,t,n,r){this.l=o(1+a.SBMAX_l),this.s=o(1+a.SBMAX_s),this.psfb21=o(1+a.PSFB21),this.psfb12=o(1+a.PSFB12);var s=this.l,l=this.s;4==arguments.length&&(this.arrL=arguments[0],this.arrS=arguments[1],this.arr21=arguments[2],this.arr12=arguments[3],i.arraycopy(this.arrL,0,s,0,Math.min(this.arrL.length,this.l.length)),i.arraycopy(this.arrS,0,l,0,Math.min(this.arrS.length,this.s.length)),i.arraycopy(this.arr21,0,this.psfb21,0,Math.min(this.arr21.length,this.psfb21.length)),i.arraycopy(this.arr12,0,this.psfb12,0,Math.min(this.arr12.length,this.psfb12.length)))}},d7EF:function(e,t,n){"use strict";t.__esModule=!0;var r=o(n("us/S")),i=o(n("BO1k"));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var s,l=(0,i.default)(e);!(r=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},dIwP:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},dNDb:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},dSOO:function(e,t,n){n("X0uZ"),e.exports=9007199254740991},dSzd:function(e,t,n){var r=n("e8AB")("wks"),i=n("3Eo+"),o=n("7KvD").Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},dVOP:function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},dY0y:function(e,t,n){var r=n("dSzd")("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},dlST:function(e,t){var n=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function r(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function i(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function o(){this.values=n(null)}function a(e,t,n,r){var i=r?e.split(r):[e];for(var o in i)if("string"==typeof i[o]){var a=i[o].split(n);if(2===a.length)t(a[0],a[1])}}function s(e,t,n){var s=e;function l(){var t=i(e);if(null===t)throw new r(r.Errors.BadTimeStamp,"Malformed timestamp: "+s);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function c(){e=e.replace(/^\s+/,"")}if(c(),t.startTime=l(),c(),"--\x3e"!==e.substr(0,3))throw new r(r.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+s);e=e.substr(3),c(),t.endTime=l(),c(),function(e,t){var r=new o;a(e,function(e,t){switch(e){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===t){r.set(e,n[i].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var o=t.split(","),a=o[0];r.integer(e,a),r.percent(e,a)&&r.set("snapToLines",!1),r.alt(e,a,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=t.split(","),r.percent(e,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start","middle","end","left","right"])}},/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical",""),t.line=r.get("line","auto"),t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100),t.align=r.get("align","middle"),t.position=r.get("position",{start:0,left:0,middle:50,end:100,right:100},t.align),t.positionAlign=r.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},t.align)}(e,t)}r.prototype=n(Error.prototype),r.prototype.constructor=r,r.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var l={"&":"&","<":"<",">":">","‎":"","‏":""," ":" "},c={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},u={v:"title",lang:"lang"},h={rt:"ruby"};function d(e,t){function n(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>]*>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}function r(e){return l[e]}function o(e){for(;m=e.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)e=e.replace(m[0],r);return e}function a(e,t){return!h[t.localName]||h[t.localName]===e.localName}function s(t,n){var r=c[t];if(!r)return null;var i=e.document.createElement(r);i.localName=r;var o=u[t];return o&&n&&(i[o]=n.trim()),i}for(var d,f=e.document.createElement("div"),p=f,A=[];null!==(d=n());)if("<"!==d[0])p.appendChild(e.document.createTextNode(o(d)));else{if("/"===d[1]){A.length&&A[A.length-1]===d.substr(2).replace(">","")&&(A.pop(),p=p.parentNode);continue}var g,v=i(d.substr(1,d.length-2));if(v){g=e.document.createProcessingInstruction("timestamp",v),p.appendChild(g);continue}var m=d.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!m)continue;if(!(g=s(m[1],m[3])))continue;if(!a(p,g))continue;m[2]&&(g.className=m[2].substr(1).replace("."," ")),A.push(m[1]),p.appendChild(g),p=g}return f}var f=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function p(e){for(var t=0;t<f.length;t++){var n=f[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function A(){}function g(e,t,n){var r=/MSIE\s8\.0/.test(navigator.userAgent),i="rgba(255, 255, 255, 1)",o="rgba(0, 0, 0, 0.8)";r&&(i="rgb(255, 255, 255)",o="rgb(0, 0, 0)"),A.call(this),this.cue=t,this.cueDiv=d(e,t.text);var a={color:i,backgroundColor:o,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};r||(a.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",a.unicodeBidi="plaintext"),this.applyStyles(a,this.cueDiv),this.div=e.document.createElement("div"),a={textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},r||(a.direction=function(e){var t=[],n="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function i(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var o=n.match(/^.*(\n|\r)/);return o?(e.length=0,o[0]):n}return"ruby"===t.tagName?i(e):t.childNodes?(r(e,t),i(e)):void 0}for(r(t,e);n=i(t);)for(var o=0;o<n.length;o++)if(p(n.charCodeAt(o)))return"rtl";return"ltr"}(this.cueDiv),a.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(a),this.div.appendChild(this.cueDiv);var s=0;switch(t.positionAlign){case"start":s=t.position;break;case"middle":s=t.position-t.size/2;break;case"end":s=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(s,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(s,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function v(e){var t,n,r,i,o=/MSIE\s8\.0/.test(navigator.userAgent);if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,i=e.div.offsetTop;var a=(a=e.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();e=e.div.getBoundingClientRect(),t=a?Math.max(a[0]&&a[0].height||0,e.height/a.length):0}this.left=e.left,this.right=e.right,this.top=e.top||i,this.height=e.height||n,this.bottom=e.bottom||i+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight,o&&!this.lineHeight&&(this.lineHeight=13)}function m(e,t,n,r){var i=new v(t),o=t.cue,a=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,i=0;i<n.length&&n[i]!==t;i++)"showing"===n[i].mode&&r++;return-1*++r}(o),s=[];if(o.snapToLines){var l;switch(o.vertical){case"":s=["+y","-y"],l="height";break;case"rl":s=["+x","-x"],l="width";break;case"lr":s=["-x","+x"],l="width"}var c=i.lineHeight,u=c*Math.round(a),h=n[l]+c,d=s[0];Math.abs(u)>h&&(u=u<0?-1:1,u*=Math.ceil(h/c)*c),a<0&&(u+=""===o.vertical?n.height:n.width,s=s.reverse()),i.move(d,u)}else{var f=i.lineHeight/n.height*100;switch(o.lineAlign){case"middle":a-=f/2;break;case"end":a-=f}switch(o.vertical){case"":t.applyStyles({top:t.formatStyle(a,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(a,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(a,"%")})}s=["+y","-x","+x","-y"],i=new v(t)}var p=function(e,t){for(var i,o=new v(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var l=e.intersectPercentage(n);a>l&&(i=new v(e),a=l),e=new v(o)}return i||o}(i,s);t.move(p.toCSSCompatValues(n))}function y(){}A.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},A.prototype.formatStyle=function(e,t){return 0===e?0:e+t},g.prototype=n(A.prototype),g.prototype.constructor=g,v.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},v.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},v.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},v.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},v.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},v.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},v.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},v.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}},y.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},y.convertCueToDOMTree=function(e,t){return e&&t?d(e,t):null};y.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r=e.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",n.appendChild(r),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var i=[],o=v.getSimpleBoxPosition(r),a={font:Math.round(.05*o.height*100)/100+"px sans-serif"};!function(){for(var n,s,l=0;l<t.length;l++)s=t[l],n=new g(e,s,a),r.appendChild(n.div),m(0,n,o,i),s.displayState=n.div,i.push(v.getSimpleBoxPosition(n))}()}else for(var s=0;s<t.length;s++)r.appendChild(t[s].displayState)},y.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},y.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof r))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}function l(e){e.match(/X-TIMESTAMP-MAP/)?a(e,function(e,n){switch(e){case"X-TIMESTAMP-MAP":r=n,s=new o,a(r,function(e,t){switch(e){case"MPEGT":s.integer(e+"S",t);break;case"LOCA":s.set(e+"L",i(t))}},/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:s.get("MPEGTS"),LOCAL:s.get("LOCAL")})}var r,s},/=/):a(e,function(e,n){switch(e){case"Region":!function(e){var n=new o;if(a(e,function(e,t){switch(e){case"id":n.set(e,t);break;case"width":n.percent(e,t);break;case"lines":n.integer(e,t);break;case"regionanchor":case"viewportanchor":var r=t.split(",");if(2!==r.length)break;var i=new o;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;n.set(e+"X",i.get("x")),n.set(e+"Y",i.get("y"));break;case"scroll":n.alt(e,t,["up"])}},/=/,/\s/),n.has("id")){var r=new(t.vttjs.VTTRegion||t.window.VTTRegion);r.width=n.get("width",100),r.lines=n.get("lines",3),r.regionAnchorX=n.get("regionanchorX",0),r.regionAnchorY=n.get("regionanchorY",100),r.viewportAnchorX=n.get("viewportanchorX",0),r.viewportAnchorY=n.get("viewportanchorY",100),r.scroll=n.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:n.get("id"),region:r})}}(n)}},/:/)}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var c;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var u=(c=n()).match(/^WEBVTT([ \t].*)?$/);if(!u||!u[0])throw new r(r.Errors.BadSignature);t.state="HEADER"}for(var h=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(h?h=!1:c=n(),t.state){case"HEADER":/:/.test(c)?l(c):c||(t.state="ID");continue;case"NOTE":c||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(c)){t.state="NOTE";break}if(!c)continue;if(t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,""),t.state="CUE",-1===c.indexOf("--\x3e")){t.cue.id=c;continue}case"CUE":try{s(c,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var d=-1!==c.indexOf("--\x3e");if(!c||d&&(h=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=c;continue;case"BADCUE":c||(t.state="ID");continue}}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new r(r.Errors.BadSignature)}catch(e){this.reportOrThrowError(e)}return this.onflush&&this.onflush(),this}},e.exports=y},"dwO+":function(e,t,n){(function(t){var r,i=void 0!==t?t:"undefined"!=typeof window?window:{},o=n(9);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r}).call(t,n("DuR2"))},e0Bm:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=61)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},10:function(e,t){e.exports=n("HJMx")},12:function(e,t){e.exports=n("ISYW")},14:function(e,t){e.exports=n("fEB+")},16:function(e,t){e.exports=n("02w1")},17:function(e,t){e.exports=n("ON3O")},21:function(e,t){e.exports=n("E/in")},22:function(e,t){e.exports=n("1oZe")},3:function(e,t){e.exports=n("ylDJ")},31:function(e,t){e.exports=n("zTCi")},33:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){return t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[n("span",[e._v(e._s(e.currentLabel))])])],2)};r._withStripped=!0;var i=n(4),o=n.n(i),a=n(3),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l={mixins:[o.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,r=n.remote,i=n.valueKey;if(!this.created&&!r){if(i&&"object"===(void 0===e?"undefined":s(e))&&"object"===(void 0===t?"undefined":s(t))&&e[i]===t[i])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(a.getValueByPath)(e,n)===Object(a.getValueByPath)(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some(function(e){return Object(a.getValueByPath)(e,n)===Object(a.getValueByPath)(t,n)})}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(a.escapeRegexpString)(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple?t:[t],r=this.select.cachedOptions.indexOf(this),i=n.indexOf(this);r>-1&&i<0&&this.select.cachedOptions.splice(r,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=n(0),u=Object(c.a)(l,r,[],!1,null,null,null);u.options.__file="packages/select/src/option.vue";t.a=u.exports},37:function(e,t){e.exports=n("orbS")},4:function(e,t){e.exports=n("fPll")},5:function(e,t){e.exports=n("fKx3")},6:function(e,t){e.exports=n("y+7x")},61:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu(t)}}},[e.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?n("span",[n("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){e.deleteTag(t,e.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?n("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():n("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,function(t){return n("el-tag",{key:e.getValueKey(t),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":""},on:{close:function(n){e.deleteTag(n,t)}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.currentLabel))])])}),1),e.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.navigateOptions("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.navigateOptions("prev")},function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(t.preventDefault(),e.selectOption(t)):null},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return"button"in t||!e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?e.deletePrevTag(t):null},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),n("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur},nativeOn:{keyup:function(t){return e.debouncedOnInputChange(t)},keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.stopPropagation(),t.preventDefault(),e.navigateOptions("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.stopPropagation(),t.preventDefault(),e.navigateOptions("prev")},function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(t.preventDefault(),e.selectOption(t)):null},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],paste:function(t){return e.debouncedOnInputChange(t)},mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?n("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[e._v("\n "+e._s(e.emptyText)+"\n ")])]:e._e()],2)],1)],1)};r._withStripped=!0;var i=n(4),o=n.n(i),a=n(22),s=n.n(a),l=n(6),c=n.n(l),u=n(10),h=n.n(u),d=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":this.$parent.multiple},this.popperClass],style:{minWidth:this.minWidth}},[this._t("default")],2)};d._withStripped=!0;var f=n(5),p={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[n.n(f).a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var e=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",function(){e.$parent.visible&&e.updatePopper()}),this.$on("destroyPopper",this.destroyPopper)}},A=n(0),g=Object(A.a)(p,d,[],!1,null,null,null);g.options.__file="packages/select/src/select-dropdown.vue";var v=g.exports,m=n(33),y=n(37),b=n.n(y),_=n(14),w=n.n(_),x=n(17),C=n.n(x),S=n(12),B=n.n(S),k=n(16),T=n(31),E=n.n(T),M=n(3),D=n(21),O={mixins:[o.a,c.a,s()("reference"),{data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter(function(e){return e.visible}).every(function(e){return e.disabled})}},watch:{hoverIndex:function(e){var t=this;"number"==typeof e&&e>-1&&(this.hoverOption=this.options[e]||{}),this.options.forEach(function(e){e.hover=t.hoverOption===e})}},methods:{navigateOptions:function(e){var t=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===e?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===e&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(e),this.$nextTick(function(){return t.scrollToOption(t.hoverOption)})}}else this.visible=!0}}}],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(M.isIE)()&&!Object(M.isEdge)()&&!this.visible},showClose:function(){var e=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value;return this.clearable&&!this.selectDisabled&&this.inputHovering&&e},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var e=this,t=this.options.filter(function(e){return!e.created}).some(function(t){return t.currentLabel===e.query});return this.filterable&&this.allowCreate&&""!==this.query&&!t},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return void 0!==this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:h.a,ElSelectMenu:v,ElOption:m.a,ElTag:b.a,ElScrollbar:w.a},directives:{Clickoutside:B.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var e=this;this.$nextTick(function(){e.resetInputHeight()})},propPlaceholder:function(e){this.cachedPlaceHolder=this.currentPlaceholder=e},value:function(e,t){this.multiple&&(this.resetInputHeight(),e&&e.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(M.valueEquals)(e,t)||this.dispatch("ElFormItem","el.form.change",e)},visible:function(e){var t=this;e?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick(function(){t.$refs.input&&""===t.$refs.input.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)}),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",e)},options:function(){var e=this;if(!this.$isServer){this.$nextTick(function(){e.broadcast("ElSelectDropdown","updatePopper")}),this.multiple&&this.resetInputHeight();var t=this.$el.querySelectorAll("input");-1===[].indexOf.call(t,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleComposition:function(e){var t=this,n=e.target.value;if("compositionend"===e.type)this.isOnComposition=!1,this.$nextTick(function(e){return t.handleQueryChange(n)});else{var r=n[n.length-1]||"";this.isOnComposition=!Object(D.isKorean)(r)}},handleQueryChange:function(e){var t=this;this.previousQuery===e||this.isOnComposition||(null!==this.previousQuery||"function"!=typeof this.filterMethod&&"function"!=typeof this.remoteMethod?(this.previousQuery=e,this.$nextTick(function(){t.visible&&t.broadcast("ElSelectDropdown","updatePopper")}),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick(function(){var e=15*t.$refs.input.value.length+20;t.inputLength=t.collapseTags?Math.min(50,e):e,t.managePlaceholder(),t.resetInputHeight()}),this.remote&&"function"==typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(e)):"function"==typeof this.filterMethod?(this.filterMethod(e),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",e),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=e)},scrollToOption:function(e){var t=Array.isArray(e)&&e[0]?e[0].$el:e.$el;if(this.$refs.popper&&t){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");E()(n,t)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var e=this;this.$nextTick(function(){return e.scrollToOption(e.selected)})},emitChange:function(e){Object(M.valueEquals)(this.value,e)||this.$emit("change",e)},getOption:function(e){for(var t=void 0,n="[object object]"===Object.prototype.toString.call(e).toLowerCase(),r="[object null]"===Object.prototype.toString.call(e).toLowerCase(),i="[object undefined]"===Object.prototype.toString.call(e).toLowerCase(),o=this.cachedOptions.length-1;o>=0;o--){var a=this.cachedOptions[o];if(n?Object(M.getValueByPath)(a.value,this.valueKey)===Object(M.getValueByPath)(e,this.valueKey):a.value===e){t=a;break}}if(t)return t;var s={value:e,currentLabel:n||r||i?"":e};return this.multiple&&(s.hitState=!1),s},setSelected:function(){var e=this;if(!this.multiple){var t=this.getOption(this.value);return t.created?(this.createdLabel=t.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=t.currentLabel,this.selected=t,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach(function(t){n.push(e.getOption(t))}),this.selected=n,this.$nextTick(function(){e.resetInputHeight()})},handleFocus:function(e){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.visible=!0,this.filterable&&(this.menuVisibleOnFocus=!0)),this.$emit("focus",e))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(e){var t=this;setTimeout(function(){t.isSilentBlur?t.isSilentBlur=!1:t.$emit("blur",e)},50),this.softFocus=!1},handleClearClick:function(e){this.deleteSelected(e)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(e){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return!0===e||!1===e?(t.hitState=e,e):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(e){if(e.target.value.length<=0&&!this.toggleLastOptionHitState()){var t=this.value.slice();t.pop(),this.$emit("input",t),this.emitChange(t)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(e){8!==e.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var e=this;this.collapseTags&&!this.filterable||this.$nextTick(function(){if(e.$refs.reference){var t=e.$refs.reference.$el.childNodes,n=[].filter.call(t,function(e){return"INPUT"===e.tagName})[0],r=e.$refs.tags,i=e.initialInputHeight||40;n.style.height=0===e.selected.length?i+"px":Math.max(r?r.clientHeight+(r.clientHeight>i?6:0):0,i)+"px",e.visible&&!1!==e.emptyText&&e.broadcast("ElSelectDropdown","updatePopper")}})},resetHoverIndex:function(){var e=this;setTimeout(function(){e.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map(function(t){return e.options.indexOf(t)})):e.hoverIndex=-1:e.hoverIndex=e.options.indexOf(e.selected)},300)},handleOptionSelect:function(e,t){var n=this;if(this.multiple){var r=(this.value||[]).slice(),i=this.getValueIndex(r,e.value);i>-1?r.splice(i,1):(this.multipleLimit<=0||r.length<this.multipleLimit)&&r.push(e.value),this.$emit("input",r),this.emitChange(r),e.created&&(this.query="",this.handleQueryChange(""),this.inputLength=20),this.filterable&&this.$refs.input.focus()}else this.$emit("input",e.value),this.emitChange(e.value),this.visible=!1;this.isSilentBlur=t,this.setSoftFocus(),this.visible||this.$nextTick(function(){n.scrollToOption(e)})},setSoftFocus:function(){this.softFocus=!0;var e=this.$refs.input||this.$refs.reference;e&&e.focus()},getValueIndex:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if("[object object]"===Object.prototype.toString.call(t).toLowerCase()){var n=this.valueKey,r=-1;return e.some(function(e,i){return Object(M.getValueByPath)(e,n)===Object(M.getValueByPath)(t,n)&&(r=i,!0)}),r}return e.indexOf(t)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(e){e.stopPropagation();var t=this.multiple?[]:"";this.$emit("input",t),this.emitChange(t),this.visible=!1,this.$emit("clear")},deleteTag:function(e,t){var n=this.selected.indexOf(t);if(n>-1&&!this.selectDisabled){var r=this.value.slice();r.splice(n,1),this.$emit("input",r),this.emitChange(r),this.$emit("remove-tag",t.value)}e.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(e){e>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(e,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var e=!1,t=this.options.length-1;t>=0;t--)if(this.options[t].created){e=!0,this.hoverIndex=t;break}if(!e)for(var n=0;n!==this.options.length;++n){var r=this.options[n];if(this.query){if(!r.disabled&&!r.groupDisabled&&r.visible){this.hoverIndex=n;break}}else if(r.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(e){return"[object object]"!==Object.prototype.toString.call(e.value).toLowerCase()?e.value:Object(M.getValueByPath)(e.value,this.valueKey)}},created:function(){var e=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=C()(this.debounce,function(){e.onInputChange()}),this.debouncedQueryChange=C()(this.debounce,function(t){e.handleQueryChange(t.target.value)}),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var e=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(k.addResizeListener)(this.$el,this.handleResize);var t=this.$refs.reference;if(t&&t.$el){var n=t.$el.querySelector("input");this.initialInputHeight=n.getBoundingClientRect().height||{medium:36,small:32,mini:28}[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick(function(){t&&t.$el&&(e.inputWidth=t.$el.getBoundingClientRect().width)}),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(k.removeResizeListener)(this.$el,this.handleResize)}},I=Object(A.a)(O,r,[],!1,null,null,null);I.options.__file="packages/select/src/select.vue";var L=I.exports;L.install=function(e){e.component(L.name,L)};t.default=L}})},e6n0:function(e,t,n){var r=n("evD5").f,i=n("D2L2"),o=n("dSzd")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},e8AB:function(e,t,n){var r=n("FeBl"),i=n("7KvD"),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("O4g8")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},eH4C:function(e,t,n){var r;"undefined"!=typeof self&&self,r=function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=3)}([function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(o).concat([i]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i=n(7),o={},a=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},h=null,d="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e){for(var t=0;t<e.length;t++){var n=e[t],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(g(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(g(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:a}}}}function A(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function g(e){var t,n,r=document.querySelector("style["+d+'~="'+e.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(f){var i=l++;r=s||(s=A()),t=y.bind(null,r,i,!1),n=y.bind(null,r,i,!0)}else r=A(),t=function(e,t){var n=t.css,r=t.media,i=t.sourceMap;r&&e.setAttribute("media",r);h.ssrId&&e.setAttribute(d,t.id);i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}e.exports=function(e,t,n,r){c=n,h=r||{};var a=i(e,t);return p(a),function(t){for(var n=[],r=0;r<a.length;r++){var s=a[r];(l=o[s.id]).refs--,n.push(l)}t?p(a=i(e,t)):a=[];for(r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}};var v,m=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function y(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=m(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}},function(e,t){e.exports=function(e,t,n,r,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var c,u="function"==typeof s?s.options:s;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=r),c){var h=u.functional,d=h?u.render:u.beforeCreate;h?(u._injectStyles=c,u.render=function(e,t){return c.call(t),d(e,t)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:a,exports:s,options:u}}},function(e,t,n){e.exports=n(4)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(8);var r=n(9),i=n.n(r),o=n(10),a=n.n(o),s=n(11),l=n.n(s),c={getRectPoint:function(e,t,n,r,i,o,a,s){var l=e+i/2,c=t+o/2,u=n+a/2,h=r+s/2,d=l<u?1:-1,f=c<h?1:-1;if(h===c)return{x:l+d*i/2,y:c};var p=Math.abs((u-l)/(h-c)),A=0,g=0;return p<i/o?(A=d*o/2*p,g=f*o/2):(A=d*i/2,g=f*i/2/p),{x:l+A,y:c+g}},getRectPointBasic:function(e,t,n,r,i,o,a,s){var l=e+i/2,c=t+o/2,u=n+a/2,h=r+s/2,d=h===c?0:(u-l)/(h-c);0===d&&(d=(u-l)/(h-c+1));var f=i/s,p=0,A=0,g="1";return-1*f<d&&d<f?(g="2",c<h?(p=o/2*d,A=o/2):(p=-1*o/2*d,A=-1*o/2)):(l<u?(p=1*i/2,A=1*i/2/d):(p=-1*i/2,A=-1*i/2/d),g="3"),{x:l+p,y:c+A,_case:g}},getRectJoinPoint:function(e,t,n,r,i,o,a,s){var l=e+i/2,c=t+o/2,u=n+a/2,h=r+s/2,d=parseInt(180*Math.atan2(h-c,u-l)/3.14)+135;return d>=0&&d<90?{x:e+i/2,y:t-5}:d>=90&&d<180?{x:e+i+5,y:t+o/2}:d>=180&&d<270?{x:e+i/2,y:t+o+5}:{x:e-5,y:t+o/2}},getRectHJoinPoint:function(e,t,n,r,i,o,a){var s=o/2;return e+i<n?{x:e+i+5,y:t+s}:{x:e-5,y:t+s}},getRectVJoinPoint:function(e,t,n,r,i,o,a,s){var l=i/2;return t+o<r?{y:t+o+5,x:e+l}:{y:t-5,x:e+l}},getBorderPoint:function(e,t,n,r,i,o,a,s,l){return 0===l?this.getCirclePoint(e,t,n,r,i,o,a,s):this.getRectPoint(e,t,n,r,i,o,a,s)},getBorderPoint4MultiLine:function(e,t,n,r,i,o,a,s,l,c,u,h){return 0===l?this.getCirclePoint4MultiLine(e,t,n,r,i,o,a,s,c,u,h):this.getRectPoint(e,t,n,r,i,o,a,s)},getCirclePoint:function(e,t,n,r,i,o,a,s){var l=n+a/2,c=r+s/2,u=e+i/2,h=t+o/2,d=l-u;if(0===d)return{x:u,y:h-o/2*(c<h?1:-1)};var f=(c-h)/d,p=Math.sqrt(1/(1/Math.pow(i/2,2)+f**2/Math.pow(o/2,2)))*(l<u?1:-1);return{x:u-p,y:h-f*p}},getCirclePoint4MultiLine:function(e,t,n,r,i,o,a,s,l,c,u){l&&(u=c-u-1);var h=n+a/2,d=r+s/2,f=e+i/2,p=t+o/2,A=h-f;if(0===A)return{x:f,y:p-o/2*(d<p?1:-1)};var g=40/(c+1)*(u+1)-20,v=d-p,m=Math.sqrt(Math.pow(A,2)+Math.pow(v,2))*g/A,y=v/A,b=i/2,_=o/2,w=h<f?1:-1,x=(-1*b**2*y*m+b*_*Math.sqrt(_**2+y**2*b**2-m**2,2)/w)/(_**2+b**2*y**2);return{x:f-x,y:p-(y*x+m)}},getCirclePointBasic:function(e,t,n,r,i,o,a,s,l){var c=e+i/2,u=t+o/2,h=n+a/2,d=r+s/2;return this.h=h-c,this.s=d-u,this.c=Math.sqrt(this.h*this.h+this.s*this.s),this.l=this.c-l,this.v=this.l*this.h/this.c*-1,this.t=this.l*this.s/this.c*-1,{x:h+this.v,y:d+this.t}},getCirclePointPlus:function(e,t,n,r,i,o,a,s){var l=e+i/2,c=t+o/2,u=n+a/2,h=r+s/2;return this.h=u-l,this.s=h-c,this.c=Math.sqrt(this.h*this.h+this.s*this.s),this.v=(this.c-i/2)*this.h/this.c*-1,this.t=(this.c-o/2)*this.s/this.c*-1,{x:u+this.v,y:h+this.t}},getOvalPoint:function(e,t,n,r,i){return{x:e+n*Math.sin((0+r*(360/i)+0)*Math.PI/180),y:t+n*Math.cos((0+r*(360/i)+0)*Math.PI/180)*-1}},getAngleType:function(e,t){return e>=0&&t>=0?1:e<0&&t>=0?2:e<0&&t<0?3:e>=0&&t<0?4:void 0},getTextAngle:function(e,t,n,r){var i=180*Math.atan(Math.abs((r-t)/(n-e)))/Math.PI;return n>e&&r>t||(n>e&&r<t?i=-i:n<e&&r>t?i=180-i:i-=180),Math.abs(i)>90&&(i+=180),parseInt(i)},getTreePointFromTop:function(e,t,n,r,i,o){return e?{x:e-300+Math.max(600/((1===i?2:i)-1),80)*r,y:t+n}:{x:(o.canvas_width-o.node_width)/2,y:(o.canvas_height-o.node_height)/2-200}},getTreePointFromRight:function(e,t,n,r,i,o){return e?{x:e-n,y:t-200+Math.max(400/((1===i?2:i)-1),80)*r}:{x:(o.canvas_width-o.node_width)/2+300,y:(o.canvas_height-o.node_height)/2}},getTreePointFromBottom:function(e,t,n,r,i,o){return e?{x:e-300+Math.max(600/((1===i?2:i)-1),80)*r,y:t-n}:{x:(o.canvas_width-o.node_width)/2,y:(o.canvas_height-o.node_height)/2+200}},getTreePointFromLeft:function(e,t,n,r,i,o){return e?{x:e+n,y:t-200+Math.max(400/((1===i?2:i)-1),80)*r}:{x:(o.canvas_width-o.node_width)/2-300,y:(o.canvas_height-o.node_height)/2}},analysisNodes:function(e,t,n,r,i){t.length>r.max_length&&(r.max_length=t.length),n>r.max_deep&&(r.max_deep=n);var o={level:n,all_size:t.length,all_strength:0},a=[];t.forEach(t=>{t.lot||(t.lot={}),t.lot.eached=!0,t.lot.subling=o,t.lot.level=n,e.push(t)});var s=0;t.forEach(e=>{var t=0;if(e.targetNodes){let n=0;e.targetNodes.forEach(r=>{r.lot||(r.lot={eached:!1}),r.lot.eached||(c.isAllowShowNode(r)?(r.lot.eached=!0,r.lot.parent=e,r.lot.index_of_parent=n++,e.lot.childs.push(r),a.push(r),t++):e.lot.childs.push(r))})}e.lot.strength=t>0?t:1,o.all_strength+=e.lot.strength,e.lot.strength_plus=o.all_strength,e.lot.index_of_level=s,e.lot.childs_size=t,s++}),o.all_strength>r.max_strength&&(r.max_strength=o.all_strength),a.length>0?this.analysisNodes(e,a,n+1,r,i):(e.forEach(e=>{e.lot.childs_size>0&&(e.lot.strengthWithChilds=0)}),e.forEach(e=>{0===e.lot.childs_size&&(e.lot.strengthWithChilds=1,this.conductStrengthToParents(e))}),this.analysisDataTree([e[0]],0))},analysisNodes4Didirectional:function(e,t,n,r,i){t.length>r.max_length&&(r.max_length=t.length),n>r.max_deep&&(r.max_deep=n);var o={level:n,all_size:t.length,all_strength:0},a=[];t.forEach(t=>{t.lot||(t.lot={}),t.lot.eached=!0,t.lot.subling=o,t.lot.level=n,e.push(t)});var s=0;t.forEach(e=>{var t=0;if(0===i){let n=0;e.targetNodes.forEach(r=>{r.lot||(r.lot={eached:!1}),r.lot.eached||(c.isAllowShowNode(r)?(r.lot.eached=!0,r.lot.parent=e,r.lot.index_of_parent=n++,e.lot.childs.push(r),a.push(r),t++):e.lot.childs.push(r))})}else if(-1===i){let n=0;e.targetFrom.forEach(r=>{r.lot||(r.lot={eached:!1}),r.lot.eached||(c.isAllowShowNode(r)?(r.lot.eached=!0,r.lot.parent=e,r.lot.index_of_parent=n++,e.lot.childs.push(r),a.push(r),t++):e.lot.childs.push(r))})}else{let n=0;e.targetTo.forEach(r=>{r.lot||(r.lot={eached:!1}),r.lot.eached||(c.isAllowShowNode(r)?(r.lot.eached=!0,r.lot.parent=e,r.lot.index_of_parent=n++,e.lot.childs.push(r),a.push(r),t++):e.lot.childs.push(r))})}e.lot.strength=t>0?t:1,o.all_strength+=e.lot.strength,e.lot.strength_plus=o.all_strength,e.lot.index_of_level=s,e.lot.childs_size=t,s++}),o.all_strength>r.max_strength&&(r.max_strength=o.all_strength),a.length>0?c.analysisNodes4Didirectional(e,a,n+(-1===i?-1:1),r,i):(e.forEach(e=>{e.lot.childs_size>0&&(e.lot.strengthWithChilds=0)}),e.forEach(e=>{0===e.lot.childs_size&&(e.lot.strengthWithChilds=1,c.conductStrengthToParents(e))}),c.analysisDataTree([e[0]],0,i))},conductStrengthToParents(e){e.lot.parent&&(e.lot.parent.lot.strengthWithChilds+=1,this.conductStrengthToParents(e.lot.parent))},analysisDataTree:function(e,t,n){void 0===n&&(n=1);var r=[],i=0;e.forEach(e=>{0!==e.lot.level&&n!==(e.lot.level<0?-1:1)||(e.lot.childs_size>0&&e.lot.childs.forEach(e=>{r.push(e)}),e.lot.parent&&i<e.lot.parent.lot.strengthWithChilds_from&&(i=e.lot.parent.lot.strengthWithChilds_from),e.lot.strengthWithChilds_from=i,i+=e.lot.strengthWithChilds)}),r.length>0&&this.analysisDataTree(r,t+n,n)},isAllowShowNode:function(e){return!1!==e.isShow&&!0!==e.isHide&&(!e.lot.parent||!0===this.isAllowShowNode(e.lot.parent,!1))}},u=c;var h=function(e,t){this.graphSetting=t,this.config=e||{},console.log("new SeeksBidirectionalTreeLayouter:",this.config),this.config.from||(this.config.from="left"),this.config.levelDistance&&"string"==typeof this.config.levelDistance&&(this.config.levelDistanceArr=this.config.levelDistance.split(",").map(e=>parseInt(e))),this.rootNode=null,this.allNodes=[],this.__origin_nodes=[],this.refresh=function(){console.log("SeeksBidirectionalTreeLayouter:refresh:nodes:",this.__origin_nodes.length),this.placeNodes(this.__origin_nodes,this.rootNode)},this.analysisNodes4Didirectional=function(e,t,n,r,i){t.length>r.max_length&&(r.max_length=t.length),n>r.max_deep&&(r.max_deep=n);var o={level:n,all_size:t.length,all_strength:0},a=[];t.forEach(t=>{t.lot||(t.lot={}),t.lot.eached=!0,t.lot.subling=o,t.lot.level=n,e.push(t)});var s=0;t.forEach(e=>{var t=0;if(-1===i){let n=0;e.targetFrom.forEach(r=>{r.lot||(r.lot={eached:!1}),r.lot.eached||(u.isAllowShowNode(r)?(r.lot.eached=!0,r.lot.parent=e,r.lot.index_of_parent=n++,e.lot.childs.push(r),a.push(r),t++):e.lot.childs.push(r))})}else{let n=0;e.targetTo.forEach(r=>{r.lot||(r.lot={eached:!1}),r.lot.eached||(u.isAllowShowNode(r)?(r.lot.eached=!0,r.lot.parent=e,r.lot.index_of_parent=n++,e.lot.childs.push(r),a.push(r),t++):e.lot.childs.push(r))})}e.lot.strength=t>0?t:1,o.all_strength+=e.lot.strength,e.lot.strength_plus=o.all_strength,e.lot.index_of_level=s,e.lot.childs_size=t,s++}),o.all_strength>r.max_strength&&(r.max_strength=o.all_strength),a.length>0?this.analysisNodes4Didirectional(e,a,n+i,r,i):(e.forEach(e=>{e.lot.childs_size>0&&(e.lot.strengthWithChilds=0)}),e.forEach(e=>{0===e.lot.childs_size&&(e.lot.strengthWithChilds=1,u.conductStrengthToParents(e))}),u.analysisDataTree([e[0]],0,i))},this.placeNodes=function(e,t){if(console.log("SeeksBidirectionalTreeLayouter:placeNodes"),t){console.log("layout by root:",t),this.__origin_nodes=e,this.rootNode=t,e.forEach(e=>{e.lot.eached=!1,e.lot.notLeafNode=!1,e.lot.childs=[],e.lot.index_of_parent=0,e.lot.strength=0,e.lot.strengthWithChilds_from=0,e.lot.strengthWithChilds=0,e.lot.prevNode=void 0,e.lot.nextNode=void 0,e.lot.placed=!1}),this.allNodes=[];var n={max_deep:1,max_length:1,max_strength:1};this.analysisNodes4Didirectional(this.allNodes,[this.rootNode],0,n,-1),this.placeNodesPosition(this.rootNode,this.allNodes,n),this.allNodes=[],n={max_deep:1,max_length:1,max_strength:1},this.analysisNodes4Didirectional(this.allNodes,[this.rootNode],0,n,1),this.placeNodesPosition(this.rootNode,this.allNodes,n)}else console.error("root is null")},this.placeNodesPosition=function(e,t,n){var r=this.graphSetting.viewSize.width,i=this.graphSetting.viewSize.height,o=e.offset_x||0,a=e.offset_y||0;if(!0!==e.fixed){var s=parseInt(this.config.centerOffset_x)||0,l=parseInt(this.config.centerOffset_y)||0;"top"===this.config.from?(e.lot.x=(r-e.el.offsetWidth)/2+s,e.lot.y=parseInt(.3*i-e.el.offsetHeight)+l):"bottom"===this.config.from?(e.lot.x=(r-e.el.offsetWidth)/2+s,e.lot.y=parseInt(.7*i-e.el.offsetHeight)+l):"right"===this.config.from?(e.lot.x=parseInt(.7*r-e.el.offsetWidth)/2+s,e.lot.y=parseInt(i/2-e.el.offsetHeight/2)+l):(e.lot.x=parseInt(.3*r-e.el.offsetWidth)/2+s,e.lot.y=parseInt(i/2-e.el.offsetHeight/2)+l),console.log("设置根节点位置:",e.text,e.x,e.y,this.graphSetting.canvasSize.width,this.graphSetting.canvasSize.height,this.graphSetting.canvasOffset.x,this.graphSetting.canvasOffset.y),e.x=e.lot.x+o,e.y=e.lot.y+a}else console.log("固定位置的rootNode:",e.text,e.x,e.y),void 0===e.origin_x&&(e.origin_x=e.x,e.origin_y=e.y),e.lot.x=e.origin_x,e.lot.y=e.origin_y,e.x=e.lot.x+o,e.y=e.lot.y+a,console.log("固定位置的rootNode:",e.text,e.x,e.y);e.lot.placed=!0;var c={__mapWidth:r,__mapHeight:i};this.placeRelativePosition(e,n,c),t.forEach(e=>{if(!0!==e.fixed){if(u.isAllowShowNode(e)){var t=e.offset_x||0,n=e.offset_y||0;e.x=e.offset_x+e.lot.x+t,e.y=e.offset_y+e.lot.y+n,e.lot.placed=!0}}else e.lot.placed=!0})},this.placeRelativePosition=function(e,t,n){if("left"===this.config.from||"right"===this.config.from){const r=this.config.min_per_height||80,i=this.config.max_per_height||400,o=this.config.min_per_width||430,a=this.config.max_per_width||650;let s=parseInt((n.__mapWidth-10)/(t.max_deep+2));s<o&&(s=o),s>a&&(s=a);let l=parseInt(n.__mapHeight/(t.max_strength+1));l<r&&(l=r),l>i&&(l=i),this.allNodes.forEach(t=>{!0!==t.fixed&&!0!==t.lot.placed&&t!==e&&("right"===this.config.from?t.lot.x=e.lot.x-this.getLevelDistance(t,t.lot.subling.level,s):t.lot.x=e.lot.x+this.getLevelDistance(t,t.lot.subling.level,s))}),this.allNodes.forEach(n=>{!0!==n.fixed&&0!==n.lot.level&&(n.lot.y=e.lot.y+l*(t.max_strength/-2+n.lot.strengthWithChilds_from+n.lot.strengthWithChilds/2))})}else{const o=this.config.min_per_height||250,a=this.config.max_per_height||400,s=this.config.min_per_width||250,l=this.config.max_per_width||500;var r=parseInt((n.__mapWidth-10)/(t.max_strength+2));r<s&&(r=s),r>l&&(r=l);var i=parseInt((n.__mapHeight-10)/(t.max_deep+2));i<o&&(i=o),i>a&&(i=a),this.allNodes.forEach(t=>{!0!==t.fixed&&!0!==t.lot.placed&&t!==e&&("bottom"===this.config.from?t.lot.y=e.lot.y-this.getLevelDistance(t,t.lot.subling.level,i):t.lot.y=e.lot.y+this.getLevelDistance(t,t.lot.subling.level,i))}),this.allNodes.forEach(n=>{!0!==n.fixed&&0!==n.lot.level&&(n.lot.x=-58+e.lot.x+r*(t.max_strength/-2+n.lot.strengthWithChilds_from+n.lot.strengthWithChilds/2))})}},this.getLevelDistance=function(e,t,n){if(this.config.levelDistanceArr&&this.config.levelDistanceArr.length>0){var r=0;for(let e=0;e<t;e++)r+=this.config.levelDistanceArr[e]||100;return r}return t*n}};var d=function(e,t){this.graphSetting=t,this.config=e||{},this.rootNode=null,this.allNodes=[],this.__origin_nodes=[],this.refresh=function(){window.SeeksGraphDebug&&console.log("SeeksCenterLayouter:refresh"),this.placeNodes(this.__origin_nodes,this.rootNode)},this.placeNodes=function(e,t){if(window.SeeksGraphDebug&&console.log("SeeksCenterLayouter:placeNodes"),t){window.SeeksGraphDebug&&console.log("layout by root:",t),this.__origin_nodes=e,this.rootNode=t,e.forEach(e=>{e.lot.eached=!1,e.lot.notLeafNode=!1,e.lot.childs=[],e.lot.index_of_parent=0,e.lot.strength=0,e.lot.prevNode=void 0,e.lot.nextNode=void 0,e.lot.placed=!1}),this.allNodes=[];var n={max_deep:1,max_length:1};u.analysisNodes4Didirectional(this.allNodes,[this.rootNode],0,n,0),window.SeeksGraphDebug&&console.log("调整画布大小");var r=this.graphSetting.viewSize.width,i=this.graphSetting.viewSize.height;t.lot.x=parseInt((r-t.el.offsetWidth)/2),t.lot.y=parseInt((i-t.el.offsetHeight)/2),this.placeRelativePosition(this.rootNode,n),this.allNodes.forEach(e=>{if(!0!==e.fixed&&u.isAllowShowNode(e)){var t=e.offset_x||0,n=e.offset_y||0;e.x=e.lot.x+t,e.y=e.lot.y+n,e.lot.placed=!0}}),console.log("Start Auto Layout.....")}else console.log("root is null:",t)},this.placeRelativePosition=function(e,t){var n=void 0===this.config.distance_coefficient?1:this.config.distance_coefficient,r=parseInt((this.graphSetting.viewSize.height+this.graphSetting.viewSize.width)/t.max_deep*.2)*n;window.SeeksGraphDebug&&console.log("analyticResult:",t,r,this.config.distance_coefficient),r<150*n&&(r=150*n);var i=0;this.allNodes.forEach(t=>{if(1===t.lot.subling.level){(i=parseInt(50*t.lot.subling.all_size/Math.PI/2))<r&&(i=r);const n=u.getOvalPoint(e.lot.x,e.lot.y,t.lot.subling.level*i,t.lot.strength_plus-t.lot.strength/2,t.lot.subling.all_strength);t.lot.x=n.x,t.lot.y=n.y}});var o=parseInt(300*n);this.allNodes.forEach(t=>{if(t.lot.subling.level>1){var n=t.lot.parent.lot.strength_plus-t.lot.parent.lot.strength,r=(t.lot.parent.lot.strength_plus-n)/(t.lot.parent.lot.childs_size+1)*(t.lot.index_of_parent+1);const a=u.getOvalPoint(e.lot.x,e.lot.y,(t.lot.subling.level-1)*o+i,n+r,t.lot.parent.lot.subling.all_strength);t.lot.x=a.x,t.lot.y=a.y}})},this.layoutTimes=0,this.autoLayout=function(e){if(e&&(this.layoutTimes=0),console.log("this.layoutTimes:",this.layoutTimes),this.layoutTimes>300)this.graphSetting.autoLayouting=!1;else{this.layoutTimes++,this.__origin_nodes.forEach(e=>{e.Fx=0,e.Fy=0});for(const e in this.__origin_nodes){var t=this.__origin_nodes[e];if(!0===t.lot.placed)for(var n in this.__origin_nodes){var r=this.__origin_nodes[n];!0===r.lot.placed&&e!==n&&this.addGravityByNode(t,r)}}for(const e in this.__origin_nodes)this.__origin_nodes[e].lot.parent&&this.addElasticByLine(this.__origin_nodes[e].lot.parent,this.__origin_nodes[e]);for(const e in this.__origin_nodes)this.applyToNodePosition(this.__origin_nodes[e]);window.setTimeout(function(){this.autoLayout()}.bind(this),30)}},this.stop=function(){this.layoutTimes=1e3},this.addElasticByLine=function(e,t){var n=Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2));n>1e3&&(n=1e3);var r=n<30?0:.05*(n-30),i=r,o=r,a=(e.x-t.x)/n,s=(e.y-t.y)/n;this.addFtoNode(e,a*i*-1,s*i*-1,1),this.addFtoNode(t,a*o,s*o,1)},this.addGravityByNode=function(e,t){var n=Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2)),r=n>300?0:.03*(300-n),i=(e.x-t.x)/n,o=(e.y-t.y)/n;this.addFtoNode(e,i*r,o*r,0),this.addFtoNode(t,i*r*-1,o*r*-1,0)},this.getNodeFWeight=function(e){var t=e.lot.level;return t>7&&(t=7),t<0&&(t=0),(8-t)/8},this.addFtoNode=function(e,t,n){isNaN(t)||isNaN(n)||(t/=e.lot.strength,n/=e.lot.strength,t>50&&(t=50),n>50&&(n=50),t<-50&&(t=-50),n<-50&&(n=-50),e.Fx+=t,e.Fy+=n)},this.applyToNodePosition=function(e){const t=parseInt(e.Fx),n=parseInt(e.Fy);e.x=e.x+t,e.y=e.y+n,e.Fx=0,e.Fy=0}};var f=function(e,t){this.setting=t,this.config=e||{},this.__max_deep=1,this.__max_length=1,this.checkMaxDeepAndLength=function(e,t){e.length>this.__max_length&&(this.__max_length=e.length),t>this.__max_deep&&(this.__max_deep=t);var n={level:t,all_size:e.length,all_strength:0},r=[];e.forEach(e=>{e.lot||(e.lot={}),e.lot.eached=!0,e.lot.subling=n,this.allNodes.push(e)});var i,o=0;e.forEach(e=>{var t=0;e.targetNodes&&(e.targetNodes.forEach(n=>{console.log("child node::",n.type,n.lot.eached),n.lot||(n.lot={eached:!1}),"node"===n.type&&n.targetNodes.length<=1?n.lot.eached||(n.lot.parent=e,n.lot.index_of_p_childs=t,n.lot.prevNode=i,i&&(i.lot.nextNode=n),i=n,e.lot.childs.push(n),e.lot.eached=!0,r.push(n),t++):n.lot.notLeafNode=!0}),e.targetNodes.forEach(n=>{n.lot.notLeafNode&&(n.lot||(n.lot={eached:!1}),n.lot.eached||(n.lot.parent=e,n.lot.index_of_p_childs=t,n.lot.prevNode=i,i&&(i.lot.nextNode=n),i=n,e.lot.childs.push(n),e.lot.eached=!0,r.push(n),t++))})),e.lot.strength=t>0?t:1,n.all_strength+=e.lot.strength,e.lot.strength_plus=n.all_strength,e.lot.level_index=o,e.lot.childs_size=t,o++}),r.length>0&&this.checkMaxDeepAndLength(r,t+1)},this.rootNode=null,this.allNodes=[],this.__origin_nodes=[],this.refresh=function(){this.placeNodes(this.__origin_nodes,this.rootNode)},this.placeNodes=function(e,t){if(t){console.log("layout by root:",t),this.__origin_nodes=e,this.rootNode=t,e.forEach(e=>{e.lot.eached=!1,e.lot.notLeafNode=!1,e.lot.childs=[],e.lot.parent=void 0,e.lot.index_of_p_childs=0,e.lot.strength=0,e.lot.prevNode=void 0,e.lot.nextNode=void 0}),this.allNodes=[],console.log("max before:",this.__max_deep,this.__max_length),this.checkMaxDeepAndLength([this.rootNode],0),console.log("max after:",this.__max_deep,this.__max_length),this.setting.canvasSize.width=4e3,this.setting.canvasSize.height=4e3,this.setting.heightByContent&&(console.log("根据数据调整视窗高度"),this.setting.viewSize.height=1600),this.setting.resetViewSize(this.setting);var n=this.setting.viewSize.width,r=this.setting.viewSize.height,i=this.setting.canvasOffset.x,o=this.setting.canvasOffset.y,a={x:n/2-i,y:r/2-o};a.y>800-o&&(a.y=800-o);var s=this.allNodes.length,l=90*s/Math.PI/2;l<200&&(l=200),l>800&&(l=800),this.allNodes.forEach((e,t)=>{const n=u.getOvalPoint(a.x,a.y,l,t,s);e.x=n.x,e.y=n.y}),console.log("Start Auto Layout.....")}else console.log("root is null:",t)},this.adjustLevel2Y=function(e){for(let o=0;o<this.allNodes.length;o++){var t=this.allNodes[o];if(1===t.lot.subling.level&&0===t.lot.childs_size){var n=parseInt(e/(t.lot.subling.all_size+1));n>70&&(n=70),console.log(n,e,t.lot.subling.all_size,t.lot.subling.all_strength,t.lot.strength);for(let e=0;e<this.allNodes.length;e++){var r=this.allNodes[e];if(1===r.lot.subling.level&&r!==t){var i=Math.abs(t.y-r.y);if(i<n-2){console.log("__y_diff",t.name,r.name,i),t.y=r.y+n,o--;break}}}}}},this.layoutTimes=0,this.autoLayout=function(e){if(e&&(this.layoutTimes=0),console.log("this.layoutTimes:",this.layoutTimes),this.layoutTimes>300)t.autoLayouting=!1;else{this.layoutTimes++,this.allNodes.forEach(e=>{e.Fx=0,e.Fy=0});for(const e in this.allNodes)for(var n in this.allNodes)e!==n&&this.addGravityByNode(this.allNodes[e],this.allNodes[n]);for(const e in this.allNodes)this.allNodes[e].lot.parent&&this.addElasticByLine(this.allNodes[e].lot.parent,this.allNodes[e]);for(const e in this.allNodes)this.applyToNodePosition(this.allNodes[e]);window.setTimeout(function(){this.autoLayout()}.bind(this),30)}},this.stop=function(){this.layoutTimes=1e3},this.addElasticByLine=function(e,t){var n=Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2)),r=n<30?0:.01*(n-30);this.addFtoNode(e,(e.x-t.x)*r*-1,(e.y-t.y)*r*-1),this.addFtoNode(t,(t.x-e.x)*r*-1,(t.y-e.y)*r*-1)},this.addGravityByNode=function(e,t){var n=Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2)),r=n>300?0:.02*(300-n),i=e.x-t.x,o=e.y-t.y;0===i&&(i=1),0===o&&(o=1),this.addFtoNode(e,i*r,o*r),this.addFtoNode(t,-1*i*r,-1*o*r)},this.addFtoNode=function(e,t,n){e.Fx+=t,e.Fy+=n},this.applyToNodePosition=function(e){if(this.rootNode===e)return;e.Fx>1e3&&(e.Fx=3e3),e.Fy>1e3&&(e.Fy=3e3),e.Fx<-1e3&&(e.Fx=-3e3),e.Fy<-1e3&&(e.Fy=-3e3);const t=parseInt(.02*e.Fx),n=parseInt(.02*e.Fy);e.x=e.x+t,e.y=e.y+n,e.Fx=0,e.Fy=0}};var p=function(e,t){this.graphSetting=t,this.config=e||{},this.rootNode=null,this.allNodes=[],this.__origin_nodes=[],this.refresh=function(){this.placeNodes(this.__origin_nodes,this.rootNode)},this.placeNodes=function(e,t){if(t){window.SeeksGraphDebug&&console.log("layout by root:",t),this.__origin_nodes=e,this.rootNode=t,e.forEach(e=>{e.lot.eached=!1,e.lot.notLeafNode=!1,e.lot.childs=[],e.lot.index_of_parent=0,e.lot.strength=0,e.lot.prevNode=void 0,e.lot.nextNode=void 0,e.lot.placed=!1}),this.allNodes=[],u.analysisNodes4Didirectional(this.allNodes,[this.rootNode],0,{max_deep:1,max_length:1},0),window.SeeksGraphDebug&&console.log("调整画布大小");var n=this.graphSetting.viewSize.width,r=this.graphSetting.viewSize.height;t.lot.x=parseInt((n-t.el.offsetWidth)/2),t.lot.y=parseInt((r-t.el.offsetHeight)/2),window.SeeksGraphDebug&&console.log("[layout canvasOffset]",this.graphSetting.viewSize,this.graphSetting.canvasSize),this.placeRelativePosition(this.rootNode),this.allNodes.forEach(e=>{!0!==e.fixed&&u.isAllowShowNode(e)&&(e.x=e.lot.x,e.y=e.lot.y,e.lot.placed=!0)}),window.SeeksGraphDebug&&console.log("Start Auto Layout....."),this.autoLayout(!0)}else console.log("root is null:",t)},this.placeRelativePosition=function(e){var t=80;this.allNodes.forEach(n=>{if(1===n.lot.subling.level){(t=20*n.lot.subling.all_size/Math.PI/2)<80&&(t=80);const r=u.getOvalPoint(e.lot.x,e.lot.y,n.lot.subling.level*t,n.lot.strength_plus-n.lot.strength/2,n.lot.subling.all_strength);n.lot.x=r.x,n.lot.y=r.y}}),this.allNodes.forEach(n=>{if(n.lot.subling.level>1){var r=n.lot.parent.lot.strength_plus-n.lot.parent.lot.strength,i=(n.lot.parent.lot.strength_plus-r)/(n.lot.parent.lot.childs_size+1)*(n.lot.index_of_parent+1);const o=u.getOvalPoint(e.lot.x,e.lot.y,80*(n.lot.subling.level-1)+t,r+i,n.lot.parent.lot.subling.all_strength);n.lot.x=o.x,n.lot.y=o.y}})},this.layoutTimes=0,this.autoLayout=function(e){if(e&&(this.layoutTimes=0),window.SeeksGraphDebug&&console.log("this.layoutTimes:",this.layoutTimes),this.layoutTimes>300)this.graphSetting.autoLayouting=!1;else{this.layoutTimes++,this.__origin_nodes.forEach(e=>{e.Fx=0,e.Fy=0});for(const e in this.__origin_nodes){var t=this.__origin_nodes[e];if(!0===t.lot.placed)for(var n in this.__origin_nodes){var r=this.__origin_nodes[n];!0===r.lot.placed&&e!==n&&this.addGravityByNode(t,r)}}for(const e in this.__origin_nodes)this.__origin_nodes[e].lot.parent&&this.addElasticByLine(this.__origin_nodes[e].lot.parent,this.__origin_nodes[e]);for(const e in this.__origin_nodes)this.applyToNodePosition(this.__origin_nodes[e]);window.setTimeout(function(){this.autoLayout()}.bind(this),30)}},this.stop=function(){this.layoutTimes=1e3},this.addElasticByLine=function(e,t){var n=Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2));n>1e3&&(n=1e3);var r=n<30?0:.05*(n-30),i=r,o=r,a=(e.x-t.x)/n,s=(e.y-t.y)/n;this.addFtoNode(e,a*i*-1,s*i*-1,1),this.addFtoNode(t,a*o,s*o,1)},this.addGravityByNode=function(e,t){var n=Math.sqrt(Math.pow(e.y-t.y,2)+Math.pow(e.x-t.x,2)),r=n>300?0:.03*(300-n),i=(e.x-t.x)/n,o=(e.y-t.y)/n;this.addFtoNode(e,i*r,o*r,0),this.addFtoNode(t,i*r*-1,o*r*-1,0)},this.getNodeFWeight=function(e){var t=e.lot.level;return t>7&&(t=7),t<0&&(t=0),(8-t)/8},this.addFtoNode=function(e,t,n){isNaN(t)||isNaN(n)||(t/=e.lot.strength,n/=e.lot.strength,t>50&&(t=50),n>50&&(n=50),t<-50&&(t=-50),n<-50&&(n=-50),e.Fx+=t,e.Fy+=n)},this.applyToNodePosition=function(e){const t=parseInt(e.Fx),n=parseInt(e.Fy);e.x=e.x+t,e.y=e.y+n,e.Fx=0,e.Fy=0}};var A,g=function(e,t){this.graphSetting=t,this.config=e||{},this.rootNode=null,this.allNodes=[],this.__origin_nodes=[],this.refresh=function(){this.placeNodes(this.__origin_nodes,this.rootNode)},this.placeNodes=function(e,t){t?(window.SeeksGraphDebug&&console.log("layout by root:",t),this.__origin_nodes=e,this.rootNode=t,e.forEach(e=>{e.lot.eached=!1,e.lot.notLeafNode=!1,e.lot.childs=[],e.lot.index_of_parent=0,e.lot.strength=0,e.lot.prevNode=void 0,e.lot.nextNode=void 0,e.lot.placed=!1}),this.allNodes=[],u.analysisNodes4Didirectional(this.allNodes,[this.rootNode],0,{max_deep:1,max_length:1},0),window.SeeksGraphDebug&&console.log("[layout canvasOffset]",this.graphSetting.viewSize,this.graphSetting.canvasSize)):console.log("root is null:",t)}},v={createLayout(e,t){t.canvasZoom=100,t.layoutClassName=e.layoutClassName,t.layoutLabel=e.label,t.layoutName=e.layoutName,t.layoutDirection=e.layoutDirection,!0===e.useLayoutStyleOptions&&(t.defaultExpandHolderPosition=e.defaultExpandHolderPosition,t.defaultJunctionPoint=e.defaultJunctionPoint,t.defaultNodeColor=e.defaultNodeColor,t.defaultNodeFontColor=e.defaultNodeFontColor,t.defaultNodeBorderColor=e.defaultNodeBorderColor,t.defaultNodeBorderWidth=e.defaultNodeBorderWidth,t.defaultLineColor=e.defaultLineColor,t.defaultLineWidth=e.defaultLineWidth,t.defaultLineShape=e.defaultLineShape,t.defaultNodeShape=e.defaultNodeShape,t.defaultNodeWidth=e.defaultNodeWidth,t.defaultNodeHeight=e.defaultNodeHeight,t.defaultLineMarker=e.defaultLineMarker,t.defaultShowLineLabel=e.defaultShowLineLabel);var n=null;return"SeeksBidirectionalTreeLayouter"===e.layoutName||"tree"===e.layoutName?n=new h(e,t):"SeeksCenterLayouter"===e.layoutName||"center"===e.layoutName?n=new d(e,t):"SeeksCircleLayouter"===e.layoutName||"circle"===e.layoutName?n=new f(e,t):"SeeksAutoLayouter"===e.layoutName||"force"===e.layoutName?n=new p(e,t):"SeeksFixedLayouter"!==e.layoutName&&"fixed"!==e.layoutName||(n=new g(e,t)),t.isNeedShowAutoLayoutButton=!1!==e.allowAutoLayoutIfSupport&&void 0!==n.autoLayout,n},switchLayout(e,t){const n=t.layouter?t.layouter.__origin_nodes:[],r=t.layouter?t.layouter.rootNode:null;if("string"==typeof e)for(var i in t.layouts)if(i.label===e){e=i;break}t.layouter=v.createLayout(e,t),t.layouter.__origin_nodes=n,t.layouter.rootNode=r}},m=v,y={x:0,y:0},b={x:0,y:0},_={x:0,y:0},w={startDrag(e,t,n){A=n,b=t,_.x=b.x,_.y=b.y,y.x=parseInt(b.x)-e.clientX,y.y=parseInt(b.y)-e.clientY,document.body.addEventListener("mousemove",w.onNodeMove),document.body.addEventListener("mouseup",w.onNodeDragend)},onNodeMove(e){b.x=e.clientX+y.x,b.y=e.clientY+y.y},onNodeDragend(){document.body.removeEventListener("mousemove",w.onNodeMove),document.body.removeEventListener("mouseup",w.onNodeDragend),A&&A(b.x-_.x,b.y-_.y)},transName4Circle(e){for(var t=0,n=[],r=[],i=0;i<e.length;i++)n.push(e[i]),n.length===S[t]&&(r.push(n.join("")),t++,n=[]);return n.length>0&&r.push(n.join("")),r.join("<br>")},getColorId:e=>e=(e=(e=(e=e.replace("#","")).replace("(","")).replace(")","")).replace(/,/,"-"),json2Node:function(e){if(void 0===e.id)throw Error("node must has option[id]:",e);e.text=e.text||e.name||e.id;var t={id:e.id,text:void 0!==e.text?e.text:"",type:void 0!==e.type?e.type:"node",isShow:void 0===e.isShow||e.isShow,isHide:void 0!==e.isHide&&e.isHide,expanded:void 0===e.expanded||e.expanded,selected:void 0!==e.selected&&e.selected,styleClass:void 0!==e.styleClass?e.styleClass:"",targetNodes:void 0!==e.targetNodes?e.targetNodes:[],targetFrom:void 0!==e.targetFrom?e.targetFrom:[],targetTo:void 0!==e.targetTo?e.targetTo:[],nodeShape:void 0!==e.nodeShape?e.nodeShape:void 0,borderWidth:void 0!==e.borderWidth?e.borderWidth:void 0,borderColor:void 0!==e.borderColor?e.borderColor:void 0,fontColor:void 0!==e.fontColor?e.fontColor:void 0,color:void 0!==e.color?e.color:void 0,opacity:void 0!==e.opacity?e.opacity:1,fixed:void 0!==e.fixed&&e.fixed,width:void 0!==e.width?e.width:void 0,height:void 0!==e.height?e.height:void 0,x:void 0!==e.x?e.x:0,y:void 0!==e.y?e.y:0,Fx:void 0!==e.Fx?e.Fx:0,Fy:void 0!==e.Fy?e.Fy:0,offset_x:void 0!==e.offset_x?e.offset_x:0,offset_y:void 0!==e.offset_y?e.offset_y:0,expandHolderPosition:void 0!==e.expandHolderPosition?e.expandHolderPosition:void 0,innerHTML:void 0!==e.innerHTML?e.innerHTML:void 0,html:void 0!==e.html?e.html:void 0,disableDefaultClickEffect:void 0!==e.disableDefaultClickEffect?e.disableDefaultClickEffect:void 0,disableDrag:void 0!==e.disableDrag&&e.disableDrag,data:void 0!==e.data?e.data:{}};return void 0===t.lot&&(t.lot={childs:[],parent:void 0,eached:!1,strength:0}),void 0===t.lot.childs&&(t.lot.childs=[]),void 0===t.lot.parent&&(t.lot.parent=void 0),void 0===t.lot.eached&&(t.lot.eached=!1),void 0===t.lot.strength&&(t.lot.strength=0),void 0===t.el&&(t.el={offsetWidth:50,offsetHeight:50}),void 0!==t.width&&(t.el.offsetWidth=t.width),void 0!==t.height&&(t.el.offsetHeight=t.height),t},json2Link:function(e){if(void 0===e.from)throw Error("error,link must has option[from]:",e);if(void 0===e.to)throw Error("error,link must has option[to]:",e);if("string"!=typeof e.from)throw Error("error link from, must be string:",e);if("string"!=typeof e.to)throw Error("error link to, must be string:",e);return{text:void 0!==e.text?e.text:"",color:void 0!==e.color?e.color:void 0,fontColor:void 0!==e.fontColor?e.fontColor:void 0,lineWidth:void 0!==e.lineWidth?e.lineWidth:void 0,lineShape:void 0!==e.lineShape?e.lineShape:void 0,styleClass:void 0!==e.styleClass?e.styleClass:void 0,isHide:void 0!==e.isHide&&e.isHide,arrow:void 0!==e.arrow?e.arrow:void 0,isHideArrow:void 0!==e.isHideArrow?e.isHideArrow:void 0,hidden:void 0!==e.hidden&&e.hidden,lineDirection:void 0!==e.lineDirection?e.lineDirection:void 0,reverseText:void 0!==e.reverseText?e.reverseText:void 0,data:void 0!==e.data?e.data:{}}},getPosition:function(e){return e.parentElement?w.getPosition(e.parentElement)+e.offsetTop:e.offsetTop}},x=["Fx","Fy","appended","el","targetFrom","targetNodes","targetTo","type","lot","seeks_id"];w.transNodeToJson=function(e,t){if(e){var n={};Object.keys(e).forEach(t=>{-1===x.indexOf(t)&&void 0!==e[t]&&(n[t]=e[t])}),t.push(n)}};var C=["arrow","id","reverseText","isReverse"];w.transLineToJson=function(e,t){e&&e.relations.forEach(e=>{var n={};Object.keys(e).forEach(t=>{-1===C.indexOf(t)&&void 0!==e[t]&&(n[t]=e[t])}),t.push(n)})};var S=[4,5,6,4,2,100],B=w;const k={createDefaultConfig(e){var t={instanceId:"SeeksGraph",debug:!0,allowShowSettingPanel:!1,backgrounImage:"",disableZoom:!1,disableDragNode:!1,moveToCenterWhenResize:!0,defaultFocusRootNode:!0,allowShowZoomMenu:!0,backgrounImageNoRepeat:!1,allowShowMiniToolBar:!0,allowShowMiniView:!1,allowShowMiniNameFilter:!0,fullscreen:!1,allowSwitchLineShape:!1,allowSwitchJunctionPoint:!1,isMoveByParentNode:!1,checkedNodeId:"",checkedLineId:"",layouts:[],layoutLabel:"",layoutName:"tree",layoutClassName:"",layoutDirection:"h",defaultExpandHolderPosition:"hide",autoLayouting:!1,layouter:void 0,allowAutoLayoutIfSupport:!0,isNeedShowAutoLayoutButton:!1,canvasZoom:100,defaultNodeColor:"#67C23A",defaultNodeFontColor:"#ffffff",defaultNodeBorderColor:"#90EE90",defaultNodeBorderWidth:5,defaultLineColor:"#dddddd",defaultLineWidth:1,defaultLineShape:1,defaultNodeShape:0,defaultNodeWidth:void 0,defaultNodeHeight:void 0,defaultShowLineLabel:!0,showSingleNode:!0,showNodeLabel:!0,showNodeShortLabel:!0,hideNodeContentByZoom:!1,defaultJunctionPoint:"border",viewSize:{width:300,height:300},viewELSize:{width:1300,height:800,left:0,top:100},viewNVInfo:{width:1300,height:800,x:0,y:100},canvasNVInfo:{width:1300,height:800,x:0,y:100},defaultLineMarker:{markerWidth:12,markerHeight:12,refX:6,refY:6,color:void 0,data:"M2,2 L10,6 L2,10 L6,6 L2,2"},canvasSize:{width:2e3,height:2e3},canvasOffset:{x:25,y:27,zoom_buff_x:0,zoom_buff_y:0},resetViewSize:e=>{e.canvasOffset.x=e.viewNVInfo.width/2-100,e.canvasOffset.y=e.viewNVInfo.height/2-100}},n=!0===e.debug;return n&&console.log("user instance graphSetting:",e),window&&(window.SeeksGraphDebug=n),e&&Object.keys(e).forEach(n=>{var r=e[n];if("object"==typeof r){window.SeeksGraphDebug&&console.log("user setting object:",n,r);var i=t[n];if(i)if(i&&!Array.isArray(i)&&r)Object.keys(i).forEach(e=>{window.SeeksGraphDebug&&console.log(" user setting:",n+"."+e,r[e]),i[e]=r[e]});else if(Array.isArray(i)){window.SeeksGraphDebug&&console.log(" user setting array:",n,"size:",r.length);var o=[];r.forEach(e=>{window.SeeksGraphDebug&&console.log(" user setting array:",n,"push:",e),e&&"object"==typeof e?o.push(JSON.parse(JSON.stringify(e))):o.push(e)}),t[n]=o}else window.SeeksGraphDebug&&console.log("user setting value:",n),t[n]=r;else console.log("ignore option:",n)}else window.SeeksGraphDebug&&console.log("user setting:",n,r),t[n]=r}),t.layouts&&0!==t.layouts.length||(t.layouts=[{label:"中心",layoutName:"center",layoutDirection:"v",defaultExpandHolderPosition:"hide",defaultNodeShape:0,defaultLineShape:1,defaultJunctionPoint:"border"}]),Array.isArray(t.layouts)||(t.layouts=[t.layouts]),t.layouts.forEach(e=>{k.appendDefaultOptions4Layout(e)}),t},appendDefaultOptions4Layout(e){void 0===e.useLayoutStyleOptions&&(e.useLayoutStyleOptions=!1),void 0===e.defaultNodeColor&&(e.defaultNodeColor="#FFC5A6"),void 0===e.defaultNodeFontColor&&(e.defaultNodeFontColor="#000000"),void 0===e.defaultNodeBorderColor&&(e.defaultNodeBorderColor="#efefef"),void 0===e.defaultNodeBorderWidth&&(e.defaultNodeBorderWidth=1),void 0===e.defaultLineColor&&(e.defaultLineColor="#FD8B37"),void 0===e.defaultLineWidth&&(e.defaultLineWidth=1),void 0===e.defaultNodeWidth&&(e.defaultNodeWidth=void 0),void 0===e.defaultNodeHeight&&(e.defaultNodeHeight=void 0),void 0===e.defaultShowLineLabel&&(e.defaultShowLineLabel=!0),void 0===e.defaultExpandHolderPosition&&(e.defaultExpandHolderPosition=void 0),void 0===e.defaultJunctionPoint&&(e.defaultJunctionPoint=void 0),void 0===e.defaultLineMarker&&(e.defaultLineMarker={markerWidth:12,markerHeight:12,refX:6,refY:6,color:void 0,data:"M2,2 L10,6 L2,10 L6,6 L2,2"}),"SeeksCenterLayouter"===e.layoutName||"center"===e.layoutName?(void 0===e.label&&(e.label="中心"),void 0===e.layoutClassName&&(e.layoutClassName="seeks-layout-"+e.layoutName),void 0===e.defaultNodeShape&&(e.defaultNodeShape=0),void 0===e.defaultLineShape&&(e.defaultLineShape=1),void 0===e.defaultExpandHolderPosition&&(e.defaultExpandHolderPosition="hide"),void 0===e.defaultJunctionPoint&&(e.defaultJunctionPoint="border"),void 0===e.layoutDirection&&(e.layoutDirection="h"),void 0===e.centerOffset_x&&(e.centerOffset_x=0),void 0===e.centerOffset_y&&(e.centerOffset_y=0),void 0===e.levelDistance&&(e.levelDistance=""),void 0===e.min_per_width&&(e.min_per_width=30),void 0===e.max_per_width&&(e.max_per_width=200),void 0===e.min_per_height&&(e.min_per_height=100),void 0===e.max_per_height&&(e.max_per_height=500)):"SeeksBidirectionalTreeLayouter"!==e.layoutName&&"tree"!==e.layoutName||(void 0===e.label&&(e.label="树状"),void 0===e.layoutClassName&&(e.layoutClassName="seeks-layout-"+e.layoutName),void 0===e.defaultNodeShape&&(e.defaultNodeShape=1),void 0===e.defaultLineShape&&(e.defaultLineShape=2),void 0===e.defaultExpandHolderPosition&&(e.defaultExpandHolderPosition="hide"),void 0===e.defaultJunctionPoint&&(e.defaultJunctionPoint="ltrb"),void 0===e.layoutDirection&&(e.layoutDirection="h"),void 0===e.centerOffset_x&&(e.centerOffset_x=0),void 0===e.centerOffset_y&&(e.centerOffset_y=0),void 0===e.from&&(e.from="top"),void 0===e.levelDistance&&(e.levelDistance=""),void 0===e.min_per_width&&(e.min_per_width=30),void 0===e.max_per_width&&(e.max_per_width=200),void 0===e.min_per_height&&(e.min_per_height=100),void 0===e.max_per_height&&(e.max_per_height=500),"top"!==e.from&&"bottom"!==e.from||(e.layoutDirection="v"))},createNewStore:e=>(window.SeeksGraphDebug&&console.log("Create new GraphSetting:"),new function(e){this.graphSetting=e,this.resetViewSize=function(){this.graphSetting.canvasOffset.x=0,this.graphSetting.canvasOffset.y=0},this.getOptions=function(){var e={},t=["layouter","autoLayouting","canvasNVInfo","canvasOffset","canvasZoom","fullscreen","instanceId","layoutClassName","layoutDirection","layoutLabel","layoutName","resetViewSize","viewELSize","viewNVInfo","viewSize","canvasSize"];return Object.keys(this.graphSetting).forEach(n=>{-1===t.indexOf(n)&&(e[n]=this.graphSetting[n])}),e},console.log("relation-graph instance full option:",this.getOptions())}(k.createDefaultConfig(e)))};var T=k,E={name:"SeeksRGNode",components:{},props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object},nodeProps:{mustUseProp:!0,default:()=>({}),type:Object},onNodeClick:{mustUseProp:!1,default:()=>()=>{},type:Function}},data:()=>({hovering:!1,borderColor:"",dragging:!1}),computed:{expandButtonClass(){return!1===this.nodeProps.expanded?"c-expanded":"c-collapsed"}},watch:{},created(){},mounted(){this.refreshNodeProperties()},beforeDestroy(){this.$refs.seeksRGNode.remove()},methods:{refreshNodeProperties(){this.nodeProps.el=this.$refs.seeksRGNode},getNodeName(){if(this.hovering)return this.nodeProps.text;if(void 0===this.nodeProps.width&&0!==this.nodeProps.nodeShape)return this.nodeProps.text;var e=this.nodeProps.el.offsetWidth,t=this.nodeProps.el.offsetHeight,n=parseInt((e-20)/20),r=parseInt((t-20)/20);if(-1===n||-1===r)return this.nodeProps.text;for(var i=n*r*2,o=[],a=0,s=0;s<this.nodeProps.text.length;s++){var l=this.nodeProps.text[s],c=l.charCodeAt(0),u=1;if((c<0||c>255)&&(u=2),a+u>i)return o.join("")+"...";a+=u,o.push(l)}return o.join("")},expandOrCollapseNode(e){!1===this.nodeProps.expanded?(this.nodeProps.expanded=!0,this.nodeProps.lot.childs.forEach(e=>{e.isShow=!0}),this.$parent.onNodeExpandEvent(this.nodeProps,e)):(this.nodeProps.expanded=!1,this.nodeProps.lot.childs.forEach(e=>{e.isShow=!1}),this.$parent.onNodeCollapseEvent(this.nodeProps,e))},onDragStart(e){this.graphSetting.disableDragNode||this.nodeProps.disableDrag||(this.dragging=!0,this.hovering=!1,B.startDrag(e,this.nodeProps,this.onNodeDraged))},onNodeDraged(e,t){this.graphSetting.isMoveByParentNode&&this.nodeProps.lot.childs.forEach(n=>{n.x+=e,n.y+=t}),Math.abs(e)+Math.abs(t)>6?setTimeout(function(){window.SeeksGraphDebug&&console.log("delay end dragging",this.dragging),this.dragging=!1}.bind(this),100):this.dragging=!1},onMouseHover(){this.dragging||(this.hovering=!0)},onMouseOut(){this.hovering=!1},onclick(e){this.dragging||(this.nodeProps.disableDefaultClickEffect||(this.graphSetting.checkedNodeId=this.nodeProps.id),this.onNodeClick&&this.onNodeClick(this.nodeProps,e))},getLightColor(e){if("#"===e[0]){var t=e.substring(1);3===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);var n=[parseInt(t[0]+""+t[1],16),parseInt(t[2]+""+t[3],16),parseInt(t[4]+""+t[5],16)];window.SeeksGraphDebug&&console.log("getLightColor1:",e,":",n.join(",")),e="rgb("+n.join(",")+")"}var r=e.substring(e.indexOf("(")+1),i=(r=r.substring(0,r.indexOf(")"))).split(",");if(i.length>=3){var o=[parseInt(.9*parseInt(i[0])),parseInt(.9*parseInt(i[1])),parseInt(.9*parseInt(i[2]))];return window.SeeksGraphDebug&&console.log("getLightColor2:",e,":",o.join(",")),this.borderColor="rgb("+o.join(",")+", 0.3)",this.borderColor}return this.borderColor=e,e},isAllowShowNode(e){return!1!==e.isShow&&!0!==e.isHide&&(!e.lot.parent||!0===this.isAllowShowNode(e.lot.parent,!1))}}},M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.isAllowShowNode(e.nodeProps),expression:"isAllowShowNode(nodeProps)"}],ref:"seeksRGNode",staticClass:"rel-node-peel",style:{left:e.nodeProps.x+"px",top:e.nodeProps.y+"px",opacity:e.nodeProps.opacity>1?e.nodeProps.opacity/100:e.nodeProps.opacity},on:{mousedown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.stopPropagation(),e.onDragStart(t))},mouseover:function(t){return t.stopPropagation(),e.onMouseHover(t)},mouseout:function(t){return t.stopPropagation(),e.onMouseOut(t)},click:function(t){return t.stopPropagation(),e.onclick(t)}}},[e.nodeProps.expandHolderPosition&&"hide"!==e.nodeProps.expandHolderPosition||e.graphSetting.defaultExpandHolderPosition&&"hide"!==e.graphSetting.defaultExpandHolderPosition&&e.nodeProps.lot.childs&&e.nodeProps.lot.childs.length>0?n("div",{staticClass:"c-btn-open-close",class:["c-expand-positon-"+(e.nodeProps.expandHolderPosition||e.graphSetting.defaultExpandHolderPosition)]},[n("span",{class:e.expandButtonClass,style:{"background-color":e.nodeProps.color||e.graphSetting.defaultNodeColor},on:{click:function(t){return t.stopPropagation(),e.expandOrCollapseNode(t)}}})]):e._e(),e._v(" "),e.nodeProps.html?n("div",{domProps:{innerHTML:e._s(e.nodeProps.html)}}):n("div",{staticClass:"rel-node",class:["rel-node-shape-"+(void 0===e.nodeProps.nodeShape?e.graphSetting.defaultNodeShape:e.nodeProps.nodeShape),"rel-node-type-"+e.nodeProps.type,e.nodeProps.id===e.graphSetting.checkedNodeId?"rel-node-checked":"",e.nodeProps.selected?"rel-node-selected":"",e.nodeProps.styleClass,e.hovering?"rel-node-hover":"",e.nodeProps.innerHTML?"rel-diy-node":""],style:{"background-color":void 0===e.nodeProps.color?e.graphSetting.defaultNodeColor:e.nodeProps.color,color:void 0===e.nodeProps.fontColor?e.graphSetting.defaultNodeFontColor:e.nodeProps.fontColor,border:(e.nodeProps.borderColor||e.graphSetting.defaultNodeBorderColor)+" solid "+(e.nodeProps.borderWidth||e.graphSetting.defaultNodeBorderWidth)+"px",width:(e.nodeProps.width||e.graphSetting.defaultNodeWidth)+"px",height:(e.nodeProps.height||e.graphSetting.defaultNodeHeight)+"px"}},[!0===e.graphSetting.hideNodeContentByZoom&&e.graphSetting.canvasZoom<40?e._e():[e._t("node",[e.nodeProps.innerHTML?n("div",{domProps:{innerHTML:e._s(e.nodeProps.innerHTML)}}):n("div",{staticClass:"c-node-text",style:{color:e.nodeProps.fontColor||e.graphSetting.defaultNodeFontColor}},[n("span",{domProps:{innerHTML:e._s(e.getNodeName())}})])],{node:e.nodeProps})]],2)])};M._withStripped=!0;var D={render:M,staticRenderFns:[]},O=D;var I=!1;var L=n(2)(E,O,!1,function(e){I||n(12)},null,null);L.options.__file="src/core4vue/SeeksRGNode.vue";var P=L.exports;const F="border",R="ltrb",N="tb",H="lr";var j={name:"SeeksRGLink",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object},lineProps:{mustUseProp:!0,default:()=>({}),type:Object},onLineClick:{mustUseProp:!1,default:()=>()=>{},type:Function}},data:()=>({is_flashing:!1}),show(){this.isShow=!0},watch:{},mounted(){},methods:{getTextTransform(e,t,n,r){if(!t||!n)return"translate(0,0)";var i=void 0===e.lineShape?this.graphSetting.defaultLineShape:e.lineShape;return 1===i||4===i?"translate("+t+","+n+")rotate("+(r||0)+")":"translate("+t+","+n+")"},getArrow(e,t,n){return e?"none":"url('#"+this.$parent.getLineArrow(n)+"')"},createLinePath(e,t,n,r){n||(n=0);var i=void 0===r.lineShape?this.graphSetting.defaultLineShape:r.lineShape,o=void 0===r.lineDirection?this.graphSetting.layoutDirection:r.lineDirection,a=e.x,s=e.y,l=t.x,c=t.y;if(isNaN(a)||isNaN(s))return console.error("error start node:",e),r.textPositon.x=50,r.textPositon.y=50,r.textPositon.rotate=0,"M 0 0 L 100 100";if(isNaN(l)||isNaN(c))return console.error("error start point:",e),r.textPositon.x=50,r.textPositon.y=50,r.textPositon.rotate=0,"M 0 0 L 100 100";var h=e.el.offsetWidth||e.width||e.w,d=e.el.offsetHeight||e.height||e.h;if(isNaN(h)||isNaN(d))return r.textPositon.x=50,r.textPositon.y=50,r.textPositon.rotate=0,"M 0 0 L 100 100";var f=t.el.offsetWidth||t.width||t.w,p=t.el.offsetHeight||t.height||t.h;if(isNaN(f)||isNaN(p))return r.textPositon.x=50,r.textPositon.y=50,r.textPositon.rotate=0,"M 0 0 L 100 100";r.isReverse&&([a,s,l,c,h,d,f,p]=[l,c,a,s,f,p,h,d]);var A,g,v=[a,s,l,c,h,d,f,p,this.graphSetting.defaultNodeShape,r.isReverse,this.lineProps.relations.length,n],m=[l,c,a,s,f,p,h,d,this.graphSetting.defaultNodeShape,!r.isReverse,this.lineProps.relations.length,n],y=this.graphSetting.defaultJunctionPoint;y||(y=F),y===F?(A=u.getBorderPoint4MultiLine(...v),g=u.getBorderPoint4MultiLine(...m)):y===R?(A=u.getRectJoinPoint(...v),g=u.getRectJoinPoint(...m)):y===N?(A=u.getRectVJoinPoint(...v),g=u.getRectVJoinPoint(...m)):y===H&&(A=u.getRectHJoinPoint(...v),g=u.getRectHJoinPoint(...m));var b=A.x,_=A.y,w=g.x,x=g.y;if(isNaN(b)||isNaN(_))return console.error("error start point:",e),r.textPositon.x=50,r.textPositon.y=50,r.textPositon.rotate=0,"M 0 0 L 100 100";if(isNaN(w)||isNaN(x))return console.error("error end point:",t),r.textPositon.x=50,r.textPositon.y=50,r.textPositon.rotate=0,"M 0 0 L 100 100";var C=g.x-A.x,S=g.y-A.y,B=g.x>A.x?1:-1;"v"===o&&(B=g.y>A.y?1:-1);var k="";if(4===i){const e=60/(this.lineProps.relations.length+1)*(n+1)-30;"v"===o?(S-=33*B+e,r.textPositon.x=b+C+5,r.textPositon.y=_+40*B+e,r.textPositon.rotate=90,k="M "+b+" "+_+" v"+(33*B+e)+" h"+(C+e)+" v"+S):!0===r.reverseText?(r.textPositon.x=b+10*B-(B<0?30:0),r.textPositon.y=_-5,k="M "+b+" "+_+" h"+120*B+" v"+S+" h"+(C-=120*B)):(r.textPositon.x=b+50*B-(B<0?30:0),r.textPositon.y=_+S-5+e,k="M "+b+" "+_+" h"+(33*B+e)+" v"+(S+=B*e)+" h"+(C-=33*B+e))}else if(2===i){const e=g.y>A.y?1:-1,t=Math.abs(C)+Math.abs(S);r.textPositon.x=parseInt(g.x-C/t*60-20),r.textPositon.y=parseInt(g.y-S/t*60-20*e);const i=1/(this.lineProps.relations.length+1)*(n+1)-.5+.5;k="v"===o?"M"+b+","+_+" c0,"+30*B+" "+C*i+","+-10*B+" "+C+","+S:"M"+b+","+_+" c"+30*B+",0 "+-10*B+","+S*i+" "+C+","+S}else if(6===i){const e=g.y>A.y?1:-1,t=Math.abs(C)+Math.abs(S);r.textPositon.x=parseInt(g.x-C/t*60-20),r.textPositon.y=parseInt(g.y-S/t*60-20*e),k="v"===o?"M"+b+","+_+" c0,"+S/2+" "+C+","+S/2+" "+C+","+S:"M"+b+","+_+" c"+C/2+",0 "+C/2+","+S+" "+C+","+S}else if(3===i){r.textPositon.x=g.x-63*B,r.textPositon.y=g.y+3;const e=1/(this.lineProps.relations.length+1)*(n+1)-.5+.5;k="v"===o?"M"+b+","+_+" c0,"+S*e+" 0,0 "+C+","+S:"M"+b+","+_+" c"+30*B+",0 "+-10*B+","+S*e+" "+C+","+S}else if(5===i){r.textPositon.x=g.x-63*B,r.textPositon.y=g.y+3;const e=1/(this.lineProps.relations.length+1)*(n+1)-.5+.5;k="v"===o?"M"+b+","+_+" c0,0 0,"+S*e+" "+C+","+S:"M"+b+","+_+" c0,0 "+C*e+",0 "+C+","+S}else{var T=u.getAngleType(C,S);r.textPositon.rotate=u.getTextAngle(b,_,w,x);var E=2===T||4===T?-1:1,M=(0===S?-50:10*Math.sin(Math.atan(C/S))/Math.sin(90))*E,D=0===C?-50:10*Math.sin(Math.atan(S/C))/Math.sin(90);r.textPositon.x=parseInt(A.x+C/2-M),r.textPositon.y=parseInt(A.y+S/2-D),isNaN(r.textPositon.rotate)&&(r.textPositon.rotate=0,console.log("NaN rotate:",r)),k="M "+b+" "+_+" L "+w+" "+x}return k},onClick(e){this.graphSetting.checkedLineId=this.lineProps.seeks_id,this.lineProps.fromNode.selected=!0,this.lineProps.toNode.selected=!0,setTimeout(function(){this.lineProps.fromNode.selected=!1,this.lineProps.toNode.selected=!1}.bind(this),2e3),this.onLineClick&&this.onLineClick(this.lineProps,e)},isAllowShowNode:function(e){return!1!==e.isShow&&!0!==e.isHide&&(!e.lot.parent||!0===this.isAllowShowNode(e.lot.parent,!1))},flash(){}}},U=function(){var e=this,t=e.$createElement,n=e._self._c||t;return!0!==e.lineProps.isHide&&e.isAllowShowNode(e.lineProps.fromNode)&&e.isAllowShowNode(e.lineProps.toNode)?n("g",{ref:"seeksRGLink",attrs:{transform:"translate(0,0)"}},[e._l(e.lineProps.relations,function(t,r){return[!1===t.isHide?n("g",{key:"l-"+t.id},[n("path",{staticClass:"c-rg-line",class:[t.styleClass,e.graphSetting.checkedLineId==e.lineProps.seeks_id?"c-rg-line-checked":""],style:{"stroke-width":(t.lineWidth?t.lineWidth:e.graphSetting.defaultLineWidth)+"px"},attrs:{d:e.createLinePath(e.lineProps.fromNode,e.lineProps.toNode,r,t),stroke:t.color?t.color:e.graphSetting.defaultLineColor,"marker-end":e.getArrow(t.isHideArrow,t.arrow,t.color),fill:"none"},on:{click:function(t){return e.onClick(t)}}}),e._v(" "),e.graphSetting.defaultShowLineLabel&&e.graphSetting.canvasZoom>40?n("g",{attrs:{transform:e.getTextTransform(t,t.textPositon.x,t.textPositon.y,t.textPositon.rotate)}},[n("text",{key:"t-"+t.id,staticClass:"c-rg-link-text",style:{fill:t.fontColor?t.fontColor:t.color?t.color:void 0},attrs:{x:0,y:0},on:{click:function(t){return e.onClick(t)}}},[e._v("\n "+e._s(t.text)+"\n ")])]):e._e()]):e._e()]})],2):e._e()};U._withStripped=!0;var Q={render:U,staticRenderFns:[]},z=Q;var Y=!1;var V=n(2)(j,z,!1,function(e){Y||n(14)},null,null);V.options.__file="src/core4vue/SeeksRGLink.vue";var G=V.exports,W={name:"GraphSettingPanel",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object}},data:()=>({search_text:"",showSettingPanel:!1,currentLayoutName:""}),methods:{toggleSettingPanel(){this.showSettingPanel=!this.showSettingPanel},toggleAutoLayout(){this.graphSetting.autoLayouting?this.graphSetting.layouter.autoLayout?this.graphSetting.layouter.autoLayout(!0):console.log("当前布局不支持自动布局!"):this.graphSetting.layouter.stop?this.graphSetting.layouter.stop():console.log("当前布局不支持自动布局stop!")},switchLayout(){window.SeeksGraphDebug&&console.log("change layout:",this.currentLayoutName),m.switchLayout(this.currentLayoutName,this.graphSetting),this.refresh()},refresh(){this.$parent.refresh()}}},X=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("div",{staticClass:"c-setting-panel-button",class:[this.$parent.isNeedFixedTools?"c-fixedLayout":""],on:{click:this.toggleSettingPanel}},[t("i",{staticClass:"el-icon-setting"})]),this._v(" "),this.showSettingPanel?t("div",{staticClass:"c-setting-panel",class:[this.$parent.isNeedFixedTools?"c-fixedLayout":""]}):this._e()])};X._withStripped=!0;var Z={render:X,staticRenderFns:[]},$=Z;var K=!1;var J=n(2)(W,$,!1,function(e){K||n(16)},"data-v-337fb259",null);J.options.__file="src/GraphSettingPanel.vue";var q=J.exports,ee={name:"GraphMiniView",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object}},data:()=>({zoom:1}),mounted(){},methods:{getPositionData(){var e=100/this.graphSetting.canvasNVInfo.width,t=this.graphSetting.viewNVInfo.width*e,n=this.graphSetting.viewNVInfo.height*e,r=(this.graphSetting.viewNVInfo.x-this.graphSetting.canvasNVInfo.x)*e,i=(this.graphSetting.viewNVInfo.y-this.graphSetting.canvasNVInfo.y)*e;return t>100?(n=100*n/t,r=100*r/t,i=100*i/t,this.zoom=100/t,t=100):this.zoom=1,{width:t+"px",height:n+"px","margin-left":r+"px","margin-top":i+"px"}},isAllowShowNode:e=>u.isAllowShowNode(e)}},te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"miniView",staticClass:"c-mini-graph"},[n("div",{staticClass:"c-mini-canvas",style:{width:100*e.zoom+"px",height:100*e.graphSetting.canvasNVInfo.height/e.graphSetting.canvasNVInfo.width*e.zoom+"px"}},[e._l(e.$parent.nodeViewList,function(t){return[e.isAllowShowNode(t)?n("div",{key:t.id,staticClass:"c-mini-node",style:{"margin-left":100*t.x/e.graphSetting.canvasSize.width*e.zoom+"px","margin-top":100*t.y/e.graphSetting.canvasSize.width*e.zoom+"px"}}):e._e()]})],2),e._v(" "),n("div",{staticClass:"c-mini-view",style:e.getPositionData()},[n("i",{staticClass:"el-icon-view"})])])};te._withStripped=!0;var ne={render:te,staticRenderFns:[]},re=ne;var ie=!1;var oe=n(2)(ee,re,!1,function(e){ie||n(18)},"data-v-fe70423e",null);oe.options.__file="src/GraphMiniView.vue";var ae=oe.exports,se={name:"GraphMiniToolBar",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object}},data:()=>({height:275,hits:0,downloadPanelWidth:106}),mounted(){null!==this.$parent.onDownloadExcel&&(this.downloadPanelWidth+=50),this.graphSetting.layouts.length>1&&(this.height-=40)},methods:{refresh(){this.$parent.refresh()},switchLayout(e){window.SeeksGraphDebug&&console.log("change layout:",e),m.switchLayout(e,this.graphSetting),this.refresh()},toggleAutoLayout(){this.graphSetting.autoLayouting=!this.graphSetting.autoLayouting,this.graphSetting.autoLayouting?this.graphSetting.layouter.autoLayout?this.graphSetting.layouter.autoLayout(!0):console.log("当前布局不支持自动布局!"):this.graphSetting.layouter.stop?this.graphSetting.layouter.stop():console.log("当前布局不支持自动布局stop!")},printGraphJsonData(){this.hits++,setTimeout(()=>{this.hits>0&&this.hits--},2e3),this.hits>5&&(this.hits=0,this.$parent.printGraphJsonData())}}},le=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"c-mini-toolbar",style:{"margin-left":e.graphSetting.viewELSize.width-50+"px","margin-top":(e.graphSetting.viewELSize.height-260)/2+"px"}},[n("div",{staticClass:"c-mb-button",staticStyle:{"margin-top":"0px"},on:{click:function(t){e.graphSetting.fullscreen=!e.graphSetting.fullscreen}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-resize-"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v(e._s(e.graphSetting.fullscreen?"退出":"全屏"))])]),e._v(" "),e.graphSetting.allowShowZoomMenu?n("div",{staticClass:"c-mb-button",on:{click:function(t){return e.$parent.zoom(20)}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-fangda"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("放大")])]):e._e(),e._v(" "),e.graphSetting.allowShowZoomMenu?n("div",{staticStyle:{float:"left","margin-top":"0px",height:"20px",width:"40px","border-top":"0px","border-bottom":"0px","background-color":"#efefef",color:"#262626","font-size":"10px","text-align":"center","line-height":"20px"},on:{click:e.printGraphJsonData}},[e._v(e._s(e.graphSetting.canvasZoom)+"%")]):e._e(),e._v(" "),e.graphSetting.allowShowZoomMenu?n("div",{staticClass:"c-mb-button",staticStyle:{"margin-top":"0px"},on:{click:function(t){return e.$parent.zoom(-20)}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-suoxiao"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("缩小")])]):e._e(),e._v(" "),e.graphSetting.layouts.length>1?n("div",{staticClass:"c-mb-button"},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-yuanquanfenxiang"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("布局")]),e._v(" "),n("div",{staticClass:"c-mb-child-panel",style:{width:70*e.graphSetting.layouts.length+6+"px","margin-left":-70*e.graphSetting.layouts.length-5+"px"}},e._l(e.graphSetting.layouts,function(t){return n("div",{key:t.label,staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":e.graphSetting.layoutLabel===t.label},staticStyle:{width:"70px"},on:{click:function(n){return e.switchLayout(t)}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-yuanquanfenxiang"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v(e._s(t.label))])])}),0)]):e._e(),e._v(" "),e.graphSetting.allowSwitchLineShape?n("div",{staticClass:"c-mb-button"},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-hj2"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("线条")]),e._v(" "),n("div",{staticClass:"c-mb-child-panel",staticStyle:{width:"256px","margin-left":"-255px"}},[n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":1===e.graphSetting.defaultLineShape},staticStyle:{width:"50px"},on:{click:function(t){e.graphSetting.defaultLineShape=1}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-hj2"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("直线")])]),e._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":2===e.graphSetting.defaultLineShape},staticStyle:{width:"50px"},on:{click:function(t){e.graphSetting.defaultLineShape=2}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjieliu"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("简洁")])]),e._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":6===e.graphSetting.defaultLineShape},staticStyle:{width:"50px"},on:{click:function(t){e.graphSetting.defaultLineShape=6}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjieliu"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("生动")])]),e._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":5===e.graphSetting.defaultLineShape},staticStyle:{width:"50px"},on:{click:function(t){e.graphSetting.defaultLineShape=5}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjieliu"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("鱼尾")])]),e._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":4===e.graphSetting.defaultLineShape},staticStyle:{width:"50px"},on:{click:function(t){e.graphSetting.defaultLineShape=4}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-hj2"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("折线")])])])]):e._e(),e._v(" "),e.graphSetting.allowSwitchJunctionPoint?n("div",{staticClass:"c-mb-button"},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjie_connecting5"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("连接点")]),e._v(" "),n("div",{staticClass:"c-mb-child-panel",staticStyle:{width:"206px","margin-left":"-205px"}},[n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":"border"===e.graphSetting.defaultJunctionPoint},staticStyle:{width:"50px"},on:{click:function(t){e.graphSetting.defaultJunctionPoint="border"}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjie_connecting5"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("边缘")])]),e._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":"ltrb"===e.graphSetting.defaultJunctionPoint},staticStyle:{width:"50px"},on:{click:function(t){e.graphSetting.defaultJunctionPoint="ltrb"}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjie_connecting5"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("四点")])]),e._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":"tb"===e.graphSetting.defaultJunctionPoint},staticStyle:{width:"50px"},on:{click:function(t){e.graphSetting.defaultJunctionPoint="tb"}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjie_connecting5"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("上下")])]),e._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":"lr"===e.graphSetting.defaultJunctionPoint},staticStyle:{width:"50px"},on:{click:function(t){e.graphSetting.defaultJunctionPoint="lr"}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjie_connecting5"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("左右")])])])]):e._e(),e._v(" "),e.graphSetting.isNeedShowAutoLayoutButton?n("div",{staticClass:"c-mb-button",class:{"c-mb-button-on":e.graphSetting.autoLayouting},attrs:{title:e.graphSetting.autoLayouting?"点击停止自动布局":"点击开始自动调整布局"},on:{click:e.toggleAutoLayout}},[e.graphSetting.autoLayouting?n("svg",{staticClass:"c-loading-icon rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjiezhong"}})]):n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-zidong"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("自动")])]):e._e(),e._v(" "),n("div",{staticClass:"c-mb-button",on:{click:e.refresh}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-ico_reset"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("刷新")])]),e._v(" "),n("div",{staticClass:"c-mb-button"},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-ziyuan"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("下载")]),e._v(" "),n("div",{staticClass:"c-mb-child-panel",style:{width:e.downloadPanelWidth+"px","margin-left":-1*e.downloadPanelWidth+"px"}},[n("div",{staticClass:"c-mb-button c-mb-button-c",staticStyle:{width:"50px"},on:{click:function(t){return e.$parent.downloadAsImage("png")}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-tupian"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("PNG")])]),e._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",staticStyle:{width:"50px"},on:{click:function(t){return e.$parent.downloadAsImage("jpg")}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-tupian"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("JPG")])]),e._v(" "),"function"==typeof e.$parent.onDownloadExcel?n("div",{staticClass:"c-mb-button c-mb-button-c",staticStyle:{width:"50px"},on:{click:function(t){return e.$parent.onDownloadExcel()}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-ziyuan"}})]),e._v(" "),n("span",{staticClass:"c-mb-text"},[e._v("Excel")])]):e._e()])])])};le._withStripped=!0;var ce={render:le,staticRenderFns:[]},ue=ce;var he=!1;var de=n(2)(se,ue,!1,function(e){he||n(20)},"data-v-3cfdb1cf",null);de.options.__file="src/GraphMiniToolBar.vue";var fe=de.exports,pe={name:"GraphMiniNameFilter",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object}},data:()=>({}),mounted(){},methods:{}},Ae=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"c-mini-namefilter",style:{"margin-left":this.graphSetting.viewELSize.width-350+"px"}})};Ae._withStripped=!0;var ge={render:Ae,staticRenderFns:[]},ve=ge;var me=!1;var ye=n(2)(pe,ve,!1,function(e){me||n(22)},"data-v-7c68081f",null);ye.options.__file="src/GraphMiniNameFilter.vue";var be=ye.exports,_e={name:"GraphBottomPanel",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object}},data:()=>({height:50,search_text:""}),mounted(){this.$nextTick(()=>{this.height=this.$slots.bottomPanel[0].elm.offsetHeight,window.SeeksGraphDebug&&console.log("SeeksGraph bootomPanel height:",this.height)})},methods:{}},we=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"c-rg-bottom-panel",style:{"margin-topd":this.graphSetting.viewSize.height-this.height+"px",height:this.height+"px","margin-top":-this.height+"px"}},[this._t("bottomPanel")],2)};we._withStripped=!0;var xe={render:we,staticRenderFns:[]},Ce=xe;var Se=!1;var Be=n(2)(_e,Ce,!1,function(e){Se||n(24)},"data-v-161dbae4",null);Be.options.__file="src/GraphBottomPanel.vue";var ke={name:"SeeksRelationGraph",components:{GraphBottomPanel:Be.exports,GraphMiniNameFilter:be,GraphMiniToolBar:fe,GraphMiniView:ae,SeeksRGNode:P,SeeksRGLink:G,GraphSettingPanel:q},props:{options:{mustUseProp:!1,default:()=>({}),type:Object},onNodeClick:{mustUseProp:!1,default:()=>()=>{},type:Function},onNodeExpand:{mustUseProp:!1,default:()=>()=>{},type:Function},onNodeCollapse:{mustUseProp:!1,default:()=>()=>{},type:Function},onLineClick:{mustUseProp:!1,default:()=>()=>{},type:Function},onDownloadExcel:{mustUseProp:!1,default:null,type:Function},beforeDownloadImage:{mustUseProp:!1,default:null,type:Function}},data:()=>({wheelEvent:{},version:"1.1.0",el:{offsetWidth:500,offsetHeight:500,offsetTop:0,offsetLeft:0},canvasBackgroundColor:"transparent",isNeedFixedTools:!1,isNeedFixedTools4Bottom:!1,seeksNodeIdIndex:1,search_text:"",instanceId:"",SeeksRGStore:null,graphSetting:{},graphData:{nodes:[],lines:[],rootNode:null,nodes_map:{},lines_map:{}},nodeViewList:[],lineViewList:[],allLineColors:[],viewOffset:{windowHeight:500,positionTop:100,left:0,top:0},viewSizeIsInited:!1,isShowZoomCenter:!1,debugPanelPosition:!0,zoomCenter_of_newSize:{x:0,y:0},currentZoomSet:null,newZoomSet:null,alive:!0}),computed:{canvasSizeAndPosition(){return{width:this.graphSetting.canvasSize.width+"px",height:this.graphSetting.canvasSize.height+"px","margin-left":this.graphSetting.canvasOffset.x+"px","margin-top":this.graphSetting.canvasOffset.y+"px","background-color":this.canvasBackgroundColor,transform:"scale("+this.graphSetting.canvasZoom/100+","+this.graphSetting.canvasZoom/100+")"}}},watch:{"graphSetting.fullscreen":function(e,t){!0!==t&&!1!==t||a.a.toggle(this.$refs.seeksRelationGraph)}},created(){this.SeeksRGStore=T.createNewStore(this.options||{}),this.graphSetting=this.SeeksRGStore.graphSetting,this.graphSetting.instanceId="SRG"+parseInt(1e5*Math.random()),console.log(`%c relation-graph %c Version v${this.version} %c More info: https://github.com/seeksdream/relation-graph %c`,"background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff","background:#41b883 ; padding: 1px; border-radius: 0 3px 3px 0; color: #fff","background:#fff ; padding: 1px; border-radius: 0 3px 3px 0; color: #41b883","background:transparent"),"2.5."===i.a.version.substring(0,4)&&console.log("注意:当你使用的vue版本低于2.6时,你只能通过插槽slot[node]来显示节点内容,示例请参考:http://relation-graph.com/#/demo/adv-slot")},mounted(){this.init(),window.addEventListener("scroll",function(){this.syncToolsPosition()}.bind(this))},beforeDestroy(){this.alive=!1,this.$refs.seeksRelationGraph.remove()},show(){this.resetViewSize(),this.refreshNVAnalysisInfo(),this.syncToolsPosition()},methods:{init(){this.$refs.rgCanvas.style.setProperty("--stroke","url('#"+this.graphSetting.instanceId+"-lineStyle')"),this.$refs.rgCanvas.style.setProperty("--markerEnd","url('#"+this.graphSetting.instanceId+"-arrow-default')"),this.$refs.rgCanvas.style.setProperty("--markerEndChecked","url('#"+this.graphSetting.instanceId+"-arrow-checked')"),this.cycleTask(),this.resetViewSize(),this.refreshNVAnalysisInfo(),this.syncToolsPosition()},cycleTask(){if(this.alive){var e=this.$refs.seeksRelationGraph.getBoundingClientRect();e.width===this.graphSetting.viewSize.width&&e.height===this.graphSetting.viewSize.height||(window.SeeksGraphDebug&&console.log("relation-graph:view-size-changed:",[this.graphSetting.viewSize.width,this.graphSetting.viewSize.height],[e.width,e.height]),this.graphSetting.viewSize.width=e.width,this.graphSetting.viewSize.height=e.height,this.resetViewSize(),this.refreshNVAnalysisInfo(),this.wow(),this.viewSizeIsInited&&this.graphSetting.moveToCenterWhenResize&&(window.SeeksGraphDebug&&console.log("relation-graph:move to center:",[this.graphSetting.viewSize.width,this.graphSetting.viewSize.height],[e.width,e.height]),this.$nextTick(()=>{var e=9999999,t=9999999,n=0,r=0;this.nodeViewList.forEach(i=>{i.x<e&&(e=i.x),i.x>n&&(n=i.x+i.el.offsetWidth),i.y<t&&(t=i.y),i.y>r&&(r=i.y+i.el.offsetHeight)});var i=n-e+50,o=r-t+50,a=(this.graphSetting.viewSize.width-i)/2-e,s=(this.graphSetting.viewSize.height-o)/2-t;this.animateGoto(a,s,500,()=>{this.refreshNVAnalysisInfo()})}))),setTimeout(()=>{this.cycleTask()},1e3)}},setOptions(e,t){if(this.SeeksRGStore=T.createNewStore(e),this.graphSetting=this.SeeksRGStore.graphSetting,this.graphSetting.instanceId="SRG"+parseInt(1e5*Math.random()),this.init(),this.graphSetting.layouts&&this.graphSetting.layouts.length>0){var n=this.graphSetting.layouts[0];window.SeeksGraphDebug&&console.log("创建默认布局器:",this.graphSetting.layoutName),n.layouter?this.graphSetting.layouter=n.layouter:this.graphSetting.layouter=m.createLayout(n,this.graphSetting)}else console.log("你需要设置layouts来指定当前图谱可以使用的布局器!");this.doLayout(),t(this)},moveDebugPanel(){this.debugPanelPosition=!this.debugPanelPosition},mouseListenerEmpty(){console.log("mouseListenerEmpty")},mouseListener(e){if(this.graphSetting.disableZoom)return e.cancelBubble=!1,!0;try{e.cancelBubble=!0,e.preventDefault(),e.stopPropagation()}catch(e){}var t={x:e.clientX,y:e.clientY},n=/macintosh|mac os x/i.test(navigator.userAgent),r=e.deltaY;void 0===r&&(r=e.wheelDelta);var i=n?1:-1;r>0?this.zoom(5*i,t):this.zoom(-5*i,t)},getPositionOfCanvas(e){var t={x:e.offsetX,y:e.offsetY};window.SeeksGraphDebug&&console.log("[F]",t.x,t.y);for(var n=e.target.parentNode,r=0;r<8;r++){if(r>6&&window.SeeksGraphDebug&&console.log("getPositionOfCanvas error",e),n.classList.contains("rel-map-canvas")){window.SeeksGraphDebug&&console.log("[S]",n.tagName+"."+n.className);break}t.x+=n.offsetLeft||0,t.y+=n.offsetTop||0,window.SeeksGraphDebug&&console.log("["+r+"]",n.tagName+"."+n.className,":",n.offsetLeft,n.offsetTop),n=n.parentNode}return window.SeeksGraphDebug&&console.log("[F]",t.x,t.y),t},zoom(e,t){if(!(this.graphSetting.canvasZoom+e<10)){var n=this.graphSetting.canvasZoom+e,r=this.showZoomCenter(t,e);this.graphSetting.canvasOffset.x+=r.buff_x,this.graphSetting.canvasOffset.y+=r.buff_y,this.graphSetting.canvasZoom=n,this.refreshNVAnalysisInfo()}},showZoomCenter(e,t){if(!this.$refs.seeksRelationGraph)return;var n=this.graphSetting.canvasZoom/100,r=(this.graphSetting.canvasZoom+t)/100;this.currentZoomSet=this.analysisByZoom(n,e),this.newZoomSet=this.analysisByZoom(r,e);const i=r/n,o=r/n;this.zoomCenter_of_newSize.x=i*this.currentZoomSet.NMViewBuff.x+0*this.currentZoomSet.NMViewBuff.y+0,this.zoomCenter_of_newSize.y=0*this.currentZoomSet.NMViewBuff.x+o*this.currentZoomSet.NMViewBuff.y+0;var a=this.currentZoomSet.NMViewBuff.x-this.zoomCenter_of_newSize.x,s=this.currentZoomSet.NMViewBuff.y-this.zoomCenter_of_newSize.y;this.zoomCenter_of_newSize.x+=this.currentZoomSet.NMCanvasCenter.x,this.zoomCenter_of_newSize.y+=this.currentZoomSet.NMCanvasCenter.y;var l=this.currentZoomSet.NMCanvasStart.x-this.currentZoomSet.NMCanvasCenter.x,c=this.currentZoomSet.NMCanvasStart.y-this.currentZoomSet.NMCanvasCenter.y,u=i*l+0*c+0,h=0*l+o*c+0;return this.newZoomSet.NMCanvasStart.x=a+this.currentZoomSet.NMCanvasCenter.x+u,this.newZoomSet.NMCanvasStart.y=a+this.currentZoomSet.NMCanvasCenter.y+h,u=i*(l=this.currentZoomSet.NMCanvasEnd.x-this.currentZoomSet.NMCanvasCenter.x)+0*(c=this.currentZoomSet.NMCanvasEnd.y-this.currentZoomSet.NMCanvasCenter.y)+0,h=0*l+o*c+0,this.newZoomSet.NMCanvasEnd.x=a+this.currentZoomSet.NMCanvasCenter.x+u,this.newZoomSet.NMCanvasEnd.y=a+this.currentZoomSet.NMCanvasCenter.y+h,this.currentZoomSet.NMCanvasOffsetBuff.x=a,this.currentZoomSet.NMCanvasOffsetBuff.y=s,{buff_x:a,buff_y:s}},refreshNVAnalysisInfo(){if(this.$refs.seeksRelationGraph){var e={NMCanvasCenter:{x:0,y:0}},t=this.$refs.seeksRelationGraph.getBoundingClientRect();this.graphSetting.viewNVInfo.x=t.left,this.graphSetting.viewNVInfo.y=t.top,this.graphSetting.viewNVInfo.width=t.width,this.graphSetting.viewNVInfo.height=t.height;var n=this.graphSetting.canvasSize.width*(this.graphSetting.canvasZoom/100),r=this.graphSetting.canvasSize.height*(this.graphSetting.canvasZoom/100);e.NMCanvasCenter.x=this.graphSetting.canvasOffset.x+this.graphSetting.canvasSize.width/2,e.NMCanvasCenter.y=this.graphSetting.canvasOffset.y+this.graphSetting.canvasSize.height/2,this.graphSetting.canvasNVInfo.x=e.NMCanvasCenter.x-n/2,this.graphSetting.canvasNVInfo.y=e.NMCanvasCenter.y-r/2,this.graphSetting.canvasNVInfo.width=n,this.graphSetting.canvasNVInfo.height=r,this.graphSetting.viewELSize.width=t.width,this.graphSetting.viewELSize.height=t.height,this.graphSetting.viewELSize.left=t.left,this.graphSetting.viewELSize.top=t.top}else console.error("cannot get view size !")},analysisByZoom(e,t){var n={NMViewPosition:{x:0,y:0},NMViewCenter:{x:0,y:0},NMCanvasCenter:{x:0,y:0},NMCanvasStart:{x:0,y:0},NMCanvasEnd:{x:0,y:0},NMZoomCenter:{x:0,y:0},NMViewBuff:{x:0,y:0},NMCanvasOffsetBuff:{x:0,y:0},NMCanvasSize:{width:0,height:0}};const r=this.getWindowWidth(),i=this.getWindowHeight();var o=this.$refs.seeksRelationGraph.getBoundingClientRect();n.NMViewPosition.x=o.left,n.NMViewPosition.y=o.top,o.width+n.NMViewPosition.x>r?n.NMViewCenter.x=(r-o.left)/2:n.NMViewCenter.x=o.width/2,o.height+n.NMViewPosition.y>i?n.NMViewCenter.y=(i-o.top)/2:n.NMViewCenter.y=o.height/2;var a=this.graphSetting.canvasSize.width*e,s=this.graphSetting.canvasSize.height*e;n.NMCanvasCenter.x=this.graphSetting.canvasOffset.x+this.graphSetting.canvasSize.width/2,n.NMCanvasCenter.y=this.graphSetting.canvasOffset.y+this.graphSetting.canvasSize.height/2,n.NMCanvasStart.x=n.NMCanvasCenter.x-a/2,n.NMCanvasStart.y=n.NMCanvasCenter.y-s/2,n.NMCanvasEnd.x=n.NMCanvasCenter.x+a/2,n.NMCanvasEnd.y=n.NMCanvasCenter.y+s/2,n.NMZoomCenter.x=n.NMViewCenter.x,n.NMZoomCenter.y=n.NMViewCenter.y,t&&(n.NMZoomCenter.x=t.x-n.NMViewPosition.x,n.NMZoomCenter.y=t.y-n.NMViewPosition.y);var l=n.NMViewCenter.x-n.NMCanvasCenter.x,c=n.NMViewCenter.y-n.NMCanvasCenter.y;return t&&(l=n.NMZoomCenter.x-n.NMCanvasCenter.x,c=n.NMZoomCenter.y-n.NMCanvasCenter.y),n.NMViewBuff.x=l,n.NMViewBuff.y=c,n.NMCanvasSize.width=a,n.NMCanvasSize.height=s,n},syncToolsPosition(){if(window.SeeksGraphDebug&&console.log("on scroll..."),!this.$refs.seeksRelationGraph)return;const e=this.getWindowHeight();var t=this.$refs.seeksRelationGraph.getBoundingClientRect();window.SeeksGraphDebug&&console.log("syncToolsPosition...");var n=t.top;!1===this.isNeedFixedTools?n+this.$refs.seeksRelationGraph.offsetHeight<0?this.isNeedFixedTools=!1:n<0&&(this.isNeedFixedTools=!0):(n>0&&(this.isNeedFixedTools=!1),n+this.$refs.seeksRelationGraph.offsetHeight<0&&(this.isNeedFixedTools=!1)),n+this.$refs.seeksRelationGraph.offsetHeight>e?this.isNeedFixedTools4Bottom=!0:this.isNeedFixedTools4Bottom=!1},getWindowWidth:()=>window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,getWindowHeight:()=>window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,getNodePositionTop(e){return e.offsetTop?e.offsetTop+(e.parentNode?this.getNodePositionTop(e.parentNode):0):0},getNodePositionLeft(e){return e.offsetLeft?e.offsetLeft+(e.parentNode?this.getNodePositionLeft(e.parentNode):0):0},resetViewSize(){this.graphSetting.viewSize.width=this.$refs.seeksRelationGraph.getBoundingClientRect().width,this.graphSetting.viewSize.height=this.$refs.seeksRelationGraph.getBoundingClientRect().height,this.graphSetting.canvasZoom=100,this.SeeksRGStore.resetViewSize(),this.refreshNVAnalysisInfo()},loadNodes(e){e.forEach(e=>{let t=B.json2Node(e),n=!1;this.graphData.nodes_map[t.id]?t=this.graphData.nodes_map[t.id]:n=!0,n&&(this.graphData.nodes_map[t.id]=t,this.graphData.nodes.push(t),t.seeks_id=this.seeksNodeIdIndex++,t.appended=!1)})},loadLinks(e){e.forEach(e=>{let t=!1;var n,r;if(n="object"==typeof e.from?e.from:this.graphData.nodes_map[e.from],r="object"==typeof e.to?e.to:this.graphData.nodes_map[e.to],!n)return void console.error("找不到from:",e);if(!r)return void console.error("找不到to:",e);const i=n.seeks_id+"-"+r.seeks_id,o=r.seeks_id+"-"+n.seeks_id;var a,s=B.json2Link(e),l=!1;this.graphData.lines_map[i]?a=this.graphData.lines_map[i]:this.graphData.lines_map[o]?(a=this.graphData.lines_map[o],l=!0):(t=!0,a={seeks_id:i,fromNode:n,toNode:r,appended:!1,relations:[]});var c=s.arrow;s.isHideArrow||(c=this.getLineArrow(s.color)),n.targetNodes||(n.targetNodes=[]),r.targetNodes||(r.targetNodes=[]),-1===n.targetNodes.indexOf(r)&&n.targetNodes.push(r),-1===r.targetNodes.indexOf(n)&&r.targetNodes.push(n),-1===n.targetTo.indexOf(r)&&n.targetTo.push(r),-1===r.targetFrom.indexOf(n)&&r.targetFrom.push(n);for(var u=!1,h=0;h<a.relations.length;h++)if(a.relations[h].id===s.id){u=!0;break}!1===u&&(s.id||(s.id=a.seeks_id+"-"+a.relations.length),s.isReverse=l,s.arrow=c,s.textPositon={x:0,y:0},a.relations.push(s)),t&&(this.graphData.lines.push(a),this.graphData.lines_map[i]=a,a.appended=!1)})},getLineArrow(e){if(e){var t=B.getColorId(e);return-1===this.allLineColors.map(e=>e.id).indexOf(t)&&this.allLineColors.push({id:t,color:e}),this.graphSetting.instanceId+"-arrow-"+t}return this.graphSetting.instanceId+"-arrow-default"},flatNodeData(e,t,n,r){e.forEach(e=>{if(!e.flated){e.flated=!0,n.push(e),t&&r.push({from:t.id,to:e.id});var i=e.childs||e.children;i&&i.length>0&&this.flatNodeData(i,e,n,r)}})},loadGraphJsonData(e){e.links||(e.links=e.lines),e.links||(e.links=e.relations);var t=e.nodes,n=[],r=[];this.flatNodeData(t,null,n,r),e.links=r.concat(e.links),this.loadNodes(n),window.SeeksGraphDebug&&console.log("节点预处理完毕"),this.loadLinks(e.links)},setJsonData(e,t){if(this.viewSizeIsInited=!0,this.nodeViewList=[],this.lineViewList=[],this.graphData.nodes=[],this.graphData.lines=[],this.graphData.nodes_map={},this.graphData.lines_map={},this.graphData.rootNode=null,console.log("set jsonData::",e),this.resetViewSize(),this.graphSetting.layouts&&this.graphSetting.layouts.length>0){var n=this.graphSetting.layouts[0];window.SeeksGraphDebug&&console.log("创建默认布局器:",this.graphSetting.layoutName),n.layouter?this.graphSetting.layouter=n.layouter:this.graphSetting.layouter=m.createLayout(n,this.graphSetting)}else console.log("你需要设置layouts来指定当前图谱可以使用的布局器!");var r=e.rootId;this.loadGraphJsonData(e),r&&(this.graphData.rootNode=this.graphData.nodes_map[r]),!this.graphData.rootNode&&this.graphData.nodes.length>0&&(this.graphData.rootNode=this.graphData.nodes[0]),this.applyNewDataToCanvas(),this.resetViewSize(),this.doLayout(),t&&t(this)},applyNewDataToCanvas(){if(this.graphData.nodes.forEach(e=>{!1===e.appended&&(e.appended=!0,this.nodeViewList.push(e))}),this.graphData.lines.forEach(e=>{!1===e.appended&&(e.appended=!0,this.lineViewList.push(e))}),!this.graphData.rootNode)throw Error("没有设置根节点[rootId]!也无法获取根节点!");this.graphSetting.defaultFocusRootNode&&(this.graphSetting.checkedNodeId=this.graphData.rootNode.id)},appendJsonData(e,t,n){2===arguments.length&&"function"==typeof t&&(n=t,t=!0),console.log("appendData:",e),this.loadGraphJsonData(e),this.applyNewDataToCanvas(),t&&this.doLayout(),n&&n(this)},doLayout(){this.graphSetting.layouter&&this.graphData.rootNode&&(console.log("需要布局的节点数量:",this.graphData.nodes.length),this.graphSetting.layouter.placeNodes(this.graphData.nodes,this.graphData.rootNode,this.graphSetting)),document.body.addEventListener("mousemove",this.wow)},refresh(){this.resetViewSize(),this.$nextTick(()=>{this.graphSetting.layouter.refresh(),this.refreshNVAnalysisInfo(),document.body.addEventListener("mousemove",this.wow)})},onDragStart(e){B.startDrag(e,this.graphSetting.canvasOffset,this.onDragEnd)},onDragEnd(){this.refreshNVAnalysisInfo()},addEventClick(){},wow(){window.SeeksGraphDebug&&console.log("wow....."),this.graphSetting.canvasOffset.x=this.graphSetting.canvasOffset.x+1,this.graphSetting.canvasOffset.y=this.graphSetting.canvasOffset.y+1,this.graphSetting.canvasOffset.x=this.graphSetting.canvasOffset.x-1,this.graphSetting.canvasOffset.y=this.graphSetting.canvasOffset.y-1,document.body.removeEventListener("mousemove",this.wow)},onRGNodeClick(e,t){this.onNodeClick&&this.onNodeClick(e,t)},onRGLineClick(e,t){this.onLineClick&&this.onLineClick(e,t)},getNodeById(e){for(let t=0;t<this.nodeViewList.length;t++)if(this.nodeViewList[t].id===e)return this.nodeViewList[t]},removeNodeById(e){let t=0;for(let r=0;r<this.lineViewList.length;r++){var n=this.lineViewList[r];n.fromNode.id!==e&&n.toNode.id!==e||(n.hidden=!0,this.lineViewList.splice(r,1),r--,t++)}console.log("删除对应的线个数:",e,t);let r=0;for(let t=0;t<this.nodeViewList.length;t++)if(this.nodeViewList[t].id===e){const e=this.nodeViewList[t];e.targetNodes.forEach(t=>{const n=t.targetNodes.indexOf(e);-1!==n&&t.targetNodes.splice(n,1)}),this.nodeViewList.splice(t,1),delete this.graphData.nodes_map[e.id];const n=this.graphData.nodes.findIndex(t=>t.id===e.id);this.graphData.nodes.splice(n,1),r++;break}console.log("删除对应的节点个数:",e,r)},dataURLToBlob(e){for(var t=e.split(","),n=t[0].match(/:(.*?);/)[1],r=atob(t[1]),i=r.length,o=new Uint8Array(i);i--;)o[i]=r.charCodeAt(i);return new Blob([o],{type:n})},downloadAsImage(e){if(this.beforeDownloadImage&&this.beforeDownloadImage(),0===this.nodeViewList.length)throw Error("没有节点,没有内容需要导出!");e||(e="png"),this.graphSetting.checkedNodeId="",this.graphSetting.canvasZoom=100;const t=this.$refs.seeksRGCanvas;var n=t.clientWidth,r=t.clientHeight,i=999999,o=999999,a=0,s=0;this.nodeViewList.forEach(e=>{e.x<i&&(i=e.x),e.x>a&&(a=e.x+e.el.offsetWidth),e.y<o&&(o=e.y),e.y>s&&(s=e.y+e.el.offsetHeight)}),this.nodeViewList.forEach(e=>{e.x=e.x-i+100,e.y=e.y-o+100});var c=this.graphSetting.canvasOffset.x+i-100,u=this.graphSetting.canvasOffset.y+o-100;this.graphSetting.canvasOffset.x=-100,this.graphSetting.canvasOffset.y=-100,console.log("offset:",{_origin_offset_x:c,_origin_offset_y:u,_min_x:i,_min_y:o,_max_x:a,_max_y:s});var h=a-i+200+200,d=s-o+100+200,f=window.devicePixelRatio;this.graphSetting.canvasSize.width=h*f,this.graphSetting.canvasSize.height=d*f,this.canvasBackgroundColor="#ffffff";var p={left:this.$refs.seeksRelationGraph.offsetLeft-t.getBoundingClientRect().left,top:this.$refs.seeksRelationGraph.offsetTop-t.getBoundingClientRect().top,canvas_offsetLeft:t.offsetLeft,canvas_offsetTop:t.offsetTop,canvas_left:t.getBoundingClientRect().left,canvas_top:t.getBoundingClientRect().top};window.scrollTo(0,0),console.log("export image:",{relationGraphPosition:p,orign_width:n,orign_height:r,_image_width:h,_image_height:d,_min_x:i,_min_y:o,_max_x:a,_max_y:s,devicePixelRatio:window.devicePixelRatio}),this.$nextTick(()=>{var i="SeeksRelationGraph-"+(1e5*Math.random()).toFixed(0),o=document.createElement("canvas");o.width=h*f,o.height=d*f,o.style.width=h*f+"px",o.style.height=d*f+"px",o.getContext("2d").scale(1,1);const a={backgroundColor:null,scale:f,canvas:o,logging:!0,width:h,height:d,useCORS:!0};console.log("html2canvas:",a),l()(t,a).then(t=>{const o=document.body.appendChild(t);o.style.display="none";const a=this.dataURLToBlob(o.toDataURL("image/"+e));document.body.removeChild(o);const s=document.createElement("a");s.style.display="none";try{window.navigator.msSaveOrOpenBlob?window.navigator.msSaveOrOpenBlob(a,i+"."+e):(s.setAttribute("href",URL.createObjectURL(a)),s.setAttribute("download",i+"."+e),document.body.appendChild(s),s.click(),console.log("click ok!"),URL.revokeObjectURL(a),console.log("revokeObjectURL ok!"),document.body.removeChild(s),console.log("removeChild ok!")),this.graphSetting.canvasSize.width=n,this.graphSetting.canvasSize.height=r,this.graphSetting.canvasOffset.x=c,this.graphSetting.canvasOffset.y=u,this.canvasBackgroundColor="transparent"}catch(e){console.log("[SEEKS Graph]Create and download image error:",e)}})})},querySearchAsync(e,t){if(console.log("fetch-suggestions",e),""!==(e=e.trim())){var n=[];this.nodeViewList.forEach(t=>{console.log("fetch:",t.text),-1!==t.text.indexOf(e)&&n.push(t)}),console.log("fetched:",n.length),t(n)}},focusRootNode(){window.SeeksGraphDebug&&console.log("relation-graph:focusRootNode"),this.handleSelect(this.graphData.rootNode)},focusNodeById(e){this.graphData.nodes.forEach(t=>{t.id===e&&this.handleSelect(t)})},handleSelect(e){console.log("checked:",e),scrollTo({top:this.$refs.seeksRelationGraph.offsetTop}),this.animateToZoom(100,300,()=>{var t=e.width||50,n=e.height||50,r=-1*e.x+this.graphSetting.viewSize.width/2-t/2,i=-1*e.y+this.graphSetting.viewSize.height/2-n/2;this.animateGoto(r,i,500,()=>{this.graphSetting.checkedNodeId=e.id,this.refreshNVAnalysisInfo()})})},animateGoto(e,t,n,r){var i=e-this.graphSetting.canvasOffset.x,o=t-this.graphSetting.canvasOffset.y,a=n,s=parseInt(i/5),l=parseInt(o/5),c=a/5;this.animateStepAction(0,c,5,()=>{this.graphSetting.canvasOffset.x+=s,this.graphSetting.canvasOffset.y+=l},()=>{r()})},animateToZoom(e,t,n){var r=e-this.graphSetting.canvasZoom,i=t,o=parseInt(r/5),a=i/5;this.animateStepAction(0,a,5,()=>{this.zoom(o)},()=>{n()})},animateStepAction(e,t,n,r,i){e<n?(r(e,n),setTimeout(()=>{this.animateStepAction(e+1,t,n,r,i)},t)):i()},getNodes(){return this.nodeViewList},getLines(){return this.lineViewList},onNodeExpandEvent(e,t){console.log("onNodeExpand:",e),this.onNodeExpand&&this.onNodeExpand(e,t)},onNodeCollapseEvent(e,t){console.log("onNodeCollapse:",e),this.onNodeCollapse&&this.onNodeCollapse(e,t)},getGraphJsonData(){var e=[],t=[];return this.graphData.nodes.forEach(t=>{B.transNodeToJson(t,e)}),this.graphData.lines.forEach(e=>{B.transLineToJson(e,t)}),{rootId:this.graphData.rootNode?this.graphData.rootNode.id:"",nodes:e,links:t}},getGraphJsonOptions(){return this.SeeksRGStore.getOptions()},printGraphJsonData(){console.log("graph options:",JSON.stringify(this.getGraphJsonOptions())),console.log("graph json data:",JSON.stringify(this.getGraphJsonData()))}}},Te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"seeksRelationGraph",staticStyle:{"box-sizing":"border-box"},style:{width:"100%",height:"100%"},on:{resize:function(t){return e.refreshNVAnalysisInfo()}}},[e.graphSetting.allowShowSettingPanel?n("GraphSettingPanel",{attrs:{"graph-setting":e.graphSetting},scopedSlots:e._u([{key:"settingPanelPlus",fn:function(t){var r=t.setting;return n("div",{},[e._t("settingPanelPlus",null,{setting:r})],2)}}],null,!0)}):e._e(),e._v(" "),n("graph-mini-name-filter",{directives:[{name:"show",rawName:"v-show",value:!0===e.graphSetting.allowShowMiniNameFilter,expression:"graphSetting.allowShowMiniNameFilter===true"}],attrs:{"graph-setting":e.graphSetting}}),e._v(" "),n("graph-mini-tool-bar",{directives:[{name:"show",rawName:"v-show",value:!0===e.graphSetting.allowShowMiniToolBar,expression:"graphSetting.allowShowMiniToolBar===true"}],attrs:{"graph-setting":e.graphSetting}}),e._v(" "),!0===e.graphSetting.allowShowMiniView?n("graph-mini-view",{attrs:{"graph-setting":e.graphSetting}}):e._e(),e._v(" "),e._t("graphPlug",null,{graph:this}),e._v(" "),n("div",{staticClass:"rel-map",class:[e.graphSetting.layoutClassName,e.graphSetting.backgrounImageNoRepeat?"rel-map-background-norepeat":""],style:{width:"100%",height:"100%","background-image":"url("+e.graphSetting.backgrounImage+")"},on:{mousedown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.stopPropagation(),e.onDragStart(t))},mousewheel:e.mouseListener}},[n("div",{ref:"seeksRGCanvas",staticClass:"rel-map-canvas",style:e.canvasSizeAndPosition},[n("div",{staticClass:"rel-nodediv rel-nodediv-for-webkit"},e._l(e.nodeViewList,function(t){return n("SeeksRGNode",{key:t.seeks_id,attrs:{"node-props":t,"on-node-click":e.onRGNodeClick,"graph-setting":e.graphSetting},scopedSlots:e._u([{key:"node",fn:function(t){var n=t.node;return[e._t("node",null,{node:n})]}}],null,!0)})}),1),e._v(" "),n("div",{ref:"rgCanvas",staticClass:"rel-linediv",staticStyle:{overflow:"visible"}},[n("svg",{staticStyle:{overflow:"visible"},style:{width:e.graphSetting.canvasSize.width+"px",height:e.graphSetting.canvasSize.height+"px"},attrs:{xmlns:"http://www.w3.org/2000/svg",version:"1.1"}},[n("defs",[n("linearGradient",{attrs:{id:e.graphSetting.instanceId+"-lineStyle",x1:"1",y1:"0",x2:"0",y2:"0"}},[n("stop",{attrs:{offset:"0%","stop-color":"#e52c5c"}}),e._v(" "),n("stop",{attrs:{offset:"100%","stop-color":"#FD8B37"}})],1),e._v(" "),n("marker",{attrs:{id:e.graphSetting.instanceId+"-arrow-default",markerWidth:e.graphSetting.defaultLineMarker.markerWidth,markerHeight:e.graphSetting.defaultLineMarker.markerHeight,refX:e.graphSetting.defaultLineMarker.refX,refY:e.graphSetting.defaultLineMarker.refY,"marker-units":"strokeWidth",orient:"auto",viewBox:"0 0 12 12"}},[n("path",{style:{fill:e.graphSetting.defaultLineColor},attrs:{d:e.graphSetting.defaultLineMarker.data}})]),e._v(" "),n("marker",{attrs:{id:e.graphSetting.instanceId+"-arrow-checked",markerUnits:"strokeWidth",markerWidth:"12",markerHeight:"12",viewBox:"0 0 12 12",refX:"6",refY:"6",orient:"auto"}},[n("path",{style:{fill:"#FD8B37"},attrs:{d:"M2,2 L10,6 L2,10 L6,6 L2,2"}})]),e._v(" "),e._l(e.allLineColors,function(t){return n("marker",{key:t.id,attrs:{id:e.graphSetting.instanceId+"-arrow-"+t.id,markerWidth:e.graphSetting.defaultLineMarker.markerWidth,markerHeight:e.graphSetting.defaultLineMarker.markerHeight,refX:e.graphSetting.defaultLineMarker.refX,refY:e.graphSetting.defaultLineMarker.refY,"marker-units":"strokeWidth",orient:"auto"}},[n("path",{attrs:{fill:e.graphSetting.defaultLineMarker.color||t.color,d:e.graphSetting.defaultLineMarker.data}})])})],2),e._v(" "),e._l(e.lineViewList,function(t){return n("SeeksRGLink",{key:t.seeks_id,attrs:{"line-props":t,"graph-setting":e.graphSetting,"on-line-click":e.onRGLineClick}})})],2)])])]),e._v(" "),e.$scopedSlots.bottomPanel?n("graph-bottom-panel",{attrs:{"graph-setting":e.graphSetting}},[n("template",{slot:"bottomPanel"},[e._t("bottomPanel",null,{graph:this})],2)],2):e._e(),e._v(" "),n("div",{staticStyle:{clear:"both",height:"1px"}}),e._v(" "),e.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",top:"0px",right:"0px","font-size":"12px","background-color":"#333333",color:"#ffffff","z-index":"9999",padding:"20px"},style:{left:e.debugPanelPosition?"":"0px",right:e.debugPanelPosition?"0px":""},on:{click:e.moveDebugPanel}},[n("div",[n("pre",[e._v(e._s(JSON.stringify(e.graphSetting.canvasOffset,null,2)))])]),e._v(" "),n("div",[n("pre",[e._v(e._s(JSON.stringify(e.graphSetting.viewNVInfo,null,2)))])]),e._v(" "),n("div",[n("pre",[e._v(e._s(JSON.stringify(e.graphSetting.canvasNVInfo,null,2)))])])]):e._e(),e._v(" "),e.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",top:"0px",width:"2px",height:"2000px","z-index":"99999","border-left":"blue dotted 2px",opacity:"0.6"},style:{left:e.graphSetting.canvasNVInfo.x+e.graphSetting.viewNVInfo.x+"px",top:e.graphSetting.viewNVInfo.y+"px"}}):e._e(),e._v(" "),e.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",left:"0px",height:"2px",width:"2000px","z-index":"99999","border-top":"blue dotted 2px",opacity:"0.6"},style:{top:e.graphSetting.canvasNVInfo.y+e.graphSetting.viewNVInfo.y+"px",left:e.graphSetting.viewNVInfo.x+"px"}}):e._e(),e._v(" "),e.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",top:"0px",width:"4px",height:"2000px","z-index":"99999","border-left":"green dotted 2px",opacity:"0.4"},style:{left:e.graphSetting.canvasNVInfo.x+e.graphSetting.canvasNVInfo.width/2+e.graphSetting.viewNVInfo.x+"px",top:e.graphSetting.viewNVInfo.y+"px"}}):e._e(),e._v(" "),e.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",left:"0px",height:"4px",width:"2000px","z-index":"99999","border-top":"green dotted 2px",opacity:"0.4"},style:{top:e.graphSetting.canvasNVInfo.y+e.graphSetting.canvasNVInfo.height/2+e.graphSetting.viewNVInfo.y+"px",left:e.graphSetting.viewNVInfo.x+"px"}}):e._e(),e._v(" "),e.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",top:"0px",width:"2px",height:"2000px","z-index":"99999","border-left":"blue dotted 2px",opacity:"0.6"},style:{left:e.graphSetting.canvasNVInfo.x+e.graphSetting.canvasNVInfo.width+e.graphSetting.viewNVInfo.x+"px",top:e.graphSetting.viewNVInfo.y+"px"}}):e._e(),e._v(" "),e.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",left:"0px",height:"2px",width:"2000px","z-index":"99999","border-top":"blue dotted 2px",opacity:"0.6"},style:{top:e.graphSetting.canvasNVInfo.y+e.graphSetting.canvasNVInfo.height+e.graphSetting.viewNVInfo.y+"px",left:e.graphSetting.viewNVInfo.x+"px"}}):e._e()],2)};Te._withStripped=!0;var Ee={render:Te,staticRenderFns:[]},Me=Ee;var De=!1;var Oe=n(2)(ke,Me,!1,function(e){De||n(5)},"data-v-2964abc9",null);Oe.options.__file="src/index.vue";var Ie=Oe.exports;Ie.install=function(e){e.component("relation-graph",Ie),e.component("seeks-relation-graph",Ie)};t.default=Ie},function(e,t,n){var r=n(6);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("7abd5e14",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.rel-map[data-v-2964abc9]{\n background-color: #ffffff;\n /*background-image: url(\"/static/images/graph-bg.png\");*/\n overflow:hidden;\n cursor: default;\n user-select: none;\n}\n.rel-map-background-norepeat[data-v-2964abc9]{\n background-repeat: no-repeat;\n background-position:right bottom;\n}\n.rel-nodediv-for-webkit[data-v-2964abc9]{\n position: absolute;\n width:100%;\n top:0px;\n left:0px;\n z-index: 1000\n}\n.rel-map-canvas[data-v-2964abc9]{\n position:relative;\n top:0px;\n left:0px;\n /*overflow:hidden;*/\n border: 0px;\n z-index: 3;\n /*background-color: #efefef;*/\n /*border-top: #efefef dashed 1px;*/\n /*border-left: #efefef dashed 1px;*/\n /*width:30px;*/\n /*height:30px;*/\n}\nsvg[data-v-2964abc9] {\n height: 100%;\n width: 100%;\n}\n.rel-linediv[data-v-2964abc9]{\n --stroke:url('#lineStyle');\n --markerEnd:url('#arrow-default');\n --markerEndChecked:url('#arrow-checked');\n}\n.rel-linediv svg[data-v-2964abc9]{\n overflow: visible\n}\n.rel-linediv[data-v-2964abc9] .c-rg-line-checked {\n /*stroke: var(--stroke);*/\n /*marker-end: var(--markerEndChecked) !important;*/\n stroke-width: 2px;\n stroke-dasharray: 5,5,5;\n stroke-dashoffset: 3px;\n stroke-linecap: butt;\n /*stroke: #FD8B37;*/\n stroke-linejoin: bevel;\n /* firefox bug fix - won't rotate at 90deg angles */\n -moz-transform: rotate(-89deg) translateX(-190px);\n animation-timing-function:linear;\n animation: ACTRGLineChecked 10s;\n}\n.rel-map[data-v-2964abc9] img{\n -webkit-user-drag: none;\n -webkit-user-select: none;\n}\n",""])},function(e,t){e.exports=function(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],s={id:e+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}},function(e,t){!function(e){var t,n,r,i,o,a,s='<svg><symbol id="icon-iconset0444" viewBox="0 0 1024 1024"><path d="M960 682.666667l-106.666667 0C844.8 569.6 763.733333 42.666667 64 42.666667 51.2 42.666667 42.666667 51.2 42.666667 64c0 12.8 8.533333 21.333333 21.333333 21.333333 219.733333 0 377.6 106.666667 465.066667 315.733333 51.2 123.733333 64 236.8 66.133333 281.6L490.666667 682.666667c-12.8 0-21.333333 8.533333-21.333333 21.333333 0 6.4 2.133333 10.666667 6.4 14.933333l234.666667 256c4.266667 4.266667 8.533333 6.4 14.933333 6.4 6.4 0 10.666667-2.133333 14.933333-6.4l234.666667-256c4.266667-4.266667 6.4-8.533333 6.4-14.933333C981.333333 691.2 972.8 682.666667 960 682.666667zM725.333333 928 539.733333 725.333333 618.666667 725.333333c12.8 0 21.333333-8.533333 21.333333-21.333333l0-21.333333c-4.266667-87.466667-38.4-396.8-273.066667-554.666667C755.2 251.733333 804.266667 588.8 810.666667 682.666667l0 21.333333c0 12.8 8.533333 21.333333 21.333333 21.333333l78.933333 0L725.333333 928z" ></path></symbol><symbol id="icon-iconset0445" viewBox="0 0 1024 1024"><path d="M974.933333 305.066667l-234.666667-256C736 44.8 731.733333 42.666667 725.333333 42.666667c-6.4 0-10.666667 2.133333-14.933333 6.4l-234.666667 256C471.466667 309.333333 469.333333 313.6 469.333333 320c0 12.8 8.533333 21.333333 21.333333 21.333333l104.533333 0c-2.133333 44.8-14.933333 157.866667-66.133333 281.6C441.6 832 283.733333 938.666667 64 938.666667c-12.8 0-21.333333 8.533333-21.333333 21.333333 0 12.8 8.533333 21.333333 21.333333 21.333333 699.733333 0 780.8-526.933333 789.333333-640l106.666667 0c12.8 0 21.333333-8.533333 21.333333-21.333333C981.333333 313.6 979.2 309.333333 974.933333 305.066667zM832 298.666667c-12.8 0-21.333333 8.533333-21.333333 21.333333l0 21.333333c-6.4 93.866667-55.466667 430.933333-443.733333 554.666667 234.666667-157.866667 268.8-467.2 273.066667-554.666667l0-21.333333c0-12.8-8.533333-21.333333-21.333333-21.333333l-78.933333 0L725.333333 96l185.6 202.666667L832 298.666667z" ></path></symbol><symbol id="icon-yuanquanfenxiang" viewBox="0 0 1024 1024"><path d="M751.148705 578.773799c-61.987796 0-117.066229 30.121018-151.388942 76.488045L398.287145 536.382317c1.991354-10.171664 3.046383-20.673855 3.046383-31.419594 0-18.776645-3.196809-36.817534-9.058306-53.621245l193.486736-107.492176c31.949666 58.566884 94.104261 98.391914 165.386748 98.391914 103.803157 0 188.254571-84.450391 188.254571-188.254571S854.951863 65.73105 751.148705 65.73105c-103.804181 0-188.255595 84.450391-188.255595 188.254571 0 14.246469 1.600451 28.125571 4.613064 41.4746L368.032074 406.279167c-29.841655-39.193651-76.976162-64.544015-129.927141-64.544015-90.004897 0-163.228595 73.223698-163.228595 163.228595 0 90.003873 73.223698 163.228595 163.228595 163.228595 60.882626 0 114.078175-33.510208 142.134161-83.049484L575.173808 700.16452c-7.925507 20.788465-12.280698 43.325761-12.280698 66.86385 0 103.803157 84.450391 188.254571 188.255595 188.254571 103.803157 0 188.254571-84.450391 188.254571-188.254571S854.951863 578.773799 751.148705 578.773799zM751.148705 116.89636c75.590606 0 137.089261 61.498656 137.089261 137.089261s-61.498656 137.089261-137.089261 137.089261c-75.591629 0-137.090285-61.498656-137.090285-137.089261S675.557076 116.89636 751.148705 116.89636zM238.105956 617.026008c-61.791321 0-112.063285-50.27094-112.063285-112.063285 0-61.791321 50.27094-112.063285 112.063285-112.063285s112.063285 50.27094 112.063285 112.063285C350.168218 566.755068 299.897278 617.026008 238.105956 617.026008zM751.148705 904.117632c-75.591629 0-137.090285-61.498656-137.090285-137.089261s61.498656-137.089261 137.090285-137.089261c75.590606 0 137.089261 61.498656 137.089261 137.089261S826.739311 904.117632 751.148705 904.117632z" ></path></symbol><symbol id="icon-hj2" viewBox="0 0 1024 1024"><path d="M963.66 256.607c0-0.244 0-0.607-0.126-0.851 0-0.369 0-0.614-0.119-0.978 0-0.369-0.119-0.733-0.119-1.104 0-0.244 0-0.487-0.126-0.725 0-0.369-0.119-0.859-0.244-1.222 0-0.244-0.119-0.369-0.119-0.613-0.126-0.365-0.126-0.852-0.245-1.216 0-0.244-0.126-0.369-0.126-0.613-0.119-0.365-0.244-0.734-0.364-1.222-0.126-0.244-0.126-0.49-0.244-0.609l-0.369-1.095c-0.119-0.245-0.119-0.49-0.244-0.734-0.121-0.369-0.245-0.613-0.365-0.978-0.126-0.244-0.244-0.613-0.369-0.851-0.119-0.244-0.238-0.613-0.364-0.859-0.119-0.364-0.244-0.607-0.364-0.977l-0.371-0.734c-0.119-0.364-0.364-0.725-0.487-0.971-0.119-0.245-0.244-0.371-0.364-0.614-0.244-0.364-0.369-0.733-0.614-1.097-0.119-0.126-0.244-0.369-0.364-0.487l-0.733-1.097c-0.119-0.126-0.244-0.369-0.365-0.487-0.244-0.369-0.487-0.733-0.733-0.978-0.126-0.244-0.244-0.369-0.487-0.613-0.245-0.238-0.49-0.607-0.734-0.851-0.244-0.245-0.487-0.49-0.607-0.734-0.244-0.244-0.369-0.487-0.614-0.733-0.851-0.972-1.829-1.83-2.681-2.682-0.245-0.244-0.49-0.369-0.734-0.614-0.244-0.244-0.487-0.487-0.733-0.607-0.245-0.244-0.614-0.487-0.859-0.733-0.238-0.121-0.364-0.365-0.607-0.49-0.365-0.244-0.734-0.487-0.978-0.733-0.119-0.119-0.364-0.244-0.487-0.365l-1.097-0.733c-0.119-0.119-0.364-0.244-0.487-0.364-0.365-0.244-0.734-0.369-1.097-0.614-0.244-0.119-0.369-0.244-0.613-0.364-0.365-0.126-0.734-0.369-0.972-0.487l-0.734-0.369c-0.369-0.121-0.613-0.245-0.977-0.365-0.244-0.126-0.614-0.244-0.859-0.369-0.244-0.119-0.607-0.238-0.851-0.364-0.365-0.119-0.609-0.244-0.978-0.364-0.244-0.126-0.487-0.126-0.733-0.245l-1.097-0.369c-0.244-0.119-0.487-0.119-0.609-0.244-0.369-0.119-0.733-0.244-1.22-0.364-0.245 0-0.371-0.126-0.614-0.126-0.364-0.119-0.851-0.244-1.216-0.244-0.244 0-0.487-0.121-0.613-0.121-0.364-0.126-0.852-0.126-1.222-0.244-0.244 0-0.482-0.126-0.725-0.126-0.369 0-0.734-0.119-1.104-0.119-0.364 0-0.607 0-0.978-0.126-0.244 0-0.607 0-0.851-0.119h-242.407c-21.604 0-39.062 17.456-39.062 39.062 0 21.604 17.458 39.055 39.062 39.055h146.102l-3.171 3.177-217.27 217.265 0.369 0.369-49.676 49.676-155.87-155.87c-7.694-7.689-17.827-11.472-27.953-11.472-10.13-0.126-20.263 3.659-27.952 11.472l-282.446 282.322c-15.258 15.258-15.258 40.041 0 55.298 15.258 15.258 40.033 15.258 55.291 0l255.108-255.11 155.746 155.751c7.813 7.815 17.945 11.593 28.076 11.474 10.126 0.119 20.382-3.659 28.070-11.474l182.964-182.969c0.734-0.734 1.347-1.342 1.956-2.075l111.564-111.564v146.109c0 21.604 17.451 39.060 39.055 39.060s39.062-17.456 39.062-39.060v-235.085c0-0.244 0.126-0.49 0.126-0.614 0-0.244 0.119-0.487 0.119-0.733 0-0.364 0.119-0.734 0.119-1.097s0-0.607 0.126-0.977c0-0.245 0-0.609 0.119-0.852-0.122-1.466-0.122-2.807-0.122-4.030v0zM963.66 256.607z" ></path></symbol><symbol id="icon-circleyuanquan" viewBox="0 0 1024 1024"><path d="M150.1184 150.1184C250.2656 50.0736 370.8928 0 512 0c141.1072 0 261.7344 50.0736 361.8816 150.1184C973.9264 250.2656 1024 370.8928 1024 512c0 141.2096-50.0736 261.8368-150.1184 361.8816C773.7344 973.9264 653.1072 1024 512 1024c-141.1072 0-261.7344-50.0736-361.8816-150.1184C50.0736 773.8368 0 653.2096 0 512 0 370.8928 50.0736 250.2656 150.1184 150.1184zM512 41.8816c-85.2992 0-164.1472 20.8896-236.3392 62.7712C203.4688 146.432 146.432 203.4688 104.6528 275.6608 62.7712 347.9552 41.8816 426.7008 41.8816 512c0 129.6384 45.9776 240.4352 137.8304 332.288C271.5648 936.2432 382.3616 982.1184 512 982.1184c129.6384 0 240.4352-45.8752 332.288-137.8304C936.2432 752.4352 982.1184 641.6384 982.1184 512c0-129.6384-45.9776-240.3328-137.8304-332.288C752.4352 87.7568 641.6384 41.8816 512 41.8816zM512 256c-36.1472 0-70.144 7.0656-102.1952 20.8896C377.856 290.9184 349.4912 309.3504 324.9152 332.288c-22.9376 24.576-41.472 52.9408-55.3984 84.8896S248.6272 483.328 248.6272 519.3728c0 36.1472 6.9632 70.144 20.8896 102.1952s32.4608 60.3136 55.3984 84.8896C349.4912 729.4976 377.856 747.9296 409.8048 761.856 441.856 775.7824 475.8528 782.7456 512 782.7456c36.1472 0 70.144-6.9632 102.1952-20.8896C646.144 747.9296 674.5088 729.4976 699.0848 706.4576c22.9376-24.576 41.472-52.9408 55.3984-84.8896s20.8896-66.048 20.8896-102.1952c0-36.0448-6.9632-70.144-20.8896-102.1952S722.0224 356.9664 699.0848 332.288C674.5088 309.3504 646.144 290.9184 614.1952 276.8896 582.144 263.0656 548.1472 256 512 256z" ></path></symbol><symbol id="icon-bhjlink" viewBox="0 0 1024 1024"><path d="M901.920618 465.785468c-50.993571 0-94.522533 32.698367-110.688942 78.273953L702.244627 544.059421c1.764013-10.590222 2.890616-21.423121 2.890616-32.694527 0-72.177856-40.480145-134.923579-99.898281-166.857822l34.099901-112.776268c8.829281 2.126492 18.1347 3.327588 27.724265 3.327588 64.833817 0 117.472367-52.597848 117.472367-117.589097C784.532727 52.594008 731.894177 0 667.06036 0c-64.911381 0-117.509229 52.594008-117.509229 117.470063 0 49.305587 30.248562 91.349307 73.177745 108.842756l-33.419485 110.692013c-22.548956-9.588797-47.462473-14.807112-73.540224-14.807112-49.18732 0-93.841349 18.658451-127.540374 49.309426L213.348053 196.583401l-1.886119 2.008226c19.940183-21.103648 32.256788-49.588197 32.256788-81.003297 0-64.872983-52.517212-117.470063-117.470063-117.470063-64.913685 0-117.511533 52.59708-117.511533 117.470063 0 65.034255 52.59708 117.592169 117.511533 117.592169 31.412796 0 59.898881-12.358075 80.921125-32.335888l-6.179038 6.056931 174.960609 174.879973c-30.729308 33.66293-49.506025 78.47516-49.506025 127.661712 0 43.008283 14.401627 82.685138 38.593258 114.501114l-149.845117 120.999625c-21.503757-28.044506-55.285722-46.218372-93.357532-46.218372-64.874519 0-117.430897 52.719186-117.430897 117.592169 0 64.833049 52.556378 117.470063 117.430897 117.470063 64.872983 0 117.549163-52.637014 117.549163-117.470063 0-20.541499-5.335813-39.878062-14.602834-56.68956l151.369526-122.203792c34.584487 37.633303 84.29095 61.384123 139.618142 61.384123 28.082136 0 54.602234-6.057699 78.553492-17.091805l52.716114 119.514383c-35.585143 20.222026-59.497236 58.335306-59.497236 102.106945 0 64.912149 52.637014 117.549163 117.592169 117.549163 64.872983 0 117.388659-52.637014 117.388659-117.549163 0-64.833049-52.516444-117.513069-117.388659-117.513069-15.047485 0-29.248673 2.929782-42.446133 7.903885l-52.798286-120.034294c42.807844-24.554878 75.182898-65.518073 88.46253-114.221576l88.222926 0c-1.405374 7.018422-1.96522 14.241123-1.96522 21.743362 0 64.872983 52.557914 117.509997 117.387123 117.509997 64.995089 0 117.596009-52.637014 117.596009-117.509997C1019.508947 518.383316 966.994039 465.785468 901.920618 465.785468L901.920618 465.785468zM901.920618 465.785468" ></path></symbol><symbol id="icon-lianjie_connecting5" viewBox="0 0 1024 1024"><path d="M801.25952 251.74016l-28.9792-28.99968-150.79424 150.8352-35.1232-35.10272-99.14368 99.16416 99.14368 99.16416 99.16416-99.16416-35.10272-35.1232zM487.19872 476.8768l-29.94176 29.94176-19.61984-19.61984-99.16416 99.16416 35.10272 35.1232-150.8352 150.79424 28.95872 28.95872 150.8352-150.79424 35.10272 35.10272 99.14368-99.14368-19.61984-19.64032 29.96224-29.96224-59.92448-59.92448z m-15.48288 44.4416l15.4624-15.4624 30.98624 30.98624-15.4624 15.44192-30.98624-30.96576z" fill="" ></path></symbol><symbol id="icon-xiazai" viewBox="0 0 1024 1024"><path d="M840.5 900.3h-657c-16.5 0-29.9 13.4-29.9 29.9s13.4 29.9 29.9 29.9h657.1c16.5 0 29.9-13.4 29.9-29.9-0.1-16.6-13.5-29.9-30-29.9zM631.5 123.7V541.8H763.1L512 769.9l-251.2-228h131.7V123.7h239m0-59.7h-239c-33 0-59.7 26.7-59.7 59.7v358.4H183.5c-26.6 0-39.9 32.2-21.1 51l328.5 298.2c5.8 5.8 13.5 8.7 21.1 8.7s15.3-2.9 21.1-8.7l328.5-298.2c18.8-18.8 5.5-51-21.1-51H691.2V123.7c0-33-26.7-59.7-59.7-59.7z" ></path></symbol><symbol id="icon-ico_reset" viewBox="0 0 1024 1024"><path d="M925.97087933 277.33133334a479.997 479.997 0 1 0 54.33566 255.9984H916.05094133a415.9974 415.9974 0 1 1-64.191599-255.9984h74.047537z" ></path><path d="M978.64255033 61.01268534L725.33213333 371.09074734h297.59814z" ></path></symbol><symbol id="icon-fangda" viewBox="0 0 1024 1024"><path d="M768 448a320 320 0 1 0-320 320 320 320 0 0 0 320-320z m64 0A384 384 0 1 1 448 64a384 384 0 0 1 384 384z" ></path><path d="M681.28 726.72a32 32 0 0 1 45.44-45.44l160 160a32 32 0 0 1-45.44 45.44zM320 480a32 32 0 0 1 0-64h256a32 32 0 0 1 0 64z" ></path><path d="M480 576a32 32 0 0 1-64 0V320a32 32 0 0 1 64 0z" ></path></symbol><symbol id="icon-zidong" viewBox="0 0 1024 1024"><path d="M131.3 363.3c-19.2 47.3-28.9 97.3-28.9 148.7 0 51.3 9.7 101.3 28.9 148.7 7 17.2 15.1 33.8 24.3 49.7l15.8-49.1 42.8 13.8-39.8 123.8-42.8-13.9-80.9-26 13.8-42.8 52.3 16.8c-98-168.4-74.8-387.9 69.4-532.1C342.4 44.7 586.9 30.5 759.1 158.3l-32.2 32.2c-25.1-18-52.1-32.9-80.9-44.6-47.3-19.2-97.3-28.9-148.7-28.9-51.3 0-101.3 9.7-148.7 28.9-49 19.9-92.9 49.1-130.6 86.8s-66.9 81.7-86.7 130.6z m828.3-60.2l13.8-42.8-80.9-26-42.8-13.8-39.8 123.8 42.8 13.8 15-46.7c9.8 16.6 18.4 34 25.8 52.1 19.2 47.3 28.9 97.3 28.9 148.7 0 51.3-9.7 101.3-28.9 148.7-19.9 49-49.1 92.9-86.8 130.6C768.9 829 725 858.2 676 878.1c-47.3 19.2-97.3 28.9-148.7 28.9-51.3 0-101.3-9.7-148.7-28.9-28.8-11.7-55.9-26.6-80.9-44.6l-32.2 32.2c126.3 93.7 382.6 147.7 572.9-42.6 145.8-145.8 167.9-368.6 66.1-537.7l55.1 17.7zM474 241.2L295 730.4h64.8l50.5-148.2h195.3l54 148.2h70.3L539.6 241.2H474z m-45.9 288.3L479.8 386c11-30.9 19.4-62.1 25.4-93.4 6.9 26 17.9 59.9 32.8 101.5l48.2 135.5H428.1z" fill="" ></path></symbol><symbol id="icon-quanping" viewBox="0 0 1024 1024"><path d="M795.5 192H581c-19.6 0-35.6 15.7-36 35.3-0.4 20.3 16.4 36.7 36.7 36.7h128.4L581 393.1c-14 14-14 36.9 0 50.9s36.9 14 50.9 0L760 315.9v129c0 19.6 15.8 35.6 35.3 36 20.2 0.4 36.7-16.4 36.7-36.7V228.5c0-20.1-16.3-36.5-36.5-36.5zM442.2 760H313.8L443 630.9c14-14 14-36.9 0-50.9s-36.9-14-50.9 0L264 708.1V579c0-19.6-15.8-35.6-35.3-36-20.2-0.4-36.7 16.4-36.7 36.7v215.6c0 20.3 16.4 36.7 36.7 36.7H443c19.6 0 35.6-15.7 36-35.3 0.3-20.3-16.5-36.7-36.8-36.7z" ></path><path d="M838 136c27.6 0 50 22.4 50 50v652c0 27.6-22.4 50-50 50H186c-27.6 0-50-22.4-50-50V186c0-27.6 22.4-50 50-50h652m0-72H186c-16.4 0-32.4 3.2-47.5 9.6-14.5 6.1-27.6 14.9-38.8 26.1-11.2 11.2-20 24.2-26.1 38.8-6.4 15.1-9.6 31.1-9.6 47.5v652c0 16.4 3.2 32.4 9.6 47.5 6.1 14.5 14.9 27.6 26.1 38.8 11.2 11.2 24.2 20 38.8 26.1 15.1 6.4 31.1 9.6 47.5 9.6h652c16.4 0 32.4-3.2 47.5-9.6 14.5-6.1 27.6-14.9 38.8-26.1 11.2-11.2 20-24.2 26.1-38.8 6.4-15.1 9.6-31.1 9.6-47.5V186c0-16.4-3.2-32.4-9.6-47.5-6.1-14.5-14.9-27.6-26.1-38.8-11.2-11.2-24.2-20-38.8-26.1-15.1-6.4-31.1-9.6-47.5-9.6z" ></path></symbol><symbol id="icon-lianjieliu" viewBox="0 0 1024 1024"><path d="M280.224 425.856h348.608a29.536 29.536 0 1 0 0-59.072H280.224c-52.448 0-93.152-34.304-93.152-73.856s40.704-73.856 93.152-73.856h140.128C432.096 258.816 468.448 288 512 288s79.904-29.184 91.648-68.928h178.08a29.536 29.536 0 1 0 0-59.072h-179.584C588.896 122.784 553.728 96 512 96s-76.896 26.784-90.112 64H280.224C197.184 160 128 218.272 128 292.928s69.184 132.928 152.224 132.928z" ></path><path d="M895.936 415.2A96 96 0 1 0 800 512c30.656 0 57.632-14.624 75.2-36.992 10.56 12.064 16.832 26.56 16.832 41.92 0 39.552-40.704 73.856-93.152 73.856H306.016A95.584 95.584 0 0 0 224 544a95.68 95.68 0 0 0-95.232 88.352C89.888 656.224 64 695.424 64 740.928c0 74.656 69.184 132.928 152.224 132.928h241.728A95.808 95.808 0 0 0 544 928a96 96 0 1 0 0-192 95.904 95.904 0 0 0-94.272 78.752H216.224c-52.448 0-93.152-34.304-93.152-73.856 0-17.504 8.32-33.792 21.76-46.72A95.808 95.808 0 0 0 224 736a95.68 95.68 0 0 0 95.008-86.144h479.84c83.072 0 152.224-58.272 152.224-132.928 0.032-41.536-21.824-77.568-55.136-101.728z" ></path></symbol><symbol id="icon-shuaxin" viewBox="0 0 1024 1024"><path d="M512 919.552c-224.768 0-407.552-182.784-407.552-407.552 0-8.704 0.512-17.408 1.024-26.112l71.68 4.608c-0.512 7.168-0.512 14.336-0.512 21.504 0 185.344 150.528 335.872 335.872 335.872 86.528 0 168.448-32.768 230.912-92.16l49.152 52.224C716.288 880.128 616.96 919.552 512 919.552zM919.552 512h-71.68c0-11.776-0.512-23.552-2.048-35.328-17.92-171.52-161.28-300.544-334.336-300.544-67.584 0-132.096 19.968-187.904 57.344L284.16 174.08c67.072-45.568 145.92-69.632 227.84-69.632 209.408 0 384 156.672 405.504 365.056 1.536 13.824 2.048 28.16 2.048 42.496z" fill="#707070" ></path><path d="M140.288 290.816L28.16 491.52c-3.072 5.12 1.024 11.776 6.656 11.776H258.56c6.144 0 9.728-6.144 6.656-11.776L153.6 290.816c-3.072-5.632-10.752-5.632-13.312 0zM870.4 675.84L758.272 475.136c-3.072-5.12 1.024-11.776 6.656-11.776h223.744c6.144 0 9.728 6.144 6.656 11.776L883.712 675.84c-2.56 5.12-10.24 5.12-13.312 0zM270.336 202.24a35.84 35.84 0 1 0 71.68 0 35.84 35.84 0 1 0-71.68 0zM728.576 784.896a35.84 35.84 0 1 0 71.68 0 35.84 35.84 0 1 0-71.68 0z" fill="#707070" ></path></symbol><symbol id="icon-resize-" viewBox="0 0 1024 1024"><path d="M410.816 673.514667L230.997333 853.333333H384v85.333334H85.333333V640h85.333334v153.002667l179.818666-179.84 60.330667 60.373333z m-53.632-256L170.666667 230.997333V384H85.333333V85.333333h298.666667v85.333334h-153.002667l186.517334 186.517333-60.330667 60.330667z m234.666667-45.696L793.002667 170.666667H640V85.333333h298.666667v298.666667h-85.333334v-153.002667l-201.152 201.173334-60.330666-60.373334z m67.029333 226.709333L853.333333 793.002667V640h85.333334v298.666667H640v-85.333334h153.002667l-194.474667-194.453333 60.352-60.352z" ></path></symbol><symbol id="icon-guanxitu" viewBox="0 0 1024 1024"><path d="M209.003789 401.084632l29.749895-44.948211 107.843369 71.464421-29.749895 44.894316zM682.469053 546.600421l-14.551579-51.846737 124.496842-35.031579 14.551579 51.846737zM315.068632 812.840421l-40.367158-35.678316 85.692631-96.902737 40.421053 35.732211zM597.962105 390.251789l-46.672842-26.947368 43.11579-74.64421 46.672842 26.947368zM615.639579 728.764632l41.121684-34.816 83.536842 98.735157-41.121684 34.816z" fill="#444A5C" ></path><path d="M501.221053 765.305263c-118.568421 0-215.578947-97.010526-215.578948-215.578947s97.010526-215.578947 215.578948-215.578948 215.578947 97.010526 215.578947 215.578948-97.010526 215.578947-215.578947 215.578947z m0-377.263158c-91.621053 0-161.684211 70.063158-161.684211 161.684211s70.063158 161.684211 161.684211 161.68421 161.684211-70.063158 161.68421-161.68421-75.452632-161.684211-161.68421-161.684211zM167.073684 452.715789c-59.284211 0-107.789474-48.505263-107.789473-107.789473s48.505263-107.789474 107.789473-107.789474 107.789474 48.505263 107.789474 107.789474-48.505263 107.789474-107.789474 107.789473z m0-161.68421c-32.336842 0-53.894737 21.557895-53.894737 53.894737s21.557895 53.894737 53.894737 53.894737 53.894737-21.557895 53.894737-53.894737-26.947368-53.894737-53.894737-53.894737zM253.305263 948.547368c-59.284211 0-107.789474-48.505263-107.789474-107.789473s48.505263-107.789474 107.789474-107.789474 107.789474 48.505263 107.789474 107.789474-48.505263 107.789474-107.789474 107.789473z m0-161.68421c-32.336842 0-53.894737 21.557895-53.894737 53.894737s21.557895 53.894737 53.894737 53.894737 53.894737-21.557895 53.894737-53.894737-21.557895-53.894737-53.894737-53.894737zM856.926316 576.673684c-59.284211 0-107.789474-48.505263-107.789474-107.789473s48.505263-107.789474 107.789474-107.789474 107.789474 48.505263 107.789473 107.789474-48.505263 107.789474-107.789473 107.789473z m0-161.68421c-32.336842 0-53.894737 21.557895-53.894737 53.894737s21.557895 53.894737 53.894737 53.894736 53.894737-21.557895 53.894737-53.894736-21.557895-53.894737-53.894737-53.894737zM662.905263 350.315789C592.842105 350.315789 528.168421 291.031579 528.168421 215.578947s59.284211-134.736842 134.736842-134.736842 134.736842 59.284211 134.736842 134.736842-59.284211 134.736842-134.736842 134.736842z m0-215.578947c-43.115789 0-80.842105 37.726316-80.842105 80.842105s37.726316 80.842105 80.842105 80.842106 80.842105-37.726316 80.842105-80.842106-32.336842-80.842105-80.842105-80.842105zM749.136842 921.6c-43.115789 0-80.842105-37.726316-80.842105-80.842105s37.726316-80.842105 80.842105-80.842106 80.842105 37.726316 80.842105 80.842106-37.726316 80.842105-80.842105 80.842105z m0-107.789474c-16.168421 0-26.947368 10.778947-26.947368 26.947369s10.778947 26.947368 26.947368 26.947368 26.947368-10.778947 26.947369-26.947368-10.778947-26.947368-26.947369-26.947369z" fill="#444A5C" ></path></symbol><symbol id="icon-tupian" viewBox="0 0 1024 1024"><path d="M938.666667 553.92V768c0 64.8-52.533333 117.333333-117.333334 117.333333H202.666667c-64.8 0-117.333333-52.533333-117.333334-117.333333V256c0-64.8 52.533333-117.333333 117.333334-117.333333h618.666666c64.8 0 117.333333 52.533333 117.333334 117.333333v297.92z m-64-74.624V256a53.333333 53.333333 0 0 0-53.333334-53.333333H202.666667a53.333333 53.333333 0 0 0-53.333334 53.333333v344.48A290.090667 290.090667 0 0 1 192 597.333333a286.88 286.88 0 0 1 183.296 65.845334C427.029333 528.384 556.906667 437.333333 704 437.333333c65.706667 0 126.997333 16.778667 170.666667 41.962667z m0 82.24c-5.333333-8.32-21.130667-21.653333-43.648-32.917333C796.768 511.488 753.045333 501.333333 704 501.333333c-121.770667 0-229.130667 76.266667-270.432 188.693334-2.730667 7.445333-7.402667 20.32-13.994667 38.581333-7.68 21.301333-34.453333 28.106667-51.370666 13.056-16.437333-14.634667-28.554667-25.066667-36.138667-31.146667A222.890667 222.890667 0 0 0 192 661.333333c-14.464 0-28.725333 1.365333-42.666667 4.053334V768a53.333333 53.333333 0 0 0 53.333334 53.333333h618.666666a53.333333 53.333333 0 0 0 53.333334-53.333333V561.525333zM320 480a96 96 0 1 1 0-192 96 96 0 0 1 0 192z m0-64a32 32 0 1 0 0-64 32 32 0 0 0 0 64z" ></path></symbol><symbol id="icon-juhejiedian" viewBox="0 0 1024 1024"><path d="M533.333333 725.333333a64 64 0 1 1-64 64 64 64 0 0 1 64-64m0-85.333333a149.333333 149.333333 0 1 0 149.333334 149.333333 149.333333 149.333333 0 0 0-149.333334-149.333333z" fill="#666666" ></path><path d="M533.333333 277.333333m-106.666666 0a106.666667 106.666667 0 1 0 213.333333 0 106.666667 106.666667 0 1 0-213.333333 0Z" fill="#666666" ></path><path d="M277.333333 320m-106.666666 0a106.666667 106.666667 0 1 0 213.333333 0 106.666667 106.666667 0 1 0-213.333333 0Z" fill="#666666" ></path><path d="M789.333333 320m-106.666666 0a106.666667 106.666667 0 1 0 213.333333 0 106.666667 106.666667 0 1 0-213.333333 0Z" fill="#666666" ></path><path d="M512 341.333333h42.666667v384h-42.666667z" fill="#666666" ></path><path d="M741.290667 357.504l30.165333 30.165333-225.066667 225.066667-30.165333-30.165333z" fill="#666666" ></path><path d="M558.08 582.016l-30.165333 30.165333-228.693334-228.693333 30.165334-30.165333z" fill="#666666" ></path></symbol><symbol id="icon-ziyuan" viewBox="0 0 1024 1024"><path d="M236.615854 752.86913h-0.484162A241.500139 241.500139 0 0 1 0.538332 527.733676a238.78883 238.78883 0 0 1 64.684079-180.011531 242.081134 242.081134 0 0 1 149.025146-74.367324 298.534454 298.534454 0 0 1 596.003751 25.951097V300.95207a221.262156 221.262156 0 0 1 213.031398 233.075715 222.714643 222.714643 0 0 1-221.262156 209.1581h-3.098639a27.500417 27.500417 0 0 1 0-54.904001h2.711309A167.520145 167.520145 0 0 0 968.378705 531.219644a166.261323 166.261323 0 0 0-166.16449-175.363573 151.058627 151.058627 0 0 0-18.204502 1.065157 27.500417 27.500417 0 0 1-30.211725-30.308558 240.822312 240.822312 0 0 0 1.549319-27.306752 243.727285 243.727285 0 0 0-487.357738 0 27.500417 27.500417 0 0 1-27.403584 27.500417 185.627813 185.627813 0 0 0-185.240484 197.538205A186.30564 186.30564 0 0 0 237.100016 697.965129a27.500417 27.500417 0 0 1-0.484162 54.904001z" ></path><path d="M513.266174 1021.869686a27.500417 27.500417 0 0 1-27.500417-27.403584v-484.162268a27.500417 27.500417 0 1 1 54.904001 0v484.162268a27.403584 27.403584 0 0 1-27.403584 27.403584z" ></path><path d="M513.266174 1024a27.500417 27.500417 0 0 1-19.366491-8.037094L342.260061 864.129619a27.500417 27.500417 0 1 1 38.732981-38.732981L513.266174 957.766602l130.530147-130.336483a27.500417 27.500417 0 0 1 38.732981 38.732982L532.632664 1015.962906a27.403584 27.403584 0 0 1-19.36649 8.037094z" ></path></symbol><symbol id="icon-add-select" viewBox="0 0 1024 1024"><path d="M544 213.333333v266.666667H810.666667v64H544V810.666667h-64V544H213.333333v-64h266.666667V213.333333z" ></path></symbol><symbol id="icon-sami-select" viewBox="0 0 1024 1024"><path d="M810.666667 480v64H213.333333v-64z" ></path></symbol><symbol id="icon-icon_shuaxin" viewBox="0 0 1024 1024"><path d="M512 938.666667c-55.371852 0-109.226667-10.903704-159.857778-32.237037-48.924444-20.66963-92.823704-50.251852-130.465185-87.988149-37.736296-37.736296-67.318519-81.635556-87.988148-130.465185-21.428148-50.631111-32.237037-104.391111-32.237037-159.857777s10.903704-109.226667 32.237037-159.857778c20.66963-48.924444 50.251852-92.823704 87.988148-130.465185 37.736296-37.736296 81.635556-67.318519 130.465185-87.988149 50.631111-21.428148 104.391111-32.237037 159.857778-32.237037 63.81037 0 125.060741 14.222222 181.854815 42.382223 54.139259 26.832593 102.684444 66.085926 140.325926 113.682963 7.300741 9.197037 5.783704 22.660741-3.508148 29.961481-9.197037 7.300741-22.660741 5.783704-29.961482-3.508148-70.257778-88.936296-175.502222-139.946667-288.711111-139.946667-202.808889 0-367.881481 165.072593-367.881481 367.881482s165.072593 367.881481 367.881481 367.881481 367.881481-165.072593 367.881481-367.881481c0-11.757037 9.576296-21.333333 21.333334-21.333334S922.548148 516.361481 922.548148 528.118519c0 55.371852-10.903704 109.226667-32.237037 159.857777-20.66963 48.924444-50.251852 92.823704-87.988148 130.465185-37.736296 37.736296-81.635556 67.318519-130.465185 87.988149-50.631111 21.428148-104.485926 32.237037-159.857778 32.237037z" ></path><path d="M817.398519 308.242963c-11.757037 0-21.333333-9.576296-21.333334-21.333333V106.666667c0-11.757037 9.576296-21.333333 21.333334-21.333334s21.333333 9.576296 21.333333 21.333334v180.242963c0 11.757037-9.481481 21.333333-21.333333 21.333333z" ></path><path d="M817.398519 308.242963H637.155556c-11.757037 0-21.333333-9.576296-21.333334-21.333333s9.576296-21.333333 21.333334-21.333334h180.242963c11.757037 0 21.333333 9.576296 21.333333 21.333334s-9.481481 21.333333-21.333333 21.333333z" ></path></symbol><symbol id="icon-lianjiezhong" viewBox="0 0 1024 1024"><path d="M883.396923 298.141538a99.721846 99.721846 0 0 1-142.414769 0 103.187692 103.187692 0 0 1 0-144.423384 99.721846 99.721846 0 0 1 142.414769 0 103.187692 103.187692 0 0 1 0 144.423384zM285.144615 760.438154a87.276308 87.276308 0 0 0-124.652307 0 90.269538 90.269538 0 0 0 0 126.385231c34.422154 34.894769 90.230154 34.894769 124.652307 0a90.269538 90.269538 0 0 0 0-126.424616z m482.579693 108.307692a64.472615 64.472615 0 0 1 0-90.269538 62.345846 62.345846 0 0 1 89.00923 0c24.576 24.930462 24.576 65.378462 0 90.269538a62.345846 62.345846 0 0 1-89.00923 0zM294.006154 298.141538a103.187692 103.187692 0 0 0 0-144.423384 99.721846 99.721846 0 0 0-142.454154 0 103.187692 103.187692 0 0 0 0 144.423384 99.721846 99.721846 0 0 0 142.454154 0z m324.214154-196.01723c0 56.438154-45.095385 102.163692-100.745846 102.163692-55.611077 0-100.706462-45.725538-100.706462-102.163692C416.768 45.725538 461.863385 0 517.474462 0c55.650462 0 100.745846 45.725538 100.745846 102.124308zM517.474462 870.793846c-41.747692 0-75.539692 34.264615-75.539693 76.603077 0 42.299077 33.831385 76.603077 75.539693 76.603077 41.747692 0 75.539692-34.264615 75.539692-76.603077 0-42.299077-33.792-76.603077-75.539692-76.603077z m416.768-294.990769c-27.805538 0-50.333538-22.843077-50.333539-51.042462 0-28.199385 22.528-51.042462 50.333539-51.042461 27.844923 0 50.412308 22.843077 50.372923 51.042461 0 28.199385-22.567385 51.081846-50.372923 51.081847zM201.452308 524.8c0-56.398769-45.095385-102.124308-100.745846-102.124308C45.095385 422.596923 0 468.283077 0 524.760615c0 56.398769 45.095385 102.124308 100.706462 102.124308 55.650462 0 100.745846-45.686154 100.745846-102.124308z" ></path></symbol><symbol id="icon-loading" viewBox="0 0 1024 1024"><path d="M563.2 819.2a102.4 102.4 0 1 1 0 204.8 102.4 102.4 0 0 1 0-204.8z m-320.4608-153.6a128 128 0 1 1 0 256 128 128 0 0 1 0-256z m592.7936 25.6a102.4 102.4 0 1 1 0 204.8 102.4 102.4 0 0 1 0-204.8zM947.2 477.1328a76.8 76.8 0 1 1 0 153.6 76.8 76.8 0 0 1 0-153.6zM128 307.2a128 128 0 1 1 0 256 128 128 0 0 1 0-256z m782.6432-40.6016a51.2 51.2 0 1 1 0 102.4 51.2 51.2 0 0 1 0-102.4zM409.6 0a153.6 153.6 0 1 1 0 307.2 153.6 153.6 0 0 1 0-307.2z m384 153.6a25.6 25.6 0 1 1 0 51.2 25.6 25.6 0 0 1 0-51.2z" fill="#555555" ></path></symbol><symbol id="icon-tupushujuyuan" viewBox="0 0 1024 1024"><path d="M851.456 588.288c-13.312 0-25.6 2.048-37.888 5.12l-90.112-155.648 55.296-31.744c18.944 17.92 44.032 29.184 72.192 29.184 57.344 0 103.936-46.592 103.936-103.936s-46.592-103.936-103.936-103.936c-57.344 0-103.936 46.592-103.936 103.936 0 5.12 0.512 10.24 1.536 15.36l-58.368 33.792-82.944-143.872c26.112-25.088 41.984-59.904 41.984-98.816 0-75.776-61.44-137.216-137.216-137.216s-137.216 61.44-137.216 137.216c0 38.912 15.872 73.728 41.984 98.816l-84.992 146.944-56.832-32.768c1.024-6.144 2.048-12.8 2.048-19.456 0-57.344-46.592-103.936-103.936-103.936-57.344 0-103.936 46.592-103.936 103.936s46.592 103.936 103.936 103.936c26.624 0 51.2-10.24 69.12-26.624l56.32 32.768-88.064 152.576c-11.776-3.584-24.576-5.12-37.888-5.12-75.776 0-137.216 61.44-137.216 137.216s61.44 137.216 137.216 137.216c64.512 0 118.272-44.544 133.12-103.936h173.056v61.44c-40.96 13.824-70.656 52.736-70.656 98.816 0 57.344 46.592 103.936 103.936 103.936s103.936-46.592 103.936-103.936c0-46.08-29.696-84.48-70.656-98.816v-61.44h173.056c14.848 59.904 69.12 103.936 133.12 103.936 75.776 0 137.216-61.44 137.216-137.216s-61.44-137.728-137.216-137.728z m-410.112-450.048c0-38.912 31.744-70.656 70.656-70.656s70.656 31.744 70.656 70.656c0 13.824-4.096 26.624-10.752 37.376-12.288 19.456-33.28 32.256-57.856 33.28h-5.12c-24.576-1.024-45.568-13.824-57.856-33.28-6.144-10.752-9.728-24.064-9.728-37.376z m32.768 132.096c11.776 3.584 24.576 5.12 37.888 5.12s25.6-2.048 37.888-5.12l82.944 143.872-124.416 72.192-118.784-68.608 84.48-147.456z m-301.568 526.336c-38.912 0-70.656-31.744-70.656-70.656 0-38.912 31.744-70.656 70.656-70.656h2.56c24.576 1.024 45.568 13.824 57.856 33.28 1.024 1.536 1.536 2.56 2.56 4.096 5.12 9.728 8.192 20.992 8.192 33.28 0 11.776-3.072 23.552-8.192 33.28-12.288 22.016-35.84 37.376-62.976 37.376z m133.12-103.936c-6.144-25.6-19.456-48.128-37.888-65.536l88.064-152.576 122.88 70.656v146.944h-173.056z m239.616-151.552l120.832-69.632 90.112 155.648c-18.432 17.408-31.744 39.936-37.888 65.536h-173.056v-151.552z m306.176 255.488c-27.136 0-50.688-15.36-62.464-37.376-5.12-9.728-8.192-21.504-8.192-33.28 0-12.288 3.072-23.552 8.192-33.28 0.512-1.536 1.536-3.072 2.56-4.096 12.288-19.456 33.28-32.768 57.856-33.28h2.56c38.912 0 70.656 31.744 70.656 70.656-0.512 38.912-32.256 70.656-71.168 70.656z" ></path></symbol><symbol id="icon-jiedian" viewBox="0 0 1024 1024"><path d="M882.1914 744.849921c-60.501005 0-112.097749 38.645092-131.425292 92.560342H244.912146c-80.468136 0-145.955927-62.61964-145.955926-139.570043 0-77.000371 65.487791-139.570043 145.955926-139.570043h136.312143c19.497433 53.585462 70.934281 91.950735 131.205434 91.950735 60.241173 0 111.688014-38.375266 131.205434-91.950735h136.452052C914.210763 558.280171 1023.340425 453.92743 1023.340425 325.660102S914.210763 93.040033 780.077216 93.040033H273.093982c-19.197627-54.165089-70.944274-93.040033-131.595182-93.040033C64.508422 0 1.928757 62.569672 1.928757 139.560049c0 76.950403 62.579665 139.570043 139.570043 139.570043 60.640915 0 112.377569-38.894931 131.585189-93.040033h506.993227c80.468136 0 145.955927 62.61964 145.955927 139.570043 0 77.000371-65.487791 139.570043-145.955927 139.570043H644.414655c-18.887826-54.734722-70.924287-94.139324-131.974938-94.139325-61.090625 0-113.097105 39.394609-131.974938 94.139325H244.912146c-134.133547 0-243.263209 104.352741-243.263209 232.620069 0 128.267328 109.129663 232.620069 243.263209 232.620069h505.524174c19.057717 54.394941 70.9043 93.529717 131.75508 93.529717 76.950403 0 139.570043-62.61964 139.570043-139.570043 0.009994-77.000371-62.61964-139.580036-139.570043-139.580036zM141.428845 207.036558c-37.166045 0-67.376574-30.230515-67.376574-67.376573 0-37.166045 30.210528-67.376574 67.376574-67.376574 37.146058 0 67.376574 30.210528 67.376573 67.376574 0 37.146058-30.230515 67.376574-67.376573 67.376573z m371.000878 236.257725c37.146058 0 67.376574 30.210528 67.376574 67.376574 0 37.146058-30.230515 67.376574-67.376574 67.376573-37.166045 0-67.376574-30.230515-67.376574-67.376573 0.009994-37.176039 30.210528-67.376574 67.376574-67.376574z m369.761677 508.502254c-37.166045 0-67.376574-30.230515-67.376574-67.376573 0-37.166045 30.210528-67.376574 67.376574-67.376574 37.146058 0 67.376574 30.210528 67.376574 67.376574 0 37.146058-30.230515 67.376574-67.376574 67.376573z" ></path></symbol><symbol id="icon-shitujiedianxianshi" viewBox="0 0 1367 1024"><path d="M1235.403267 512.03593a130.596433 130.596433 0 0 0-42.68749 7.796802l-193.295715-290.430872A149.113837 149.113837 0 1 0 724.647767 149.48464a151.777744 151.777744 0 0 0 37.229729 97.849864l-194.920048 357.873209a220.519548 220.519548 0 0 0-55.162374-8.511508 207.914718 207.914718 0 0 0-114.807909 34.046035L240.401393 443.683967a126.763005 126.763005 0 0 0-75.564005-182.380192 127.737605 127.737605 0 1 0 12.99467 239.816633l157.625345 188.422713A213.307506 213.307506 0 1 0 643.23616 643.282096l190.956674-350.856087a164.187654 164.187654 0 0 0 39.56877 6.172468 143.591102 143.591102 0 0 0 60.555162-12.99467l192.516034 288.026859a121.760057 121.760057 0 0 0-18.582377 64.973349 128.127445 128.127445 0 1 0 127.152844-126.568085zM129.621832 448.362048a68.157044 68.157044 0 1 1 68.157044-68.092071A68.157044 68.157044 0 0 1 129.621832 448.362048z m528.948039 365.670011a145.86517 145.86517 0 1 1-145.86517-145.86517 145.86517 145.86517 0 0 1 145.86517 145.86517z m215.12676-577.937944a87.389155 87.389155 0 1 1 87.389155-87.389155 87.389155 87.389155 0 0 1-87.389155 87.389155z m365.085251 474.305451a68.157044 68.157044 0 1 1 68.222017-68.416937 68.157044 68.157044 0 0 1-68.222017 68.157044z" ></path></symbol><symbol id="icon-shituxianshiquanbujiedian" viewBox="0 0 1367 1024"><path d="M1235.403267 512.03593a130.596433 130.596433 0 0 0-42.68749 7.796802l-193.295715-290.430872A149.113837 149.113837 0 1 0 724.647767 149.48464a151.777744 151.777744 0 0 0 37.229729 97.849864l-194.920048 357.873209a220.519548 220.519548 0 0 0-55.162374-8.511508 207.914718 207.914718 0 0 0-114.807909 34.046035L240.401393 443.683967a126.763005 126.763005 0 0 0-75.564005-182.380192 127.737605 127.737605 0 1 0 12.99467 239.816633l157.625345 188.422713A213.307506 213.307506 0 1 0 643.23616 643.282096l190.956674-350.856087a164.187654 164.187654 0 0 0 39.56877 6.172468 143.591102 143.591102 0 0 0 60.555162-12.99467l192.516034 288.026859a121.760057 121.760057 0 0 0-18.582377 64.973349 128.127445 128.127445 0 1 0 127.152844-126.568085zM129.621832 448.362048a68.157044 68.157044 0 1 1 68.157044-68.092071A68.157044 68.157044 0 0 1 129.621832 448.362048z m528.948039 365.670011a145.86517 145.86517 0 1 1-145.86517-145.86517 145.86517 145.86517 0 0 1 145.86517 145.86517z m215.12676-577.937944a87.389155 87.389155 0 1 1 87.389155-87.389155 87.389155 87.389155 0 0 1-87.389155 87.389155z m365.085251 474.305451a68.157044 68.157044 0 1 1 68.222017-68.416937 68.157044 68.157044 0 0 1-68.222017 68.157044z" ></path></symbol><symbol id="icon-suoxiao" viewBox="0 0 1024 1024"><path d="M768 448a320 320 0 1 0-320 320 320 320 0 0 0 320-320z m64 0A384 384 0 1 1 448 64a384 384 0 0 1 384 384z" ></path><path d="M681.28 726.72a32 32 0 0 1 45.44-45.44l160 160a32 32 0 0 1-45.44 45.44zM288 480a32 32 0 0 1 0-64h320a32 32 0 0 1 0 64z" ></path></symbol><symbol id="icon-lianjie" viewBox="0 0 1024 1024"><path d="M922.243 97.755c11.49 11.489 11.673 30.002 0.547 41.713l-0.547 0.562-109.119 109.1c57.22 78.348 42.673 195.388-35.778 273.839l-92.83 92.585c-11.572 11.54-30.264 11.653-41.97 0.253l-45.746-44.55-18.089 18.086a29.891 29.891 0 0 1-7.171 5.3l48.764 47.489c11.947 11.638 12.06 30.804 0.248 42.585l-95.875 95.629c-77.416 77.417-192.412 92.603-270.72 38.004L144.04 928.245c-11.676 11.673-30.606 11.673-42.282 0-11.49-11.489-11.673-30.002-0.547-41.713l0.547-0.562 109.677-109.657c-55.981-78.335-41.131-194.413 36.833-272.377l92.831-92.585c11.571-11.54 30.263-11.653 41.969-0.254l42.587 41.474a29.935 29.935 0 0 1 3.678-4.741l0.548-0.562 19.54-19.538-44.11-42.957c-11.828-11.522-12.057-30.422-0.6-42.23l0.351-0.355 95.875-95.63c76.927-76.926 190.96-92.408 269.23-39.03L879.961 97.755c11.676-11.673 30.606-11.673 42.282 0zM362.451 474.49l-71.916 71.727-1.884 1.911c-61.822 63.545-67.916 156.289-16.185 208.02C324.72 808.4 418.82 801.655 482.43 738.044l74.422-74.234-194.401-189.32z m129.807-5.04l-20.096 20.094a30.035 30.035 0 0 1-4.643 3.8l63.25 61.595a29.82 29.82 0 0 1 5.113-7.308l0.547-0.561 17.532-17.531-61.703-60.089z m260.889-198.691c-52.254-52.254-146.353-45.509-209.964 18.102l-74.422 74.234 194.4 189.322 71.939-71.75 1.862-1.888c61.822-63.545 67.916-156.29 16.185-208.02z" fill="#333333" ></path></symbol><symbol id="icon-xiantiao" viewBox="0 0 1024 1024"><path d="M827.076923 157.538462a39.384615 39.384615 0 1 1-14.375385 76.051692L233.590154 812.701538a39.384615 39.384615 0 1 1-22.291692-22.291692L790.409846 211.298462A39.384615 39.384615 0 0 1 827.076923 157.538462z" fill="#333333" ></path></symbol></svg>',l=(l=document.getElementsByTagName("script"))[l.length-1].getAttribute("data-injectcss");if(l&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(e){console&&console.log(e)}}function c(){o||(o=!0,r())}t=function(){var e,t,n,r;(r=document.createElement("div")).innerHTML=s,s=null,(n=r.getElementsByTagName("svg")[0])&&(n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.width=0,n.style.height=0,n.style.overflow="hidden",e=n,(t=document.body).firstChild?(r=e,(n=t.firstChild).parentNode.insertBefore(r,n)):t.appendChild(e))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),t()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(r=t,i=e.document,o=!1,(a=function(){try{i.documentElement.doScroll("left")}catch(e){return void setTimeout(a,50)}c()})(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,c())})}(window)},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){var r=n(13);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("73745c30",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.rg-icon {\n width: 19px;\n height: 19px;\n vertical-align: 0px;\n fill: currentColor;\n overflow: hidden;\n}\n.el-icon-remove,.el-icon-circle-plus{\n cursor: pointer;\n}\n.rel-node-peel{\n clear: both;\n padding:8px;\n position: absolute;\n font-size: 14px;\n /*border:green solid 1px;*/\n}\n.rel-node{\n text-align: center;\n}\n.rel-node-shape-1{\n /*border: #FD8B37 solid 1px;*/\n border-radius: 8px;\n padding:5px;\n padding-left:15px;\n padding-right:15px;\n}\n.c-node-text{\n height:100%;\n width:100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.rel-node-shape-0{\n padding:10px;\n}\n.rel-node-shape-0{\n width:80px;\n height:80px;\n border-radius: 50%;\n /*border: #FD8B37 solid 2px;*/\n /*text-align: left;*/\n /*padding:10px;*/\n /*white-space: nowrap;*/\n /*text-overflow: ellipsis;*/\n /*overflow: hidden;*/\n /*word-break: break-all;*/\n}\n.rel-node-shape-0:hover{\n /*overflow: visible;*/\n /*text-overflow: inherit;*/\n box-shadow: 0px 0px 5px #FFC5A6;\n}\n/*.rel-node{*/\n /*display: table;*/\n/*}*/\n/*.rel-node span{*/\n /*display: table-cell;*/\n /*vertical-align:middle;*/\n/*}*/\n.rel-node-type-button{\n border-radius: 25px;\n color: blue;\n cursor: pointer;\n}\n.rel-node-hover{\n}\n.rel-node-checked{\n box-shadow: 0px 0px 10px #FD8B37;\n /*border-color: #BA7909;*/\n /*background-color: #FD8B37;*/\n /*color: #ffffff;*/\n /* firefox bug fix - won't rotate at 90deg angles */\n -moz-transform: rotate(-89deg) translateX(-190px);\n animation-timing-function:linear;\n animation: ACTRGNodeInit 2s;\n}\n.rel-node-selected{\n box-shadow: 0px 0px 10px #FD8B37;\n /*border-color: #BA7909;*/\n /*background-color: #FD8B37;*/\n /*color: #ffffff;*/\n /* firefox bug fix - won't rotate at 90deg angles */\n -moz-transform: rotate(-89deg) translateX(-190px);\n animation-timing-function:linear;\n animation: ACTRGNodeInit 2s;\n}\n.rel-node-vtree-2 {\n transform-origin:0 0;/* 设置旋转中心为左上角*/\n /*transform-origin:50% 50%;!* 设置放大中心为元素中心 *!*/\n transform: rotate(30deg) translateX(0px);\n}\n.rel-node-vtree {\n width:130px;\n height:45px;\n text-align: left;\n}\n/*.c-node-text{*/\n /*font-size: 12px;*/\n /*display: inline-block;*/\n /*width:100px;*/\n /*height:16px;*/\n /*margin-top:40px;*/\n /*margin-left:-25px;*/\n /*position:absolute;*/\n /*word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;*/\n /*text-align:center;*/\n/*}*/\n.c-btn-open-close{\n position: absolute;\n height:100%;\n width:19px;\n /*border:red solid 1px;*/\n display: flex;\n align-items: center;\n justify-content: center;\n /*border:#ff0000 solid 1px;*/\n}\n.c-btn-open-close span{\n width: 19px;\n height:19px;\n display: inline-block;\n text-align: center;\n border-radius: 15px;\n color: #ffffff;\n cursor: pointer;\n font-size: 19px;\n line-height: 16px;\n background-size: 100% 100%;\n}\n.c-expanded{\n background-image: url(data:image/svg+xml;%20charset=utf8,%3Csvg%20t=%221606310217820%22%20viewBox=%220%200%201024%201024%22%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20p-id=%223373%22%20width=%2232%22%20height=%2232%22%3E%3Cpath%20d=%22M853.333333%20480H544V170.666667c0-17.066667-14.933333-32-32-32s-32%2014.933333-32%2032v309.333333H170.666667c-17.066667%200-32%2014.933333-32%2032s14.933333%2032%2032%2032h309.333333V853.333333c0%2017.066667%2014.933333%2032%2032%2032s32-14.933333%2032-32V544H853.333333c17.066667%200%2032-14.933333%2032-32s-14.933333-32-32-32z%22%20p-id=%223374%22%20fill=%22white%22%3E%3C/path%3E%3C/svg%3E);\n}\n.c-collapsed{\n background-image: url(data:image/svg+xml;%20charset=utf8,%3Csvg%20t=%221606310454619%22%20class=%22icon%22%20viewBox=%220%200%201024%201024%22%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20p-id=%223662%22%20width=%22128%22%20height=%22128%22%3E%3Cpath%20d=%22M853.333333%20554.666667H170.666667c-23.466667%200-42.666667-19.2-42.666667-42.666667s19.2-42.666667%2042.666667-42.666667h682.666666c23.466667%200%2042.666667%2019.2%2042.666667%2042.666667s-19.2%2042.666667-42.666667%2042.666667z%22%20p-id=%223663%22%20fill=%22white%22%3E%3C/path%3E%3C/svg%3E);\n}\n.c-expand-positon-left{\n margin-top:-8px;\n margin-left:-18px;\n}\n.c-expand-positon-right{\n height:100%;\n width:100%;\n justify-content: center;\n}\n.c-expand-positon-right span{\n margin-top:-18px;\n margin-right:-18px;\n margin-left:100%;\n}\n.c-expand-positon-bottom{\n height:100%;\n width:100%;\n margin-top:7px;\n margin-left:-8px;\n align-items: flex-end;\n justify-content: center;\n}\n.c-expand-positon-top{\n height:18px;\n width:100%;\n margin-top:-20px;\n margin-left:-6px;\n align-items: flex-end;\n justify-content: center;\n}\n@keyframes ACTRGNodeInit {\nfrom {\n box-shadow: 0px 0px 15px #FD8B37;\n}\n15% {\n box-shadow: 0px 0px 1px rgb(46, 78, 143);\n}\n30% {\n box-shadow: 0px 0px 15px #FD8B37;\n}\n45% {\n box-shadow: 0px 0px 1px rgb(46, 78, 143);\n}\n60% {\n box-shadow: 0px 0px 15px #FD8B37;\n}\nto {\n box-shadow: 0px 0px 1px rgb(46, 78, 143);\n}\n}\n.rel-diy-node{\n padding:0px;\n}\n",""])},function(e,t,n){var r=n(15);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("696294ae",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/*.RGLine-enter-active {*/\n /*transition: all .3s ease;*/\n/*}*/\n/*.RGLine-leave-active {*/\n /*transition: all .8s cubic-bezier(1.0, 0.5, 0.8, 1.0);*/\n/*}*/\n.c-rg-link-text {\n fill: #888888;\n font-size: 12px;\n}\n.c-rg-line {\n z-index: 1000;\n fill-rule: nonzero;\n /*marker-end: url('#arrow');*/\n /* firefox bug fix - won't rotate at 90deg angles */\n /*-moz-transform: rotate(-89deg) translateX(-190px);*/\n /*animation-timing-function:linear;*/\n /*animation: ACTRGLineInit 1s;*/\n}\n.c-rg-line-tool {\n stroke-dasharray: 5,5,5;\n}\n.c-rg-line-flash {\n /* firefox bug fix - won't rotate at 90deg angles */\n -moz-transform: rotate(-89deg) translateX(-190px);\n animation-timing-function:linear;\n animation: ACTRGLineChecked 10s;\n}\n@keyframes ACTRGLineInit {\nfrom {\n stroke-dashoffset: 10px;\n stroke-dasharray: 20,20,20;\n}\nto {\n stroke-dashoffset: 0;\n stroke-dasharray: 0,0,0;\n}\n}\n@keyframes ACTRGLineChecked {\nfrom {\n stroke-dashoffset: 352px;\n}\nto {\n stroke-dashoffset: 0;\n}\n}\n",""])},function(e,t,n){var r=n(17);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("7451c2ef",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.c-setting-panel[data-v-337fb259]{\n --height:500px;\n --width:500px;\n width:500px;\n height:500px;\n position: absolute;\n margin-left:10px;\n margin-top:5px;\n font-size: 12px;\n color: rgb(58, 91, 178);\n padding:10px;\n overflow: hidden;\n box-shadow: 0px 0px 5px rgb(58, 91, 178);\n border-radius: 5px;\n z-index: 1000;\n background-color: #ffffff;\n border: rgb(58, 91, 178) solid 1px;\n padding-top:60px;\n}\n.c-setting-panel-button[data-v-337fb259]{\n height:45px;\n width:45px;\n font-size: 20px;\n line-height: 45px;\n text-align: center;\n border-radius: 50%;\n position: absolute;\n margin-left:25px;\n margin-top:20px;\n background-color: rgb(58, 91, 178);\n color: #ffffff;\n cursor: pointer;\n z-index: 1001;\n box-shadow: 0px 0px 8px rgb(46, 78, 143);\n}\n.c-setting-panel-button[data-v-337fb259]:hover{\n box-shadow: 0px 0px 20px #FFA20A;\n border:#ffffff solid 1px;\n color: #FFA20A;\n -moz-transform: rotate(-89deg) translateX(-190px);\n animation-timing-function:linear;\n animation: flashButton-data-v-337fb259 2s infinite;\n}\n.c-fixedLayout[data-v-337fb259]{\n position: fixed;\n top: 125px\n}\n@keyframes flashButton-data-v-337fb259 {\nfrom {\n box-shadow: 0px 0px 8px rgb(46, 78, 143);\n}\n30% {\n box-shadow: 0px 0px 20px #FFA20A;\n}\nto {\n box-shadow: 0px 0px 8px rgb(46, 78, 143);\n}\n}\n",""])},function(e,t,n){var r=n(19);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("5939241a",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.c-mini-graph[data-v-fe70423e]{\n height:100px;\n width:100px;\n position: absolute;\n margin-left: 60px;\n margin-top:100px;\n z-index: 999;\n}\n.c-fixedLayout[data-v-fe70423e]{\n position: fixed;\n top:100px;\n}\n.c-mini-canvas[data-v-fe70423e]{\n background-color: #AACBFF;\n border: #7BA8FF solid 1px;\n opacity: 0.8;\n position: absolute;\n}\n.c-mini-view[data-v-fe70423e]{\n background-color: #F5A565;\n border: #C03639 solid 1px;\n opacity: 0.5;\n color: #ffffff;\n font-size: 14px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n}\n.c-mini-node[data-v-fe70423e]{\n position: absolute;\n width:2px;\n height:2px;\n background-color: #000000;\n border-radius: 1px;\n}\n",""])},function(e,t,n){var r=n(21);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("1c471178",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.rg-icon[data-v-3cfdb1cf] {\n width: 16px;\n height: 16px;\n vertical-align: -3px;\n fill: currentColor;\n overflow: hidden;\n}\n.c-mini-toolbar[data-v-3cfdb1cf]{\n width:44px;\n position: absolute;\n margin-top:170px;\n margin-right:10px;\n z-index: 999;\n border: #bbbbbb solid 1px;\n background-color: #ffffff;\n box-shadow: 0px 0px 8px #cccccc;\n box-sizing:border-box;\n}\n.c-fixedLayout[data-v-3cfdb1cf]{\n position: fixed;\n top:100px;\n}\n.c-mb-button[data-v-3cfdb1cf]{\n height:44px;\n width:42px;\n margin-top:0px;\n background-color: #ffffff;\n border-top: #efefef solid 1px;\n opacity: 1;\n text-align: center;\n padding-top:3px;\n cursor: pointer;\n color: #999999;\n font-size: 18px;\n float: left;\n box-sizing:border-box;\n line-height: 21px;\n}\n.c-mb-button .c-mb-text[data-v-3cfdb1cf]{\n display: inline-block;\n height:14px;\n width:42px;\n font-size: 12px;\n line-height: 12px;\n margin-top:24px;\n margin-left:-28px;\n position: absolute;\n color: #262626;\n}\n.c-mb-button-on[data-v-3cfdb1cf]{\n background-color: #2E74B5;\n border-top: #2E4E8F solid 1px;\n color: #ffffff;\n}\n.c-mb-button[data-v-3cfdb1cf]:hover{\n background-color: #2E4E8F;\n border-top: #2E4E8F solid 1px;\n color: #ffffff;\n}\n.c-mb-button:hover .c-mb-text[data-v-3cfdb1cf],.c-mb-button-on .c-mb-text[data-v-3cfdb1cf]{\n color: #ffffff;\n}\n.c-mb-button .c-mb-child-panel[data-v-3cfdb1cf]{\n height:46px;position: absolute;margin-top: -26px;background-color: #ffffff;\n display: none;\n border: #bbbbbb solid 1px;\n box-shadow: 0px 0px 8px #cccccc;\n box-sizing:border-box;\n}\n.c-mb-button:hover .c-mb-child-panel[data-v-3cfdb1cf]{\n display: block;\n}\n.c-mb-button .c-mb-button[data-v-3cfdb1cf]{\n height:44px;\n width: 42px;\n margin:0px;\n border: none;\n}\n.c-mb-button-c .c-mb-text[data-v-3cfdb1cf]{\n color: #262626 !important;\n}\n.c-mb-button-c:hover .c-mb-text[data-v-3cfdb1cf],.c-mb-button-on .c-mb-text[data-v-3cfdb1cf]{\n color: #ffffff !important;\n}\n.c-loading-icon[data-v-3cfdb1cf]{\n animation:turn-data-v-3cfdb1cf 1s linear infinite;\n}\n@keyframes turn-data-v-3cfdb1cf{\n0%{-webkit-transform:rotate(0deg);\n}\n25%{-webkit-transform:rotate(90deg);\n}\n50%{-webkit-transform:rotate(180deg);\n}\n75%{-webkit-transform:rotate(270deg);\n}\n100%{-webkit-transform:rotate(360deg);\n}\n}\n",""])},function(e,t,n){var r=n(23);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("3ca01a9a",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.c-mini-namefilter[data-v-7c68081f]{\n height:60px;\n position: absolute;\n margin-top:10px;\n z-index: 999;\n}\n.c-fixedLayout[data-v-7c68081f]{\n position: fixed;\n top:145px;\n}\n",""])},function(e,t,n){var r=n(25);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("3c57a372",r,!1,{})},function(e,t,n){(e.exports=n(0)(!1)).push([e.i,"\n.c-rg-bottom-panel[data-v-161dbae4]{\n width:100%;\n margin-left:0px;\n font-size: 12px;\n color: #1890ff;\n padding:0px;\n overflow: hidden;\n border-radius: 0px;\n position: absolute;\n z-index: 99;\n opacity: 1;\n}\n.c-fixedLayout[data-v-161dbae4]{\n position: fixed;\n bottom:0px;\n}\n",""])}]).default},e.exports=r(n("7+uW"),n("I95x"),n("eMjc"))},eMjc:function(e,t,n){
- /*!
- * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
- * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
- * Released under MIT License
- */var r;r=function(){"use strict";
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};function t(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var n=function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function r(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function i(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function o(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||t)}for(var a=function(){function e(e,t,n,r){this.left=e,this.top=t,this.width=n,this.height=r}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find(function(e){return 0!==e.width});return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),s=function(e,t){return a.fromClientRect(e,t.getBoundingClientRect())},l=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t},c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],i=-1,o="";++i<n;){var a=e[i];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"==typeof Uint8Array?[]:new Uint8Array(256),d=0;d<u.length;d++)h[u.charCodeAt(d)]=d;for(var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="undefined"==typeof Uint8Array?[]:new Uint8Array(256),A=0;A<f.length;A++)p[f.charCodeAt(A)]=A;for(var g=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},v=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y="undefined"==typeof Uint8Array?[]:new Uint8Array(256),b=0;b<m.length;b++)y[m.charCodeAt(b)]=b;var _=10,w=13,x=15,C=17,S=18,B=19,k=20,T=21,E=22,M=24,D=25,O=26,I=27,L=28,P=30,F=32,R=33,N=34,H=35,j=37,U=38,Q=39,z=40,Y=42,V=[9001,65288],G="!",W=function(e,t){var n,r,i,o=function(e){var t,n,r,i,o,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=p[e.charCodeAt(t)],r=p[e.charCodeAt(t+1)],i=p[e.charCodeAt(t+2)],o=p[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&o;return c}(e),a=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(o):new Uint32Array(o),s=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(o):new Uint16Array(o),l=g(s,12,a[4]/2),c=2===a[5]?g(s,(24+a[4])/2):(n=a,r=Math.ceil((24+a[4])/4),n.slice?n.slice(r,i):new Uint32Array(Array.prototype.slice.call(n,r,i)));return new v(a[0],a[1],a[2],a[3],l,c)}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),X=[P,36],Z=[1,2,3,5],$=[_,8],K=[I,O],J=Z.concat($),q=[U,Q,z,N,H],ee=[x,w],te=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?-1!==e.indexOf(i):e===i)for(var o=n;o<=r.length;){if((l=r[++o])===t)return!0;if(l!==_)break}if(i===_)for(o=n;o>0;){var a=r[--o];if(Array.isArray(e)?-1!==e.indexOf(a):e===a)for(var s=n;s<=r.length;){var l;if((l=r[++s])===t)return!0;if(l!==_)break}if(a!==_)break}return!1},ne=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r!==_)return r;n--}return 0},re=function(e,t,n,r,i){if(0===n[r])return"×";var o=r-1;if(Array.isArray(i)&&!0===i[o])return"×";var a=o-1,s=o+1,l=t[o],c=a>=0?t[a]:0,u=t[s];if(2===l&&3===u)return"×";if(-1!==Z.indexOf(l))return G;if(-1!==Z.indexOf(u))return"×";if(-1!==$.indexOf(u))return"×";if(8===ne(o,t))return"÷";if(11===W.get(e[o]))return"×";if((l===F||l===R)&&11===W.get(e[s]))return"×";if(7===l||7===u)return"×";if(9===l)return"×";if(-1===[_,w,x].indexOf(l)&&9===u)return"×";if(-1!==[C,S,B,M,L].indexOf(u))return"×";if(ne(o,t)===E)return"×";if(te(23,E,o,t))return"×";if(te([C,S],T,o,t))return"×";if(te(12,12,o,t))return"×";if(l===_)return"÷";if(23===l||23===u)return"×";if(16===u||16===l)return"÷";if(-1!==[w,x,T].indexOf(u)||14===l)return"×";if(36===c&&-1!==ee.indexOf(l))return"×";if(l===L&&36===u)return"×";if(u===k)return"×";if(-1!==X.indexOf(u)&&l===D||-1!==X.indexOf(l)&&u===D)return"×";if(l===I&&-1!==[j,F,R].indexOf(u)||-1!==[j,F,R].indexOf(l)&&u===O)return"×";if(-1!==X.indexOf(l)&&-1!==K.indexOf(u)||-1!==K.indexOf(l)&&-1!==X.indexOf(u))return"×";if(-1!==[I,O].indexOf(l)&&(u===D||-1!==[E,x].indexOf(u)&&t[s+1]===D)||-1!==[E,x].indexOf(l)&&u===D||l===D&&-1!==[D,L,M].indexOf(u))return"×";if(-1!==[D,L,M,C,S].indexOf(u))for(var h=o;h>=0;){if((d=t[h])===D)return"×";if(-1===[L,M].indexOf(d))break;h--}if(-1!==[I,O].indexOf(u))for(h=-1!==[C,S].indexOf(l)?a:o;h>=0;){var d;if((d=t[h])===D)return"×";if(-1===[L,M].indexOf(d))break;h--}if(U===l&&-1!==[U,Q,N,H].indexOf(u)||-1!==[Q,N].indexOf(l)&&-1!==[Q,z].indexOf(u)||-1!==[z,H].indexOf(l)&&u===z)return"×";if(-1!==q.indexOf(l)&&-1!==[k,O].indexOf(u)||-1!==q.indexOf(u)&&l===I)return"×";if(-1!==X.indexOf(l)&&-1!==X.indexOf(u))return"×";if(l===M&&-1!==X.indexOf(u))return"×";if(-1!==X.concat(D).indexOf(l)&&u===E&&-1===V.indexOf(e[s])||-1!==X.concat(D).indexOf(u)&&l===S)return"×";if(41===l&&41===u){for(var f=n[o],p=1;f>0&&41===t[--f];)p++;if(p%2!=0)return"×"}return l===F&&u===R?"×":"÷"},ie=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=function(e,t){void 0===t&&(t="strict");var n=[],r=[],i=[];return e.forEach(function(e,o){var a=W.get(e);if(a>50?(i.push(!0),a-=50):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return r.push(o),n.push(16);if(4===a||11===a){if(0===o)return r.push(o),n.push(P);var s=n[o-1];return-1===J.indexOf(s)?(r.push(r[o-1]),n.push(s)):(r.push(o),n.push(P))}return r.push(o),31===a?n.push("strict"===t?T:j):a===Y?n.push(P):29===a?n.push(P):43===a?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(j):n.push(P):void n.push(a)}),[r,n,i]}(e,t.lineBreak),r=n[0],i=n[1],o=n[2];return"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(i=i.map(function(e){return-1!==[D,P,Y].indexOf(e)?j:e})),[r,i,"keep-all"===t.wordBreak?o.map(function(t,n){return t&&e[n]>=19968&&e[n]<=40959}):void 0]},oe=function(){function e(e,t,n,r){this.codePoints=e,this.required=t===G,this.start=n,this.end=r}return e.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),ae=function(e){return e>=48&&e<=57},se=function(e){return ae(e)||e>=65&&e<=70||e>=97&&e<=102},le=function(e){return 10===e||9===e||32===e},ce=function(e){return function(e){return function(e){return e>=97&&e<=122}(e)||function(e){return e>=65&&e<=90}(e)}(e)||function(e){return e>=128}(e)||95===e},ue=function(e){return ce(e)||ae(e)||45===e},he=function(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e},de=function(e,t){return 92===e&&10!==t},fe=function(e,t,n){return 45===e?ce(t)||de(t,n):!!ce(e)||!(92!==e||!de(e,t))},pe=function(e,t,n){return 43===e||45===e?!!ae(t)||46===t&&ae(n):ae(46===e?t:e)},Ae={type:2},ge={type:3},ve={type:4},me={type:13},ye={type:8},be={type:21},_e={type:9},we={type:10},xe={type:11},Ce={type:12},Se={type:14},Be={type:23},ke={type:1},Te={type:25},Ee={type:24},Me={type:26},De={type:27},Oe={type:28},Ie={type:29},Le={type:31},Pe={type:32},Fe=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(l(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Pe;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case 34:return this.consumeStringToken(34);case 35:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),r=this.peekCodePoint(2);if(ue(t)||de(n,r)){var i=fe(t,n,r)?2:1;return{type:5,value:this.consumeName(),flags:i}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),me;break;case 39:return this.consumeStringToken(39);case 40:return Ae;case 41:return ge;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Se;break;case 43:if(pe(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 44:return ve;case 45:var o=e,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(pe(o,a,s))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(fe(o,a,s))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(45===a&&62===s)return this.consumeCodePoint(),this.consumeCodePoint(),Ee;break;case 46:if(pe(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(42===l&&47===(l=this.consumeCodePoint()))return this.consumeToken();if(-1===l)return this.consumeToken()}break;case 58:return Me;case 59:return De;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),Te;break;case 64:var u=this.peekCodePoint(0),h=this.peekCodePoint(1),d=this.peekCodePoint(2);if(fe(u,h,d))return{type:7,value:this.consumeName()};break;case 91:return Oe;case 92:if(de(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case 93:return Ie;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ye;break;case 123:return xe;case 125:return Ce;case 117:case 85:var f=this.peekCodePoint(0),p=this.peekCodePoint(1);return 43!==f||!se(p)&&63!==p||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),_e;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),be;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),we;break;case-1:return Pe}return le(e)?(this.consumeWhiteSpace(),Le):ae(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):ce(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:c(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();se(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;63===t&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(c.apply(void 0,e.map(function(e){return 63===e?48:e})),16),end:parseInt(c.apply(void 0,e.map(function(e){return 63===e?70:e})),16)};var r=parseInt(c.apply(void 0,e),16);if(45===this.peekCodePoint(0)&&se(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var i=[];se(t)&&i.length<6;)i.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(c.apply(void 0,i),16)}}return{type:30,start:r,end:r}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};var t=this.peekCodePoint(0);if(39===t||34===t){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),Be)}for(;;){var r=this.consumeCodePoint();if(-1===r||41===r)return{type:22,value:c.apply(void 0,e)};if(le(r))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Be);if(34===r||39===r||40===r||he(r))return this.consumeBadUrlRemnants(),Be;if(92===r){if(!de(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Be;e.push(this.consumeEscapedCodePoint())}else e.push(r)}},e.prototype.consumeWhiteSpace=function(){for(;le(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(41===e||-1===e)return;de(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t="";e>0;){var n=Math.min(5e4,e);t+=c.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),t},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var r=this._value[n];if(-1===r||void 0===r||r===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(10===r)return this._value.splice(0,n),ke;if(92===r){var i=this._value[n+1];-1!==i&&void 0!==i&&(10===i?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):de(r,i)&&(t+=this.consumeStringSlice(n),t+=c(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=4,n=this.peekCodePoint(0);for(43!==n&&45!==n||e.push(this.consumeCodePoint());ae(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===n&&ae(r))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;ae(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),r=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((69===n||101===n)&&((43===r||45===r)&&ae(i)||ae(r)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=8;ae(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[function(e){var t=0,n=1;43!==e[t]&&45!==e[t]||(45===e[t]&&(n=-1),t++);for(var r=[];ae(e[t]);)r.push(e[t++]);var i=r.length?parseInt(c.apply(void 0,r),10):0;46===e[t]&&t++;for(var o=[];ae(e[t]);)o.push(e[t++]);var a=o.length,s=a?parseInt(c.apply(void 0,o),10):0;69!==e[t]&&101!==e[t]||t++;var l=1;43!==e[t]&&45!==e[t]||(45===e[t]&&(l=-1),t++);for(var u=[];ae(e[t]);)u.push(e[t++]);var h=u.length?parseInt(c.apply(void 0,u),10):0;return n*(i+s*Math.pow(10,-a))*Math.pow(10,l*h)}(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],r=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);return fe(r,i,o)?{type:15,number:t,flags:n,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(se(e)){for(var t=c(e);se(this.peekCodePoint(0))&&t.length<6;)t+=c(this.consumeCodePoint());le(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||function(e){return e>=55296&&e<=57343}(n)||n>1114111?65533:n}return-1===e?65533:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(ue(t))e+=c(t);else{if(!de(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=c(this.consumeEscapedCodePoint())}}},e}(),Re=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new Fe;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||Ge(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?Pe:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Ne=function(e){return 15===e.type},He=function(e){return 17===e.type},je=function(e){return 20===e.type},Ue=function(e){return 0===e.type},Qe=function(e,t){return je(e)&&e.value===t},ze=function(e){return 31!==e.type},Ye=function(e){return 31!==e.type&&4!==e.type},Ve=function(e){var t=[],n=[];return e.forEach(function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)}),n.length&&t.push(n),t},Ge=function(e,t){return 11===t&&12===e.type||(28===t&&29===e.type||2===t&&3===e.type)},We=function(e){return 17===e.type||15===e.type},Xe=function(e){return 16===e.type||We(e)},Ze=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},$e={type:17,number:0,flags:4},Ke={type:16,number:50,flags:4},Je={type:16,number:100,flags:4},qe=function(e,t,n){var r=e[0],i=e[1];return[et(r,t),et(void 0!==i?i:r,n)]},et=function(e,t){if(16===e.type)return e.number/100*t;if(Ne(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},tt=function(e,t){if(15===t.type)switch(t.unit){case"deg":return Math.PI*t.number/180;case"grad":return Math.PI/200*t.number;case"rad":return t.number;case"turn":return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},nt=function(e){return 15===e.type&&("deg"===e.unit||"grad"===e.unit||"rad"===e.unit||"turn"===e.unit)},rt=function(e){switch(e.filter(je).map(function(e){return e.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[$e,$e];case"to top":case"bottom":return it(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[$e,Je];case"to right":case"left":return it(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Je,Je];case"to bottom":case"top":return it(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Je,$e];case"to left":case"right":return it(270)}return 0},it=function(e){return Math.PI*e/180},ot=function(e,t){if(18===t.type){var n=ft[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);return lt(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(4===t.value.length){r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);var a=t.value.substring(3,4);return lt(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(a+a,16)/255)}if(6===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6);return lt(parseInt(r,16),parseInt(i,16),parseInt(o,16),1)}if(8===t.value.length){r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6),a=t.value.substring(6,8);return lt(parseInt(r,16),parseInt(i,16),parseInt(o,16),parseInt(a,16)/255)}}if(20===t.type){var s=At[t.value.toUpperCase()];if(void 0!==s)return s}return At.TRANSPARENT},at=function(e){return 0==(255&e)},st=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?"rgba("+i+","+r+","+n+","+t/255+")":"rgb("+i+","+r+","+n+")"},lt=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(255*r)<<0)>>>0},ct=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},ut=function(e,t){var n=t.filter(Ye);if(3===n.length){var r=n.map(ct),i=r[0],o=r[1],a=r[2];return lt(i,o,a,1)}if(4===n.length){var s=n.map(ct),l=(i=s[0],o=s[1],a=s[2],s[3]);return lt(i,o,a,l)}return 0};function ht(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var dt=function(e,t){var n=t.filter(Ye),r=n[0],i=n[1],o=n[2],a=n[3],s=(17===r.type?it(r.number):tt(e,r))/(2*Math.PI),l=Xe(i)?i.number/100:0,c=Xe(o)?o.number/100:0,u=void 0!==a&&Xe(a)?et(a,1):1;if(0===l)return lt(255*c,255*c,255*c,1);var h=c<=.5?c*(l+1):c+l-c*l,d=2*c-h,f=ht(d,h,s+1/3),p=ht(d,h,s),A=ht(d,h,s-1/3);return lt(255*f,255*p,255*A,u)},ft={hsl:dt,hsla:dt,rgb:ut,rgba:ut},pt=function(e,t){return ot(e,Re.create(t).parseComponentValue())},At={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},gt={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(je(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},vt={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},mt=function(e,t){var n=ot(e,t[0]),r=t[1];return r&&Xe(r)?{color:n,stop:r}:{color:n,stop:null}},yt=function(e,t){var n=e[0],r=e[e.length-1];null===n.stop&&(n.stop=$e),null===r.stop&&(r.stop=Je);for(var i=[],o=0,a=0;a<e.length;a++){var s=e[a].stop;if(null!==s){var l=et(s,t);l>o?i.push(l):i.push(o),o=l}else i.push(null)}var c=null;for(a=0;a<i.length;a++){var u=i[a];if(null===u)null===c&&(c=a);else if(null!==c){for(var h=a-c,d=(u-i[c-1])/(h+1),f=1;f<=h;f++)i[c+f-1]=d*f;c=null}}return e.map(function(e,n){return{color:e.color,stop:Math.max(Math.min(1,i[n]/t),0)}})},bt=function(e,t,n){var r="number"==typeof e?e:function(e,t,n){var r=t/2,i=n/2,o=et(e[0],t)-r,a=i-et(e[1],n);return(Math.atan2(a,o)+2*Math.PI)%(2*Math.PI)}(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),o=t/2,a=n/2,s=i/2,l=Math.sin(r-Math.PI/2)*s,c=Math.cos(r-Math.PI/2)*s;return[i,o-c,o+c,a-l,a+l]},_t=function(e,t){return Math.sqrt(e*e+t*t)},wt=function(e,t,n,r,i){return[[0,0],[0,t],[e,0],[e,t]].reduce(function(e,t){var o=t[0],a=t[1],s=_t(n-o,r-a);return(i?s<e.optimumDistance:s>e.optimumDistance)?{optimumCorner:t,optimumDistance:s}:e},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},xt=function(e,t){var n=it(180),r=[];return Ve(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&-1!==["top","left","right","bottom"].indexOf(o.value))return void(n=rt(t));if(nt(o))return void(n=(tt(e,o)+it(270))%it(360))}var a=mt(e,t);r.push(a)}),{angle:n,stops:r,type:1}},Ct=function(e,t){var n=0,r=3,i=[],o=[];return Ve(t).forEach(function(t,a){var s=!0;if(0===a?s=t.reduce(function(e,t){if(je(t))switch(t.value){case"center":return o.push(Ke),!1;case"top":case"left":return o.push($e),!1;case"right":case"bottom":return o.push(Je),!1}else if(Xe(t)||We(t))return o.push(t),!1;return e},s):1===a&&(s=t.reduce(function(e,t){if(je(t))switch(t.value){case"circle":return n=0,!1;case"ellipse":return n=1,!1;case"contain":case"closest-side":return r=0,!1;case"farthest-side":return r=1,!1;case"closest-corner":return r=2,!1;case"cover":case"farthest-corner":return r=3,!1}else if(We(t)||Xe(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},s)),s){var l=mt(e,t);i.push(l)}}),{size:r,shape:n,stops:i,position:o,type:2}},St=function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var r=kt[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)};var Bt,kt={"linear-gradient":function(e,t){var n=it(180),r=[];return Ve(t).forEach(function(t,i){if(0===i){var o=t[0];if(20===o.type&&"to"===o.value)return void(n=rt(t));if(nt(o))return void(n=tt(e,o))}var a=mt(e,t);r.push(a)}),{angle:n,stops:r,type:1}},"-moz-linear-gradient":xt,"-ms-linear-gradient":xt,"-o-linear-gradient":xt,"-webkit-linear-gradient":xt,"radial-gradient":function(e,t){var n=0,r=3,i=[],o=[];return Ve(t).forEach(function(t,a){var s=!0;if(0===a){var l=!1;s=t.reduce(function(e,t){if(l)if(je(t))switch(t.value){case"center":return o.push(Ke),e;case"top":case"left":return o.push($e),e;case"right":case"bottom":return o.push(Je),e}else(Xe(t)||We(t))&&o.push(t);else if(je(t))switch(t.value){case"circle":return n=0,!1;case"ellipse":return n=1,!1;case"at":return l=!0,!1;case"closest-side":return r=0,!1;case"cover":case"farthest-side":return r=1,!1;case"contain":case"closest-corner":return r=2,!1;case"farthest-corner":return r=3,!1}else if(We(t)||Xe(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return e},s)}if(s){var c=mt(e,t);i.push(c)}}),{size:r,shape:n,stops:i,position:o,type:2}},"-moz-radial-gradient":Ct,"-ms-radial-gradient":Ct,"-o-radial-gradient":Ct,"-webkit-radial-gradient":Ct,"-webkit-gradient":function(e,t){var n=it(180),r=[],i=1;return Ve(t).forEach(function(t,n){var o=t[0];if(0===n){if(je(o)&&"linear"===o.value)return void(i=1);if(je(o)&&"radial"===o.value)return void(i=2)}if(18===o.type)if("from"===o.name){var a=ot(e,o.values[0]);r.push({stop:$e,color:a})}else if("to"===o.name)a=ot(e,o.values[0]),r.push({stop:Je,color:a});else if("color-stop"===o.name){var s=o.values.filter(Ye);if(2===s.length){a=ot(e,s[1]);var l=s[0];He(l)&&r.push({stop:{type:16,number:100*l.number,flags:l.flags},color:a})}}}),1===i?{angle:(n+it(180))%it(360),stops:r,type:i}:{size:3,shape:0,stops:r,position:[],type:i}}},Tt={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter(function(e){return Ye(e)&&function(e){return!(20===e.type&&"none"===e.value||18===e.type&&!kt[e.name])}(e)}).map(function(t){return St(e,t)})}},Et={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(e){if(je(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Mt={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Ve(t).map(function(e){return e.filter(Xe)}).map(Ze)}},Dt={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Ve(t).map(function(e){return e.filter(je).map(function(e){return e.value}).join(" ")}).map(Ot)}},Ot=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(Bt||(Bt={}));var It,Lt={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Ve(t).map(function(e){return e.filter(Pt)})}},Pt=function(e){return je(e)||Xe(e)},Ft=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Rt=Ft("top"),Nt=Ft("right"),Ht=Ft("bottom"),jt=Ft("left"),Ut=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Ze(t.filter(Xe))}}},Qt=Ut("top-left"),zt=Ut("top-right"),Yt=Ut("bottom-right"),Vt=Ut("bottom-left"),Gt=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Wt=Gt("top"),Xt=Gt("right"),Zt=Gt("bottom"),$t=Gt("left"),Kt=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Ne(t)?t.number:0}}},Jt=Kt("top"),qt=Kt("right"),en=Kt("bottom"),tn=Kt("left"),nn={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},rn={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}},on={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(je).reduce(function(e,t){return e|an(t.value)},0)}},an=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},sn={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},ln={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type?t.number:15===t.type?t.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}(It||(It={}));var cn,un={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"strict":return It.STRICT;case"normal":default:return It.NORMAL}}},hn={name:"line-height",initialValue:"normal",prefix:!1,type:4},dn=function(e,t){return je(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Xe(e)?et(e,t):t},fn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:St(e,t)}},pn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},An={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},gn=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},vn=gn("top"),mn=gn("right"),yn=gn("bottom"),bn=gn("left"),_n={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(je).map(function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},wn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},xn=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Cn=xn("top"),Sn=xn("right"),Bn=xn("bottom"),kn=xn("left"),Tn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},En={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Mn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Qe(t[0],"none")?[]:Ve(t).map(function(t){for(var n={color:At.TRANSPARENT,offsetX:$e,offsetY:$e,blur:$e},r=0,i=0;i<t.length;i++){var o=t[i];We(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:n.blur=o,r++):n.color=ot(e,o)}return n})}},Dn={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},On={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var n=In[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},In={matrix:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number});return 6===t.length?t:null},matrix3d:function(e){var t=e.filter(function(e){return 17===e.type}).map(function(e){return e.number}),n=t[0],r=t[1];t[2],t[3];var i=t[4],o=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var a=t[12],s=t[13];return t[14],t[15],16===t.length?[n,r,i,o,a,s]:null}},Ln={type:16,number:50,flags:4},Pn=[Ln,Ln],Fn={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(Xe);return 2!==n.length?Pn:[n[0],n[1]]}},Rn={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}};!function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"}(cn||(cn={}));for(var Nn={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return cn.BREAK_ALL;case"keep-all":return cn.KEEP_ALL;case"normal":default:return cn.NORMAL}}},Hn={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(20===t.type)return{auto:!0,order:0};if(He(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},jn=function(e,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")},Un={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return He(t)?t.number:1}},Qn={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},zn={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(je).map(function(e){switch(e.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(e){return 0!==e})}},Yn={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach(function(e){switch(e.type){case 20:case 0:n.push(e.value);break;case 17:n.push(e.number.toString());break;case 4:r.push(n.join(" ")),n.length=0}}),n.length&&r.push(n.join(" ")),r.map(function(e){return-1===e.indexOf(" ")?e:"'"+e+"'"})}},Vn={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Gn={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){if(He(t))return t.number;if(je(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},Wn={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(je).map(function(e){return e.value})}},Xn={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Zn=function(e,t){return 0!=(e&t)},$n={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t}},Kn={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;for(var r=[],i=t.filter(ze),o=0;o<i.length;o++){var a=i[o],s=i[o+1];if(20===a.type){var l=s&&He(s)?s.number:1;r.push({counter:a.value,increment:l})}}return r}},Jn={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return[];for(var n=[],r=t.filter(ze),i=0;i<r.length;i++){var o=r[i],a=r[i+1];if(je(o)&&"none"!==o.value){var s=a&&He(a)?a.number:0;n.push({counter:o.value,reset:s})}}return n}},qn={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Ne).map(function(t){return jn(e,t)})}},er={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(0===t.length)return null;var n=t[0];if(20===n.type&&"none"===n.value)return null;var r=[],i=t.filter(Ue);if(i.length%2!=0)return null;for(var o=0;o<i.length;o+=2){var a=i[o].value,s=i[o+1].value;r.push({open:a,close:s})}return r}},tr=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},nr={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Qe(t[0],"none")?[]:Ve(t).map(function(t){for(var n={color:255,offsetX:$e,offsetY:$e,blur:$e,spread:$e,inset:!1},r=0,i=0;i<t.length;i++){var o=t[i];Qe(o,"inset")?n.inset=!0:We(o)?(0===r?n.offsetX=o:1===r?n.offsetY=o:2===r?n.blur=o:n.spread=o,r++):n.color=ot(e,o)}return n})}},rr={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[];return t.filter(je).forEach(function(e){switch(e.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2)}}),[0,1,2].forEach(function(e){-1===n.indexOf(e)&&n.push(e)}),n}},ir={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},or={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Ne(t)?t.number:0}},ar=function(){function e(e,t){var n,r;this.animationDuration=cr(e,qn,t.animationDuration),this.backgroundClip=cr(e,gt,t.backgroundClip),this.backgroundColor=cr(e,vt,t.backgroundColor),this.backgroundImage=cr(e,Tt,t.backgroundImage),this.backgroundOrigin=cr(e,Et,t.backgroundOrigin),this.backgroundPosition=cr(e,Mt,t.backgroundPosition),this.backgroundRepeat=cr(e,Dt,t.backgroundRepeat),this.backgroundSize=cr(e,Lt,t.backgroundSize),this.borderTopColor=cr(e,Rt,t.borderTopColor),this.borderRightColor=cr(e,Nt,t.borderRightColor),this.borderBottomColor=cr(e,Ht,t.borderBottomColor),this.borderLeftColor=cr(e,jt,t.borderLeftColor),this.borderTopLeftRadius=cr(e,Qt,t.borderTopLeftRadius),this.borderTopRightRadius=cr(e,zt,t.borderTopRightRadius),this.borderBottomRightRadius=cr(e,Yt,t.borderBottomRightRadius),this.borderBottomLeftRadius=cr(e,Vt,t.borderBottomLeftRadius),this.borderTopStyle=cr(e,Wt,t.borderTopStyle),this.borderRightStyle=cr(e,Xt,t.borderRightStyle),this.borderBottomStyle=cr(e,Zt,t.borderBottomStyle),this.borderLeftStyle=cr(e,$t,t.borderLeftStyle),this.borderTopWidth=cr(e,Jt,t.borderTopWidth),this.borderRightWidth=cr(e,qt,t.borderRightWidth),this.borderBottomWidth=cr(e,en,t.borderBottomWidth),this.borderLeftWidth=cr(e,tn,t.borderLeftWidth),this.boxShadow=cr(e,nr,t.boxShadow),this.color=cr(e,nn,t.color),this.direction=cr(e,rn,t.direction),this.display=cr(e,on,t.display),this.float=cr(e,sn,t.cssFloat),this.fontFamily=cr(e,Yn,t.fontFamily),this.fontSize=cr(e,Vn,t.fontSize),this.fontStyle=cr(e,Xn,t.fontStyle),this.fontVariant=cr(e,Wn,t.fontVariant),this.fontWeight=cr(e,Gn,t.fontWeight),this.letterSpacing=cr(e,ln,t.letterSpacing),this.lineBreak=cr(e,un,t.lineBreak),this.lineHeight=cr(e,hn,t.lineHeight),this.listStyleImage=cr(e,fn,t.listStyleImage),this.listStylePosition=cr(e,pn,t.listStylePosition),this.listStyleType=cr(e,An,t.listStyleType),this.marginTop=cr(e,vn,t.marginTop),this.marginRight=cr(e,mn,t.marginRight),this.marginBottom=cr(e,yn,t.marginBottom),this.marginLeft=cr(e,bn,t.marginLeft),this.opacity=cr(e,Un,t.opacity);var i=cr(e,_n,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=cr(e,wn,t.overflowWrap),this.paddingTop=cr(e,Cn,t.paddingTop),this.paddingRight=cr(e,Sn,t.paddingRight),this.paddingBottom=cr(e,Bn,t.paddingBottom),this.paddingLeft=cr(e,kn,t.paddingLeft),this.paintOrder=cr(e,rr,t.paintOrder),this.position=cr(e,En,t.position),this.textAlign=cr(e,Tn,t.textAlign),this.textDecorationColor=cr(e,Qn,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=cr(e,zn,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=cr(e,Mn,t.textShadow),this.textTransform=cr(e,Dn,t.textTransform),this.transform=cr(e,On,t.transform),this.transformOrigin=cr(e,Fn,t.transformOrigin),this.visibility=cr(e,Rn,t.visibility),this.webkitTextStrokeColor=cr(e,ir,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=cr(e,or,t.webkitTextStrokeWidth),this.wordBreak=cr(e,Nn,t.wordBreak),this.zIndex=cr(e,Hn,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return at(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return Zn(this.display,4)||Zn(this.display,33554432)||Zn(this.display,268435456)||Zn(this.display,536870912)||Zn(this.display,67108864)||Zn(this.display,134217728)},e}(),sr=function(){return function(e,t){this.content=cr(e,$n,t.content),this.quotes=cr(e,er,t.quotes)}}(),lr=function(){return function(e,t){this.counterIncrement=cr(e,Kn,t.counterIncrement),this.counterReset=cr(e,Jn,t.counterReset)}}(),cr=function(e,t,n){var r=new Fe,i=null!==n&&void 0!==n?n.toString():t.initialValue;r.write(i);var o=new Re(r.read());switch(t.type){case 2:var a=o.parseComponentValue();return t.parse(e,je(a)?a.value:t.initialValue);case 0:return t.parse(e,o.parseComponentValue());case 1:return t.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case"angle":return tt(e,o.parseComponentValue());case"color":return ot(e,o.parseComponentValue());case"image":return St(e,o.parseComponentValue());case"length":var s=o.parseComponentValue();return We(s)?s:$e;case"length-percentage":var l=o.parseComponentValue();return Xe(l)?l:$e;case"time":return jn(e,o.parseComponentValue())}}},ur=function(e,t){var n=function(e){switch(e.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(e);return 1===n||t===n},hr=function(){return function(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,ur(t,3),this.styles=new ar(e,window.getComputedStyle(t,null)),Ai(t)&&(this.styles.animationDuration.some(function(e){return e>0})&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=s(this.context,t),ur(t,4)&&(this.flags|=16)}}(),dr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),pr=0;pr<dr.length;pr++)fr[dr.charCodeAt(pr)]=pr;for(var Ar=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},gr=function(){function e(e,t,n,r,i,o){this.initialValue=e,this.errorValue=t,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e.prototype.get=function(e){var t;if(e>=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>5])<<2)+(31&e),this.data[t];if(e<=65535)return t=((t=this.index[2048+(e-55296>>5)])<<2)+(31&e),this.data[t];if(e<this.highStart)return t=2080+(e>>11),t=this.index[t],t+=e>>5&63,t=((t=this.index[t])<<2)+(31&e),this.data[t];if(e<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),vr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),yr=0;yr<vr.length;yr++)mr[vr.charCodeAt(yr)]=yr;var br,_r=8,wr=9,xr=11,Cr=12,Sr=function(e,t){var n,r,i,o=function(e){var t,n,r,i,o,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<s;t+=4)n=fr[e.charCodeAt(t)],r=fr[e.charCodeAt(t+1)],i=fr[e.charCodeAt(t+2)],o=fr[e.charCodeAt(t+3)],u[l++]=n<<2|r>>4,u[l++]=(15&r)<<4|i>>2,u[l++]=(3&i)<<6|63&o;return c}(e),a=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n}(o):new Uint32Array(o),s=Array.isArray(o)?function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n}(o):new Uint16Array(o),l=Ar(s,12,a[4]/2),c=2===a[5]?Ar(s,(24+a[4])/2):(n=a,r=Math.ceil((24+a[4])/4),n.slice?n.slice(r,i):new Uint32Array(Array.prototype.slice.call(n,r,i)));return new gr(a[0],a[1],a[2],a[3],l,c)}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),Br=function(e){return Sr.get(e)},kr=function(e,t,n){var r=n-2,i=t[r],o=t[n-1],a=t[n];if(2===o&&3===a)return"×";if(2===o||3===o||4===o)return"÷";if(2===a||3===a||4===a)return"÷";if(o===_r&&-1!==[_r,wr,xr,Cr].indexOf(a))return"×";if(!(o!==xr&&o!==wr||a!==wr&&10!==a))return"×";if((o===Cr||10===o)&&10===a)return"×";if(13===a||5===a)return"×";if(7===a)return"×";if(1===o)return"×";if(13===o&&14===a){for(;5===i;)i=t[--r];if(14===i)return"×"}if(15===o&&15===a){for(var s=0;15===i;)s++,i=t[--r];if(s%2==0)return"×"}return"÷"},Tr=function(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e),n=t.length,r=0,i=0,o=t.map(Br);return{next:function(){if(r>=n)return{done:!0,value:null};for(var e="×";r<n&&"×"===(e=kr(0,o,++r)););if("×"!==e||r===n){var a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],i=-1,o="";++i<n;){var a=e[i];a<=65535?r.push(a):(a-=65536,r.push(55296+(a>>10),a%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o}.apply(null,t.slice(i,r));return i=r,{value:a,done:!1}}return{done:!0,value:null}}}},Er=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},Mr=function(e,t,n,r,i){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(i),a},Dr=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))})},Or={get SUPPORT_RANGE_BOUNDS(){var e=function(e){if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var n=e.createElement("boundtest");n.style.height="123px",n.style.display="block",e.body.appendChild(n),t.selectNode(n);var r=t.getBoundingClientRect(),i=Math.round(r.height);if(e.body.removeChild(n),123===i)return!0}}return!1}(document);return Object.defineProperty(Or,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Or.SUPPORT_RANGE_BOUNDS&&function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var n=e.createRange();t.innerHTML="function"==typeof"".repeat?"👨".repeat(10):"";var r=t.firstChild,i=0,o={},a=l(r.data).map(function(e){return c(e)}).every(function(e,t){n.setStart(r,i),n.setEnd(r,i+e.length);var a=n.getBoundingClientRect();i+=e.length;var s=a.x>o.x||a.y>o.y;return o=a,0===t||s});return e.body.removeChild(t),a}(document);return Object.defineProperty(Or,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch(e){return!1}return!0}(document);return Object.defineProperty(Or,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"==typeof Array.from&&"function"==typeof window.fetch?function(e){var t=e.createElement("canvas");t.width=100,t.height=100;var n=t.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,100,100);var r=new Image,i=t.toDataURL();r.src=i;var o=Mr(100,100,0,0,r);return n.fillStyle="red",n.fillRect(0,0,100,100),Dr(o).then(function(t){n.drawImage(t,0,0);var r=n.getImageData(0,0,100,100).data;n.fillStyle="red",n.fillRect(0,0,100,100);var o=e.createElement("div");return o.style.backgroundImage="url("+i+")",o.style.height="100px",Er(r)?Dr(Mr(100,100,0,0,o)):Promise.reject(!1)}).then(function(e){return n.drawImage(e,0,0),Er(n.getImageData(0,0,100,100).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(Or,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=void 0!==(new Image).crossOrigin;return Object.defineProperty(Or,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Or,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Or,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Or,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Ir=function(){return function(e,t){this.text=e,this.bounds=t}}(),Lr=function(e,t,n,r){var i=[],o=0;return Nr(t,n).forEach(function(t){if(n.textDecorationLine.length||t.trim().length>0)if(Or.SUPPORT_RANGE_BOUNDS){var s=Fr(r,o,t.length).getClientRects();if(s.length>1){var l=0;Rr(t).forEach(function(t){i.push(new Ir(t,a.fromDOMRectList(e,Fr(r,l+o,t.length).getClientRects()))),l+=t.length})}else i.push(new Ir(t,a.fromDOMRectList(e,s)))}else{var c=r.splitText(t.length);i.push(new Ir(t,Pr(e,r))),r=c}else Or.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));o+=t.length}),i},Pr=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var i=t.parentNode;if(i){i.replaceChild(r,t);var o=s(e,r);return r.firstChild&&i.replaceChild(r.firstChild,r),o}}return a.EMPTY},Fr=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),i},Rr=function(e){if(Or.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map(function(e){return e.segment})}return function(e){for(var t,n=Tr(e),r=[];!(t=n.next()).done;)t.value&&r.push(t.value.slice());return r}(e)},Nr=function(e,t){return 0!==t.letterSpacing?Rr(e):function(e,t){if(Or.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map(function(e){return e.segment})}return jr(e,t)}(e,t)},Hr=[32,160,4961,65792,65793,4153,4241],jr=function(e,t){for(var n,r=function(e,t){var n=l(e),r=ie(n,t),i=r[0],o=r[1],a=r[2],s=n.length,c=0,u=0;return{next:function(){if(u>=s)return{done:!0,value:null};for(var e="×";u<s&&"×"===(e=re(n,o,i,++u,a)););if("×"!==e||u===s){var t=new oe(n,e,c,u);return c=u,{value:t,done:!1}}return{done:!0,value:null}}}}(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),i=[],o=function(){if(n.value){var e=n.value.slice(),t="";l(e).forEach(function(e){-1===Hr.indexOf(e)?t+=c(e):(t.length&&i.push(t),i.push(c(e)),t="")}),t.length&&i.push(t)}};!(n=r.next()).done;)o();return i},Ur=function(){return function(e,t,n){this.text=Qr(t.data,n.textTransform),this.textBounds=Lr(e,this.text,n,t)}}(),Qr=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(zr,Yr);case 2:return e.toUpperCase();default:return e}},zr=/(^|\s|:|-|\(|\))([a-z])/g,Yr=function(e,t,n){return e.length>0?t+n.toUpperCase():e},Vr=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.src=n.currentSrc||n.src,r.intrinsicWidth=n.naturalWidth,r.intrinsicHeight=n.naturalHeight,r.context.cache.addImage(r.src),r}return t(n,e),n}(hr),Gr=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n,r.intrinsicWidth=n.width,r.intrinsicHeight=n.height,r}return t(n,e),n}(hr),Wr=function(e){function n(t,n){var r=e.call(this,t,n)||this,i=new XMLSerializer,o=s(t,n);return n.setAttribute("width",o.width+"px"),n.setAttribute("height",o.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(n)),r.intrinsicWidth=n.width.baseVal.value,r.intrinsicHeight=n.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(n,e),n}(hr),Xr=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(hr),Zr=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.start=n.start,r.reversed="boolean"==typeof n.reversed&&!0===n.reversed,r}return t(n,e),n}(hr),$r=[{type:15,flags:0,unit:"px",number:3}],Kr=[{type:16,flags:0,number:50}],Jr=function(e){return e.width>e.height?new a(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new a(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},qr=function(e){var t=e.type===ni?new Array(e.value.length+1).join("•"):e.value;return 0===t.length?e.placeholder||"":t},ei="checkbox",ti="radio",ni="password",ri=function(e){function n(t,n){var r=e.call(this,t,n)||this;switch(r.type=n.type.toLowerCase(),r.checked=n.checked,r.value=qr(n),r.type!==ei&&r.type!==ti||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=Jr(r.bounds)),r.type){case ei:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=$r;break;case ti:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Kr}return r}return t(n,e),n}(hr),ii=function(e){function n(t,n){var r=e.call(this,t,n)||this,i=n.options[n.selectedIndex||0];return r.value=i&&i.text||"",r}return t(n,e),n}(hr),oi=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.value=n.value,r}return t(n,e),n}(hr),ai=function(e){function n(t,n){var r=e.call(this,t,n)||this;r.src=n.src,r.width=parseInt(n.width,10)||0,r.height=parseInt(n.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){r.tree=ui(t,n.contentWindow.document.documentElement);var i=n.contentWindow.document.documentElement?pt(t,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):At.TRANSPARENT,o=n.contentWindow.document.body?pt(t,getComputedStyle(n.contentWindow.document.body).backgroundColor):At.TRANSPARENT;r.backgroundColor=at(i)?at(o)?r.styles.backgroundColor:o:i}}catch(e){}return r}return t(n,e),n}(hr),si=["OL","UL","MENU"],li=function(e,t,n,r){for(var i=t.firstChild,o=void 0;i;i=o)if(o=i.nextSibling,fi(i)&&i.data.trim().length>0)n.textNodes.push(new Ur(e,i,n.styles));else if(pi(i))if(Ei(i)&&i.assignedNodes)i.assignedNodes().forEach(function(t){return li(e,t,n,r)});else{var a=ci(e,i);a.styles.isVisible()&&(hi(i,a,r)?a.flags|=4:di(a.styles)&&(a.flags|=2),-1!==si.indexOf(i.tagName)&&(a.flags|=8),n.elements.push(a),i.slot,i.shadowRoot?li(e,i.shadowRoot,a,r):ki(i)||bi(i)||Ti(i)||li(e,i,a,r))}},ci=function(e,t){return Ci(t)?new Vr(e,t):wi(t)?new Gr(e,t):bi(t)?new Wr(e,t):vi(t)?new Xr(e,t):mi(t)?new Zr(e,t):yi(t)?new ri(e,t):Ti(t)?new ii(e,t):ki(t)?new oi(e,t):Si(t)?new ai(e,t):new hr(e,t)},ui=function(e,t){var n=ci(e,t);return n.flags|=4,li(e,t,n,n),n},hi=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||_i(e)&&n.styles.isTransparent()},di=function(e){return e.isPositioned()||e.isFloating()},fi=function(e){return e.nodeType===Node.TEXT_NODE},pi=function(e){return e.nodeType===Node.ELEMENT_NODE},Ai=function(e){return pi(e)&&void 0!==e.style&&!gi(e)},gi=function(e){return"object"==typeof e.className},vi=function(e){return"LI"===e.tagName},mi=function(e){return"OL"===e.tagName},yi=function(e){return"INPUT"===e.tagName},bi=function(e){return"svg"===e.tagName},_i=function(e){return"BODY"===e.tagName},wi=function(e){return"CANVAS"===e.tagName},xi=function(e){return"VIDEO"===e.tagName},Ci=function(e){return"IMG"===e.tagName},Si=function(e){return"IFRAME"===e.tagName},Bi=function(e){return"STYLE"===e.tagName},ki=function(e){return"TEXTAREA"===e.tagName},Ti=function(e){return"SELECT"===e.tagName},Ei=function(e){return"SLOT"===e.tagName},Mi=function(e){return e.tagName.indexOf("-")>0},Di=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach(function(e){return t.counters[e].pop()})},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,r=e.counterReset,i=!0;null!==n&&n.forEach(function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(i=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)});var o=[];return i&&r.forEach(function(e){var n=t.counters[e.counter];o.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)}),o},e}(),Oi={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Ii={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Li={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Pi={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Fi=function(e,t,n,r,i,o){return e<t||e>n?Ui(e,i,o.length>0):r.integers.reduce(function(t,n,i){for(;e>=n;)e-=n,t+=r.values[i];return t},"")+o},Ri=function(e,t,n,r){var i="";do{n||e--,i=r(e)+i,e/=t}while(e*t>=t);return i},Ni=function(e,t,n,r,i){var o=n-t+1;return(e<0?"-":"")+(Ri(Math.abs(e),o,r,function(e){return c(Math.floor(e%o)+t)})+i)},Hi=function(e,t,n){void 0===n&&(n=". ");var r=t.length;return Ri(Math.abs(e),r,!1,function(e){return t[Math.floor(e%r)]})+n},ji=function(e,t,n,r,i,o){if(e<-9999||e>9999)return Ui(e,4,i.length>0);var a=Math.abs(e),s=i;if(0===a)return t[0]+s;for(var l=0;a>0&&l<=4;l++){var c=a%10;0===c&&Zn(o,1)&&""!==s?s=t[c]+s:c>1||1===c&&0===l||1===c&&1===l&&Zn(o,2)||1===c&&1===l&&Zn(o,4)&&e>100||1===c&&l>1&&Zn(o,8)?s=t[c]+(l>0?n[l-1]:"")+s:1===c&&l>0&&(s=n[l-1]+s),a=Math.floor(a/10)}return(e<0?r:"")+s},Ui=function(e,t,n){var r=n?". ":"",i=n?"、":"",o=n?", ":"",a=n?" ":"";switch(t){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var s=Ni(e,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return Hi(e,"〇一二三四五六七八九",i);case 6:return Fi(e,1,3999,Oi,3,r).toLowerCase();case 7:return Fi(e,1,3999,Oi,3,r);case 8:return Ni(e,945,969,!1,r);case 9:return Ni(e,97,122,!1,r);case 10:return Ni(e,65,90,!1,r);case 11:return Ni(e,1632,1641,!0,r);case 12:case 49:return Fi(e,1,9999,Ii,3,r);case 35:return Fi(e,1,9999,Ii,3,r).toLowerCase();case 13:return Ni(e,2534,2543,!0,r);case 14:case 30:return Ni(e,6112,6121,!0,r);case 15:return Hi(e,"子丑寅卯辰巳午未申酉戌亥",i);case 16:return Hi(e,"甲乙丙丁戊己庚辛壬癸",i);case 17:case 48:return ji(e,"零一二三四五六七八九","十百千萬","負",i,14);case 47:return ji(e,"零壹貳參肆伍陸柒捌玖","拾佰仟萬","負",i,15);case 42:return ji(e,"零一二三四五六七八九","十百千萬","负",i,14);case 41:return ji(e,"零壹贰叁肆伍陆柒捌玖","拾佰仟萬","负",i,15);case 26:return ji(e,"〇一二三四五六七八九","十百千万","マイナス",i,0);case 25:return ji(e,"零壱弐参四伍六七八九","拾百千万","マイナス",i,7);case 31:return ji(e,"영일이삼사오육칠팔구","십백천만","마이너스",o,7);case 33:return ji(e,"零一二三四五六七八九","十百千萬","마이너스",o,0);case 32:return ji(e,"零壹貳參四五六七八九","拾百千","마이너스",o,7);case 18:return Ni(e,2406,2415,!0,r);case 20:return Fi(e,1,19999,Pi,3,r);case 21:return Ni(e,2790,2799,!0,r);case 22:return Ni(e,2662,2671,!0,r);case 22:return Fi(e,1,10999,Li,3,r);case 23:return Hi(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Hi(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Ni(e,3302,3311,!0,r);case 28:return Hi(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case 29:return Hi(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case 34:return Ni(e,3792,3801,!0,r);case 37:return Ni(e,6160,6169,!0,r);case 38:return Ni(e,4160,4169,!0,r);case 39:return Ni(e,2918,2927,!0,r);case 40:return Ni(e,1776,1785,!0,r);case 43:return Ni(e,3046,3055,!0,r);case 44:return Ni(e,3174,3183,!0,r);case 45:return Ni(e,3664,3673,!0,r);case 46:return Ni(e,3872,3881,!0,r);case 3:default:return Ni(e,48,57,!0,r)}},Qi=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new Di,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,o=Yi(e,t);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,l=o.contentWindow,c=l.document,u=Wi(o).then(function(){return r(n,void 0,void 0,function(){var e,n;return i(this,function(r){switch(r.label){case 0:return this.scrolledElements.forEach(Ji),l&&(l.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===t.top&&l.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(l.scrollX-t.left,l.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Gi(c)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"==typeof e?[2,Promise.resolve().then(function(){return e(c,n)}).then(function(){return o})]:[2,o]}})})});return c.open(),c.write($i(document.doctype)+"<html></html>"),Ki(this.referenceElement.ownerDocument,a,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},e.prototype.createElementClone=function(e){if(ur(e,2),wi(e))return this.createCanvasClone(e);if(xi(e))return this.createVideoClone(e);if(Bi(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Ci(t)&&(Ci(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),Mi(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return Zi(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce(function(e,t){return t&&"string"==typeof t.cssText?e+t.cssText:e},""),r=e.cloneNode(!1);return r.textContent=n,r}}catch(e){if(this.context.logger.error("Unable to access cssRules property",e),"SecurityError"!==e.name)throw e}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch(t){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var r=e.cloneNode(!1);try{r.width=e.width,r.height=e.height;var i=e.getContext("2d"),o=r.getContext("2d");if(o)if(!this.options.allowTaint&&i)o.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var a=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(a){var s=a.getContextAttributes();!1===(null===s||void 0===s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}o.drawImage(e,0,0)}return r}catch(t){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return r},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info("Unable to clone video as it is tainted",e)}var r=e.ownerDocument.createElement("canvas");return r.width=e.offsetWidth,r.height=e.offsetHeight,r},e.prototype.appendChildNode=function(e,t,n){pi(t)&&("SCRIPT"===t.tagName||t.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&pi(t)&&Bi(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var r=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(pi(i)&&Ei(i)&&"function"==typeof i.assignedNodes){var o=i.assignedNodes();o.length&&o.forEach(function(e){return r.appendChildNode(t,e,n)})}else this.appendChildNode(t,i,n)},e.prototype.cloneNode=function(e,t){if(fi(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&pi(e)&&(Ai(e)||gi(e))){var r=this.createElementClone(e);r.style.transitionProperty="none";var i=n.getComputedStyle(e),o=n.getComputedStyle(e,":before"),a=n.getComputedStyle(e,":after");this.referenceElement===e&&Ai(r)&&(this.clonedReferenceElement=r),_i(r)&&to(r);var s=this.counters.parse(new lr(this.context,i)),l=this.resolvePseudoContent(e,r,o,br.BEFORE);Mi(e)&&(t=!0),xi(e)||this.cloneChildNodes(e,r,t),l&&r.insertBefore(l,r.firstChild);var c=this.resolvePseudoContent(e,r,a,br.AFTER);return c&&r.appendChild(c),this.counters.pop(s),(i&&(this.options.copyStyles||gi(e))&&!Si(e)||t)&&Zi(i,r),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([r,e.scrollLeft,e.scrollTop]),(ki(e)||Ti(e))&&(ki(r)||Ti(r))&&(r.value=e.value),r}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,r){var i=this;if(n){var o=n.content,a=t.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==n.display){this.counters.parse(new lr(this.context,n));var s=new sr(this.context,n),l=a.createElement("html2canvaspseudoelement");Zi(n,l),s.content.forEach(function(t){if(0===t.type)l.appendChild(a.createTextNode(t.value));else if(22===t.type){var n=a.createElement("img");n.src=t.value,n.style.opacity="1",l.appendChild(n)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(je);r.length&&l.appendChild(a.createTextNode(e.getAttribute(r[0].value)||""))}else if("counter"===t.name){var o=t.values.filter(Ye),c=o[0],u=o[1];if(c&&je(c)){var h=i.counters.getCounterValue(c.value),d=u&&je(u)?An.parse(i.context,u.value):3;l.appendChild(a.createTextNode(Ui(h,d,!1)))}}else if("counters"===t.name){var f=t.values.filter(Ye),p=(c=f[0],f[1]);u=f[2];if(c&&je(c)){var A=i.counters.getCounterValues(c.value),g=u&&je(u)?An.parse(i.context,u.value):3,v=p&&0===p.type?p.value:"",m=A.map(function(e){return Ui(e,g,!1)}).join(v);l.appendChild(a.createTextNode(m))}}}else if(20===t.type)switch(t.value){case"open-quote":l.appendChild(a.createTextNode(tr(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(a.createTextNode(tr(s.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(a.createTextNode(t.value))}}),l.className=qi+" "+eo;var c=r===br.BEFORE?" "+qi:" "+eo;return gi(t)?t.className.baseValue+=c:t.className+=c,l}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(br||(br={}));var zi,Yi=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute("data-html2canvas-ignore","true"),e.body.appendChild(n),n},Vi=function(e){return new Promise(function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()})},Gi=function(e){return Promise.all([].slice.call(e.images,0).map(Vi))},Wi=function(e){return new Promise(function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var i=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval(function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(n),t(e))},50)}})},Xi=["all","d","content"],Zi=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);-1===Xi.indexOf(r)&&t.style.setProperty(r,e.getPropertyValue(r))}return t},$i=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},Ki=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},Ji=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},qi="___html2canvas___pseudoelement_before",eo="___html2canvas___pseudoelement_after",to=function(e){no(e,"."+qi+':before{\n content: "" !important;\n display: none !important;\n}\n .'+eo+':after{\n content: "" !important;\n display: none !important;\n}')},no=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}},ro=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),io=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:ho(e)||lo(e)?((this._cache[e]=this.loadImage(e)).catch(function(){}),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return r(this,void 0,void 0,function(){var t,n,r,o,a=this;return i(this,function(i){switch(i.label){case 0:return t=ro.isSameOrigin(e),n=!co(e)&&!0===this._options.useCORS&&Or.SUPPORT_CORS_IMAGES&&!t,r=!co(e)&&!t&&!ho(e)&&"string"==typeof this._options.proxy&&Or.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||co(e)||ho(e)||r||n?(o=e,r?[4,this.proxy(o)]:[3,2]):[2];case 1:o=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,(uo(o)||n)&&(r.crossOrigin="anonymous"),r.src=o,!0===r.complete&&setTimeout(function(){return e(r)},500),a._options.imageTimeout>0&&setTimeout(function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,i.sent()]}})})},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=e.substring(0,256);return new Promise(function(i,o){var a=Or.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===a)i(s.response);else{var e=new FileReader;e.addEventListener("load",function(){return i(e.result)},!1),e.addEventListener("error",function(e){return o(e)},!1),e.readAsDataURL(s.response)}else o("Failed to proxy resource "+r+" with status code "+s.status)},s.onerror=o;var l=n.indexOf("?")>-1?"&":"?";if(s.open("GET",""+n+l+"url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var c=t._options.imageTimeout;s.timeout=c,s.ontimeout=function(){return o("Timed out ("+c+"ms) proxying "+r)}}s.send()})},e}(),oo=/^data:image\/svg\+xml/i,ao=/^data:image\/.*;base64,/i,so=/^data:image\/.*/i,lo=function(e){return Or.SUPPORT_SVG_DRAWING||!fo(e)},co=function(e){return so.test(e)},uo=function(e){return ao.test(e)},ho=function(e){return"blob"===e.substr(0,4)},fo=function(e){return"svg"===e.substr(-3).toLowerCase()||oo.test(e)},po=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),Ao=function(e,t,n){return new po(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},go=function(){function e(e,t,n,r){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=r}return e.prototype.subdivide=function(t,n){var r=Ao(this.start,this.startControl,t),i=Ao(this.startControl,this.endControl,t),o=Ao(this.endControl,this.end,t),a=Ao(r,i,t),s=Ao(i,o,t),l=Ao(a,s,t);return n?new e(this.start,r,a,l):new e(l,s,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),vo=function(e){return 1===e.type},mo=function(){return function(e){var t=e.styles,n=e.bounds,r=qe(t.borderTopLeftRadius,n.width,n.height),i=r[0],o=r[1],a=qe(t.borderTopRightRadius,n.width,n.height),s=a[0],l=a[1],c=qe(t.borderBottomRightRadius,n.width,n.height),u=c[0],h=c[1],d=qe(t.borderBottomLeftRadius,n.width,n.height),f=d[0],p=d[1],A=[];A.push((i+s)/n.width),A.push((f+u)/n.width),A.push((o+p)/n.height),A.push((l+h)/n.height);var g=Math.max.apply(Math,A);g>1&&(i/=g,o/=g,s/=g,l/=g,u/=g,h/=g,f/=g,p/=g);var v=n.width-s,m=n.height-h,y=n.width-u,b=n.height-p,_=t.borderTopWidth,w=t.borderRightWidth,x=t.borderBottomWidth,C=t.borderLeftWidth,S=et(t.paddingTop,e.bounds.width),B=et(t.paddingRight,e.bounds.width),k=et(t.paddingBottom,e.bounds.width),T=et(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||o>0?yo(n.left+C/3,n.top+_/3,i-C/3,o-_/3,zi.TOP_LEFT):new po(n.left+C/3,n.top+_/3),this.topRightBorderDoubleOuterBox=i>0||o>0?yo(n.left+v,n.top+_/3,s-w/3,l-_/3,zi.TOP_RIGHT):new po(n.left+n.width-w/3,n.top+_/3),this.bottomRightBorderDoubleOuterBox=u>0||h>0?yo(n.left+y,n.top+m,u-w/3,h-x/3,zi.BOTTOM_RIGHT):new po(n.left+n.width-w/3,n.top+n.height-x/3),this.bottomLeftBorderDoubleOuterBox=f>0||p>0?yo(n.left+C/3,n.top+b,f-C/3,p-x/3,zi.BOTTOM_LEFT):new po(n.left+C/3,n.top+n.height-x/3),this.topLeftBorderDoubleInnerBox=i>0||o>0?yo(n.left+2*C/3,n.top+2*_/3,i-2*C/3,o-2*_/3,zi.TOP_LEFT):new po(n.left+2*C/3,n.top+2*_/3),this.topRightBorderDoubleInnerBox=i>0||o>0?yo(n.left+v,n.top+2*_/3,s-2*w/3,l-2*_/3,zi.TOP_RIGHT):new po(n.left+n.width-2*w/3,n.top+2*_/3),this.bottomRightBorderDoubleInnerBox=u>0||h>0?yo(n.left+y,n.top+m,u-2*w/3,h-2*x/3,zi.BOTTOM_RIGHT):new po(n.left+n.width-2*w/3,n.top+n.height-2*x/3),this.bottomLeftBorderDoubleInnerBox=f>0||p>0?yo(n.left+2*C/3,n.top+b,f-2*C/3,p-2*x/3,zi.BOTTOM_LEFT):new po(n.left+2*C/3,n.top+n.height-2*x/3),this.topLeftBorderStroke=i>0||o>0?yo(n.left+C/2,n.top+_/2,i-C/2,o-_/2,zi.TOP_LEFT):new po(n.left+C/2,n.top+_/2),this.topRightBorderStroke=i>0||o>0?yo(n.left+v,n.top+_/2,s-w/2,l-_/2,zi.TOP_RIGHT):new po(n.left+n.width-w/2,n.top+_/2),this.bottomRightBorderStroke=u>0||h>0?yo(n.left+y,n.top+m,u-w/2,h-x/2,zi.BOTTOM_RIGHT):new po(n.left+n.width-w/2,n.top+n.height-x/2),this.bottomLeftBorderStroke=f>0||p>0?yo(n.left+C/2,n.top+b,f-C/2,p-x/2,zi.BOTTOM_LEFT):new po(n.left+C/2,n.top+n.height-x/2),this.topLeftBorderBox=i>0||o>0?yo(n.left,n.top,i,o,zi.TOP_LEFT):new po(n.left,n.top),this.topRightBorderBox=s>0||l>0?yo(n.left+v,n.top,s,l,zi.TOP_RIGHT):new po(n.left+n.width,n.top),this.bottomRightBorderBox=u>0||h>0?yo(n.left+y,n.top+m,u,h,zi.BOTTOM_RIGHT):new po(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=f>0||p>0?yo(n.left,n.top+b,f,p,zi.BOTTOM_LEFT):new po(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||o>0?yo(n.left+C,n.top+_,Math.max(0,i-C),Math.max(0,o-_),zi.TOP_LEFT):new po(n.left+C,n.top+_),this.topRightPaddingBox=s>0||l>0?yo(n.left+Math.min(v,n.width-w),n.top+_,v>n.width+w?0:Math.max(0,s-w),Math.max(0,l-_),zi.TOP_RIGHT):new po(n.left+n.width-w,n.top+_),this.bottomRightPaddingBox=u>0||h>0?yo(n.left+Math.min(y,n.width-C),n.top+Math.min(m,n.height-x),Math.max(0,u-w),Math.max(0,h-x),zi.BOTTOM_RIGHT):new po(n.left+n.width-w,n.top+n.height-x),this.bottomLeftPaddingBox=f>0||p>0?yo(n.left+C,n.top+Math.min(b,n.height-x),Math.max(0,f-C),Math.max(0,p-x),zi.BOTTOM_LEFT):new po(n.left+C,n.top+n.height-x),this.topLeftContentBox=i>0||o>0?yo(n.left+C+T,n.top+_+S,Math.max(0,i-(C+T)),Math.max(0,o-(_+S)),zi.TOP_LEFT):new po(n.left+C+T,n.top+_+S),this.topRightContentBox=s>0||l>0?yo(n.left+Math.min(v,n.width+C+T),n.top+_+S,v>n.width+C+T?0:s-C+T,l-(_+S),zi.TOP_RIGHT):new po(n.left+n.width-(w+B),n.top+_+S),this.bottomRightContentBox=u>0||h>0?yo(n.left+Math.min(y,n.width-(C+T)),n.top+Math.min(m,n.height+_+S),Math.max(0,u-(w+B)),h-(x+k),zi.BOTTOM_RIGHT):new po(n.left+n.width-(w+B),n.top+n.height-(x+k)),this.bottomLeftContentBox=f>0||p>0?yo(n.left+C+T,n.top+b,Math.max(0,f-(C+T)),p-(x+k),zi.BOTTOM_LEFT):new po(n.left+C+T,n.top+n.height-(x+k))}}();!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(zi||(zi={}));var yo=function(e,t,n,r,i){var o=(Math.sqrt(2)-1)/3*4,a=n*o,s=r*o,l=e+n,c=t+r;switch(i){case zi.TOP_LEFT:return new go(new po(e,c),new po(e,c-s),new po(l-a,t),new po(l,t));case zi.TOP_RIGHT:return new go(new po(e,t),new po(e+a,t),new po(l,c-s),new po(l,c));case zi.BOTTOM_RIGHT:return new go(new po(l,t),new po(l,t+s),new po(e+a,c),new po(e,c));case zi.BOTTOM_LEFT:default:return new go(new po(l,c),new po(l-a,c),new po(e,t+s),new po(e,t))}},bo=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},_o=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},wo=function(){return function(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6}}(),xo=function(){return function(e,t){this.path=e,this.target=t,this.type=1}}(),Co=function(){return function(e){this.opacity=e,this.type=2,this.target=6}}(),So=function(e){return 1===e.type},Bo=function(e,t){return e.length===t.length&&e.some(function(e,n){return e===t[n]})},ko=function(){return function(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}(),To=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new mo(this.container),this.container.styles.opacity<1&&this.effects.push(new Co(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new wo(n,r,i))}if(0!==this.container.styles.overflowX){var o=bo(this.curves),a=_o(this.curves);Bo(o,a)?this.effects.push(new xo(o,6)):(this.effects.push(new xo(o,2)),this.effects.push(new xo(a,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,r=this.effects.slice(0);n;){var i=n.effects.filter(function(e){return!So(e)});if(t||0!==n.container.styles.position||!n.parent){if(r.unshift.apply(r,i),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var o=bo(n.curves),a=_o(n.curves);Bo(o,a)||r.unshift(new xo(a,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter(function(t){return Zn(t.target,e)})},e}(),Eo=function(e,t,n,r){e.container.elements.forEach(function(i){var o=Zn(i.flags,4),a=Zn(i.flags,2),s=new To(i,e);Zn(i.styles.display,2048)&&r.push(s);var l=Zn(i.flags,8)?[]:r;if(o||a){var c=o||i.styles.isPositioned()?n:t,u=new ko(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var h=i.styles.zIndex.order;if(h<0){var d=0;c.negativeZIndex.some(function(e,t){return h>e.element.container.styles.zIndex.order?(d=t,!1):d>0}),c.negativeZIndex.splice(d,0,u)}else if(h>0){var f=0;c.positiveZIndex.some(function(e,t){return h>=e.element.container.styles.zIndex.order?(f=t+1,!1):f>0}),c.positiveZIndex.splice(f,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else i.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);Eo(s,u,o?u:n,l)}else i.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),Eo(s,t,n,l);Zn(i.flags,8)&&Mo(i,l)})},Mo=function(e,t){for(var n=e instanceof Zr?e.start:1,r=e instanceof Zr&&e.reversed,i=0;i<t.length;i++){var o=t[i];o.container instanceof Xr&&"number"==typeof o.container.value&&0!==o.container.value&&(n=o.container.value),o.listValue=Ui(n,o.container.styles.listStyleType,!0),n+=r?-1:1}},Do=function(e,t){switch(t){case 0:return Io(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Io(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Io(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return Io(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},Oo=function(e,t){var n=[];return vo(e)?n.push(e.subdivide(.5,!1)):n.push(e),vo(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},Io=function(e,t,n,r){var i=[];return vo(e)?i.push(e.subdivide(.5,!1)):i.push(e),vo(n)?i.push(n.subdivide(.5,!0)):i.push(n),vo(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),vo(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},Lo=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},Po=function(e){var t=e.styles,n=e.bounds,r=et(t.paddingLeft,n.width),i=et(t.paddingRight,n.width),o=et(t.paddingTop,n.width),a=et(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+o+a))},Fo=function(e,t,n){var r,i,o=(r=jo(e.styles.backgroundOrigin,t),i=e,0===r?i.bounds:2===r?Po(i):Lo(i)),a=function(e,t){return 0===e?t.bounds:2===e?Po(t):Lo(t)}(jo(e.styles.backgroundClip,t),e),s=Ho(jo(e.styles.backgroundSize,t),n,o),l=s[0],c=s[1],u=qe(jo(e.styles.backgroundPosition,t),o.width-l,o.height-c);return[Uo(jo(e.styles.backgroundRepeat,t),u,s,o,a),Math.round(o.left+u[0]),Math.round(o.top+u[1]),l,c]},Ro=function(e){return je(e)&&e.value===Bt.AUTO},No=function(e){return"number"==typeof e},Ho=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=e[0],s=e[1];if(!a)return[0,0];if(Xe(a)&&s&&Xe(s))return[et(a,n.width),et(s,n.height)];var l=No(o);if(je(a)&&(a.value===Bt.CONTAIN||a.value===Bt.COVER))return No(o)?n.width/n.height<o!=(a.value===Bt.COVER)?[n.width,n.width/o]:[n.height*o,n.height]:[n.width,n.height];var c=No(r),u=No(i),h=c||u;if(Ro(a)&&(!s||Ro(s)))return c&&u?[r,i]:l||h?h&&l?[c?r:i*o,u?i:r/o]:[c?r:n.width,u?i:n.height]:[n.width,n.height];if(l){var d=0,f=0;return Xe(a)?d=et(a,n.width):Xe(s)&&(f=et(s,n.height)),Ro(a)?d=f*o:s&&!Ro(s)||(f=d/o),[d,f]}var p=null,A=null;if(Xe(a)?p=et(a,n.width):s&&Xe(s)&&(A=et(s,n.height)),null===p||s&&!Ro(s)||(A=c&&u?p/r*i:n.height),null!==A&&Ro(a)&&(p=c&&u?A/i*r:n.width),null!==p&&null!==A)return[p,A];throw new Error("Unable to calculate background-size for element")},jo=function(e,t){var n=e[t];return void 0===n?e[0]:n},Uo=function(e,t,n,r,i){var o=t[0],a=t[1],s=n[0],l=n[1];switch(e){case 2:return[new po(Math.round(r.left),Math.round(r.top+a)),new po(Math.round(r.left+r.width),Math.round(r.top+a)),new po(Math.round(r.left+r.width),Math.round(l+r.top+a)),new po(Math.round(r.left),Math.round(l+r.top+a))];case 3:return[new po(Math.round(r.left+o),Math.round(r.top)),new po(Math.round(r.left+o+s),Math.round(r.top)),new po(Math.round(r.left+o+s),Math.round(r.height+r.top)),new po(Math.round(r.left+o),Math.round(r.height+r.top))];case 1:return[new po(Math.round(r.left+o),Math.round(r.top+a)),new po(Math.round(r.left+o+s),Math.round(r.top+a)),new po(Math.round(r.left+o+s),Math.round(r.top+a+l)),new po(Math.round(r.left+o),Math.round(r.top+a+l))];default:return[new po(Math.round(i.left),Math.round(i.top)),new po(Math.round(i.left+i.width),Math.round(i.top)),new po(Math.round(i.left+i.width),Math.round(i.height+i.top)),new po(Math.round(i.left),Math.round(i.height+i.top))]}},Qo=function(){function e(e){this._data={},this._document=e}return e.prototype.parseMetrics=function(e,t){var n=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),o=this._document.body;n.style.visibility="hidden",n.style.fontFamily=e,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",o.appendChild(n),r.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode("Hidden Text")),n.appendChild(i),n.appendChild(r);var a=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode("Hidden Text")),n.style.lineHeight="normal",r.style.verticalAlign="super";var s=r.offsetTop-n.offsetTop+2;return o.removeChild(n),{baseline:a,middle:s}},e.prototype.getMetrics=function(e,t){var n=e+" "+t;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(e,t)),this._data[n]},e}(),zo=function(){return function(e,t){this.context=e,this.options=t}}(),Yo=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new Qo(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return t(n,e),n.prototype.applyEffects=function(e){for(var t=this;this._activeEffects.length;)this.popEffect();e.forEach(function(e){return t.applyEffect(e)})},n.prototype.applyEffect=function(e){this.ctx.save(),function(e){return 2===e.type}(e)&&(this.ctx.globalAlpha=e.opacity),function(e){return 0===e.type}(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),So(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(e){return r(this,void 0,void 0,function(){return i(this,function(t){switch(t.label){case 0:return e.element.container.styles.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})},n.prototype.renderNode=function(e){return r(this,void 0,void 0,function(){return i(this,function(t){switch(t.label){case 0:return Zn(e.container.flags,16),e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(e)];case 2:t.sent(),t.label=3;case 3:return[2]}})})},n.prototype.renderTextWithLetterSpacing=function(e,t,n){var r=this;0===t?this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+n):Rr(e.text).reduce(function(t,i){return r.ctx.fillText(i,t,e.bounds.top+n),t+r.ctx.measureText(i).width},e.bounds.left)},n.prototype.createFontStyle=function(e){var t=e.fontVariant.filter(function(e){return"normal"===e||"small-caps"===e}).join(""),n=Zo(e.fontFamily).join(", "),r=Ne(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,t,e.fontWeight,r,n].join(" "),n,r]},n.prototype.renderTextNode=function(e,t){return r(this,void 0,void 0,function(){var n,r,o,a,s,l,c,u,h=this;return i(this,function(i){return n=this.createFontStyle(t),r=n[0],o=n[1],a=n[2],this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(o,a),l=s.baseline,c=s.middle,u=t.paintOrder,e.textBounds.forEach(function(e){u.forEach(function(n){switch(n){case 0:h.ctx.fillStyle=st(t.color),h.renderTextWithLetterSpacing(e,t.letterSpacing,l);var r=t.textShadow;r.length&&e.text.trim().length&&(r.slice(0).reverse().forEach(function(n){h.ctx.shadowColor=st(n.color),h.ctx.shadowOffsetX=n.offsetX.number*h.options.scale,h.ctx.shadowOffsetY=n.offsetY.number*h.options.scale,h.ctx.shadowBlur=n.blur.number,h.renderTextWithLetterSpacing(e,t.letterSpacing,l)}),h.ctx.shadowColor="",h.ctx.shadowOffsetX=0,h.ctx.shadowOffsetY=0,h.ctx.shadowBlur=0),t.textDecorationLine.length&&(h.ctx.fillStyle=st(t.textDecorationColor||t.color),t.textDecorationLine.forEach(function(t){switch(t){case 1:h.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top+l),e.bounds.width,1);break;case 2:h.ctx.fillRect(e.bounds.left,Math.round(e.bounds.top),e.bounds.width,1);break;case 3:h.ctx.fillRect(e.bounds.left,Math.ceil(e.bounds.top+c),e.bounds.width,1)}}));break;case 1:t.webkitTextStrokeWidth&&e.text.trim().length&&(h.ctx.strokeStyle=st(t.webkitTextStrokeColor),h.ctx.lineWidth=t.webkitTextStrokeWidth,h.ctx.lineJoin=window.chrome?"miter":"round",h.ctx.strokeText(e.text,e.bounds.left,e.bounds.top+l)),h.ctx.strokeStyle="",h.ctx.lineWidth=0,h.ctx.lineJoin="miter"}})}),[2]})})},n.prototype.renderReplacedElement=function(e,t,n){if(n&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var r=Po(e),i=_o(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(e){return r(this,void 0,void 0,function(){var t,r,o,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_;return i(this,function(i){switch(i.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,r=e.curves,o=t.styles,s=0,l=t.textNodes,i.label=1;case 1:return s<l.length?(c=l[s],[4,this.renderTextNode(c,o)]):[3,4];case 2:i.sent(),i.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof Vr))return[3,8];i.label=5;case 5:return i.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return m=i.sent(),this.renderReplacedElement(t,r,m),[3,8];case 7:return i.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof Gr&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof Wr))return[3,12];i.label=9;case 9:return i.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return m=i.sent(),this.renderReplacedElement(t,r,m),[3,12];case 11:return i.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof ai&&t.tree?[4,new n(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:u=i.sent(),t.width&&t.height&&this.ctx.drawImage(u,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),i.label=14;case 14:if(t instanceof ri&&(h=Math.min(t.bounds.width,t.bounds.height),t.type===ei?t.checked&&(this.ctx.save(),this.path([new po(t.bounds.left+.39363*h,t.bounds.top+.79*h),new po(t.bounds.left+.16*h,t.bounds.top+.5549*h),new po(t.bounds.left+.27347*h,t.bounds.top+.44071*h),new po(t.bounds.left+.39694*h,t.bounds.top+.5649*h),new po(t.bounds.left+.72983*h,t.bounds.top+.23*h),new po(t.bounds.left+.84*h,t.bounds.top+.34085*h),new po(t.bounds.left+.39363*h,t.bounds.top+.79*h)]),this.ctx.fillStyle=st(707406591),this.ctx.fill(),this.ctx.restore()):t.type===ti&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+h/2,t.bounds.top+h/2,h/4,0,2*Math.PI,!0),this.ctx.fillStyle=st(707406591),this.ctx.fill(),this.ctx.restore())),Vo(t)&&t.value.length){switch(d=this.createFontStyle(o),b=d[0],f=d[1],p=this.fontMetrics.getMetrics(b,f).baseline,this.ctx.font=b,this.ctx.fillStyle=st(o.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Wo(t.styles.textAlign),_=Po(t),A=0,t.styles.textAlign){case 1:A+=_.width/2;break;case 2:A+=_.width}g=_.add(A,0,0,-_.height/2+1),this.ctx.save(),this.path([new po(_.left,_.top),new po(_.left+_.width,_.top),new po(_.left+_.width,_.top+_.height),new po(_.left,_.top+_.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Ir(t.value,g),o.letterSpacing,p),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Zn(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(v=t.styles.listStyleImage).type)return[3,18];m=void 0,y=v.url,i.label=15;case 15:return i.trys.push([15,17,,18]),[4,this.context.cache.match(y)];case 16:return m=i.sent(),this.ctx.drawImage(m,t.bounds.left-(m.width+10),t.bounds.top),[3,18];case 17:return i.sent(),this.context.logger.error("Error loading list-style-image "+y),[3,18];case 18:return[3,20];case 19:e.listValue&&-1!==t.styles.listStyleType&&(b=this.createFontStyle(o)[0],this.ctx.font=b,this.ctx.fillStyle=st(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",_=new a(t.bounds.left,t.bounds.top+et(t.styles.paddingTop,t.bounds.width),t.bounds.width,dn(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Ir(e.listValue,_),o.letterSpacing,dn(o.lineHeight,o.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),i.label=20;case 20:return[2]}})})},n.prototype.renderStackContent=function(e){return r(this,void 0,void 0,function(){var t,n,r,o,a,s,l,c,u,h,d,f,p,A,g;return i(this,function(i){switch(i.label){case 0:return Zn(e.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:i.sent(),t=0,n=e.negativeZIndex,i.label=2;case 2:return t<n.length?(g=n[t],[4,this.renderStack(g)]):[3,5];case 3:i.sent(),i.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:i.sent(),r=0,o=e.nonInlineLevel,i.label=7;case 7:return r<o.length?(g=o[r],[4,this.renderNode(g)]):[3,10];case 8:i.sent(),i.label=9;case 9:return r++,[3,7];case 10:a=0,s=e.nonPositionedFloats,i.label=11;case 11:return a<s.length?(g=s[a],[4,this.renderStack(g)]):[3,14];case 12:i.sent(),i.label=13;case 13:return a++,[3,11];case 14:l=0,c=e.nonPositionedInlineLevel,i.label=15;case 15:return l<c.length?(g=c[l],[4,this.renderStack(g)]):[3,18];case 16:i.sent(),i.label=17;case 17:return l++,[3,15];case 18:u=0,h=e.inlineLevel,i.label=19;case 19:return u<h.length?(g=h[u],[4,this.renderNode(g)]):[3,22];case 20:i.sent(),i.label=21;case 21:return u++,[3,19];case 22:d=0,f=e.zeroOrAutoZIndexOrTransformedOrOpacity,i.label=23;case 23:return d<f.length?(g=f[d],[4,this.renderStack(g)]):[3,26];case 24:i.sent(),i.label=25;case 25:return d++,[3,23];case 26:p=0,A=e.positiveZIndex,i.label=27;case 27:return p<A.length?(g=A[p],[4,this.renderStack(g)]):[3,30];case 28:i.sent(),i.label=29;case 29:return p++,[3,27];case 30:return[2]}})})},n.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},n.prototype.formatPath=function(e){var t=this;e.forEach(function(e,n){var r=vo(e)?e.start:e;0===n?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),vo(e)&&t.ctx.bezierCurveTo(e.startControl.x,e.startControl.y,e.endControl.x,e.endControl.y,e.end.x,e.end.y)})},n.prototype.renderRepeat=function(e,t,n,r){this.path(e),this.ctx.fillStyle=t,this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)},n.prototype.resizeImage=function(e,t,n){var r;if(e.width===t&&e.height===n)return e;var i=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement("canvas");return i.width=Math.max(1,t),i.height=Math.max(1,n),i.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t,n),i},n.prototype.renderBackgroundImage=function(e){return r(this,void 0,void 0,function(){var t,n,r,o,a,s;return i(this,function(l){switch(l.label){case 0:t=e.styles.backgroundImage.length-1,n=function(n){var o,a,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C,S,B,k,T,E,M,D,O,I,L,P;return i(this,function(i){switch(i.label){case 0:if(0!==n.type)return[3,5];o=void 0,a=n.url,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,r.context.cache.match(a)];case 2:return o=i.sent(),[3,4];case 3:return i.sent(),r.context.logger.error("Error loading background-image "+a),[3,4];case 4:return o&&(s=Fo(e,t,[o.width,o.height,o.width/o.height]),b=s[0],B=s[1],k=s[2],x=s[3],C=s[4],m=r.ctx.createPattern(r.resizeImage(o,x,C),"repeat"),r.renderRepeat(b,m,B,k)),[3,6];case 5:1===n.type?(l=Fo(e,t,[null,null,null]),b=l[0],B=l[1],k=l[2],x=l[3],C=l[4],c=bt(n.angle,x,C),u=c[0],h=c[1],d=c[2],f=c[3],p=c[4],(A=document.createElement("canvas")).width=x,A.height=C,g=A.getContext("2d"),v=g.createLinearGradient(h,f,d,p),yt(n.stops,u).forEach(function(e){return v.addColorStop(e.stop,st(e.color))}),g.fillStyle=v,g.fillRect(0,0,x,C),x>0&&C>0&&(m=r.ctx.createPattern(A,"repeat"),r.renderRepeat(b,m,B,k))):function(e){return 2===e.type}(n)&&(y=Fo(e,t,[null,null,null]),b=y[0],_=y[1],w=y[2],x=y[3],C=y[4],S=0===n.position.length?[Ke]:n.position,B=et(S[0],x),k=et(S[S.length-1],C),T=function(e,t,n,r,i){var o=0,a=0;switch(e.size){case 0:0===e.shape?o=a=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.min(Math.abs(t),Math.abs(t-r)),a=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(0===e.shape)o=a=Math.min(_t(t,n),_t(t,n-i),_t(t-r,n),_t(t-r,n-i));else if(1===e.shape){var s=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),l=wt(r,i,t,n,!0),c=l[0],u=l[1];a=s*(o=_t(c-t,(u-n)/s))}break;case 1:0===e.shape?o=a=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):1===e.shape&&(o=Math.max(Math.abs(t),Math.abs(t-r)),a=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(0===e.shape)o=a=Math.max(_t(t,n),_t(t,n-i),_t(t-r,n),_t(t-r,n-i));else if(1===e.shape){s=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r));var h=wt(r,i,t,n,!1);c=h[0],u=h[1],a=s*(o=_t(c-t,(u-n)/s))}}return Array.isArray(e.size)&&(o=et(e.size[0],r),a=2===e.size.length?et(e.size[1],i):o),[o,a]}(n,B,k,x,C),E=T[0],M=T[1],E>0&&M>0&&(D=r.ctx.createRadialGradient(_+B,w+k,0,_+B,w+k,E),yt(n.stops,2*E).forEach(function(e){return D.addColorStop(e.stop,st(e.color))}),r.path(b),r.ctx.fillStyle=D,E!==M?(O=e.bounds.left+.5*e.bounds.width,I=e.bounds.top+.5*e.bounds.height,P=1/(L=M/E),r.ctx.save(),r.ctx.translate(O,I),r.ctx.transform(1,0,0,L,0,0),r.ctx.translate(-O,-I),r.ctx.fillRect(_,P*(w-I)+I,x,C*P),r.ctx.restore()):r.ctx.fill())),i.label=6;case 6:return t--,[2]}})},r=this,o=0,a=e.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return o<a.length?(s=a[o],[5,n(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return o++,[3,1];case 4:return[2]}})})},n.prototype.renderSolidBorder=function(e,t,n){return r(this,void 0,void 0,function(){return i(this,function(r){return this.path(Do(n,t)),this.ctx.fillStyle=st(e),this.ctx.fill(),[2]})})},n.prototype.renderDoubleBorder=function(e,t,n,o){return r(this,void 0,void 0,function(){var r,a;return i(this,function(i){switch(i.label){case 0:return t<3?[4,this.renderSolidBorder(e,n,o)]:[3,2];case 1:return i.sent(),[2];case 2:return r=function(e,t){switch(t){case 0:return Io(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return Io(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return Io(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);case 3:default:return Io(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}}(o,n),this.path(r),this.ctx.fillStyle=st(e),this.ctx.fill(),a=function(e,t){switch(t){case 0:return Io(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return Io(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return Io(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);case 3:default:return Io(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}}(o,n),this.path(a),this.ctx.fill(),[2]}})})},n.prototype.renderNodeBackgroundAndBorders=function(e){return r(this,void 0,void 0,function(){var t,n,r,o,a,s,l,c,u=this;return i(this,function(i){switch(i.label){case 0:return this.applyEffects(e.getEffects(2)),t=e.container.styles,n=!at(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],o=Go(jo(t.backgroundClip,0),e.curves),n||t.boxShadow.length?(this.ctx.save(),this.path(o),this.ctx.clip(),at(t.backgroundColor)||(this.ctx.fillStyle=st(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:i.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach(function(t){u.ctx.save();var n,r,i,o,a,s=bo(e.curves),l=t.inset?0:1e4,c=(n=s,r=-l+(t.inset?1:-1)*t.spread.number,i=(t.inset?1:-1)*t.spread.number,o=t.spread.number*(t.inset?-2:2),a=t.spread.number*(t.inset?-2:2),n.map(function(e,t){switch(t){case 0:return e.add(r,i);case 1:return e.add(r+o,i);case 2:return e.add(r+o,i+a);case 3:return e.add(r,i+a)}return e}));t.inset?(u.path(s),u.ctx.clip(),u.mask(c)):(u.mask(s),u.ctx.clip(),u.path(c)),u.ctx.shadowOffsetX=t.offsetX.number+l,u.ctx.shadowOffsetY=t.offsetY.number,u.ctx.shadowColor=st(t.color),u.ctx.shadowBlur=t.blur.number,u.ctx.fillStyle=t.inset?st(t.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()}),i.label=2;case 2:a=0,s=0,l=r,i.label=3;case 3:return s<l.length?0!==(c=l[s]).style&&!at(c.color)&&c.width>0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,2)]:[3,11]:[3,13];case 4:return i.sent(),[3,11];case 5:return 3!==c.style?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,a,e.curves,3)];case 6:return i.sent(),[3,11];case 7:return 4!==c.style?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,a,e.curves)];case 8:return i.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,a,e.curves)];case 10:i.sent(),i.label=11;case 11:a++,i.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},n.prototype.renderDashedDottedBorder=function(e,t,n,o,a){return r(this,void 0,void 0,function(){var r,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_;return i(this,function(i){return this.ctx.save(),r=function(e,t){switch(t){case 0:return Oo(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Oo(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Oo(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return Oo(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}}(o,n),s=Do(o,n),2===a&&(this.path(s),this.ctx.clip()),vo(s[0])?(l=s[0].start.x,c=s[0].start.y):(l=s[0].x,c=s[0].y),vo(s[1])?(u=s[1].end.x,h=s[1].end.y):(u=s[1].x,h=s[1].y),d=0===n||2===n?Math.abs(l-u):Math.abs(c-h),this.ctx.beginPath(),3===a?this.formatPath(r):this.formatPath(s.slice(0,2)),f=t<3?3*t:2*t,p=t<3?2*t:t,3===a&&(f=t,p=t),A=!0,d<=2*f?A=!1:d<=2*f+p?(f*=g=d/(2*f+p),p*=g):(v=Math.floor((d+p)/(f+p)),m=(d-v*f)/(v-1),p=(y=(d-(v+1)*f)/v)<=0||Math.abs(p-m)<Math.abs(p-y)?m:y),A&&(3===a?this.ctx.setLineDash([0,f+p]):this.ctx.setLineDash([f,p])),3===a?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=st(e),this.ctx.stroke(),this.ctx.setLineDash([]),2===a&&(vo(s[0])&&(b=s[3],_=s[0],this.ctx.beginPath(),this.formatPath([new po(b.end.x,b.end.y),new po(_.start.x,_.start.y)]),this.ctx.stroke()),vo(s[1])&&(b=s[1],_=s[2],this.ctx.beginPath(),this.formatPath([new po(b.end.x,b.end.y),new po(_.start.x,_.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},n.prototype.render=function(e){return r(this,void 0,void 0,function(){var t;return i(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=st(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=new To(e,null),i=new ko(r),Eo(r,i,i,o=[]),Mo(r.container,o),t=i,[4,this.renderStack(t)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}var r,i,o})})},n}(zo),Vo=function(e){return e instanceof oi||(e instanceof ii||e instanceof ri&&e.type!==ti&&e.type!==ei)},Go=function(e,t){switch(e){case 0:return bo(t);case 2:return function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]}(t);case 1:default:return _o(t)}},Wo=function(e){switch(e){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Xo=["-apple-system","system-ui"],Zo=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(e){return-1===Xo.indexOf(e)}):e},$o=function(e){function n(t,n){var r=e.call(this,t,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return t(n,e),n.prototype.render=function(e){return r(this,void 0,void 0,function(){var t,n;return i(this,function(r){switch(r.label){case 0:return t=Mr(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,Ko(t)];case 1:return n=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=st(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},n}(zo),Ko=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))})},Jo=function(){function e(e){var t=e.id,n=e.enabled;this.id=t,this.enabled=n,this.start=Date.now()}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,o([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,o([this.id,this.getTime()+"ms"],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,o([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,o([this.id,this.getTime()+"ms"],e)):this.info.apply(this,e))},e.instances={},e}(),qo=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new Jo({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new io(this,t)}return e.instanceCount=1,e}();"undefined"!=typeof window&&ro.setContext(window);var ea=function(e,t){return r(void 0,void 0,void 0,function(){var r,o,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C,S,B,k,T,E,M,D,O,I,L,P,F,R,N,H,j,U,Q,z;return i(this,function(i){switch(i.label){case 0:if(!e||"object"!=typeof e)return[2,Promise.reject("Invalid element provided as first argument")];if(!(r=e.ownerDocument))throw new Error("Element is not attached to a Document");if(!(o=r.defaultView))throw new Error("Document is not attached to a Window");return l={allowTaint:null!==(k=t.allowTaint)&&void 0!==k&&k,imageTimeout:null!==(T=t.imageTimeout)&&void 0!==T?T:15e3,proxy:t.proxy,useCORS:null!==(E=t.useCORS)&&void 0!==E&&E},c=n({logging:null===(M=t.logging)||void 0===M||M,cache:t.cache},l),u={windowWidth:null!==(D=t.windowWidth)&&void 0!==D?D:o.innerWidth,windowHeight:null!==(O=t.windowHeight)&&void 0!==O?O:o.innerHeight,scrollX:null!==(I=t.scrollX)&&void 0!==I?I:o.pageXOffset,scrollY:null!==(L=t.scrollY)&&void 0!==L?L:o.pageYOffset},h=new a(u.scrollX,u.scrollY,u.windowWidth,u.windowHeight),d=new qo(c,h),f=null!==(P=t.foreignObjectRendering)&&void 0!==P&&P,p={allowTaint:null!==(F=t.allowTaint)&&void 0!==F&&F,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:f,copyStyles:f},d.logger.debug("Starting document clone with size "+h.width+"x"+h.height+" scrolled to "+-h.left+","+-h.top),A=new Qi(d,e,p),(g=A.clonedReferenceElement)?[4,A.toIFrame(r,h)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return v=i.sent(),m=_i(g)||"HTML"===g.tagName?function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new a(0,0,r,i)}(g.ownerDocument):s(d,g),y=m.width,b=m.height,_=m.left,w=m.top,x=ta(d,g,t.backgroundColor),C={canvas:t.canvas,backgroundColor:x,scale:null!==(N=null!==(R=t.scale)&&void 0!==R?R:o.devicePixelRatio)&&void 0!==N?N:1,x:(null!==(H=t.x)&&void 0!==H?H:0)+_,y:(null!==(j=t.y)&&void 0!==j?j:0)+w,width:null!==(U=t.width)&&void 0!==U?U:Math.ceil(y),height:null!==(Q=t.height)&&void 0!==Q?Q:Math.ceil(b)},f?(d.logger.debug("Document cloned, using foreign object rendering"),[4,new $o(d,C).render(g)]):[3,3];case 2:return S=i.sent(),[3,5];case 3:return d.logger.debug("Document cloned, element located at "+_+","+w+" with size "+y+"x"+b+" using computed rendering"),d.logger.debug("Starting DOM parsing"),B=ui(d,g),x===B.styles.backgroundColor&&(B.styles.backgroundColor=At.TRANSPARENT),d.logger.debug("Starting renderer for element at "+C.x+","+C.y+" with size "+C.width+"x"+C.height),[4,new Yo(d,C).render(B)];case 4:S=i.sent(),i.label=5;case 5:return(null===(z=t.removeContainer)||void 0===z||z)&&(Qi.destroy(v)||d.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),d.logger.debug("Finished rendering"),[2,S]}})})},ta=function(e,t,n){var r=t.ownerDocument,i=r.documentElement?pt(e,getComputedStyle(r.documentElement).backgroundColor):At.TRANSPARENT,o=r.body?pt(e,getComputedStyle(r.body).backgroundColor):At.TRANSPARENT,a="string"==typeof n?pt(e,n):null===n?At.TRANSPARENT:4294967295;return t===r.documentElement?at(i)?at(o)?a:o:i:a};return function(e,t){return void 0===t&&(t={}),ea(e,t)}},e.exports=r()},eNfa:function(e,t,n){"use strict";var r;!function(i){var o={},a=/d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,s="[^\\s]+",l=/\[([^]*?)\]/gm,c=function(){};function u(e,t){for(var n=[],r=0,i=e.length;r<i;r++)n.push(e[r].substr(0,t));return n}function h(e){return function(t,n,r){var i=r[e].indexOf(n.charAt(0).toUpperCase()+n.substr(1).toLowerCase());~i&&(t.month=i)}}function d(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e}var f=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],p=["January","February","March","April","May","June","July","August","September","October","November","December"],A=u(p,3),g=u(f,3);o.i18n={dayNamesShort:g,dayNames:f,monthNamesShort:A,monthNames:p,amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:(e-e%10!=10)*e%10]}};var v={D:function(e){return e.getDay()},DD:function(e){return d(e.getDay())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return e.getDate()},dd:function(e){return d(e.getDate())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return e.getMonth()+1},MM:function(e){return d(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},yy:function(e){return d(String(e.getFullYear()),4).substr(2)},yyyy:function(e){return d(e.getFullYear(),4)},h:function(e){return e.getHours()%12||12},hh:function(e){return d(e.getHours()%12||12)},H:function(e){return e.getHours()},HH:function(e){return d(e.getHours())},m:function(e){return e.getMinutes()},mm:function(e){return d(e.getMinutes())},s:function(e){return e.getSeconds()},ss:function(e){return d(e.getSeconds())},S:function(e){return Math.round(e.getMilliseconds()/100)},SS:function(e){return d(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return d(e.getMilliseconds(),3)},a:function(e,t){return e.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(e,t){return e.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+d(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)}},m={d:["\\d\\d?",function(e,t){e.day=t}],Do:["\\d\\d?"+s,function(e,t){e.day=parseInt(t,10)}],M:["\\d\\d?",function(e,t){e.month=t-1}],yy:["\\d\\d?",function(e,t){var n=+(""+(new Date).getFullYear()).substr(0,2);e.year=""+(t>68?n-1:n)+t}],h:["\\d\\d?",function(e,t){e.hour=t}],m:["\\d\\d?",function(e,t){e.minute=t}],s:["\\d\\d?",function(e,t){e.second=t}],yyyy:["\\d{4}",function(e,t){e.year=t}],S:["\\d",function(e,t){e.millisecond=100*t}],SS:["\\d{2}",function(e,t){e.millisecond=10*t}],SSS:["\\d{3}",function(e,t){e.millisecond=t}],D:["\\d\\d?",c],ddd:[s,c],MMM:[s,h("monthNamesShort")],MMMM:[s,h("monthNames")],a:[s,function(e,t,n){var r=t.toLowerCase();r===n.amPm[0]?e.isPm=!1:r===n.amPm[1]&&(e.isPm=!0)}],ZZ:["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",function(e,t){var n,r=(t+"").match(/([+-]|\d\d)/gi);r&&(n=60*r[1]+parseInt(r[2],10),e.timezoneOffset="+"===r[0]?n:-n)}]};m.dd=m.d,m.dddd=m.ddd,m.DD=m.D,m.mm=m.m,m.hh=m.H=m.HH=m.h,m.MM=m.M,m.ss=m.s,m.A=m.a,o.masks={default:"ddd MMM dd yyyy HH:mm:ss",shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},o.format=function(e,t,n){var r=n||o.i18n;if("number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw new Error("Invalid Date in fecha.format");var i=[];return(t=(t=(t=o.masks[t]||t||o.masks.default).replace(l,function(e,t){return i.push(t),"@@@"})).replace(a,function(t){return t in v?v[t](e,r):t.slice(1,t.length-1)})).replace(/@@@/g,function(){return i.shift()})},o.parse=function(e,t,n){var r=n||o.i18n;if("string"!=typeof t)throw new Error("Invalid format in fecha.parse");if(t=o.masks[t]||t,e.length>1e3)return null;var i={},s=[],c=[];t=t.replace(l,function(e,t){return c.push(t),"@@@"});var u,h=(u=t,u.replace(/[|\\{()[^$+*?.-]/g,"\\$&")).replace(a,function(e){if(m[e]){var t=m[e];return s.push(t[1]),"("+t[0]+")"}return e});h=h.replace(/@@@/g,function(){return c.shift()});var d=e.match(new RegExp(h,"i"));if(!d)return null;for(var f=1;f<d.length;f++)s[f-1](i,d[f],r);var p,A=new Date;return!0===i.isPm&&null!=i.hour&&12!=+i.hour?i.hour=+i.hour+12:!1===i.isPm&&12==+i.hour&&(i.hour=0),null!=i.timezoneOffset?(i.minute=+(i.minute||0)-+i.timezoneOffset,p=new Date(Date.UTC(i.year||A.getFullYear(),i.month||0,i.day||1,i.hour||0,i.minute||0,i.second||0,i.millisecond||0))):p=new Date(i.year||A.getFullYear(),i.month||0,i.day||1,i.hour||0,i.minute||0,i.second||0,i.millisecond||0),p},void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},edjc:function(e,t,n){"use strict";(function(e){t.p=function(e){var t;if(e&&"transparent"!==e){if("string"==typeof e&&e.indexOf("rgba")>-1){var n=Object(i.parse)(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}}else e="none";return{color:e,opacity:null==t?1:t}},t.j=function(e){return e<s&&e>-s},t.q=c,t.e=function(e){return"matrix("+l(e[0])+","+l(e[1])+","+l(e[2])+","+l(e[3])+","+c(e[4])+","+c(e[5])+")"},n.d(t,"a",function(){return u}),t.b=function(e,t,n){"top"===n?e+=t/2:"bottom"===n&&(e-=t/2);return e},t.i=function(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)},t.h=function(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")},t.l=h,t.n=function(e){return h(e)||function(e){return e&&!!e.svgElement}(e)},t.m=function(e){return"linear"===e.type},t.o=function(e){return"radial"===e.type},t.k=function(e){return e&&("linear"===e.type||"radial"===e.type)},t.d=function(e){return"url(#"+e+")"},t.f=function(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)},t.g=function(e){var t=e.x||0,n=e.y||0,i=(e.rotation||0)*r.RADIAN_TO_DEGREE,o=Object(r.retrieve2)(e.scaleX,1),s=Object(r.retrieve2)(e.scaleY,1),l=e.skewX||0,c=e.skewY||0,u=[];(t||n)&&u.push("translate("+t+"px,"+n+"px)");i&&u.push("rotate("+i+")");1===o&&1===s||u.push("scale("+o+","+s+")");(l||c)&&u.push("skew("+a(l*r.RADIAN_TO_DEGREE)+"deg, "+a(c*r.RADIAN_TO_DEGREE)+"deg)");return u.join(" ")},n.d(t,"c",function(){return d});var r=n("/gxq"),i=n("DRaW"),o=n("YNzw"),a=Math.round;var s=1e-4;function l(e){return a(1e3*e)/1e3}function c(e){return a(1e4*e)/1e4}var u={left:"start",right:"end",center:"middle",middle:"middle"};function h(e){return e&&!!e.image}var d=o.a.hasGlobalWindow&&Object(r.isFunction)(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:void 0!==e?function(t){return e.from(t).toString("base64")}:function(e){return null}}).call(t,n("EuP9").Buffer)},evD5:function(e,t,n){var r=n("77Pl"),i=n("SfB7"),o=n("MmMw"),a=Object.defineProperty;t.f=n("+E39")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},exGp:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n("//Fk"),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return function(){var t=e.apply(this,arguments);return new o.default(function(e,n){return function r(i,a){try{var s=t[i](a),l=s.value}catch(e){return void n(e)}if(!s.done)return o.default.resolve(l).then(function(e){r("next",e)},function(e){r("throw",e)});e(l)}("next")})}}},f64w:function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int),o=(r.new_int_n,r.assert,n("0mjX"));e.exports=function(){this.tt=[[null,null],[null,null]],this.main_data_begin=0,this.private_bits=0,this.resvDrain_pre=0,this.resvDrain_post=0,this.scfsi=[i(4),i(4)];for(var e=0;e<2;e++)for(var t=0;t<2;t++)this.tt[e][t]=new o}},fBQ2:function(e,t,n){"use strict";var r=n("evD5"),i=n("X8DO");e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},"fEB+":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=127)}({127:function(e,t,n){"use strict";n.r(t);var r=n(16),i=n(38),o=n.n(i),a=n(3),s=n(2),l={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};var c={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return l[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,r=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+r.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:function(e){var t=e.move,n=e.size,r=e.bar,i={},o="translate"+r.axis+"("+t+"%)";return i[r.size]=n,i.transform=o,i.msTransform=o,i.webkitTransform=o,i}({size:t,move:n,bar:r})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=100*(Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-this.$refs.thumb[this.bar.offset]/2)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=t*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(s.on)(document,"mousemove",this.mouseMoveDocumentHandler),Object(s.on)(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=100*(-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-(this.$refs.thumb[this.bar.offset]-t))/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=n*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(s.off)(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(s.off)(document,"mouseup",this.mouseUpDocumentHandler)}},u={name:"ElScrollbar",components:{Bar:c},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=o()(),n=this.wrapStyle;if(t){var r="-"+t+"px",i="margin-bottom: "+r+"; margin-right: "+r+";";Array.isArray(this.wrapStyle)?(n=Object(a.toObject)(this.wrapStyle)).marginRight=n.marginBottom=r:"string"==typeof this.wrapStyle?n+=i:n=i}var s=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[s]]);return e("div",{class:"el-scrollbar"},this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[l,e(c,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(c,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})])},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e,t,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(r.addResizeListener)(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(r.removeResizeListener)(this.$refs.resize,this.update)},install:function(e){e.component(u.name,u)}};t.default=u},16:function(e,t){e.exports=n("02w1")},2:function(e,t){e.exports=n("2kvA")},3:function(e,t){e.exports=n("ylDJ")},38:function(e,t){e.exports=n("6Twh")}})},fJUb:function(e,t,n){var r=n("77Pl"),i=n("EqjI"),o=n("qARP");e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},fKx3:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n("7+uW"),o=(r=i)&&r.__esModule?r:{default:r},a=n("7J9s");var s=o.default.prototype.$isServer?function(){}:n("NMof"),l=function(e){return e.stopPropagation()};t.default={props:{transformOrigin:{type:[Boolean,String],default:!0},placement:{type:String,default:"bottom"},boundariesPadding:{type:Number,default:5},reference:{},popper:{},offset:{default:0},value:Boolean,visibleArrow:Boolean,arrowOffset:{type:Number,default:35},appendToBody:{type:Boolean,default:!0},popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}}},data:function(){return{showPopper:!1,currentPlacement:""}},watch:{value:{immediate:!0,handler:function(e){this.showPopper=e,this.$emit("input",e)}},showPopper:function(e){this.disabled||(e?this.updatePopper():this.destroyPopper(),this.$emit("input",e))}},methods:{createPopper:function(){var e=this;if(!this.$isServer&&(this.currentPlacement=this.currentPlacement||this.placement,/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement))){var t=this.popperOptions,n=this.popperElm=this.popperElm||this.popper||this.$refs.popper,r=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!r&&this.$slots.reference&&this.$slots.reference[0]&&(r=this.referenceElm=this.$slots.reference[0].elm),n&&r&&(this.visibleArrow&&this.appendArrow(n),this.appendToBody&&document.body.appendChild(this.popperElm),this.popperJS&&this.popperJS.destroy&&this.popperJS.destroy(),t.placement=this.currentPlacement,t.offset=this.offset,t.arrowOffset=this.arrowOffset,this.popperJS=new s(r,n,t),this.popperJS.onCreate(function(t){e.$emit("created",e),e.resetTransformOrigin(),e.$nextTick(e.updatePopper)}),"function"==typeof t.onUpdate&&this.popperJS.onUpdate(t.onUpdate),this.popperJS._popper.style.zIndex=a.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",l))}},updatePopper:function(){var e=this.popperJS;e?(e.update(),e._popper&&(e._popper.style.zIndex=a.PopupManager.nextZIndex())):this.createPopper()},doDestroy:function(e){!this.popperJS||this.showPopper&&!e||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin()},resetTransformOrigin:function(){if(this.transformOrigin){var e=this.popperJS._popper.getAttribute("x-placement").split("-")[0],t={top:"bottom",bottom:"top",left:"right",right:"left"}[e];this.popperJS._popper.style.transformOrigin="string"==typeof this.transformOrigin?this.transformOrigin:["top","bottom"].indexOf(e)>-1?"center "+t:t+" center"}},appendArrow:function(e){var t=void 0;if(!this.appended){for(var n in this.appended=!0,e.attributes)if(/^_v-/.test(e.attributes[n].name)){t=e.attributes[n].name;break}var r=document.createElement("div");t&&r.setAttribute(t,""),r.setAttribute("x-arrow",""),r.className="popper__arrow",e.appendChild(r)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",l),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},fPll:function(e,t,n){"use strict";t.__esModule=!0,t.default={methods:{dispatch:function(e,t,n){for(var r=this.$parent||this.$root,i=r.$options.componentName;r&&(!i||i!==e);)(r=r.$parent)&&(i=r.$options.componentName);r&&r.$emit.apply(r,[t].concat(n))},broadcast:function(e,t,n){(function e(t,n,r){this.$children.forEach(function(i){i.$options.componentName===t?i.$emit.apply(i,[n].concat(r)):e.apply(i,[t,n].concat([r]))})}).call(this,e,t,n)}}}},fRHV:function(e,t,n){"use strict";var r=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,o=r.call(arguments,1),a=Math.max(0,t.length-o.length),s=[],l=0;l<a;l++)s.push("$"+l);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof n){var i=t.apply(this,o.concat(r.call(arguments)));return Object(i)===i?i:this}return t.apply(e,o.concat(r.call(arguments)))}),t.prototype){var c=function(){};c.prototype=t.prototype,n.prototype=new c,c.prototype=null}return n}},fUqW:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isVNode=function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(0,i.hasOwn)(e,"componentOptions")};var i=n("ylDJ")},fWfb:function(e,t,n){"use strict";var r=n("7KvD"),i=n("D2L2"),o=n("+E39"),a=n("kM2E"),s=n("880/"),l=n("06OY").KEY,c=n("S82l"),u=n("e8AB"),h=n("e6n0"),d=n("3Eo+"),f=n("dSzd"),p=n("Kh4W"),A=n("crlp"),g=n("Xc4G"),v=n("7UMu"),m=n("77Pl"),y=n("EqjI"),b=n("sB3e"),_=n("TcQ7"),w=n("MmMw"),x=n("X8DO"),C=n("Yobk"),S=n("Rrel"),B=n("LKZe"),k=n("1kS7"),T=n("evD5"),E=n("lktj"),M=B.f,D=T.f,O=S.f,I=r.Symbol,L=r.JSON,P=L&&L.stringify,F=f("_hidden"),R=f("toPrimitive"),N={}.propertyIsEnumerable,H=u("symbol-registry"),j=u("symbols"),U=u("op-symbols"),Q=Object.prototype,z="function"==typeof I&&!!k.f,Y=r.QObject,V=!Y||!Y.prototype||!Y.prototype.findChild,G=o&&c(function(){return 7!=C(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=M(Q,t);r&&delete Q[t],D(e,t,n),r&&e!==Q&&D(Q,t,r)}:D,W=function(e){var t=j[e]=C(I.prototype);return t._k=e,t},X=z&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},Z=function(e,t,n){return e===Q&&Z(U,t,n),m(e),t=w(t,!0),m(n),i(j,t)?(n.enumerable?(i(e,F)&&e[F][t]&&(e[F][t]=!1),n=C(n,{enumerable:x(0,!1)})):(i(e,F)||D(e,F,x(1,{})),e[F][t]=!0),G(e,t,n)):D(e,t,n)},$=function(e,t){m(e);for(var n,r=g(t=_(t)),i=0,o=r.length;o>i;)Z(e,n=r[i++],t[n]);return e},K=function(e){var t=N.call(this,e=w(e,!0));return!(this===Q&&i(j,e)&&!i(U,e))&&(!(t||!i(this,e)||!i(j,e)||i(this,F)&&this[F][e])||t)},J=function(e,t){if(e=_(e),t=w(t,!0),e!==Q||!i(j,t)||i(U,t)){var n=M(e,t);return!n||!i(j,t)||i(e,F)&&e[F][t]||(n.enumerable=!0),n}},q=function(e){for(var t,n=O(_(e)),r=[],o=0;n.length>o;)i(j,t=n[o++])||t==F||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===Q,r=O(n?U:_(e)),o=[],a=0;r.length>a;)!i(j,t=r[a++])||n&&!i(Q,t)||o.push(j[t]);return o};z||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===Q&&t.call(U,n),i(this,F)&&i(this[F],e)&&(this[F][e]=!1),G(this,e,x(1,n))};return o&&V&&G(Q,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),B.f=J,T.f=Z,n("n0T6").f=S.f=q,n("NpIQ").f=K,k.f=ee,o&&!n("O4g8")&&s(Q,"propertyIsEnumerable",K,!0),p.f=function(e){return W(f(e))}),a(a.G+a.W+a.F*!z,{Symbol:I});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var re=E(f.store),ie=0;re.length>ie;)A(re[ie++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return i(H,e+="")?H[e]:H[e]=I(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in H)if(H[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!z,"Object",{create:function(e,t){return void 0===t?C(e):$(C(e),t)},defineProperty:Z,defineProperties:$,getOwnPropertyDescriptor:J,getOwnPropertyNames:q,getOwnPropertySymbols:ee});var oe=c(function(){k.f(1)});a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return k.f(b(e))}}),L&&a(a.S+a.F*(!z||c(function(){var e=I();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!X(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,P.apply(L,r)}}),I.prototype[R]||n("hJx8")(I.prototype,R,I.prototype.valueOf),h(I,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},fZOM:function(e,t,n){var r=n("kM2E"),i=n("mbce")(!1);r(r.S,"Object",{values:function(e){return i(e)}})},fZjL:function(e,t,n){e.exports={default:n("jFbC"),__esModule:!0}},fd8M:function(e,t){e.exports=function(){this.sum=0,this.seen=0,this.want=0,this.pos=0,this.size=0,this.bag=null,this.nVbrNumFrames=0,this.nBytesWritten=0,this.TotalFrameSize=0}},fkB2:function(e,t,n){var r=n("UuGF"),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},fuGk:function(e,t,n){"use strict";var r=n("cGG2");function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},fxRn:function(e,t,n){n("+tPU"),n("zQR9"),e.exports=n("g8Ux")},g8Ux:function(e,t,n){var r=n("77Pl"),i=n("3fs2");e.exports=n("FeBl").getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},gAsd:function(e,t,n){n("G5/o");var r=n("FeBl").Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},gRE1:function(e,t,n){e.exports={default:n("TmV0"),__esModule:!0}},gcUb:function(e,t,n){"use strict";var r=n("7ar3"),i=n("WER7"),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},h65t:function(e,t,n){var r=n("UuGF"),i=n("52gC");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},hJx8:function(e,t,n){var r=n("evD5"),i=n("X8DO");e.exports=n("+E39")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},hM5s:function(e,t,n){n("cnZr"),e.exports=n("FeBl").setImmediate},hiCB:function(e,t,n){e.exports={default:n("dSOO"),__esModule:!0}},hyEB:function(e,t,n){"use strict";t.__esModule=!0;var r=r||{};r.Utils=r.Utils||{},r.Utils.focusFirstDescendant=function(e){for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];if(r.Utils.attemptFocus(n)||r.Utils.focusFirstDescendant(n))return!0}return!1},r.Utils.focusLastDescendant=function(e){for(var t=e.childNodes.length-1;t>=0;t--){var n=e.childNodes[t];if(r.Utils.attemptFocus(n)||r.Utils.focusLastDescendant(n))return!0}return!1},r.Utils.attemptFocus=function(e){if(!r.Utils.isFocusable(e))return!1;r.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(e){}return r.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},r.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},r.Utils.triggerEvent=function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var r=document.createEvent(n),i=arguments.length,o=Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];return r.initEvent.apply(r,[t].concat(o)),e.dispatchEvent?e.dispatchEvent(r):e.fireEvent("on"+t,r),e},r.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40,esc:27},t.default=r.Utils},i3rX:function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){var n;return t&&!0===t.clone&&r(e)?s((n=e,Array.isArray(n)?[]:{}),e,t):e}function a(e,t,n){var i=e.slice();return t.forEach(function(t,a){void 0===i[a]?i[a]=o(t,n):r(t)?i[a]=s(e[a],t,n):-1===e.indexOf(t)&&i.push(o(t,n))}),i}function s(e,t,n){var i=Array.isArray(t);return i===Array.isArray(e)?i?((n||{arrayMerge:a}).arrayMerge||a)(e,t,n):function(e,t,n){var i={};return r(e)&&Object.keys(e).forEach(function(t){i[t]=o(e[t],n)}),Object.keys(t).forEach(function(a){r(t[a])&&e[a]?i[a]=s(e[a],t[a],n):i[a]=o(t[a],n)}),i}(e,t,n):o(t,n)}s.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce(function(e,n){return s(e,n,t)})};var l=s;e.exports=l},iInB:function(e,t,n){var r=n("TcQ7"),i=n("LKZe").f;n("uqUo")("getOwnPropertyDescriptor",function(){return function(e,t){return i(r(e),t)}})},iUbK:function(e,t,n){var r=n("7KvD").navigator;e.exports=r&&r.userAgent||""},ioQ5:function(e,t,n){n("HpRW")("Set")},iqGf:function(e,t,n){var r;r=function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=3)}([function(t,n){t.exports=e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),i=window.videojs||r.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i)for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])}return n},writable:!0,configurable:!0});var o=["loadeddata","canplay","canplaythrough","play","pause","waiting","playing","ended","error"];t.default={name:"video-player",props:{start:{type:Number,default:0},crossOrigin:{type:String,default:""},playsinline:{type:Boolean,default:!1},customEventName:{type:String,default:"statechanged"},options:{type:Object,required:!0},events:{type:Array,default:function(){return[]}},globalOptions:{type:Object,default:function(){return{controls:!0,controlBar:{remainingTimeDisplay:!1,playToggle:{},progressControl:{},fullscreenToggle:{},volumeMenuButton:{inline:!1,vertical:!0}},techOrder:["html5"],plugins:{}}}},globalEvents:{type:Array,default:function(){return[]}}},data:function(){return{player:null,reseted:!0}},mounted:function(){this.player||this.initialize()},beforeDestroy:function(){this.player&&this.dispose()},methods:{initialize:function(){var e=this,t=Object.assign({},this.globalOptions,this.options);this.playsinline&&(this.$refs.video.setAttribute("playsinline",this.playsinline),this.$refs.video.setAttribute("webkit-playsinline",this.playsinline),this.$refs.video.setAttribute("x5-playsinline",this.playsinline),this.$refs.video.setAttribute("x5-video-player-type","h5"),this.$refs.video.setAttribute("x5-video-player-fullscreen",!1)),""!==this.crossOrigin&&(this.$refs.video.crossOrigin=this.crossOrigin,this.$refs.video.setAttribute("crossOrigin",this.crossOrigin));var n=function(t,n){t&&e.$emit(t,e.player),n&&e.$emit(e.customEventName,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n))};t.plugins&&delete t.plugins.__ob__;var r=this;this.player=i(this.$refs.video,t,function(){for(var e=this,t=o.concat(r.events).concat(r.globalEvents),i={},a=0;a<t.length;a++)"string"==typeof t[a]&&void 0===i[t[a]]&&function(t){i[t]=null,e.on(t,function(){n(t,!0)})}(t[a]);this.on("timeupdate",function(){n("timeupdate",this.currentTime())}),r.$emit("ready",this)})},dispose:function(e){var t=this;this.player&&this.player.dispose&&("Flash"!==this.player.techName_&&this.player.pause&&this.player.pause(),this.player.dispose(),this.player=null,this.$nextTick(function(){t.reseted=!1,t.$nextTick(function(){t.reseted=!0,t.$nextTick(function(){e&&e()})})}))}},watch:{options:{deep:!0,handler:function(e,t){var n=this;this.dispose(function(){e&&e.sources&&e.sources.length&&n.initialize()})}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n.n(r);for(var o in r)["default","default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return r[e]})}(o);var a=n(5),s=n(4)(i.a,a.a,!1,null,null,null);t.default=s.exports},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.install=t.videoPlayer=t.videojs=void 0;var i=r(n(0)),o=r(n(2)),a=window.videojs||i.default,s=function(e,t){t&&(t.options&&(o.default.props.globalOptions.default=function(){return t.options}),t.events&&(o.default.props.globalEvents.default=function(){return t.events})),e.component(o.default.name,o.default)},l={videojs:a,videoPlayer:o.default,install:s};t.default=l,t.videojs=a,t.videoPlayer=o.default,t.install=s},function(e,t){e.exports=function(e,t,n,r,i,o){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var c,u="function"==typeof s?s.options:s;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=c):r&&(c=r),c){var h=u.functional,d=h?u.render:u.beforeCreate;h?(u._injectStyles=c,u.render=function(e,t){return c.call(t),d(e,t)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:a,exports:s,options:u}}},function(e,t,n){"use strict";var r={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.reseted?n("div",{staticClass:"video-player"},[n("video",{ref:"video",staticClass:"video-js"})]):e._e()},staticRenderFns:[]};t.a=r}])},e.exports=r(n("Dia2"))},iwQb:function(e,t,n){"use strict";var r=n("POKh");t.a=function(e){var t=e.createLoadingTask,n=e.PDFJSWrapper;return{createLoadingTask:t,render:function(e){return e("span",{attrs:{style:"position: relative; display: block"}},[e("canvas",{attrs:{style:"display: inline-block; width: 100%; height: 100%; vertical-align: top"},ref:"canvas"}),e("span",{style:"display: inline-block; width: 100%; height: 100%",class:"annotationLayer",ref:"annotationLayer"}),e(r.a,{props:{initial:!0},on:{resize:this.resize}})])},props:{src:{type:[String,Object,Uint8Array],default:""},page:{type:Number,default:1},rotate:{type:Number}},watch:{src:function(){this.pdf.loadDocument(this.src)},page:function(){this.pdf.loadPage(this.page,this.rotate)},rotate:function(){this.pdf.renderPage(this.rotate)}},methods:{resize:function(e){if(null!==this.$el.parentNode&&(0!==e.width||0!==e.height)){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(this.$refs.canvas.height/this.$refs.canvas.width)+"px";var t=this.pdf.getResolutionScale();(t<.85||t>1.15)&&this.pdf.renderPage(this.rotate)}},print:function(e,t){this.pdf.printPage(e,t)}},mounted:function(){this.pdf=new n(this.$refs.canvas,this.$refs.annotationLayer,this.$emit.bind(this)),this.$on("loaded",function(){this.pdf.loadPage(this.page,this.rotate)}),this.$on("page-size",function(e,t){this.$refs.canvas.style.height=this.$refs.canvas.offsetWidth*(t/e)+"px"}),this.pdf.loadDocument(this.src)},destroyed:function(){this.pdf.destroy()}}}},jFbC:function(e,t,n){n("Cdx3"),e.exports=n("FeBl").Object.keys},jKIj:function(e,t,n){var r=n("To6e").assert;e.exports=function(){var e;this.setModules=function(t){e=t},this.ResvFrameBegin=function(t,n){var i,o=t.internal_flags,a=o.l3_side,s=e.getframebits(t);n.bits=(s-8*o.sideinfo_len)/o.mode_gr;var l=2048*o.mode_gr-8;t.brate>320?i=8*int(1e3*t.brate/(t.out_samplerate/1152)/8+.5):(i=11520,t.strict_ISO&&(i=8*int(32e4/(t.out_samplerate/1152)/8+.5))),o.ResvMax=i-s,o.ResvMax>l&&(o.ResvMax=l),(o.ResvMax<0||t.disable_reservoir)&&(o.ResvMax=0);var c=n.bits*o.mode_gr+Math.min(o.ResvSize,o.ResvMax);return c>i&&(c=i),r(0==o.ResvMax%8),r(o.ResvMax>=0),a.resvDrain_pre=0,null!=o.pinfo&&(o.pinfo.mean_bits=n.bits/2,o.pinfo.resvsize=o.ResvSize),c},this.ResvMaxBits=function(e,t,n,r){var i,o=e.internal_flags,a=o.ResvSize,s=o.ResvMax;0!=r&&(a+=t),0!=(1&o.substep_shaping)&&(s*=.9),n.bits=t,10*a>9*s?(i=a-9*s/10,n.bits+=i,o.substep_shaping|=128):(i=0,o.substep_shaping&=127,e.disable_reservoir||0!=(1&o.substep_shaping)||(n.bits-=.1*t));var l=a<6*o.ResvMax/10?a:6*o.ResvMax/10;return(l-=i)<0&&(l=0),l},this.ResvAdjust=function(e,t){e.ResvSize-=t.part2_3_length+t.part2_length},this.ResvFrameEnd=function(e,t){var n,i=e.l3_side;e.ResvSize+=t*e.mode_gr;var o=0;i.resvDrain_post=0,i.resvDrain_pre=0,0!=(n=e.ResvSize%8)&&(o+=n),(n=e.ResvSize-o-e.ResvMax)>0&&(r(0==n%8),r(n>=0),o+=n);var a=Math.min(8*i.main_data_begin,o)/8;i.resvDrain_pre+=8*a,o-=8*a,e.ResvSize-=8*a,i.main_data_begin-=a,i.resvDrain_post+=o,e.ResvSize-=o}}},"jKW+":function(e,t,n){"use strict";var r=n("kM2E"),i=n("qARP"),o=n("dNDb");r(r.S,"Promise",{try:function(e){var t=i.f(this),n=o(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},jhNZ:function(e,t,n){var r=n("/00o"),i={};i.SFBMAX=3*r.SBMAX_s,e.exports=i},jmaC:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t]||{};for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];void 0!==o&&(e[i]=o)}}return e}},jwfv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Dd8w"),i=n.n(r),o=n("pFYg"),a=n.n(o),s=/%[sdj%]/g,l=function(){};function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,i=t[0],o=t.length;if("function"==typeof i)return i.apply(null,t.slice(1));if("string"==typeof i){for(var a=String(i).replace(s,function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(e){return"[Circular]"}break;default:return e}}),l=t[r];r<o;l=t[++r])a+=" "+l;return a}return i}function u(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function h(e,t,n){var r=0,i=e.length;!function o(a){if(a&&a.length)n(a);else{var s=r;r+=1,s<i?t(e[s],o):n([])}}([])}function d(e,t,n,r){if(t.first)return h(function(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}(e),n,r);var i=t.firstFields||[];!0===i&&(i=Object.keys(e));var o=Object.keys(e),a=o.length,s=0,l=[],c=function(e){l.push.apply(l,e),++s===a&&r(l)};o.forEach(function(t){var r=e[t];-1!==i.indexOf(t)?h(r,n,c):function(e,t,n){var r=[],i=0,o=e.length;function a(e){r.push.apply(r,e),++i===o&&n(r)}e.forEach(function(e){t(e,a)})}(r,n,c)})}function f(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:t,field:t.field||e.fullField}}}function p(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"===(void 0===r?"undefined":a()(r))&&"object"===a()(e[n])?e[n]=i()({},e[n],r):e[n]=r}return e}var A=function(e,t,n,r,i,o){!e.required||n.hasOwnProperty(e.field)&&!u(t,o||e.type)||r.push(c(i.messages.required,e.fullField))};var g=function(e,t,n,r,i){(/^\s+$/.test(t)||""===t)&&r.push(c(i.messages.whitespace,e.fullField))},v={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},m={integer:function(e){return m.number(e)&&parseInt(e,10)===e},float:function(e){return m.number(e)&&!m.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":a()(e))&&!m.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(v.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(v.url)},hex:function(e){return"string"==typeof e&&!!e.match(v.hex)}};var y="enum";var b={required:A,whitespace:g,type:function(e,t,n,r,i){if(e.required&&void 0===t)A(e,t,n,r,i);else{var o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?m[o](t)||r.push(c(i.messages.types[o],e.fullField,e.type)):o&&(void 0===t?"undefined":a()(t))!==e.type&&r.push(c(i.messages.types[o],e.fullField,e.type))}},range:function(e,t,n,r,i){var o="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=t,u=null,h="number"==typeof t,d="string"==typeof t,f=Array.isArray(t);if(h?u="number":d?u="string":f&&(u="array"),!u)return!1;f&&(l=t.length),d&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?l!==e.len&&r.push(c(i.messages[u].len,e.fullField,e.len)):a&&!s&&l<e.min?r.push(c(i.messages[u].min,e.fullField,e.min)):s&&!a&&l>e.max?r.push(c(i.messages[u].max,e.fullField,e.max)):a&&s&&(l<e.min||l>e.max)&&r.push(c(i.messages[u].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,i){e[y]=Array.isArray(e[y])?e[y]:[],-1===e[y].indexOf(t)&&r.push(c(i.messages[y],e.fullField,e[y].join(", ")))},pattern:function(e,t,n,r,i){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(c(i.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(c(i.messages.pattern.mismatch,e.fullField,t,e.pattern))))}};var _="enum";var w=function(e,t,n,r,i){var o=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t,o)&&!e.required)return n();b.required(e,t,r,a,i,o),u(t,o)||b.type(e,t,r,a,i)}n(a)},x={string:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t,"string")&&!e.required)return n();b.required(e,t,r,o,i,"string"),u(t,"string")||(b.type(e,t,r,o,i),b.range(e,t,r,o,i),b.pattern(e,t,r,o,i),!0===e.whitespace&&b.whitespace(e,t,r,o,i))}n(o)},method:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&b.type(e,t,r,o,i)}n(o)},number:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&(b.type(e,t,r,o,i),b.range(e,t,r,o,i))}n(o)},boolean:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&b.type(e,t,r,o,i)}n(o)},regexp:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();b.required(e,t,r,o,i),u(t)||b.type(e,t,r,o,i)}n(o)},integer:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&(b.type(e,t,r,o,i),b.range(e,t,r,o,i))}n(o)},float:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&(b.type(e,t,r,o,i),b.range(e,t,r,o,i))}n(o)},array:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t,"array")&&!e.required)return n();b.required(e,t,r,o,i,"array"),u(t,"array")||(b.type(e,t,r,o,i),b.range(e,t,r,o,i))}n(o)},object:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&b.type(e,t,r,o,i)}n(o)},enum:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();b.required(e,t,r,o,i),t&&b[_](e,t,r,o,i)}n(o)},pattern:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t,"string")&&!e.required)return n();b.required(e,t,r,o,i),u(t,"string")||b.pattern(e,t,r,o,i)}n(o)},date:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(u(t)&&!e.required)return n();if(b.required(e,t,r,o,i),!u(t)){var a=void 0;a="number"==typeof t?new Date(t):t,b.type(e,a,r,o,i),a&&b.range(e,a.getTime(),r,o,i)}}n(o)},url:w,hex:w,email:w,required:function(e,t,n,r,i){var o=[],s=Array.isArray(t)?"array":void 0===t?"undefined":a()(t);b.required(e,t,r,o,i,s),n(o)}};function C(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var S=C();function B(e){this.rules=null,this._messages=S,this.define(e)}B.prototype={messages:function(e){return e&&(this._messages=p(C(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===e?"undefined":a()(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],o=e,s=n,u=r;if("function"==typeof s&&(u=s,s={}),this.rules&&0!==Object.keys(this.rules).length){if(s.messages){var h=this.messages();h===S&&(h=C()),p(h,s.messages),s.messages=h}else s.messages=this.messages();var A=void 0,g=void 0,v={};(s.keys||Object.keys(this.rules)).forEach(function(n){A=t.rules[n],g=o[n],A.forEach(function(r){var a=r;"function"==typeof a.transform&&(o===e&&(o=i()({},o)),g=o[n]=a.transform(g)),(a="function"==typeof a?{validator:a}:i()({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(v[n]=v[n]||[],v[n].push({rule:a,value:g,source:o,field:n}))})});var m={};d(v,s,function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a()(n.fields)&&"object"!==a()(n.defaultField));function o(e,t){return i()({},t,{fullField:n.fullField+"."+e})}function u(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(Array.isArray(a)||(a=[a]),a.length&&l("async-validator:",a),a.length&&n.message&&(a=[].concat(n.message)),a=a.map(f(n)),s.first&&a.length)return m[n.field]=1,t(a);if(r){if(n.required&&!e.value)return a=n.message?[].concat(n.message).map(f(n)):s.error?[s.error(n,c(s.messages.required,n.field))]:[],t(a);var u={};if(n.defaultField)for(var h in e.value)e.value.hasOwnProperty(h)&&(u[h]=n.defaultField);for(var d in u=i()({},u,e.rule.fields))if(u.hasOwnProperty(d)){var p=Array.isArray(u[d])?u[d]:[u[d]];u[d]=p.map(o.bind(null,d))}var A=new B(u);A.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),A.validate(e.value,e.rule.options||s,function(e){t(e&&e.length?a.concat(e):e)})}else t(a)}r=r&&(n.required||!n.required&&e.value),n.field=e.field;var h=n.validator(n,e.value,u,e.source,s);h&&h.then&&h.then(function(){return u()},function(e){return u(e)})},function(e){!function(e){var t,n=void 0,r=void 0,i=[],o={};for(n=0;n<e.length;n++)t=e[n],Array.isArray(t)?i=i.concat.apply(i,t):i.push(t);if(i.length)for(n=0;n<i.length;n++)o[r=i[n].field]=o[r]||[],o[r].push(i[n]);else i=null,o=null;u(i,o)}(e)})}else u&&u()},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!x.hasOwnProperty(e.type))throw new Error(c("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?x.required:x[this.getType(e)]||!1}},B.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");x[e]=t},B.messages=S;t.default=B},jyFz:function(e,t,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n("SldL"),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},kM2E:function(e,t,n){var r=n("7KvD"),i=n("FeBl"),o=n("+ZMJ"),a=n("hJx8"),s=n("D2L2"),l=function(e,t,n){var c,u,h,d=e&l.F,f=e&l.G,p=e&l.S,A=e&l.P,g=e&l.B,v=e&l.W,m=f?i:i[t]||(i[t]={}),y=m.prototype,b=f?r:p?r[t]:(r[t]||{}).prototype;for(c in f&&(n=t),n)(u=!d&&b&&void 0!==b[c])&&s(m,c)||(h=u?b[c]:n[c],m[c]=f&&"function"!=typeof b[c]?n[c]:g&&u?o(h,r):v&&b[c]==h?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(h):A&&"function"==typeof h?o(Function.call,h):h,A&&((m.virtual||(m.virtual={}))[c]=h,e&l.R&&y&&!y[c]&&a(y,c,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},kNJA:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=59)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},14:function(e,t){e.exports=n("fEB+")},18:function(e,t){e.exports=n("EKTV")},21:function(e,t){e.exports=n("E/in")},26:function(e,t){e.exports=n("nvbp")},3:function(e,t){e.exports=n("ylDJ")},31:function(e,t){e.exports=n("zTCi")},40:function(e,t){e.exports=n("hyEB")},51:function(e,t){e.exports=n("RDoK")},59:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{class:["el-cascader-panel",this.border&&"is-bordered"],on:{keydown:this.handleKeyDown}},this._l(this.menus,function(e,n){return t("cascader-menu",{key:n,ref:"menu",refInFor:!0,attrs:{index:n,nodes:e}})}),1)};r._withStripped=!0;var i=n(26),o=n.n(i),a=n(14),s=n.n(a),l=n(18),c=n.n(l),u=n(51),h=n.n(u),d=n(3),f=function(e){return e.stopPropagation()},p={inject:["panel"],components:{ElCheckbox:c.a,ElRadio:h.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some(function(t){return e.isInPath(t)})},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,r=this.isDisabled,i=this.config,o=i.multiple;!i.checkStrictly&&r||n.loading||(i.lazy&&!n.loaded?t.lazyLoad(n,function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var r=!!t&&n.checked;e.handleMultiCheckChange(r)}}):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node;return(e[t.level-1]||{}).uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,r=this.config,i=r.checkStrictly;return r.multiple?this.renderCheckbox(e):i?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,r=this.isDisabled,i={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(i.nativeOn.click=f),e("el-checkbox",o()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:r}},i]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,r=this.isDisabled;return Object(d.isEqual)(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:r},on:{change:this.handleCheckChange},nativeOn:{click:f}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,r=t.renderLabelFn;return e("span",{class:"el-cascader-node__label"},[(r?r({node:n,data:n.data}):null)||n.label])}},render:function(e){var t=this,n=this.inActivePath,r=this.inCheckedPath,i=this.isChecked,a=this.isLeaf,s=this.isDisabled,l=this.config,c=this.nodeId,u=l.expandTrigger,h=l.checkStrictly,d=l.multiple,f=!h&&s,p={on:{}};return"click"===u?p.on.click=this.handleExpand:(p.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},p.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!a||s||h||d||(p.on.click=this.handleCheckChange),e("li",o()([{attrs:{role:"menuitem",id:c,"aria-expanded":n,tabindex:f?null:-1},class:{"el-cascader-node":!0,"is-selectable":h,"in-active-path":n,"in-checked-path":r,"is-active":i,"is-disabled":f}},p]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},A=n(0),g=Object(A.a)(p,void 0,void 0,!1,null,null,null);g.options.__file="packages/cascader-panel/src/cascader-node.vue";var v=g.exports,m=n(6),y={name:"ElCascaderMenu",mixins:[n.n(m).a],inject:["panel"],components:{ElScrollbar:s.a,CascaderNode:v},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(d.generateId)()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,r=this.$refs.hoverZone;if(t&&r)if(t.contains(e.target)){clearTimeout(n);var i=this.$el.getBoundingClientRect().left,o=e.clientX-i,a=this.$el,s=a.offsetWidth,l=a.offsetHeight,c=t.offsetTop,u=c+t.offsetHeight;r.innerHTML='\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+c+" L"+s+" 0 V"+c+' Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+u+" L"+s+" "+l+" V"+u+' Z" />\n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,r={on:{}};n&&(r.on.expand=this.handleExpand);var i=this.nodes.map(function(n,i){var a=n.hasChildren;return e("cascader-node",o()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+i,"aria-haspopup":a,"aria-owns":a?t:null}},r]))});return[].concat(i,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,r={nativeOn:{}};return this.panel.isHoverMenu&&(r.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",o()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},r]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},b=Object(A.a)(y,void 0,void 0,!1,null,null,null);b.options.__file="packages/cascader-panel/src/cascader-menu.vue";var _=b.exports,w=n(21),x=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var C=0,S=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.config=n,this.parent=r||null,this.level=this.parent?this.parent.level+1:1,this.uid=C++,this.initState(),this.initChildren()}return e.prototype.initState=function(){var e=this.config,t=e.value,n=e.label;this.value=this.data[t],this.label=this.data[n],this.pathNodes=this.calculatePathNodes(),this.path=this.pathNodes.map(function(e){return e.value}),this.pathLabels=this.pathNodes.map(function(e){return e.label}),this.loading=!1,this.loaded=!1},e.prototype.initChildren=function(){var t=this,n=this.config,r=n.children,i=this.data[r];this.hasChildren=Array.isArray(i),this.children=(i||[]).map(function(r){return new e(r,n,t)})},e.prototype.calculatePathNodes=function(){for(var e=[this],t=this.parent;t;)e.unshift(t),t=t.parent;return e},e.prototype.getPath=function(){return this.path},e.prototype.getValue=function(){return this.value},e.prototype.getValueByOption=function(){return this.config.emitPath?this.getPath():this.getValue()},e.prototype.getText=function(e,t){return e?this.pathLabels.join(t):this.label},e.prototype.isSameNode=function(e){var t=this.getValueByOption();return this.config.multiple&&Array.isArray(e)?e.some(function(e){return Object(d.isEqual)(e,t)}):Object(d.isEqual)(e,t)},e.prototype.broadcast=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i="onParent"+Object(d.capitalize)(e);this.children.forEach(function(t){t&&(t.broadcast.apply(t,[e].concat(n)),t[i]&&t[i].apply(t,n))})},e.prototype.emit=function(e){var t=this.parent,n="onChild"+Object(d.capitalize)(e);if(t){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];t[n]&&t[n].apply(t,i),t.emit.apply(t,[e].concat(i))}},e.prototype.onParentCheck=function(e){this.isDisabled||this.setCheckState(e)},e.prototype.onChildCheck=function(){var e=this.children.filter(function(e){return!e.isDisabled}),t=!!e.length&&e.every(function(e){return e.checked});this.setCheckState(t)},e.prototype.setCheckState=function(e){var t=this.children.length,n=this.children.reduce(function(e,t){return e+(t.checked?1:t.indeterminate?.5:0)},0);this.checked=e,this.indeterminate=n!==t&&n>0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},x(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,r=n.disabled,i=n.checkStrictly;return e[r]||!i&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,r=this.children,i=this.config,o=i.lazy,a=i.leaf;if(o){var s=Object(w.isDef)(e[a])?e[a]:!!t&&!r.length;return this.hasChildren=!s,s}return!n}}]),e}();var B=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(d.coerceTruthyValueToArray)(e),this.nodes=e.map(function(e){return new S(e,t.config)}),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new S(e,this.config,t);(t?t.children:this.nodes).push(n)},e.prototype.appendNodes=function(e,t){var n=this;(e=Object(d.coerceTruthyValueToArray)(e)).forEach(function(e){return n.appendNode(e,t)})},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:function e(t,n){return t.reduce(function(t,r){return r.isLeaf?t.push(r):(!n&&t.push(r),t=t.concat(e(r.children,n))),t},[])}(this.nodes,e)},e.prototype.getNodeByValue=function(e){if(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter(function(t){return Object(d.valueEquals)(t.path,e)||t.value===e});return t&&t.length?t[0]:null}return null},e}(),k=n(9),T=n.n(k),E=n(40),M=n.n(E),D=n(31),O=n.n(D),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L=M.a.keys,P={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:d.noop,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},F=function(e){return!e.getAttribute("aria-owns")},R=function(e,t){var n=e.parentNode;if(n){var r=n.querySelectorAll('.el-cascader-node[tabindex="-1"]');return r[Array.prototype.indexOf.call(r,e)+t]||null}return null},N=function(e,t){if(e){var n=e.id.split("-");return Number(n[n.length-2])}},H=function(e){e&&(e.focus(),!F(e)&&e.click())},j={name:"ElCascaderPanel",components:{CascaderMenu:_},props:{value:{},options:Array,props:Object,border:{type:Boolean,default:!0},renderLabel:Function},provide:function(){return{panel:this}},data:function(){return{checkedValue:null,checkedNodePaths:[],store:[],menus:[],activePath:[],loadCount:0}},computed:{config:function(){return T()(I({},P),this.props||{})},multiple:function(){return this.config.multiple},checkStrictly:function(){return this.config.checkStrictly},leafOnly:function(){return!this.checkStrictly},isHoverMenu:function(){return"hover"===this.config.expandTrigger},renderLabelFn:function(){return this.renderLabel||this.$scopedSlots.default}},watch:{options:{handler:function(){this.initStore()},immediate:!0,deep:!0},value:function(){this.syncCheckedValue(),this.checkStrictly&&this.calculateCheckedNodePaths()},checkedValue:function(e){Object(d.isEqual)(e,this.value)||(this.checkStrictly&&this.calculateCheckedNodePaths(),this.$emit("input",e),this.$emit("change",e))}},mounted:function(){Object(d.isEmpty)(this.value)||this.syncCheckedValue()},methods:{initStore:function(){var e=this.config,t=this.options;e.lazy&&Object(d.isEmpty)(t)?this.lazyLoad():(this.store=new B(t,e),this.menus=[this.store.getNodes()],this.syncMenuState())},syncCheckedValue:function(){var e=this.value,t=this.checkedValue;Object(d.isEqual)(e,t)||(this.activePath=[],this.checkedValue=e,this.syncMenuState())},syncMenuState:function(){var e=this.multiple,t=this.checkStrictly;this.syncActivePath(),e&&this.syncMultiCheckState(),t&&this.calculateCheckedNodePaths(),this.$nextTick(this.scrollIntoView)},syncMultiCheckState:function(){var e=this;this.getFlattedNodes(this.leafOnly).forEach(function(t){t.syncCheckState(e.checkedValue)})},syncActivePath:function(){var e=this,t=this.store,n=this.multiple,r=this.activePath,i=this.checkedValue;if(Object(d.isEmpty)(r))if(Object(d.isEmpty)(i))this.activePath=[],this.menus=[t.getNodes()];else{var o=n?i[0]:i,a=((this.getNodeByValue(o)||{}).pathNodes||[]).slice(0,-1);this.expandNodes(a)}else{var s=r.map(function(t){return e.getNodeByValue(t.getValue())});this.expandNodes(s)}},expandNodes:function(e){var t=this;e.forEach(function(e){return t.handleExpand(e,!0)})},calculateCheckedNodePaths:function(){var e=this,t=this.checkedValue,n=this.multiple?Object(d.coerceTruthyValueToArray)(t):[t];this.checkedNodePaths=n.map(function(t){var n=e.getNodeByValue(t);return n?n.pathNodes:[]})},handleKeyDown:function(e){var t=e.target;switch(e.keyCode){case L.up:var n=R(t,-1);H(n);break;case L.down:var r=R(t,1);H(r);break;case L.left:var i=this.$refs.menu[N(t)-1];if(i){var o=i.$el.querySelector('.el-cascader-node[aria-expanded="true"]');H(o)}break;case L.right:var a=this.$refs.menu[N(t)+1];if(a){var s=a.$el.querySelector('.el-cascader-node[tabindex="-1"]');H(s)}break;case L.enter:!function(e){if(e){var t=e.querySelector("input");t?t.click():F(e)&&e.click()}}(t);break;case L.esc:case L.tab:this.$emit("close");break;default:return}},handleExpand:function(e,t){var n=this.activePath,r=e.level,i=n.slice(0,r-1),o=this.menus.slice(0,r);if(e.isLeaf||(i.push(e),o.push(e.children)),this.activePath=i,this.menus=o,!t){var a=i.map(function(e){return e.getValue()}),s=n.map(function(e){return e.getValue()});Object(d.valueEquals)(a,s)||(this.$emit("active-item-change",a),this.$emit("expand-change",a))}},handleCheckChange:function(e){this.checkedValue=e},lazyLoad:function(e,t){var n=this,r=this.config;e||(e=e||{root:!0,level:0},this.store=new B([],r),this.menus=[this.store.getNodes()]),e.loading=!0;r.lazyLoad(e,function(r){var i=e.root?null:e;if(r&&r.length&&n.store.appendNodes(r,i),e.loading=!1,e.loaded=!0,Array.isArray(n.checkedValue)){var o=n.checkedValue[n.loadCount++],a=n.config.value,s=n.config.leaf;if(Array.isArray(r)&&r.filter(function(e){return e[a]===o}).length>0){var l=n.store.getNodeByValue(o);l.data[s]||n.lazyLoad(l,function(){n.handleExpand(l)}),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(r)})},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map(function(e){return e.getValueByOption()})},scrollIntoView:function(){this.$isServer||(this.$refs.menu||[]).forEach(function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),r=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");O()(n,r)}})},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue;return this.multiple?this.getFlattedNodes(e).filter(function(e){return e.checked}):Object(d.isEmpty)(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,r=e.emitPath;n?(this.getCheckedNodes(t).filter(function(e){return!e.isDisabled}).forEach(function(e){return e.doCheck(!1)}),this.calculateMultiCheckedValue()):this.checkedValue=r?[]:null}}},U=Object(A.a)(j,r,[],!1,null,null,null);U.options.__file="packages/cascader-panel/src/cascader-panel.vue";var Q=U.exports;Q.install=function(e){e.component(Q.name,Q)};t.default=Q},6:function(e,t){e.exports=n("y+7x")},9:function(e,t){e.exports=n("jmaC")}})},kheW:function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode),o=r.Float,a=r.ShortBlock,s=r.Util,l=r.Arrays,c=(r.new_array_n,r.new_byte,r.new_double,r.new_float),u=r.new_float_n,h=r.new_int,d=(r.new_int_n,r.assert),f=n("Hbx0"),p=n("/00o");e.exports=function(){var e=new f,t=2.302585092994046,n=2,r=16,A=2,g=16,v=.34,m=1/217621504/(p.BLKSIZE/2),y=.3,b=21,_=.2302585093;function w(e){return e}function x(e,t){for(var n=0,r=0;r<p.BLKSIZE/2;++r)n+=e[r]*t.ATH.eql_w[r];return n*=m}function C(t,n,r,i,o,a,l,c,u,h,d){var f=t.internal_flags;if(u<2)e.fft_long(f,i[o],u,h,d),e.fft_short(f,a[l],u,h,d);else if(2==u){for(var A=p.BLKSIZE-1;A>=0;--A){var g=i[o+0][A],v=i[o+1][A];i[o+0][A]=(g+v)*s.SQRT2*.5,i[o+1][A]=(g-v)*s.SQRT2*.5}for(var m=2;m>=0;--m)for(A=p.BLKSIZE_s-1;A>=0;--A)g=a[l+0][m][A],v=a[l+1][m][A],a[l+0][m][A]=(g+v)*s.SQRT2*.5,a[l+1][m][A]=(g-v)*s.SQRT2*.5}for(n[0]=w(i[o+0][0]),n[0]*=n[0],A=p.BLKSIZE/2-1;A>=0;--A){var y=i[o+0][p.BLKSIZE/2-A],b=i[o+0][p.BLKSIZE/2+A];n[p.BLKSIZE/2-A]=w(.5*(y*y+b*b))}for(m=2;m>=0;--m)for(r[m][0]=a[l+0][m][0],r[m][0]*=r[m][0],A=p.BLKSIZE_s/2-1;A>=0;--A)y=a[l+0][m][p.BLKSIZE_s/2-A],b=a[l+0][m][p.BLKSIZE_s/2+A],r[m][p.BLKSIZE_s/2-A]=w(.5*(y*y+b*b));var _=0;for(A=11;A<p.HBLKSIZE;A++)_+=n[A];if(f.tot_ener[u]=_,t.analysis){for(A=0;A<p.HBLKSIZE;A++)f.pinfo.energy[c][u][A]=f.pinfo.energy_save[u][A],f.pinfo.energy_save[u][A]=n[A];f.pinfo.pe[c][u]=f.pe[u]}2==t.athaa_loudapprox&&u<2&&(f.loudness_sq[c][u]=f.loudness_sq_save[u],f.loudness_sq_save[u]=x(n,f))}var S,B,k,T=8,E=23,M=15,D=[1,.79433,.63096,.63096,.63096,.63096,.63096,.25119,.11749],O=[3.3246*3.3246,3.23837*3.23837,9.9500500969,9.0247369744,8.1854926609,7.0440875649,2.46209*2.46209,2.284*2.284,4.4892710641,1.96552*1.96552,1.82335*1.82335,1.69146*1.69146,2.4621061921,2.1508568964,1.37074*1.37074,1.31036*1.31036,1.5691069696,1.4555939904,1.16203*1.16203,1.2715945225,1.09428*1.09428,1.0659*1.0659,1.0779838276,1.0382591025,1],I=[1.7782755904,1.35879*1.35879,1.38454*1.38454,1.39497*1.39497,1.40548*1.40548,1.3537*1.3537,1.6999465924,1.22321*1.22321,1.3169398564,1],L=[5.5396212496,2.29259*2.29259,4.9868695969,2.12675*2.12675,2.02545*2.02545,1.87894*1.87894,1.74303*1.74303,1.61695*1.61695,2.2499700001,1.39148*1.39148,1.29083*1.29083,1.19746*1.19746,1.2339655056,1.0779838276];function P(e,t,n,r,i,o){var a,l,c;if(t>e){if(!(t<e*B))return e+t;a=t/e}else{if(e>=t*B)return e+t;a=e/t}if(d(e>=0),d(t>=0),e+=t,r+3<=6){if(a>=S)return e;var u=0|s.FAST_LOG10_X(a,16);return e*I[u]}return u=0|s.FAST_LOG10_X(a,16),t=0!=o?i.ATH.cb_s[n]*i.ATH.adjust:i.ATH.cb_l[n]*i.ATH.adjust,d(t>=0),e<k*t?e>t?(l=1,u<=13&&(l=L[u]),c=s.FAST_LOG10_X(e/t,10/15),e*((O[u]-l)*c+l)):u>13?e:e*L[u]:e*O[u]}var F=[1.7782755904,1.35879*1.35879,1.38454*1.38454,1.39497*1.39497,1.40548*1.40548,1.3537*1.3537,1.6999465924,1.22321*1.22321,1.3169398564,1];function R(e,t,n){var r;if(e<0&&(e=0),t<0&&(t=0),e<=0)return t;if(t<=0)return e;if(r=t>e?t/e:e/t,-2<=n&&n<=2){if(r>=S)return e+t;var i=0|s.FAST_LOG10_X(r,16);return(e+t)*F[i]}return r<B?e+t:(e<t&&(e=t),e)}function N(e,t,n,r,i){var o,a,s=0,l=0;for(o=a=0;o<p.SBMAX_s;++a,++o){for(var c=e.bo_s[o],u=e.npart_s,h=c<u?c:u;a<h;)d(t[a]>=0),d(n[a]>=0),s+=t[a],l+=n[a],a++;if(e.en[r].s[o][i]=s,e.thm[r].s[o][i]=l,a>=u){++o;break}d(t[a]>=0),d(n[a]>=0);var f=e.PSY.bo_s_weight[o],A=1-f;s=f*t[a],l=f*n[a],e.en[r].s[o][i]+=s,e.thm[r].s[o][i]+=l,s=A*t[a],l=A*n[a]}for(;o<p.SBMAX_s;++o)e.en[r].s[o][i]=0,e.thm[r].s[o][i]=0}function H(e,t,n,r){var i,o,a=0,s=0;for(i=o=0;i<p.SBMAX_l;++o,++i){for(var l=e.bo_l[i],c=e.npart_l,u=l<c?l:c;o<u;)d(t[o]>=0),d(n[o]>=0),a+=t[o],s+=n[o],o++;if(e.en[r].l[i]=a,e.thm[r].l[i]=s,o>=c){++i;break}d(t[o]>=0),d(n[o]>=0);var h=e.PSY.bo_l_weight[i],f=1-h;a=h*t[o],s=h*n[o],e.en[r].l[i]+=a,e.thm[r].l[i]+=s,a=f*t[o],s=f*n[o]}for(;i<p.SBMAX_l;++i)e.en[r].l[i]=0,e.thm[r].l[i]=0}function j(e,t,n,r,i,o){var a,s,l=e.internal_flags;for(s=a=0;s<l.npart_s;++s){for(var c=0,u=0,h=l.numlines_s[s],f=0;f<h;++f,++a){var v=t[o][a];c+=v,u<v&&(u=v)}n[s]=c}for(d(s==l.npart_s),d(129==a),a=s=0;s<l.npart_s;s++){var m=l.s3ind_s[s][0],y=l.s3_ss[a++]*n[m];for(++m;m<=l.s3ind_s[s][1];)y+=l.s3_ss[a]*n[m],++a,++m;var b=A*l.nb_s1[i][s];if(r[s]=Math.min(y,b),l.blocktype_old[1&i]==p.SHORT_TYPE){b=g*l.nb_s2[i][s];var _=r[s];r[s]=Math.min(b,_)}l.nb_s2[i][s]=l.nb_s1[i][s],l.nb_s1[i][s]=y,d(r[s]>=0)}for(;s<=p.CBANDS;++s)n[s]=0,r[s]=0}function U(e,t,n){return n>=1?e:n<=0?t:t>0?Math.pow(e/t,n)*t:0}var Q=[11.8,13.6,17.2,32,46.5,51.3,57.5,67.1,71.5,84.6,97.6,130];function z(e,n){for(var r=309.07,i=0;i<p.SBMAX_s-1;i++)for(var o=0;o<3;o++){var a=e.thm.s[i][o];if(d(i<Q.length),a>0){var l=a*n,c=e.en.s[i][o];c>l&&(c>1e10*l?r+=Q[i]*(10*t):(d(l>0),r+=Q[i]*s.FAST_LOG10(c/l)))}}return r}var Y=[6.8,5.8,5.8,6.4,6.5,9.9,12.1,14.4,15,18.9,21.6,26.9,34.2,40.2,46.8,56.5,60.7,73.9,85.7,93.4,126.1];function V(e,n){for(var r=281.0575,i=0;i<p.SBMAX_l-1;i++){var o=e.thm.l[i];if(d(i<Y.length),o>0){var a=o*n,l=e.en.l[i];l>a&&(l>1e10*a?r+=Y[i]*(10*t):(d(a>0),r+=Y[i]*s.FAST_LOG10(l/a)))}}return r}function G(e,t,n,r,i){var o,a;for(o=a=0;o<e.npart_l;++o){var s,l=0,c=0;for(s=0;s<e.numlines_l[o];++s,++a){var u=t[a];d(u>=0),l+=u,c<u&&(c=u)}n[o]=l,r[o]=c,i[o]=l*e.rnumlines_l[o],d(e.rnumlines_l[o]>=0),d(l>=0),d(n[o]>=0),d(r[o]>=0),d(i[o]>=0)}}function W(e,t,n,r){var i=D.length-1,o=0,a=n[o]+n[o+1];for(d(a>=0),a>0?((s=t[o])<t[o+1]&&(s=t[o+1]),d(e.numlines_l[o]+e.numlines_l[o+1]-1>0),(l=0|(a=20*(2*s-a)/(a*(e.numlines_l[o]+e.numlines_l[o+1]-1))))>i&&(l=i),r[o]=l):r[o]=0,o=1;o<e.npart_l-1;o++){var s,l;a=n[o-1]+n[o]+n[o+1],d(a>=0),a>0?((s=t[o-1])<t[o]&&(s=t[o]),s<t[o+1]&&(s=t[o+1]),d(e.numlines_l[o-1]+e.numlines_l[o]+e.numlines_l[o+1]-1>0),(l=0|(a=20*(3*s-a)/(a*(e.numlines_l[o-1]+e.numlines_l[o]+e.numlines_l[o+1]-1))))>i&&(l=i),r[o]=l):r[o]=0}d(o>0),d(o==e.npart_l-1),a=n[o-1]+n[o],d(a>=0),a>0?((s=t[o-1])<t[o]&&(s=t[o]),d(e.numlines_l[o-1]+e.numlines_l[o]-1>0),(l=0|(a=20*(2*s-a)/(a*(e.numlines_l[o-1]+e.numlines_l[o]-1))))>i&&(l=i),r[o]=l):r[o]=0,d(o==e.npart_l-1)}var X=[-1.730326e-17,-.01703172,-1.349528e-17,.0418072,-6.73278e-17,-.0876324,-3.0835e-17,.1863476,-1.104424e-16,-.627638];function Z(t,n,r,i,o,a,l,c){var u=t.internal_flags;if(i<2)e.fft_long(u,l[c],i,n,r);else if(2==i)for(var h=p.BLKSIZE-1;h>=0;--h){var d=l[c+0][h],f=l[c+1][h];l[c+0][h]=(d+f)*s.SQRT2*.5,l[c+1][h]=(d-f)*s.SQRT2*.5}for(a[0]=w(l[c+0][0]),a[0]*=a[0],h=p.BLKSIZE/2-1;h>=0;--h){var A=l[c+0][p.BLKSIZE/2-h],g=l[c+0][p.BLKSIZE/2+h];a[p.BLKSIZE/2-h]=w(.5*(A*A+g*g))}var v=0;for(h=11;h<p.HBLKSIZE;h++)v+=a[h];if(u.tot_ener[i]=v,t.analysis){for(h=0;h<p.HBLKSIZE;h++)u.pinfo.energy[o][i][h]=u.pinfo.energy_save[i][h],u.pinfo.energy_save[i][h]=a[h];u.pinfo.pe[o][i]=u.pe[i]}}function $(t,n,r,i,o,a,l,c){var u=t.internal_flags;if(0==o&&i<2&&e.fft_short(u,l[c],i,n,r),2==i)for(var h=p.BLKSIZE_s-1;h>=0;--h){var d=l[c+0][o][h],f=l[c+1][o][h];l[c+0][o][h]=(d+f)*s.SQRT2*.5,l[c+1][o][h]=(d-f)*s.SQRT2*.5}for(a[o][0]=l[c+0][o][0],a[o][0]*=a[o][0],h=p.BLKSIZE_s/2-1;h>=0;--h){var A=l[c+0][o][p.BLKSIZE_s/2-h],g=l[c+0][o][p.BLKSIZE_s/2+h];a[o][p.BLKSIZE_s/2-h]=w(.5*(A*A+g*g))}}function K(e,t,n,r){var i=e.internal_flags;2==e.athaa_loudapprox&&n<2&&(i.loudness_sq[t][n]=i.loudness_sq_save[n],i.loudness_sq_save[n]=x(r,i))}this.L3psycho_anal_ns=function(e,t,o,s,f,A,g,v,m,_){var w,x,S,B,k,T,E,M,O,I,L=e.internal_flags,F=u([2,p.BLKSIZE]),R=u([2,3,p.BLKSIZE_s]),Q=c(p.CBANDS+1),Y=c(p.CBANDS+1),Z=c(p.CBANDS+2),$=h(2),K=h(2),J=u([2,576]),q=h(p.CBANDS+2),ee=h(p.CBANDS+2);for(l.fill(ee,0),w=L.channels_out,e.mode==MPEGMode.JOINT_STEREO&&(w=4),O=e.VBR==i.vbr_off?0==L.ResvMax?0:L.ResvSize/L.ResvMax*.5:e.VBR==i.vbr_rh||e.VBR==i.vbr_mtrh||e.VBR==i.vbr_mt?.6:1,x=0;x<L.channels_out;x++){var te=t[x],ne=o+576-350-b+192;for(d(X.length==(b-1)/2),B=0;B<576;B++){var re,ie;for(re=te[ne+B+10],ie=0,k=0;k<(b-1)/2-1;k+=2)re+=X[k]*(te[ne+B+k]+te[ne+B+b-k]),ie+=X[k+1]*(te[ne+B+k+1]+te[ne+B+b-k-1]);J[x][B]=re+ie}f[s][x].en.assign(L.en[x]),f[s][x].thm.assign(L.thm[x]),w>2&&(A[s][x].en.assign(L.en[x+2]),A[s][x].thm.assign(L.thm[x+2]))}for(x=0;x<w;x++){var oe,ae=c(12),se=[0,0,0,0],le=c(12),ce=1,ue=c(p.CBANDS),he=c(p.CBANDS),de=[0,0,0,0],fe=c(p.HBLKSIZE),pe=u([3,p.HBLKSIZE_s]);for(d(L.npart_s<=p.CBANDS),d(L.npart_l<=p.CBANDS),B=0;B<3;B++)ae[B]=L.nsPsy.last_en_subshort[x][B+6],d(L.nsPsy.last_en_subshort[x][B+4]>0),le[B]=ae[B]/L.nsPsy.last_en_subshort[x][B+4],se[0]+=ae[B];if(2==x)for(B=0;B<576;B++){var Ae,ge;Ae=J[0][B],ge=J[1][B],J[0][B]=Ae+ge,J[1][B]=Ae-ge}var ve=J[1&x],me=0;for(B=0;B<9;B++){for(var ye=me+64,be=1;me<ye;me++)be<Math.abs(ve[me])&&(be=Math.abs(ve[me]));L.nsPsy.last_en_subshort[x][B]=ae[B+3]=be,se[1+B/3]+=be,be>ae[B+3-2]?(d(ae[B+3-2]>0),be/=ae[B+3-2]):ae[B+3-2]>10*be?(d(be>0),be=ae[B+3-2]/(10*be)):be=0,le[B+3]=be}if(e.analysis){var _e=le[0];for(B=1;B<12;B++)_e<le[B]&&(_e=le[B]);L.pinfo.ers[s][x]=L.pinfo.ers_save[x],L.pinfo.ers_save[x]=_e}for(oe=3==x?L.nsPsy.attackthre_s:L.nsPsy.attackthre,B=0;B<12;B++)0==de[B/3]&&le[B]>oe&&(de[B/3]=B%3+1);for(B=1;B<4;B++){var we;se[B-1]>se[B]?(d(se[B]>0),we=se[B-1]/se[B]):(d(se[B-1]>0),we=se[B]/se[B-1]),we<1.7&&(de[B]=0,1==B&&(de[0]=0))}for(0!=de[0]&&0!=L.nsPsy.lastAttacks[x]&&(de[0]=0),3!=L.nsPsy.lastAttacks[x]&&de[0]+de[1]+de[2]+de[3]==0||(ce=0,0!=de[1]&&0!=de[0]&&(de[1]=0),0!=de[2]&&0!=de[1]&&(de[2]=0),0!=de[3]&&0!=de[2]&&(de[3]=0)),x<2?K[x]=ce:0==ce&&(K[0]=K[1]=0),m[x]=L.tot_ener[x],C(e,fe,pe,F,1&x,R,1&x,s,x,t,o),G(L,fe,Q,ue,he),W(L,ue,he,q),M=0;M<3;M++){var xe,Ce;for(j(e,pe,Y,Z,x,M),N(L,Y,Z,x,M),E=0;E<p.SBMAX_s;E++){if(Ce=L.thm[x].s[E][M],Ce*=.8,de[M]>=2||1==de[M+1]){var Se=0!=M?M-1:2;be=U(L.thm[x].s[E][Se],Ce,.6*O),Ce=Math.min(Ce,be)}1==de[M]?(Se=0!=M?M-1:2,be=U(L.thm[x].s[E][Se],Ce,y*O),Ce=Math.min(Ce,be)):(0!=M&&3==de[M-1]||0==M&&3==L.nsPsy.lastAttacks[x])&&(Se=2!=M?M+1:0,be=U(L.thm[x].s[E][Se],Ce,y*O),Ce=Math.min(Ce,be)),xe=ae[3*M+3]+ae[3*M+4]+ae[3*M+5],6*ae[3*M+5]<xe&&(Ce*=.5,6*ae[3*M+4]<xe&&(Ce*=.5)),L.thm[x].s[E][M]=Ce}}for(L.nsPsy.lastAttacks[x]=de[2],T=0,S=0;S<L.npart_l;S++){for(var Be=L.s3ind[S][0],ke=Q[Be]*D[q[Be]],Te=L.s3_ll[T++]*ke;++Be<=L.s3ind[S][1];)ke=Q[Be]*D[q[Be]],Te=P(Te,L.s3_ll[T++]*ke,Be,Be-S,L,0);Te*=.158489319246111,L.blocktype_old[1&x]==p.SHORT_TYPE?Z[S]=Te:Z[S]=U(Math.min(Te,Math.min(n*L.nb_1[x][S],r*L.nb_2[x][S])),Te,O),L.nb_2[x][S]=L.nb_1[x][S],L.nb_1[x][S]=Te}for(;S<=p.CBANDS;++S)Q[S]=0,Z[S]=0;H(L,Q,Z,x)}for(e.mode!=MPEGMode.STEREO&&e.mode!=MPEGMode.JOINT_STEREO||e.interChRatio>0&&function(e,t){var n=e.internal_flags;if(n.channels_out>1){for(var r=0;r<p.SBMAX_l;r++){var i=n.thm[0].l[r],o=n.thm[1].l[r];n.thm[0].l[r]+=o*t,n.thm[1].l[r]+=i*t}for(r=0;r<p.SBMAX_s;r++)for(var a=0;a<3;a++)i=n.thm[0].s[r][a],o=n.thm[1].s[r][a],n.thm[0].s[r][a]+=o*t,n.thm[1].s[r][a]+=i*t}}(e,e.interChRatio),e.mode==MPEGMode.JOINT_STEREO&&(function(e){for(var t=0;t<p.SBMAX_l;t++)if(!(e.thm[0].l[t]>1.58*e.thm[1].l[t]||e.thm[1].l[t]>1.58*e.thm[0].l[t])){var n=e.mld_l[t]*e.en[3].l[t],r=Math.max(e.thm[2].l[t],Math.min(e.thm[3].l[t],n));n=e.mld_l[t]*e.en[2].l[t];var i=Math.max(e.thm[3].l[t],Math.min(e.thm[2].l[t],n));e.thm[2].l[t]=r,e.thm[3].l[t]=i}for(t=0;t<p.SBMAX_s;t++)for(var o=0;o<3;o++)e.thm[0].s[t][o]>1.58*e.thm[1].s[t][o]||e.thm[1].s[t][o]>1.58*e.thm[0].s[t][o]||(n=e.mld_s[t]*e.en[3].s[t][o],r=Math.max(e.thm[2].s[t][o],Math.min(e.thm[3].s[t][o],n)),n=e.mld_s[t]*e.en[2].s[t][o],i=Math.max(e.thm[3].s[t][o],Math.min(e.thm[2].s[t][o],n)),e.thm[2].s[t][o]=r,e.thm[3].s[t][o]=i)}(L),I=e.msfix,Math.abs(I)>0&&function(e,t,n){var r=t,i=Math.pow(10,n);t*=2,r*=2;for(var o=0;o<p.SBMAX_l;o++)u=e.ATH.cb_l[e.bm_l[o]]*i,(s=Math.min(Math.max(e.thm[0].l[o],u),Math.max(e.thm[1].l[o],u)))*t<(l=Math.max(e.thm[2].l[o],u))+(c=Math.max(e.thm[3].l[o],u))&&d((l*=h=s*r/(l+c))+(c*=h)>0),e.thm[2].l[o]=Math.min(l,e.thm[2].l[o]),e.thm[3].l[o]=Math.min(c,e.thm[3].l[o]);for(i*=p.BLKSIZE_s/p.BLKSIZE,o=0;o<p.SBMAX_s;o++)for(var a=0;a<3;a++){var s,l,c,u,h;u=e.ATH.cb_s[e.bm_s[o]]*i,(s=Math.min(Math.max(e.thm[0].s[o][a],u),Math.max(e.thm[1].s[o][a],u)))*t<(l=Math.max(e.thm[2].s[o][a],u))+(c=Math.max(e.thm[3].s[o][a],u))&&d((l*=h=s*t/(l+c))+(c*=h)>0),e.thm[2].s[o][a]=Math.min(e.thm[2].s[o][a],l),e.thm[3].s[o][a]=Math.min(e.thm[3].s[o][a],c)}}(L,I,e.ATHlower*L.ATH.adjust)),function(e,t,n,r){var i=e.internal_flags;e.short_blocks!=a.short_block_coupled||0!=t[0]&&0!=t[1]||(t[0]=t[1]=0);for(var o=0;o<i.channels_out;o++)r[o]=p.NORM_TYPE,e.short_blocks==a.short_block_dispensed&&(t[o]=1),e.short_blocks==a.short_block_forced&&(t[o]=0),0!=t[o]?(d(i.blocktype_old[o]!=p.START_TYPE),i.blocktype_old[o]==p.SHORT_TYPE&&(r[o]=p.STOP_TYPE)):(r[o]=p.SHORT_TYPE,i.blocktype_old[o]==p.NORM_TYPE&&(i.blocktype_old[o]=p.START_TYPE),i.blocktype_old[o]==p.STOP_TYPE&&(i.blocktype_old[o]=p.SHORT_TYPE)),n[o]=i.blocktype_old[o],i.blocktype_old[o]=r[o]}(e,K,_,$),x=0;x<w;x++){var Ee,Me,De,Oe=0;x>1?(Ee=v,Oe=-2,Me=p.NORM_TYPE,_[0]!=p.SHORT_TYPE&&_[1]!=p.SHORT_TYPE||(Me=p.SHORT_TYPE),De=A[s][x-2]):(Ee=g,Oe=0,Me=_[x],De=f[s][x]),Me==p.SHORT_TYPE?Ee[Oe+x]=z(De,L.masking_lower):Ee[Oe+x]=V(De,L.masking_lower),e.analysis&&(L.pinfo.pe[s][x]=Ee[Oe+x])}return 0};var J=[-1.730326e-17,-.01703172,-1.349528e-17,.0418072,-6.73278e-17,-.0876324,-3.0835e-17,.1863476,-1.104424e-16,-.627638];function q(e,t,n){if(0==n)for(var r=0;r<e.npart_s;r++)e.nb_s2[t][r]=e.nb_s1[t][r],e.nb_s1[t][r]=0}function ee(e,t){for(var n=0;n<e.npart_l;n++)e.nb_2[t][n]=e.nb_1[t][n],e.nb_1[t][n]=0}function te(e,t,n,r,i,o){var a,s,l,u=e.internal_flags,h=new float[p.CBANDS],f=c(p.CBANDS),A=new int[p.CBANDS];for(l=s=0;l<u.npart_s;++l){var g=0,v=0,m=u.numlines_s[l];for(a=0;a<m;++a,++s){var y=t[o][s];g+=y,v<y&&(v=y)}n[l]=g,d(g>=0),h[l]=v,d(m>0),f[l]=g/m,d(f[l]>=0)}for(d(l==u.npart_s),d(129==s);l<p.CBANDS;++l)h[l]=0,f[l]=0;for(function(e,t,n,r){var i=D.length-1,o=0,a=n[o]+n[o+1];for(d(a>=0),a>0?((s=t[o])<t[o+1]&&(s=t[o+1]),d(e.numlines_s[o]+e.numlines_s[o+1]-1>0),(l=0|(a=20*(2*s-a)/(a*(e.numlines_s[o]+e.numlines_s[o+1]-1))))>i&&(l=i),r[o]=l):r[o]=0,o=1;o<e.npart_s-1;o++){var s,l;a=n[o-1]+n[o]+n[o+1],d(o+1<e.npart_s),d(a>=0),a>0?((s=t[o-1])<t[o]&&(s=t[o]),s<t[o+1]&&(s=t[o+1]),d(e.numlines_s[o-1]+e.numlines_s[o]+e.numlines_s[o+1]-1>0),(l=0|(a=20*(3*s-a)/(a*(e.numlines_s[o-1]+e.numlines_s[o]+e.numlines_s[o+1]-1))))>i&&(l=i),r[o]=l):r[o]=0}d(o>0),d(o==e.npart_s-1),a=n[o-1]+n[o],d(a>=0),a>0?((s=t[o-1])<t[o]&&(s=t[o]),d(e.numlines_s[o-1]+e.numlines_s[o]-1>0),(l=0|(a=20*(2*s-a)/(a*(e.numlines_s[o-1]+e.numlines_s[o]-1))))>i&&(l=i),r[o]=l):r[o]=0,d(o==e.npart_s-1)}(u,h,f,A),s=l=0;l<u.npart_s;l++){var b,_,w,x,C,S=u.s3ind_s[l][0],B=u.s3ind_s[l][1];for(b=A[S],_=1,x=u.s3_ss[s]*n[S]*D[A[S]],++s,++S;S<=B;)b+=A[S],_+=1,x=R(x,w=u.s3_ss[s]*n[S]*D[A[S]],S-l),++s,++S;x*=C=.5*D[b=(1+2*b)/(2*_)],r[l]=x,u.nb_s2[i][l]=u.nb_s1[i][l],u.nb_s1[i][l]=x,w=h[l],w*=u.minval_s[l],w*=C,r[l]>w&&(r[l]=w),u.masking_lower>1&&(r[l]*=u.masking_lower),r[l]>n[l]&&(r[l]=n[l]),u.masking_lower<1&&(r[l]*=u.masking_lower),d(r[l]>=0)}for(;l<p.CBANDS;++l)n[l]=0,r[l]=0}function ne(e,t,i,o,a){var s,l=c(p.CBANDS),u=c(p.CBANDS),f=h(p.CBANDS+2);G(e,t,i,l,u),W(e,l,u,f);var A=0;for(s=0;s<e.npart_l;s++){var g,v,m,b=e.s3ind[s][0],_=e.s3ind[s][1],w=0,x=0;for(w=f[b],x+=1,v=e.s3_ll[A]*i[b]*D[f[b]],++A,++b;b<=_;)w+=f[b],x+=1,v=R(v,g=e.s3_ll[A]*i[b]*D[f[b]],b-s),++A,++b;if(v*=m=.5*D[w=(1+2*w)/(2*x)],e.blocktype_old[1&a]==p.SHORT_TYPE){var C=n*e.nb_1[a][s];o[s]=C>0?Math.min(v,C):Math.min(v,i[s]*y)}else{var S=r*e.nb_2[a][s],B=n*e.nb_1[a][s];S<=0&&(S=v),B<=0&&(B=v),C=e.blocktype_old[1&a]==p.NORM_TYPE?Math.min(B,S):B,o[s]=Math.min(v,C)}e.nb_2[a][s]=e.nb_1[a][s],e.nb_1[a][s]=v,g=l[s],g*=e.minval_l[s],g*=m,o[s]>g&&(o[s]=g),e.masking_lower>1&&(o[s]*=e.masking_lower),o[s]>i[s]&&(o[s]=i[s]),e.masking_lower<1&&(o[s]*=e.masking_lower),d(o[s]>=0)}for(;s<p.CBANDS;++s)i[s]=0,o[s]=0}function re(e,t,n,r,i,o,a){for(var s,l,c=2*o,u=o>0?Math.pow(10,i):1,h=0;h<a;++h){var f=e[2][h],p=e[3][h],A=t[0][h],g=t[1][h],v=t[2][h],m=t[3][h];if(A<=1.58*g&&g<=1.58*A){var y=n[h]*p,b=n[h]*f;l=Math.max(v,Math.min(m,y)),s=Math.max(m,Math.min(v,b))}else l=v,s=m;if(o>0){var _,w,x=r[h]*u;if(_=Math.min(Math.max(A,x),Math.max(g,x)),(w=(v=Math.max(l,x))+(m=Math.max(s,x)))>0&&_*c<w){var C=_*c/w;v*=C,m*=C,d(w>0)}l=Math.min(v,l),s=Math.min(m,s)}l>f&&(l=f),s>p&&(s=p),t[2][h]=l,t[3][h]=s}}function ie(e,t){var n;return(n=e>=0?27*-e:e*t)<=-72?0:Math.exp(n*_)}function oe(e){var t,n,r,i,o=0;for(o=0;ie(o,e)>1e-20;o-=1);for(r=o,i=0;Math.abs(i-r)>1e-12;)ie(o=(i+r)/2,e)>0?i=o:r=o;for(t=r,o=0,o=0;ie(o,e)>1e-20;o+=1);for(r=0,i=o;Math.abs(i-r)>1e-12;)ie(o=(i+r)/2,e)>0?r=o:i=o;n=i;var a,s=0;for(a=0;a<=1e3;++a)s+=ie(o=t+a*(n-t)/1e3,e);return 1001/(s*(n-t))}function ae(e){return e<0&&(e=0),e*=.001,13*Math.atan(.76*e)+3.5*Math.atan(e*e/56.25)}function se(e,t,n,r,i,o,a,s,l,u,f,A){var g,m=c(p.CBANDS+1),y=s/(A>15?1152:384),b=h(p.HBLKSIZE);s/=l;var _=0,w=0;for(g=0;g<p.CBANDS;g++){var x;for(O=ae(s*_),m[g]=s*_,x=_;ae(s*x)-O<v&&x<=l/2;x++);for(e[g]=x-_,w=g+1;_<x;)d(_<p.HBLKSIZE),b[_++]=g;if(_>l/2){_=l/2,++g;break}}d(g<p.CBANDS),m[g]=s*_;for(var C=0;C<A;C++){var S,B,k,T,E;k=u[C],T=u[C+1],(S=0|Math.floor(.5+f*(k-.5)))<0&&(S=0),(B=0|Math.floor(.5+f*(T-.5)))>l/2&&(B=l/2),n[C]=(b[S]+b[B])/2,t[C]=b[B];var M=y*T;a[C]=(M-m[t[C]])/(m[t[C]+1]-m[t[C]]),a[C]<0?a[C]=0:a[C]>1&&(a[C]=1),E=ae(s*u[C]*f),E=Math.min(E,15.5)/15.5,o[C]=Math.pow(10,1.25*(1-Math.cos(Math.PI*E))-2.5)}_=0;for(var D=0;D<w;D++){var O,I,L=e[D];O=ae(s*_),I=ae(s*(_+L-1)),r[D]=.5*(O+I),O=ae(s*(_-.5)),I=ae(s*(_+L-.5)),i[D]=I-O,_+=L}return w}function le(e,t,n,r,i,o){var a,s,l,h,d,f,A=u([p.CBANDS,p.CBANDS]),g=0;if(o)for(var v=0;v<t;v++)for(a=0;a<t;a++){var m=(s=n[v]-n[a],l=void 0,h=void 0,d=void 0,f=void 0,l=s,h=(l*=l>=0?3:1.5)>=.5&&l<=2.5?8*((f=l-.5)*f-2*f):0,((d=15.811389+7.5*(l+=.474)-17.5*Math.sqrt(1+l*l))<=-60?0:(l=Math.exp((h+d)*_),l/=.6609193))*r[a]);A[v][a]=m*i[v]}else for(a=0;a<t;a++){var y=15+Math.min(21/n[a],12),b=oe(y);for(v=0;v<t;v++)m=b*ie(n[v]-n[a],y)*r[a],A[v][a]=m*i[v]}for(v=0;v<t;v++){for(a=0;a<t&&!(A[v][a]>0);a++);for(e[v][0]=a,a=t-1;a>0&&!(A[v][a]>0);a--);e[v][1]=a,g+=e[v][1]-e[v][0]+1}var w=c(g),x=0;for(v=0;v<t;v++)for(a=e[v][0];a<=e[v][1];a++)w[x++]=A[v][a];return w}function ce(e){var t=ae(e);return t=Math.min(t,15.5)/15.5,Math.pow(10,1.25*(1-Math.cos(Math.PI*t))-2.5)}function ue(e,t){return e<-.3&&(e=3410),e/=1e3,e=Math.max(.1,e),3.64*Math.pow(e,-.8)-6.8*Math.exp(-.6*Math.pow(e-3.4,2))+6*Math.exp(-.15*Math.pow(e-8.7,2))+.001*(.6+.04*t)*Math.pow(e,4)}this.L3psycho_anal_vbr=function(e,t,n,r,i,o,s,l,f,A){var g=e.internal_flags,v=c(p.HBLKSIZE),m=u([3,p.HBLKSIZE_s]),_=u([2,p.BLKSIZE]),w=u([2,3,p.BLKSIZE_s]),x=u([4,p.CBANDS]),C=u([4,p.CBANDS]),S=u([4,3]),B=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],k=h(2),T=e.mode==MPEGMode.JOINT_STEREO?4:g.channels_out;!function(e,t,n,r,i,o,a,s,l,h){for(var f=u([2,576]),p=e.internal_flags,A=p.channels_out,g=e.mode==MPEGMode.JOINT_STEREO?4:A,v=0;v<A;v++){firbuf=t[v];var m=n+576-350-b+192;d(J.length==(b-1)/2);for(var y=0;y<576;y++){var _,w;_=firbuf[m+y+10],w=0;for(var x=0;x<(b-1)/2-1;x+=2)_+=J[x]*(firbuf[m+y+x]+firbuf[m+y+b-x]),w+=J[x+1]*(firbuf[m+y+x+1]+firbuf[m+y+b-x-1]);f[v][y]=_+w}i[r][v].en.assign(p.en[v]),i[r][v].thm.assign(p.thm[v]),g>2&&(o[r][v].en.assign(p.en[v+2]),o[r][v].thm.assign(p.thm[v+2]))}for(v=0;v<g;v++){var C=c(12),S=c(12),B=[0,0,0,0],k=f[1&v],T=0,E=3==v?p.nsPsy.attackthre_s:p.nsPsy.attackthre,M=1;if(2==v)for(y=0,x=576;x>0;++y,--x){var D=f[0][y],O=f[1][y];f[0][y]=D+O,f[1][y]=D-O}for(y=0;y<3;y++)S[y]=p.nsPsy.last_en_subshort[v][y+6],d(p.nsPsy.last_en_subshort[v][y+4]>0),C[y]=S[y]/p.nsPsy.last_en_subshort[v][y+4],B[0]+=S[y];for(y=0;y<9;y++){for(var I=T+64,L=1;T<I;T++)L<Math.abs(k[T])&&(L=Math.abs(k[T]));p.nsPsy.last_en_subshort[v][y]=S[y+3]=L,B[1+y/3]+=L,L>S[y+3-2]?(d(S[y+3-2]>0),L/=S[y+3-2]):S[y+3-2]>10*L?(d(L>0),L=S[y+3-2]/(10*L)):L=0,C[y+3]=L}for(y=0;y<3;++y){var P=S[3*y+3]+S[3*y+4]+S[3*y+5],F=1;6*S[3*y+5]<P&&(F*=.5,6*S[3*y+4]<P&&(F*=.5)),s[v][y]=F}if(e.analysis){var R=C[0];for(y=1;y<12;y++)R<C[y]&&(R=C[y]);p.pinfo.ers[r][v]=p.pinfo.ers_save[v],p.pinfo.ers_save[v]=R}for(y=0;y<12;y++)0==l[v][y/3]&&C[y]>E&&(l[v][y/3]=y%3+1);for(y=1;y<4;y++){var N=B[y-1],H=B[y];Math.max(N,H)<4e4&&N<1.7*H&&H<1.7*N&&(1==y&&l[v][0]<=l[v][y]&&(l[v][0]=0),l[v][y]=0)}l[v][0]<=p.nsPsy.lastAttacks[v]&&(l[v][0]=0),3!=p.nsPsy.lastAttacks[v]&&l[v][0]+l[v][1]+l[v][2]+l[v][3]==0||(M=0,0!=l[v][1]&&0!=l[v][0]&&(l[v][1]=0),0!=l[v][2]&&0!=l[v][1]&&(l[v][2]=0),0!=l[v][3]&&0!=l[v][2]&&(l[v][3]=0)),v<2?h[v]=M:0==M&&(h[0]=h[1]=0),a[v]=p.tot_ener[v]}}(e,t,n,r,i,o,f,S,B,k),function(e,t){var n=e.internal_flags;e.short_blocks!=a.short_block_coupled||0!=t[0]&&0!=t[1]||(t[0]=t[1]=0);for(var r=0;r<n.channels_out;r++)e.short_blocks==a.short_block_dispensed&&(t[r]=1),e.short_blocks==a.short_block_forced&&(t[r]=0)}(e,k);for(var E=0;E<T;E++)Z(e,t,n,E,r,v,_,D=1&E),K(e,r,E,v),0!=k[D]?ne(g,v,x[E],C[E],E):ee(g,E);for(k[0]+k[1]==2&&e.mode==MPEGMode.JOINT_STEREO&&re(x,C,g.mld_cb_l,g.ATH.cb_l,e.ATHlower*g.ATH.adjust,e.msfix,g.npart_l),E=0;E<T;E++)0!=k[D=1&E]&&H(g,x[E],C[E],E);for(var M=0;M<3;M++){for(E=0;E<T;++E)0!=k[D=1&E]?q(g,E,M):($(e,t,n,E,M,m,w,D),te(e,m,x[E],C[E],E,M));for(k[0]+k[1]==0&&e.mode==MPEGMode.JOINT_STEREO&&re(x,C,g.mld_cb_s,g.ATH.cb_s,e.ATHlower*g.ATH.adjust,e.msfix,g.npart_s),E=0;E<T;++E)0==k[D=1&E]&&N(g,x[E],C[E],E,M)}for(E=0;E<T;E++){var D;if(0==k[D=1&E])for(var O=0;O<p.SBMAX_s;O++){var I=c(3);for(M=0;M<3;M++){var L=g.thm[E].s[O][M];if(L*=.8,B[E][M]>=2||1==B[E][M+1]){var P=0!=M?M-1:2,F=U(g.thm[E].s[O][P],L,.36);L=Math.min(L,F)}else 1==B[E][M]?(P=0!=M?M-1:2,F=U(g.thm[E].s[O][P],L,.6*y),L=Math.min(L,F)):(0!=M&&3==B[E][M-1]||0==M&&3==g.nsPsy.lastAttacks[E])&&(P=2!=M?M+1:0,F=U(g.thm[E].s[O][P],L,.6*y),L=Math.min(L,F));L*=S[E][M],I[M]=L}for(M=0;M<3;M++)g.thm[E].s[O][M]=I[M]}}for(E=0;E<T;E++)g.nsPsy.lastAttacks[E]=B[E][2];for(function(e,t,n){for(var r=e.internal_flags,i=0;i<r.channels_out;i++){var o=p.NORM_TYPE;0!=t[i]?(d(r.blocktype_old[i]!=p.START_TYPE),r.blocktype_old[i]==p.SHORT_TYPE&&(o=p.STOP_TYPE)):(o=p.SHORT_TYPE,r.blocktype_old[i]==p.NORM_TYPE&&(r.blocktype_old[i]=p.START_TYPE),r.blocktype_old[i]==p.STOP_TYPE&&(r.blocktype_old[i]=p.SHORT_TYPE)),n[i]=r.blocktype_old[i],r.blocktype_old[i]=o}}(e,k,A),E=0;E<T;E++){var R,j,Q,Y;E>1?(R=l,j=-2,Q=p.NORM_TYPE,A[0]!=p.SHORT_TYPE&&A[1]!=p.SHORT_TYPE||(Q=p.SHORT_TYPE),Y=o[r][E-2]):(R=s,j=0,Q=A[E],Y=i[r][E]),Q==p.SHORT_TYPE?R[j+E]=z(Y,g.masking_lower):R[j+E]=V(Y,g.masking_lower),e.analysis&&(g.pinfo.pe[r][E]=R[j+E])}return 0},this.psymodel_init=function(n){var r,a,s=n.internal_flags,l=!0,u=13,h=0,f=0,A=-8.25,g=-4.5,v=c(p.CBANDS),m=c(p.CBANDS),y=c(p.CBANDS),b=n.out_samplerate;switch(n.experimentalZ){default:case 0:l=!0;break;case 1:l=n.VBR!=i.vbr_mtrh&&n.VBR!=i.vbr_mt;break;case 2:l=!1;break;case 3:u=8,h=-1.75,f=-.0125,A=-8.25,g=-2.25}for(s.ms_ener_ratio_old=.25,s.blocktype_old[0]=s.blocktype_old[1]=p.NORM_TYPE,r=0;r<4;++r){for(var _=0;_<p.CBANDS;++_)s.nb_1[r][_]=1e20,s.nb_2[r][_]=1e20,s.nb_s1[r][_]=s.nb_s2[r][_]=1;for(var w=0;w<p.SBMAX_l;w++)s.en[r].l[w]=1e20,s.thm[r].l[w]=1e20;for(_=0;_<3;++_){for(w=0;w<p.SBMAX_s;w++)s.en[r].s[w][_]=1e20,s.thm[r].s[w][_]=1e20;s.nsPsy.lastAttacks[r]=0}for(_=0;_<9;_++)s.nsPsy.last_en_subshort[r][_]=10}for(s.loudness_sq_save[0]=s.loudness_sq_save[1]=0,s.npart_l=se(s.numlines_l,s.bo_l,s.bm_l,v,m,s.mld_l,s.PSY.bo_l_weight,b,p.BLKSIZE,s.scalefac_band.l,p.BLKSIZE/1152,p.SBMAX_l),d(s.npart_l<p.CBANDS),r=0;r<s.npart_l;r++){var x=h;v[r]>=u&&(x=f*(v[r]-u)/(24-u)+h*(24-v[r])/(24-u)),y[r]=Math.pow(10,x/10),s.numlines_l[r]>0?s.rnumlines_l[r]=1/s.numlines_l[r]:s.rnumlines_l[r]=0}for(s.s3_ll=le(s.s3ind,s.npart_l,v,m,y,l),_=0,r=0;r<s.npart_l;r++){O=o.MAX_VALUE;for(var C=0;C<s.numlines_l[r];C++,_++){var D=b*_/(1e3*p.BLKSIZE);I=this.ATHformula(1e3*D,n)-20,I=Math.pow(10,.1*I),O>(I*=s.numlines_l[r])&&(O=I)}s.ATH.cb_l[r]=O,(O=20*v[r]/10-20)>6&&(O=100),O<-15&&(O=-15),O-=8,s.minval_l[r]=Math.pow(10,O/10)*s.numlines_l[r]}for(s.npart_s=se(s.numlines_s,s.bo_s,s.bm_s,v,m,s.mld_s,s.PSY.bo_s_weight,b,p.BLKSIZE_s,s.scalefac_band.s,p.BLKSIZE_s/384,p.SBMAX_s),d(s.npart_s<p.CBANDS),_=0,r=0;r<s.npart_s;r++){var O;for(x=A,v[r]>=u&&(x=g*(v[r]-u)/(24-u)+A*(24-v[r])/(24-u)),y[r]=Math.pow(10,x/10),O=o.MAX_VALUE,C=0;C<s.numlines_s[r];C++,_++){var I;D=b*_/(1e3*p.BLKSIZE_s),I=this.ATHformula(1e3*D,n)-20,I=Math.pow(10,.1*I),O>(I*=s.numlines_s[r])&&(O=I)}s.ATH.cb_s[r]=O,O=7*v[r]/12-7,v[r]>12&&(O*=1+3.1*Math.log(1+O)),v[r]<12&&(O*=1+2.3*Math.log(1-O)),O<-15&&(O=-15),O-=8,s.minval_s[r]=Math.pow(10,O/10)*s.numlines_s[r]}s.s3_ss=le(s.s3ind_s,s.npart_s,v,m,y,l),S=Math.pow(10,(T+1)/16),B=Math.pow(10,(E+1)/16),k=Math.pow(10,M/10),e.init_fft(s),s.decay=Math.exp(-1*t/(.01*b/192)),a=3.5,0!=(2&n.exp_nspsytune)&&(a=1),Math.abs(n.msfix)>0&&(a=n.msfix),n.msfix=a;for(var L=0;L<s.npart_l;L++)s.s3ind[L][1]>s.npart_l-1&&(s.s3ind[L][1]=s.npart_l-1);var P=576*s.mode_gr/b;if(s.ATH.decay=Math.pow(10,-1.2*P),s.ATH.adjust=.01,s.ATH.adjustLimit=1,d(s.bo_l[p.SBMAX_l-1]<=s.npart_l),d(s.bo_s[p.SBMAX_s-1]<=s.npart_s),-1!=n.ATHtype){var F=n.out_samplerate/p.BLKSIZE,R=0;for(D=0,r=0;r<p.BLKSIZE/2;++r)D+=F,s.ATH.eql_w[r]=1/Math.pow(10,this.ATHformula(D,n)/10),R+=s.ATH.eql_w[r];for(R=1/R,r=p.BLKSIZE/2;--r>=0;)s.ATH.eql_w[r]*=R}for(L=_=0;L<s.npart_s;++L)for(r=0;r<s.numlines_s[L];++r)++_;for(d(129==_),L=_=0;L<s.npart_l;++L)for(r=0;r<s.numlines_l[L];++r)++_;for(d(513==_),_=0,r=0;r<s.npart_l;r++)D=b*(_+s.numlines_l[r]/2)/(1*p.BLKSIZE),s.mld_cb_l[r]=ce(D),_+=s.numlines_l[r];for(;r<p.CBANDS;++r)s.mld_cb_l[r]=1;for(_=0,r=0;r<s.npart_s;r++)D=b*(_+s.numlines_s[r]/2)/(1*p.BLKSIZE_s),s.mld_cb_s[r]=ce(D),_+=s.numlines_s[r];for(;r<p.CBANDS;++r)s.mld_cb_s[r]=1;return 0},this.ATHformula=function(e,t){var n;switch(t.ATHtype){case 0:n=ue(e,9);break;case 1:n=ue(e,-1);break;case 2:n=ue(e,0);break;case 3:n=ue(e,1)+6;break;case 4:n=ue(e,t.ATHcurve);break;default:n=ue(e,0)}return n}}},knuC:function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},lFkc:function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=i},lHA8:function(e,t,n){e.exports={default:n("pPW7"),__esModule:!0}},lOnJ:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},lktj:function(e,t,n){var r=n("Ibhu"),i=n("xnc9");e.exports=Object.keys||function(e){return r(e,i)}},m9gC:function(e,t,n){var r=n("RY/4"),i=n("4WTo");e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return i(this)}}},mClu:function(e,t,n){var r=n("kM2E");r(r.S+r.F*!n("+E39"),"Object",{defineProperty:n("evD5").f})},mbce:function(e,t,n){var r=n("+E39"),i=n("lktj"),o=n("TcQ7"),a=n("NpIQ").f;e.exports=function(e){return function(t){for(var n,s=o(t),l=i(s),c=l.length,u=0,h=[];c>u;)n=l[u++],r&&!a.call(s,n)||h.push(e?[n,s[n]]:s[n]);return h}}},mgSH:function(e,t,n){var r=n("To6e"),i=r.System,o=r.VbrMode,a=(r.Float,r.ShortBlock),s=(r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),l=(r.new_float_n,r.new_int,r.new_int_n),c=r.new_short_n,u=r.assert,h=n("kheW"),d=n("9Zs0"),f=n("V0p0"),p=n("Zo5e"),A=n("0hxZ"),g=n("mnA4"),v=n("orZQ"),m=n("OSvQ"),y=n("/00o");e.exports=function e(){var t=this;e.V9=410,e.V8=420,e.V7=430,e.V6=440,e.V5=450,e.V4=460,e.V3=470,e.V2=480,e.V1=490,e.V0=500,e.R3MIX=1e3,e.STANDARD=1001,e.EXTREME=1002,e.INSANE=1003,e.STANDARD_FAST=1004,e.EXTREME_FAST=1005,e.MEDIUM=1006,e.MEDIUM_FAST=1007;var n,r,b,_,w;e.LAME_MAXMP3BUFFER=147456;var x,C,S,B=new h;function k(){this.lowerlimit=0}function T(e,t){this.lowpass=t}this.enc=new y,this.setModules=function(e,t,i,o,a,s,l,c,u){n=e,r=t,b=i,_=o,w=a,x=s,C=c,S=u,this.enc.setModules(r,B,_,x)};var E=4294479419;function M(e){return e>1?0:e<=0?1:Math.cos(Math.PI/2*e)}function D(e,t){switch(e){case 44100:return t.version=1,0;case 48e3:return t.version=1,1;case 32e3:return t.version=1,2;case 22050:return t.version=0,0;case 24e3:return t.version=0,1;case 16e3:return t.version=0,2;case 11025:return t.version=0,0;case 12e3:return t.version=0,1;case 8e3:return t.version=0,2;default:return t.version=0,-1}}function O(e,t,n){n<16e3&&(t=2);for(var r=m.bitrate_table[t][1],i=2;i<=14;i++)m.bitrate_table[t][i]>0&&Math.abs(m.bitrate_table[t][i]-e)<Math.abs(r-e)&&(r=m.bitrate_table[t][i]);return r}function I(e,t,n){n<16e3&&(t=2);for(var r=0;r<=14;r++)if(m.bitrate_table[t][r]>0&&m.bitrate_table[t][r]==e)return r;return-1}function L(e,n){var r=[new T(8,2e3),new T(16,3700),new T(24,3900),new T(32,5500),new T(40,7e3),new T(48,7500),new T(56,1e4),new T(64,11e3),new T(80,13500),new T(96,15100),new T(112,15600),new T(128,17e3),new T(160,17500),new T(192,18600),new T(224,19400),new T(256,19700),new T(320,20500)],i=t.nearestBitrateFullIndex(n);e.lowerlimit=r[i].lowpass}function P(e){var t=y.BLKSIZE+e.framesize-y.FFTOFFSET;return t=Math.max(t,512+e.framesize-32),u(f.MFSIZE>=t),t}function F(e,n,r,i,o,a){var s=t.enc.lame_encode_mp3_frame(e,n,r,i,o,a);return e.frameNum++,s}function R(){this.n_in=0,this.n_out=0}function N(){this.num_used=0}function H(e,t,n){var r=Math.PI*t;(e/=n)<0&&(e=0),e>1&&(e=1);var i=e-.5,o=.42-.5*Math.cos(2*e*Math.PI)+.08*Math.cos(4*e*Math.PI);return Math.abs(i)<1e-9?r/Math.PI:o*Math.sin(n*r*i)/(Math.PI*n*i)}function j(e,t,n,r,i,o,a,l,c){var h,d,p=e.internal_flags,A=0,g=e.out_samplerate/function e(t,n){return 0!=n?e(n,t%n):t}(e.out_samplerate,e.in_samplerate);g>f.BPC&&(g=f.BPC);var v=Math.abs(p.resample_ratio-Math.floor(.5+p.resample_ratio))<1e-4?1:0,m=1/p.resample_ratio;m>1&&(m=1);var y=31;0==y%2&&--y;var b=(y+=v)+1;if(0==p.fill_buffer_resample_init){for(p.inbuf_old[0]=s(b),p.inbuf_old[1]=s(b),h=0;h<=2*g;++h)p.blackfilt[h]=s(b);for(p.itime[0]=0,p.itime[1]=0,A=0;A<=2*g;A++){var _=0,w=(A-g)/(2*g);for(h=0;h<=y;h++)_+=p.blackfilt[A][h]=H(h-w,m,y);for(h=0;h<=y;h++)p.blackfilt[A][h]/=_}p.fill_buffer_resample_init=1}var x=p.inbuf_old[c];for(d=0;d<r;d++){var C,S;if(C=d*p.resample_ratio,y+(A=0|Math.floor(C-p.itime[c]))-y/2>=a)break;w=C-p.itime[c]-(A+y%2*.5),u(Math.abs(w)<=.501),S=0|Math.floor(2*w*g+g+.5);var B=0;for(h=0;h<=y;++h){var k=0|h+A-y/2;u(k<a),u(k+b>=0),B+=(k<0?x[b+k]:i[o+k])*p.blackfilt[S][h]}t[n+d]=B}if(l.num_used=Math.min(a,y+A-y/2),p.itime[c]+=l.num_used-d*p.resample_ratio,l.num_used>=b)for(h=0;h<b;h++)x[h]=i[o+l.num_used+h-b];else{var T=b-l.num_used;for(h=0;h<T;++h)x[h]=x[h+l.num_used];for(A=0;h<b;++h,++A)x[h]=i[o+A];u(A==l.num_used)}return d}function U(e,t,n,r,i,o){var a=e.internal_flags;if(a.resample_ratio<.9999||a.resample_ratio>1.0001)for(var s=0;s<a.channels_out;s++){var l=new N;o.n_out=j(e,t[s],a.mf_size,e.framesize,n[s],r,i,l,s),o.n_in=l.num_used}else{o.n_out=Math.min(e.framesize,i),o.n_in=o.n_out;for(var c=0;c<o.n_out;++c)t[0][a.mf_size+c]=n[0][r+c],2==a.channels_out&&(t[1][a.mf_size+c]=n[1][r+c])}}this.lame_init=function(){var e=new d;return 0!=function(e){var t;return e.class_id=E,t=e.internal_flags=new f,e.mode=MPEGMode.NOT_SET,e.original=1,e.in_samplerate=44100,e.num_channels=2,e.num_samples=-1,e.bWriteVbrTag=!0,e.quality=-1,e.short_blocks=null,t.subblock_gain=-1,e.lowpassfreq=0,e.highpassfreq=0,e.lowpasswidth=-1,e.highpasswidth=-1,e.VBR=o.vbr_off,e.VBR_q=4,e.ATHcurve=-1,e.VBR_mean_bitrate_kbps=128,e.VBR_min_bitrate_kbps=0,e.VBR_max_bitrate_kbps=0,e.VBR_hard_min=0,t.VBR_min_bitrate=1,t.VBR_max_bitrate=13,e.quant_comp=-1,e.quant_comp_short=-1,e.msfix=-1,t.resample_ratio=1,t.OldValue[0]=180,t.OldValue[1]=180,t.CurrentStep[0]=4,t.CurrentStep[1]=4,t.masking_lower=1,t.nsPsy.attackthre=-1,t.nsPsy.attackthre_s=-1,e.scale=-1,e.athaa_type=-1,e.ATHtype=-1,e.athaa_loudapprox=-1,e.athaa_sensitivity=0,e.useTemporal=null,e.interChRatio=-1,t.mf_samples_to_encode=y.ENCDELAY+y.POSTDELAY,e.encoder_padding=0,t.mf_size=y.ENCDELAY-y.MDCTDELAY,e.findReplayGain=!1,e.decode_on_the_fly=!1,t.decode_on_the_fly=!1,t.findReplayGain=!1,t.findPeakSample=!1,t.RadioGain=0,t.AudiophileGain=0,t.noclipGainChange=0,t.noclipScale=-1,e.preset=0,e.write_id3tag_automatic=!0,0}(e)?null:(e.lame_allocated_gfp=1,e)},this.nearestBitrateFullIndex=function(e){var t=[8,16,24,32,40,48,56,64,80,96,112,128,160,192,224,256,320],n=0,r=0,i=0,o=0;o=t[16],i=16,r=t[16],n=16;for(var a=0;a<16;a++)if(Math.max(e,t[a+1])!=e){o=t[a+1],i=a+1,r=t[a],n=a;break}return o-e>e-r?n:i},this.lame_init_params=function(e){var t,c,d,f=e.internal_flags;if(f.Class_ID=0,null==f.ATH&&(f.ATH=new p),null==f.PSY&&(f.PSY=new function(){this.mask_adjust=0,this.mask_adjust_short=0,this.bo_l_weight=s(y.SBMAX_l),this.bo_s_weight=s(y.SBMAX_s)}),null==f.rgdata&&(f.rgdata=new A),f.channels_in=e.num_channels,1==f.channels_in&&(e.mode=MPEGMode.MONO),f.channels_out=e.mode==MPEGMode.MONO?1:2,f.mode_ext=y.MPG_MD_MS_LR,e.mode==MPEGMode.MONO&&(e.force_ms=!1),e.VBR==o.vbr_off&&128!=e.VBR_mean_bitrate_kbps&&0==e.brate&&(e.brate=e.VBR_mean_bitrate_kbps),e.VBR==o.vbr_off||e.VBR==o.vbr_mtrh||e.VBR==o.vbr_mt||(e.free_format=!1),e.VBR==o.vbr_off&&0==e.brate&&v.EQ(e.compression_ratio,0)&&(e.compression_ratio=11.025),e.VBR==o.vbr_off&&e.compression_ratio>0&&(0==e.out_samplerate&&(e.out_samplerate=map2MP3Frequency(int(.97*e.in_samplerate))),e.brate=0|16*e.out_samplerate*f.channels_out/(1e3*e.compression_ratio),f.samplerate_index=D(e.out_samplerate,e),e.free_format||(e.brate=O(e.brate,e.version,e.out_samplerate))),0!=e.out_samplerate&&(e.out_samplerate<16e3?(e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,8),e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,64)):e.out_samplerate<32e3?(e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,8),e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,160)):(e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,32),e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,320))),0==e.lowpassfreq){var T=16e3;switch(e.VBR){case o.vbr_off:L(P=new k,e.brate),T=P.lowerlimit;break;case o.vbr_abr:var P;L(P=new k,e.VBR_mean_bitrate_kbps),T=P.lowerlimit;break;case o.vbr_rh:var F=[19500,19e3,18600,18e3,17500,16e3,15600,14900,12500,1e4,3950];if(0<=e.VBR_q&&e.VBR_q<=9){var R=F[e.VBR_q],N=F[e.VBR_q+1],H=e.VBR_q_frac;T=linear_int(R,N,H)}else T=19500;break;default:F=[19500,19e3,18500,18e3,17500,16500,15500,14500,12500,9500,3950],0<=e.VBR_q&&e.VBR_q<=9?(R=F[e.VBR_q],N=F[e.VBR_q+1],H=e.VBR_q_frac,T=linear_int(R,N,H)):T=19500}e.mode!=MPEGMode.MONO||e.VBR!=o.vbr_off&&e.VBR!=o.vbr_abr||(T*=1.5),e.lowpassfreq=0|T}if(0==e.out_samplerate&&(2*e.lowpassfreq>e.in_samplerate&&(e.lowpassfreq=e.in_samplerate/2),e.out_samplerate=(t=0|e.lowpassfreq,c=e.in_samplerate,d=44100,c>=48e3?d=48e3:c>=44100?d=44100:c>=32e3?d=32e3:c>=24e3?d=24e3:c>=22050?d=22050:c>=16e3?d=16e3:c>=12e3?d=12e3:c>=11025?d=11025:c>=8e3&&(d=8e3),-1==t?d:(t<=15960&&(d=44100),t<=15250&&(d=32e3),t<=11220&&(d=24e3),t<=9970&&(d=22050),t<=7230&&(d=16e3),t<=5420&&(d=12e3),t<=4510&&(d=11025),t<=3970&&(d=8e3),c<d?c>44100?48e3:c>32e3?44100:c>24e3?32e3:c>22050?24e3:c>16e3?22050:c>12e3?16e3:c>11025?12e3:c>8e3?11025:8e3:d))),e.lowpassfreq=Math.min(20500,e.lowpassfreq),e.lowpassfreq=Math.min(e.out_samplerate/2,e.lowpassfreq),e.VBR==o.vbr_off&&(e.compression_ratio=16*e.out_samplerate*f.channels_out/(1e3*e.brate)),e.VBR==o.vbr_abr&&(e.compression_ratio=16*e.out_samplerate*f.channels_out/(1e3*e.VBR_mean_bitrate_kbps)),e.bWriteVbrTag||(e.findReplayGain=!1,e.decode_on_the_fly=!1,f.findPeakSample=!1),f.findReplayGain=e.findReplayGain,f.decode_on_the_fly=e.decode_on_the_fly,f.decode_on_the_fly&&(f.findPeakSample=!0),f.findReplayGain&&n.InitGainAnalysis(f.rgdata,e.out_samplerate)==GainAnalysis.INIT_GAIN_ANALYSIS_ERROR)return e.internal_flags=null,-6;switch(f.decode_on_the_fly&&!e.decode_only&&(null!=f.hip&&S.hip_decode_exit(f.hip),f.hip=S.hip_decode_init()),f.mode_gr=e.out_samplerate<=24e3?1:2,e.framesize=576*f.mode_gr,e.encoder_delay=y.ENCDELAY,f.resample_ratio=e.in_samplerate/e.out_samplerate,e.VBR){case o.vbr_mt:case o.vbr_rh:case o.vbr_mtrh:e.compression_ratio=[5.7,6.5,7.3,8.2,10,11.9,13,14,15,16.5][e.VBR_q];break;case o.vbr_abr:e.compression_ratio=16*e.out_samplerate*f.channels_out/(1e3*e.VBR_mean_bitrate_kbps);break;default:e.compression_ratio=16*e.out_samplerate*f.channels_out/(1e3*e.brate)}if(e.mode==MPEGMode.NOT_SET&&(e.mode=MPEGMode.JOINT_STEREO),e.highpassfreq>0?(f.highpass1=2*e.highpassfreq,e.highpasswidth>=0?f.highpass2=2*(e.highpassfreq+e.highpasswidth):f.highpass2=2*e.highpassfreq,f.highpass1/=e.out_samplerate,f.highpass2/=e.out_samplerate):(f.highpass1=0,f.highpass2=0),e.lowpassfreq>0?(f.lowpass2=2*e.lowpassfreq,e.lowpasswidth>=0?(f.lowpass1=2*(e.lowpassfreq-e.lowpasswidth),f.lowpass1<0&&(f.lowpass1=0)):f.lowpass1=2*e.lowpassfreq,f.lowpass1/=e.out_samplerate,f.lowpass2/=e.out_samplerate):(f.lowpass1=0,f.lowpass2=0),function(e){var t=e.internal_flags,n=32,r=-1;if(t.lowpass1>0){for(var o=999,a=0;a<=31;a++)(u=a/31)>=t.lowpass2&&(n=Math.min(n,a)),t.lowpass1<u&&u<t.lowpass2&&(o=Math.min(o,a));t.lowpass1=999==o?(n-.75)/31:(o-.75)/31,t.lowpass2=n/31}if(t.highpass2>0&&t.highpass2<.75/31*.9&&(t.highpass1=0,t.highpass2=0,i.err.println("Warning: highpass filter disabled. highpass frequency too small\n")),t.highpass2>0){var s=-1;for(a=0;a<=31;a++)(u=a/31)<=t.highpass1&&(r=Math.max(r,a)),t.highpass1<u&&u<t.highpass2&&(s=Math.max(s,a));t.highpass1=r/31,t.highpass2=-1==s?(r+.75)/31:(s+.75)/31}for(a=0;a<32;a++){var l,c,u=a/31;l=t.highpass2>t.highpass1?M((t.highpass2-u)/(t.highpass2-t.highpass1+1e-20)):1,c=t.lowpass2>t.lowpass1?M((u-t.lowpass1)/(t.lowpass2-t.lowpass1+1e-20)):1,t.amp_filter[a]=l*c}}(e),f.samplerate_index=D(e.out_samplerate,e),f.samplerate_index<0)return e.internal_flags=null,-1;if(e.VBR==o.vbr_off){if(e.free_format)f.bitrate_index=0;else if(e.brate=O(e.brate,e.version,e.out_samplerate),f.bitrate_index=I(e.brate,e.version,e.out_samplerate),f.bitrate_index<=0)return e.internal_flags=null,-1}else f.bitrate_index=1;e.analysis&&(e.bWriteVbrTag=!1),null!=f.pinfo&&(e.bWriteVbrTag=!1),r.init_bit_stream_w(f);for(var j,U=f.samplerate_index+3*e.version+6*(e.out_samplerate<16e3?1:0),Q=0;Q<y.SBMAX_l+1;Q++)f.scalefac_band.l[Q]=_.sfBandIndex[U].l[Q];for(Q=0;Q<y.PSFB21+1;Q++){var z=(f.scalefac_band.l[22]-f.scalefac_band.l[21])/y.PSFB21,Y=f.scalefac_band.l[21]+Q*z;f.scalefac_band.psfb21[Q]=Y}for(f.scalefac_band.psfb21[y.PSFB21]=576,Q=0;Q<y.SBMAX_s+1;Q++)f.scalefac_band.s[Q]=_.sfBandIndex[U].s[Q];for(Q=0;Q<y.PSFB12+1;Q++)z=(f.scalefac_band.s[13]-f.scalefac_band.s[12])/y.PSFB12,Y=f.scalefac_band.s[12]+Q*z,f.scalefac_band.psfb12[Q]=Y;for(f.scalefac_band.psfb12[y.PSFB12]=192,1==e.version?f.sideinfo_len=1==f.channels_out?21:36:f.sideinfo_len=1==f.channels_out?13:21,e.error_protection&&(f.sideinfo_len+=2),function(e){var t=e.internal_flags;e.frameNum=0,e.write_id3tag_automatic&&C.id3tag_write_v2(e),t.bitrate_stereoMode_Hist=l([16,5]),t.bitrate_blockType_Hist=l([16,6]),t.PeakSample=0,e.bWriteVbrTag&&x.InitVbrTag(e)}(e),f.Class_ID=E,j=0;j<19;j++)f.nsPsy.pefirbuf[j]=700*f.mode_gr*f.channels_out;switch(-1==e.ATHtype&&(e.ATHtype=4),u(e.VBR_q<=9),u(e.VBR_q>=0),e.VBR){case o.vbr_mt:e.VBR=o.vbr_mtrh;case o.vbr_mtrh:null==e.useTemporal&&(e.useTemporal=!1),b.apply_preset(e,500-10*e.VBR_q,0),e.quality<0&&(e.quality=LAME_DEFAULT_QUALITY),e.quality<5&&(e.quality=0),e.quality>5&&(e.quality=5),f.PSY.mask_adjust=e.maskingadjust,f.PSY.mask_adjust_short=e.maskingadjust_short,e.experimentalY?f.sfb21_extra=!1:f.sfb21_extra=e.out_samplerate>44e3,f.iteration_loop=new VBRNewIterationLoop(w);break;case o.vbr_rh:b.apply_preset(e,500-10*e.VBR_q,0),f.PSY.mask_adjust=e.maskingadjust,f.PSY.mask_adjust_short=e.maskingadjust_short,e.experimentalY?f.sfb21_extra=!1:f.sfb21_extra=e.out_samplerate>44e3,e.quality>6&&(e.quality=6),e.quality<0&&(e.quality=LAME_DEFAULT_QUALITY),f.iteration_loop=new VBROldIterationLoop(w);break;default:var V;f.sfb21_extra=!1,e.quality<0&&(e.quality=LAME_DEFAULT_QUALITY),(V=e.VBR)==o.vbr_off&&(e.VBR_mean_bitrate_kbps=e.brate),b.apply_preset(e,e.VBR_mean_bitrate_kbps,0),e.VBR=V,f.PSY.mask_adjust=e.maskingadjust,f.PSY.mask_adjust_short=e.maskingadjust_short,V==o.vbr_off?f.iteration_loop=new g(w):f.iteration_loop=new ABRIterationLoop(w)}if(u(e.scale>=0),e.VBR!=o.vbr_off){if(f.VBR_min_bitrate=1,f.VBR_max_bitrate=14,e.out_samplerate<16e3&&(f.VBR_max_bitrate=8),0!=e.VBR_min_bitrate_kbps&&(e.VBR_min_bitrate_kbps=O(e.VBR_min_bitrate_kbps,e.version,e.out_samplerate),f.VBR_min_bitrate=I(e.VBR_min_bitrate_kbps,e.version,e.out_samplerate),f.VBR_min_bitrate<0))return-1;if(0!=e.VBR_max_bitrate_kbps&&(e.VBR_max_bitrate_kbps=O(e.VBR_max_bitrate_kbps,e.version,e.out_samplerate),f.VBR_max_bitrate=I(e.VBR_max_bitrate_kbps,e.version,e.out_samplerate),f.VBR_max_bitrate<0))return-1;e.VBR_min_bitrate_kbps=m.bitrate_table[e.version][f.VBR_min_bitrate],e.VBR_max_bitrate_kbps=m.bitrate_table[e.version][f.VBR_max_bitrate],e.VBR_mean_bitrate_kbps=Math.min(m.bitrate_table[e.version][f.VBR_max_bitrate],e.VBR_mean_bitrate_kbps),e.VBR_mean_bitrate_kbps=Math.max(m.bitrate_table[e.version][f.VBR_min_bitrate],e.VBR_mean_bitrate_kbps)}return e.tune&&(f.PSY.mask_adjust+=e.tune_value_a,f.PSY.mask_adjust_short+=e.tune_value_a),function(e){var t=e.internal_flags;switch(e.quality){default:case 9:t.psymodel=0,t.noise_shaping=0,t.noise_shaping_amp=0,t.noise_shaping_stop=0,t.use_best_huffman=0,t.full_outer_loop=0;break;case 8:e.quality=7;case 7:t.psymodel=1,t.noise_shaping=0,t.noise_shaping_amp=0,t.noise_shaping_stop=0,t.use_best_huffman=0,t.full_outer_loop=0;break;case 6:case 5:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),t.noise_shaping_amp=0,t.noise_shaping_stop=0,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=0,t.full_outer_loop=0;break;case 4:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),t.noise_shaping_amp=0,t.noise_shaping_stop=0,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0;break;case 3:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),t.noise_shaping_amp=1,t.noise_shaping_stop=1,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0;break;case 2:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),0==t.substep_shaping&&(t.substep_shaping=2),t.noise_shaping_amp=1,t.noise_shaping_stop=1,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0;break;case 1:case 0:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),0==t.substep_shaping&&(t.substep_shaping=2),t.noise_shaping_amp=2,t.noise_shaping_stop=1,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0}}(e),u(e.scale>=0),e.athaa_type<0?f.ATH.useAdjust=3:f.ATH.useAdjust=e.athaa_type,f.ATH.aaSensitivityP=Math.pow(10,e.athaa_sensitivity/-10),null==e.short_blocks&&(e.short_blocks=a.short_block_allowed),e.short_blocks!=a.short_block_allowed||e.mode!=MPEGMode.JOINT_STEREO&&e.mode!=MPEGMode.STEREO||(e.short_blocks=a.short_block_coupled),e.quant_comp<0&&(e.quant_comp=1),e.quant_comp_short<0&&(e.quant_comp_short=0),e.msfix<0&&(e.msfix=0),e.exp_nspsytune=1|e.exp_nspsytune,e.internal_flags.nsPsy.attackthre<0&&(e.internal_flags.nsPsy.attackthre=h.NSATTACKTHRE),e.internal_flags.nsPsy.attackthre_s<0&&(e.internal_flags.nsPsy.attackthre_s=h.NSATTACKTHRE_S),u(e.scale>=0),e.scale<0&&(e.scale=1),e.ATHtype<0&&(e.ATHtype=4),e.ATHcurve<0&&(e.ATHcurve=4),e.athaa_loudapprox<0&&(e.athaa_loudapprox=2),e.interChRatio<0&&(e.interChRatio=0),null==e.useTemporal&&(e.useTemporal=!0),f.slot_lag=f.frac_SpF=0,e.VBR==o.vbr_off&&(f.slot_lag=f.frac_SpF=72e3*(e.version+1)*e.brate%e.out_samplerate|0),_.iteration_init(e),B.psymodel_init(e),u(e.scale>=0),0},this.lame_encode_flush=function(e,t,n,i){var o,a,s,l,u=e.internal_flags,h=c([2,1152]),d=0,f=u.mf_samples_to_encode-y.POSTDELAY,p=P(e);if(u.mf_samples_to_encode<1)return 0;for(o=0,e.in_samplerate!=e.out_samplerate&&(f+=16*e.out_samplerate/e.in_samplerate),(s=e.framesize-f%e.framesize)<576&&(s+=e.framesize),e.encoder_padding=s,l=(f+s)/e.framesize;l>0&&d>=0;){var A=p-u.mf_size,g=e.frameNum;A*=e.in_samplerate,(A/=e.out_samplerate)>1152&&(A=1152),A<1&&(A=1),a=i-o,0==i&&(a=0),n+=d=this.lame_encode_buffer(e,h[0],h[1],A,t,n,a),o+=d,l-=g!=e.frameNum?1:0}if(u.mf_samples_to_encode=0,d<0)return d;if(a=i-o,0==i&&(a=0),r.flush_bitstream(e),(d=r.copy_buffer(u,t,n,a,1))<0)return d;if(n+=d,a=i-(o+=d),0==i&&(a=0),e.write_id3tag_automatic){if(C.id3tag_write_v1(e),(d=r.copy_buffer(u,t,n,a,0))<0)return d;o+=d}return o},this.lame_encode_buffer=function(e,t,i,o,a,l,c){var h=e.internal_flags,d=[null,null];if(h.Class_ID!=E)return-3;if(0==o)return 0;!function(e,t){(null==e.in_buffer_0||e.in_buffer_nsamples<t)&&(e.in_buffer_0=s(t),e.in_buffer_1=s(t),e.in_buffer_nsamples=t)}(h,o),d[0]=h.in_buffer_0,d[1]=h.in_buffer_1;for(var p=0;p<o;p++)d[0][p]=t[p],h.channels_in>1&&(d[1][p]=i[p]);return function(e,t,i,o,a,s,l){var c,h,d,p,A,g=e.internal_flags,m=0,b=[null,null],_=[null,null];if(g.Class_ID!=E)return-3;if(0==o)return 0;if((A=r.copy_buffer(g,a,s,l,0))<0)return A;if(s+=A,m+=A,_[0]=t,_[1]=i,v.NEQ(e.scale,0)&&v.NEQ(e.scale,1))for(h=0;h<o;++h)_[0][h]*=e.scale,2==g.channels_out&&(_[1][h]*=e.scale);if(v.NEQ(e.scale_left,0)&&v.NEQ(e.scale_left,1))for(h=0;h<o;++h)_[0][h]*=e.scale_left;if(v.NEQ(e.scale_right,0)&&v.NEQ(e.scale_right,1))for(h=0;h<o;++h)_[1][h]*=e.scale_right;if(2==e.num_channels&&1==g.channels_out)for(h=0;h<o;++h)_[0][h]=.5*(_[0][h]+_[1][h]),_[1][h]=0;p=P(e),b[0]=g.mfbuf[0],b[1]=g.mfbuf[1];for(var w=0;o>0;){var x=[null,null],C=0,S=0;x[0]=_[0],x[1]=_[1];var B=new R;if(U(e,b,x,w,o,B),C=B.n_in,S=B.n_out,g.findReplayGain&&!g.decode_on_the_fly&&n.AnalyzeSamples(g.rgdata,b[0],g.mf_size,b[1],g.mf_size,S,g.channels_out)==GainAnalysis.GAIN_ANALYSIS_ERROR)return-6;if(o-=C,w+=C,g.channels_out,g.mf_size+=S,u(g.mf_size<=f.MFSIZE),g.mf_samples_to_encode<1&&(g.mf_samples_to_encode=y.ENCDELAY+y.POSTDELAY),g.mf_samples_to_encode+=S,g.mf_size>=p){var k=l-m;if(0==l&&(k=0),(c=F(e,b[0],b[1],a,s,k))<0)return c;for(s+=c,m+=c,g.mf_size-=e.framesize,g.mf_samples_to_encode-=e.framesize,d=0;d<g.channels_out;d++)for(h=0;h<g.mf_size;h++)b[d][h]=b[d][h+e.framesize]}}return u(0==o),m}(e,d[0],d[1],o,a,l,c)}}},mlh9:function(e,t,n){var r=n("d4lq"),i=n("To6e"),o=(i.System,i.VbrMode),a=i.Float,s=(i.ShortBlock,i.Util),l=(i.Arrays,i.new_array_n,i.new_byte,i.new_double,i.new_float),c=(i.new_float_n,i.new_int),u=(i.new_int_n,i.assert),h=n("/00o"),d=n("ELaV"),f=n("V0p0");function p(){var e=null,t=null,n=null;this.setModules=function(r,i,o){e=r,t=i,n=o},this.IPOW20=function(e){return u(0<=e&&e<p.Q_MAX),b[e]};var i=p.IXMAX_VAL+2,A=p.Q_MAX,g=p.Q_MAX2,v=(p.LARGE_BITS,100);this.nr_of_sfb_block=[[[6,5,5,5],[9,9,9,9],[6,9,9,9]],[[6,5,7,3],[9,9,12,6],[6,9,12,6]],[[11,10,0,0],[18,18,0,0],[15,18,0,0]],[[7,7,7,0],[12,12,12,0],[6,15,12,0]],[[6,6,6,3],[12,9,9,6],[6,12,9,6]],[[8,8,5,0],[15,12,9,0],[6,18,9,0]]];var m=[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,2,2,3,3,3,2,0];this.pretab=m,this.sfBandIndex=[new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,24,32,42,56,74,100,132,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,114,136,162,194,232,278,332,394,464,540,576],[0,4,8,12,18,26,36,48,62,80,104,136,180,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,26,36,48,62,80,104,134,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,4,8,12,16,20,24,30,36,44,52,62,74,90,110,134,162,196,238,288,342,418,576],[0,4,8,12,16,22,30,40,52,66,84,106,136,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,4,8,12,16,20,24,30,36,42,50,60,72,88,106,128,156,190,230,276,330,384,576],[0,4,8,12,16,22,28,38,50,64,80,100,126,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,4,8,12,16,20,24,30,36,44,54,66,82,102,126,156,194,240,296,364,448,550,576],[0,4,8,12,16,22,30,42,58,78,104,138,180,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,26,36,48,62,80,104,134,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,26,36,48,62,80,104,134,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,12,24,36,48,60,72,88,108,132,160,192,232,280,336,400,476,566,568,570,572,574,576],[0,8,16,24,36,52,72,96,124,160,162,164,166,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0])];var y=l(A+g+1),b=l(A),_=l(i),w=l(i);function x(e,t){var r=n.ATHformula(t,e);return r-=v,r=Math.pow(10,r/10+e.ATHlower)}function C(e){this.s=e}this.adj43=w,this.iteration_init=function(t){var n,r=t.internal_flags,o=r.l3_side;if(0==r.iteration_init_init){for(r.iteration_init_init=1,o.main_data_begin=0,function(e){for(var t=e.internal_flags.ATH.l,n=e.internal_flags.ATH.psfb21,r=e.internal_flags.ATH.s,i=e.internal_flags.ATH.psfb12,o=e.internal_flags,s=e.out_samplerate,l=0;l<h.SBMAX_l;l++){var c=o.scalefac_band.l[l],u=o.scalefac_band.l[l+1];t[l]=a.MAX_VALUE;for(var d=c;d<u;d++){var f=x(e,d*s/1152);t[l]=Math.min(t[l],f)}}for(l=0;l<h.PSFB21;l++)for(c=o.scalefac_band.psfb21[l],u=o.scalefac_band.psfb21[l+1],n[l]=a.MAX_VALUE,d=c;d<u;d++)f=x(e,d*s/1152),n[l]=Math.min(n[l],f);for(l=0;l<h.SBMAX_s;l++){for(c=o.scalefac_band.s[l],u=o.scalefac_band.s[l+1],r[l]=a.MAX_VALUE,d=c;d<u;d++)f=x(e,d*s/384),r[l]=Math.min(r[l],f);r[l]*=o.scalefac_band.s[l+1]-o.scalefac_band.s[l]}for(l=0;l<h.PSFB12;l++){for(c=o.scalefac_band.psfb12[l],u=o.scalefac_band.psfb12[l+1],i[l]=a.MAX_VALUE,d=c;d<u;d++)f=x(e,d*s/384),i[l]=Math.min(i[l],f);i[l]*=o.scalefac_band.s[13]-o.scalefac_band.s[12]}if(e.noATH){for(l=0;l<h.SBMAX_l;l++)t[l]=1e-20;for(l=0;l<h.PSFB21;l++)n[l]=1e-20;for(l=0;l<h.SBMAX_s;l++)r[l]=1e-20;for(l=0;l<h.PSFB12;l++)i[l]=1e-20}o.ATH.floor=10*Math.log10(x(e,-1))}(t),_[0]=0,n=1;n<i;n++)_[n]=Math.pow(n,4/3);for(n=0;n<i-1;n++)w[n]=n+1-Math.pow(.5*(_[n]+_[n+1]),.75);for(w[n]=.5,n=0;n<A;n++)b[n]=Math.pow(2,-.1875*(n-210));for(n=0;n<=A+g;n++)y[n]=Math.pow(2,.25*(n-210-g));var s,l,c,u;for(e.huffman_init(r),(n=t.exp_nspsytune>>2&63)>=32&&(n-=64),s=Math.pow(10,n/4/10),(n=t.exp_nspsytune>>8&63)>=32&&(n-=64),l=Math.pow(10,n/4/10),(n=t.exp_nspsytune>>14&63)>=32&&(n-=64),c=Math.pow(10,n/4/10),(n=t.exp_nspsytune>>20&63)>=32&&(n-=64),u=c*Math.pow(10,n/4/10),n=0;n<h.SBMAX_l;n++){d=n<=6?s:n<=13?l:n<=20?c:u,r.nsPsy.longfact[n]=d}for(n=0;n<h.SBMAX_s;n++){var d;d=n<=5?s:n<=10?l:n<=11?c:u,r.nsPsy.shortfact[n]=d}}},this.on_pe=function(e,n,r,i,o,a){var s,l,h=e.internal_flags,p=0,A=c(2),g=new d(p),v=t.ResvMaxBits(e,i,g,a),m=(p=g.bits)+v;for(m>f.MAX_BITS_PER_GRANULE&&(m=f.MAX_BITS_PER_GRANULE),s=0,l=0;l<h.channels_out;++l)r[l]=Math.min(f.MAX_BITS_PER_CHANNEL,p/h.channels_out),A[l]=0|r[l]*n[o][l]/700-r[l],A[l]>3*i/4&&(A[l]=3*i/4),A[l]<0&&(A[l]=0),A[l]+r[l]>f.MAX_BITS_PER_CHANNEL&&(A[l]=Math.max(0,f.MAX_BITS_PER_CHANNEL-r[l])),s+=A[l];if(s>v)for(l=0;l<h.channels_out;++l)A[l]=v*A[l]/s;for(l=0;l<h.channels_out;++l)r[l]+=A[l],v-=A[l];for(s=0,l=0;l<h.channels_out;++l)s+=r[l];if(s>f.MAX_BITS_PER_GRANULE){var y=0;for(l=0;l<h.channels_out;++l)r[l]*=f.MAX_BITS_PER_GRANULE,r[l]/=s,y+=r[l];u(y<=f.MAX_BITS_PER_GRANULE)}return m},this.reduce_side=function(e,t,n,r){u(r<=f.MAX_BITS_PER_GRANULE),u(e[0]+e[1]<=f.MAX_BITS_PER_GRANULE);var i=.33*(.5-t)/.5;i<0&&(i=0),i>.5&&(i=.5);var o=0|.5*i*(e[0]+e[1]);o>f.MAX_BITS_PER_CHANNEL-e[0]&&(o=f.MAX_BITS_PER_CHANNEL-e[0]),o<0&&(o=0),e[1]>=125&&(e[1]-o>125?(e[0]<n&&(e[0]+=o),e[1]-=o):(e[0]+=e[1]-125,e[1]=125)),(o=e[0]+e[1])>r&&(e[0]=r*e[0]/o,e[1]=r*e[1]/o),u(e[0]<=f.MAX_BITS_PER_CHANNEL),u(e[1]<=f.MAX_BITS_PER_CHANNEL),u(e[0]+e[1]<=f.MAX_BITS_PER_GRANULE)},this.athAdjust=function(e,t,n){var r=90.30873362,i=s.FAST_LOG10_X(t,10),o=e*e,a=0;return i-=n,o>1e-20&&(a=1+s.FAST_LOG10_X(o,10/r)),a<0&&(a=0),i*=a,i+=n+r-94.82444863,Math.pow(10,.1*i)},this.calc_xmin=function(e,t,n,r){var i,a=0,s=e.internal_flags,l=0,c=0,u=s.ATH,d=n.xr,f=e.VBR==o.vbr_mtrh?1:0,p=s.masking_lower;for(e.VBR!=o.vbr_mtrh&&e.VBR!=o.vbr_mt||(p=1),i=0;i<n.psy_lmax;i++){w=(_=e.VBR==o.vbr_rh||e.VBR==o.vbr_mtrh?athAdjust(u.adjust,u.l[i],u.floor):u.adjust*u.l[i])/(m=n.width[i]),x=2.220446049250313e-16,k=m>>1,B=0;do{B+=T=d[l]*d[l],x+=T<w?T:w,B+=E=d[++l]*d[l],x+=E<w?E:w,l++}while(--k>0);if(B>_&&c++,i==h.SBPSY_l)x<(S=_*s.nsPsy.longfact[i])&&(x=S);if(0!=f&&(_=x),!e.ATHonly)if((C=t.en.l[i])>0)S=B*t.thm.l[i]*p/C,0!=f&&(S*=s.nsPsy.longfact[i]),_<S&&(_=S);r[a++]=0!=f?_:_*s.nsPsy.longfact[i]}var A=575;if(n.block_type!=h.SHORT_TYPE)for(var g=576;0!=g--&&BitStream.EQ(d[g],0);)A=g;n.max_nonzero_coeff=A;for(var v=n.sfb_smin;i<n.psymax;v++,i+=3){var m,y,b;for(b=e.VBR==o.vbr_rh||e.VBR==o.vbr_mtrh?athAdjust(u.adjust,u.s[v],u.floor):u.adjust*u.s[v],m=n.width[i],y=0;y<3;y++){var _,w,x,C,S,B=0,k=m>>1;w=b/m,x=2.220446049250313e-16;do{var T,E;B+=T=d[l]*d[l],x+=T<w?T:w,B+=E=d[++l]*d[l],x+=E<w?E:w,l++}while(--k>0);if(B>b&&c++,v==h.SBPSY_s)x<(S=b*s.nsPsy.shortfact[v])&&(x=S);if(_=0!=f?x:b,!e.ATHonly&&!e.ATHshort)if((C=t.en.s[v][y])>0)S=B*t.thm.s[v][y]*p/C,0!=f&&(S*=s.nsPsy.shortfact[v]),_<S&&(_=S);r[a++]=0!=f?_:_*s.nsPsy.shortfact[v]}e.useTemporal&&(r[a-3]>r[a-3+1]&&(r[a-3+1]+=(r[a-3]-r[a-3+1])*s.decay),r[a-3+1]>r[a-3+2]&&(r[a-3+2]+=(r[a-3+1]-r[a-3+2])*s.decay))}return c},this.calc_noise_core=function(e,t,n,r){var i=0,o=t.s,a=e.l3_enc;if(o>e.count1)for(;0!=n--;){c=e.xr[o],o++,i+=c*c,c=e.xr[o],o++,i+=c*c}else if(o>e.big_values){var s=l(2);for(s[0]=0,s[1]=r;0!=n--;){c=Math.abs(e.xr[o])-s[a[o]],o++,i+=c*c,c=Math.abs(e.xr[o])-s[a[o]],o++,i+=c*c}}else for(;0!=n--;){var c;c=Math.abs(e.xr[o])-_[a[o]]*r,o++,i+=c*c,c=Math.abs(e.xr[o])-_[a[o]]*r,o++,i+=c*c}return t.s=o,i},this.calc_noise=function(e,t,n,r,i){var o,a,l,c=0,h=0,d=0,f=0,A=0,g=-20,v=0,b=e.scalefac,_=0;for(r.over_SSD=0,o=0;o<e.psymax;o++){var w,x=e.global_gain-(b[_++]+(0!=e.preflag?m[o]:0)<<e.scalefac_scale+1)-8*e.subblock_gain[e.window[o]],S=0;if(null!=i&&i.step[o]==x)S=i.noise[o],v+=e.width[o],n[c++]=S/t[h++],S=i.noise_log[o];else{var B,k=(u(0<=(l=x)+p.Q_MAX2&&l<p.Q_MAX),y[l+p.Q_MAX2]);if(a=e.width[o]>>1,v+e.width[o]>e.max_nonzero_coeff)a=(B=e.max_nonzero_coeff-v+1)>0?B>>1:0;var T=new C(v);S=this.calc_noise_core(e,T,a,k),v=T.s,null!=i&&(i.step[o]=x,i.noise[o]=S),S=n[c++]=S/t[h++],S=s.FAST_LOG10(Math.max(S,1e-20)),null!=i&&(i.noise_log[o]=S)}if(null!=i&&(i.global_gain=e.global_gain),A+=S,S>0)w=Math.max(0|10*S+.5,1),r.over_SSD+=w*w,d++,f+=S;g=Math.max(g,S)}return r.over_count=d,r.tot_noise=A,r.over_noise=f,r.max_noise=g,d},this.set_pinfo=function(e,t,n,r,i){var o,a,s,c,d,f=e.internal_flags,p=0==t.scalefac_scale?.5:1,A=t.scalefac,g=l(L3Side.SFBMAX),v=l(L3Side.SFBMAX),y=new CalcNoiseResult;calc_xmin(e,n,t,g),calc_noise(t,g,v,y,null);var b=0;for(a=t.sfb_lmax,t.block_type!=h.SHORT_TYPE&&0==t.mixed_block_flag&&(a=22),o=0;o<a;o++){var _=f.scalefac_band.l[o],w=(x=f.scalefac_band.l[o+1])-_;for(c=0;b<x;b++)c+=t.xr[b]*t.xr[b];c/=w,d=1e15,f.pinfo.en[r][i][o]=d*c,f.pinfo.xfsf[r][i][o]=d*g[o]*v[o]/w,n.en.l[o]>0&&!e.ATHonly?c/=n.en.l[o]:c=0,f.pinfo.thr[r][i][o]=d*Math.max(c*n.thm.l[o],f.ATH.l[o]),f.pinfo.LAMEsfb[r][i][o]=0,0!=t.preflag&&o>=11&&(f.pinfo.LAMEsfb[r][i][o]=-p*m[o]),o<h.SBPSY_l&&(u(A[o]>=0),f.pinfo.LAMEsfb[r][i][o]-=p*A[o])}if(t.block_type==h.SHORT_TYPE)for(a=o,o=t.sfb_smin;o<h.SBMAX_s;o++){_=f.scalefac_band.s[o],w=(x=f.scalefac_band.s[o+1])-_;for(var x,C=0;C<3;C++){for(c=0,s=_;s<x;s++)c+=t.xr[b]*t.xr[b],b++;c=Math.max(c/w,1e-20),d=1e15,f.pinfo.en_s[r][i][3*o+C]=d*c,f.pinfo.xfsf_s[r][i][3*o+C]=d*g[a]*v[a]/w,n.en.s[o][C]>0?c/=n.en.s[o][C]:c=0,(e.ATHonly||e.ATHshort)&&(c=0),f.pinfo.thr_s[r][i][3*o+C]=d*Math.max(c*n.thm.s[o][C],f.ATH.s[o]),f.pinfo.LAMEsfb_s[r][i][3*o+C]=-2*t.subblock_gain[C],o<h.SBPSY_s&&(f.pinfo.LAMEsfb_s[r][i][3*o+C]-=p*A[a]),a++}}f.pinfo.LAMEqss[r][i]=t.global_gain,f.pinfo.LAMEmainbits[r][i]=t.part2_3_length+t.part2_length,f.pinfo.LAMEsfbits[r][i]=t.part2_length,f.pinfo.over[r][i]=y.over_count,f.pinfo.max_noise[r][i]=10*y.max_noise,f.pinfo.over_noise[r][i]=10*y.over_noise,f.pinfo.tot_noise[r][i]=10*y.tot_noise,f.pinfo.over_SSD[r][i]=y.over_SSD}}p.Q_MAX=257,p.Q_MAX2=116,p.LARGE_BITS=1e5,p.IXMAX_VAL=8206,e.exports=p},mnA4:function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=(r.new_float_n,r.new_int),a=(r.new_int_n,r.assert),s=n("ELaV"),l=n("/00o"),c=n("jhNZ"),u=n("V0p0");e.exports=function(e){var t=e;this.quantize=t,this.iteration_loop=function(e,t,n,r){var h,d=e.internal_flags,f=i(c.SFBMAX),p=i(576),A=o(2),g=0,v=d.l3_side,m=new s(g);this.quantize.rv.ResvFrameBegin(e,m),g=m.bits;for(var y=0;y<d.mode_gr;y++){h=this.quantize.qupvt.on_pe(e,t,A,g,y,y),d.mode_ext==l.MPG_MD_MS_LR&&(this.quantize.ms_convert(d.l3_side,y),this.quantize.qupvt.reduce_side(A,n[y],g,h));for(var b=0;b<d.channels_out;b++){var _,w,x=v.tt[y][b];x.block_type!=l.SHORT_TYPE?(_=0,w=d.PSY.mask_adjust-_):(_=0,w=d.PSY.mask_adjust_short-_),d.masking_lower=Math.pow(10,.1*w),this.quantize.init_outer_loop(d,x),this.quantize.init_xrpow(d,x,p)&&(this.quantize.qupvt.calc_xmin(e,r[y][b],x,f),this.quantize.outer_loop(e,x,f,p,b,A[b])),this.quantize.iteration_finish_one(d,y,b),a(x.part2_3_length<=u.MAX_BITS_PER_CHANNEL),a(x.part2_3_length<=A[b])}}this.quantize.rv.ResvFrameEnd(d,g)}}},msXi:function(e,t,n){var r=n("77Pl");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},mtWM:function(e,t,n){e.exports=n("tIFN")},mtrD:function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=97)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},97:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"el-button",class:[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?n("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?n("i",{class:e.icon}):e._e(),e.$slots.default?n("span",[e._t("default")],2):e._e()])};r._withStripped=!0;var i={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},o=n(0),a=Object(o.a)(i,r,[],!1,null,null,null);a.options.__file="packages/button/src/button.vue";var s=a.exports;s.install=function(e){e.component(s.name,s)};t.default=s}})},mvHQ:function(e,t,n){e.exports={default:n("qkKv"),__esModule:!0}},mw3O:function(e,t,n){"use strict";var r=n("CwSZ"),i=n("DDCP"),o=n("XgCd");e.exports={formats:o,parse:i,stringify:r}},n0CH:function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte),o=(r.new_double,r.new_float,r.new_float_n,r.new_int,r.new_int_n,r.assert),a=n("mgSH"),s=n("qR53"),l=n("Y2/2"),c=n("mlh9"),u=n("HQRW"),h=n("1gAI"),d=n("jKIj"),f=n("ZezE"),p=n("orZQ"),A=(n("/00o"),n("LyDL")),g=n("E7gl");function v(){this.dataOffset=0,this.dataLen=0,this.channels=0,this.sampleRate=0}function m(e){return e.charCodeAt(0)<<24|e.charCodeAt(1)<<16|e.charCodeAt(2)<<8|e.charCodeAt(3)}v.RIFF=m("RIFF"),v.WAVE=m("WAVE"),v.fmt_=m("fmt "),v.data=m("data"),v.readHeader=function(e){var t=new v,n=e.getUint32(0,!1);if(v.RIFF==n){e.getUint32(4,!0);if(v.WAVE==e.getUint32(8,!1)&&v.fmt_==e.getUint32(12,!1)){var r=e.getUint32(16,!0),i=20;switch(r){case 16:case 18:t.channels=e.getUint16(i+2,!0),t.sampleRate=e.getUint32(i+4,!0);break;default:throw"extended fmt chunk not implemented"}i+=r;for(var o=v.data,a=0;o!=n&&(n=e.getUint32(i,!1),a=e.getUint32(i+4,!0),o!=n);)i+=a+8;return t.dataLen=a,t.dataOffset=i+8,t}}},e.exports.Mp3Encoder=function(e,t,n){3!=arguments.length&&(console.error("WARN: Mp3Encoder(channels, samplerate, kbps) not specified"),e=1,t=44100,n=128);var r=new a,v=new function(){this.setModules=function(e,t){}},m=new l,y=new p,b=new s,_=new c,w=new u,x=new g,C=new A,S=new function(){this.setModules=function(e,t){}},B=new d,k=new h,T=new function(){this.setModules=function(e,t,n){}},E=new function(){};r.setModules(m,y,b,_,w,x,C,S,E),y.setModules(m,E,C,x),S.setModules(y,C),b.setModules(r),w.setModules(y,B,_,k),_.setModules(k,B,r.enc.psy),B.setModules(y),k.setModules(_),x.setModules(r,y,C),v.setModules(T,E),T.setModules(C,S,b);var M=r.lame_init();M.num_channels=e,M.in_samplerate=t,M.brate=n,M.mode=f.STEREO,M.quality=3,M.bWriteVbrTag=!1,M.disable_reservoir=!0,M.write_id3tag_automatic=!1;var D=r.lame_init_params(M);o(0==D);var O=1152,I=0|1.25*O+7200,L=i(I);this.encodeBuffer=function(t,n){1==e&&(n=t),o(t.length==n.length),t.length>O&&(O=t.length,L=i(I=0|1.25*O+7200));var a=r.lame_encode_buffer(M,t,n,t.length,L,0,I);return new Int8Array(L.subarray(0,a))},this.flush=function(){var e=r.lame_encode_flush(M,L,0,I);return new Int8Array(L.subarray(0,e))}},e.exports.WavHeader=v},n0T6:function(e,t,n){var r=n("Ibhu"),i=n("xnc9").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},nErl:function(e,t){(function(t){e.exports=t}).call(t,{})},nvbp:function(e,t){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce(function(e,t){var i,o,a,s,l;for(a in t)if(i=e[a],o=t[a],i&&n.test(a))if("class"===a&&("string"==typeof i&&(l=i,e[a]=i={},i[l]=!0),"string"==typeof o&&(l=o,t[a]=o={},o[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)i[s]=r(i[s],o[s]);else if(Array.isArray(i))e[a]=i.concat(o);else if(Array.isArray(o))e[a]=[i].concat(o);else for(s in o)i[s]=o[s];else e[a]=t[a];return e},{})}},oJlt:function(e,t,n){"use strict";var r=n("cGG2"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},oM7Q:function(e,t,n){n("sF+V");var r=n("FeBl").Object;e.exports=function(e,t){return r.create(e,t)}},oNmr:function(e,t,n){n("9Bbf")("Set")},oeOm:function(e,t,n){var r=n("7Doy");e.exports=function(e,t){return new(r(e))(t)}},oqQY:function(e,t,n){var r;r=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="day",o="week",a="month",s="quarter",l="year",c="date",u="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},p=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},A={s:p,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+p(r,2,"0")+":"+p(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,a),o=n-i<0,s=t.clone().add(r+(o?-1:1),a);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return{M:a,y:l,w:o,d:i,D:c,h:r,m:n,s:t,ms:e,Q:s}[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},g="en",v={};v[g]=f;var m=function(e){return e instanceof w},y=function e(t,n,r){var i;if(!t)return g;if("string"==typeof t){var o=t.toLowerCase();v[o]&&(i=o),n&&(v[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;v[s]=t,i=s}return!r&&i&&(g=i),i||!r&&g},b=function(e,t){if(m(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new w(n)},_=A;_.l=y,_.i=m,_.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var w=function(){function f(e){this.$L=y(e.locale,null,!0),this.parse(e)}var p=f.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(_.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(h);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return _},p.isValid=function(){return!(this.$d.toString()===u)},p.isSame=function(e,t){var n=b(e);return this.startOf(t)<=n&&n<=this.endOf(t)},p.isAfter=function(e,t){return b(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<b(e)},p.$g=function(e,t,n){return _.u(e)?this[t]:this.set(n,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,s){var u=this,h=!!_.u(s)||s,d=_.p(e),f=function(e,t){var n=_.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return h?n:n.endOf(i)},p=function(e,t){return _.w(u.toDate()[e].apply(u.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},A=this.$W,g=this.$M,v=this.$D,m="set"+(this.$u?"UTC":"");switch(d){case l:return h?f(1,0):f(31,11);case a:return h?f(1,g):f(0,g+1);case o:var y=this.$locale().weekStart||0,b=(A<y?A+7:A)-y;return f(h?v-b:v+(6-b),g);case i:case c:return p(m+"Hours",0);case r:return p(m+"Minutes",1);case n:return p(m+"Seconds",2);case t:return p(m+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(o,s){var u,h=_.p(o),d="set"+(this.$u?"UTC":""),f=(u={},u[i]=d+"Date",u[c]=d+"Date",u[a]=d+"Month",u[l]=d+"FullYear",u[r]=d+"Hours",u[n]=d+"Minutes",u[t]=d+"Seconds",u[e]=d+"Milliseconds",u)[h],p=h===i?this.$D+(s-this.$W):s;if(h===a||h===l){var A=this.clone().set(c,1);A.$d[f](p),A.init(),this.$d=A.set(c,Math.min(this.$D,A.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[_.p(e)]()},p.add=function(e,s){var c,u=this;e=Number(e);var h=_.p(s),d=function(t){var n=b(u);return _.w(n.date(n.date()+Math.round(t*e)),u)};if(h===a)return this.set(a,this.$M+e);if(h===l)return this.set(l,this.$y+e);if(h===i)return d(1);if(h===o)return d(7);var f=(c={},c[n]=6e4,c[r]=36e5,c[t]=1e3,c)[h]||1,p=this.$d.getTime()+e*f;return _.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||u;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=_.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,h=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},f=function(e){return _.s(o%12||12,e,"0")},p=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},A={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:_.s(s+1,2,"0"),MMM:h(n.monthsShort,s,c,3),MMMM:h(c,s),D:this.$D,DD:_.s(this.$D,2,"0"),d:String(this.$W),dd:h(n.weekdaysMin,this.$W,l,2),ddd:h(n.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(o),HH:_.s(o,2,"0"),h:f(1),hh:f(2),a:p(o,a,!0),A:p(o,a,!1),m:String(a),mm:_.s(a,2,"0"),s:String(this.$s),ss:_.s(this.$s,2,"0"),SSS:_.s(this.$ms,3,"0"),Z:i};return r.replace(d,function(e,t){return t||A[e]||i.replace(":","")})},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(e,c,u){var h,d=_.p(c),f=b(e),p=6e4*(f.utcOffset()-this.utcOffset()),A=this-f,g=_.m(this,f);return g=(h={},h[l]=g/12,h[a]=g,h[s]=g/3,h[o]=(A-p)/6048e5,h[i]=(A-p)/864e5,h[r]=A/36e5,h[n]=A/6e4,h[t]=A/1e3,h)[d]||A,u?g:_.a(g)},p.daysInMonth=function(){return this.endOf(a).$D},p.$locale=function(){return v[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=y(e,t,!0);return r&&(n.$L=r),n},p.clone=function(){return _.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},f}(),x=w.prototype;return b.prototype=x,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W",i],["$M",a],["$y",l],["$D",c]].forEach(function(e){x[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),b.extend=function(e,t){return e.$i||(e(t,w,b),e.$i=!0),b},b.locale=y,b.isDayjs=m,b.unix=function(e){return b(1e3*e)},b.en=v[g],b.Ls=v,b.p={},b},e.exports=r()},orZQ:function(e,t,n){var r=n("To6e"),i=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays),a=(r.new_array_n,r.new_byte),s=(r.new_double,r.new_float,r.new_float_n),l=r.new_int,c=(r.new_int_n,r.assert),u=n("1gAI"),h=n("OSvQ"),d=n("/00o"),f=n("V0p0");function p(){var e=this,t=32773,n=32,r=null,p=null,A=null,g=null;this.setModules=function(e,t,n,i){r=e,p=t,A=n,g=i};var v=null,m=0,y=0,b=0;function _(e){i.arraycopy(e.header[e.w_ptr].buf,0,v,y,e.sideinfo_len),y+=e.sideinfo_len,m+=8*e.sideinfo_len,e.w_ptr=e.w_ptr+1&f.MAX_HEADER_BUF-1}function w(e,t,r){for(c(r<n-2);r>0;){var i;0==b&&(b=8,c(++y<Lame.LAME_MAXMP3BUFFER),c(e.header[e.w_ptr].write_timing>=m),e.header[e.w_ptr].write_timing==m&&_(e),v[y]=0),i=Math.min(r,b),b-=i,c((r-=i)<n),c(b<n),v[y]|=t>>r<<b,m+=i}}function x(e,t,r){for(c(r<n-2);r>0;){var i;0==b&&(b=8,c(++y<Lame.LAME_MAXMP3BUFFER),v[y]=0),i=Math.min(r,b),b-=i,c((r-=i)<n),c(b<n),v[y]|=t>>r<<b,m+=i}}function C(e,t){var n,r=e.internal_flags;if(c(t>=0),t>=8&&(w(r,76,8),t-=8),t>=8&&(w(r,65,8),t-=8),t>=8&&(w(r,77,8),t-=8),t>=8&&(w(r,69,8),t-=8),t>=32){var i=A.getLameShortVersion();if(t>=32)for(n=0;n<i.length&&t>=8;++n)t-=8,w(r,i.charAt(n),8)}for(;t>=1;t-=1)w(r,r.ancillary_flag,1),r.ancillary_flag^=e.disable_reservoir?0:1;c(0==t)}function S(e,t,r){for(var i=e.header[e.h_ptr].ptr;r>0;){var o=Math.min(r,8-(7&i));c((r-=o)<n),e.header[e.h_ptr].buf[i>>3]|=t>>r<<8-(7&i)-o,i+=o}e.header[e.h_ptr].ptr=i}function B(e,n){e<<=8;for(var r=0;r<8;r++)0!=(65536&((n<<=1)^(e<<=1)))&&(n^=t);return n}function k(e,t){var n,r=h.ht[t.count1table_select+32],i=0,o=t.big_values,a=t.big_values;for(c(t.count1table_select<2),n=(t.count1-t.big_values)/4;n>0;--n){var s,l=0,u=0;0!=(s=t.l3_enc[o+0])&&(u+=8,t.xr[a+0]<0&&l++,c(s<=1)),0!=(s=t.l3_enc[o+1])&&(u+=4,l*=2,t.xr[a+1]<0&&l++,c(s<=1)),0!=(s=t.l3_enc[o+2])&&(u+=2,l*=2,t.xr[a+2]<0&&l++,c(s<=1)),0!=(s=t.l3_enc[o+3])&&(u++,l*=2,t.xr[a+3]<0&&l++,c(s<=1)),o+=4,a+=4,w(e,l+r.table[u],r.hlen[u]),i+=r.hlen[u]}return i}function T(e,t,r,i,o){var a=h.ht[t],s=0;if(c(t<32),0==t)return s;for(var l=r;l<i;l+=2){var u=0,d=0,f=a.xlen,p=a.xlen,A=0,g=o.l3_enc[l],v=o.l3_enc[l+1];if(0!=g&&(o.xr[l]<0&&A++,u--),t>15){if(g>14){var m=g-15;c(m<=a.linmax),A|=m<<1,d=f,g=15}if(v>14){var y=v-15;c(y<=a.linmax),A<<=f,A|=y,d+=f,v=15}p=16}0!=v&&(A<<=1,o.xr[l+1]<0&&A++,u--),c((g|v)<16),g=g*p+v,d-=u,u+=a.hlen[g],c(u<=n),c(d<=n),w(e,a.table[g],u),w(e,A,d),s+=u+d}return s}function E(e,t){var n=3*e.scalefac_band.s[3];n>t.big_values&&(n=t.big_values);var r=T(e,t.table_select[0],0,n,t);return r+=T(e,t.table_select[1],n,t.big_values,t)}function M(e,t){var n,r,i,o;n=t.big_values,c(0<=n&&n<=576);var a=t.region0_count+1;return c(0<=a),c(a<e.scalefac_band.l.length),i=e.scalefac_band.l[a],a+=t.region1_count+1,c(0<=a),c(a<e.scalefac_band.l.length),o=e.scalefac_band.l[a],i>n&&(i=n),o>n&&(o=n),r=T(e,t.table_select[0],0,i,t),r+=T(e,t.table_select[1],i,o,t),r+=T(e,t.table_select[2],o,n,t)}function D(){this.total=0}function O(t,n){var r,o,a,s,l,c=t.internal_flags;return l=c.w_ptr,-1==(s=c.h_ptr-1)&&(s=f.MAX_HEADER_BUF-1),r=c.header[s].write_timing-m,n.total=r,r>=0&&(o=1+s-l,s<l&&(o=1+s-l+f.MAX_HEADER_BUF),r-=8*o*c.sideinfo_len),r+=a=e.getframebits(t),n.total+=a,n.total%8!=0?n.total=1+n.total/8:n.total=n.total/8,n.total+=y+1,r<0&&i.err.println("strange error flushing buffer ... \n"),r}this.getframebits=function(e){var t,n=e.internal_flags;return t=0!=n.bitrate_index?h.bitrate_table[e.version][n.bitrate_index]:e.brate,c(8<=t&&t<=640),8*(0|72e3*(e.version+1)*t/e.out_samplerate+n.padding)},this.CRC_writeheader=function(e,t){var n=65535;n=B(255&t[2],n),n=B(255&t[3],n);for(var r=6;r<e.sideinfo_len;r++)n=B(255&t[r],n);t[4]=byte(n>>8),t[5]=byte(255&n)},this.flush_bitstream=function(e){var t,n,i=e.internal_flags,o=i.h_ptr-1;if(-1==o&&(o=f.MAX_HEADER_BUF-1),t=i.l3_side,!((n=O(e,new D))<0)){if(C(e,n),c(i.header[o].write_timing+this.getframebits(e)==m),i.ResvSize=0,t.main_data_begin=0,i.findReplayGain){var a=r.GetTitleGain(i.rgdata);c(NEQ(a,GainAnalysis.GAIN_NOT_ENOUGH_SAMPLES)),i.RadioGain=0|Math.floor(10*a+.5)}i.findPeakSample&&(i.noclipGainChange=0|Math.ceil(20*Math.log10(i.PeakSample/32767)*10),i.noclipGainChange>0&&(EQ(e.scale,1)||EQ(e.scale,0))?i.noclipScale=Math.floor(32767/i.PeakSample*100)/100:i.noclipScale=-1)}},this.add_dummy_byte=function(e,t,n){for(var r,i=e.internal_flags;n-- >0;)for(x(0,t,8),r=0;r<f.MAX_HEADER_BUF;++r)i.header[r].write_timing+=8},this.format_bitstream=function(e){var t,n=e.internal_flags;t=n.l3_side;var r=this.getframebits(e);C(e,t.resvDrain_pre),function(e,t){var n,r,a,s=e.internal_flags;if(n=s.l3_side,s.header[s.h_ptr].ptr=0,o.fill(s.header[s.h_ptr].buf,0,s.sideinfo_len,0),e.out_samplerate<16e3?S(s,4094,12):S(s,4095,12),S(s,e.version,1),S(s,1,2),S(s,e.error_protection?0:1,1),S(s,s.bitrate_index,4),S(s,s.samplerate_index,2),S(s,s.padding,1),S(s,e.extension,1),S(s,e.mode.ordinal(),2),S(s,s.mode_ext,2),S(s,e.copyright,1),S(s,e.original,1),S(s,e.emphasis,2),e.error_protection&&S(s,0,16),1==e.version){for(c(n.main_data_begin>=0),S(s,n.main_data_begin,9),2==s.channels_out?S(s,n.private_bits,3):S(s,n.private_bits,5),a=0;a<s.channels_out;a++){var l;for(l=0;l<4;l++)S(s,n.scfsi[a][l],1)}for(r=0;r<2;r++)for(a=0;a<s.channels_out;a++)S(s,(u=n.tt[r][a]).part2_3_length+u.part2_length,12),S(s,u.big_values/2,9),S(s,u.global_gain,8),S(s,u.scalefac_compress,4),u.block_type!=d.NORM_TYPE?(S(s,1,1),S(s,u.block_type,2),S(s,u.mixed_block_flag,1),14==u.table_select[0]&&(u.table_select[0]=16),S(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),S(s,u.table_select[1],5),S(s,u.subblock_gain[0],3),S(s,u.subblock_gain[1],3),S(s,u.subblock_gain[2],3)):(S(s,0,1),14==u.table_select[0]&&(u.table_select[0]=16),S(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),S(s,u.table_select[1],5),14==u.table_select[2]&&(u.table_select[2]=16),S(s,u.table_select[2],5),c(0<=u.region0_count&&u.region0_count<16),c(0<=u.region1_count&&u.region1_count<8),S(s,u.region0_count,4),S(s,u.region1_count,3)),S(s,u.preflag,1),S(s,u.scalefac_scale,1),S(s,u.count1table_select,1)}else for(c(n.main_data_begin>=0),S(s,n.main_data_begin,8),S(s,n.private_bits,s.channels_out),r=0,a=0;a<s.channels_out;a++){var u;S(s,(u=n.tt[r][a]).part2_3_length+u.part2_length,12),S(s,u.big_values/2,9),S(s,u.global_gain,8),S(s,u.scalefac_compress,9),u.block_type!=d.NORM_TYPE?(S(s,1,1),S(s,u.block_type,2),S(s,u.mixed_block_flag,1),14==u.table_select[0]&&(u.table_select[0]=16),S(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),S(s,u.table_select[1],5),S(s,u.subblock_gain[0],3),S(s,u.subblock_gain[1],3),S(s,u.subblock_gain[2],3)):(S(s,0,1),14==u.table_select[0]&&(u.table_select[0]=16),S(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),S(s,u.table_select[1],5),14==u.table_select[2]&&(u.table_select[2]=16),S(s,u.table_select[2],5),c(0<=u.region0_count&&u.region0_count<16),c(0<=u.region1_count&&u.region1_count<8),S(s,u.region0_count,4),S(s,u.region1_count,3)),S(s,u.scalefac_scale,1),S(s,u.count1table_select,1)}e.error_protection&&CRC_writeheader(s,s.header[s.h_ptr].buf);var h=s.h_ptr;c(s.header[h].ptr==8*s.sideinfo_len),s.h_ptr=h+1&f.MAX_HEADER_BUF-1,s.header[s.h_ptr].write_timing=s.header[h].write_timing+t,s.h_ptr==s.w_ptr&&i.err.println("Error: MAX_HEADER_BUF too small in bitstream.c \n")}(e,r);var a=8*n.sideinfo_len;if(a+=function(e){var t,n,r,i,o=0,a=e.internal_flags,s=a.l3_side;if(1==e.version)for(t=0;t<2;t++)for(n=0;n<a.channels_out;n++){var l=s.tt[t][n],h=u.slen1_tab[l.scalefac_compress],f=u.slen2_tab[l.scalefac_compress];for(i=0,r=0;r<l.sfbdivide;r++)-1!=l.scalefac[r]&&(w(a,l.scalefac[r],h),i+=h);for(;r<l.sfbmax;r++)-1!=l.scalefac[r]&&(w(a,l.scalefac[r],f),i+=f);c(i==l.part2_length),l.block_type==d.SHORT_TYPE?i+=E(a,l):i+=M(a,l),i+=k(a,l),c(i==l.part2_3_length+l.part2_length),o+=i}else for(t=0,n=0;n<a.channels_out;n++){l=s.tt[t][n];var p,A,g=0;if(c(null!=l.sfb_partition_table),i=0,r=0,A=0,l.block_type==d.SHORT_TYPE){for(;A<4;A++){var v=l.sfb_partition_table[A]/3,m=l.slen[A];for(p=0;p<v;p++,r++)w(a,Math.max(l.scalefac[3*r+0],0),m),w(a,Math.max(l.scalefac[3*r+1],0),m),w(a,Math.max(l.scalefac[3*r+2],0),m),g+=3*m}i+=E(a,l)}else{for(;A<4;A++)for(v=l.sfb_partition_table[A],m=l.slen[A],p=0;p<v;p++,r++)w(a,Math.max(l.scalefac[r],0),m),g+=m;i+=M(a,l)}i+=k(a,l),c(i==l.part2_3_length),c(g==l.part2_length),o+=g+i}return o}(e),C(e,t.resvDrain_post),a+=t.resvDrain_post,t.main_data_begin+=(r-a)/8,O(e,new D)!=n.ResvSize&&i.err.println("Internal buffer inconsistency. flushbits <> ResvSize"),8*t.main_data_begin!=n.ResvSize&&(i.err.printf("bit reservoir error: \nl3_side.main_data_begin: %d \nResvoir size: %d \nresv drain (post) %d \nresv drain (pre) %d \nheader and sideinfo: %d \ndata bits: %d \ntotal bits: %d (remainder: %d) \nbitsperframe: %d \n",8*t.main_data_begin,n.ResvSize,t.resvDrain_post,t.resvDrain_pre,8*n.sideinfo_len,a-t.resvDrain_post-8*n.sideinfo_len,a,a%8,r),i.err.println("This is a fatal error. It has several possible causes:"),i.err.println("90%% LAME compiled with buggy version of gcc using advanced optimizations"),i.err.println(" 9%% Your system is overclocked"),i.err.println(" 1%% bug in LAME encoding library"),n.ResvSize=8*t.main_data_begin),c(m%8==0),m>1e9){var s;for(s=0;s<f.MAX_HEADER_BUF;++s)n.header[s].write_timing-=m;m=0}return 0},this.copy_buffer=function(e,t,n,o,a){var u=y+1;if(u<=0)return 0;if(0!=o&&u>o)return-1;if(i.arraycopy(v,0,t,n,u),y=-1,b=0,0!=a){var h=l(1);if(h[0]=e.nMusicCRC,g.updateMusicCRC(h,t,n,u),e.nMusicCRC=h[0],u>0&&(e.VBR_seek_table.nBytesWritten+=u),e.decode_on_the_fly)for(var d,f=s([2,1152]),A=u,m=-1;0!=m;)if(m=p.hip_decode1_unclipped(e.hip,t,n,A,f[0],f[1]),A=0,-1==m&&(m=0),m>0){if(c(m<=1152),e.findPeakSample){for(d=0;d<m;d++)f[0][d]>e.PeakSample?e.PeakSample=f[0][d]:-f[0][d]>e.PeakSample&&(e.PeakSample=-f[0][d]);if(e.channels_out>1)for(d=0;d<m;d++)f[1][d]>e.PeakSample?e.PeakSample=f[1][d]:-f[1][d]>e.PeakSample&&(e.PeakSample=-f[1][d])}if(e.findReplayGain&&r.AnalyzeSamples(e.rgdata,f[0],0,f[1],0,m,e.channels_out)==GainAnalysis.GAIN_ANALYSIS_ERROR)return-6}}return u},this.init_bit_stream_w=function(e){v=a(Lame.LAME_MAXMP3BUFFER),e.h_ptr=e.w_ptr=0,e.header[e.h_ptr].write_timing=0,y=-1,b=0,m=0}}p.EQ=function(e,t){return Math.abs(e)>Math.abs(t)?Math.abs(e-t)<=1e-6*Math.abs(e):Math.abs(e-t)<=1e-6*Math.abs(t)},p.NEQ=function(e,t){return!p.EQ(e,t)},e.exports=p},orbS:function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=124)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},124:function(e,t,n){"use strict";n.r(t);var r={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(e){return-1!==["dark","light","plain"].indexOf(e)}}},methods:{handleClose:function(e){e.stopPropagation(),this.$emit("close",e)},handleClick:function(e){this.$emit("click",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(e){var t=this.type,n=this.tagSize,r=this.hit,i=this.effect,o=e("span",{class:["el-tag",t?"el-tag--"+t:"",n?"el-tag--"+n:"",i?"el-tag--"+i:"",r&&"is-hit"],style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&e("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?o:e("transition",{attrs:{name:"el-zoom-in-center"}},[o])}},i=n(0),o=Object(i.a)(r,void 0,void 0,!1,null,null,null);o.options.__file="packages/tag/src/tag.vue";var a=o.exports;a.install=function(e){e.component(a.name,a)};t.default=a}})},p1b6:function(e,t,n){"use strict";var r=n("cGG2");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},p8xL:function(e,t,n){"use strict";var r=n("XgCd"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),l=0;l<s.length;++l){var c=s[l],u=a[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=a[u]:u<2048?l+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?l+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=s(t,r)),o(t)&&o(n)?(n.forEach(function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n}),t):Object.keys(n).reduce(function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t},a)}}},pBtG:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},pFYg:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n("Zzip")),i=a(n("5QVw")),o="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof i.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}},pPW7:function(e,t,n){n("M6a0"),n("zQR9"),n("+tPU"),n("ttyz"),n("BDhv"),n("oNmr"),n("ioQ5"),e.exports=n("FeBl").Set},ppUw:function(e,t,n){var r,i;r={expires:"1d",path:"; path=/",domain:"",secure:"",sameSite:"; SameSite=Lax"},i={install:function(e){e.prototype.$cookies=this,e.$cookies=this},config:function(e,t,n,i,o){r.expires=e||"1d",r.path=t?"; path="+t:"; path=/",r.domain=n?"; domain="+n:"",r.secure=i?"; Secure":"",r.sameSite=o?"; SameSite="+o:"; SameSite=Lax"},get:function(e){var t=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(t&&"{"===t.substring(0,1)&&"}"===t.substring(t.length-1,t.length))try{t=JSON.parse(t)}catch(e){return t}return t},set:function(e,t,n,i,o,a,s){if(!e)throw new Error("Cookie name is not find in first argument.");if(/^(?:expires|max\-age|path|domain|secure|SameSite)$/i.test(e))throw new Error('Cookie key name illegality, Cannot be set to ["expires","max-age","path","domain","secure","SameSite"]\t current key name: '+e);t&&t.constructor===Object&&(t=JSON.stringify(t));var l="";if((n=void 0==n?r.expires:n)&&0!=n)switch(n.constructor){case Number:l=n===1/0||-1===n?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+n;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(n)){var c=n.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(n.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":l="; max-age="+2592e3*+c;break;case"d":l="; max-age="+86400*+c;break;case"h":l="; max-age="+3600*+c;break;case"min":l="; max-age="+60*+c;break;case"s":l="; max-age="+c;break;case"y":l="; max-age="+31104e3*+c;break;default:new Error('unknown exception of "set operation"')}}else l="; expires="+n;break;case Date:l="; expires="+n.toUTCString()}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+l+(o?"; domain="+o:r.domain)+(i?"; path="+i:r.path)+(void 0==a?r.secure:a?"; Secure":"")+(void 0==s?r.sameSite:s?"; SameSite="+s:""),this},remove:function(e,t,n){return!(!e||!this.isKey(e))&&(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(n?"; domain="+n:r.domain)+(t?"; path="+t:r.path)+"; SameSite=Lax",this)},isKey:function(e){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){if(!document.cookie)return[];for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),t=0;t<e.length;t++)e[t]=decodeURIComponent(e[t]);return e}},e.exports=i,"undefined"!=typeof window&&(window.$cookies=i)},pxG4:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"q+vg":function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var i in r)n.call(r,i)&&(e[i]=r[i])}return e};var n=Object.prototype.hasOwnProperty},qARP:function(e,t,n){"use strict";var r=n("lOnJ");e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}(e)}},qR53:function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode);r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int,r.new_int_n,r.assert;e.exports=function(){function e(e,t,n,r,i,o,a,s,l,c,u,h,d,f,p){this.vbr_q=e,this.quant_comp=t,this.quant_comp_s=n,this.expY=r,this.st_lrm=i,this.st_s=o,this.masking_adj=a,this.masking_adj_short=s,this.ath_lower=l,this.ath_curve=c,this.ath_sensitivity=u,this.interch=h,this.safejoint=d,this.sfb21mod=f,this.msfix=p}function t(e,t,n,r,i,o,a,s,l,c,u,h,d,f){this.quant_comp=t,this.quant_comp_s=n,this.safejoint=r,this.nsmsfix=i,this.st_lrm=o,this.st_s=a,this.nsbass=s,this.scale=l,this.masking_adj=c,this.ath_lower=u,this.ath_curve=h,this.interch=d,this.sfscale=f}var n;this.setModules=function(e){n=e};var r=[new e(0,9,9,0,5.2,125,-4.2,-6.3,4.8,1,0,0,2,21,.97),new e(1,9,9,0,5.3,125,-3.6,-5.6,4.5,1.5,0,0,2,21,1.35),new e(2,9,9,0,5.6,125,-2.2,-3.5,2.8,2,0,0,2,21,1.49),new e(3,9,9,1,5.8,130,-1.8,-2.8,2.6,3,-4,0,2,20,1.64),new e(4,9,9,1,6,135,-.7,-1.1,1.1,3.5,-8,0,2,0,1.79),new e(5,9,9,1,6.4,140,.5,.4,-7.5,4,-12,2e-4,0,0,1.95),new e(6,9,9,1,6.6,145,.67,.65,-14.7,6.5,-19,4e-4,0,0,2.3),new e(7,9,9,1,6.6,145,.8,.75,-19.7,8,-22,6e-4,0,0,2.7),new e(8,9,9,1,6.6,145,1.2,1.15,-27.5,10,-23,7e-4,0,0,0),new e(9,9,9,1,6.6,145,1.6,1.6,-36,11,-25,8e-4,0,0,0),new e(10,9,9,1,6.6,145,2,2,-36,12,-25,8e-4,0,0,0)],o=[new e(0,9,9,0,4.2,25,-7,-4,7.5,1,0,0,2,26,.97),new e(1,9,9,0,4.2,25,-5.6,-3.6,4.5,1.5,0,0,2,21,1.35),new e(2,9,9,0,4.2,25,-4.4,-1.8,2,2,0,0,2,18,1.49),new e(3,9,9,1,4.2,25,-3.4,-1.25,1.1,3,-4,0,2,15,1.64),new e(4,9,9,1,4.2,25,-2.2,.1,0,3.5,-8,0,2,0,1.79),new e(5,9,9,1,4.2,25,-1,1.65,-7.7,4,-12,2e-4,0,0,1.95),new e(6,9,9,1,4.2,25,-0,2.47,-7.7,6.5,-19,4e-4,0,0,2),new e(7,9,9,1,4.2,25,.5,2,-14.5,8,-22,6e-4,0,0,2),new e(8,9,9,1,4.2,25,1,2.4,-22,10,-23,7e-4,0,0,2),new e(9,9,9,1,4.2,25,1.5,2.95,-30,11,-25,8e-4,0,0,2),new e(10,9,9,1,4.2,25,2,2.95,-36,12,-30,8e-4,0,0,2)];function a(e,t,n){var a=e.VBR==i.vbr_rh?r:o,s=e.VBR_q_frac,l=a[t],c=a[t+1],u=l;l.st_lrm=l.st_lrm+s*(c.st_lrm-l.st_lrm),l.st_s=l.st_s+s*(c.st_s-l.st_s),l.masking_adj=l.masking_adj+s*(c.masking_adj-l.masking_adj),l.masking_adj_short=l.masking_adj_short+s*(c.masking_adj_short-l.masking_adj_short),l.ath_lower=l.ath_lower+s*(c.ath_lower-l.ath_lower),l.ath_curve=l.ath_curve+s*(c.ath_curve-l.ath_curve),l.ath_sensitivity=l.ath_sensitivity+s*(c.ath_sensitivity-l.ath_sensitivity),l.interch=l.interch+s*(c.interch-l.interch),l.msfix=l.msfix+s*(c.msfix-l.msfix),function(e,t){0>t&&(-1,t=0),9<t&&(-1,t=9),e.VBR_q=t,e.VBR_q_frac=0}(e,u.vbr_q),0!=n?e.quant_comp=u.quant_comp:Math.abs(e.quant_comp- -1)>0||(e.quant_comp=u.quant_comp),0!=n?e.quant_comp_short=u.quant_comp_s:Math.abs(e.quant_comp_short- -1)>0||(e.quant_comp_short=u.quant_comp_s),0!=u.expY&&(e.experimentalY=0!=u.expY),0!=n?e.internal_flags.nsPsy.attackthre=u.st_lrm:Math.abs(e.internal_flags.nsPsy.attackthre- -1)>0||(e.internal_flags.nsPsy.attackthre=u.st_lrm),0!=n?e.internal_flags.nsPsy.attackthre_s=u.st_s:Math.abs(e.internal_flags.nsPsy.attackthre_s- -1)>0||(e.internal_flags.nsPsy.attackthre_s=u.st_s),0!=n?e.maskingadjust=u.masking_adj:Math.abs(e.maskingadjust-0)>0||(e.maskingadjust=u.masking_adj),0!=n?e.maskingadjust_short=u.masking_adj_short:Math.abs(e.maskingadjust_short-0)>0||(e.maskingadjust_short=u.masking_adj_short),0!=n?e.ATHlower=-u.ath_lower/10:Math.abs(10*-e.ATHlower-0)>0||(e.ATHlower=-u.ath_lower/10),0!=n?e.ATHcurve=u.ath_curve:Math.abs(e.ATHcurve- -1)>0||(e.ATHcurve=u.ath_curve),0!=n?e.athaa_sensitivity=u.ath_sensitivity:Math.abs(e.athaa_sensitivity- -1)>0||(e.athaa_sensitivity=u.ath_sensitivity),u.interch>0&&(0!=n?e.interChRatio=u.interch:Math.abs(e.interChRatio- -1)>0||(e.interChRatio=u.interch)),u.safejoint>0&&(e.exp_nspsytune=e.exp_nspsytune|u.safejoint),u.sfb21mod>0&&(e.exp_nspsytune=e.exp_nspsytune|u.sfb21mod<<20),0!=n?e.msfix=u.msfix:Math.abs(e.msfix- -1)>0||(e.msfix=u.msfix),0==n&&(e.VBR_q=t,e.VBR_q_frac=s)}var s=[new t(8,9,9,0,0,6.6,145,0,.95,0,-30,11,.0012,1),new t(16,9,9,0,0,6.6,145,0,.95,0,-25,11,.001,1),new t(24,9,9,0,0,6.6,145,0,.95,0,-20,11,.001,1),new t(32,9,9,0,0,6.6,145,0,.95,0,-15,11,.001,1),new t(40,9,9,0,0,6.6,145,0,.95,0,-10,11,9e-4,1),new t(48,9,9,0,0,6.6,145,0,.95,0,-10,11,9e-4,1),new t(56,9,9,0,0,6.6,145,0,.95,0,-6,11,8e-4,1),new t(64,9,9,0,0,6.6,145,0,.95,0,-2,11,8e-4,1),new t(80,9,9,0,0,6.6,145,0,.95,0,0,8,7e-4,1),new t(96,9,9,0,2.5,6.6,145,0,.95,0,1,5.5,6e-4,1),new t(112,9,9,0,2.25,6.6,145,0,.95,0,2,4.5,5e-4,1),new t(128,9,9,0,1.95,6.4,140,0,.95,0,3,4,2e-4,1),new t(160,9,9,1,1.79,6,135,0,.95,-2,5,3.5,0,1),new t(192,9,9,1,1.49,5.6,125,0,.97,-4,7,3,0,0),new t(224,9,9,1,1.25,5.2,125,0,.98,-6,9,2,0,0),new t(256,9,9,1,.97,5.2,125,0,1,-8,10,1,0,0),new t(320,9,9,1,.9,5.2,125,0,1,-10,12,0,0,0)];function l(e,t,r){var o=t,a=n.nearestBitrateFullIndex(t);if(e.VBR=i.vbr_abr,e.VBR_mean_bitrate_kbps=o,e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,320),e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,8),e.brate=e.VBR_mean_bitrate_kbps,e.VBR_mean_bitrate_kbps>320&&(e.disable_reservoir=!0),s[a].safejoint>0&&(e.exp_nspsytune=2|e.exp_nspsytune),s[a].sfscale>0&&(e.internal_flags.noise_shaping=2),Math.abs(s[a].nsbass)>0){var l=int(4*s[a].nsbass);l<0&&(l+=64),e.exp_nspsytune=e.exp_nspsytune|l<<2}return 0!=r?e.quant_comp=s[a].quant_comp:Math.abs(e.quant_comp- -1)>0||(e.quant_comp=s[a].quant_comp),0!=r?e.quant_comp_short=s[a].quant_comp_s:Math.abs(e.quant_comp_short- -1)>0||(e.quant_comp_short=s[a].quant_comp_s),0!=r?e.msfix=s[a].nsmsfix:Math.abs(e.msfix- -1)>0||(e.msfix=s[a].nsmsfix),0!=r?e.internal_flags.nsPsy.attackthre=s[a].st_lrm:Math.abs(e.internal_flags.nsPsy.attackthre- -1)>0||(e.internal_flags.nsPsy.attackthre=s[a].st_lrm),0!=r?e.internal_flags.nsPsy.attackthre_s=s[a].st_s:Math.abs(e.internal_flags.nsPsy.attackthre_s- -1)>0||(e.internal_flags.nsPsy.attackthre_s=s[a].st_s),0!=r?e.scale=s[a].scale:Math.abs(e.scale- -1)>0||(e.scale=s[a].scale),0!=r?e.maskingadjust=s[a].masking_adj:Math.abs(e.maskingadjust-0)>0||(e.maskingadjust=s[a].masking_adj),s[a].masking_adj>0?0!=r?e.maskingadjust_short=.9*s[a].masking_adj:Math.abs(e.maskingadjust_short-0)>0||(e.maskingadjust_short=.9*s[a].masking_adj):0!=r?e.maskingadjust_short=1.1*s[a].masking_adj:Math.abs(e.maskingadjust_short-0)>0||(e.maskingadjust_short=1.1*s[a].masking_adj),0!=r?e.ATHlower=-s[a].ath_lower/10:Math.abs(10*-e.ATHlower-0)>0||(e.ATHlower=-s[a].ath_lower/10),0!=r?e.ATHcurve=s[a].ath_curve:Math.abs(e.ATHcurve- -1)>0||(e.ATHcurve=s[a].ath_curve),0!=r?e.interChRatio=s[a].interch:Math.abs(e.interChRatio- -1)>0||(e.interChRatio=s[a].interch),t}this.apply_preset=function(e,t,n){switch(t){case Lame.R3MIX:t=Lame.V3,e.VBR=i.vbr_mtrh;break;case Lame.MEDIUM:t=Lame.V4,e.VBR=i.vbr_rh;break;case Lame.MEDIUM_FAST:t=Lame.V4,e.VBR=i.vbr_mtrh;break;case Lame.STANDARD:t=Lame.V2,e.VBR=i.vbr_rh;break;case Lame.STANDARD_FAST:t=Lame.V2,e.VBR=i.vbr_mtrh;break;case Lame.EXTREME:t=Lame.V0,e.VBR=i.vbr_rh;break;case Lame.EXTREME_FAST:t=Lame.V0,e.VBR=i.vbr_mtrh;break;case Lame.INSANE:return t=320,e.preset=t,l(e,t,n),e.VBR=i.vbr_off,t}switch(e.preset=t,t){case Lame.V9:return a(e,9,n),t;case Lame.V8:return a(e,8,n),t;case Lame.V7:return a(e,7,n),t;case Lame.V6:return a(e,6,n),t;case Lame.V5:return a(e,5,n),t;case Lame.V4:return a(e,4,n),t;case Lame.V3:return a(e,3,n),t;case Lame.V2:return a(e,2,n),t;case Lame.V1:return a(e,1,n),t;case Lame.V0:return a(e,0,n),t}return 8<=t&&t<=320?l(e,t,n):(e.preset=0,t)}}},qRfI:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},qio6:function(e,t,n){var r=n("evD5"),i=n("77Pl"),o=n("lktj");e.exports=n("+E39")?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},qkKv:function(e,t,n){var r=n("FeBl"),i=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},qo66:function(e,t,n){"use strict";var r=n("7KvD"),i=n("kM2E"),o=n("06OY"),a=n("S82l"),s=n("hJx8"),l=n("xH/j"),c=n("NWt+"),u=n("2KxR"),h=n("EqjI"),d=n("e6n0"),f=n("evD5").f,p=n("ALrJ")(0),A=n("+E39");e.exports=function(e,t,n,g,v,m){var y=r[e],b=y,_=v?"set":"add",w=b&&b.prototype,x={};return A&&"function"==typeof b&&(m||w.forEach&&!a(function(){(new b).entries().next()}))?(b=t(function(t,n){u(t,b,e,"_c"),t._c=new y,void 0!=n&&c(n,v,t[_],t)}),p("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(e){var t="add"==e||"set"==e;e in w&&(!m||"clear"!=e)&&s(b.prototype,e,function(n,r){if(u(this,b,e),!t&&m&&!h(n))return"get"==e&&void 0;var i=this._c[e](0===n?0:n,r);return t?this:i})}),m||f(b.prototype,"size",{get:function(){return this._c.size}})):(b=g.getConstructor(t,e,v,_),l(b.prototype,n),o.NEED=!0),d(b,e),x[e]=b,i(i.G+i.W+i.F,x),m||g.setStrong(b,e,v),b}},qyJz:function(e,t,n){"use strict";var r=n("+ZMJ"),i=n("kM2E"),o=n("sB3e"),a=n("msXi"),s=n("Mhyx"),l=n("QRG4"),c=n("fBQ2"),u=n("3fs2");i(i.S+i.F*!n("dY0y")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,h,d=o(e),f="function"==typeof this?this:Array,p=arguments.length,A=p>1?arguments[1]:void 0,g=void 0!==A,v=0,m=u(d);if(g&&(A=r(A,p>2?arguments[2]:void 0,2)),void 0==m||f==Array&&s(m))for(n=new f(t=l(d.length));t>v;v++)c(n,v,g?A(d[v],v):d[v]);else for(h=m.call(d),n=new f;!(i=h.next()).done;v++)c(n,v,g?a(h,A,[i.value,v],!0):i.value);return n.length=v,n}})},s3ue:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=86)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},4:function(e,t){e.exports=n("fPll")},86:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[this._t("default")],2)};r._withStripped=!0;var i=n(4),o={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[n.n(i).a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},a=n(0),s=Object(a.a)(o,r,[],!1,null,null,null);s.options.__file="packages/checkbox/src/checkbox-group.vue";var l=s.exports;l.install=function(e){e.component(l.name,l)};t.default=l}})},sB3e:function(e,t,n){var r=n("52gC");e.exports=function(e){return Object(r(e))}},sD9O:function(e,t){var n=function(e){return e.replace(/^\s+|\s+$/g,"")};e.exports=function(e){if(!e)return{};for(var t,r={},i=n(e).split("\n"),o=0;o<i.length;o++){var a=i[o],s=a.indexOf(":"),l=n(a.slice(0,s)).toLowerCase(),c=n(a.slice(s+1));void 0===r[l]?r[l]=c:(t=r[l],"[object Array]"===Object.prototype.toString.call(t)?r[l].push(c):r[l]=[r[l],c])}return r}},"sF+V":function(e,t,n){var r=n("kM2E");r(r.S,"Object",{create:n("Yobk")})},sN1u:function(e,t){function n(e){return e.replace(/\n\r?\s*/g,"")}e.exports=function(e){for(var t="",r=0;r<arguments.length;r++)t+=n(e[r])+(arguments[r+1]||"");return t}},sOR5:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},sWhp:function(e,t){e.exports={0:"29",1:"30",2:"31",3:"32",4:"33",5:"34",6:"35",7:"36",8:"37",9:"38",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"105",I:"4",J:"6",K:"13",L:"14",M:"16",N:"17",O:"18",P:"79",Q:"80",R:"81",S:"83",T:"84",U:"85",V:"86",W:"87",X:"88",Y:"89",Z:"90",a:"104",b:"64",c:"91",d:"92",e:"93",f:"94",g:"95",h:"96",i:"97",j:"98",k:"99",l:"100",m:"101",n:"102",o:"103",p:"5",q:"19",r:"20",s:"21",t:"22",u:"23",v:"24",w:"25",x:"26",y:"27",z:"28",AB:"39",BB:"40",CB:"41",DB:"42",EB:"43",FB:"44",GB:"45",HB:"46",IB:"47",JB:"48",KB:"49",LB:"50",MB:"51",NB:"52",OB:"53",PB:"54",QB:"55",RB:"56",SB:"57",TB:"58",UB:"60",VB:"62",WB:"63",XB:"65",YB:"66",ZB:"67",aB:"68",bB:"69",cB:"70",dB:"71",eB:"72",fB:"73",gB:"74",hB:"75",iB:"76",jB:"77",kB:"78",lB:"11.1",mB:"12.1",nB:"16.0",oB:"3",pB:"59",qB:"61",rB:"82",sB:"106",tB:"3.2",uB:"10.1",vB:"15.2-15.3",wB:"15.4",xB:"15.5",yB:"15.6",zB:"16.1","0B":"11.5","1B":"4.2-4.3","2B":"5.5","3B":"2","4B":"3.5","5B":"3.6","6B":"107","7B":"108","8B":"3.1","9B":"5.1",AC:"6.1",BC:"7.1",CC:"9.1",DC:"13.1",EC:"14.1",FC:"15.1",GC:"TP",HC:"9.5-9.6",IC:"10.0-10.1",JC:"10.5",KC:"10.6",LC:"11.6",MC:"4.0-4.1",NC:"5.0-5.1",OC:"6.0-6.1",PC:"7.0-7.1",QC:"8.1-8.4",RC:"9.0-9.2",SC:"9.3",TC:"10.0-10.2",UC:"10.3",VC:"11.0-11.2",WC:"11.3-11.4",XC:"12.0-12.1",YC:"12.2-12.5",ZC:"13.0-13.1",aC:"13.2",bC:"13.3",cC:"13.4-13.7",dC:"14.0-14.4",eC:"14.5-14.8",fC:"15.0-15.1",gC:"all",hC:"2.1",iC:"2.2",jC:"2.3",kC:"4.1",lC:"4.4",mC:"4.4.3-4.4.4",nC:"12.12",oC:"5.0-5.4",pC:"6.2-6.4",qC:"7.2-7.4",rC:"8.2",sC:"9.2",tC:"11.1-11.2",uC:"12.0",vC:"13.0",wC:"14.0",xC:"15.0",yC:"17.0",zC:"18.0","0C":"10.4","1C":"7.12","2C":"2.5"}},t4zo:function(e,t,n){(function(n){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){s(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,a=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=o.saveAs||("object"!=typeof window||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(e,n,a){var s=o.URL||o.webkitURL,l=document.createElement("a");n=n||e.name||"download",l.download=n,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?i(l):r(l.href)?t(e,n,a):i(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(l.href)},4e4),setTimeout(function(){i(l)},0))}:"msSaveOrOpenBlob"in navigator?function(e,n,o){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,o),n);else if(r(e))t(e,n,o);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout(function(){i(a)})}}:function(e,n,r,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var s="application/octet-stream"===e.type,l=/constructor/i.test(o.HTMLElement)||o.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&l||a)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},u.readAsDataURL(e)}else{var h=o.URL||o.webkitURL,d=h.createObjectURL(e);i?i.location=d:location.href=d,i=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});o.saveAs=s.saveAs=s,void 0!==e&&(e.exports=s)})?r.apply(t,i):r)||(e.exports=o)}).call(t,n("DuR2"))},t8qj:function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.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}},e}},t8x9:function(e,t,n){var r=n("77Pl"),i=n("lOnJ"),o=n("dSzd")("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},tIFN:function(e,t,n){"use strict";var r=n("cGG2"),i=n("JP+z"),o=n("XmWM"),a=n("DUeU");function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var l=s(n("KCLY"));l.Axios=o,l.create=function(e){return s(a(l.defaults,e))},l.Cancel=n("dVOP"),l.CancelToken=n("cWxy"),l.isCancel=n("pBtG"),l.all=function(e){return Promise.all(e)},l.spread=n("pxG4"),l.isAxiosError=n("SLDG"),e.exports=l,e.exports.default=l},ttyz:function(e,t,n){"use strict";var r=n("9C8M"),i=n("LIJb");e.exports=n("qo66")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},"u/Zb":function(e,t,n){e.exports=n("Kh4W").f("species")},uKg5:function(e,t,n){(function(r,i){var o,a,s,l;!function(r){if("object"==typeof t&&void 0!==e&&"undefined"==typeof DO_NOT_EXPORT_JSZIP)e.exports=r();else if(n("nErl")&&"undefined"==typeof DO_NOT_EXPORT_JSZIP)JSZipSync=r(),a=[],void 0===(s="function"==typeof(o=r)?o.apply(t,a):o)||(e.exports=s);else{var l;"undefined"!=typeof globalThis?l=globalThis:"undefined"!=typeof window?l=window:void 0!==i?l=i:"undefined"!=typeof $&&$.global?l=$.global:"undefined"!=typeof self&&(l=self),l.JSZipSync=r()}}(function(){return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(!s&&("function"==typeof l&&l))return l(a,!0);if(o)return o(a,!0);throw new Error("Cannot find module '"+a+"'")}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n||e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof l&&l,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e,t){for(var n,i,o,a,s,l,c,u="",h=0;h<e.length;)a=(n=e.charCodeAt(h++))>>2,s=(3&n)<<4|(i=e.charCodeAt(h++))>>4,l=(15&i)<<2|(o=e.charCodeAt(h++))>>6,c=63&o,isNaN(i)?l=c=64:isNaN(o)&&(c=64),u=u+r.charAt(a)+r.charAt(s)+r.charAt(l)+r.charAt(c);return u},n.decode=function(e,t){var n,i,o,a,s,l,c="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)n=r.indexOf(e.charAt(u++))<<2|(a=r.indexOf(e.charAt(u++)))>>4,i=(15&a)<<4|(s=r.indexOf(e.charAt(u++)))>>2,o=(3&s)<<6|(l=r.indexOf(e.charAt(u++))),c+=String.fromCharCode(n),64!=s&&(c+=String.fromCharCode(i)),64!=l&&(c+=String.fromCharCode(o));return c}},{}],2:[function(e,t,n){"use strict";function r(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}r.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=r},{}],3:[function(e,t,n){"use strict";n.STORE={magic:"\0\0",compress:function(e){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null},n.DEFLATE=e("./flate")},{"./flate":8}],4:[function(e,t,n){"use strict";var r=e("./utils"),i=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(e,t){if(void 0===e||!e.length)return 0;var n="string"!==r.getTypeOf(e);void 0===t&&(t=0);var o=0;t^=-1;for(var a=0,s=e.length;a<s;a++)o=n?e[a]:e.charCodeAt(a),t=t>>>8^i[255&(t^o)];return-1^t}},{"./utils":21}],5:[function(e,t,n){"use strict";var r=e("./utils");function i(e){this.data=null,this.length=0,this.index=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1)}},t.exports=i},{"./utils":21}],6:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!1,n.date=null,n.compression=null,n.comment=null},{}],7:[function(e,t,n){"use strict";var r=e("./utils");n.string2binary=function(e){return r.string2binary(e)},n.string2Uint8Array=function(e){return r.transformTo("uint8array",e)},n.uint8Array2String=function(e){return r.transformTo("string",e)},n.string2Blob=function(e){var t=r.transformTo("arraybuffer",e);return r.arrayBuffer2Blob(t)},n.arrayBuffer2Blob=function(e){return r.arrayBuffer2Blob(e)},n.transformTo=function(e,t){return r.transformTo(e,t)},n.getTypeOf=function(e){return r.getTypeOf(e)},n.checkSupport=function(e){return r.checkSupport(e)},n.MAX_VALUE_16BITS=r.MAX_VALUE_16BITS,n.MAX_VALUE_32BITS=r.MAX_VALUE_32BITS,n.pretty=function(e){return r.pretty(e)},n.findCompression=function(e){return r.findCompression(e)},n.isRegExp=function(e){return r.isRegExp(e)}},{"./utils":21}],8:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako");n.uncompressInputType=r?"uint8array":"array",n.compressInputType=r?"uint8array":"array",n.magic="\b\0",n.compress=function(e){return i.deflateRaw(e)},n.uncompress=function(e){return i.inflateRaw(e)}},{pako:24}],9:[function(e,t,n){"use strict";var r=e("./base64");function i(e,t){if(!(this instanceof i))return new i(e,t);this.files={},this.comment=null,this.root="",e&&this.load(e,t),this.clone=function(){var e=new i;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}i.prototype=e("./object"),i.prototype.load=e("./load"),i.support=e("./support"),i.defaults=e("./defaults"),i.utils=e("./deprecatedPublicUtils"),i.base64={encode:function(e){return r.encode(e)},decode:function(e){return r.decode(e)}},i.compressions=e("./compressions"),t.exports=i},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(e,t,n){"use strict";var r=e("./base64"),i=e("./zipEntries");t.exports=function(e,t){var n,o,a,s;for((t=t||{}).base64&&(e=r.decode(e)),n=(o=new i(e,t)).files,a=0;a<n.length;a++)s=n[a],this.file(s.fileName,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileComment.length?s.fileComment:null,createFolders:t.createFolders});return o.zipComment.length&&(this.comment=o.zipComment),this}},{"./base64":1,"./zipEntries":22}],11:[function(e,t,n){(function(e){"use strict";var n=function(){};if(void 0!==e){var r=!e.from;if(!r)try{e.from("foo","utf8")}catch(e){r=!0}n=r?function(t,n){return n?new e(t,n):new e(t)}:e.from.bind(e),e.alloc||(e.alloc=function(t){return new e(t)})}t.exports=function(t,r){return"number"==typeof t?e.alloc(t):n(t,r)},t.exports.test=function(t){return e.isBuffer(t)}}).call(this,void 0!==r?r:void 0)},{}],12:[function(e,t,n){"use strict";var r=e("./uint8ArrayReader");function i(e){this.data=e,this.length=this.data.length,this.index=0}i.prototype=new r,i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.index,this.index+e);return this.index+=e,t},t.exports=i},{"./uint8ArrayReader":18}],13:[function(e,t,n){"use strict";var r=e("./support"),i=e("./utils"),o=e("./crc32"),a=e("./signature"),s=e("./defaults"),l=e("./base64"),c=e("./compressions"),u=e("./compressedObject"),h=e("./nodeBuffer"),d=e("./utf8"),f=e("./stringWriter"),p=e("./uint8ArrayWriter"),A=function(e){if(e._data instanceof u&&(e._data=e._data.getContent(),e.options.binary=!0,e.options.base64=!1,"uint8array"===i.getTypeOf(e._data))){var t=e._data;e._data=new Uint8Array(t.length),0!==t.length&&e._data.set(t,0)}return e._data},g=function(e){var t=A(e);return"string"===i.getTypeOf(t)?!e.options.binary&&r.nodebuffer?h(t,"utf-8"):e.asBinary():t},v=function(e){var t=A(this);return null===t||void 0===t?"":(this.options.base64&&(t=l.decode(t)),t=e&&this.options.binary?B.utf8decode(t):i.transformTo("string",t),e||this.options.binary||(t=i.transformTo("string",B.utf8encode(t))),t)},m=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this._data=t,this.options=n,this._initialMetadata={dir:n.dir,date:n.date}};m.prototype={asText:function(){return v.call(this,!0)},asBinary:function(){return v.call(this,!1)},asNodeBuffer:function(){var e=g(this);return i.transformTo("nodebuffer",e)},asUint8Array:function(){var e=g(this);return i.transformTo("uint8array",e)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var y=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},b=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},_=function(e,t,n){var r,o=i.getTypeOf(t);if((n=function(e){return!0!==(e=e||{}).base64||null!==e.binary&&void 0!==e.binary||(e.binary=!0),(e=b(e,s)).date=e.date||new Date,null!==e.compression&&(e.compression=e.compression.toUpperCase()),e}(n)).createFolders&&(r=w(e))&&x.call(this,r,!0),n.dir||null===t||void 0===t)n.base64=!1,n.binary=!1,t=null;else if("string"===o)n.binary&&!n.base64&&!0!==n.optimizedBinaryString&&(t=i.string2binary(t));else{if(n.base64=!1,n.binary=!0,!(o||t instanceof u))throw new Error("The data of '"+e+"' is in an unsupported format !");"arraybuffer"===o&&(t=i.transformTo("uint8array",t))}var a=new m(e,t,n);return this.files[e]=a,a},w=function(e){"/"==e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},x=function(e,t){return"/"!=e.slice(-1)&&(e+="/"),t=void 0!==t&&t,this.files[e]||_.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},C=function(e,t){var n,r=new u;return e._data instanceof u?(r.uncompressedSize=e._data.uncompressedSize,r.crc32=e._data.crc32,0===r.uncompressedSize||e.dir?(t=c.STORE,r.compressedContent="",r.crc32=0):e._data.compressionMethod===t.magic?r.compressedContent=e._data.getCompressedContent():(n=e._data.getContent(),r.compressedContent=t.compress(i.transformTo(t.compressInputType,n)))):((n=g(e))&&0!==n.length&&!e.dir||(t=c.STORE,n=""),r.uncompressedSize=n.length,r.crc32=o(n),r.compressedContent=t.compress(i.transformTo(t.compressInputType,n))),r.compressedSize=r.compressedContent.length,r.compressionMethod=t.magic,r},S=function(e,t,n,r){n.compressedContent;var s,l,c,u,h=i.transformTo("string",d.utf8encode(t.name)),f=t.comment||"",p=i.transformTo("string",d.utf8encode(f)),A=h.length!==t.name.length,g=p.length!==f.length,v=t.options,m="",b="",_="";c=t._initialMetadata.dir!==t.dir?t.dir:v.dir,s=(u=t._initialMetadata.date!==t.date?t.date:v.date).getHours(),s<<=6,s|=u.getMinutes(),s<<=5,s|=u.getSeconds()/2,l=u.getFullYear()-1980,l<<=4,l|=u.getMonth()+1,l<<=5,l|=u.getDate(),A&&(b=y(1,1)+y(o(h),4)+h,m+="up"+y(b.length,2)+b),g&&(_=y(1,1)+y(this.crc32(p),4)+p,m+="uc"+y(_.length,2)+_);var w="";return w+="\n\0",w+=A||g?"\0\b":"\0\0",w+=n.compressionMethod,w+=y(s,2),w+=y(l,2),w+=y(n.crc32,4),w+=y(n.compressedSize,4),w+=y(n.uncompressedSize,4),w+=y(h.length,2),w+=y(m.length,2),{fileRecord:a.LOCAL_FILE_HEADER+w+h+m,dirRecord:a.CENTRAL_FILE_HEADER+"\0"+w+y(p.length,2)+"\0\0\0\0"+(!0===c?"\0\0\0":"\0\0\0\0")+y(r,4)+h+m+p,compressedObject:n}},B={load:function(e,t){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(e){var t,n,r,i,o=[];for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],i=new m(r.name,r._data,b(r.options)),n=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&e(n,i)&&o.push(i));return o},file:function(e,t,n){if(1===arguments.length){if(i.isRegExp(e)){var r=e;return this.filter(function(e,t){return!t.dir&&r.test(e)})}return this.filter(function(t,n){return!n.dir&&t===e})[0]||null}return e=this.root+e,_.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(i.isRegExp(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=x.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!=e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){e=b(e||{},{base64:!0,compression:"STORE",type:"base64",comment:null}),i.checkSupport(e.type);var t,n,r=[],o=0,s=0,u=i.transformTo("string",this.utf8encode(e.comment||this.comment||""));for(var h in this.files)if(this.files.hasOwnProperty(h)){var d=this.files[h],A=d.options.compression||e.compression.toUpperCase(),g=c[A];if(!g)throw new Error(A+" is not a valid compression method !");var v=C.call(this,d,g),m=S.call(this,h,d,v,o);o+=m.fileRecord.length+v.compressedSize,s+=m.dirRecord.length,r.push(m)}var _;_=a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+y(r.length,2)+y(r.length,2)+y(s,4)+y(o,4)+y(u.length,2)+u;var w=e.type.toLowerCase();for(t="uint8array"===w||"arraybuffer"===w||"blob"===w||"nodebuffer"===w?new p(o+s+_.length):new f(o+s+_.length),n=0;n<r.length;n++)t.append(r[n].fileRecord),t.append(r[n].compressedObject.compressedContent);for(n=0;n<r.length;n++)t.append(r[n].dirRecord);t.append(_);var x=t.finalize();switch(e.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return i.transformTo(e.type.toLowerCase(),x);case"blob":return i.arrayBuffer2Blob(i.transformTo("arraybuffer",x));case"base64":return e.base64?l.encode(x):x;default:return x}},crc32:function(e,t){return o(e,t)},utf8encode:function(e){return i.transformTo("string",d.utf8encode(e))},utf8decode:function(e){return d.utf8decode(e)}};t.exports=B},{"./base64":1,"./compressedObject":2,"./compressions":3,"./crc32":4,"./defaults":6,"./nodeBuffer":11,"./signature":14,"./stringWriter":16,"./support":17,"./uint8ArrayWriter":19,"./utf8":20,"./utils":21}],14:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],15:[function(e,t,n){"use strict";var r=e("./dataReader"),i=e("./utils");function o(e,t){this.data=e,t||(this.data=i.string2binary(this.data)),this.length=this.data.length,this.index=0}o.prototype=new r,o.prototype.byteAt=function(e){return this.data.charCodeAt(e)},o.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)},o.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.index,this.index+e);return this.index+=e,t},t.exports=o},{"./dataReader":5,"./utils":21}],16:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){this.data=[]};i.prototype={append:function(e){e=r.transformTo("string",e),this.data.push(e)},finalize:function(){return this.data.join("")}},t.exports=i},{"./utils":21}],17:[function(e,t,n){(function(e){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==e,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var t=new ArrayBuffer(0);try{n.blob=0===new Blob([t],{type:"application/zip"}).size}catch(e){try{var r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);r.append(t),n.blob=0===r.getBlob("application/zip").size}catch(e){n.blob=!1}}}}).call(this,void 0!==r?r:void 0)},{}],18:[function(e,t,n){"use strict";var r=e("./dataReader");function i(e){e&&(this.data=e,this.length=this.data.length,this.index=0)}i.prototype=new r,i.prototype.byteAt=function(e){return this.data[e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o;return-1},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.index,this.index+e);return this.index+=e,t},t.exports=i},{"./dataReader":5}],19:[function(e,t,n){"use strict";var r=e("./utils"),i=function(e){this.data=new Uint8Array(e),this.index=0};i.prototype={append:function(e){0!==e.length&&(e=r.transformTo("uint8array",e),this.data.set(e,this.index),this.index+=e.length)},finalize:function(){return this.data}},t.exports=i},{"./utils":21}],20:[function(e,t,n){"use strict";for(var r=e("./utils"),i=e("./support"),o=e("./nodeBuffer"),a=new Array(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;a[254]=a[254]=1;var l=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+a[e[n]]>t?n:t},c=function(e){var t,n,i,o,s=e.length,l=new Array(2*s);for(n=0,t=0;t<s;)if((i=e[t++])<128)l[n++]=i;else if((o=a[i])>4)l[n++]=65533,t+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&t<s;)i=i<<6|63&e[t++],o--;o>1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)};n.utf8encode=function(e){return i.nodebuffer?o(e,"utf-8"):function(e){var t,n,r,o,a,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(l):new Array(l),a=0,o=0;a<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t}(e)},n.utf8decode=function(e){if(i.nodebuffer)return r.transformTo("nodebuffer",e).toString("utf-8");for(var t=[],n=0,o=(e=r.transformTo(i.uint8array?"uint8array":"array",e)).length;n<o;){var a=l(e,Math.min(n+65536,o));i.uint8array?t.push(c(e.subarray(n,a))):t.push(c(e.slice(n,a))),n=a}return t.join("")}},{"./nodeBuffer":11,"./support":17,"./utils":21}],21:[function(e,t,n){"use strict";var r=e("./support"),i=e("./compressions"),o=e("./nodeBuffer");function a(e){return e}function s(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}function l(e){var t=65536,r=[],i=e.length,a=n.getTypeOf(e),s=0,l=!0;try{switch(a){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,o(0))}}catch(e){l=!1}if(!l){for(var c="",u=0;u<e.length;u++)c+=String.fromCharCode(e[u]);return c}for(;s<i&&t>1;)try{"array"===a||"nodebuffer"===a?r.push(String.fromCharCode.apply(null,e.slice(s,Math.min(s+t,i)))):r.push(String.fromCharCode.apply(null,e.subarray(s,Math.min(s+t,i)))),s+=t}catch(e){t=Math.floor(t/2)}return r.join("")}function c(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.string2binary=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(255&e.charCodeAt(n));return t},n.arrayBuffer2Blob=function(e){n.checkSupport("blob");try{return new Blob([e],{type:"application/zip"})}catch(n){try{var t=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);return t.append(e),t.getBlob("application/zip")}catch(e){throw new Error("Bug : can't construct the Blob.")}}},n.applyFromCharCode=l;var u={};u.string={string:a,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return u.string.uint8array(e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:function(e){return s(e,o(e.length))}},u.array={string:l,array:a,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o(e)}},u.arraybuffer={string:function(e){return l(new Uint8Array(e))},array:function(e){return c(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:a,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o(new Uint8Array(e))}},u.uint8array={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:a,nodebuffer:function(e){return o(e)}},u.nodebuffer={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return u.nodebuffer.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:a},n.transformTo=function(e,t){if(t||(t=""),!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return u[r][e](t)},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&o.test(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this browser")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.findCompression=function(e){for(var t in i)if(i.hasOwnProperty(t)&&i[t].magic===e)return i[t];return null},n.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},{"./compressions":3,"./nodeBuffer":11,"./support":17}],22:[function(e,t,n){"use strict";var r=e("./stringReader"),i=e("./nodeBufferReader"),o=e("./uint8ArrayReader"),a=e("./utils"),s=e("./signature"),l=e("./zipEntry"),c=e("./support"),u=e("./object");function h(e,t){this.files=[],this.loadOptions=t,e&&this.load(e)}h.prototype={checkSignature:function(e){var t=this.reader.readString(4);if(t!==e)throw new Error("Corrupted zip or bug : unexpected signature ("+a.pretty(t)+", expected "+a.pretty(e)+")")},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2),this.zipComment=this.reader.readString(this.zipCommentLength),this.zipComment=u.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readString(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===s.CENTRAL_FILE_HEADER;)(e=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(-1===e)throw new Error("Corrupted zip : can't find end of central directory");if(this.reader.setIndex(e),this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,-1===(e=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR)))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");this.reader.setIndex(e),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}},prepareReader:function(e){var t=a.getTypeOf(e);"string"!==t||c.uint8array?this.reader="nodebuffer"===t?new i(e):new o(a.transformTo("uint8array",e)):this.reader=new r(e,this.loadOptions.optimizedBinaryString)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=h},{"./nodeBufferReader":12,"./object":13,"./signature":14,"./stringReader":15,"./support":17,"./uint8ArrayReader":18,"./utils":21,"./zipEntry":23}],23:[function(e,t,n){"use strict";var r=e("./stringReader"),i=e("./utils"),o=e("./compressedObject"),a=e("./object");function s(e,t){this.options=e,this.loadOptions=t}s.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},prepareCompressedContent:function(e,t,n){return function(){var r=e.index;e.setIndex(t);var i=e.readData(n);return e.setIndex(r),i}},prepareContent:function(e,t,n,r,o){return function(){var e=i.transformTo(r.uncompressInputType,this.getCompressedContent()),t=r.uncompress(e);if(t.length!==o)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readString(this.fileNameLength),e.skip(n),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(null===(t=i.findCompression(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+this.fileName+")");if(this.decompressed=new o,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(e,e.index,this.compressedSize,t),this.decompressed.getContent=this.prepareContent(e,e.index,this.compressedSize,t,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=i.transformTo("string",this.decompressed.getContent()),a.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(e){if(this.versionMadeBy=e.readString(2),this.versionNeeded=e.readInt(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4),this.fileNameLength=e.readInt(2),this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=e.readString(this.fileNameLength),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readString(this.fileCommentLength),this.dir=!!(16&this.externalFileAttributes)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=new r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index;for(this.extraFields=this.extraFields||{};e.index<i+this.extraFieldsLength;)t=e.readInt(2),n=e.readInt(2),r=e.readString(n),this.extraFields[t]={id:t,length:n,value:r}},handleUTF8:function(){if(this.useUTF8())this.fileName=a.utf8decode(this.fileName),this.fileComment=a.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();null!==e&&(this.fileName=e);var t=this.findExtraFieldUnicodeComment();null!==t&&(this.fileComment=t)}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=new r(e.value);return 1!==t.readInt(1)?null:a.crc32(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readString(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=new r(e.value);return 1!==t.readInt(1)?null:a.crc32(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readString(e.length-5))}return null}},t.exports=s},{"./compressedObject":2,"./object":13,"./stringReader":15,"./utils":21}],24:[function(e,t,n){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":25,"./lib/inflate":26,"./lib/utils/common":27,"./lib/zlib/constants":30}],25:[function(e,t,n){"use strict";var r=e("./zlib/deflate.js"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/messages"),s=e("./zlib/zstream"),l=function(e){this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(a[n]);t.header&&r.deflateSetHeader(this.strm,t.header)};function c(e,t){var n=new l(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}l.prototype.push=function(e,t){var n,a,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,s.input="string"==typeof e?o.string2buf(e):e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(l),s.next_out=0,s.avail_out=l),1!==(n=r.deflate(s,a))&&0!==n)return this.onEnd(n),this.ended=!0,!1;(0===s.avail_out||0===s.avail_in&&4===a)&&("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==n);return 4!==a||(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n)},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=l,n.deflate=c,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,c(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,c(e,t)}},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(e,t,n){"use strict";var r=e("./zlib/inflate.js"),i=e("./utils/common"),o=e("./utils/strings"),a=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),u=function(e){this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)};function h(e,t){var n=new u(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}u.prototype.push=function(e,t){var n,s,l,c,u,h=this.strm,d=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,h.input="string"==typeof e?o.binstring2buf(e):e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new i.Buf8(d),h.next_out=0,h.avail_out=d),(n=r.inflate(h,a.Z_NO_FLUSH))!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),this.ended=!0,!1;h.next_out&&(0===h.avail_out||n===a.Z_STREAM_END||0===h.avail_in&&s===a.Z_FINISH)&&("string"===this.options.to?(l=o.utf8border(h.output,h.next_out),c=h.next_out-l,u=o.buf2string(h.output,l),h.next_out=c,h.avail_out=d-c,c&&i.arraySet(h.output,h.output,l,c,0),this.onData(u)):this.onData(i.shrinkBuf(h.output,h.next_out)))}while(h.avail_in>0&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s!==a.Z_FINISH||(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=u,n.inflate=h,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},n.ungzip=h},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,a;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],a.set(o,i),i+=o.length;return a}},o={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],28:[function(e,t,n){"use strict";var r=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",a=0;a<t;a++)n+=String.fromCharCode(e[a]);return n}a[254]=a[254]=1,n.string2buf=function(e){var t,n,i,o,a,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),a=0,o=0;a<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,o,s=t||e.length,c=new Array(2*s);for(r=0,n=0;n<s;)if((i=e[n++])<128)c[r++]=i;else if((o=a[i])>4)c[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&n<s;)i=i<<6|63&e[n++],o--;o>1?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return l(c,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+a[e[n]]>t?n:t}},{"./common":27}],29:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}},{}],30:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var o=r,a=i+n;e^=-1;for(var s=i;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}},{}],32:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./trees"),o=e("./adler32"),a=e("./crc32"),s=e("./messages"),l=0,c=1,u=3,h=4,d=5,f=0,p=1,A=-2,g=-3,v=-5,m=-1,y=1,b=2,_=3,w=4,x=0,C=2,S=8,B=9,k=15,T=8,E=286,M=30,D=19,O=2*E+1,I=15,L=3,P=258,F=P+L+1,R=32,N=42,H=69,j=73,U=91,Q=103,z=113,Y=666,V=1,G=2,W=3,X=4,Z=3;function $(e,t){return e.msg=s[t],t}function K(e){return(e<<1)-(e>4?9:0)}function J(e){for(var t=e.length;--t>=0;)e[t]=0}function q(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function ee(e,t){i._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,q(e.strm)}function te(e,t){e.pending_buf[e.pending++]=t}function ne(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function re(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-F?e.strstart-(e.w_size-F):0,c=e.window,u=e.w_mask,h=e.prev,d=e.strstart+P,f=c[o+a-1],p=c[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===p&&c[n+a-1]===f&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<d);if(r=P-(d-o),o=d-P,r>a){if(e.match_start=t,a=r,r>=s)break;f=c[o+a-1],p=c[o+a]}}}while((t=h[t&u])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function ie(e){var t,n,i,s,l,c,u,h,d,f,p=e.w_size;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-F)){r.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=n=e.hash_size;do{i=e.head[--t],e.head[t]=i>=p?i-p:0}while(--n);t=n=p;do{i=e.prev[--t],e.prev[t]=i>=p?i-p:0}while(--n);s+=p}if(0===e.strm.avail_in)break;if(c=e.strm,u=e.window,h=e.strstart+e.lookahead,d=s,f=void 0,(f=c.avail_in)>d&&(f=d),n=0===f?0:(c.avail_in-=f,r.arraySet(u,c.input,c.next_in,f,h),1===c.state.wrap?c.adler=o(c.adler,u,f,h):2===c.state.wrap&&(c.adler=a(c.adler,u,f,h)),c.next_in+=f,c.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=L)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+L-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<L)););}while(e.lookahead<F&&0!==e.strm.avail_in)}function oe(e,t){for(var n,r;;){if(e.lookahead<F){if(ie(e),e.lookahead<F&&t===l)return V;if(0===e.lookahead)break}if(n=0,e.lookahead>=L&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+L-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-F&&(e.match_length=re(e,n)),e.match_length>=L)if(r=i._tr_tally(e,e.strstart-e.match_start,e.match_length-L),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=L){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+L-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(ee(e,!1),0===e.strm.avail_out))return V}return e.insert=e.strstart<L-1?e.strstart:L-1,t===h?(ee(e,!0),0===e.strm.avail_out?W:X):e.last_lit&&(ee(e,!1),0===e.strm.avail_out)?V:G}function ae(e,t){for(var n,r,o;;){if(e.lookahead<F){if(ie(e),e.lookahead<F&&t===l)return V;if(0===e.lookahead)break}if(n=0,e.lookahead>=L&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+L-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=L-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-F&&(e.match_length=re(e,n),e.match_length<=5&&(e.strategy===y||e.match_length===L&&e.strstart-e.match_start>4096)&&(e.match_length=L-1)),e.prev_length>=L&&e.match_length<=e.prev_length){o=e.strstart+e.lookahead-L,r=i._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-L),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=o&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+L-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=L-1,e.strstart++,r&&(ee(e,!1),0===e.strm.avail_out))return V}else if(e.match_available){if((r=i._tr_tally(e,0,e.window[e.strstart-1]))&&ee(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return V}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=i._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<L-1?e.strstart:L-1,t===h?(ee(e,!0),0===e.strm.avail_out?W:X):e.last_lit&&(ee(e,!1),0===e.strm.avail_out)?V:G}var se,le=function(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i};function ce(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=C,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?N:z,e.adler=2===t.wrap?0:1,t.last_flush=l,i._tr_init(t),f):$(e,A)}function ue(e){var t,n=ce(e);return n===f&&((t=e.state).window_size=2*t.w_size,J(t.head),t.max_lazy_match=se[t.level].max_lazy,t.good_match=se[t.level].good_length,t.nice_match=se[t.level].nice_length,t.max_chain_length=se[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=L-1,t.match_available=0,t.ins_h=0),n}function he(e,t,n,i,o,a){if(!e)return A;var s=1;if(t===m&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),o<1||o>B||n!==S||i<8||i>15||t<0||t>9||a<0||a>w)return $(e,A);8===i&&(i=9);var l=new function(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=S,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(2*O),this.dyn_dtree=new r.Buf16(2*(2*M+1)),this.bl_tree=new r.Buf16(2*(2*D+1)),J(this.dyn_ltree),J(this.dyn_dtree),J(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(I+1),this.heap=new r.Buf16(2*E+1),J(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(2*E+1),J(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0};return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=i,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+L-1)/L),l.window=new r.Buf8(2*l.w_size),l.head=new r.Buf16(l.hash_size),l.prev=new r.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new r.Buf8(l.pending_buf_size),l.d_buf=l.lit_bufsize>>1,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=n,ue(e)}se=[new le(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ie(e),0===e.lookahead&&t===l)return V;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,ee(e,!1),0===e.strm.avail_out))return V;if(e.strstart-e.block_start>=e.w_size-F&&(ee(e,!1),0===e.strm.avail_out))return V}return e.insert=0,t===h?(ee(e,!0),0===e.strm.avail_out?W:X):(e.strstart>e.block_start&&(ee(e,!1),e.strm.avail_out),V)}),new le(4,4,8,4,oe),new le(4,5,16,8,oe),new le(4,6,32,32,oe),new le(4,4,16,16,ae),new le(8,16,32,32,ae),new le(8,16,128,128,ae),new le(8,32,128,256,ae),new le(32,128,258,1024,ae),new le(32,258,258,4096,ae)],n.deflateInit=function(e,t){return he(e,t,S,k,T,x)},n.deflateInit2=he,n.deflateReset=ue,n.deflateResetKeep=ce,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?A:(e.state.gzhead=t,f):A},n.deflate=function(e,t){var n,r,o,s;if(!e||!e.state||t>d||t<0)return e?$(e,A):A;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===Y&&t!==h)return $(e,0===e.avail_out?v:A);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===N)if(2===r.wrap)e.adler=0,te(r,31),te(r,139),te(r,8),r.gzhead?(te(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),te(r,255&r.gzhead.time),te(r,r.gzhead.time>>8&255),te(r,r.gzhead.time>>16&255),te(r,r.gzhead.time>>24&255),te(r,9===r.level?2:r.strategy>=b||r.level<2?4:0),te(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(te(r,255&r.gzhead.extra.length),te(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=a(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=H):(te(r,0),te(r,0),te(r,0),te(r,0),te(r,0),te(r,9===r.level?2:r.strategy>=b||r.level<2?4:0),te(r,Z),r.status=z);else{var g=S+(r.w_bits-8<<4)<<8;g|=(r.strategy>=b||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(g|=R),g+=31-g%31,r.status=z,ne(r,g),0!==r.strstart&&(ne(r,e.adler>>>16),ne(r,65535&e.adler)),e.adler=1}if(r.status===H)if(r.gzhead.extra){for(o=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),q(e),o=r.pending,r.pending!==r.pending_buf_size));)te(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=j)}else r.status=j;if(r.status===j)if(r.gzhead.name){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),q(e),o=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,te(r,s)}while(0!==s);r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),0===s&&(r.gzindex=0,r.status=U)}else r.status=U;if(r.status===U)if(r.gzhead.comment){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),q(e),o=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,te(r,s)}while(0!==s);r.gzhead.hcrc&&r.pending>o&&(e.adler=a(e.adler,r.pending_buf,r.pending-o,o)),0===s&&(r.status=Q)}else r.status=Q;if(r.status===Q&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&q(e),r.pending+2<=r.pending_buf_size&&(te(r,255&e.adler),te(r,e.adler>>8&255),e.adler=0,r.status=z)):r.status=z),0!==r.pending){if(q(e),0===e.avail_out)return r.last_flush=-1,f}else if(0===e.avail_in&&K(t)<=K(n)&&t!==h)return $(e,v);if(r.status===Y&&0!==e.avail_in)return $(e,v);if(0!==e.avail_in||0!==r.lookahead||t!==l&&r.status!==Y){var m=r.strategy===b?function(e,t){for(var n;;){if(0===e.lookahead&&(ie(e),0===e.lookahead)){if(t===l)return V;break}if(e.match_length=0,n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(ee(e,!1),0===e.strm.avail_out))return V}return e.insert=0,t===h?(ee(e,!0),0===e.strm.avail_out?W:X):e.last_lit&&(ee(e,!1),0===e.strm.avail_out)?V:G}(r,t):r.strategy===_?function(e,t){for(var n,r,o,a,s=e.window;;){if(e.lookahead<=P){if(ie(e),e.lookahead<=P&&t===l)return V;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=L&&e.strstart>0&&(r=s[o=e.strstart-1])===s[++o]&&r===s[++o]&&r===s[++o]){a=e.strstart+P;do{}while(r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&r===s[++o]&&o<a);e.match_length=P-(a-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=L?(n=i._tr_tally(e,1,e.match_length-L),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=i._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(ee(e,!1),0===e.strm.avail_out))return V}return e.insert=0,t===h?(ee(e,!0),0===e.strm.avail_out?W:X):e.last_lit&&(ee(e,!1),0===e.strm.avail_out)?V:G}(r,t):se[r.level].func(r,t);if(m!==W&&m!==X||(r.status=Y),m===V||m===W)return 0===e.avail_out&&(r.last_flush=-1),f;if(m===G&&(t===c?i._tr_align(r):t!==d&&(i._tr_stored_block(r,0,0,!1),t===u&&(J(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),q(e),0===e.avail_out))return r.last_flush=-1,f}return t!==h?f:r.wrap<=0?p:(2===r.wrap?(te(r,255&e.adler),te(r,e.adler>>8&255),te(r,e.adler>>16&255),te(r,e.adler>>24&255),te(r,255&e.total_in),te(r,e.total_in>>8&255),te(r,e.total_in>>16&255),te(r,e.total_in>>24&255)):(ne(r,e.adler>>>16),ne(r,65535&e.adler)),q(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?f:p)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==N&&t!==H&&t!==j&&t!==U&&t!==Q&&t!==z&&t!==Y?$(e,A):(e.state=null,t===z?$(e,g):f):A},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],34:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C,S,B;n=e.state,r=e.next_in,S=e.input,i=r+(e.avail_in-5),o=e.next_out,B=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,h=n.wnext,d=n.window,f=n.hold,p=n.bits,A=n.lencode,g=n.distcode,v=(1<<n.lenbits)-1,m=(1<<n.distbits)-1;e:do{p<15&&(f+=S[r++]<<p,p+=8,f+=S[r++]<<p,p+=8),y=A[f&v];t:for(;;){if(f>>>=b=y>>>24,p-=b,0===(b=y>>>16&255))B[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=A[(65535&y)+(f&(1<<b)-1)];continue t}if(32&b){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}_=65535&y,(b&=15)&&(p<b&&(f+=S[r++]<<p,p+=8),_+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=S[r++]<<p,p+=8,f+=S[r++]<<p,p+=8),y=g[f&m];n:for(;;){if(f>>>=b=y>>>24,p-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(f&(1<<b)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(w=65535&y,p<(b&=15)&&(f+=S[r++]<<p,(p+=8)<b&&(f+=S[r++]<<p,p+=8)),(w+=f&(1<<b)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=b,p-=b,w>(b=o-a)){if((b=w-b)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(x=0,C=d,0===h){if(x+=c-b,b<_){_-=b;do{B[o++]=d[x++]}while(--b);x=o-w,C=B}}else if(h<b){if(x+=c+h-b,(b-=h)<_){_-=b;do{B[o++]=d[x++]}while(--b);if(x=0,h<_){_-=b=h;do{B[o++]=d[x++]}while(--b);x=o-w,C=B}}}else if(x+=h-b,b<_){_-=b;do{B[o++]=d[x++]}while(--b);x=o-w,C=B}for(;_>2;)B[o++]=C[x++],B[o++]=C[x++],B[o++]=C[x++],_-=3;_&&(B[o++]=C[x++],_>1&&(B[o++]=C[x++]))}else{x=o-w;do{B[o++]=B[x++],B[o++]=B[x++],B[o++]=B[x++],_-=3}while(_>2);_&&(B[o++]=B[x++],_>1&&(B[o++]=B[x++]))}break}}break}}while(r<i&&o<s);r-=_=p>>3,f&=(1<<(p-=_<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=f,n.bits=p}},{}],35:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),a=e("./inffast"),s=e("./inftrees"),l=0,c=1,u=2,h=4,d=5,f=6,p=0,A=1,g=2,v=-2,m=-3,y=-4,b=-5,_=8,w=1,x=2,C=3,S=4,B=5,k=6,T=7,E=8,M=9,D=10,O=11,I=12,L=13,P=14,F=15,R=16,N=17,H=18,j=19,U=20,Q=21,z=22,Y=23,V=24,G=25,W=26,X=27,Z=28,$=29,K=30,J=31,q=32,ee=852,te=592,ne=15;function re(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ie(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=w,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(ee),t.distcode=t.distdyn=new r.Buf32(te),t.sane=1,t.back=-1,p):v}function oe(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,ie(e)):v}function ae(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?v:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,oe(e))):v}function se(e,t){var n,i;return e?(i=new function(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0},e.state=i,i.window=null,(n=ae(e,t))!==p&&(e.state=null),n):v}var le,ce,ue=!0;function he(e){if(ue){var t;for(le=new r.Buf32(512),ce=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(c,e.lens,0,288,le,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(u,e.lens,0,32,ce,0,e.work,{bits:5}),ue=!1}e.lencode=le,e.lenbits=9,e.distcode=ce,e.distbits=5}n.inflateReset=oe,n.inflateReset2=ae,n.inflateResetKeep=ie,n.inflateInit=function(e){return se(e,ne)},n.inflateInit2=se,n.inflate=function(e,t){var n,ee,te,ne,ie,oe,ae,se,le,ce,ue,de,fe,pe,Ae,ge,ve,me,ye,be,_e,we,xe,Ce,Se=0,Be=new r.Buf8(4),ke=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return v;(n=e.state).mode===I&&(n.mode=L),ie=e.next_out,te=e.output,ae=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,se=n.hold,le=n.bits,ce=oe,ue=ae,we=p;e:for(;;)switch(n.mode){case w:if(0===n.wrap){n.mode=L;break}for(;le<16;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(2&n.wrap&&35615===se){n.check=0,Be[0]=255&se,Be[1]=se>>>8&255,n.check=o(n.check,Be,2,0),se=0,le=0,n.mode=x;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&se)<<8)+(se>>8))%31){e.msg="incorrect header check",n.mode=K;break}if((15&se)!==_){e.msg="unknown compression method",n.mode=K;break}if(le-=4,_e=8+(15&(se>>>=4)),0===n.wbits)n.wbits=_e;else if(_e>n.wbits){e.msg="invalid window size",n.mode=K;break}n.dmax=1<<_e,e.adler=n.check=1,n.mode=512&se?D:I,se=0,le=0;break;case x:for(;le<16;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(n.flags=se,(255&n.flags)!==_){e.msg="unknown compression method",n.mode=K;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=K;break}n.head&&(n.head.text=se>>8&1),512&n.flags&&(Be[0]=255&se,Be[1]=se>>>8&255,n.check=o(n.check,Be,2,0)),se=0,le=0,n.mode=C;case C:for(;le<32;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.head&&(n.head.time=se),512&n.flags&&(Be[0]=255&se,Be[1]=se>>>8&255,Be[2]=se>>>16&255,Be[3]=se>>>24&255,n.check=o(n.check,Be,4,0)),se=0,le=0,n.mode=S;case S:for(;le<16;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.head&&(n.head.xflags=255&se,n.head.os=se>>8),512&n.flags&&(Be[0]=255&se,Be[1]=se>>>8&255,n.check=o(n.check,Be,2,0)),se=0,le=0,n.mode=B;case B:if(1024&n.flags){for(;le<16;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.length=se,n.head&&(n.head.extra_len=se),512&n.flags&&(Be[0]=255&se,Be[1]=se>>>8&255,n.check=o(n.check,Be,2,0)),se=0,le=0}else n.head&&(n.head.extra=null);n.mode=k;case k:if(1024&n.flags&&((de=n.length)>oe&&(de=oe),de&&(n.head&&(_e=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,ee,ne,de,_e)),512&n.flags&&(n.check=o(n.check,ee,de,ne)),oe-=de,ne+=de,n.length-=de),n.length))break e;n.length=0,n.mode=T;case T:if(2048&n.flags){if(0===oe)break e;de=0;do{_e=ee[ne+de++],n.head&&_e&&n.length<65536&&(n.head.name+=String.fromCharCode(_e))}while(_e&&de<oe);if(512&n.flags&&(n.check=o(n.check,ee,de,ne)),oe-=de,ne+=de,_e)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=E;case E:if(4096&n.flags){if(0===oe)break e;de=0;do{_e=ee[ne+de++],n.head&&_e&&n.length<65536&&(n.head.comment+=String.fromCharCode(_e))}while(_e&&de<oe);if(512&n.flags&&(n.check=o(n.check,ee,de,ne)),oe-=de,ne+=de,_e)break e}else n.head&&(n.head.comment=null);n.mode=M;case M:if(512&n.flags){for(;le<16;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(se!==(65535&n.check)){e.msg="header crc mismatch",n.mode=K;break}se=0,le=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=I;break;case D:for(;le<32;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}e.adler=n.check=re(se),se=0,le=0,n.mode=O;case O:if(0===n.havedict)return e.next_out=ie,e.avail_out=ae,e.next_in=ne,e.avail_in=oe,n.hold=se,n.bits=le,g;e.adler=n.check=1,n.mode=I;case I:if(t===d||t===f)break e;case L:if(n.last){se>>>=7&le,le-=7&le,n.mode=X;break}for(;le<3;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}switch(n.last=1&se,le-=1,3&(se>>>=1)){case 0:n.mode=P;break;case 1:if(he(n),n.mode=U,t===f){se>>>=2,le-=2;break e}break;case 2:n.mode=N;break;case 3:e.msg="invalid block type",n.mode=K}se>>>=2,le-=2;break;case P:for(se>>>=7&le,le-=7≤le<32;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if((65535&se)!=(se>>>16^65535)){e.msg="invalid stored block lengths",n.mode=K;break}if(n.length=65535&se,se=0,le=0,n.mode=F,t===f)break e;case F:n.mode=R;case R:if(de=n.length){if(de>oe&&(de=oe),de>ae&&(de=ae),0===de)break e;r.arraySet(te,ee,ne,de,ie),oe-=de,ne+=de,ae-=de,ie+=de,n.length-=de;break}n.mode=I;break;case N:for(;le<14;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(n.nlen=257+(31&se),se>>>=5,le-=5,n.ndist=1+(31&se),se>>>=5,le-=5,n.ncode=4+(15&se),se>>>=4,le-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=K;break}n.have=0,n.mode=H;case H:for(;n.have<n.ncode;){for(;le<3;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.lens[ke[n.have++]]=7&se,se>>>=3,le-=3}for(;n.have<19;)n.lens[ke[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,xe={bits:n.lenbits},we=s(l,n.lens,0,19,n.lencode,0,n.work,xe),n.lenbits=xe.bits,we){e.msg="invalid code lengths set",n.mode=K;break}n.have=0,n.mode=j;case j:for(;n.have<n.nlen+n.ndist;){for(;ge=(Se=n.lencode[se&(1<<n.lenbits)-1])>>>16&255,ve=65535&Se,!((Ae=Se>>>24)<=le);){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(ve<16)se>>>=Ae,le-=Ae,n.lens[n.have++]=ve;else{if(16===ve){for(Ce=Ae+2;le<Ce;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(se>>>=Ae,le-=Ae,0===n.have){e.msg="invalid bit length repeat",n.mode=K;break}_e=n.lens[n.have-1],de=3+(3&se),se>>>=2,le-=2}else if(17===ve){for(Ce=Ae+3;le<Ce;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}le-=Ae,_e=0,de=3+(7&(se>>>=Ae)),se>>>=3,le-=3}else{for(Ce=Ae+7;le<Ce;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}le-=Ae,_e=0,de=11+(127&(se>>>=Ae)),se>>>=7,le-=7}if(n.have+de>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=K;break}for(;de--;)n.lens[n.have++]=_e}}if(n.mode===K)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=K;break}if(n.lenbits=9,xe={bits:n.lenbits},we=s(c,n.lens,0,n.nlen,n.lencode,0,n.work,xe),n.lenbits=xe.bits,we){e.msg="invalid literal/lengths set",n.mode=K;break}if(n.distbits=6,n.distcode=n.distdyn,xe={bits:n.distbits},we=s(u,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,xe),n.distbits=xe.bits,we){e.msg="invalid distances set",n.mode=K;break}if(n.mode=U,t===f)break e;case U:n.mode=Q;case Q:if(oe>=6&&ae>=258){e.next_out=ie,e.avail_out=ae,e.next_in=ne,e.avail_in=oe,n.hold=se,n.bits=le,a(e,ue),ie=e.next_out,te=e.output,ae=e.avail_out,ne=e.next_in,ee=e.input,oe=e.avail_in,se=n.hold,le=n.bits,n.mode===I&&(n.back=-1);break}for(n.back=0;ge=(Se=n.lencode[se&(1<<n.lenbits)-1])>>>16&255,ve=65535&Se,!((Ae=Se>>>24)<=le);){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(ge&&0==(240&ge)){for(me=Ae,ye=ge,be=ve;ge=(Se=n.lencode[be+((se&(1<<me+ye)-1)>>me)])>>>16&255,ve=65535&Se,!(me+(Ae=Se>>>24)<=le);){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}se>>>=me,le-=me,n.back+=me}if(se>>>=Ae,le-=Ae,n.back+=Ae,n.length=ve,0===ge){n.mode=W;break}if(32&ge){n.back=-1,n.mode=I;break}if(64&ge){e.msg="invalid literal/length code",n.mode=K;break}n.extra=15&ge,n.mode=z;case z:if(n.extra){for(Ce=n.extra;le<Ce;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.length+=se&(1<<n.extra)-1,se>>>=n.extra,le-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=Y;case Y:for(;ge=(Se=n.distcode[se&(1<<n.distbits)-1])>>>16&255,ve=65535&Se,!((Ae=Se>>>24)<=le);){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(0==(240&ge)){for(me=Ae,ye=ge,be=ve;ge=(Se=n.distcode[be+((se&(1<<me+ye)-1)>>me)])>>>16&255,ve=65535&Se,!(me+(Ae=Se>>>24)<=le);){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}se>>>=me,le-=me,n.back+=me}if(se>>>=Ae,le-=Ae,n.back+=Ae,64&ge){e.msg="invalid distance code",n.mode=K;break}n.offset=ve,n.extra=15&ge,n.mode=V;case V:if(n.extra){for(Ce=n.extra;le<Ce;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}n.offset+=se&(1<<n.extra)-1,se>>>=n.extra,le-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=K;break}n.mode=G;case G:if(0===ae)break e;if(de=ue-ae,n.offset>de){if((de=n.offset-de)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=K;break}de>n.wnext?(de-=n.wnext,fe=n.wsize-de):fe=n.wnext-de,de>n.length&&(de=n.length),pe=n.window}else pe=te,fe=ie-n.offset,de=n.length;de>ae&&(de=ae),ae-=de,n.length-=de;do{te[ie++]=pe[fe++]}while(--de);0===n.length&&(n.mode=Q);break;case W:if(0===ae)break e;te[ie++]=n.length,ae--,n.mode=Q;break;case X:if(n.wrap){for(;le<32;){if(0===oe)break e;oe--,se|=ee[ne++]<<le,le+=8}if(ue-=ae,e.total_out+=ue,n.total+=ue,ue&&(e.adler=n.check=n.flags?o(n.check,te,ue,ie-ue):i(n.check,te,ue,ie-ue)),ue=ae,(n.flags?se:re(se))!==n.check){e.msg="incorrect data check",n.mode=K;break}se=0,le=0}n.mode=Z;case Z:if(n.wrap&&n.flags){for(;le<32;){if(0===oe)break e;oe--,se+=ee[ne++]<<le,le+=8}if(se!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=K;break}se=0,le=0}n.mode=$;case $:we=A;break e;case K:we=m;break e;case J:return y;case q:default:return v}return e.next_out=ie,e.avail_out=ae,e.next_in=ne,e.avail_in=oe,n.hold=se,n.bits=le,(n.wsize||ue!==e.avail_out&&n.mode<K&&(n.mode<X||t!==h))&&function(e,t,n,i){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>i&&(o=i),r.arraySet(a.window,t,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}(e,e.output,e.next_out,ue-e.avail_out)?(n.mode=J,y):(ce-=e.avail_in,ue-=e.avail_out,e.total_in+=ce,e.total_out+=ue,n.total+=ue,n.wrap&&ue&&(e.adler=n.check=n.flags?o(n.check,te,ue,e.next_out-ue):i(n.check,te,ue,e.next_out-ue)),e.data_type=n.bits+(n.last?64:0)+(n.mode===I?128:0)+(n.mode===U||n.mode===F?256:0),(0===ce&&0===ue||t===h)&&we===p&&(we=b),we)},n.inflateEnd=function(e){if(!e||!e.state)return v;var t=e.state;return t.window&&(t.window=null),e.state=null,p},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?v:(n.head=t,t.done=!1,p):v},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./inffast":34,"./inftrees":36}],36:[function(e,t,n){"use strict";var r=e("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,c,u,h,d){var f,p,A,g,v,m,y,b,_,w=d.bits,x=0,C=0,S=0,B=0,k=0,T=0,E=0,M=0,D=0,O=0,I=null,L=0,P=new r.Buf16(16),F=new r.Buf16(16),R=null,N=0;for(x=0;x<=15;x++)P[x]=0;for(C=0;C<l;C++)P[t[n+C]]++;for(k=w,B=15;B>=1&&0===P[B];B--);if(k>B&&(k=B),0===B)return c[u++]=20971520,c[u++]=20971520,d.bits=1,0;for(S=1;S<B&&0===P[S];S++);for(k<S&&(k=S),M=1,x=1;x<=15;x++)if(M<<=1,(M-=P[x])<0)return-1;if(M>0&&(0===e||1!==B))return-1;for(F[1]=0,x=1;x<15;x++)F[x+1]=F[x]+P[x];for(C=0;C<l;C++)0!==t[n+C]&&(h[F[t[n+C]]++]=C);if(0===e?(I=R=h,m=19):1===e?(I=i,L-=257,R=o,N-=257,m=256):(I=a,R=s,m=-1),O=0,C=0,x=S,v=u,T=k,E=0,A=-1,g=(D=1<<k)-1,1===e&&D>852||2===e&&D>592)return 1;for(;;){0,y=x-E,h[C]<m?(b=0,_=h[C]):h[C]>m?(b=R[N+h[C]],_=I[L+h[C]]):(b=96,_=0),f=1<<x-E,S=p=1<<T;do{c[v+(O>>E)+(p-=f)]=y<<24|b<<16|_|0}while(0!==p);for(f=1<<x-1;O&f;)f>>=1;if(0!==f?(O&=f-1,O+=f):O=0,C++,0==--P[x]){if(x===B)break;x=t[n+h[C]]}if(x>k&&(O&g)!==A){for(0===E&&(E=k),v+=S,M=1<<(T=x-E);T+E<B&&!((M-=P[T+E])<=0);)T++,M<<=1;if(D+=1<<T,1===e&&D>852||2===e&&D>592)return 1;c[A=O&g]=k<<24|T<<16|v-u|0}}return 0!==O&&(c[v+O]=x-E<<24|64<<16|0),d.bits=k,0}},{"../utils/common":27}],37:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(e,t,n){"use strict";var r=e("../utils/common"),i=4,o=0,a=1,s=2;function l(e){for(var t=e.length;--t>=0;)e[t]=0}var c=0,u=1,h=2,d=29,f=256,p=f+1+d,A=30,g=19,v=2*p+1,m=15,y=16,b=7,_=256,w=16,x=17,C=18,S=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],B=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],T=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],E=new Array(2*(p+2));l(E);var M=new Array(2*A);l(M);var D=new Array(512);l(D);var O=new Array(256);l(O);var I=new Array(d);l(I);var L=new Array(A);l(L);var P,F,R,N=function(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length},H=function(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t};function j(e){return e<256?D[e]:D[256+(e>>>7)]}function U(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Q(e,t,n){e.bi_valid>y-n?(e.bi_buf|=t<<e.bi_valid&65535,U(e,e.bi_buf),e.bi_buf=t>>y-e.bi_valid,e.bi_valid+=n-y):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function z(e,t,n){Q(e,n[2*t],n[2*t+1])}function Y(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function V(e,t,n){var r,i,o=new Array(m+1),a=0;for(r=1;r<=m;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=Y(o[s]++,s))}}function G(e){var t;for(t=0;t<p;t++)e.dyn_ltree[2*t]=0;for(t=0;t<A;t++)e.dyn_dtree[2*t]=0;for(t=0;t<g;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*_]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function W(e){e.bi_valid>8?U(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function X(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function Z(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&X(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!X(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function $(e,t,n){var r,i,o,a,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?z(e,i,t):(z(e,(o=O[i])+f+1,t),0!==(a=S[o])&&Q(e,i-=I[o],a),z(e,o=j(--r),n),0!==(a=B[o])&&Q(e,r-=L[o],a))}while(s<e.last_lit);z(e,_,t)}function K(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=v,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)Z(e,o,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Z(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,Z(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,h=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,A=0;for(o=0;o<=m;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<v;n++)(o=l[2*l[2*(r=e.heap[n])+1]+1]+1)>p&&(o=p,A++),l[2*r+1]=o,r>c||(e.bl_count[o]++,a=0,r>=f&&(a=d[r-f]),s=l[2*r],e.opt_len+=s*(o+a),h&&(e.static_len+=s*(u[2*r+1]+a)));if(0!==A){do{for(o=p-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,A-=2}while(A>0);for(o=p;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>c||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),r--)}}(e,t),V(o,c,e.bl_count)}function J(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<l&&i===a||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*w]++):s<=10?e.bl_tree[2*x]++:e.bl_tree[2*C]++,s=0,o=i,0===a?(l=138,c=3):i===a?(l=6,c=3):(l=7,c=4))}function q(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<l&&i===a)){if(s<c)do{z(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(z(e,i,e.bl_tree),s--),z(e,w,e.bl_tree),Q(e,s-3,2)):s<=10?(z(e,x,e.bl_tree),Q(e,s-3,3)):(z(e,C,e.bl_tree),Q(e,s-11,7));s=0,o=i,0===a?(l=138,c=3):i===a?(l=6,c=3):(l=7,c=4)}}var ee=!1;function te(e,t,n,i){Q(e,(c<<1)+(i?1:0),3),function(e,t,n,i){W(e),i&&(U(e,n),U(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){ee||(function(){var e,t,n,r,i,o=new Array(m+1);for(n=0,r=0;r<d-1;r++)for(I[r]=n,e=0;e<1<<S[r];e++)O[n++]=r;for(O[n-1]=r,i=0,r=0;r<16;r++)for(L[r]=i,e=0;e<1<<B[r];e++)D[i++]=r;for(i>>=7;r<A;r++)for(L[r]=i<<7,e=0;e<1<<B[r]-7;e++)D[256+i++]=r;for(t=0;t<=m;t++)o[t]=0;for(e=0;e<=143;)E[2*e+1]=8,e++,o[8]++;for(;e<=255;)E[2*e+1]=9,e++,o[9]++;for(;e<=279;)E[2*e+1]=7,e++,o[7]++;for(;e<=287;)E[2*e+1]=8,e++,o[8]++;for(V(E,p+1,o),e=0;e<A;e++)M[2*e+1]=5,M[2*e]=Y(e,5);P=new N(E,S,f+1,p,m),F=new N(M,B,0,A,m),R=new N(new Array(0),k,0,g,b)}(),ee=!0),e.l_desc=new H(e.dyn_ltree,P),e.d_desc=new H(e.dyn_dtree,F),e.bl_desc=new H(e.bl_tree,R),e.bi_buf=0,e.bi_valid=0,G(e)},n._tr_stored_block=te,n._tr_flush_block=function(e,t,n,r){var l,c,d=0;e.level>0?(e.strm.data_type===s&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return o;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return a;for(t=32;t<f;t++)if(0!==e.dyn_ltree[2*t])return a;return o}(e)),K(e,e.l_desc),K(e,e.d_desc),d=function(e){var t;for(J(e,e.dyn_ltree,e.l_desc.max_code),J(e,e.dyn_dtree,e.d_desc.max_code),K(e,e.bl_desc),t=g-1;t>=3&&0===e.bl_tree[2*T[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),l=e.opt_len+3+7>>>3,(c=e.static_len+3+7>>>3)<=l&&(l=c)):l=c=n+5,n+4<=l&&-1!==t?te(e,t,n,r):e.strategy===i||c===l?(Q(e,(u<<1)+(r?1:0),3),$(e,E,M)):(Q(e,(h<<1)+(r?1:0),3),function(e,t,n,r){var i;for(Q(e,t-257,5),Q(e,n-1,5),Q(e,r-4,4),i=0;i<r;i++)Q(e,e.bl_tree[2*T[i]+1],3);q(e,e.dyn_ltree,t-1),q(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,d+1),$(e,e.dyn_ltree,e.dyn_dtree)),G(e),r&&W(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(O[n]+f+1)]++,e.dyn_dtree[2*j(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){Q(e,u<<1,3),z(e,_,E),function(e){16===e.bi_valid?(U(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":27}],39:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}]},{},[9])(9)})}).call(t,n("EuP9").Buffer,n("DuR2"))},uXZL:function(e,t,n){(function(r,i,o){function a(t){t.version="0.16.9";var a=1200,s=1252;"undefined"==typeof cptable&&(void 0!==r?r.cptable=n("Hdmu"):"undefined"!=typeof window&&(window.cptable=n("Hdmu")));for(var l=[874,932,936,949,950],c=0;c<=8;++c)l.push(1250+c);var u={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},h=function(e){-1!=l.indexOf(e)&&(s=u[0]=e)};var d=function(e){a=e,h(e)};function f(){d(1200),h(1252)}function p(e){for(var t=[],n=0,r=e.length;n<r;++n)t[n]=e.charCodeAt(n);return t}var A=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return 255==t&&254==n?function(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join("")}(e.slice(2)):254==t&&255==n?function(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}(e.slice(2)):65279==t?e.slice(1):e},g=function(e){return String.fromCharCode(e)},v=function(e){return String.fromCharCode(e)};"undefined"!=typeof cptable&&(d=function(e){a=e,h(e)},A=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?cptable.utils.decode(1200,p(e.slice(2))):e},g=function(e){return 1200===a?String.fromCharCode(e):cptable.utils.decode(a,[255&e,e>>8])[0]},v=function(e){return cptable.utils.decode(s,[e])[0]});var m,y=null,b=(m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",{encode:function(e){for(var t="",n=0,r=0,i=0,o=0,a=0,s=0,l=0,c=0;c<e.length;)o=(n=e.charCodeAt(c++))>>2,a=(3&n)<<4|(r=e.charCodeAt(c++))>>4,s=(15&r)<<2|(i=e.charCodeAt(c++))>>6,l=63&i,isNaN(r)?s=l=64:isNaN(i)&&(l=64),t+=m.charAt(o)+m.charAt(a)+m.charAt(s)+m.charAt(l);return t},decode:function(e){var t="",n=0,r=0,i=0,o=0,a=0,s=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var l=0;l<e.length;)n=m.indexOf(e.charAt(l++))<<2|(o=m.indexOf(e.charAt(l++)))>>4,t+=String.fromCharCode(n),r=(15&o)<<4|(a=m.indexOf(e.charAt(l++)))>>2,64!==a&&(t+=String.fromCharCode(r)),i=(3&a)<<6|(s=m.indexOf(e.charAt(l++))),64!==s&&(t+=String.fromCharCode(i));return t}}),_=void 0!==i&&void 0!==o&&void 0!==o.versions&&!!o.versions.node,w=function(){};if(void 0!==i){var x=!i.from;if(!x)try{i.from("foo","utf8")}catch(e){x=!0}w=x?function(e,t){return t?new i(e,t):new i(e)}:i.from.bind(i),i.alloc||(i.alloc=function(e){return new i(e)}),i.allocUnsafe||(i.allocUnsafe=function(e){return new i(e)})}function C(e){return _?i.alloc(e):new Array(e)}function S(e){return _?i.allocUnsafe(e):new Array(e)}var B=function(e){return _?w(e,"binary"):e.split("").map(function(e){return 255&e.charCodeAt(0)})};function k(e){if("undefined"==typeof ArrayBuffer)return B(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=255&e.charCodeAt(r);return t}function T(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");for(var t=[],n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}function E(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return E(new Uint8Array(e));for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t}var M=function(e){return[].concat.apply([],e)},D=/\u0000/g,O=/[\u0001-\u0006]/g,I={},L=function(e){function t(e){for(var t="",n=e.length-1;n>=0;)t+=e.charAt(n--);return t}function n(e,t){for(var n="";n.length<t;)n+=e;return n}function r(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}function i(e,t){var r=""+e;return r.length>=t?r:n(" ",t-r.length)+r}function o(e,t){var r=""+e;return r.length>=t?r:r+n(" ",t-r.length)}e.version="0.11.2";var a=Math.pow(2,32);function s(e,t){return e>a||e<-a?function(e,t){var r=""+Math.round(e);return r.length>=t?r:n("0",t-r.length)+r}(e,t):function(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}(Math.round(e),t)}function l(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var c=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],u=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function h(e){e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "'}var d={};h(d);var f=[],p=0;for(p=5;p<=8;++p)f[p]=32+p;for(p=23;p<=26;++p)f[p]=0;for(p=27;p<=31;++p)f[p]=14;for(p=50;p<=58;++p)f[p]=14;for(p=59;p<=62;++p)f[p]=p-58;for(p=67;p<=68;++p)f[p]=p-58;for(p=72;p<=75;++p)f[p]=p-58;for(p=67;p<=68;++p)f[p]=p-57;for(p=76;p<=78;++p)f[p]=p-56;for(p=79;p<=81;++p)f[p]=p-34;var A=[];function g(e,t,n){for(var r=e<0?-1:1,i=e*r,o=0,a=1,s=0,l=1,c=0,u=0,h=Math.floor(i);c<t&&(s=(h=Math.floor(i))*a+o,u=h*c+l,!(i-h<5e-8));)i=1/(i-h),o=a,a=s,l=c,c=u;if(u>t&&(c>t?(u=l,s=o):(u=c,s=a)),!n)return[0,r*s,u];var d=Math.floor(r*s/u);return[d,r*s-d*u,u]}function v(e,t,n){if(e>2958465||e<0)return null;var r=0|e,i=Math.floor(86400*(e-r)),o=0,a=[],s={D:r,T:i,u:86400*(e-r)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,86400==++i&&(s.T=i=0,++r,++s.D)),60===r)a=n?[1317,10,29]:[1900,2,29],o=3;else if(0===r)a=n?[1317,8,29]:[1900,1,0],o=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),a=[l.getFullYear(),l.getMonth()+1,l.getDate()],o=l.getDay(),r<60&&(o=(o+6)%7),n&&(o=function(e,t){t[0]-=581;var n=e.getDay();e<60&&(n=(n+6)%7);return n}(l,a))}return s.y=a[0],s.m=a[1],s.d=a[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=o,s}A[5]=A[63]='"$"#,##0_);\\("$"#,##0\\)',A[6]=A[64]='"$"#,##0_);[Red]\\("$"#,##0\\)',A[7]=A[65]='"$"#,##0.00_);\\("$"#,##0.00\\)',A[8]=A[66]='"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',A[41]='_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',A[42]='_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',A[43]='_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',A[44]='_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)',e.parse_date_code=v;var m=new Date(1899,11,31,0,0,0),y=m.getTime(),b=new Date(1900,2,1,0,0,0);function _(e,t){var n=e.getTime();return t?n-=1262304e5:e>=b&&(n+=864e5),(n-(y+6e4*(e.getTimezoneOffset()-m.getTimezoneOffset())))/864e5}e._general_int=function(e){return e.toString(10)};var w=function(){var e=/(?:\.0*|(\.\d*[1-9])0+)$/;function t(t){return-1==t.indexOf(".")?t:t.replace(e,"$1")}var n=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,r=/(E[+-])(\d)$/;return function(e){var i=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t(function(e){return-1==e.indexOf("E")?e:e.replace(n,"$1E").replace(r,"$10$2")}((i>=-4&&i<=-1?e.toPrecision(10+i):Math.abs(i)<=9?function(e){var n=e<0?12:11,r=t(e.toFixed(12));return r.length<=n?r:(r=e.toPrecision(10)).length<=n?r:e.toExponential(5)}(e):10===i?e.toFixed(10).substr(0,12):function(e){var n=t(e.toFixed(11));return n.length>(e<0?12:11)||"0"===n||"-0"===n?e.toPrecision(6):n}(e)).toUpperCase()))}}();function x(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):w(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return L(14,_(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function C(e,t,n,i){var o,a="",s=0,l=0,h=n.y,d=0;switch(e){case 98:h=n.y+543;case 121:switch(t.length){case 1:case 2:o=h%100,d=2;break;default:o=h%1e4,d=4}break;case 109:switch(t.length){case 1:case 2:o=n.m,d=t.length;break;case 3:return u[n.m-1][1];case 5:return u[n.m-1][0];default:return u[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:o=n.d,d=t.length;break;case 3:return c[n.q][0];default:return c[n.q][1]}break;case 104:switch(t.length){case 1:case 2:o=1+(n.H+11)%12,d=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:o=n.H,d=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:o=n.M,d=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(l=i>=2?3===i?1e3:100:1===i?10:1,(s=Math.round(l*(n.S+n.u)))>=60*l&&(s=0),"s"===t?0===s?"0":""+s/l:(a=r(s,2+i),"ss"===t?a.substr(0,2):"."+a.substr(2,t.length-1))):r(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":o=24*n.D+n.H;break;case"[m]":case"[mm]":o=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":o=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}d=3===t.length?1:2;break;case 101:o=h,d=1}return d>0?r(o,d):""}function S(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}e._general_num=w,e._general=x;var B=function(){var e=/%/g;var a=/# (\?+)( ?)\/( ?)(\d+)/;var l=/^#*0*\.([0#]+)/,c=/\).*[0#]/,u=/\(###\) ###\\?-####/;function h(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function d(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function f(e,t){var n=e-Math.floor(e),r=Math.pow(10,t);return t<(""+Math.round(n*r)).length?0:Math.round(n*r)}function p(A,v,m){if(40===A.charCodeAt(0)&&!v.match(c)){var y=v.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return m>=0?p("n",y,m):"("+p("n",y,-m)+")"}if(44===v.charCodeAt(v.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return B(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(A,v,m);if(-1!==v.indexOf("%"))return function(t,r,i){var o=r.replace(e,""),a=r.length-o.length;return B(t,o,i*Math.pow(10,2*a))+n("%",a)}(A,v,m);if(-1!==v.indexOf("E"))return function e(t,n){var r,i=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var o=t.indexOf(".");-1===o&&(o=t.indexOf("E"));var a=Math.floor(Math.log(n)*Math.LOG10E)%o;if(a<0&&(a+=o),-1===(r=(n/Math.pow(10,a)).toPrecision(i+1+(o+a)%o)).indexOf("e")){var s=Math.floor(Math.log(n)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+a):r+="E+"+(s-a);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,o)+"."+r.substr(2+o)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(o+a)%o)+"."+r.substr(a)+"E"})}else r=n.toExponential(i);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(v,m);if(36===v.charCodeAt(0))return"$"+p(A,v.substr(" "==v.charAt(1)?2:1),m);var b,_,w,x,C=Math.abs(m),k=m<0?"-":"";if(v.match(/^00+$/))return k+s(C,v.length);if(v.match(/^[#?]+$/))return"0"===(b=s(m,0))&&(b=""),b.length>v.length?b:h(v.substr(0,v.length-b.length))+b;if(_=v.match(a))return function(e,t,o){var a=parseInt(e[4],10),s=Math.round(t*a),l=Math.floor(s/a),c=s-l*a,u=a;return o+(0===l?"":""+l)+" "+(0===c?n(" ",e[1].length+1+e[4].length):i(c,e[1].length)+e[2]+"/"+e[3]+r(u,e[4].length))}(_,C,k);if(v.match(/^#+0+$/))return k+s(C,v.length-v.indexOf("0"));if(_=v.match(l))return b=d(m,_[1].length).replace(/^([^\.]+)$/,"$1."+h(_[1])).replace(/\.$/,"."+h(_[1])).replace(/\.(\d*)$/,function(e,t){return"."+t+n("0",h(_[1]).length-t.length)}),-1!==v.indexOf("0.")?b:b.replace(/^0\./,".");if(v=v.replace(/^#+([0.])/,"$1"),_=v.match(/^(0*)\.(#*)$/))return k+d(C,_[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,_[1].length?"0.":".");if(_=v.match(/^#{1,3},##0(\.?)$/))return k+S(s(C,0));if(_=v.match(/^#,##0\.([#0]*0)$/))return m<0?"-"+p(A,v,-m):S(""+(Math.floor(m)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(m,_[1].length)))+"."+r(f(m,_[1].length),_[1].length);if(_=v.match(/^#,#*,#0/))return p(A,v.replace(/^#,#*,/,""),m);if(_=v.match(/^([0#]+)(\\?-([0#]+))+$/))return b=t(p(A,v.replace(/[\\-]/g,""),m)),w=0,t(t(v.replace(/\\/g,"")).replace(/[0#]/g,function(e){return w<b.length?b.charAt(w++):"0"===e?"0":""}));if(v.match(u))return"("+(b=p(A,"##########",m)).substr(0,3)+") "+b.substr(3,3)+"-"+b.substr(6);var T="";if(_=v.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return w=Math.min(_[4].length,7),x=g(C,Math.pow(10,w)-1,!1),b=""+k," "==(T=B("n",_[1],x[1])).charAt(T.length-1)&&(T=T.substr(0,T.length-1)+"0"),b+=T+_[2]+"/"+_[3],(T=o(x[2],w)).length<_[4].length&&(T=h(_[4].substr(_[4].length-T.length))+T),b+=T;if(_=v.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return w=Math.min(Math.max(_[1].length,_[4].length),7),k+((x=g(C,Math.pow(10,w)-1,!0))[0]||(x[1]?"":"0"))+" "+(x[1]?i(x[1],w)+_[2]+"/"+_[3]+o(x[2],w):n(" ",2*w+1+_[2].length+_[3].length));if(_=v.match(/^[#0?]+$/))return b=s(m,0),v.length<=b.length?b:h(v.substr(0,v.length-b.length))+b;if(_=v.match(/^([#0?]+)\.([#0]+)$/)){b=""+m.toFixed(Math.min(_[2].length,10)).replace(/([^0])0+$/,"$1"),w=b.indexOf(".");var E=v.indexOf(".")-w,M=v.length-b.length-E;return h(v.substr(0,E)+b+v.substr(v.length-M))}if(_=v.match(/^00,000\.([#0]*0)$/))return w=f(m,_[1].length),m<0?"-"+p(A,v,-m):S(function(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(m)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e})+"."+r(w,_[1].length);switch(v){case"###,##0.00":return p(A,"#,##0.00",m);case"###,###":case"##,###":case"#,###":var D=S(s(C,0));return"0"!==D?k+D:"";case"###,###.00":return p(A,"###,##0.00",m).replace(/^0\./,".");case"#,###.00":return p(A,"#,##0.00",m).replace(/^0\./,".")}throw new Error("unsupported format |"+v+"|")}function A(s,d,f){if(40===s.charCodeAt(0)&&!d.match(c)){var p=d.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return f>=0?A("n",p,f):"("+A("n",p,-f)+")"}if(44===d.charCodeAt(d.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return B(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(s,d,f);if(-1!==d.indexOf("%"))return function(t,r,i){var o=r.replace(e,""),a=r.length-o.length;return B(t,o,i*Math.pow(10,2*a))+n("%",a)}(s,d,f);if(-1!==d.indexOf("E"))return function e(t,n){var r,i=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var o=t.indexOf(".");-1===o&&(o=t.indexOf("E"));var a=Math.floor(Math.log(n)*Math.LOG10E)%o;if(a<0&&(a+=o),!(r=(n/Math.pow(10,a)).toPrecision(i+1+(o+a)%o)).match(/[Ee]/)){var s=Math.floor(Math.log(n)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+a):r+="E+"+(s-a),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(o+a)%o)+"."+r.substr(a)+"E"})}else r=n.toExponential(i);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(d,f);if(36===d.charCodeAt(0))return"$"+A(s,d.substr(" "==d.charAt(1)?2:1),f);var v,m,y,b,_=Math.abs(f),w=f<0?"-":"";if(d.match(/^00+$/))return w+r(_,d.length);if(d.match(/^[#?]+$/))return v=""+f,0===f&&(v=""),v.length>d.length?v:h(d.substr(0,d.length-v.length))+v;if(m=d.match(a))return function(e,t,r){return r+(0===t?"":""+t)+n(" ",e[1].length+2+e[4].length)}(m,_,w);if(d.match(/^#+0+$/))return w+r(_,d.length-d.indexOf("0"));if(m=d.match(l))return v=(v=(""+f).replace(/^([^\.]+)$/,"$1."+h(m[1])).replace(/\.$/,"."+h(m[1]))).replace(/\.(\d*)$/,function(e,t){return"."+t+n("0",h(m[1]).length-t.length)}),-1!==d.indexOf("0.")?v:v.replace(/^0\./,".");if(d=d.replace(/^#+([0.])/,"$1"),m=d.match(/^(0*)\.(#*)$/))return w+(""+_).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,m[1].length?"0.":".");if(m=d.match(/^#{1,3},##0(\.?)$/))return w+S(""+_);if(m=d.match(/^#,##0\.([#0]*0)$/))return f<0?"-"+A(s,d,-f):S(""+f)+"."+n("0",m[1].length);if(m=d.match(/^#,#*,#0/))return A(s,d.replace(/^#,#*,/,""),f);if(m=d.match(/^([0#]+)(\\?-([0#]+))+$/))return v=t(A(s,d.replace(/[\\-]/g,""),f)),y=0,t(t(d.replace(/\\/g,"")).replace(/[0#]/g,function(e){return y<v.length?v.charAt(y++):"0"===e?"0":""}));if(d.match(u))return"("+(v=A(s,"##########",f)).substr(0,3)+") "+v.substr(3,3)+"-"+v.substr(6);var x="";if(m=d.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return y=Math.min(m[4].length,7),b=g(_,Math.pow(10,y)-1,!1),v=""+w," "==(x=B("n",m[1],b[1])).charAt(x.length-1)&&(x=x.substr(0,x.length-1)+"0"),v+=x+m[2]+"/"+m[3],(x=o(b[2],y)).length<m[4].length&&(x=h(m[4].substr(m[4].length-x.length))+x),v+=x;if(m=d.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return y=Math.min(Math.max(m[1].length,m[4].length),7),w+((b=g(_,Math.pow(10,y)-1,!0))[0]||(b[1]?"":"0"))+" "+(b[1]?i(b[1],y)+m[2]+"/"+m[3]+o(b[2],y):n(" ",2*y+1+m[2].length+m[3].length));if(m=d.match(/^[#0?]+$/))return v=""+f,d.length<=v.length?v:h(d.substr(0,d.length-v.length))+v;if(m=d.match(/^([#0]+)\.([#0]+)$/)){v=""+f.toFixed(Math.min(m[2].length,10)).replace(/([^0])0+$/,"$1"),y=v.indexOf(".");var C=d.indexOf(".")-y,k=d.length-v.length-C;return h(d.substr(0,C)+v+d.substr(d.length-k))}if(m=d.match(/^00,000\.([#0]*0)$/))return f<0?"-"+A(s,d,-f):S(""+f).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e})+"."+r(0,m[1].length);switch(d){case"###,###":case"##,###":case"#,###":var T=S(""+_);return"0"!==T?w+T:"";default:if(d.match(/\.[0#?]*$/))return A(s,d.slice(0,d.lastIndexOf(".")),f)+h(d.slice(d.lastIndexOf(".")))}throw new Error("unsupported format |"+d+"|")}return function(e,t,n){return(0|n)===n?A(e,t,n):p(e,t,n)}}();function k(e){for(var t=[],n=!1,r=0,i=0;r<e.length;++r)switch(e.charCodeAt(r)){case 34:n=!n;break;case 95:case 42:case 92:++r;break;case 59:t[t.length]=e.substr(i,r-i),i=r+1}if(t[t.length]=e.substr(i),!0===n)throw new Error("Format |"+e+"| unterminated string ");return t}e._split=k;var T=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function E(e){for(var t=0,n="",r="";t<e.length;)switch(n=e.charAt(t)){case"G":l(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(r=n;"]"!==e.charAt(t++)&&t<e.length;)r+=e.charAt(t);if(r.match(T))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(n=e.charAt(++t))>-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":default:++t}return!1}function M(e,t,n,r){for(var i,o,a,s=[],c="",u=0,h="",d="t",f="H";u<e.length;)switch(h=e.charAt(u)){case"G":if(!l(e,u))throw new Error("unrecognized character "+h+" in "+e);s[s.length]={t:"G",v:"General"},u+=7;break;case'"':for(c="";34!==(a=e.charCodeAt(++u))&&u<e.length;)c+=String.fromCharCode(a);s[s.length]={t:"t",v:c},++u;break;case"\\":var p=e.charAt(++u),A="("===p||")"===p?p:"t";s[s.length]={t:A,v:p},++u;break;case"_":s[s.length]={t:"t",v:" "},u+=2;break;case"@":s[s.length]={t:"T",v:t},++u;break;case"B":case"b":if("1"===e.charAt(u+1)||"2"===e.charAt(u+1)){if(null==i&&null==(i=v(t,n,"2"===e.charAt(u+1))))return"";s[s.length]={t:"X",v:e.substr(u,2)},d=h,u+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":h=h.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==i&&null==(i=v(t,n)))return"";for(c=h;++u<e.length&&e.charAt(u).toLowerCase()===h;)c+=h;"m"===h&&"h"===d.toLowerCase()&&(h="M"),"h"===h&&(h=f),s[s.length]={t:h,v:c},d=h;break;case"A":case"a":case"上":var g={t:h,v:h};if(null==i&&(i=v(t,n)),"A/P"===e.substr(u,3).toUpperCase()?(null!=i&&(g.v=i.H>=12?"P":"A"),g.t="T",f="h",u+=3):"AM/PM"===e.substr(u,5).toUpperCase()?(null!=i&&(g.v=i.H>=12?"PM":"AM"),g.t="T",u+=5,f="h"):"上午/下午"===e.substr(u,5).toUpperCase()?(null!=i&&(g.v=i.H>=12?"下午":"上午"),g.t="T",u+=5,f="h"):(g.t="t",++u),null==i&&"T"===g.t)return"";s[s.length]=g,d=h;break;case"[":for(c=h;"]"!==e.charAt(u++)&&u<e.length;)c+=e.charAt(u);if("]"!==c.slice(-1))throw'unterminated "[" block: |'+c+"|";if(c.match(T)){if(null==i&&null==(i=v(t,n)))return"";s[s.length]={t:"Z",v:c.toLowerCase()},d=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",E(e)||(s[s.length]={t:"t",v:c}));break;case".":if(null!=i){for(c=h;++u<e.length&&"0"===(h=e.charAt(u));)c+=h;s[s.length]={t:"s",v:c};break}case"0":case"#":for(c=h;++u<e.length&&"0#?.,E+-%".indexOf(h=e.charAt(u))>-1;)c+=h;s[s.length]={t:"n",v:c};break;case"?":for(c=h;e.charAt(++u)===h;)c+=h;s[s.length]={t:h,v:c},d=h;break;case"*":++u," "!=e.charAt(u)&&"*"!=e.charAt(u)||++u;break;case"(":case")":s[s.length]={t:1===r?"t":h,v:h},++u;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=h;u<e.length&&"0123456789".indexOf(e.charAt(++u))>-1;)c+=e.charAt(u);s[s.length]={t:"D",v:c};break;case" ":s[s.length]={t:h,v:h},++u;break;case"$":s[s.length]={t:"t",v:"$"},++u;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(h))throw new Error("unrecognized character "+h+" in "+e);s[s.length]={t:"t",v:h},++u}var m,y=0,b=0;for(u=s.length-1,d="t";u>=0;--u)switch(s[u].t){case"h":case"H":s[u].t=f,d="h",y<1&&(y=1);break;case"s":(m=s[u].v.match(/\.0+$/))&&(b=Math.max(b,m[0].length-1)),y<3&&(y=3);case"d":case"y":case"M":case"e":d=s[u].t;break;case"m":"s"===d&&(s[u].t="M",y<2&&(y=2));break;case"X":break;case"Z":y<1&&s[u].v.match(/[Hh]/)&&(y=1),y<2&&s[u].v.match(/[Mm]/)&&(y=2),y<3&&s[u].v.match(/[Ss]/)&&(y=3)}switch(y){case 0:break;case 1:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M),i.M>=60&&(i.M=0,++i.H);break;case 2:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M)}var _,w="";for(u=0;u<s.length;++u)switch(s[u].t){case"t":case"T":case" ":case"D":break;case"X":s[u].v="",s[u].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[u].v=C(s[u].t.charCodeAt(0),s[u].v,i,b),s[u].t="t";break;case"n":case"?":for(_=u+1;null!=s[_]&&("?"===(h=s[_].t)||"D"===h||(" "===h||"t"===h)&&null!=s[_+1]&&("?"===s[_+1].t||"t"===s[_+1].t&&"/"===s[_+1].v)||"("===s[u].t&&(" "===h||"n"===h||")"===h)||"t"===h&&("/"===s[_].v||" "===s[_].v&&null!=s[_+1]&&"?"==s[_+1].t));)s[u].v+=s[_].v,s[_]={v:"",t:";"},++_;w+=s[u].v,u=_-1;break;case"G":s[u].t="t",s[u].v=x(t,n)}var S,k,M="";if(w.length>0){40==w.charCodeAt(0)?(S=t<0&&45===w.charCodeAt(0)?-t:t,k=B("n",w,S)):(k=B("n",w,S=t<0&&r>1?-t:t),S<0&&s[0]&&"t"==s[0].t&&(k=k.substr(1),s[0].v="-"+s[0].v)),_=k.length-1;var D=s.length;for(u=0;u<s.length;++u)if(null!=s[u]&&"t"!=s[u].t&&s[u].v.indexOf(".")>-1){D=u;break}var O=s.length;if(D===s.length&&-1===k.indexOf("E")){for(u=s.length-1;u>=0;--u)null!=s[u]&&-1!=="n?".indexOf(s[u].t)&&(_>=s[u].v.length-1?(_-=s[u].v.length,s[u].v=k.substr(_+1,s[u].v.length)):_<0?s[u].v="":(s[u].v=k.substr(0,_+1),_=-1),s[u].t="t",O=u);_>=0&&O<s.length&&(s[O].v=k.substr(0,_+1)+s[O].v)}else if(D!==s.length&&-1===k.indexOf("E")){for(_=k.indexOf(".")-1,u=D;u>=0;--u)if(null!=s[u]&&-1!=="n?".indexOf(s[u].t)){for(o=s[u].v.indexOf(".")>-1&&u===D?s[u].v.indexOf(".")-1:s[u].v.length-1,M=s[u].v.substr(o+1);o>=0;--o)_>=0&&("0"===s[u].v.charAt(o)||"#"===s[u].v.charAt(o))&&(M=k.charAt(_--)+M);s[u].v=M,s[u].t="t",O=u}for(_>=0&&O<s.length&&(s[O].v=k.substr(0,_+1)+s[O].v),_=k.indexOf(".")+1,u=D;u<s.length;++u)if(null!=s[u]&&(-1!=="n?(".indexOf(s[u].t)||u===D)){for(o=s[u].v.indexOf(".")>-1&&u===D?s[u].v.indexOf(".")+1:0,M=s[u].v.substr(0,o);o<s[u].v.length;++o)_<k.length&&(M+=k.charAt(_++));s[u].v=M,s[u].t="t",O=u}}}for(u=0;u<s.length;++u)null!=s[u]&&"n?".indexOf(s[u].t)>-1&&(S=r>1&&t<0&&u>0&&"-"===s[u-1].v?-t:t,s[u].v=B(s[u].t,s[u].v,S),s[u].t="t");var I="";for(u=0;u!==s.length;++u)null!=s[u]&&(I+=s[u].v);return I}e.is_date=E,e._eval=M;var D=/\[[=<>]/,O=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function I(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e<n)return!0;break;case"<>":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function L(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":null==(r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:d)[e])&&(r=n.table&&n.table[f[e]]||d[f[e]]),null==r&&(r=A[e]||"General")}if(l(r,0))return x(t,n);t instanceof Date&&(t=_(t,n.date1904));var i=function(e,t){var n=k(e),r=n.length,i=n[r-1].indexOf("@");if(r<4&&i>-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||i>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=i>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var o=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,o];if(null!=n[0].match(D)||null!=n[1].match(D)){var a=n[0].match(O),s=n[1].match(O);return I(t,a)?[r,n[0]]:I(t,s)?[r,n[1]]:[r,n[null!=a&&null!=s?2:1]]}return[r,o]}(r,t);if(l(i[1]))return x(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return M(i[1],t,n,i[0])}function P(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(void 0!=d[n]){if(d[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return d[t]=e,t}e.load=P,e._table=d,e.get_table=function(){return d},e.load_table=function(e){for(var t=0;392!=t;++t)void 0!==e[t]&&P(e[t],t)},e.init_table=h,e.format=L};L(I);var P={"General Number":"General","General Date":I._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":I._table[15],"Short Date":I._table[14],"Long Time":I._table[19],"Medium Time":I._table[18],"Short Time":I._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:I._table[2],Standard:I._table[4],Percent:I._table[10],Scientific:I._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},F={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},R=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var N;!function(e){e.version="1.2.0";var t=function(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}();e.table=t,e.bstr=function(e,n){for(var r=-1^n,i=e.length-1,o=0;o<i;)r=(r=r>>>8^t[255&(r^e.charCodeAt(o++))])>>>8^t[255&(r^e.charCodeAt(o++))];return o===i&&(r=r>>>8^t[255&(r^e.charCodeAt(o))]),-1^r},e.buf=function(e,n){if(e.length>1e4)return function(e,n){for(var r=-1^n,i=e.length-7,o=0;o<i;)r=(r=(r=(r=(r=(r=(r=(r=r>>>8^t[255&(r^e[o++])])>>>8^t[255&(r^e[o++])])>>>8^t[255&(r^e[o++])])>>>8^t[255&(r^e[o++])])>>>8^t[255&(r^e[o++])])>>>8^t[255&(r^e[o++])])>>>8^t[255&(r^e[o++])])>>>8^t[255&(r^e[o++])];for(;o<i+7;)r=r>>>8^t[255&(r^e[o++])];return-1^r}(e,n);for(var r=-1^n,i=e.length-3,o=0;o<i;)r=(r=(r=(r=r>>>8^t[255&(r^e[o++])])>>>8^t[255&(r^e[o++])])>>>8^t[255&(r^e[o++])])>>>8^t[255&(r^e[o++])];for(;o<i+3;)r=r>>>8^t[255&(r^e[o++])];return-1^r},e.str=function(e,n){for(var r,i,o=-1^n,a=0,s=e.length;a<s;)(r=e.charCodeAt(a++))<128?o=o>>>8^t[255&(o^r)]:r<2048?o=(o=o>>>8^t[255&(o^(192|r>>6&31))])>>>8^t[255&(o^(128|63&r))]:r>=55296&&r<57344?(r=64+(1023&r),i=1023&e.charCodeAt(a++),o=(o=(o=(o=o>>>8^t[255&(o^(240|r>>8&7))])>>>8^t[255&(o^(128|r>>2&63))])>>>8^t[255&(o^(128|i>>6&15|(3&r)<<4))])>>>8^t[255&(o^(128|63&i))]):o=(o=(o=o>>>8^t[255&(o^(224|r>>12&15))])>>>8^t[255&(o^(128|r>>6&63))])>>>8^t[255&(o^(128|63&r))];return-1^o}}(N={});var H,j=function(){var e,t={};function r(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:r(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function i(e){if("/"==e.charAt(e.length-1))return i(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function o(e,t){"string"==typeof t&&(t=new Date(t));var n=t.getHours();n=(n=n<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e.write_shift(2,n);var r=t.getFullYear()-1980;r=(r=r<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,r)}function a(e){Ut(e,0);for(var t={},n=0;e.l<=e.length-4;){var r=e.read_shift(2),i=e.read_shift(2),o=e.l+i,a={};switch(r){case 21589:1&(n=e.read_shift(1))&&(a.mtime=e.read_shift(4)),i>5&&(2&n&&(a.atime=e.read_shift(4)),4&n&&(a.ctime=e.read_shift(4))),a.mtime&&(a.mt=new Date(1e3*a.mtime))}e.l=o,t[r]=a}return t}function s(){return e||(e=n(0))}function l(e,t){if(80==e[0]&&75==e[1])return le(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var n,r,i,o,a,s,l=512,d=[],f=e.slice(0,512);Ut(f,0);var p=function(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(m,"Header Signature: "),e.l+=16;var t=e.read_shift(2,"u");return[e.read_shift(2,"u"),t]}(f);switch(n=p[0]){case 3:l=512;break;case 4:l=4096;break;case 0:if(0==p[1])return le(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+n)}512!==l&&Ut(f=e.slice(0,l),28);var A=e.slice(0,l);!function(e,t){var n=9;switch(e.l+=2,n=e.read_shift(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+n);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+n);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+n)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}(f,n);var g=f.read_shift(4,"i");if(3===n&&0!==g)throw new Error("# Directory Sectors: Expected 0 saw "+g);f.l+=4,o=f.read_shift(4,"i"),f.l+=4,f.chk("00100000","Mini Stream Cutoff Size: "),a=f.read_shift(4,"i"),r=f.read_shift(4,"i"),s=f.read_shift(4,"i"),i=f.read_shift(4,"i");for(var y=-1,b=0;b<109&&!((y=f.read_shift(4,"i"))<0);++b)d[b]=y;var _=function(e,t){for(var n=Math.ceil(e.length/t)-1,r=[],i=1;i<n;++i)r[i-1]=e.slice(i*t,(i+1)*t);return r[n-1]=e.slice(n*t),r}(e,l);!function e(t,n,r,i,o){var a=v;if(t===v){if(0!==n)throw new Error("DIFAT chain shorter than expected")}else if(-1!==t){var s=r[t],l=(i>>>2)-1;if(!s)return;for(var c=0;c<l&&(a=It(s,4*c))!==v;++c)o.push(a);e(It(s,i-4),n-1,r,i,o)}}(s,i,_,l,d);var w=function(e,t,n,r){var i=e.length,o=[],a=[],s=[],l=[],c=r-1,u=0,h=0,d=0,f=0;for(u=0;u<i;++u)if(s=[],(d=u+t)>=i&&(d-=i),!a[d]){l=[];var p=[];for(h=d;h>=0;){p[h]=!0,a[h]=!0,s[s.length]=h,l.push(e[h]);var A=n[Math.floor(4*h/r)];if(r<4+(f=4*h&c))throw new Error("FAT boundary crossed: "+h+" 4 "+r);if(!e[A])break;if(h=It(e[A],f),p[h])break}o[d]={nodes:s,data:ut([l])}}return o}(_,o,d,l);w[o].name="!Directory",r>0&&a!==v&&(w[a].name="!MiniFAT"),w[d[0]].name="!FAT",w.fat_addrs=d,w.ssz=l;var x=[],C=[],S=[];!function(e,t,n,r,i,o,a,s){for(var l,d=0,f=r.length?2:0,p=t[e].data,A=0,g=0;A<p.length;A+=128){var m=p.slice(A,A+128);Ut(m,64),g=m.read_shift(2),l=dt(m,0,g-f),r.push(l);var y={name:l,type:m.read_shift(1),color:m.read_shift(1),L:m.read_shift(4,"i"),R:m.read_shift(4,"i"),C:m.read_shift(4,"i"),clsid:m.read_shift(16),state:m.read_shift(4,"i"),start:0,size:0},b=m.read_shift(2)+m.read_shift(2)+m.read_shift(2)+m.read_shift(2);0!==b&&(y.ct=h(m,m.l-8));var _=m.read_shift(2)+m.read_shift(2)+m.read_shift(2)+m.read_shift(2);0!==_&&(y.mt=h(m,m.l-8)),y.start=m.read_shift(4,"i"),y.size=m.read_shift(4,"i"),y.size<0&&y.start<0&&(y.size=y.type=0,y.start=v,y.name=""),5===y.type?(d=y.start,i>0&&d!==v&&(t[d].name="!StreamData")):y.size>=4096?(y.storage="fat",void 0===t[y.start]&&(t[y.start]=u(n,y.start,t.fat_addrs,t.ssz)),t[y.start].name=y.name,y.content=t[y.start].data.slice(0,y.size)):(y.storage="minifat",y.size<0?y.size=0:d!==v&&y.start!==v&&t[d]&&(y.content=c(y,t[d].data,(t[s]||{}).data))),y.content&&Ut(y.content,0),o[l]=y,a.push(y)}}(o,w,_,x,r,{},C,a),function(e,t,n){for(var r=0,i=0,o=0,a=0,s=0,l=n.length,c=[],u=[];r<l;++r)c[r]=u[r]=r,t[r]=n[r];for(;s<u.length;++s)r=u[s],i=e[r].L,o=e[r].R,a=e[r].C,c[r]===r&&(-1!==i&&c[i]!==i&&(c[r]=c[i]),-1!==o&&c[o]!==o&&(c[r]=c[o])),-1!==a&&(c[a]=r),-1!==i&&r!=c[r]&&(c[i]=c[r],u.lastIndexOf(i)<s&&u.push(i)),-1!==o&&r!=c[r]&&(c[o]=c[r],u.lastIndexOf(o)<s&&u.push(o));for(r=1;r<l;++r)c[r]===r&&(-1!==o&&c[o]!==o?c[r]=c[o]:-1!==i&&c[i]!==i&&(c[r]=c[i]));for(r=1;r<l;++r)if(0!==e[r].type){if((s=r)!=c[s])do{s=c[s],t[r]=t[s]+"/"+t[r]}while(0!==s&&-1!==c[s]&&s!=c[s]);c[r]=-1}for(t[0]+="/",r=1;r<l;++r)2!==e[r].type&&(t[r]+="/")}(C,S,x),x.shift();var B={FileIndex:C,FullPaths:S};return t&&t.raw&&(B.raw={header:A,sectors:_}),B}function c(e,t,n){for(var r=e.start,i=e.size,o=[],a=r;n&&i>0&&a>=0;)o.push(t.slice(a*g,a*g+g)),i-=g,a=It(n,4*a);return 0===o.length?zt(0):M(o).slice(0,e.size)}function u(e,t,n,r,i){var o=[],a=[];i||(i=[]);var s=r-1,l=0,c=0;for(l=t;l>=0;){i[l]=!0,o[o.length]=l,a.push(e[l]);var u=n[Math.floor(4*l/r)];if(r<4+(c=4*l&s))throw new Error("FAT boundary crossed: "+l+" 4 "+r);if(!e[u])break;l=It(e[u],c)}return{nodes:o,data:ut([a])}}function h(e,t){return new Date(1e3*(Ot(e,t+4)/1e7*Math.pow(2,32)+Ot(e,t)/1e7-11644473600))}function d(e,t){var n=t||{},r=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=r+"/",e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),function(e){var t="Sh33tJ5";if(j.find(e,"/"+t))return;var n=zt(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),f(e)}(e)}function f(e,t){d(e);for(var n=!1,o=!1,a=e.FullPaths.length-1;a>=0;--a){var s=e.FileIndex[a];switch(s.type){case 0:o?n=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(s.R*s.L*s.C)&&(n=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(n=!0);break;default:n=!0}}if(n||t){var l=new Date(1987,1,19),c=0,u=[];for(a=0;a<e.FullPaths.length;++a)0!==e.FileIndex[a].type&&u.push([e.FullPaths[a],e.FileIndex[a]]);for(a=0;a<u.length;++a){var h=r(u[a][0]);for(o=!1,c=0;c<u.length;++c)u[c][0]===h&&(o=!0);o||u.push([h,{name:i(h).replace("/",""),type:1,clsid:w,ct:l,mt:l,content:null}])}for(u.sort(function(e,t){return function(e,t){for(var n=e.split("/"),r=t.split("/"),i=0,o=0,a=Math.min(n.length,r.length);i<a;++i){if(o=n[i].length-r[i].length)return o;if(n[i]!=r[i])return n[i]<r[i]?-1:1}return n.length-r.length}(e[0],t[0])}),e.FullPaths=[],e.FileIndex=[],a=0;a<u.length;++a)e.FullPaths[a]=u[a][0],e.FileIndex[a]=u[a][1];for(a=0;a<u.length;++a){var f=e.FileIndex[a],p=e.FullPaths[a];if(f.name=i(p).replace("/",""),f.L=f.R=f.C=-(f.color=1),f.size=f.content?f.content.length:0,f.start=0,f.clsid=f.clsid||w,0===a)f.C=u.length>1?1:-1,f.size=0,f.type=5;else if("/"==p.slice(-1)){for(c=a+1;c<u.length&&r(e.FullPaths[c])!=p;++c);for(f.C=c>=u.length?-1:c,c=a+1;c<u.length&&r(e.FullPaths[c])!=r(p);++c);f.R=c>=u.length?-1:c,f.type=1}else r(e.FullPaths[a+1]||"")==r(p)&&(f.R=a+1),f.type=2}}}function p(e,t){var n=t||{};if(f(e),"zip"==n.fileType)return function(e,t){var n=t||{},r=[],i=[],a=zt(1),s=n.compression?8:0,l=0;0;var c=0,u=0,h=0,d=0,f=e.FullPaths[0],p=f,g=e.FileIndex[0],v=[],m=0;for(c=1;c<e.FullPaths.length;++c)if(p=e.FullPaths[c].slice(f.length),(g=e.FileIndex[c]).size&&g.content&&"Sh33tJ5"!=p){var y=h,b=zt(p.length);for(u=0;u<p.length;++u)b.write_shift(1,127&p.charCodeAt(u));b=b.slice(0,b.l),v[d]=N.buf(g.content,0);var _=g.content;8==s&&(w=_,_=A?A.deflateRawSync(w):Z(w)),(a=zt(30)).write_shift(4,67324752),a.write_shift(2,20),a.write_shift(2,l),a.write_shift(2,s),g.mt?o(a,g.mt):a.write_shift(4,0),a.write_shift(-4,8&l?0:v[d]),a.write_shift(4,8&l?0:_.length),a.write_shift(4,8&l?0:g.content.length),a.write_shift(2,b.length),a.write_shift(2,0),h+=a.length,r.push(a),h+=b.length,r.push(b),h+=_.length,r.push(_),8&l&&((a=zt(12)).write_shift(-4,v[d]),a.write_shift(4,_.length),a.write_shift(4,g.content.length),h+=a.l,r.push(a)),(a=zt(46)).write_shift(4,33639248),a.write_shift(2,0),a.write_shift(2,20),a.write_shift(2,l),a.write_shift(2,s),a.write_shift(4,0),a.write_shift(-4,v[d]),a.write_shift(4,_.length),a.write_shift(4,g.content.length),a.write_shift(2,b.length),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(4,0),a.write_shift(4,y),m+=a.l,i.push(a),m+=b.length,i.push(b),++d}var w;return(a=zt(22)).write_shift(4,101010256),a.write_shift(2,0),a.write_shift(2,0),a.write_shift(2,d),a.write_shift(2,d),a.write_shift(4,m),a.write_shift(4,h),a.write_shift(2,0),M([M(r),M(i),a])}(e,n);var r=function(e){for(var t=0,n=0,r=0;r<e.FileIndex.length;++r){var i=e.FileIndex[r];if(i.content){var o=i.content.length;o>0&&(o<4096?t+=o+63>>6:n+=o+511>>9)}}for(var a=e.FullPaths.length+3>>2,s=t+127>>7,l=(t+7>>3)+n+a+s,c=l+127>>7,u=c<=109?0:Math.ceil((c-109)/127);l+c+u+127>>7>c;)u=++c<=109?0:Math.ceil((c-109)/127);var h=[1,u,c,s,a,n,t,0];return e.FileIndex[0].size=t<<6,h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3),h}(e),i=zt(r[7]<<9),a=0,s=0;for(a=0;a<8;++a)i.write_shift(1,y[a]);for(a=0;a<8;++a)i.write_shift(2,0);for(i.write_shift(2,62),i.write_shift(2,3),i.write_shift(2,65534),i.write_shift(2,9),i.write_shift(2,6),a=0;a<3;++a)i.write_shift(2,0);for(i.write_shift(4,0),i.write_shift(4,r[2]),i.write_shift(4,r[0]+r[1]+r[2]+r[3]-1),i.write_shift(4,0),i.write_shift(4,4096),i.write_shift(4,r[3]?r[0]+r[1]+r[2]-1:v),i.write_shift(4,r[3]),i.write_shift(-4,r[1]?r[0]-1:v),i.write_shift(4,r[1]),a=0;a<109;++a)i.write_shift(-4,a<r[2]?r[1]+a:-1);if(r[1])for(s=0;s<r[1];++s){for(;a<236+127*s;++a)i.write_shift(-4,a<r[2]?r[1]+a:-1);i.write_shift(-4,s===r[1]-1?v:s+1)}var l=function(e){for(s+=e;a<s-1;++a)i.write_shift(-4,a+1);e&&(++a,i.write_shift(-4,v))};for(s=a=0,s+=r[1];a<s;++a)i.write_shift(-4,x.DIFSECT);for(s+=r[2];a<s;++a)i.write_shift(-4,x.FATSECT);l(r[3]),l(r[4]);for(var c=0,u=0,h=e.FileIndex[0];c<e.FileIndex.length;++c)(h=e.FileIndex[c]).content&&((u=h.content.length)<4096||(h.start=s,l(u+511>>9)));for(l(r[6]+7>>3);511&i.l;)i.write_shift(-4,x.ENDOFCHAIN);for(s=a=0,c=0;c<e.FileIndex.length;++c)(h=e.FileIndex[c]).content&&(!(u=h.content.length)||u>=4096||(h.start=s,l(u+63>>6)));for(;511&i.l;)i.write_shift(-4,x.ENDOFCHAIN);for(a=0;a<r[4]<<2;++a){var d=e.FullPaths[a];if(d&&0!==d.length){h=e.FileIndex[a],0===a&&(h.start=h.size?h.start-1:v);var p=0===a&&n.root||h.name;if(u=2*(p.length+1),i.write_shift(64,p,"utf16le"),i.write_shift(2,u),i.write_shift(1,h.type),i.write_shift(1,h.color),i.write_shift(-4,h.L),i.write_shift(-4,h.R),i.write_shift(-4,h.C),h.clsid)i.write_shift(16,h.clsid,"hex");else for(c=0;c<4;++c)i.write_shift(4,0);i.write_shift(4,h.state||0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,0),i.write_shift(4,h.start),i.write_shift(4,h.size),i.write_shift(4,0)}else{for(c=0;c<17;++c)i.write_shift(4,0);for(c=0;c<3;++c)i.write_shift(4,-1);for(c=0;c<12;++c)i.write_shift(4,0)}}for(a=1;a<e.FileIndex.length;++a)if((h=e.FileIndex[a]).size>=4096){for(i.l=h.start+1<<9,c=0;c<h.size;++c)i.write_shift(1,h.content[c]);for(;511&c;++c)i.write_shift(1,0)}for(a=1;a<e.FileIndex.length;++a)if((h=e.FileIndex[a]).size>0&&h.size<4096){for(c=0;c<h.size;++c)i.write_shift(1,h.content[c]);for(;63&c;++c)i.write_shift(1,0)}for(;i.l<i.length;)i.write_shift(1,0);return i}t.version="1.1.4";var A,g=64,v=-2,m="d0cf11e0a1b11ae1",y=[208,207,17,224,161,177,26,225],w="00000000000000000000000000000000",x={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:v,FREESECT:-1,HEADER_SIGNATURE:m,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:w,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function k(e){for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}var T=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],E=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],I=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];for(var L,P,F="undefined"!=typeof Uint8Array,R=F?new Uint8Array(256):[],H=0;H<256;++H)R[H]=(void 0,255&((P=139536&((L=H)<<1|L<<11)|558144&(L<<5|L<<15))>>16|P>>8|P));function U(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function Q(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function z(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function Y(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function V(e,t,n){var r=7&t,i=t>>>3,o=(1<<n)-1,a=e[i]>>>r;return n<8-r?a&o:(a|=e[i+1]<<8-r,n<16-r?a&o:(a|=e[i+2]<<16-r,n<24-r?a&o:(a|=e[i+3]<<24-r)&o))}function G(e,t){var n=e.length,r=2*n>t?2*n:t+5,i=0;if(n>=t)return e;if(_){var o=S(r);if(e.copy)e.copy(o);else for(;i<e.length;++i)o[i]=e[i];return o}if(F){var a=new Uint8Array(r);if(a.set)a.set(e);else for(;i<e.length;++i)a[i]=e[i];return a}return e.length=r,e}function W(e){for(var t=new Array(e),n=0;n<e;++n)t[n]=0;return t}var X,Z=(X=function(e,t){for(var n=0;n<e.length;){var r=Math.min(65535,e.length-n),i=n+r==e.length;for(t.write_shift(1,+i),t.write_shift(2,r),t.write_shift(2,65535&~r);r-- >0;)t[t.l++]=e[n++]}return t.l},function(e){var t=zt(50+Math.floor(1.1*e.length)),n=X(e,t);return t.slice(0,n)});function $(e,t,n){var r=1,i=0,o=0,a=0,s=0,l=e.length,c=F?new Uint16Array(32):W(32);for(o=0;o<32;++o)c[o]=0;for(o=l;o<n;++o)e[o]=0;l=e.length;var u=F?new Uint16Array(l):W(l);for(o=0;o<l;++o)c[i=e[o]]++,r<i&&(r=i),u[o]=0;for(c[0]=0,o=1;o<=r;++o)c[o+16]=s=s+c[o-1]<<1;for(o=0;o<l;++o)0!=(s=e[o])&&(u[o]=c[s+16]++);var h,d,f,p=0;for(o=0;o<l;++o)if(0!=(p=e[o]))for(h=u[o],d=r,f=void 0,f=R[255&h],s=(d<=8?f>>>8-d:(f=f<<8|R[h>>8&255],d<=16?f>>>16-d:(f=f<<8|R[h>>16&255])>>>24-d))>>r-p,a=(1<<r+4-p)-1;a>=0;--a)t[s|a<<p]=15&p|o<<4;return r}var K=F?new Uint16Array(512):W(512),J=F?new Uint16Array(32):W(32);if(!F){for(var q=0;q<512;++q)K[q]=0;for(q=0;q<32;++q)J[q]=0}!function(){for(var e=[],t=0;t<32;t++)e.push(5);$(e,J,32);var n=[];for(t=0;t<=143;t++)n.push(8);for(;t<=255;t++)n.push(9);for(;t<=279;t++)n.push(7);for(;t<=287;t++)n.push(8);$(n,K,288)}();var ee=F?new Uint16Array(32768):W(32768),te=F?new Uint16Array(32768):W(32768),ne=F?new Uint16Array(128):W(128),re=1,ie=1;function oe(e,t){var n=z(e,t)+257,r=z(e,t+=5)+1,i=function(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}(e,t+=5)+4;t+=4;for(var o=0,a=F?new Uint8Array(19):W(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=1,c=F?new Uint8Array(8):W(8),u=F?new Uint8Array(8):W(8),h=a.length,d=0;d<i;++d)a[T[d]]=o=Q(e,t),l<o&&(l=o),c[o]++,t+=3;var f=0;for(c[0]=0,d=1;d<=l;++d)u[d]=f=f+c[d-1]<<1;for(d=0;d<h;++d)0!=(f=a[d])&&(s[d]=u[f]++);var p=0;for(d=0;d<h;++d)if(0!=(p=a[d])){f=R[s[d]]>>8-p;for(var A=(1<<7-p)-1;A>=0;--A)ne[f|A<<p]=7&p|d<<3}var g=[];for(l=1;g.length<n+r;)switch(t+=7&(f=ne[Y(e,t)]),f>>>=3){case 16:for(o=3+U(e,t),t+=2,f=g[g.length-1];o-- >0;)g.push(f);break;case 17:for(o=3+Q(e,t),t+=3;o-- >0;)g.push(0);break;case 18:for(o=11+Y(e,t),t+=7;o-- >0;)g.push(0);break;default:g.push(f),l<f&&(l=f)}var v=g.slice(0,n),m=g.slice(n);for(d=n;d<286;++d)v[d]=0;for(d=r;d<30;++d)m[d]=0;return re=$(v,ee,286),ie=$(m,te,30),t}function ae(e,t){var n=function(e,t){if(3==e[0]&&!(3&e[1]))return[C(t),2];for(var n=0,r=0,i=S(t||1<<18),o=0,a=i.length>>>0,s=0,l=0;0==(1&r);)if(r=Q(e,n),n+=3,r>>>1!=0)for(r>>>1==1?(s=9,l=5):(n=oe(e,n),s=re,l=ie),!t&&a<o+32767&&(a=(i=G(i,o+32767)).length);;){var c=V(e,n,s),u=r>>>1==1?K[c]:ee[c];if(n+=15&u,0==((u>>>=4)>>>8&255))i[o++]=u;else{if(256==u)break;var h=(u-=257)<8?0:u-4>>2;h>5&&(h=0);var d=o+E[u];h>0&&(d+=V(e,n,h),n+=h),c=V(e,n,l),n+=15&(u=r>>>1==1?J[c]:te[c]);var f=(u>>>=4)<4?0:u-2>>1,p=I[u];for(f>0&&(p+=V(e,n,f),n+=f),!t&&a<d&&(a=(i=G(i,d)).length);o<d;)i[o]=i[o-p],++o}}else{7&n&&(n+=8-(7&n));var A=e[n>>>3]|e[1+(n>>>3)]<<8;if(n+=32,!t&&a<o+A&&(a=(i=G(i,o+A)).length),"function"==typeof e.copy)e.copy(i,o,n>>>3,(n>>>3)+A),o+=A,n+=8*A;else for(;A-- >0;)i[o++]=e[n>>>3],n+=8}return[t?i:i.slice(0,o),n+7>>>3]}(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function se(e,t){if(!e)throw new Error(t);"undefined"!=typeof console&&console.error(t)}function le(e,t){var n=e;Ut(n,0);var r={FileIndex:[],FullPaths:[]};d(r,{root:t.root});for(var i=n.length-4;(80!=n[i]||75!=n[i+1]||5!=n[i+2]||6!=n[i+3])&&i>=0;)--i;n.l=i+4,n.l+=4;var o=n.read_shift(2);n.l+=6;var s=n.read_shift(4);for(n.l=s,i=0;i<o;++i){n.l+=20;var l=n.read_shift(4),c=n.read_shift(4),u=n.read_shift(2),h=n.read_shift(2),f=n.read_shift(2);n.l+=8;var p=n.read_shift(4),A=a(n.slice(n.l+u,n.l+u+h));n.l+=u+h+f;var g=n.l;n.l=p+4,ce(n,l,c,r,A),n.l=g}return r}function ce(e,t,n,r,i){e.l+=2;var o=e.read_shift(2),s=e.read_shift(2),l=function(e){var t=65535&e.read_shift(2),n=65535&e.read_shift(2),r=new Date,i=31&n,o=15&(n>>>=5);n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(o-1),r.setDate(i);var a=31&t,s=63&(t>>>=5);return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(a<<1),r}(e);if(8257&o)throw new Error("Unsupported ZIP encryption");for(var c=e.read_shift(4),u=e.read_shift(4),h=e.read_shift(4),d=e.read_shift(2),f=e.read_shift(2),p="",g=0;g<d;++g)p+=String.fromCharCode(e[e.l++]);if(f){var v=a(e.slice(e.l,e.l+f));(v[21589]||{}).mt&&(l=v[21589].mt),((i||{})[21589]||{}).mt&&(l=i[21589].mt)}e.l+=f;var m=e.slice(e.l,e.l+u);switch(s){case 8:m=function(e,t){if(!A)return ae(e,t);var n=new(0,A.InflateRaw),r=n._processChunk(e.slice(e.l),n._finishFlushFlag);return e.l+=n.bytesRead,r}(e,h);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+s)}var y=!1;8&o&&(134695760==(c=e.read_shift(4))&&(c=e.read_shift(4),y=!0),u=e.read_shift(4),h=e.read_shift(4)),u!=t&&se(y,"Bad compressed size: "+t+" != "+u),h!=n&&se(y,"Bad uncompressed size: "+n+" != "+h);var b=N.buf(m,0);c>>0!=b>>0&&se(y,"Bad CRC32 checksum: "+c+" != "+b),ue(r,p,m,{unsafe:!0,mt:l})}function ue(e,t,n,r){var o=r&&r.unsafe;o||d(e);var a=!o&&j.find(e,t);if(!a){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:("/"!=s.slice(-1)&&(s+="/"),s=(s+t).replace("//","/")),a={name:i(t),type:2},e.FileIndex.push(a),e.FullPaths.push(s),o||j.utils.cfb_gc(e)}return a.content=n,a.size=n?n.length:0,r&&(r.CLSID&&(a.clsid=r.CLSID),r.mt&&(a.mt=r.mt),r.ct&&(a.ct=r.ct)),a}return t.find=function(e,t){var n=e.FullPaths.map(function(e){return e.toUpperCase()}),r=n.map(function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]}),i=!1;47===t.charCodeAt(0)?(i=!0,t=n[0].slice(0,-1)+t):i=-1!==t.indexOf("/");var o=t.toUpperCase(),a=!0===i?n.indexOf(o):r.indexOf(o);if(-1!==a)return e.FileIndex[a];var s=!o.match(O);for(o=o.replace(D,""),s&&(o=o.replace(O,"!")),a=0;a<n.length;++a){if((s?n[a].replace(O,"!"):n[a]).replace(D,"")==o)return e.FileIndex[a];if((s?r[a].replace(O,"!"):r[a]).replace(D,"")==o)return e.FileIndex[a]}return null},t.read=function(t,n){switch(n&&n.type||"base64"){case"file":return function(t,n){return s(),l(e.readFileSync(t),n)}(t,n);case"base64":return l(B(b.decode(t)),n);case"binary":return l(B(t),n)}return l(t,n)},t.parse=l,t.write=function(t,n){var r=p(t,n);switch(n&&n.type){case"file":return s(),e.writeFileSync(n.filename,r),r;case"binary":return k(r);case"base64":return b.encode(k(r))}return r},t.writeFile=function(t,n,r){s();var i=p(t,r);e.writeFileSync(n,i)},t.utils={cfb_new:function(e){var t={};return d(t,e),t},cfb_add:ue,cfb_del:function(e,t){d(e);var n=j.find(e,t);if(n)for(var r=0;r<e.FileIndex.length;++r)if(e.FileIndex[r]==n)return e.FileIndex.splice(r,1),e.FullPaths.splice(r,1),!0;return!1},cfb_mov:function(e,t,n){d(e);var r=j.find(e,t);if(r)for(var o=0;o<e.FileIndex.length;++o)if(e.FileIndex[o]==r)return e.FileIndex[o].name=i(n),e.FullPaths[o]=n,!0;return!1},cfb_gc:function(e){f(e,!0)},ReadShift:Pt,CheckField:jt,prep_blob:Ut,bconcat:M,use_zlib:function(e){try{var t=new(0,e.InflateRaw);if(t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag),!t.bytesRead)throw new Error("zlib does not expose bytesRead");A=e}catch(e){console.error("cannot use native zlib: "+(e.message||e))}},_deflateRaw:Z,_inflateRaw:ae,consts:x},t}();try{H=n(0)}catch(e){}function U(e){return"string"==typeof e?k(e):Array.isArray(e)?function(e){if("undefined"==typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}(e):e}function Q(e,t,n){if(void 0!==H&&H.writeFileSync)return n?H.writeFileSync(e,t,n):H.writeFileSync(e,t);var r="utf8"==n?Qe(t):t;if("undefined"!=typeof IE_SaveFile)return IE_SaveFile(r,e);if("undefined"!=typeof Blob){var i=new Blob([U(r)],{type:"application/octet-stream"});if("undefined"!=typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(i,e);if("undefined"!=typeof saveAs)return saveAs(i,e);if("undefined"!=typeof URL&&"undefined"!=typeof document&&document.createElement&&URL.createObjectURL){var o=URL.createObjectURL(i);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout(function(){URL.revokeObjectURL(o)},6e4),chrome.downloads.download({url:o,filename:e,saveAs:!0});var a=document.createElement("a");if(null!=a.download)return a.download=e,a.href=o,document.body.appendChild(a),a.click(),document.body.removeChild(a),URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout(function(){URL.revokeObjectURL(o)},6e4),o}}if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var s=File(e);return s.open("w"),s.encoding="binary",Array.isArray(t)&&(t=T(t)),s.write(t),s.close(),t}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("cannot save file "+e)}function z(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;++r)Object.prototype.hasOwnProperty.call(e,t[r])&&n.push(t[r]);return n}function Y(e,t){for(var n=[],r=z(e),i=0;i!==r.length;++i)null==n[e[r[i]][t]]&&(n[e[r[i]][t]]=r[i]);return n}function V(e){for(var t=[],n=z(e),r=0;r!==n.length;++r)t[e[n[r]]]=n[r];return t}function G(e){for(var t=[],n=z(e),r=0;r!==n.length;++r)t[e[n[r]]]=parseInt(n[r],10);return t}var W=new Date(1899,11,30,0,0,0);function X(e,t){var n=e.getTime();return t&&(n-=1263168e5),(n-(W.getTime()+6e4*(e.getTimezoneOffset()-W.getTimezoneOffset())))/864e5}var Z=new Date,K=W.getTime()+6e4*(Z.getTimezoneOffset()-W.getTimezoneOffset()),J=Z.getTimezoneOffset();function q(e){var t=new Date;return t.setTime(24*e*60*60*1e3+K),t.getTimezoneOffset()!==J&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-J)),t}function ee(e){var t=0,n=0,r=!1,i=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!i)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var o=1;o!=i.length;++o)if(i[o]){switch(n=1,o>3&&(r=!0),i[o].slice(i[o].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[o].slice(i[o].length-1));case"D":n*=24;case"H":n*=60;case"M":if(!r)throw new Error("Unsupported ISO Duration Field: M");n*=60}t+=n*parseInt(i[o],10)}return t}var te=new Date("2017-02-19T19:06:09.000Z");isNaN(te.getFullYear())&&(te=new Date("2/19/17"));var ne=2017==te.getFullYear();function re(e,t){var n=new Date(e);if(ne)return t>0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==te.getFullYear()&&!isNaN(n.getFullYear())){var r=n.getFullYear();return e.indexOf(""+r)>-1?n:(n.setFullYear(n.getFullYear()+100),n)}var i=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+i[0],+i[1]-1,+i[2],+i[3]||0,+i[4]||0,+i[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function ie(e){for(var t="",n=0;n!=e.length;++n)t+=String.fromCharCode(e[n]);return t}function oe(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=oe(e[n]));return t}function ae(e,t){for(var n="";n.length<t;)n+=e;return n}function se(e){var t=Number(e);if(!isNaN(t))return t;if(!/\d/.test(e))return t;var n=1,r=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return n*=100,""});return isNaN(t=Number(r))?(r=r.replace(/[(](.*)[)]/,function(e,t){return n=-n,t}),isNaN(t=Number(r))?t:t/n):t/n}function le(e){var t=new Date(e),n=new Date(NaN),r=t.getYear(),i=t.getMonth(),o=t.getDate();return isNaN(o)?n:r<0||r>8099?n:(i>0||o>1)&&101!=r?t:e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)?t:e.match(/[^-0-9:,\/\\]/)?n:t}var ce,ue=5=="abacaba".split(/(:?b)/i).length;function he(e){return e?e.data?A(e.data):e.asNodeBuffer&&_?A(e.asNodeBuffer().toString("binary")):e.asBinary?A(e.asBinary()):e._data&&e._data.getContent?A(ie(Array.prototype.slice.call(e._data.getContent(),0))):e.content&&e.type?A(ie(e.content)):null:null}function de(e){return e&&".bin"===e.name.slice(-4)?function(e){if(!e)return null;if(e.data)return p(e.data);if(e.asNodeBuffer&&_)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?p(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}(e):he(e)}function fe(e,t){for(var n=e.FullPaths||z(e.files),r=t.toLowerCase(),i=r.replace(/\//g,"\\"),o=0;o<n.length;++o){var a=n[o].toLowerCase();if(r==a||i==a)return e.files[n[o]]}return null}function pe(e,t){var n=fe(e,t);if(null==n)throw new Error("Cannot find file "+t+" in zip");return n}function Ae(e,t,n){if(!n)return de(pe(e,t));if(!t)return null;try{return Ae(e,t)}catch(e){return null}}function ge(e,t,n){if(!n)return he(pe(e,t));if(!t)return null;try{return ge(e,t)}catch(e){return null}}function ve(e,t,n){e.FullPaths?j.utils.cfb_add(e,t,n):e.file(t,n)}function me(){return ce?new ce:j.utils.cfb_new()}function ye(e,t){if("/"==e.charAt(0))return e.slice(1);var n=t.split("/");"/"!=t.slice(-1)&&n.pop();for(var r=e.split("/");0!==r.length;){var i=r.shift();".."===i?n.pop():"."!==i&&n.push(i)}return n.join("/")}"undefined"!=typeof JSZipSync&&(ce=JSZipSync),void 0!==e&&e.exports&&void 0===ce&&(ce=n("uKg5"));var be='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',_e=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,we=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s?[\/\?]?>/gm;be.match(we)||(we=/<[^>]*>/g);var xe=/<\w*:/,Ce=/<(\/?)\w+:/;function Se(e,t,n){for(var r={},i=0,o=0;i!==e.length&&(32!==(o=e.charCodeAt(i))&&10!==o&&13!==o);++i);if(t||(r[0]=e.slice(0,i)),i===e.length)return r;var a=e.match(_e),s=0,l="",c=0,u="",h="",d=1;if(a)for(c=0;c!=a.length;++c){for(h=a[c],o=0;o!=h.length&&61!==h.charCodeAt(o);++o);for(u=h.slice(0,o).trim();32==h.charCodeAt(o+1);)++o;for(d=34==(i=h.charCodeAt(o+1))||39==i?1:0,l=h.slice(o+1+d,h.length-d),s=0;s!=u.length&&58!==u.charCodeAt(s);++s);if(s===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),r[u]=l,n||(r[u.toLowerCase()]=l);else{var f=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(r[f]&&"ext"==u.slice(s-3,s))continue;r[f]=l,n||(r[f.toLowerCase()]=l)}}return r}function Be(e){return e.replace(Ce,"<$1")}var ke,Te,Ee={""":'"',"'":"'",">":">","<":"<","&":"&"},Me=V(Ee),De=(ke=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,Te=/_x([\da-fA-F]{4})_/gi,function e(t){var n=t+"",r=n.indexOf("<![CDATA[");if(-1==r)return n.replace(ke,function(e,t){return Ee[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e}).replace(Te,function(e,t){return String.fromCharCode(parseInt(t,16))});var i=n.indexOf("]]>");return e(n.slice(0,r))+n.slice(r+9,i)+e(n.slice(i+3))}),Oe=/[&<>'"]/g,Ie=/[\u0000-\u0008\u000b-\u001f]/g;function Le(e){return(e+"").replace(Oe,function(e){return Me[e]}).replace(Ie,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Pe(e){return Le(e).replace(/ /g,"_x0020_")}var Fe=/[\u0000-\u001f]/g;function Re(e){return(e+"").replace(Oe,function(e){return Me[e]}).replace(/\n/g,"<br/>").replace(Fe,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}var Ne=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(n){return n.replace(e,t)}}(),He=function(e){return e.replace(/(\r\n|[\r\n])/g," ")};function je(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}var Ue=function(e){for(var t="",n=0,r=0,i=0,o=0,a=0,s=0;n<e.length;)(r=e.charCodeAt(n++))<128?t+=String.fromCharCode(r):(i=e.charCodeAt(n++),r>191&&r<224?(a=(31&r)<<6,a|=63&i,t+=String.fromCharCode(a)):(o=e.charCodeAt(n++),r<240?t+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&o):(s=((7&r)<<18|(63&i)<<12|(63&o)<<6|63&(a=e.charCodeAt(n++)))-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t},Qe=function(e){for(var t=[],n=0,r=0,i=0;n<e.length;)switch(r=e.charCodeAt(n++),!0){case r<128:t.push(String.fromCharCode(r));break;case r<2048:t.push(String.fromCharCode(192+(r>>6))),t.push(String.fromCharCode(128+(63&r)));break;case r>=55296&&r<57344:r-=55296,i=e.charCodeAt(n++)-56320+(r<<10),t.push(String.fromCharCode(240+(i>>18&7))),t.push(String.fromCharCode(144+(i>>12&63))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(63&i)));break;default:t.push(String.fromCharCode(224+(r>>12))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)))}return t.join("")};if(_){var ze=function(e){var t,n,r,o=i.alloc(2*e.length),a=1,s=0,l=0;for(n=0;n<e.length;n+=a)a=1,(r=e.charCodeAt(n))<128?t=r:r<224?(t=64*(31&r)+(63&e.charCodeAt(n+1)),a=2):r<240?(t=4096*(15&r)+64*(63&e.charCodeAt(n+1))+(63&e.charCodeAt(n+2)),a=3):(a=4,t=262144*(7&r)+4096*(63&e.charCodeAt(n+1))+64*(63&e.charCodeAt(n+2))+(63&e.charCodeAt(n+3)),l=55296+((t-=65536)>>>10&1023),t=56320+(1023&t)),0!==l&&(o[s++]=255&l,o[s++]=l>>>8,l=0),o[s++]=t%256,o[s++]=t>>>8;return o.slice(0,s).toString("ucs2")},Ye="foo bar bazâð£";Ue(Ye)==ze(Ye)&&(Ue=ze);var Ve=function(e){return w(e,"binary").toString("utf8")};Ue(Ye)==Ve(Ye)&&(Ue=Ve),Qe=function(e){return w(e,"utf8").toString("binary")}}var Ge,We,Xe,Ze=(Ge={},function(e,t){var n=e+"|"+(t||"");return Ge[n]?Ge[n]:Ge[n]=new RegExp("<(?:\\w+:)?"+e+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+e+">",t||"")}),$e=(We=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}),function(e){for(var t=e.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),n=0;n<We.length;++n)t=t.replace(We[n][0],We[n][1]);return t}),Ke=(Xe={},function(e){return void 0!==Xe[e]?Xe[e]:Xe[e]=new RegExp("<(?:vt:)?"+e+">([\\s\\S]*?)</(?:vt:)?"+e+">","g")}),Je=/<\/?(?:vt:)?variant>/g,qe=/<(?:vt:)([^>]*)>([\s\S]*)</;function et(e,t){var n=Se(e),r=e.match(Ke(n.baseType))||[],i=[];if(r.length!=n.size){if(t.WTF)throw new Error("unexpected vector length "+r.length+" != "+n.size);return i}return r.forEach(function(e){var t=e.replace(Je,"").match(qe);t&&i.push({v:Ue(t[2]),t:t[1]})}),i}var tt=/(^\s|\s$|\n)/;function nt(e,t){return"<"+e+(t.match(tt)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function rt(e){return z(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function it(e,t,n){return"<"+e+(null!=n?rt(n):"")+(null!=t?(t.match(tt)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function ot(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(e){if(t)throw e}return""}var at={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema",main:["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"]},st={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};var lt,ct,ut=function(e){for(var t=[],n=0;n<e[0].length;++n)if(e[0][n])for(var r=0,i=e[0][n].length;r<i;r+=10240)t.push.apply(t,e[0][n].slice(r,r+10240));return t},ht=ut,dt=function(e,t,n){for(var r=[],i=t;i<n;i+=2)r.push(String.fromCharCode(Mt(e,i)));return r.join("").replace(D,"")},ft=dt,pt=function(e,t,n){for(var r=[],i=t;i<t+n;++i)r.push(("0"+e[i].toString(16)).slice(-2));return r.join("")},At=pt,gt=function(e,t,n){for(var r=[],i=t;i<n;i++)r.push(String.fromCharCode(Et(e,i)));return r.join("")},vt=gt,mt=function(e,t){var n=Ot(e,t);return n>0?gt(e,t+4,t+4+n-1):""},yt=mt,bt=function(e,t){var n=Ot(e,t);return n>0?gt(e,t+4,t+4+n-1):""},_t=bt,wt=function(e,t){var n=2*Ot(e,t);return n>0?gt(e,t+4,t+4+n-1):""},xt=wt;lt=ct=function(e,t){var n=Ot(e,t);return n>0?dt(e,t+4,t+4+n):""};var Ct,St,Bt=function(e,t){var n=Ot(e,t);return n>0?gt(e,t+4,t+4+n):""},kt=Bt;Ct=St=function(e,t){return function(e,t){for(var n=1-2*(e[t+7]>>>7),r=((127&e[t+7])<<4)+(e[t+6]>>>4&15),i=15&e[t+6],o=5;o>=0;--o)i=256*i+e[t+o];return 2047==r?0==i?n*(1/0):NaN:(0==r?r=-1022:(r-=1023,i+=Math.pow(2,52)),n*Math.pow(2,r-52)*i)}(e,t)};var Tt=function(e){return Array.isArray(e)};_&&(dt=function(e,t,n){return i.isBuffer(e)?e.toString("utf16le",t,n).replace(D,""):ft(e,t,n)},pt=function(e,t,n){return i.isBuffer(e)?e.toString("hex",t,t+n):At(e,t,n)},mt=function(e,t){if(!i.isBuffer(e))return yt(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},bt=function(e,t){if(!i.isBuffer(e))return _t(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},wt=function(e,t){if(!i.isBuffer(e))return xt(e,t);var n=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n-1)},lt=function(e,t){if(!i.isBuffer(e))return ct(e,t);var n=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n)},Bt=function(e,t){if(!i.isBuffer(e))return kt(e,t);var n=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+n)},gt=function(e,t,n){return i.isBuffer(e)?e.toString("utf8",t,n):vt(e,t,n)},ut=function(e){return e[0].length>0&&i.isBuffer(e[0][0])?i.concat(e[0]):ht(e)},M=function(e){return i.isBuffer(e[0])?i.concat(e):[].concat.apply([],e)},Ct=function(e,t){return i.isBuffer(e)?e.readDoubleLE(t):St(e,t)},Tt=function(e){return i.isBuffer(e)||Array.isArray(e)}),"undefined"!=typeof cptable&&(dt=function(e,t,n){return cptable.utils.decode(1200,e.slice(t,n)).replace(D,"")},gt=function(e,t,n){return cptable.utils.decode(65001,e.slice(t,n))},mt=function(e,t){var n=Ot(e,t);return n>0?cptable.utils.decode(s,e.slice(t+4,t+4+n-1)):""},bt=function(e,t){var n=Ot(e,t);return n>0?cptable.utils.decode(a,e.slice(t+4,t+4+n-1)):""},wt=function(e,t){var n=2*Ot(e,t);return n>0?cptable.utils.decode(1200,e.slice(t+4,t+4+n-1)):""},lt=function(e,t){var n=Ot(e,t);return n>0?cptable.utils.decode(1200,e.slice(t+4,t+4+n)):""},Bt=function(e,t){var n=Ot(e,t);return n>0?cptable.utils.decode(65001,e.slice(t+4,t+4+n)):""});var Et=function(e,t){return e[t]},Mt=function(e,t){return 256*e[t+1]+e[t]},Dt=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},Ot=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},It=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Lt=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Pt(e,t){var n,r,o,s,l,c,u="",h=[];switch(t){case"dbcs":if(c=this.l,_&&i.isBuffer(this))u=this.slice(this.l,this.l+2*e).toString("utf16le");else for(l=0;l<e;++l)u+=String.fromCharCode(Mt(this,c)),c+=2;e*=2;break;case"utf8":u=gt(this,this.l,this.l+e);break;case"utf16le":e*=2,u=dt(this,this.l,this.l+e);break;case"wstr":if("undefined"==typeof cptable)return Pt.call(this,e,"dbcs");u=cptable.utils.decode(a,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":u=mt(this,this.l),e=4+Ot(this,this.l);break;case"lpstr-cp":u=bt(this,this.l),e=4+Ot(this,this.l);break;case"lpwstr":u=wt(this,this.l),e=4+2*Ot(this,this.l);break;case"lpp4":e=4+Ot(this,this.l),u=lt(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+Ot(this,this.l),u=Bt(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,u="";0!==(o=Et(this,this.l+e++));)h.push(g(o));u=h.join("");break;case"_wstr":for(e=0,u="";0!==(o=Mt(this,this.l+e));)h.push(g(o)),e+=2;e+=2,u=h.join("");break;case"dbcs-cont":for(u="",c=this.l,l=0;l<e;++l){if(this.lens&&-1!==this.lens.indexOf(c))return o=Et(this,c),this.l=c+1,s=Pt.call(this,e-l,o?"dbcs-cont":"sbcs-cont"),h.join("")+s;h.push(g(Mt(this,c))),c+=2}u=h.join(""),e*=2;break;case"cpstr":if("undefined"!=typeof cptable){u=cptable.utils.decode(a,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(u="",c=this.l,l=0;l!=e;++l){if(this.lens&&-1!==this.lens.indexOf(c))return o=Et(this,c),this.l=c+1,s=Pt.call(this,e-l,o?"dbcs-cont":"sbcs-cont"),h.join("")+s;h.push(g(Et(this,c))),c+=1}u=h.join("");break;default:switch(e){case 1:return n=Et(this,this.l),this.l++,n;case 2:return n=("i"===t?Dt:Mt)(this,this.l),this.l+=2,n;case 4:case-4:return"i"===t||0==(128&this[this.l+3])?(n=(e>0?It:Lt)(this,this.l),this.l+=4,n):(r=Ot(this,this.l),this.l+=4,r);case 8:case-8:if("f"===t)return r=8==e?Ct(this,this.l):Ct([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,r;e=8;case 16:u=pt(this,this.l,e)}}return this.l+=e,u}var Ft=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},Rt=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},Nt=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function Ht(e,t,n){var r=0,i=0;if("dbcs"===n){for(i=0;i!=t.length;++i)Nt(this,t.charCodeAt(i),this.l+2*i);r=2*t.length}else if("sbcs"===n){if("undefined"!=typeof cptable&&874==s)for(i=0;i!=t.length;++i){var o=cptable.utils.encode(s,t.charAt(i));this[this.l+i]=o[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=t.length;++i)this[this.l+i]=255&t.charCodeAt(i);r=t.length}else{if("hex"===n){for(;i<e;++i)this[this.l++]=parseInt(t.slice(2*i,2*i+2),16)||0;return this}if("utf16le"===n){var a=Math.min(this.l+e,this.length);for(i=0;i<Math.min(t.length,e);++i){var l=t.charCodeAt(i);this[this.l++]=255&l,this[this.l++]=l>>8}for(;this.l<a;)this[this.l++]=0;return this}switch(e){case 1:r=1,this[this.l]=255&t;break;case 2:r=2,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t;break;case 3:r=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:r=4,Ft(this,t,this.l);break;case 8:if(r=8,"f"===n){!function(e,t,n){var r=(t<0||1/t==-1/0?1:0)<<7,i=0,o=0,a=r?-t:t;isFinite(a)?0==a?i=o=0:(i=Math.floor(Math.log(a)/Math.LN2),o=a*Math.pow(2,52-i),i<=-1023&&(!isFinite(o)||o<Math.pow(2,52))?i=-1022:(o-=Math.pow(2,52),i+=1023)):(i=2047,o=isNaN(t)?26985:0);for(var s=0;s<=5;++s,o/=256)e[n+s]=255&o;e[n+6]=(15&i)<<4|15&o,e[n+7]=i>>4|r}(this,t,this.l);break}case 16:break;case-4:r=4,Rt(this,t,this.l)}}return this.l+=r,this}function jt(e,t){var n=pt(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function Ut(e,t){e.l=t,e.read_shift=Pt,e.chk=jt,e.write_shift=Ht}function Qt(e,t){e.l+=t}function zt(e){var t=C(e);return Ut(t,0),t}function Yt(e,t,n){if(e){var r,i,o;Ut(e,e.l||0);for(var a=e.length,s=0,l=0;e.l<a;){128&(s=e.read_shift(1))&&(s=(127&s)+((127&e.read_shift(1))<<7));var c=mc[s]||mc[65535];for(o=127&(r=e.read_shift(1)),i=1;i<4&&128&r;++i)o+=(127&(r=e.read_shift(1)))<<7*i;l=e.l+o;var u=(c.f||Qt)(e,o,n);if(e.l=l,t(u,c.n,s))return}}}function Vt(){var e=[],t=_?256:2048,n=function(e){var t=zt(e);return Ut(t,0),t},r=n(t),i=function(){r&&(r.length>r.l&&((r=r.slice(0,r.l)).l=r.length),r.length>0&&e.push(r),r=null)},o=function(e){return r&&e<r.length-r.l?r:(i(),r=n(Math.max(e+1,t)))};return{next:o,push:function(e){i(),null==(r=e).l&&(r.l=r.length),o(t)},end:function(){return i(),ut([e])},_bufs:e}}function Gt(e,t,n,r){var i,o=+yc[t];if(!isNaN(o)){r||(r=mc[o].p||(n||[]).length||0),i=1+(o>=128?1:0)+1,r>=128&&++i,r>=16384&&++i,r>=2097152&&++i;var a=e.next(i);o<=127?a.write_shift(1,o):(a.write_shift(1,128+(127&o)),a.write_shift(1,o>>7));for(var s=0;4!=s;++s){if(!(r>=128)){a.write_shift(1,r);break}a.write_shift(1,128+(127&r)),r>>=7}r>0&&Tt(n)&&e.push(n)}}function Wt(e,t,n){var r=oe(e);if(t.s?(r.cRel&&(r.c+=t.s.c),r.rRel&&(r.r+=t.s.r)):(r.cRel&&(r.c+=t.c),r.rRel&&(r.r+=t.r)),!n||n.biff<12){for(;r.c>=256;)r.c-=256;for(;r.r>=65536;)r.r-=65536}return r}function Xt(e,t,n){var r=oe(e);return r.s=Wt(r.s,t.s,n),r.e=Wt(r.e,t.s,n),r}function Zt(e,t){if(e.cRel&&e.c<0)for(e=oe(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=oe(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var n=nn(e);return e.cRel||null==e.cRel||(n=n.replace(/^([A-Z])/,"$$$1")),e.rRel||null==e.rRel||(n=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(n)),n}function $t(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Zt(e.s,t.biff)+":"+Zt(e.e,t.biff):(e.s.rRel?"":"$")+Jt(e.s.r)+":"+(e.e.rRel?"":"$")+Jt(e.e.r):(e.s.cRel?"":"$")+en(e.s.c)+":"+(e.e.cRel?"":"$")+en(e.e.c)}function Kt(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function Jt(e){return""+(e+1)}function qt(e){for(var t=e.replace(/^\$([A-Z])/,"$1"),n=0,r=0;r!==t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}function en(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function tn(e){for(var t=0,n=0,r=0;r<e.length;++r){var i=e.charCodeAt(r);i>=48&&i<=57?t=10*t+(i-48):i>=65&&i<=90&&(n=26*n+(i-64))}return{c:n-1,r:t-1}}function nn(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function rn(e){var t=e.indexOf(":");return-1==t?{s:tn(e),e:tn(e)}:{s:tn(e.slice(0,t)),e:tn(e.slice(t+1))}}function on(e,t){return void 0===t||"number"==typeof t?on(e.s,e.e):("string"!=typeof e&&(e=nn(e)),"string"!=typeof t&&(t=nn(t)),e==t?e:e+":"+t)}function an(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,i=0,o=e.length;for(n=0;r<o&&!((i=e.charCodeAt(r)-64)<1||i>26);++r)n=26*n+i;for(t.s.c=--n,n=0;r<o&&!((i=e.charCodeAt(r)-48)<0||i>9);++r)n=10*n+i;if(t.s.r=--n,r===o||58===e.charCodeAt(++r))return t.e.c=t.s.c,t.e.r=t.s.r,t;for(n=0;r!=o&&!((i=e.charCodeAt(r)-64)<1||i>26);++r)n=26*n+i;for(t.e.c=--n,n=0;r!=o&&!((i=e.charCodeAt(r)-48)<0||i>9);++r)n=10*n+i;return t.e.r=--n,t}function sn(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=I.format(e.z,n?X(t):t)}catch(e){}try{return e.w=I.format((e.XF||{}).numFmtId||(n?14:0),n?X(t):t)}catch(e){return""+t}}function ln(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),sn(e,void 0==t?e.v:t))}function cn(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function un(e,t,n){var r=n||{},i=e?Array.isArray(e):r.dense;null!=y&&null==i&&(i=y);var o=e||(i?[]:{}),a=0,s=0;if(o&&null!=r.origin){if("number"==typeof r.origin)a=r.origin;else{var l="string"==typeof r.origin?tn(r.origin):r.origin;a=l.r,s=l.c}o["!ref"]||(o["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=an(o["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),-1==a&&(c.e.r=a=u.e.r+1)}for(var h=0;h!=t.length;++h)if(t[h]){if(!Array.isArray(t[h]))throw new Error("aoa_to_sheet expects an array of arrays");for(var d=0;d!=t[h].length;++d)if(void 0!==t[h][d]){var f={v:t[h][d]},p=a+h,A=s+d;if(c.s.r>p&&(c.s.r=p),c.s.c>A&&(c.s.c=A),c.e.r<p&&(c.e.r=p),c.e.c<A&&(c.e.c=A),!t[h][d]||"object"!=typeof t[h][d]||Array.isArray(t[h][d])||t[h][d]instanceof Date)if(Array.isArray(f.v)&&(f.f=t[h][d][1],f.v=f.v[0]),null===f.v)if(f.f)f.t="n";else{if(!r.sheetStubs)continue;f.t="z"}else"number"==typeof f.v?f.t="n":"boolean"==typeof f.v?f.t="b":f.v instanceof Date?(f.z=r.dateNF||I._table[14],r.cellDates?(f.t="d",f.w=I.format(f.z,X(f.v))):(f.t="n",f.v=X(f.v),f.w=I.format(f.z,f.v))):f.t="s";else f=t[h][d];if(i)o[p]||(o[p]=[]),o[p][A]&&o[p][A].z&&(f.z=o[p][A].z),o[p][A]=f;else{var g=nn({c:A,r:p});o[g]&&o[g].z&&(f.z=o[g].z),o[g]=f}}}return c.s.c<1e7&&(o["!ref"]=on(c)),o}function hn(e,t){return un(null,e,t)}function dn(e,t){return t||(t=zt(4)),t.write_shift(4,e),t}function fn(e){var t=e.read_shift(4);return 0===t?"":e.read_shift(t,"dbcs")}function pn(e,t){var n=!1;return null==t&&(n=!0,t=zt(4+2*e.length)),t.write_shift(4,e.length),e.length>0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}function An(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function gn(e,t){var n=e.l,r=e.read_shift(1),i=fn(e),o=[],a={t:i,h:i};if(0!=(1&r)){for(var s=e.read_shift(4),l=0;l!=s;++l)o.push(An(e));a.r=o}else a.r=[{ich:0,ifnt:0}];return e.l=n+t,a}!function(e,t){var r;if(void 0!==t)r=t;else try{r=n(1)}catch(e){r=null}e.rc4=function(e,t){var n=new Array(256),r=0,i=0,o=0,a=0;for(i=0;256!=i;++i)n[i]=i;for(i=0;256!=i;++i)o=o+n[i]+e[i%e.length].charCodeAt(0)&255,a=n[i],n[i]=n[o],n[o]=a;i=o=0;var s=C(t.length);for(r=0;r!=t.length;++r)o=(o+n[i=i+1&255])%256,a=n[i],n[i]=n[o],n[o]=a,s[r]=t[r]^n[n[i]+n[o]&255];return s},e.md5=function(e){if(!r)throw new Error("Unsupported crypto");return r.createHash("md5").update(e).digest("hex")}}({},"undefined"!=typeof crypto?crypto:void 0);var vn=gn;function mn(e,t){var n=!1;return null==t&&(n=!0,t=zt(23+4*e.t.length)),t.write_shift(1,1),pn(e.t,t),t.write_shift(4,1),function(e,t){t||(t=zt(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0)}({ich:0,ifnt:0},t),n?t.slice(0,t.l):t}function yn(e){var t=e.read_shift(4),n=e.read_shift(2);return n+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:n}}function bn(e,t){return null==t&&(t=zt(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var _n=fn,wn=pn;function xn(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function Cn(e,t){var n=!1;return null==t&&(n=!0,t=zt(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),n?t.slice(0,t.l):t}var Sn=fn,Bn=xn,kn=Cn;function Tn(e){var t=e.slice(e.l,e.l+4),n=1&t[0],r=2&t[0];e.l+=4,t[0]&=252;var i=0===r?Ct([0,0,0,0,t[0],t[1],t[2],t[3]],0):It(t,0)>>2;return n?i/100:i}function En(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var Mn=En,Dn=function(e,t){return t||(t=zt(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t};function On(e){return e.read_shift(8,"f")}function In(e,t){return(t||zt(8)).write_shift(8,e,"f")}function Ln(e,t){if(t||(t=zt(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var n=e.tint||0;if(n>0?n*=32767:n<0&&(n*=32768),t.write_shift(2,n),e.rgb&&null==e.theme){var r=e.rgb||"FFFFFF";"number"==typeof r&&(r=("000000"+r.toString(16)).slice(-6)),t.write_shift(1,parseInt(r.slice(0,2),16)),t.write_shift(1,parseInt(r.slice(2,4),16)),t.write_shift(1,parseInt(r.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}function Pn(e,t){var n=e.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}var Fn=2,Rn=3,Nn=12,Hn=81,jn=[80,Hn],Un={1:{n:"CodePage",t:Fn},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:Rn},5:{n:"LineCount",t:Rn},6:{n:"ParagraphCount",t:Rn},7:{n:"SlideCount",t:Rn},8:{n:"NoteCount",t:Rn},9:{n:"HiddenCount",t:Rn},10:{n:"MultimediaClipCount",t:Rn},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4096|Nn},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:Rn},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:Rn,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{}},Qn={1:{n:"CodePage",t:Fn},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Rn},15:{n:"WordCount",t:Rn},16:{n:"CharCount",t:Rn},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:Rn},255:{}},zn={2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};!function(){for(var e in zn)Object.prototype.hasOwnProperty.call(zn,e)&&(Un[e]=Qn[e]=zn[e])}();var Yn=Y(Un,"n"),Vn=Y(Qn,"n"),Gn={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Wn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var Xn,Zn=oe([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0].map(function(e){return[e>>16&255,e>>8&255,255&e]})),$n={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Kn=G($n),Jn={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},qn=(z(Xn={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}}).forEach(function(e){["xlsm","xlam"].forEach(function(t){Xn[e][t]||(Xn[e][t]=Xn[e].xlsx)})}),z(Xn).forEach(function(e){z(Xn[e]).forEach(function(t){Jn[Xn[e][t]]=e})}),Xn),er=function(e){for(var t=[],n=z(e),r=0;r!==n.length;++r)null==t[e[n[r]]]&&(t[e[n[r]]]=[]),t[e[n[r]]].push(n[r]);return t}(Jn);at.CT="http://schemas.openxmlformats.org/package/2006/content-types";var tr=it("Types",null,{xmlns:at.CT,"xmlns:xsd":at.xsd,"xmlns:xsi":at.xsi}),nr=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels",er.rels[0]]].map(function(e){return it("Default",null,{Extension:e[0],ContentType:e[1]})});var rr={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function ir(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function or(e,t){var n={"!id":{}};if(!e)return n;"/"!==t.charAt(0)&&(t="/"+t);var r={};return(e.match(we)||[]).forEach(function(e){var i=Se(e);if("<Relationship"===i[0]){var o={};o.Type=i.Type,o.Target=i.Target,o.Id=i.Id,o.TargetMode=i.TargetMode;var a="External"===i.TargetMode?i.Target:ye(i.Target,t);n[a]=o,r[i.Id]=o}}),n["!id"]=r,n}at.RELS="http://schemas.openxmlformats.org/package/2006/relationships";var ar=it("Relationships",null,{xmlns:at.RELS});function sr(e){var t=[be,ar];return z(e["!id"]).forEach(function(n){t[t.length]=it("Relationship",null,e["!id"][n])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}var lr=[rr.HLINK,rr.XPATH,rr.XMISS];function cr(e,t,n,r,i,o){if(i||(i={}),e["!id"]||(e["!id"]={}),t<0)for(t=1;e["!id"]["rId"+t];++t);if(i.Id="rId"+t,i.Type=r,i.Target=n,o?i.TargetMode=o:lr.indexOf(i.Type)>-1&&(i.TargetMode="External"),e["!id"][i.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][i.Id]=i,e[("/"+i.Target).replace("//","/")]=i,t}var ur="application/vnd.oasis.opendocument.spreadsheet";function hr(e,t,n){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(n||"odf")+"#"+t+'"/>\n'," </rdf:Description>\n"].join("")}var dr,fr=(dr='<?xml version="1.0" encoding="UTF-8" standalone="yes"?><office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+t.version+"</meta:generator></office:meta></office:document-meta>",function(){return dr}),pr=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];at.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",rr.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var Ar=function(){for(var e=new Array(pr.length),t=0;t<pr.length;++t){var n=pr[t],r="(?:"+n[0].slice(0,n[0].indexOf(":"))+":)"+n[0].slice(n[0].indexOf(":")+1);e[t]=new RegExp("<"+r+"[^>]*>([\\s\\S]*?)</"+r+">")}return e}();function gr(e){var t={};e=Ue(e);for(var n=0;n<pr.length;++n){var r=pr[n],i=e.match(Ar[n]);null!=i&&i.length>0&&(t[r[1]]=De(i[1])),"date"===r[2]&&t[r[1]]&&(t[r[1]]=re(t[r[1]]))}return t}var vr=it("cp:coreProperties",null,{"xmlns:cp":at.CORE_PROPS,"xmlns:dc":at.dc,"xmlns:dcterms":at.dcterms,"xmlns:dcmitype":at.dcmitype,"xmlns:xsi":at.xsi});function mr(e,t,n,r,i){null==i[e]&&null!=t&&""!==t&&(i[e]=t,t=Le(t),r[r.length]=n?it(e,t,n):nt(e,t))}var yr=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];at.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",rr.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";function br(e,t,n,r){var i=[];if("string"==typeof e)i=et(e,r);else for(var o=0;o<e.length;++o)i=i.concat(e[o].map(function(e){return{v:e}}));var a="string"==typeof t?et(t,r).map(function(e){return e.v}):t,s=0,l=0;if(a.length>0)for(var c=0;c!==i.length;c+=2){switch(l=+i[c+1].v,i[c].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":n.Worksheets=l,n.SheetNames=a.slice(s,s+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":n.NamedRanges=l,n.DefinedNames=a.slice(s,s+l);break;case"Charts":case"Diagramme":n.Chartsheets=l,n.ChartNames=a.slice(s,s+l)}s+=l}}var _r=it("Properties",null,{xmlns:at.EXT_PROPS,"xmlns:vt":at.vt});at.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",rr.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var wr=/<[^>]+>[^<]*/g;var xr=it("Properties",null,{xmlns:at.CUST_PROPS,"xmlns:vt":at.vt});function Cr(e){var t=[be,xr];if(!e)return t.join("");var n=1;return z(e).forEach(function(r){++n,t[t.length]=it("property",function(e,t){switch(typeof e){case"string":var n=it("vt:lpwstr",Le(e));return t&&(n=n.replace(/"/g,"_x0022_")),n;case"number":return it((0|e)==e?"vt:i4":"vt:r8",Le(String(e)));case"boolean":return it("vt:bool",e?"true":"false")}if(e instanceof Date)return it("vt:filetime",ot(e));throw new Error("Unable to serialize "+e)}(e[r],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:Le(r)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var Sr={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},Br=V(Sr);function kr(e,t,n){e[t=Br[t]||t]=n}function Tr(e){var t=e.read_shift(4),n=e.read_shift(4);return new Date(1e3*(n/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function Er(e,t,n){var r=e.l,i=e.read_shift(0,"lpstr-cp");if(n)for(;e.l-r&3;)++e.l;return i}function Mr(e,t,n){var r=e.read_shift(0,"lpwstr");return n&&(e.l+=4-(r.length+1&3)&3),r}function Dr(e,t,n){return 31===t?Mr(e):Er(e,0,n)}function Or(e,t,n){return Dr(e,t,!1===n?0:4)}function Ir(e){return function(e){for(var t=e.read_shift(4),n=[],r=0;r!=t;++r)n[r]=e.read_shift(0,"lpstr-cp").replace(D,"");return n}(e)}function Lr(e){return[Nr(e,Hn),Nr(e,Rn)]}function Pr(e){return function(e){for(var t=e.read_shift(4),n=[],r=0;r!=t/2;++r)n.push(Lr(e));return n}(e)}function Fr(e,t){for(var n=e.read_shift(4),r={},i=0;i!=n;++i){var o=e.read_shift(4),a=e.read_shift(4);r[o]=e.read_shift(a,1200===t?"utf16le":"utf8").replace(D,"").replace(O,"!"),1200===t&&a%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),r}function Rr(e){var t=e.read_shift(4),n=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),n}function Nr(e,t,n){var r,i=e.read_shift(2),o=n||{};if(e.l+=2,t!==Nn&&i!==t&&-1===jn.indexOf(t))throw new Error("Expected type "+t+" saw "+i);switch(t===Nn?i:t){case 2:return r=e.read_shift(2,"i"),o.raw||(e.l+=2),r;case 3:return r=e.read_shift(4,"i");case 11:return 0!==e.read_shift(4);case 19:return r=e.read_shift(4);case 30:return Er(e,0,4).replace(D,"");case 31:return Mr(e);case 64:return Tr(e);case 65:return Rr(e);case 71:return function(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return Or(e,i,!o.raw).replace(D,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return Dr(e,t,0)}(e,i).replace(D,"");case 4108:return Pr(e);case 4126:return Ir(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+i)}}function Hr(e,t){var n=zt(4),r=zt(4);switch(n.write_shift(4,80==e?31:e),e){case 3:r.write_shift(-4,t);break;case 5:(r=zt(8)).write_shift(8,t,"f");break;case 11:r.write_shift(4,t?1:0);break;case 64:r=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,n=t%Math.pow(2,32),r=(t-n)/Math.pow(2,32);r*=1e7;var i=(n*=1e7)/Math.pow(2,32)|0;i>0&&(n%=Math.pow(2,32),r+=i);var o=zt(8);return o.write_shift(4,n),o.write_shift(4,r),o}(t);break;case 31:case 80:for((r=zt(4+2*(t.length+1)+(t.length%2?0:2))).write_shift(4,t.length+1),r.write_shift(0,t,"dbcs");r.l!=r.length;)r.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return M([n,r])}function jr(e,t){var n=e.l,r=e.read_shift(4),i=e.read_shift(4),o=[],a=0,s=0,l=-1,c={};for(a=0;a!=i;++a){var u=e.read_shift(4),h=e.read_shift(4);o[a]=[u,h+n]}o.sort(function(e,t){return e[1]-t[1]});var f={};for(a=0;a!=i;++a){if(e.l!==o[a][1]){var p=!0;if(a>0&&t)switch(t[o[a-1][0]].t){case 2:e.l+2===o[a][1]&&(e.l+=2,p=!1);break;case 80:case 4108:e.l<=o[a][1]&&(e.l=o[a][1],p=!1)}if((!t||0==a)&&e.l<=o[a][1]&&(p=!1,e.l=o[a][1]),p)throw new Error("Read Error: Expected address "+o[a][1]+" at "+e.l+" :"+a)}if(t){var A=t[o[a][0]];if(f[A.n]=Nr(e,A.t,{raw:!0}),"version"===A.p&&(f[A.n]=String(f[A.n]>>16)+"."+("0000"+String(65535&f[A.n])).slice(-4)),"CodePage"==A.n)switch(f[A.n]){case 0:f[A.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:d(s=f[A.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+f[A.n])}}else if(1===o[a][0]){if(s=f.CodePage=Nr(e,Fn),d(s),-1!==l){var g=e.l;e.l=o[l][1],c=Fr(e,s),e.l=g}}else if(0===o[a][0]){if(0===s){l=a,e.l=o[a+1][1];continue}c=Fr(e,s)}else{var v,m=c[o[a][0]];switch(e[e.l]){case 65:e.l+=4,v=Rr(e);break;case 30:case 31:e.l+=4,v=Or(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,v=e.read_shift(4,"i");break;case 19:e.l+=4,v=e.read_shift(4);break;case 5:e.l+=4,v=e.read_shift(8,"f");break;case 11:e.l+=4,v=Wr(e,4);break;case 64:e.l+=4,v=re(Tr(e));break;default:throw new Error("unparsed value: "+e[e.l])}f[m]=v}}return e.l=n+r,f}var Ur=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"].concat(["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"]);function Qr(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function zr(e,t,n){var r=zt(8),i=[],o=[],a=8,s=0,l=zt(8),c=zt(8);if(l.write_shift(4,2),l.write_shift(4,1200),c.write_shift(4,1),o.push(l),i.push(c),a+=8+l.length,!t){(c=zt(8)).write_shift(4,0),i.unshift(c);var u=[zt(4)];for(u[0].write_shift(4,e.length),s=0;s<e.length;++s){var h=e[s][0];for((l=zt(8+2*(h.length+1)+(h.length%2?0:2))).write_shift(4,s+2),l.write_shift(4,h.length+1),l.write_shift(0,h,"dbcs");l.l!=l.length;)l.write_shift(1,0);u.push(l)}l=M(u),o.unshift(l),a+=8+l.length}for(s=0;s<e.length;++s)if((!t||t[e[s][0]])&&!(Ur.indexOf(e[s][0])>-1)&&null!=e[s][1]){var d=e[s][1],f=0;if(t){var p=n[f=+t[e[s][0]]];if("version"==p.p&&"string"==typeof d){var A=d.split(".");d=(+A[0]<<16)+(+A[1]||0)}l=Hr(p.t,d)}else{var g=Qr(d);-1==g&&(g=31,d=String(d)),l=Hr(g,d)}o.push(l),(c=zt(8)).write_shift(4,t?f:2+s),i.push(c),a+=8+l.length}var v=8*(o.length+1);for(s=0;s<o.length;++s)i[s].write_shift(4,v),v+=o[s].length;return r.write_shift(4,a),r.write_shift(4,o.length),M([r].concat(i).concat(o))}function Yr(e,t,n){var r=e.content;if(!r)return{};Ut(r,0);var i,o,a,s,l=0;r.chk("feff","Byte Order: "),r.read_shift(2);var c=r.read_shift(4),u=r.read_shift(16);if(u!==j.utils.consts.HEADER_CLSID&&u!==n)throw new Error("Bad PropertySet CLSID "+u);if(1!==(i=r.read_shift(4))&&2!==i)throw new Error("Unrecognized #Sets: "+i);if(o=r.read_shift(16),s=r.read_shift(4),1===i&&s!==r.l)throw new Error("Length mismatch: "+s+" !== "+r.l);2===i&&(a=r.read_shift(16),l=r.read_shift(4));var h,d=jr(r,t),f={SystemIdentifier:c};for(var p in d)f[p]=d[p];if(f.FMTID=o,1===i)return f;if(l-r.l==2&&(r.l+=2),r.l!==l)throw new Error("Length mismatch 2: "+r.l+" !== "+l);try{h=jr(r,null)}catch(e){}for(p in h)f[p]=h[p];return f.FMTID=[o,a],f}function Vr(e,t,n,r,i,o){var a=zt(i?68:48),s=[a];a.write_shift(2,65534),a.write_shift(2,0),a.write_shift(4,842412599),a.write_shift(16,j.utils.consts.HEADER_CLSID,"hex"),a.write_shift(4,i?2:1),a.write_shift(16,t,"hex"),a.write_shift(4,i?68:48);var l=zr(e,n,r);if(s.push(l),i){var c=zr(i,null,null);a.write_shift(16,o,"hex"),a.write_shift(4,68+l.length),s.push(c)}return M(s)}function Gr(e,t){return e.read_shift(t),null}function Wr(e,t){return 1===e.read_shift(t)}function Xr(e,t){return t||(t=zt(2)),t.write_shift(2,+!!e),t}function Zr(e){return e.read_shift(2,"u")}function $r(e,t){return t||(t=zt(2)),t.write_shift(2,e),t}function Kr(e,t){return function(e,t,n){for(var r=[],i=e.l+t;e.l<i;)r.push(n(e,i-e.l));if(i!==e.l)throw new Error("Slurp error");return r}(e,t,Zr)}function Jr(e,t,n){var r=e.read_shift(n&&n.biff>=12?2:1),i="sbcs-cont",o=a;(n&&n.biff>=8&&(a=1200),n&&8!=n.biff)?12==n.biff&&(i="wstr"):e.read_shift(1)&&(i="dbcs-cont");n.biff>=2&&n.biff<=5&&(i="cpstr");var s=r?e.read_shift(r,i):"";return a=o,s}function qr(e){var t=a;a=1200;var n,r=e.read_shift(2),i=e.read_shift(1),o=4&i,s=8&i,l=1+(1&i),c=0,u={};s&&(c=e.read_shift(2)),o&&(n=e.read_shift(4));var h=2==l?"dbcs-cont":"sbcs-cont",d=0===r?"":e.read_shift(r,h);return s&&(e.l+=4*c),o&&(e.l+=n),u.t=d,s||(u.raw="<t>"+u.t+"</t>",u.r=u.t),a=t,u}function ei(e){var t=e.t||"",n=zt(3);n.write_shift(2,t.length),n.write_shift(1,1);var r=zt(2*t.length);return r.write_shift(2*t.length,t,"utf16le"),M([n,r])}function ti(e,t,n){if(n){if(n.biff>=2&&n.biff<=5)return e.read_shift(t,"cpstr");if(n.biff>=12)return e.read_shift(t,"dbcs-cont")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}function ni(e,t,n){var r=e.read_shift(n&&2==n.biff?1:2);return 0===r?(e.l++,""):ti(e,r,n)}function ri(e,t,n){if(n.biff>5)return ni(e,0,n);var r=e.read_shift(1);return 0===r?(e.l++,""):e.read_shift(r,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function ii(e,t,n){return n||(n=zt(3+2*e.length)),n.write_shift(2,e.length),n.write_shift(1,1),n.write_shift(31,e,"utf16le"),n}function oi(e,t){var n=e.read_shift(16);switch(16,n){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e.read_shift(4),n=e.l,r=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(r=!0),e.l=n);var i=e.read_shift((r?t-24:t)>>1,"utf16le").replace(D,"");return r&&(e.l+=24),i}(e);case"0303000000000000c000000000000046":return function(e){e.l+=2;var t=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");if(0===e.read_shift(4))return t.replace(/\\/g,"/");var n=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");return e.read_shift(n>>1,"utf16le").replace(D,"")}(e);default:throw new Error("Unsupported Moniker "+n)}}function ai(e){var t=e.read_shift(4);return t>0?e.read_shift(t,"utf16le").replace(D,""):""}function si(e){return[e.read_shift(1),e.read_shift(1),e.read_shift(1),e.read_shift(1)]}function li(e,t){var n=si(e);return n[3]=0,n}function ci(e){return{r:e.read_shift(2),c:e.read_shift(2),ixfe:e.read_shift(2)}}function ui(e,t,n,r){return r||(r=zt(6)),r.write_shift(2,e),r.write_shift(2,t),r.write_shift(2,n||0),r}function hi(e,t,n){var r=n.biff>8?4:2;return[e.read_shift(r),e.read_shift(r,"i"),e.read_shift(r,"i")]}function di(e){return[e.read_shift(2),Tn(e)]}function fi(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:n}}}function pi(e,t){return t||(t=zt(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function Ai(e){var t=e.read_shift(2),n=e.read_shift(2);return{s:{c:e.read_shift(1),r:t},e:{c:e.read_shift(1),r:n}}}var gi=Ai;function vi(e){e.l+=4;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(2);return e.l+=12,[n,t,r]}function mi(e){e.l+=2,e.l+=e.read_shift(2)}var yi={0:mi,4:mi,5:mi,6:mi,7:function(e){return e.l+=4,e.cf=e.read_shift(2),{}},8:mi,9:mi,10:mi,11:mi,12:mi,13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t},14:mi,15:mi,16:mi,17:mi,18:mi,19:mi,20:mi,21:vi};function bi(e,t){var n={BIFFVer:0,dt:0};switch(n.BIFFVer=e.read_shift(2),(t-=2)>=2&&(n.dt=e.read_shift(2),e.l-=2),n.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+n.BIFFVer)}return e.read_shift(t),n}function _i(e,t,n){var r=1536,i=16;switch(n.bookType){case"biff8":break;case"biff5":r=1280,i=8;break;case"biff4":r=4,i=6;break;case"biff3":r=3,i=6;break;case"biff2":r=2,i=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var o=zt(i);return o.write_shift(2,r),o.write_shift(2,t),i>4&&o.write_shift(2,29282),i>6&&o.write_shift(2,1997),i>8&&(o.write_shift(2,49161),o.write_shift(2,1),o.write_shift(2,1798),o.write_shift(2,0)),o}function wi(e,t){var n=!t||t.biff>=8?2:1,r=zt(8+n*e.name.length);r.write_shift(4,e.pos),r.write_shift(1,e.hs||0),r.write_shift(1,e.dt),r.write_shift(1,e.name.length),t.biff>=8&&r.write_shift(1,1),r.write_shift(n*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var i=r.slice(0,r.l);return i.l=r.l,i}function xi(e,t,n){var r=0;n&&2==n.biff||(r=e.read_shift(2));var i=e.read_shift(2);return n&&2==n.biff&&(r=1-(i>>15),i&=32767),[{Unsynced:1&r,DyZero:(2&r)>>1,ExAsc:(4&r)>>2,ExDsc:(8&r)>>3},i]}function Ci(e,t,n,r){var i=n&&5==n.biff;r||(r=zt(i?3+t.length:5+2*t.length)),r.write_shift(2,e),r.write_shift(i?1:2,t.length),i||r.write_shift(1,1),r.write_shift((i?1:2)*t.length,t,i?"sbcs":"utf16le");var o=r.length>r.l?r.slice(0,r.l):r;return null==o.l&&(o.l=o.length),o}var Si=ri;function Bi(e,t,n){var r=e.l+t,i=8!=n.biff&&n.biff?2:4,o=e.read_shift(i),a=e.read_shift(i),s=e.read_shift(2),l=e.read_shift(2);return e.l=r,{s:{r:o,c:s},e:{r:a,c:l}}}function ki(e,t,n,r){var i=n&&5==n.biff;return r||(r=zt(i?16:20)),r.write_shift(2,0),e.style?(r.write_shift(2,e.numFmtId||0),r.write_shift(2,65524)):(r.write_shift(2,e.numFmtId||0),r.write_shift(2,t<<4)),r.write_shift(4,0),r.write_shift(4,0),i||r.write_shift(4,0),r.write_shift(2,0),r}function Ti(e,t,n){var r=ci(e);2==n.biff&&++e.l;var i=function(e){var t=e.read_shift(1);return 1===e.read_shift(1)?t:1===t}(e);return r.val=i,r.t=!0===i||!1===i?"b":"e",r}function Ei(e,t,n,r,i,o){var a=zt(8);return ui(e,t,r,a),function(e,t,n){n||(n=zt(2)),n.write_shift(1,+e),n.write_shift(1,"e"==t?1:0)}(n,o,a),a}var Mi=function(e,t,n){return 0===t?"":ri(e,0,n)};function Di(e,t,n){var r,i=e.read_shift(2),o={fBuiltIn:1&i,fWantAdvise:i>>>1&1,fWantPict:i>>>2&1,fOle:i>>>3&1,fOleLink:i>>>4&1,cf:i>>>5&1023,fIcon:i>>>15&1};return 14849===n.sbcch&&(r=function(e,t,n){e.l+=4,t-=4;var r=e.l+t,i=Jr(e,0,n),o=e.read_shift(2);if(o!==(r-=e.l))throw new Error("Malformed AddinUdf: padding = "+r+" != "+o);return e.l+=o,i}(e,t-2,n)),o.body=r||e.read_shift(t-2),"string"==typeof r&&(o.Name=r),o}var Oi=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Ii(e,t,n){var r=e.l+t,i=e.read_shift(2),o=e.read_shift(1),a=e.read_shift(1),s=e.read_shift(n&&2==n.biff?1:2),l=0;(!n||n.biff>=5)&&(5!=n.biff&&(e.l+=2),l=e.read_shift(2),5==n.biff&&(e.l+=2),e.l+=4);var c=ti(e,a,n);32&i&&(c=Oi[c.charCodeAt(0)]);var u=r-e.l;return n&&2==n.biff&&--u,{chKey:o,Name:c,itab:l,rgce:r==e.l||0===s?[]:function(e,t,n,r){var i,o=e.l+t,a=rs(e,r,n);o!==e.l&&(i=ns(e,o-e.l,a,n));return[a,i]}(e,u,n,s)}}function Li(e,t,n){if(n.biff<8)return function(e,t,n){3==e[e.l+1]&&e[e.l]++;var r=Jr(e,0,n);return 3==r.charCodeAt(0)?r.slice(1):r}(e,0,n);for(var r=[],i=e.l+t,o=e.read_shift(n.biff>8?4:2);0!=o--;)r.push(hi(e,n.biff,n));if(e.l!=i)throw new Error("Bad ExternSheet: "+e.l+" != "+i);return r}function Pi(e,t,n){var r=gi(e,6);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[r,function(e,t,n){var r,i=e.l+t,o=2==n.biff?1:2,a=e.read_shift(o);if(65535==a)return[[],Qt(e,t-2)];var s=rs(e,a,n);t!==a+o&&(r=ns(e,t-a-o,s,n));return e.l=i,[s,r]}(e,t,n)]}var Fi=[];function Ri(e){var t=zt(24),n=tn(e[0]);t.write_shift(2,n.r),t.write_shift(2,n.r),t.write_shift(2,n.c),t.write_shift(2,n.c);for(var r="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),i=0;i<16;++i)t.write_shift(1,parseInt(r[i],16));return M([t,function(e){var t=zt(512),n=0,r=e.Target,i=r.indexOf("#")>-1?31:23;switch(r.charAt(0)){case"#":i=28;break;case".":i&=-3}t.write_shift(4,2),t.write_shift(4,i);var o=[8,6815827,6619237,4849780,83];for(n=0;n<o.length;++n)t.write_shift(4,o[n]);if(28==i){for(r=r.slice(1),t.write_shift(4,r.length+1),n=0;n<r.length;++n)t.write_shift(2,r.charCodeAt(n));t.write_shift(2,0)}else if(2&i){for(o="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),n=0;n<o.length;++n)t.write_shift(1,parseInt(o[n],16));for(t.write_shift(4,2*(r.length+1)),n=0;n<r.length;++n)t.write_shift(2,r.charCodeAt(n));t.write_shift(2,0)}else{for(o="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),n=0;n<o.length;++n)t.write_shift(1,parseInt(o[n],16));for(var a=0;"../"==r.slice(3*a,3*a+3)||"..\\"==r.slice(3*a,3*a+3);)++a;for(t.write_shift(2,a),t.write_shift(4,r.length+1),n=0;n<r.length;++n)t.write_shift(1,255&r.charCodeAt(n));for(t.write_shift(1,0),t.write_shift(2,65535),t.write_shift(2,57005),n=0;n<6;++n)t.write_shift(4,0)}return t.slice(0,t.l)}(e[1])])}function Ni(e){var t=e[1].Tooltip,n=zt(10+2*(t.length+1));n.write_shift(2,2048);var r=tn(e[0]);n.write_shift(2,r.r),n.write_shift(2,r.r),n.write_shift(2,r.c),n.write_shift(2,r.c);for(var i=0;i<t.length;++i)n.write_shift(2,t.charCodeAt(i));return n.write_shift(2,0),n}function Hi(e,t,n){if(!n.cellStyles)return Qt(e,t);var r=n&&n.biff>=12?4:2,i=e.read_shift(r),o=e.read_shift(r),a=e.read_shift(r),s=e.read_shift(r),l=e.read_shift(2);2==r&&(e.l+=2);var c={s:i,e:o,w:a,ixfe:s,flags:l};return(n.biff>=5||!n.biff)&&(c.level=l>>8&7),c}Fi[8]=function(e,t){var n=e.l+t;e.l+=10;var r=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var i=e.read_shift(1);return e.l+=i,e.l=n,{fmt:r}};var ji=ci,Ui=Kr,Qi=ni;var zi=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,255:16969},t=V({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function n(t,n){var r=n||{};return r.dateNF||(r.dateNF="yyyymmdd"),hn(function(t,n){var r=[],i=C(1);switch(n.type){case"base64":i=B(b.decode(t));break;case"binary":i=B(t);break;case"buffer":case"array":i=t}Ut(i,0);var o=i.read_shift(1),a=!1,s=!1,l=!1;switch(o){case 2:case 3:break;case 48:s=!0,a=!0;break;case 49:s=!0;break;case 131:case 139:a=!0;break;case 140:a=!0,l=!0;break;case 245:a=!0;break;default:throw new Error("DBF Unsupported Version: "+o.toString(16))}var c=0,u=0;2==o&&(c=i.read_shift(2)),i.l+=3,2!=o&&(c=i.read_shift(4)),2!=o&&(u=i.read_shift(2));var h=i.read_shift(2),d=1252;2!=o&&(i.l+=16,i.read_shift(1),0!==i[i.l]&&(d=e[i[i.l]]),i.l+=1,i.l+=2),l&&(i.l+=36);for(var f=[],p={},A=u-10-(s?264:0),g=l?32:11;2==o?i.l<i.length&&13!=i[i.l]:i.l<A;)switch((p={}).name=cptable.utils.decode(d,i.slice(i.l,i.l+g)).replace(/[\u0000\r\n].*$/g,""),i.l+=g,p.type=String.fromCharCode(i.read_shift(1)),2==o||l||(p.offset=i.read_shift(4)),p.len=i.read_shift(1),2==o&&(p.offset=i.read_shift(2)),p.dec=i.read_shift(1),p.name.length&&f.push(p),2!=o&&(i.l+=l?13:14),p.type){case"B":s&&8==p.len||!n.WTF||console.log("Skipping "+p.name+":"+p.type);break;case"G":case"P":n.WTF&&console.log("Skipping "+p.name+":"+p.type);break;case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":case"0":case"@":case"+":break;default:throw new Error("Unknown Field Type: "+p.type)}if(13!==i[i.l]?i.l=u-1:2==o&&(i.l=521),2!=o){if(13!==i.read_shift(1))throw new Error("DBF Terminator not found "+i.l+" "+i[i.l]);i.l=u}var v=0,m=0;for(r[0]=[],m=0;m!=f.length;++m)r[0][m]=f[m].name;for(;c-- >0;)if(42!==i[i.l])for(++i.l,r[++v]=[],m=0,m=0;m!=f.length;++m){var y=i.slice(i.l,i.l+f[m].len);i.l+=f[m].len,Ut(y,0);var _=cptable.utils.decode(d,y);switch(f[m].type){case"C":r[v][m]=cptable.utils.decode(d,y),r[v][m]=r[v][m].trim();break;case"D":8===_.length?r[v][m]=new Date(+_.slice(0,4),+_.slice(4,6)-1,+_.slice(6,8)):r[v][m]=_;break;case"F":r[v][m]=parseFloat(_.trim());break;case"+":case"I":r[v][m]=l?2147483648^y.read_shift(-4,"i"):y.read_shift(4,"i");break;case"L":switch(_.toUpperCase()){case"Y":case"T":r[v][m]=!0;break;case"N":case"F":r[v][m]=!1;break;case" ":case"?":r[v][m]=!1;break;default:throw new Error("DBF Unrecognized L:|"+_+"|")}break;case"M":if(!a)throw new Error("DBF Unexpected MEMO for type "+o.toString(16));r[v][m]="##MEMO##"+(l?parseInt(_.trim(),10):y.read_shift(4));break;case"N":r[v][m]=+_.replace(/\u0000/g,"").trim();break;case"@":r[v][m]=new Date(y.read_shift(-8,"f")-621356832e5);break;case"T":r[v][m]=new Date(864e5*(y.read_shift(4)-2440588)+y.read_shift(4));break;case"Y":r[v][m]=y.read_shift(4,"i")/1e4;break;case"O":r[v][m]=-y.read_shift(-8,"f");break;case"B":if(s&&8==f[m].len){r[v][m]=y.read_shift(8,"f");break}case"G":case"P":y.l+=f[m].len;break;case"0":if("_NullFlags"===f[m].name)break;default:throw new Error("DBF Unsupported data type "+f[m].type)}}else i.l+=h;if(2!=o&&i.l<i.length&&26!=i[i.l++])throw new Error("DBF EOF Marker missing "+(i.l-1)+" of "+i.length+" "+i[i.l-1].toString(16));return n&&n.sheetRows&&(r=r.slice(0,n.sheetRows)),r}(t,r),r)}var r={B:8,C:250,L:1,D:8,"?":0,"":0};return{versions:[2,3,48,49,131,139,140,245],to_workbook:function(e,t){try{return cn(n(e,t),t)}catch(e){if(t&&t.WTF)throw e}return{SheetNames:[],Sheets:{}}},to_sheet:n,from_sheet:function(e,n){var i=n||{};if(+i.codepage>=0&&d(+i.codepage),"string"==i.type)throw new Error("Cannot write DBF to JS string");var o=Vt(),a=bu(e,{header:1,raw:!0,cellDates:!0}),l=a[0],c=a.slice(1),u=0,h=0,f=0,p=1;for(u=0;u<l.length;++u)if(null!=u){if(++f,"number"==typeof l[u]&&(l[u]=l[u].toString(10)),"string"!=typeof l[u])throw new Error("DBF Invalid column name "+l[u]+" |"+typeof l[u]+"|");if(l.indexOf(l[u])!==u)for(h=0;h<1024;++h)if(-1==l.indexOf(l[u]+"_"+h)){l[u]+="_"+h;break}}var A=an(e["!ref"]),g=[];for(u=0;u<=A.e.c-A.s.c;++u){var v=[];for(h=0;h<c.length;++h)null!=c[h][u]&&v.push(c[h][u]);if(0!=v.length&&null!=l[u]){var m="",y="";for(h=0;h<v.length;++h){switch(typeof v[h]){case"number":y="B";break;case"string":y="C";break;case"boolean":y="L";break;case"object":y=v[h]instanceof Date?"D":"C";break;default:y="C"}if("C"==(m=m&&m!=y?"C":y))break}p+=r[m]||0,g[u]=m}else g[u]="?"}var b=o.next(32);for(b.write_shift(4,318902576),b.write_shift(4,c.length),b.write_shift(2,296+32*f),b.write_shift(2,p),u=0;u<4;++u)b.write_shift(4,0);for(b.write_shift(4,0|(+t[s]||3)<<8),u=0,h=0;u<l.length;++u)if(null!=l[u]){var _=o.next(32),w=(l[u].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);_.write_shift(1,w,"sbcs"),_.write_shift(1,"?"==g[u]?"C":g[u],"sbcs"),_.write_shift(4,h),_.write_shift(1,r[g[u]]||0),_.write_shift(1,0),_.write_shift(1,2),_.write_shift(4,0),_.write_shift(1,0),_.write_shift(4,0),_.write_shift(4,0),h+=r[g[u]]||0}var x=o.next(264);for(x.write_shift(4,13),u=0;u<65;++u)x.write_shift(4,0);for(u=0;u<c.length;++u){var C=o.next(p);for(C.write_shift(1,0),h=0;h<l.length;++h)if(null!=l[h])switch(g[h]){case"L":C.write_shift(1,null==c[u][h]?63:c[u][h]?84:70);break;case"B":C.write_shift(8,c[u][h]||0,"f");break;case"D":c[u][h]?(C.write_shift(4,("0000"+c[u][h].getFullYear()).slice(-4),"sbcs"),C.write_shift(2,("00"+(c[u][h].getMonth()+1)).slice(-2),"sbcs"),C.write_shift(2,("00"+c[u][h].getDate()).slice(-2),"sbcs")):C.write_shift(8,"00000000","sbcs");break;case"C":var S=String(c[u][h]||"");for(C.write_shift(1,S,"sbcs"),f=0;f<250-S.length;++f)C.write_shift(1,32)}}return o.next(1).write_shift(1,26),o.end()}}}(),Yi=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,B:180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("N("+z(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,n){var r=e[n];return"number"==typeof r?v(r):r},r=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:v(r)};function i(e,i){var o,a=e.split(/[\n\r]+/),s=-1,l=-1,c=0,u=0,h=[],f=[],p=null,A={},g=[],v=[],m=[],y=0;for(+i.codepage>=0&&d(+i.codepage);c!==a.length;++c){y=0;var b,_=a[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,r).replace(t,n),w=_.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")}),x=w[0];if(_.length>0)switch(x){case"ID":case"E":case"B":case"O":break;case"P":"P"==w[1].charAt(0)&&f.push(_.slice(3).replace(/;;/g,";"));break;case"C":var C=!1,S=!1;for(u=1;u<w.length;++u)switch(w[u].charAt(0)){case"X":l=parseInt(w[u].slice(1))-1,S=!0;break;case"Y":for(s=parseInt(w[u].slice(1))-1,S||(l=0),o=h.length;o<=s;++o)h[o]=[];break;case"K":'"'===(b=w[u].slice(1)).charAt(0)?b=b.slice(1,b.length-1):"TRUE"===b?b=!0:"FALSE"===b?b=!1:isNaN(se(b))?isNaN(le(b).getDate())||(b=re(b)):(b=se(b),null!==p&&I.is_date(p)&&(b=q(b))),"undefined"!=typeof cptable&&"string"==typeof b&&"string"!=(i||{}).type&&(i||{}).codepage&&(b=cptable.utils.decode(i.codepage,b)),C=!0;break;case"E":var B=Sa(w[u].slice(1),{r:s,c:l});h[s][l]=[h[s][l],B];break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+_)}C&&(h[s][l]=b,p=null);break;case"F":var k=0;for(u=1;u<w.length;++u)switch(w[u].charAt(0)){case"X":l=parseInt(w[u].slice(1))-1,++k;break;case"Y":for(s=parseInt(w[u].slice(1))-1,o=h.length;o<=s;++o)h[o]=[];break;case"M":y=parseInt(w[u].slice(1))/20;break;case"F":case"G":break;case"P":p=f[parseInt(w[u].slice(1))];break;case"S":case"D":case"N":break;case"W":for(m=w[u].slice(1).split(" "),o=parseInt(m[0],10);o<=parseInt(m[1],10);++o)y=parseInt(m[2],10),v[o-1]=0===y?{hidden:!0}:{wch:y},Po(v[o-1]);break;case"C":v[l=parseInt(w[u].slice(1))-1]||(v[l]={});break;case"R":g[s=parseInt(w[u].slice(1))-1]||(g[s]={}),y>0?(g[s].hpt=y,g[s].hpx=No(y)):0===y&&(g[s].hidden=!0);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+_)}k<1&&(p=null);break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+_)}}return g.length>0&&(A["!rows"]=g),v.length>0&&(A["!cols"]=v),i&&i.sheetRows&&(h=h.slice(0,i.sheetRows)),[h,A]}function o(e,t){var n=function(e,t){switch(t.type){case"base64":return i(b.decode(e),t);case"binary":return i(e,t);case"buffer":return i(e.toString("binary"),t);case"array":return i(ie(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),r=n[0],o=n[1],a=hn(r,t);return z(o).forEach(function(e){a[e]=o[e]}),a}function a(e,t,n,r){var i="C;Y"+(n+1)+";X"+(r+1)+";K";switch(e.t){case"n":i+=e.v||0,e.f&&!e.F&&(i+=";E"+ka(e.f,{r:n,c:r}));break;case"b":i+=e.v?"TRUE":"FALSE";break;case"e":i+=e.w||e.v;break;case"d":i+='"'+(e.w||e.v)+'"';break;case"s":i+='"'+e.v.replace(/"/g,"")+'"'}return i}return e["|"]=254,{to_workbook:function(e,t){return cn(o(e,t),t)},to_sheet:o,from_sheet:function(e,t){var n,r,i=["ID;PWXL;N;E"],o=[],s=an(e["!ref"]),l=Array.isArray(e),c="\r\n";i.push("P;PGeneral"),i.push("F;P0;DG0G8;M255"),e["!cols"]&&(r=i,e["!cols"].forEach(function(e,t){var n="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?n+="0":("number"==typeof e.width&&(e.wpx=Mo(e.width)),"number"==typeof e.wpx&&(e.wch=Do(e.wpx)),"number"==typeof e.wch&&(n+=Math.round(e.wch)))," "!=n.charAt(n.length-1)&&r.push(n)})),e["!rows"]&&function(e,t){t.forEach(function(t,n){var r="F;";t.hidden?r+="M0;":t.hpt?r+="M"+20*t.hpt+";":t.hpx&&(r+="M"+20*Ro(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))})}(i,e["!rows"]),i.push("B;Y"+(s.e.r-s.s.r+1)+";X"+(s.e.c-s.s.c+1)+";D"+[s.s.c,s.s.r,s.e.c,s.e.r].join(" "));for(var u=s.s.r;u<=s.e.r;++u)for(var h=s.s.c;h<=s.e.c;++h){var d=nn({r:u,c:h});(n=l?(e[u]||[])[h]:e[d])&&(null!=n.v||n.f&&!n.F)&&o.push(a(n,0,u,h))}return i.join(c)+c+o.join(c)+c+"E"+c}}}(),Vi=function(){function e(e,t){for(var n=e.split("\n"),r=-1,i=-1,o=0,a=[];o!==n.length;++o)if("BOT"!==n[o].trim()){if(!(r<0)){var s=n[o].trim().split(","),l=s[0],c=s[1],u=n[++o].trim();switch(+l){case-1:if("BOT"===u){a[++r]=[],i=0;continue}if("EOD"!==u)throw new Error("Unrecognized DIF special command "+u);break;case 0:"TRUE"===u?a[r][i]=!0:"FALSE"===u?a[r][i]=!1:isNaN(se(c))?isNaN(le(c).getDate())?a[r][i]=c:a[r][i]=re(c):a[r][i]=se(c),++i;break;case 1:u=u.slice(1,u.length-1),a[r][i++]=""!==u?u:null}if("EOD"===u)break}}else a[++r]=[],i=0;return t&&t.sheetRows&&(a=a.slice(0,t.sheetRows)),a}function t(t,n){return hn(function(t,n){switch(n.type){case"base64":return e(b.decode(t),n);case"binary":return e(t,n);case"buffer":return e(t.toString("binary"),n);case"array":return e(ie(t),n)}throw new Error("Unrecognized type "+n.type)}(t,n),n)}var n,r;return{to_workbook:function(e,n){return cn(t(e,n),n)},to_sheet:t,from_sheet:(n=function(e,t,n,r,i){e.push(t),e.push(n+","+r),e.push('"'+i.replace(/"/g,'""')+'"')},r=function(e,t,n,r){e.push(t+","+n),e.push(1==t?'"'+r.replace(/"/g,'""')+'"':r)},function(e){var t,i=[],o=an(e["!ref"]),a=Array.isArray(e);n(i,"TABLE",0,1,"sheetjs"),n(i,"VECTORS",0,o.e.r-o.s.r+1,""),n(i,"TUPLES",0,o.e.c-o.s.c+1,""),n(i,"DATA",0,0,"");for(var s=o.s.r;s<=o.e.r;++s){r(i,-1,0,"BOT");for(var l=o.s.c;l<=o.e.c;++l){var c=nn({r:s,c:l});if(t=a?(e[s]||[])[l]:e[c])switch(t.t){case"n":var u=t.w;u||null==t.v||(u=t.v),null==u?t.f&&!t.F?r(i,1,0,"="+t.f):r(i,1,0,""):r(i,0,u,"V");break;case"b":r(i,0,t.v?1:0,t.v?"TRUE":"FALSE");break;case"s":r(i,1,0,isNaN(t.v)?t.v:'="'+t.v+'"');break;case"d":t.w||(t.w=I.format(t.z||I._table[14],X(re(t.v)))),r(i,0,t.w,"V");break;default:r(i,1,0,"")}else r(i,1,0,"")}}return r(i,-1,0,"EOD"),i.join("\r\n")})}}(),Gi=function(){function e(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(e,t){return hn(function(e,t){for(var n=e.split("\n"),r=-1,i=-1,o=0,a=[];o!==n.length;++o){var s=n[o].trim().split(":");if("cell"===s[0]){var l=tn(s[1]);if(a.length<=l.r)for(r=a.length;r<=l.r;++r)a[r]||(a[r]=[]);switch(r=l.r,i=l.c,s[2]){case"t":a[r][i]=s[3].replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n");break;case"v":a[r][i]=+s[3];break;case"vtf":var c=s[s.length-1];case"vtc":switch(s[3]){case"nl":a[r][i]=!!+s[4];break;default:a[r][i]=+s[4]}"vtf"==s[2]&&(a[r][i]=[a[r][i],c])}}}return t&&t.sheetRows&&(a=a.slice(0,t.sheetRows)),a}(e,t),t)}var n=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),r=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",i=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),o="--SocialCalcSpreadsheetControlSave--";return{to_workbook:function(e,n){return cn(t(e,n),n)},to_sheet:t,from_sheet:function(t){return[n,r,i,r,function(t){if(!t||!t["!ref"])return"";for(var n,r=[],i=[],o="",a=rn(t["!ref"]),s=Array.isArray(t),l=a.s.r;l<=a.e.r;++l)for(var c=a.s.c;c<=a.e.c;++c)if(o=nn({r:l,c:c}),(n=s?(t[l]||[])[c]:t[o])&&null!=n.v&&"z"!==n.t){switch(i=["cell",o,"t"],n.t){case"s":case"str":i.push(e(n.v));break;case"n":n.f?(i[2]="vtf",i[3]="n",i[4]=n.v,i[5]=e(n.f)):(i[2]="v",i[3]=n.v);break;case"b":i[2]="vt"+(n.f?"f":"c"),i[3]="nl",i[4]=n.v?"1":"0",i[5]=e(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var u=X(re(n.v));i[2]="vtc",i[3]="nd",i[4]=""+u,i[5]=n.w||I.format(n.z||I._table[14],u);break;case"e":continue}r.push(i.join(":"))}return r.push("sheet:c:"+(a.e.c-a.s.c+1)+":r:"+(a.e.r-a.s.r+1)+":tvf:1"),r.push("valueformat:1:text-wiki"),r.join("\n")}(t),o].join("\n")}}}(),Wi=function(){function e(e,t,n,r,i){i.raw?t[n][r]=e:"TRUE"===e?t[n][r]=!0:"FALSE"===e?t[n][r]=!1:""===e||(isNaN(se(e))?isNaN(le(e).getDate())?t[n][r]=e:t[n][r]=re(e):t[n][r]=se(e))}var t={44:",",9:"\t",59:";"},n={44:3,9:2,59:1};function r(e,r){var i=r||{},o="";null!=y&&null==i.dense&&(i.dense=y);var a=i.dense?[]:{},s={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(o=e.charAt(4),e=e.slice(7)):13!=e.charCodeAt(5)&&10!=e.charCodeAt(5)||(o=e.charAt(4),e=e.slice(6)):o=function(e){for(var r={},i=!1,o=0,a=0;o<e.length;++o)34==(a=e.charCodeAt(o))?i=!i:!i&&a in t&&(r[a]=(r[a]||0)+1);for(o in a=[],r)Object.prototype.hasOwnProperty.call(r,o)&&a.push([r[o],o]);if(!a.length)for(o in r=n)Object.prototype.hasOwnProperty.call(r,o)&&a.push([r[o],o]);return a.sort(function(e,t){return e[0]-t[0]||n[e[1]]-n[t[1]]}),t[a.pop()[1]]}(e.slice(0,1024));var l=0,c=0,u=0,h=0,d=0,f=o.charCodeAt(0),p=!1,A=0;e=e.replace(/\r\n/gm,"\n");var g,v,m=null!=i.dateNF?(g=i.dateNF,v=(v="number"==typeof g?I._table[g]:g).replace(R,"(\\d+)"),new RegExp("^"+v+"$")):null;function b(){var t=e.slice(h,d),n={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)n.t="z";else if(i.raw)n.t="s",n.v=t;else if(0===t.trim().length)n.t="s",n.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(n.t="s",n.v=t.slice(2,-1).replace(/""/g,'"')):1!=t.length?(n.t="n",n.f=t.slice(1)):(n.t="s",n.v=t);else if("TRUE"==t)n.t="b",n.v=!0;else if("FALSE"==t)n.t="b",n.v=!1;else if(isNaN(u=se(t)))if(!isNaN(le(t).getDate())||m&&t.match(m)){n.z=i.dateNF||I._table[14];var r=0;m&&t.match(m)&&(t=function(e,t,n){var r=-1,i=-1,o=-1,a=-1,s=-1,l=-1;(t.match(R)||[]).forEach(function(e,t){var c=parseInt(n[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":r=c;break;case"d":o=c;break;case"h":a=c;break;case"s":l=c;break;case"m":a>=0?s=c:i=c}}),l>=0&&-1==s&&i>=0&&(s=i,i=-1);var c=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var u=("00"+(a>=0?a:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==a&&-1==s&&-1==l?c:-1==r&&-1==i&&-1==o?u:c+"T"+u}(0,i.dateNF,t.match(m)||[]),r=1),i.cellDates?(n.t="d",n.v=re(t,r)):(n.t="n",n.v=X(re(t,r))),!1!==i.cellText&&(n.w=I.format(n.z,n.v instanceof Date?X(n.v):n.v)),i.cellNF||delete n.z}else n.t="s",n.v=t;else n.t="n",!1!==i.cellText&&(n.w=t),n.v=u;if("z"==n.t||(i.dense?(a[l]||(a[l]=[]),a[l][c]=n):a[nn({c:c,r:l})]=n),h=d+1,s.e.c<c&&(s.e.c=c),s.e.r<l&&(s.e.r=l),A==f)++c;else if(c=0,++l,i.sheetRows&&i.sheetRows<=l)return!0}e:for(;d<e.length;++d)switch(A=e.charCodeAt(d)){case 34:p=!p;break;case f:case 10:case 13:if(!p&&b())break e}return d-h>0&&b(),a["!ref"]=on(s),a}function i(t,n){return n&&n.PRN?"sep="==t.slice(0,4)?r(t,n):t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?r(t,n):hn(function(t,n){var r=n||{},i=[];if(!t||0===t.length)return i;for(var o=t.split(/[\r\n]/),a=o.length-1;a>=0&&0===o[a].length;)--a;for(var s=10,l=0,c=0;c<=a;++c)-1==(l=o[c].indexOf(" "))?l=o[c].length:l++,s=Math.max(s,l);for(c=0;c<=a;++c){i[c]=[];var u=0;for(e(o[c].slice(0,s).trim(),i,c,u,r),u=1;u<=(o[c].length-s)/10+1;++u)e(o[c].slice(s+10*(u-1),s+10*u).trim(),i,c,u,r)}return r.sheetRows&&(i=i.slice(0,r.sheetRows)),i}(t,n),n):r(t,n)}function o(e,t){var n="",r="string"==t.type?[0,0,0,0]:su(e,t);switch(t.type){case"base64":n=b.decode(e);break;case"binary":n=e;break;case"buffer":n=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!=typeof cptable?cptable.utils.decode(t.codepage,e):e.toString("binary");break;case"array":n=ie(e);break;case"string":n=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]?n=Ue(n.slice(3)):"binary"==t.type&&"undefined"!=typeof cptable&&t.codepage&&(n=cptable.utils.decode(t.codepage,cptable.utils.encode(1252,n))),"socialcalc:version:"==n.slice(0,19)?Gi.to_sheet("string"==t.type?n:Ue(n),t):i(n,t)}return{to_workbook:function(e,t){return cn(o(e,t),t)},to_sheet:o,from_sheet:function(e){for(var t,n=[],r=an(e["!ref"]),i=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){for(var a=[],s=r.s.c;s<=r.e.c;++s){var l=nn({r:o,c:s});if((t=i?(e[o]||[])[s]:e[l])&&null!=t.v){for(var c=(t.w||(ln(t),t.w)||"").slice(0,10);c.length<10;)c+=" ";a.push(c+(0===s?" ":""))}else a.push(" ")}n.push(a.join(""))}return n.join("\n")}}}();var Xi=function(){function e(e,t){if(!e)return e;var n=t||{};null!=y&&null==n.dense&&(n.dense=y);var r=n.dense?[]:{},i="Sheet1",o=0,l={},c=[i],u={s:{r:0,c:0},e:{r:0,c:0}},h=n.sheetRows||0;if(2==e[2])n.Enum=a;else if(26==e[2])n.Enum=s;else{if(14!=e[2])throw new Error("Unrecognized LOTUS BOF "+e[2]);n.Enum=s,n.qpro=!0,e.l=0}return function(e,t,n){if(e){Ut(e,e.l||0);for(var r=n.Enum||a;e.l<e.length;){var i=e.read_shift(2),o=r[i]||r[255],s=e.read_shift(2),l=e.l+s,c=(o.f||Qt)(e,s,n);if(e.l=l,t(c,o.n,i))return}}}(e,function(t,a,s){if(2==e[2])switch(s){case 0:n.vers=t,t>=4096&&(n.qpro=!0);break;case 6:u=t;break;case 15:n.qpro||(t[1].v=t[1].v.slice(1));case 13:case 14:case 16:case 51:14==s&&112==(112&t[2])&&(15&t[2])>1&&(15&t[2])<15&&(t[1].z=n.dateNF||I._table[14],n.cellDates&&(t[1].t="d",t[1].v=q(t[1].v))),n.dense?(r[t[0].r]||(r[t[0].r]=[]),r[t[0].r][t[0].c]=t[1]):r[nn(t[0])]=t[1]}else switch(s){case 22:t[1].v=t[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(t[3]>o&&(r["!ref"]=on(u),l[i]=r,r=n.dense?[]:{},u={s:{r:0,c:0},e:{r:0,c:0}},o=t[3],i="Sheet"+(o+1),c.push(i)),h>0&&t[0].r>=h)break;n.dense?(r[t[0].r]||(r[t[0].r]=[]),r[t[0].r][t[0].c]=t[1]):r[nn(t[0])]=t[1],u.e.c<t[0].c&&(u.e.c=t[0].c),u.e.r<t[0].r&&(u.e.r=t[0].r)}},n),r["!ref"]=on(u),l[i]=r,{SheetNames:c,Sheets:l}}function t(e,t,n){var r=[{c:0,r:0},{t:"n",v:0},0];return n.qpro&&20768!=n.vers?(r[0].c=e.read_shift(1),e.l++,r[0].r=e.read_shift(2),e.l+=2):(r[2]=e.read_shift(1),r[0].c=e.read_shift(2),r[0].r=e.read_shift(2)),r}function n(e,n,r){var i=e.l+n,o=t(e,0,r);if(o[1].t="s",20768==r.vers){e.l++;var a=e.read_shift(1);return o[1].v=e.read_shift(a,"utf8"),o}return r.qpro&&e.l++,o[1].v=e.read_shift(i-e.l,"cstr"),o}function r(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function i(e,t){var n=r(e),i=e.read_shift(4),o=e.read_shift(4),a=e.read_shift(2);if(65535==a)return n[1].v=0,n;var s=32768&a;return a=(32767&a)-16446,n[1].v=(2*s-1)*((a>0?o<<a:o>>>-a)+(a>-32?i<<a+32:i>>>-(a+32))),n}function o(e,t){var n=r(e),i=e.read_shift(8,"f");return n[1].v=i,n}var a={0:{n:"BOF",f:Zr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e){var t={s:{c:0,r:0},e:{c:0,r:0}};return t.s.c=e.read_shift(2),t.s.r=e.read_shift(2),t.e.c=e.read_shift(2),t.e.r=e.read_shift(2),65535==t.s.c&&(t.s.c=t.e.c=t.s.r=t.e.r=0),t}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,n,r){var i=t(e,0,r);return i[1].v=e.read_shift(2,"i"),i}},14:{n:"NUMBER",f:function(e,n,r){var i=t(e,0,r);return i[1].v=e.read_shift(8,"f"),i}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(e,n,r){var i=e.l+n,o=t(e,0,r);if(o[1].v=e.read_shift(8,"f"),r.qpro)e.l=i;else{var a=e.read_shift(2);e.l+=a}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:n},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},255:{n:"",f:Qt}},s={0:{n:"BOF"},1:{n:"EOF"},3:{n:"??"},4:{n:"??"},5:{n:"??"},6:{n:"??"},7:{n:"??"},9:{n:"??"},10:{n:"??"},11:{n:"??"},12:{n:"??"},14:{n:"??"},15:{n:"??"},16:{n:"??"},17:{n:"??"},18:{n:"??"},19:{n:"??"},21:{n:"??"},22:{n:"LABEL16",f:function(e,t){var n=r(e);return n[1].t="s",n[1].v=e.read_shift(t-4,"cstr"),n}},23:{n:"NUMBER17",f:i},24:{n:"NUMBER18",f:function(e,t){var n=r(e);n[1].v=e.read_shift(2);var i=n[1].v>>1;if(1&n[1].v)switch(7&i){case 1:i=500*(i>>3);break;case 2:i=(i>>3)/20;break;case 4:i=(i>>3)/2e3;break;case 6:i=(i>>3)/16;break;case 7:i=(i>>3)/64;break;default:throw"unknown NUMBER_18 encoding "+(7&i)}return n[1].v=i,n}},25:{n:"FORMULA19",f:function(e,t){var n=i(e);return e.l+=t-14,n}},26:{n:"??"},27:{n:"??"},28:{n:"??"},29:{n:"??"},30:{n:"??"},31:{n:"??"},33:{n:"??"},37:{n:"NUMBER25",f:function(e,t){var n=r(e),i=e.read_shift(4);return n[1].v=i>>6,n}},39:{n:"NUMBER27",f:o},40:{n:"FORMULA28",f:function(e,t){var n=o(e);return e.l+=t-10,n}},255:{n:"",f:Qt}};return{to_workbook:function(t,n){switch(n.type){case"base64":return e(B(b.decode(t)),n);case"binary":return e(B(t),n);case"buffer":case"array":return e(t,n)}throw"Unsupported type "+n.type}}}();var Zi=function(){var e=Ze("t"),t=Ze("rPr");function n(n){var r=n.match(e);if(!r)return{t:"s",v:""};var i={t:"s",v:De(r[1])},o=n.match(t);return o&&(i.s=function(e){var t={},n=e.match(we),r=0,i=!1;if(n)for(;r!=n.length;++r){var o=Se(n[r]);switch(o[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!o.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==o.val)break;t.cp=u[parseInt(o.val,10)];break;case"<outline":if(!o.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=o.val;break;case"<sz":t.sz=o.val;break;case"<strike":if(!o.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!o.val)break;switch(o.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting"}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==o.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==o.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":o.rgb&&(t.color=o.rgb.slice(2,8));break;case"<family":t.family=o.val;break;case"<vertAlign":t.valign=o.val;break;case"<scheme":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(47!==o[0].charCodeAt(1)&&!i)throw new Error("Unrecognized rich format "+o[0])}}return t}(o[1])),i}var r=/<(?:\w+:)?r>/g,i=/<\/(?:\w+:)?r>/;return function(e){return e.replace(r,"").split(i).map(n).filter(function(e){return e.v})}}(),$i=function(){var e=/(\r\n|\n)/g;function t(t){var n=[[],t.v,[]];return t.v?(t.s&&function(e,t,n){var r=[];e.u&&r.push("text-decoration: underline;"),e.uval&&r.push("text-underline-style:"+e.uval+";"),e.sz&&r.push("font-size:"+e.sz+"pt;"),e.outline&&r.push("text-effect: outline;"),e.shadow&&r.push("text-shadow: auto;"),t.push('<span style="'+r.join("")+'">'),e.b&&(t.push("<b>"),n.push("</b>")),e.i&&(t.push("<i>"),n.push("</i>")),e.strike&&(t.push("<s>"),n.push("</s>"));var i=e.valign||"";"superscript"==i||"super"==i?i="sup":"subscript"==i&&(i="sub"),""!=i&&(t.push("<"+i+">"),n.push("</"+i+">")),n.push("</span>")}(t.s,n[0],n[2]),n[0].join("")+n[1].replace(e,"<br/>")+n[2].join("")):""}return function(e){return e.map(t).join("")}}(),Ki=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Ji=/<(?:\w+:)?r>/,qi=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function eo(e,t){var n=!t||t.cellHTML,r={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(r.t=De(Ue(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),r.r=Ue(e),n&&(r.h=Re(r.t))):e.match(Ji)&&(r.r=Ue(e),r.t=De(Ue((e.replace(qi,"").match(Ki)||[]).join("").replace(we,""))),n&&(r.h=$i(Zi(r.r)))),r):{t:""}}var to=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,no=/<(?:\w+:)?(?:si|sstItem)>/g,ro=/<\/(?:\w+:)?(?:si|sstItem)>/;rr.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var io=/^\s|\s$|[\t\n\r]/;var oo=function(e,t){var n=!1;return null==t&&(n=!0,t=zt(15+4*e.t.length)),t.write_shift(1,0),pn(e.t,t),n?t.slice(0,t.l):t};function ao(e){var t=Vt();Gt(t,"BrtBeginSst",function(e,t){return t||(t=zt(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}(e));for(var n=0;n<e.length;++n)Gt(t,"BrtSSTItem",oo(e[n]));return Gt(t,"BrtEndSst"),t.end()}function so(e){if("undefined"!=typeof cptable)return cptable.utils.encode(s,e);for(var t=[],n=e.split(""),r=0;r<n.length;++r)t[r]=n[r].charCodeAt(0);return t}function lo(e,t){var n={};return n.Major=e.read_shift(2),n.Minor=e.read_shift(2),t>=4&&(e.l+=t-4),n}function co(e){for(var t=e.read_shift(4),n=e.l+t-4,r={},i=e.read_shift(4),o=[];i-- >0;)o.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(r.name=e.read_shift(0,"lpp4"),r.comps=o,e.l!=n)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+n);return r}function uo(e){var t=function(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=lo(e,4),t.U=lo(e,4),t.W=lo(e,4),t}(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function ho(e,t){var n=e.l+t,r={};r.Flags=63&e.read_shift(4),e.l+=4,r.AlgID=e.read_shift(4);var i=!1;switch(r.AlgID){case 26126:case 26127:case 26128:i=36==r.Flags;break;case 26625:i=4==r.Flags;break;case 0:i=16==r.Flags||4==r.Flags||36==r.Flags;break;default:throw"Unrecognized encryption algorithm: "+r.AlgID}if(!i)throw new Error("Encryption Flags/AlgID mismatch");return r.AlgIDHash=e.read_shift(4),r.KeySize=e.read_shift(4),r.ProviderType=e.read_shift(4),e.l+=8,r.CSPName=e.read_shift(n-e.l>>1,"utf16le"),e.l=n,r}function fo(e,t){var n={},r=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),n.VerifierHash=e.slice(e.l,r),e.l=r,n}function po(e){var t=lo(e);switch(t.Minor){case 2:return[t.Minor,function(e){if(36!=(63&e.read_shift(4)))throw new Error("EncryptionInfo mismatch");var t=e.read_shift(4),n=ho(e,t),r=fo(e,e.length-e.l);return{t:"Std",h:n,v:r}}(e)];case 3:return[t.Minor,function(){throw new Error("File is password-protected: ECMA-376 Extensible")}()];case 4:return[t.Minor,function(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var n={};return e.read_shift(e.length-e.l,"utf8").replace(we,function(e){var r=Se(e);switch(Be(r[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":t.forEach(function(e){n[e]=r[e]});break;case"<dataIntegrity":n.encryptedHmacKey=r.encryptedHmacKey,n.encryptedHmacValue=r.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":n.uri=r.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":n.encs.push(r);break;default:throw r[0]}}),n}(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function Ao(e){var t,n,r,i=0,o=so(e),a=o.length+1;for((t=C(a))[0]=o.length,n=1;n!=a;++n)t[n]=o[n-1];for(n=a-1;n>=0;--n)r=t[n],i=((0==(16384&i)?0:1)|i<<1&32767)^r;return 52811^i}var go,vo,mo,yo,bo=(go=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],vo=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],mo=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],yo=function(e,t){return 255&((n=e^t)/2|128*n);var n},function(e){for(var t,n,r,i=so(e),o=function(e){for(var t=vo[e.length-1],n=104,r=e.length-1;r>=0;--r)for(var i=e[r],o=0;7!=o;++o)64&i&&(t^=mo[n]),i*=2,--n;return t}(i),a=i.length,s=C(16),l=0;16!=l;++l)s[l]=0;for(1==(1&a)&&(t=o>>8,s[a]=yo(go[0],t),--a,t=255&o,n=i[i.length-1],s[a]=yo(n,t));a>0;)t=o>>8,s[--a]=yo(i[a],t),t=255&o,s[--a]=yo(i[a],t);for(a=15,r=15-i.length;r>0;)t=o>>8,s[a]=yo(go[r],t),--r,t=255&o,s[--a]=yo(i[a],t),--a,--r;return s}),_o=function(e){var t=0,n=bo(e);return function(e){var r=function(e,t,n,r,i){var o,a;for(i||(i=t),r||(r=bo(e)),o=0;o!=t.length;++o)a=t[o],a=255&((a^=r[n])>>5|a<<3),i[o]=a,++n;return[i,n,r]}("",e,t,n);return t=r[1],r[0]}};function wo(e,t,n){var r=n||{};return r.Info=e.read_shift(2),e.l-=2,1===r.Info?r.Data=function(e){var t={},n=t.EncryptionVersionInfo=lo(e,4);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}(e):r.Data=function(e,t){var n={},r=n.EncryptionVersionInfo=lo(e,4);if(t-=4,2!=r.Minor)throw new Error("unrecognized minor version code: "+r.Minor);if(r.Major>4||r.Major<2)throw new Error("unrecognized major version code: "+r.Major);n.Flags=e.read_shift(4),t-=4;var i=e.read_shift(4);return t-=4,n.EncryptionHeader=ho(e,i),t-=i,n.EncryptionVerifier=fo(e,t),n}(e,t),r}var xo=function(){function e(e,n){switch(n.type){case"base64":return t(b.decode(e),n);case"binary":return t(e,n);case"buffer":return t(e.toString("binary"),n);case"array":return t(ie(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=(t||{}).dense?[]:{};if(!e.match(/\\trowd/))throw new Error("RTF missing table");return n["!ref"]=on({s:{c:0,r:0},e:{c:0,r:0}}),n}return{to_workbook:function(t,n){return cn(e(t,n),n)},to_sheet:e,from_sheet:function(e){for(var t,n=["{\\rtf1\\ansi"],r=an(e["!ref"]),i=Array.isArray(e),o=r.s.r;o<=r.e.r;++o){n.push("\\trowd\\trautofit1");for(var a=r.s.c;a<=r.e.c;++a)n.push("\\cellx"+(a+1));for(n.push("\\pard\\intbl"),a=r.s.c;a<=r.e.c;++a){var s=nn({r:o,c:a});(t=i?(e[o]||[])[a]:e[s])&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(ln(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}}}();function Co(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function So(e,t){if(0===t)return e;var n,r,i=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(t,n,r),o=Math.min(t,n,r),a=i-o;if(0===a)return[0,0,t];var s,l=0,c=i+o;switch(s=a/(c>1?2-c:c),i){case t:l=((n-r)/a+6)%6;break;case n:l=(r-t)/a+2;break;case r:l=(t-n)/a+4}return[l/6,s,c/2]}((r=(n=e).slice("#"===n[0]?1:0).slice(0,6),[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]));return i[2]=t<0?i[2]*(1+t):1-(1-i[2])*(1-t),Co(function(e){var t,n=e[0],r=e[1],i=e[2],o=2*r*(i<.5?i:1-i),a=i-o/2,s=[a,a,a],l=6*n;if(0!==r)switch(0|l){case 0:case 6:t=o*l,s[0]+=o,s[1]+=t;break;case 1:t=o*(2-l),s[0]+=t,s[1]+=o;break;case 2:t=o*(l-2),s[1]+=o,s[2]+=t;break;case 3:t=o*(4-l),s[1]+=t,s[2]+=o;break;case 4:t=o*(l-4),s[2]+=o,s[0]+=t;break;case 5:t=o*(6-l),s[2]+=t,s[0]+=o}for(var c=0;3!=c;++c)s[c]=Math.round(255*s[c]);return s}(i))}var Bo=6,ko=15,To=1,Eo=Bo;function Mo(e){return Math.floor((e+Math.round(128/Eo)/256)*Eo)}function Do(e){return Math.floor((e-5)/Eo*100+.5)/100}function Oo(e){return Math.round((e*Eo+5)/Eo*256)/256}function Io(e){return Oo(Do(Mo(e)))}function Lo(e){var t=Math.abs(e-Io(e)),n=Eo;if(t>.005)for(Eo=To;Eo<ko;++Eo)Math.abs(e-Io(e))<=t&&(t=Math.abs(e-Io(e)),n=Eo);Eo=n}function Po(e){e.width?(e.wpx=Mo(e.width),e.wch=Do(e.wpx),e.MDW=Eo):e.wpx?(e.wch=Do(e.wpx),e.width=Oo(e.wch),e.MDW=Eo):"number"==typeof e.wch&&(e.width=Oo(e.wch),e.wpx=Mo(e.width),e.MDW=Eo),e.customWidth&&delete e.customWidth}var Fo=96;function Ro(e){return 96*e/Fo}function No(e){return e*Fo/96}var Ho={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};var jo=["numFmtId","fillId","fontId","borderId","xfId"],Uo=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var Qo,zo,Yo,Vo,Go,Wo=(Qo=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,zo=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,Yo=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,Vo=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,Go=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/,function(e,t,n){var r,i={};return e?((r=(e=e.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(Qo))&&function(e,t,n){t.NumberFmt=[];for(var r=z(I._table),i=0;i<r.length;++i)t.NumberFmt[r[i]]=I._table[r[i]];var o=e[0].match(we);if(o)for(i=0;i<o.length;++i){var a=Se(o[i]);switch(Be(a[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":var s=De(Ue(a.formatCode)),l=parseInt(a.numFmtId,10);if(t.NumberFmt[l]=s,l>0){if(l>392){for(l=392;l>60&&null!=t.NumberFmt[l];--l);t.NumberFmt[l]=s}I.load(s,l)}break;case"</numFmt>":break;default:if(n.WTF)throw new Error("unrecognized "+a[0]+" in numFmts")}}}(r,i,n),(r=e.match(Vo))&&function(e,t,n,r){t.Fonts=[];var i={},o=!1;(e[0].match(we)||[]).forEach(function(e){var a=Se(e);switch(Be(a[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":t.Fonts.push(i),i={};break;case"<name":a.val&&(i.name=Ue(a.val));break;case"<name/>":case"</name>":break;case"<b":i.bold=a.val?je(a.val):1;break;case"<b/>":i.bold=1;break;case"<i":i.italic=a.val?je(a.val):1;break;case"<i/>":i.italic=1;break;case"<u":switch(a.val){case"none":i.underline=0;break;case"single":i.underline=1;break;case"double":i.underline=2;break;case"singleAccounting":i.underline=33;break;case"doubleAccounting":i.underline=34}break;case"<u/>":i.underline=1;break;case"<strike":i.strike=a.val?je(a.val):1;break;case"<strike/>":i.strike=1;break;case"<outline":i.outline=a.val?je(a.val):1;break;case"<outline/>":i.outline=1;break;case"<shadow":i.shadow=a.val?je(a.val):1;break;case"<shadow/>":i.shadow=1;break;case"<condense":i.condense=a.val?je(a.val):1;break;case"<condense/>":i.condense=1;break;case"<extend":i.extend=a.val?je(a.val):1;break;case"<extend/>":i.extend=1;break;case"<sz":a.val&&(i.sz=+a.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":a.val&&(i.vertAlign=a.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":a.val&&(i.family=parseInt(a.val,10));break;case"<family/>":case"</family>":break;case"<scheme":a.val&&(i.scheme=a.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if("1"==a.val)break;a.codepage=u[parseInt(a.val,10)];break;case"<color":if(i.color||(i.color={}),a.auto&&(i.color.auto=je(a.auto)),a.rgb)i.color.rgb=a.rgb.slice(-6);else if(a.indexed){i.color.index=parseInt(a.indexed,10);var s=Zn[i.color.index];if(81==i.color.index&&(s=Zn[1]),!s)throw new Error(e);i.color.rgb=s[0].toString(16)+s[1].toString(16)+s[2].toString(16)}else a.theme&&(i.color.theme=parseInt(a.theme,10),a.tint&&(i.color.tint=parseFloat(a.tint)),a.theme&&n.themeElements&&n.themeElements.clrScheme&&(i.color.rgb=So(n.themeElements.clrScheme[i.color.theme].rgb,i.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":o=!0;break;case"</AlternateContent>":o=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+a[0]+" in fonts")}})}(r,i,t,n),(r=e.match(Yo))&&function(e,t,n,r){t.Fills=[];var i={},o=!1;(e[0].match(we)||[]).forEach(function(e){var n=Se(e);switch(Be(n[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":i={},t.Fills.push(i);break;case"</fill>":case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":t.Fills.push(i),i={};break;case"<patternFill":case"<patternFill>":n.patternType&&(i.patternType=n.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":i.bgColor||(i.bgColor={}),n.indexed&&(i.bgColor.indexed=parseInt(n.indexed,10)),n.theme&&(i.bgColor.theme=parseInt(n.theme,10)),n.tint&&(i.bgColor.tint=parseFloat(n.tint)),n.rgb&&(i.bgColor.rgb=n.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":i.fgColor||(i.fgColor={}),n.theme&&(i.fgColor.theme=parseInt(n.theme,10)),n.tint&&(i.fgColor.tint=parseFloat(n.tint)),null!=n.rgb&&(i.fgColor.rgb=n.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":case"</stop>":break;case"<color":case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+n[0]+" in fills")}})}(r,i,0,n),(r=e.match(Go))&&function(e,t,n,r){t.Borders=[];var i={},o=!1;(e[0].match(we)||[]).forEach(function(e){var n=Se(e);switch(Be(n[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":i={},n.diagonalUp&&(i.diagonalUp=je(n.diagonalUp)),n.diagonalDown&&(i.diagonalDown=je(n.diagonalDown)),t.Borders.push(i);break;case"</border>":case"<left/>":break;case"<left":case"<left>":case"</left>":case"<right/>":break;case"<right":case"<right>":case"</right>":case"<top/>":break;case"<top":case"<top>":case"</top>":case"<bottom/>":break;case"<bottom":case"<bottom>":case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":break;case"<start":case"<start>":case"<start/>":case"</start>":break;case"<end":case"<end>":case"<end/>":case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+n[0]+" in borders")}})}(r,i,0,n),(r=e.match(zo))&&function(e,t,n){var r;t.CellXf=[];var i=!1;(e[0].match(we)||[]).forEach(function(e){var o=Se(e),a=0;switch(Be(o[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(delete(r=o)[0],a=0;a<jo.length;++a)r[jo[a]]&&(r[jo[a]]=parseInt(r[jo[a]],10));for(a=0;a<Uo.length;++a)r[Uo[a]]&&(r[Uo[a]]=je(r[Uo[a]]));if(r.numFmtId>392)for(a=392;a>60;--a)if(t.NumberFmt[r.numFmtId]==t.NumberFmt[a]){r.numFmtId=a;break}t.CellXf.push(r);break;case"</xf>":break;case"<alignment":case"<alignment/>":var s={};o.vertical&&(s.vertical=o.vertical),o.horizontal&&(s.horizontal=o.horizontal),null!=o.textRotation&&(s.textRotation=o.textRotation),o.indent&&(s.indent=o.indent),o.wrapText&&(s.wrapText=je(o.wrapText)),r.alignment=s;break;case"</alignment>":case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":i=!0;break;case"</AlternateContent>":i=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+o[0]+" in cellXfs")}})}(r,i,n),i):i}),Xo=it("styleSheet",null,{xmlns:at.main[0],"xmlns:vt":at.vt});function Zo(e,t){var n,r=[be,Xo];return e.SSF&&null!=(n=function(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var r=n[0];r<=n[1];++r)null!=e[r]&&(t[t.length]=it("numFmt",null,{numFmtId:r,formatCode:Le(e[r])}))}),1===t.length?"":(t[t.length]="</numFmts>",t[0]=it("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=function(e){var t=[];return t[t.length]=it("cellXfs",null),e.forEach(function(e){t[t.length]=it("xf",null,e)}),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=it("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function $o(e,t,n){n||(n=zt(6+4*t.length)),n.write_shift(2,e),pn(t,n);var r=n.length>n.l?n.slice(0,n.l):n;return null==n.l&&(n.l=n.length),r}function Ko(e,t){t||(t=zt(153)),t.write_shift(2,20*e.sz),function(e,t){t||(t=zt(2));var n=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t.write_shift(1,n),t.write_shift(1,0)}(e,t),t.write_shift(2,e.bold?700:400);var n=0;"superscript"==e.vertAlign?n=1:"subscript"==e.vertAlign&&(n=2),t.write_shift(2,n),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),Ln(e.color,t);var r=0;return"major"==e.scheme&&(r=1),"minor"==e.scheme&&(r=2),t.write_shift(1,r),pn(e.name,t),t.length>t.l?t.slice(0,t.l):t}rr.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";var Jo=V(["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"]),qo=Qt;function ea(e,t){t||(t=zt(84));var n=Jo[e.patternType];null==n&&(n=40),t.write_shift(4,n);var r=0;if(40!=n)for(Ln({auto:1},t),Ln({auto:1},t);r<12;++r)t.write_shift(4,0);else{for(;r<4;++r)t.write_shift(4,0);for(;r<12;++r)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function ta(e,t,n){n||(n=zt(16)),n.write_shift(2,t||0),n.write_shift(2,e.numFmtId||0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(1,0),n.write_shift(1,0);return n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(1,0),n}function na(e,t){return t||(t=zt(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var ra=Qt;function ia(e){var t;Gt(e,"BrtBeginBorders",dn(1)),Gt(e,"BrtBorder",(t||(t=zt(51)),t.write_shift(1,0),na(0,t),na(0,t),na(0,t),na(0,t),na(0,t),t.length>t.l?t.slice(0,t.l):t)),Gt(e,"BrtEndBorders")}function oa(e){var t,n;Gt(e,"BrtBeginStyles",dn(1)),Gt(e,"BrtStyle",(t={xfId:0,builtinId:0,name:"Normal"},n||(n=zt(52)),n.write_shift(4,t.xfId),n.write_shift(2,1),n.write_shift(1,+t.builtinId),n.write_shift(1,0),Cn(t.name||"",n),n.length>n.l?n.slice(0,n.l):n)),Gt(e,"BrtEndStyles")}function aa(e){Gt(e,"BrtBeginTableStyles",function(e,t,n){var r=zt(2052);return r.write_shift(4,e),Cn(t,r),Cn(n,r),r.length>r.l?r.slice(0,r.l):r}(0,"TableStyleMedium9","PivotStyleMedium4")),Gt(e,"BrtEndTableStyles")}function sa(e,t){var n=Vt();return Gt(n,"BrtBeginStyleSheet"),function(e,t){if(t){var n=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var r=e[0];r<=e[1];++r)null!=t[r]&&++n}),0!=n&&(Gt(e,"BrtBeginFmts",dn(n)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var r=n[0];r<=n[1];++r)null!=t[r]&&Gt(e,"BrtFmt",$o(r,t[r]))}),Gt(e,"BrtEndFmts"))}}(n,e.SSF),function(e){Gt(e,"BrtBeginFonts",dn(1)),Gt(e,"BrtFont",Ko({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Gt(e,"BrtEndFonts")}(n),function(e){Gt(e,"BrtBeginFills",dn(2)),Gt(e,"BrtFill",ea({patternType:"none"})),Gt(e,"BrtFill",ea({patternType:"gray125"})),Gt(e,"BrtEndFills")}(n),ia(n),function(e){Gt(e,"BrtBeginCellStyleXFs",dn(1)),Gt(e,"BrtXF",ta({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Gt(e,"BrtEndCellStyleXFs")}(n),function(e,t){Gt(e,"BrtBeginCellXFs",dn(t.length)),t.forEach(function(t){Gt(e,"BrtXF",ta(t,0))}),Gt(e,"BrtEndCellXFs")}(n,t.cellXfs),oa(n),function(e){Gt(e,"BrtBeginDXFs",dn(0)),Gt(e,"BrtEndDXFs")}(n),aa(n),Gt(n,"BrtEndStyleSheet"),n.end()}rr.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var la=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];var ca=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,ua=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,ha=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function da(e,t,n){var r;t.themeElements={},[["clrScheme",ca,function(e,t,n){t.themeElements.clrScheme=[];var r={};(e[0].match(we)||[]).forEach(function(e){var i=Se(e);switch(i[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":r.rgb=i.val;break;case"<a:sysClr":r.rgb=i.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===i[0].charAt(1)?(t.themeElements.clrScheme[la.indexOf(i[0])]=r,r={}):r.name=i[0].slice(3,i[0].length-1);break;default:if(n&&n.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}})}],["fontScheme",ua,function(){}],["fmtScheme",ha,function(){}]].forEach(function(i){if(!(r=e.match(i[1])))throw new Error(i[0]+" not found in themeElements");i[2](r,t,n)})}var fa=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function pa(e,t){if(!e||0===e.length)return pa(Aa());var n,r={};if(!(n=e.match(fa)))throw new Error("themeElements not found in theme");return da(n[0],r,t),r.raw=e,r}function Aa(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[be];return n[n.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',n[n.length]="<a:themeElements>",n[n.length]='<a:clrScheme name="Office">',n[n.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',n[n.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',n[n.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',n[n.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',n[n.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',n[n.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',n[n.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',n[n.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',n[n.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',n[n.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',n[n.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',n[n.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',n[n.length]="</a:clrScheme>",n[n.length]='<a:fontScheme name="Office">',n[n.length]="<a:majorFont>",n[n.length]='<a:latin typeface="Cambria"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Times New Roman"/>',n[n.length]='<a:font script="Hebr" typeface="Times New Roman"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="MoolBoran"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Times New Roman"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:majorFont>",n[n.length]="<a:minorFont>",n[n.length]='<a:latin typeface="Calibri"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Arial"/>',n[n.length]='<a:font script="Hebr" typeface="Arial"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="DaunPenh"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Arial"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:minorFont>",n[n.length]="</a:fontScheme>",n[n.length]='<a:fmtScheme name="Office">',n[n.length]="<a:fillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="1"/>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="0"/>',n[n.length]="</a:gradFill>",n[n.length]="</a:fillStyleLst>",n[n.length]="<a:lnStyleLst>",n[n.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]="</a:lnStyleLst>",n[n.length]="<a:effectStyleLst>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',n[n.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',n[n.length]="</a:effectStyle>",n[n.length]="</a:effectStyleLst>",n[n.length]="<a:bgFillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]="</a:bgFillStyleLst>",n[n.length]="</a:fmtScheme>",n[n.length]="</a:themeElements>",n[n.length]="<a:objectDefaults>",n[n.length]="<a:spDef>",n[n.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',n[n.length]="</a:spDef>",n[n.length]="<a:lnDef>",n[n.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',n[n.length]="</a:lnDef>",n[n.length]="</a:objectDefaults>",n[n.length]="<a:extraClrSchemeLst/>",n[n.length]="</a:theme>",n.join("")}function ga(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=function(e,t){return Qt(e,t)}(e,4);break;case 2:t.xclrValue=si(e);break;case 3:t.xclrValue=function(e){return e.read_shift(4)}(e);break;case 4:e.l+=4}return e.l+=8,t}function va(e){var t=e.read_shift(2),n=e.read_shift(2)-4,r=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:r[1]=ga(e);break;case 6:r[1]=function(e,t){return Qt(e,t)}(e,n);break;case 14:case 15:r[1]=e.read_shift(1===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+n)}return r}rr.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",rr.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";var ma=1024;function ya(e,t){for(var n=[21600,21600],r=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),i=[it("xml",null,{"xmlns:v":st.v,"xmlns:o":st.o,"xmlns:x":st.x,"xmlns:mv":st.mv}).replace(/\/>/,">"),it("o:shapelayout",it("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),it("v:shapetype",[it("v:stroke",null,{joinstyle:"miter"}),it("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:n.join(","),path:r})];ma<1e3*e;)ma+=1e3;return t.forEach(function(e){var t=tn(e[0]),n={color2:"#BEFF82",type:"gradient"};"gradient"==n.type&&(n.angle="-180");var r=it("v:fill","gradient"==n.type?it("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,n);++ma,i=i.concat(["<v:shape"+rt({id:"_x0000_s"+ma,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",r,it("v:shadow",null,{on:"t",obscured:"t"}),it("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",nt("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),nt("x:AutoFill","False"),nt("x:Row",String(t.r)),nt("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),i.push("</xml>"),i.join("")}rr.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";var ba=it("comments",null,{xmlns:at.main[0]});var _a=fn;function wa(e){var t=Vt(),n=[];return Gt(t,"BrtBeginComments"),Gt(t,"BrtBeginCommentAuthors"),e.forEach(function(e){e[1].forEach(function(e){n.indexOf(e.a)>-1||(n.push(e.a.slice(0,54)),Gt(t,"BrtCommentAuthor",pn(e.a.slice(0,54))))})}),Gt(t,"BrtEndCommentAuthors"),Gt(t,"BrtBeginCommentList"),e.forEach(function(e){e[1].forEach(function(r){r.iauthor=n.indexOf(r.a);var i,o,a={s:tn(e[0]),e:tn(e[0])};Gt(t,"BrtBeginComment",(i=[a,r],null==o&&(o=zt(36)),o.write_shift(4,i[1].iauthor),Dn(i[0],o),o.write_shift(4,0),o.write_shift(4,0),o.write_shift(4,0),o.write_shift(4,0),o)),r.t&&r.t.length>0&&Gt(t,"BrtCommentText",mn(r)),Gt(t,"BrtEndComment"),delete r.iauthor})}),Gt(t,"BrtEndCommentList"),Gt(t,"BrtEndComments"),t.end()}var xa="application/vnd.ms-office.vbaProject";var Ca=["xlsb","xlsm","xlam","biff8","xla"];rr.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",rr.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";var Sa=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,r,i){var o=!1,a=!1;0==r.length?a=!0:"["==r.charAt(0)&&(a=!0,r=r.slice(1,-1)),0==i.length?o=!0:"["==i.charAt(0)&&(o=!0,i=i.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,l=i.length>0?0|parseInt(i,10):0;return o?l+=t.c:--l,a?s+=t.r:--s,n+(o?"":"$")+en(l)+(a?"":"$")+Jt(s)}return function(r,i){return t=i,r.replace(e,n)}}(),Ba=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,ka=function(e,t){return e.replace(Ba,function(e,n,r,i,o,a){var s=qt(i)-(r?0:t.c),l=Kt(a)-(o?0:t.r);return n+"R"+(0==l?"":o?l+1:"["+l+"]")+"C"+(0==s?"":r?s+1:"["+s+"]")})};function Ta(e,t,n){var r=rn(t).s,i=tn(n);return function(e,t){return e.replace(Ba,function(e,n,r,i,o,a){return n+("$"==r?r+i:en(qt(i)+t.c))+("$"==o?o+a:Jt(Kt(a)+t.r))})}(e,{r:i.r-r.r,c:i.c-r.c})}function Ea(e){return e.replace(/_xlfn\./g,"")}function Ma(e){e.l+=1}function Da(e,t){var n=e.read_shift(1==t?1:2);return[16383&n,n>>14&1,n>>15&1]}function Oa(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return Ia(e);12==n.biff&&(r=4)}var i=e.read_shift(r),o=e.read_shift(r),a=Da(e,2),s=Da(e,2);return{s:{r:i,c:a[0],cRel:a[1],rRel:a[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function Ia(e){var t=Da(e,2),n=Da(e,2),r=e.read_shift(1),i=e.read_shift(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:i,cRel:n[1],rRel:n[2]}}}function La(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return function(e){var t=Da(e,2),n=e.read_shift(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}(e);var r=e.read_shift(n&&12==n.biff?4:2),i=Da(e,2);return{r:r,c:i[0],cRel:i[1],rRel:i[2]}}function Pa(e){return[e.read_shift(1),e.read_shift(1)]}function Fa(e,t){var n=[e.read_shift(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2}switch(n[0]){case 4:n[1]=Wr(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:n[1]=$n[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=On(e);break;case 2:n[1]=ri(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function Ra(e,t,n){for(var r=e.read_shift(12==n.biff?4:2),i=[],o=0;o!=r;++o)i.push((12==n.biff?Mn:fi)(e,8));return i}function Na(e,t,n){var r=0,i=0;12==n.biff?(r=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),r=1+e.read_shift(2)),n.biff>=2&&n.biff<8&&(--r,0==--i&&(i=256));for(var o=0,a=[];o!=r&&(a[o]=[]);++o)for(var s=0;s!=i;++s)a[o][s]=Fa(e,n.biff);return a}function Ha(e,t,n){return e.l+=2,[function(e){var t=e.read_shift(2),n=e.read_shift(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}(e)]}function ja(e){return e.l+=6,[]}var Ua=Ha,Qa=ja,za=ja,Ya=Ha;function Va(e){return e.l+=2,[Zr(e),1&e.read_shift(2)]}var Ga=Ha,Wa=Va,Xa=ja,Za=Ha,$a=Ha,Ka=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var Ja={1:{n:"PtgExp",f:function(e,t,n){return e.l++,n&&12==n.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(n&&2==n.biff?1:2)]}},2:{n:"PtgTbl",f:Qt},3:{n:"PtgAdd",f:Ma},4:{n:"PtgSub",f:Ma},5:{n:"PtgMul",f:Ma},6:{n:"PtgDiv",f:Ma},7:{n:"PtgPower",f:Ma},8:{n:"PtgConcat",f:Ma},9:{n:"PtgLt",f:Ma},10:{n:"PtgLe",f:Ma},11:{n:"PtgEq",f:Ma},12:{n:"PtgGe",f:Ma},13:{n:"PtgGt",f:Ma},14:{n:"PtgNe",f:Ma},15:{n:"PtgIsect",f:Ma},16:{n:"PtgUnion",f:Ma},17:{n:"PtgRange",f:Ma},18:{n:"PtgUplus",f:Ma},19:{n:"PtgUminus",f:Ma},20:{n:"PtgPercent",f:Ma},21:{n:"PtgParen",f:Ma},22:{n:"PtgMissArg",f:Ma},23:{n:"PtgStr",f:function(e,t,n){return e.l++,Jr(e,0,n)}},26:{n:"PtgSheet",f:function(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,$n[e.read_shift(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e.read_shift(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e.read_shift(2)}},31:{n:"PtgNum",f:function(e){return e.l++,On(e)}},32:{n:"PtgArray",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}},33:{n:"PtgFunc",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(n&&n.biff<=3?1:2);return[ys[i],ms[i],r]}},34:{n:"PtgFuncVar",f:function(e,t,n){var r=e[e.l++],i=e.read_shift(1),o=n&&n.biff<=3?[88==r?-1:0,e.read_shift(1)]:function(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[i,(0===o[0]?ms:vs)[o[1]]]}},35:{n:"PtgName",f:function(e,t,n){var r=e.read_shift(1)>>>5&3,i=!n||n.biff>=8?4:2,o=e.read_shift(i);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[r,0,o]}},36:{n:"PtgRef",f:function(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,La(e,0,n)]}},37:{n:"PtgArea",f:function(e,t,n){return[(96&e[e.l++])>>5,Oa(e,n.biff>=2&&n.biff,n)]}},38:{n:"PtgMemArea",f:function(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=n&&2==n.biff?3:4,[r,e.read_shift(n&&2==n.biff?1:2)]}},39:{n:"PtgMemErr",f:Qt},40:{n:"PtgMemNoMem",f:Qt},41:{n:"PtgMemFunc",f:function(e,t,n){return[e.read_shift(1)>>>5&3,e.read_shift(n&&2==n.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,n){var r=e.read_shift(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[r]}},43:{n:"PtgAreaErr",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}},44:{n:"PtgRefN",f:function(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,function(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return function(e){var t=e.read_shift(2),n=e.read_shift(1),r=(32768&t)>>15,i=(16384&t)>>14;return t&=16383,1==r&&t>=8192&&(t-=16384),1==i&&n>=128&&(n-=256),{r:t,c:n,cRel:i,rRel:r}}(e);var i=e.read_shift(r>=12?4:2),o=e.read_shift(2),a=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;i>524287;)i-=1048576;if(1==a)for(;o>8191;)o-=16384;return{r:i,c:o,cRel:a,rRel:s}}(e,0,n)]}},45:{n:"PtgAreaN",f:function(e,t,n){return[(96&e[e.l++])>>5,function(e,t,n){if(n.biff<8)return Ia(e);var r=e.read_shift(12==n.biff?4:2),i=e.read_shift(12==n.biff?4:2),o=Da(e,2),a=Da(e,2);return{s:{r:r,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:a[0],cRel:a[1],rRel:a[2]}}}(e,0,n)]}},46:{n:"PtgMemAreaN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},57:{n:"PtgNameX",f:function(e,t,n){return 5==n.biff?function(e){var t=e.read_shift(1)>>>5&3,n=e.read_shift(2,"i");e.l+=8;var r=e.read_shift(2);return e.l+=12,[t,n,r]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var i=e.read_shift(2);return n&&5==n.biff&&(e.l+=12),[r,i,La(e,0,n)]}},59:{n:"PtgArea3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2,"i");if(n)switch(n.biff){case 5:e.l+=12}return[r,i,Oa(e,0,n)]}},60:{n:"PtgRefErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2),o=4;if(n)switch(n.biff){case 5:o=15;break;case 12:o=6}return e.l+=o,[r,i]}},61:{n:"PtgAreaErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,i=e.read_shift(2),o=8;if(n)switch(n.biff){case 5:e.l+=12,o=6;break;case 12:o=12}return e.l+=o,[r,i]}},255:{}},qa={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};!function(){for(var e in qa)Ja[e]=Ja[qa[e]]}();var es={1:{n:"PtgElfLel",f:Va},2:{n:"PtgElfRw",f:Za},3:{n:"PtgElfCol",f:Ua},6:{n:"PtgElfRwV",f:$a},7:{n:"PtgElfColV",f:Ya},10:{n:"PtgElfRadical",f:Ga},11:{n:"PtgElfRadicalS",f:Xa},13:{n:"PtgElfColS",f:Qa},15:{n:"PtgElfColSV",f:za},16:{n:"PtgElfRadicalLel",f:Wa},25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),i=e.read_shift(2),o=e.read_shift(2);return{ixti:t,coltype:3&n,rt:Ka[n>>2&31],idx:r,c:i,C:o}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},ts={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}},2:{n:"PtgAttrIf",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,n){e.l+=2;for(var r=e.read_shift(n&&2==n.biff?1:2),i=[],o=0;o<=r;++o)i.push(e.read_shift(n&&2==n.biff?1:2));return i}},8:{n:"PtgAttrGoto",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e.read_shift(n&&2==n.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,n){e.l+=n&&2==n.biff?3:4}},32:{n:"PtgAttrBaxcel",f:function(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}},64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),Pa(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),Pa(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}},255:{}};function ns(e,t,n,r){if(r.biff<8)return Qt(e,t);for(var i=e.l+t,o=[],a=0;a!==n.length;++a)switch(n[a][0]){case"PtgArray":n[a][1]=Na(e,0,r),o.push(n[a][1]);break;case"PtgMemArea":n[a][2]=Ra(e,n[a][1],r),o.push(n[a][2]);break;case"PtgExp":r&&12==r.biff&&(n[a][1][1]=e.read_shift(4),o.push(n[a][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[a][0]}return 0!==(t=i-e.l)&&o.push(Qt(e,t)),o}function rs(e,t,n){for(var r,i,o=e.l+t,a=[];o!=e.l;)t=o-e.l,i=e[e.l],r=Ja[i],24!==i&&25!==i||(r=(24===i?es:ts)[e[e.l+1]]),r&&r.f?a.push([r.n,r.f(e,t,n)]):Qt(e,t);return a}function is(e){for(var t=[],n=0;n<e.length;++n){for(var r=e[n],i=[],o=0;o<r.length;++o){var a=r[o];if(a)switch(a[0]){case 2:i.push('"'+a[1].replace(/"/g,'""')+'"');break;default:i.push(a[1])}else i.push("")}t.push(i.join(","))}return t.join(";")}ts[33]=ts[32];var os={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"},as=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/);function ss(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!r)return"SH33TJSERR1";var i="";if(n.biff>8)switch(e[r[0]][0]){case 357:return i=-1==r[1]?"#REF":e.SheetNames[r[1]],r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[r[0]][0];case 355:default:return"SH33TJSSRC"+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return i=-1==r[1]?"#REF":e.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?i:i+":"+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map(function(e){return e.Name}).join(";;");default:return e[r[0]][0][3]?(i=-1==r[1]?"#REF":e[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?i:i+":"+e[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function ls(e,t,n){return function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return as.test(e)?"'"+e+"'":e}(ss(e,t,n),n)}function cs(e,t,n,r,i){var o,a,s,l,c=i&&i.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},h=[],d=0,f=0,p="";if(!e[0]||!e[0][0])return"";for(var A=-1,g="",v=0,m=e[0].length;v<m;++v){var y=e[0][v];switch(y[0]){case"PtgUminus":h.push("-"+h.pop());break;case"PtgUplus":h.push("+"+h.pop());break;case"PtgPercent":h.push(h.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(o=h.pop(),a=h.pop(),A>=0){switch(e[0][A][1][0]){case 0:g=ae(" ",e[0][A][1][1]);break;case 1:g=ae("\r",e[0][A][1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][A][1][0])}a+=g,A=-1}h.push(a+os[y[0]]+o);break;case"PtgIsect":o=h.pop(),a=h.pop(),h.push(a+" "+o);break;case"PtgUnion":o=h.pop(),a=h.pop(),h.push(a+","+o);break;case"PtgRange":o=h.pop(),a=h.pop(),h.push(a+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":break;case"PtgRef":s=Wt(y[1][1],u,i),h.push(Zt(s,c));break;case"PtgRefN":s=n?Wt(y[1][1],n,i):y[1][1],h.push(Zt(s,c));break;case"PtgRef3d":d=y[1][1],s=Wt(y[1][2],u,i);p=ls(r,d,i);h.push(p+"!"+Zt(s,c));break;case"PtgFunc":case"PtgFuncVar":var b=y[1][0],_=y[1][1];b||(b=0);var w=0==(b&=127)?[]:h.slice(-b);h.length-=b,"User"===_&&(_=w.shift()),h.push(_+"("+w.join(",")+")");break;case"PtgBool":h.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":h.push(y[1]);break;case"PtgNum":h.push(String(y[1]));break;case"PtgStr":h.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":h.push(y[1]);break;case"PtgAreaN":l=Xt(y[1][1],n?{s:n}:u,i),h.push($t(l,i));break;case"PtgArea":l=Xt(y[1][1],u,i),h.push($t(l,i));break;case"PtgArea3d":d=y[1][1],l=y[1][2],p=ls(r,d,i),h.push(p+"!"+$t(l,i));break;case"PtgAttrSum":h.push("SUM("+h.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":f=y[1][2];var x=(r.names||[])[f-1]||(r[0]||[])[f],C=x?x.Name:"SH33TJSNAME"+String(f);C in bs&&(C=bs[C]),h.push(C);break;case"PtgNameX":var S,B=y[1][1];if(f=y[1][2],!(i.biff<=5)){var k="";if(14849==((r[B]||[])[0]||[])[0]||(1025==((r[B]||[])[0]||[])[0]?r[B][f]&&r[B][f].itab>0&&(k=r.SheetNames[r[B][f].itab-1]+"!"):k=r.SheetNames[f-1]+"!"),r[B]&&r[B][f])k+=r[B][f].Name;else if(r[0]&&r[0][f])k+=r[0][f].Name;else{var T=ss(r,B,i).split(";;");T[f-1]?k=T[f-1]:k+="SH33TJSERRX"}h.push(k);break}B<0&&(B=-B),r[B]&&(S=r[B][f]),S||(S={Name:"SH33TJSERRY"}),h.push(S.Name);break;case"PtgParen":var E="(",M=")";if(A>=0){switch(g="",e[0][A][1][0]){case 2:E=ae(" ",e[0][A][1][1])+E;break;case 3:E=ae("\r",e[0][A][1][1])+E;break;case 4:M=ae(" ",e[0][A][1][1])+M;break;case 5:M=ae("\r",e[0][A][1][1])+M;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][A][1][0])}A=-1}h.push(E+h.pop()+M);break;case"PtgRefErr":case"PtgRefErr3d":h.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var D={c:n.c,r:n.r};if(r.sharedf[nn(s)]){var O=r.sharedf[nn(s)];h.push(cs(O,u,D,r,i))}else{var I=!1;for(o=0;o!=r.arrayf.length;++o)if(a=r.arrayf[o],!(s.c<a[0].s.c||s.c>a[0].e.c||s.r<a[0].s.r||s.r>a[0].e.r)){h.push(cs(a[1],u,D,r,i)),I=!0;break}I||h.push(y[1])}break;case"PtgArray":h.push("{"+is(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":A=v;break;case"PtgTbl":case"PtgMemErr":break;case"PtgMissArg":h.push("");break;case"PtgAreaErr":case"PtgAreaErr3d":h.push("#REF!");break;case"PtgList":h.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=i.biff&&A>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var L=!0;switch((y=e[0][A])[1][0]){case 4:L=!1;case 0:g=ae(" ",y[1][1]);break;case 5:L=!1;case 1:g=ae("\r",y[1][1]);break;default:if(g="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}h.push((L?g:"")+h.pop()+(L?"":g)),A=-1}}if(h.length>1&&i.WTF)throw new Error("bad formula stack");return h[0]}function us(e,t,n){var r=e.l+t,i=ci(e);2==n.biff&&++e.l;var o=function(e){var t;if(65535!==Mt(e,e.l+6))return[On(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),a=e.read_shift(1);2!=n.biff&&(e.read_shift(1),n.biff>=5&&e.read_shift(4));var s=function(e,t,n){var r,i=e.l+t,o=2==n.biff?1:2,a=e.read_shift(o);if(65535==a)return[[],Qt(e,t-2)];var s=rs(e,a,n);return t!==a+o&&(r=ns(e,t-a-o,s,n)),e.l=i,[s,r]}(e,r-e.l,n);return{cell:i,val:o[0],formula:s,shared:a>>3&1,tt:o[1]}}function hs(e,t,n,r,i){var o=ui(t,n,i),a=function(e){if(null==e){var t=zt(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}return In("number"==typeof e?e:0)}(e.v),s=zt(6);s.write_shift(2,33),s.write_shift(4,0);for(var l=zt(e.bf.length),c=0;c<e.bf.length;++c)l[c]=e.bf[c];return M([o,a,s,l])}function ds(e,t,n){var r=rs(e,e.read_shift(4),n),i=e.read_shift(4);return[r,i>0?ns(e,i,r,n):null]}var fs=ds,ps=ds,As=ds,gs=ds,vs={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},ms={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},ys={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0},bs={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONCAT":"CONCAT","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORECAST.ETS":"FORECAST.ETS","_xlfn.FORECAST.ETS.CONFINT":"FORECAST.ETS.CONFINT","_xlfn.FORECAST.ETS.SEASONALITY":"FORECAST.ETS.SEASONALITY","_xlfn.FORECAST.ETS.STAT":"FORECAST.ETS.STAT","_xlfn.FORECAST.LINEAR":"FORECAST.LINEAR","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFERROR":"IFERROR","_xlfn.IFNA":"IFNA","_xlfn.IFS":"IFS","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MAXIFS":"MAXIFS","_xlfn.MINIFS":"MINIFS","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.SWITCH":"SWITCH","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.TEXTJOIN":"TEXTJOIN","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"};function _s(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),(e=(e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,t){return t.replace(/\./g,"")})).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function ws(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}var xs={},Cs={};rr.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var Ss="undefined"!=typeof Map;function Bs(e,t,n){var r=0,i=e.length;if(n){if(Ss?n.has(t):Object.prototype.hasOwnProperty.call(n,t))for(var o=Ss?n.get(t):n[t];r<o.length;++r)if(e[o[r]].t===t)return e.Count++,o[r]}else for(;r<i;++r)if(e[r].t===t)return e.Count++,r;return e[i]={t:t},e.Count++,e.Unique++,n&&(Ss?(n.has(t)||n.set(t,[]),n.get(t).push(i)):(Object.prototype.hasOwnProperty.call(n,t)||(n[t]=[]),n[t].push(i))),i}function ks(e,t){var n={min:e+1,max:e+1},r=-1;return t.MDW&&(Eo=t.MDW),null!=t.width?n.customWidth=1:null!=t.wpx?r=Do(t.wpx):null!=t.wch&&(r=t.wch),r>-1?(n.width=Oo(r),n.customWidth=1):null!=t.width&&(n.width=t.width),t.hidden&&(n.hidden=!0),n}function Ts(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function Es(e,t,n){var r=n.revssf[null!=t.z?t.z:"General"],i=60,o=e.length;if(null==r&&n.ssf)for(;i<392;++i)if(null==n.ssf[i]){I.load(t.z,i),n.ssf[i]=t.z,n.revssf[t.z]=r=i;break}for(i=0;i!=o;++i)if(e[i].numFmtId===r)return i;return e[o]={numFmtId:r,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function Ms(e,t,n,r,i,o){try{r.cellNF&&(e.z=I._table[t])}catch(e){if(r.WTF)throw e}if("z"!==e.t){if("d"===e.t&&"string"==typeof e.v&&(e.v=re(e.v)),!r||!1!==r.cellText)try{if(null==I._table[t]&&I.load(F[t]||"General",t),"e"===e.t)e.w=e.w||$n[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=I._general_int(e.v):e.w=I._general_num(e.v);else if("d"===e.t){var a=X(e.v);e.w=(0|a)===a?I._general_int(a):I._general_num(a)}else{if(void 0===e.v)return"";e.w=I._general(e.v,Cs)}else"d"===e.t?e.w=I.format(t,X(e.v),Cs):e.w=I.format(t,e.v,Cs)}catch(e){if(r.WTF)throw e}if(r.cellStyles&&null!=n)try{e.s=o.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=So(i.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),r.WTF&&(e.s.fgColor.raw_rgb=i.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=So(i.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),r.WTF&&(e.s.bgColor.raw_rgb=i.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(e){if(r.WTF&&o.Fills)throw e}}}function Ds(e,t,n){if(e&&e["!ref"]){var r=an(e["!ref"]);if(r.e.c<r.s.c||r.e.r<r.s.r)throw new Error("Bad range ("+n+"): "+e["!ref"])}}var Os=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,Is=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Ls=/<(?:\w:)?hyperlink [^>]*>/gm,Ps=/"(\w*:\w*)"/,Fs=/<(?:\w:)?col\b[^>]*[\/]?>/g,Rs=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,Ns=/<(?:\w:)?pageMargins[^>]*\/>/g,Hs=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,js=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Us(e,t,n,r,i,o,a){if(!e)return e;r||(r={"!id":{}}),null!=y&&null==t.dense&&(t.dense=y);var s=t.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},c="",u="",h=e.match(Is);h?(c=e.slice(0,h.index),u=e.slice(h.index+h[0].length)):c=u=e;var d=c.match(Hs);d&&Qs(d[0],s,i,n);var f=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(f>0){var p=c.slice(f,f+50).match(Ps);p&&function(e,t){var n=an(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=on(n))}(s,p[1])}var A=c.match(js);A&&A[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(Vs)||[]).forEach(function(e,n){var r=Se(e);t.Views[n]||(t.Views[n]={}),je(r.rightToLeft)&&(t.Views[n].RTL=!0)})}(A[1],i);var g=[];if(t.cellStyles){var v=c.match(Fs);v&&function(e,t){for(var n=!1,r=0;r!=t.length;++r){var i=Se(t[r],!0);i.hidden&&(i.hidden=je(i.hidden));var o=parseInt(i.min,10)-1,a=parseInt(i.max,10)-1;for(delete i.min,delete i.max,i.width=+i.width,!n&&i.width&&(n=!0,Lo(i.width)),Po(i);o<=a;)e[o++]=oe(i)}}(g,v)}h&&el(h[1],s,t,l,o,a);var m=u.match(Rs);m&&(s["!autofilter"]=function(e){return{ref:(e.match(/ref="([^"]*)"/)||[])[1]}}(m[0]));var b=[],_=u.match(Os);if(_)for(f=0;f!=_.length;++f)b[f]=an(_[f].slice(_[f].indexOf('"')+1));var w=u.match(Ls);w&&function(e,t,n){for(var r=Array.isArray(e),i=0;i!=t.length;++i){var o=Se(Ue(t[i]),!0);if(!o.ref)return;var a=((n||{})["!id"]||[])[o.id];a?(o.Target=a.Target,o.location&&(o.Target+="#"+o.location)):(o.Target="#"+o.location,a={Target:o.Target,TargetMode:"Internal"}),o.Rel=a,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=an(o.ref),l=s.s.r;l<=s.e.r;++l)for(var c=s.s.c;c<=s.e.c;++c){var u=nn({c:c,r:l});r?(e[l]||(e[l]=[]),e[l][c]||(e[l][c]={t:"z",v:void 0}),e[l][c].l=o):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=o)}}}(s,w,r);var x,C,S=u.match(Ns);if(S&&(s["!margins"]=(x=Se(S[0]),C={},["left","right","top","bottom","header","footer"].forEach(function(e){x[e]&&(C[e]=parseFloat(x[e]))}),C)),!s["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(s["!ref"]=on(l)),t.sheetRows>0&&s["!ref"]){var B=an(s["!ref"]);t.sheetRows<=+B.e.r&&(B.e.r=t.sheetRows-1,B.e.r>l.e.r&&(B.e.r=l.e.r),B.e.r<B.s.r&&(B.s.r=B.e.r),B.e.c>l.e.c&&(B.e.c=l.e.c),B.e.c<B.s.c&&(B.s.c=B.e.c),s["!fullref"]=s["!ref"],s["!ref"]=on(B))}return g.length>0&&(s["!cols"]=g),b.length>0&&(s["!merges"]=b),s}function Qs(e,t,n,r){var i=Se(e);n.Sheets[r]||(n.Sheets[r]={}),i.codeName&&(n.Sheets[r].CodeName=De(Ue(i.codeName)))}var zs=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Ys=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];var Vs=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function Gs(e,t,n,r){if(void 0===e.v&&"string"!=typeof e.f||"z"===e.t)return"";var i="",o=e.t,a=e.v;if("z"!==e.t)switch(e.t){case"b":i=e.v?"1":"0";break;case"n":i=""+e.v;break;case"e":i=$n[e.v];break;case"d":r&&r.cellDates?i=re(e.v,-1).toISOString():((e=oe(e)).t="n",i=""+(e.v=X(re(e.v)))),void 0===e.z&&(e.z=I._table[14]);break;default:i=e.v}var s=nt("v",Le(i)),l={r:t},c=Es(r.cellXfs,e,r);switch(0!==c&&(l.s=c),e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;case"z":break;default:if(null==e.v){delete e.t;break}if(r&&r.bookSST){s=nt("v",""+Bs(r.Strings,e.v,r.revStrings)),l.t="s";break}l.t="str"}if(e.t!=o&&(e.t=o,e.v=a),"string"==typeof e.f&&e.f){var u=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=it("f",Le(e.f),u)+(null!=e.v?s:"")}return e.l&&n["!links"].push([t,e.l]),e.c&&n["!comments"].push([t,e.c]),it("c",s,l)}var Ws,Xs,Zs,$s,Ks,Js,qs,el=(Ws=/<(?:\w+:)?c[ \/>]/,Xs=/<\/(?:\w+:)?row>/,Zs=/r=["']([^"']*)["']/,$s=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,Ks=/ref=["']([^"']*)["']/,Js=Ze("v"),qs=Ze("f"),function(e,t,n,r,i,o){for(var a,s,l,c,u,h=0,d="",f=[],p=[],A=0,g=0,v=0,m="",y=0,b=0,_=0,w=0,x=Array.isArray(o.CellXf),C=[],S=[],B=Array.isArray(t),k=[],T={},E=!1,M=!!n.sheetStubs,D=e.split(Xs),O=0,L=D.length;O!=L;++O){var P=(d=D[O].trim()).length;if(0!==P){for(h=0;h<P&&62!==d.charCodeAt(h);++h);if(++h,y=null!=(s=Se(d.slice(0,h),!0)).r?parseInt(s.r,10):y+1,b=-1,!(n.sheetRows&&n.sheetRows<y)){r.s.r>y-1&&(r.s.r=y-1),r.e.r<y-1&&(r.e.r=y-1),n&&n.cellStyles&&(T={},E=!1,s.ht&&(E=!0,T.hpt=parseFloat(s.ht),T.hpx=No(T.hpt)),"1"==s.hidden&&(E=!0,T.hidden=!0),null!=s.outlineLevel&&(E=!0,T.level=+s.outlineLevel),E&&(k[y-1]=T)),f=d.slice(h).split(Ws);for(var F=0;F!=f.length&&"<"==f[F].trim().charAt(0);++F);for(f=f.slice(F),h=0;h!=f.length;++h)if(0!==(d=f[h].trim()).length){if(p=d.match(Zs),A=h,g=0,v=0,d="<c "+("<"==d.slice(0,1)?">":"")+d,null!=p&&2===p.length){for(A=0,m=p[1],g=0;g!=m.length&&!((v=m.charCodeAt(g)-64)<1||v>26);++g)A=26*A+v;b=--A}else++b;for(g=0;g!=d.length&&62!==d.charCodeAt(g);++g);if(++g,(s=Se(d.slice(0,g),!0)).r||(s.r=nn({r:y-1,c:b})),a={t:""},null!=(p=(m=d.slice(g)).match(Js))&&""!==p[1]&&(a.v=De(p[1])),n.cellFormula){if(null!=(p=m.match(qs))&&""!==p[1]){if(a.f=De(Ue(p[1])).replace(/\r\n/g,"\n"),n.xlfn||(a.f=Ea(a.f)),p[0].indexOf('t="array"')>-1)a.F=(m.match(Ks)||[])[1],a.F.indexOf(":")>-1&&C.push([an(a.F),a.F]);else if(p[0].indexOf('t="shared"')>-1){c=Se(p[0]);var R=De(Ue(p[1]));n.xlfn||(R=Ea(R)),S[parseInt(c.si,10)]=[c,R,s.r]}}else(p=m.match(/<f[^>]*\/>/))&&S[(c=Se(p[0])).si]&&(a.f=Ta(S[c.si][1],S[c.si][2],s.r));var N=tn(s.r);for(g=0;g<C.length;++g)N.r>=C[g][0].s.r&&N.r<=C[g][0].e.r&&N.c>=C[g][0].s.c&&N.c<=C[g][0].e.c&&(a.F=C[g][1])}if(null==s.t&&void 0===a.v)if(a.f||a.F)a.v=0,a.t="n";else{if(!M)continue;a.t="z"}else a.t=s.t||"n";switch(r.s.c>b&&(r.s.c=b),r.e.c<b&&(r.e.c=b),a.t){case"n":if(""==a.v||null==a.v){if(!M)continue;a.t="z"}else a.v=parseFloat(a.v);break;case"s":if(void 0===a.v){if(!M)continue;a.t="z"}else l=xs[parseInt(a.v,10)],a.v=l.t,a.r=l.r,n.cellHTML&&(a.h=l.h);break;case"str":a.t="s",a.v=null!=a.v?Ue(a.v):"",n.cellHTML&&(a.h=Re(a.v));break;case"inlineStr":p=m.match($s),a.t="s",null!=p&&(l=eo(p[1]))?(a.v=l.t,n.cellHTML&&(a.h=l.h)):a.v="";break;case"b":a.v=je(a.v);break;case"d":n.cellDates?a.v=re(a.v,1):(a.v=X(re(a.v,1)),a.t="n");break;case"e":n&&!1===n.cellText||(a.w=a.v),a.v=Kn[a.v]}if(_=w=0,u=null,x&&void 0!==s.s&&null!=(u=o.CellXf[s.s])&&(null!=u.numFmtId&&(_=u.numFmtId),n.cellStyles&&null!=u.fillId&&(w=u.fillId)),Ms(a,_,w,n,i,o),n.cellDates&&x&&"n"==a.t&&I.is_date(I._table[_])&&(a.t="d",a.v=q(a.v)),B){var H=tn(s.r);t[H.r]||(t[H.r]=[]),t[H.r][H.c]=a}else t[s.r]=a}}}}k.length>0&&(t["!rows"]=k)});var tl=it("worksheet",null,{xmlns:at.main[0],"xmlns:r":at.r});function nl(e,t,n,r){var i,o=[be,tl],a=n.SheetNames[e],s="",l=n.Sheets[a];null==l&&(l={});var c=l["!ref"]||"A1",u=an(c);if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),c=on(u)}r||(r={}),l["!comments"]=[];var h=[];!function(e,t,n,r,i){var o=!1,a={},s=null;if("xlsx"!==r.bookType&&t.vbaraw){var l=t.SheetNames[n];try{t.Workbook&&(l=t.Workbook.Sheets[n].CodeName||l)}catch(e){}o=!0,a.codeName=Qe(Le(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),s=(s||"")+it("outlinePr",null,c)}(o||s)&&(i[i.length]=it("sheetPr",s,a))}(l,n,e,t,o),o[o.length]=it("dimension",null,{ref:c}),o[o.length]=function(e,t,n,r){var i={workbookViewId:"0"};return(((r||{}).Workbook||{}).Views||[])[0]&&(i.rightToLeft=r.Workbook.Views[0].RTL?"1":"0"),it("sheetViews",it("sheetView",null,i),{})}(0,0,0,n),t.sheetFormat&&(o[o.length]=it("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(o[o.length]=function(e,t){for(var n,r=["<cols>"],i=0;i!=t.length;++i)(n=t[i])&&(r[r.length]=it("col",null,ks(i,n)));return r[r.length]="</cols>",r.join("")}(0,l["!cols"])),o[i=o.length]="<sheetData/>",l["!links"]=[],null!=l["!ref"]&&(s=function(e,t,n,r){var i,o,a=[],s=[],l=an(e["!ref"]),c="",u="",h=[],d=0,f=0,p=e["!rows"],A=Array.isArray(e),g={r:u},v=-1;for(f=l.s.c;f<=l.e.c;++f)h[f]=en(f);for(d=l.s.r;d<=l.e.r;++d){for(s=[],u=Jt(d),f=l.s.c;f<=l.e.c;++f){i=h[f]+u;var m=A?(e[d]||[])[f]:e[i];void 0!==m&&null!=(c=Gs(m,i,e,t))&&s.push(c)}(s.length>0||p&&p[d])&&(g={r:u},p&&p[d]&&((o=p[d]).hidden&&(g.hidden=1),v=-1,o.hpx?v=Ro(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(g.ht=v,g.customHeight=1),o.level&&(g.outlineLevel=o.level)),a[a.length]=it("row",s.join(""),g))}if(p)for(;d<p.length;++d)p&&p[d]&&(g={r:d+1},(o=p[d]).hidden&&(g.hidden=1),v=-1,o.hpx?v=Ro(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(g.ht=v,g.customHeight=1),o.level&&(g.outlineLevel=o.level),a[a.length]=it("row","",g));return a.join("")}(l,t,0,0)).length>0&&(o[o.length]=s),o.length>i+1&&(o[o.length]="</sheetData>",o[i]=o[i].replace("/>",">")),null!=l["!protect"]&&(o[o.length]=function(e){var t={sheet:1};return zs.forEach(function(n){null!=e[n]&&e[n]&&(t[n]="1")}),Ys.forEach(function(n){null==e[n]||e[n]||(t[n]="0")}),e.password&&(t.password=Ao(e.password).toString(16).toUpperCase()),it("sheetProtection",null,t)}(l["!protect"])),null!=l["!autofilter"]&&(o[o.length]=function(e,t,n,r){var i="string"==typeof e.ref?e.ref:on(e.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var o=n.Workbook.Names,a=rn(i);a.s.r==a.e.r&&(a.e.r=rn(t["!ref"]).e.r,i=on(a));for(var s=0;s<o.length;++s){var l=o[s];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==r){l.Ref="'"+n.SheetNames[r]+"'!"+i;break}}return s==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:r,Ref:"'"+n.SheetNames[r]+"'!"+i}),it("autoFilter",null,{ref:i})}(l["!autofilter"],l,n,e)),null!=l["!merges"]&&l["!merges"].length>0&&(o[o.length]=function(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',n=0;n!=e.length;++n)t+='<mergeCell ref="'+on(e[n])+'"/>';return t+"</mergeCells>"}(l["!merges"]));var d,f,p=-1,A=-1;return l["!links"].length>0&&(o[o.length]="<hyperlinks>",l["!links"].forEach(function(e){e[1].Target&&(d={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(A=cr(r,-1,Le(e[1].Target).replace(/#.*$/,""),rr.HLINK),d["r:id"]="rId"+A),(p=e[1].Target.indexOf("#"))>-1&&(d.location=Le(e[1].Target.slice(p+1))),e[1].Tooltip&&(d.tooltip=Le(e[1].Tooltip)),o[o.length]=it("hyperlink",null,d))}),o[o.length]="</hyperlinks>"),delete l["!links"],null!=l["!margins"]&&(o[o.length]=(Ts(f=l["!margins"]),it("pageMargins",null,f))),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(o[o.length]=nt("ignoredErrors",it("ignoredError",null,{numberStoredAsText:1,sqref:c}))),h.length>0&&(A=cr(r,-1,"../drawings/drawing"+(e+1)+".xml",rr.DRAW),o[o.length]=it("drawing",null,{"r:id":"rId"+A}),l["!drawing"]=h),l["!comments"].length>0&&(A=cr(r,-1,"../drawings/vmlDrawing"+(e+1)+".vml",rr.VML),o[o.length]=it("legacyDrawing",null,{"r:id":"rId"+A}),l["!legacy"]=A),o.length>1&&(o[o.length]="</worksheet>",o[1]=o[1].replace("/>",">")),o.join("")}function rl(e,t,n,r){var i=function(e,t,n){var r=zt(145),i=(n["!rows"]||[])[e]||{};r.write_shift(4,e),r.write_shift(4,0);var o=320;i.hpx?o=20*Ro(i.hpx):i.hpt&&(o=20*i.hpt),r.write_shift(2,o),r.write_shift(1,0);var a=0;i.level&&(a|=i.level),i.hidden&&(a|=16),(i.hpx||i.hpt)&&(a|=32),r.write_shift(1,a),r.write_shift(1,0);var s=0,l=r.l;r.l+=4;for(var c={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.c<u<<10)){for(var h=-1,d=-1,f=u<<10;f<u+1<<10;++f)c.c=f,(Array.isArray(n)?(n[c.r]||[])[c.c]:n[nn(c)])&&(h<0&&(h=f),d=f);h<0||(++s,r.write_shift(4,h),r.write_shift(4,d))}var p=r.l;return r.l=l,r.write_shift(4,s),r.l=p,r.length>r.l?r.slice(0,r.l):r}(r,n,t);(i.length>17||(t["!rows"]||[])[r])&&Gt(e,"BrtRowHdr",i)}var il=Mn,ol=Dn;function al(e,t,n){return null==n&&(n=zt(12)),bn(t,n),function(e,t){null==t&&(t=zt(4));var n=0,r=0,i=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?r=1:i==(0|i)&&i>=-(1<<29)&&i<1<<29&&(r=1,n=1),!r)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((n?i:e)<<2)+(n+2))}(e.v,n),n}var sl=Mn,ll=Dn;var cl=["left","right","top","bottom","header","footer"];function ul(e,t,n,r,i,o){if(void 0!==t.v){var a="";switch(t.t){case"b":a=t.v?"1":"0";break;case"d":(t=oe(t)).z=t.z||I._table[14],t.v=X(re(t.v)),t.t="n";break;case"n":case"e":a=""+t.v;break;default:a=t.v}var s={r:n,c:r};switch(s.s=Es(i.cellXfs,t,i),t.l&&o["!links"].push([nn(s),t.l]),t.c&&o["!comments"].push([nn(s),t.c]),t.t){case"s":case"str":return void(i.bookSST?(a=Bs(i.Strings,t.v,i.revStrings),s.t="s",s.v=a,Gt(e,"BrtCellIsst",function(e,t,n){return null==n&&(n=zt(12)),bn(t,n),n.write_shift(4,t.v),n}(0,s))):(s.t="str",Gt(e,"BrtCellSt",function(e,t,n){return null==n&&(n=zt(12+4*e.v.length)),bn(t,n),pn(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,s))));case"n":return void(t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?Gt(e,"BrtCellRk",al(t,s)):Gt(e,"BrtCellReal",function(e,t,n){return null==n&&(n=zt(16)),bn(t,n),In(e.v,n),n}(t,s)));case"b":return s.t="b",void Gt(e,"BrtCellBool",function(e,t,n){return null==n&&(n=zt(9)),bn(t,n),n.write_shift(1,e.v?1:0),n}(t,s));case"e":s.t="e"}Gt(e,"BrtCellBlank",function(e,t,n){return null==n&&(n=zt(8)),bn(t,n)}(0,s))}}function hl(e,t){var n,r;t&&t["!merges"]&&(Gt(e,"BrtBeginMergeCells",(n=t["!merges"].length,null==r&&(r=zt(4)),r.write_shift(4,n),r)),t["!merges"].forEach(function(t){Gt(e,"BrtMergeCell",ll(t))}),Gt(e,"BrtEndMergeCells"))}function dl(e,t){t&&t["!cols"]&&(Gt(e,"BrtBeginColInfos"),t["!cols"].forEach(function(t,n){t&&Gt(e,"BrtColInfo",function(e,t,n){null==n&&(n=zt(18));var r=ks(e,t);n.write_shift(-4,e),n.write_shift(-4,e),n.write_shift(4,256*(r.width||10)),n.write_shift(4,0);var i=0;return t.hidden&&(i|=1),"number"==typeof r.width&&(i|=2),t.level&&(i|=t.level<<8),n.write_shift(2,i),n}(n,t))}),Gt(e,"BrtEndColInfos"))}function fl(e,t){var n,r;t&&t["!ref"]&&(Gt(e,"BrtBeginCellIgnoreECs"),Gt(e,"BrtCellIgnoreEC",(n=an(t["!ref"]),(r=zt(24)).write_shift(4,4),r.write_shift(4,1),Dn(n,r),r)),Gt(e,"BrtEndCellIgnoreECs"))}function pl(e,t,n){t["!links"].forEach(function(t){if(t[1].Target){var r=cr(n,-1,t[1].Target.replace(/#.*$/,""),rr.HLINK);Gt(e,"BrtHLink",function(e,t){var n=zt(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Dn({s:tn(e[0]),e:tn(e[0])},n),kn("rId"+t,n);var r=e[1].Target.indexOf("#");return pn((-1==r?"":e[1].Target.slice(r+1))||"",n),pn(e[1].Tooltip||"",n),pn("",n),n.slice(0,n.l)}(t,r))}}),delete t["!links"]}function Al(e,t,n){Gt(e,"BrtBeginWsViews"),Gt(e,"BrtBeginWsView",function(e,t,n){null==n&&(n=zt(30));var r=924;return(((t||{}).Views||[])[0]||{}).RTL&&(r|=32),n.write_shift(2,r),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(2,0),n.write_shift(2,100),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(4,0),n}(0,n)),Gt(e,"BrtEndWsView"),Gt(e,"BrtEndWsViews")}function gl(e,t){var n,r;t["!protect"]&&Gt(e,"BrtSheetProtection",(n=t["!protect"],null==r&&(r=zt(66)),r.write_shift(2,n.password?Ao(n.password):0),r.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(e){e[1]?r.write_shift(4,null==n[e[0]]||n[e[0]]?0:1):r.write_shift(4,null!=n[e[0]]&&n[e[0]]?0:1)}),r))}function vl(e,t,n,r){var i=Vt(),o=n.SheetNames[e],a=n.Sheets[o]||{},s=o;try{n&&n.Workbook&&(s=n.Workbook.Sheets[e].CodeName||s)}catch(e){}var l,c,u=an(a["!ref"]||"A1");if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575)}return a["!links"]=[],a["!comments"]=[],Gt(i,"BrtBeginSheet"),n.vbaraw&&Gt(i,"BrtWsProp",function(e,t){null==t&&(t=zt(84+4*e.length));for(var n=0;n<3;++n)t.write_shift(1,0);return Ln({auto:1},t),t.write_shift(-4,-1),t.write_shift(-4,-1),wn(e,t),t.slice(0,t.l)}(s)),Gt(i,"BrtWsDim",ol(u)),Al(i,0,n.Workbook),dl(i,a),function(e,t,n,r){var i,o=an(t["!ref"]||"A1"),a="",s=[];Gt(e,"BrtBeginSheetData");var l=Array.isArray(t),c=o.e.r;t["!rows"]&&(c=Math.max(o.e.r,t["!rows"].length-1));for(var u=o.s.r;u<=c;++u)if(a=Jt(u),rl(e,t,o,u),u<=o.e.r)for(var h=o.s.c;h<=o.e.c;++h){u===o.s.r&&(s[h]=en(h)),i=s[h]+a;var d=l?(t[u]||[])[h]:t[i];d&&ul(e,d,u,h,r,t)}Gt(e,"BrtEndSheetData")}(i,a,0,t),gl(i,a),function(e,t,n,r){if(t["!autofilter"]){var i=t["!autofilter"],o="string"==typeof i.ref?i.ref:on(i.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var a=n.Workbook.Names,s=rn(o);s.s.r==s.e.r&&(s.e.r=rn(t["!ref"]).e.r,o=on(s));for(var l=0;l<a.length;++l){var c=a[l];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==r){c.Ref="'"+n.SheetNames[r]+"'!"+o;break}}l==a.length&&a.push({Name:"_xlnm._FilterDatabase",Sheet:r,Ref:"'"+n.SheetNames[r]+"'!"+o}),Gt(e,"BrtBeginAFilter",Dn(an(o))),Gt(e,"BrtEndAFilter")}}(i,a,n,e),hl(i,a),pl(i,a,r),a["!margins"]&&Gt(i,"BrtMargins",(l=a["!margins"],null==c&&(c=zt(48)),Ts(l),cl.forEach(function(e){In(l[e],c)}),c)),t&&!t.ignoreEC&&void 0!=t.ignoreEC||fl(i,a),function(e,t,n,r){if(t["!comments"].length>0){var i=cr(r,-1,"../drawings/vmlDrawing"+(n+1)+".vml",rr.VML);Gt(e,"BrtLegacyDrawing",kn("rId"+i)),t["!legacy"]=i}}(i,a,e,r),Gt(i,"BrtEndSheet"),i.end()}function ml(e,t,n,r,i,o){var a=o||{"!type":"chart"};if(!e)return o;var s=0,l=0,c="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var t=function(e){var t,n=[],r=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(n[+t[1]]=r?+t[2]:t[2])});var i=De((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(e){t=e.replace(/<.*?>/g,"")}),[n,i,t]}(e);u.s.r=u.s.c=0,u.e.c=s,c=en(s),t[0].forEach(function(e,n){a[c+Jt(n)]={t:"n",v:e,z:t[1]},l=n}),u.e.r<l&&(u.e.r=l),++s}),s>0&&(a["!ref"]=on(u)),a}rr.CHART="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",rr.CHARTEX="http://schemas.microsoft.com/office/2014/relationships/chartEx",rr.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";it("chartsheet",null,{xmlns:at.main[0],"xmlns:r":at.r});var yl=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],bl=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],_l=[],wl=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function xl(e,t){for(var n=0;n!=e.length;++n)for(var r=e[n],i=0;i!=t.length;++i){var o=t[i];if(null==r[o[0]])r[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof r[o[0]]&&(r[o[0]]=je(r[o[0]]));break;case"int":"string"==typeof r[o[0]]&&(r[o[0]]=parseInt(r[o[0]],10))}}}function Cl(e,t){for(var n=0;n!=t.length;++n){var r=t[n];if(null==e[r[0]])e[r[0]]=r[1];else switch(r[2]){case"bool":"string"==typeof e[r[0]]&&(e[r[0]]=je(e[r[0]]));break;case"int":"string"==typeof e[r[0]]&&(e[r[0]]=parseInt(e[r[0]],10))}}}function Sl(e){Cl(e.WBProps,yl),Cl(e.CalcPr,wl),xl(e.WBView,bl),xl(e.Sheets,_l),Cs.date1904=je(e.WBProps.date1904)}var Bl="][*?/\\".split("");function kl(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return Bl.forEach(function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}}),n}function Tl(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t,n,r,i=e.Workbook&&e.Workbook.Sheets||[];t=e.SheetNames,n=i,r=!!e.vbaraw,t.forEach(function(e,i){kl(e);for(var o=0;o<i;++o)if(e==t[o])throw new Error("Duplicate Sheet Name: "+e);if(r){var a=n&&n[i]&&n[i].CodeName||e;if(95==a.charCodeAt(0)&&a.length>22)throw new Error("Bad Code Name: Worksheet"+a)}});for(var o=0;o<e.SheetNames.length;++o)Ds(e.Sheets[e.SheetNames[o]],e.SheetNames[o],o)}var El=/<\w+:workbook/;var Ml=it("workbook",null,{xmlns:at.main[0],"xmlns:r":at.r});function Dl(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var n,r,i=t.Workbook.Sheets,o=0,a=-1,s=-1;o<i.length;++o)!i[o]||!i[o].Hidden&&-1==a?a=o:1==i[o].Hidden&&-1==s&&(s=o);if(!(s>a))Gt(e,"BrtBeginBookViews"),Gt(e,"BrtBookView",(n=a,r||(r=zt(29)),r.write_shift(-4,0),r.write_shift(-4,460),r.write_shift(4,28800),r.write_shift(4,17600),r.write_shift(4,500),r.write_shift(4,n),r.write_shift(4,n),r.write_shift(1,120),r.length>r.l?r.slice(0,r.l):r)),Gt(e,"BrtEndBookViews")}}function Ol(e,n){var r=Vt();return Gt(r,"BrtBeginBook"),Gt(r,"BrtFileVersion",function(e,n){n||(n=zt(127));for(var r=0;4!=r;++r)n.write_shift(4,0);return pn("SheetJS",n),pn(t.version,n),pn(t.version,n),pn("7262",n),n.length=n.l,n.length>n.l?n.slice(0,n.l):n}()),Gt(r,"BrtWbProp",function(e,t){t||(t=zt(72));var n=0;return e&&e.filterPrivacy&&(n|=8),t.write_shift(4,n),t.write_shift(4,0),wn(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),Dl(r,e),function(e,t){Gt(e,"BrtBeginBundleShs");for(var n=0;n!=t.SheetNames.length;++n){var r={Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[n]&&t.Workbook.Sheets[n].Hidden||0,iTabID:n+1,strRelID:"rId"+(n+1),name:t.SheetNames[n]};Gt(e,"BrtBundleSh",(i=r,(o=void 0)||(o=zt(127)),o.write_shift(4,i.Hidden),o.write_shift(4,i.iTabID),kn(i.strRelID,o),pn(i.name.slice(0,31),o),o.length>o.l?o.slice(0,o.l):o))}var i,o;Gt(e,"BrtEndBundleShs")}(r,e),Gt(r,"BrtEndBook"),r.end()}function Il(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},r=[],i=!1;t||(t={}),t.biff=12;var o=[],a=[[]];return a.SheetNames=[],a.XTI=[],Yt(e,function(e,s,l){switch(l){case 156:a.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=cs(e.Ptg,0,null,a,t),delete t.SID,delete e.Ptg,o.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:a[0].length?a.push([l,e]):a[0]=[l,e],a[a.length-1].XTI=[];break;case 362:0===a.length&&(a[0]=[],a[0].XTI=[]),a[a.length-1].XTI=a[a.length-1].XTI.concat(e),a.XTI=a.XTI.concat(e);break;case 361:break;case 3072:case 3073:case 2071:case 534:case 677:case 158:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:r.push(s),i=!0;break;case 36:r.pop(),i=!1;break;case 37:r.push(s),i=!0;break;case 38:r.pop(),i=!1;break;case 16:break;default:if((s||"").indexOf("Begin")>0);else if((s||"").indexOf("End")>0);else if(!i||t.WTF&&"BrtACBegin"!=r[r.length-1]&&"BrtFRTBegin"!=r[r.length-1])throw new Error("Unexpected record "+l+" "+s)}},t),Sl(n),n.Names=o,n.supbooks=a,n}(e,n):function(e,t){if(!e)throw new Error("Could not find file");var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},r=!1,i="xmlns",o={},a=0;if(e.replace(we,function(s,l){var c=Se(s);switch(Be(c[0])){case"<?xml":break;case"<workbook":s.match(El)&&(i="xmlns"+s.match(/<(\w+):/)[1]),n.xmlns=c[i];break;case"</workbook>":break;case"<fileVersion":delete c[0],n.AppVersion=c;break;case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":yl.forEach(function(e){if(null!=c[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=je(c[e[0]]);break;case"int":n.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:n.WBProps[e[0]]=c[e[0]]}}),c.codeName&&(n.WBProps.CodeName=Ue(c.codeName));break;case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete c[0],n.WBView.push(c);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(c.state){case"hidden":c.Hidden=1;break;case"veryHidden":c.Hidden=2;break;default:c.Hidden=0}delete c.state,c.name=De(Ue(c.name)),delete c[0],n.Sheets.push(c);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":break;case"<definedNames>":case"<definedNames":r=!0;break;case"</definedNames>":r=!1;break;case"<definedName":(o={}).Name=Ue(c.name),c.comment&&(o.Comment=c.comment),c.localSheetId&&(o.Sheet=+c.localSheetId),je(c.hidden||"0")&&(o.Hidden=!0),a=l+s.length;break;case"</definedName>":o.Ref=De(Ue(e.slice(a,l))),n.Names.push(o);break;case"<definedName/>":break;case"<calcPr":case"<calcPr/>":delete c[0],n.CalcPr=c;break;case"</calcPr>":case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":r=!0;break;case"</ext>":r=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":r=!0;break;case"</AlternateContent>":r=!1;break;case"<revisionPtr":break;default:if(!r&&t.WTF)throw new Error("unrecognized "+c[0]+" in workbook")}return s}),-1===at.main.indexOf(n.xmlns))throw new Error("Unknown Namespace: "+n.xmlns);return Sl(n),n}(e,n)}function Ll(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?function(e,t,n,r,i,o,a){if(!e)return e;var s=t||{};r||(r={"!id":{}}),null!=y&&null==s.dense&&(s.dense=y);var l,c,u,h,d,f,p,A,g,v,m=s.dense?[]:{},b={s:{r:2e6,c:2e6},e:{r:0,c:0}},_=[],w=!1,x=!1,C=[];s.biff=12,s["!row"]=0;var S=0,B=!1,k=[],T={},E=s.supbooks||i.supbooks||[[]];if(E.sharedf=T,E.arrayf=k,E.SheetNames=i.SheetNames||i.Sheets.map(function(e){return e.name}),!s.supbooks&&(s.supbooks=E,i.Names))for(var M=0;M<i.Names.length;++M)E[0][M+1]=i.Names[M];var D=[],O=[],L=!1;if(Yt(e,function(e,t,y){if(!x)switch(y){case 148:l=e;break;case 0:c=e,s.sheetRows&&s.sheetRows<=c.r&&(x=!0),g=Jt(d=c.r),s["!row"]=c.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=No(e.hpt)),O[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:switch(u={t:e[2]},e[2]){case"n":u.v=e[1];break;case"s":A=xs[e[1]],u.v=A.t,u.r=A.r;break;case"b":u.v=!!e[1];break;case"e":u.v=e[1],!1!==s.cellText&&(u.w=$n[u.v]);break;case"str":u.t="s",u.v=e[1]}if((h=a.CellXf[e[0].iStyleRef])&&Ms(u,h.numFmtId,null,s,o,a),f=e[0].c,s.dense?(m[d]||(m[d]=[]),m[d][f]=u):m[en(f)+g]=u,s.cellFormula){for(B=!1,S=0;S<k.length;++S){var M=k[S];c.r>=M[0].s.r&&c.r<=M[0].e.r&&f>=M[0].s.c&&f<=M[0].e.c&&(u.F=on(M[0]),B=!0)}!B&&e.length>3&&(u.f=e[3])}if(b.s.r>c.r&&(b.s.r=c.r),b.s.c>f&&(b.s.c=f),b.e.r<c.r&&(b.e.r=c.r),b.e.c<f&&(b.e.c=f),s.cellDates&&h&&"n"==u.t&&I.is_date(I._table[h.numFmtId])){var P=I.parse_date_code(u.v);P&&(u.t="d",u.v=new Date(P.y,P.m-1,P.d,P.H,P.M,P.S,P.u))}break;case 1:if(!s.sheetStubs||w)break;u={t:"z",v:void 0},f=e[0].c,s.dense?(m[d]||(m[d]=[]),m[d][f]=u):m[en(f)+g]=u,b.s.r>c.r&&(b.s.r=c.r),b.s.c>f&&(b.s.c=f),b.e.r<c.r&&(b.e.r=c.r),b.e.c<f&&(b.e.c=f);break;case 176:C.push(e);break;case 494:var F=r["!id"][e.relId];for(F?(e.Target=F.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=F):""==e.relId&&(e.Target="#"+e.loc),d=e.rfx.s.r;d<=e.rfx.e.r;++d)for(f=e.rfx.s.c;f<=e.rfx.e.c;++f)s.dense?(m[d]||(m[d]=[]),m[d][f]||(m[d][f]={t:"z",v:void 0}),m[d][f].l=e):(p=nn({c:f,r:d}),m[p]||(m[p]={t:"z",v:void 0}),m[p].l=e);break;case 426:if(!s.cellFormula)break;k.push(e),(v=s.dense?m[d][f]:m[en(f)+g]).f=cs(e[1],0,{r:c.r,c:f},E,s),v.F=on(e[0]);break;case 427:if(!s.cellFormula)break;T[nn(e[0].s)]=e[1],(v=s.dense?m[d][f]:m[en(f)+g]).f=cs(e[1],0,{r:c.r,c:f},E,s);break;case 60:if(!s.cellStyles)break;for(;e.e>=e.s;)D[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},L||(L=!0,Lo(e.w/256)),Po(D[e.e+1]);break;case 161:m["!autofilter"]={ref:on(e)};break;case 476:m["!margins"]=e;break;case 147:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name);break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),e.RTL&&(i.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:case 151:break;case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 49:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 152:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:w=!0;break;case 36:w=!1;break;case 37:_.push(t),w=!0;break;case 38:_.pop(),w=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!w||s.WTF)throw new Error("Unexpected record "+y+" "+t)}},s),delete s.supbooks,delete s["!row"],!m["!ref"]&&(b.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(m["!ref"]=on(l||b)),s.sheetRows&&m["!ref"]){var P=an(m["!ref"]);s.sheetRows<=+P.e.r&&(P.e.r=s.sheetRows-1,P.e.r>b.e.r&&(P.e.r=b.e.r),P.e.r<P.s.r&&(P.s.r=P.e.r),P.e.c>b.e.c&&(P.e.c=b.e.c),P.e.c<P.s.c&&(P.s.c=P.e.c),m["!fullref"]=m["!ref"],m["!ref"]=on(P))}return C.length>0&&(m["!merges"]=C),D.length>0&&(m["!cols"]=D),O.length>0&&(m["!rows"]=O),m}(e,r,n,i,o,a,s):Us(e,r,n,i,o,a,s)}function Pl(e,t,n,r,i,o,a,s){return".bin"===t.slice(-4)?function(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},a=[],s=!1;return Yt(e,function(e,r,l){switch(l){case 550:o["!rel"]=e;break;case 651:i.Sheets[n]||(i.Sheets[n]={}),e.name&&(i.Sheets[n].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:a.push(r);break;case 38:a.pop();break;default:if((r||"").indexOf("Begin")>0)a.push(r);else if((r||"").indexOf("End")>0)a.pop();else if(!s||t.WTF)throw new Error("Unexpected record "+l+" "+r)}},t),r["!id"][o["!rel"]]&&(o["!drawel"]=r["!id"][o["!rel"]]),o}(e,r,n,i,o):function(e,t,n,r,i){if(!e)return e;r||(r={"!id":{}});var o,a={"!type":"chart","!drawel":null,"!rel":""},s=e.match(Hs);return s&&Qs(s[0],0,i,n),(o=e.match(/drawing r:id="(.*?)"/))&&(a["!rel"]=o[1]),r["!id"][a["!rel"]]&&(a["!drawel"]=r["!id"][a["!rel"]]),a}(e,0,n,i,o)}function Fl(e,t,n,r){return".bin"===t.slice(-4)?function(e,t,n){var r={NumberFmt:[]};for(var i in I._table)r.NumberFmt[i]=I._table[i];r.CellXf=[],r.Fonts=[];var o=[],a=!1;return Yt(e,function(e,i,s){switch(s){case 44:r.NumberFmt[e[0]]=e[1],I.load(e[1],e[0]);break;case 43:r.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=So(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:break;case 47:"BrtBeginCellXFs"==o[o.length-1]&&r.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:a=!0;break;case 36:a=!1;break;case 37:o.push(i),a=!0;break;case 38:o.pop(),a=!1;break;default:if((i||"").indexOf("Begin")>0)o.push(i);else if((i||"").indexOf("End")>0)o.pop();else if(!a||n.WTF&&"BrtACBegin"!=o[o.length-1])throw new Error("Unexpected record "+s+" "+i)}}),r}(e,n,r):Wo(e,n,r)}function Rl(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],r=!1;return Yt(e,function(e,i,o){switch(o){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:r=!0;break;case 36:r=!1;break;default:if(i.indexOf("Begin")>0||i.indexOf("End"),!r||t.WTF)throw new Error("Unexpected record "+o+" "+i)}}),n}(e,n):function(e,t){var n=[],r="";if(!e)return n;var i=e.match(to);if(i){r=i[2].replace(no,"").split(ro);for(var o=0;o!=r.length;++o){var a=eo(r[o].trim(),t);null!=a&&(n[n.length]=a)}i=Se(i[1]),n.Count=i.count,n.Unique=i.uniqueCount}return n}(e,n)}function Nl(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],r=[],i={},o=!1;return Yt(e,function(e,a,s){switch(s){case 632:r.push(e);break;case 635:i=e;break;case 637:i.t=e.t,i.h=e.h,i.r=e.r;break;case 636:if(i.author=r[i.iauthor],delete i.iauthor,t.sheetRows&&i.rfx&&t.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,n.push(i);break;case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:case 38:break;default:if((a||"").indexOf("Begin")>0);else if((a||"").indexOf("End")>0);else if(!o||t.WTF)throw new Error("Unexpected record "+s+" "+a)}}),n}(e,n):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var n=[],r=[],i=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach(function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&n.push(t[1])}});var o=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return o&&o[1]&&o[1].split(/<\/\w*:?comment>/).forEach(function(e){if(""!==e&&""!==e.trim()){var i=e.match(/<(?:\w+:)?comment[^>]*>/);if(i){var o=Se(i[0]),a={author:o.authorId&&n[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=tn(o.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),c=!!l&&!!l[1]&&eo(l[1])||{r:"",t:"",h:""};a.r=c.r,"<t></t>"==c.r&&(c.t=c.h=""),a.t=c.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(a.h=c.h),r.push(a)}}}}),r}(e,n)}function Hl(e,t,n){return".bin"===t.slice(-4)?function(e,t,n){var r=[];return Yt(e,function(e,t,n){switch(n){case 63:r.push(e);break;default:if((t||"").indexOf("Begin")>0);else if(!((t||"").indexOf("End")>0))throw new Error("Unexpected record "+n+" "+t)}}),r}(e):function(e){var t=[];if(!e)return t;var n=1;return(e.match(we)||[]).forEach(function(e){var r=Se(e);switch(r[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete r[0],r.i?n=r.i:r.i=n,t.push(r)}}),t}(e)}function jl(e,t,n,r){if(".bin"===n.slice(-4))return function(e,t,n,r){if(!e)return e;var i=r||{},o=!1;Yt(e,function(e,t,n){switch(n){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:o=!0;break;case 36:o=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!o||i.WTF)throw new Error("Unexpected record "+n.toString(16)+" "+t)}},i)}(e,0,0,r)}function Ul(e,t,n){return(".bin"===t.slice(-4)?Ol:function(e){var t=[be];t[t.length]=Ml;var n=e.Workbook&&(e.Workbook.Names||[]).length>0,r={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(yl.forEach(function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(r[t[0]]=e.Workbook.WBProps[t[0]])}),e.Workbook.WBProps.CodeName&&(r.codeName=e.Workbook.WBProps.CodeName,delete r.CodeName)),t[t.length]=it("workbookPr",null,r);var i=e.Workbook&&e.Workbook.Sheets||[],o=0;if(i&&i[0]&&i[0].Hidden){for(t[t.length]="<bookViews>",o=0;o!=e.SheetNames.length&&i[o]&&i[o].Hidden;++o);o==e.SheetNames.length&&(o=0),t[t.length]='<workbookView firstSheet="'+o+'" activeTab="'+o+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",o=0;o!=e.SheetNames.length;++o){var a={name:Le(e.SheetNames[o].slice(0,31))};if(a.sheetId=""+(o+1),a["r:id"]="rId"+(o+1),i[o])switch(i[o].Hidden){case 1:a.state="hidden";break;case 2:a.state="veryHidden"}t[t.length]=it("sheet",null,a)}return t[t.length]="</sheets>",n&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(e){var n={name:e.Name};e.Comment&&(n.comment=e.Comment),null!=e.Sheet&&(n.localSheetId=""+e.Sheet),e.Hidden&&(n.hidden="1"),e.Ref&&(t[t.length]=it("definedName",Le(e.Ref),n))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")})(e,n)}function Ql(e,t,n,r,i){return(".bin"===t.slice(-4)?vl:nl)(e,n,r,i)}function zl(e,t,n){return(".bin"===t.slice(-4)?ao:function(e,t){if(!t.bookSST)return"";var n=[be];n[n.length]=it("sst",null,{xmlns:at.main[0],count:e.Count,uniqueCount:e.Unique});for(var r=0;r!=e.length;++r)if(null!=e[r]){var i=e[r],o="<si>";i.r?o+=i.r:(o+="<t",i.t||(i.t=""),i.t.match(io)&&(o+=' xml:space="preserve"'),o+=">"+Le(i.t)+"</t>"),o+="</si>",n[n.length]=o}return n.length>2&&(n[n.length]="</sst>",n[1]=n[1].replace("/>",">")),n.join("")})(e,n)}function Yl(e,t,n){return(".bin"===t.slice(-4)?wa:function(e){var t=[be,ba],n=[];return t.push("<authors>"),e.forEach(function(e){e[1].forEach(function(e){var r=Le(e.a);n.indexOf(r)>-1||(n.push(r),t.push("<author>"+r+"</author>"))})}),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(e){e[1].forEach(function(r){t.push('<comment ref="'+e[0]+'" authorId="'+n.indexOf(Le(r.a))+'"><text>'),t.push(nt("t",null==r.t?"":Le(r.t))),t.push("</text></comment>")})}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")})(e,n)}var Vl=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Gl=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Wl(e,t){var n=e.split(/\s+/),r=[];if(t||(r[0]=n[0]),1===n.length)return r;var i,o,a,s=e.match(Vl);if(s)for(a=0;a!=s.length;++a)-1===(o=(i=s[a].match(Gl))[1].indexOf(":"))?r[i[1]]=i[2].slice(1,i[2].length-1):r["xmlns:"===i[1].slice(0,6)?"xmlns"+i[1].slice(6):i[1].slice(o+1)]=i[2].slice(1,i[2].length-1);return r}function Xl(e){var t={};if(1===e.split(/\s+/).length)return t;var n,r,i,o=e.match(Vl);if(o)for(i=0;i!=o.length;++i)-1===(r=(n=o[i].match(Gl))[1].indexOf(":"))?t[n[1]]=n[2].slice(1,n[2].length-1):t["xmlns:"===n[1].slice(0,6)?"xmlns"+n[1].slice(6):n[1].slice(r+1)]=n[2].slice(1,n[2].length-1);return t}function Zl(e,t,n,r){var i=r;switch((n[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=je(r);break;case"i2":case"int":i=parseInt(r,10);break;case"r4":case"float":i=parseFloat(r);break;case"date":case"dateTime.tz":i=re(r);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+n[0])}e[De(t)]=i}function $l(e,t,n){if("z"!==e.t){if(!n||!1!==n.cellText)try{"e"===e.t?e.w=e.w||$n[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=I._general_int(e.v):e.w=I._general_num(e.v):e.w=I._general(e.v):e.w=(r=t||"General",i=e.v,"General"===(o=P[r]||De(r))?I._general(i):I.format(o,i))}catch(e){if(n.WTF)throw e}var r,i,o;try{var a=P[t]||t||"General";if(n.cellNF&&(e.z=a),n.cellDates&&"n"==e.t&&I.is_date(a)){var s=I.parse_date_code(e.v);s&&(e.t="d",e.v=new Date(s.y,s.m-1,s.d,s.H,s.M,s.S,s.u))}}catch(e){if(n.WTF)throw e}}}function Kl(e,t,n){if(n.cellStyles&&t.Interior){var r=t.Interior;r.Pattern&&(r.patternType=Ho[r.Pattern]||r.Pattern)}e[t.ID]=t}function Jl(e,t,n,r,i,o,a,s,l,c){var u="General",h=r.StyleID,d={};c=c||{};var f=[],p=0;for(void 0===h&&s&&(h=s.StyleID),void 0===h&&a&&(h=a.StyleID);void 0!==o[h]&&(o[h].nf&&(u=o[h].nf),o[h].Interior&&f.push(o[h].Interior),o[h].Parent);)h=o[h].Parent;switch(n.Type){case"Boolean":r.t="b",r.v=je(e);break;case"String":r.t="s",r.r=Ne(De(e)),r.v=e.indexOf("<")>-1?De(t||e).replace(/<.*?>/g,""):r.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),r.v=(re(e)-new Date(Date.UTC(1899,11,30)))/864e5,r.v!=r.v?r.v=De(e):r.v<60&&(r.v=r.v-1),u&&"General"!=u||(u="yyyy-mm-dd");case"Number":void 0===r.v&&(r.v=+e),r.t||(r.t="n");break;case"Error":r.t="e",r.v=Kn[e],!1!==c.cellText&&(r.w=e);break;default:""==e&&""==t?r.t="z":(r.t="s",r.v=Ne(t||e))}if($l(r,u,c),!1!==c.cellFormula)if(r.Formula){var A=De(r.Formula);61==A.charCodeAt(0)&&(A=A.slice(1)),r.f=Sa(A,i),delete r.Formula,"RC"==r.ArrayRange?r.F=Sa("RC:RC",i):r.ArrayRange&&(r.F=Sa(r.ArrayRange,i),l.push([an(r.F),r.F]))}else for(p=0;p<l.length;++p)i.r>=l[p][0].s.r&&i.r<=l[p][0].e.r&&i.c>=l[p][0].s.c&&i.c<=l[p][0].e.c&&(r.F=l[p][1]);c.cellStyles&&(f.forEach(function(e){!d.patternType&&e.patternType&&(d.patternType=e.patternType)}),r.s=d),void 0!==r.StyleID&&(r.ixfe=r.StyleID)}function ql(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function ec(e){if(_&&i.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return Ue(T(E(e)));throw new Error("Bad input format: expected Buffer or string")}var tc=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm;function nc(e,t){var n=t||{};L(I);var r=A(ec(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(r="undefined"!=typeof cptable?cptable.utils.decode(65001,p(r)):Ue(r));var i,o=r.slice(0,1024).toLowerCase(),a=!1;if(-1==o.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach(function(e){o.indexOf("<"+e)>=0&&(a=!0)}),a)return Dc.to_workbook(r,n);var s,l=[];null!=y&&null==n.dense&&(n.dense=y);var c,u={},h=[],d=n.dense?[]:{},f="",g={},v={},m=Wl('<Data ss:Type="String">'),b=0,_=0,w=0,x={s:{r:2e6,c:2e6},e:{r:0,c:0}},C={},S={},B="",k=0,T=[],E={},M={},D=0,O=[],F=[],R={},N=[],H=!1,j=[],U=[],Q={},z=0,Y=0,V={Sheets:[],WBProps:{date1904:!1}},G={};tc.lastIndex=0,r=r.replace(/<!--([\s\S]*?)-->/gm,"");for(var W="";i=tc.exec(r);)switch(i[3]=(W=i[3]).toLowerCase()){case"data":if("data"==W){if("/"===i[1]){if((s=l.pop())[0]!==i[3])throw new Error("Bad state: "+s.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&l.push([i[3],!0]);break}if(l[l.length-1][1])break;"/"===i[1]?Jl(r.slice(b,i.index),B,m,"comment"==l[l.length-1][0]?R:g,{c:_,r:w},C,N[_],v,j,n):(B="",m=Wl(i[0]),b=i.index+i[0].length);break;case"cell":if("/"===i[1])if(F.length>0&&(g.c=F),(!n.sheetRows||n.sheetRows>w)&&void 0!==g.v&&(n.dense?(d[w]||(d[w]=[]),d[w][_]=g):d[en(_)+Jt(w)]=g),g.HRef&&(g.l={Target:g.HRef},g.HRefScreenTip&&(g.l.Tooltip=g.HRefScreenTip),delete g.HRef,delete g.HRefScreenTip),(g.MergeAcross||g.MergeDown)&&(z=_+(0|parseInt(g.MergeAcross,10)),Y=w+(0|parseInt(g.MergeDown,10)),T.push({s:{c:_,r:w},e:{c:z,r:Y}})),n.sheetStubs)if(g.MergeAcross||g.MergeDown){for(var X=_;X<=z;++X)for(var Z=w;Z<=Y;++Z)(X>_||Z>w)&&(n.dense?(d[Z]||(d[Z]=[]),d[Z][X]={t:"z"}):d[en(X)+Jt(Z)]={t:"z"});_=z+1}else++_;else g.MergeAcross?_=z+1:++_;else(g=Xl(i[0])).Index&&(_=+g.Index-1),_<x.s.c&&(x.s.c=_),_>x.e.c&&(x.e.c=_),"/>"===i[0].slice(-2)&&++_,F=[];break;case"row":"/"===i[1]||"/>"===i[0].slice(-2)?(w<x.s.r&&(x.s.r=w),w>x.e.r&&(x.e.r=w),"/>"===i[0].slice(-2)&&(v=Wl(i[0])).Index&&(w=+v.Index-1),_=0,++w):((v=Wl(i[0])).Index&&(w=+v.Index-1),Q={},("0"==v.AutoFitHeight||v.Height)&&(Q.hpx=parseInt(v.Height,10),Q.hpt=Ro(Q.hpx),U[w]=Q),"1"==v.Hidden&&(Q.hidden=!0,U[w]=Q));break;case"worksheet":if("/"===i[1]){if((s=l.pop())[0]!==i[3])throw new Error("Bad state: "+s.join("|"));h.push(f),x.s.r<=x.e.r&&x.s.c<=x.e.c&&(d["!ref"]=on(x),n.sheetRows&&n.sheetRows<=x.e.r&&(d["!fullref"]=d["!ref"],x.e.r=n.sheetRows-1,d["!ref"]=on(x))),T.length&&(d["!merges"]=T),N.length>0&&(d["!cols"]=N),U.length>0&&(d["!rows"]=U),u[f]=d}else x={s:{r:2e6,c:2e6},e:{r:0,c:0}},w=_=0,l.push([i[3],!1]),s=Wl(i[0]),f=De(s.Name),d=n.dense?[]:{},T=[],j=[],U=[],G={name:f,Hidden:0},V.Sheets.push(G);break;case"table":if("/"===i[1]){if((s=l.pop())[0]!==i[3])throw new Error("Bad state: "+s.join("|"))}else{if("/>"==i[0].slice(-2))break;Wl(i[0]),l.push([i[3],!1]),N=[],H=!1}break;case"style":"/"===i[1]?Kl(C,S,n):S=Wl(i[0]);break;case"numberformat":S.nf=De(Wl(i[0]).Format||"General"),P[S.nf]&&(S.nf=P[S.nf]);for(var $=0;392!=$&&I._table[$]!=S.nf;++$);if(392==$)for($=57;392!=$;++$)if(null==I._table[$]){I.load(S.nf,$);break}break;case"column":if("table"!==l[l.length-1][0])break;if((c=Wl(i[0])).Hidden&&(c.hidden=!0,delete c.Hidden),c.Width&&(c.wpx=parseInt(c.Width,10)),!H&&c.wpx>10){H=!0,Eo=Bo;for(var K=0;K<N.length;++K)N[K]&&Po(N[K])}H&&Po(c),N[c.Index-1||N.length]=c;for(var J=0;J<+c.Span;++J)N[N.length]=oe(c);break;case"namedrange":if("/"===i[1])break;V.Names||(V.Names=[]);var q=Se(i[0]),ee={Name:q.Name,Ref:Sa(q.RefersTo.slice(1),{r:0,c:0})};V.Sheets.length>0&&(ee.Sheet=V.Sheets.length-1),V.Names.push(ee);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":break;case"font":if("/>"===i[0].slice(-2))break;"/"===i[1]?B+=r.slice(k,i.index):k=i.index+i[0].length;break;case"interior":if(!n.cellStyles)break;S.Interior=Wl(i[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===i[0].slice(-2))break;"/"===i[1]?kr(E,W,r.slice(D,i.index)):D=i.index+i[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===i[1]){if((s=l.pop())[0]!==i[3])throw new Error("Bad state: "+s.join("|"))}else l.push([i[3],!1]);break;case"comment":if("/"===i[1]){if((s=l.pop())[0]!==i[3])throw new Error("Bad state: "+s.join("|"));ql(R),F.push(R)}else l.push([i[3],!1]),R={a:(s=Wl(i[0])).Author};break;case"autofilter":if("/"===i[1]){if((s=l.pop())[0]!==i[3])throw new Error("Bad state: "+s.join("|"))}else if("/"!==i[0].charAt(i[0].length-2)){var te=Wl(i[0]);d["!autofilter"]={ref:Sa(te.Range).replace(/\$/g,"")},l.push([i[3],!0])}break;case"name":break;case"datavalidation":if("/"===i[1]){if((s=l.pop())[0]!==i[3])throw new Error("Bad state: "+s.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&l.push([i[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===i[1]){if((s=l.pop())[0]!==i[3])throw new Error("Bad state: "+s.join("|"))}else"/"!==i[0].charAt(i[0].length-2)&&l.push([i[3],!0]);break;default:if(0==l.length&&"document"==i[3])return Nc(r,n);if(0==l.length&&"uof"==i[3])return Nc(r,n);var ne=!0;switch(l[l.length-1][0]){case"officedocumentsettings":switch(i[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:ne=!1}break;case"componentoptions":switch(i[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:ne=!1}break;case"excelworkbook":switch(i[3]){case"date1904":V.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:ne=!1}break;case"workbookoptions":switch(i[3]){case"owcversion":case"height":case"width":break;default:ne=!1}break;case"worksheetoptions":switch(i[3]){case"visible":if("/>"===i[0].slice(-2));else if("/"===i[1])switch(r.slice(D,i.index)){case"SheetHidden":G.Hidden=1;break;case"SheetVeryHidden":G.Hidden=2}else D=i.index+i[0].length;break;case"header":d["!margins"]||Ts(d["!margins"]={},"xlml"),d["!margins"].header=Se(i[0]).Margin;break;case"footer":d["!margins"]||Ts(d["!margins"]={},"xlml"),d["!margins"].footer=Se(i[0]).Margin;break;case"pagemargins":var re=Se(i[0]);d["!margins"]||Ts(d["!margins"]={},"xlml"),re.Top&&(d["!margins"].top=re.Top),re.Left&&(d["!margins"].left=re.Left),re.Right&&(d["!margins"].right=re.Right),re.Bottom&&(d["!margins"].bottom=re.Bottom);break;case"displayrighttoleft":V.Views||(V.Views=[]),V.Views[0]||(V.Views[0]={}),V.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":break;case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":case"nosummaryrowsbelowdetail":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"nosummarycolumnsrightdetail":case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;default:ne=!1}break;case"pivottable":case"pivotcache":switch(i[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:ne=!1}break;case"pagebreaks":switch(i[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:ne=!1}break;case"autofilter":switch(i[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:ne=!1}break;case"querytable":switch(i[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:ne=!1}break;case"datavalidation":switch(i[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:ne=!1}break;case"sorting":case"conditionalformatting":switch(i[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:ne=!1}break;case"mapinfo":case"schema":case"data":switch(i[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:ne=!1}break;case"smarttags":break;default:ne=!1}if(ne)break;if(i[3].match(/!\[CDATA/))break;if(!l[l.length-1][1])throw"Unrecognized tag: "+i[3]+"|"+l.join("|");if("customdocumentproperties"===l[l.length-1][0]){if("/>"===i[0].slice(-2))break;"/"===i[1]?Zl(M,W,O,r.slice(D,i.index)):(O=i,D=i.index+i[0].length);break}if(n.WTF)throw"Unrecognized tag: "+i[3]+"|"+l.join("|")}var ie={};return n.bookSheets||n.bookProps||(ie.Sheets=u),ie.SheetNames=h,ie.Workbook=V,ie.SSF=I.get_table(),ie.Props=E,ie.Custprops=M,ie}function rc(e,t){switch(qc(t=t||{}),t.type||"base64"){case"base64":return nc(b.decode(e),t);case"binary":case"buffer":case"file":return nc(e,t);case"array":return nc(T(e),t)}}function ic(e,t){var n=[];return e.Props&&n.push(function(e,t){var n=[];return z(Sr).map(function(e){for(var t=0;t<pr.length;++t)if(pr[t][1]==e)return pr[t];for(t=0;t<yr.length;++t)if(yr[t][1]==e)return yr[t];throw e}).forEach(function(r){if(null!=e[r[1]]){var i=t&&t.Props&&null!=t.Props[r[1]]?t.Props[r[1]]:e[r[1]];switch(r[2]){case"date":i=new Date(i).toISOString().replace(/\.\d*Z/,"Z")}"number"==typeof i?i=String(i):!0===i||!1===i?i=i?"1":"0":i instanceof Date&&(i=new Date(i).toISOString().replace(/\.\d*Z/,"")),n.push(nt(Sr[r[1]]||r[1],i))}}),it("DocumentProperties",n.join(""),{xmlns:st.o})}(e.Props,t)),e.Custprops&&n.push(function(e,t){var n=["Worksheets","SheetNames"],r="CustomDocumentProperties",i=[];return e&&z(e).forEach(function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var r=0;r<pr.length;++r)if(t==pr[r][1])return;for(r=0;r<yr.length;++r)if(t==yr[r][1])return;for(r=0;r<n.length;++r)if(t==n[r])return;var o=e[t],a="string";"number"==typeof o?(a="float",o=String(o)):!0===o||!1===o?(a="boolean",o=o?"1":"0"):o=String(o),i.push(it(Pe(t),o,{"dt:dt":a}))}}),t&&z(t).forEach(function(n){if(Object.prototype.hasOwnProperty.call(t,n)&&(!e||!Object.prototype.hasOwnProperty.call(e,n))){var r=t[n],o="string";"number"==typeof r?(o="float",r=String(r)):!0===r||!1===r?(o="boolean",r=r?"1":"0"):r instanceof Date?(o="dateTime.tz",r=r.toISOString()):r=String(r),i.push(it(Pe(n),r,{"dt:dt":o}))}}),"<"+r+' xmlns="'+st.o+'">'+i.join("")+"</"+r+">"}(e.Props,e.Custprops)),n.join("")}function oc(e){return it("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+ka(e.Ref,{r:0,c:0})})}function ac(e,t,n,r,i,o,a){if(!e||void 0==e.v&&void 0==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+Le(ka(e.f,a))),e.F&&e.F.slice(0,t.length)==t){var l=tn(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(l.r==a.r?"":"["+(l.r-a.r)+"]")+"C"+(l.c==a.c?"":"["+(l.c-a.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=Le(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=Le(e.l.Tooltip))),n["!merges"])for(var c=n["!merges"],u=0;u!=c.length;++u)c[u].s.c==a.c&&c[u].s.r==a.r&&(c[u].e.c>c[u].s.c&&(s["ss:MergeAcross"]=c[u].e.c-c[u].s.c),c[u].e.r>c[u].s.r&&(s["ss:MergeDown"]=c[u].e.r-c[u].s.r));var h="",d="";switch(e.t){case"z":if(!r.sheetStubs)return"";break;case"n":h="Number",d=String(e.v);break;case"b":h="Boolean",d=e.v?"1":"0";break;case"e":h="Error",d=$n[e.v];break;case"d":h="DateTime",d=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||I._table[14]);break;case"s":h="String",d=((e.v||"")+"").replace(Oe,function(e){return Me[e]}).replace(Fe,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var f=Es(r.cellXfs,e,r);s["ss:StyleID"]="s"+(21+f),s["ss:Index"]=a.c+1;var p=null!=e.v?d:"",A="z"==e.t?"":'<Data ss:Type="'+h+'">'+p+"</Data>";return(e.c||[]).length>0&&(A+=e.c.map(function(e){return it("Comment",it("ss:Data",He(e.t||""),{xmlns:"http://www.w3.org/TR/REC-html40"}),{"ss:Author":e.a})}).join("")),it("Cell",A,s)}function sc(e,t){var n='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=No(t.hpt)),t.hpx&&(n+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(n+=' ss:Hidden="1"')),n+">"}function lc(e,t,n){var r=[],i=n.SheetNames[e],o=n.Sheets[i],a=o?function(e,t,n,r){if(!e)return"";if(!((r||{}).Workbook||{}).Names)return"";for(var i=r.Workbook.Names,o=[],a=0;a<i.length;++a){var s=i[a];s.Sheet==n&&(s.Name.match(/^_xlfn\./)||o.push(oc(s)))}return o.join("")}(o,0,e,n):"";return a.length>0&&r.push("<Names>"+a+"</Names>"),(a=o?function(e,t,n,r){if(!e["!ref"])return"";var i=an(e["!ref"]),o=e["!merges"]||[],a=0,s=[];e["!cols"]&&e["!cols"].forEach(function(e,t){Po(e);var n=!!e.width,r=ks(t,e),i={"ss:Index":t+1};n&&(i["ss:Width"]=Mo(r.width)),e.hidden&&(i["ss:Hidden"]="1"),s.push(it("Column",null,i))});for(var l=Array.isArray(e),c=i.s.r;c<=i.e.r;++c){for(var u=[sc(c,(e["!rows"]||[])[c])],h=i.s.c;h<=i.e.c;++h){var d=!1;for(a=0;a!=o.length;++a)if(!(o[a].s.c>h||o[a].s.r>c||o[a].e.c<h||o[a].e.r<c)){o[a].s.c==h&&o[a].s.r==c||(d=!0);break}if(!d){var f={r:c,c:h},p=nn(f),A=l?(e[c]||[])[h]:e[p];u.push(ac(A,p,e,t,0,0,f))}}u.push("</Row>"),u.length>2&&s.push(u.join(""))}return s.join("")}(o,t):"").length>0&&r.push("<Table>"+a+"</Table>"),r.push(function(e,t,n,r){if(!e)return"";var i=[];if(e["!margins"]&&(i.push("<PageSetup>"),e["!margins"].header&&i.push(it("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&i.push(it("Footer",null,{"x:Margin":e["!margins"].footer})),i.push(it("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),i.push("</PageSetup>")),r&&r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[n])if(r.Workbook.Sheets[n].Hidden)i.push(it("Visible",1==r.Workbook.Sheets[n].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o<n&&(!r.Workbook.Sheets[o]||r.Workbook.Sheets[o].Hidden);++o);o==n&&i.push("<Selected/>")}return((((r||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push("<DisplayRightToLeft/>"),e["!protect"]&&(i.push(nt("ProtectContents","True")),e["!protect"].objects&&i.push(nt("ProtectObjects","True")),e["!protect"].scenarios&&i.push(nt("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||i.push(nt("EnableSelection","UnlockedCells")):i.push(nt("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(t){e["!protect"][t[0]]&&i.push("<"+t[1]+"/>")})),0==i.length?"":it("WorksheetOptions",i.join(""),{xmlns:st.x})}(o,0,e,n)),r.join("")}function cc(e,t){t||(t={}),e.SSF||(e.SSF=I.get_table()),e.SSF&&(L(I),I.load_table(e.SSF),t.revssf=G(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Es(t.cellXfs,{},{revssf:{General:0}}));var n=[];n.push(ic(e,t)),n.push(""),n.push(""),n.push("");for(var r=0;r<e.SheetNames.length;++r)n.push(it("Worksheet",lc(r,t,e),{"ss:Name":Le(e.SheetNames[r])}));return n[2]=function(e,t){var n=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach(function(e,t){var r=[];r.push(it("NumberFormat",null,{"ss:Format":Le(I._table[e.numFmtId])}));var i={"ss:ID":"s"+(21+t)};n.push(it("Style",r.join(""),i))}),it("Styles",n.join(""))}(0,t),n[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,n=[],r=0;r<t.length;++r){var i=t[r];null==i.Sheet&&(i.Name.match(/^_xlfn\./)||n.push(oc(i)))}return it("Names",n.join(""))}(e),be+it("Workbook",n.join(""),{xmlns:st.ss,"xmlns:o":st.o,"xmlns:x":st.x,"xmlns:ss":st.ss,"xmlns:dt":st.dt,"xmlns:html":st.html})}function uc(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=function(e){return Pn(e,1)}(n),n.length-n.l<=4)return t;var r=n.read_shift(4);return 0==r||r>40?t:(n.l-=4,t.Reserved1=n.read_shift(0,"lpstr-ansi"),n.length-n.l<=4?t:1907505652!==(r=n.read_shift(4))?t:(t.UnicodeClipboardFormat=function(e){return Pn(e,2)}(n),0==(r=n.read_shift(4))||r>40?t:(n.l-=4,void(t.Reserved2=n.read_shift(0,"lpwstr")))))}function hc(e,t,n,r){var i=n,o=[],a=t.slice(t.l,t.l+i);if(r&&r.enc&&r.enc.insitu)switch(e.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":break;default:if(0===a.length)break;r.enc.insitu(a)}o.push(a),t.l+=i;for(var s=bc[Mt(t,t.l)],l=0;null!=s&&"Continue"===s.n.slice(0,8);)i=Mt(t,t.l+2),l=t.l+4,"ContinueFrt"==s.n?l+=4:"ContinueFrt"==s.n.slice(0,11)&&(l+=12),o.push(t.slice(l,t.l+4+i)),t.l+=4+i,s=bc[Mt(t,t.l)];var c=M(o);Ut(c,0);var u=0;c.lens=[];for(var h=0;h<o.length;++h)c.lens.push(u),u+=o[h].length;return e.f(c,c.length,r)}function dc(e,t,n){if("z"!==e.t&&e.XF){var r=0;try{r=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=I._table[r])}catch(e){if(t.WTF)throw e}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||$n[e.v]:0===r||"General"==r?"n"===e.t?(0|e.v)===e.v?e.w=I._general_int(e.v):e.w=I._general_num(e.v):e.w=I._general(e.v):e.w=I.format(r,e.v,{date1904:!!n})}catch(e){if(t.WTF)throw e}if(t.cellDates&&r&&"n"==e.t&&I.is_date(I._table[r]||String(r))){var i=I.parse_date_code(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}}function fc(e,t,n){return{v:e,ixfe:t,t:n}}function pc(e,t){var n={opts:{}},r={};null!=y&&null==t.dense&&(t.dense=y);var i,o,a,s,l,c,u,h,f=t.dense?[]:{},p={},A={},g=null,v=[],m="",b={},_="",w={},x=[],C=!0,S=[],B=[],k={Sheets:[],WBProps:{date1904:!1},Views:[{}]},T={},E=function(e){return e<8?Zn[e]:e<64&&B[e-8]||Zn[e]},M=function(e,t,n){if(!(U>1)&&(n.sheetRows&&e.r>=n.sheetRows&&(C=!1),C)){if(n.cellStyles&&t.XF&&t.XF.data&&function(e,t,n){var r,i=t.XF.data;i&&i.patternType&&n&&n.cellStyles&&(t.s={},t.s.patternType=i.patternType,(r=Co(E(i.icvFore)))&&(t.s.fgColor={rgb:r}),(r=Co(E(i.icvBack)))&&(t.s.bgColor={rgb:r}))}(0,t,n),delete t.ixfe,delete t.XF,i=e,_=nn(e),A&&A.s&&A.e||(A={s:{r:0,c:0},e:{r:0,c:0}}),e.r<A.s.r&&(A.s.r=e.r),e.c<A.s.c&&(A.s.c=e.c),e.r+1>A.e.r&&(A.e.r=e.r+1),e.c+1>A.e.c&&(A.e.c=e.c+1),n.cellFormula&&t.f)for(var r=0;r<x.length;++r)if(!(x[r][0].s.c>e.c||x[r][0].s.r>e.r||x[r][0].e.c<e.c||x[r][0].e.r<e.r)){t.F=on(x[r][0]),x[r][0].s.c==e.c&&x[r][0].s.r==e.r||delete t.f,t.f&&(t.f=""+cs(x[r][1],0,e,N,D));break}n.dense?(f[e.r]||(f[e.r]=[]),f[e.r][e.c]=t):f[_]=t}},D={enc:!1,sbcch:0,snames:[],sharedf:w,arrayf:x,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(D.password=t.password);var O=[],L=[],P=[],F=[],R=!1,N=[];N.SheetNames=D.snames,N.sharedf=D.sharedf,N.arrayf=D.arrayf,N.names=[],N.XTI=[];var H,j="",U=0,Q=0,Y=[],V=[];D.codepage=1200,d(1200);for(var G=!1;e.l<e.length-1;){var W=e.l,X=e.read_shift(2);if(0===X&&"EOF"===j)break;var Z=e.l===e.length?0:e.read_shift(2),$=bc[X];if($&&$.f){if(t.bookSheets&&"BoundSheet8"===j&&"BoundSheet8"!==$.n)break;if(j=$.n,2===$.r||12==$.r){var K=e.read_shift(2);if(Z-=2,!D.enc&&K!==X&&((255&K)<<8|K>>8)!==X)throw new Error("rt mismatch: "+K+"!="+X);12==$.r&&(e.l+=10,Z-=10)}var J={};J="EOF"===$.n?$.f(e,Z,D):hc($,e,Z,D);var q=$.n;if(0==U&&"BOF"!=q)continue;switch(q){case"Date1904":n.opts.Date1904=k.WBProps.date1904=J;break;case"WriteProtect":n.opts.WriteProtect=!0;break;case"FilePass":if(D.enc||(e.l=0),D.enc=J,!t.password)throw new Error("File is password-protected");if(null==J.valid)throw new Error("Encryption scheme unsupported");if(!J.valid)throw new Error("Password is incorrect");break;case"WriteAccess":D.lastuser=J;break;case"FileSharing":break;case"CodePage":var ee=Number(J);switch(ee){case 21010:ee=1200;break;case 32768:ee=1e4;break;case 32769:ee=1252}d(D.codepage=ee),G=!0;break;case"RRTabId":D.rrtabid=J;break;case"WinProtect":D.winlocked=J;break;case"Template":case"BookBool":case"UsesELFs":case"MTRSettings":break;case"RefreshAll":case"CalcCount":case"CalcDelta":case"CalcIter":case"CalcMode":case"CalcPrecision":case"CalcSaveRecalc":n.opts[q]=J;break;case"CalcRefMode":D.CalcRefMode=J;break;case"Uncalced":break;case"ForceFullCalculation":n.opts.FullCalc=J;break;case"WsBool":J.fDialog&&(f["!type"]="dialog");break;case"XF":S.push(J);break;case"ExtSST":case"BookExt":case"RichTextStream":case"BkHim":break;case"SupBook":N.push([J]),N[N.length-1].XTI=[];break;case"ExternName":N[N.length-1].push(J);break;case"Index":break;case"Lbl":H={Name:J.Name,Ref:cs(J.rgce,0,null,N,D)},J.itab>0&&(H.Sheet=J.itab-1),N.names.push(H),N[0]||(N[0]=[],N[0].XTI=[]),N[N.length-1].push(J),"_xlnm._FilterDatabase"==J.Name&&J.itab>0&&J.rgce&&J.rgce[0]&&J.rgce[0][0]&&"PtgArea3d"==J.rgce[0][0][0]&&(V[J.itab-1]={ref:on(J.rgce[0][0][1][2])});break;case"ExternCount":D.ExternCount=J;break;case"ExternSheet":0==N.length&&(N[0]=[],N[0].XTI=[]),N[N.length-1].XTI=N[N.length-1].XTI.concat(J),N.XTI=N.XTI.concat(J);break;case"NameCmt":if(D.biff<8)break;null!=H&&(H.Comment=J[1]);break;case"Protect":f["!protect"]=J;break;case"Password":0!==J&&D.WTF&&console.error("Password verifier: "+J);break;case"Prot4Rev":case"Prot4RevPass":break;case"BoundSheet8":p[J.pos]=J,D.snames.push(J.name);break;case"EOF":if(--U)break;if(A.e){if(A.e.r>0&&A.e.c>0){if(A.e.r--,A.e.c--,f["!ref"]=on(A),t.sheetRows&&t.sheetRows<=A.e.r){var te=A.e.r;A.e.r=t.sheetRows-1,f["!fullref"]=f["!ref"],f["!ref"]=on(A),A.e.r=te}A.e.r++,A.e.c++}O.length>0&&(f["!merges"]=O),L.length>0&&(f["!objects"]=L),P.length>0&&(f["!cols"]=P),F.length>0&&(f["!rows"]=F),k.Sheets.push(T)}""===m?b=f:r[m]=f,f=t.dense?[]:{};break;case"BOF":if(8===D.biff&&(D.biff={9:2,521:3,1033:4}[X]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[J.BIFFVer]||8),8==D.biff&&0==J.BIFFVer&&16==J.dt&&(D.biff=2),U++)break;if(C=!0,f=t.dense?[]:{},D.biff<8&&!G&&(G=!0,d(D.codepage=t.codepage||1252)),D.biff<5){""===m&&(m="Sheet1"),A={s:{r:0,c:0},e:{r:0,c:0}};var ne={pos:e.l-Z,name:m};p[ne.pos]=ne,D.snames.push(m)}else m=(p[W]||{name:""}).name;32==J.dt&&(f["!type"]="chart"),64==J.dt&&(f["!type"]="macro"),O=[],L=[],D.arrayf=x=[],P=[],F=[],0,R=!1,T={Hidden:(p[W]||{hs:0}).hs,name:m};break;case"Number":case"BIFF2NUM":case"BIFF2INT":"chart"==f["!type"]&&(t.dense?(f[J.r]||[])[J.c]:f[nn({c:J.c,r:J.r})])&&++J.c,c={ixfe:J.ixfe,XF:S[J.ixfe]||{},v:J.val,t:"n"},Q>0&&(c.z=Y[c.ixfe>>8&31]),dc(c,t,n.opts.Date1904),M({c:J.c,r:J.r},c,t);break;case"BoolErr":c={ixfe:J.ixfe,XF:S[J.ixfe],v:J.val,t:J.t},Q>0&&(c.z=Y[c.ixfe>>8&31]),dc(c,t,n.opts.Date1904),M({c:J.c,r:J.r},c,t);break;case"RK":c={ixfe:J.ixfe,XF:S[J.ixfe],v:J.rknum,t:"n"},Q>0&&(c.z=Y[c.ixfe>>8&31]),dc(c,t,n.opts.Date1904),M({c:J.c,r:J.r},c,t);break;case"MulRk":for(var re=J.c;re<=J.C;++re){var ie=J.rkrec[re-J.c][0];c={ixfe:ie,XF:S[ie],v:J.rkrec[re-J.c][1],t:"n"},Q>0&&(c.z=Y[c.ixfe>>8&31]),dc(c,t,n.opts.Date1904),M({c:re,r:J.r},c,t)}break;case"Formula":if("String"==J.val){g=J;break}if((c=fc(J.val,J.cell.ixfe,J.tt)).XF=S[c.ixfe],t.cellFormula){var oe=J.formula;if(oe&&oe[0]&&oe[0][0]&&"PtgExp"==oe[0][0][0]){var ae=oe[0][0][1][0],se=oe[0][0][1][1],le=nn({r:ae,c:se});w[le]?c.f=""+cs(J.formula,0,J.cell,N,D):c.F=((t.dense?(f[ae]||[])[se]:f[le])||{}).F}else c.f=""+cs(J.formula,0,J.cell,N,D)}Q>0&&(c.z=Y[c.ixfe>>8&31]),dc(c,t,n.opts.Date1904),M(J.cell,c,t),g=J;break;case"String":if(!g)throw new Error("String record expects Formula");g.val=J,(c=fc(J,g.cell.ixfe,"s")).XF=S[c.ixfe],t.cellFormula&&(c.f=""+cs(g.formula,0,g.cell,N,D)),Q>0&&(c.z=Y[c.ixfe>>8&31]),dc(c,t,n.opts.Date1904),M(g.cell,c,t),g=null;break;case"Array":x.push(J);var ce=nn(J[0].s);if(o=t.dense?(f[J[0].s.r]||[])[J[0].s.c]:f[ce],t.cellFormula&&o){if(!g)break;if(!ce||!o)break;o.f=""+cs(J[1],0,J[0],N,D),o.F=on(J[0])}break;case"ShrFmla":if(!C)break;if(!t.cellFormula)break;if(_){if(!g)break;w[nn(g.cell)]=J[0],((o=t.dense?(f[g.cell.r]||[])[g.cell.c]:f[nn(g.cell)])||{}).f=""+cs(J[0],0,i,N,D)}break;case"LabelSst":c=fc(v[J.isst].t,J.ixfe,"s"),v[J.isst].h&&(c.h=v[J.isst].h),c.XF=S[c.ixfe],Q>0&&(c.z=Y[c.ixfe>>8&31]),dc(c,t,n.opts.Date1904),M({c:J.c,r:J.r},c,t);break;case"Blank":t.sheetStubs&&(c={ixfe:J.ixfe,XF:S[J.ixfe],t:"z"},Q>0&&(c.z=Y[c.ixfe>>8&31]),dc(c,t,n.opts.Date1904),M({c:J.c,r:J.r},c,t));break;case"MulBlank":if(t.sheetStubs)for(var ue=J.c;ue<=J.C;++ue){var he=J.ixfe[ue-J.c];c={ixfe:he,XF:S[he],t:"z"},Q>0&&(c.z=Y[c.ixfe>>8&31]),dc(c,t,n.opts.Date1904),M({c:ue,r:J.r},c,t)}break;case"RString":case"Label":case"BIFF2STR":(c=fc(J.val,J.ixfe,"s")).XF=S[c.ixfe],Q>0&&(c.z=Y[c.ixfe>>8&31]),dc(c,t,n.opts.Date1904),M({c:J.c,r:J.r},c,t);break;case"Dimensions":1===U&&(A=J);break;case"SST":v=J;break;case"Format":if(4==D.biff){Y[Q++]=J[1];for(var de=0;de<Q+163&&I._table[de]!=J[1];++de);de>=163&&I.load(J[1],Q+163)}else I.load(J[1],J[0]);break;case"BIFF2FORMAT":Y[Q++]=J;for(var fe=0;fe<Q+163&&I._table[fe]!=J;++fe);fe>=163&&I.load(J,Q+163);break;case"MergeCells":O=O.concat(J);break;case"Obj":L[J.cmo[0]]=D.lastobj=J;break;case"TxO":D.lastobj.TxO=J;break;case"ImData":D.lastobj.ImData=J;break;case"HLink":for(l=J[0].s.r;l<=J[0].e.r;++l)for(s=J[0].s.c;s<=J[0].e.c;++s)(o=t.dense?(f[l]||[])[s]:f[nn({c:s,r:l})])&&(o.l=J[1]);break;case"HLinkTooltip":for(l=J[0].s.r;l<=J[0].e.r;++l)for(s=J[0].s.c;s<=J[0].e.c;++s)(o=t.dense?(f[l]||[])[s]:f[nn({c:s,r:l})])&&o.l&&(o.l.Tooltip=J[1]);break;case"Note":if(D.biff<=5&&D.biff>=2)break;o=t.dense?(f[J[0].r]||[])[J[0].c]:f[nn(J[0])];var pe=L[J[2]];o||(t.dense?(f[J[0].r]||(f[J[0].r]=[]),o=f[J[0].r][J[0].c]={t:"z"}):o=f[nn(J[0])]={t:"z"},A.e.r=Math.max(A.e.r,J[0].r),A.s.r=Math.min(A.s.r,J[0].r),A.e.c=Math.max(A.e.c,J[0].c),A.s.c=Math.min(A.s.c,J[0].c)),o.c||(o.c=[]),a={a:J[1],t:pe.TxO.t},o.c.push(a);break;default:switch($.n){case"ClrtClient":break;case"XFExt":S[J.ixfe],J.ext.forEach(function(e){e[0]});break;case"DefColWidth":J;break;case"DefaultRowHeight":J[1];break;case"ColInfo":if(!D.cellStyles)break;for(;J.e>=J.s;)P[J.e--]={width:J.w/256},R||(R=!0,Lo(J.w/256)),Po(P[J.e+1]);break;case"Row":var Ae={};null!=J.level&&(F[J.r]=Ae,Ae.level=J.level),J.hidden&&(F[J.r]=Ae,Ae.hidden=!0),J.hpt&&(F[J.r]=Ae,Ae.hpt=J.hpt,Ae.hpx=No(J.hpt));break;case"LeftMargin":case"RightMargin":case"TopMargin":case"BottomMargin":f["!margins"]||Ts(f["!margins"]={}),f["!margins"][q.slice(0,-6).toLowerCase()]=J;break;case"Setup":f["!margins"]||Ts(f["!margins"]={}),f["!margins"].header=J.header,f["!margins"].footer=J.footer;break;case"Window2":J.RTL&&(k.Views[0].RTL=!0);break;case"Header":case"Footer":case"HCenter":case"VCenter":case"Pls":case"GCW":case"LHRecord":case"DBCell":case"EntExU2":case"SxView":case"Sxvd":case"SXVI":case"SXVDEx":case"SxIvd":case"SXString":case"Sync":case"Addin":case"SXDI":case"SXLI":case"SXEx":case"QsiSXTag":case"Selection":case"Feat":break;case"FeatHdr":case"FeatHdr11":break;case"Feature11":case"Feature12":case"List12":break;case"Country":u=J;break;case"RecalcId":case"DxGCol":break;case"Fbi":case"Fbi2":case"GelFrame":case"Font":case"XFCRC":case"Style":case"StyleExt":break;case"Palette":B=J;break;case"Theme":h=J;break;case"ScenarioProtect":case"ObjProtect":case"CondFmt12":case"Table":case"TableStyles":case"TableStyle":case"TableStyleElement":case"SXStreamID":case"SXVS":case"DConRef":case"SXAddl":case"DConBin":case"DConName":case"SXPI":case"SxFormat":case"SxSelect":case"SxRule":case"SxFilt":case"SxItm":case"SxDXF":case"ScenMan":case"DCon":case"CellWatch":case"PrintRowCol":case"PrintGrid":case"PrintSize":case"XCT":case"CRN":case"Scl":case"SheetExt":case"SheetExtOptional":case"ObNoMacros":case"ObProj":break;case"CodeName":m?T.CodeName=J||T.name:k.WBProps.CodeName=J||"ThisWorkbook";break;case"GUIDTypeLib":case"WOpt":case"PhoneticInfo":case"OleObjectSize":break;case"DXF":case"DXFN":case"DXFN12":case"DXFN12List":case"DXFN12NoCB":break;case"Dv":case"DVal":break;case"BRAI":case"Series":case"SeriesText":case"DConn":case"DbOrParamQry":case"DBQueryExt":case"OleDbConn":case"ExtString":case"IFmtRecord":break;case"CondFmt":case"CF":case"CF12":case"CFEx":case"Excel9File":case"Units":break;case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":case"BuiltInFnGroupCount":break;case"Window1":case"HideObj":case"GridSet":case"Guts":case"UserBView":case"UserSViewBegin":case"UserSViewEnd":case"Pane":break;default:switch($.n){case"Dat":case"Begin":case"End":case"StartBlock":case"EndBlock":case"Frame":case"Area":case"Axis":case"AxisLine":case"Tick":break;case"AxesUsed":case"CrtLayout12":case"CrtLayout12A":case"CrtLink":case"CrtLine":case"CrtMlFrt":case"CrtMlFrtContinue":break;case"LineFormat":case"AreaFormat":case"Chart":case"Chart3d":case"Chart3DBarShape":case"ChartFormat":case"ChartFrtInfo":break;case"PlotArea":case"PlotGrowth":break;case"SeriesList":case"SerParent":case"SerAuxTrend":break;case"DataFormat":case"SerToCrt":case"FontX":break;case"CatSerRange":case"AxcExt":case"SerFmt":case"ShtProps":break;case"DefaultText":case"Text":case"CatLab":case"DataLabExtContents":break;case"Legend":case"LegendException":break;case"Pie":case"Scatter":break;case"PieFormat":case"MarkerFormat":break;case"StartObject":case"EndObject":break;case"AlRuns":case"ObjectLink":case"SIIndex":break;case"AttachedLabel":case"YMult":break;case"Line":case"Bar":case"Surf":case"AxisParent":case"Pos":case"ValueRange":case"SXViewEx9":case"SXViewLink":case"PivotChartBits":case"SBaseRef":case"TextPropsStream":case"LnExt":case"MkrExt":case"CrtCoopt":break;case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":case"TxtQry":case"FilterMode":break;case"AutoFilter":case"AutoFilterInfo":case"AutoFilter12":case"DropDownObjIds":case"Sort":case"SortData":case"ShapePropsStream":break;case"MsoDrawing":case"MsoDrawingGroup":case"MsoDrawingSelection":break;case"WebPub":case"AutoWebPub":break;case"HeaderFooter":case"HFPicture":case"PLV":case"HorizontalPageBreaks":case"VerticalPageBreaks":break;case"Backup":case"CompressPictures":case"Compat12":break;case"Continue":case"ContinueFrt12":break;case"FrtFontList":case"FrtWrapper":break;default:switch($.n){case"TabIdConf":case"Radar":case"RadarArea":case"DropBar":case"Intl":case"CoordList":case"SerAuxErrBar":break;case"BIFF2FONTCLR":case"BIFF2FMTCNT":case"BIFF2FONTXTRA":break;case"BIFF2XF":case"BIFF3XF":case"BIFF4XF":break;case"BIFF4FMTCNT":case"BIFF2ROW":case"BIFF2WINDOW2":break;case"SCENARIO":case"DConBin":case"PicF":case"DataLabExt":case"Lel":case"BopPop":case"BopPopCustom":case"RealTimeData":case"Name":break;case"LHNGraph":case"FnGroupName":case"AddMenu":case"LPr":break;case"ListObj":case"ListField":case"RRSort":case"BigName":break;case"ToolbarHdr":case"ToolbarEnd":case"DDEObjName":case"FRTArchId$":break;default:if(t.WTF)throw"Unrecognized Record "+$.n}}}}}else e.l+=Z}return n.SheetNames=z(p).sort(function(e,t){return Number(e)-Number(t)}).map(function(e){return p[e].name}),t.bookSheets||(n.Sheets=r),n.Sheets&&V.forEach(function(e,t){n.Sheets[n.SheetNames[t]]["!autofilter"]=e}),n.Preamble=b,n.Strings=v,n.SSF=I.get_table(),D.enc&&(n.Encryption=D.enc),h&&(n.Themes=h),n.Metadata={},void 0!==u&&(n.Metadata.Country=u),N.names.length>0&&(k.Names=N.names),n.Workbook=k,n}var Ac={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function gc(e,t){var n,r,i,o;if(t||(t={}),qc(t),f(),t.codepage&&h(t.codepage),e.FullPaths){if(j.find(e,"/encryption"))throw new Error("File is password-protected");n=j.find(e,"!CompObj"),r=j.find(e,"/Workbook")||j.find(e,"/Book")}else{switch(t.type){case"base64":e=B(b.decode(e));break;case"binary":e=B(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}Ut(e,0),r={content:e}}if(n&&uc(n),t.bookProps&&!t.bookSheets)i={};else{var a=_?"buffer":"array";if(r&&r.content)i=pc(r.content,t);else if((o=j.find(e,"PerfectOffice_MAIN"))&&o.content)i=Xi.to_workbook(o.content,(t.type=a,t));else{if(!(o=j.find(e,"NativeContent_MAIN"))||!o.content)throw new Error("Cannot find Workbook stream");i=Xi.to_workbook(o.content,(t.type=a,t))}t.bookVBA&&e.FullPaths&&j.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=function(e){var t=j.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(n,r){if("/"!==n.slice(-1)&&n.match(/_VBA_PROJECT_CUR/)){var i=n.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");j.utils.cfb_add(t,i,e.FileIndex[r].content)}}),j.write(t)}(e))}var s={};return e.FullPaths&&function(e,t,n){var r=j.find(e,"!DocumentSummaryInformation");if(r&&r.size>0)try{var i=Yr(r,Un,Ac.DSI);for(var o in i)t[o]=i[o]}catch(e){if(n.WTF)throw e}var a=j.find(e,"!SummaryInformation");if(a&&a.size>0)try{var s=Yr(a,Qn,Ac.SI);for(var l in s)null==t[l]&&(t[l]=s[l])}catch(e){if(n.WTF)throw e}t.HeadingPairs&&t.TitlesOfParts&&(br(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}(e,s,t),i.Props=i.Custprops=s,t.bookFiles&&(i.cfb=e),i}function vc(e,t){var n=t||{},r=j.utils.cfb_new({root:"R"}),i="/Workbook";switch(n.bookType||"xls"){case"xls":n.bookType="biff8";case"xla":n.bookType||(n.bookType="xla");case"biff8":i="/Workbook",n.biff=8;break;case"biff5":i="/Book",n.biff=5;break;default:throw new Error("invalid type "+n.bookType+" for XLS CFB")}return j.utils.cfb_add(r,i,Mc(e,n)),8==n.biff&&(e.Props||e.Custprops)&&function(e,t){var n,r=[],i=[],o=[],a=0;if(e.Props)for(n=z(e.Props),a=0;a<n.length;++a)(Object.prototype.hasOwnProperty.call(Yn,n[a])?r:Object.prototype.hasOwnProperty.call(Vn,n[a])?i:o).push([n[a],e.Props[n[a]]]);if(e.Custprops)for(n=z(e.Custprops),a=0;a<n.length;++a)Object.prototype.hasOwnProperty.call(e.Props||{},n[a])||(Object.prototype.hasOwnProperty.call(Yn,n[a])?r:Object.prototype.hasOwnProperty.call(Vn,n[a])?i:o).push([n[a],e.Custprops[n[a]]]);var s=[];for(a=0;a<o.length;++a)Ur.indexOf(o[a][0])>-1||null!=o[a][1]&&s.push(o[a]);i.length&&j.utils.cfb_add(t,"/SummaryInformation",Vr(i,Ac.SI,Vn,Qn)),(r.length||s.length)&&j.utils.cfb_add(t,"/DocumentSummaryInformation",Vr(r,Ac.DSI,Yn,Un,s.length?s:null,Ac.UDI))}(e,r),8==n.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach(function(n,r){if(0!=r){var i=n.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==i.slice(-1)&&j.utils.cfb_add(e,i,t.FileIndex[r].content)}})}(r,j.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),r}var mc={0:{n:"BrtRowHdr",f:function(e,t){var n={},r=e.l+t;n.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var o=e.read_shift(1);return e.l=r,7&o&&(n.level=7&o),16&o&&(n.hidden=!0),32&o&&(n.hpt=i/20),n}},1:{n:"BrtCellBlank",f:function(e){return[yn(e)]}},2:{n:"BrtCellRk",f:function(e){return[yn(e),Tn(e),"n"]}},3:{n:"BrtCellError",f:function(e){return[yn(e),e.read_shift(1),"e"]}},4:{n:"BrtCellBool",f:function(e){return[yn(e),e.read_shift(1),"b"]}},5:{n:"BrtCellReal",f:function(e){return[yn(e),On(e),"n"]}},6:{n:"BrtCellSt",f:function(e){return[yn(e),fn(e),"str"]}},7:{n:"BrtCellIsst",f:function(e){return[yn(e),e.read_shift(4),"s"]}},8:{n:"BrtFmlaString",f:function(e,t,n){var r=e.l+t,i=yn(e);i.r=n["!row"];var o=[i,fn(e),"str"];if(n.cellFormula){e.l+=2;var a=ps(e,r-e.l,n);o[3]=cs(a,0,i,n.supbooks,n)}else e.l=r;return o}},9:{n:"BrtFmlaNum",f:function(e,t,n){var r=e.l+t,i=yn(e);i.r=n["!row"];var o=[i,On(e),"n"];if(n.cellFormula){e.l+=2;var a=ps(e,r-e.l,n);o[3]=cs(a,0,i,n.supbooks,n)}else e.l=r;return o}},10:{n:"BrtFmlaBool",f:function(e,t,n){var r=e.l+t,i=yn(e);i.r=n["!row"];var o=[i,e.read_shift(1),"b"];if(n.cellFormula){e.l+=2;var a=ps(e,r-e.l,n);o[3]=cs(a,0,i,n.supbooks,n)}else e.l=r;return o}},11:{n:"BrtFmlaError",f:function(e,t,n){var r=e.l+t,i=yn(e);i.r=n["!row"];var o=[i,e.read_shift(1),"e"];if(n.cellFormula){e.l+=2;var a=ps(e,r-e.l,n);o[3]=cs(a,0,i,n.supbooks,n)}else e.l=r;return o}},16:{n:"BrtFRTArchID$",f:function(e,t){var n={};return e.read_shift(4),n.ArchID=e.read_shift(4),e.l+=t-8,n}},19:{n:"BrtSSTItem",f:gn},20:{n:"BrtPCDIMissing"},21:{n:"BrtPCDINumber"},22:{n:"BrtPCDIBoolean"},23:{n:"BrtPCDIError"},24:{n:"BrtPCDIString"},25:{n:"BrtPCDIDatetime"},26:{n:"BrtPCDIIndex"},27:{n:"BrtPCDIAMissing"},28:{n:"BrtPCDIANumber"},29:{n:"BrtPCDIABoolean"},30:{n:"BrtPCDIAError"},31:{n:"BrtPCDIAString"},32:{n:"BrtPCDIADatetime"},33:{n:"BrtPCRRecord"},34:{n:"BrtPCRRecordDt"},35:{n:"BrtFRTBegin"},36:{n:"BrtFRTEnd"},37:{n:"BrtACBegin"},38:{n:"BrtACEnd"},39:{n:"BrtName",f:function(e,t,n){var r=e.l+t;e.l+=4,e.l+=1;var i=e.read_shift(4),o=Sn(e),a=As(e,0,n),s=xn(e);e.l=r;var l={Name:o,Ptg:a};return i<268435455&&(l.Sheet=i),s&&(l.Comment=s),l}},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:function(e,t,n){var r={};r.sz=e.read_shift(2)/20;var i=function(e){var t=e.read_shift(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(i.fItalic&&(r.italic=1),i.fCondense&&(r.condense=1),i.fExtend&&(r.extend=1),i.fShadow&&(r.shadow=1),i.fOutline&&(r.outline=1),i.fStrikeout&&(r.strike=1),700===e.read_shift(2)&&(r.bold=1),e.read_shift(2)){case 1:r.vertAlign="superscript";break;case 2:r.vertAlign="subscript"}var o=e.read_shift(1);0!=o&&(r.underline=o);var a=e.read_shift(1);a>0&&(r.family=a);var s=e.read_shift(1);switch(s>0&&(r.charset=s),e.l++,r.color=function(e){var t={},n=e.read_shift(1)>>>1,r=e.read_shift(1),i=e.read_shift(2,"i"),o=e.read_shift(1),a=e.read_shift(1),s=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=r;var l=Zn[r];l&&(t.rgb=Co(l));break;case 2:t.rgb=Co([o,a,s]);break;case 3:t.theme=r}return 0!=i&&(t.tint=i>0?i/32767:i/32768),t}(e),e.read_shift(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor"}return r.name=fn(e),r}},44:{n:"BrtFmt",f:function(e,t){return[e.read_shift(2),fn(e)]}},45:{n:"BrtFill",f:qo},46:{n:"BrtBorder",f:ra},47:{n:"BrtXF",f:function(e,t){var n=e.l+t,r=e.read_shift(2),i=e.read_shift(2);return e.l=n,{ixfe:r,numFmtId:i}}},48:{n:"BrtStyle"},49:{n:"BrtCellMeta"},50:{n:"BrtValueMeta"},51:{n:"BrtMdb"},52:{n:"BrtBeginFmd"},53:{n:"BrtEndFmd"},54:{n:"BrtBeginMdx"},55:{n:"BrtEndMdx"},56:{n:"BrtBeginMdxTuple"},57:{n:"BrtEndMdxTuple"},58:{n:"BrtMdxMbrIstr"},59:{n:"BrtStr"},60:{n:"BrtColInfo",f:Hi},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:function(e){var t={};t.i=e.read_shift(4);var n={};n.r=e.read_shift(4),n.c=e.read_shift(4),t.r=nn(n);var r=e.read_shift(1);return 2&r&&(t.l="1"),8&r&&(t.a="1"),t}},64:{n:"BrtDVal",f:function(){}},65:{n:"BrtSxvcellNum"},66:{n:"BrtSxvcellStr"},67:{n:"BrtSxvcellBool"},68:{n:"BrtSxvcellErr"},69:{n:"BrtSxvcellDate"},70:{n:"BrtSxvcellNil"},128:{n:"BrtFileVersion"},129:{n:"BrtBeginSheet"},130:{n:"BrtEndSheet"},131:{n:"BrtBeginBook",f:Qt,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:function(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}},138:{n:"BrtEndWsView"},139:{n:"BrtBeginCsViews"},140:{n:"BrtEndCsViews"},141:{n:"BrtBeginCsView"},142:{n:"BrtEndCsView"},143:{n:"BrtBeginBundleShs"},144:{n:"BrtEndBundleShs"},145:{n:"BrtBeginSheetData"},146:{n:"BrtEndSheetData"},147:{n:"BrtWsProp",f:function(e,t){var n={};return e.l+=19,n.name=_n(e,t-19),n}},148:{n:"BrtWsDim",f:il,p:16},151:{n:"BrtPane",f:function(){}},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:function(e,t){var n={},r=e.read_shift(4);n.defaultThemeVersion=e.read_shift(4);var i=t>8?fn(e):"";return i.length>0&&(n.CodeName=i),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}},154:{n:"BrtWbFactoid"},155:{n:"BrtFileRecover"},156:{n:"BrtBundleSh",f:function(e,t){var n={};return n.Hidden=e.read_shift(4),n.iTabID=e.read_shift(4),n.strRelID=Bn(e,t-8),n.name=fn(e),n}},157:{n:"BrtCalcProp"},158:{n:"BrtBookView"},159:{n:"BrtBeginSst",f:function(e){return[e.read_shift(4),e.read_shift(4)]}},160:{n:"BrtEndSst"},161:{n:"BrtBeginAFilter",f:Mn},162:{n:"BrtEndAFilter"},163:{n:"BrtBeginFilterColumn"},164:{n:"BrtEndFilterColumn"},165:{n:"BrtBeginFilters"},166:{n:"BrtEndFilters"},167:{n:"BrtFilter"},168:{n:"BrtColorFilter"},169:{n:"BrtIconFilter"},170:{n:"BrtTop10Filter"},171:{n:"BrtDynamicFilter"},172:{n:"BrtBeginCustomFilters"},173:{n:"BrtEndCustomFilters"},174:{n:"BrtCustomFilter"},175:{n:"BrtAFilterDateGroupItem"},176:{n:"BrtMergeCell",f:sl},177:{n:"BrtBeginMergeCells"},178:{n:"BrtEndMergeCells"},179:{n:"BrtBeginPivotCacheDef"},180:{n:"BrtEndPivotCacheDef"},181:{n:"BrtBeginPCDFields"},182:{n:"BrtEndPCDFields"},183:{n:"BrtBeginPCDField"},184:{n:"BrtEndPCDField"},185:{n:"BrtBeginPCDSource"},186:{n:"BrtEndPCDSource"},187:{n:"BrtBeginPCDSRange"},188:{n:"BrtEndPCDSRange"},189:{n:"BrtBeginPCDFAtbl"},190:{n:"BrtEndPCDFAtbl"},191:{n:"BrtBeginPCDIRun"},192:{n:"BrtEndPCDIRun"},193:{n:"BrtBeginPivotCacheRecords"},194:{n:"BrtEndPivotCacheRecords"},195:{n:"BrtBeginPCDHierarchies"},196:{n:"BrtEndPCDHierarchies"},197:{n:"BrtBeginPCDHierarchy"},198:{n:"BrtEndPCDHierarchy"},199:{n:"BrtBeginPCDHFieldsUsage"},200:{n:"BrtEndPCDHFieldsUsage"},201:{n:"BrtBeginExtConnection"},202:{n:"BrtEndExtConnection"},203:{n:"BrtBeginECDbProps"},204:{n:"BrtEndECDbProps"},205:{n:"BrtBeginECOlapProps"},206:{n:"BrtEndECOlapProps"},207:{n:"BrtBeginPCDSConsol"},208:{n:"BrtEndPCDSConsol"},209:{n:"BrtBeginPCDSCPages"},210:{n:"BrtEndPCDSCPages"},211:{n:"BrtBeginPCDSCPage"},212:{n:"BrtEndPCDSCPage"},213:{n:"BrtBeginPCDSCPItem"},214:{n:"BrtEndPCDSCPItem"},215:{n:"BrtBeginPCDSCSets"},216:{n:"BrtEndPCDSCSets"},217:{n:"BrtBeginPCDSCSet"},218:{n:"BrtEndPCDSCSet"},219:{n:"BrtBeginPCDFGroup"},220:{n:"BrtEndPCDFGroup"},221:{n:"BrtBeginPCDFGItems"},222:{n:"BrtEndPCDFGItems"},223:{n:"BrtBeginPCDFGRange"},224:{n:"BrtEndPCDFGRange"},225:{n:"BrtBeginPCDFGDiscrete"},226:{n:"BrtEndPCDFGDiscrete"},227:{n:"BrtBeginPCDSDTupleCache"},228:{n:"BrtEndPCDSDTupleCache"},229:{n:"BrtBeginPCDSDTCEntries"},230:{n:"BrtEndPCDSDTCEntries"},231:{n:"BrtBeginPCDSDTCEMembers"},232:{n:"BrtEndPCDSDTCEMembers"},233:{n:"BrtBeginPCDSDTCEMember"},234:{n:"BrtEndPCDSDTCEMember"},235:{n:"BrtBeginPCDSDTCQueries"},236:{n:"BrtEndPCDSDTCQueries"},237:{n:"BrtBeginPCDSDTCQuery"},238:{n:"BrtEndPCDSDTCQuery"},239:{n:"BrtBeginPCDSDTCSets"},240:{n:"BrtEndPCDSDTCSets"},241:{n:"BrtBeginPCDSDTCSet"},242:{n:"BrtEndPCDSDTCSet"},243:{n:"BrtBeginPCDCalcItems"},244:{n:"BrtEndPCDCalcItems"},245:{n:"BrtBeginPCDCalcItem"},246:{n:"BrtEndPCDCalcItem"},247:{n:"BrtBeginPRule"},248:{n:"BrtEndPRule"},249:{n:"BrtBeginPRFilters"},250:{n:"BrtEndPRFilters"},251:{n:"BrtBeginPRFilter"},252:{n:"BrtEndPRFilter"},253:{n:"BrtBeginPNames"},254:{n:"BrtEndPNames"},255:{n:"BrtBeginPName"},256:{n:"BrtEndPName"},257:{n:"BrtBeginPNPairs"},258:{n:"BrtEndPNPairs"},259:{n:"BrtBeginPNPair"},260:{n:"BrtEndPNPair"},261:{n:"BrtBeginECWebProps"},262:{n:"BrtEndECWebProps"},263:{n:"BrtBeginEcWpTables"},264:{n:"BrtEndECWPTables"},265:{n:"BrtBeginECParams"},266:{n:"BrtEndECParams"},267:{n:"BrtBeginECParam"},268:{n:"BrtEndECParam"},269:{n:"BrtBeginPCDKPIs"},270:{n:"BrtEndPCDKPIs"},271:{n:"BrtBeginPCDKPI"},272:{n:"BrtEndPCDKPI"},273:{n:"BrtBeginDims"},274:{n:"BrtEndDims"},275:{n:"BrtBeginDim"},276:{n:"BrtEndDim"},277:{n:"BrtIndexPartEnd"},278:{n:"BrtBeginStyleSheet"},279:{n:"BrtEndStyleSheet"},280:{n:"BrtBeginSXView"},281:{n:"BrtEndSXVI"},282:{n:"BrtBeginSXVI"},283:{n:"BrtBeginSXVIs"},284:{n:"BrtEndSXVIs"},285:{n:"BrtBeginSXVD"},286:{n:"BrtEndSXVD"},287:{n:"BrtBeginSXVDs"},288:{n:"BrtEndSXVDs"},289:{n:"BrtBeginSXPI"},290:{n:"BrtEndSXPI"},291:{n:"BrtBeginSXPIs"},292:{n:"BrtEndSXPIs"},293:{n:"BrtBeginSXDI"},294:{n:"BrtEndSXDI"},295:{n:"BrtBeginSXDIs"},296:{n:"BrtEndSXDIs"},297:{n:"BrtBeginSXLI"},298:{n:"BrtEndSXLI"},299:{n:"BrtBeginSXLIRws"},300:{n:"BrtEndSXLIRws"},301:{n:"BrtBeginSXLICols"},302:{n:"BrtEndSXLICols"},303:{n:"BrtBeginSXFormat"},304:{n:"BrtEndSXFormat"},305:{n:"BrtBeginSXFormats"},306:{n:"BrtEndSxFormats"},307:{n:"BrtBeginSxSelect"},308:{n:"BrtEndSxSelect"},309:{n:"BrtBeginISXVDRws"},310:{n:"BrtEndISXVDRws"},311:{n:"BrtBeginISXVDCols"},312:{n:"BrtEndISXVDCols"},313:{n:"BrtEndSXLocation"},314:{n:"BrtBeginSXLocation"},315:{n:"BrtEndSXView"},316:{n:"BrtBeginSXTHs"},317:{n:"BrtEndSXTHs"},318:{n:"BrtBeginSXTH"},319:{n:"BrtEndSXTH"},320:{n:"BrtBeginISXTHRws"},321:{n:"BrtEndISXTHRws"},322:{n:"BrtBeginISXTHCols"},323:{n:"BrtEndISXTHCols"},324:{n:"BrtBeginSXTDMPS"},325:{n:"BrtEndSXTDMPs"},326:{n:"BrtBeginSXTDMP"},327:{n:"BrtEndSXTDMP"},328:{n:"BrtBeginSXTHItems"},329:{n:"BrtEndSXTHItems"},330:{n:"BrtBeginSXTHItem"},331:{n:"BrtEndSXTHItem"},332:{n:"BrtBeginMetadata"},333:{n:"BrtEndMetadata"},334:{n:"BrtBeginEsmdtinfo"},335:{n:"BrtMdtinfo"},336:{n:"BrtEndEsmdtinfo"},337:{n:"BrtBeginEsmdb"},338:{n:"BrtEndEsmdb"},339:{n:"BrtBeginEsfmd"},340:{n:"BrtEndEsfmd"},341:{n:"BrtBeginSingleCells"},342:{n:"BrtEndSingleCells"},343:{n:"BrtBeginList"},344:{n:"BrtEndList"},345:{n:"BrtBeginListCols"},346:{n:"BrtEndListCols"},347:{n:"BrtBeginListCol"},348:{n:"BrtEndListCol"},349:{n:"BrtBeginListXmlCPr"},350:{n:"BrtEndListXmlCPr"},351:{n:"BrtListCCFmla"},352:{n:"BrtListTrFmla"},353:{n:"BrtBeginExternals"},354:{n:"BrtEndExternals"},355:{n:"BrtSupBookSrc",f:Bn},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:Li},363:{n:"BrtExternTableStart"},364:{n:"BrtExternTableEnd"},366:{n:"BrtExternRowHdr"},367:{n:"BrtExternCellBlank"},368:{n:"BrtExternCellReal"},369:{n:"BrtExternCellBool"},370:{n:"BrtExternCellError"},371:{n:"BrtExternCellString"},372:{n:"BrtBeginEsmdx"},373:{n:"BrtEndEsmdx"},374:{n:"BrtBeginMdxSet"},375:{n:"BrtEndMdxSet"},376:{n:"BrtBeginMdxMbrProp"},377:{n:"BrtEndMdxMbrProp"},378:{n:"BrtBeginMdxKPI"},379:{n:"BrtEndMdxKPI"},380:{n:"BrtBeginEsstr"},381:{n:"BrtEndEsstr"},382:{n:"BrtBeginPRFItem"},383:{n:"BrtEndPRFItem"},384:{n:"BrtBeginPivotCacheIDs"},385:{n:"BrtEndPivotCacheIDs"},386:{n:"BrtBeginPivotCacheID"},387:{n:"BrtEndPivotCacheID"},388:{n:"BrtBeginISXVIs"},389:{n:"BrtEndISXVIs"},390:{n:"BrtBeginColInfos"},391:{n:"BrtEndColInfos"},392:{n:"BrtBeginRwBrk"},393:{n:"BrtEndRwBrk"},394:{n:"BrtBeginColBrk"},395:{n:"BrtEndColBrk"},396:{n:"BrtBrk"},397:{n:"BrtUserBookView"},398:{n:"BrtInfo"},399:{n:"BrtCUsr"},400:{n:"BrtUsr"},401:{n:"BrtBeginUsers"},403:{n:"BrtEOF"},404:{n:"BrtUCR"},405:{n:"BrtRRInsDel"},406:{n:"BrtRREndInsDel"},407:{n:"BrtRRMove"},408:{n:"BrtRREndMove"},409:{n:"BrtRRChgCell"},410:{n:"BrtRREndChgCell"},411:{n:"BrtRRHeader"},412:{n:"BrtRRUserView"},413:{n:"BrtRRRenSheet"},414:{n:"BrtRRInsertSh"},415:{n:"BrtRRDefName"},416:{n:"BrtRRNote"},417:{n:"BrtRRConflict"},418:{n:"BrtRRTQSIF"},419:{n:"BrtRRFormat"},420:{n:"BrtRREndFormat"},421:{n:"BrtRRAutoFmt"},422:{n:"BrtBeginUserShViews"},423:{n:"BrtBeginUserShView"},424:{n:"BrtEndUserShView"},425:{n:"BrtEndUserShViews"},426:{n:"BrtArrFmla",f:function(e,t,n){var r=e.l+t,i=En(e),o=e.read_shift(1),a=[i];if(a[2]=o,n.cellFormula){var s=fs(e,r-e.l,n);a[1]=s}else e.l=r;return a}},427:{n:"BrtShrFmla",f:function(e,t,n){var r=e.l+t,i=[Mn(e,16)];if(n.cellFormula){var o=gs(e,r-e.l,n);i[1]=o,e.l=r}else e.l=r;return i}},428:{n:"BrtTable"},429:{n:"BrtBeginExtConnections"},430:{n:"BrtEndExtConnections"},431:{n:"BrtBeginPCDCalcMems"},432:{n:"BrtEndPCDCalcMems"},433:{n:"BrtBeginPCDCalcMem"},434:{n:"BrtEndPCDCalcMem"},435:{n:"BrtBeginPCDHGLevels"},436:{n:"BrtEndPCDHGLevels"},437:{n:"BrtBeginPCDHGLevel"},438:{n:"BrtEndPCDHGLevel"},439:{n:"BrtBeginPCDHGLGroups"},440:{n:"BrtEndPCDHGLGroups"},441:{n:"BrtBeginPCDHGLGroup"},442:{n:"BrtEndPCDHGLGroup"},443:{n:"BrtBeginPCDHGLGMembers"},444:{n:"BrtEndPCDHGLGMembers"},445:{n:"BrtBeginPCDHGLGMember"},446:{n:"BrtEndPCDHGLGMember"},447:{n:"BrtBeginQSI"},448:{n:"BrtEndQSI"},449:{n:"BrtBeginQSIR"},450:{n:"BrtEndQSIR"},451:{n:"BrtBeginDeletedNames"},452:{n:"BrtEndDeletedNames"},453:{n:"BrtBeginDeletedName"},454:{n:"BrtEndDeletedName"},455:{n:"BrtBeginQSIFs"},456:{n:"BrtEndQSIFs"},457:{n:"BrtBeginQSIF"},458:{n:"BrtEndQSIF"},459:{n:"BrtBeginAutoSortScope"},460:{n:"BrtEndAutoSortScope"},461:{n:"BrtBeginConditionalFormatting"},462:{n:"BrtEndConditionalFormatting"},463:{n:"BrtBeginCFRule"},464:{n:"BrtEndCFRule"},465:{n:"BrtBeginIconSet"},466:{n:"BrtEndIconSet"},467:{n:"BrtBeginDatabar"},468:{n:"BrtEndDatabar"},469:{n:"BrtBeginColorScale"},470:{n:"BrtEndColorScale"},471:{n:"BrtCFVO"},472:{n:"BrtExternValueMeta"},473:{n:"BrtBeginColorPalette"},474:{n:"BrtEndColorPalette"},475:{n:"BrtIndexedColor"},476:{n:"BrtMargins",f:function(e){var t={};return cl.forEach(function(n){t[n]=On(e)}),t}},477:{n:"BrtPrintOptions"},478:{n:"BrtPageSetup"},479:{n:"BrtBeginHeaderFooter"},480:{n:"BrtEndHeaderFooter"},481:{n:"BrtBeginSXCrtFormat"},482:{n:"BrtEndSXCrtFormat"},483:{n:"BrtBeginSXCrtFormats"},484:{n:"BrtEndSXCrtFormats"},485:{n:"BrtWsFmtInfo",f:function(){}},486:{n:"BrtBeginMgs"},487:{n:"BrtEndMGs"},488:{n:"BrtBeginMGMaps"},489:{n:"BrtEndMGMaps"},490:{n:"BrtBeginMG"},491:{n:"BrtEndMG"},492:{n:"BrtBeginMap"},493:{n:"BrtEndMap"},494:{n:"BrtHLink",f:function(e,t){var n=e.l+t,r=Mn(e,16),i=xn(e),o=fn(e),a=fn(e),s=fn(e);e.l=n;var l={rfx:r,relId:i,loc:o,display:s};return a&&(l.Tooltip=a),l}},495:{n:"BrtBeginDCon"},496:{n:"BrtEndDCon"},497:{n:"BrtBeginDRefs"},498:{n:"BrtEndDRefs"},499:{n:"BrtDRef"},500:{n:"BrtBeginScenMan"},501:{n:"BrtEndScenMan"},502:{n:"BrtBeginSct"},503:{n:"BrtEndSct"},504:{n:"BrtSlc"},505:{n:"BrtBeginDXFs"},506:{n:"BrtEndDXFs"},507:{n:"BrtDXF"},508:{n:"BrtBeginTableStyles"},509:{n:"BrtEndTableStyles"},510:{n:"BrtBeginTableStyle"},511:{n:"BrtEndTableStyle"},512:{n:"BrtTableStyleElement"},513:{n:"BrtTableStyleClient"},514:{n:"BrtBeginVolDeps"},515:{n:"BrtEndVolDeps"},516:{n:"BrtBeginVolType"},517:{n:"BrtEndVolType"},518:{n:"BrtBeginVolMain"},519:{n:"BrtEndVolMain"},520:{n:"BrtBeginVolTopic"},521:{n:"BrtEndVolTopic"},522:{n:"BrtVolSubtopic"},523:{n:"BrtVolRef"},524:{n:"BrtVolNum"},525:{n:"BrtVolErr"},526:{n:"BrtVolStr"},527:{n:"BrtVolBool"},528:{n:"BrtBeginCalcChain$"},529:{n:"BrtEndCalcChain$"},530:{n:"BrtBeginSortState"},531:{n:"BrtEndSortState"},532:{n:"BrtBeginSortCond"},533:{n:"BrtEndSortCond"},534:{n:"BrtBookProtection"},535:{n:"BrtSheetProtection"},536:{n:"BrtRangeProtection"},537:{n:"BrtPhoneticInfo"},538:{n:"BrtBeginECTxtWiz"},539:{n:"BrtEndECTxtWiz"},540:{n:"BrtBeginECTWFldInfoLst"},541:{n:"BrtEndECTWFldInfoLst"},542:{n:"BrtBeginECTwFldInfo"},548:{n:"BrtFileSharing"},549:{n:"BrtOleSize"},550:{n:"BrtDrawing",f:Bn},551:{n:"BrtLegacyDrawing"},552:{n:"BrtLegacyDrawingHF"},553:{n:"BrtWebOpt"},554:{n:"BrtBeginWebPubItems"},555:{n:"BrtEndWebPubItems"},556:{n:"BrtBeginWebPubItem"},557:{n:"BrtEndWebPubItem"},558:{n:"BrtBeginSXCondFmt"},559:{n:"BrtEndSXCondFmt"},560:{n:"BrtBeginSXCondFmts"},561:{n:"BrtEndSXCondFmts"},562:{n:"BrtBkHim"},564:{n:"BrtColor"},565:{n:"BrtBeginIndexedColors"},566:{n:"BrtEndIndexedColors"},569:{n:"BrtBeginMRUColors"},570:{n:"BrtEndMRUColors"},572:{n:"BrtMRUColor"},573:{n:"BrtBeginDVals"},574:{n:"BrtEndDVals"},577:{n:"BrtSupNameStart"},578:{n:"BrtSupNameValueStart"},579:{n:"BrtSupNameValueEnd"},580:{n:"BrtSupNameNum"},581:{n:"BrtSupNameErr"},582:{n:"BrtSupNameSt"},583:{n:"BrtSupNameNil"},584:{n:"BrtSupNameBool"},585:{n:"BrtSupNameFmla"},586:{n:"BrtSupNameBits"},587:{n:"BrtSupNameEnd"},588:{n:"BrtEndSupBook"},589:{n:"BrtCellSmartTagProperty"},590:{n:"BrtBeginCellSmartTag"},591:{n:"BrtEndCellSmartTag"},592:{n:"BrtBeginCellSmartTags"},593:{n:"BrtEndCellSmartTags"},594:{n:"BrtBeginSmartTags"},595:{n:"BrtEndSmartTags"},596:{n:"BrtSmartTagType"},597:{n:"BrtBeginSmartTagTypes"},598:{n:"BrtEndSmartTagTypes"},599:{n:"BrtBeginSXFilters"},600:{n:"BrtEndSXFilters"},601:{n:"BrtBeginSXFILTER"},602:{n:"BrtEndSXFilter"},603:{n:"BrtBeginFills"},604:{n:"BrtEndFills"},605:{n:"BrtBeginCellWatches"},606:{n:"BrtEndCellWatches"},607:{n:"BrtCellWatch"},608:{n:"BrtBeginCRErrs"},609:{n:"BrtEndCRErrs"},610:{n:"BrtCrashRecErr"},611:{n:"BrtBeginFonts"},612:{n:"BrtEndFonts"},613:{n:"BrtBeginBorders"},614:{n:"BrtEndBorders"},615:{n:"BrtBeginFmts"},616:{n:"BrtEndFmts"},617:{n:"BrtBeginCellXFs"},618:{n:"BrtEndCellXFs"},619:{n:"BrtBeginStyles"},620:{n:"BrtEndStyles"},625:{n:"BrtBigName"},626:{n:"BrtBeginCellStyleXFs"},627:{n:"BrtEndCellStyleXFs"},628:{n:"BrtBeginComments"},629:{n:"BrtEndComments"},630:{n:"BrtBeginCommentAuthors"},631:{n:"BrtEndCommentAuthors"},632:{n:"BrtCommentAuthor",f:_a},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:function(e){var t={};t.iauthor=e.read_shift(4);var n=Mn(e,16);return t.rfx=n.s,t.ref=nn(n.s),e.l+=16,t}},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:vn},638:{n:"BrtBeginOleObjects"},639:{n:"BrtOleObject"},640:{n:"BrtEndOleObjects"},641:{n:"BrtBeginSxrules"},642:{n:"BrtEndSxRules"},643:{n:"BrtBeginActiveXControls"},644:{n:"BrtActiveX"},645:{n:"BrtEndActiveXControls"},646:{n:"BrtBeginPCDSDTCEMembersSortBy"},648:{n:"BrtBeginCellIgnoreECs"},649:{n:"BrtCellIgnoreEC"},650:{n:"BrtEndCellIgnoreECs"},651:{n:"BrtCsProp",f:function(e,t){return e.l+=10,{name:fn(e)}}},652:{n:"BrtCsPageSetup"},653:{n:"BrtBeginUserCsViews"},654:{n:"BrtEndUserCsViews"},655:{n:"BrtBeginUserCsView"},656:{n:"BrtEndUserCsView"},657:{n:"BrtBeginPcdSFCIEntries"},658:{n:"BrtEndPCDSFCIEntries"},659:{n:"BrtPCDSFCIEntry"},660:{n:"BrtBeginListParts"},661:{n:"BrtListPart"},662:{n:"BrtEndListParts"},663:{n:"BrtSheetCalcProp"},664:{n:"BrtBeginFnGroup"},665:{n:"BrtFnGroup"},666:{n:"BrtEndFnGroup"},667:{n:"BrtSupAddin"},668:{n:"BrtSXTDMPOrder"},669:{n:"BrtCsProtection"},671:{n:"BrtBeginWsSortMap"},672:{n:"BrtEndWsSortMap"},673:{n:"BrtBeginRRSort"},674:{n:"BrtEndRRSort"},675:{n:"BrtRRSortItem"},676:{n:"BrtFileSharingIso"},677:{n:"BrtBookProtectionIso"},678:{n:"BrtSheetProtectionIso"},679:{n:"BrtCsProtectionIso"},680:{n:"BrtRangeProtectionIso"},681:{n:"BrtDValList"},1024:{n:"BrtRwDescent"},1025:{n:"BrtKnownFonts"},1026:{n:"BrtBeginSXTupleSet"},1027:{n:"BrtEndSXTupleSet"},1028:{n:"BrtBeginSXTupleSetHeader"},1029:{n:"BrtEndSXTupleSetHeader"},1030:{n:"BrtSXTupleSetHeaderItem"},1031:{n:"BrtBeginSXTupleSetData"},1032:{n:"BrtEndSXTupleSetData"},1033:{n:"BrtBeginSXTupleSetRow"},1034:{n:"BrtEndSXTupleSetRow"},1035:{n:"BrtSXTupleSetRowItem"},1036:{n:"BrtNameExt"},1037:{n:"BrtPCDH14"},1038:{n:"BrtBeginPCDCalcMem14"},1039:{n:"BrtEndPCDCalcMem14"},1040:{n:"BrtSXTH14"},1041:{n:"BrtBeginSparklineGroup"},1042:{n:"BrtEndSparklineGroup"},1043:{n:"BrtSparkline"},1044:{n:"BrtSXDI14"},1045:{n:"BrtWsFmtInfoEx14"},1046:{n:"BrtBeginConditionalFormatting14"},1047:{n:"BrtEndConditionalFormatting14"},1048:{n:"BrtBeginCFRule14"},1049:{n:"BrtEndCFRule14"},1050:{n:"BrtCFVO14"},1051:{n:"BrtBeginDatabar14"},1052:{n:"BrtBeginIconSet14"},1053:{n:"BrtDVal14",f:function(){}},1054:{n:"BrtBeginDVals14"},1055:{n:"BrtColor14"},1056:{n:"BrtBeginSparklines"},1057:{n:"BrtEndSparklines"},1058:{n:"BrtBeginSparklineGroups"},1059:{n:"BrtEndSparklineGroups"},1061:{n:"BrtSXVD14"},1062:{n:"BrtBeginSXView14"},1063:{n:"BrtEndSXView14"},1064:{n:"BrtBeginSXView16"},1065:{n:"BrtEndSXView16"},1066:{n:"BrtBeginPCD14"},1067:{n:"BrtEndPCD14"},1068:{n:"BrtBeginExtConn14"},1069:{n:"BrtEndExtConn14"},1070:{n:"BrtBeginSlicerCacheIDs"},1071:{n:"BrtEndSlicerCacheIDs"},1072:{n:"BrtBeginSlicerCacheID"},1073:{n:"BrtEndSlicerCacheID"},1075:{n:"BrtBeginSlicerCache"},1076:{n:"BrtEndSlicerCache"},1077:{n:"BrtBeginSlicerCacheDef"},1078:{n:"BrtEndSlicerCacheDef"},1079:{n:"BrtBeginSlicersEx"},1080:{n:"BrtEndSlicersEx"},1081:{n:"BrtBeginSlicerEx"},1082:{n:"BrtEndSlicerEx"},1083:{n:"BrtBeginSlicer"},1084:{n:"BrtEndSlicer"},1085:{n:"BrtSlicerCachePivotTables"},1086:{n:"BrtBeginSlicerCacheOlapImpl"},1087:{n:"BrtEndSlicerCacheOlapImpl"},1088:{n:"BrtBeginSlicerCacheLevelsData"},1089:{n:"BrtEndSlicerCacheLevelsData"},1090:{n:"BrtBeginSlicerCacheLevelData"},1091:{n:"BrtEndSlicerCacheLevelData"},1092:{n:"BrtBeginSlicerCacheSiRanges"},1093:{n:"BrtEndSlicerCacheSiRanges"},1094:{n:"BrtBeginSlicerCacheSiRange"},1095:{n:"BrtEndSlicerCacheSiRange"},1096:{n:"BrtSlicerCacheOlapItem"},1097:{n:"BrtBeginSlicerCacheSelections"},1098:{n:"BrtSlicerCacheSelection"},1099:{n:"BrtEndSlicerCacheSelections"},1100:{n:"BrtBeginSlicerCacheNative"},1101:{n:"BrtEndSlicerCacheNative"},1102:{n:"BrtSlicerCacheNativeItem"},1103:{n:"BrtRangeProtection14"},1104:{n:"BrtRangeProtectionIso14"},1105:{n:"BrtCellIgnoreEC14"},1111:{n:"BrtList14"},1112:{n:"BrtCFIcon"},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs"},1114:{n:"BrtEndSlicerCachesPivotCacheIDs"},1115:{n:"BrtBeginSlicers"},1116:{n:"BrtEndSlicers"},1117:{n:"BrtWbProp14"},1118:{n:"BrtBeginSXEdit"},1119:{n:"BrtEndSXEdit"},1120:{n:"BrtBeginSXEdits"},1121:{n:"BrtEndSXEdits"},1122:{n:"BrtBeginSXChange"},1123:{n:"BrtEndSXChange"},1124:{n:"BrtBeginSXChanges"},1125:{n:"BrtEndSXChanges"},1126:{n:"BrtSXTupleItems"},1128:{n:"BrtBeginSlicerStyle"},1129:{n:"BrtEndSlicerStyle"},1130:{n:"BrtSlicerStyleElement"},1131:{n:"BrtBeginStyleSheetExt14"},1132:{n:"BrtEndStyleSheetExt14"},1133:{n:"BrtBeginSlicerCachesPivotCacheID"},1134:{n:"BrtEndSlicerCachesPivotCacheID"},1135:{n:"BrtBeginConditionalFormattings"},1136:{n:"BrtEndConditionalFormattings"},1137:{n:"BrtBeginPCDCalcMemExt"},1138:{n:"BrtEndPCDCalcMemExt"},1139:{n:"BrtBeginPCDCalcMemsExt"},1140:{n:"BrtEndPCDCalcMemsExt"},1141:{n:"BrtPCDField14"},1142:{n:"BrtBeginSlicerStyles"},1143:{n:"BrtEndSlicerStyles"},1144:{n:"BrtBeginSlicerStyleElements"},1145:{n:"BrtEndSlicerStyleElements"},1146:{n:"BrtCFRuleExt"},1147:{n:"BrtBeginSXCondFmt14"},1148:{n:"BrtEndSXCondFmt14"},1149:{n:"BrtBeginSXCondFmts14"},1150:{n:"BrtEndSXCondFmts14"},1152:{n:"BrtBeginSortCond14"},1153:{n:"BrtEndSortCond14"},1154:{n:"BrtEndDVals14"},1155:{n:"BrtEndIconSet14"},1156:{n:"BrtEndDatabar14"},1157:{n:"BrtBeginColorScale14"},1158:{n:"BrtEndColorScale14"},1159:{n:"BrtBeginSxrules14"},1160:{n:"BrtEndSxrules14"},1161:{n:"BrtBeginPRule14"},1162:{n:"BrtEndPRule14"},1163:{n:"BrtBeginPRFilters14"},1164:{n:"BrtEndPRFilters14"},1165:{n:"BrtBeginPRFilter14"},1166:{n:"BrtEndPRFilter14"},1167:{n:"BrtBeginPRFItem14"},1168:{n:"BrtEndPRFItem14"},1169:{n:"BrtBeginCellIgnoreECs14"},1170:{n:"BrtEndCellIgnoreECs14"},1171:{n:"BrtDxf14"},1172:{n:"BrtBeginDxF14s"},1173:{n:"BrtEndDxf14s"},1177:{n:"BrtFilter14"},1178:{n:"BrtBeginCustomFilters14"},1180:{n:"BrtCustomFilter14"},1181:{n:"BrtIconFilter14"},1182:{n:"BrtPivotCacheConnectionName"},2048:{n:"BrtBeginDecoupledPivotCacheIDs"},2049:{n:"BrtEndDecoupledPivotCacheIDs"},2050:{n:"BrtDecoupledPivotCacheID"},2051:{n:"BrtBeginPivotTableRefs"},2052:{n:"BrtEndPivotTableRefs"},2053:{n:"BrtPivotTableRef"},2054:{n:"BrtSlicerCacheBookPivotTables"},2055:{n:"BrtBeginSxvcells"},2056:{n:"BrtEndSxvcells"},2057:{n:"BrtBeginSxRow"},2058:{n:"BrtEndSxRow"},2060:{n:"BrtPcdCalcMem15"},2067:{n:"BrtQsi15"},2068:{n:"BrtBeginWebExtensions"},2069:{n:"BrtEndWebExtensions"},2070:{n:"BrtWebExtension"},2071:{n:"BrtAbsPath15"},2072:{n:"BrtBeginPivotTableUISettings"},2073:{n:"BrtEndPivotTableUISettings"},2075:{n:"BrtTableSlicerCacheIDs"},2076:{n:"BrtTableSlicerCacheID"},2077:{n:"BrtBeginTableSlicerCache"},2078:{n:"BrtEndTableSlicerCache"},2079:{n:"BrtSxFilter15"},2080:{n:"BrtBeginTimelineCachePivotCacheIDs"},2081:{n:"BrtEndTimelineCachePivotCacheIDs"},2082:{n:"BrtTimelineCachePivotCacheID"},2083:{n:"BrtBeginTimelineCacheIDs"},2084:{n:"BrtEndTimelineCacheIDs"},2085:{n:"BrtBeginTimelineCacheID"},2086:{n:"BrtEndTimelineCacheID"},2087:{n:"BrtBeginTimelinesEx"},2088:{n:"BrtEndTimelinesEx"},2089:{n:"BrtBeginTimelineEx"},2090:{n:"BrtEndTimelineEx"},2091:{n:"BrtWorkBookPr15"},2092:{n:"BrtPCDH15"},2093:{n:"BrtBeginTimelineStyle"},2094:{n:"BrtEndTimelineStyle"},2095:{n:"BrtTimelineStyleElement"},2096:{n:"BrtBeginTimelineStylesheetExt15"},2097:{n:"BrtEndTimelineStylesheetExt15"},2098:{n:"BrtBeginTimelineStyles"},2099:{n:"BrtEndTimelineStyles"},2100:{n:"BrtBeginTimelineStyleElements"},2101:{n:"BrtEndTimelineStyleElements"},2102:{n:"BrtDxf15"},2103:{n:"BrtBeginDxfs15"},2104:{n:"brtEndDxfs15"},2105:{n:"BrtSlicerCacheHideItemsWithNoData"},2106:{n:"BrtBeginItemUniqueNames"},2107:{n:"BrtEndItemUniqueNames"},2108:{n:"BrtItemUniqueName"},2109:{n:"BrtBeginExtConn15"},2110:{n:"BrtEndExtConn15"},2111:{n:"BrtBeginOledbPr15"},2112:{n:"BrtEndOledbPr15"},2113:{n:"BrtBeginDataFeedPr15"},2114:{n:"BrtEndDataFeedPr15"},2115:{n:"BrtTextPr15"},2116:{n:"BrtRangePr15"},2117:{n:"BrtDbCommand15"},2118:{n:"BrtBeginDbTables15"},2119:{n:"BrtEndDbTables15"},2120:{n:"BrtDbTable15"},2121:{n:"BrtBeginDataModel"},2122:{n:"BrtEndDataModel"},2123:{n:"BrtBeginModelTables"},2124:{n:"BrtEndModelTables"},2125:{n:"BrtModelTable"},2126:{n:"BrtBeginModelRelationships"},2127:{n:"BrtEndModelRelationships"},2128:{n:"BrtModelRelationship"},2129:{n:"BrtBeginECTxtWiz15"},2130:{n:"BrtEndECTxtWiz15"},2131:{n:"BrtBeginECTWFldInfoLst15"},2132:{n:"BrtEndECTWFldInfoLst15"},2133:{n:"BrtBeginECTWFldInfo15"},2134:{n:"BrtFieldListActiveItem"},2135:{n:"BrtPivotCacheIdVersion"},2136:{n:"BrtSXDI15"},2137:{n:"BrtBeginModelTimeGroupings"},2138:{n:"BrtEndModelTimeGroupings"},2139:{n:"BrtBeginModelTimeGrouping"},2140:{n:"BrtEndModelTimeGrouping"},2141:{n:"BrtModelTimeGroupingCalcCol"},3072:{n:"BrtUid"},3073:{n:"BrtRevisionPtr"},5095:{n:"BrtBeginCalcFeatures"},5096:{n:"BrtEndCalcFeatures"},5097:{n:"BrtCalcFeature"},65535:{n:""}},yc=Y(mc,"n"),bc={3:{n:"BIFF2NUM",f:function(e){var t=ci(e);++e.l;var n=On(e);return t.t="n",t.val=n,t}},4:{n:"BIFF2STR",f:function(e,t,n){var r=ci(e);++e.l;var i=ri(e,0,n);return r.t="str",r.val=i,r}},6:{n:"Formula",f:us},9:{n:"BOF",f:bi},10:{n:"EOF",f:Gr},12:{n:"CalcCount",f:Zr},13:{n:"CalcMode",f:Zr},14:{n:"CalcPrecision",f:Wr},15:{n:"CalcRefMode",f:Wr},16:{n:"CalcDelta",f:On},17:{n:"CalcIter",f:Wr},18:{n:"Protect",f:Wr},19:{n:"Password",f:Zr},20:{n:"Header",f:Mi},21:{n:"Footer",f:Mi},23:{n:"ExternSheet",f:Li},24:{n:"Lbl",f:Ii},25:{n:"WinProtect",f:Wr},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:function(e,t,n){return function(e,t,n){if(!(n.biff<8)){var r=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),a=e.read_shift(2),s=ri(e,0,n);return n.biff<8&&e.read_shift(1),[{r:r,c:i},s,a,o]}}(e,0,n)}},29:{n:"Selection"},34:{n:"Date1904",f:Wr},35:{n:"ExternName",f:Di},36:{n:"COLWIDTH"},38:{n:"LeftMargin",f:On},39:{n:"RightMargin",f:On},40:{n:"TopMargin",f:On},41:{n:"BottomMargin",f:On},42:{n:"PrintRowCol",f:Wr},43:{n:"PrintGrid",f:Wr},47:{n:"FilePass",f:function(e,t,n){var r={Type:n.biff>=8?e.read_shift(2):0};return r.Type?wo(e,t-2,r):function(e,t,n,r){var i={key:Zr(e),verificationBytes:Zr(e)};n.password&&(i.verifier=Ao(n.password)),r.valid=i.verificationBytes===i.verifier,r.valid&&(r.insitu=_o(n.password))}(e,n.biff,n,r),r}},49:{n:"Font",f:function(e,t,n){var r={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return r.name=Jr(e,0,n),r}},51:{n:"PrintSize",f:Zr},60:{n:"Continue"},61:{n:"Window1",f:function(e){return{Pos:[e.read_shift(2),e.read_shift(2)],Dim:[e.read_shift(2),e.read_shift(2)],Flags:e.read_shift(2),CurTab:e.read_shift(2),FirstTab:e.read_shift(2),Selected:e.read_shift(2),TabRatio:e.read_shift(2)}}},64:{n:"Backup",f:Wr},65:{n:"Pane",f:function(){}},66:{n:"CodePage",f:Zr},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:Zr},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:function(e,t,n){if(n.enc)return e.l+=t,"";var r=e.l,i=ri(e,0,n);return e.read_shift(t+r-e.l),i}},93:{n:"Obj",f:function(e,t,n){if(n&&n.biff<8)return function(e,t,n){e.l+=4;var r=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var a=[];return a.push((Fi[r]||Qt)(e,t,n)),{cmo:[i,r,o],ft:a}}(e,t,n);var r=vi(e);return{cmo:r,ft:function(e,t){for(var n=e.l+t,r=[];e.l<n;){var i=e.read_shift(2);e.l-=2;try{r.push(yi[i](e,n-e.l))}catch(t){return e.l=n,r}}return e.l!=n&&(e.l=n),r}(e,t-22,r[1])}}},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:Wr},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:Wr},125:{n:"ColInfo",f:Hi},128:{n:"Guts",f:function(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}},129:{n:"WsBool",f:function(e,t,n){return{fDialog:16&(n&&8==n.biff||2==t?e.read_shift(2):(e.l+=t,0))}}},130:{n:"GridSet",f:Zr},131:{n:"HCenter",f:Wr},132:{n:"VCenter",f:Wr},133:{n:"BoundSheet8",f:function(e,t,n){var r=e.read_shift(4),i=3&e.read_shift(1),o=e.read_shift(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule"}var a=Jr(e,0,n);return 0===a.length&&(a="Sheet1"),{pos:r,hs:i,dt:o,name:a}}},134:{n:"WriteProtect"},140:{n:"Country",f:function(e){var t,n=[0,0];return t=e.read_shift(2),n[0]=Gn[t]||t,t=e.read_shift(2),n[1]=Gn[t]||t,n}},141:{n:"HideObj",f:Zr},144:{n:"Sort"},146:{n:"Palette",f:function(e){for(var t=e.read_shift(2),n=[];t-- >0;)n.push(li(e));return n}},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:Zr},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:Ui},161:{n:"Setup",f:function(e,t){var n={};return t<32?n:(e.l+=16,n.header=On(e),n.footer=On(e),e.l+=2,n)}},174:{n:"ScenMan"},175:{n:"SCENARIO"},176:{n:"SxView"},177:{n:"Sxvd"},178:{n:"SXVI"},180:{n:"SxIvd"},181:{n:"SXLI"},182:{n:"SXPI"},184:{n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:function(e,t){for(var n=e.l+t-2,r=e.read_shift(2),i=e.read_shift(2),o=[];e.l<n;)o.push(di(e));if(e.l!==n)throw new Error("MulRK read error");var a=e.read_shift(2);if(o.length!=a-i+1)throw new Error("MulRK length mismatch");return{r:r,c:i,C:a,rkrec:o}}},190:{n:"MulBlank",f:function(e,t){for(var n=e.l+t-2,r=e.read_shift(2),i=e.read_shift(2),o=[];e.l<n;)o.push(e.read_shift(2));if(e.l!==n)throw new Error("MulBlank read error");var a=e.read_shift(2);if(o.length!=a-i+1)throw new Error("MulBlank length mismatch");return{r:r,c:i,C:a,ixfe:o}}},193:{n:"Mms",f:Gr},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:Wr},203:{n:"SxErr"},204:{n:"SXInt"},205:{n:"SXString"},206:{n:"SXDtr"},207:{n:"SxNil"},208:{n:"SXTbl"},209:{n:"SXTBRGIITM"},210:{n:"SxTbpg"},211:{n:"ObProj"},213:{n:"SXStreamID"},215:{n:"DBCell"},216:{n:"SXRng"},217:{n:"SxIsxoper"},218:{n:"BookBool",f:Zr},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:Wr},222:{n:"OleObjectSize"},224:{n:"XF",f:function(e,t,n){var r={};return r.ifnt=e.read_shift(2),r.numFmtId=e.read_shift(2),r.flags=e.read_shift(2),r.fStyle=r.flags>>2&1,r.data=function(e,t,n,r){var i={},o=e.read_shift(4),a=e.read_shift(4),s=e.read_shift(4),l=e.read_shift(2);return i.patternType=Wn[s>>26],r.cellStyles?(i.alc=7&o,i.fWrap=o>>3&1,i.alcV=o>>4&7,i.fJustLast=o>>7&1,i.trot=o>>8&255,i.cIndent=o>>16&15,i.fShrinkToFit=o>>20&1,i.iReadOrder=o>>22&2,i.fAtrNum=o>>26&1,i.fAtrFnt=o>>27&1,i.fAtrAlc=o>>28&1,i.fAtrBdr=o>>29&1,i.fAtrPat=o>>30&1,i.fAtrProt=o>>31&1,i.dgLeft=15&a,i.dgRight=a>>4&15,i.dgTop=a>>8&15,i.dgBottom=a>>12&15,i.icvLeft=a>>16&127,i.icvRight=a>>23&127,i.grbitDiag=a>>30&3,i.icvTop=127&s,i.icvBottom=s>>7&127,i.icvDiag=s>>14&127,i.dgDiag=s>>21&15,i.icvFore=127&l,i.icvBack=l>>7&127,i.fsxButton=l>>14&1,i):i}(e,0,r.fStyle,n),r}},225:{n:"InterfaceHdr",f:function(e,t){return 0===t?1200:(e.read_shift(2),1200)}},226:{n:"InterfaceEnd",f:Gr},227:{n:"SXVS"},229:{n:"MergeCells",f:function(e,t){for(var n=[],r=e.read_shift(2);r--;)n.push(fi(e));return n}},233:{n:"BkHim"},235:{n:"MsoDrawingGroup"},236:{n:"MsoDrawing"},237:{n:"MsoDrawingSelection"},239:{n:"PhoneticInfo"},240:{n:"SxRule"},241:{n:"SXEx"},242:{n:"SxFilt"},244:{n:"SxDXF"},245:{n:"SxItm"},246:{n:"SxName"},247:{n:"SxSelect"},248:{n:"SXPair"},249:{n:"SxFmla"},251:{n:"SxFormat"},252:{n:"SST",f:function(e,t){for(var n=e.l+t,r=e.read_shift(4),i=e.read_shift(4),o=[],a=0;a!=i&&e.l<n;++a)o.push(qr(e));return o.Count=r,o.Unique=i,o}},253:{n:"LabelSst",f:function(e){var t=ci(e);return t.isst=e.read_shift(4),t}},255:{n:"ExtSST",f:function(e,t){var n={};return n.dsst=e.read_shift(2),e.l+=t-2,n}},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:Kr},318:{n:"RRDRenSheet"},319:{n:"RRSort"},320:{n:"RRDMove"},330:{n:"RRFormat"},331:{n:"RRAutoFmt"},333:{n:"RRInsertSh"},334:{n:"RRDMoveBegin"},335:{n:"RRDMoveEnd"},336:{n:"RRDInsDelBegin"},337:{n:"RRDInsDelEnd"},338:{n:"RRDConflict"},339:{n:"RRDDefName"},340:{n:"RRDRstEtxp"},351:{n:"LRng"},352:{n:"UsesELFs",f:Wr},353:{n:"DSF",f:Gr},401:{n:"CUsr"},402:{n:"CbUsr"},403:{n:"UsrInfo"},404:{n:"UsrExcl"},405:{n:"FileLock"},406:{n:"RRDInfo"},407:{n:"BCUsrs"},408:{n:"UsrChk"},425:{n:"UserBView"},426:{n:"UserSViewBegin"},427:{n:"UserSViewEnd"},428:{n:"RRDUserView"},429:{n:"Qsi"},430:{n:"SupBook",f:function(e,t,n){var r=e.l+t,i=e.read_shift(2),o=e.read_shift(2);if(n.sbcch=o,1025==o||14849==o)return[o,i];if(o<1||o>255)throw new Error("Unexpected SupBook type: "+o);for(var a=ti(e,o),s=[];r>e.l;)s.push(ni(e));return[o,i,a,s]}},431:{n:"Prot4Rev",f:Wr},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:function(e,t,n){var r=e.l,i="";try{e.l+=4;var o=(n.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(o)?e.l+=6:function(e){var t=e.read_shift(1);e.l++;var n=e.read_shift(2);e.l+=2}(e);var a=e.read_shift(2);e.read_shift(2),Zr(e);var s=e.read_shift(2);e.l+=s;for(var l=1;l<e.lens.length-1;++l){if(e.l-r!=e.lens[l])throw new Error("TxO: bad continue record");var c=e[e.l];if((i+=ti(e,e.lens[l+1]-e.lens[l]-1)).length>=(c?a:2*a))break}if(i.length!==a&&i.length!==2*a)throw new Error("cchText: "+a+" != "+i.length);return e.l=r+t,{t:i}}catch(n){return e.l=r+t,{t:i}}}},439:{n:"RefreshAll",f:Wr},440:{n:"HLink",f:function(e,t){var n=fi(e);return e.l+=16,[n,function(e,t){var n=e.l+t,r=e.read_shift(4);if(2!==r)throw new Error("Unrecognized streamVersion: "+r);var i=e.read_shift(2);e.l+=2;var o,a,s,l,c,u,h="";16&i&&(o=ai(e,e.l)),128&i&&(a=ai(e,e.l)),257==(257&i)&&(s=ai(e,e.l)),1==(257&i)&&(l=oi(e,e.l)),8&i&&(h=ai(e,e.l)),32&i&&(c=e.read_shift(16)),64&i&&(u=Tr(e)),e.l=n;var d=a||s||l||"";d&&h&&(d+="#"+h),d||(d="#"+h);var f={Target:d};return c&&(f.guid=c),u&&(f.time=u),o&&(f.Tooltip=o),f}(e,t-24)]}},441:{n:"Lel"},442:{n:"CodeName",f:ni},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:Zr},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:Gr},449:{n:"RecalcId",f:function(e){return e.read_shift(2),e.read_shift(4)},r:2},450:{n:"EntExU2",f:Gr},512:{n:"Dimensions",f:Bi},513:{n:"Blank",f:ji},515:{n:"Number",f:function(e){var t=ci(e),n=On(e);return t.val=n,t}},516:{n:"Label",f:function(e,t,n){e.l;var r=ci(e);2==n.biff&&e.l++;var i=ni(e,e.l,n);return r.val=i,r}},517:{n:"BoolErr",f:Ti},518:{n:"Formula",f:us},519:{n:"String",f:Qi},520:{n:"Row",f:function(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var n=e.read_shift(2);e.l+=4;var r=e.read_shift(1);return e.l+=3,7&r&&(t.level=7&r),32&r&&(t.hidden=!0),64&r&&(t.hpt=n/20),t}},523:{n:"Index"},545:{n:"Array",f:Pi},549:{n:"DefaultRowHeight",f:xi},566:{n:"Table"},574:{n:"Window2",f:function(e,t,n){return n&&n.biff>=2&&n.biff<5?{}:{RTL:64&e.read_shift(2)}}},638:{n:"RK",f:function(e){var t=e.read_shift(2),n=e.read_shift(2),r=di(e);return{r:t,c:n,ixfe:r[0],rknum:r[1]}}},659:{n:"Style"},1030:{n:"Formula",f:us},1048:{n:"BigName"},1054:{n:"Format",f:function(e,t,n){return[e.read_shift(2),ri(e,0,n)]}},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:function(e,t,n){var r=Ai(e);e.l++;var i=e.read_shift(1);return[function(e,t,n){var r,i=e.l+t,o=e.read_shift(2),a=rs(e,o,n);return 65535==o?[[],Qt(e,t-2)]:(t!==o+2&&(r=ns(e,i-o-2,a,n)),[a,r])}(e,t-=8,n),i,r]}},2048:{n:"HLinkTooltip",f:function(e,t){e.read_shift(2);var n=fi(e),r=e.read_shift((t-10)/2,"dbcs-cont");return[n,r=r.replace(D,"")]}},2049:{n:"WebPub"},2050:{n:"QsiSXTag"},2051:{n:"DBQueryExt"},2052:{n:"ExtString"},2053:{n:"TxtQry"},2054:{n:"Qsir"},2055:{n:"Qsif"},2056:{n:"RRDTQSIF"},2057:{n:"BOF",f:bi},2058:{n:"OleDbConn"},2059:{n:"WOpt"},2060:{n:"SXViewEx"},2061:{n:"SXTH"},2062:{n:"SXPIEx"},2063:{n:"SXVDTEx"},2064:{n:"SXViewEx9"},2066:{n:"ContinueFrt"},2067:{n:"RealTimeData"},2128:{n:"ChartFrtInfo"},2129:{n:"FrtWrapper"},2130:{n:"StartBlock"},2131:{n:"EndBlock"},2132:{n:"StartObject"},2133:{n:"EndObject"},2134:{n:"CatLab"},2135:{n:"YMult"},2136:{n:"SXViewLink"},2137:{n:"PivotChartBits"},2138:{n:"FrtFontList"},2146:{n:"SheetExt"},2147:{n:"BookExt",r:12},2148:{n:"SXAddl"},2149:{n:"CrErr"},2150:{n:"HFPicture"},2151:{n:"FeatHdr",f:Gr},2152:{n:"Feat"},2154:{n:"DataLabExt"},2155:{n:"DataLabExtContents"},2156:{n:"CellWatch"},2161:{n:"FeatHdr11"},2162:{n:"Feature11"},2164:{n:"DropDownObjIds"},2165:{n:"ContinueFrt11"},2166:{n:"DConn"},2167:{n:"List12"},2168:{n:"Feature12"},2169:{n:"CondFmt12"},2170:{n:"CF12"},2171:{n:"CFEx"},2172:{n:"XFCRC",f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t},r:12},2173:{n:"XFExt",f:function(e,t){e.l,e.l+=2;var n=e.read_shift(2);e.l+=2;for(var r=e.read_shift(2),i=[];r-- >0;)i.push(va(e,e.l));return{ixfe:n,ext:i}},r:12},2174:{n:"AutoFilter12"},2175:{n:"ContinueFrt12"},2180:{n:"MDTInfo"},2181:{n:"MDXStr"},2182:{n:"MDXTuple"},2183:{n:"MDXSet"},2184:{n:"MDXProp"},2185:{n:"MDXKPI"},2186:{n:"MDB"},2187:{n:"PLV"},2188:{n:"Compat12",f:Wr,r:12},2189:{n:"DXF"},2190:{n:"TableStyles",r:12},2191:{n:"TableStyle"},2192:{n:"TableStyleElement"},2194:{n:"StyleExt"},2195:{n:"NamePublish"},2196:{n:"NameCmt",f:function(e,t,n){if(!(n.biff<8)){var r=e.read_shift(2),i=e.read_shift(2);return[ti(e,r,n),ti(e,i,n)]}e.l+=t},r:12},2197:{n:"SortData"},2198:{n:"Theme",f:function(e,t,n){var r=e.l+t;if(124226!==e.read_shift(4))if(n.cellStyles&&ce){var i,o=e.slice(e.l);e.l=r;try{i=new ce(o)}catch(e){return}var a=ge(i,"theme/theme/theme1.xml",!0);if(a)return pa(a,n)}else e.l=r},r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"NameFnGrp12"},2202:{n:"MTRSettings",f:function(e){return[0!==e.read_shift(4),0!==e.read_shift(4),e.read_shift(4)]},r:12},2203:{n:"CompressPictures",f:Gr},2204:{n:"HeaderFooter"},2205:{n:"CrtLayout12"},2206:{n:"CrtMlFrt"},2207:{n:"CrtMlFrtContinue"},2211:{n:"ForceFullCalculation",f:function(e){var t=function(e){var t=e.read_shift(2),n=e.read_shift(2);return e.l+=8,{type:t,flags:n}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e.read_shift(4)}},2212:{n:"ShapePropsStream"},2213:{n:"TextPropsStream"},2214:{n:"RichTextStream"},2215:{n:"CrtLayout12A"},4097:{n:"Units"},4098:{n:"Chart"},4099:{n:"Series"},4102:{n:"DataFormat"},4103:{n:"LineFormat"},4105:{n:"MarkerFormat"},4106:{n:"AreaFormat"},4107:{n:"PieFormat"},4108:{n:"AttachedLabel"},4109:{n:"SeriesText"},4116:{n:"ChartFormat"},4117:{n:"Legend"},4118:{n:"SeriesList"},4119:{n:"Bar"},4120:{n:"Line"},4121:{n:"Pie"},4122:{n:"Area"},4123:{n:"Scatter"},4124:{n:"CrtLine"},4125:{n:"Axis"},4126:{n:"Tick"},4127:{n:"ValueRange"},4128:{n:"CatSerRange"},4129:{n:"AxisLine"},4130:{n:"CrtLink"},4132:{n:"DefaultText"},4133:{n:"Text"},4134:{n:"FontX",f:Zr},4135:{n:"ObjectLink"},4146:{n:"Frame"},4147:{n:"Begin"},4148:{n:"End"},4149:{n:"PlotArea"},4154:{n:"Chart3d"},4156:{n:"PicF"},4157:{n:"DropBar"},4158:{n:"Radar"},4159:{n:"Surf"},4160:{n:"RadarArea"},4161:{n:"AxisParent"},4163:{n:"LegendException"},4164:{n:"ShtProps",f:function(e,t,n){var r={area:!1};if(5!=n.biff)return e.l+=t,r;var i=e.read_shift(1);return e.l+=3,16&i&&(r.area=!0),r}},4165:{n:"SerToCrt"},4166:{n:"AxesUsed"},4168:{n:"SBaseRef"},4170:{n:"SerParent"},4171:{n:"SerAuxTrend"},4174:{n:"IFmtRecord"},4175:{n:"Pos"},4176:{n:"AlRuns"},4177:{n:"BRAI"},4187:{n:"SerAuxErrBar"},4188:{n:"ClrtClient",f:function(e){for(var t=e.read_shift(2),n=[];t-- >0;)n.push(li(e));return n}},4189:{n:"SerFmt"},4191:{n:"Chart3DBarShape"},4192:{n:"Fbi"},4193:{n:"BopPop"},4194:{n:"AxcExt"},4195:{n:"Dat"},4196:{n:"PlotGrowth"},4197:{n:"SIIndex"},4198:{n:"GelFrame"},4199:{n:"BopPopCustom"},4200:{n:"Fbi2"},0:{n:"Dimensions",f:Bi},2:{n:"BIFF2INT",f:function(e){var t=ci(e);++e.l;var n=e.read_shift(2);return t.t="n",t.val=n,t}},5:{n:"BoolErr",f:Ti},7:{n:"String",f:function(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}},8:{n:"BIFF2ROW"},11:{n:"Index"},22:{n:"ExternCount",f:Zr},30:{n:"BIFF2FORMAT",f:Si},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:Pi},37:{n:"DefaultRowHeight",f:xi},50:{n:"BIFF2FONTXTRA",f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}},52:{n:"DDEObjName"},62:{n:"BIFF2WINDOW2"},67:{n:"BIFF2XF"},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:function(e){var t=e.read_shift(2),n=e.read_shift(2),r=e.read_shift(4),i={fmt:t,env:n,len:r,data:e.slice(e.l,e.l+r)};return e.l+=r,i}},135:{n:"Addin"},136:{n:"Edg"},137:{n:"Pub"},145:{n:"Sub"},148:{n:"LHRecord"},149:{n:"LHNGraph"},150:{n:"Sound"},169:{n:"CoordList"},171:{n:"GCW"},188:{n:"ShrFmla"},191:{n:"ToolbarHdr"},192:{n:"ToolbarEnd"},194:{n:"AddMenu"},195:{n:"DelMenu"},214:{n:"RString",f:function(e,t,n){var r=e.l+t,i=ci(e),o=ti(e,e.read_shift(2),n);return e.l=r,i.t="str",i.val=o,i}},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},521:{n:"BOF",f:bi},536:{n:"Lbl",f:Ii},547:{n:"ExternName",f:Di},561:{n:"Font"},579:{n:"BIFF3XF"},1033:{n:"BOF",f:bi},1091:{n:"BIFF4XF"},2157:{n:"FeatInfo"},2163:{n:"FeatInfo11"},2177:{n:"SXAddl12"},2240:{n:"AutoWebPub"},2241:{n:"ListObj"},2242:{n:"ListField"},2243:{n:"ListDV"},2244:{n:"ListCondFmt"},2245:{n:"ListCF"},2246:{n:"FMQry"},2247:{n:"FMSQry"},2248:{n:"PLV"},2249:{n:"LnExt"},2250:{n:"MkrExt"},2251:{n:"CrtCoopt"},2262:{n:"FRTArchId$",r:12},29282:{}},_c=Y(bc,"n");function wc(e,t,n,r){var i=+t||+_c[t];if(!isNaN(i)){var o=r||(n||[]).length||0,a=e.next(4);a.write_shift(2,i),a.write_shift(2,o),o>0&&Tt(n)&&e.push(n)}}function xc(e,t,n){return e||(e=zt(7)),e.write_shift(2,t),e.write_shift(2,n),e.write_shift(2,0),e.write_shift(1,0),e}function Cc(e,t,n,r){if(null!=t.v)switch(t.t){case"d":case"n":var i="d"==t.t?X(re(t.v)):t.v;return void(i==(0|i)&&i>=0&&i<65536?wc(e,2,(o=n,a=r,s=i,l=zt(9),xc(l,o,a),l.write_shift(2,s),l)):wc(e,3,function(e,t,n){var r=zt(15);return xc(r,e,t),r.write_shift(8,n,"f"),r}(n,r,i)));case"b":case"e":return void wc(e,5,function(e,t,n,r){var i=zt(9);return xc(i,e,t),"e"==r?(i.write_shift(1,n),i.write_shift(1,1)):(i.write_shift(1,n?1:0),i.write_shift(1,0)),i}(n,r,t.v,t.t));case"s":case"str":return void wc(e,4,function(e,t,n){var r=zt(8+2*n.length);return xc(r,e,t),r.write_shift(1,n.length),r.write_shift(n.length,n,"sbcs"),r.l<r.length?r.slice(0,r.l):r}(n,r,t.v))}var o,a,s,l;wc(e,1,xc(null,n,r))}function Sc(e,t){var n=t||{};null!=y&&null==n.dense&&(n.dense=y);for(var r=Vt(),i=0,o=0;o<e.SheetNames.length;++o)e.SheetNames[o]==n.sheet&&(i=o);if(0==i&&n.sheet&&e.SheetNames[0]!=n.sheet)throw new Error("Sheet not found: "+n.sheet);return wc(r,9,_i(0,16,n)),function(e,t,n,r){var i,o=Array.isArray(t),a=an(t["!ref"]||"A1"),s="",l=[];if(a.e.c>255||a.e.r>16383){if(r.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");a.e.c=Math.min(a.e.c,255),a.e.r=Math.min(a.e.c,16383),i=on(a)}for(var c=a.s.r;c<=a.e.r;++c){s=Jt(c);for(var u=a.s.c;u<=a.e.c;++u){c===a.s.r&&(l[u]=en(u)),i=l[u]+s;var h=o?(t[c]||[])[u]:t[i];h&&Cc(e,h,c,u)}}}(r,e.Sheets[e.SheetNames[i]],0,n),wc(r,10),r.end()}function Bc(e,t,n){wc(e,"Font",function(e,t){var n=e.name||"Arial",r=t&&5==t.biff,i=zt(r?15+n.length:16+2*n.length);return i.write_shift(2,20*(e.sz||12)),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,n.length),r||i.write_shift(1,1),i.write_shift((r?1:2)*n.length,n,r?"sbcs":"utf16le"),i}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},n))}function kc(e,t,n,r,i){var o=16+Es(i.cellXfs,t,i);if(null!=t.v||t.bf)if(t.bf)wc(e,"Formula",hs(t,n,r,0,o));else switch(t.t){case"d":case"n":wc(e,"Number",function(e,t,n,r){var i=zt(14);return ui(e,t,r,i),In(n,i),i}(n,r,"d"==t.t?X(re(t.v)):t.v,o));break;case"b":case"e":wc(e,517,Ei(n,r,t.v,o,0,t.t));break;case"s":case"str":if(i.bookSST)wc(e,"LabelSst",function(e,t,n,r){var i=zt(10);return ui(e,t,r,i),i.write_shift(4,n),i}(n,r,Bs(i.Strings,t.v,i.revStrings),o));else wc(e,"Label",function(e,t,n,r,i){var o=!i||8==i.biff,a=zt(+o+8+(1+o)*n.length);return ui(e,t,r,a),a.write_shift(2,n.length),o&&a.write_shift(1,1),a.write_shift((1+o)*n.length,n,o?"utf16le":"sbcs"),a}(n,r,t.v,o,i));break;default:wc(e,"Blank",ui(n,r,o))}else wc(e,"Blank",ui(n,r,o))}function Tc(e,t,n){var r,i,o,a=Vt(),s=n.SheetNames[e],l=n.Sheets[s]||{},c=(n||{}).Workbook||{},u=(c.Sheets||[])[e]||{},h=Array.isArray(l),d=8==t.biff,f="",p=[],A=an(l["!ref"]||"A1"),g=d?65536:16384;if(A.e.c>255||A.e.r>=g){if(t.WTF)throw new Error("Range "+(l["!ref"]||"A1")+" exceeds format limit A1:IV16384");A.e.c=Math.min(A.e.c,255),A.e.r=Math.min(A.e.c,g-1)}wc(a,2057,_i(0,16,t)),wc(a,"CalcMode",$r(1)),wc(a,"CalcCount",$r(100)),wc(a,"CalcRefMode",Xr(!0)),wc(a,"CalcIter",Xr(!1)),wc(a,"CalcDelta",In(.001)),wc(a,"CalcSaveRecalc",Xr(!0)),wc(a,"PrintRowCol",Xr(!1)),wc(a,"PrintGrid",Xr(!1)),wc(a,"GridSet",$r(1)),wc(a,"Guts",(i=[0,0],(o=zt(8)).write_shift(4,0),o.write_shift(2,i[0]?i[0]+1:0),o.write_shift(2,i[1]?i[1]+1:0),o)),wc(a,"HCenter",Xr(!1)),wc(a,"VCenter",Xr(!1)),wc(a,512,function(e,t){var n=8!=t.biff&&t.biff?2:4,r=zt(2*n+6);return r.write_shift(n,e.s.r),r.write_shift(n,e.e.r+1),r.write_shift(2,e.s.c),r.write_shift(2,e.e.c+1),r.write_shift(2,0),r}(A,t)),d&&(l["!links"]=[]);for(var v=A.s.r;v<=A.e.r;++v){f=Jt(v);for(var m=A.s.c;m<=A.e.c;++m){v===A.s.r&&(p[m]=en(m)),r=p[m]+f;var y=h?(l[v]||[])[m]:l[r];y&&(kc(a,y,v,m,t),d&&y.l&&l["!links"].push([r,y.l]))}}var b=u.CodeName||u.name||s;return d&&wc(a,"Window2",function(e){var t=zt(18),n=1718;return e&&e.RTL&&(n|=64),t.write_shift(2,n),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}((c.Views||[])[0])),d&&(l["!merges"]||[]).length&&wc(a,"MergeCells",function(e){var t=zt(2+8*e.length);t.write_shift(2,e.length);for(var n=0;n<e.length;++n)pi(e[n],t);return t}(l["!merges"])),d&&function(e,t){for(var n=0;n<t["!links"].length;++n){var r=t["!links"][n];wc(e,"HLink",Ri(r)),r[1].Tooltip&&wc(e,"HLinkTooltip",Ni(r))}delete t["!links"]}(a,l),wc(a,"CodeName",ii(b)),d&&function(e,t){var n=zt(19);n.write_shift(4,2151),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(2,3),n.write_shift(1,1),n.write_shift(4,0),wc(e,"FeatHdr",n),(n=zt(39)).write_shift(4,2152),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(2,3),n.write_shift(1,0),n.write_shift(4,0),n.write_shift(2,1),n.write_shift(4,4),n.write_shift(2,0),pi(an(t["!ref"]||"A1"),n),n.write_shift(4,4),wc(e,"Feat",n)}(a,l),wc(a,"EOF"),a.end()}function Ec(e,t,n){var r,i=Vt(),o=(e||{}).Workbook||{},a=o.Sheets||[],s=o.WBProps||{},l=8==n.biff,c=5==n.biff;(wc(i,2057,_i(0,5,n)),"xla"==n.bookType&&wc(i,"Addin"),wc(i,"InterfaceHdr",l?$r(1200):null),wc(i,"Mms",function(e,t){t||(t=zt(e));for(var n=0;n<e;++n)t.write_shift(1,0);return t}(2)),c&&wc(i,"ToolbarHdr"),c&&wc(i,"ToolbarEnd"),wc(i,"InterfaceEnd"),wc(i,"WriteAccess",function(e,t){var n=!t||8==t.biff,r=zt(n?112:54);for(r.write_shift(8==t.biff?2:1,7),n&&r.write_shift(1,0),r.write_shift(4,859007059),r.write_shift(4,5458548|(n?0:536870912));r.l<r.length;)r.write_shift(1,n?0:32);return r}(0,n)),wc(i,"CodePage",$r(l?1200:1252)),l&&wc(i,"DSF",$r(0)),l&&wc(i,"Excel9File"),wc(i,"RRTabId",function(e){for(var t=zt(2*e),n=0;n<e;++n)t.write_shift(2,n+1);return t}(e.SheetNames.length)),l&&e.vbaraw&&wc(i,"ObProj"),l&&e.vbaraw)&&wc(i,"CodeName",ii(s.CodeName||"ThisWorkbook"));wc(i,"BuiltInFnGroupCount",$r(17)),wc(i,"WinProtect",Xr(!1)),wc(i,"Protect",Xr(!1)),wc(i,"Password",$r(0)),l&&wc(i,"Prot4Rev",Xr(!1)),l&&wc(i,"Prot4RevPass",$r(0)),wc(i,"Window1",((r=zt(18)).write_shift(2,0),r.write_shift(2,0),r.write_shift(2,29280),r.write_shift(2,17600),r.write_shift(2,56),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,1),r.write_shift(2,500),r)),wc(i,"Backup",Xr(!1)),wc(i,"HideObj",$r(0)),wc(i,"Date1904",Xr("true"==function(e){return e.Workbook&&e.Workbook.WBProps&&je(e.Workbook.WBProps.date1904)?"true":"false"}(e))),wc(i,"CalcPrecision",Xr(!0)),l&&wc(i,"RefreshAll",Xr(!1)),wc(i,"BookBool",$r(0)),Bc(i,0,n),function(e,t,n){t&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var i=r[0];i<=r[1];++i)null!=t[i]&&wc(e,"Format",Ci(i,t[i],n))})}(i,e.SSF,n),function(e,t){for(var n=0;n<16;++n)wc(e,"XF",ki({numFmtId:0,style:!0},0,t));t.cellXfs.forEach(function(n){wc(e,"XF",ki(n,0,t))})}(i,n),l&&wc(i,"UsesELFs",Xr(!1));var u=i.end(),h=Vt();l&&wc(h,"Country",function(e){return e||(e=zt(4)),e.write_shift(2,1),e.write_shift(2,1),e}()),l&&n.Strings&&function(e,t,n,r){var i=r||(n||[]).length||0;if(i<=8224)return wc(e,t,n,i);var o=+t||+_c[t];if(!isNaN(o)){for(var a=n.parts||[],s=0,l=0,c=0;c+(a[s]||8224)<=8224;)c+=a[s]||8224,s++;var u=e.next(4);for(u.write_shift(2,o),u.write_shift(2,c),e.push(n.slice(l,l+c)),l+=c;l<i;){for((u=e.next(4)).write_shift(2,60),c=0;c+(a[s]||8224)<=8224;)c+=a[s]||8224,s++;u.write_shift(2,c),e.push(n.slice(l,l+c)),l+=c}}}(h,"SST",function(e,t){var n=zt(8);n.write_shift(4,e.Count),n.write_shift(4,e.Unique);for(var r=[],i=0;i<e.length;++i)r[i]=ei(e[i]);var o=M([n].concat(r));return o.parts=[n.length].concat(r.map(function(e){return e.length})),o}(n.Strings)),wc(h,"EOF");var d=h.end(),f=Vt(),p=0,A=0;for(A=0;A<e.SheetNames.length;++A)p+=(l?12:11)+(l?2:1)*e.SheetNames[A].length;var g=u.length+p+d.length;for(A=0;A<e.SheetNames.length;++A){wc(f,"BoundSheet8",wi({pos:g,hs:(a[A]||{}).Hidden||0,dt:0,name:e.SheetNames[A]},n)),g+=t[A].length}var v=f.end();if(p!=v.length)throw new Error("BS8 "+p+" != "+v.length);var m=[];return u.length&&m.push(u),v.length&&m.push(v),d.length&&m.push(d),ut([m])}function Mc(e,t){var n=t||{};switch(n.biff||2){case 8:case 5:return function(e,t){var n=t||{},r=[];e&&!e.SSF&&(e.SSF=I.get_table()),e&&e.SSF&&(L(I),I.load_table(e.SSF),n.revssf=G(e.SSF),n.revssf[e.SSF[65535]]=0,n.ssf=e.SSF),n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,eu(n),n.cellXfs=[],Es(n.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var i=0;i<e.SheetNames.length;++i)r[r.length]=Tc(i,n,e);return r.unshift(Ec(e,r,n)),ut([r])}(e,t);case 4:case 3:case 2:return Sc(e,t)}throw new Error("invalid type "+n.bookType+" for BIFF")}var Dc=function(){function e(e,t){var n=t||{};null!=y&&null==n.dense&&(n.dense=y);var r=n.dense?[]:{},i=(e=e.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!i)throw new Error("Invalid HTML: could not find <table>");var o=e.match(/<\/table/i),a=i.index,s=o&&o.index||e.length,l=function(e,t,n){if(ue||"string"==typeof t)return e.split(t);for(var r=e.split(t),i=[r[0]],o=1;o<r.length;++o)i.push(n),i.push(r[o]);return i}(e.slice(a,s),/(:?<tr[^>]*>)/i,"<tr>"),c=-1,u=0,h=0,d=0,f={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(a=0;a<l.length;++a){var A=l[a].trim(),g=A.slice(0,3).toLowerCase();if("<tr"!=g){if("<td"==g||"<th"==g){var v=A.split(/<\/t[dh]>/i);for(s=0;s<v.length;++s){var m=v[s].trim();if(m.match(/<t[dh]/i)){for(var b=m,_=0;"<"==b.charAt(0)&&(_=b.indexOf(">"))>-1;)b=b.slice(_+1);for(var w=0;w<p.length;++w){var x=p[w];x.s.c==u&&x.s.r<c&&c<=x.e.r&&(u=x.e.c+1,w=-1)}var C=Se(m.slice(0,m.indexOf(">")));d=C.colspan?+C.colspan:1,((h=+C.rowspan)>1||d>1)&&p.push({s:{r:c,c:u},e:{r:c+(h||1)-1,c:u+d-1}});var S=C.t||"";if(b.length){if(b=$e(b),f.s.r>c&&(f.s.r=c),f.e.r<c&&(f.e.r=c),f.s.c>u&&(f.s.c=u),f.e.c<u&&(f.e.c=u),b.length){var B={t:"s",v:b};n.raw||!b.trim().length||"s"==S||("TRUE"===b?B={t:"b",v:!0}:"FALSE"===b?B={t:"b",v:!1}:isNaN(se(b))?isNaN(le(b).getDate())||(B={t:"d",v:re(b)},n.cellDates||(B={t:"n",v:X(B.v)}),B.z=n.dateNF||I._table[14]):B={t:"n",v:se(b)}),n.dense?(r[c]||(r[c]=[]),r[c][u]=B):r[nn({r:c,c:u})]=B,u+=d}}else u+=d}}}}else{if(++c,n.sheetRows&&n.sheetRows<=c){--c;break}u=0}}return r["!ref"]=on(f),p.length&&(r["!merges"]=p),r}function t(e,t,n,r){for(var i=e["!merges"]||[],o=[],a=t.s.c;a<=t.e.c;++a){for(var s=0,l=0,c=0;c<i.length;++c)if(!(i[c].s.r>n||i[c].s.c>a||i[c].e.r<n||i[c].e.c<a)){if(i[c].s.r<n||i[c].s.c<a){s=-1;break}s=i[c].e.r-i[c].s.r+1,l=i[c].e.c-i[c].s.c+1;break}if(!(s<0)){var u=nn({r:n,c:a}),h=r.dense?(e[n]||[])[a]:e[u],d=h&&null!=h.v&&(h.h||Re(h.w||(ln(h),h.w)||""))||"",f={};s>1&&(f.rowspan=s),l>1&&(f.colspan=l),f.t=h&&h.t||"z",r.editable&&(d='<span contenteditable="true">'+d+"</span>"),f.id=(r.id||"sjs")+"-"+u,"z"!=f.t&&(f.v=h.v,null!=h.z&&(f.z=h.z)),o.push(it("td",d,f))}}return"<tr>"+o.join("")+"</tr>"}function n(e,t,n){return[].join("")+"<table"+(n&&n.id?' id="'+n.id+'"':"")+">"}var r='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',i="</body></html>";return{to_workbook:function(t,n){return cn(e(t,n),n)},to_sheet:e,_row:t,BEGIN:r,END:i,_preamble:n,from_sheet:function(e,o){var a=o||{},s=null!=a.header?a.header:r,l=null!=a.footer?a.footer:i,c=[s],u=rn(e["!ref"]);a.dense=Array.isArray(e),c.push(n(0,0,a));for(var h=u.s.r;h<=u.e.r;++h)c.push(t(e,u,h,a));return c.push("</table>"+l),c.join("")}}}();function Oc(e,t,n){var r=n||{};null!=y&&(r.dense=y);var i=0,o=0;if(null!=r.origin)if("number"==typeof r.origin)i=r.origin;else{var a="string"==typeof r.origin?tn(r.origin):r.origin;i=a.r,o=a.c}var s=t.getElementsByTagName("tr"),l=Math.min(r.sheetRows||1e7,s.length),c={s:{r:0,c:0},e:{r:i,c:o}};if(e["!ref"]){var u=rn(e["!ref"]);c.s.r=Math.min(c.s.r,u.s.r),c.s.c=Math.min(c.s.c,u.s.c),c.e.r=Math.max(c.e.r,u.e.r),c.e.c=Math.max(c.e.c,u.e.c),-1==i&&(c.e.r=i=u.e.r+1)}var h=[],d=0,f=e["!rows"]||(e["!rows"]=[]),p=0,A=0,g=0,v=0,m=0,b=0;for(e["!cols"]||(e["!cols"]=[]);p<s.length&&A<l;++p){var _=s[p];if(Lc(_)){if(r.display)continue;f[A]={hidden:!0}}var w=_.children;for(g=v=0;g<w.length;++g){var x=w[g];if(!r.display||!Lc(x)){var C=x.hasAttribute("v")?x.getAttribute("v"):$e(x.innerHTML),S=x.getAttribute("z");for(d=0;d<h.length;++d){var B=h[d];B.s.c==v+o&&B.s.r<A+i&&A+i<=B.e.r&&(v=B.e.c+1-o,d=-1)}b=+x.getAttribute("colspan")||1,((m=+x.getAttribute("rowspan")||1)>1||b>1)&&h.push({s:{r:A+i,c:v+o},e:{r:A+i+(m||1)-1,c:v+o+(b||1)-1}});var k={t:"s",v:C},T=x.getAttribute("t")||"";null!=C&&(0==C.length?k.t=T||"z":r.raw||0==C.trim().length||"s"==T||("TRUE"===C?k={t:"b",v:!0}:"FALSE"===C?k={t:"b",v:!1}:isNaN(se(C))?isNaN(le(C).getDate())||(k={t:"d",v:re(C)},r.cellDates||(k={t:"n",v:X(k.v)}),k.z=r.dateNF||I._table[14]):k={t:"n",v:se(C)})),void 0===k.z&&null!=S&&(k.z=S),r.dense?(e[A+i]||(e[A+i]=[]),e[A+i][v+o]=k):e[nn({c:v+o,r:A+i})]=k,c.e.c<v+o&&(c.e.c=v+o),v+=b}}++A}return h.length&&(e["!merges"]=(e["!merges"]||[]).concat(h)),c.e.r=Math.max(c.e.r,A-1+i),e["!ref"]=on(c),A>=l&&(e["!fullref"]=on((c.e.r=s.length-p+A-1+i,c))),e}function Ic(e,t){return Oc((t||{}).dense?[]:{},e,t)}function Lc(e){var t="",n=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style.display),"none"===t}var Pc,Fc=(Pc={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']},function(e,t){var n=t||{};null!=y&&null==n.dense&&(n.dense=y);var r,i,o,a,s,l,c,u,h=ec(e),d=[],f={name:""},p="",A=0,g={},v=[],m=n.dense?[]:{},b={value:""},_="",w=0,x=[],C=-1,S=-1,B={s:{r:1e6,c:1e7},e:{r:0,c:0}},k=0,T={},E=[],M={},D=[],O=1,I=1,L=[],P={Names:[]},F={},R=["",""],N=[],H={},j="",U=0,Q=!1,z=!1,Y=0;for(tc.lastIndex=0,h=h.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");s=tc.exec(h);)switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===s[1]?(B.e.c>=B.s.c&&B.e.r>=B.s.r?m["!ref"]=on(B):m["!ref"]="A1:A1",n.sheetRows>0&&n.sheetRows<=B.e.r&&(m["!fullref"]=m["!ref"],B.e.r=n.sheetRows-1,m["!ref"]=on(B)),E.length&&(m["!merges"]=E),D.length&&(m["!rows"]=D),o.name=o["名称"]||o.name,"undefined"!=typeof JSON&&JSON.stringify(o),v.push(o.name),g[o.name]=m,z=!1):"/"!==s[0].charAt(s[0].length-2)&&(o=Se(s[0],!1),C=S=-1,B.s.r=B.s.c=1e7,B.e.r=B.e.c=0,m=n.dense?[]:{},E=[],D=[],z=!0);break;case"table-row-group":"/"===s[1]?--k:++k;break;case"table-row":case"行":if("/"===s[1]){C+=O,O=1;break}if((a=Se(s[0],!1))["行号"]?C=a["行号"]-1:-1==C&&(C=0),(O=+a["number-rows-repeated"]||1)<10)for(Y=0;Y<O;++Y)k>0&&(D[C+Y]={level:k});S=-1;break;case"covered-table-cell":"/"!==s[1]&&++S,n.sheetStubs&&(n.dense?(m[C]||(m[C]=[]),m[C][S]={t:"z"}):m[nn({r:C,c:S})]={t:"z"}),_="",x=[];break;case"table-cell":case"数据":if("/"===s[0].charAt(s[0].length-2))++S,b=Se(s[0],!1),I=parseInt(b["number-columns-repeated"]||"1",10),l={t:"z",v:null},b.formula&&0!=n.cellFormula&&(l.f=_s(De(b.formula))),"string"==(b["数据类型"]||b["value-type"])&&(l.t="s",l.v=De(b["string-value"]||""),n.dense?(m[C]||(m[C]=[]),m[C][S]=l):m[nn({r:C,c:S})]=l),S+=I-1;else if("/"!==s[1]){++S,I=1;var V=O?C+O-1:C;if(S>B.e.c&&(B.e.c=S),S<B.s.c&&(B.s.c=S),C<B.s.r&&(B.s.r=C),V>B.e.r&&(B.e.r=V),N=[],H={},l={t:(b=Se(s[0],!1))["数据类型"]||b["value-type"],v:null},n.cellFormula)if(b.formula&&(b.formula=De(b.formula)),b["number-matrix-columns-spanned"]&&b["number-matrix-rows-spanned"]&&(M={s:{r:C,c:S},e:{r:C+(parseInt(b["number-matrix-rows-spanned"],10)||0)-1,c:S+(parseInt(b["number-matrix-columns-spanned"],10)||0)-1}},l.F=on(M),L.push([M,l.F])),b.formula)l.f=_s(b.formula);else for(Y=0;Y<L.length;++Y)C>=L[Y][0].s.r&&C<=L[Y][0].e.r&&S>=L[Y][0].s.c&&S<=L[Y][0].e.c&&(l.F=L[Y][1]);switch((b["number-columns-spanned"]||b["number-rows-spanned"])&&(M={s:{r:C,c:S},e:{r:C+(parseInt(b["number-rows-spanned"],10)||0)-1,c:S+(parseInt(b["number-columns-spanned"],10)||0)-1}},E.push(M)),b["number-columns-repeated"]&&(I=parseInt(b["number-columns-repeated"],10)),l.t){case"boolean":l.t="b",l.v=je(b["boolean-value"]);break;case"float":case"percentage":case"currency":l.t="n",l.v=parseFloat(b.value);break;case"date":l.t="d",l.v=re(b["date-value"]),n.cellDates||(l.t="n",l.v=X(l.v)),l.z="m/d/yy";break;case"time":l.t="n",l.v=ee(b["time-value"])/86400;break;case"number":l.t="n",l.v=parseFloat(b["数据数值"]);break;default:if("string"!==l.t&&"text"!==l.t&&l.t)throw new Error("Unsupported value type "+l.t);l.t="s",null!=b["string-value"]&&(_=De(b["string-value"]),x=[])}}else{if(Q=!1,"s"===l.t&&(l.v=_||"",x.length&&(l.R=x),Q=0==w),F.Target&&(l.l=F),N.length>0&&(l.c=N,N=[]),_&&!1!==n.cellText&&(l.w=_),Q&&(l.t="z",delete l.v),(!Q||n.sheetStubs)&&!(n.sheetRows&&n.sheetRows<=C))for(var G=0;G<O;++G){if(I=parseInt(b["number-columns-repeated"]||"1",10),n.dense)for(m[C+G]||(m[C+G]=[]),m[C+G][S]=0==G?l:oe(l);--I>0;)m[C+G][S+I]=oe(l);else for(m[nn({r:C+G,c:S})]=l;--I>0;)m[nn({r:C+G,c:S+I})]=oe(l);B.e.c<=S&&(B.e.c=S)}S+=(I=parseInt(b["number-columns-repeated"]||"1",10))-1,I=0,l={},_="",x=[]}F={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===s[1]){if((r=d.pop())[0]!==s[3])throw"Bad state: "+r}else"/"!==s[0].charAt(s[0].length-2)&&d.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((r=d.pop())[0]!==s[3])throw"Bad state: "+r;H.t=_,x.length&&(H.R=x),H.a=j,N.push(H)}else"/"!==s[0].charAt(s[0].length-2)&&d.push([s[3],!1]);j="",U=0,_="",w=0,x=[];break;case"creator":"/"===s[1]?j=h.slice(U,s.index):U=s.index+s[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===s[1]){if((r=d.pop())[0]!==s[3])throw"Bad state: "+r}else"/"!==s[0].charAt(s[0].length-2)&&d.push([s[3],!1]);_="",w=0,x=[];break;case"scientific-number":case"currency-symbol":case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===s[1]){if(T[f.name]=p,(r=d.pop())[0]!==s[3])throw"Bad state: "+r}else"/"!==s[0].charAt(s[0].length-2)&&(p="",f=Se(s[0],!1),d.push([s[3],!0]));break;case"script":case"libraries":case"automatic-styles":break;case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":break;case"number":switch(d[d.length-1][0]){case"time-style":case"date-style":i=Se(s[0],!1),p+=Pc[s[3]]["long"===i.style?1:0]}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(d[d.length-1][0]){case"time-style":case"date-style":i=Se(s[0],!1),p+=Pc[s[3]]["long"===i.style?1:0]}break;case"boolean-style":case"boolean":case"text-style":break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(d[d.length-1][0]){case"number-style":case"date-style":case"time-style":p+=h.slice(A,s.index)}else A=s.index+s[0].length;break;case"named-range":R=ws((i=Se(s[0],!1))["cell-range-address"]);var W={Name:i.name,Ref:R[0]+"!"+R[1]};z&&(W.Sheet=v.length),P.Names.push(W);break;case"text-content":case"text-properties":case"embedded-text":break;case"body":case"电子表格":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(d[d.length-1][0])>-1)break;if("/"!==s[1]||b&&b["string-value"])Se(s[0],!1),w=s.index+s[0].length;else{var Z=(c=h.slice(w,s.index),u=void 0,u=c.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(e,t){return Array(parseInt(t,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n"),[De(u.replace(/<[^>]*>/g,""))]);_=(_.length>0?_+"\n":"")+Z[0]}break;case"s":break;case"database-range":if("/"===s[1])break;try{g[(R=ws(Se(s[0])["target-range-address"]))[0]]["!autofilter"]={ref:R[1]}}catch(e){}break;case"date":case"object":break;case"title":case"标题":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":break;case"a":if("/"!==s[1]){if(!(F=Se(s[0],!1)).href)break;F.Target=F.href,delete F.href,"#"==F.Target.charAt(0)&&F.Target.indexOf(".")>-1&&(R=ws(F.Target.slice(1)),F.Target="#"+R[0]+"!"+R[1])}break;case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;default:switch(s[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(n.WTF)throw new Error(s)}}var $={Sheets:g,SheetNames:v,Workbook:P};return n.bookSheets&&delete $.Sheets,$});function Rc(e,t){t=t||{};var n=!!fe(e,"objectdata");n&&function(e,t){for(var n,r,i=ec(e);n=tc.exec(i);)switch(n[3]){case"manifest":break;case"file-entry":if("/"==(r=Se(n[0],!1)).path&&r.type!==ur)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}(Ae(e,"META-INF/manifest.xml"),t);var r=ge(e,"content.xml");if(!r)throw new Error("Missing content.xml in "+(n?"ODS":"UOF")+" file");var i=Fc(n?r:Ue(r),t);return fe(e,"meta.xml")&&(i.Props=gr(Ae(e,"meta.xml"))),i}function Nc(e,t){return Fc(e,t)}var Hc=function(){var e="<office:document-styles "+rt({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+"></office:document-styles>";return function(){return be+e}}(),jc=function(){var e=" <table:table-cell />\n",t=function(t,n,r){var i=[];i.push(' <table:table table:name="'+Le(n.SheetNames[r])+'" table:style-name="ta1">\n');var o=0,a=0,s=rn(t["!ref"]),l=t["!merges"]||[],c=0,u=Array.isArray(t);for(o=0;o<s.s.r;++o)i.push(" <table:table-row></table:table-row>\n");for(;o<=s.e.r;++o){for(i.push(" <table:table-row>\n"),a=0;a<s.s.c;++a)i.push(e);for(;a<=s.e.c;++a){var h=!1,d={},f="";for(c=0;c!=l.length;++c)if(!(l[c].s.c>a||l[c].s.r>o||l[c].e.c<a||l[c].e.r<o)){l[c].s.c==a&&l[c].s.r==o||(h=!0),d["table:number-columns-spanned"]=l[c].e.c-l[c].s.c+1,d["table:number-rows-spanned"]=l[c].e.r-l[c].s.r+1;break}if(h)i.push(" <table:covered-table-cell/>\n");else{var p=nn({r:o,c:a}),A=u?(t[o]||[])[a]:t[p];if(A&&A.f&&(d["table:formula"]=Le(("of:="+A.f.replace(Ba,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")),A.F&&A.F.slice(0,p.length)==p)){var g=rn(A.F);d["table:number-matrix-columns-spanned"]=g.e.c-g.s.c+1,d["table:number-matrix-rows-spanned"]=g.e.r-g.s.r+1}if(A){switch(A.t){case"b":f=A.v?"TRUE":"FALSE",d["office:value-type"]="boolean",d["office:boolean-value"]=A.v?"true":"false";break;case"n":f=A.w||String(A.v||0),d["office:value-type"]="float",d["office:value"]=A.v||0;break;case"s":case"str":f=null==A.v?"":A.v,d["office:value-type"]="string";break;case"d":f=A.w||re(A.v).toISOString(),d["office:value-type"]="date",d["office:date-value"]=re(A.v).toISOString(),d["table:style-name"]="ce1";break;default:i.push(e);continue}var v=Le(f).replace(/ +/g,function(e){return'<text:s text:c="'+e.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"<text:line-break/>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>");if(A.l&&A.l.Target){var m=A.l.Target;v=it("text:a",v,{"xlink:href":m="#"==m.charAt(0)?"#"+m.slice(1).replace(/\./,"!"):m})}i.push(" "+it("table:table-cell",it("text:p",v,{}),d)+"\n")}else i.push(e)}}i.push(" </table:table-row>\n")}return i.push(" </table:table>\n"),i.join("")};return function(e,n){var r=[be],i=rt({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),o=rt({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==n.bookType?r.push("<office:document"+i+o+">\n"):r.push("<office:document-content"+i+">\n"),function(e){e.push(" <office:automatic-styles>\n"),e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push(' <number:month number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(' <number:day number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(" <number:year/>\n"),e.push(" </number:date-style>\n"),e.push(' <style:style style:name="ta1" style:family="table">\n'),e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push(" </style:style>\n"),e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")}(r),r.push(" <office:body>\n"),r.push(" <office:spreadsheet>\n");for(var a=0;a!=e.SheetNames.length;++a)r.push(t(e.Sheets[e.SheetNames[a]],e,a));return r.push(" </office:spreadsheet>\n"),r.push(" </office:body>\n"),"fods"==n.bookType?r.push("</office:document>"):r.push("</office:document-content>"),r.join("")}}();function Uc(e,t){if("fods"==t.bookType)return jc(e,t);var n=me(),r="",i=[],o=[];return ve(n,r="mimetype","application/vnd.oasis.opendocument.spreadsheet"),ve(n,r="content.xml",jc(e,t)),i.push([r,"text/xml"]),o.push([r,"ContentFile"]),ve(n,r="styles.xml",Hc(e,t)),i.push([r,"text/xml"]),o.push([r,"StylesFile"]),ve(n,r="meta.xml",fr()),i.push([r,"text/xml"]),o.push([r,"MetadataFile"]),ve(n,r="manifest.rdf",function(e){var t,n,r=[be];r.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var i=0;i!=e.length;++i)r.push(hr(e[i][0],e[i][1])),r.push((t="",n=e[i][0],[' <rdf:Description rdf:about="'+t+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+n+'"/>\n'," </rdf:Description>\n"].join("")));return r.push(hr("","Document","pkg")),r.push("</rdf:RDF>"),r.join("")}(o)),i.push([r,"application/rdf+xml"]),ve(n,r="META-INF/manifest.xml",function(e){var t=[be];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var n=0;n<e.length;++n)t.push(' <manifest:file-entry manifest:full-path="'+e[n][0]+'" manifest:media-type="'+e[n][1]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}(i)),n}function Qc(e){return function(t,n){var r=function(e,t){if(!t)return 0;var n=e.SheetNames.indexOf(t);if(-1==n)throw new Error("Sheet not found: "+t);return n}(t,n.sheet);return e.from_sheet(t.Sheets[t.SheetNames[r]],n,t)}}var zc=Qc(Dc),Yc=Qc({from_sheet:xu}),Vc=Qc(void 0!==Yi?Yi:{}),Gc=Qc(void 0!==Vi?Vi:{}),Wc=Qc(void 0!==Wi?Wi:{}),Xc=Qc(void 0!==xo?xo:{}),Zc=Qc({from_sheet:Cu}),$c=Qc(void 0!==zi?zi:{}),Kc=Qc(void 0!==Gi?Gi:{});function Jc(e){return function(t){for(var n=0;n!=e.length;++n){var r=e[n];void 0===t[r[0]]&&(t[r[0]]=r[1]),"n"===r[2]&&(t[r[0]]=Number(t[r[0]]))}}}var qc=function(e){Jc([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)},eu=Jc([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]]);function tu(e,t){if(!e)return 0;try{e=t.map(function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,(n=e["!id"][t.id].Type,rr.WS.indexOf(n)>-1?"sheet":rr.CS&&n==rr.CS?"chart":rr.DS&&n==rr.DS?"dialog":rr.MS&&n==rr.MS?"macro":n&&n.length?n:"sheet")];var n})}catch(e){return null}return e&&0!==e.length?e:null}function nu(e,t,n,r,i,o,a,s,l,c,u,h){try{o[r]=or(ge(e,n,!0),t);var d,f=Ae(e,t);switch(s){case"sheet":d=Ll(f,t,i,l,o[r],c,u,h);break;case"chart":if(!(d=Pl(f,t,i,l,o[r],c))||!d["!drawel"])break;var p=ye(d["!drawel"].Target,t),A=ir(p),g=ye(function(e,t){if(!e)return"??";var n=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][n].Target}(ge(e,p,!0),or(ge(e,A,!0),p)),p),v=ir(g);d=ml(ge(e,g,!0),0,0,or(ge(e,v,!0),g),0,d);break;case"macro":y=t,o[r],y.slice(-4),d={"!type":"macro"};break;case"dialog":d=function(e,t,n,r,i,o,a,s){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,o[r]);break;default:throw new Error("Unrecognized sheet type "+s)}a[r]=d;var m=[];o&&o[r]&&z(o[r]).forEach(function(n){if(o[r][n].Type==rr.CMNT){var i=ye(o[r][n].Target,t);if(!(m=Nl(Ae(e,i,!0),i,l))||!m.length)return;!function(e,t){var n,r=Array.isArray(e);t.forEach(function(t){var i=tn(t.ref);if(r?(e[i.r]||(e[i.r]=[]),n=e[i.r][i.c]):n=e[t.ref],!n){n={t:"z"},r?e[i.r][i.c]=n:e[t.ref]=n;var o=an(e["!ref"]||"BDWGO1000001:A1");o.s.r>i.r&&(o.s.r=i.r),o.e.r<i.r&&(o.e.r=i.r),o.s.c>i.c&&(o.s.c=i.c),o.e.c<i.c&&(o.e.c=i.c);var a=on(o);a!==e["!ref"]&&(e["!ref"]=a)}n.c||(n.c=[]);var s={a:t.author,t:t.t,r:t.r};t.h&&(s.h=t.h),n.c.push(s)})}(d,m)}})}catch(e){if(l.WTF)throw e}var y}function ru(e){return"/"==e.charAt(0)?e.slice(1):e}function iu(e,t){if(L(I),qc(t=t||{}),fe(e,"META-INF/manifest.xml"))return Rc(e,t);if(fe(e,"objectdata.xml"))return Rc(e,t);if(fe(e,"Index/Document.iwa"))throw new Error("Unsupported NUMBERS file");var n,r,i=function(e){for(var t=e.FullPaths||z(e.files),n=[],r=0;r<t.length;++r)"/"!=t[r].slice(-1)&&n.push(t[r]);return n.sort()}(e),o=function(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var n={};if((e.match(we)||[]).forEach(function(e){var r=Se(e);switch(r[0].replace(xe,"<")){case"<?xml":break;case"<Types":t.xmlns=r["xmlns"+(r[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":n[r.Extension]=r.ContentType;break;case"<Override":void 0!==t[Jn[r.ContentType]]&&t[Jn[r.ContentType]].push(r.PartName)}}),t.xmlns!==at.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=n,delete t.calcchains,t}(ge(e,"[Content_Types].xml")),a=!1;if(0===o.workbooks.length&&Ae(e,r="xl/workbook.xml",!0)&&o.workbooks.push(r),0===o.workbooks.length){if(!Ae(e,r="xl/workbook.bin",!0))throw new Error("Could not find workbook");o.workbooks.push(r),a=!0}"bin"==o.workbooks[0].slice(-3)&&(a=!0);var s={},l={};if(!t.bookSheets&&!t.bookProps){if(xs=[],o.sst)try{xs=Rl(Ae(e,ru(o.sst)),o.sst,t)}catch(e){if(t.WTF)throw e}t.cellStyles&&o.themes.length&&(s=function(e,t,n){return pa(e,n)}(ge(e,o.themes[0].replace(/^\//,""),!0)||"",o.themes[0],t)),o.style&&(l=Fl(Ae(e,ru(o.style)),o.style,s,t))}o.links.map(function(n){try{or(ge(e,ir(ru(n))),n);return jl(Ae(e,ru(n)),0,n,t)}catch(e){}});var c=Il(Ae(e,ru(o.workbooks[0])),o.workbooks[0],t),u={},h="";o.coreprops.length&&((h=Ae(e,ru(o.coreprops[0]),!0))&&(u=gr(h)),0!==o.extprops.length&&(h=Ae(e,ru(o.extprops[0]),!0))&&function(e,t,n){var r={};t||(t={}),e=Ue(e),yr.forEach(function(n){var i=(e.match(Ze(n[0]))||[])[1];switch(n[2]){case"string":i&&(t[n[1]]=De(i));break;case"bool":t[n[1]]="true"===i;break;case"raw":var o=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)</"+n[0]+">"));o&&o.length>0&&(r[n[1]]=o[1])}}),r.HeadingPairs&&r.TitlesOfParts&&br(r.HeadingPairs,r.TitlesOfParts,t,n)}(h,u,t));var d={};t.bookSheets&&!t.bookProps||0!==o.custprops.length&&(h=ge(e,ru(o.custprops[0]),!0))&&(d=function(e,t){var n={},r="",i=e.match(wr);if(i)for(var o=0;o!=i.length;++o){var a=i[o],s=Se(a);switch(s[0]){case"<?xml":case"<Properties":break;case"<property":r=De(s.name);break;case"</property>":r=null;break;default:if(0===a.indexOf("<vt:")){var l=a.split(">"),c=l[0].slice(4),u=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":n[r]=De(u);break;case"bool":n[r]=je(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[r]=parseInt(u,10);break;case"r4":case"r8":case"decimal":n[r]=parseFloat(u);break;case"filetime":case"date":n[r]=re(u);break;case"cy":case"error":n[r]=De(u);break;default:if("/"==c.slice(-1))break;t.WTF&&"undefined"!=typeof console&&console.warn("Unexpected",a,c,l)}}else if("</"===a.slice(0,2));else if(t.WTF)throw new Error(a)}}return n}(h,t));var f={};if((t.bookSheets||t.bookProps)&&(c.Sheets?n=c.Sheets.map(function(e){return e.name}):u.Worksheets&&u.SheetNames.length>0&&(n=u.SheetNames),t.bookProps&&(f.Props=u,f.Custprops=d),t.bookSheets&&void 0!==n&&(f.SheetNames=n),t.bookSheets?f.SheetNames:t.bookProps))return f;n={};var p={};t.bookDeps&&o.calcchain&&(p=Hl(Ae(e,ru(o.calcchain)),o.calcchain));var A,g,v=0,m={},y=c.Sheets;u.Worksheets=y.length,u.SheetNames=[];for(var b=0;b!=y.length;++b)u.SheetNames[b]=y[b].name;var _=a?"bin":"xml",w=o.workbooks[0].lastIndexOf("/"),x=(o.workbooks[0].slice(0,w+1)+"_rels/"+o.workbooks[0].slice(w+1)+".rels").replace(/^\//,"");fe(e,x)||(x="xl/_rels/workbook."+_+".rels");var C=or(ge(e,x,!0),x);C&&(C=tu(C,c.Sheets));var S=Ae(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=u.Worksheets;++v){var B="sheet";if(C&&C[v]?(A="xl/"+C[v][1].replace(/[\/]?xl\//,""),fe(e,A)||(A=C[v][1]),fe(e,A)||(A=x.replace(/_rels\/.*$/,"")+C[v][1]),B=C[v][2]):A=(A="xl/worksheets/sheet"+(v+1-S)+"."+_).replace(/sheet0\./,"sheet."),g=A.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(u.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var k=!1,T=0;T!=t.sheets.length;++T)"number"==typeof t.sheets[T]&&t.sheets[T]==v&&(k=1),"string"==typeof t.sheets[T]&&t.sheets[T].toLowerCase()==u.SheetNames[v].toLowerCase()&&(k=1);if(!k)continue e}}nu(e,A,g,u.SheetNames[v],v,m,n,B,t,c,s,l)}return f={Directory:o,Workbook:c,Props:u,Custprops:d,Deps:p,Sheets:n,SheetNames:u.SheetNames,Strings:xs,Styles:l,Themes:s,SSF:I.get_table()},t&&t.bookFiles&&(f.keys=i,f.files=e.files),t&&t.bookVBA&&(o.vba.length>0?f.vbaraw=Ae(e,ru(o.vba[0]),!0):o.defaults&&o.defaults.bin===xa&&(f.vbaraw=Ae(e,"xl/vbaProject.bin",!0))),f}function ou(e,t){var n,r,i=t||{},o="Workbook",a=j.find(e,o);try{if(o="/!DataSpaces/Version",!(a=j.find(e,o))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+o);if(n=a.content,(r={}).id=n.read_shift(0,"lpp4"),r.R=lo(n,4),r.U=lo(n,4),r.W=lo(n,4),o="/!DataSpaces/DataSpaceMap",!(a=j.find(e,o))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+o);var s=function(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-- >0;)t.push(co(e));return t}(a.content);if(1!==s.length||1!==s[0].comps.length||0!==s[0].comps[0].t||"StrongEncryptionDataSpace"!==s[0].name||"EncryptedPackage"!==s[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+o);if(o="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(a=j.find(e,o))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+o);var l=function(e){var t=[];e.l+=4;for(var n=e.read_shift(4);n-- >0;)t.push(e.read_shift(0,"lpp4"));return t}(a.content);if(1!=l.length||"StrongEncryptionTransform"!=l[0])throw new Error("ECMA-376 Encrypted file bad "+o);if(o="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(a=j.find(e,o))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+o);uo(a.content)}catch(e){}if(o="/EncryptionInfo",!(a=j.find(e,o))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+o);var c=po(a.content);if(o="/EncryptedPackage",!(a=j.find(e,o))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+o);if(4==c[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(c[1],a.content,i.password||"",i);if(2==c[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(c[1],a.content,i.password||"",i);throw new Error("File is password-protected")}function au(e,t){if(ma=1024,"ods"==t.bookType)return Uc(e,t);e&&!e.SSF&&(e.SSF=I.get_table()),e&&e.SSF&&(L(I),I.load_table(e.SSF),t.revssf=G(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Ss?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var n="xlsb"==t.bookType?"bin":"xml",r=Ca.indexOf(t.bookType)>-1,i={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""};eu(t=t||{});var o,a,s,l=me(),c="",u=0;if(t.cellXfs=[],Es(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),ve(l,c="docProps/core.xml",function(e,t){var n=t||{},r=[be,vr],i={};if(!e&&!n.Props)return r.join("");e&&(null!=e.CreatedDate&&mr("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:ot(e.CreatedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i),null!=e.ModifiedDate&&mr("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:ot(e.ModifiedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,i));for(var o=0;o!=pr.length;++o){var a=pr[o],s=n.Props&&null!=n.Props[a[1]]?n.Props[a[1]]:e?e[a[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&mr(a[0],s,null,r,i)}return r.length>2&&(r[r.length]="</cp:coreProperties>",r[1]=r[1].replace("/>",">")),r.join("")}(e.Props,t)),i.coreprops.push(c),cr(t.rels,2,c,rr.CORE_PROPS),c="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var h=[],d=0;d<e.SheetNames.length;++d)2!=(e.Workbook.Sheets[d]||{}).Hidden&&h.push(e.SheetNames[d]);e.Props.SheetNames=h}else e.Props.SheetNames=e.SheetNames;for(e.Props.Worksheets=e.Props.SheetNames.length,ve(l,c,(o=e.Props,a=[],s=it,o||(o={}),o.Application="SheetJS",a[a.length]=be,a[a.length]=_r,yr.forEach(function(e){if(void 0!==o[e[1]]){var t;switch(e[2]){case"string":t=Le(String(o[e[1]]));break;case"bool":t=o[e[1]]?"true":"false"}void 0!==t&&(a[a.length]=s(e[0],t))}}),a[a.length]=s("HeadingPairs",s("vt:vector",s("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+s("vt:variant",s("vt:i4",String(o.Worksheets))),{size:2,baseType:"variant"})),a[a.length]=s("TitlesOfParts",s("vt:vector",o.SheetNames.map(function(e){return"<vt:lpstr>"+Le(e)+"</vt:lpstr>"}).join(""),{size:o.Worksheets,baseType:"lpstr"})),a.length>2&&(a[a.length]="</Properties>",a[1]=a[1].replace("/>",">")),a.join(""))),i.extprops.push(c),cr(t.rels,3,c,rr.EXT_PROPS),e.Custprops!==e.Props&&z(e.Custprops||{}).length>0&&(ve(l,c="docProps/custom.xml",Cr(e.Custprops)),i.custprops.push(c),cr(t.rels,4,c,rr.CUST_PROPS)),u=1;u<=e.SheetNames.length;++u){var f={"!id":{}},p=e.Sheets[e.SheetNames[u-1]];switch((p||{})["!type"]||"sheet"){case"chart":default:ve(l,c="xl/worksheets/sheet"+u+"."+n,Ql(u-1,c,t,e,f)),i.sheets.push(c),cr(t.wbrels,-1,"worksheets/sheet"+u+"."+n,rr.WS[0])}if(p){var A=p["!comments"],g=!1;if(A&&A.length>0){var v="xl/comments"+u+"."+n;ve(l,v,Yl(A,v,t)),i.comments.push(v),cr(f,-1,"../comments"+u+"."+n,rr.CMNT),g=!0}p["!legacy"]&&g&&ve(l,"xl/drawings/vmlDrawing"+u+".vml",ya(u,p["!comments"])),delete p["!comments"],delete p["!legacy"]}f["!id"].rId1&&ve(l,ir(c),sr(f))}return null!=t.Strings&&t.Strings.length>0&&(ve(l,c="xl/sharedStrings."+n,zl(t.Strings,c,t)),i.strs.push(c),cr(t.wbrels,-1,"sharedStrings."+n,rr.SST)),ve(l,c="xl/workbook."+n,Ul(e,c,t)),i.workbooks.push(c),cr(t.rels,1,c,rr.WB),ve(l,c="xl/theme/theme1.xml",Aa(e.Themes,t)),i.themes.push(c),cr(t.wbrels,-1,"theme/theme1.xml",rr.THEME),ve(l,c="xl/styles."+n,function(e,t,n){return(".bin"===t.slice(-4)?sa:Zo)(e,n)}(e,c,t)),i.styles.push(c),cr(t.wbrels,-1,"styles."+n,rr.STY),e.vbaraw&&r&&(ve(l,c="xl/vbaProject.bin",e.vbaraw),i.vba.push(c),cr(t.wbrels,-1,"vbaProject.bin",rr.VBA)),ve(l,"[Content_Types].xml",function(e,t){var n,r=[];r[r.length]=be,r[r.length]=tr,r=r.concat(nr);var i=function(i){e[i]&&e[i].length>0&&(n=e[i][0],r[r.length]=it("Override",null,{PartName:("/"==n[0]?"":"/")+n,ContentType:qn[i][t.bookType||"xlsx"]}))},o=function(n){(e[n]||[]).forEach(function(e){r[r.length]=it("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:qn[n][t.bookType||"xlsx"]})})},a=function(t){(e[t]||[]).forEach(function(e){r[r.length]=it("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:er[t][0]})})};return i("workbooks"),o("sheets"),o("charts"),a("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(a),a("vba"),a("comments"),a("drawings"),r.length>2&&(r[r.length]="</Types>",r[1]=r[1].replace("/>",">")),r.join("")}(i,t)),ve(l,"_rels/.rels",sr(t.rels)),ve(l,"xl/_rels/workbook."+n+".rels",sr(t.wbrels)),delete t.revssf,delete t.ssf,l}function su(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=b.decode(e.slice(0,12));break;case"binary":n=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function lu(e,t){var n=e,r=t||{};return r.type||(r.type=_&&i.isBuffer(e)?"buffer":"base64"),iu(function(e,t){var n;if(ce)switch(t.type){case"base64":n=new ce(e,{base64:!0});break;case"binary":case"array":n=new ce(e,{base64:!1});break;case"buffer":n=new ce(e);break;default:throw new Error("Unrecognized type "+t.type)}else switch(t.type){case"base64":n=j.read(e,{type:"base64"});break;case"binary":n=j.read(e,{type:"binary"});break;case"buffer":case"array":n=j.read(e,{type:"buffer"});break;default:throw new Error("Unrecognized type "+t.type)}return n}(n,r),r)}function cu(e,t){var n=0;e:for(;n<e.length;)switch(e.charCodeAt(n)){case 10:case 13:case 32:++n;break;case 60:return rc(e.slice(n),t);default:break e}return Wi.to_workbook(e,t)}function uu(e,t,n,r){return r?(n.type="string",Wi.to_workbook(e,n)):Wi.to_workbook(t,n)}function hu(e,t){if(f(),"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return hu(new Uint8Array(e),t);var n,r=e,o=!1,a=t||{};if(a.cellStyles&&(a.cellNF=!0,a.sheetStubs=!0),Cs={},a.dateNF&&(Cs.dateNF=a.dateNF),a.type||(a.type=_&&i.isBuffer(e)?"buffer":"base64"),"file"==a.type&&(a.type=_?"buffer":"binary",r=function(e){if(void 0!==H)return H.readFileSync(e);if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var n=t.read();return t.close(),n}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("Cannot access file "+e)}(e)),"string"==a.type&&(o=!0,a.type="binary",a.codepage=65001,r=function(e){return e.match(/[^\x00-\x7F]/)?Qe(e):e}(e)),"array"==a.type&&"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!=typeof ArrayBuffer){var s=new ArrayBuffer(3),l=new Uint8Array(s);if(l.foo="bar",!l.foo)return(a=oe(a)).type="array",hu(E(r),a)}switch((n=su(r,a))[0]){case 208:if(207===n[1]&&17===n[2]&&224===n[3]&&161===n[4]&&177===n[5]&&26===n[6]&&225===n[7])return function(e,t){return j.find(e,"EncryptedPackage")?ou(e,t):gc(e,t)}(j.read(r,a),a);break;case 9:if(n[1]<=4)return gc(r,a);break;case 60:return rc(r,a);case 73:if(68===n[1])return function(e,t){var n=t||{},r=!!n.WTF;n.WTF=!0;try{var i=Yi.to_workbook(e,n);return n.WTF=r,i}catch(i){if(n.WTF=r,!i.message.match(/SYLK bad record ID/)&&r)throw i;return Wi.to_workbook(e,t)}}(r,a);break;case 84:if(65===n[1]&&66===n[2]&&76===n[3])return Vi.to_workbook(r,a);break;case 80:return 75===n[1]&&n[2]<9&&n[3]<9?lu(r,a):uu(e,r,a,o);case 239:return 60===n[3]?rc(r,a):uu(e,r,a,o);case 255:if(254===n[1])return function(e,t){var n=e;return"base64"==t.type&&(n=b.decode(n)),n=cptable.utils.decode(1200,n.slice(2),"str"),t.type="binary",cu(n,t)}(r,a);break;case 0:if(0===n[1]&&n[2]>=2&&0===n[3])return Xi.to_workbook(r,a);break;case 3:case 131:case 139:case 140:return zi.to_workbook(r,a);case 123:if(92===n[1]&&114===n[2]&&116===n[3])return xo.to_workbook(r,a);break;case 10:case 13:case 32:return function(e,t){var n="",r=su(e,t);switch(t.type){case"base64":n=b.decode(e);break;case"binary":n=e;break;case"buffer":n=e.toString("binary");break;case"array":n=ie(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]&&(n=Ue(n)),cu(n,t)}(r,a)}return zi.versions.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?zi.to_workbook(r,a):uu(e,r,a,o)}function du(e,t){var n=t||{};return n.type="file",hu(e,n)}function fu(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Q(t.file,j.write(e,{type:_?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return j.write(e,t)}function pu(e,t,n){n||(n="");var r=n+e;switch(t.type){case"base64":return b.encode(Qe(r));case"binary":return Qe(r);case"string":return e;case"file":return Q(t.file,r,"utf8");case"buffer":return _?w(r,"utf8"):pu(r,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Au(e,t){switch(t.type){case"string":case"base64":case"binary":for(var n="",r=0;r<e.length;++r)n+=String.fromCharCode(e[r]);return"base64"==t.type?b.encode(n):"string"==t.type?Ue(n):n;case"file":return Q(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function gu(e,t){f(),Tl(e);var n=t||{};if(n.cellStyles&&(n.cellNF=!0,n.sheetStubs=!0),"array"==n.type){n.type="binary";var r=gu(e,n);return n.type="array",k(r)}switch(n.bookType||"xlsb"){case"xml":case"xlml":return pu(cc(e,n),n);case"slk":case"sylk":return pu(Vc(e,n),n);case"htm":case"html":return pu(zc(e,n),n);case"txt":return function(e,t){switch(t.type){case"base64":return b.encode(e);case"binary":case"string":return e;case"file":return Q(t.file,e,"binary");case"buffer":return _?w(e,"binary"):e.split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}(Zc(e,n),n);case"csv":return pu(Yc(e,n),n,"\ufeff");case"dif":return pu(Gc(e,n),n);case"dbf":return Au($c(e,n),n);case"prn":return pu(Wc(e,n),n);case"rtf":return pu(Xc(e,n),n);case"eth":return pu(Kc(e,n),n);case"fods":return pu(Uc(e,n),n);case"biff2":n.biff||(n.biff=2);case"biff3":n.biff||(n.biff=3);case"biff4":return n.biff||(n.biff=4),Au(Mc(e,n),n);case"biff5":n.biff||(n.biff=5);case"biff8":case"xla":case"xls":return n.biff||(n.biff=8),function(e,t){var n=t||{};return fu(vc(e,n),n)}(e,n);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"ods":return function(e,t){var n=t||{},r=au(e,n),i={};if(n.compression&&(i.compression="DEFLATE"),n.password)i.type=_?"nodebuffer":"string";else switch(n.type){case"base64":i.type="base64";break;case"binary":i.type="string";break;case"string":throw new Error("'string' output type invalid for '"+n.bookType+"' files");case"buffer":case"file":i.type=_?"nodebuffer":"string";break;default:throw new Error("Unrecognized type "+n.type)}var o=r.FullPaths?j.write(r,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[i.type]||i.type}):r.generate(i);return n.password&&"undefined"!=typeof encrypt_agile?fu(encrypt_agile(o,n.password),n):"file"===n.type?Q(n.file,o):"string"==n.type?Ue(o):o}(e,n);default:throw new Error("Unrecognized bookType |"+n.bookType+"|")}}function vu(e){if(!e.bookType){var t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();t.match(/^\.[a-z]+$/)&&(e.bookType=t.slice(1)),e.bookType={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"}[e.bookType]||e.bookType}}function mu(e,t,n){var r=n||{};return r.type="file",r.file=t,vu(r),gu(e,r)}function yu(e,t,n,r,i,o,a,s){var l=Jt(n),c=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),h=!0,d=1===i?[]:{};if(1!==i)if(Object.defineProperty)try{Object.defineProperty(d,"__rowNum__",{value:n,enumerable:!1})}catch(e){d.__rowNum__=n}else d.__rowNum__=n;if(!a||e[n])for(var f=t.s.c;f<=t.e.c;++f){var p=a?e[n][f]:e[r[f]+l];if(void 0!==p&&void 0!==p.t){var A=p.v;switch(p.t){case"z":if(null==A)break;continue;case"e":A=void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=o[f]){if(null==A)if(void 0!==c)d[o[f]]=c;else{if(!u||null!==A)continue;d[o[f]]=null}else d[o[f]]=u||s.rawNumbers&&"n"==p.t?A:ln(p,A,s);null!=A&&(h=!1)}}else{if(void 0===c)continue;null!=o[f]&&(d[o[f]]=c)}}return{row:d,isempty:h}}function bu(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},r=0,i=1,o=[],a=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},u=null!=c.range?c.range:e["!ref"];switch(1===c.header?r=1:"A"===c.header?r=2:Array.isArray(c.header)?r=3:null==c.header&&(r=0),typeof u){case"string":l=an(u);break;case"number":(l=an(e["!ref"])).s.r=u;break;default:l=u}r>0&&(i=0);var h=Jt(l.s.r),d=[],f=[],p=0,A=0,g=Array.isArray(e),v=l.s.r,m=0,y=0;for(g&&!e[v]&&(e[v]=[]),m=l.s.c;m<=l.e.c;++m)switch(d[m]=en(m),n=g?e[v][m]:e[d[m]+h],r){case 1:o[m]=m-l.s.c;break;case 2:o[m]=d[m];break;case 3:o[m]=c.header[m-l.s.c];break;default:for(null==n&&(n={w:"__EMPTY",t:"s"}),s=a=ln(n,null,c),A=0,y=0;y<o.length;++y)o[y]==s&&(s=a+"_"+ ++A);o[m]=s}for(v=l.s.r+i;v<=l.e.r;++v){var b=yu(e,l,v,d,r,o,g,c);(!1===b.isempty||(1===r?!1!==c.blankrows:c.blankrows))&&(f[p++]=b.row)}return f.length=p,f}var _u=/"/g;function wu(e,t,n,r,i,o,a,s){for(var l=!0,c=[],u="",h=Jt(n),d=t.s.c;d<=t.e.c;++d)if(r[d]){var f=s.dense?(e[n]||[])[d]:e[r[d]+h];if(null==f)u="";else if(null!=f.v){l=!1,u=""+(s.rawNumbers&&"n"==f.t?f.v:ln(f,null,s));for(var p=0,A=0;p!==u.length;++p)if((A=u.charCodeAt(p))===i||A===o||34===A||s.forceQuotes){u='"'+u.replace(_u,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==f.f||f.F?u="":(l=!1,(u="="+f.f).indexOf(",")>=0&&(u='"'+u.replace(_u,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(a)}function xu(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var i=an(e["!ref"]),o=void 0!==r.FS?r.FS:",",a=o.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==o?"\\|":o)+"+$"),u="",h=[];r.dense=Array.isArray(e);for(var d=r.skipHidden&&e["!cols"]||[],f=r.skipHidden&&e["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(d[p]||{}).hidden||(h[p]=en(p));for(var A=i.s.r;A<=i.e.r;++A)(f[A]||{}).hidden||null!=(u=wu(e,i,A,h,a,l,o,r))&&(r.strip&&(u=u.replace(c,"")),n.push(u+s));return delete r.dense,n.join("")}function Cu(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=xu(e,t);if("undefined"==typeof cptable||"string"==t.type)return n;var r=cptable.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function Su(e){var t,n="",r="";if(null==e||null==e["!ref"])return[];var i,o=an(e["!ref"]),a="",s=[],l=[],c=Array.isArray(e);for(i=o.s.c;i<=o.e.c;++i)s[i]=en(i);for(var u=o.s.r;u<=o.e.r;++u)for(a=Jt(u),i=o.s.c;i<=o.e.c;++i)if(n=s[i]+a,r="",void 0!==(t=c?(e[u]||[])[i]:e[n])){if(null!=t.F){if(n=t.F,!t.f)continue;r=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)r=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)r=""+t.v;else if("b"==t.t)r=t.v?"TRUE":"FALSE";else if(void 0!==t.w)r="'"+t.w;else{if(void 0===t.v)continue;r="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=n+"="+r}return l}function Bu(e,t,n){var r,i=n||{},o=+!i.skipHeader,a=e||{},s=0,l=0;if(a&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var c="string"==typeof i.origin?tn(i.origin):i.origin;s=c.r,l=c.c}var u={s:{c:0,r:0},e:{c:l,r:s+t.length-1+o}};if(a["!ref"]){var h=an(a["!ref"]);u.e.c=Math.max(u.e.c,h.e.c),u.e.r=Math.max(u.e.r,h.e.r),-1==s&&(s=h.e.r+1,u.e.r=s+t.length-1+o)}else-1==s&&(s=0,u.e.r=t.length-1+o);var d=i.header||[],f=0;t.forEach(function(e,t){z(e).forEach(function(n){-1==(f=d.indexOf(n))&&(d[f=d.length]=n);var c=e[n],u="z",h="",p=nn({c:l+f,r:s+t+o});r=Tu.sheet_get_cell(a,p),!c||"object"!=typeof c||c instanceof Date?("number"==typeof c?u="n":"boolean"==typeof c?u="b":"string"==typeof c?u="s":c instanceof Date&&(u="d",i.cellDates||(u="n",c=X(c)),h=i.dateNF||I._table[14]),r?(r.t=u,r.v=c,delete r.w,delete r.R,h&&(r.z=h)):a[p]=r={t:u,v:c},h&&(r.z=h)):a[p]=c})}),u.e.c=Math.max(u.e.c,l+d.length-1);var p=Jt(s);if(o)for(f=0;f<d.length;++f)a[en(f+l)+p]={t:"s",v:d[f]};return a["!ref"]=on(u),a}var ku,Tu={encode_col:en,encode_row:Jt,encode_cell:nn,encode_range:on,decode_col:qt,decode_row:Kt,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:tn,decode_range:rn,format_cell:ln,get_formulae:Su,make_csv:xu,make_json:bu,make_formulae:Su,sheet_add_aoa:un,sheet_add_json:Bu,sheet_add_dom:Oc,aoa_to_sheet:hn,json_to_sheet:function(e,t){return Bu(null,e,t)},table_to_sheet:Ic,table_to_book:function(e,t){return cn(Ic(e,t),t)},sheet_to_csv:xu,sheet_to_txt:Cu,sheet_to_json:bu,sheet_to_html:Dc.from_sheet,sheet_to_formulae:Su,sheet_to_row_object_array:bu};!function(e){function t(e,t,n){return null!=e[t]?e[t]:e[t]=n}function n(e,t,r){if("string"==typeof t){if(Array.isArray(e)){var i=tn(t);return e[i.r]||(e[i.r]=[]),e[i.r][i.c]||(e[i.r][i.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return n(e,nn("number"!=typeof t?t:{r:t,c:r||0}))}e.consts=e.consts||{},e.sheet_get_cell=n,e.book_new=function(){return{SheetNames:[],Sheets:{}}},e.book_append_sheet=function(e,t,n){if(!n)for(var r=1;r<=65535&&-1!=e.SheetNames.indexOf(n="Sheet"+r);++r,n=void 0);if(!n||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(kl(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");e.SheetNames.push(n),e.Sheets[n]=t},e.book_set_sheet_visibility=function(e,n,r){t(e,"Workbook",{}),t(e.Workbook,"Sheets",[]);var i=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,n);switch(t(e.Workbook.Sheets,i,{}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[i].Hidden=r},[["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]].forEach(function(t){e.consts[t[0]]=t[1]}),e.cell_set_number_format=function(e,t){return e.z=t,e},e.cell_set_hyperlink=function(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e},e.cell_set_internal_link=function(t,n,r){return e.cell_set_hyperlink(t,"#"+n,r)},e.cell_add_comment=function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},e.sheet_set_array_formula=function(e,t,r){for(var i="string"!=typeof t?t:an(t),o="string"==typeof t?t:on(t),a=i.s.r;a<=i.e.r;++a)for(var s=i.s.c;s<=i.e.c;++s){var l=n(e,a,s);l.t="n",l.F=o,delete l.v,a==i.s.r&&s==i.s.c&&(l.f=r)}return e}}(Tu),_&&(ku=n(2).Readable,t.stream={to_json:function(e,t){var n=ku({objectMode:!0});if(null==e||null==e["!ref"])return n.push(null),n;var r={t:"n",v:0},i=0,o=1,a=[],s=0,l="",c={s:{r:0,c:0},e:{r:0,c:0}},u=t||{},h=null!=u.range?u.range:e["!ref"];switch(1===u.header?i=1:"A"===u.header?i=2:Array.isArray(u.header)&&(i=3),typeof h){case"string":c=an(h);break;case"number":(c=an(e["!ref"])).s.r=h;break;default:c=h}i>0&&(o=0);var d=Jt(c.s.r),f=[],p=0,A=Array.isArray(e),g=c.s.r,v=0,m=0;for(A&&!e[g]&&(e[g]=[]),v=c.s.c;v<=c.e.c;++v)switch(f[v]=en(v),r=A?e[g][v]:e[f[v]+d],i){case 1:a[v]=v-c.s.c;break;case 2:a[v]=f[v];break;case 3:a[v]=u.header[v-c.s.c];break;default:for(null==r&&(r={w:"__EMPTY",t:"s"}),l=s=ln(r,null,u),p=0,m=0;m<a.length;++m)a[m]==l&&(l=s+"_"+ ++p);a[v]=l}return g=c.s.r+o,n._read=function(){if(g>c.e.r)return n.push(null);for(;g<=c.e.r;){var t=yu(e,c,g,f,i,a,A,u);if(++g,!1===t.isempty||(1===i?!1!==u.blankrows:u.blankrows)){n.push(t.row);break}}},n},to_html:function(e,t){var n=ku(),r=t||{},i=null!=r.header?r.header:Dc.BEGIN,o=null!=r.footer?r.footer:Dc.END;n.push(i);var a=rn(e["!ref"]);r.dense=Array.isArray(e),n.push(Dc._preamble(e,a,r));var s=a.s.r,l=!1;return n._read=function(){if(s>a.e.r)return l||(l=!0,n.push("</table>"+o)),n.push(null);for(;s<=a.e.r;){n.push(Dc._row(e,a,s,r)),++s;break}},n},to_csv:function(e,t){var n=ku(),r=null==t?{}:t;if(null==e||null==e["!ref"])return n.push(null),n;var i=an(e["!ref"]),o=void 0!==r.FS?r.FS:",",a=o.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==o?"\\|":o)+"+$"),u="",h=[];r.dense=Array.isArray(e);for(var d=r.skipHidden&&e["!cols"]||[],f=r.skipHidden&&e["!rows"]||[],p=i.s.c;p<=i.e.c;++p)(d[p]||{}).hidden||(h[p]=en(p));var A=i.s.r,g=!1;return n._read=function(){if(!g)return g=!0,n.push("\ufeff");for(;A<=i.e.r;)if(!(f[++A-1]||{}).hidden&&null!=(u=wu(e,i,A-1,h,a,l,o,r))){r.strip&&(u=u.replace(c,"")),n.push(u+s);break}return A>i.e.r?n.push(null):void 0},n}}),t.parse_xlscfb=gc,t.parse_zip=iu,t.read=hu,t.readFile=du,t.readFileSync=du,t.write=gu,t.writeFile=mu,t.writeFileSync=mu,t.writeFileAsync=function(e,t,n,r){var i=n||{};i.type="file",i.file=e,vu(i),i.type="buffer";var o=r;return o instanceof Function||(o=n),H.writeFile(e,gu(t,i),o)},t.utils=Tu,t.SSF=I,void 0!==j&&(t.CFB=j)}a(t)}).call(t,n("DuR2"),n("EuP9").Buffer,n("W2nU"))},uY1a:function(e,t){e.exports=function(e,t,n,r){var i,o=0;return"boolean"!=typeof t&&(r=n,n=t,t=void 0),function(){var a=this,s=Number(new Date)-o,l=arguments;function c(){o=Number(new Date),n.apply(a,l)}r&&!i&&c(),i&&clearTimeout(i),void 0===r&&s>e?c():!0!==t&&(i=setTimeout(r?function(){i=void 0}:c,void 0===r?e-s:e))}}},ujcs:function(e,t){
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
- t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,h=n?i-1:0,d=n?-1:1,f=e[t+h];for(h+=d,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=256*o+e[t+h],h+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+h],h+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,h=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,A=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(t*l-1)*Math.pow(2,i),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+f]=255&a,f+=p,a/=256,c-=8);e[n+f-p]|=128*A}},uqUo:function(e,t,n){var r=n("kM2E"),i=n("FeBl"),o=n("S82l");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},urW8:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=a(n("Vi3T")),i=a(n("7+uW")),o=a(n("i3rX"));function a(e){return e&&e.__esModule?e:{default:e}}var s=(0,a(n("SvnF")).default)(i.default),l=r.default,c=!1,u=function(){var e=Object.getPrototypeOf(this||i.default).$t;if("function"==typeof e&&i.default.locale)return c||(c=!0,i.default.locale(i.default.config.lang,(0,o.default)(l,i.default.locale(i.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},h=t.t=function(e,t){var n=u.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var r=e.split("."),i=l,o=0,a=r.length;o<a;o++){if(n=i[r[o]],o===a-1)return s(n,t);if(!n)return"";i=n}return""},d=t.use=function(e){l=e||l},f=t.i18n=function(e){u=e||u};t.default={use:d,t:h,i18n:f}},"us/S":function(e,t,n){e.exports={default:n("Xd32"),__esModule:!0}},"vFc/":function(e,t,n){var r=n("TcQ7"),i=n("QRG4"),o=n("fkB2");e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},"vIB/":function(e,t,n){"use strict";var r=n("O4g8"),i=n("kM2E"),o=n("880/"),a=n("hJx8"),s=n("/bQp"),l=n("94VQ"),c=n("e6n0"),u=n("PzxK"),h=n("dSzd")("iterator"),d=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,p,A,g,v){l(n,t,p);var m,y,b,_=function(e){if(!d&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",x="values"==A,C=!1,S=e.prototype,B=S[h]||S["@@iterator"]||A&&S[A],k=B||_(A),T=A?x?_("entries"):k:void 0,E="Array"==t&&S.entries||B;if(E&&(b=u(E.call(new e)))!==Object.prototype&&b.next&&(c(b,w,!0),r||"function"==typeof b[h]||a(b,h,f)),x&&B&&"values"!==B.name&&(C=!0,k=function(){return B.call(this)}),r&&!v||!d&&!C&&S[h]||a(S,h,k),s[t]=k,s[w]=f,A)if(m={values:x?k:_("values"),keys:g?k:_("keys"),entries:T},v)for(y in m)y in S||o(S,y,m[y]);else i(i.P+i.F*(d||C),t,m);return m}},vbIv:function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),o=r.new_float_n,a=r.new_int,s=(r.new_int_n,r.assert,n("/00o"));e.exports=function(){this.last_en_subshort=o([4,9]),this.lastAttacks=a(4),this.pefirbuf=i(19),this.longfact=i(s.SBMAX_l),this.shortfact=i(s.SBMAX_s),this.attackthre=0,this.attackthre_s=0}},vwhL:function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){"use strict";function r(e,t,n){for(var r=0;r<n.length;r++)e.setUint8(t+r,n.charCodeAt(r))}Object.defineProperty(t,"__esModule",{value:!0}),t.compress=function(e,t,n){for(var r=t/n,i=Math.max(r,1),o=e.left,a=e.right,s=Math.floor((o.length+a.length)/r),l=new Float32Array(s),c=0,u=0;c<s;){var h=Math.floor(u);l[c]=o[h],c++,a.length&&(l[c]=a[h],c++),u+=i}return l},t.encodePCM=function(e,t,n){void 0===n&&(n=!0);var r=0,i=e.length*(t/8),o=new ArrayBuffer(i),a=new DataView(o);if(8===t)for(var s=0;s<e.length;s++,r++){var l=(c=Math.max(-1,Math.min(1,e[s])))<0?128*c:127*c;l=+l+128,a.setInt8(r,l)}else for(s=0;s<e.length;s++,r+=2){var c=Math.max(-1,Math.min(1,e[s]));a.setInt16(r,c<0?32768*c:32767*c,n)}return a},t.encodeWAV=function(e,t,n,i,o,a){void 0===a&&(a=!0);var s=n>t?t:n,l=o,c=new ArrayBuffer(44+e.byteLength),u=new DataView(c),h=i,d=0;r(u,d,"RIFF"),d+=4,u.setUint32(d,36+e.byteLength,a),r(u,d+=4,"WAVE"),r(u,d+=4,"fmt "),d+=4,u.setUint32(d,16,a),d+=4,u.setUint16(d,1,a),d+=2,u.setUint16(d,h,a),d+=2,u.setUint32(d,s,a),d+=4,u.setUint32(d,h*s*(l/8),a),d+=4,u.setUint16(d,h*(l/8),a),d+=2,u.setUint16(d,l,a),r(u,d+=2,"data"),d+=4,u.setUint32(d,e.byteLength,a),d+=4;for(var f=0;f<e.byteLength;)u.setUint8(d,e.getUint8(f)),d++,f++;return u}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),a=n(0),s=n(3),l=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.isrecording=!1,n.ispause=!1,n.isplaying=!1,n}return i(t,e),t.prototype.setOption=function(e){void 0===e&&(e={}),this.setNewOption(e)},t.prototype.start=function(){return this.isrecording?Promise.reject():(this.isrecording=!0,this.startRecord())},t.prototype.pause=function(){this.isrecording&&!this.ispause&&(this.ispause=!0,this.pauseRecord())},t.prototype.resume=function(){this.isrecording&&this.ispause&&(this.ispause=!1,this.resumeRecord())},t.prototype.stop=function(){this.isrecording&&(this.isrecording=!1,this.ispause=!1,this.stopRecord())},t.prototype.play=function(){this.stop(),this.isplaying=!0,this.onplay&&this.onplay(),s.default.addPlayEnd(this.onplayend);var e=this.getWAV();e.byteLength>44&&s.default.play(e.buffer)},t.prototype.getPlayTime=function(){return s.default.getPlayTime()},t.prototype.pausePlay=function(){!this.isrecording&&this.isplaying&&(this.isplaying=!1,this.onpauseplay&&this.onpauseplay(),s.default.pausePlay())},t.prototype.resumePlay=function(){this.isrecording||this.isplaying||(this.isplaying=!0,this.onresumeplay&&this.onresumeplay(),s.default.resumePlay())},t.prototype.stopPlay=function(){this.isrecording||(this.isplaying=!1,this.onstopplay&&this.onstopplay(),s.default.stopPlay())},t.prototype.destroy=function(){return s.default.destroyPlay(),this.destroyRecord()},t.prototype.getRecordAnalyseData=function(){return this.getAnalyseData()},t.prototype.getPlayAnalyseData=function(){return s.default.getAnalyseData()},t.prototype.getPCM=function(){this.stop();var e=this.getData();return e=a.compress(e,this.inputSampleRate,this.outputSampleRate),a.encodePCM(e,this.oututSampleBits,this.littleEdian)},t.prototype.getPCMBlob=function(){return new Blob([this.getPCM()])},t.prototype.downloadPCM=function(e){void 0===e&&(e="recorder");var t=this.getPCMBlob();o.downloadPCM(t,e)},t.prototype.getWAV=function(){var e=this.getPCM();return a.encodeWAV(e,this.inputSampleRate,this.outputSampleRate,this.config.numChannels,this.oututSampleBits,this.littleEdian)},t.prototype.getWAVBlob=function(){return new Blob([this.getWAV()],{type:"audio/wav"})},t.prototype.downloadWAV=function(e){void 0===e&&(e="recorder");var t=this.getWAVBlob();o.downloadWAV(t,e)},t.prototype.download=function(e,t,n){o.download(e,t,n)},t.prototype.getChannelData=function(){var e=this.getPCM(),t=e.byteLength,n=this.littleEdian,r={left:null,right:null};if(2===this.config.numChannels){var i=new DataView(new ArrayBuffer(t/2)),o=new DataView(new ArrayBuffer(t/2));if(16===this.config.sampleBits)for(var a=0;a<t/2;a+=2)i.setInt16(a,e.getInt16(2*a,n),n),o.setInt16(a,e.getInt16(2*a+2,n),n);else for(a=0;a<t/2;a+=2)i.setInt8(a,e.getInt8(2*a)),o.setInt8(a,e.getInt8(2*a+1));r.left=i,r.right=o}else r.left=e;return r},t}(n(5).default);t.default=l},function(e,t,n){"use strict";function r(e,t,n){var r=document.createElement("a");r.href=window.URL.createObjectURL(e),r.download=t+"."+n,r.click()}Object.defineProperty(t,"__esModule",{value:!0}),t.downloadWAV=function(e,t){void 0===t&&(t="recorder"),r(e,t,"wav")},t.downloadPCM=function(e,t){void 0===t&&(t="recorder"),r(e,t,"pcm")},t.download=function(e,t,n){return r(e,t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=null,o=0,a=0,s=null,l=null,c=null,u=!1,h=0,d=function(){};function f(){return u=!1,s.decodeAudioData(c.slice(0),function(e){(i=s.createBufferSource()).onended=function(){u||(h=s.currentTime-a+o,d())},i.buffer=e,i.connect(l),l.connect(s.destination),i.start(0,o),a=s.currentTime},function(e){r.throwError(e)})}function p(){i&&(i.stop(),i=null)}var A=function(){function e(){}return e.play=function(e){return s||(s=new(window.AudioContext||window.webkitAudioContext),(l=s.createAnalyser()).fftSize=2048),this.stopPlay(),c=e,h=0,f()},e.pausePlay=function(){p(),o+=s.currentTime-a,u=!0},e.resumePlay=function(){return f()},e.stopPlay=function(){o=0,c=null,p()},e.destroyPlay=function(){this.stopPlay()},e.getAnalyseData=function(){var e=new Uint8Array(l.frequencyBinCount);return l.getByteTimeDomainData(e),e},e.addPlayEnd=function(e){void 0===e&&(e=function(){}),d=e},e.getPlayTime=function(){var e=u?o:s.currentTime-a+o;return h||e},e}();t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=function(e){throw new Error(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=function(){function e(t){void 0===t&&(t={}),this.size=0,this.lBuffer=[],this.rBuffer=[],this.tempPCM=[],this.inputSampleBits=16,this.fileSize=0,this.duration=0,this.needRecord=!0;var n,r=new(window.AudioContext||window.webkitAudioContext);this.inputSampleRate=r.sampleRate,this.setNewOption(t),this.littleEdian=(n=new ArrayBuffer(2),new DataView(n).setInt16(0,256,!0),256===new Int16Array(n)[0]),e.initUserMedia()}return e.prototype.setNewOption=function(e){void 0===e&&(e={}),this.config={sampleBits:~[8,16].indexOf(e.sampleBits)?e.sampleBits:16,sampleRate:~[8e3,11025,16e3,22050,24e3,44100,48e3].indexOf(e.sampleRate)?e.sampleRate:this.inputSampleRate,numChannels:~[1,2].indexOf(e.numChannels)?e.numChannels:1},this.outputSampleRate=this.config.sampleRate,this.oututSampleBits=this.config.sampleBits},e.prototype.startRecord=function(){var e=this;return this.context&&this.destroyRecord(),this.initRecorder(),navigator.mediaDevices.getUserMedia({audio:!0}).then(function(t){e.audioInput=e.context.createMediaStreamSource(t),e.stream=t}).then(function(){e.audioInput.connect(e.analyser),e.analyser.connect(e.recorder),e.recorder.connect(e.context.destination)})},e.prototype.pauseRecord=function(){this.needRecord=!1},e.prototype.resumeRecord=function(){this.needRecord=!0},e.prototype.stopRecord=function(){this.audioInput&&this.audioInput.disconnect(),this.source&&this.source.stop(),this.recorder.disconnect(),this.analyser.disconnect(),this.needRecord=!0},e.prototype.destroyRecord=function(){return this.clearRecordStatus(),this.stopStream(),this.closeAudioContext()},e.prototype.getAnalyseData=function(){var e=new Uint8Array(this.analyser.frequencyBinCount);return this.analyser.getByteTimeDomainData(e),e},e.prototype.getData=function(){return this.flat()},e.prototype.clearRecordStatus=function(){this.lBuffer.length=0,this.rBuffer.length=0,this.size=0,this.fileSize=0,this.PCM=null,this.audioInput=null,this.duration=0},e.prototype.flat=function(){var e=null,t=new Float32Array(0);1===this.config.numChannels?e=new Float32Array(this.size):(e=new Float32Array(this.size/2),t=new Float32Array(this.size/2));for(var n=0,r=0;r<this.lBuffer.length;r++)e.set(this.lBuffer[r],n),n+=this.lBuffer[r].length;for(n=0,r=0;r<this.rBuffer.length;r++)t.set(this.rBuffer[r],n),n+=this.rBuffer[r].length;return{left:e,right:t}},e.prototype.initRecorder=function(){var e=this;this.clearRecordStatus(),this.context=new(window.AudioContext||window.webkitAudioContext),this.analyser=this.context.createAnalyser(),this.analyser.fftSize=2048;var t=this.context.createScriptProcessor||this.context.createJavaScriptNode;this.recorder=t.apply(this.context,[4096,this.config.numChannels,this.config.numChannels]),this.recorder.onaudioprocess=function(t){if(e.needRecord){var n,r=t.inputBuffer.getChannelData(0),i=null;e.lBuffer.push(new Float32Array(r)),e.size+=r.length,2===e.config.numChannels&&(i=t.inputBuffer.getChannelData(1),e.rBuffer.push(new Float32Array(i)),e.size+=i.length),e.fileSize=Math.floor(e.size/Math.max(e.inputSampleRate/e.outputSampleRate,1))*(e.oututSampleBits/8),n=100*Math.max.apply(Math,r),e.duration+=4096/e.inputSampleRate,e.onprocess&&e.onprocess(e.duration),e.onprogress&&e.onprogress({duration:e.duration,fileSize:e.fileSize,vol:n})}}},e.prototype.stopStream=function(){this.stream&&this.stream.getTracks&&(this.stream.getTracks().forEach(function(e){return e.stop()}),this.stream=null)},e.prototype.closeAudioContext=function(){return this.context&&this.context.close&&"closed"!==this.context.state?this.context.close():new Promise(function(e){e()})},e.initUserMedia=function(){void 0===navigator.mediaDevices&&(navigator.mediaDevices={}),void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=function(e){var t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;return t?new Promise(function(n,r){t.call(navigator,e,n,r)}):Promise.reject(new Error("浏览器不支持 getUserMedia !"))})},e.prototype.transformIntoPCM=function(e,t){var n=new Float32Array(e),i=new Float32Array(t),o=r.compress({left:n,right:i},this.inputSampleRate,this.outputSampleRate);return r.encodePCM(o,this.oututSampleBits,this.littleEdian)},e.getPermission=function(){return this.initUserMedia(),navigator.mediaDevices.getUserMedia({audio:!0}).then(function(e){e&&e.getTracks().forEach(function(e){return e.stop()})})},e}();t.default=i}]).default},e.exports=r()},"w/TU":function(e,t,n){var r;"undefined"!=typeof self&&self,r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"01f9":function(e,t,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),l=n("41a0"),c=n("7f20"),u=n("38fd"),h=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,p,A,g,v){l(n,t,p);var m,y,b,_=function(e){if(!d&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",x="values"==A,C=!1,S=e.prototype,B=S[h]||S["@@iterator"]||A&&S[A],k=B||_(A),T=A?x?_("entries"):k:void 0,E="Array"==t&&S.entries||B;if(E&&(b=u(E.call(new e)))!==Object.prototype&&b.next&&(c(b,w,!0),r||"function"==typeof b[h]||a(b,h,f)),x&&B&&"values"!==B.name&&(C=!0,k=function(){return B.call(this)}),r&&!v||!d&&!C&&S[h]||a(S,h,k),s[t]=k,s[w]=f,A)if(m={values:x?k:_("values"),keys:g?k:_("keys"),entries:T},v)for(y in m)y in S||o(S,y,m[y]);else i(i.P+i.F*(d||C),t,m);return m}},"02f4":function(e,t,n){var r=n("4588"),i=n("be13");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},"0390":function(e,t,n){"use strict";var r=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"0bfb":function(e,t,n){"use strict";var r=n("cb7c");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var r=n("ce10"),i=n("e11e");e.exports=Object.keys||function(e){return r(e,i)}},1495:function(e,t,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},"214f":function(e,t,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),l=n("520a"),c=s("species"),u=!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),h=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var d=s(e),f=!o(function(){var t={};return t[d]=function(){return 7},7!=""[e](t)}),p=f?!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[d](""),!t}):void 0;if(!f||!p||"replace"===e&&!u||"split"===e&&!h){var A=/./[d],g=n(a,d,""[e],function(e,t,n,r,i){return t.exec===l?f&&!i?{done:!0,value:A.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),v=g[0],m=g[1];r(String.prototype,e,v),i(RegExp.prototype,d,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)})}}},"230e":function(e,t,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"23c6":function(e,t,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"2aba":function(e,t,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),l=(""+s).split("toString");n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(c&&(o(n,a)||i(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},"2aeb":function(e,t,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},l=function(){var e,t=n("230e")("iframe"),r=o.length;for(t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},"2b4c":function(e,t,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2fdb":function(e,t,n){"use strict";var r=n("5ca1"),i=n("d2c8");r(r.P+r.F*n("5147")("includes"),"String",{includes:function(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(e,t,n){var r=n("86cc"),i=n("4630");e.exports=n("9e1e")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"38fd":function(e,t,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"41a0":function(e,t,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},"456d":function(e,t,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",function(){return function(e){return i(r(e))}})},4588:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"4bf8":function(e,t,n){var r=n("be13");e.exports=function(e){return Object(r(e))}},5147:function(e,t,n){var r=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},"520a":function(e,t,n){"use strict";var r,i,o=n("0bfb"),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,c=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(e){var t,n,r,i,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",o.call(l))),c&&(t=l.lastIndex),r=a.call(l,e),c&&r&&(l.lastIndex=l.global?r.index+r[0].length:t),u&&r&&r.length>1&&s.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r}),e.exports=l},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,n){var r=n("8378"),i=n("7726"),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,t,n){var r=n("7726"),i=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),l=function(e,t,n){var c,u,h,d,f=e&l.F,p=e&l.G,A=e&l.S,g=e&l.P,v=e&l.B,m=p?r:A?r[t]||(r[t]={}):(r[t]||{}).prototype,y=p?i:i[t]||(i[t]={}),b=y.prototype||(y.prototype={});for(c in p&&(n=t),n)h=((u=!f&&m&&void 0!==m[c])?m:n)[c],d=v&&u?s(h,r):g&&"function"==typeof h?s(Function.call,h):h,m&&a(m,c,h,e&l.U),y[c]!=h&&o(y,c,d),g&&b[c]!=h&&(b[c]=h)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5eda":function(e,t,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},"5f1b":function(e,t,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"613b":function(e,t,n){var r=n("5537")("keys"),i=n("ca5a");e.exports=function(e){return r[e]||(r[e]=i(e))}},"626a":function(e,t,n){var r=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},6762:function(e,t,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(e,t,n){var r=n("626a"),i=n("be13");e.exports=function(e){return r(i(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var r=n("d3f4");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},7333:function(e,t,n){"use strict";var r=n("0d58"),i=n("2621"),o=n("52a7"),a=n("4bf8"),s=n("626a"),l=Object.assign;e.exports=!l||n("79e5")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,c=1,u=i.f,h=o.f;l>c;)for(var d,f=s(arguments[c++]),p=u?r(f).concat(u(f)):r(f),A=p.length,g=0;A>g;)h.call(f,d=p[g++])&&(n[d]=f[d]);return n}:l},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var r=n("4588"),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7f20":function(e,t,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},8378:function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"9b43":function(e,t,n){var r=n("d8e8");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),e.exports=function(e){i[r][e]=!0}},"9def":function(e,t,n){var r=n("4588"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a352:function(t,n){t.exports=e},a481:function(e,t,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,h=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n("214f")("replace",2,function(e,t,n,p){return[function(r,i){var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=p(n,e,this,t);if(i.done)return i.value;var h=r(e),d=String(this),f="function"==typeof t;f||(t=String(t));var g=h.global;if(g){var v=h.unicode;h.lastIndex=0}for(var m=[];;){var y=l(h,d);if(null===y)break;if(m.push(y),!g)break;""===String(y[0])&&(h.lastIndex=s(d,o(h.lastIndex),v))}for(var b,_="",w=0,x=0;x<m.length;x++){y=m[x];for(var C=String(y[0]),S=c(u(a(y.index),d.length),0),B=[],k=1;k<y.length;k++)B.push(void 0===(b=y[k])?b:String(b));var T=y.groups;if(f){var E=[C].concat(B,S,d);void 0!==T&&E.push(T);var M=String(t.apply(void 0,E))}else M=A(C,d,S,B,T,t);S>=w&&(_+=d.slice(w,S)+M,w=S+C.length)}return _+d.slice(w)}];function A(e,t,r,o,a,s){var l=r+e.length,c=o.length,u=f;return void 0!==a&&(a=i(a),u=d),n.call(s,u,function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":s=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>c){var d=h(u/10);return 0===d?n:d<=c?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):n}s=o[u-1]}return void 0===s?"":s})}})},aae3:function(e,t,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},ac6a:function(e,t,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),l=n("84f2"),c=n("2b4c"),u=c("iterator"),h=c("toStringTag"),d=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(f),A=0;A<p.length;A++){var g,v=p[A],m=f[v],y=a[v],b=y&&y.prototype;if(b&&(b[u]||s(b,u,d),b[h]||s(b,h,v),l[v]=d,m))for(g in r)b[g]||o(b,g,r[g],!0)}},b0c5:function(e,t,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},c366:function(e,t,n){var r=n("6821"),i=n("9def"),o=n("77f1");e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},c649:function(e,t,n){"use strict";(function(e){n.d(t,"c",function(){return c}),n.d(t,"a",function(){return s}),n.d(t,"b",function(){return r}),n.d(t,"d",function(){return l});n("a481");var r="undefined"!=typeof window?window.console:e.console;var i,o,a=/-(\w)/g,s=(i=function(e){return e.replace(a,function(e,t){return t?t.toUpperCase():""})},o=Object.create(null),function(e){return o[e]||(o[e]=i(e))});function l(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function c(e,t,n){var r=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,r)}}).call(this,n("c8ba"))},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},ca5a:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},cadf:function(e,t,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),a=n("6821");e.exports=n("01f9")(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(e,t,n){var r=n("d3f4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},ce10:function(e,t,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},d2c8:function(e,t,n){var r=n("aae3"),i=n("be13");e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},d3f4:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(e,t,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),a="".startsWith;r(r.P+r.F*n("5147")("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},f6fd:function(e,t){!function(e){var t=e.getElementsByTagName("script");"currentScript"in e||Object.defineProperty(e,"currentScript",{get:function(){try{throw new Error}catch(r){var e,n=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in t)if(t[e].src==n||"interactive"==t[e].readyState)return t[e];return null}}})}(document)},f751:function(e,t,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var r=n("7726").document;e.exports=r&&r.documentElement},fb15:function(e,t,n){"use strict";var r;(n.r(t),"undefined"!=typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d");function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||o(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n("6762"),n("2fdb");function s(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||o(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var l=n("a352"),c=n.n(l),u=n("c649");function h(e,t){var n=this;this.$nextTick(function(){return n.$emit(e.toLowerCase(),t)})}function d(e){return["transition-group","TransitionGroup"].includes(e)}function f(e,t,n){return e[n]||(t[n]?t[n]():void 0)}var p=["Start","Add","Remove","Update","End"],A=["Choose","Unchoose","Sort","Filter","Clone"],g=["Move"].concat(p,A).map(function(e){return"on"+e}),v=null,m={name:"draggable",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(e){return e}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(e){var t=this.$slots.default;this.transitionMode=function(e){if(!e||1!==e.length)return!1;var t=a(e,1)[0].componentOptions;return!!t&&d(t.tag)}(t);var n=function(e,t,n){var r=0,i=0,o=f(t,n,"header");o&&(r=o.length,e=e?[].concat(s(o),s(e)):s(o));var a=f(t,n,"footer");return a&&(i=a.length,e=e?[].concat(s(e),s(a)):s(a)),{children:e,headerOffset:r,footerOffset:i}}(t,this.$slots,this.$scopedSlots),r=n.children,i=n.headerOffset,o=n.footerOffset;this.headerOffset=i,this.footerOffset=o;var l=function(e,t){var n=null,r=function(e,t){n=function(e,t,n){return void 0===n?e:((e=e||{})[t]=n,e)}(n,e,t)};if(r("attrs",Object.keys(e).filter(function(e){return"id"===e||e.startsWith("data-")}).reduce(function(t,n){return t[n]=e[n],t},{})),!t)return n;var i=t.on,o=t.props,a=t.attrs;return r("on",i),r("props",o),Object.assign(n.attrs,a),n}(this.$attrs,this.componentData);return e(this.getTag(),l,r)},created:function(){null!==this.list&&null!==this.value&&u.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&u.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&u.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var e=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var t={};p.forEach(function(n){t["on"+n]=function(e){var t=this;return function(n){null!==t.realList&&t["onDrag"+e](n),h.call(t,e,n)}}.call(e,n)}),A.forEach(function(n){t["on"+n]=h.bind(e,n)});var n=Object.keys(this.$attrs).reduce(function(t,n){return t[Object(u.a)(n)]=e.$attrs[n],t},{}),r=Object.assign({},this.options,n,t,{onMove:function(t,n){return e.onDragMove(t,n)}});!("draggable"in r)&&(r.draggable=">*"),this._sortable=new c.a(this.rootContainer,r),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(e){this.updateOptions(e)},deep:!0},$attrs:{handler:function(e){this.updateOptions(e)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var e=this._vnode.fnOptions;return e&&e.functional},getTag:function(){return this.tag||this.element},updateOptions:function(e){for(var t in e){var n=Object(u.a)(t);-1===g.indexOf(n)&&this._sortable.option(n,e[t])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var e=this.$slots.default;return this.transitionMode?e[0].child.$slots.default:e},computeIndexes:function(){var e=this;this.$nextTick(function(){e.visibleIndexes=function(e,t,n,r){if(!e)return[];var i=e.map(function(e){return e.elm}),o=t.length-r,a=s(t).map(function(e,t){return t>=o?i.length:i.indexOf(e)});return n?a.filter(function(e){return-1!==e}):a}(e.getChildrenNodes(),e.rootContainer.children,e.transitionMode,e.footerOffset)})},getUnderlyingVm:function(e){var t=function(e,t){return e.map(function(e){return e.elm}).indexOf(t)}(this.getChildrenNodes()||[],e);return-1===t?null:{index:t,element:this.realList[t]}},getUnderlyingPotencialDraggableComponent:function(e){var t=e.__vue__;return t&&t.$options&&d(t.$options._componentTag)?t.$parent:!("realList"in t)&&1===t.$children.length&&"realList"in t.$children[0]?t.$children[0]:t},emitChanges:function(e){var t=this;this.$nextTick(function(){t.$emit("change",e)})},alterList:function(e){if(this.list)e(this.list);else{var t=s(this.value);e(t),this.$emit("input",t)}},spliceList:function(){var e=arguments,t=function(t){return t.splice.apply(t,s(e))};this.alterList(t)},updatePosition:function(e,t){var n=function(n){return n.splice(t,0,n.splice(e,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(e){var t=e.to,n=e.related,r=this.getUnderlyingPotencialDraggableComponent(t);if(!r)return{component:r};var i=r.realList,o={list:i,component:r};if(t!==n&&i&&r.getUnderlyingVm){var a=r.getUnderlyingVm(n);if(a)return Object.assign(a,o)}return o},getVmIndex:function(e){var t=this.visibleIndexes,n=t.length;return e>n-1?n:t[e]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(e){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[e].data=null;var t=this.getComponent();t.children=[],t.kept=void 0}},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),v=e.item},onDragAdd:function(e){var t=e.item._underlying_vm_;if(void 0!==t){Object(u.d)(e.item);var n=this.getVmIndex(e.newIndex);this.spliceList(n,0,t),this.computeIndexes();var r={element:t,newIndex:n};this.emitChanges({added:r})}},onDragRemove:function(e){if(Object(u.c)(this.rootContainer,e.item,e.oldIndex),"clone"!==e.pullMode){var t=this.context.index;this.spliceList(t,1);var n={element:this.context.element,oldIndex:t};this.resetTransitionData(t),this.emitChanges({removed:n})}else Object(u.d)(e.clone)},onDragUpdate:function(e){Object(u.d)(e.item),Object(u.c)(e.from,e.item,e.oldIndex);var t=this.context.index,n=this.getVmIndex(e.newIndex);this.updatePosition(t,n);var r={element:this.context.element,oldIndex:t,newIndex:n};this.emitChanges({moved:r})},updateProperty:function(e,t){e.hasOwnProperty(t)&&(e[t]+=this.headerOffset)},computeFutureIndex:function(e,t){if(!e.element)return 0;var n=s(t.to.children).filter(function(e){return"none"!==e.style.display}),r=n.indexOf(t.related),i=e.component.getVmIndex(r);return-1!==n.indexOf(v)||!t.willInsertAfter?i:i+1},onDragMove:function(e,t){var n=this.move;if(!n||!this.realList)return!0;var r=this.getRelatedContextFromMoveEvent(e),i=this.context,o=this.computeFutureIndex(r,e);return Object.assign(i,{futureIndex:o}),n(Object.assign({},e,{relatedContext:r,draggedContext:i}),t)},onDragEnd:function(){this.computeIndexes(),v=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",m);var y=m;t.default=y}}).default},e.exports=r(n("/dO2"))},wdSa:function(e,t,n){var r=n("To6e"),i=r.new_float,o=r.new_int;r.assert;e.exports=function(){this.global_gain=0,this.sfb_count1=0,this.step=o(39),this.noise=i(39),this.noise_log=i(39)}},woOf:function(e,t,n){e.exports={default:n("V3tA"),__esModule:!0}},xGkn:function(e,t,n){"use strict";var r=n("4mcu"),i=n("EGZi"),o=n("/bQp"),a=n("TcQ7");e.exports=n("vIB/")(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},"xH/j":function(e,t,n){var r=n("hJx8");e.exports=function(e,t,n){for(var i in t)n&&e[i]?e[i]=t[i]:r(e,i,t[i]);return e}},xLtR:function(e,t,n){"use strict";var r=n("cGG2"),i=n("TNV1"),o=n("pBtG"),a=n("KCLY");function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return s(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},xOwF:function(e,t,n){"use strict";let r=new(n("YA+t"))({charCase:0});e.exports=r},xPdS:function(e,t,n){e.exports=n("vwhL")},xnc9:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"y+7x":function(e,t,n){"use strict";t.__esModule=!0;var r=n("urW8");t.default={methods:{t:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.t.apply(this,t)}}}},yQBj:function(e,t,n){e.exports=function(){return new Worker(n.p+"511950fb361620b35cec.worker.js")}},ylDJ:function(e,t,n){"use strict";t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=function(){},t.hasOwn=function(e,t){return l.call(e,t)},t.toObject=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&c(t,e[n]);return t},t.getPropByPath=function(e,t,n){for(var r=e,i=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),o=0,a=i.length;o<a-1&&(r||n);++o){var s=i[o];if(!(s in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[s]}return{o:r,k:i[o],v:r?r[i[o]]:null}},t.rafThrottle=function(e){var t=!1;return function(){for(var n=this,r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];t||(t=!0,window.requestAnimationFrame(function(r){e.apply(n,i),t=!1}))}},t.objToArray=function(e){if(Array.isArray(e))return e;return f(e)?[]:[e]};var i,o=n("7+uW"),a=(i=o)&&i.__esModule?i:{default:i},s=n("835U");var l=Object.prototype.hasOwnProperty;function c(e,t){for(var n in t)e[n]=t[n];return e}t.getValueByPath=function(e,t){for(var n=(t=t||"").split("."),r=e,i=null,o=0,a=n.length;o<a;o++){var s=n[o];if(!r)break;if(o===a-1){i=r[s];break}r=r[s]}return i};t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var u=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},h=(t.arrayFind=function(e,t){var n=u(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!a.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!a.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!a.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==(void 0===e?"undefined":r(e)))return e;var t=["ms-","webkit-"];return["transform","transition","animation"].forEach(function(n){var r=e[n];n&&r&&t.forEach(function(t){e[t+n]=r})}),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,s.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,s.isObject)(e),r=(0,s.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),d=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!h(e[n],t[n]))return!1;return!0},f=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?d(e,t):h(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"==typeof e)return!1;if("number"==typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1})},ytml:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Kv9K"),i=(n.n(r),Promise.resolve());t.default=function(e){function t(t,n){var r;if("string"==typeof t)r={url:t};else if(t instanceof Uint8Array)r={data:t};else{if("object"!=typeof t||null===t)throw new TypeError("invalid src type");r=Object.assign({},t)}n&&n.withCredentials&&(r.withCredentials=n.withCredentials);var i=e.getDocument(r);return i.__PDFDocumentLoadingTask=!0,n&&n.onPassword&&(i.onPassword=n.onPassword),n&&n.onProgress&&(i.onProgress=n.onProgress),i}return{createLoadingTask:t,PDFJSWrapper:function(n,o,a){var s=null,l=null,c=null,u=!1;function h(){n.getContext("2d").clearRect(0,0,n.width,n.height)}function d(){for(;o.firstChild;)o.removeChild(o.firstChild)}n.getContext("2d").save(),this.destroy=function(){null!==s&&(i=s.destroy(),s=null)},this.getResolutionScale=function(){return n.offsetWidth/n.width},this.printPage=function(e,t){if(null!==l){var n=(void 0===e?150:e)/72,r=document.createElement("iframe");new Promise(function(e,t){r.frameBorder="0",r.scrolling="no",r.width="0px;",r.height="0px;",r.style.cssText="position: absolute; top: 0; left: 0",r.onload=function(){e(this.contentWindow)},window.document.body.appendChild(r)}).then(function(e){return e.document.title="",s.getPage(1).then(function(t){var r=t.getViewport({scale:1});return e.document.head.appendChild(e.document.createElement("style")).textContent="@supports ((size:A4) and (size:1pt 1pt)) {@page { margin: 1pt; size: "+r.width*n/(96/72)+"pt "+r.height*n/(96/72)+"pt; }}@media print {body { margin: 0 }canvas { page-break-before: avoid; page-break-after: always; page-break-inside: avoid }}@media screen {body { margin: 0 }}",e})}).then(function(e){for(var r=[],o=1;o<=s.numPages;++o)void 0!==t&&-1===t.indexOf(o)||r.push(s.getPage(o).then(function(t){var r=t.getViewport({scale:1}),i=e.document.body.appendChild(e.document.createElement("canvas"));return i.width=r.width*n,i.height=r.height*n,t.render({canvasContext:i.getContext("2d"),transform:[n,0,0,n,0,0],viewport:r,intent:"print"}).promise}));Promise.all(r).then(function(){e.focus(),e.document.queryCommandSupported("print")?e.document.execCommand("print",!1,null):e.print(),i()}).catch(function(e){i(),a("error",e)})})}function i(){r.parentNode.removeChild(r)}},this.renderPage=function(t){if(null!==c){if(u)return;return u=!0,void c.cancel()}if(null!==l){var h=(void 0===l.rotate?0:l.rotate)+(void 0===t?0:t),f=n.offsetWidth/l.getViewport({scale:1}).width*(window.devicePixelRatio||1),p=l.getViewport({scale:f,rotation:h});a("page-size",p.width,p.height,f),n.width=p.width,n.height=p.height,c=l.render({canvasContext:n.getContext("2d"),viewport:p}),o.style.visibility="hidden",d();var A={scrollPageIntoView:function(e){a("link-clicked",e.pageNumber)}},g=new r.PDFLinkService;g.setDocument(s),g.setViewer(A),i=i.then(function(){var n=l.getAnnotations({intent:"display"}).then(function(t){e.AnnotationLayer.render({viewport:p.clone({dontFlip:!0}),div:o,annotations:t,page:l,linkService:g,renderInteractiveForms:!1})}),r=c.promise.then(function(){o.style.visibility="",u=!1,c=null}).catch(function(n){if(c=null,n instanceof e.RenderingCancelledException)return u=!1,void this.renderPage(t);a("error",n)}.bind(this));return Promise.all([n,r])}.bind(this))}},this.forEachPage=function(e){var t=s.numPages;!function n(r){s.getPage(r).then(e).then(function(){++r<=t&&n(r)})}(1)},this.loadPage=function(e,t){l=null,null!==s&&(i=i.then(function(){return s.getPage(e)}).then(function(e){l=e,this.renderPage(t),a("page-loaded",e.pageNumber)}.bind(this)).catch(function(e){h(),d(),a("error",e)}))},this.loadDocument=function(r){if(s=null,l=null,a("num-pages",void 0),!r)return n.removeAttribute("width"),n.removeAttribute("height"),void d();i=i.then(function(){var n,i;if("object"==typeof(i=r)&&null!==i&&!0===i.__PDFDocumentLoadingTask){if(r.destroyed)return void a("error",new Error("loadingTask has been destroyed"));n=r}else n=t(r,{onPassword:function(t,n){var r;switch(n){case e.PasswordResponses.NEED_PASSWORD:r="NEED_PASSWORD";break;case e.PasswordResponses.INCORRECT_PASSWORD:r="INCORRECT_PASSWORD"}a("password",t,r)},onProgress:function(e){var t=e.loaded/e.total;a("progress",Math.min(t,1))}});return n.promise}).then(function(e){s=e,a("num-pages",e.numPages),a("loaded")}).catch(function(e){h(),d(),a("error",e)})},o.style.transformOrigin="0 0"}}}},"z+gd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},a=2;var s=20,l=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function s(){n&&(n=!1,e()),r&&c()}function l(){o(s)}function c(){var e=Date.now();if(n){if(e-i<a)return;r=!0}else n=!0,r=!1,setTimeout(l,t);i=e}return c}(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=y(0,0,0,0);function p(e){return parseFloat(e)||0}function A(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+p(e["border-"+n+"-width"])},0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=p(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=p(r.width),l=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=A(r,"left","right")+o),Math.round(l+a)!==n&&(l-=A(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(s+o)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return y(i.left,i.top,s,l)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function m(e){return r?v(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):g(e):f}function y(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=m(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(){return function(e,t){var n,r,i,o,a,s,l,c=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),h(l,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),l);h(this,{target:e,contentRect:c})}}(),w=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new _(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),x="undefined"!=typeof WeakMap?new WeakMap:new n,C=function(){return function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),r=new w(t,n,this);x.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(e){C.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}});var S=void 0!==i.ResizeObserver?i.ResizeObserver:C;t.default=S}.call(t,n("DuR2"))},"zAL+":function(e,t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=99)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},99:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-button-group"},[this._t("default")],2)};r._withStripped=!0;var i={name:"ElButtonGroup"},o=n(0),a=Object(o.a)(i,r,[],!1,null,null,null);a.options.__file="packages/button/src/button-group.vue";var s=a.exports;s.install=function(e){e.component(s.name,s)};t.default=s}})},zEpL:function(e,t,n){var r=n("To6e"),i=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util),a=r.Arrays,s=(r.new_array_n,r.new_byte,r.new_double,r.new_float),l=(r.new_float_n,r.new_int,r.new_int_n,r.assert,n("/00o"));e.exports=function(){var e=[-.1482523854003001,32.308141959636465,296.40344946382766,883.1344870032432,11113.947376231741,1057.2713659324597,305.7402417275812,30.825928907280012,3.8533188138216365,59.42900443849514,709.5899960123345,5281.91112291017,-5829.66483675846,-817.6293103748613,-76.91656988279972,-4.594269939176596,.9063471690191471,.1960342806591213,-.15466694054279598,34.324387823855965,301.8067566458425,817.599602898885,11573.795901679885,1181.2520595540152,321.59731579894424,31.232021761053772,3.7107095756221318,53.650946155329365,684.167428119626,5224.56624370173,-6366.391851890084,-908.9766368219582,-89.83068876699639,-5.411397422890401,.8206787908286602,.3901806440322567,-.16070888947830023,36.147034243915876,304.11815768187864,732.7429163887613,11989.60988270091,1300.012278487897,335.28490093152146,31.48816102859945,3.373875931311736,47.232241542899175,652.7371796173471,5132.414255594984,-6909.087078780055,-1001.9990371107289,-103.62185754286375,-6.104916304710272,.7416505462720353,.5805693545089249,-.16636367662261495,37.751650073343995,303.01103387567713,627.9747488785183,12358.763425278165,1412.2779918482834,346.7496836825721,31.598286663170416,3.1598635433980946,40.57878626349686,616.1671130880391,5007.833007176154,-7454.040671756168,-1095.7960341867115,-118.24411666465777,-6.818469345853504,.6681786379192989,.7653668647301797,-.1716176790982088,39.11551877123304,298.3413246578966,503.5259106886539,12679.589408408976,1516.5821921214542,355.9850766329023,31.395241710249053,2.9164211881972335,33.79716964664243,574.8943997801362,4853.234992253242,-7997.57021486075,-1189.7624067269965,-133.6444792601766,-7.7202770609839915,.5993769336819237,.9427934736519954,-.17645823955292173,40.21879108166477,289.9982036694474,359.3226160751053,12950.259102786438,1612.1013903507662,362.85067106591504,31.045922092242872,2.822222032597987,26.988862316190684,529.8996541764288,4671.371946949588,-8535.899136645805,-1282.5898586244496,-149.58553632943463,-8.643494270763135,.5345111359507916,1.111140466039205,-.36174739330527045,41.04429910497807,277.5463268268618,195.6386023135583,13169.43812144731,1697.6433561479398,367.40983966190305,30.557037410382826,2.531473372857427,20.070154905927314,481.50208566532336,4464.970341588308,-9065.36882077239,-1373.62841526722,-166.1660487028118,-9.58289321133207,.4729647758913199,1.268786568327291,-.36970682634889585,41.393213350082036,261.2935935556502,12.935476055240873,13336.131683328815,1772.508612059496,369.76534388639965,29.751323653701338,2.4023193045459172,13.304795348228817,430.5615775526625,4237.0568611071185,-9581.931701634761,-1461.6913552409758,-183.12733958476446,-10.718010163869403,.41421356237309503,1.414213562373095,-.37677560326535325,41.619486213528496,241.05423794991074,-187.94665032361226,13450.063605744153,1836.153896465782,369.4908799925761,29.001847876923147,2.0714759319987186,6.779591200894186,377.7767837205709,3990.386575512536,-10081.709459700915,-1545.947424837898,-200.3762958015653,-11.864482073055006,.3578057213145241,1.546020906725474,-.3829366947518991,41.1516456456653,216.47684307105183,-406.1569483347166,13511.136535077321,1887.8076599260432,367.3025214564151,28.136213436723654,1.913880671464418,.3829366947518991,323.85365704338597,3728.1472257487526,-10561.233882199509,-1625.2025997821418,-217.62525175416,-13.015432208941645,.3033466836073424,1.66293922460509,-.5822628872992417,40.35639251440489,188.20071124269245,-640.2706748618148,13519.21490106562,1927.6022433578062,362.8197642637487,26.968821921868447,1.7463817695935329,-5.62650678237171,269.3016715297017,3453.386536448852,-11016.145278780888,-1698.6569643425091,-234.7658734267683,-14.16351421663124,.2504869601913055,1.76384252869671,-.5887180101749253,39.23429103868072,155.76096234403798,-889.2492977967378,13475.470561874661,1955.0535223723712,356.4450994756727,25.894952980042156,1.5695032905781554,-11.181939564328772,214.80884394039484,3169.1640829158237,-11443.321309975563,-1765.1588461316153,-251.68908574481912,-15.49755935939164,.198912367379658,1.847759065022573,-.7912582233652842,37.39369355329111,119.699486012458,-1151.0956593239027,13380.446257078214,1970.3952110853447,348.01959814116185,24.731487364283044,1.3850130831637748,-16.421408865300393,161.05030052864092,2878.3322807850063,-11838.991423510031,-1823.985884688674,-268.2854986386903,-16.81724543849939,.1483359875383474,1.913880671464418,-.7960642926861912,35.2322109610459,80.01928065061526,-1424.0212633405113,13235.794061869668,1973.804052543835,337.9908651258184,23.289159354463873,1.3934255946442087,-21.099669467133474,108.48348407242611,2583.700758091299,-12199.726194855148,-1874.2780658979746,-284.2467154529415,-18.11369784385905,.09849140335716425,1.961570560806461,-.998795456205172,32.56307803611191,36.958364584370486,-1706.075448829146,13043.287458812016,1965.3831106103316,326.43182772364605,22.175018750622293,1.198638339011324,-25.371248002043963,57.53505923036915,2288.41886619975,-12522.674544337233,-1914.8400385312243,-299.26241273417224,-19.37805630698734,.04912684976946725,1.990369453344394,.035780907*o.SQRT2*.5/2384e-9,.017876148*o.SQRT2*.5/2384e-9,.003134727*o.SQRT2*.5/2384e-9,.002457142*o.SQRT2*.5/2384e-9,971317e-9*o.SQRT2*.5/2384e-9,218868e-9*o.SQRT2*.5/2384e-9,101566e-9*o.SQRT2*.5/2384e-9,13828e-9*o.SQRT2*.5/2384e-9,12804.797818791945,1945.5515939597317,313.4244966442953,49591e-9/2384e-9,1995.1556208053692,21458e-9/2384e-9,-69618e-9/2384e-9],t=[[2.382191739347913e-13,6.423305872147834e-13,9.400849094049688e-13,1.122435026096556e-12,1.183840321267481e-12,1.122435026096556e-12,9.40084909404969e-13,6.423305872147839e-13,2.382191739347918e-13,5.456116108943412e-12,4.878985199565852e-12,4.240448995017367e-12,3.559909094758252e-12,2.858043359288075e-12,2.156177623817898e-12,1.475637723558783e-12,8.371015190102974e-13,2.599706096327376e-13,-5.456116108943412e-12,-4.878985199565852e-12,-4.240448995017367e-12,-3.559909094758252e-12,-2.858043359288076e-12,-2.156177623817898e-12,-1.475637723558783e-12,-8.371015190102975e-13,-2.599706096327376e-13,-2.382191739347923e-13,-6.423305872147843e-13,-9.400849094049696e-13,-1.122435026096556e-12,-1.183840321267481e-12,-1.122435026096556e-12,-9.400849094049694e-13,-6.42330587214784e-13,-2.382191739347918e-13],[2.382191739347913e-13,6.423305872147834e-13,9.400849094049688e-13,1.122435026096556e-12,1.183840321267481e-12,1.122435026096556e-12,9.400849094049688e-13,6.423305872147841e-13,2.382191739347918e-13,5.456116108943413e-12,4.878985199565852e-12,4.240448995017367e-12,3.559909094758253e-12,2.858043359288075e-12,2.156177623817898e-12,1.475637723558782e-12,8.371015190102975e-13,2.599706096327376e-13,-5.461314069809755e-12,-4.921085770524055e-12,-4.343405037091838e-12,-3.732668368707687e-12,-3.093523840190885e-12,-2.430835727329465e-12,-1.734679010007751e-12,-9.74825365660928e-13,-2.797435120168326e-13,0,0,0,0,0,0,-2.283748241799531e-13,-4.037858874020686e-13,-2.146547464825323e-13],[.1316524975873958,.414213562373095,.7673269879789602,1.091308501069271,1.303225372841206,1.56968557711749,1.920982126971166,2.414213562373094,3.171594802363212,4.510708503662055,7.595754112725146,22.90376554843115,.984807753012208,.6427876096865394,.3420201433256688,.9396926207859084,-.1736481776669303,-.7660444431189779,.8660254037844387,.5,-.5144957554275265,-.4717319685649723,-.3133774542039019,-.1819131996109812,-.09457419252642064,-.04096558288530405,-.01419856857247115,-.003699974673760037,.8574929257125442,.8817419973177052,.9496286491027329,.9833145924917901,.9955178160675857,.9991605581781475,.999899195244447,.9999931550702802],[0,0,0,0,0,0,2.283748241799531e-13,4.037858874020686e-13,2.146547464825323e-13,5.461314069809755e-12,4.921085770524055e-12,4.343405037091838e-12,3.732668368707687e-12,3.093523840190885e-12,2.430835727329466e-12,1.734679010007751e-12,9.74825365660928e-13,2.797435120168326e-13,-5.456116108943413e-12,-4.878985199565852e-12,-4.240448995017367e-12,-3.559909094758253e-12,-2.858043359288075e-12,-2.156177623817898e-12,-1.475637723558782e-12,-8.371015190102975e-13,-2.599706096327376e-13,-2.382191739347913e-13,-6.423305872147834e-13,-9.400849094049688e-13,-1.122435026096556e-12,-1.183840321267481e-12,-1.122435026096556e-12,-9.400849094049688e-13,-6.423305872147841e-13,-2.382191739347918e-13]],n=t[l.SHORT_TYPE],r=t[l.SHORT_TYPE],c=t[l.SHORT_TYPE],u=t[l.SHORT_TYPE],h=[0,1,16,17,8,9,24,25,4,5,20,21,12,13,28,29,2,3,18,19,10,11,26,27,6,7,22,23,14,15,30,31];function d(t,n,r){for(var i,a,s,l=10,c=n+238-14-286,u=-15;u<0;u++){var h,d,f;h=e[l+-10],d=t[c+-224]*h,f=t[n+224]*h,h=e[l+-9],d+=t[c+-160]*h,f+=t[n+160]*h,h=e[l+-8],d+=t[c+-96]*h,f+=t[n+96]*h,h=e[l+-7],d+=t[c+-32]*h,f+=t[n+32]*h,h=e[l+-6],d+=t[c+32]*h,f+=t[n+-32]*h,h=e[l+-5],d+=t[c+96]*h,f+=t[n+-96]*h,h=e[l+-4],d+=t[c+160]*h,f+=t[n+-160]*h,h=e[l+-3],d+=t[c+224]*h,f+=t[n+-224]*h,h=e[l+-2],d+=t[n+-256]*h,f-=t[c+256]*h,h=e[l+-1],d+=t[n+-192]*h,f-=t[c+192]*h,h=e[l+0],d+=t[n+-128]*h,f-=t[c+128]*h,h=e[l+1],d+=t[n+-64]*h,f-=t[c+64]*h,h=e[l+2],d+=t[n+0]*h,f-=t[c+0]*h,h=e[l+3],d+=t[n+64]*h,f-=t[c+-64]*h,h=e[l+4],d+=t[n+128]*h,f-=t[c+-128]*h,h=e[l+5],d+=t[n+192]*h,h=(f-=t[c+-192]*h)-(d*=e[l+6]),r[30+2*u]=f+d,r[31+2*u]=e[l+7]*h,l+=18,n--,c++}f=t[n+-16]*e[l+-10],d=t[n+-32]*e[l+-2],f+=(t[n+-48]-t[n+16])*e[l+-9],d+=t[n+-96]*e[l+-1],f+=(t[n+-80]+t[n+48])*e[l+-8],d+=t[n+-160]*e[l+0],f+=(t[n+-112]-t[n+80])*e[l+-7],d+=t[n+-224]*e[l+1],f+=(t[n+-144]+t[n+112])*e[l+-6],d-=t[n+32]*e[l+2],f+=(t[n+-176]-t[n+144])*e[l+-5],d-=t[n+96]*e[l+3],f+=(t[n+-208]+t[n+176])*e[l+-4],d-=t[n+160]*e[l+4],f+=(t[n+-240]-t[n+208])*e[l+-3],i=(d-=t[n+224])-f,a=d+f,f=r[14],d=r[15]-f,r[31]=a+f,r[30]=i+d,r[15]=i-d,r[14]=a-f,s=r[28]-r[0],r[0]+=r[28],r[28]=s*e[l+-36+7],s=r[29]-r[1],r[1]+=r[29],r[29]=s*e[l+-36+7],s=r[26]-r[2],r[2]+=r[26],r[26]=s*e[l+-72+7],s=r[27]-r[3],r[3]+=r[27],r[27]=s*e[l+-72+7],s=r[24]-r[4],r[4]+=r[24],r[24]=s*e[l+-108+7],s=r[25]-r[5],r[5]+=r[25],r[25]=s*e[l+-108+7],s=r[22]-r[6],r[6]+=r[22],r[22]=s*o.SQRT2,s=r[23]-r[7],r[7]+=r[23],r[23]=s*o.SQRT2-r[7],r[7]-=r[6],r[22]-=r[7],r[23]-=r[22],s=r[6],r[6]=r[31]-s,r[31]=r[31]+s,s=r[7],r[7]=r[30]-s,r[30]=r[30]+s,s=r[22],r[22]=r[15]-s,r[15]=r[15]+s,s=r[23],r[23]=r[14]-s,r[14]=r[14]+s,s=r[20]-r[8],r[8]+=r[20],r[20]=s*e[l+-180+7],s=r[21]-r[9],r[9]+=r[21],r[21]=s*e[l+-180+7],s=r[18]-r[10],r[10]+=r[18],r[18]=s*e[l+-216+7],s=r[19]-r[11],r[11]+=r[19],r[19]=s*e[l+-216+7],s=r[16]-r[12],r[12]+=r[16],r[16]=s*e[l+-252+7],s=r[17]-r[13],r[13]+=r[17],r[17]=s*e[l+-252+7],s=-r[20]+r[24],r[20]+=r[24],r[24]=s*e[l+-216+7],s=-r[21]+r[25],r[21]+=r[25],r[25]=s*e[l+-216+7],s=r[4]-r[8],r[4]+=r[8],r[8]=s*e[l+-216+7],s=r[5]-r[9],r[5]+=r[9],r[9]=s*e[l+-216+7],s=r[0]-r[12],r[0]+=r[12],r[12]=s*e[l+-72+7],s=r[1]-r[13],r[1]+=r[13],r[13]=s*e[l+-72+7],s=r[16]-r[28],r[16]+=r[28],r[28]=s*e[l+-72+7],s=-r[17]+r[29],r[17]+=r[29],r[29]=s*e[l+-72+7],s=o.SQRT2*(r[2]-r[10]),r[2]+=r[10],r[10]=s,s=o.SQRT2*(r[3]-r[11]),r[3]+=r[11],r[11]=s,s=o.SQRT2*(-r[18]+r[26]),r[18]+=r[26],r[26]=s-r[18],s=o.SQRT2*(-r[19]+r[27]),r[19]+=r[27],r[27]=s-r[19],s=r[2],r[19]-=r[3],r[3]-=s,r[2]=r[31]-s,r[31]+=s,s=r[3],r[11]-=r[19],r[18]-=s,r[3]=r[30]-s,r[30]+=s,s=r[18],r[27]-=r[11],r[19]-=s,r[18]=r[15]-s,r[15]+=s,s=r[19],r[10]-=s,r[19]=r[14]-s,r[14]+=s,s=r[10],r[11]-=s,r[10]=r[23]-s,r[23]+=s,s=r[11],r[26]-=s,r[11]=r[22]-s,r[22]+=s,s=r[26],r[27]-=s,r[26]=r[7]-s,r[7]+=s,s=r[27],r[27]=r[6]-s,r[6]+=s,s=o.SQRT2*(r[0]-r[4]),r[0]+=r[4],r[4]=s,s=o.SQRT2*(r[1]-r[5]),r[1]+=r[5],r[5]=s,s=o.SQRT2*(r[16]-r[20]),r[16]+=r[20],r[20]=s,s=o.SQRT2*(r[17]-r[21]),r[17]+=r[21],r[21]=s,s=-o.SQRT2*(r[8]-r[12]),r[8]+=r[12],r[12]=s-r[8],s=-o.SQRT2*(r[9]-r[13]),r[9]+=r[13],r[13]=s-r[9],s=-o.SQRT2*(r[25]-r[29]),r[25]+=r[29],r[29]=s-r[25],s=-o.SQRT2*(r[24]+r[28]),r[24]-=r[28],r[28]=s-r[24],s=r[24]-r[16],r[24]=s,s=r[20]-s,r[20]=s,s=r[28]-s,r[28]=s,s=r[25]-r[17],r[25]=s,s=r[21]-s,r[21]=s,s=r[29]-s,r[29]=s,s=r[17]-r[1],r[17]=s,s=r[9]-s,r[9]=s,s=r[25]-s,r[25]=s,s=r[5]-s,r[5]=s,s=r[21]-s,r[21]=s,s=r[13]-s,r[13]=s,s=r[29]-s,r[29]=s,s=r[1]-r[0],r[1]=s,s=r[16]-s,r[16]=s,s=r[17]-s,r[17]=s,s=r[8]-s,r[8]=s,s=r[9]-s,r[9]=s,s=r[24]-s,r[24]=s,s=r[25]-s,r[25]=s,s=r[4]-s,r[4]=s,s=r[5]-s,r[5]=s,s=r[20]-s,r[20]=s,s=r[21]-s,r[21]=s,s=r[12]-s,r[12]=s,s=r[13]-s,r[13]=s,s=r[28]-s,r[28]=s,s=r[29]-s,r[29]=s,s=r[0],r[0]+=r[31],r[31]-=s,s=r[1],r[1]+=r[30],r[30]-=s,s=r[16],r[16]+=r[15],r[15]-=s,s=r[17],r[17]+=r[14],r[14]-=s,s=r[8],r[8]+=r[23],r[23]-=s,s=r[9],r[9]+=r[22],r[22]-=s,s=r[24],r[24]+=r[7],r[7]-=s,s=r[25],r[25]+=r[6],r[6]-=s,s=r[4],r[4]+=r[27],r[27]-=s,s=r[5],r[5]+=r[26],r[26]-=s,s=r[20],r[20]+=r[11],r[11]-=s,s=r[21],r[21]+=r[10],r[10]-=s,s=r[12],r[12]+=r[19],r[19]-=s,s=r[13],r[13]+=r[18],r[18]-=s,s=r[28],r[28]+=r[3],r[3]-=s,s=r[29],r[29]+=r[2],r[2]-=s}function f(e,n){for(var r=0;r<3;r++){var i,o,a,s,c,u;o=(s=e[n+6]*t[l.SHORT_TYPE][0]-e[n+15])+(i=e[n+0]*t[l.SHORT_TYPE][2]-e[n+9]),a=s-i,c=(s=e[n+15]*t[l.SHORT_TYPE][0]+e[n+6])+(i=e[n+9]*t[l.SHORT_TYPE][2]+e[n+0]),u=-s+i,i=2.069978111953089e-11*(e[n+3]*t[l.SHORT_TYPE][1]-e[n+12]),s=2.069978111953089e-11*(e[n+12]*t[l.SHORT_TYPE][1]+e[n+3]),e[n+0]=1.90752519173728e-11*o+i,e[n+15]=1.90752519173728e-11*-c+s,a=.8660254037844387*a*1.907525191737281e-11,c=.5*c*1.907525191737281e-11+s,e[n+3]=a-c,e[n+6]=a+c,o=.5*o*1.907525191737281e-11-i,u=.8660254037844387*u*1.907525191737281e-11,e[n+9]=o+u,e[n+12]=o-u,n++}}this.mdct_sub48=function(e,o,p){for(var A,g,v,m,y,b,_,w,x,C,S,B,k,T,E,M,D,O,I,L,P,F=o,R=286,N=0;N<e.channels_out;N++){for(var H=0;H<e.mode_gr;H++){for(var j,U=e.l3_side.tt[H][N],Q=U.xr,z=0,Y=e.sb_sample[N][1-H],V=0,G=0;G<9;G++)for(d(F,R,Y[V]),d(F,R+32,Y[V+1]),V+=2,R+=64,j=1;j<32;j+=2)Y[V-1][j]*=-1;for(j=0;j<32;j++,z+=18){var W=U.block_type,X=e.sb_sample[N][H],Z=e.sb_sample[N][1-H];if(0!=U.mixed_block_flag&&j<2&&(W=0),e.amp_filter[j]<1e-12)a.fill(Q,z+0,z+18,0);else{if(e.amp_filter[j]<1)for(G=0;G<18;G++)Z[G][h[j]]*=e.amp_filter[j];if(W==l.SHORT_TYPE){for(G=-3;G<0;G++){var $=t[l.SHORT_TYPE][G+3];Q[z+3*G+9]=X[9+G][h[j]]*$-X[8-G][h[j]],Q[z+3*G+18]=X[14-G][h[j]]*$+X[15+G][h[j]],Q[z+3*G+10]=X[15+G][h[j]]*$-X[14-G][h[j]],Q[z+3*G+19]=Z[2-G][h[j]]*$+Z[3+G][h[j]],Q[z+3*G+11]=Z[3+G][h[j]]*$-Z[2-G][h[j]],Q[z+3*G+20]=Z[8-G][h[j]]*$+Z[9+G][h[j]]}f(Q,z)}else{var K=s(18);for(G=-9;G<0;G++){var J,q;J=t[W][G+27]*Z[G+9][h[j]]+t[W][G+36]*Z[8-G][h[j]],q=t[W][G+9]*X[G+9][h[j]]-t[W][G+18]*X[8-G][h[j]],K[G+9]=J-q*n[3+G+9],K[G+18]=J*n[3+G+9]+q}A=Q,g=z,m=void 0,y=void 0,b=void 0,_=void 0,w=void 0,x=void 0,C=void 0,S=void 0,B=void 0,k=void 0,T=void 0,E=void 0,M=void 0,D=void 0,O=void 0,I=void 0,L=void 0,P=void 0,b=(v=K)[17]-v[9],w=v[15]-v[11],x=v[14]-v[12],C=v[0]+v[8],S=v[1]+v[7],B=v[2]+v[6],k=v[3]+v[5],A[g+17]=C+B-k-(S-v[4]),y=(C+B-k)*r[19]+(S-v[4]),m=(b-w-x)*r[18],A[g+5]=m+y,A[g+6]=m-y,_=(v[16]-v[10])*r[18],S=S*r[19]+v[4],m=b*r[12]+_+w*r[13]+x*r[14],y=-C*r[16]+S-B*r[17]+k*r[15],A[g+1]=m+y,A[g+2]=m-y,m=b*r[13]-_-w*r[14]+x*r[12],y=-C*r[17]+S-B*r[15]+k*r[16],A[g+9]=m+y,A[g+10]=m-y,m=b*r[14]-_+w*r[12]-x*r[13],y=C*r[15]-S+B*r[16]-k*r[17],A[g+13]=m+y,A[g+14]=m-y,T=v[8]-v[0],M=v[6]-v[2],D=v[5]-v[3],O=v[17]+v[9],I=v[16]+v[10],L=v[15]+v[11],P=v[14]+v[12],A[g+0]=O+L+P+(I+v[13]),m=(O+L+P)*r[19]-(I+v[13]),y=(T-M+D)*r[18],A[g+11]=m+y,A[g+12]=m-y,E=(v[7]-v[1])*r[18],I=v[13]-I*r[19],m=O*r[15]-I+L*r[16]+P*r[17],y=T*r[14]+E+M*r[12]+D*r[13],A[g+3]=m+y,A[g+4]=m-y,m=-O*r[17]+I-L*r[15]-P*r[16],y=T*r[13]+E-M*r[14]-D*r[12],A[g+7]=m+y,A[g+8]=m-y,m=-O*r[16]+I-L*r[17]-P*r[15],y=T*r[12]-E+M*r[13]-D*r[14],A[g+15]=m+y,A[g+16]=m-y}}if(W!=l.SHORT_TYPE&&0!=j)for(G=7;G>=0;--G){var ee,te;ee=Q[z+G]*c[20+G]+Q[z+-1-G]*u[28+G],te=Q[z+G]*u[28+G]-Q[z+-1-G]*c[20+G],Q[z+-1-G]=ee,Q[z+G]=te}}}if(F=p,R=286,1==e.mode_gr)for(var ne=0;ne<18;ne++)i.arraycopy(e.sb_sample[N][1][ne],0,e.sb_sample[N][0][ne],0,32)}}}},zL8q:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=45)}([function(e,t){e.exports=n("AMCD")},function(e,t){e.exports=n("2kvA")},function(e,t){e.exports=n("ylDJ")},function(e,t){e.exports=n("fPll")},function(e,t){e.exports=n("y+7x")},function(e,t){e.exports=n("fKx3")},function(e,t){e.exports=n("7+uW")},function(e,t){e.exports=n("jmaC")},function(e,t){e.exports=n("HJMx")},function(e,t){e.exports=n("aW5l")},function(e,t){e.exports=n("ISYW")},function(e,t){e.exports=n("mtrD")},function(e,t){e.exports=n("02w1")},function(e,t){e.exports=n("7J9s")},function(e,t){e.exports=n("ON3O")},function(e,t){e.exports=n("urW8")},function(e,t){e.exports=n("EKTV")},function(e,t){e.exports=n("fEB+")},function(e,t){e.exports=n("835U")},function(e,t){e.exports=n("E/in")},function(e,t){e.exports=n("eNfa")},function(e,t){e.exports=n("Zcwg")},function(e,t){e.exports=n("1oZe")},function(e,t){e.exports=n("fUqW")},function(e,t){e.exports=n("nvbp")},function(e,t){e.exports=n("uY1a")},function(e,t){e.exports=n("aMwW")},function(e,t){e.exports=n("zTCi")},function(e,t){e.exports=n("zAL+")},function(e,t){e.exports=n("orbS")},function(e,t){e.exports=n("6Twh")},function(e,t){e.exports=n("s3ue")},function(e,t){e.exports=n("H8dH")},function(e,t){e.exports=n("GegP")},function(e,t){e.exports=n("hyEB")},function(e,t){e.exports=n("HzcN")},function(e,t){e.exports=n("e0Bm")},function(e,t){e.exports=n("STLj")},function(e,t){e.exports=n("3fo+")},function(e,t){e.exports=n("DQJY")},function(e,t){e.exports=n("jwfv")},function(e,t){e.exports=n("0kY3")},function(e,t){e.exports=n("kNJA")},function(e,t){e.exports=n("RDoK")},function(e,t){e.exports=n("SXzR")},function(e,t,n){e.exports=n(46)},function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"el-pager",on:{click:e.onPagerClick}},[e.pageCount>0?n("li",{staticClass:"number",class:{active:1===e.currentPage,disabled:e.disabled}},[e._v("1")]):e._e(),e.showPrevMore?n("li",{staticClass:"el-icon more btn-quickprev",class:[e.quickprevIconClass,{disabled:e.disabled}],on:{mouseenter:function(t){e.onMouseenter("left")},mouseleave:function(t){e.quickprevIconClass="el-icon-more"}}}):e._e(),e._l(e.pagers,function(t){return n("li",{key:t,staticClass:"number",class:{active:e.currentPage===t,disabled:e.disabled}},[e._v(e._s(t))])}),e.showNextMore?n("li",{staticClass:"el-icon more btn-quicknext",class:[e.quicknextIconClass,{disabled:e.disabled}],on:{mouseenter:function(t){e.onMouseenter("right")},mouseleave:function(t){e.quicknextIconClass="el-icon-more"}}}):e._e(),e.pageCount>1?n("li",{staticClass:"number",class:{active:e.currentPage===e.pageCount,disabled:e.disabled}},[e._v(e._s(e.pageCount))]):e._e()],2)};function i(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}r._withStripped=!0;var o=i({name:"ElPager",props:{currentPage:Number,pageCount:Number,pagerCount:Number,disabled:Boolean},watch:{showPrevMore:function(e){e||(this.quickprevIconClass="el-icon-more")},showNextMore:function(e){e||(this.quicknextIconClass="el-icon-more")}},methods:{onPagerClick:function(e){var t=e.target;if("UL"!==t.tagName&&!this.disabled){var n=Number(e.target.textContent),r=this.pageCount,i=this.currentPage,o=this.pagerCount-2;-1!==t.className.indexOf("more")&&(-1!==t.className.indexOf("quickprev")?n=i-o:-1!==t.className.indexOf("quicknext")&&(n=i+o)),isNaN(n)||(n<1&&(n=1),n>r&&(n=r)),n!==i&&this.$emit("change",n)}},onMouseenter:function(e){this.disabled||("left"===e?this.quickprevIconClass="el-icon-d-arrow-left":this.quicknextIconClass="el-icon-d-arrow-right")}},computed:{pagers:function(){var e=this.pagerCount,t=(e-1)/2,n=Number(this.currentPage),r=Number(this.pageCount),i=!1,o=!1;r>e&&(n>e-t&&(i=!0),n<r-t&&(o=!0));var a=[];if(i&&!o)for(var s=r-(e-2);s<r;s++)a.push(s);else if(!i&&o)for(var l=2;l<e;l++)a.push(l);else if(i&&o)for(var c=Math.floor(e/2)-1,u=n-c;u<=n+c;u++)a.push(u);else for(var h=2;h<r;h++)a.push(h);return this.showPrevMore=i,this.showNextMore=o,a}},data:function(){return{current:null,showPrevMore:!1,showNextMore:!1,quicknextIconClass:"el-icon-more",quickprevIconClass:"el-icon-more"}}},r,[],!1,null,null,null);o.options.__file="packages/pagination/src/pager.vue";var a=o.exports,s=n(36),l=n.n(s),c=n(37),u=n.n(c),h=n(8),d=n.n(h),f=n(4),p=n.n(f),A=n(2),g={name:"ElPagination",props:{pageSize:{type:Number,default:10},small:Boolean,total:Number,pageCount:Number,pagerCount:{type:Number,validator:function(e){return(0|e)===e&&e>4&&e<22&&e%2==1},default:7},currentPage:{type:Number,default:1},layout:{default:"prev, pager, next, jumper, ->, total"},pageSizes:{type:Array,default:function(){return[10,20,30,40,50,100]}},popperClass:String,prevText:String,nextText:String,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean},data:function(){return{internalCurrentPage:1,internalPageSize:0,lastEmittedPage:-1,userChangePageSize:!1}},render:function(e){var t=this.layout;if(!t)return null;if(this.hideOnSinglePage&&(!this.internalPageCount||1===this.internalPageCount))return null;var n=e("div",{class:["el-pagination",{"is-background":this.background,"el-pagination--small":this.small}]}),r={prev:e("prev"),jumper:e("jumper"),pager:e("pager",{attrs:{currentPage:this.internalCurrentPage,pageCount:this.internalPageCount,pagerCount:this.pagerCount,disabled:this.disabled},on:{change:this.handleCurrentChange}}),next:e("next"),sizes:e("sizes",{attrs:{pageSizes:this.pageSizes}}),slot:e("slot",[this.$slots.default?this.$slots.default:""]),total:e("total")},i=t.split(",").map(function(e){return e.trim()}),o=e("div",{class:"el-pagination__rightwrapper"}),a=!1;return n.children=n.children||[],o.children=o.children||[],i.forEach(function(e){"->"!==e?a?o.children.push(r[e]):n.children.push(r[e]):a=!0}),a&&n.children.unshift(o),n},components:{Prev:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage<=1},class:"btn-prev",on:{click:this.$parent.prev}},[this.$parent.prevText?e("span",[this.$parent.prevText]):e("i",{class:"el-icon el-icon-arrow-left"})])}},Next:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage===this.$parent.internalPageCount||0===this.$parent.internalPageCount},class:"btn-next",on:{click:this.$parent.next}},[this.$parent.nextText?e("span",[this.$parent.nextText]):e("i",{class:"el-icon el-icon-arrow-right"})])}},Sizes:{mixins:[p.a],props:{pageSizes:Array},watch:{pageSizes:{immediate:!0,handler:function(e,t){Object(A.valueEquals)(e,t)||Array.isArray(e)&&(this.$parent.internalPageSize=e.indexOf(this.$parent.pageSize)>-1?this.$parent.pageSize:this.pageSizes[0])}}},render:function(e){var t=this;return e("span",{class:"el-pagination__sizes"},[e("el-select",{attrs:{value:this.$parent.internalPageSize,popperClass:this.$parent.popperClass||"",size:"mini",disabled:this.$parent.disabled},on:{input:this.handleChange}},[this.pageSizes.map(function(n){return e("el-option",{attrs:{value:n,label:n+t.t("el.pagination.pagesize")}})})])])},components:{ElSelect:l.a,ElOption:u.a},methods:{handleChange:function(e){e!==this.$parent.internalPageSize&&(this.$parent.internalPageSize=e=parseInt(e,10),this.$parent.userChangePageSize=!0,this.$parent.$emit("update:pageSize",e),this.$parent.$emit("size-change",e))}}},Jumper:{mixins:[p.a],components:{ElInput:d.a},data:function(){return{userInput:null}},watch:{"$parent.internalCurrentPage":function(){this.userInput=null}},methods:{handleKeyup:function(e){var t=e.keyCode,n=e.target;13===t&&this.handleChange(n.value)},handleInput:function(e){this.userInput=e},handleChange:function(e){this.$parent.internalCurrentPage=this.$parent.getValidCurrentPage(e),this.$parent.emitChange(),this.userInput=null}},render:function(e){return e("span",{class:"el-pagination__jump"},[this.t("el.pagination.goto"),e("el-input",{class:"el-pagination__editor is-in-pagination",attrs:{min:1,max:this.$parent.internalPageCount,value:null!==this.userInput?this.userInput:this.$parent.internalCurrentPage,type:"number",disabled:this.$parent.disabled},nativeOn:{keyup:this.handleKeyup},on:{input:this.handleInput,change:this.handleChange}}),this.t("el.pagination.pageClassifier")])}},Total:{mixins:[p.a],render:function(e){return"number"==typeof this.$parent.total?e("span",{class:"el-pagination__total"},[this.t("el.pagination.total",{total:this.$parent.total})]):""}},Pager:a},methods:{handleCurrentChange:function(e){this.internalCurrentPage=this.getValidCurrentPage(e),this.userChangePageSize=!0,this.emitChange()},prev:function(){if(!this.disabled){var e=this.internalCurrentPage-1;this.internalCurrentPage=this.getValidCurrentPage(e),this.$emit("prev-click",this.internalCurrentPage),this.emitChange()}},next:function(){if(!this.disabled){var e=this.internalCurrentPage+1;this.internalCurrentPage=this.getValidCurrentPage(e),this.$emit("next-click",this.internalCurrentPage),this.emitChange()}},getValidCurrentPage:function(e){e=parseInt(e,10);var t=void 0;return"number"==typeof this.internalPageCount?e<1?t=1:e>this.internalPageCount&&(t=this.internalPageCount):(isNaN(e)||e<1)&&(t=1),void 0===t&&isNaN(e)?t=1:0===t&&(t=1),void 0===t?e:t},emitChange:function(){var e=this;this.$nextTick(function(){(e.internalCurrentPage!==e.lastEmittedPage||e.userChangePageSize)&&(e.$emit("current-change",e.internalCurrentPage),e.lastEmittedPage=e.internalCurrentPage,e.userChangePageSize=!1)})}},computed:{internalPageCount:function(){return"number"==typeof this.total?Math.max(1,Math.ceil(this.total/this.internalPageSize)):"number"==typeof this.pageCount?Math.max(1,this.pageCount):null}},watch:{currentPage:{immediate:!0,handler:function(e){this.internalCurrentPage=this.getValidCurrentPage(e)}},pageSize:{immediate:!0,handler:function(e){this.internalPageSize=isNaN(e)?10:e}},internalCurrentPage:{immediate:!0,handler:function(e){this.$emit("update:currentPage",e),this.lastEmittedPage=-1}},internalPageCount:function(e){var t=this.internalCurrentPage;e>0&&0===t?this.internalCurrentPage=1:t>e&&(this.internalCurrentPage=0===e?1:e,this.userChangePageSize&&this.emitChange()),this.userChangePageSize=!1}},install:function(e){e.component(g.name,g)}},v=g,m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"dialog-fade"},on:{"after-enter":e.afterEnter,"after-leave":e.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-dialog__wrapper",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[n("div",{key:e.key,ref:"dialog",class:["el-dialog",{"is-fullscreen":e.fullscreen,"el-dialog--center":e.center},e.customClass],style:e.style,attrs:{role:"dialog","aria-modal":"true","aria-label":e.title||"dialog"}},[n("div",{staticClass:"el-dialog__header"},[e._t("title",[n("span",{staticClass:"el-dialog__title"},[e._v(e._s(e.title))])]),e.showClose?n("button",{staticClass:"el-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:e.handleClose}},[n("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):e._e()],2),e.rendered?n("div",{staticClass:"el-dialog__body"},[e._t("default")],2):e._e(),e.$slots.footer?n("div",{staticClass:"el-dialog__footer"},[e._t("footer")],2):e._e()])])])};m._withStripped=!0;var y=n(13),b=n.n(y),_=n(9),w=n.n(_),x=n(3),C=n.n(x),S=i({name:"ElDialog",mixins:[b.a,C.a,w.a],props:{title:{type:String,default:""},modal:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},width:String,fullscreen:Boolean,customClass:{type:String,default:""},top:{type:String,default:"15vh"},beforeClose:Function,center:{type:Boolean,default:!1},destroyOnClose:Boolean},data:function(){return{closed:!1,key:0}},watch:{visible:function(e){var t=this;e?(this.closed=!1,this.$emit("open"),this.$el.addEventListener("scroll",this.updatePopper),this.$nextTick(function(){t.$refs.dialog.scrollTop=0}),this.appendToBody&&document.body.appendChild(this.$el)):(this.$el.removeEventListener("scroll",this.updatePopper),this.closed||this.$emit("close"),this.destroyOnClose&&this.$nextTick(function(){t.key++}))}},computed:{style:function(){var e={};return this.fullscreen||(e.marginTop=this.top,this.width&&(e.width=this.width)),e}},methods:{getMigratingConfig:function(){return{props:{size:"size is removed."}}},handleWrapperClick:function(){this.closeOnClickModal&&this.handleClose()},handleClose:function(){"function"==typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},hide:function(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),this.closed=!0)},updatePopper:function(){this.broadcast("ElSelectDropdown","updatePopper"),this.broadcast("ElDropdownMenu","updatePopper")},afterEnter:function(){this.$emit("opened")},afterLeave:function(){this.$emit("closed")}},mounted:function(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},m,[],!1,null,null,null);S.options.__file="packages/dialog/src/component.vue";var B=S.exports;B.install=function(e){e.component(B.name,B)};var k=B,T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.close,expression:"close"}],staticClass:"el-autocomplete",attrs:{"aria-haspopup":"listbox",role:"combobox","aria-expanded":e.suggestionVisible,"aria-owns":e.id}},[n("el-input",e._b({ref:"input",on:{input:e.handleInput,change:e.handleChange,focus:e.handleFocus,blur:e.handleBlur,clear:e.handleClear},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.highlight(e.highlightedIndex-1)},function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.highlight(e.highlightedIndex+1)},function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleKeyEnter(t):null},function(t){return"button"in t||!e._k(t.keyCode,"tab",9,t.key,"Tab")?e.close(t):null}]}},"el-input",[e.$props,e.$attrs],!1),[e.$slots.prepend?n("template",{slot:"prepend"},[e._t("prepend")],2):e._e(),e.$slots.append?n("template",{slot:"append"},[e._t("append")],2):e._e(),e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),e.$slots.suffix?n("template",{slot:"suffix"},[e._t("suffix")],2):e._e()],2),n("el-autocomplete-suggestions",{ref:"suggestions",class:[e.popperClass?e.popperClass:""],attrs:{"visible-arrow":"","popper-options":e.popperOptions,"append-to-body":e.popperAppendToBody,placement:e.placement,id:e.id}},e._l(e.suggestions,function(t,r){return n("li",{key:r,class:{highlighted:e.highlightedIndex===r},attrs:{id:e.id+"-item-"+r,role:"option","aria-selected":e.highlightedIndex===r},on:{click:function(n){e.select(t)}}},[e._t("default",[e._v("\n "+e._s(t[e.valueKey])+"\n ")],{item:t})],2)}),0)],1)};T._withStripped=!0;var E=n(14),M=n.n(E),D=n(10),O=n.n(D),I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-autocomplete-suggestion el-popper",class:{"is-loading":!e.parent.hideLoading&&e.parent.loading},style:{width:e.dropdownWidth},attrs:{role:"region"}},[n("el-scrollbar",{attrs:{tag:"ul","wrap-class":"el-autocomplete-suggestion__wrap","view-class":"el-autocomplete-suggestion__list"}},[!e.parent.hideLoading&&e.parent.loading?n("li",[n("i",{staticClass:"el-icon-loading"})]):e._t("default")],2)],1)])};I._withStripped=!0;var L=n(5),P=n.n(L),F=n(17),R=n.n(F),N=i({components:{ElScrollbar:R.a},mixins:[P.a,C.a],componentName:"ElAutocompleteSuggestions",data:function(){return{parent:this.$parent,dropdownWidth:""}},props:{options:{default:function(){return{gpuAcceleration:!1}}},id:String},methods:{select:function(e){this.dispatch("ElAutocomplete","item-click",e)}},updated:function(){var e=this;this.$nextTick(function(t){e.popperJS&&e.updatePopper()})},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$refs.input.$refs.input||this.$parent.$refs.input.$refs.textarea,this.referenceList=this.$el.querySelector(".el-autocomplete-suggestion__list"),this.referenceList.setAttribute("role","listbox"),this.referenceList.setAttribute("id",this.id)},created:function(){var e=this;this.$on("visible",function(t,n){e.dropdownWidth=n+"px",e.showPopper=t})}},I,[],!1,null,null,null);N.options.__file="packages/autocomplete/src/autocomplete-suggestions.vue";var H=N.exports,j=n(22),U=n.n(j),Q=i({name:"ElAutocomplete",mixins:[C.a,U()("input"),w.a],inheritAttrs:!1,componentName:"ElAutocomplete",components:{ElInput:d.a,ElAutocompleteSuggestions:H},directives:{Clickoutside:O.a},props:{valueKey:{type:String,default:"value"},popperClass:String,popperOptions:Object,placeholder:String,clearable:{type:Boolean,default:!1},disabled:Boolean,name:String,size:String,value:String,maxlength:Number,minlength:Number,autofocus:Boolean,fetchSuggestions:Function,triggerOnFocus:{type:Boolean,default:!0},customItem:String,selectWhenUnmatched:{type:Boolean,default:!1},prefixIcon:String,suffixIcon:String,label:String,debounce:{type:Number,default:300},placement:{type:String,default:"bottom-start"},hideLoading:Boolean,popperAppendToBody:{type:Boolean,default:!0},highlightFirstItem:{type:Boolean,default:!1}},data:function(){return{activated:!1,suggestions:[],loading:!1,highlightedIndex:-1,suggestionDisabled:!1}},computed:{suggestionVisible:function(){var e=this.suggestions;return(Array.isArray(e)&&e.length>0||this.loading)&&this.activated},id:function(){return"el-autocomplete-"+Object(A.generateId)()}},watch:{suggestionVisible:function(e){var t=this.getInput();t&&this.broadcast("ElAutocompleteSuggestions","visible",[e,t.offsetWidth])}},methods:{getMigratingConfig:function(){return{props:{"custom-item":"custom-item is removed, use scoped slot instead.",props:"props is removed, use value-key instead."}}},getData:function(e){var t=this;this.suggestionDisabled||(this.loading=!0,this.fetchSuggestions(e,function(e){t.loading=!1,t.suggestionDisabled||(Array.isArray(e)?(t.suggestions=e,t.highlightedIndex=t.highlightFirstItem?0:-1):console.error("[Element Error][Autocomplete]autocomplete suggestions must be an array"))}))},handleInput:function(e){if(this.$emit("input",e),this.suggestionDisabled=!1,!this.triggerOnFocus&&!e)return this.suggestionDisabled=!0,void(this.suggestions=[]);this.debouncedGetData(e)},handleChange:function(e){this.$emit("change",e)},handleFocus:function(e){this.activated=!0,this.$emit("focus",e),this.triggerOnFocus&&this.debouncedGetData(this.value)},handleBlur:function(e){this.$emit("blur",e)},handleClear:function(){this.activated=!1,this.$emit("clear")},close:function(e){this.activated=!1},handleKeyEnter:function(e){var t=this;this.suggestionVisible&&this.highlightedIndex>=0&&this.highlightedIndex<this.suggestions.length?(e.preventDefault(),this.select(this.suggestions[this.highlightedIndex])):this.selectWhenUnmatched&&(this.$emit("select",{value:this.value}),this.$nextTick(function(e){t.suggestions=[],t.highlightedIndex=-1}))},select:function(e){var t=this;this.$emit("input",e[this.valueKey]),this.$emit("select",e),this.$nextTick(function(e){t.suggestions=[],t.highlightedIndex=-1})},highlight:function(e){if(this.suggestionVisible&&!this.loading)if(e<0)this.highlightedIndex=-1;else{e>=this.suggestions.length&&(e=this.suggestions.length-1);var t=this.$refs.suggestions.$el.querySelector(".el-autocomplete-suggestion__wrap"),n=t.querySelectorAll(".el-autocomplete-suggestion__list li")[e],r=t.scrollTop,i=n.offsetTop;i+n.scrollHeight>r+t.clientHeight&&(t.scrollTop+=n.scrollHeight),i<r&&(t.scrollTop-=n.scrollHeight),this.highlightedIndex=e,this.getInput().setAttribute("aria-activedescendant",this.id+"-item-"+this.highlightedIndex)}},getInput:function(){return this.$refs.input.getInput()}},mounted:function(){var e=this;this.debouncedGetData=M()(this.debounce,this.getData),this.$on("item-click",function(t){e.select(t)});var t=this.getInput();t.setAttribute("role","textbox"),t.setAttribute("aria-autocomplete","list"),t.setAttribute("aria-controls","id"),t.setAttribute("aria-activedescendant",this.id+"-item-"+this.highlightedIndex)},beforeDestroy:function(){this.$refs.suggestions.$destroy()}},T,[],!1,null,null,null);Q.options.__file="packages/autocomplete/src/autocomplete.vue";var z=Q.exports;z.install=function(e){e.component(z.name,z)};var Y=z,V=n(11),G=n.n(V),W=n(28),X=n.n(W),Z=i({name:"ElDropdown",componentName:"ElDropdown",mixins:[C.a,w.a],directives:{Clickoutside:O.a},components:{ElButton:G.a,ElButtonGroup:X.a},provide:function(){return{dropdown:this}},props:{trigger:{type:String,default:"hover"},type:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},placement:{type:String,default:"bottom-end"},visibleArrow:{default:!0},showTimeout:{type:Number,default:250},hideTimeout:{type:Number,default:150},tabindex:{type:Number,default:0}},data:function(){return{timeout:null,visible:!1,triggerElm:null,menuItems:null,menuItemsArray:null,dropdownElm:null,focusing:!1,listId:"dropdown-menu-"+Object(A.generateId)()}},computed:{dropdownSize:function(){return this.size||(this.$ELEMENT||{}).size}},mounted:function(){this.$on("menu-item-click",this.handleMenuItemClick)},watch:{visible:function(e){this.broadcast("ElDropdownMenu","visible",e),this.$emit("visible-change",e)},focusing:function(e){var t=this.$el.querySelector(".el-dropdown-selfdefine");t&&(e?t.className+=" focusing":t.className=t.className.replace("focusing",""))}},methods:{getMigratingConfig:function(){return{props:{"menu-align":"menu-align is renamed to placement."}}},show:function(){var e=this;this.triggerElm.disabled||(clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.visible=!0},"click"===this.trigger?0:this.showTimeout))},hide:function(){var e=this;this.triggerElm.disabled||(this.removeTabindex(),this.tabindex>=0&&this.resetTabindex(this.triggerElm),clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.visible=!1},"click"===this.trigger?0:this.hideTimeout))},handleClick:function(){this.triggerElm.disabled||(this.visible?this.hide():this.show())},handleTriggerKeyDown:function(e){var t=e.keyCode;[38,40].indexOf(t)>-1?(this.removeTabindex(),this.resetTabindex(this.menuItems[0]),this.menuItems[0].focus(),e.preventDefault(),e.stopPropagation()):13===t?this.handleClick():[9,27].indexOf(t)>-1&&this.hide()},handleItemKeyDown:function(e){var t=e.keyCode,n=e.target,r=this.menuItemsArray.indexOf(n),i=this.menuItemsArray.length-1,o=void 0;[38,40].indexOf(t)>-1?(o=38===t?0!==r?r-1:0:r<i?r+1:i,this.removeTabindex(),this.resetTabindex(this.menuItems[o]),this.menuItems[o].focus(),e.preventDefault(),e.stopPropagation()):13===t?(this.triggerElmFocus(),n.click(),this.hideOnClick&&(this.visible=!1)):[9,27].indexOf(t)>-1&&(this.hide(),this.triggerElmFocus())},resetTabindex:function(e){this.removeTabindex(),e.setAttribute("tabindex","0")},removeTabindex:function(){this.triggerElm.setAttribute("tabindex","-1"),this.menuItemsArray.forEach(function(e){e.setAttribute("tabindex","-1")})},initAria:function(){this.dropdownElm.setAttribute("id",this.listId),this.triggerElm.setAttribute("aria-haspopup","list"),this.triggerElm.setAttribute("aria-controls",this.listId),this.splitButton||(this.triggerElm.setAttribute("role","button"),this.triggerElm.setAttribute("tabindex",this.tabindex),this.triggerElm.setAttribute("class",(this.triggerElm.getAttribute("class")||"")+" el-dropdown-selfdefine"))},initEvent:function(){var e=this,t=this.trigger,n=this.show,r=this.hide,i=this.handleClick,o=this.splitButton,a=this.handleTriggerKeyDown,s=this.handleItemKeyDown;this.triggerElm=o?this.$refs.trigger.$el:this.$slots.default[0].elm;var l=this.dropdownElm;this.triggerElm.addEventListener("keydown",a),l.addEventListener("keydown",s,!0),o||(this.triggerElm.addEventListener("focus",function(){e.focusing=!0}),this.triggerElm.addEventListener("blur",function(){e.focusing=!1}),this.triggerElm.addEventListener("click",function(){e.focusing=!1})),"hover"===t?(this.triggerElm.addEventListener("mouseenter",n),this.triggerElm.addEventListener("mouseleave",r),l.addEventListener("mouseenter",n),l.addEventListener("mouseleave",r)):"click"===t&&this.triggerElm.addEventListener("click",i)},handleMenuItemClick:function(e,t){this.hideOnClick&&(this.visible=!1),this.$emit("command",e,t)},triggerElmFocus:function(){this.triggerElm.focus&&this.triggerElm.focus()},initDomOperation:function(){this.dropdownElm=this.popperElm,this.menuItems=this.dropdownElm.querySelectorAll("[tabindex='-1']"),this.menuItemsArray=[].slice.call(this.menuItems),this.initEvent(),this.initAria()}},render:function(e){var t=this,n=this.hide,r=this.splitButton,i=this.type,o=this.dropdownSize,a=r?e("el-button-group",[e("el-button",{attrs:{type:i,size:o},nativeOn:{click:function(e){t.$emit("click",e),n()}}},[this.$slots.default]),e("el-button",{ref:"trigger",attrs:{type:i,size:o},class:"el-dropdown__caret-button"},[e("i",{class:"el-dropdown__icon el-icon-arrow-down"})])]):this.$slots.default;return e("div",{class:"el-dropdown",directives:[{name:"clickoutside",value:n}]},[a,this.$slots.dropdown])}},void 0,void 0,!1,null,null,null);Z.options.__file="packages/dropdown/src/dropdown.vue";var $=Z.exports;$.install=function(e){e.component($.name,$)};var K=$,J=function(){var e=this.$createElement,t=this._self._c||e;return t("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":this.doDestroy}},[t("ul",{directives:[{name:"show",rawName:"v-show",value:this.showPopper,expression:"showPopper"}],staticClass:"el-dropdown-menu el-popper",class:[this.size&&"el-dropdown-menu--"+this.size]},[this._t("default")],2)])};J._withStripped=!0;var q=i({name:"ElDropdownMenu",componentName:"ElDropdownMenu",mixins:[P.a],props:{visibleArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0}},data:function(){return{size:this.dropdown.dropdownSize}},inject:["dropdown"],created:function(){var e=this;this.$on("updatePopper",function(){e.showPopper&&e.updatePopper()}),this.$on("visible",function(t){e.showPopper=t})},mounted:function(){this.dropdown.popperElm=this.popperElm=this.$el,this.referenceElm=this.dropdown.$el,this.dropdown.initDomOperation()},watch:{"dropdown.placement":{immediate:!0,handler:function(e){this.currentPlacement=e}}}},J,[],!1,null,null,null);q.options.__file="packages/dropdown/src/dropdown-menu.vue";var ee=q.exports;ee.install=function(e){e.component(ee.name,ee)};var te=ee,ne=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-dropdown-menu__item",class:{"is-disabled":e.disabled,"el-dropdown-menu__item--divided":e.divided},attrs:{"aria-disabled":e.disabled,tabindex:e.disabled?null:-1},on:{click:e.handleClick}},[e.icon?n("i",{class:e.icon}):e._e(),e._t("default")],2)};ne._withStripped=!0;var re=i({name:"ElDropdownItem",mixins:[C.a],props:{command:{},disabled:Boolean,divided:Boolean,icon:String},methods:{handleClick:function(e){this.dispatch("ElDropdown","menu-item-click",[this.command,this])}}},ne,[],!1,null,null,null);re.options.__file="packages/dropdown/src/dropdown-item.vue";var ie=re.exports;ie.install=function(e){e.component(ie.name,ie)};var oe=ie,ae=ae||{};ae.Utils=ae.Utils||{},ae.Utils.focusFirstDescendant=function(e){for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];if(ae.Utils.attemptFocus(n)||ae.Utils.focusFirstDescendant(n))return!0}return!1},ae.Utils.focusLastDescendant=function(e){for(var t=e.childNodes.length-1;t>=0;t--){var n=e.childNodes[t];if(ae.Utils.attemptFocus(n)||ae.Utils.focusLastDescendant(n))return!0}return!1},ae.Utils.attemptFocus=function(e){if(!ae.Utils.isFocusable(e))return!1;ae.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(e){}return ae.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},ae.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},ae.Utils.triggerEvent=function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var r=document.createEvent(n),i=arguments.length,o=Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];return r.initEvent.apply(r,[t].concat(o)),e.dispatchEvent?e.dispatchEvent(r):e.fireEvent("on"+t,r),e},ae.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40,esc:27};var se=ae.Utils,le=function(e,t){this.domNode=t,this.parent=e,this.subMenuItems=[],this.subIndex=0,this.init()};le.prototype.init=function(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()},le.prototype.gotoSubIndex=function(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e},le.prototype.addListeners=function(){var e=this,t=se.keys,n=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,function(r){r.addEventListener("keydown",function(r){var i=!1;switch(r.keyCode){case t.down:e.gotoSubIndex(e.subIndex+1),i=!0;break;case t.up:e.gotoSubIndex(e.subIndex-1),i=!0;break;case t.tab:se.triggerEvent(n,"mouseleave");break;case t.enter:case t.space:i=!0,r.currentTarget.click()}return i&&(r.preventDefault(),r.stopPropagation()),!1})})};var ce=le,ue=function(e){this.domNode=e,this.submenu=null,this.init()};ue.prototype.init=function(){this.domNode.setAttribute("tabindex","0");var e=this.domNode.querySelector(".el-menu");e&&(this.submenu=new ce(this,e)),this.addListeners()},ue.prototype.addListeners=function(){var e=this,t=se.keys;this.domNode.addEventListener("keydown",function(n){var r=!1;switch(n.keyCode){case t.down:se.triggerEvent(n.currentTarget,"mouseenter"),e.submenu&&e.submenu.gotoSubIndex(0),r=!0;break;case t.up:se.triggerEvent(n.currentTarget,"mouseenter"),e.submenu&&e.submenu.gotoSubIndex(e.submenu.subMenuItems.length-1),r=!0;break;case t.tab:se.triggerEvent(n.currentTarget,"mouseleave");break;case t.enter:case t.space:r=!0,n.currentTarget.click()}r&&n.preventDefault()})};var he=ue,de=function(e){this.domNode=e,this.init()};de.prototype.init=function(){var e=this.domNode.childNodes;[].filter.call(e,function(e){return 1===e.nodeType}).forEach(function(e){new he(e)})};var fe=de,pe=n(1),Ae=i({name:"ElMenu",render:function(e){var t=e("ul",{attrs:{role:"menubar"},key:+this.collapse,style:{backgroundColor:this.backgroundColor||""},class:{"el-menu--horizontal":"horizontal"===this.mode,"el-menu--collapse":this.collapse,"el-menu":!0}},[this.$slots.default]);return this.collapseTransition?e("el-menu-collapse-transition",[t]):t},componentName:"ElMenu",mixins:[C.a,w.a],provide:function(){return{rootMenu:this}},components:{"el-menu-collapse-transition":{functional:!0,render:function(e,t){return e("transition",{props:{mode:"out-in"},on:{beforeEnter:function(e){e.style.opacity=.2},enter:function(e){Object(pe.addClass)(e,"el-opacity-transition"),e.style.opacity=1},afterEnter:function(e){Object(pe.removeClass)(e,"el-opacity-transition"),e.style.opacity=""},beforeLeave:function(e){e.dataset||(e.dataset={}),Object(pe.hasClass)(e,"el-menu--collapse")?(Object(pe.removeClass)(e,"el-menu--collapse"),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth,Object(pe.addClass)(e,"el-menu--collapse")):(Object(pe.addClass)(e,"el-menu--collapse"),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth,Object(pe.removeClass)(e,"el-menu--collapse")),e.style.width=e.scrollWidth+"px",e.style.overflow="hidden"},leave:function(e){Object(pe.addClass)(e,"horizontal-collapse-transition"),e.style.width=e.dataset.scrollWidth+"px"}}},t.children)}}},props:{mode:{type:String,default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:Array,uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0}},data:function(){return{activeIndex:this.defaultActive,openedMenus:this.defaultOpeneds&&!this.collapse?this.defaultOpeneds.slice(0):[],items:{},submenus:{}}},computed:{hoverBackground:function(){return this.backgroundColor?this.mixColor(this.backgroundColor,.2):""},isMenuPopup:function(){return"horizontal"===this.mode||"vertical"===this.mode&&this.collapse}},watch:{defaultActive:function(e){this.items[e]||(this.activeIndex=null),this.updateActiveIndex(e)},defaultOpeneds:function(e){this.collapse||(this.openedMenus=e)},collapse:function(e){e&&(this.openedMenus=[]),this.broadcast("ElSubmenu","toggle-collapse",e)}},methods:{updateActiveIndex:function(e){var t=this.items[e]||this.items[this.activeIndex]||this.items[this.defaultActive];t?(this.activeIndex=t.index,this.initOpenedMenu()):this.activeIndex=null},getMigratingConfig:function(){return{props:{theme:"theme is removed."}}},getColorChannels:function(e){if(e=e.replace("#",""),/^[0-9a-fA-F]{3}$/.test(e)){e=e.split("");for(var t=2;t>=0;t--)e.splice(t,0,e[t]);e=e.join("")}return/^[0-9a-fA-F]{6}$/.test(e)?{red:parseInt(e.slice(0,2),16),green:parseInt(e.slice(2,4),16),blue:parseInt(e.slice(4,6),16)}:{red:255,green:255,blue:255}},mixColor:function(e,t){var n=this.getColorChannels(e),r=n.red,i=n.green,o=n.blue;return t>0?(r*=1-t,i*=1-t,o*=1-t):(r+=(255-r)*t,i+=(255-i)*t,o+=(255-o)*t),"rgb("+Math.round(r)+", "+Math.round(i)+", "+Math.round(o)+")"},addItem:function(e){this.$set(this.items,e.index,e)},removeItem:function(e){delete this.items[e.index]},addSubmenu:function(e){this.$set(this.submenus,e.index,e)},removeSubmenu:function(e){delete this.submenus[e.index]},openMenu:function(e,t){var n=this.openedMenus;-1===n.indexOf(e)&&(this.uniqueOpened&&(this.openedMenus=n.filter(function(e){return-1!==t.indexOf(e)})),this.openedMenus.push(e))},closeMenu:function(e){var t=this.openedMenus.indexOf(e);-1!==t&&this.openedMenus.splice(t,1)},handleSubmenuClick:function(e){var t=e.index,n=e.indexPath;-1!==this.openedMenus.indexOf(t)?(this.closeMenu(t),this.$emit("close",t,n)):(this.openMenu(t,n),this.$emit("open",t,n))},handleItemClick:function(e){var t=this,n=e.index,r=e.indexPath,i=this.activeIndex,o=null!==e.index;o&&(this.activeIndex=e.index),this.$emit("select",n,r,e),("horizontal"===this.mode||this.collapse)&&(this.openedMenus=[]),this.router&&o&&this.routeToItem(e,function(e){if(t.activeIndex=i,e){if("NavigationDuplicated"===e.name)return;console.error(e)}})},initOpenedMenu:function(){var e=this,t=this.activeIndex,n=this.items[t];n&&"horizontal"!==this.mode&&!this.collapse&&n.indexPath.forEach(function(t){var n=e.submenus[t];n&&e.openMenu(t,n.indexPath)})},routeToItem:function(e,t){var n=e.route||e.index;try{this.$router.push(n,function(){},t)}catch(e){console.error(e)}},open:function(e){var t=this,n=this.submenus[e.toString()].indexPath;n.forEach(function(e){return t.openMenu(e,n)})},close:function(e){this.closeMenu(e)}},mounted:function(){this.initOpenedMenu(),this.$on("item-click",this.handleItemClick),this.$on("submenu-click",this.handleSubmenuClick),"horizontal"===this.mode&&new fe(this.$el),this.$watch("items",this.updateActiveIndex)}},void 0,void 0,!1,null,null,null);Ae.options.__file="packages/menu/src/menu.vue";var ge=Ae.exports;ge.install=function(e){e.component(ge.name,ge)};var ve=ge,me=n(21),ye=n.n(me),be={inject:["rootMenu"],computed:{indexPath:function(){for(var e=[this.index],t=this.$parent;"ElMenu"!==t.$options.componentName;)t.index&&e.unshift(t.index),t=t.$parent;return e},parentMenu:function(){for(var e=this.$parent;e&&-1===["ElMenu","ElSubmenu"].indexOf(e.$options.componentName);)e=e.$parent;return e},paddingStyle:function(){if("vertical"!==this.rootMenu.mode)return{};var e=20,t=this.$parent;if(this.rootMenu.collapse)e=20;else for(;t&&"ElMenu"!==t.$options.componentName;)"ElSubmenu"===t.$options.componentName&&(e+=20),t=t.$parent;return{paddingLeft:e+"px"}}}},_e={props:{transformOrigin:{type:[Boolean,String],default:!1},offset:P.a.props.offset,boundariesPadding:P.a.props.boundariesPadding,popperOptions:P.a.props.popperOptions},data:P.a.data,methods:P.a.methods,beforeDestroy:P.a.beforeDestroy,deactivated:P.a.deactivated},we=i({name:"ElSubmenu",componentName:"ElSubmenu",mixins:[be,C.a,_e],components:{ElCollapseTransition:ye.a},props:{index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0}},data:function(){return{popperJS:null,timeout:null,items:{},submenus:{},mouseInChild:!1}},watch:{opened:function(e){var t=this;this.isMenuPopup&&this.$nextTick(function(e){t.updatePopper()})}},computed:{appendToBody:function(){return void 0===this.popperAppendToBody?this.isFirstLevel:this.popperAppendToBody},menuTransitionName:function(){return this.rootMenu.collapse?"el-zoom-in-left":"el-zoom-in-top"},opened:function(){return this.rootMenu.openedMenus.indexOf(this.index)>-1},active:function(){var e=!1,t=this.submenus,n=this.items;return Object.keys(n).forEach(function(t){n[t].active&&(e=!0)}),Object.keys(t).forEach(function(n){t[n].active&&(e=!0)}),e},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},isMenuPopup:function(){return this.rootMenu.isMenuPopup},titleStyle:function(){return"horizontal"!==this.mode?{color:this.textColor}:{borderBottomColor:this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent",color:this.active?this.activeTextColor:this.textColor}},isFirstLevel:function(){for(var e=!0,t=this.$parent;t&&t!==this.rootMenu;){if(["ElSubmenu","ElMenuItemGroup"].indexOf(t.$options.componentName)>-1){e=!1;break}t=t.$parent}return e}},methods:{handleCollapseToggle:function(e){e?this.initPopper():this.doDestroy()},addItem:function(e){this.$set(this.items,e.index,e)},removeItem:function(e){delete this.items[e.index]},addSubmenu:function(e){this.$set(this.submenus,e.index,e)},removeSubmenu:function(e){delete this.submenus[e.index]},handleClick:function(){var e=this.rootMenu,t=this.disabled;"hover"===e.menuTrigger&&"horizontal"===e.mode||e.collapse&&"vertical"===e.mode||t||this.dispatch("ElMenu","submenu-click",this)},handleMouseenter:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.showTimeout;if("ActiveXObject"in window||"focus"!==e.type||e.relatedTarget){var r=this.rootMenu,i=this.disabled;"click"===r.menuTrigger&&"horizontal"===r.mode||!r.collapse&&"vertical"===r.mode||i||(this.dispatch("ElSubmenu","mouse-enter-child"),clearTimeout(this.timeout),this.timeout=setTimeout(function(){t.rootMenu.openMenu(t.index,t.indexPath)},n),this.appendToBody&&this.$parent.$el.dispatchEvent(new MouseEvent("mouseenter")))}},handleMouseleave:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.rootMenu;"click"===n.menuTrigger&&"horizontal"===n.mode||!n.collapse&&"vertical"===n.mode||(this.dispatch("ElSubmenu","mouse-leave-child"),clearTimeout(this.timeout),this.timeout=setTimeout(function(){!e.mouseInChild&&e.rootMenu.closeMenu(e.index)},this.hideTimeout),this.appendToBody&&t&&"ElSubmenu"===this.$parent.$options.name&&this.$parent.handleMouseleave(!0))},handleTitleMouseenter:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var e=this.$refs["submenu-title"];e&&(e.style.backgroundColor=this.rootMenu.hoverBackground)}},handleTitleMouseleave:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var e=this.$refs["submenu-title"];e&&(e.style.backgroundColor=this.rootMenu.backgroundColor||"")}},updatePlacement:function(){this.currentPlacement="horizontal"===this.mode&&this.isFirstLevel?"bottom-start":"right-start"},initPopper:function(){this.referenceElm=this.$el,this.popperElm=this.$refs.menu,this.updatePlacement()}},created:function(){var e=this;this.$on("toggle-collapse",this.handleCollapseToggle),this.$on("mouse-enter-child",function(){e.mouseInChild=!0,clearTimeout(e.timeout)}),this.$on("mouse-leave-child",function(){e.mouseInChild=!1,clearTimeout(e.timeout)})},mounted:function(){this.parentMenu.addSubmenu(this),this.rootMenu.addSubmenu(this),this.initPopper()},beforeDestroy:function(){this.parentMenu.removeSubmenu(this),this.rootMenu.removeSubmenu(this)},render:function(e){var t=this,n=this.active,r=this.opened,i=this.paddingStyle,o=this.titleStyle,a=this.backgroundColor,s=this.rootMenu,l=this.currentPlacement,c=this.menuTransitionName,u=this.mode,h=this.disabled,d=this.popperClass,f=this.$slots,p=this.isFirstLevel,A=e("transition",{attrs:{name:c}},[e("div",{ref:"menu",directives:[{name:"show",value:r}],class:["el-menu--"+u,d],on:{mouseenter:function(e){return t.handleMouseenter(e,100)},mouseleave:function(){return t.handleMouseleave(!0)},focus:function(e){return t.handleMouseenter(e,100)}}},[e("ul",{attrs:{role:"menu"},class:["el-menu el-menu--popup","el-menu--popup-"+l],style:{backgroundColor:s.backgroundColor||""}},[f.default])])]),g=e("el-collapse-transition",[e("ul",{attrs:{role:"menu"},class:"el-menu el-menu--inline",directives:[{name:"show",value:r}],style:{backgroundColor:s.backgroundColor||""}},[f.default])]),v="horizontal"===s.mode&&p||"vertical"===s.mode&&!s.collapse?"el-icon-arrow-down":"el-icon-arrow-right";return e("li",{class:{"el-submenu":!0,"is-active":n,"is-opened":r,"is-disabled":h},attrs:{role:"menuitem","aria-haspopup":"true","aria-expanded":r},on:{mouseenter:this.handleMouseenter,mouseleave:function(){return t.handleMouseleave(!1)},focus:this.handleMouseenter}},[e("div",{class:"el-submenu__title",ref:"submenu-title",on:{click:this.handleClick,mouseenter:this.handleTitleMouseenter,mouseleave:this.handleTitleMouseleave},style:[i,o,{backgroundColor:a}]},[f.title,e("i",{class:["el-submenu__icon-arrow",v]})]),this.isMenuPopup?A:g])}},void 0,void 0,!1,null,null,null);we.options.__file="packages/menu/src/submenu.vue";var xe=we.exports;xe.install=function(e){e.component(xe.name,xe)};var Ce=xe,Se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-menu-item",class:{"is-active":e.active,"is-disabled":e.disabled},style:[e.paddingStyle,e.itemStyle,{backgroundColor:e.backgroundColor}],attrs:{role:"menuitem",tabindex:"-1"},on:{click:e.handleClick,mouseenter:e.onMouseEnter,focus:e.onMouseEnter,blur:e.onMouseLeave,mouseleave:e.onMouseLeave}},["ElMenu"===e.parentMenu.$options.componentName&&e.rootMenu.collapse&&e.$slots.title?n("el-tooltip",{attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[e._t("title")],2),n("div",{staticStyle:{position:"absolute",left:"0",top:"0",height:"100%",width:"100%",display:"inline-block","box-sizing":"border-box",padding:"0 20px"}},[e._t("default")],2)]):[e._t("default"),e._t("title")]],2)};Se._withStripped=!0;var Be=n(26),ke=n.n(Be),Te=i({name:"ElMenuItem",componentName:"ElMenuItem",mixins:[be,C.a],components:{ElTooltip:ke.a},props:{index:{default:null,validator:function(e){return"string"==typeof e||null===e}},route:[String,Object],disabled:Boolean},computed:{active:function(){return this.index===this.rootMenu.activeIndex},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},itemStyle:function(){var e={color:this.active?this.activeTextColor:this.textColor};return"horizontal"!==this.mode||this.isNested||(e.borderBottomColor=this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent"),e},isNested:function(){return this.parentMenu!==this.rootMenu}},methods:{onMouseEnter:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.hoverBackground)},onMouseLeave:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.backgroundColor)},handleClick:function(){this.disabled||(this.dispatch("ElMenu","item-click",this),this.$emit("click",this))}},mounted:function(){this.parentMenu.addItem(this),this.rootMenu.addItem(this)},beforeDestroy:function(){this.parentMenu.removeItem(this),this.rootMenu.removeItem(this)}},Se,[],!1,null,null,null);Te.options.__file="packages/menu/src/menu-item.vue";var Ee=Te.exports;Ee.install=function(e){e.component(Ee.name,Ee)};var Me=Ee,De=function(){var e=this.$createElement,t=this._self._c||e;return t("li",{staticClass:"el-menu-item-group"},[t("div",{staticClass:"el-menu-item-group__title",style:{paddingLeft:this.levelPadding+"px"}},[this.$slots.title?this._t("title"):[this._v(this._s(this.title))]],2),t("ul",[this._t("default")],2)])};De._withStripped=!0;var Oe=i({name:"ElMenuItemGroup",componentName:"ElMenuItemGroup",inject:["rootMenu"],props:{title:{type:String}},data:function(){return{paddingLeft:20}},computed:{levelPadding:function(){var e=20,t=this.$parent;if(this.rootMenu.collapse)return 20;for(;t&&"ElMenu"!==t.$options.componentName;)"ElSubmenu"===t.$options.componentName&&(e+=20),t=t.$parent;return e}}},De,[],!1,null,null,null);Oe.options.__file="packages/menu/src/menu-item-group.vue";var Ie=Oe.exports;Ie.install=function(e){e.component(Ie.name,Ie)};var Le=Ie,Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?n("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?n("i",{staticClass:"el-input__icon",class:e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?n("i",{staticClass:"el-input__icon",class:e.suffixIcon}):e._e()],e.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?n("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:n("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?n("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)};Pe._withStripped=!0;var Fe=void 0,Re="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",Ne=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function He(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Fe||(Fe=document.createElement("textarea"),document.body.appendChild(Fe));var r=function(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),i=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:Ne.map(function(e){return e+":"+t.getPropertyValue(e)}).join(";"),paddingSize:r,borderSize:i,boxSizing:n}}(e),i=r.paddingSize,o=r.borderSize,a=r.boxSizing,s=r.contextStyle;Fe.setAttribute("style",s+";"+Re),Fe.value=e.value||e.placeholder||"";var l=Fe.scrollHeight,c={};"border-box"===a?l+=o:"content-box"===a&&(l-=i),Fe.value="";var u=Fe.scrollHeight-i;if(null!==t){var h=u*t;"border-box"===a&&(h=h+i+o),l=Math.max(h,l),c.minHeight=h+"px"}if(null!==n){var d=u*n;"border-box"===a&&(d=d+i+o),l=Math.min(d,l)}return c.height=l+"px",Fe.parentNode&&Fe.parentNode.removeChild(Fe),Fe=null,c}var je=n(7),Ue=n.n(je),Qe=n(19),ze=i({name:"ElInput",componentName:"ElInput",mixins:[C.a,w.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return Ue()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"==typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick(function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()})}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize;if("textarea"===this.type)if(e){var t=e.minRows,n=e.maxRows;this.textareaCalcStyle=He(this.$refs.textarea,t,n)}else this.textareaCalcStyle={minHeight:He(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(){this.isComposing=!0},handleCompositionUpdate:function(e){var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(Qe.isKorean)(n)},handleCompositionEnd:function(e){this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,r=0;r<t.length;r++)if(t[r].parentNode===this.$el){n=t[r];break}if(n){var i={suffix:"append",prefix:"prepend"}[e];this.$slots[i]?n.style.transform="translateX("+("suffix"===e?"-":"")+this.$el.querySelector(".el-input-group__"+i).offsetWidth+"px)":n.removeAttribute("style")}}},updateIconOffset:function(){this.calcIconOffset("prefix"),this.calcIconOffset("suffix")},clear:function(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")},handlePasswordVisible:function(){this.passwordVisible=!this.passwordVisible,this.focus()},getInput:function(){return this.$refs.input||this.$refs.textarea},getSuffixVisible:function(){return this.$slots.suffix||this.suffixIcon||this.showClear||this.showPassword||this.isWordLimitVisible||this.validateState&&this.needStatusIcon}},created:function(){this.$on("inputSelect",this.select)},mounted:function(){this.setNativeInputValue(),this.resizeTextarea(),this.updateIconOffset()},updated:function(){this.$nextTick(this.updateIconOffset)}},Pe,[],!1,null,null,null);ze.options.__file="packages/input/src/input.vue";var Ye=ze.exports;Ye.install=function(e){e.component(Ye.name,Ye)};var Ve=Ye,Ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-input-number",e.inputNumberSize?"el-input-number--"+e.inputNumberSize:"",{"is-disabled":e.inputNumberDisabled},{"is-without-controls":!e.controls},{"is-controls-right":e.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":e.minDisabled},attrs:{role:"button"},on:{keydown:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.decrease(t):null}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-down":"minus")})]):e._e(),e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":e.maxDisabled},attrs:{role:"button"},on:{keydown:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.increase(t):null}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-up":"plus")})]):e._e(),n("el-input",{ref:"input",attrs:{value:e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label},on:{blur:e.handleBlur,focus:e.handleFocus,input:e.handleInput,change:e.handleInputChange},nativeOn:{keydown:[function(t){return"button"in t||!e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?(t.preventDefault(),e.increase(t)):null},function(t){return"button"in t||!e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?(t.preventDefault(),e.decrease(t)):null}]}})],1)};Ge._withStripped=!0;var We={bind:function(e,t,n){var r=null,i=void 0,o=function(){return n.context[t.expression].apply()},a=function(){Date.now()-i<100&&o(),clearInterval(r),r=null};Object(pe.on)(e,"mousedown",function(e){0===e.button&&(i=Date.now(),Object(pe.once)(document,"mouseup",a),clearInterval(r),r=setInterval(o,100))})}},Xe=i({name:"ElInputNumber",mixins:[U()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:We},components:{ElInput:d.a},props:{step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String,placeholder:String,precision:{type:Number,validator:function(e){return e>=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),r=Math.pow(10,n);t=Math.round(t/this.step)*r*this.step/r}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)<this.min},maxDisabled:function(){return this._increase(this.value,this.step)>this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,r=this.precision,i=n(t);return void 0!==r?(i>r&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),r):Math.max(n(e),i)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"==typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),r=0;return-1!==n&&(r=t.length-n-1),r},_increase:function(e,t){if("number"!=typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!=typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"==typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){this.$refs&&this.$refs.input&&this.$refs.input.$refs.input.setAttribute("aria-valuenow",this.currentValue)}},Ge,[],!1,null,null,null);Xe.options.__file="packages/input-number/src/input-number.vue";var Ze=Xe.exports;Ze.install=function(e){e.component(Ze.name,Ze)};var $e=Ze,Ke=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-radio",class:[e.border&&e.radioSize?"el-radio--"+e.radioSize:"",{"is-disabled":e.isDisabled},{"is-focus":e.focus},{"is-bordered":e.border},{"is-checked":e.model===e.label}],attrs:{role:"radio","aria-checked":e.model===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.model=e.isDisabled?e.model:e.label}}},[n("span",{staticClass:"el-radio__input",class:{"is-disabled":e.isDisabled,"is-checked":e.model===e.label}},[n("span",{staticClass:"el-radio__inner"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:e.name,disabled:e.isDisabled,tabindex:"-1"},domProps:{value:e.label,checked:e._q(e.model,e.label)},on:{focus:function(t){e.focus=!0},blur:function(t){e.focus=!1},change:[function(t){e.model=e.label},e.handleChange]}})]),n("span",{staticClass:"el-radio__label",on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])};Ke._withStripped=!0;var Je=i({name:"ElRadio",mixins:[C.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){for(var e=this.$parent;e;){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick(function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)})}}},Ke,[],!1,null,null,null);Je.options.__file="packages/radio/src/radio.vue";var qe=Je.exports;qe.install=function(e){e.component(qe.name,qe)};var et=qe,tt=function(){var e=this.$createElement;return(this._self._c||e)(this._elTag,{tag:"component",staticClass:"el-radio-group",attrs:{role:"radiogroup"},on:{keydown:this.handleKeydown}},[this._t("default")],2)};tt._withStripped=!0;var nt=Object.freeze({LEFT:37,UP:38,RIGHT:39,DOWN:40}),rt=i({name:"ElRadioGroup",componentName:"ElRadioGroup",inject:{elFormItem:{default:""}},mixins:[C.a],props:{value:{},size:String,fill:String,textColor:String,disabled:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},_elTag:function(){return(this.$vnode.data||{}).tag||"div"},radioGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},created:function(){var e=this;this.$on("handleChange",function(t){e.$emit("change",t)})},mounted:function(){var e=this.$el.querySelectorAll("[type=radio]"),t=this.$el.querySelectorAll("[role=radio]")[0];![].some.call(e,function(e){return e.checked})&&t&&(t.tabIndex=0)},methods:{handleKeydown:function(e){var t=e.target,n="INPUT"===t.nodeName?"[type=radio]":"[role=radio]",r=this.$el.querySelectorAll(n),i=r.length,o=[].indexOf.call(r,t),a=this.$el.querySelectorAll("[role=radio]");switch(e.keyCode){case nt.LEFT:case nt.UP:e.stopPropagation(),e.preventDefault(),0===o?(a[i-1].click(),a[i-1].focus()):(a[o-1].click(),a[o-1].focus());break;case nt.RIGHT:case nt.DOWN:o===i-1?(e.stopPropagation(),e.preventDefault(),a[0].click(),a[0].focus()):(a[o+1].click(),a[o+1].focus())}}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[this.value])}}},tt,[],!1,null,null,null);rt.options.__file="packages/radio/src/radio-group.vue";var it=rt.exports;it.install=function(e){e.component(it.name,it)};var ot=it,at=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-radio-button",class:[e.size?"el-radio-button--"+e.size:"",{"is-active":e.value===e.label},{"is-disabled":e.isDisabled},{"is-focus":e.focus}],attrs:{role:"radio","aria-checked":e.value===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.value=e.isDisabled?e.value:e.label}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"el-radio-button__orig-radio",attrs:{type:"radio",name:e.name,disabled:e.isDisabled,tabindex:"-1"},domProps:{value:e.label,checked:e._q(e.value,e.label)},on:{change:[function(t){e.value=e.label},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}),n("span",{staticClass:"el-radio-button__inner",style:e.value===e.label?e.activeStyle:null,on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])};at._withStripped=!0;var st=i({name:"ElRadioButton",mixins:[C.a],inject:{elForm:{default:""},elFormItem:{default:""}},props:{label:{},disabled:Boolean,name:String},data:function(){return{focus:!1}},computed:{value:{get:function(){return this._radioGroup.value},set:function(e){this._radioGroup.$emit("input",e)}},_radioGroup:function(){for(var e=this.$parent;e;){if("ElRadioGroup"===e.$options.componentName)return e;e=e.$parent}return!1},activeStyle:function(){return{backgroundColor:this._radioGroup.fill||"",borderColor:this._radioGroup.fill||"",boxShadow:this._radioGroup.fill?"-1px 0 0 0 "+this._radioGroup.fill:"",color:this._radioGroup.textColor||""}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._radioGroup.radioGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isDisabled:function(){return this.disabled||this._radioGroup.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this._radioGroup&&this.value!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick(function(){e.dispatch("ElRadioGroup","handleChange",e.value)})}}},at,[],!1,null,null,null);st.options.__file="packages/radio/src/radio-button.vue";var lt=st.exports;lt.install=function(e){e.component(lt.name,lt)};var ct=lt,ut=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox",class:[e.border&&e.checkboxSize?"el-checkbox--"+e.checkboxSize:"",{"is-disabled":e.isDisabled},{"is-bordered":e.border},{"is-checked":e.isChecked}],attrs:{id:e.id}},[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":e.isDisabled,"is-checked":e.isChecked,"is-indeterminate":e.indeterminate,"is-focus":e.focus},attrs:{tabindex:!!e.indeterminate&&0,role:!!e.indeterminate&&"checkbox","aria-checked":!!e.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,r=t.target,i=r.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=e._i(n,null);r.checked?o<0&&(e.model=n.concat([null])):o>-1&&(e.model=n.slice(0,o).concat(n.slice(o+1)))}else e.model=i},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,r=t.target,i=!!r.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);r.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=i},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])};ut._withStripped=!0;var ht=i({name:"ElCheckbox",mixins:[C.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&e.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){for(var e=this.$parent;e;){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick(function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])})}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},ut,[],!1,null,null,null);ht.options.__file="packages/checkbox/src/checkbox.vue";var dt=ht.exports;dt.install=function(e){e.component(dt.name,dt)};var ft=dt,pt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox-button",class:[e.size?"el-checkbox-button--"+e.size:"",{"is-disabled":e.isDisabled},{"is-checked":e.isChecked},{"is-focus":e.focus}],attrs:{role:"checkbox","aria-checked":e.isChecked,"aria-disabled":e.isDisabled}},[e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,r=t.target,i=r.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=e._i(n,null);r.checked?o<0&&(e.model=n.concat([null])):o>-1&&(e.model=n.slice(0,o).concat(n.slice(o+1)))}else e.model=i},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:e.name,disabled:e.isDisabled},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,r=t.target,i=!!r.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);r.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=i},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox-button__inner",style:e.isChecked?e.activeStyle:null},[e._t("default",[e._v(e._s(e.label))])],2):e._e()])};pt._withStripped=!0;var At=i({name:"ElCheckboxButton",mixins:[C.a],inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},props:{value:{},label:{},disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number]},computed:{model:{get:function(){return this._checkboxGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this._checkboxGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&e.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):void 0!==this.value?this.$emit("input",e):this.selfModel=e}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},_checkboxGroup:function(){for(var e=this.$parent;e;){if("ElCheckboxGroup"===e.$options.componentName)return e;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},activeStyle:function(){return{backgroundColor:this._checkboxGroup.fill||"",borderColor:this._checkboxGroup.fill||"",color:this._checkboxGroup.textColor||"","box-shadow":"-1px 0 0 0 "+this._checkboxGroup.fill}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._checkboxGroup.checkboxGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this._checkboxGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled}},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick(function(){t._checkboxGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])})}}},created:function(){this.checked&&this.addToStore()}},pt,[],!1,null,null,null);At.options.__file="packages/checkbox/src/checkbox-button.vue";var gt=At.exports;gt.install=function(e){e.component(gt.name,gt)};var vt=gt,mt=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[this._t("default")],2)};mt._withStripped=!0;var yt=i({name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[C.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},mt,[],!1,null,null,null);yt.options.__file="packages/checkbox/src/checkbox-group.vue";var bt=yt.exports;bt.install=function(e){e.component(bt.name,bt)};var _t=bt,wt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-switch",class:{"is-disabled":e.switchDisabled,"is-checked":e.checked},attrs:{role:"switch","aria-checked":e.checked,"aria-disabled":e.switchDisabled},on:{click:function(t){return t.preventDefault(),e.switchValue(t)}}},[n("input",{ref:"input",staticClass:"el-switch__input",attrs:{type:"checkbox",id:e.id,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:e.switchDisabled},on:{change:e.handleChange,keydown:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.switchValue(t):null}}}),e.inactiveIconClass||e.inactiveText?n("span",{class:["el-switch__label","el-switch__label--left",e.checked?"":"is-active"]},[e.inactiveIconClass?n("i",{class:[e.inactiveIconClass]}):e._e(),!e.inactiveIconClass&&e.inactiveText?n("span",{attrs:{"aria-hidden":e.checked}},[e._v(e._s(e.inactiveText))]):e._e()]):e._e(),n("span",{ref:"core",staticClass:"el-switch__core",style:{width:e.coreWidth+"px"}}),e.activeIconClass||e.activeText?n("span",{class:["el-switch__label","el-switch__label--right",e.checked?"is-active":""]},[e.activeIconClass?n("i",{class:[e.activeIconClass]}):e._e(),!e.activeIconClass&&e.activeText?n("span",{attrs:{"aria-hidden":!e.checked}},[e._v(e._s(e.activeText))]):e._e()]):e._e()])};wt._withStripped=!0;var xt=i({name:"ElSwitch",mixins:[U()("input"),w.a,C.a],inject:{elForm:{default:""}},props:{value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:Number,default:40},activeIconClass:{type:String,default:""},inactiveIconClass:{type:String,default:""},activeText:String,inactiveText:String,activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String},data:function(){return{coreWidth:this.width}},created:function(){~[this.activeValue,this.inactiveValue].indexOf(this.value)||this.$emit("input",this.inactiveValue)},computed:{checked:function(){return this.value===this.activeValue},switchDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{checked:function(){this.$refs.input.checked=this.checked,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[this.value])}},methods:{handleChange:function(e){var t=this,n=this.checked?this.inactiveValue:this.activeValue;this.$emit("input",n),this.$emit("change",n),this.$nextTick(function(){t.$refs.input.checked=t.checked})},setBackgroundColor:function(){var e=this.checked?this.activeColor:this.inactiveColor;this.$refs.core.style.borderColor=e,this.$refs.core.style.backgroundColor=e},switchValue:function(){!this.switchDisabled&&this.handleChange()},getMigratingConfig:function(){return{props:{"on-color":"on-color is renamed to active-color.","off-color":"off-color is renamed to inactive-color.","on-text":"on-text is renamed to active-text.","off-text":"off-text is renamed to inactive-text.","on-value":"on-value is renamed to active-value.","off-value":"off-value is renamed to inactive-value.","on-icon-class":"on-icon-class is renamed to active-icon-class.","off-icon-class":"off-icon-class is renamed to inactive-icon-class."}}}},mounted:function(){this.coreWidth=this.width||40,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.$refs.input.checked=this.checked}},wt,[],!1,null,null,null);xt.options.__file="packages/switch/src/component.vue";var Ct=xt.exports;Ct.install=function(e){e.component(Ct.name,Ct)};var St=Ct,Bt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu(t)}}},[e.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?n("span",[n("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){e.deleteTag(t,e.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?n("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():n("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,function(t){return n("el-tag",{key:e.getValueKey(t),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":""},on:{close:function(n){e.deleteTag(n,t)}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.currentLabel))])])}),1),e.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.navigateOptions("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.navigateOptions("prev")},function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(t.preventDefault(),e.selectOption(t)):null},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return"button"in t||!e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?e.deletePrevTag(t):null},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),n("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur},nativeOn:{keyup:function(t){return e.debouncedOnInputChange(t)},keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.stopPropagation(),t.preventDefault(),e.navigateOptions("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.stopPropagation(),t.preventDefault(),e.navigateOptions("prev")},function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(t.preventDefault(),e.selectOption(t)):null},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],paste:function(t){return e.debouncedOnInputChange(t)},mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?n("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[e._v("\n "+e._s(e.emptyText)+"\n ")])]:e._e()],2)],1)],1)};Bt._withStripped=!0;var kt=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":this.$parent.multiple},this.popperClass],style:{minWidth:this.minWidth}},[this._t("default")],2)};kt._withStripped=!0;var Tt=i({name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[P.a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var e=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",function(){e.$parent.visible&&e.updatePopper()}),this.$on("destroyPopper",this.destroyPopper)}},kt,[],!1,null,null,null);Tt.options.__file="packages/select/src/select-dropdown.vue";var Et=Tt.exports,Mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){return t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[n("span",[e._v(e._s(e.currentLabel))])])],2)};Mt._withStripped=!0;var Dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ot=i({mixins:[C.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,r=n.remote,i=n.valueKey;if(!this.created&&!r){if(i&&"object"===(void 0===e?"undefined":Dt(e))&&"object"===(void 0===t?"undefined":Dt(t))&&e[i]===t[i])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(A.getValueByPath)(e,n)===Object(A.getValueByPath)(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some(function(e){return Object(A.getValueByPath)(e,n)===Object(A.getValueByPath)(t,n)})}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(A.escapeRegexpString)(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple?t:[t],r=this.select.cachedOptions.indexOf(this),i=n.indexOf(this);r>-1&&i<0&&this.select.cachedOptions.splice(r,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},Mt,[],!1,null,null,null);Ot.options.__file="packages/select/src/option.vue";var It=Ot.exports,Lt=n(29),Pt=n.n(Lt),Ft=n(12),Rt=n(27),Nt=n.n(Rt),Ht=i({mixins:[C.a,p.a,U()("reference"),{data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter(function(e){return e.visible}).every(function(e){return e.disabled})}},watch:{hoverIndex:function(e){var t=this;"number"==typeof e&&e>-1&&(this.hoverOption=this.options[e]||{}),this.options.forEach(function(e){e.hover=t.hoverOption===e})}},methods:{navigateOptions:function(e){var t=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===e?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===e&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(e),this.$nextTick(function(){return t.scrollToOption(t.hoverOption)})}}else this.visible=!0}}}],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(A.isIE)()&&!Object(A.isEdge)()&&!this.visible},showClose:function(){var e=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value;return this.clearable&&!this.selectDisabled&&this.inputHovering&&e},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var e=this,t=this.options.filter(function(e){return!e.created}).some(function(t){return t.currentLabel===e.query});return this.filterable&&this.allowCreate&&""!==this.query&&!t},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return void 0!==this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:d.a,ElSelectMenu:Et,ElOption:It,ElTag:Pt.a,ElScrollbar:R.a},directives:{Clickoutside:O.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var e=this;this.$nextTick(function(){e.resetInputHeight()})},propPlaceholder:function(e){this.cachedPlaceHolder=this.currentPlaceholder=e},value:function(e,t){this.multiple&&(this.resetInputHeight(),e&&e.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(A.valueEquals)(e,t)||this.dispatch("ElFormItem","el.form.change",e)},visible:function(e){var t=this;e?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick(function(){t.$refs.input&&""===t.$refs.input.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)}),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",e)},options:function(){var e=this;if(!this.$isServer){this.$nextTick(function(){e.broadcast("ElSelectDropdown","updatePopper")}),this.multiple&&this.resetInputHeight();var t=this.$el.querySelectorAll("input");-1===[].indexOf.call(t,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleComposition:function(e){var t=this,n=e.target.value;if("compositionend"===e.type)this.isOnComposition=!1,this.$nextTick(function(e){return t.handleQueryChange(n)});else{var r=n[n.length-1]||"";this.isOnComposition=!Object(Qe.isKorean)(r)}},handleQueryChange:function(e){var t=this;this.previousQuery===e||this.isOnComposition||(null!==this.previousQuery||"function"!=typeof this.filterMethod&&"function"!=typeof this.remoteMethod?(this.previousQuery=e,this.$nextTick(function(){t.visible&&t.broadcast("ElSelectDropdown","updatePopper")}),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick(function(){var e=15*t.$refs.input.value.length+20;t.inputLength=t.collapseTags?Math.min(50,e):e,t.managePlaceholder(),t.resetInputHeight()}),this.remote&&"function"==typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(e)):"function"==typeof this.filterMethod?(this.filterMethod(e),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",e),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=e)},scrollToOption:function(e){var t=Array.isArray(e)&&e[0]?e[0].$el:e.$el;if(this.$refs.popper&&t){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");Nt()(n,t)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var e=this;this.$nextTick(function(){return e.scrollToOption(e.selected)})},emitChange:function(e){Object(A.valueEquals)(this.value,e)||this.$emit("change",e)},getOption:function(e){for(var t=void 0,n="[object object]"===Object.prototype.toString.call(e).toLowerCase(),r="[object null]"===Object.prototype.toString.call(e).toLowerCase(),i="[object undefined]"===Object.prototype.toString.call(e).toLowerCase(),o=this.cachedOptions.length-1;o>=0;o--){var a=this.cachedOptions[o];if(n?Object(A.getValueByPath)(a.value,this.valueKey)===Object(A.getValueByPath)(e,this.valueKey):a.value===e){t=a;break}}if(t)return t;var s={value:e,currentLabel:n||r||i?"":e};return this.multiple&&(s.hitState=!1),s},setSelected:function(){var e=this;if(!this.multiple){var t=this.getOption(this.value);return t.created?(this.createdLabel=t.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=t.currentLabel,this.selected=t,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach(function(t){n.push(e.getOption(t))}),this.selected=n,this.$nextTick(function(){e.resetInputHeight()})},handleFocus:function(e){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.visible=!0,this.filterable&&(this.menuVisibleOnFocus=!0)),this.$emit("focus",e))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(e){var t=this;setTimeout(function(){t.isSilentBlur?t.isSilentBlur=!1:t.$emit("blur",e)},50),this.softFocus=!1},handleClearClick:function(e){this.deleteSelected(e)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(e){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return!0===e||!1===e?(t.hitState=e,e):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(e){if(e.target.value.length<=0&&!this.toggleLastOptionHitState()){var t=this.value.slice();t.pop(),this.$emit("input",t),this.emitChange(t)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(e){8!==e.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var e=this;this.collapseTags&&!this.filterable||this.$nextTick(function(){if(e.$refs.reference){var t=e.$refs.reference.$el.childNodes,n=[].filter.call(t,function(e){return"INPUT"===e.tagName})[0],r=e.$refs.tags,i=e.initialInputHeight||40;n.style.height=0===e.selected.length?i+"px":Math.max(r?r.clientHeight+(r.clientHeight>i?6:0):0,i)+"px",e.visible&&!1!==e.emptyText&&e.broadcast("ElSelectDropdown","updatePopper")}})},resetHoverIndex:function(){var e=this;setTimeout(function(){e.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map(function(t){return e.options.indexOf(t)})):e.hoverIndex=-1:e.hoverIndex=e.options.indexOf(e.selected)},300)},handleOptionSelect:function(e,t){var n=this;if(this.multiple){var r=(this.value||[]).slice(),i=this.getValueIndex(r,e.value);i>-1?r.splice(i,1):(this.multipleLimit<=0||r.length<this.multipleLimit)&&r.push(e.value),this.$emit("input",r),this.emitChange(r),e.created&&(this.query="",this.handleQueryChange(""),this.inputLength=20),this.filterable&&this.$refs.input.focus()}else this.$emit("input",e.value),this.emitChange(e.value),this.visible=!1;this.isSilentBlur=t,this.setSoftFocus(),this.visible||this.$nextTick(function(){n.scrollToOption(e)})},setSoftFocus:function(){this.softFocus=!0;var e=this.$refs.input||this.$refs.reference;e&&e.focus()},getValueIndex:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if("[object object]"===Object.prototype.toString.call(t).toLowerCase()){var n=this.valueKey,r=-1;return e.some(function(e,i){return Object(A.getValueByPath)(e,n)===Object(A.getValueByPath)(t,n)&&(r=i,!0)}),r}return e.indexOf(t)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(e){e.stopPropagation();var t=this.multiple?[]:"";this.$emit("input",t),this.emitChange(t),this.visible=!1,this.$emit("clear")},deleteTag:function(e,t){var n=this.selected.indexOf(t);if(n>-1&&!this.selectDisabled){var r=this.value.slice();r.splice(n,1),this.$emit("input",r),this.emitChange(r),this.$emit("remove-tag",t.value)}e.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(e){e>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(e,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var e=!1,t=this.options.length-1;t>=0;t--)if(this.options[t].created){e=!0,this.hoverIndex=t;break}if(!e)for(var n=0;n!==this.options.length;++n){var r=this.options[n];if(this.query){if(!r.disabled&&!r.groupDisabled&&r.visible){this.hoverIndex=n;break}}else if(r.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(e){return"[object object]"!==Object.prototype.toString.call(e.value).toLowerCase()?e.value:Object(A.getValueByPath)(e.value,this.valueKey)}},created:function(){var e=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=M()(this.debounce,function(){e.onInputChange()}),this.debouncedQueryChange=M()(this.debounce,function(t){e.handleQueryChange(t.target.value)}),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var e=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(Ft.addResizeListener)(this.$el,this.handleResize);var t=this.$refs.reference;if(t&&t.$el){var n=t.$el.querySelector("input");this.initialInputHeight=n.getBoundingClientRect().height||{medium:36,small:32,mini:28}[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick(function(){t&&t.$el&&(e.inputWidth=t.$el.getBoundingClientRect().width)}),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(Ft.removeResizeListener)(this.$el,this.handleResize)}},Bt,[],!1,null,null,null);Ht.options.__file="packages/select/src/select.vue";var jt=Ht.exports;jt.install=function(e){e.component(jt.name,jt)};var Ut=jt;It.install=function(e){e.component(It.name,It)};var Qt=It,zt=function(){var e=this.$createElement,t=this._self._c||e;return t("ul",{directives:[{name:"show",rawName:"v-show",value:this.visible,expression:"visible"}],staticClass:"el-select-group__wrap"},[t("li",{staticClass:"el-select-group__title"},[this._v(this._s(this.label))]),t("li",[t("ul",{staticClass:"el-select-group"},[this._t("default")],2)])])};zt._withStripped=!0;var Yt=i({mixins:[C.a],name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},data:function(){return{visible:!0}},watch:{disabled:function(e){this.broadcast("ElOption","handleGroupDisabled",e)}},methods:{queryChange:function(){this.visible=this.$children&&Array.isArray(this.$children)&&this.$children.some(function(e){return!0===e.visible})}},created:function(){this.$on("queryChange",this.queryChange)},mounted:function(){this.disabled&&this.broadcast("ElOption","handleGroupDisabled",this.disabled)}},zt,[],!1,null,null,null);Yt.options.__file="packages/select/src/option-group.vue";var Vt=Yt.exports;Vt.install=function(e){e.component(Vt.name,Vt)};var Gt=Vt,Wt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"el-button",class:[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?n("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?n("i",{class:e.icon}):e._e(),e.$slots.default?n("span",[e._t("default")],2):e._e()])};Wt._withStripped=!0;var Xt=i({name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},Wt,[],!1,null,null,null);Xt.options.__file="packages/button/src/button.vue";var Zt=Xt.exports;Zt.install=function(e){e.component(Zt.name,Zt)};var $t=Zt,Kt=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-button-group"},[this._t("default")],2)};Kt._withStripped=!0;var Jt=i({name:"ElButtonGroup"},Kt,[],!1,null,null,null);Jt.options.__file="packages/button/src/button-group.vue";var qt=Jt.exports;qt.install=function(e){e.component(qt.name,qt)};var en=qt,tn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-table",class:[{"el-table--fit":e.fit,"el-table--striped":e.stripe,"el-table--border":e.border||e.isGroup,"el-table--hidden":e.isHidden,"el-table--group":e.isGroup,"el-table--fluid-height":e.maxHeight,"el-table--scrollable-x":e.layout.scrollX,"el-table--scrollable-y":e.layout.scrollY,"el-table--enable-row-hover":!e.store.states.isComplex,"el-table--enable-row-transition":0!==(e.store.states.data||[]).length&&(e.store.states.data||[]).length<100},e.tableSize?"el-table--"+e.tableSize:""],on:{mouseleave:function(t){e.handleMouseLeave(t)}}},[n("div",{ref:"hiddenColumns",staticClass:"hidden-columns"},[e._t("default")],2),e.showHeader?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"headerWrapper",staticClass:"el-table__header-wrapper"},[n("table-header",{ref:"tableHeader",style:{width:e.layout.bodyWidth?e.layout.bodyWidth+"px":""},attrs:{store:e.store,border:e.border,"default-sort":e.defaultSort}})],1):e._e(),n("div",{ref:"bodyWrapper",staticClass:"el-table__body-wrapper",class:[e.layout.scrollX?"is-scrolling-"+e.scrollPosition:"is-scrolling-none"],style:[e.bodyHeight]},[n("table-body",{style:{width:e.bodyWidth},attrs:{context:e.context,store:e.store,stripe:e.stripe,"row-class-name":e.rowClassName,"row-style":e.rowStyle,highlight:e.highlightCurrentRow}}),e.data&&0!==e.data.length?e._e():n("div",{ref:"emptyBlock",staticClass:"el-table__empty-block",style:e.emptyBlockStyle},[n("span",{staticClass:"el-table__empty-text"},[e._t("empty",[e._v(e._s(e.emptyText||e.t("el.table.emptyText")))])],2)]),e.$slots.append?n("div",{ref:"appendWrapper",staticClass:"el-table__append-wrapper"},[e._t("append")],2):e._e()],1),e.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"},{name:"mousewheel",rawName:"v-mousewheel",value:e.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"footerWrapper",staticClass:"el-table__footer-wrapper"},[n("table-footer",{style:{width:e.layout.bodyWidth?e.layout.bodyWidth+"px":""},attrs:{store:e.store,border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,"default-sort":e.defaultSort}})],1):e._e(),e.fixedColumns.length>0?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"fixedWrapper",staticClass:"el-table__fixed",style:[{width:e.layout.fixedWidth?e.layout.fixedWidth+"px":""},e.fixedHeight]},[e.showHeader?n("div",{ref:"fixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[n("table-header",{ref:"fixedTableHeader",style:{width:e.bodyWidth},attrs:{fixed:"left",border:e.border,store:e.store}})],1):e._e(),n("div",{ref:"fixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:e.layout.headerHeight+"px"},e.fixedBodyHeight]},[n("table-body",{style:{width:e.bodyWidth},attrs:{fixed:"left",store:e.store,stripe:e.stripe,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"row-style":e.rowStyle}}),e.$slots.append?n("div",{staticClass:"el-table__append-gutter",style:{height:e.layout.appendHeight+"px"}}):e._e()],1),e.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"}],ref:"fixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[n("table-footer",{style:{width:e.bodyWidth},attrs:{fixed:"left",border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,store:e.store}})],1):e._e()]):e._e(),e.rightFixedColumns.length>0?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"rightFixedWrapper",staticClass:"el-table__fixed-right",style:[{width:e.layout.rightFixedWidth?e.layout.rightFixedWidth+"px":"",right:e.layout.scrollY?(e.border?e.layout.gutterWidth:e.layout.gutterWidth||0)+"px":""},e.fixedHeight]},[e.showHeader?n("div",{ref:"rightFixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[n("table-header",{ref:"rightFixedTableHeader",style:{width:e.bodyWidth},attrs:{fixed:"right",border:e.border,store:e.store}})],1):e._e(),n("div",{ref:"rightFixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:e.layout.headerHeight+"px"},e.fixedBodyHeight]},[n("table-body",{style:{width:e.bodyWidth},attrs:{fixed:"right",store:e.store,stripe:e.stripe,"row-class-name":e.rowClassName,"row-style":e.rowStyle,highlight:e.highlightCurrentRow}}),e.$slots.append?n("div",{staticClass:"el-table__append-gutter",style:{height:e.layout.appendHeight+"px"}}):e._e()],1),e.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"}],ref:"rightFixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[n("table-footer",{style:{width:e.bodyWidth},attrs:{fixed:"right",border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,store:e.store}})],1):e._e()]):e._e(),e.rightFixedColumns.length>0?n("div",{ref:"rightFixedPatch",staticClass:"el-table__fixed-right-patch",style:{width:e.layout.scrollY?e.layout.gutterWidth+"px":"0",height:e.layout.headerHeight+"px"}}):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.resizeProxyVisible,expression:"resizeProxyVisible"}],ref:"resizeProxy",staticClass:"el-table__column-resize-proxy"})])};tn._withStripped=!0;var nn=n(16),rn=n.n(nn),on=n(35),an=n(38),sn=n.n(an),ln="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,cn={bind:function(e,t){var n,r;n=e,r=t.value,n&&n.addEventListener&&n.addEventListener(ln?"DOMMouseScroll":"mousewheel",function(e){var t=sn()(e);r&&r.apply(this,[e,t])})}},un=n(6),hn=n.n(un),dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn=function(e){for(var t=e.target;t&&"HTML"!==t.tagName.toUpperCase();){if("TD"===t.tagName.toUpperCase())return t;t=t.parentNode}return null},pn=function(e){return null!==e&&"object"===(void 0===e?"undefined":dn(e))},An=function(e,t,n,r,i){if(!t&&!r&&(!i||Array.isArray(i)&&!i.length))return e;n="string"==typeof n?"descending"===n?-1:1:n&&n<0?-1:1;var o=r?null:function(n,r){return i?(Array.isArray(i)||(i=[i]),i.map(function(t){return"string"==typeof t?Object(A.getValueByPath)(n,t):t(n,r,e)})):("$key"!==t&&pn(n)&&"$value"in n&&(n=n.$value),[pn(n)?Object(A.getValueByPath)(n,t):n])};return e.map(function(e,t){return{value:e,index:t,key:o?o(e,t):null}}).sort(function(e,t){var i=function(e,t){if(r)return r(e.value,t.value);for(var n=0,i=e.key.length;n<i;n++){if(e.key[n]<t.key[n])return-1;if(e.key[n]>t.key[n])return 1}return 0}(e,t);return i||(i=e.index-t.index),i*n}).map(function(e){return e.value})},gn=function(e,t){var n=null;return e.columns.forEach(function(e){e.id===t&&(n=e)}),n},vn=function(e,t){var n=(t.className||"").match(/el-table_[^\s]+/gm);return n?gn(e,n[0]):null},mn=function(e,t){if(!e)throw new Error("row is required when get row identity");if("string"==typeof t){if(t.indexOf(".")<0)return e[t];for(var n=t.split("."),r=e,i=0;i<n.length;i++)r=r[n[i]];return r}if("function"==typeof t)return t.call(null,e)},yn=function(e,t){var n={};return(e||[]).forEach(function(e,r){n[mn(e,t)]={row:e,index:r}}),n};function bn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _n(e){return void 0!==e&&(e=parseInt(e,10),isNaN(e)&&(e=null)),e}function wn(e){return"number"==typeof e?e:"string"==typeof e?/^\d+(?:px)?$/.test(e)?parseInt(e,10):e:null}function xn(e,t,n){var r=!1,i=e.indexOf(t),o=-1!==i,a=function(){e.push(t),r=!0},s=function(){e.splice(i,1),r=!0};return"boolean"==typeof n?n&&!o?a():!n&&o&&s():o?s():a(),r}function Cn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hasChildren",i=function(e){return!(Array.isArray(e)&&e.length)};e.forEach(function(e){if(e[r])t(e,null,0);else{var o=e[n];i(o)||function e(o,a,s){t(o,a,s),a.forEach(function(o){if(o[r])t(o,null,s+1);else{var a=o[n];i(a)||e(o,a,s+1)}})}(e,o,0)}})}var Sn={data:function(){return{states:{defaultExpandAll:!1,expandRows:[]}}},methods:{updateExpandRows:function(){var e=this.states,t=e.data,n=void 0===t?[]:t,r=e.rowKey,i=e.defaultExpandAll,o=e.expandRows;if(i)this.states.expandRows=n.slice();else if(r){var a=yn(o,r);this.states.expandRows=n.reduce(function(e,t){var n=mn(t,r);return a[n]&&e.push(t),e},[])}else this.states.expandRows=[]},toggleRowExpansion:function(e,t){xn(this.states.expandRows,e,t)&&(this.table.$emit("expand-change",e,this.states.expandRows.slice()),this.scheduleLayout())},setExpandRowKeys:function(e){this.assertRowKey();var t=this.states,n=t.data,r=t.rowKey,i=yn(n,r);this.states.expandRows=e.reduce(function(e,t){var n=i[t];return n&&e.push(n.row),e},[])},isRowExpanded:function(e){var t=this.states,n=t.expandRows,r=void 0===n?[]:n,i=t.rowKey;return i?!!yn(r,i)[mn(e,i)]:-1!==r.indexOf(e)}}},Bn={data:function(){return{states:{_currentRowKey:null,currentRow:null}}},methods:{setCurrentRowKey:function(e){this.assertRowKey(),this.states._currentRowKey=e,this.setCurrentRowByKey(e)},restoreCurrentRowKey:function(){this.states._currentRowKey=null},setCurrentRowByKey:function(e){var t=this.states,n=t.data,r=void 0===n?[]:n,i=t.rowKey,o=null;i&&(o=Object(A.arrayFind)(r,function(t){return mn(t,i)===e})),t.currentRow=o},updateCurrentRow:function(e){var t=this.states,n=this.table,r=t.currentRow;if(e&&e!==r)return t.currentRow=e,void n.$emit("current-change",e,r);!e&&r&&(t.currentRow=null,n.$emit("current-change",null,r))},updateCurrentRowData:function(){var e=this.states,t=this.table,n=e.rowKey,r=e._currentRowKey,i=e.data||[],o=e.currentRow;if(-1===i.indexOf(o)&&o){if(n){var a=mn(o,n);this.setCurrentRowByKey(a)}else e.currentRow=null;null===e.currentRow&&t.$emit("current-change",null,o)}else r&&(this.setCurrentRowByKey(r),this.restoreCurrentRowKey())}}},kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tn={data:function(){return{states:{expandRowKeys:[],treeData:{},indent:16,lazy:!1,lazyTreeNodeMap:{},lazyColumnIdentifier:"hasChildren",childrenColumnName:"children"}}},computed:{normalizedData:function(){if(!this.states.rowKey)return{};var e=this.states.data||[];return this.normalize(e)},normalizedLazyNode:function(){var e=this.states,t=e.rowKey,n=e.lazyTreeNodeMap,r=e.lazyColumnIdentifier,i=Object.keys(n),o={};return i.length?(i.forEach(function(e){if(n[e].length){var i={children:[]};n[e].forEach(function(e){var n=mn(e,t);i.children.push(n),e[r]&&!o[n]&&(o[n]={children:[]})}),o[e]=i}}),o):o}},watch:{normalizedData:"updateTreeData",normalizedLazyNode:"updateTreeData"},methods:{normalize:function(e){var t=this.states,n=t.childrenColumnName,r=t.lazyColumnIdentifier,i=t.rowKey,o=t.lazy,a={};return Cn(e,function(e,t,n){var r=mn(e,i);Array.isArray(t)?a[r]={children:t.map(function(e){return mn(e,i)}),level:n}:o&&(a[r]={children:[],lazy:!0,level:n})},n,r),a},updateTreeData:function(){var e=this.normalizedData,t=this.normalizedLazyNode,n=Object.keys(e),r={};if(n.length){var i=this.states,o=i.treeData,a=i.defaultExpandAll,s=i.expandRowKeys,l=i.lazy,c=[],u=function(e,t){var n=a||s&&-1!==s.indexOf(t);return!!(e&&e.expanded||n)};n.forEach(function(t){var n=o[t],i=kn({},e[t]);if(i.expanded=u(n,t),i.lazy){var a=n||{},s=a.loaded,l=void 0!==s&&s,h=a.loading,d=void 0!==h&&h;i.loaded=!!l,i.loading=!!d,c.push(t)}r[t]=i});var h=Object.keys(t);l&&h.length&&c.length&&h.forEach(function(e){var n=o[e],i=t[e].children;if(-1!==c.indexOf(e)){if(0!==r[e].children.length)throw new Error("[ElTable]children must be an empty array.");r[e].children=i}else{var a=n||{},s=a.loaded,l=void 0!==s&&s,h=a.loading,d=void 0!==h&&h;r[e]={lazy:!0,loaded:!!l,loading:!!d,expanded:u(n,e),children:i,level:""}}})}this.states.treeData=r,this.updateTableScrollY()},updateTreeExpandKeys:function(e){this.states.expandRowKeys=e,this.updateTreeData()},toggleTreeExpansion:function(e,t){this.assertRowKey();var n=this.states,r=n.rowKey,i=n.treeData,o=mn(e,r),a=o&&i[o];if(o&&a&&"expanded"in a){var s=a.expanded;t=void 0===t?!a.expanded:t,i[o].expanded=t,s!==t&&this.table.$emit("expand-change",e,t),this.updateTableScrollY()}},loadOrToggle:function(e){this.assertRowKey();var t=this.states,n=t.lazy,r=t.treeData,i=t.rowKey,o=mn(e,i),a=r[o];n&&a&&"loaded"in a&&!a.loaded?this.loadData(e,o,a):this.toggleTreeExpansion(e)},loadData:function(e,t,n){var r=this,i=this.table.load,o=this.states,a=o.lazyTreeNodeMap,s=o.treeData;i&&!s[t].loaded&&(s[t].loading=!0,i(e,n,function(n){if(!Array.isArray(n))throw new Error("[ElTable] data must be an array");s[t].loading=!1,s[t].loaded=!0,s[t].expanded=!0,n.length&&r.$set(a,t,n),r.table.$emit("expand-change",e,!0)}))}}},En=function e(t){var n=[];return t.forEach(function(t){t.children?n.push.apply(n,e(t.children)):n.push(t)}),n},Mn=hn.a.extend({data:function(){return{states:{rowKey:null,data:[],isComplex:!1,_columns:[],originColumns:[],columns:[],fixedColumns:[],rightFixedColumns:[],leafColumns:[],fixedLeafColumns:[],rightFixedLeafColumns:[],leafColumnsLength:0,fixedLeafColumnsLength:0,rightFixedLeafColumnsLength:0,isAllSelected:!1,selection:[],reserveSelection:!1,selectOnIndeterminate:!1,selectable:null,filters:{},filteredData:null,sortingColumn:null,sortProp:null,sortOrder:null,hoverRow:null}}},mixins:[Sn,Bn,Tn],methods:{assertRowKey:function(){if(!this.states.rowKey)throw new Error("[ElTable] prop row-key is required")},updateColumns:function(){var e=this.states,t=e._columns||[];e.fixedColumns=t.filter(function(e){return!0===e.fixed||"left"===e.fixed}),e.rightFixedColumns=t.filter(function(e){return"right"===e.fixed}),e.fixedColumns.length>0&&t[0]&&"selection"===t[0].type&&!t[0].fixed&&(t[0].fixed=!0,e.fixedColumns.unshift(t[0]));var n=t.filter(function(e){return!e.fixed});e.originColumns=[].concat(e.fixedColumns).concat(n).concat(e.rightFixedColumns);var r=En(n),i=En(e.fixedColumns),o=En(e.rightFixedColumns);e.leafColumnsLength=r.length,e.fixedLeafColumnsLength=i.length,e.rightFixedLeafColumnsLength=o.length,e.columns=[].concat(i).concat(r).concat(o),e.isComplex=e.fixedColumns.length>0||e.rightFixedColumns.length>0},scheduleLayout:function(e){e&&this.updateColumns(),this.table.debouncedUpdateLayout()},isSelected:function(e){var t=this.states.selection;return(void 0===t?[]:t).indexOf(e)>-1},clearSelection:function(){var e=this.states;e.isAllSelected=!1,e.selection.length&&(e.selection=[],this.table.$emit("selection-change",[]))},cleanSelection:function(){var e=this.states,t=e.data,n=e.rowKey,r=e.selection,i=void 0;if(n){i=[];var o=yn(r,n),a=yn(t,n);for(var s in o)o.hasOwnProperty(s)&&!a[s]&&i.push(o[s].row)}else i=r.filter(function(e){return-1===t.indexOf(e)});if(i.length){var l=r.filter(function(e){return-1===i.indexOf(e)});e.selection=l,this.table.$emit("selection-change",l.slice())}},toggleRowSelection:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(xn(this.states.selection,e,t)){var r=(this.states.selection||[]).slice();n&&this.table.$emit("select",r,e),this.table.$emit("selection-change",r)}},_toggleAllSelection:function(){var e=this.states,t=e.data,n=void 0===t?[]:t,r=e.selection,i=e.selectOnIndeterminate?!e.isAllSelected:!(e.isAllSelected||r.length);e.isAllSelected=i;var o=!1;n.forEach(function(t,n){e.selectable?e.selectable.call(null,t,n)&&xn(r,t,i)&&(o=!0):xn(r,t,i)&&(o=!0)}),o&&this.table.$emit("selection-change",r?r.slice():[]),this.table.$emit("select-all",r)},updateSelectionByRowKey:function(){var e=this.states,t=e.selection,n=e.rowKey,r=e.data,i=yn(t,n);r.forEach(function(e){var r=mn(e,n),o=i[r];o&&(t[o.index]=e)})},updateAllSelected:function(){var e=this.states,t=e.selection,n=e.rowKey,r=e.selectable,i=e.data||[];if(0!==i.length){var o=void 0;n&&(o=yn(t,n));for(var a,s=!0,l=0,c=0,u=i.length;c<u;c++){var h=i[c],d=r&&r.call(null,h,c);if(a=h,o?o[mn(a,n)]:-1!==t.indexOf(a))l++;else if(!r||d){s=!1;break}}0===l&&(s=!1),e.isAllSelected=s}else e.isAllSelected=!1},updateFilters:function(e,t){Array.isArray(e)||(e=[e]);var n=this.states,r={};return e.forEach(function(e){n.filters[e.id]=t,r[e.columnKey||e.id]=t}),r},updateSort:function(e,t,n){this.states.sortingColumn&&this.states.sortingColumn!==e&&(this.states.sortingColumn.order=null),this.states.sortingColumn=e,this.states.sortProp=t,this.states.sortOrder=n},execFilter:function(){var e=this,t=this.states,n=t._data,r=t.filters,i=n;Object.keys(r).forEach(function(n){var r=t.filters[n];if(r&&0!==r.length){var o=gn(e.states,n);o&&o.filterMethod&&(i=i.filter(function(e){return r.some(function(t){return o.filterMethod.call(null,t,e,o)})}))}}),t.filteredData=i},execSort:function(){var e=this.states;e.data=function(e,t){var n=t.sortingColumn;return n&&"string"!=typeof n.sortable?An(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy):e}(e.filteredData,e)},execQuery:function(e){e&&e.filter||this.execFilter(),this.execSort()},clearFilter:function(e){var t=this.states,n=this.table.$refs,r=n.tableHeader,i=n.fixedTableHeader,o=n.rightFixedTableHeader,a={};r&&(a=Ue()(a,r.filterPanels)),i&&(a=Ue()(a,i.filterPanels)),o&&(a=Ue()(a,o.filterPanels));var s=Object.keys(a);if(s.length)if("string"==typeof e&&(e=[e]),Array.isArray(e)){var l=e.map(function(e){return function(e,t){for(var n=null,r=0;r<e.columns.length;r++){var i=e.columns[r];if(i.columnKey===t){n=i;break}}return n}(t,e)});s.forEach(function(e){l.find(function(t){return t.id===e})&&(a[e].filteredValue=[])}),this.commit("filterChange",{column:l,values:[],silent:!0,multi:!0})}else s.forEach(function(e){a[e].filteredValue=[]}),t.filters={},this.commit("filterChange",{column:{},values:[],silent:!0})},clearSort:function(){this.states.sortingColumn&&(this.updateSort(null,null,null),this.commit("changeSortCondition",{silent:!0}))},setExpandRowKeysAdapter:function(e){this.setExpandRowKeys(e),this.updateTreeExpandKeys(e)},toggleRowExpansionAdapter:function(e,t){this.states.columns.some(function(e){return"expand"===e.type})?this.toggleRowExpansion(e,t):this.toggleTreeExpansion(e,t)}}});Mn.prototype.mutations={setData:function(e,t){var n=e._data!==t;e._data=t,this.execQuery(),this.updateCurrentRowData(),this.updateExpandRows(),e.reserveSelection?(this.assertRowKey(),this.updateSelectionByRowKey()):n?this.clearSelection():this.cleanSelection(),this.updateAllSelected(),this.updateTableScrollY()},insertColumn:function(e,t,n,r){var i=e._columns;r&&((i=r.children)||(i=r.children=[])),void 0!==n?i.splice(n,0,t):i.push(t),"selection"===t.type&&(e.selectable=t.selectable,e.reserveSelection=t.reserveSelection),this.table.$ready&&(this.updateColumns(),this.scheduleLayout())},removeColumn:function(e,t,n){var r=e._columns;n&&((r=n.children)||(r=n.children=[])),r&&r.splice(r.indexOf(t),1),this.table.$ready&&(this.updateColumns(),this.scheduleLayout())},sort:function(e,t){var n=t.prop,r=t.order,i=t.init;if(n){var o=Object(A.arrayFind)(e.columns,function(e){return e.property===n});o&&(o.order=r,this.updateSort(o,n,r),this.commit("changeSortCondition",{init:i}))}},changeSortCondition:function(e,t){var n=e.sortingColumn,r=e.sortProp,i=e.sortOrder;null===i&&(e.sortingColumn=null,e.sortProp=null);this.execQuery({filter:!0}),t&&(t.silent||t.init)||this.table.$emit("sort-change",{column:n,prop:r,order:i}),this.updateTableScrollY()},filterChange:function(e,t){var n=t.column,r=t.values,i=t.silent,o=this.updateFilters(n,r);this.execQuery(),i||this.table.$emit("filter-change",o),this.updateTableScrollY()},toggleAllSelection:function(){this.toggleAllSelection()},rowSelectedChanged:function(e,t){this.toggleRowSelection(t),this.updateAllSelected()},setHoverRow:function(e,t){e.hoverRow=t},setCurrentRow:function(e,t){this.updateCurrentRow(t)}},Mn.prototype.commit=function(e){var t=this.mutations;if(!t[e])throw new Error("Action not found: "+e);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t[e].apply(this,[this.states].concat(r))},Mn.prototype.updateTableScrollY=function(){hn.a.nextTick(this.table.updateScrollY)};var Dn=Mn;function On(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n],i=void 0;"string"==typeof r?i=function(){return this.store.states[r]}:"function"==typeof r?i=function(){return r.call(this,this.store.states)}:console.error("invalid value type"),i&&(t[n]=i)}),t}var In=n(30),Ln=n.n(In);var Pn=function(){function e(t){for(var n in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.observers=[],this.table=null,this.store=null,this.columns=null,this.fit=!0,this.showHeader=!0,this.height=null,this.scrollX=!1,this.scrollY=!1,this.bodyWidth=null,this.fixedWidth=null,this.rightFixedWidth=null,this.tableHeight=null,this.headerHeight=44,this.appendHeight=0,this.footerHeight=44,this.viewportHeight=null,this.bodyHeight=null,this.fixedBodyHeight=null,this.gutterWidth=Ln()(),t)t.hasOwnProperty(n)&&(this[n]=t[n]);if(!this.table)throw new Error("table is required for Table Layout");if(!this.store)throw new Error("store is required for Table Layout")}return e.prototype.updateScrollY=function(){if(null===this.height)return!1;var e=this.table.bodyWrapper;if(this.table.$el&&e){var t=e.querySelector(".el-table__body"),n=this.scrollY,r=t.offsetHeight>this.bodyHeight;return this.scrollY=r,n!==r}return!1},e.prototype.setHeight=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"height";if(!hn.a.prototype.$isServer){var r=this.table.$el;if(e=wn(e),this.height=e,!r&&(e||0===e))return hn.a.nextTick(function(){return t.setHeight(e,n)});"number"==typeof e?(r.style[n]=e+"px",this.updateElsHeight()):"string"==typeof e&&(r.style[n]=e,this.updateElsHeight())}},e.prototype.setMaxHeight=function(e){this.setHeight(e,"max-height")},e.prototype.getFlattenColumns=function(){var e=[];return this.table.columns.forEach(function(t){t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)}),e},e.prototype.updateElsHeight=function(){var e=this;if(!this.table.$ready)return hn.a.nextTick(function(){return e.updateElsHeight()});var t=this.table.$refs,n=t.headerWrapper,r=t.appendWrapper,i=t.footerWrapper;if(this.appendHeight=r?r.offsetHeight:0,!this.showHeader||n){var o=n?n.querySelector(".el-table__header tr"):null,a=this.headerDisplayNone(o),s=this.headerHeight=this.showHeader?n.offsetHeight:0;if(this.showHeader&&!a&&n.offsetWidth>0&&(this.table.columns||[]).length>0&&s<2)return hn.a.nextTick(function(){return e.updateElsHeight()});var l=this.tableHeight=this.table.$el.clientHeight,c=this.footerHeight=i?i.offsetHeight:0;null!==this.height&&(this.bodyHeight=l-s-c+(i?1:0)),this.fixedBodyHeight=this.scrollX?this.bodyHeight-this.gutterWidth:this.bodyHeight;var u=!(this.store.states.data&&this.store.states.data.length);this.viewportHeight=this.scrollX?l-(u?0:this.gutterWidth):l,this.updateScrollY(),this.notifyObservers("scrollable")}},e.prototype.headerDisplayNone=function(e){if(!e)return!0;for(var t=e;"DIV"!==t.tagName;){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1},e.prototype.updateColumnsWidth=function(){if(!hn.a.prototype.$isServer){var e=this.fit,t=this.table.$el.clientWidth,n=0,r=this.getFlattenColumns(),i=r.filter(function(e){return"number"!=typeof e.width});if(r.forEach(function(e){"number"==typeof e.width&&e.realWidth&&(e.realWidth=null)}),i.length>0&&e){r.forEach(function(e){n+=e.width||e.minWidth||80});var o=this.scrollY?this.gutterWidth:0;if(n<=t-o){this.scrollX=!1;var a=t-o-n;if(1===i.length)i[0].realWidth=(i[0].minWidth||80)+a;else{var s=a/i.reduce(function(e,t){return e+(t.minWidth||80)},0),l=0;i.forEach(function(e,t){if(0!==t){var n=Math.floor((e.minWidth||80)*s);l+=n,e.realWidth=(e.minWidth||80)+n}}),i[0].realWidth=(i[0].minWidth||80)+a-l}}else this.scrollX=!0,i.forEach(function(e){e.realWidth=e.minWidth});this.bodyWidth=Math.max(n,t),this.table.resizeState.width=this.bodyWidth}else r.forEach(function(e){e.width||e.minWidth?e.realWidth=e.width||e.minWidth:e.realWidth=80,n+=e.realWidth}),this.scrollX=n>t,this.bodyWidth=n;var c=this.store.states.fixedColumns;if(c.length>0){var u=0;c.forEach(function(e){u+=e.realWidth||e.width}),this.fixedWidth=u}var h=this.store.states.rightFixedColumns;if(h.length>0){var d=0;h.forEach(function(e){d+=e.realWidth||e.width}),this.rightFixedWidth=d}this.notifyObservers("columns")}},e.prototype.addObserver=function(e){this.observers.push(e)},e.prototype.removeObserver=function(e){var t=this.observers.indexOf(e);-1!==t&&this.observers.splice(t,1)},e.prototype.notifyObservers=function(e){var t=this;this.observers.forEach(function(n){switch(e){case"columns":n.onColumnsChange(t);break;case"scrollable":n.onScrollableChange(t);break;default:throw new Error("Table Layout don't have event "+e+".")}})},e}(),Fn={created:function(){this.tableLayout.addObserver(this)},destroyed:function(){this.tableLayout.removeObserver(this)},computed:{tableLayout:function(){var e=this.layout;if(!e&&this.table&&(e=this.table.layout),!e)throw new Error("Can not find table layout.");return e}},mounted:function(){this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout)},updated:function(){this.__updated__||(this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout),this.__updated__=!0)},methods:{onColumnsChange:function(e){var t=this.$el.querySelectorAll("colgroup > col");if(t.length){var n={};e.getFlattenColumns().forEach(function(e){n[e.id]=e});for(var r=0,i=t.length;r<i;r++){var o=t[r],a=o.getAttribute("name"),s=n[a];s&&o.setAttribute("width",s.realWidth||s.width)}}},onScrollableChange:function(e){for(var t=this.$el.querySelectorAll("colgroup > col[name=gutter]"),n=0,r=t.length;n<r;n++){t[n].setAttribute("width",e.scrollY?e.gutterWidth:"0")}for(var i=this.$el.querySelectorAll("th.gutter"),o=0,a=i.length;o<a;o++){var s=i[o];s.style.width=e.scrollY?e.gutterWidth+"px":"0",s.style.display=e.scrollY?"":"none"}}}},Rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hn={name:"ElTableBody",mixins:[Fn],components:{ElCheckbox:rn.a,ElTooltip:ke.a},props:{store:{required:!0},stripe:Boolean,context:{},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:String,highlight:Boolean},render:function(e){var t=this,n=this.data||[];return e("table",{class:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[e("colgroup",[this.columns.map(function(t){return e("col",{attrs:{name:t.id},key:t.id})})]),e("tbody",[n.reduce(function(e,n){return e.concat(t.wrappedRowRender(n,e.length))},[]),e("el-tooltip",{attrs:{effect:this.table.tooltipEffect,placement:"top",content:this.tooltipContent},ref:"tooltip"})])])},computed:Nn({table:function(){return this.$parent}},On({data:"data",columns:"columns",treeIndent:"indent",leftFixedLeafCount:"fixedLeafColumnsLength",rightFixedLeafCount:"rightFixedLeafColumnsLength",columnsCount:function(e){return e.columns.length},leftFixedCount:function(e){return e.fixedColumns.length},rightFixedCount:function(e){return e.rightFixedColumns.length},hasExpandColumn:function(e){return e.columns.some(function(e){return"expand"===e.type})}}),{firstDefaultColumnIndex:function(){return Object(A.arrayFindIndex)(this.columns,function(e){return"default"===e.type})}}),watch:{"store.states.hoverRow":function(e,t){var n=this;if(this.store.states.isComplex&&!this.$isServer){var r=window.requestAnimationFrame;r||(r=function(e){return setTimeout(e,16)}),r(function(){var r=n.$el.querySelectorAll(".el-table__row"),i=r[t],o=r[e];i&&Object(pe.removeClass)(i,"hover-row"),o&&Object(pe.addClass)(o,"hover-row")})}}},data:function(){return{tooltipContent:""}},created:function(){this.activateTooltip=M()(50,function(e){return e.handleShowPopper()})},methods:{getKeyOfRow:function(e,t){var n=this.table.rowKey;return n?mn(e,n):t},isColumnHidden:function(e){return!0===this.fixed||"left"===this.fixed?e>=this.leftFixedLeafCount:"right"===this.fixed?e<this.columnsCount-this.rightFixedLeafCount:e<this.leftFixedLeafCount||e>=this.columnsCount-this.rightFixedLeafCount},getSpan:function(e,t,n,r){var i=1,o=1,a=this.table.spanMethod;if("function"==typeof a){var s=a({row:e,column:t,rowIndex:n,columnIndex:r});Array.isArray(s)?(i=s[0],o=s[1]):"object"===(void 0===s?"undefined":Rn(s))&&(i=s.rowspan,o=s.colspan)}return{rowspan:i,colspan:o}},getRowStyle:function(e,t){var n=this.table.rowStyle;return"function"==typeof n?n.call(null,{row:e,rowIndex:t}):n||null},getRowClass:function(e,t){var n=["el-table__row"];this.table.highlightCurrentRow&&e===this.store.states.currentRow&&n.push("current-row"),this.stripe&&t%2==1&&n.push("el-table__row--striped");var r=this.table.rowClassName;return"string"==typeof r?n.push(r):"function"==typeof r&&n.push(r.call(null,{row:e,rowIndex:t})),this.store.states.expandRows.indexOf(e)>-1&&n.push("expanded"),n},getCellStyle:function(e,t,n,r){var i=this.table.cellStyle;return"function"==typeof i?i.call(null,{rowIndex:e,columnIndex:t,row:n,column:r}):i},getCellClass:function(e,t,n,r){var i=[r.id,r.align,r.className];this.isColumnHidden(t)&&i.push("is-hidden");var o=this.table.cellClassName;return"string"==typeof o?i.push(o):"function"==typeof o&&i.push(o.call(null,{rowIndex:e,columnIndex:t,row:n,column:r})),i.join(" ")},getColspanRealWidth:function(e,t,n){return t<1?e[n].realWidth:e.map(function(e){return e.realWidth}).slice(n,n+t).reduce(function(e,t){return e+t},-1)},handleCellMouseEnter:function(e,t){var n=this.table,r=fn(e);if(r){var i=vn(n,r),o=n.hoverState={cell:r,column:i,row:t};n.$emit("cell-mouse-enter",o.row,o.column,o.cell,e)}var a=e.target.querySelector(".cell");if(Object(pe.hasClass)(a,"el-tooltip")&&a.childNodes.length){var s=document.createRange();if(s.setStart(a,0),s.setEnd(a,a.childNodes.length),(s.getBoundingClientRect().width+((parseInt(Object(pe.getStyle)(a,"paddingLeft"),10)||0)+(parseInt(Object(pe.getStyle)(a,"paddingRight"),10)||0))>a.offsetWidth||a.scrollWidth>a.offsetWidth)&&this.$refs.tooltip){var l=this.$refs.tooltip;this.tooltipContent=r.innerText||r.textContent,l.referenceElm=r,l.$refs.popper&&(l.$refs.popper.style.display="none"),l.doDestroy(),l.setExpectedState(!0),this.activateTooltip(l)}}},handleCellMouseLeave:function(e){var t=this.$refs.tooltip;if(t&&(t.setExpectedState(!1),t.handleClosePopper()),fn(e)){var n=this.table.hoverState||{};this.table.$emit("cell-mouse-leave",n.row,n.column,n.cell,e)}},handleMouseEnter:M()(30,function(e){this.store.commit("setHoverRow",e)}),handleMouseLeave:M()(30,function(){this.store.commit("setHoverRow",null)}),handleContextMenu:function(e,t){this.handleEvent(e,t,"contextmenu")},handleDoubleClick:function(e,t){this.handleEvent(e,t,"dblclick")},handleClick:function(e,t){this.store.commit("setCurrentRow",t),this.handleEvent(e,t,"click")},handleEvent:function(e,t,n){var r=this.table,i=fn(e),o=void 0;i&&(o=vn(r,i))&&r.$emit("cell-"+n,t,o,i,e),r.$emit("row-"+n,t,o,e)},rowRender:function(e,t,n){var r=this,i=this.$createElement,o=this.treeIndent,a=this.columns,s=this.firstDefaultColumnIndex,l=a.map(function(e,t){return r.isColumnHidden(t)}),c=this.getRowClass(e,t),u=!0;return n&&(c.push("el-table__row--level-"+n.level),u=n.display),i("tr",{style:[u?null:{display:"none"},this.getRowStyle(e,t)],class:c,key:this.getKeyOfRow(e,t),on:{dblclick:function(t){return r.handleDoubleClick(t,e)},click:function(t){return r.handleClick(t,e)},contextmenu:function(t){return r.handleContextMenu(t,e)},mouseenter:function(e){return r.handleMouseEnter(t)},mouseleave:this.handleMouseLeave}},[a.map(function(c,u){var h=r.getSpan(e,c,t,u),d=h.rowspan,f=h.colspan;if(!d||!f)return null;var p=Nn({},c);p.realWidth=r.getColspanRealWidth(a,f,u);var A={store:r.store,_self:r.context||r.table.$vnode.context,column:p,row:e,$index:t};return u===s&&n&&(A.treeNode={indent:n.level*o,level:n.level},"boolean"==typeof n.expanded&&(A.treeNode.expanded=n.expanded,"loading"in n&&(A.treeNode.loading=n.loading),"noLazyChildren"in n&&(A.treeNode.noLazyChildren=n.noLazyChildren))),i("td",{style:r.getCellStyle(t,u,e,c),class:r.getCellClass(t,u,e,c),attrs:{rowspan:d,colspan:f},on:{mouseenter:function(t){return r.handleCellMouseEnter(t,e)},mouseleave:r.handleCellMouseLeave}},[c.renderCell.call(r._renderProxy,r.$createElement,A,l[u])])})])},wrappedRowRender:function(e,t){var n=this,r=this.$createElement,i=this.store,o=i.isRowExpanded,a=i.assertRowKey,s=i.states,l=s.treeData,c=s.lazyTreeNodeMap,u=s.childrenColumnName,h=s.rowKey;if(this.hasExpandColumn&&o(e)){var d=this.table.renderExpanded,f=this.rowRender(e,t);return d?[[f,r("tr",{key:"expanded-row__"+f.key},[r("td",{attrs:{colspan:this.columnsCount},class:"el-table__expanded-cell"},[d(this.$createElement,{row:e,$index:t,store:this.store})])])]]:(console.error("[Element Error]renderExpanded is required."),f)}if(Object.keys(l).length){a();var p=mn(e,h),A=l[p],g=null;A&&(g={expanded:A.expanded,level:A.level,display:!0},"boolean"==typeof A.lazy&&("boolean"==typeof A.loaded&&A.loaded&&(g.noLazyChildren=!(A.children&&A.children.length)),g.loading=A.loading));var v=[this.rowRender(e,t,g)];if(A){var m=0;A.display=!0,function e(r,i){r&&r.length&&i&&r.forEach(function(r){var o={display:i.display&&i.expanded,level:i.level+1},a=mn(r,h);if(void 0===a||null===a)throw new Error("for nested data item, row-key is required.");if((A=Nn({},l[a]))&&(o.expanded=A.expanded,A.level=A.level||o.level,A.display=!(!A.expanded||!o.display),"boolean"==typeof A.lazy&&("boolean"==typeof A.loaded&&A.loaded&&(o.noLazyChildren=!(A.children&&A.children.length)),o.loading=A.loading)),m++,v.push(n.rowRender(r,t+m,o)),A){var s=c[a]||r[u];e(s,A)}})}(c[p]||e[u],A)}return v}return this.rowRender(e,t)}}},jn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"}},[e.multiple?n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[n("div",{staticClass:"el-table-filter__content"},[n("el-scrollbar",{attrs:{"wrap-class":"el-table-filter__wrap"}},[n("el-checkbox-group",{staticClass:"el-table-filter__checkbox-group",model:{value:e.filteredValue,callback:function(t){e.filteredValue=t},expression:"filteredValue"}},e._l(e.filters,function(t){return n("el-checkbox",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.text))])}),1)],1)],1),n("div",{staticClass:"el-table-filter__bottom"},[n("button",{class:{"is-disabled":0===e.filteredValue.length},attrs:{disabled:0===e.filteredValue.length},on:{click:e.handleConfirm}},[e._v(e._s(e.t("el.table.confirmFilter")))]),n("button",{on:{click:e.handleReset}},[e._v(e._s(e.t("el.table.resetFilter")))])])]):n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[n("ul",{staticClass:"el-table-filter__list"},[n("li",{staticClass:"el-table-filter__list-item",class:{"is-active":void 0===e.filterValue||null===e.filterValue},on:{click:function(t){e.handleSelect(null)}}},[e._v(e._s(e.t("el.table.clearFilter")))]),e._l(e.filters,function(t){return n("li",{key:t.value,staticClass:"el-table-filter__list-item",class:{"is-active":e.isActive(t)},attrs:{label:t.value},on:{click:function(n){e.handleSelect(t.value)}}},[e._v(e._s(t.text))])})],2)])])};jn._withStripped=!0;var Un=[];!hn.a.prototype.$isServer&&document.addEventListener("click",function(e){Un.forEach(function(t){var n=e.target;t&&t.$el&&(n===t.$el||t.$el.contains(n)||t.handleOutsideClick&&t.handleOutsideClick(e))})});var Qn=function(e){e&&Un.push(e)},zn=function(e){-1!==Un.indexOf(e)&&Un.splice(e,1)},Yn=n(31),Vn=n.n(Yn),Gn=i({name:"ElTableFilterPanel",mixins:[P.a,p.a],directives:{Clickoutside:O.a},components:{ElCheckbox:rn.a,ElCheckboxGroup:Vn.a,ElScrollbar:R.a},props:{placement:{type:String,default:"bottom-end"}},methods:{isActive:function(e){return e.value===this.filterValue},handleOutsideClick:function(){var e=this;setTimeout(function(){e.showPopper=!1},16)},handleConfirm:function(){this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleReset:function(){this.filteredValue=[],this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleSelect:function(e){this.filterValue=e,void 0!==e&&null!==e?this.confirmFilter(this.filteredValue):this.confirmFilter([]),this.handleOutsideClick()},confirmFilter:function(e){this.table.store.commit("filterChange",{column:this.column,values:e}),this.table.store.updateAllSelected()}},data:function(){return{table:null,cell:null,column:null}},computed:{filters:function(){return this.column&&this.column.filters},filterValue:{get:function(){return(this.column.filteredValue||[])[0]},set:function(e){this.filteredValue&&(void 0!==e&&null!==e?this.filteredValue.splice(0,1,e):this.filteredValue.splice(0,1))}},filteredValue:{get:function(){return this.column&&this.column.filteredValue||[]},set:function(e){this.column&&(this.column.filteredValue=e)}},multiple:function(){return!this.column||this.column.filterMultiple}},mounted:function(){var e=this;this.popperElm=this.$el,this.referenceElm=this.cell,this.table.bodyWrapper.addEventListener("scroll",function(){e.updatePopper()}),this.$watch("showPopper",function(t){e.column&&(e.column.filterOpened=t),t?Qn(e):zn(e)})},watch:{showPopper:function(e){!0===e&&parseInt(this.popperJS._popper.style.zIndex,10)<y.PopupManager.zIndex&&(this.popperJS._popper.style.zIndex=y.PopupManager.nextZIndex())}}},jn,[],!1,null,null,null);Gn.options.__file="packages/table/src/filter-panel.vue";var Wn=Gn.exports,Xn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zn=function(e){var t=1;e.forEach(function(e){e.level=1,function e(n,r){if(r&&(n.level=r.level+1,t<n.level&&(t=n.level)),n.children){var i=0;n.children.forEach(function(t){e(t,n),i+=t.colSpan}),n.colSpan=i}else n.colSpan=1}(e)});for(var n=[],r=0;r<t;r++)n.push([]);return function e(t){var n=[];return t.forEach(function(t){t.children?(n.push(t),n.push.apply(n,e(t.children))):n.push(t)}),n}(e).forEach(function(e){e.children?e.rowSpan=1:e.rowSpan=t-e.level+1,n[e.level-1].push(e)}),n},$n={name:"ElTableHeader",mixins:[Fn],render:function(e){var t=this,n=this.store.states.originColumns,r=Zn(n,this.columns),i=r.length>1;return i&&(this.$parent.isGroup=!0),e("table",{class:"el-table__header",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[e("colgroup",[this.columns.map(function(t){return e("col",{attrs:{name:t.id},key:t.id})}),this.hasGutter?e("col",{attrs:{name:"gutter"}}):""]),e("thead",{class:[{"is-group":i,"has-gutter":this.hasGutter}]},[this._l(r,function(n,r){return e("tr",{style:t.getHeaderRowStyle(r),class:t.getHeaderRowClass(r)},[n.map(function(i,o){return e("th",{attrs:{colspan:i.colSpan,rowspan:i.rowSpan},on:{mousemove:function(e){return t.handleMouseMove(e,i)},mouseout:t.handleMouseOut,mousedown:function(e){return t.handleMouseDown(e,i)},click:function(e){return t.handleHeaderClick(e,i)},contextmenu:function(e){return t.handleHeaderContextMenu(e,i)}},style:t.getHeaderCellStyle(r,o,n,i),class:t.getHeaderCellClass(r,o,n,i),key:i.id},[e("div",{class:["cell",i.filteredValue&&i.filteredValue.length>0?"highlight":"",i.labelClassName]},[i.renderHeader?i.renderHeader.call(t._renderProxy,e,{column:i,$index:o,store:t.store,_self:t.$parent.$vnode.context}):i.label,i.sortable?e("span",{class:"caret-wrapper",on:{click:function(e){return t.handleSortClick(e,i)}}},[e("i",{class:"sort-caret ascending",on:{click:function(e){return t.handleSortClick(e,i,"ascending")}}}),e("i",{class:"sort-caret descending",on:{click:function(e){return t.handleSortClick(e,i,"descending")}}})]):"",i.filterable?e("span",{class:"el-table__column-filter-trigger",on:{click:function(e){return t.handleFilterClick(e,i)}}},[e("i",{class:["el-icon-arrow-down",i.filterOpened?"el-icon-arrow-up":""]})]):""])])}),t.hasGutter?e("th",{class:"gutter"}):""])})])])},props:{fixed:String,store:{required:!0},border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},components:{ElCheckbox:rn.a},computed:Xn({table:function(){return this.$parent},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},On({columns:"columns",isAllSelected:"isAllSelected",leftFixedLeafCount:"fixedLeafColumnsLength",rightFixedLeafCount:"rightFixedLeafColumnsLength",columnsCount:function(e){return e.columns.length},leftFixedCount:function(e){return e.fixedColumns.length},rightFixedCount:function(e){return e.rightFixedColumns.length}})),created:function(){this.filterPanels={}},mounted:function(){var e=this;this.$nextTick(function(){var t=e.defaultSort,n=t.prop,r=t.order;e.store.commit("sort",{prop:n,order:r,init:!0})})},beforeDestroy:function(){var e=this.filterPanels;for(var t in e)e.hasOwnProperty(t)&&e[t]&&e[t].$destroy(!0)},methods:{isCellHidden:function(e,t){for(var n=0,r=0;r<e;r++)n+=t[r].colSpan;var i=n+t[e].colSpan-1;return!0===this.fixed||"left"===this.fixed?i>=this.leftFixedLeafCount:"right"===this.fixed?n<this.columnsCount-this.rightFixedLeafCount:i<this.leftFixedLeafCount||n>=this.columnsCount-this.rightFixedLeafCount},getHeaderRowStyle:function(e){var t=this.table.headerRowStyle;return"function"==typeof t?t.call(null,{rowIndex:e}):t},getHeaderRowClass:function(e){var t=[],n=this.table.headerRowClassName;return"string"==typeof n?t.push(n):"function"==typeof n&&t.push(n.call(null,{rowIndex:e})),t.join(" ")},getHeaderCellStyle:function(e,t,n,r){var i=this.table.headerCellStyle;return"function"==typeof i?i.call(null,{rowIndex:e,columnIndex:t,row:n,column:r}):i},getHeaderCellClass:function(e,t,n,r){var i=[r.id,r.order,r.headerAlign,r.className,r.labelClassName];0===e&&this.isCellHidden(t,n)&&i.push("is-hidden"),r.children||i.push("is-leaf"),r.sortable&&i.push("is-sortable");var o=this.table.headerCellClassName;return"string"==typeof o?i.push(o):"function"==typeof o&&i.push(o.call(null,{rowIndex:e,columnIndex:t,row:n,column:r})),i.join(" ")},toggleAllSelection:function(e){e.stopPropagation(),this.store.commit("toggleAllSelection")},handleFilterClick:function(e,t){e.stopPropagation();var n=e.target,r="TH"===n.tagName?n:n.parentNode;if(!Object(pe.hasClass)(r,"noclick")){r=r.querySelector(".el-table__column-filter-trigger")||r;var i=this.$parent,o=this.filterPanels[t.id];o&&t.filterOpened?o.showPopper=!1:(o||(o=new hn.a(Wn),this.filterPanels[t.id]=o,t.filterPlacement&&(o.placement=t.filterPlacement),o.table=i,o.cell=r,o.column=t,!this.$isServer&&o.$mount(document.createElement("div"))),setTimeout(function(){o.showPopper=!0},16))}},handleHeaderClick:function(e,t){!t.filters&&t.sortable?this.handleSortClick(e,t):t.filterable&&!t.sortable&&this.handleFilterClick(e,t),this.$parent.$emit("header-click",t,e)},handleHeaderContextMenu:function(e,t){this.$parent.$emit("header-contextmenu",t,e)},handleMouseDown:function(e,t){var n=this;if(!this.$isServer&&!(t.children&&t.children.length>0)&&this.draggingColumn&&this.border){this.dragging=!0,this.$parent.resizeProxyVisible=!0;var r=this.$parent,i=r.$el.getBoundingClientRect().left,o=this.$el.querySelector("th."+t.id),a=o.getBoundingClientRect(),s=a.left-i+30;Object(pe.addClass)(o,"noclick"),this.dragState={startMouseLeft:e.clientX,startLeft:a.right-i,startColumnLeft:a.left-i,tableLeft:i};var l=r.$refs.resizeProxy;l.style.left=this.dragState.startLeft+"px",document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};var c=function(e){var t=e.clientX-n.dragState.startMouseLeft,r=n.dragState.startLeft+t;l.style.left=Math.max(s,r)+"px"};document.addEventListener("mousemove",c),document.addEventListener("mouseup",function i(){if(n.dragging){var a=n.dragState,s=a.startColumnLeft,u=a.startLeft,h=parseInt(l.style.left,10)-s;t.width=t.realWidth=h,r.$emit("header-dragend",t.width,u-s,t,e),n.store.scheduleLayout(),document.body.style.cursor="",n.dragging=!1,n.draggingColumn=null,n.dragState={},r.resizeProxyVisible=!1}document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",i),document.onselectstart=null,document.ondragstart=null,setTimeout(function(){Object(pe.removeClass)(o,"noclick")},0)})}},handleMouseMove:function(e,t){if(!(t.children&&t.children.length>0)){for(var n=e.target;n&&"TH"!==n.tagName;)n=n.parentNode;if(t&&t.resizable&&!this.dragging&&this.border){var r=n.getBoundingClientRect(),i=document.body.style;r.width>12&&r.right-e.pageX<8?(i.cursor="col-resize",Object(pe.hasClass)(n,"is-sortable")&&(n.style.cursor="col-resize"),this.draggingColumn=t):this.dragging||(i.cursor="",Object(pe.hasClass)(n,"is-sortable")&&(n.style.cursor="pointer"),this.draggingColumn=null)}}},handleMouseOut:function(){this.$isServer||(document.body.style.cursor="")},toggleOrder:function(e){var t=e.order,n=e.sortOrders;if(""===t)return n[0];var r=n.indexOf(t||null);return n[r>n.length-2?0:r+1]},handleSortClick:function(e,t,n){e.stopPropagation();for(var r=t.order===n?null:n||this.toggleOrder(t),i=e.target;i&&"TH"!==i.tagName;)i=i.parentNode;if(i&&"TH"===i.tagName&&Object(pe.hasClass)(i,"noclick"))Object(pe.removeClass)(i,"noclick");else if(t.sortable){var o=this.store.states,a=o.sortProp,s=void 0,l=o.sortingColumn;(l!==t||l===t&&null===l.order)&&(l&&(l.order=null),o.sortingColumn=t,a=t.property),s=t.order=r||null,o.sortProp=a,o.sortOrder=s,this.store.commit("changeSortCondition")}}},data:function(){return{draggingColumn:null,dragging:!1,dragState:{}}}},Kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jn={name:"ElTableFooter",mixins:[Fn],render:function(e){var t=this,n=[];return this.summaryMethod?n=this.summaryMethod({columns:this.columns,data:this.store.states.data}):this.columns.forEach(function(e,r){if(0!==r){var i=t.store.states.data.map(function(t){return Number(t[e.property])}),o=[],a=!0;i.forEach(function(e){if(!isNaN(e)){a=!1;var t=(""+e).split(".")[1];o.push(t?t.length:0)}});var s=Math.max.apply(null,o);n[r]=a?"":i.reduce(function(e,t){var n=Number(t);return isNaN(n)?e:parseFloat((e+t).toFixed(Math.min(s,20)))},0)}else n[r]=t.sumText}),e("table",{class:"el-table__footer",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[e("colgroup",[this.columns.map(function(t){return e("col",{attrs:{name:t.id},key:t.id})}),this.hasGutter?e("col",{attrs:{name:"gutter"}}):""]),e("tbody",{class:[{"has-gutter":this.hasGutter}]},[e("tr",[this.columns.map(function(r,i){return e("td",{key:i,attrs:{colspan:r.colSpan,rowspan:r.rowSpan},class:t.getRowClasses(r,i)},[e("div",{class:["cell",r.labelClassName]},[n[i]])])}),this.hasGutter?e("th",{class:"gutter"}):""])])])},props:{fixed:String,store:{required:!0},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},computed:Kn({table:function(){return this.$parent},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},On({columns:"columns",isAllSelected:"isAllSelected",leftFixedLeafCount:"fixedLeafColumnsLength",rightFixedLeafCount:"rightFixedLeafColumnsLength",columnsCount:function(e){return e.columns.length},leftFixedCount:function(e){return e.fixedColumns.length},rightFixedCount:function(e){return e.rightFixedColumns.length}})),methods:{isCellHidden:function(e,t,n){if(!0===this.fixed||"left"===this.fixed)return e>=this.leftFixedLeafCount;if("right"===this.fixed){for(var r=0,i=0;i<e;i++)r+=t[i].colSpan;return r<this.columnsCount-this.rightFixedLeafCount}return!(this.fixed||!n.fixed)||(e<this.leftFixedCount||e>=this.columnsCount-this.rightFixedCount)},getRowClasses:function(e,t){var n=[e.id,e.align,e.labelClassName];return e.className&&n.push(e.className),this.isCellHidden(t,this.columns,e)&&n.push("is-hidden"),e.children||n.push("is-leaf"),n}}},qn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},er=1,tr=i({name:"ElTable",mixins:[p.a,w.a],directives:{Mousewheel:cn},props:{data:{type:Array,default:function(){return[]}},size:String,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],context:{},showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:function(){return{hasChildren:"hasChildren",children:"children"}}},lazy:Boolean,load:Function},components:{TableHeader:$n,TableFooter:Jn,TableBody:Hn,ElCheckbox:rn.a},methods:{getMigratingConfig:function(){return{events:{expand:"expand is renamed to expand-change"}}},setCurrentRow:function(e){this.store.commit("setCurrentRow",e)},toggleRowSelection:function(e,t){this.store.toggleRowSelection(e,t,!1),this.store.updateAllSelected()},toggleRowExpansion:function(e,t){this.store.toggleRowExpansionAdapter(e,t)},clearSelection:function(){this.store.clearSelection()},clearFilter:function(e){this.store.clearFilter(e)},clearSort:function(){this.store.clearSort()},handleMouseLeave:function(){this.store.commit("setHoverRow",null),this.hoverState&&(this.hoverState=null)},updateScrollY:function(){this.layout.updateScrollY()&&(this.layout.notifyObservers("scrollable"),this.layout.updateColumnsWidth())},handleFixedMousewheel:function(e,t){var n=this.bodyWrapper;if(Math.abs(t.spinY)>0){var r=n.scrollTop;t.pixelY<0&&0!==r&&e.preventDefault(),t.pixelY>0&&n.scrollHeight-n.clientHeight>r&&e.preventDefault(),n.scrollTop+=Math.ceil(t.pixelY/5)}else n.scrollLeft+=Math.ceil(t.pixelX/5)},handleHeaderFooterMousewheel:function(e,t){var n=t.pixelX,r=t.pixelY;Math.abs(n)>=Math.abs(r)&&(this.bodyWrapper.scrollLeft+=t.pixelX/5)},syncPostion:Object(on.throttle)(20,function(){var e=this.bodyWrapper,t=e.scrollLeft,n=e.scrollTop,r=e.offsetWidth,i=e.scrollWidth,o=this.$refs,a=o.headerWrapper,s=o.footerWrapper,l=o.fixedBodyWrapper,c=o.rightFixedBodyWrapper;a&&(a.scrollLeft=t),s&&(s.scrollLeft=t),l&&(l.scrollTop=n),c&&(c.scrollTop=n);var u=i-r-1;this.scrollPosition=t>=u?"right":0===t?"left":"middle"}),bindEvents:function(){this.bodyWrapper.addEventListener("scroll",this.syncPostion,{passive:!0}),this.fit&&Object(Ft.addResizeListener)(this.$el,this.resizeListener)},unbindEvents:function(){this.bodyWrapper.removeEventListener("scroll",this.syncPostion,{passive:!0}),this.fit&&Object(Ft.removeResizeListener)(this.$el,this.resizeListener)},resizeListener:function(){if(this.$ready){var e=!1,t=this.$el,n=this.resizeState,r=n.width,i=n.height,o=t.offsetWidth;r!==o&&(e=!0);var a=t.offsetHeight;(this.height||this.shouldUpdateHeight)&&i!==a&&(e=!0),e&&(this.resizeState.width=o,this.resizeState.height=a,this.doLayout())}},doLayout:function(){this.shouldUpdateHeight&&this.layout.updateElsHeight(),this.layout.updateColumnsWidth()},sort:function(e,t){this.store.commit("sort",{prop:e,order:t})},toggleAllSelection:function(){this.store.commit("toggleAllSelection")}},computed:qn({tableSize:function(){return this.size||(this.$ELEMENT||{}).size},bodyWrapper:function(){return this.$refs.bodyWrapper},shouldUpdateHeight:function(){return this.height||this.maxHeight||this.fixedColumns.length>0||this.rightFixedColumns.length>0},bodyWidth:function(){var e=this.layout,t=e.bodyWidth,n=e.scrollY,r=e.gutterWidth;return t?t-(n?r:0)+"px":""},bodyHeight:function(){var e=this.layout,t=e.headerHeight,n=void 0===t?0:t,r=e.bodyHeight,i=e.footerHeight,o=void 0===i?0:i;if(this.height)return{height:r?r+"px":""};if(this.maxHeight){var a=wn(this.maxHeight);if("number"==typeof a)return{"max-height":a-o-(this.showHeader?n:0)+"px"}}return{}},fixedBodyHeight:function(){if(this.height)return{height:this.layout.fixedBodyHeight?this.layout.fixedBodyHeight+"px":""};if(this.maxHeight){var e=wn(this.maxHeight);if("number"==typeof e)return e=this.layout.scrollX?e-this.layout.gutterWidth:e,this.showHeader&&(e-=this.layout.headerHeight),{"max-height":(e-=this.layout.footerHeight)+"px"}}return{}},fixedHeight:function(){return this.maxHeight?this.showSummary?{bottom:0}:{bottom:this.layout.scrollX&&this.data.length?this.layout.gutterWidth+"px":""}:this.showSummary?{height:this.layout.tableHeight?this.layout.tableHeight+"px":""}:{height:this.layout.viewportHeight?this.layout.viewportHeight+"px":""}},emptyBlockStyle:function(){if(this.data&&this.data.length)return null;var e="100%";return this.layout.appendHeight&&(e="calc(100% - "+this.layout.appendHeight+"px)"),{width:this.bodyWidth,height:e}}},On({selection:"selection",columns:"columns",tableData:"data",fixedColumns:"fixedColumns",rightFixedColumns:"rightFixedColumns"})),watch:{height:{immediate:!0,handler:function(e){this.layout.setHeight(e)}},maxHeight:{immediate:!0,handler:function(e){this.layout.setMaxHeight(e)}},currentRowKey:{immediate:!0,handler:function(e){this.rowKey&&this.store.setCurrentRowKey(e)}},data:{immediate:!0,handler:function(e){this.store.commit("setData",e)}},expandRowKeys:{immediate:!0,handler:function(e){e&&this.store.setExpandRowKeysAdapter(e)}}},created:function(){var e=this;this.tableId="el-table_"+er++,this.debouncedUpdateLayout=Object(on.debounce)(50,function(){return e.doLayout()})},mounted:function(){var e=this;this.bindEvents(),this.store.updateColumns(),this.doLayout(),this.resizeState={width:this.$el.offsetWidth,height:this.$el.offsetHeight},this.store.states.columns.forEach(function(t){t.filteredValue&&t.filteredValue.length&&e.store.commit("filterChange",{column:t,values:t.filteredValue,silent:!0})}),this.$ready=!0},destroyed:function(){this.unbindEvents()},data:function(){var e=this.treeProps,t=e.hasChildren,n=void 0===t?"hasChildren":t,r=e.children,i=void 0===r?"children":r;return this.store=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Table is required.");var n=new Dn;return n.table=e,n.toggleAllSelection=M()(10,n._toggleAllSelection),Object.keys(t).forEach(function(e){n.states[e]=t[e]}),n}(this,{rowKey:this.rowKey,defaultExpandAll:this.defaultExpandAll,selectOnIndeterminate:this.selectOnIndeterminate,indent:this.indent,lazy:this.lazy,lazyColumnIdentifier:n,childrenColumnName:i}),{layout:new Pn({store:this.store,table:this,fit:this.fit,showHeader:this.showHeader}),isHidden:!1,renderExpanded:null,resizeProxyVisible:!1,resizeState:{width:null,height:null},isGroup:!1,scrollPosition:"left"}}},tn,[],!1,null,null,null);tr.options.__file="packages/table/src/table.vue";var nr=tr.exports;nr.install=function(e){e.component(nr.name,nr)};var rr=nr,ir={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:"",className:"el-table-column--selection"},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},or={selection:{renderHeader:function(e,t){var n=t.store;return e("el-checkbox",{attrs:{disabled:n.states.data&&0===n.states.data.length,indeterminate:n.states.selection.length>0&&!this.isAllSelected,value:this.isAllSelected},nativeOn:{click:this.toggleAllSelection}})},renderCell:function(e,t){var n=t.row,r=t.column,i=t.store,o=t.$index;return e("el-checkbox",{nativeOn:{click:function(e){return e.stopPropagation()}},attrs:{value:i.isSelected(n),disabled:!!r.selectable&&!r.selectable.call(null,n,o)},on:{input:function(){i.commit("rowSelectedChanged",n)}}})},sortable:!1,resizable:!1},index:{renderHeader:function(e,t){return t.column.label||"#"},renderCell:function(e,t){var n=t.$index,r=n+1,i=t.column.index;return"number"==typeof i?r=n+i:"function"==typeof i&&(r=i(n)),e("div",[r])},sortable:!1},expand:{renderHeader:function(e,t){return t.column.label||""},renderCell:function(e,t){var n=t.row,r=t.store,i=["el-table__expand-icon"];r.states.expandRows.indexOf(n)>-1&&i.push("el-table__expand-icon--expanded");return e("div",{class:i,on:{click:function(e){e.stopPropagation(),r.toggleRowExpansion(n)}}},[e("i",{class:"el-icon el-icon-arrow-right"})])},sortable:!1,resizable:!1,className:"el-table__expand-column"}};function ar(e,t){var n=t.row,r=t.column,i=t.$index,o=r.property,a=o&&Object(A.getPropByPath)(n,o).v;return r&&r.formatter?r.formatter(n,r,a,i):a}var sr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lr=1,cr={name:"ElTableColumn",props:{type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{},minWidth:{},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showTooltipWhenOverflow:Boolean,showOverflowTooltip:Boolean,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:function(){return["ascending","descending",null]},validator:function(e){return e.every(function(e){return["ascending","descending",null].indexOf(e)>-1})}}},data:function(){return{isSubColumn:!1,columns:[]}},computed:{owner:function(){for(var e=this.$parent;e&&!e.tableId;)e=e.$parent;return e},columnOrTableParent:function(){for(var e=this.$parent;e&&!e.tableId&&!e.columnId;)e=e.$parent;return e},realWidth:function(){return _n(this.width)},realMinWidth:function(){return void 0!==(e=this.minWidth)&&(e=_n(e),isNaN(e)&&(e=80)),e;var e},realAlign:function(){return this.align?"is-"+this.align:null},realHeaderAlign:function(){return this.headerAlign?"is-"+this.headerAlign:this.realAlign}},methods:{getPropsData:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce(function(t,n){return Array.isArray(n)&&n.forEach(function(n){t[n]=e[n]}),t},{})},getColumnElIndex:function(e,t){return[].indexOf.call(e,t)},setColumnWidth:function(e){return this.realWidth&&(e.width=this.realWidth),this.realMinWidth&&(e.minWidth=this.realMinWidth),e.minWidth||(e.minWidth=80),e.realWidth=void 0===e.width?e.minWidth:e.width,e},setColumnForcedProps:function(e){var t=e.type,n=or[t]||{};return Object.keys(n).forEach(function(t){var r=n[t];void 0!==r&&(e[t]="className"===t?e[t]+" "+r:r)}),e},setColumnRenders:function(e){var t=this;this.$createElement;this.renderHeader?console.warn("[Element Warn][TableColumn]Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header."):"selection"!==e.type&&(e.renderHeader=function(n,r){var i=t.$scopedSlots.header;return i?i(r):e.label});var n=e.renderCell;return"expand"===e.type?(e.renderCell=function(e,t){return e("div",{class:"cell"},[n(e,t)])},this.owner.renderExpanded=function(e,n){return t.$scopedSlots.default?t.$scopedSlots.default(n):t.$slots.default}):(n=n||ar,e.renderCell=function(r,i){var o=null;o=t.$scopedSlots.default?t.$scopedSlots.default(i):n(r,i);var a=function(e,t){var n=t.row,r=t.treeNode,i=t.store;if(!r)return null;var o=[];if(r.indent&&o.push(e("span",{class:"el-table__indent",style:{"padding-left":r.indent+"px"}})),"boolean"!=typeof r.expanded||r.noLazyChildren)o.push(e("span",{class:"el-table__placeholder"}));else{var a=["el-table__expand-icon",r.expanded?"el-table__expand-icon--expanded":""],s=["el-icon-arrow-right"];r.loading&&(s=["el-icon-loading"]),o.push(e("div",{class:a,on:{click:function(e){e.stopPropagation(),i.loadOrToggle(n)}}},[e("i",{class:s})]))}return o}(r,i),s={class:"cell",style:{}};return e.showOverflowTooltip&&(s.class+=" el-tooltip",s.style={width:(i.column.realWidth||i.column.width)-1+"px"}),r("div",s,[a,o])}),e},registerNormalWatchers:function(){var e=this,t={prop:"property",realAlign:"align",realHeaderAlign:"headerAlign",realWidth:"width"},n=["label","property","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"].reduce(function(e,t){return e[t]=t,e},t);Object.keys(n).forEach(function(n){var r=t[n];e.$watch(n,function(t){e.columnConfig[r]=t})})},registerComplexWatchers:function(){var e=this,t={realWidth:"width",realMinWidth:"minWidth"},n=["fixed"].reduce(function(e,t){return e[t]=t,e},t);Object.keys(n).forEach(function(n){var r=t[n];e.$watch(n,function(t){e.columnConfig[r]=t;var n="fixed"===r;e.owner.store.scheduleLayout(n)})})}},components:{ElCheckbox:rn.a},beforeCreate:function(){this.row={},this.column={},this.$index=0,this.columnId=""},created:function(){var e=this.columnOrTableParent;this.isSubColumn=this.owner!==e,this.columnId=(e.tableId||e.columnId)+"_column_"+lr++;var t=this.type||"default",n=""===this.sortable||this.sortable,r=sr({},ir[t],{id:this.columnId,type:t,property:this.prop||this.property,align:this.realAlign,headerAlign:this.realHeaderAlign,showOverflowTooltip:this.showOverflowTooltip||this.showTooltipWhenOverflow,filterable:this.filters||this.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,filterOpened:!1,sortable:n,index:this.index}),i=this.getPropsData(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);i=function(e,t){var n={},r=void 0;for(r in e)n[r]=e[r];for(r in t)if(bn(t,r)){var i=t[r];void 0!==i&&(n[r]=i)}return n}(r,i),i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}(this.setColumnRenders,this.setColumnWidth,this.setColumnForcedProps)(i),this.columnConfig=i,this.registerNormalWatchers(),this.registerComplexWatchers()},mounted:function(){var e=this.owner,t=this.columnOrTableParent,n=this.isSubColumn?t.$el.children:t.$refs.hiddenColumns.children,r=this.getColumnElIndex(n,this.$el);e.store.commit("insertColumn",this.columnConfig,r,this.isSubColumn?t.columnConfig:null)},destroyed:function(){if(this.$parent){var e=this.$parent;this.owner.store.commit("removeColumn",this.columnConfig,this.isSubColumn?e.columnConfig:null)}},render:function(e){return e("div",this.$slots.default)},install:function(e){e.component(cr.name,cr)}},ur=cr,hr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.ranged?n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor el-range-editor el-input__inner",class:["el-date-editor--"+e.type,e.pickerSize?"el-range-editor--"+e.pickerSize:"",e.pickerDisabled?"is-disabled":"",e.pickerVisible?"is-active":""],on:{click:e.handleRangeClick,mouseenter:e.handleMouseEnter,mouseleave:function(t){e.showClose=!1},keydown:e.handleKeydown}},[n("i",{class:["el-input__icon","el-range__icon",e.triggerClass]}),n("input",e._b({staticClass:"el-range-input",attrs:{autocomplete:"off",placeholder:e.startPlaceholder,disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,name:e.name&&e.name[0]},domProps:{value:e.displayValue&&e.displayValue[0]},on:{input:e.handleStartInput,change:e.handleStartChange,focus:e.handleFocus}},"input",e.firstInputId,!1)),e._t("range-separator",[n("span",{staticClass:"el-range-separator"},[e._v(e._s(e.rangeSeparator))])]),n("input",e._b({staticClass:"el-range-input",attrs:{autocomplete:"off",placeholder:e.endPlaceholder,disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,name:e.name&&e.name[1]},domProps:{value:e.displayValue&&e.displayValue[1]},on:{input:e.handleEndInput,change:e.handleEndChange,focus:e.handleFocus}},"input",e.secondInputId,!1)),e.haveTrigger?n("i",{staticClass:"el-input__icon el-range__close-icon",class:[e.showClose?""+e.clearIcon:""],on:{click:e.handleClickIcon}}):e._e()],2):n("el-input",e._b({directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor",class:"el-date-editor--"+e.type,attrs:{readonly:!e.editable||e.readonly||"dates"===e.type||"week"===e.type,disabled:e.pickerDisabled,size:e.pickerSize,name:e.name,placeholder:e.placeholder,value:e.displayValue,validateEvent:!1},on:{focus:e.handleFocus,input:function(t){return e.userInput=t},change:e.handleChange},nativeOn:{keydown:function(t){return e.handleKeydown(t)},mouseenter:function(t){return e.handleMouseEnter(t)},mouseleave:function(t){e.showClose=!1}}},"el-input",e.firstInputId,!1),[n("i",{staticClass:"el-input__icon",class:e.triggerClass,attrs:{slot:"prefix"},on:{click:e.handleFocus},slot:"prefix"}),e.haveTrigger?n("i",{staticClass:"el-input__icon",class:[e.showClose?""+e.clearIcon:""],attrs:{slot:"suffix"},on:{click:e.handleClickIcon},slot:"suffix"}):e._e()])};hr._withStripped=!0;var dr=n(0),fr={props:{appendToBody:P.a.props.appendToBody,offset:P.a.props.offset,boundariesPadding:P.a.props.boundariesPadding,arrowOffset:P.a.props.arrowOffset},methods:P.a.methods,data:function(){return Ue()({visibleArrow:!0},P.a.data)},beforeDestroy:P.a.beforeDestroy},pr={date:"yyyy-MM-dd",month:"yyyy-MM",datetime:"yyyy-MM-dd HH:mm:ss",time:"HH:mm:ss",week:"yyyywWW",timerange:"HH:mm:ss",daterange:"yyyy-MM-dd",monthrange:"yyyy-MM",datetimerange:"yyyy-MM-dd HH:mm:ss",year:"yyyy"},Ar=["date","datetime","time","time-select","week","month","year","daterange","monthrange","timerange","datetimerange","dates"],gr=function(e,t){return"timestamp"===t?e.getTime():Object(dr.formatDate)(e,t)},vr=function(e,t){return"timestamp"===t?new Date(Number(e)):Object(dr.parseDate)(e,t)},mr=function(e,t){if(Array.isArray(e)&&2===e.length){var n=e[0],r=e[1];if(n&&r)return[gr(n,t),gr(r,t)]}return""},yr=function(e,t,n){if(Array.isArray(e)||(e=e.split(n)),2===e.length){var r=e[0],i=e[1];return[vr(r,t),vr(i,t)]}return[]},br={default:{formatter:function(e){return e?""+e:""},parser:function(e){return void 0===e||""===e?null:e}},week:{formatter:function(e,t){var n=Object(dr.getWeekNumber)(e),r=e.getMonth(),i=new Date(e);1===n&&11===r&&(i.setHours(0,0,0,0),i.setDate(i.getDate()+3-(i.getDay()+6)%7));var o=Object(dr.formatDate)(i,t);return o=/WW/.test(o)?o.replace(/WW/,n<10?"0"+n:n):o.replace(/W/,n)},parser:function(e,t){return br.date.parser(e,t)}},date:{formatter:gr,parser:vr},datetime:{formatter:gr,parser:vr},daterange:{formatter:mr,parser:yr},monthrange:{formatter:mr,parser:yr},datetimerange:{formatter:mr,parser:yr},timerange:{formatter:mr,parser:yr},time:{formatter:gr,parser:vr},month:{formatter:gr,parser:vr},year:{formatter:gr,parser:vr},number:{formatter:function(e){return e?""+e:""},parser:function(e){var t=Number(e);return isNaN(e)?null:t}},dates:{formatter:function(e,t){return e.map(function(e){return gr(e,t)})},parser:function(e,t){return("string"==typeof e?e.split(", "):e).map(function(e){return e instanceof Date?e:vr(e,t)})}}},_r={left:"bottom-start",center:"bottom",right:"bottom-end"},wr=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"-";return e?(0,(br[n]||br.default).parser)(e,t||pr[n],r):null},xr=function(e,t,n){return e?(0,(br[n]||br.default).formatter)(e,t||pr[n]):null},Cr=function(e,t){var n=function(e,t){var n=e instanceof Date,r=t instanceof Date;return n&&r?e.getTime()===t.getTime():!n&&!r&&e===t},r=e instanceof Array,i=t instanceof Array;return r&&i?e.length===t.length&&e.every(function(e,r){return n(e,t[r])}):!r&&!i&&n(e,t)},Sr=function(e){return"string"==typeof e||e instanceof String},Br=function(e){return null===e||void 0===e||Sr(e)||Array.isArray(e)&&2===e.length&&e.every(Sr)},kr=i({mixins:[C.a,fr],inject:{elForm:{default:""},elFormItem:{default:""}},props:{size:String,format:String,valueFormat:String,readonly:Boolean,placeholder:String,startPlaceholder:String,endPlaceholder:String,prefixIcon:String,clearIcon:{type:String,default:"el-icon-circle-close"},name:{default:"",validator:Br},disabled:Boolean,clearable:{type:Boolean,default:!0},id:{default:"",validator:Br},popperClass:String,editable:{type:Boolean,default:!0},align:{type:String,default:"left"},value:{},defaultValue:{},defaultTime:{},rangeSeparator:{default:"-"},pickerOptions:{},unlinkPanels:Boolean,validateEvent:{type:Boolean,default:!0}},components:{ElInput:d.a},directives:{Clickoutside:O.a},data:function(){return{pickerVisible:!1,showClose:!1,userInput:null,valueOnOpen:null,unwatchPickerOptions:null}},watch:{pickerVisible:function(e){this.readonly||this.pickerDisabled||(e?(this.showPicker(),this.valueOnOpen=Array.isArray(this.value)?[].concat(this.value):this.value):(this.hidePicker(),this.emitChange(this.value),this.userInput=null,this.validateEvent&&this.dispatch("ElFormItem","el.form.blur"),this.$emit("blur",this),this.blur()))},parsedValue:{immediate:!0,handler:function(e){this.picker&&(this.picker.value=e)}},defaultValue:function(e){this.picker&&(this.picker.defaultValue=e)},value:function(e,t){Cr(e,t)||this.pickerVisible||!this.validateEvent||this.dispatch("ElFormItem","el.form.change",e)}},computed:{ranged:function(){return this.type.indexOf("range")>-1},reference:function(){var e=this.$refs.reference;return e.$el||e},refInput:function(){return this.reference?[].slice.call(this.reference.querySelectorAll("input")):[]},valueIsEmpty:function(){var e=this.value;if(Array.isArray(e)){for(var t=0,n=e.length;t<n;t++)if(e[t])return!1}else if(e)return!1;return!0},triggerClass:function(){return this.prefixIcon||(-1!==this.type.indexOf("time")?"el-icon-time":"el-icon-date")},selectionMode:function(){return"week"===this.type?"week":"month"===this.type?"month":"year"===this.type?"year":"dates"===this.type?"dates":"day"},haveTrigger:function(){return void 0!==this.showTrigger?this.showTrigger:-1!==Ar.indexOf(this.type)},displayValue:function(){var e=xr(this.parsedValue,this.format,this.type,this.rangeSeparator);return Array.isArray(this.userInput)?[this.userInput[0]||e&&e[0]||"",this.userInput[1]||e&&e[1]||""]:null!==this.userInput?this.userInput:e?"dates"===this.type?e.join(", "):e:""},parsedValue:function(){return this.value?"time-select"===this.type?this.value:Object(dr.isDateObject)(this.value)||Array.isArray(this.value)&&this.value.every(dr.isDateObject)?this.value:this.valueFormat?wr(this.value,this.valueFormat,this.type,this.rangeSeparator)||this.value:Array.isArray(this.value)?this.value.map(function(e){return new Date(e)}):new Date(this.value):this.value},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},pickerSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},pickerDisabled:function(){return this.disabled||(this.elForm||{}).disabled},firstInputId:function(){var e={},t=void 0;return(t=this.ranged?this.id&&this.id[0]:this.id)&&(e.id=t),e},secondInputId:function(){var e={},t=void 0;return this.ranged&&(t=this.id&&this.id[1]),t&&(e.id=t),e}},created:function(){this.popperOptions={boundariesPadding:0,gpuAcceleration:!1},this.placement=_r[this.align]||_r.left,this.$on("fieldReset",this.handleFieldReset)},methods:{focus:function(){this.ranged?this.handleFocus():this.$refs.reference.focus()},blur:function(){this.refInput.forEach(function(e){return e.blur()})},parseValue:function(e){var t=Object(dr.isDateObject)(e)||Array.isArray(e)&&e.every(dr.isDateObject);return this.valueFormat&&!t&&wr(e,this.valueFormat,this.type,this.rangeSeparator)||e},formatToValue:function(e){var t=Object(dr.isDateObject)(e)||Array.isArray(e)&&e.every(dr.isDateObject);return this.valueFormat&&t?xr(e,this.valueFormat,this.type,this.rangeSeparator):e},parseString:function(e){var t=Array.isArray(e)?this.type:this.type.replace("range","");return wr(e,this.format,t)},formatToString:function(e){var t=Array.isArray(e)?this.type:this.type.replace("range","");return xr(e,this.format,t)},handleMouseEnter:function(){this.readonly||this.pickerDisabled||!this.valueIsEmpty&&this.clearable&&(this.showClose=!0)},handleChange:function(){if(this.userInput){var e=this.parseString(this.displayValue);e&&(this.picker.value=e,this.isValidValue(e)&&(this.emitInput(e),this.userInput=null))}""===this.userInput&&(this.emitInput(null),this.emitChange(null),this.userInput=null)},handleStartInput:function(e){this.userInput?this.userInput=[e.target.value,this.userInput[1]]:this.userInput=[e.target.value,null]},handleEndInput:function(e){this.userInput?this.userInput=[this.userInput[0],e.target.value]:this.userInput=[null,e.target.value]},handleStartChange:function(e){var t=this.parseString(this.userInput&&this.userInput[0]);if(t){this.userInput=[this.formatToString(t),this.displayValue[1]];var n=[t,this.picker.value&&this.picker.value[1]];this.picker.value=n,this.isValidValue(n)&&(this.emitInput(n),this.userInput=null)}},handleEndChange:function(e){var t=this.parseString(this.userInput&&this.userInput[1]);if(t){this.userInput=[this.displayValue[0],this.formatToString(t)];var n=[this.picker.value&&this.picker.value[0],t];this.picker.value=n,this.isValidValue(n)&&(this.emitInput(n),this.userInput=null)}},handleClickIcon:function(e){this.readonly||this.pickerDisabled||(this.showClose?(this.valueOnOpen=this.value,e.stopPropagation(),this.emitInput(null),this.emitChange(null),this.showClose=!1,this.picker&&"function"==typeof this.picker.handleClear&&this.picker.handleClear()):this.pickerVisible=!this.pickerVisible)},handleClose:function(){if(this.pickerVisible&&(this.pickerVisible=!1,"dates"===this.type)){var e=wr(this.valueOnOpen,this.valueFormat,this.type,this.rangeSeparator)||this.valueOnOpen;this.emitInput(e)}},handleFieldReset:function(e){this.userInput=""===e?null:e},handleFocus:function(){var e=this.type;-1===Ar.indexOf(e)||this.pickerVisible||(this.pickerVisible=!0),this.$emit("focus",this)},handleKeydown:function(e){var t=this,n=e.keyCode;return 27===n?(this.pickerVisible=!1,void e.stopPropagation()):9!==n?13===n?((""===this.userInput||this.isValidValue(this.parseString(this.displayValue)))&&(this.handleChange(),this.pickerVisible=this.picker.visible=!1,this.blur()),void e.stopPropagation()):void(this.userInput?e.stopPropagation():this.picker&&this.picker.handleKeydown&&this.picker.handleKeydown(e)):void(this.ranged?setTimeout(function(){-1===t.refInput.indexOf(document.activeElement)&&(t.pickerVisible=!1,t.blur(),e.stopPropagation())},0):(this.handleChange(),this.pickerVisible=this.picker.visible=!1,this.blur(),e.stopPropagation()))},handleRangeClick:function(){var e=this.type;-1===Ar.indexOf(e)||this.pickerVisible||(this.pickerVisible=!0),this.$emit("focus",this)},hidePicker:function(){this.picker&&(this.picker.resetView&&this.picker.resetView(),this.pickerVisible=this.picker.visible=!1,this.destroyPopper())},showPicker:function(){var e=this;this.$isServer||(this.picker||this.mountPicker(),this.pickerVisible=this.picker.visible=!0,this.updatePopper(),this.picker.value=this.parsedValue,this.picker.resetView&&this.picker.resetView(),this.$nextTick(function(){e.picker.adjustSpinners&&e.picker.adjustSpinners()}))},mountPicker:function(){var e=this;this.picker=new hn.a(this.panel).$mount(),this.picker.defaultValue=this.defaultValue,this.picker.defaultTime=this.defaultTime,this.picker.popperClass=this.popperClass,this.popperElm=this.picker.$el,this.picker.width=this.reference.getBoundingClientRect().width,this.picker.showTime="datetime"===this.type||"datetimerange"===this.type,this.picker.selectionMode=this.selectionMode,this.picker.unlinkPanels=this.unlinkPanels,this.picker.arrowControl=this.arrowControl||this.timeArrowControl||!1,this.$watch("format",function(t){e.picker.format=t});var t=function(){var t=e.pickerOptions;if(t&&t.selectableRange){var n=t.selectableRange,r=br.datetimerange.parser,i=pr.timerange;n=Array.isArray(n)?n:[n],e.picker.selectableRange=n.map(function(t){return r(t,i,e.rangeSeparator)})}for(var o in t)t.hasOwnProperty(o)&&"selectableRange"!==o&&(e.picker[o]=t[o]);e.format&&(e.picker.format=e.format)};t(),this.unwatchPickerOptions=this.$watch("pickerOptions",function(){return t()},{deep:!0}),this.$el.appendChild(this.picker.$el),this.picker.resetView&&this.picker.resetView(),this.picker.$on("dodestroy",this.doDestroy),this.picker.$on("pick",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.userInput=null,e.pickerVisible=e.picker.visible=n,e.emitInput(t),e.picker.resetView&&e.picker.resetView()}),this.picker.$on("select-range",function(t,n,r){0!==e.refInput.length&&(r&&"min"!==r?"max"===r&&(e.refInput[1].setSelectionRange(t,n),e.refInput[1].focus()):(e.refInput[0].setSelectionRange(t,n),e.refInput[0].focus()))})},unmountPicker:function(){this.picker&&(this.picker.$destroy(),this.picker.$off(),"function"==typeof this.unwatchPickerOptions&&this.unwatchPickerOptions(),this.picker.$el.parentNode.removeChild(this.picker.$el))},emitChange:function(e){Cr(e,this.valueOnOpen)||(this.$emit("change",e),this.valueOnOpen=e,this.validateEvent&&this.dispatch("ElFormItem","el.form.change",e))},emitInput:function(e){var t=this.formatToValue(e);Cr(this.value,t)||this.$emit("input",t)},isValidValue:function(e){return this.picker||this.mountPicker(),!this.picker.isValidValue||e&&this.picker.isValidValue(e)}}},hr,[],!1,null,null,null);kr.options.__file="packages/date-picker/src/picker.vue";var Tr=kr.exports,Er=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-enter":e.handleEnter,"after-leave":e.handleLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts,"has-time":e.showTime},e.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,function(t,r){return n("button",{key:r,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])}),0):e._e(),n("div",{staticClass:"el-picker-panel__body"},[e.showTime?n("div",{staticClass:"el-date-picker__time-header"},[n("span",{staticClass:"el-date-picker__editor-wrap"},[n("el-input",{attrs:{placeholder:e.t("el.datepicker.selectDate"),value:e.visibleDate,size:"small"},on:{input:function(t){return e.userInputDate=t},change:e.handleVisibleDateChange}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleTimePickClose,expression:"handleTimePickClose"}],staticClass:"el-date-picker__editor-wrap"},[n("el-input",{ref:"input",attrs:{placeholder:e.t("el.datepicker.selectTime"),value:e.visibleTime,size:"small"},on:{focus:function(t){e.timePickerVisible=!0},input:function(t){return e.userInputTime=t},change:e.handleVisibleTimeChange}}),n("time-picker",{ref:"timepicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.timePickerVisible},on:{pick:e.handleTimePick,mounted:e.proxyTimePickerDataProperties}})],1)]):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:"time"!==e.currentView,expression:"currentView !== 'time'"}],staticClass:"el-date-picker__header",class:{"el-date-picker__header--bordered":"year"===e.currentView||"month"===e.currentView}},[n("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-d-arrow-left",attrs:{type:"button","aria-label":e.t("el.datepicker.prevYear")},on:{click:e.prevYear}}),n("button",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-arrow-left",attrs:{type:"button","aria-label":e.t("el.datepicker.prevMonth")},on:{click:e.prevMonth}}),n("span",{staticClass:"el-date-picker__header-label",attrs:{role:"button"},on:{click:e.showYearPicker}},[e._v(e._s(e.yearLabel))]),n("span",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-date-picker__header-label",class:{active:"month"===e.currentView},attrs:{role:"button"},on:{click:e.showMonthPicker}},[e._v(e._s(e.t("el.datepicker.month"+(e.month+1))))]),n("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-d-arrow-right",attrs:{type:"button","aria-label":e.t("el.datepicker.nextYear")},on:{click:e.nextYear}}),n("button",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-arrow-right",attrs:{type:"button","aria-label":e.t("el.datepicker.nextMonth")},on:{click:e.nextMonth}})]),n("div",{staticClass:"el-picker-panel__content"},[n("date-table",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],attrs:{"selection-mode":e.selectionMode,"first-day-of-week":e.firstDayOfWeek,value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"cell-class-name":e.cellClassName,"disabled-date":e.disabledDate},on:{pick:e.handleDatePick}}),n("year-table",{directives:[{name:"show",rawName:"v-show",value:"year"===e.currentView,expression:"currentView === 'year'"}],attrs:{value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"disabled-date":e.disabledDate},on:{pick:e.handleYearPick}}),n("month-table",{directives:[{name:"show",rawName:"v-show",value:"month"===e.currentView,expression:"currentView === 'month'"}],attrs:{value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"disabled-date":e.disabledDate},on:{pick:e.handleMonthPick}})],1)])],2),n("div",{directives:[{name:"show",rawName:"v-show",value:e.footerVisible&&"date"===e.currentView,expression:"footerVisible && currentView === 'date'"}],staticClass:"el-picker-panel__footer"},[n("el-button",{directives:[{name:"show",rawName:"v-show",value:"dates"!==e.selectionMode,expression:"selectionMode !== 'dates'"}],staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:e.changeToNow}},[e._v("\n "+e._s(e.t("el.datepicker.now"))+"\n ")]),n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini"},on:{click:e.confirm}},[e._v("\n "+e._s(e.t("el.datepicker.confirm"))+"\n ")])],1)])])};Er._withStripped=!0;var Mr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-time-panel el-popper",class:e.popperClass},[n("div",{staticClass:"el-time-panel__content",class:{"has-seconds":e.showSeconds}},[n("time-spinner",{ref:"spinner",attrs:{"arrow-control":e.useArrow,"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,date:e.date},on:{change:e.handleChange,"select-range":e.setSelectionRange}})],1),n("div",{staticClass:"el-time-panel__footer"},[n("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:e.handleCancel}},[e._v(e._s(e.t("el.datepicker.cancel")))]),n("button",{staticClass:"el-time-panel__btn",class:{confirm:!e.disabled},attrs:{type:"button"},on:{click:function(t){e.handleConfirm()}}},[e._v(e._s(e.t("el.datepicker.confirm")))])])])])};Mr._withStripped=!0;var Dr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-time-spinner",class:{"has-seconds":e.showSeconds}},[e.arrowControl?e._e():[n("el-scrollbar",{ref:"hours",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("hours")},mousemove:function(t){e.adjustCurrentSpinner("hours")}}},e._l(e.hoursList,function(t,r){return n("li",{key:r,staticClass:"el-time-spinner__item",class:{active:r===e.hours,disabled:t},on:{click:function(n){e.handleClick("hours",{value:r,disabled:t})}}},[e._v(e._s(("0"+(e.amPmMode?r%12||12:r)).slice(-2))+e._s(e.amPm(r)))])}),0),n("el-scrollbar",{ref:"minutes",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("minutes")},mousemove:function(t){e.adjustCurrentSpinner("minutes")}}},e._l(e.minutesList,function(t,r){return n("li",{key:r,staticClass:"el-time-spinner__item",class:{active:r===e.minutes,disabled:!t},on:{click:function(t){e.handleClick("minutes",{value:r,disabled:!1})}}},[e._v(e._s(("0"+r).slice(-2)))])}),0),n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.showSeconds,expression:"showSeconds"}],ref:"seconds",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("seconds")},mousemove:function(t){e.adjustCurrentSpinner("seconds")}}},e._l(60,function(t,r){return n("li",{key:r,staticClass:"el-time-spinner__item",class:{active:r===e.seconds},on:{click:function(t){e.handleClick("seconds",{value:r,disabled:!1})}}},[e._v(e._s(("0"+r).slice(-2)))])}),0)],e.arrowControl?[n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("hours")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"hours",staticClass:"el-time-spinner__list"},e._l(e.arrowHourList,function(t,r){return n("li",{key:r,staticClass:"el-time-spinner__item",class:{active:t===e.hours,disabled:e.hoursList[t]}},[e._v(e._s(void 0===t?"":("0"+(e.amPmMode?t%12||12:t)).slice(-2)+e.amPm(t)))])}),0)]),n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("minutes")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"minutes",staticClass:"el-time-spinner__list"},e._l(e.arrowMinuteList,function(t,r){return n("li",{key:r,staticClass:"el-time-spinner__item",class:{active:t===e.minutes}},[e._v("\n "+e._s(void 0===t?"":("0"+t).slice(-2))+"\n ")])}),0)]),e.showSeconds?n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("seconds")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"seconds",staticClass:"el-time-spinner__list"},e._l(e.arrowSecondList,function(t,r){return n("li",{key:r,staticClass:"el-time-spinner__item",class:{active:t===e.seconds}},[e._v("\n "+e._s(void 0===t?"":("0"+t).slice(-2))+"\n ")])}),0)]):e._e()]:e._e()],2)};Dr._withStripped=!0;var Or=i({components:{ElScrollbar:R.a},directives:{repeatClick:We},props:{date:{},defaultValue:{},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:String,default:""}},computed:{hours:function(){return this.date.getHours()},minutes:function(){return this.date.getMinutes()},seconds:function(){return this.date.getSeconds()},hoursList:function(){return Object(dr.getRangeHours)(this.selectableRange)},minutesList:function(){return Object(dr.getRangeMinutes)(this.selectableRange,this.hours)},arrowHourList:function(){var e=this.hours;return[e>0?e-1:void 0,e,e<23?e+1:void 0]},arrowMinuteList:function(){var e=this.minutes;return[e>0?e-1:void 0,e,e<59?e+1:void 0]},arrowSecondList:function(){var e=this.seconds;return[e>0?e-1:void 0,e,e<59?e+1:void 0]}},data:function(){return{selectableRange:[],currentScrollbar:null}},mounted:function(){var e=this;this.$nextTick(function(){!e.arrowControl&&e.bindScrollEvent()})},methods:{increase:function(){this.scrollDown(1)},decrease:function(){this.scrollDown(-1)},modifyDateField:function(e,t){switch(e){case"hours":this.$emit("change",Object(dr.modifyTime)(this.date,t,this.minutes,this.seconds));break;case"minutes":this.$emit("change",Object(dr.modifyTime)(this.date,this.hours,t,this.seconds));break;case"seconds":this.$emit("change",Object(dr.modifyTime)(this.date,this.hours,this.minutes,t))}},handleClick:function(e,t){var n=t.value;t.disabled||(this.modifyDateField(e,n),this.emitSelectRange(e),this.adjustSpinner(e,n))},emitSelectRange:function(e){"hours"===e?this.$emit("select-range",0,2):"minutes"===e?this.$emit("select-range",3,5):"seconds"===e&&this.$emit("select-range",6,8),this.currentScrollbar=e},bindScrollEvent:function(){var e=this,t=function(t){e.$refs[t].wrap.onscroll=function(n){e.handleScroll(t,n)}};t("hours"),t("minutes"),t("seconds")},handleScroll:function(e){var t=Math.min(Math.round((this.$refs[e].wrap.scrollTop-(.5*this.scrollBarHeight(e)-10)/this.typeItemHeight(e)+3)/this.typeItemHeight(e)),"hours"===e?23:59);this.modifyDateField(e,t)},adjustSpinners:function(){this.adjustSpinner("hours",this.hours),this.adjustSpinner("minutes",this.minutes),this.adjustSpinner("seconds",this.seconds)},adjustCurrentSpinner:function(e){this.adjustSpinner(e,this[e])},adjustSpinner:function(e,t){if(!this.arrowControl){var n=this.$refs[e].wrap;n&&(n.scrollTop=Math.max(0,t*this.typeItemHeight(e)))}},scrollDown:function(e){var t=this;this.currentScrollbar||this.emitSelectRange("hours");var n=this.currentScrollbar,r=this.hoursList,i=this[n];if("hours"===this.currentScrollbar){var o=Math.abs(e);e=e>0?1:-1;for(var a=r.length;a--&&o;)r[i=(i+e+r.length)%r.length]||o--;if(r[i])return}else i=(i+e+60)%60;this.modifyDateField(n,i),this.adjustSpinner(n,i),this.$nextTick(function(){return t.emitSelectRange(t.currentScrollbar)})},amPm:function(e){if(!("a"===this.amPmMode.toLowerCase()))return"";var t="A"===this.amPmMode,n=e<12?" am":" pm";return t&&(n=n.toUpperCase()),n},typeItemHeight:function(e){return this.$refs[e].$el.querySelector("li").offsetHeight},scrollBarHeight:function(e){return this.$refs[e].$el.offsetHeight}}},Dr,[],!1,null,null,null);Or.options.__file="packages/date-picker/src/basic/time-spinner.vue";var Ir=Or.exports,Lr=i({mixins:[p.a],components:{TimeSpinner:Ir},props:{visible:Boolean,timeArrowControl:Boolean},watch:{visible:function(e){var t=this;e?(this.oldValue=this.value,this.$nextTick(function(){return t.$refs.spinner.emitSelectRange("hours")})):this.needInitAdjust=!0},value:function(e){var t=this,n=void 0;e instanceof Date?n=Object(dr.limitTimeRange)(e,this.selectableRange,this.format):e||(n=this.defaultValue?new Date(this.defaultValue):new Date),this.date=n,this.visible&&this.needInitAdjust&&(this.$nextTick(function(e){return t.adjustSpinners()}),this.needInitAdjust=!1)},selectableRange:function(e){this.$refs.spinner.selectableRange=e},defaultValue:function(e){Object(dr.isDate)(this.value)||(this.date=e?new Date(e):new Date)}},data:function(){return{popperClass:"",format:"HH:mm:ss",value:"",defaultValue:null,date:new Date,oldValue:new Date,selectableRange:[],selectionRange:[0,2],disabled:!1,arrowControl:!1,needInitAdjust:!0}},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},useArrow:function(){return this.arrowControl||this.timeArrowControl||!1},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},methods:{handleCancel:function(){this.$emit("pick",this.oldValue,!1)},handleChange:function(e){this.visible&&(this.date=Object(dr.clearMilliseconds)(e),this.isValidValue(this.date)&&this.$emit("pick",this.date,!0))},setSelectionRange:function(e,t){this.$emit("select-range",e,t),this.selectionRange=[e,t]},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];if(!t){var n=Object(dr.clearMilliseconds)(Object(dr.limitTimeRange)(this.date,this.selectableRange,this.format));this.$emit("pick",n,e,t)}},handleKeydown:function(e){var t=e.keyCode,n={38:-1,40:1,37:-1,39:1};if(37===t||39===t){var r=n[t];return this.changeSelectionRange(r),void e.preventDefault()}if(38===t||40===t){var i=n[t];return this.$refs.spinner.scrollDown(i),void e.preventDefault()}},isValidValue:function(e){return Object(dr.timeWithinRange)(e,this.selectableRange,this.format)},adjustSpinners:function(){return this.$refs.spinner.adjustSpinners()},changeSelectionRange:function(e){var t=[0,3].concat(this.showSeconds?[6]:[]),n=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),r=(t.indexOf(this.selectionRange[0])+e+t.length)%t.length;this.$refs.spinner.emitSelectRange(n[r])}},mounted:function(){var e=this;this.$nextTick(function(){return e.handleConfirm(!0,!0)}),this.$emit("mounted")}},Mr,[],!1,null,null,null);Lr.options.__file="packages/date-picker/src/panel/time.vue";var Pr=Lr.exports,Fr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticClass:"el-year-table",on:{click:e.handleYearTableClick}},[n("tbody",[n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+0)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+1)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+1))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+2)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+2))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+3)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+3))])])]),n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+4)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+4))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+5)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+5))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+6)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+6))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+7)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+7))])])]),n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+8)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+8))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+9)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+9))])]),n("td"),n("td")])])])};Fr._withStripped=!0;var Rr=i({props:{disabledDate:{},value:{},defaultValue:{validator:function(e){return null===e||e instanceof Date&&Object(dr.isDate)(e)}},date:{}},computed:{startYear:function(){return 10*Math.floor(this.date.getFullYear()/10)}},methods:{getCellStyle:function(e){var t={},n=new Date;return t.disabled="function"==typeof this.disabledDate&&function(e){var t=Object(dr.getDayCountOfYear)(e),n=new Date(e,0,1);return Object(dr.range)(t).map(function(e){return Object(dr.nextDate)(n,e)})}(e).every(this.disabledDate),t.current=Object(A.arrayFindIndex)(Object(A.coerceTruthyValueToArray)(this.value),function(t){return t.getFullYear()===e})>=0,t.today=n.getFullYear()===e,t.default=this.defaultValue&&this.defaultValue.getFullYear()===e,t},handleYearTableClick:function(e){var t=e.target;if("A"===t.tagName){if(Object(pe.hasClass)(t.parentNode,"disabled"))return;var n=t.textContent||t.innerText;this.$emit("pick",Number(n))}}}},Fr,[],!1,null,null,null);Rr.options.__file="packages/date-picker/src/basic/year-table.vue";var Nr=Rr.exports,Hr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticClass:"el-month-table",on:{click:e.handleMonthTableClick,mousemove:e.handleMouseMove}},[n("tbody",e._l(e.rows,function(t,r){return n("tr",{key:r},e._l(t,function(t,r){return n("td",{key:r,class:e.getCellStyle(t)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months."+e.months[t.text])))])])])}),0)}),0)])};Hr._withStripped=!0;var jr=function(e){return new Date(e.getFullYear(),e.getMonth())},Ur=function(e){return"number"==typeof e||"string"==typeof e?jr(new Date(e)).getTime():e instanceof Date?jr(e).getTime():NaN},Qr=i({props:{disabledDate:{},value:{},selectionMode:{default:"month"},minDate:{},maxDate:{},defaultValue:{validator:function(e){return null===e||Object(dr.isDate)(e)||Array.isArray(e)&&e.every(dr.isDate)}},date:{},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},mixins:[p.a],watch:{"rangeState.endDate":function(e){this.markRange(this.minDate,e)},minDate:function(e,t){Ur(e)!==Ur(t)&&this.markRange(this.minDate,this.maxDate)},maxDate:function(e,t){Ur(e)!==Ur(t)&&this.markRange(this.minDate,this.maxDate)}},data:function(){return{months:["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],tableRows:[[],[],[]],lastRow:null,lastColumn:null}},methods:{cellMatchesDate:function(e,t){var n=new Date(t);return this.date.getFullYear()===n.getFullYear()&&Number(e.text)===n.getMonth()},getCellStyle:function(e){var t=this,n={},r=this.date.getFullYear(),i=new Date,o=e.text,a=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[];return n.disabled="function"==typeof this.disabledDate&&function(e,t){var n=Object(dr.getDayCountOfMonth)(e,t),r=new Date(e,t,1);return Object(dr.range)(n).map(function(e){return Object(dr.nextDate)(r,e)})}(r,o).every(this.disabledDate),n.current=Object(A.arrayFindIndex)(Object(A.coerceTruthyValueToArray)(this.value),function(e){return e.getFullYear()===r&&e.getMonth()===o})>=0,n.today=i.getFullYear()===r&&i.getMonth()===o,n.default=a.some(function(n){return t.cellMatchesDate(e,n)}),e.inRange&&(n["in-range"]=!0,e.start&&(n["start-date"]=!0),e.end&&(n["end-date"]=!0)),n},getMonthOfCell:function(e){var t=this.date.getFullYear();return new Date(t,e,1)},markRange:function(e,t){e=Ur(e),t=Ur(t)||e;var n=[Math.min(e,t),Math.max(e,t)];e=n[0],t=n[1];for(var r=this.rows,i=0,o=r.length;i<o;i++)for(var a=r[i],s=0,l=a.length;s<l;s++){var c=a[s],u=4*i+s,h=new Date(this.date.getFullYear(),u).getTime();c.inRange=e&&h>=e&&h<=t,c.start=e&&h===e,c.end=t&&h===t}},handleMouseMove:function(e){if(this.rangeState.selecting){var t=e.target;if("A"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var n=t.parentNode.rowIndex,r=t.cellIndex;this.rows[n][r].disabled||n===this.lastRow&&r===this.lastColumn||(this.lastRow=n,this.lastColumn=r,this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:{selecting:!0,endDate:this.getMonthOfCell(4*n+r)}}))}}},handleMonthTableClick:function(e){var t=e.target;if("A"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName&&!Object(pe.hasClass)(t,"disabled")){var n=t.cellIndex,r=4*t.parentNode.rowIndex+n,i=this.getMonthOfCell(r);"range"===this.selectionMode?this.rangeState.selecting?(i>=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:i}):this.$emit("pick",{minDate:i,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:i,maxDate:null}),this.rangeState.selecting=!0):this.$emit("pick",r)}}},computed:{rows:function(){for(var e=this,t=this.tableRows,n=this.disabledDate,r=[],i=Ur(new Date),o=0;o<3;o++)for(var a=t[o],s=function(t){var s=a[t];s||(s={row:o,column:t,type:"normal",inRange:!1,start:!1,end:!1}),s.type="normal";var l=4*o+t,c=new Date(e.date.getFullYear(),l).getTime();s.inRange=c>=Ur(e.minDate)&&c<=Ur(e.maxDate),s.start=e.minDate&&c===Ur(e.minDate),s.end=e.maxDate&&c===Ur(e.maxDate),c===i&&(s.type="today"),s.text=l;var u=new Date(c);s.disabled="function"==typeof n&&n(u),s.selected=Object(A.arrayFind)(r,function(e){return e.getTime()===u.getTime()}),e.$set(a,t,s)},l=0;l<4;l++)s(l);return t}}},Hr,[],!1,null,null,null);Qr.options.__file="packages/date-picker/src/basic/month-table.vue";var zr=Qr.exports,Yr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticClass:"el-date-table",class:{"is-week-mode":"week"===e.selectionMode},attrs:{cellspacing:"0",cellpadding:"0"},on:{click:e.handleClick,mousemove:e.handleMouseMove}},[n("tbody",[n("tr",[e.showWeekNumber?n("th",[e._v(e._s(e.t("el.datepicker.week")))]):e._e(),e._l(e.WEEKS,function(t,r){return n("th",{key:r},[e._v(e._s(e.t("el.datepicker.weeks."+t)))])})],2),e._l(e.rows,function(t,r){return n("tr",{key:r,staticClass:"el-date-table__row",class:{current:e.isWeekActive(t[1])}},e._l(t,function(t,r){return n("td",{key:r,class:e.getCellClasses(t)},[n("div",[n("span",[e._v("\n "+e._s(t.text)+"\n ")])])])}),0)})],2)])};Yr._withStripped=!0;var Vr=["sun","mon","tue","wed","thu","fri","sat"],Gr=function(e){return"number"==typeof e||"string"==typeof e?Object(dr.clearTime)(new Date(e)).getTime():e instanceof Date?Object(dr.clearTime)(e).getTime():NaN},Wr=i({mixins:[p.a],props:{firstDayOfWeek:{default:7,type:Number,validator:function(e){return e>=1&&e<=7}},value:{},defaultValue:{validator:function(e){return null===e||Object(dr.isDate)(e)||Array.isArray(e)&&e.every(dr.isDate)}},date:{},selectionMode:{default:"day"},showWeekNumber:{type:Boolean,default:!1},disabledDate:{},cellClassName:{},minDate:{},maxDate:{},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},computed:{offsetDay:function(){var e=this.firstDayOfWeek;return e>3?7-e:-e},WEEKS:function(){var e=this.firstDayOfWeek;return Vr.concat(Vr).slice(e,e+7)},year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},startDate:function(){return Object(dr.getStartDateOfMonth)(this.year,this.month)},rows:function(){var e=this,t=new Date(this.year,this.month,1),n=Object(dr.getFirstDayOfMonth)(t),r=Object(dr.getDayCountOfMonth)(t.getFullYear(),t.getMonth()),i=Object(dr.getDayCountOfMonth)(t.getFullYear(),0===t.getMonth()?11:t.getMonth()-1);n=0===n?7:n;for(var o=this.offsetDay,a=this.tableRows,s=1,l=this.startDate,c=this.disabledDate,u=this.cellClassName,h="dates"===this.selectionMode?Object(A.coerceTruthyValueToArray)(this.value):[],d=Gr(new Date),f=0;f<6;f++){var p=a[f];this.showWeekNumber&&(p[0]||(p[0]={type:"week",text:Object(dr.getWeekNumber)(Object(dr.nextDate)(l,7*f+1))}));for(var g=function(t){var a=p[e.showWeekNumber?t+1:t];a||(a={row:f,column:t,type:"normal",inRange:!1,start:!1,end:!1}),a.type="normal";var g=7*f+t,v=Object(dr.nextDate)(l,g-o).getTime();if(a.inRange=v>=Gr(e.minDate)&&v<=Gr(e.maxDate),a.start=e.minDate&&v===Gr(e.minDate),a.end=e.maxDate&&v===Gr(e.maxDate),v===d&&(a.type="today"),f>=0&&f<=1){var m=n+o<0?7+n+o:n+o;t+7*f>=m?a.text=s++:(a.text=i-(m-t%7)+1+7*f,a.type="prev-month")}else s<=r?a.text=s++:(a.text=s++-r,a.type="next-month");var y=new Date(v);a.disabled="function"==typeof c&&c(y),a.selected=Object(A.arrayFind)(h,function(e){return e.getTime()===y.getTime()}),a.customClass="function"==typeof u&&u(y),e.$set(p,e.showWeekNumber?t+1:t,a)},v=0;v<7;v++)g(v);if("week"===this.selectionMode){var m=this.showWeekNumber?1:0,y=this.showWeekNumber?7:6,b=this.isWeekActive(p[m+1]);p[m].inRange=b,p[m].start=b,p[y].inRange=b,p[y].end=b}}return a}},watch:{"rangeState.endDate":function(e){this.markRange(this.minDate,e)},minDate:function(e,t){Gr(e)!==Gr(t)&&this.markRange(this.minDate,this.maxDate)},maxDate:function(e,t){Gr(e)!==Gr(t)&&this.markRange(this.minDate,this.maxDate)}},data:function(){return{tableRows:[[],[],[],[],[],[]],lastRow:null,lastColumn:null}},methods:{cellMatchesDate:function(e,t){var n=new Date(t);return this.year===n.getFullYear()&&this.month===n.getMonth()&&Number(e.text)===n.getDate()},getCellClasses:function(e){var t=this,n=this.selectionMode,r=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[],i=[];return"normal"!==e.type&&"today"!==e.type||e.disabled?i.push(e.type):(i.push("available"),"today"===e.type&&i.push("today")),"normal"===e.type&&r.some(function(n){return t.cellMatchesDate(e,n)})&&i.push("default"),"day"!==n||"normal"!==e.type&&"today"!==e.type||!this.cellMatchesDate(e,this.value)||i.push("current"),!e.inRange||"normal"!==e.type&&"today"!==e.type&&"week"!==this.selectionMode||(i.push("in-range"),e.start&&i.push("start-date"),e.end&&i.push("end-date")),e.disabled&&i.push("disabled"),e.selected&&i.push("selected"),e.customClass&&i.push(e.customClass),i.join(" ")},getDateOfCell:function(e,t){var n=7*e+(t-(this.showWeekNumber?1:0))-this.offsetDay;return Object(dr.nextDate)(this.startDate,n)},isWeekActive:function(e){if("week"!==this.selectionMode)return!1;var t=new Date(this.year,this.month,1),n=t.getFullYear(),r=t.getMonth();if("prev-month"===e.type&&(t.setMonth(0===r?11:r-1),t.setFullYear(0===r?n-1:n)),"next-month"===e.type&&(t.setMonth(11===r?0:r+1),t.setFullYear(11===r?n+1:n)),t.setDate(parseInt(e.text,10)),Object(dr.isDate)(this.value)){var i=(this.value.getDay()-this.firstDayOfWeek+7)%7-1;return Object(dr.prevDate)(this.value,i).getTime()===t.getTime()}return!1},markRange:function(e,t){e=Gr(e),t=Gr(t)||e;var n=[Math.min(e,t),Math.max(e,t)];e=n[0],t=n[1];for(var r=this.startDate,i=this.rows,o=0,a=i.length;o<a;o++)for(var s=i[o],l=0,c=s.length;l<c;l++)if(!this.showWeekNumber||0!==l){var u=s[l],h=7*o+l+(this.showWeekNumber?-1:0),d=Object(dr.nextDate)(r,h-this.offsetDay).getTime();u.inRange=e&&d>=e&&d<=t,u.start=e&&d===e,u.end=t&&d===t}},handleMouseMove:function(e){if(this.rangeState.selecting){var t=e.target;if("SPAN"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var n=t.parentNode.rowIndex-1,r=t.cellIndex;this.rows[n][r].disabled||n===this.lastRow&&r===this.lastColumn||(this.lastRow=n,this.lastColumn=r,this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:{selecting:!0,endDate:this.getDateOfCell(n,r)}}))}}},handleClick:function(e){var t=e.target;if("SPAN"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var n=t.parentNode.rowIndex-1,r="week"===this.selectionMode?1:t.cellIndex,i=this.rows[n][r];if(!i.disabled&&"week"!==i.type){var o,a,s,l=this.getDateOfCell(n,r);if("range"===this.selectionMode)this.rangeState.selecting?(l>=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:l}):this.$emit("pick",{minDate:l,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:l,maxDate:null}),this.rangeState.selecting=!0);else if("day"===this.selectionMode)this.$emit("pick",l);else if("week"===this.selectionMode){var c=Object(dr.getWeekNumber)(l),u=l.getFullYear()+"w"+c;this.$emit("pick",{year:l.getFullYear(),week:c,value:u,date:l})}else if("dates"===this.selectionMode){var h=this.value||[],d=i.selected?(o=h,(s="function"==typeof(a=function(e){return e.getTime()===l.getTime()})?Object(A.arrayFindIndex)(o,a):o.indexOf(a))>=0?[].concat(o.slice(0,s),o.slice(s+1)):o):[].concat(h,[l]);this.$emit("pick",d)}}}}}},Yr,[],!1,null,null,null);Wr.options.__file="packages/date-picker/src/basic/date-table.vue";var Xr=Wr.exports,Zr=i({mixins:[p.a],directives:{Clickoutside:O.a},watch:{showTime:function(e){var t=this;e&&this.$nextTick(function(e){var n=t.$refs.input.$el;n&&(t.pickerWidth=n.getBoundingClientRect().width+10)})},value:function(e){"dates"===this.selectionMode&&this.value||(Object(dr.isDate)(e)?this.date=new Date(e):this.date=this.getDefaultValue())},defaultValue:function(e){Object(dr.isDate)(this.value)||(this.date=e?new Date(e):new Date)},timePickerVisible:function(e){var t=this;e&&this.$nextTick(function(){return t.$refs.timepicker.adjustSpinners()})},selectionMode:function(e){"month"===e?"year"===this.currentView&&"month"===this.currentView||(this.currentView="month"):"dates"===e&&(this.currentView="date")}},methods:{proxyTimePickerDataProperties:function(){var e,t=this,n=function(e){t.$refs.timepicker.value=e},r=function(e){t.$refs.timepicker.date=e},i=function(e){t.$refs.timepicker.selectableRange=e};this.$watch("value",n),this.$watch("date",r),this.$watch("selectableRange",i),e=this.timeFormat,t.$refs.timepicker.format=e,n(this.value),r(this.date),i(this.selectableRange)},handleClear:function(){this.date=this.getDefaultValue(),this.$emit("pick",null)},emit:function(e){for(var t=this,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(e)if(Array.isArray(e)){var o=e.map(function(e){return t.showTime?Object(dr.clearMilliseconds)(e):Object(dr.clearTime)(e)});this.$emit.apply(this,["pick",o].concat(r))}else this.$emit.apply(this,["pick",this.showTime?Object(dr.clearMilliseconds)(e):Object(dr.clearTime)(e)].concat(r));else this.$emit.apply(this,["pick",e].concat(r));this.userInputDate=null,this.userInputTime=null},showMonthPicker:function(){this.currentView="month"},showYearPicker:function(){this.currentView="year"},prevMonth:function(){this.date=Object(dr.prevMonth)(this.date)},nextMonth:function(){this.date=Object(dr.nextMonth)(this.date)},prevYear:function(){"year"===this.currentView?this.date=Object(dr.prevYear)(this.date,10):this.date=Object(dr.prevYear)(this.date)},nextYear:function(){"year"===this.currentView?this.date=Object(dr.nextYear)(this.date,10):this.date=Object(dr.nextYear)(this.date)},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},handleTimePick:function(e,t,n){if(Object(dr.isDate)(e)){var r=this.value?Object(dr.modifyTime)(this.value,e.getHours(),e.getMinutes(),e.getSeconds()):Object(dr.modifyWithTimeString)(this.getDefaultValue(),this.defaultTime);this.date=r,this.emit(this.date,!0)}else this.emit(e,!0);n||(this.timePickerVisible=t)},handleTimePickClose:function(){this.timePickerVisible=!1},handleMonthPick:function(e){"month"===this.selectionMode?(this.date=Object(dr.modifyDate)(this.date,this.year,e,1),this.emit(this.date)):(this.date=Object(dr.changeYearMonthAndClampDate)(this.date,this.year,e),this.currentView="date")},handleDatePick:function(e){if("day"===this.selectionMode){var t=this.value?Object(dr.modifyDate)(this.value,e.getFullYear(),e.getMonth(),e.getDate()):Object(dr.modifyWithTimeString)(e,this.defaultTime);this.checkDateWithinRange(t)||(t=Object(dr.modifyDate)(this.selectableRange[0][0],e.getFullYear(),e.getMonth(),e.getDate())),this.date=t,this.emit(this.date,this.showTime)}else"week"===this.selectionMode?this.emit(e.date):"dates"===this.selectionMode&&this.emit(e,!0)},handleYearPick:function(e){"year"===this.selectionMode?(this.date=Object(dr.modifyDate)(this.date,e,0,1),this.emit(this.date)):(this.date=Object(dr.changeYearMonthAndClampDate)(this.date,e,this.month),this.currentView="month")},changeToNow:function(){this.disabledDate&&this.disabledDate(new Date)||!this.checkDateWithinRange(new Date)||(this.date=new Date,this.emit(this.date))},confirm:function(){if("dates"===this.selectionMode)this.emit(this.value);else{var e=this.value?this.value:Object(dr.modifyWithTimeString)(this.getDefaultValue(),this.defaultTime);this.date=new Date(e),this.emit(e)}},resetView:function(){"month"===this.selectionMode?this.currentView="month":"year"===this.selectionMode?this.currentView="year":this.currentView="date"},handleEnter:function(){document.body.addEventListener("keydown",this.handleKeydown)},handleLeave:function(){this.$emit("dodestroy"),document.body.removeEventListener("keydown",this.handleKeydown)},handleKeydown:function(e){var t=e.keyCode;this.visible&&!this.timePickerVisible&&(-1!==[38,40,37,39].indexOf(t)&&(this.handleKeyControl(t),e.stopPropagation(),e.preventDefault()),13===t&&null===this.userInputDate&&null===this.userInputTime&&this.emit(this.date,!1))},handleKeyControl:function(e){for(var t={year:{38:-4,40:4,37:-1,39:1,offset:function(e,t){return e.setFullYear(e.getFullYear()+t)}},month:{38:-4,40:4,37:-1,39:1,offset:function(e,t){return e.setMonth(e.getMonth()+t)}},week:{38:-1,40:1,37:-1,39:1,offset:function(e,t){return e.setDate(e.getDate()+7*t)}},day:{38:-7,40:7,37:-1,39:1,offset:function(e,t){return e.setDate(e.getDate()+t)}}},n=this.selectionMode,r=this.date.getTime(),i=new Date(this.date.getTime());Math.abs(r-i.getTime())<=31536e6;){var o=t[n];if(o.offset(i,o[e]),"function"!=typeof this.disabledDate||!this.disabledDate(i)){this.date=i,this.$emit("pick",i,!0);break}}},handleVisibleTimeChange:function(e){var t=Object(dr.parseDate)(e,this.timeFormat);t&&this.checkDateWithinRange(t)&&(this.date=Object(dr.modifyDate)(t,this.year,this.month,this.monthDate),this.userInputTime=null,this.$refs.timepicker.value=this.date,this.timePickerVisible=!1,this.emit(this.date,!0))},handleVisibleDateChange:function(e){var t=Object(dr.parseDate)(e,this.dateFormat);if(t){if("function"==typeof this.disabledDate&&this.disabledDate(t))return;this.date=Object(dr.modifyTime)(t,this.date.getHours(),this.date.getMinutes(),this.date.getSeconds()),this.userInputDate=null,this.resetView(),this.emit(this.date,!0)}},isValidValue:function(e){return e&&!isNaN(e)&&("function"!=typeof this.disabledDate||!this.disabledDate(e))&&this.checkDateWithinRange(e)},getDefaultValue:function(){return this.defaultValue?new Date(this.defaultValue):new Date},checkDateWithinRange:function(e){return!(this.selectableRange.length>0)||Object(dr.timeWithinRange)(e,this.selectableRange,this.format||"HH:mm:ss")}},components:{TimePicker:Pr,YearTable:Nr,MonthTable:zr,DateTable:Xr,ElInput:d.a,ElButton:G.a},data:function(){return{popperClass:"",date:new Date,value:"",defaultValue:null,defaultTime:null,showTime:!1,selectionMode:"day",shortcuts:"",visible:!1,currentView:"date",disabledDate:"",cellClassName:"",selectableRange:[],firstDayOfWeek:7,showWeekNumber:!1,timePickerVisible:!1,format:"",arrowControl:!1,userInputDate:null,userInputTime:null}},computed:{year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},week:function(){return Object(dr.getWeekNumber)(this.date)},monthDate:function(){return this.date.getDate()},footerVisible:function(){return this.showTime||"dates"===this.selectionMode},visibleTime:function(){return null!==this.userInputTime?this.userInputTime:Object(dr.formatDate)(this.value||this.defaultValue,this.timeFormat)},visibleDate:function(){return null!==this.userInputDate?this.userInputDate:Object(dr.formatDate)(this.value||this.defaultValue,this.dateFormat)},yearLabel:function(){var e=this.t("el.datepicker.year");if("year"===this.currentView){var t=10*Math.floor(this.year/10);return e?t+" "+e+" - "+(t+9)+" "+e:t+" - "+(t+9)}return this.year+" "+e},timeFormat:function(){return this.format?Object(dr.extractTimeFormat)(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?Object(dr.extractDateFormat)(this.format):"yyyy-MM-dd"}}},Er,[],!1,null,null,null);Zr.options.__file="packages/date-picker/src/panel/date.vue";var $r=Zr.exports,Kr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts,"has-time":e.showTime},e.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,function(t,r){return n("button",{key:r,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])}),0):e._e(),n("div",{staticClass:"el-picker-panel__body"},[e.showTime?n("div",{staticClass:"el-date-range-picker__time-header"},[n("span",{staticClass:"el-date-range-picker__editors-wrap"},[n("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{ref:"minInput",staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startDate"),value:e.minVisibleDate},on:{input:function(t){return e.handleDateInput(t,"min")},change:function(t){return e.handleDateChange(t,"min")}}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleMinTimeClose,expression:"handleMinTimeClose"}],staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startTime"),value:e.minVisibleTime},on:{focus:function(t){e.minTimePickerVisible=!0},input:function(t){return e.handleTimeInput(t,"min")},change:function(t){return e.handleTimeChange(t,"min")}}}),n("time-picker",{ref:"minTimePicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.minTimePickerVisible},on:{pick:e.handleMinTimePick,mounted:function(t){e.$refs.minTimePicker.format=e.timeFormat}}})],1)]),n("span",{staticClass:"el-icon-arrow-right"}),n("span",{staticClass:"el-date-range-picker__editors-wrap is-right"},[n("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endDate"),value:e.maxVisibleDate,readonly:!e.minDate},on:{input:function(t){return e.handleDateInput(t,"max")},change:function(t){return e.handleDateChange(t,"max")}}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleMaxTimeClose,expression:"handleMaxTimeClose"}],staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endTime"),value:e.maxVisibleTime,readonly:!e.minDate},on:{focus:function(t){e.minDate&&(e.maxTimePickerVisible=!0)},input:function(t){return e.handleTimeInput(t,"max")},change:function(t){return e.handleTimeChange(t,"max")}}}),n("time-picker",{ref:"maxTimePicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.maxTimePickerVisible},on:{pick:e.handleMaxTimePick,mounted:function(t){e.$refs.maxTimePicker.format=e.timeFormat}}})],1)])]):e._e(),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[n("div",{staticClass:"el-date-range-picker__header"},[n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevYear}}),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevMonth}}),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.leftNextYear}}):e._e(),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",class:{"is-disabled":!e.enableMonthArrow},attrs:{type:"button",disabled:!e.enableMonthArrow},on:{click:e.leftNextMonth}}):e._e(),n("div",[e._v(e._s(e.leftLabel))])]),n("date-table",{attrs:{"selection-mode":"range",date:e.leftDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,"first-day-of-week":e.firstDayOfWeek},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[n("div",{staticClass:"el-date-range-picker__header"},[e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.rightPrevYear}}):e._e(),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",class:{"is-disabled":!e.enableMonthArrow},attrs:{type:"button",disabled:!e.enableMonthArrow},on:{click:e.rightPrevMonth}}):e._e(),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:e.rightNextYear}}),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",attrs:{type:"button"},on:{click:e.rightNextMonth}}),n("div",[e._v(e._s(e.rightLabel))])]),n("date-table",{attrs:{"selection-mode":"range",date:e.rightDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,"first-day-of-week":e.firstDayOfWeek},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1)])],2),e.showTime?n("div",{staticClass:"el-picker-panel__footer"},[n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:e.handleClear}},[e._v("\n "+e._s(e.t("el.datepicker.clear"))+"\n ")]),n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini",disabled:e.btnDisabled},on:{click:function(t){e.handleConfirm(!1)}}},[e._v("\n "+e._s(e.t("el.datepicker.confirm"))+"\n ")])],1):e._e()])])};Kr._withStripped=!0;var Jr=function(e){return Array.isArray(e)?[new Date(e[0]),new Date(e[1])]:e?[new Date(e),Object(dr.nextDate)(new Date(e),1)]:[new Date,Object(dr.nextDate)(new Date,1)]},qr=i({mixins:[p.a],directives:{Clickoutside:O.a},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting&&this.isValidValue([this.minDate,this.maxDate]))},leftLabel:function(){return this.leftDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.leftDate.getMonth()+1))},rightLabel:function(){return this.rightDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.rightDate.getMonth()+1))},leftYear:function(){return this.leftDate.getFullYear()},leftMonth:function(){return this.leftDate.getMonth()},leftMonthDate:function(){return this.leftDate.getDate()},rightYear:function(){return this.rightDate.getFullYear()},rightMonth:function(){return this.rightDate.getMonth()},rightMonthDate:function(){return this.rightDate.getDate()},minVisibleDate:function(){return null!==this.dateUserInput.min?this.dateUserInput.min:this.minDate?Object(dr.formatDate)(this.minDate,this.dateFormat):""},maxVisibleDate:function(){return null!==this.dateUserInput.max?this.dateUserInput.max:this.maxDate||this.minDate?Object(dr.formatDate)(this.maxDate||this.minDate,this.dateFormat):""},minVisibleTime:function(){return null!==this.timeUserInput.min?this.timeUserInput.min:this.minDate?Object(dr.formatDate)(this.minDate,this.timeFormat):""},maxVisibleTime:function(){return null!==this.timeUserInput.max?this.timeUserInput.max:this.maxDate||this.minDate?Object(dr.formatDate)(this.maxDate||this.minDate,this.timeFormat):""},timeFormat:function(){return this.format?Object(dr.extractTimeFormat)(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?Object(dr.extractDateFormat)(this.format):"yyyy-MM-dd"},enableMonthArrow:function(){var e=(this.leftMonth+1)%12,t=this.leftMonth+1>=12?1:0;return this.unlinkPanels&&new Date(this.leftYear+t,e)<new Date(this.rightYear,this.rightMonth)},enableYearArrow:function(){return this.unlinkPanels&&12*this.rightYear+this.rightMonth-(12*this.leftYear+this.leftMonth+1)>=12}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:Object(dr.nextMonth)(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},showTime:!1,shortcuts:"",visible:"",disabledDate:"",cellClassName:"",firstDayOfWeek:7,minTimePickerVisible:!1,maxTimePickerVisible:!1,format:"",arrowControl:!1,unlinkPanels:!1,dateUserInput:{min:null,max:null},timeUserInput:{min:null,max:null}}},watch:{minDate:function(e){var t=this;this.dateUserInput.min=null,this.timeUserInput.min=null,this.$nextTick(function(){if(t.$refs.maxTimePicker&&t.maxDate&&t.maxDate<t.minDate){t.$refs.maxTimePicker.selectableRange=[[Object(dr.parseDate)(Object(dr.formatDate)(t.minDate,"HH:mm:ss"),"HH:mm:ss"),Object(dr.parseDate)("23:59:59","HH:mm:ss")]]}}),e&&this.$refs.minTimePicker&&(this.$refs.minTimePicker.date=e,this.$refs.minTimePicker.value=e)},maxDate:function(e){this.dateUserInput.max=null,this.timeUserInput.max=null,e&&this.$refs.maxTimePicker&&(this.$refs.maxTimePicker.date=e,this.$refs.maxTimePicker.value=e)},minTimePickerVisible:function(e){var t=this;e&&this.$nextTick(function(){t.$refs.minTimePicker.date=t.minDate,t.$refs.minTimePicker.value=t.minDate,t.$refs.minTimePicker.adjustSpinners()})},maxTimePickerVisible:function(e){var t=this;e&&this.$nextTick(function(){t.$refs.maxTimePicker.date=t.maxDate,t.$refs.maxTimePicker.value=t.maxDate,t.$refs.maxTimePicker.adjustSpinners()})},value:function(e){if(e){if(Array.isArray(e))if(this.minDate=Object(dr.isDate)(e[0])?new Date(e[0]):null,this.maxDate=Object(dr.isDate)(e[1])?new Date(e[1]):null,this.minDate)if(this.leftDate=this.minDate,this.unlinkPanels&&this.maxDate){var t=this.minDate.getFullYear(),n=this.minDate.getMonth(),r=this.maxDate.getFullYear(),i=this.maxDate.getMonth();this.rightDate=t===r&&n===i?Object(dr.nextMonth)(this.maxDate):this.maxDate}else this.rightDate=Object(dr.nextMonth)(this.leftDate);else this.leftDate=Jr(this.defaultValue)[0],this.rightDate=Object(dr.nextMonth)(this.leftDate)}else this.minDate=null,this.maxDate=null},defaultValue:function(e){if(!Array.isArray(this.value)){var t=Jr(e),n=t[0],r=t[1];this.leftDate=n,this.rightDate=e&&e[1]&&this.unlinkPanels?r:Object(dr.nextMonth)(this.leftDate)}}},methods:{handleClear:function(){this.minDate=null,this.maxDate=null,this.leftDate=Jr(this.defaultValue)[0],this.rightDate=Object(dr.nextMonth)(this.leftDate),this.$emit("pick",null)},handleChangeRange:function(e){this.minDate=e.minDate,this.maxDate=e.maxDate,this.rangeState=e.rangeState},handleDateInput:function(e,t){if(this.dateUserInput[t]=e,e.length===this.dateFormat.length){var n=Object(dr.parseDate)(e,this.dateFormat);if(n){if("function"==typeof this.disabledDate&&this.disabledDate(new Date(n)))return;"min"===t?(this.minDate=Object(dr.modifyDate)(this.minDate||new Date,n.getFullYear(),n.getMonth(),n.getDate()),this.leftDate=new Date(n),this.unlinkPanels||(this.rightDate=Object(dr.nextMonth)(this.leftDate))):(this.maxDate=Object(dr.modifyDate)(this.maxDate||new Date,n.getFullYear(),n.getMonth(),n.getDate()),this.rightDate=new Date(n),this.unlinkPanels||(this.leftDate=Object(dr.prevMonth)(n)))}}},handleDateChange:function(e,t){var n=Object(dr.parseDate)(e,this.dateFormat);n&&("min"===t?(this.minDate=Object(dr.modifyDate)(this.minDate,n.getFullYear(),n.getMonth(),n.getDate()),this.minDate>this.maxDate&&(this.maxDate=this.minDate)):(this.maxDate=Object(dr.modifyDate)(this.maxDate,n.getFullYear(),n.getMonth(),n.getDate()),this.maxDate<this.minDate&&(this.minDate=this.maxDate)))},handleTimeInput:function(e,t){var n=this;if(this.timeUserInput[t]=e,e.length===this.timeFormat.length){var r=Object(dr.parseDate)(e,this.timeFormat);r&&("min"===t?(this.minDate=Object(dr.modifyTime)(this.minDate,r.getHours(),r.getMinutes(),r.getSeconds()),this.$nextTick(function(e){return n.$refs.minTimePicker.adjustSpinners()})):(this.maxDate=Object(dr.modifyTime)(this.maxDate,r.getHours(),r.getMinutes(),r.getSeconds()),this.$nextTick(function(e){return n.$refs.maxTimePicker.adjustSpinners()})))}},handleTimeChange:function(e,t){var n=Object(dr.parseDate)(e,this.timeFormat);n&&("min"===t?(this.minDate=Object(dr.modifyTime)(this.minDate,n.getHours(),n.getMinutes(),n.getSeconds()),this.minDate>this.maxDate&&(this.maxDate=this.minDate),this.$refs.minTimePicker.value=this.minDate,this.minTimePickerVisible=!1):(this.maxDate=Object(dr.modifyTime)(this.maxDate,n.getHours(),n.getMinutes(),n.getSeconds()),this.maxDate<this.minDate&&(this.minDate=this.maxDate),this.$refs.maxTimePicker.value=this.minDate,this.maxTimePickerVisible=!1))},handleRangePick:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.defaultTime||[],i=Object(dr.modifyWithTimeString)(e.minDate,r[0]),o=Object(dr.modifyWithTimeString)(e.maxDate,r[1]);this.maxDate===o&&this.minDate===i||(this.onPick&&this.onPick(e),this.maxDate=o,this.minDate=i,setTimeout(function(){t.maxDate=o,t.minDate=i},10),n&&!this.showTime&&this.handleConfirm())},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},handleMinTimePick:function(e,t,n){this.minDate=this.minDate||new Date,e&&(this.minDate=Object(dr.modifyTime)(this.minDate,e.getHours(),e.getMinutes(),e.getSeconds())),n||(this.minTimePickerVisible=t),(!this.maxDate||this.maxDate&&this.maxDate.getTime()<this.minDate.getTime())&&(this.maxDate=new Date(this.minDate))},handleMinTimeClose:function(){this.minTimePickerVisible=!1},handleMaxTimePick:function(e,t,n){this.maxDate&&e&&(this.maxDate=Object(dr.modifyTime)(this.maxDate,e.getHours(),e.getMinutes(),e.getSeconds())),n||(this.maxTimePickerVisible=t),this.maxDate&&this.minDate&&this.minDate.getTime()>this.maxDate.getTime()&&(this.minDate=new Date(this.maxDate))},handleMaxTimeClose:function(){this.maxTimePickerVisible=!1},leftPrevYear:function(){this.leftDate=Object(dr.prevYear)(this.leftDate),this.unlinkPanels||(this.rightDate=Object(dr.nextMonth)(this.leftDate))},leftPrevMonth:function(){this.leftDate=Object(dr.prevMonth)(this.leftDate),this.unlinkPanels||(this.rightDate=Object(dr.nextMonth)(this.leftDate))},rightNextYear:function(){this.unlinkPanels?this.rightDate=Object(dr.nextYear)(this.rightDate):(this.leftDate=Object(dr.nextYear)(this.leftDate),this.rightDate=Object(dr.nextMonth)(this.leftDate))},rightNextMonth:function(){this.unlinkPanels?this.rightDate=Object(dr.nextMonth)(this.rightDate):(this.leftDate=Object(dr.nextMonth)(this.leftDate),this.rightDate=Object(dr.nextMonth)(this.leftDate))},leftNextYear:function(){this.leftDate=Object(dr.nextYear)(this.leftDate)},leftNextMonth:function(){this.leftDate=Object(dr.nextMonth)(this.leftDate)},rightPrevYear:function(){this.rightDate=Object(dr.prevYear)(this.rightDate)},rightPrevMonth:function(){this.rightDate=Object(dr.prevMonth)(this.rightDate)},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isValidValue([this.minDate,this.maxDate])&&this.$emit("pick",[this.minDate,this.maxDate],e)},isValidValue:function(e){return Array.isArray(e)&&e&&e[0]&&e[1]&&Object(dr.isDate)(e[0])&&Object(dr.isDate)(e[1])&&e[0].getTime()<=e[1].getTime()&&("function"!=typeof this.disabledDate||!this.disabledDate(e[0])&&!this.disabledDate(e[1]))},resetView:function(){this.minDate&&null==this.maxDate&&(this.rangeState.selecting=!1),this.minDate=this.value&&Object(dr.isDate)(this.value[0])?new Date(this.value[0]):null,this.maxDate=this.value&&Object(dr.isDate)(this.value[0])?new Date(this.value[1]):null}},components:{TimePicker:Pr,DateTable:Xr,ElInput:d.a,ElButton:G.a}},Kr,[],!1,null,null,null);qr.options.__file="packages/date-picker/src/panel/date-range.vue";var ei=qr.exports,ti=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts},e.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,function(t,r){return n("button",{key:r,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])}),0):e._e(),n("div",{staticClass:"el-picker-panel__body"},[n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[n("div",{staticClass:"el-date-range-picker__header"},[n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevYear}}),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.leftNextYear}}):e._e(),n("div",[e._v(e._s(e.leftLabel))])]),n("month-table",{attrs:{"selection-mode":"range",date:e.leftDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[n("div",{staticClass:"el-date-range-picker__header"},[e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.rightPrevYear}}):e._e(),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:e.rightNextYear}}),n("div",[e._v(e._s(e.rightLabel))])]),n("month-table",{attrs:{"selection-mode":"range",date:e.rightDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1)])],2)])])};ti._withStripped=!0;var ni=function(e){return Array.isArray(e)?[new Date(e[0]),new Date(e[1])]:e?[new Date(e),Object(dr.nextMonth)(new Date(e))]:[new Date,Object(dr.nextMonth)(new Date)]},ri=i({mixins:[p.a],directives:{Clickoutside:O.a},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting&&this.isValidValue([this.minDate,this.maxDate]))},leftLabel:function(){return this.leftDate.getFullYear()+" "+this.t("el.datepicker.year")},rightLabel:function(){return this.rightDate.getFullYear()+" "+this.t("el.datepicker.year")},leftYear:function(){return this.leftDate.getFullYear()},rightYear:function(){return this.rightDate.getFullYear()===this.leftDate.getFullYear()?this.leftDate.getFullYear()+1:this.rightDate.getFullYear()},enableYearArrow:function(){return this.unlinkPanels&&this.rightYear>this.leftYear+1}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:Object(dr.nextYear)(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},shortcuts:"",visible:"",disabledDate:"",format:"",arrowControl:!1,unlinkPanels:!1}},watch:{value:function(e){if(e){if(Array.isArray(e))if(this.minDate=Object(dr.isDate)(e[0])?new Date(e[0]):null,this.maxDate=Object(dr.isDate)(e[1])?new Date(e[1]):null,this.minDate)if(this.leftDate=this.minDate,this.unlinkPanels&&this.maxDate){var t=this.minDate.getFullYear(),n=this.maxDate.getFullYear();this.rightDate=t===n?Object(dr.nextYear)(this.maxDate):this.maxDate}else this.rightDate=Object(dr.nextYear)(this.leftDate);else this.leftDate=ni(this.defaultValue)[0],this.rightDate=Object(dr.nextYear)(this.leftDate)}else this.minDate=null,this.maxDate=null},defaultValue:function(e){if(!Array.isArray(this.value)){var t=ni(e),n=t[0],r=t[1];this.leftDate=n,this.rightDate=e&&e[1]&&n.getFullYear()!==r.getFullYear()&&this.unlinkPanels?r:Object(dr.nextYear)(this.leftDate)}}},methods:{handleClear:function(){this.minDate=null,this.maxDate=null,this.leftDate=ni(this.defaultValue)[0],this.rightDate=Object(dr.nextYear)(this.leftDate),this.$emit("pick",null)},handleChangeRange:function(e){this.minDate=e.minDate,this.maxDate=e.maxDate,this.rangeState=e.rangeState},handleRangePick:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.defaultTime||[],i=Object(dr.modifyWithTimeString)(e.minDate,r[0]),o=Object(dr.modifyWithTimeString)(e.maxDate,r[1]);this.maxDate===o&&this.minDate===i||(this.onPick&&this.onPick(e),this.maxDate=o,this.minDate=i,setTimeout(function(){t.maxDate=o,t.minDate=i},10),n&&this.handleConfirm())},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},leftPrevYear:function(){this.leftDate=Object(dr.prevYear)(this.leftDate),this.unlinkPanels||(this.rightDate=Object(dr.prevYear)(this.rightDate))},rightNextYear:function(){this.unlinkPanels||(this.leftDate=Object(dr.nextYear)(this.leftDate)),this.rightDate=Object(dr.nextYear)(this.rightDate)},leftNextYear:function(){this.leftDate=Object(dr.nextYear)(this.leftDate)},rightPrevYear:function(){this.rightDate=Object(dr.prevYear)(this.rightDate)},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isValidValue([this.minDate,this.maxDate])&&this.$emit("pick",[this.minDate,this.maxDate],e)},isValidValue:function(e){return Array.isArray(e)&&e&&e[0]&&e[1]&&Object(dr.isDate)(e[0])&&Object(dr.isDate)(e[1])&&e[0].getTime()<=e[1].getTime()&&("function"!=typeof this.disabledDate||!this.disabledDate(e[0])&&!this.disabledDate(e[1]))},resetView:function(){this.minDate=this.value&&Object(dr.isDate)(this.value[0])?new Date(this.value[0]):null,this.maxDate=this.value&&Object(dr.isDate)(this.value[0])?new Date(this.value[1]):null}},components:{MonthTable:zr,ElInput:d.a,ElButton:G.a}},ti,[],!1,null,null,null);ri.options.__file="packages/date-picker/src/panel/month-range.vue";var ii=ri.exports,oi=function(e){return"daterange"===e||"datetimerange"===e?ei:"monthrange"===e?ii:$r},ai={mixins:[Tr],name:"ElDatePicker",props:{type:{type:String,default:"date"},timeArrowControl:Boolean},watch:{type:function(e){this.picker?(this.unmountPicker(),this.panel=oi(e),this.mountPicker()):this.panel=oi(e)}},created:function(){this.panel=oi(this.type)},install:function(e){e.component(ai.name,ai)}},si=ai,li=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],ref:"popper",staticClass:"el-picker-panel time-select el-popper",class:e.popperClass,style:{width:e.width+"px"}},[n("el-scrollbar",{attrs:{noresize:"","wrap-class":"el-picker-panel__content"}},e._l(e.items,function(t){return n("div",{key:t.value,staticClass:"time-select-item",class:{selected:e.value===t.value,disabled:t.disabled,default:t.value===e.defaultValue},attrs:{disabled:t.disabled},on:{click:function(n){e.handleClick(t)}}},[e._v(e._s(t.value))])}),0)],1)])};li._withStripped=!0;var ci=function(e){var t=(e||"").split(":");return t.length>=2?{hours:parseInt(t[0],10),minutes:parseInt(t[1],10)}:null},ui=function(e,t){var n=ci(e),r=ci(t),i=n.minutes+60*n.hours,o=r.minutes+60*r.hours;return i===o?0:i>o?1:-1},hi=function(e,t){var n=ci(e),r=ci(t),i={hours:n.hours,minutes:n.minutes};return i.minutes+=r.minutes,i.hours+=r.hours,i.hours+=Math.floor(i.minutes/60),i.minutes=i.minutes%60,function(e){return(e.hours<10?"0"+e.hours:e.hours)+":"+(e.minutes<10?"0"+e.minutes:e.minutes)}(i)},di=i({components:{ElScrollbar:R.a},watch:{value:function(e){var t=this;e&&this.$nextTick(function(){return t.scrollToOption()})}},methods:{handleClick:function(e){e.disabled||this.$emit("pick",e.value)},handleClear:function(){this.$emit("pick",null)},scrollToOption:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".selected",t=this.$refs.popper.querySelector(".el-picker-panel__content");Nt()(t,t.querySelector(e))},handleMenuEnter:function(){var e=this,t=-1!==this.items.map(function(e){return e.value}).indexOf(this.value),n=-1!==this.items.map(function(e){return e.value}).indexOf(this.defaultValue),r=(t?".selected":n&&".default")||".time-select-item:not(.disabled)";this.$nextTick(function(){return e.scrollToOption(r)})},scrollDown:function(e){for(var t=this.items,n=t.length,r=t.length,i=t.map(function(e){return e.value}).indexOf(this.value);r--;)if(!t[i=(i+e+n)%n].disabled)return void this.$emit("pick",t[i].value,!0)},isValidValue:function(e){return-1!==this.items.filter(function(e){return!e.disabled}).map(function(e){return e.value}).indexOf(e)},handleKeydown:function(e){var t=e.keyCode;if(38===t||40===t){var n={40:1,38:-1}[t.toString()];return this.scrollDown(n),void e.stopPropagation()}}},data:function(){return{popperClass:"",start:"09:00",end:"18:00",step:"00:30",value:"",defaultValue:"",visible:!1,minTime:"",maxTime:"",width:0}},computed:{items:function(){var e=this.start,t=this.end,n=this.step,r=[];if(e&&t&&n)for(var i=e;ui(i,t)<=0;)r.push({value:i,disabled:ui(i,this.minTime||"-1:-1")<=0||ui(i,this.maxTime||"100:100")>=0}),i=hi(i,n);return r}}},li,[],!1,null,null,null);di.options.__file="packages/date-picker/src/panel/time-select.vue";var fi=di.exports,pi={mixins:[Tr],name:"ElTimeSelect",componentName:"ElTimeSelect",props:{type:{type:String,default:"time-select"}},beforeCreate:function(){this.panel=fi},install:function(e){e.component(pi.name,pi)}},Ai=pi,gi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-time-range-picker el-picker-panel el-popper",class:e.popperClass},[n("div",{staticClass:"el-time-range-picker__content"},[n("div",{staticClass:"el-time-range-picker__cell"},[n("div",{staticClass:"el-time-range-picker__header"},[e._v(e._s(e.t("el.datepicker.startTime")))]),n("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":e.showSeconds,"is-arrow":e.arrowControl}},[n("time-spinner",{ref:"minSpinner",attrs:{"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,date:e.minDate},on:{change:e.handleMinChange,"select-range":e.setMinSelectionRange}})],1)]),n("div",{staticClass:"el-time-range-picker__cell"},[n("div",{staticClass:"el-time-range-picker__header"},[e._v(e._s(e.t("el.datepicker.endTime")))]),n("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":e.showSeconds,"is-arrow":e.arrowControl}},[n("time-spinner",{ref:"maxSpinner",attrs:{"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,date:e.maxDate},on:{change:e.handleMaxChange,"select-range":e.setMaxSelectionRange}})],1)])]),n("div",{staticClass:"el-time-panel__footer"},[n("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:function(t){e.handleCancel()}}},[e._v(e._s(e.t("el.datepicker.cancel")))]),n("button",{staticClass:"el-time-panel__btn confirm",attrs:{type:"button",disabled:e.btnDisabled},on:{click:function(t){e.handleConfirm()}}},[e._v(e._s(e.t("el.datepicker.confirm")))])])])])};gi._withStripped=!0;var vi=Object(dr.parseDate)("00:00:00","HH:mm:ss"),mi=Object(dr.parseDate)("23:59:59","HH:mm:ss"),yi=function(e){return Object(dr.modifyDate)(mi,e.getFullYear(),e.getMonth(),e.getDate())},bi=function(e,t){return new Date(Math.min(e.getTime()+t,yi(e).getTime()))},_i=i({mixins:[p.a],components:{TimeSpinner:Ir},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},offset:function(){return this.showSeconds?11:8},spinner:function(){return this.selectionRange[0]<this.offset?this.$refs.minSpinner:this.$refs.maxSpinner},btnDisabled:function(){return this.minDate.getTime()>this.maxDate.getTime()},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},data:function(){return{popperClass:"",minDate:new Date,maxDate:new Date,value:[],oldValue:[new Date,new Date],defaultValue:null,format:"HH:mm:ss",visible:!1,selectionRange:[0,2],arrowControl:!1}},watch:{value:function(e){Array.isArray(e)?(this.minDate=new Date(e[0]),this.maxDate=new Date(e[1])):Array.isArray(this.defaultValue)?(this.minDate=new Date(this.defaultValue[0]),this.maxDate=new Date(this.defaultValue[1])):this.defaultValue?(this.minDate=new Date(this.defaultValue),this.maxDate=bi(new Date(this.defaultValue),36e5)):(this.minDate=new Date,this.maxDate=bi(new Date,36e5))},visible:function(e){var t=this;e&&(this.oldValue=this.value,this.$nextTick(function(){return t.$refs.minSpinner.emitSelectRange("hours")}))}},methods:{handleClear:function(){this.$emit("pick",null)},handleCancel:function(){this.$emit("pick",this.oldValue)},handleMinChange:function(e){this.minDate=Object(dr.clearMilliseconds)(e),this.handleChange()},handleMaxChange:function(e){this.maxDate=Object(dr.clearMilliseconds)(e),this.handleChange()},handleChange:function(){var e;this.isValidValue([this.minDate,this.maxDate])&&(this.$refs.minSpinner.selectableRange=[[(e=this.minDate,Object(dr.modifyDate)(vi,e.getFullYear(),e.getMonth(),e.getDate())),this.maxDate]],this.$refs.maxSpinner.selectableRange=[[this.minDate,yi(this.maxDate)]],this.$emit("pick",[this.minDate,this.maxDate],!0))},setMinSelectionRange:function(e,t){this.$emit("select-range",e,t,"min"),this.selectionRange=[e,t]},setMaxSelectionRange:function(e,t){this.$emit("select-range",e,t,"max"),this.selectionRange=[e+this.offset,t+this.offset]},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.$refs.minSpinner.selectableRange,n=this.$refs.maxSpinner.selectableRange;this.minDate=Object(dr.limitTimeRange)(this.minDate,t,this.format),this.maxDate=Object(dr.limitTimeRange)(this.maxDate,n,this.format),this.$emit("pick",[this.minDate,this.maxDate],e)},adjustSpinners:function(){this.$refs.minSpinner.adjustSpinners(),this.$refs.maxSpinner.adjustSpinners()},changeSelectionRange:function(e){var t=this.showSeconds?[0,3,6,11,14,17]:[0,3,8,11],n=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),r=(t.indexOf(this.selectionRange[0])+e+t.length)%t.length,i=t.length/2;r<i?this.$refs.minSpinner.emitSelectRange(n[r]):this.$refs.maxSpinner.emitSelectRange(n[r-i])},isValidValue:function(e){return Array.isArray(e)&&Object(dr.timeWithinRange)(this.minDate,this.$refs.minSpinner.selectableRange)&&Object(dr.timeWithinRange)(this.maxDate,this.$refs.maxSpinner.selectableRange)},handleKeydown:function(e){var t=e.keyCode,n={38:-1,40:1,37:-1,39:1};if(37===t||39===t){var r=n[t];return this.changeSelectionRange(r),void e.preventDefault()}if(38===t||40===t){var i=n[t];return this.spinner.scrollDown(i),void e.preventDefault()}}}},gi,[],!1,null,null,null);_i.options.__file="packages/date-picker/src/panel/time-range.vue";var wi=_i.exports,xi={mixins:[Tr],name:"ElTimePicker",props:{isRange:Boolean,arrowControl:Boolean},data:function(){return{type:""}},watch:{isRange:function(e){this.picker?(this.unmountPicker(),this.type=e?"timerange":"time",this.panel=e?wi:Pr,this.mountPicker()):(this.type=e?"timerange":"time",this.panel=e?wi:Pr)}},created:function(){this.type=this.isRange?"timerange":"time",this.panel=this.isRange?wi:Pr},install:function(e){e.component(xi.name,xi)}},Ci=xi,Si=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[e.popperClass,e.content&&"el-popover--plain"],style:{width:e.width+"px"},attrs:{role:"tooltip",id:e.tooltipId,"aria-hidden":e.disabled||!e.showPopper?"true":"false"}},[e.title?n("div",{staticClass:"el-popover__title",domProps:{textContent:e._s(e.title)}}):e._e(),e._t("default",[e._v(e._s(e.content))])],2)]),n("span",{ref:"wrapper",staticClass:"el-popover__reference-wrapper"},[e._t("reference")],2)],1)};Si._withStripped=!0;var Bi=i({name:"ElPopover",mixins:[P.a],props:{trigger:{type:String,default:"click",validator:function(e){return["click","focus","hover","manual"].indexOf(e)>-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(A.generateId)()}},watch:{showPopper:function(e){this.disabled||(e?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var e=this,t=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),t&&(Object(pe.addClass)(t,"el-popover__reference"),t.setAttribute("aria-describedby",this.tooltipId),t.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(pe.on)(t,"focusin",function(){e.handleFocus();var n=t.__vue__;n&&"function"==typeof n.focus&&n.focus()}),Object(pe.on)(n,"focusin",this.handleFocus),Object(pe.on)(t,"focusout",this.handleBlur),Object(pe.on)(n,"focusout",this.handleBlur)),Object(pe.on)(t,"keydown",this.handleKeydown),Object(pe.on)(t,"click",this.handleClick)),"click"===this.trigger?(Object(pe.on)(t,"click",this.doToggle),Object(pe.on)(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(pe.on)(t,"mouseenter",this.handleMouseEnter),Object(pe.on)(n,"mouseenter",this.handleMouseEnter),Object(pe.on)(t,"mouseleave",this.handleMouseLeave),Object(pe.on)(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex<0&&console.warn("[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key"),t.querySelector("input, textarea")?(Object(pe.on)(t,"focusin",this.doShow),Object(pe.on)(t,"focusout",this.doClose)):(Object(pe.on)(t,"mousedown",this.doShow),Object(pe.on)(t,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object(pe.addClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(pe.removeClass)(this.referenceElm,"focusing")},handleBlur:function(){Object(pe.removeClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var e=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout(function(){e.showPopper=!0},this.openDelay):this.showPopper=!0},handleKeydown:function(e){27===e.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var e=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout(function(){e.showPopper=!1},this.closeDelay):this.showPopper=!1},handleDocumentClick:function(e){var t=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&t&&!this.$el.contains(e.target)&&!t.contains(e.target)&&n&&!n.contains(e.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var e=this.reference;Object(pe.off)(e,"click",this.doToggle),Object(pe.off)(e,"mouseup",this.doClose),Object(pe.off)(e,"mousedown",this.doShow),Object(pe.off)(e,"focusin",this.doShow),Object(pe.off)(e,"focusout",this.doClose),Object(pe.off)(e,"mousedown",this.doShow),Object(pe.off)(e,"mouseup",this.doClose),Object(pe.off)(e,"mouseleave",this.handleMouseLeave),Object(pe.off)(e,"mouseenter",this.handleMouseEnter),Object(pe.off)(document,"click",this.handleDocumentClick)}},Si,[],!1,null,null,null);Bi.options.__file="packages/popover/src/main.vue";var ki=Bi.exports,Ti=function(e,t,n){var r=t.expression?t.value:t.arg,i=n.context.$refs[r];i&&(Array.isArray(i)?i[0].$refs.reference=e:i.$refs.reference=e)},Ei={bind:function(e,t,n){Ti(e,t,n)},inserted:function(e,t,n){Ti(e,t,n)}};hn.a.directive("popover",Ei),ki.install=function(e){e.directive("popover",Ei),e.component(ki.name,ki)},ki.directive=Ei;var Mi=ki,Di={name:"ElTooltip",mixins:[P.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(A.generateId)(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new hn.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=M()(200,function(){return e.handleClosePopper()}))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var r=n.data=n.data||{};return r.staticClass=this.addTooltipClass(r.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(pe.on)(this.referenceElm,"mouseenter",this.show),Object(pe.on)(this.referenceElm,"mouseleave",this.hide),Object(pe.on)(this.referenceElm,"focus",function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()}),Object(pe.on)(this.referenceElm,"blur",this.handleBlur),Object(pe.on)(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick(function(){e.value&&e.updatePopper()})},watch:{focusing:function(e){e?Object(pe.addClass)(this.referenceElm,"focusing"):Object(pe.removeClass)(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.showPopper=!0},this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout(function(){e.showPopper=!1},this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n<e.length;n++)e[n]&&e[n].tag&&(t=e[n]);return t}},beforeDestroy:function(){this.popperVM&&this.popperVM.$destroy()},destroyed:function(){var e=this.referenceElm;1===e.nodeType&&(Object(pe.off)(e,"mouseenter",this.show),Object(pe.off)(e,"mouseleave",this.hide),Object(pe.off)(e,"focus",this.handleFocus),Object(pe.off)(e,"blur",this.handleBlur),Object(pe.off)(e,"click",this.removeFocusing))},install:function(e){e.component(Di.name,Di)}},Oi=Di,Ii=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"msgbox-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-message-box__wrapper",attrs:{tabindex:"-1",role:"dialog","aria-modal":"true","aria-label":e.title||"dialog"},on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[n("div",{staticClass:"el-message-box",class:[e.customClass,e.center&&"el-message-box--center"]},[null!==e.title?n("div",{staticClass:"el-message-box__header"},[n("div",{staticClass:"el-message-box__title"},[e.icon&&e.center?n("div",{class:["el-message-box__status",e.icon]}):e._e(),n("span",[e._v(e._s(e.title))])]),e.showClose?n("button",{staticClass:"el-message-box__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:function(t){e.handleAction(e.distinguishCancelAndClose?"close":"cancel")},keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.handleAction(e.distinguishCancelAndClose?"close":"cancel")}}},[n("i",{staticClass:"el-message-box__close el-icon-close"})]):e._e()]):e._e(),n("div",{staticClass:"el-message-box__content"},[n("div",{staticClass:"el-message-box__container"},[e.icon&&!e.center&&""!==e.message?n("div",{class:["el-message-box__status",e.icon]}):e._e(),""!==e.message?n("div",{staticClass:"el-message-box__message"},[e._t("default",[e.dangerouslyUseHTMLString?n("p",{domProps:{innerHTML:e._s(e.message)}}):n("p",[e._v(e._s(e.message))])])],2):e._e()]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showInput,expression:"showInput"}],staticClass:"el-message-box__input"},[n("el-input",{ref:"input",attrs:{type:e.inputType,placeholder:e.inputPlaceholder},nativeOn:{keydown:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleInputEnter(t):null}},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}),n("div",{staticClass:"el-message-box__errormsg",style:{visibility:e.editorErrorMessage?"visible":"hidden"}},[e._v(e._s(e.editorErrorMessage))])],1)]),n("div",{staticClass:"el-message-box__btns"},[e.showCancelButton?n("el-button",{class:[e.cancelButtonClasses],attrs:{loading:e.cancelButtonLoading,round:e.roundButton,size:"small"},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.handleAction("cancel")}},nativeOn:{click:function(t){e.handleAction("cancel")}}},[e._v("\n "+e._s(e.cancelButtonText||e.t("el.messagebox.cancel"))+"\n ")]):e._e(),n("el-button",{directives:[{name:"show",rawName:"v-show",value:e.showConfirmButton,expression:"showConfirmButton"}],ref:"confirm",class:[e.confirmButtonClasses],attrs:{loading:e.confirmButtonLoading,round:e.roundButton,size:"small"},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.handleAction("confirm")}},nativeOn:{click:function(t){e.handleAction("confirm")}}},[e._v("\n "+e._s(e.confirmButtonText||e.t("el.messagebox.confirm"))+"\n ")])],1)])])])};Ii._withStripped=!0;var Li=n(15),Pi=n.n(Li),Fi=n(39),Ri=n.n(Fi),Ni=void 0,Hi={success:"success",info:"info",warning:"warning",error:"error"},ji=i({mixins:[b.a,p.a],props:{modal:{default:!0},lockScroll:{default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{default:!0},closeOnPressEscape:{default:!0},closeOnHashChange:{default:!0},center:{default:!1,type:Boolean},roundButton:{default:!1,type:Boolean}},components:{ElInput:d.a,ElButton:G.a},computed:{icon:function(){var e=this.type;return this.iconClass||(e&&Hi[e]?"el-icon-"+Hi[e]:"")},confirmButtonClasses:function(){return"el-button--primary "+this.confirmButtonClass},cancelButtonClasses:function(){return""+this.cancelButtonClass}},methods:{getSafeClose:function(){var e=this,t=this.uid;return function(){e.$nextTick(function(){t===e.uid&&e.doClose()})}},doClose:function(){var e=this;this.visible&&(this.visible=!1,this._closing=!0,this.onClose&&this.onClose(),Ni.closeDialog(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose(),setTimeout(function(){e.action&&e.callback(e.action,e)}))},handleWrapperClick:function(){this.closeOnClickModal&&this.handleAction(this.distinguishCancelAndClose?"close":"cancel")},handleInputEnter:function(){if("textarea"!==this.inputType)return this.handleAction("confirm")},handleAction:function(e){("prompt"!==this.$type||"confirm"!==e||this.validate())&&(this.action=e,"function"==typeof this.beforeClose?(this.close=this.getSafeClose(),this.beforeClose(e,this,this.close)):this.doClose())},validate:function(){if("prompt"===this.$type){var e=this.inputPattern;if(e&&!e.test(this.inputValue||""))return this.editorErrorMessage=this.inputErrorMessage||Object(Li.t)("el.messagebox.error"),Object(pe.addClass)(this.getInputElement(),"invalid"),!1;var t=this.inputValidator;if("function"==typeof t){var n=t(this.inputValue);if(!1===n)return this.editorErrorMessage=this.inputErrorMessage||Object(Li.t)("el.messagebox.error"),Object(pe.addClass)(this.getInputElement(),"invalid"),!1;if("string"==typeof n)return this.editorErrorMessage=n,Object(pe.addClass)(this.getInputElement(),"invalid"),!1}}return this.editorErrorMessage="",Object(pe.removeClass)(this.getInputElement(),"invalid"),!0},getFirstFocus:function(){var e=this.$el.querySelector(".el-message-box__btns .el-button"),t=this.$el.querySelector(".el-message-box__btns .el-message-box__title");return e||t},getInputElement:function(){var e=this.$refs.input.$refs;return e.input||e.textarea},handleClose:function(){this.handleAction("close")}},watch:{inputValue:{immediate:!0,handler:function(e){var t=this;this.$nextTick(function(n){"prompt"===t.$type&&null!==e&&t.validate()})}},visible:function(e){var t=this;e&&(this.uid++,"alert"!==this.$type&&"confirm"!==this.$type||this.$nextTick(function(){t.$refs.confirm.$el.focus()}),this.focusAfterClosed=document.activeElement,Ni=new Ri.a(this.$el,this.focusAfterClosed,this.getFirstFocus())),"prompt"===this.$type&&(e?setTimeout(function(){t.$refs.input&&t.$refs.input.$el&&t.getInputElement().focus()},500):(this.editorErrorMessage="",Object(pe.removeClass)(this.getInputElement(),"invalid")))}},mounted:function(){var e=this;this.$nextTick(function(){e.closeOnHashChange&&window.addEventListener("hashchange",e.close)})},beforeDestroy:function(){this.closeOnHashChange&&window.removeEventListener("hashchange",this.close),setTimeout(function(){Ni.closeDialog()})},data:function(){return{uid:1,title:void 0,message:"",type:"",iconClass:"",customClass:"",showInput:!1,inputValue:null,inputPlaceholder:"",inputType:"text",inputPattern:null,inputValidator:null,inputErrorMessage:"",showConfirmButton:!0,showCancelButton:!1,action:"",confirmButtonText:"",cancelButtonText:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonClass:"",confirmButtonDisabled:!1,cancelButtonClass:"",editorErrorMessage:null,callback:null,dangerouslyUseHTMLString:!1,focusAfterClosed:null,isOnComposition:!1,distinguishCancelAndClose:!1}}},Ii,[],!1,null,null,null);ji.options.__file="packages/message-box/src/main.vue";var Ui=ji.exports,Qi=n(23),zi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yi={title:null,message:"",type:"",iconClass:"",showInput:!1,showClose:!0,modalFade:!0,lockScroll:!0,closeOnClickModal:!0,closeOnPressEscape:!0,closeOnHashChange:!0,inputValue:null,inputPlaceholder:"",inputType:"text",inputPattern:null,inputValidator:null,inputErrorMessage:"",showConfirmButton:!0,showCancelButton:!1,confirmButtonPosition:"right",confirmButtonHighlight:!1,cancelButtonHighlight:!1,confirmButtonText:"",cancelButtonText:"",confirmButtonClass:"",cancelButtonClass:"",customClass:"",beforeClose:null,dangerouslyUseHTMLString:!1,center:!1,roundButton:!1,distinguishCancelAndClose:!1},Vi=hn.a.extend(Ui),Gi=void 0,Wi=void 0,Xi=[],Zi=function(e){if(Gi){var t=Gi.callback;"function"==typeof t&&(Wi.showInput?t(Wi.inputValue,e):t(e)),Gi.resolve&&("confirm"===e?Wi.showInput?Gi.resolve({value:Wi.inputValue,action:e}):Gi.resolve(e):!Gi.reject||"cancel"!==e&&"close"!==e||Gi.reject(e))}},$i=function e(){if(Wi||((Wi=new Vi({el:document.createElement("div")})).callback=Zi),Wi.action="",(!Wi.visible||Wi.closeTimer)&&Xi.length>0){var t=(Gi=Xi.shift()).options;for(var n in t)t.hasOwnProperty(n)&&(Wi[n]=t[n]);void 0===t.callback&&(Wi.callback=Zi);var r=Wi.callback;Wi.callback=function(t,n){r(t,n),e()},Object(Qi.isVNode)(Wi.message)?(Wi.$slots.default=[Wi.message],Wi.message=null):delete Wi.$slots.default,["modal","showClose","closeOnClickModal","closeOnPressEscape","closeOnHashChange"].forEach(function(e){void 0===Wi[e]&&(Wi[e]=!0)}),document.body.appendChild(Wi.$el),hn.a.nextTick(function(){Wi.visible=!0})}},Ki=function e(t,n){if(!hn.a.prototype.$isServer){if("string"==typeof t||Object(Qi.isVNode)(t)?(t={message:t},"string"==typeof arguments[1]&&(t.title=arguments[1])):t.callback&&!n&&(n=t.callback),"undefined"!=typeof Promise)return new Promise(function(r,i){Xi.push({options:Ue()({},Yi,e.defaults,t),callback:n,resolve:r,reject:i}),$i()});Xi.push({options:Ue()({},Yi,e.defaults,t),callback:n}),$i()}};Ki.setDefaults=function(e){Ki.defaults=e},Ki.alert=function(e,t,n){return"object"===(void 0===t?"undefined":zi(t))?(n=t,t=""):void 0===t&&(t=""),Ki(Ue()({title:t,message:e,$type:"alert",closeOnPressEscape:!1,closeOnClickModal:!1},n))},Ki.confirm=function(e,t,n){return"object"===(void 0===t?"undefined":zi(t))?(n=t,t=""):void 0===t&&(t=""),Ki(Ue()({title:t,message:e,$type:"confirm",showCancelButton:!0},n))},Ki.prompt=function(e,t,n){return"object"===(void 0===t?"undefined":zi(t))?(n=t,t=""):void 0===t&&(t=""),Ki(Ue()({title:t,message:e,showCancelButton:!0,showInput:!0,$type:"prompt"},n))},Ki.close=function(){Wi.doClose(),Wi.visible=!1,Xi=[],Gi=null};var Ji=Ki,qi=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-breadcrumb",attrs:{"aria-label":"Breadcrumb",role:"navigation"}},[this._t("default")],2)};qi._withStripped=!0;var eo=i({name:"ElBreadcrumb",props:{separator:{type:String,default:"/"},separatorClass:{type:String,default:""}},provide:function(){return{elBreadcrumb:this}},mounted:function(){var e=this.$el.querySelectorAll(".el-breadcrumb__item");e.length&&e[e.length-1].setAttribute("aria-current","page")}},qi,[],!1,null,null,null);eo.options.__file="packages/breadcrumb/src/breadcrumb.vue";var to=eo.exports;to.install=function(e){e.component(to.name,to)};var no=to,ro=function(){var e=this.$createElement,t=this._self._c||e;return t("span",{staticClass:"el-breadcrumb__item"},[t("span",{ref:"link",class:["el-breadcrumb__inner",this.to?"is-link":""],attrs:{role:"link"}},[this._t("default")],2),this.separatorClass?t("i",{staticClass:"el-breadcrumb__separator",class:this.separatorClass}):t("span",{staticClass:"el-breadcrumb__separator",attrs:{role:"presentation"}},[this._v(this._s(this.separator))])])};ro._withStripped=!0;var io=i({name:"ElBreadcrumbItem",props:{to:{},replace:Boolean},data:function(){return{separator:"",separatorClass:""}},inject:["elBreadcrumb"],mounted:function(){var e=this;this.separator=this.elBreadcrumb.separator,this.separatorClass=this.elBreadcrumb.separatorClass;var t=this.$refs.link;t.setAttribute("role","link"),t.addEventListener("click",function(t){var n=e.to,r=e.$router;n&&r&&(e.replace?r.replace(n):r.push(n))})}},ro,[],!1,null,null,null);io.options.__file="packages/breadcrumb/src/breadcrumb-item.vue";var oo=io.exports;oo.install=function(e){e.component(oo.name,oo)};var ao=oo,so=function(){var e=this.$createElement;return(this._self._c||e)("form",{staticClass:"el-form",class:[this.labelPosition?"el-form--label-"+this.labelPosition:"",{"el-form--inline":this.inline}]},[this._t("default")],2)};so._withStripped=!0;var lo=i({name:"ElForm",componentName:"ElForm",provide:function(){return{elForm:this}},props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},watch:{rules:function(){this.fields.forEach(function(e){e.removeValidateEvents(),e.addValidateEvents()}),this.validateOnRuleChange&&this.validate(function(){})}},computed:{autoLabelWidth:function(){if(!this.potentialLabelWidthArr.length)return 0;var e=Math.max.apply(Math,this.potentialLabelWidthArr);return e?e+"px":""}},data:function(){return{fields:[],potentialLabelWidthArr:[]}},created:function(){var e=this;this.$on("el.form.addField",function(t){t&&e.fields.push(t)}),this.$on("el.form.removeField",function(t){t.prop&&e.fields.splice(e.fields.indexOf(t),1)})},methods:{resetFields:function(){this.model?this.fields.forEach(function(e){e.resetField()}):console.warn("[Element Warn][Form]model is required for resetFields to work.")},clearValidate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(e.length?"string"==typeof e?this.fields.filter(function(t){return e===t.prop}):this.fields.filter(function(t){return e.indexOf(t.prop)>-1}):this.fields).forEach(function(e){e.clearValidate()})},validate:function(e){var t=this;if(this.model){var n=void 0;"function"!=typeof e&&window.Promise&&(n=new window.Promise(function(t,n){e=function(e){e?t(e):n(e)}}));var r=!0,i=0;0===this.fields.length&&e&&e(!0);var o={};return this.fields.forEach(function(n){n.validate("",function(n,a){n&&(r=!1),o=Ue()({},o,a),"function"==typeof e&&++i===t.fields.length&&e(r,o)})}),n||void 0}console.warn("[Element Warn][Form]model is required for validate to work!")},validateField:function(e,t){e=[].concat(e);var n=this.fields.filter(function(t){return-1!==e.indexOf(t.prop)});n.length?n.forEach(function(e){e.validate("",t)}):console.warn("[Element Warn]please pass correct props!")},getLabelWidthIndex:function(e){var t=this.potentialLabelWidthArr.indexOf(e);if(-1===t)throw new Error("[ElementForm]unpected width ",e);return t},registerLabelWidth:function(e,t){if(e&&t){var n=this.getLabelWidthIndex(t);this.potentialLabelWidthArr.splice(n,1,e)}else e&&this.potentialLabelWidthArr.push(e)},deregisterLabelWidth:function(e){var t=this.getLabelWidthIndex(e);this.potentialLabelWidthArr.splice(t,1)}}},so,[],!1,null,null,null);lo.options.__file="packages/form/src/form.vue";var co=lo.exports;co.install=function(e){e.component(co.name,co)};var uo=co,ho=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-form-item",class:[{"el-form-item--feedback":e.elForm&&e.elForm.statusIcon,"is-error":"error"===e.validateState,"is-validating":"validating"===e.validateState,"is-success":"success"===e.validateState,"is-required":e.isRequired||e.required,"is-no-asterisk":e.elForm&&e.elForm.hideRequiredAsterisk},e.sizeClass?"el-form-item--"+e.sizeClass:""]},[n("label-wrap",{attrs:{"is-auto-width":e.labelStyle&&"auto"===e.labelStyle.width,"update-all":"auto"===e.form.labelWidth}},[e.label||e.$slots.label?n("label",{staticClass:"el-form-item__label",style:e.labelStyle,attrs:{for:e.labelFor}},[e._t("label",[e._v(e._s(e.label+e.form.labelSuffix))])],2):e._e()]),n("div",{staticClass:"el-form-item__content",style:e.contentStyle},[e._t("default"),n("transition",{attrs:{name:"el-zoom-in-top"}},["error"===e.validateState&&e.showMessage&&e.form.showMessage?e._t("error",[n("div",{staticClass:"el-form-item__error",class:{"el-form-item__error--inline":"boolean"==typeof e.inlineMessage?e.inlineMessage:e.elForm&&e.elForm.inlineMessage||!1}},[e._v("\n "+e._s(e.validateMessage)+"\n ")])],{error:e.validateMessage}):e._e()],2)],2)],1)};ho._withStripped=!0;var fo=n(40),po=n.n(fo),Ao=i({props:{isAutoWidth:Boolean,updateAll:Boolean},inject:["elForm","elFormItem"],render:function(){var e=arguments[0],t=this.$slots.default;if(!t)return null;if(this.isAutoWidth){var n=this.elForm.autoLabelWidth,r={};if(n&&"auto"!==n){var i=parseInt(n,10)-this.computedWidth;i&&(r.marginLeft=i+"px")}return e("div",{class:"el-form-item__label-wrap",style:r},[t])}return t[0]},methods:{getLabelWidth:function(){if(this.$el&&this.$el.firstElementChild){var e=window.getComputedStyle(this.$el.firstElementChild).width;return Math.ceil(parseFloat(e))}return 0},updateLabelWidth:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"update";this.$slots.default&&this.isAutoWidth&&this.$el.firstElementChild&&("update"===e?this.computedWidth=this.getLabelWidth():"remove"===e&&this.elForm.deregisterLabelWidth(this.computedWidth))}},watch:{computedWidth:function(e,t){this.updateAll&&(this.elForm.registerLabelWidth(e,t),this.elFormItem.updateComputedLabelWidth(e))}},data:function(){return{computedWidth:0}},mounted:function(){this.updateLabelWidth("update")},updated:function(){this.updateLabelWidth("update")},beforeDestroy:function(){this.updateLabelWidth("remove")}},void 0,void 0,!1,null,null,null);Ao.options.__file="packages/form/src/label-wrap.vue";var go=Ao.exports,vo=i({name:"ElFormItem",componentName:"ElFormItem",mixins:[C.a],provide:function(){return{elFormItem:this}},inject:["elForm"],props:{label:String,labelWidth:String,prop:String,required:{type:Boolean,default:void 0},rules:[Object,Array],error:String,validateStatus:String,for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:String},components:{LabelWrap:go},watch:{error:{immediate:!0,handler:function(e){this.validateMessage=e,this.validateState=e?"error":""}},validateStatus:function(e){this.validateState=e}},computed:{labelFor:function(){return this.for||this.prop},labelStyle:function(){var e={};if("top"===this.form.labelPosition)return e;var t=this.labelWidth||this.form.labelWidth;return t&&(e.width=t),e},contentStyle:function(){var e={},t=this.label;if("top"===this.form.labelPosition||this.form.inline)return e;if(!t&&!this.labelWidth&&this.isNested)return e;var n=this.labelWidth||this.form.labelWidth;return"auto"===n?"auto"===this.labelWidth?e.marginLeft=this.computedLabelWidth:"auto"===this.form.labelWidth&&(e.marginLeft=this.elForm.autoLabelWidth):e.marginLeft=n,e},form:function(){for(var e=this.$parent,t=e.$options.componentName;"ElForm"!==t;)"ElFormItem"===t&&(this.isNested=!0),t=(e=e.$parent).$options.componentName;return e},fieldValue:function(){var e=this.form.model;if(e&&this.prop){var t=this.prop;return-1!==t.indexOf(":")&&(t=t.replace(/:/,".")),Object(A.getPropByPath)(e,t,!0).v}},isRequired:function(){var e=this.getRules(),t=!1;return e&&e.length&&e.every(function(e){return!e.required||(t=!0,!1)}),t},_formSize:function(){return this.elForm.size},elFormItemSize:function(){return this.size||this._formSize},sizeClass:function(){return this.elFormItemSize||(this.$ELEMENT||{}).size}},data:function(){return{validateState:"",validateMessage:"",validateDisabled:!1,validator:{},isNested:!1,computedLabelWidth:""}},methods:{validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A.noop;this.validateDisabled=!1;var r=this.getFilteredRule(e);if((!r||0===r.length)&&void 0===this.required)return n(),!0;this.validateState="validating";var i={};r&&r.length>0&&r.forEach(function(e){delete e.trigger}),i[this.prop]=r;var o=new po.a(i),a={};a[this.prop]=this.fieldValue,o.validate(a,{firstFields:!0},function(e,r){t.validateState=e?"error":"success",t.validateMessage=e?e[0].message:"",n(t.validateMessage,r),t.elForm&&t.elForm.$emit("validate",t.prop,!e,t.validateMessage||null)})},clearValidate:function(){this.validateState="",this.validateMessage="",this.validateDisabled=!1},resetField:function(){var e=this;this.validateState="",this.validateMessage="";var t=this.form.model,n=this.fieldValue,r=this.prop;-1!==r.indexOf(":")&&(r=r.replace(/:/,"."));var i=Object(A.getPropByPath)(t,r,!0);this.validateDisabled=!0,Array.isArray(n)?i.o[i.k]=[].concat(this.initialValue):i.o[i.k]=this.initialValue,this.$nextTick(function(){e.validateDisabled=!1}),this.broadcast("ElTimeSelect","fieldReset",this.initialValue)},getRules:function(){var e=this.form.rules,t=this.rules,n=void 0!==this.required?{required:!!this.required}:[],r=Object(A.getPropByPath)(e,this.prop||"");return e=e?r.o[this.prop||""]||r.v:[],[].concat(t||e||[]).concat(n)},getFilteredRule:function(e){return this.getRules().filter(function(t){return!t.trigger||""===e||(Array.isArray(t.trigger)?t.trigger.indexOf(e)>-1:t.trigger===e)}).map(function(e){return Ue()({},e)})},onFieldBlur:function(){this.validate("blur")},onFieldChange:function(){this.validateDisabled?this.validateDisabled=!1:this.validate("change")},updateComputedLabelWidth:function(e){this.computedLabelWidth=e?e+"px":""},addValidateEvents:function(){(this.getRules().length||void 0!==this.required)&&(this.$on("el.form.blur",this.onFieldBlur),this.$on("el.form.change",this.onFieldChange))},removeValidateEvents:function(){this.$off()}},mounted:function(){if(this.prop){this.dispatch("ElForm","el.form.addField",[this]);var e=this.fieldValue;Array.isArray(e)&&(e=[].concat(e)),Object.defineProperty(this,"initialValue",{value:e}),this.addValidateEvents()}},beforeDestroy:function(){this.dispatch("ElForm","el.form.removeField",[this])}},ho,[],!1,null,null,null);vo.options.__file="packages/form/src/form-item.vue";var mo=vo.exports;mo.install=function(e){e.component(mo.name,mo)};var yo=mo,bo=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-tabs__active-bar",class:"is-"+this.rootTabs.tabPosition,style:this.barStyle})};bo._withStripped=!0;var _o=i({name:"TabBar",props:{tabs:Array},inject:["rootTabs"],computed:{barStyle:{get:function(){var e=this,t={},n=0,r=0,i=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height",o="width"===i?"x":"y",a=function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,function(e){return e.toUpperCase()})};this.tabs.every(function(t,o){var s=Object(A.arrayFind)(e.$parent.$refs.tabs||[],function(e){return e.id.replace("tab-","")===t.paneName});if(!s)return!1;if(t.active){r=s["client"+a(i)];var l=window.getComputedStyle(s);return"width"===i&&e.tabs.length>1&&(r-=parseFloat(l.paddingLeft)+parseFloat(l.paddingRight)),"width"===i&&(n+=parseFloat(l.paddingLeft)),!1}return n+=s["client"+a(i)],!0});var s="translate"+a(o)+"("+n+"px)";return t[i]=r+"px",t.transform=s,t.msTransform=s,t.webkitTransform=s,t}}}},bo,[],!1,null,null,null);function wo(){}_o.options.__file="packages/tabs/src/tab-bar.vue";var xo=function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,function(e){return e.toUpperCase()})},Co=i({name:"TabNav",components:{TabBar:_o.exports},inject:["rootTabs"],props:{panes:Array,currentName:String,editable:Boolean,onTabClick:{type:Function,default:wo},onTabRemove:{type:Function,default:wo},type:String,stretch:Boolean},data:function(){return{scrollable:!1,navOffset:0,isFocus:!1,focusable:!0}},computed:{navStyle:function(){return{transform:"translate"+(-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"X":"Y")+"(-"+this.navOffset+"px)"}},sizeName:function(){return-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height"}},methods:{scrollPrev:function(){var e=this.$refs.navScroll["offset"+xo(this.sizeName)],t=this.navOffset;if(t){var n=t>e?t-e:0;this.navOffset=n}},scrollNext:function(){var e=this.$refs.nav["offset"+xo(this.sizeName)],t=this.$refs.navScroll["offset"+xo(this.sizeName)],n=this.navOffset;if(!(e-n<=t)){var r=e-n>2*t?n+t:e-t;this.navOffset=r}},scrollToActiveTab:function(){if(this.scrollable){var e=this.$refs.nav,t=this.$el.querySelector(".is-active");if(t){var n=this.$refs.navScroll,r=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition),i=t.getBoundingClientRect(),o=n.getBoundingClientRect(),a=r?e.offsetWidth-o.width:e.offsetHeight-o.height,s=this.navOffset,l=s;r?(i.left<o.left&&(l=s-(o.left-i.left)),i.right>o.right&&(l=s+i.right-o.right)):(i.top<o.top&&(l=s-(o.top-i.top)),i.bottom>o.bottom&&(l=s+(i.bottom-o.bottom))),l=Math.max(l,0),this.navOffset=Math.min(l,a)}}},update:function(){if(this.$refs.nav){var e=this.sizeName,t=this.$refs.nav["offset"+xo(e)],n=this.$refs.navScroll["offset"+xo(e)],r=this.navOffset;if(n<t){var i=this.navOffset;this.scrollable=this.scrollable||{},this.scrollable.prev=i,this.scrollable.next=i+n<t,t-i<n&&(this.navOffset=t-n)}else this.scrollable=!1,r>0&&(this.navOffset=0)}},changeTab:function(e){var t=e.keyCode,n=void 0,r=void 0,i=void 0;-1!==[37,38,39,40].indexOf(t)&&(i=e.currentTarget.querySelectorAll("[role=tab]"),r=Array.prototype.indexOf.call(i,e.target),i[n=37===t||38===t?0===r?i.length-1:r-1:r<i.length-1?r+1:0].focus(),i[n].click(),this.setFocus())},setFocus:function(){this.focusable&&(this.isFocus=!0)},removeFocus:function(){this.isFocus=!1},visibilityChangeHandler:function(){var e=this,t=document.visibilityState;"hidden"===t?this.focusable=!1:"visible"===t&&setTimeout(function(){e.focusable=!0},50)},windowBlurHandler:function(){this.focusable=!1},windowFocusHandler:function(){var e=this;setTimeout(function(){e.focusable=!0},50)}},updated:function(){this.update()},render:function(e){var t=this,n=this.type,r=this.panes,i=this.editable,o=this.stretch,a=this.onTabClick,s=this.onTabRemove,l=this.navStyle,c=this.scrollable,u=this.scrollNext,h=this.scrollPrev,d=this.changeTab,f=this.setFocus,p=this.removeFocus,A=c?[e("span",{class:["el-tabs__nav-prev",c.prev?"":"is-disabled"],on:{click:h}},[e("i",{class:"el-icon-arrow-left"})]),e("span",{class:["el-tabs__nav-next",c.next?"":"is-disabled"],on:{click:u}},[e("i",{class:"el-icon-arrow-right"})])]:null,g=this._l(r,function(n,r){var o,l=n.name||n.index||r,c=n.isClosable||i;n.index=""+r;var u=c?e("span",{class:"el-icon-close",on:{click:function(e){s(n,e)}}}):null,h=n.$slots.label||n.label,d=n.active?0:-1;return e("div",{class:(o={"el-tabs__item":!0},o["is-"+t.rootTabs.tabPosition]=!0,o["is-active"]=n.active,o["is-disabled"]=n.disabled,o["is-closable"]=c,o["is-focus"]=t.isFocus,o),attrs:{id:"tab-"+l,"aria-controls":"pane-"+l,role:"tab","aria-selected":n.active,tabindex:d},key:"tab-"+l,ref:"tabs",refInFor:!0,on:{focus:function(){f()},blur:function(){p()},click:function(e){p(),a(n,l,e)},keydown:function(e){!c||46!==e.keyCode&&8!==e.keyCode||s(n,e)}}},[h,u])});return e("div",{class:["el-tabs__nav-wrap",c?"is-scrollable":"","is-"+this.rootTabs.tabPosition]},[A,e("div",{class:["el-tabs__nav-scroll"],ref:"navScroll"},[e("div",{class:["el-tabs__nav","is-"+this.rootTabs.tabPosition,o&&-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"is-stretch":""],ref:"nav",style:l,attrs:{role:"tablist"},on:{keydown:d}},[n?null:e("tab-bar",{attrs:{tabs:r}}),g])])])},mounted:function(){var e=this;Object(Ft.addResizeListener)(this.$el,this.update),document.addEventListener("visibilitychange",this.visibilityChangeHandler),window.addEventListener("blur",this.windowBlurHandler),window.addEventListener("focus",this.windowFocusHandler),setTimeout(function(){e.scrollToActiveTab()},0)},beforeDestroy:function(){this.$el&&this.update&&Object(Ft.removeResizeListener)(this.$el,this.update),document.removeEventListener("visibilitychange",this.visibilityChangeHandler),window.removeEventListener("blur",this.windowBlurHandler),window.removeEventListener("focus",this.windowFocusHandler)}},void 0,void 0,!1,null,null,null);Co.options.__file="packages/tabs/src/tab-nav.vue";var So=i({name:"ElTabs",components:{TabNav:Co.exports},props:{type:String,activeName:String,closable:Boolean,addable:Boolean,value:{},editable:Boolean,tabPosition:{type:String,default:"top"},beforeLeave:Function,stretch:Boolean},provide:function(){return{rootTabs:this}},data:function(){return{currentName:this.value||this.activeName,panes:[]}},watch:{activeName:function(e){this.setCurrentName(e)},value:function(e){this.setCurrentName(e)},currentName:function(e){var t=this;this.$refs.nav&&this.$nextTick(function(){t.$refs.nav.$nextTick(function(e){t.$refs.nav.scrollToActiveTab()})})}},methods:{calcPaneInstances:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.$slots.default){var n=this.$slots.default.filter(function(e){return e.tag&&e.componentOptions&&"ElTabPane"===e.componentOptions.Ctor.options.name}).map(function(e){return e.componentInstance}),r=!(n.length===this.panes.length&&n.every(function(t,n){return t===e.panes[n]}));(t||r)&&(this.panes=n)}else 0!==this.panes.length&&(this.panes=[])},handleTabClick:function(e,t,n){e.disabled||(this.setCurrentName(t),this.$emit("tab-click",e,n))},handleTabRemove:function(e,t){e.disabled||(t.stopPropagation(),this.$emit("edit",e.name,"remove"),this.$emit("tab-remove",e.name))},handleTabAdd:function(){this.$emit("edit",null,"add"),this.$emit("tab-add")},setCurrentName:function(e){var t=this,n=function(){t.currentName=e,t.$emit("input",e)};if(this.currentName!==e&&this.beforeLeave){var r=this.beforeLeave(e,this.currentName);r&&r.then?r.then(function(){n(),t.$refs.nav&&t.$refs.nav.removeFocus()},function(){}):!1!==r&&n()}else n()}},render:function(e){var t,n=this.type,r=this.handleTabClick,i=this.handleTabRemove,o=this.handleTabAdd,a=this.currentName,s=this.panes,l=this.editable,c=this.addable,u=this.tabPosition,h=this.stretch,d=e("div",{class:["el-tabs__header","is-"+u]},[l||c?e("span",{class:"el-tabs__new-tab",on:{click:o,keydown:function(e){13===e.keyCode&&o()}},attrs:{tabindex:"0"}},[e("i",{class:"el-icon-plus"})]):null,e("tab-nav",{props:{currentName:a,onTabClick:r,onTabRemove:i,editable:l,type:n,panes:s,stretch:h},ref:"nav"})]),f=e("div",{class:"el-tabs__content"},[this.$slots.default]);return e("div",{class:(t={"el-tabs":!0,"el-tabs--card":"card"===n},t["el-tabs--"+u]=!0,t["el-tabs--border-card"]="border-card"===n,t)},["bottom"!==u?[d,f]:[f,d]])},created:function(){this.currentName||this.setCurrentName("0"),this.$on("tab-nav-update",this.calcPaneInstances.bind(null,!0))},mounted:function(){this.calcPaneInstances()},updated:function(){this.calcPaneInstances()}},void 0,void 0,!1,null,null,null);So.options.__file="packages/tabs/src/tabs.vue";var Bo=So.exports;Bo.install=function(e){e.component(Bo.name,Bo)};var ko=Bo,To=function(){var e=this,t=e.$createElement,n=e._self._c||t;return!e.lazy||e.loaded||e.active?n("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"el-tab-pane",attrs:{role:"tabpanel","aria-hidden":!e.active,id:"pane-"+e.paneName,"aria-labelledby":"tab-"+e.paneName}},[e._t("default")],2):e._e()};To._withStripped=!0;var Eo=i({name:"ElTabPane",componentName:"ElTabPane",props:{label:String,labelContent:Function,name:String,closable:Boolean,disabled:Boolean,lazy:Boolean},data:function(){return{index:null,loaded:!1}},computed:{isClosable:function(){return this.closable||this.$parent.closable},active:function(){var e=this.$parent.currentName===(this.name||this.index);return e&&(this.loaded=!0),e},paneName:function(){return this.name||this.index}},updated:function(){this.$parent.$emit("tab-nav-update")}},To,[],!1,null,null,null);Eo.options.__file="packages/tabs/src/tab-pane.vue";var Mo=Eo.exports;Mo.install=function(e){e.component(Mo.name,Mo)};var Do=Mo,Oo=i({name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(e){return-1!==["dark","light","plain"].indexOf(e)}}},methods:{handleClose:function(e){e.stopPropagation(),this.$emit("close",e)},handleClick:function(e){this.$emit("click",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(e){var t=this.type,n=this.tagSize,r=this.hit,i=this.effect,o=e("span",{class:["el-tag",t?"el-tag--"+t:"",n?"el-tag--"+n:"",i?"el-tag--"+i:"",r&&"is-hit"],style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&e("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?o:e("transition",{attrs:{name:"el-zoom-in-center"}},[o])}},void 0,void 0,!1,null,null,null);Oo.options.__file="packages/tag/src/tag.vue";var Io=Oo.exports;Io.install=function(e){e.component(Io.name,Io)};var Lo=Io,Po=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-tree",class:{"el-tree--highlight-current":e.highlightCurrent,"is-dragging":!!e.dragState.draggingNode,"is-drop-not-allow":!e.dragState.allowDrop,"is-drop-inner":"inner"===e.dragState.dropType},attrs:{role:"tree"}},[e._l(e.root.childNodes,function(t){return n("el-tree-node",{key:e.getNodeKey(t),attrs:{node:t,props:e.props,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent},on:{"node-expand":e.handleNodeExpand}})}),e.isEmpty?n("div",{staticClass:"el-tree__empty-block"},[n("span",{staticClass:"el-tree__empty-text"},[e._v(e._s(e.emptyText))])]):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dragState.showDropIndicator,expression:"dragState.showDropIndicator"}],ref:"dropIndicator",staticClass:"el-tree__drop-indicator"})],2)};Po._withStripped=!0;var Fo="$treeNodeId",Ro=function(e,t){t&&!t[Fo]&&Object.defineProperty(t,Fo,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},No=function(e,t){return e?t[e]:t[Fo]},Ho=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var jo=function(e){for(var t=!0,n=!0,r=!0,i=0,o=e.length;i<o;i++){var a=e[i];(!0!==a.checked||a.indeterminate)&&(t=!1,a.disabled||(r=!1)),(!1!==a.checked||a.indeterminate)&&(n=!1)}return{all:t,none:n,allWithoutDisable:r,half:!t&&!n}},Uo=function e(t){if(0!==t.childNodes.length){var n=jo(t.childNodes),r=n.all,i=n.none,o=n.half;r?(t.checked=!0,t.indeterminate=!1):o?(t.checked=!1,t.indeterminate=!0):i&&(t.checked=!1,t.indeterminate=!1);var a=t.parent;a&&0!==a.level&&(t.store.checkStrictly||e(a))}},Qo=function(e,t){var n=e.store.props,r=e.data||{},i=n[t];if("function"==typeof i)return i(r,e);if("string"==typeof i)return r[i];if(void 0===i){var o=r[t];return void 0===o?"":o}},zo=0,Yo=function(){function e(t){for(var n in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=zo++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,t)t.hasOwnProperty(n)&&(this[n]=t[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1);var r=this.store;if(!r)throw new Error("[Node]store is required!");r.registerNode(this);var i=r.props;if(i&&void 0!==i.isLeaf){var o=Qo(this,"isLeaf");"boolean"==typeof o&&(this.isLeafByUser=o)}if(!0!==r.lazy&&this.data?(this.setData(this.data),r.defaultExpandAll&&(this.expanded=!0)):this.level>0&&r.lazy&&r.defaultExpandAll&&this.expand(),Array.isArray(this.data)||Ro(this,this.data),this.data){var a=r.defaultExpandedKeys,s=r.key;s&&a&&-1!==a.indexOf(this.key)&&this.expand(null,r.autoExpandParent),s&&void 0!==r.currentNodeKey&&this.key===r.currentNodeKey&&(r.currentNode=this,r.currentNode.isCurrent=!0),r.lazy&&r._initDefaultCheckedNode(this),this.updateLeafState()}}return e.prototype.setData=function(e){Array.isArray(e)||Ro(this,e),this.data=e,this.childNodes=[];for(var t=void 0,n=0,r=(t=0===this.level&&this.data instanceof Array?this.data:Qo(this,"children")||[]).length;n<r;n++)this.insertChild({data:t[n]})},e.prototype.contains=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function n(r){for(var i=r.childNodes||[],o=!1,a=0,s=i.length;a<s;a++){var l=i[a];if(l===e||t&&n(l)){o=!0;break}}return o}(this)},e.prototype.remove=function(){var e=this.parent;e&&e.removeChild(this)},e.prototype.insertChild=function(t,n,r){if(!t)throw new Error("insertChild error: child is required.");if(!(t instanceof e)){if(!r){var i=this.getChildren(!0);-1===i.indexOf(t.data)&&(void 0===n||n<0?i.push(t.data):i.splice(n,0,t.data))}Ue()(t,{parent:this,store:this.store}),t=new e(t)}t.level=this.level+1,void 0===n||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()},e.prototype.insertBefore=function(e,t){var n=void 0;t&&(n=this.childNodes.indexOf(t)),this.insertChild(e,n)},e.prototype.insertAfter=function(e,t){var n=void 0;t&&-1!==(n=this.childNodes.indexOf(t))&&(n+=1),this.insertChild(e,n)},e.prototype.removeChild=function(e){var t=this.getChildren()||[],n=t.indexOf(e.data);n>-1&&t.splice(n,1);var r=this.childNodes.indexOf(e);r>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(r,1)),this.updateLeafState()},e.prototype.removeChildByData=function(e){for(var t=null,n=0;n<this.childNodes.length;n++)if(this.childNodes[n].data===e){t=this.childNodes[n];break}t&&this.removeChild(t)},e.prototype.expand=function(e,t){var n=this,r=function(){if(t)for(var r=n.parent;r.level>0;)r.expanded=!0,r=r.parent;n.expanded=!0,e&&e()};this.shouldLoadData()?this.loadData(function(e){e instanceof Array&&(n.checked?n.setChecked(!0,!0):n.store.checkStrictly||Uo(n),r())}):r()},e.prototype.doCreateChildren=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach(function(e){t.insertChild(Ue()({data:e},n),void 0,!0)})},e.prototype.collapse=function(){this.expanded=!1},e.prototype.shouldLoadData=function(){return!0===this.store.lazy&&this.store.load&&!this.loaded},e.prototype.updateLeafState=function(){if(!0!==this.store.lazy||!0===this.loaded||void 0===this.isLeafByUser){var e=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!e||0===e.length:this.isLeaf=!1}else this.isLeaf=this.isLeafByUser},e.prototype.setChecked=function(e,t,n,r){var i=this;if(this.indeterminate="half"===e,this.checked=!0===e,!this.store.checkStrictly){if(!this.shouldLoadData()||this.store.checkDescendants){var o=jo(this.childNodes),a=o.all,s=o.allWithoutDisable;this.isLeaf||a||!s||(this.checked=!1,e=!1);var l=function(){if(t){for(var n=i.childNodes,o=0,a=n.length;o<a;o++){var s=n[o];r=r||!1!==e;var l=s.disabled?s.checked:r;s.setChecked(l,t,!0,r)}var c=jo(n),u=c.half,h=c.all;h||(i.checked=h,i.indeterminate=u)}};if(this.shouldLoadData())return void this.loadData(function(){l(),Uo(i)},{checked:!1!==e});l()}var c=this.parent;c&&0!==c.level&&(n||Uo(c))}},e.prototype.getChildren=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(0===this.level)return this.data;var t=this.data;if(!t)return null;var n=this.store.props,r="children";return n&&(r=n.children||"children"),void 0===t[r]&&(t[r]=null),e&&!t[r]&&(t[r]=[]),t[r]},e.prototype.updateChildren=function(){var e=this,t=this.getChildren()||[],n=this.childNodes.map(function(e){return e.data}),r={},i=[];t.forEach(function(e,t){var o=e[Fo];!!o&&Object(A.arrayFindIndex)(n,function(e){return e[Fo]===o})>=0?r[o]={index:t,data:e}:i.push({index:t,data:e})}),this.store.lazy||n.forEach(function(t){r[t[Fo]]||e.removeChildByData(t)}),i.forEach(function(t){var n=t.index,r=t.data;e.insertChild({data:r},n)}),this.updateLeafState()},e.prototype.loadData=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(n).length)e&&e.call(this);else{this.loading=!0;this.store.load(this,function(r){t.loaded=!0,t.loading=!1,t.childNodes=[],t.doCreateChildren(r,n),t.updateLeafState(),e&&e.call(t,r)})}},Ho(e,[{key:"label",get:function(){return Qo(this,"label")}},{key:"key",get:function(){var e=this.store.key;return this.data?this.data[e]:null}},{key:"disabled",get:function(){return Qo(this,"disabled")}},{key:"nextSibling",get:function(){var e=this.parent;if(e){var t=e.childNodes.indexOf(this);if(t>-1)return e.childNodes[t+1]}return null}},{key:"previousSibling",get:function(){var e=this.parent;if(e){var t=e.childNodes.indexOf(this);if(t>-1)return t>0?e.childNodes[t-1]:null}return null}}]),e}(),Vo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var Go=function(){function e(t){var n=this;for(var r in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.currentNode=null,this.currentNodeKey=null,t)t.hasOwnProperty(r)&&(this[r]=t[r]);(this.nodesMap={},this.root=new Yo({data:this.data,store:this}),this.lazy&&this.load)?(0,this.load)(this.root,function(e){n.root.doCreateChildren(e),n._initDefaultCheckedNodes()}):this._initDefaultCheckedNodes()}return e.prototype.filter=function(e){var t=this.filterNodeMethod,n=this.lazy;!function r(i){var o=i.root?i.root.childNodes:i.childNodes;if(o.forEach(function(n){n.visible=t.call(n,e,n.data,n),r(n)}),!i.visible&&o.length){var a;a=!o.some(function(e){return e.visible}),i.root?i.root.visible=!1===a:i.visible=!1===a}e&&(!i.visible||i.isLeaf||n||i.expand())}(this)},e.prototype.setData=function(e){e!==this.root.data?(this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()},e.prototype.getNode=function(e){if(e instanceof Yo)return e;var t="object"!==(void 0===e?"undefined":Vo(e))?e:No(this.key,e);return this.nodesMap[t]||null},e.prototype.insertBefore=function(e,t){var n=this.getNode(t);n.parent.insertBefore({data:e},n)},e.prototype.insertAfter=function(e,t){var n=this.getNode(t);n.parent.insertAfter({data:e},n)},e.prototype.remove=function(e){var t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))},e.prototype.append=function(e,t){var n=t?this.getNode(t):this.root;n&&n.insertChild({data:e})},e.prototype._initDefaultCheckedNodes=function(){var e=this,t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(function(t){var r=n[t];r&&r.setChecked(!0,!e.checkStrictly)})},e.prototype._initDefaultCheckedNode=function(e){-1!==(this.defaultCheckedKeys||[]).indexOf(e.key)&&e.setChecked(!0,!this.checkStrictly)},e.prototype.setDefaultCheckedKey=function(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())},e.prototype.registerNode=function(e){this.key&&e&&e.data&&(void 0!==e.key&&(this.nodesMap[e.key]=e))},e.prototype.deregisterNode=function(e){var t=this;this.key&&e&&e.data&&(e.childNodes.forEach(function(e){t.deregisterNode(e)}),delete this.nodesMap[e.key])},e.prototype.getCheckedNodes=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];return function r(i){(i.root?i.root.childNodes:i.childNodes).forEach(function(i){(i.checked||t&&i.indeterminate)&&(!e||e&&i.isLeaf)&&n.push(i.data),r(i)})}(this),n},e.prototype.getCheckedKeys=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.getCheckedNodes(t).map(function(t){return(t||{})[e.key]})},e.prototype.getHalfCheckedNodes=function(){var e=[];return function t(n){(n.root?n.root.childNodes:n.childNodes).forEach(function(n){n.indeterminate&&e.push(n.data),t(n)})}(this),e},e.prototype.getHalfCheckedKeys=function(){var e=this;return this.getHalfCheckedNodes().map(function(t){return(t||{})[e.key]})},e.prototype._getAllNodes=function(){var e=[],t=this.nodesMap;for(var n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e},e.prototype.updateChildren=function(e,t){var n=this.nodesMap[e];if(n){for(var r=n.childNodes,i=r.length-1;i>=0;i--){var o=r[i];this.remove(o.data)}for(var a=0,s=t.length;a<s;a++){var l=t[a];this.append(l,n.data)}}},e.prototype._setCheckedKeys=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments[2],r=this._getAllNodes().sort(function(e,t){return t.level-e.level}),i=Object.create(null),o=Object.keys(n);r.forEach(function(e){return e.setChecked(!1,!1)});for(var a=0,s=r.length;a<s;a++){var l=r[a],c=l.data[e].toString();if(o.indexOf(c)>-1){for(var u=l.parent;u&&u.level>0;)i[u.data[e]]=!0,u=u.parent;l.isLeaf||this.checkStrictly?l.setChecked(!0,!1):(l.setChecked(!0,!0),t&&function(){l.setChecked(!1,!1);!function e(t){t.childNodes.forEach(function(t){t.isLeaf||t.setChecked(!1,!1),e(t)})}(l)}())}else l.checked&&!i[c]&&l.setChecked(!1,!1)}},e.prototype.setCheckedNodes=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.key,r={};e.forEach(function(e){r[(e||{})[n]]=!0}),this._setCheckedKeys(n,t,r)},e.prototype.setCheckedKeys=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.defaultCheckedKeys=e;var n=this.key,r={};e.forEach(function(e){r[e]=!0}),this._setCheckedKeys(n,t,r)},e.prototype.setDefaultExpandedKeys=function(e){var t=this;e=e||[],this.defaultExpandedKeys=e,e.forEach(function(e){var n=t.getNode(e);n&&n.expand(null,t.autoExpandParent)})},e.prototype.setChecked=function(e,t,n){var r=this.getNode(e);r&&r.setChecked(!!t,n)},e.prototype.getCurrentNode=function(){return this.currentNode},e.prototype.setCurrentNode=function(e){var t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0},e.prototype.setUserCurrentNode=function(e){var t=e[this.key],n=this.nodesMap[t];this.setCurrentNode(n)},e.prototype.setCurrentNodeKey=function(e){if(null===e||void 0===e)return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);var t=this.getNode(e);t&&this.setCurrentNode(t)},e}(),Wo=function(){var e=this,t=this,n=t.$createElement,r=t._self._c||n;return r("div",{directives:[{name:"show",rawName:"v-show",value:t.node.visible,expression:"node.visible"}],ref:"node",staticClass:"el-tree-node",class:{"is-expanded":t.expanded,"is-current":t.node.isCurrent,"is-hidden":!t.node.visible,"is-focusable":!t.node.disabled,"is-checked":!t.node.disabled&&t.node.checked},attrs:{role:"treeitem",tabindex:"-1","aria-expanded":t.expanded,"aria-disabled":t.node.disabled,"aria-checked":t.node.checked,draggable:t.tree.draggable},on:{click:function(e){return e.stopPropagation(),t.handleClick(e)},contextmenu:function(t){return e.handleContextMenu(t)},dragstart:function(e){return e.stopPropagation(),t.handleDragStart(e)},dragover:function(e){return e.stopPropagation(),t.handleDragOver(e)},dragend:function(e){return e.stopPropagation(),t.handleDragEnd(e)},drop:function(e){return e.stopPropagation(),t.handleDrop(e)}}},[r("div",{staticClass:"el-tree-node__content",style:{"padding-left":(t.node.level-1)*t.tree.indent+"px"}},[r("span",{class:[{"is-leaf":t.node.isLeaf,expanded:!t.node.isLeaf&&t.expanded},"el-tree-node__expand-icon",t.tree.iconClass?t.tree.iconClass:"el-icon-caret-right"],on:{click:function(e){return e.stopPropagation(),t.handleExpandIconClick(e)}}}),t.showCheckbox?r("el-checkbox",{attrs:{indeterminate:t.node.indeterminate,disabled:!!t.node.disabled},on:{change:t.handleCheckChange},nativeOn:{click:function(e){e.stopPropagation()}},model:{value:t.node.checked,callback:function(e){t.$set(t.node,"checked",e)},expression:"node.checked"}}):t._e(),t.node.loading?r("span",{staticClass:"el-tree-node__loading-icon el-icon-loading"}):t._e(),r("node-content",{attrs:{node:t.node}})],1),r("el-collapse-transition",[!t.renderAfterExpand||t.childNodeRendered?r("div",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"expanded"}],staticClass:"el-tree-node__children",attrs:{role:"group","aria-expanded":t.expanded}},t._l(t.node.childNodes,function(e){return r("el-tree-node",{key:t.getNodeKey(e),attrs:{"render-content":t.renderContent,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,node:e},on:{"node-expand":t.handleChildNodeExpand}})}),1):t._e()])],1)};Wo._withStripped=!0;var Xo=i({name:"ElTreeNode",componentName:"ElTreeNode",mixins:[C.a],props:{node:{default:function(){return{}}},props:{},renderContent:Function,renderAfterExpand:{type:Boolean,default:!0},showCheckbox:{type:Boolean,default:!1}},components:{ElCollapseTransition:ye.a,ElCheckbox:rn.a,NodeContent:{props:{node:{required:!0}},render:function(e){var t=this.$parent,n=t.tree,r=this.node,i=r.data,o=r.store;return t.renderContent?t.renderContent.call(t._renderProxy,e,{_self:n.$vnode.context,node:r,data:i,store:o}):n.$scopedSlots.default?n.$scopedSlots.default({node:r,data:i}):e("span",{class:"el-tree-node__label"},[r.label])}}},data:function(){return{tree:null,expanded:!1,childNodeRendered:!1,oldChecked:null,oldIndeterminate:null}},watch:{"node.indeterminate":function(e){this.handleSelectChange(this.node.checked,e)},"node.checked":function(e){this.handleSelectChange(e,this.node.indeterminate)},"node.expanded":function(e){var t=this;this.$nextTick(function(){return t.expanded=e}),e&&(this.childNodeRendered=!0)}},methods:{getNodeKey:function(e){return No(this.tree.nodeKey,e.data)},handleSelectChange:function(e,t){this.oldChecked!==e&&this.oldIndeterminate!==t&&this.tree.$emit("check-change",this.node.data,e,t),this.oldChecked=e,this.indeterminate=t},handleClick:function(){var e=this.tree.store;e.setCurrentNode(this.node),this.tree.$emit("current-change",e.currentNode?e.currentNode.data:null,e.currentNode),this.tree.currentNode=this,this.tree.expandOnClickNode&&this.handleExpandIconClick(),this.tree.checkOnClickNode&&!this.node.disabled&&this.handleCheckChange(null,{target:{checked:!this.node.checked}}),this.tree.$emit("node-click",this.node.data,this.node,this)},handleContextMenu:function(e){this.tree._events["node-contextmenu"]&&this.tree._events["node-contextmenu"].length>0&&(e.stopPropagation(),e.preventDefault()),this.tree.$emit("node-contextmenu",e,this.node.data,this.node,this)},handleExpandIconClick:function(){this.node.isLeaf||(this.expanded?(this.tree.$emit("node-collapse",this.node.data,this.node,this),this.node.collapse()):(this.node.expand(),this.$emit("node-expand",this.node.data,this.node,this)))},handleCheckChange:function(e,t){var n=this;this.node.setChecked(t.target.checked,!this.tree.checkStrictly),this.$nextTick(function(){var e=n.tree.store;n.tree.$emit("check",n.node.data,{checkedNodes:e.getCheckedNodes(),checkedKeys:e.getCheckedKeys(),halfCheckedNodes:e.getHalfCheckedNodes(),halfCheckedKeys:e.getHalfCheckedKeys()})})},handleChildNodeExpand:function(e,t,n){this.broadcast("ElTreeNode","tree-node-expand",t),this.tree.$emit("node-expand",e,t,n)},handleDragStart:function(e){this.tree.draggable&&this.tree.$emit("tree-node-drag-start",e,this)},handleDragOver:function(e){this.tree.draggable&&(this.tree.$emit("tree-node-drag-over",e,this),e.preventDefault())},handleDrop:function(e){e.preventDefault()},handleDragEnd:function(e){this.tree.draggable&&this.tree.$emit("tree-node-drag-end",e,this)}},created:function(){var e=this,t=this.$parent;t.isTree?this.tree=t:this.tree=t.tree;var n=this.tree;n||console.warn("Can not find node's tree.");var r=(n.props||{}).children||"children";this.$watch("node.data."+r,function(){e.node.updateChildren()}),this.node.expanded&&(this.expanded=!0,this.childNodeRendered=!0),this.tree.accordion&&this.$on("tree-node-expand",function(t){e.node!==t&&e.node.collapse()})}},Wo,[],!1,null,null,null);Xo.options.__file="packages/tree/src/tree-node.vue";var Zo=Xo.exports,$o=i({name:"ElTree",mixins:[C.a],components:{ElTreeNode:Zo},data:function(){return{store:null,root:null,currentNode:null,treeItems:null,checkboxItems:[],dragState:{showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0}}},props:{data:{type:Array},emptyText:{type:String,default:function(){return Object(Li.t)("el.tree.emptyText")}},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{default:function(){return{children:"children",label:"label",disabled:"disabled"}}},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},iconClass:String},computed:{children:{set:function(e){this.data=e},get:function(){return this.data}},treeItemArray:function(){return Array.prototype.slice.call(this.treeItems)},isEmpty:function(){var e=this.root.childNodes;return!e||0===e.length||e.every(function(e){return!e.visible})}},watch:{defaultCheckedKeys:function(e){this.store.setDefaultCheckedKey(e)},defaultExpandedKeys:function(e){this.store.defaultExpandedKeys=e,this.store.setDefaultExpandedKeys(e)},data:function(e){this.store.setData(e)},checkboxItems:function(e){Array.prototype.forEach.call(e,function(e){e.setAttribute("tabindex",-1)})},checkStrictly:function(e){this.store.checkStrictly=e}},methods:{filter:function(e){if(!this.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");this.store.filter(e)},getNodeKey:function(e){return No(this.nodeKey,e.data)},getNodePath:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");var t=this.store.getNode(e);if(!t)return[];for(var n=[t.data],r=t.parent;r&&r!==this.root;)n.push(r.data),r=r.parent;return n.reverse()},getCheckedNodes:function(e,t){return this.store.getCheckedNodes(e,t)},getCheckedKeys:function(e){return this.store.getCheckedKeys(e)},getCurrentNode:function(){var e=this.store.getCurrentNode();return e?e.data:null},getCurrentKey:function(){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");var e=this.getCurrentNode();return e?e[this.nodeKey]:null},setCheckedNodes:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");this.store.setCheckedNodes(e,t)},setCheckedKeys:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");this.store.setCheckedKeys(e,t)},setChecked:function(e,t,n){this.store.setChecked(e,t,n)},getHalfCheckedNodes:function(){return this.store.getHalfCheckedNodes()},getHalfCheckedKeys:function(){return this.store.getHalfCheckedKeys()},setCurrentNode:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");this.store.setUserCurrentNode(e)},setCurrentKey:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");this.store.setCurrentNodeKey(e)},getNode:function(e){return this.store.getNode(e)},remove:function(e){this.store.remove(e)},append:function(e,t){this.store.append(e,t)},insertBefore:function(e,t){this.store.insertBefore(e,t)},insertAfter:function(e,t){this.store.insertAfter(e,t)},handleNodeExpand:function(e,t,n){this.broadcast("ElTreeNode","tree-node-expand",t),this.$emit("node-expand",e,t,n)},updateKeyChildren:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");this.store.updateChildren(e,t)},initTabIndex:function(){this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]");var e=this.$el.querySelectorAll(".is-checked[role=treeitem]");e.length?e[0].setAttribute("tabindex",0):this.treeItems[0]&&this.treeItems[0].setAttribute("tabindex",0)},handleKeydown:function(e){var t=e.target;if(-1!==t.className.indexOf("el-tree-node")){var n=e.keyCode;this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]");var r=this.treeItemArray.indexOf(t),i=void 0;[38,40].indexOf(n)>-1&&(e.preventDefault(),i=38===n?0!==r?r-1:0:r<this.treeItemArray.length-1?r+1:0,this.treeItemArray[i].focus()),[37,39].indexOf(n)>-1&&(e.preventDefault(),t.click());var o=t.querySelector('[type="checkbox"]');[13,32].indexOf(n)>-1&&o&&(e.preventDefault(),o.click())}}},created:function(){var e=this;this.isTree=!0,this.store=new Go({key:this.nodeKey,data:this.data,lazy:this.lazy,props:this.props,load:this.load,currentNodeKey:this.currentNodeKey,checkStrictly:this.checkStrictly,checkDescendants:this.checkDescendants,defaultCheckedKeys:this.defaultCheckedKeys,defaultExpandedKeys:this.defaultExpandedKeys,autoExpandParent:this.autoExpandParent,defaultExpandAll:this.defaultExpandAll,filterNodeMethod:this.filterNodeMethod}),this.root=this.store.root;var t=this.dragState;this.$on("tree-node-drag-start",function(n,r){if("function"==typeof e.allowDrag&&!e.allowDrag(r.node))return n.preventDefault(),!1;n.dataTransfer.effectAllowed="move";try{n.dataTransfer.setData("text/plain","")}catch(e){}t.draggingNode=r,e.$emit("node-drag-start",r.node,n)}),this.$on("tree-node-drag-over",function(n,r){var i=function(e,t){for(var n=e;n&&"BODY"!==n.tagName;){if(n.__vue__&&n.__vue__.$options.name===t)return n.__vue__;n=n.parentNode}return null}(n.target,"ElTreeNode"),o=t.dropNode;o&&o!==i&&Object(pe.removeClass)(o.$el,"is-drop-inner");var a=t.draggingNode;if(a&&i){var s=!0,l=!0,c=!0,u=!0;"function"==typeof e.allowDrop&&(s=e.allowDrop(a.node,i.node,"prev"),u=l=e.allowDrop(a.node,i.node,"inner"),c=e.allowDrop(a.node,i.node,"next")),n.dataTransfer.dropEffect=l?"move":"none",(s||l||c)&&o!==i&&(o&&e.$emit("node-drag-leave",a.node,o.node,n),e.$emit("node-drag-enter",a.node,i.node,n)),(s||l||c)&&(t.dropNode=i),i.node.nextSibling===a.node&&(c=!1),i.node.previousSibling===a.node&&(s=!1),i.node.contains(a.node,!1)&&(l=!1),(a.node===i.node||a.node.contains(i.node))&&(s=!1,l=!1,c=!1);var h=i.$el.getBoundingClientRect(),d=e.$el.getBoundingClientRect(),f=void 0,p=s?l?.25:c?.45:1:-1,A=c?l?.75:s?.55:0:1,g=-9999,v=n.clientY-h.top;f=v<h.height*p?"before":v>h.height*A?"after":l?"inner":"none";var m=i.$el.querySelector(".el-tree-node__expand-icon").getBoundingClientRect(),y=e.$refs.dropIndicator;"before"===f?g=m.top-d.top:"after"===f&&(g=m.bottom-d.top),y.style.top=g+"px",y.style.left=m.right-d.left+"px","inner"===f?Object(pe.addClass)(i.$el,"is-drop-inner"):Object(pe.removeClass)(i.$el,"is-drop-inner"),t.showDropIndicator="before"===f||"after"===f,t.allowDrop=t.showDropIndicator||u,t.dropType=f,e.$emit("node-drag-over",a.node,i.node,n)}}),this.$on("tree-node-drag-end",function(n){var r=t.draggingNode,i=t.dropType,o=t.dropNode;if(n.preventDefault(),n.dataTransfer.dropEffect="move",r&&o){var a={data:r.node.data};"none"!==i&&r.node.remove(),"before"===i?o.node.parent.insertBefore(a,o.node):"after"===i?o.node.parent.insertAfter(a,o.node):"inner"===i&&o.node.insertChild(a),"none"!==i&&e.store.registerNode(a),Object(pe.removeClass)(o.$el,"is-drop-inner"),e.$emit("node-drag-end",r.node,o.node,i,n),"none"!==i&&e.$emit("node-drop",r.node,o.node,i,n)}r&&!o&&e.$emit("node-drag-end",r.node,null,i,n),t.showDropIndicator=!1,t.draggingNode=null,t.dropNode=null,t.allowDrop=!0})},mounted:function(){this.initTabIndex(),this.$el.addEventListener("keydown",this.handleKeydown)},updated:function(){this.treeItems=this.$el.querySelectorAll("[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]")}},Po,[],!1,null,null,null);$o.options.__file="packages/tree/src/tree.vue";var Ko=$o.exports;Ko.install=function(e){e.component(Ko.name,Ko)};var Jo=Ko,qo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-alert-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-alert",class:[e.typeClass,e.center?"is-center":"","is-"+e.effect],attrs:{role:"alert"}},[e.showIcon?n("i",{staticClass:"el-alert__icon",class:[e.iconClass,e.isBigIcon]}):e._e(),n("div",{staticClass:"el-alert__content"},[e.title||e.$slots.title?n("span",{staticClass:"el-alert__title",class:[e.isBoldTitle]},[e._t("title",[e._v(e._s(e.title))])],2):e._e(),e.$slots.default&&!e.description?n("p",{staticClass:"el-alert__description"},[e._t("default")],2):e._e(),e.description&&!e.$slots.default?n("p",{staticClass:"el-alert__description"},[e._v(e._s(e.description))]):e._e(),n("i",{directives:[{name:"show",rawName:"v-show",value:e.closable,expression:"closable"}],staticClass:"el-alert__closebtn",class:{"is-customed":""!==e.closeText,"el-icon-close":""===e.closeText},on:{click:function(t){e.close()}}},[e._v(e._s(e.closeText))])])])])};qo._withStripped=!0;var ea={success:"el-icon-success",warning:"el-icon-warning",error:"el-icon-error"},ta=i({name:"ElAlert",props:{title:{type:String,default:""},description:{type:String,default:""},type:{type:String,default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,default:"light",validator:function(e){return-1!==["light","dark"].indexOf(e)}}},data:function(){return{visible:!0}},methods:{close:function(){this.visible=!1,this.$emit("close")}},computed:{typeClass:function(){return"el-alert--"+this.type},iconClass:function(){return ea[this.type]||"el-icon-info"},isBigIcon:function(){return this.description||this.$slots.default?"is-big":""},isBoldTitle:function(){return this.description||this.$slots.default?"is-bold":""}}},qo,[],!1,null,null,null);ta.options.__file="packages/alert/src/main.vue";var na=ta.exports;na.install=function(e){e.component(na.name,na)};var ra=na,ia=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-notification-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-notification",e.customClass,e.horizontalClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:function(t){e.clearTimer()},mouseleave:function(t){e.startTimer()},click:e.click}},[e.type||e.iconClass?n("i",{staticClass:"el-notification__icon",class:[e.typeClass,e.iconClass]}):e._e(),n("div",{staticClass:"el-notification__group",class:{"is-with-icon":e.typeClass||e.iconClass}},[n("h2",{staticClass:"el-notification__title",domProps:{textContent:e._s(e.title)}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.message,expression:"message"}],staticClass:"el-notification__content"},[e._t("default",[e.dangerouslyUseHTMLString?n("p",{domProps:{innerHTML:e._s(e.message)}}):n("p",[e._v(e._s(e.message))])])],2),e.showClose?n("div",{staticClass:"el-notification__closeBtn el-icon-close",on:{click:function(t){return t.stopPropagation(),e.close(t)}}}):e._e()])])])};ia._withStripped=!0;var oa={success:"success",info:"info",warning:"warning",error:"error"},aa=i({data:function(){return{visible:!1,title:"",message:"",duration:4500,type:"",showClose:!0,customClass:"",iconClass:"",onClose:null,onClick:null,closed:!1,verticalOffset:0,timer:null,dangerouslyUseHTMLString:!1,position:"top-right"}},computed:{typeClass:function(){return this.type&&oa[this.type]?"el-icon-"+oa[this.type]:""},horizontalClass:function(){return this.position.indexOf("right")>-1?"right":"left"},verticalProperty:function(){return/^top-/.test(this.position)?"top":"bottom"},positionStyle:function(){var e;return(e={})[this.verticalProperty]=this.verticalOffset+"px",e}},watch:{closed:function(e){e&&(this.visible=!1,this.$el.addEventListener("transitionend",this.destroyElement))}},methods:{destroyElement:function(){this.$el.removeEventListener("transitionend",this.destroyElement),this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},click:function(){"function"==typeof this.onClick&&this.onClick()},close:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose()},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout(function(){e.closed||e.close()},this.duration))},keydown:function(e){46===e.keyCode||8===e.keyCode?this.clearTimer():27===e.keyCode?this.closed||this.close():this.startTimer()}},mounted:function(){var e=this;this.duration>0&&(this.timer=setTimeout(function(){e.closed||e.close()},this.duration)),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},ia,[],!1,null,null,null);aa.options.__file="packages/notification/src/main.vue";var sa=aa.exports,la=hn.a.extend(sa),ca=void 0,ua=[],ha=1,da=function e(t){if(!hn.a.prototype.$isServer){var n=(t=Ue()({},t)).onClose,r="notification_"+ha++,i=t.position||"top-right";t.onClose=function(){e.close(r,n)},ca=new la({data:t}),Object(Qi.isVNode)(t.message)&&(ca.$slots.default=[t.message],t.message="REPLACED_BY_VNODE"),ca.id=r,ca.$mount(),document.body.appendChild(ca.$el),ca.visible=!0,ca.dom=ca.$el,ca.dom.style.zIndex=y.PopupManager.nextZIndex();var o=t.offset||0;return ua.filter(function(e){return e.position===i}).forEach(function(e){o+=e.$el.offsetHeight+16}),o+=16,ca.verticalOffset=o,ua.push(ca),ca}};["success","warning","info","error"].forEach(function(e){da[e]=function(t){return("string"==typeof t||Object(Qi.isVNode)(t))&&(t={message:t}),t.type=e,da(t)}}),da.close=function(e,t){var n=-1,r=ua.length,i=ua.filter(function(t,r){return t.id===e&&(n=r,!0)})[0];if(i&&("function"==typeof t&&t(i),ua.splice(n,1),!(r<=1)))for(var o=i.position,a=i.dom.offsetHeight,s=n;s<r-1;s++)ua[s].position===o&&(ua[s].dom.style[i.verticalProperty]=parseInt(ua[s].dom.style[i.verticalProperty],10)-a-16+"px")},da.closeAll=function(){for(var e=ua.length-1;e>=0;e--)ua[e].close()};var fa=da,pa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-slider",class:{"is-vertical":e.vertical,"el-slider--with-input":e.showInput},attrs:{role:"slider","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":e.sliderDisabled}},[e.showInput&&!e.range?n("el-input-number",{ref:"input",staticClass:"el-slider__input",attrs:{step:e.step,disabled:e.sliderDisabled,controls:e.showInputControls,min:e.min,max:e.max,debounce:e.debounce,size:e.inputSize},on:{change:e.emitChange},model:{value:e.firstValue,callback:function(t){e.firstValue=t},expression:"firstValue"}}):e._e(),n("div",{ref:"slider",staticClass:"el-slider__runway",class:{"show-input":e.showInput,disabled:e.sliderDisabled},style:e.runwayStyle,on:{click:e.onSliderClick}},[n("div",{staticClass:"el-slider__bar",style:e.barStyle}),n("slider-button",{ref:"button1",attrs:{vertical:e.vertical,"tooltip-class":e.tooltipClass},model:{value:e.firstValue,callback:function(t){e.firstValue=t},expression:"firstValue"}}),e.range?n("slider-button",{ref:"button2",attrs:{vertical:e.vertical,"tooltip-class":e.tooltipClass},model:{value:e.secondValue,callback:function(t){e.secondValue=t},expression:"secondValue"}}):e._e(),e._l(e.stops,function(t,r){return e.showStops?n("div",{key:r,staticClass:"el-slider__stop",style:e.getStopStyle(t)}):e._e()}),e.markList.length>0?[n("div",e._l(e.markList,function(t,r){return n("div",{key:r,staticClass:"el-slider__stop el-slider__marks-stop",style:e.getStopStyle(t.position)})}),0),n("div",{staticClass:"el-slider__marks"},e._l(e.markList,function(t,r){return n("slider-marker",{key:r,style:e.getStopStyle(t.position),attrs:{mark:t.mark}})}),1)]:e._e()],2)],1)};pa._withStripped=!0;var Aa=n(41),ga=n.n(Aa),va=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"button",staticClass:"el-slider__button-wrapper",class:{hover:e.hovering,dragging:e.dragging},style:e.wrapperStyle,attrs:{tabindex:"0"},on:{mouseenter:e.handleMouseEnter,mouseleave:e.handleMouseLeave,mousedown:e.onButtonDown,touchstart:e.onButtonDown,focus:e.handleMouseEnter,blur:e.handleMouseLeave,keydown:[function(t){return"button"in t||!e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?"button"in t&&0!==t.button?null:e.onLeftKeyDown(t):null},function(t){return"button"in t||!e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?"button"in t&&2!==t.button?null:e.onRightKeyDown(t):null},function(t){return"button"in t||!e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?(t.preventDefault(),e.onLeftKeyDown(t)):null},function(t){return"button"in t||!e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?(t.preventDefault(),e.onRightKeyDown(t)):null}]}},[n("el-tooltip",{ref:"tooltip",attrs:{placement:"top","popper-class":e.tooltipClass,disabled:!e.showTooltip}},[n("span",{attrs:{slot:"content"},slot:"content"},[e._v(e._s(e.formatValue))]),n("div",{staticClass:"el-slider__button",class:{hover:e.hovering,dragging:e.dragging}})])],1)};va._withStripped=!0;var ma=i({name:"ElSliderButton",components:{ElTooltip:ke.a},props:{value:{type:Number,default:0},vertical:{type:Boolean,default:!1},tooltipClass:String},data:function(){return{hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:null,oldValue:this.value}},computed:{disabled:function(){return this.$parent.sliderDisabled},max:function(){return this.$parent.max},min:function(){return this.$parent.min},step:function(){return this.$parent.step},showTooltip:function(){return this.$parent.showTooltip},precision:function(){return this.$parent.precision},currentPosition:function(){return(this.value-this.min)/(this.max-this.min)*100+"%"},enableFormat:function(){return this.$parent.formatTooltip instanceof Function},formatValue:function(){return this.enableFormat&&this.$parent.formatTooltip(this.value)||this.value},wrapperStyle:function(){return this.vertical?{bottom:this.currentPosition}:{left:this.currentPosition}}},watch:{dragging:function(e){this.$parent.dragging=e}},methods:{displayTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!0)},hideTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!1)},handleMouseEnter:function(){this.hovering=!0,this.displayTooltip()},handleMouseLeave:function(){this.hovering=!1,this.hideTooltip()},onButtonDown:function(e){this.disabled||(e.preventDefault(),this.onDragStart(e),window.addEventListener("mousemove",this.onDragging),window.addEventListener("touchmove",this.onDragging),window.addEventListener("mouseup",this.onDragEnd),window.addEventListener("touchend",this.onDragEnd),window.addEventListener("contextmenu",this.onDragEnd))},onLeftKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)-this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onRightKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)+this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onDragStart:function(e){this.dragging=!0,this.isClick=!0,"touchstart"===e.type&&(e.clientY=e.touches[0].clientY,e.clientX=e.touches[0].clientX),this.vertical?this.startY=e.clientY:this.startX=e.clientX,this.startPosition=parseFloat(this.currentPosition),this.newPosition=this.startPosition},onDragging:function(e){if(this.dragging){this.isClick=!1,this.displayTooltip(),this.$parent.resetSize();var t=0;"touchmove"===e.type&&(e.clientY=e.touches[0].clientY,e.clientX=e.touches[0].clientX),this.vertical?(this.currentY=e.clientY,t=(this.startY-this.currentY)/this.$parent.sliderSize*100):(this.currentX=e.clientX,t=(this.currentX-this.startX)/this.$parent.sliderSize*100),this.newPosition=this.startPosition+t,this.setPosition(this.newPosition)}},onDragEnd:function(){var e=this;this.dragging&&(setTimeout(function(){e.dragging=!1,e.hideTooltip(),e.isClick||(e.setPosition(e.newPosition),e.$parent.emitChange())},0),window.removeEventListener("mousemove",this.onDragging),window.removeEventListener("touchmove",this.onDragging),window.removeEventListener("mouseup",this.onDragEnd),window.removeEventListener("touchend",this.onDragEnd),window.removeEventListener("contextmenu",this.onDragEnd))},setPosition:function(e){var t=this;if(null!==e&&!isNaN(e)){e<0?e=0:e>100&&(e=100);var n=100/((this.max-this.min)/this.step),r=Math.round(e/n)*n*(this.max-this.min)*.01+this.min;r=parseFloat(r.toFixed(this.precision)),this.$emit("input",r),this.$nextTick(function(){t.displayTooltip(),t.$refs.tooltip&&t.$refs.tooltip.updatePopper()}),this.dragging||this.value===this.oldValue||(this.oldValue=this.value)}}}},va,[],!1,null,null,null);ma.options.__file="packages/slider/src/button.vue";var ya=ma.exports,ba={name:"ElMarker",props:{mark:{type:[String,Object]}},render:function(){var e=arguments[0],t="string"==typeof this.mark?this.mark:this.mark.label;return e("div",{class:"el-slider__marks-text",style:this.mark.style||{}},[t])}},_a=i({name:"ElSlider",mixins:[C.a],inject:{elForm:{default:""}},props:{min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},value:{type:[Number,Array],default:0},showInput:{type:Boolean,default:!1},showInputControls:{type:Boolean,default:!0},inputSize:{type:String,default:"small"},showStops:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!0},formatTooltip:Function,disabled:{type:Boolean,default:!1},range:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},height:{type:String},debounce:{type:Number,default:300},label:{type:String},tooltipClass:String,marks:Object},components:{ElInputNumber:ga.a,SliderButton:ya,SliderMarker:ba},data:function(){return{firstValue:null,secondValue:null,oldValue:null,dragging:!1,sliderSize:1}},watch:{value:function(e,t){this.dragging||Array.isArray(e)&&Array.isArray(t)&&e.every(function(e,n){return e===t[n]})||this.setValues()},dragging:function(e){e||this.setValues()},firstValue:function(e){this.range?this.$emit("input",[this.minValue,this.maxValue]):this.$emit("input",e)},secondValue:function(){this.range&&this.$emit("input",[this.minValue,this.maxValue])},min:function(){this.setValues()},max:function(){this.setValues()}},methods:{valueChanged:function(){var e=this;return this.range?![this.minValue,this.maxValue].every(function(t,n){return t===e.oldValue[n]}):this.value!==this.oldValue},setValues:function(){if(this.min>this.max)console.error("[Element Error][Slider]min should not be greater than max.");else{var e=this.value;this.range&&Array.isArray(e)?e[1]<this.min?this.$emit("input",[this.min,this.min]):e[0]>this.max?this.$emit("input",[this.max,this.max]):e[0]<this.min?this.$emit("input",[this.min,e[1]]):e[1]>this.max?this.$emit("input",[e[0],this.max]):(this.firstValue=e[0],this.secondValue=e[1],this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",[this.minValue,this.maxValue]),this.oldValue=e.slice())):this.range||"number"!=typeof e||isNaN(e)||(e<this.min?this.$emit("input",this.min):e>this.max?this.$emit("input",this.max):(this.firstValue=e,this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",e),this.oldValue=e)))}},setPosition:function(e){var t=this.min+e*(this.max-this.min)/100;if(this.range){var n=void 0;n=Math.abs(this.minValue-t)<Math.abs(this.maxValue-t)?this.firstValue<this.secondValue?"button1":"button2":this.firstValue>this.secondValue?"button1":"button2",this.$refs[n].setPosition(e)}else this.$refs.button1.setPosition(e)},onSliderClick:function(e){if(!this.sliderDisabled&&!this.dragging){if(this.resetSize(),this.vertical){var t=this.$refs.slider.getBoundingClientRect().bottom;this.setPosition((t-e.clientY)/this.sliderSize*100)}else{var n=this.$refs.slider.getBoundingClientRect().left;this.setPosition((e.clientX-n)/this.sliderSize*100)}this.emitChange()}},resetSize:function(){this.$refs.slider&&(this.sliderSize=this.$refs.slider["client"+(this.vertical?"Height":"Width")])},emitChange:function(){var e=this;this.$nextTick(function(){e.$emit("change",e.range?[e.minValue,e.maxValue]:e.value)})},getStopStyle:function(e){return this.vertical?{bottom:e+"%"}:{left:e+"%"}}},computed:{stops:function(){var e=this;if(!this.showStops||this.min>this.max)return[];if(0===this.step)return[];for(var t=(this.max-this.min)/this.step,n=100*this.step/(this.max-this.min),r=[],i=1;i<t;i++)r.push(i*n);return this.range?r.filter(function(t){return t<100*(e.minValue-e.min)/(e.max-e.min)||t>100*(e.maxValue-e.min)/(e.max-e.min)}):r.filter(function(t){return t>100*(e.firstValue-e.min)/(e.max-e.min)})},markList:function(){var e=this;return this.marks?Object.keys(this.marks).map(parseFloat).sort(function(e,t){return e-t}).filter(function(t){return t<=e.max&&t>=e.min}).map(function(t){return{point:t,position:100*(t-e.min)/(e.max-e.min),mark:e.marks[t]}}):[]},minValue:function(){return Math.min(this.firstValue,this.secondValue)},maxValue:function(){return Math.max(this.firstValue,this.secondValue)},barSize:function(){return this.range?100*(this.maxValue-this.minValue)/(this.max-this.min)+"%":100*(this.firstValue-this.min)/(this.max-this.min)+"%"},barStart:function(){return this.range?100*(this.minValue-this.min)/(this.max-this.min)+"%":"0%"},precision:function(){var e=[this.min,this.max,this.step].map(function(e){var t=(""+e).split(".")[1];return t?t.length:0});return Math.max.apply(null,e)},runwayStyle:function(){return this.vertical?{height:this.height}:{}},barStyle:function(){return this.vertical?{height:this.barSize,bottom:this.barStart}:{width:this.barSize,left:this.barStart}},sliderDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},mounted:function(){var e=void 0;this.range?(Array.isArray(this.value)?(this.firstValue=Math.max(this.min,this.value[0]),this.secondValue=Math.min(this.max,this.value[1])):(this.firstValue=this.min,this.secondValue=this.max),this.oldValue=[this.firstValue,this.secondValue],e=this.firstValue+"-"+this.secondValue):("number"!=typeof this.value||isNaN(this.value)?this.firstValue=this.min:this.firstValue=Math.min(this.max,Math.max(this.min,this.value)),this.oldValue=this.firstValue,e=this.firstValue),this.$el.setAttribute("aria-valuetext",e),this.$el.setAttribute("aria-label",this.label?this.label:"slider between "+this.min+" and "+this.max),this.resetSize(),window.addEventListener("resize",this.resetSize)},beforeDestroy:function(){window.removeEventListener("resize",this.resetSize)}},pa,[],!1,null,null,null);_a.options.__file="packages/slider/src/main.vue";var wa=_a.exports;wa.install=function(e){e.component(wa.name,wa)};var xa=wa,Ca=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-loading-mask",class:[e.customClass,{"is-fullscreen":e.fullscreen}],style:{backgroundColor:e.background||""}},[n("div",{staticClass:"el-loading-spinner"},[e.spinner?n("i",{class:e.spinner}):n("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[n("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),e.text?n("p",{staticClass:"el-loading-text"},[e._v(e._s(e.text))]):e._e()])])])};Ca._withStripped=!0;var Sa=i({data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(e){this.text=e}}},Ca,[],!1,null,null,null);Sa.options.__file="packages/loading/src/loading.vue";var Ba=Sa.exports,ka=n(32),Ta=n.n(ka),Ea=hn.a.extend(Ba),Ma={install:function(e){if(!e.prototype.$isServer){var t=function(t,r){r.value?e.nextTick(function(){r.modifiers.fullscreen?(t.originalPosition=Object(pe.getStyle)(document.body,"position"),t.originalOverflow=Object(pe.getStyle)(document.body,"overflow"),t.maskStyle.zIndex=y.PopupManager.nextZIndex(),Object(pe.addClass)(t.mask,"is-fullscreen"),n(document.body,t,r)):(Object(pe.removeClass)(t.mask,"is-fullscreen"),r.modifiers.body?(t.originalPosition=Object(pe.getStyle)(document.body,"position"),["top","left"].forEach(function(e){var n="top"===e?"scrollTop":"scrollLeft";t.maskStyle[e]=t.getBoundingClientRect()[e]+document.body[n]+document.documentElement[n]-parseInt(Object(pe.getStyle)(document.body,"margin-"+e),10)+"px"}),["height","width"].forEach(function(e){t.maskStyle[e]=t.getBoundingClientRect()[e]+"px"}),n(document.body,t,r)):(t.originalPosition=Object(pe.getStyle)(t,"position"),n(t,t,r)))}):(Ta()(t.instance,function(e){if(t.instance.hiding){t.domVisible=!1;var n=r.modifiers.fullscreen||r.modifiers.body?document.body:t;Object(pe.removeClass)(n,"el-loading-parent--relative"),Object(pe.removeClass)(n,"el-loading-parent--hidden"),t.instance.hiding=!1}},300,!0),t.instance.visible=!1,t.instance.hiding=!0)},n=function(t,n,r){n.domVisible||"none"===Object(pe.getStyle)(n,"display")||"hidden"===Object(pe.getStyle)(n,"visibility")?n.domVisible&&!0===n.instance.hiding&&(n.instance.visible=!0,n.instance.hiding=!1):(Object.keys(n.maskStyle).forEach(function(e){n.mask.style[e]=n.maskStyle[e]}),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&Object(pe.addClass)(t,"el-loading-parent--relative"),r.modifiers.fullscreen&&r.modifiers.lock&&Object(pe.addClass)(t,"el-loading-parent--hidden"),n.domVisible=!0,t.appendChild(n.mask),e.nextTick(function(){n.instance.hiding?n.instance.$emit("after-leave"):n.instance.visible=!0}),n.domInserted=!0)};e.directive("loading",{bind:function(e,n,r){var i=e.getAttribute("element-loading-text"),o=e.getAttribute("element-loading-spinner"),a=e.getAttribute("element-loading-background"),s=e.getAttribute("element-loading-custom-class"),l=r.context,c=new Ea({el:document.createElement("div"),data:{text:l&&l[i]||i,spinner:l&&l[o]||o,background:l&&l[a]||a,customClass:l&&l[s]||s,fullscreen:!!n.modifiers.fullscreen}});e.instance=c,e.mask=c.$el,e.maskStyle={},n.value&&t(e,n)},update:function(e,n){e.instance.setText(e.getAttribute("element-loading-text")),n.oldValue!==n.value&&t(e,n)},unbind:function(e,n){e.domInserted&&(e.mask&&e.mask.parentNode&&e.mask.parentNode.removeChild(e.mask),t(e,{value:!1,modifiers:n.modifiers})),e.instance&&e.instance.$destroy()}})}}},Da=Ma,Oa=hn.a.extend(Ba),Ia={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},La=void 0;Oa.prototype.originalPosition="",Oa.prototype.originalOverflow="",Oa.prototype.close=function(){var e=this;this.fullscreen&&(La=void 0),Ta()(this,function(t){var n=e.fullscreen||e.body?document.body:e.target;Object(pe.removeClass)(n,"el-loading-parent--relative"),Object(pe.removeClass)(n,"el-loading-parent--hidden"),e.$el&&e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el),e.$destroy()},300),this.visible=!1};var Pa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!hn.a.prototype.$isServer){if("string"==typeof(e=Ue()({},Ia,e)).target&&(e.target=document.querySelector(e.target)),e.target=e.target||document.body,e.target!==document.body?e.fullscreen=!1:e.body=!0,e.fullscreen&&La)return La;var t=e.body?document.body:e.target,n=new Oa({el:document.createElement("div"),data:e});return function(e,t,n){var r={};e.fullscreen?(n.originalPosition=Object(pe.getStyle)(document.body,"position"),n.originalOverflow=Object(pe.getStyle)(document.body,"overflow"),r.zIndex=y.PopupManager.nextZIndex()):e.body?(n.originalPosition=Object(pe.getStyle)(document.body,"position"),["top","left"].forEach(function(t){var n="top"===t?"scrollTop":"scrollLeft";r[t]=e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]+"px"}),["height","width"].forEach(function(t){r[t]=e.target.getBoundingClientRect()[t]+"px"})):n.originalPosition=Object(pe.getStyle)(t,"position"),Object.keys(r).forEach(function(e){n.$el.style[e]=r[e]})}(e,t,n),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&Object(pe.addClass)(t,"el-loading-parent--relative"),e.fullscreen&&e.lock&&Object(pe.addClass)(t,"el-loading-parent--hidden"),t.appendChild(n.$el),hn.a.nextTick(function(){n.visible=!0}),e.fullscreen&&(La=n),n}},Fa={install:function(e){e.use(Da),e.prototype.$loading=Pa},directive:Da,service:Pa},Ra=function(){var e=this.$createElement;return(this._self._c||e)("i",{class:"el-icon-"+this.name})};Ra._withStripped=!0;var Na=i({name:"ElIcon",props:{name:String}},Ra,[],!1,null,null,null);Na.options.__file="packages/icon/src/icon.vue";var Ha=Na.exports;Ha.install=function(e){e.component(Ha.name,Ha)};var ja=Ha,Ua={name:"ElRow",componentName:"ElRow",props:{tag:{type:String,default:"div"},gutter:Number,type:String,justify:{type:String,default:"start"},align:{type:String,default:"top"}},computed:{style:function(){var e={};return this.gutter&&(e.marginLeft="-"+this.gutter/2+"px",e.marginRight=e.marginLeft),e}},render:function(e){return e(this.tag,{class:["el-row","start"!==this.justify?"is-justify-"+this.justify:"","top"!==this.align?"is-align-"+this.align:"",{"el-row--flex":"flex"===this.type}],style:this.style},this.$slots.default)},install:function(e){e.component(Ua.name,Ua)}},Qa=Ua,za="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ya={name:"ElCol",props:{span:{type:Number,default:24},tag:{type:String,default:"div"},offset:Number,pull:Number,push:Number,xs:[Number,Object],sm:[Number,Object],md:[Number,Object],lg:[Number,Object],xl:[Number,Object]},computed:{gutter:function(){for(var e=this.$parent;e&&"ElRow"!==e.$options.componentName;)e=e.$parent;return e?e.gutter:0}},render:function(e){var t=this,n=[],r={};return this.gutter&&(r.paddingLeft=this.gutter/2+"px",r.paddingRight=r.paddingLeft),["span","offset","pull","push"].forEach(function(e){(t[e]||0===t[e])&&n.push("span"!==e?"el-col-"+e+"-"+t[e]:"el-col-"+t[e])}),["xs","sm","md","lg","xl"].forEach(function(e){if("number"==typeof t[e])n.push("el-col-"+e+"-"+t[e]);else if("object"===za(t[e])){var r=t[e];Object.keys(r).forEach(function(t){n.push("span"!==t?"el-col-"+e+"-"+t+"-"+r[t]:"el-col-"+e+"-"+r[t])})}}),e(this.tag,{class:["el-col",n],style:r},this.$slots.default)},install:function(e){e.component(Ya.name,Ya)}},Va=Ya,Ga=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition-group",{class:["el-upload-list","el-upload-list--"+e.listType,{"is-disabled":e.disabled}],attrs:{tag:"ul",name:"el-list"}},e._l(e.files,function(t){return n("li",{key:t.uid,class:["el-upload-list__item","is-"+t.status,e.focusing?"focusing":""],attrs:{tabindex:"0"},on:{keydown:function(n){if(!("button"in n)&&e._k(n.keyCode,"delete",[8,46],n.key,["Backspace","Delete","Del"]))return null;!e.disabled&&e.$emit("remove",t)},focus:function(t){e.focusing=!0},blur:function(t){e.focusing=!1},click:function(t){e.focusing=!1}}},[e._t("default",["uploading"!==t.status&&["picture-card","picture"].indexOf(e.listType)>-1?n("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:t.url,alt:""}}):e._e(),n("a",{staticClass:"el-upload-list__item-name",on:{click:function(n){e.handleClick(t)}}},[n("i",{staticClass:"el-icon-document"}),e._v(e._s(t.name)+"\n ")]),n("label",{staticClass:"el-upload-list__item-status-label"},[n("i",{class:{"el-icon-upload-success":!0,"el-icon-circle-check":"text"===e.listType,"el-icon-check":["picture-card","picture"].indexOf(e.listType)>-1}})]),e.disabled?e._e():n("i",{staticClass:"el-icon-close",on:{click:function(n){e.$emit("remove",t)}}}),e.disabled?e._e():n("i",{staticClass:"el-icon-close-tip"},[e._v(e._s(e.t("el.upload.deleteTip")))]),"uploading"===t.status?n("el-progress",{attrs:{type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:e.parsePercentage(t.percentage)}}):e._e(),"picture-card"===e.listType?n("span",{staticClass:"el-upload-list__item-actions"},[e.handlePreview&&"picture-card"===e.listType?n("span",{staticClass:"el-upload-list__item-preview",on:{click:function(n){e.handlePreview(t)}}},[n("i",{staticClass:"el-icon-zoom-in"})]):e._e(),e.disabled?e._e():n("span",{staticClass:"el-upload-list__item-delete",on:{click:function(n){e.$emit("remove",t)}}},[n("i",{staticClass:"el-icon-delete"})])]):e._e()],{file:t})],2)}),0)};Ga._withStripped=!0;var Wa=n(33),Xa=n.n(Wa),Za=i({name:"ElUploadList",mixins:[p.a],data:function(){return{focusing:!1}},components:{ElProgress:Xa.a},props:{files:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},handlePreview:Function,listType:String},methods:{parsePercentage:function(e){return parseInt(e,10)},handleClick:function(e){this.handlePreview&&this.handlePreview(e)}}},Ga,[],!1,null,null,null);Za.options.__file="packages/upload/src/upload-list.vue";var $a=Za.exports,Ka=n(24),Ja=n.n(Ka);var qa=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"el-upload-dragger",class:{"is-dragover":e.dragover},on:{drop:function(t){return t.preventDefault(),e.onDrop(t)},dragover:function(t){return t.preventDefault(),e.onDragover(t)},dragleave:function(t){t.preventDefault(),e.dragover=!1}}},[e._t("default")],2)};qa._withStripped=!0;var es=i({name:"ElUploadDrag",props:{disabled:Boolean},inject:{uploader:{default:""}},data:function(){return{dragover:!1}},methods:{onDragover:function(){this.disabled||(this.dragover=!0)},onDrop:function(e){if(!this.disabled&&this.uploader){var t=this.uploader.accept;this.dragover=!1,t?this.$emit("file",[].slice.call(e.dataTransfer.files).filter(function(e){var n=e.type,r=e.name,i=r.indexOf(".")>-1?"."+r.split(".").pop():"",o=n.replace(/\/.*$/,"");return t.split(",").map(function(e){return e.trim()}).filter(function(e){return e}).some(function(e){return/\..+$/.test(e)?i===e:/\/\*$/.test(e)?o===e.replace(/\/\*$/,""):!!/^[^\/]+\/[^\/]+$/.test(e)&&n===e})})):this.$emit("file",e.dataTransfer.files)}}}},qa,[],!1,null,null,null);es.options.__file="packages/upload/src/upload-dragger.vue";var ts=i({inject:["uploader"],components:{UploadDragger:es.exports},props:{type:String,action:{type:String,required:!0},name:{type:String,default:"file"},data:Object,headers:Object,withCredentials:Boolean,multiple:Boolean,accept:String,onStart:Function,onProgress:Function,onSuccess:Function,onError:Function,beforeUpload:Function,drag:Boolean,onPreview:{type:Function,default:function(){}},onRemove:{type:Function,default:function(){}},fileList:Array,autoUpload:Boolean,listType:String,httpRequest:{type:Function,default:function(e){if("undefined"!=typeof XMLHttpRequest){var t=new XMLHttpRequest,n=e.action;t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach(function(t){r.append(t,e.data[t])}),r.append(e.filename,e.file,e.file.name),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(function(e,t,n){var r=void 0;r=n.response?""+(n.response.error||n.response):n.responseText?""+n.responseText:"fail to post "+e+" "+n.status;var i=new Error(r);return i.status=n.status,i.method="post",i.url=e,i}(n,0,t));e.onSuccess(function(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}(t))},t.open("post",n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var i=e.headers||{};for(var o in i)i.hasOwnProperty(o)&&null!==i[o]&&t.setRequestHeader(o,i[o]);return t.send(r),t}}},disabled:Boolean,limit:Number,onExceed:Function},data:function(){return{mouseover:!1,reqs:{}}},methods:{isImage:function(e){return-1!==e.indexOf("image")},handleChange:function(e){var t=e.target.files;t&&this.uploadFiles(t)},uploadFiles:function(e){var t=this;if(this.limit&&this.fileList.length+e.length>this.limit)this.onExceed&&this.onExceed(e,this.fileList);else{var n=Array.prototype.slice.call(e);this.multiple||(n=n.slice(0,1)),0!==n.length&&n.forEach(function(e){t.onStart(e),t.autoUpload&&t.upload(e)})}},upload:function(e){var t=this;if(this.$refs.input.value=null,!this.beforeUpload)return this.post(e);var n=this.beforeUpload(e);n&&n.then?n.then(function(n){var r=Object.prototype.toString.call(n);if("[object File]"===r||"[object Blob]"===r){for(var i in"[object Blob]"===r&&(n=new File([n],e.name,{type:e.type})),e)e.hasOwnProperty(i)&&(n[i]=e[i]);t.post(n)}else t.post(e)},function(){t.onRemove(null,e)}):!1!==n?this.post(e):this.onRemove(null,e)},abort:function(e){var t=this.reqs;if(e){var n=e;e.uid&&(n=e.uid),t[n]&&t[n].abort()}else Object.keys(t).forEach(function(e){t[e]&&t[e].abort(),delete t[e]})},post:function(e){var t=this,n=e.uid,r={headers:this.headers,withCredentials:this.withCredentials,file:e,data:this.data,filename:this.name,action:this.action,onProgress:function(n){t.onProgress(n,e)},onSuccess:function(r){t.onSuccess(r,e),delete t.reqs[n]},onError:function(r){t.onError(r,e),delete t.reqs[n]}},i=this.httpRequest(r);this.reqs[n]=i,i&&i.then&&i.then(r.onSuccess,r.onError)},handleClick:function(){this.disabled||(this.$refs.input.value=null,this.$refs.input.click())},handleKeydown:function(e){e.target===e.currentTarget&&(13!==e.keyCode&&32!==e.keyCode||this.handleClick())}},render:function(e){var t=this.handleClick,n=this.drag,r=this.name,i=this.handleChange,o=this.multiple,a=this.accept,s=this.listType,l=this.uploadFiles,c=this.disabled,u={class:{"el-upload":!0},on:{click:t,keydown:this.handleKeydown}};return u.class["el-upload--"+s]=!0,e("div",Ja()([u,{attrs:{tabindex:"0"}}]),[n?e("upload-dragger",{attrs:{disabled:c},on:{file:l}},[this.$slots.default]):this.$slots.default,e("input",{class:"el-upload__input",attrs:{type:"file",name:r,multiple:o,accept:a},ref:"input",on:{change:i}})])}},void 0,void 0,!1,null,null,null);ts.options.__file="packages/upload/src/upload.vue";var ns=ts.exports;function rs(){}var is=i({name:"ElUpload",mixins:[w.a],components:{ElProgress:Xa.a,UploadList:$a,Upload:ns},provide:function(){return{uploader:this}},inject:{elForm:{default:""}},props:{action:{type:String,required:!0},headers:{type:Object,default:function(){return{}}},data:Object,multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,dragger:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:String,type:{type:String,default:"select"},beforeUpload:Function,beforeRemove:Function,onRemove:{type:Function,default:rs},onChange:{type:Function,default:rs},onPreview:{type:Function},onSuccess:{type:Function,default:rs},onProgress:{type:Function,default:rs},onError:{type:Function,default:rs},fileList:{type:Array,default:function(){return[]}},autoUpload:{type:Boolean,default:!0},listType:{type:String,default:"text"},httpRequest:Function,disabled:Boolean,limit:Number,onExceed:{type:Function,default:rs}},data:function(){return{uploadFiles:[],dragOver:!1,draging:!1,tempIndex:1}},computed:{uploadDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{listType:function(e){"picture-card"!==e&&"picture"!==e||(this.uploadFiles=this.uploadFiles.map(function(e){if(!e.url&&e.raw)try{e.url=URL.createObjectURL(e.raw)}catch(e){console.error("[Element Error][Upload]",e)}return e}))},fileList:{immediate:!0,handler:function(e){var t=this;this.uploadFiles=e.map(function(e){return e.uid=e.uid||Date.now()+t.tempIndex++,e.status=e.status||"success",e})}}},methods:{handleStart:function(e){e.uid=Date.now()+this.tempIndex++;var t={status:"ready",name:e.name,size:e.size,percentage:0,uid:e.uid,raw:e};if("picture-card"===this.listType||"picture"===this.listType)try{t.url=URL.createObjectURL(e)}catch(e){return void console.error("[Element Error][Upload]",e)}this.uploadFiles.push(t),this.onChange(t,this.uploadFiles)},handleProgress:function(e,t){var n=this.getFile(t);this.onProgress(e,n,this.uploadFiles),n.status="uploading",n.percentage=e.percent||0},handleSuccess:function(e,t){var n=this.getFile(t);n&&(n.status="success",n.response=e,this.onSuccess(e,n,this.uploadFiles),this.onChange(n,this.uploadFiles))},handleError:function(e,t){var n=this.getFile(t),r=this.uploadFiles;n.status="fail",r.splice(r.indexOf(n),1),this.onError(e,n,this.uploadFiles),this.onChange(n,this.uploadFiles)},handleRemove:function(e,t){var n=this;t&&(e=this.getFile(t));var r=function(){n.abort(e);var t=n.uploadFiles;t.splice(t.indexOf(e),1),n.onRemove(e,t)};if(this.beforeRemove){if("function"==typeof this.beforeRemove){var i=this.beforeRemove(e,this.uploadFiles);i&&i.then?i.then(function(){r()},rs):!1!==i&&r()}}else r()},getFile:function(e){var t=void 0;return this.uploadFiles.every(function(n){return!(t=e.uid===n.uid?n:null)}),t},abort:function(e){this.$refs["upload-inner"].abort(e)},clearFiles:function(){this.uploadFiles=[]},submit:function(){var e=this;this.uploadFiles.filter(function(e){return"ready"===e.status}).forEach(function(t){e.$refs["upload-inner"].upload(t.raw)})},getMigratingConfig:function(){return{props:{"default-file-list":"default-file-list is renamed to file-list.","show-upload-list":"show-upload-list is renamed to show-file-list.","thumbnail-mode":"thumbnail-mode has been deprecated, you can implement the same effect according to this case: http://element.eleme.io/#/zh-CN/component/upload#yong-hu-tou-xiang-shang-chuan"}}}},beforeDestroy:function(){this.uploadFiles.forEach(function(e){e.url&&0===e.url.indexOf("blob:")&&URL.revokeObjectURL(e.url)})},render:function(e){var t=this,n=void 0;this.showFileList&&(n=e($a,{attrs:{disabled:this.uploadDisabled,listType:this.listType,files:this.uploadFiles,handlePreview:this.onPreview},on:{remove:this.handleRemove}},[function(e){if(t.$scopedSlots.file)return t.$scopedSlots.file({file:e.file})}]));var r=e("upload",{props:{type:this.type,drag:this.drag,action:this.action,multiple:this.multiple,"before-upload":this.beforeUpload,"with-credentials":this.withCredentials,headers:this.headers,name:this.name,data:this.data,accept:this.accept,fileList:this.uploadFiles,autoUpload:this.autoUpload,listType:this.listType,disabled:this.uploadDisabled,limit:this.limit,"on-exceed":this.onExceed,"on-start":this.handleStart,"on-progress":this.handleProgress,"on-success":this.handleSuccess,"on-error":this.handleError,"on-preview":this.onPreview,"on-remove":this.handleRemove,"http-request":this.httpRequest},ref:"upload-inner"},[this.$slots.trigger||this.$slots.default]);return e("div",["picture-card"===this.listType?n:"",this.$slots.trigger?[r,this.$slots.default]:r,this.$slots.tip,"picture-card"!==this.listType?n:""])}},void 0,void 0,!1,null,null,null);is.options.__file="packages/upload/src/index.vue";var os=is.exports;os.install=function(e){e.component(os.name,os)};var as=os,ss=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?n("div",{staticClass:"el-progress-bar"},[n("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px"}},[n("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?n("div",{staticClass:"el-progress-bar__innerText"},[e._v(e._s(e.content))]):e._e()])])]):n("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[n("svg",{attrs:{viewBox:"0 0 100 100"}},[n("path",{staticClass:"el-progress-circle__track",style:e.trailPathStyle,attrs:{d:e.trackPath,stroke:"#e5e9f2","stroke-width":e.relativeStrokeWidth,fill:"none"}}),n("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0}})])]),e.showText&&!e.textInside?n("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px"}},[e.status?n("i",{class:e.iconClass}):[e._v(e._s(e.content))]],2):e._e()])};ss._withStripped=!0;var ls=i({name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle","dashboard"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){return-1*this.perimeter*(1-this.rate)/2+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"==typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"==typeof this.color?this.color(e):"string"==typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort(function(e,t){return e.percentage-t.percentage}),n=0;n<t.length;n++)if(t[n].percentage>e)return t[n].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map(function(e,n){return"string"==typeof e?{color:e,percentage:(n+1)*t}:e})}}},ss,[],!1,null,null,null);ls.options.__file="packages/progress/src/progress.vue";var cs=ls.exports;cs.install=function(e){e.component(cs.name,cs)};var us=cs,hs=function(){var e=this.$createElement,t=this._self._c||e;return t("span",{staticClass:"el-spinner"},[t("svg",{staticClass:"el-spinner-inner",style:{width:this.radius/2+"px",height:this.radius/2+"px"},attrs:{viewBox:"0 0 50 50"}},[t("circle",{staticClass:"path",attrs:{cx:"25",cy:"25",r:"20",fill:"none",stroke:this.strokeColor,"stroke-width":this.strokeWidth}})])])};hs._withStripped=!0;var ds=i({name:"ElSpinner",props:{type:String,radius:{type:Number,default:100},strokeWidth:{type:Number,default:5},strokeColor:{type:String,default:"#efefef"}}},hs,[],!1,null,null,null);ds.options.__file="packages/spinner/src/spinner.vue";var fs=ds.exports;fs.install=function(e){e.component(fs.name,fs)};var ps=fs,As=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-message-fade"},on:{"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-message",e.type&&!e.iconClass?"el-message--"+e.type:"",e.center?"is-center":"",e.showClose?"is-closable":"",e.customClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:e.clearTimer,mouseleave:e.startTimer}},[e.iconClass?n("i",{class:e.iconClass}):n("i",{class:e.typeClass}),e._t("default",[e.dangerouslyUseHTMLString?n("p",{staticClass:"el-message__content",domProps:{innerHTML:e._s(e.message)}}):n("p",{staticClass:"el-message__content"},[e._v(e._s(e.message))])]),e.showClose?n("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:e.close}}):e._e()],2)])};As._withStripped=!0;var gs={success:"success",info:"info",warning:"warning",error:"error"},vs=i({data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,verticalOffset:20,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+gs[this.type]:""},positionStyle:function(){return{top:this.verticalOffset+"px"}}},watch:{closed:function(e){e&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout(function(){e.closed||e.close()},this.duration))},keydown:function(e){27===e.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},As,[],!1,null,null,null);vs.options.__file="packages/message/src/main.vue";var ms=vs.exports,ys=hn.a.extend(ms),bs=void 0,_s=[],ws=1,xs=function e(t){if(!hn.a.prototype.$isServer){"string"==typeof(t=t||{})&&(t={message:t});var n=t.onClose,r="message_"+ws++;t.onClose=function(){e.close(r,n)},(bs=new ys({data:t})).id=r,Object(Qi.isVNode)(bs.message)&&(bs.$slots.default=[bs.message],bs.message=null),bs.$mount(),document.body.appendChild(bs.$el);var i=t.offset||20;return _s.forEach(function(e){i+=e.$el.offsetHeight+16}),bs.verticalOffset=i,bs.visible=!0,bs.$el.style.zIndex=y.PopupManager.nextZIndex(),_s.push(bs),bs}};["success","warning","info","error"].forEach(function(e){xs[e]=function(t){return"string"==typeof t&&(t={message:t}),t.type=e,xs(t)}}),xs.close=function(e,t){for(var n=_s.length,r=-1,i=void 0,o=0;o<n;o++)if(e===_s[o].id){i=_s[o].$el.offsetHeight,r=o,"function"==typeof t&&t(_s[o]),_s.splice(o,1);break}if(!(n<=1||-1===r||r>_s.length-1))for(var a=r;a<n-1;a++){var s=_s[a].$el;s.style.top=parseInt(s.style.top,10)-i-16+"px"}},xs.closeAll=function(){for(var e=_s.length-1;e>=0;e--)_s[e].close()};var Cs=xs,Ss=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-badge"},[e._t("default"),n("transition",{attrs:{name:"el-zoom-in-center"}},[n("sup",{directives:[{name:"show",rawName:"v-show",value:!e.hidden&&(e.content||0===e.content||e.isDot),expression:"!hidden && (content || content === 0 || isDot)"}],staticClass:"el-badge__content",class:["el-badge__content--"+e.type,{"is-fixed":e.$slots.default,"is-dot":e.isDot}],domProps:{textContent:e._s(e.content)}})])],2)};Ss._withStripped=!0;var Bs=i({name:"ElBadge",props:{value:[String,Number],max:Number,isDot:Boolean,hidden:Boolean,type:{type:String,validator:function(e){return["primary","success","warning","info","danger"].indexOf(e)>-1}}},computed:{content:function(){if(!this.isDot){var e=this.value,t=this.max;return"number"==typeof e&&"number"==typeof t&&t<e?t+"+":e}}}},Ss,[],!1,null,null,null);Bs.options.__file="packages/badge/src/main.vue";var ks=Bs.exports;ks.install=function(e){e.component(ks.name,ks)};var Ts=ks,Es=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-card",class:e.shadow?"is-"+e.shadow+"-shadow":"is-always-shadow"},[e.$slots.header||e.header?n("div",{staticClass:"el-card__header"},[e._t("header",[e._v(e._s(e.header))])],2):e._e(),n("div",{staticClass:"el-card__body",style:e.bodyStyle},[e._t("default")],2)])};Es._withStripped=!0;var Ms=i({name:"ElCard",props:{header:{},bodyStyle:{},shadow:{type:String}}},Es,[],!1,null,null,null);Ms.options.__file="packages/card/src/main.vue";var Ds=Ms.exports;Ds.install=function(e){e.component(Ds.name,Ds)};var Os=Ds,Is=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-rate",attrs:{role:"slider","aria-valuenow":e.currentValue,"aria-valuetext":e.text,"aria-valuemin":"0","aria-valuemax":e.max,tabindex:"0"},on:{keydown:e.handleKey}},[e._l(e.max,function(t,r){return n("span",{key:r,staticClass:"el-rate__item",style:{cursor:e.rateDisabled?"auto":"pointer"},on:{mousemove:function(n){e.setCurrentValue(t,n)},mouseleave:e.resetCurrentValue,click:function(n){e.selectValue(t)}}},[n("i",{staticClass:"el-rate__icon",class:[e.classes[t-1],{hover:e.hoverIndex===t}],style:e.getIconStyle(t)},[e.showDecimalIcon(t)?n("i",{staticClass:"el-rate__decimal",class:e.decimalIconClass,style:e.decimalStyle}):e._e()])])}),e.showText||e.showScore?n("span",{staticClass:"el-rate__text",style:{color:e.textColor}},[e._v(e._s(e.text))]):e._e()],2)};Is._withStripped=!0;var Ls=n(18),Ps=i({name:"ElRate",mixins:[w.a],inject:{elForm:{default:""}},data:function(){return{pointerAtLeftHalf:!0,currentValue:this.value,hoverIndex:-1}},props:{value:{type:Number,default:0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:[Array,Object],default:function(){return["#F7BA2A","#F7BA2A","#F7BA2A"]}},voidColor:{type:String,default:"#C6D1DE"},disabledVoidColor:{type:String,default:"#EFF2F7"},iconClasses:{type:[Array,Object],default:function(){return["el-icon-star-on","el-icon-star-on","el-icon-star-on"]}},voidIconClass:{type:String,default:"el-icon-star-off"},disabledVoidIconClass:{type:String,default:"el-icon-star-on"},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},showText:{type:Boolean,default:!1},showScore:{type:Boolean,default:!1},textColor:{type:String,default:"#1f2d3d"},texts:{type:Array,default:function(){return["极差","失望","一般","满意","惊喜"]}},scoreTemplate:{type:String,default:"{value}"}},computed:{text:function(){var e="";return this.showScore?e=this.scoreTemplate.replace(/\{\s*value\s*\}/,this.rateDisabled?this.value:this.currentValue):this.showText&&(e=this.texts[Math.ceil(this.currentValue)-1]),e},decimalStyle:function(){var e="";return this.rateDisabled?e=this.valueDecimal+"%":this.allowHalf&&(e="50%"),{color:this.activeColor,width:e}},valueDecimal:function(){return 100*this.value-100*Math.floor(this.value)},classMap:function(){var e;return Array.isArray(this.iconClasses)?((e={})[this.lowThreshold]=this.iconClasses[0],e[this.highThreshold]={value:this.iconClasses[1],excluded:!0},e[this.max]=this.iconClasses[2],e):this.iconClasses},decimalIconClass:function(){return this.getValueFromMap(this.value,this.classMap)},voidClass:function(){return this.rateDisabled?this.disabledVoidIconClass:this.voidIconClass},activeClass:function(){return this.getValueFromMap(this.currentValue,this.classMap)},colorMap:function(){var e;return Array.isArray(this.colors)?((e={})[this.lowThreshold]=this.colors[0],e[this.highThreshold]={value:this.colors[1],excluded:!0},e[this.max]=this.colors[2],e):this.colors},activeColor:function(){return this.getValueFromMap(this.currentValue,this.colorMap)},classes:function(){var e=[],t=0,n=this.currentValue;for(this.allowHalf&&this.currentValue!==Math.floor(this.currentValue)&&n--;t<n;t++)e.push(this.activeClass);for(;t<this.max;t++)e.push(this.voidClass);return e},rateDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{value:function(e){this.currentValue=e,this.pointerAtLeftHalf=this.value!==Math.floor(this.value)}},methods:{getMigratingConfig:function(){return{props:{"text-template":"text-template is renamed to score-template."}}},getValueFromMap:function(e,t){var n=Object.keys(t).filter(function(n){var r=t[n];return!!Object(Ls.isObject)(r)&&r.excluded?e<n:e<=n}).sort(function(e,t){return e-t}),r=t[n[0]];return Object(Ls.isObject)(r)?r.value:r||""},showDecimalIcon:function(e){var t=this.rateDisabled&&this.valueDecimal>0&&e-1<this.value&&e>this.value,n=this.allowHalf&&this.pointerAtLeftHalf&&e-.5<=this.currentValue&&e>this.currentValue;return t||n},getIconStyle:function(e){var t=this.rateDisabled?this.disabledVoidColor:this.voidColor;return{color:e<=this.currentValue?this.activeColor:t}},selectValue:function(e){this.rateDisabled||(this.allowHalf&&this.pointerAtLeftHalf?(this.$emit("input",this.currentValue),this.$emit("change",this.currentValue)):(this.$emit("input",e),this.$emit("change",e)))},handleKey:function(e){if(!this.rateDisabled){var t=this.currentValue,n=e.keyCode;38===n||39===n?(this.allowHalf?t+=.5:t+=1,e.stopPropagation(),e.preventDefault()):37!==n&&40!==n||(this.allowHalf?t-=.5:t-=1,e.stopPropagation(),e.preventDefault()),t=(t=t<0?0:t)>this.max?this.max:t,this.$emit("input",t),this.$emit("change",t)}},setCurrentValue:function(e,t){if(!this.rateDisabled){if(this.allowHalf){var n=t.target;Object(pe.hasClass)(n,"el-rate__item")&&(n=n.querySelector(".el-rate__icon")),Object(pe.hasClass)(n,"el-rate__decimal")&&(n=n.parentNode),this.pointerAtLeftHalf=2*t.offsetX<=n.clientWidth,this.currentValue=this.pointerAtLeftHalf?e-.5:e}else this.currentValue=e;this.hoverIndex=e}},resetCurrentValue:function(){this.rateDisabled||(this.allowHalf&&(this.pointerAtLeftHalf=this.value!==Math.floor(this.value)),this.currentValue=this.value,this.hoverIndex=-1)}},created:function(){this.value||this.$emit("input",0)}},Is,[],!1,null,null,null);Ps.options.__file="packages/rate/src/main.vue";var Fs=Ps.exports;Fs.install=function(e){e.component(Fs.name,Fs)};var Rs=Fs,Ns=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-steps",class:[!this.simple&&"el-steps--"+this.direction,this.simple&&"el-steps--simple"]},[this._t("default")],2)};Ns._withStripped=!0;var Hs=i({name:"ElSteps",mixins:[w.a],props:{space:[Number,String],active:Number,direction:{type:String,default:"horizontal"},alignCenter:Boolean,simple:Boolean,finishStatus:{type:String,default:"finish"},processStatus:{type:String,default:"process"}},data:function(){return{steps:[],stepOffset:0}},methods:{getMigratingConfig:function(){return{props:{center:"center is removed."}}}},watch:{active:function(e,t){this.$emit("change",e,t)},steps:function(e){e.forEach(function(e,t){e.index=t})}}},Ns,[],!1,null,null,null);Hs.options.__file="packages/steps/src/steps.vue";var js=Hs.exports;js.install=function(e){e.component(js.name,js)};var Us=js,Qs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-step",class:[!e.isSimple&&"is-"+e.$parent.direction,e.isSimple&&"is-simple",e.isLast&&!e.space&&!e.isCenter&&"is-flex",e.isCenter&&!e.isVertical&&!e.isSimple&&"is-center"],style:e.style},[n("div",{staticClass:"el-step__head",class:"is-"+e.currentStatus},[n("div",{staticClass:"el-step__line",style:e.isLast?"":{marginRight:e.$parent.stepOffset+"px"}},[n("i",{staticClass:"el-step__line-inner",style:e.lineStyle})]),n("div",{staticClass:"el-step__icon",class:"is-"+(e.icon?"icon":"text")},["success"!==e.currentStatus&&"error"!==e.currentStatus?e._t("icon",[e.icon?n("i",{staticClass:"el-step__icon-inner",class:[e.icon]}):e._e(),e.icon||e.isSimple?e._e():n("div",{staticClass:"el-step__icon-inner"},[e._v(e._s(e.index+1))])]):n("i",{staticClass:"el-step__icon-inner is-status",class:["el-icon-"+("success"===e.currentStatus?"check":"close")]})],2)]),n("div",{staticClass:"el-step__main"},[n("div",{ref:"title",staticClass:"el-step__title",class:["is-"+e.currentStatus]},[e._t("title",[e._v(e._s(e.title))])],2),e.isSimple?n("div",{staticClass:"el-step__arrow"}):n("div",{staticClass:"el-step__description",class:["is-"+e.currentStatus]},[e._t("description",[e._v(e._s(e.description))])],2)])])};Qs._withStripped=!0;var zs=i({name:"ElStep",props:{title:String,icon:String,description:String,status:String},data:function(){return{index:-1,lineStyle:{},internalStatus:""}},beforeCreate:function(){this.$parent.steps.push(this)},beforeDestroy:function(){var e=this.$parent.steps,t=e.indexOf(this);t>=0&&e.splice(t,1)},computed:{currentStatus:function(){return this.status||this.internalStatus},prevStatus:function(){var e=this.$parent.steps[this.index-1];return e?e.currentStatus:"wait"},isCenter:function(){return this.$parent.alignCenter},isVertical:function(){return"vertical"===this.$parent.direction},isSimple:function(){return this.$parent.simple},isLast:function(){var e=this.$parent;return e.steps[e.steps.length-1]===this},stepsCount:function(){return this.$parent.steps.length},space:function(){var e=this.isSimple,t=this.$parent.space;return e?"":t},style:function(){var e={},t=this.$parent.steps.length,n="number"==typeof this.space?this.space+"px":this.space?this.space:100/(t-(this.isCenter?0:1))+"%";return e.flexBasis=n,this.isVertical?e:(this.isLast?e.maxWidth=100/this.stepsCount+"%":e.marginRight=-this.$parent.stepOffset+"px",e)}},methods:{updateStatus:function(e){var t=this.$parent.$children[this.index-1];e>this.index?this.internalStatus=this.$parent.finishStatus:e===this.index&&"error"!==this.prevStatus?this.internalStatus=this.$parent.processStatus:this.internalStatus="wait",t&&t.calcProgress(this.internalStatus)},calcProgress:function(e){var t=100,n={};n.transitionDelay=150*this.index+"ms",e===this.$parent.processStatus?(this.currentStatus,t=0):"wait"===e&&(t=0,n.transitionDelay=-150*this.index+"ms"),n.borderWidth=t&&!this.isSimple?"1px":0,"vertical"===this.$parent.direction?n.height=t+"%":n.width=t+"%",this.lineStyle=n}},mounted:function(){var e=this,t=this.$watch("index",function(n){e.$watch("$parent.active",e.updateStatus,{immediate:!0}),e.$watch("$parent.processStatus",function(){var t=e.$parent.active;e.updateStatus(t)},{immediate:!0}),t()})}},Qs,[],!1,null,null,null);zs.options.__file="packages/steps/src/step.vue";var Ys=zs.exports;Ys.install=function(e){e.component(Ys.name,Ys)};var Vs=Ys,Gs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.carouselClasses,on:{mouseenter:function(t){return t.stopPropagation(),e.handleMouseEnter(t)},mouseleave:function(t){return t.stopPropagation(),e.handleMouseLeave(t)}}},[n("div",{staticClass:"el-carousel__container",style:{height:e.height}},[e.arrowDisplay?n("transition",{attrs:{name:"carousel-arrow-left"}},[n("button",{directives:[{name:"show",rawName:"v-show",value:("always"===e.arrow||e.hover)&&(e.loop||e.activeIndex>0),expression:"(arrow === 'always' || hover) && (loop || activeIndex > 0)"}],staticClass:"el-carousel__arrow el-carousel__arrow--left",attrs:{type:"button"},on:{mouseenter:function(t){e.handleButtonEnter("left")},mouseleave:e.handleButtonLeave,click:function(t){t.stopPropagation(),e.throttledArrowClick(e.activeIndex-1)}}},[n("i",{staticClass:"el-icon-arrow-left"})])]):e._e(),e.arrowDisplay?n("transition",{attrs:{name:"carousel-arrow-right"}},[n("button",{directives:[{name:"show",rawName:"v-show",value:("always"===e.arrow||e.hover)&&(e.loop||e.activeIndex<e.items.length-1),expression:"(arrow === 'always' || hover) && (loop || activeIndex < items.length - 1)"}],staticClass:"el-carousel__arrow el-carousel__arrow--right",attrs:{type:"button"},on:{mouseenter:function(t){e.handleButtonEnter("right")},mouseleave:e.handleButtonLeave,click:function(t){t.stopPropagation(),e.throttledArrowClick(e.activeIndex+1)}}},[n("i",{staticClass:"el-icon-arrow-right"})])]):e._e(),e._t("default")],2),"none"!==e.indicatorPosition?n("ul",{class:e.indicatorsClasses},e._l(e.items,function(t,r){return n("li",{key:r,class:["el-carousel__indicator","el-carousel__indicator--"+e.direction,{"is-active":r===e.activeIndex}],on:{mouseenter:function(t){e.throttledIndicatorHover(r)},click:function(t){t.stopPropagation(),e.handleIndicatorClick(r)}}},[n("button",{staticClass:"el-carousel__button"},[e.hasLabel?n("span",[e._v(e._s(t.label))]):e._e()])])}),0):e._e()])};Gs._withStripped=!0;var Ws=n(25),Xs=n.n(Ws),Zs=i({name:"ElCarousel",props:{initialIndex:{type:Number,default:0},height:String,trigger:{type:String,default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:String,indicator:{type:Boolean,default:!0},arrow:{type:String,default:"hover"},type:String,loop:{type:Boolean,default:!0},direction:{type:String,default:"horizontal",validator:function(e){return-1!==["horizontal","vertical"].indexOf(e)}}},data:function(){return{items:[],activeIndex:-1,containerWidth:0,timer:null,hover:!1}},computed:{arrowDisplay:function(){return"never"!==this.arrow&&"vertical"!==this.direction},hasLabel:function(){return this.items.some(function(e){return e.label.toString().length>0})},carouselClasses:function(){var e=["el-carousel","el-carousel--"+this.direction];return"card"===this.type&&e.push("el-carousel--card"),e},indicatorsClasses:function(){var e=["el-carousel__indicators","el-carousel__indicators--"+this.direction];return this.hasLabel&&e.push("el-carousel__indicators--labels"),"outside"!==this.indicatorPosition&&"card"!==this.type||e.push("el-carousel__indicators--outside"),e}},watch:{items:function(e){e.length>0&&this.setActiveItem(this.initialIndex)},activeIndex:function(e,t){this.resetItemPosition(t),t>-1&&this.$emit("change",e,t)},autoplay:function(e){e?this.startTimer():this.pauseTimer()},loop:function(){this.setActiveItem(this.activeIndex)}},methods:{handleMouseEnter:function(){this.hover=!0,this.pauseTimer()},handleMouseLeave:function(){this.hover=!1,this.startTimer()},itemInStage:function(e,t){var n=this.items.length;return t===n-1&&e.inStage&&this.items[0].active||e.inStage&&this.items[t+1]&&this.items[t+1].active?"left":!!(0===t&&e.inStage&&this.items[n-1].active||e.inStage&&this.items[t-1]&&this.items[t-1].active)&&"right"},handleButtonEnter:function(e){var t=this;"vertical"!==this.direction&&this.items.forEach(function(n,r){e===t.itemInStage(n,r)&&(n.hover=!0)})},handleButtonLeave:function(){"vertical"!==this.direction&&this.items.forEach(function(e){e.hover=!1})},updateItems:function(){this.items=this.$children.filter(function(e){return"ElCarouselItem"===e.$options.name})},resetItemPosition:function(e){var t=this;this.items.forEach(function(n,r){n.translateItem(r,t.activeIndex,e)})},playSlides:function(){this.activeIndex<this.items.length-1?this.activeIndex++:this.loop&&(this.activeIndex=0)},pauseTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)},startTimer:function(){this.interval<=0||!this.autoplay||this.timer||(this.timer=setInterval(this.playSlides,this.interval))},setActiveItem:function(e){if("string"==typeof e){var t=this.items.filter(function(t){return t.name===e});t.length>0&&(e=this.items.indexOf(t[0]))}if(e=Number(e),isNaN(e)||e!==Math.floor(e))console.warn("[Element Warn][Carousel]index must be an integer.");else{var n=this.items.length,r=this.activeIndex;this.activeIndex=e<0?this.loop?n-1:0:e>=n?this.loop?0:n-1:e,r===this.activeIndex&&this.resetItemPosition(r)}},prev:function(){this.setActiveItem(this.activeIndex-1)},next:function(){this.setActiveItem(this.activeIndex+1)},handleIndicatorClick:function(e){this.activeIndex=e},handleIndicatorHover:function(e){"hover"===this.trigger&&e!==this.activeIndex&&(this.activeIndex=e)}},created:function(){var e=this;this.throttledArrowClick=Xs()(300,!0,function(t){e.setActiveItem(t)}),this.throttledIndicatorHover=Xs()(300,function(t){e.handleIndicatorHover(t)})},mounted:function(){var e=this;this.updateItems(),this.$nextTick(function(){Object(Ft.addResizeListener)(e.$el,e.resetItemPosition),e.initialIndex<e.items.length&&e.initialIndex>=0&&(e.activeIndex=e.initialIndex),e.startTimer()})},beforeDestroy:function(){this.$el&&Object(Ft.removeResizeListener)(this.$el,this.resetItemPosition),this.pauseTimer()}},Gs,[],!1,null,null,null);Zs.options.__file="packages/carousel/src/main.vue";var $s=Zs.exports;$s.install=function(e){e.component($s.name,$s)};var Ks=$s,Js={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};var qs={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return Js[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,r=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+r.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:function(e){var t=e.move,n=e.size,r=e.bar,i={},o="translate"+r.axis+"("+t+"%)";return i[r.size]=n,i.transform=o,i.msTransform=o,i.webkitTransform=o,i}({size:t,move:n,bar:r})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=100*(Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-this.$refs.thumb[this.bar.offset]/2)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=t*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(pe.on)(document,"mousemove",this.mouseMoveDocumentHandler),Object(pe.on)(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=100*(-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client])-(this.$refs.thumb[this.bar.offset]-t))/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=n*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(pe.off)(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(pe.off)(document,"mouseup",this.mouseUpDocumentHandler)}},el={name:"ElScrollbar",components:{Bar:qs},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=Ln()(),n=this.wrapStyle;if(t){var r="-"+t+"px",i="margin-bottom: "+r+"; margin-right: "+r+";";Array.isArray(this.wrapStyle)?(n=Object(A.toObject)(this.wrapStyle)).marginRight=n.marginBottom=r:"string"==typeof this.wrapStyle?n+=i:n=i}var o=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),a=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[o]]);return e("div",{class:"el-scrollbar"},this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[o]])]:[a,e(qs,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(qs,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})])},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e,t,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(Ft.addResizeListener)(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(Ft.removeResizeListener)(this.$refs.resize,this.update)},install:function(e){e.component(el.name,el)}},tl=el,nl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.ready,expression:"ready"}],staticClass:"el-carousel__item",class:{"is-active":e.active,"el-carousel__item--card":"card"===e.$parent.type,"is-in-stage":e.inStage,"is-hover":e.hover,"is-animating":e.animating},style:e.itemStyle,on:{click:e.handleItemClick}},["card"===e.$parent.type?n("div",{directives:[{name:"show",rawName:"v-show",value:!e.active,expression:"!active"}],staticClass:"el-carousel__mask"}):e._e(),e._t("default")],2)};nl._withStripped=!0;var rl=i({name:"ElCarouselItem",props:{name:String,label:{type:[String,Number],default:""}},data:function(){return{hover:!1,translate:0,scale:1,active:!1,ready:!1,inStage:!1,animating:!1}},methods:{processIndex:function(e,t,n){return 0===t&&e===n-1?-1:t===n-1&&0===e?n:e<t-1&&t-e>=n/2?n+1:e>t+1&&e-t>=n/2?-2:e},calcCardTranslate:function(e,t){var n=this.$parent.$el.offsetWidth;return this.inStage?n*(1.17*(e-t)+1)/4:e<t?-1.83*n/4:3.83*n/4},calcTranslate:function(e,t,n){return this.$parent.$el[n?"offsetHeight":"offsetWidth"]*(e-t)},translateItem:function(e,t,n){var r=this.$parent.type,i=this.parentDirection,o=this.$parent.items.length;if("card"!==r&&void 0!==n&&(this.animating=e===t||e===n),e!==t&&o>2&&this.$parent.loop&&(e=this.processIndex(e,t,o)),"card"===r)"vertical"===i&&console.warn("[Element Warn][Carousel]vertical direction is not supported in card mode"),this.inStage=Math.round(Math.abs(e-t))<=1,this.active=e===t,this.translate=this.calcCardTranslate(e,t),this.scale=this.active?1:.83;else{this.active=e===t;var a="vertical"===i;this.translate=this.calcTranslate(e,t,a)}this.ready=!0},handleItemClick:function(){var e=this.$parent;if(e&&"card"===e.type){var t=e.items.indexOf(this);e.setActiveItem(t)}}},computed:{parentDirection:function(){return this.$parent.direction},itemStyle:function(){var e={transform:("vertical"===this.parentDirection?"translateY":"translateX")+"("+this.translate+"px) scale("+this.scale+")"};return Object(A.autoprefixer)(e)}},created:function(){this.$parent&&this.$parent.updateItems()},destroyed:function(){this.$parent&&this.$parent.updateItems()}},nl,[],!1,null,null,null);rl.options.__file="packages/carousel/src/item.vue";var il=rl.exports;il.install=function(e){e.component(il.name,il)};var ol=il,al=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"el-collapse",attrs:{role:"tablist","aria-multiselectable":"true"}},[this._t("default")],2)};al._withStripped=!0;var sl=i({name:"ElCollapse",componentName:"ElCollapse",props:{accordion:Boolean,value:{type:[Array,String,Number],default:function(){return[]}}},data:function(){return{activeNames:[].concat(this.value)}},provide:function(){return{collapse:this}},watch:{value:function(e){this.activeNames=[].concat(e)}},methods:{setActiveNames:function(e){e=[].concat(e);var t=this.accordion?e[0]:e;this.activeNames=e,this.$emit("input",t),this.$emit("change",t)},handleItemClick:function(e){if(this.accordion)this.setActiveNames(!this.activeNames[0]&&0!==this.activeNames[0]||this.activeNames[0]!==e.name?e.name:"");else{var t=this.activeNames.slice(0),n=t.indexOf(e.name);n>-1?t.splice(n,1):t.push(e.name),this.setActiveNames(t)}}},created:function(){this.$on("item-click",this.handleItemClick)}},al,[],!1,null,null,null);sl.options.__file="packages/collapse/src/collapse.vue";var ll=sl.exports;ll.install=function(e){e.component(ll.name,ll)};var cl=ll,ul=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-collapse-item",class:{"is-active":e.isActive,"is-disabled":e.disabled}},[n("div",{attrs:{role:"tab","aria-expanded":e.isActive,"aria-controls":"el-collapse-content-"+e.id,"aria-describedby":"el-collapse-content-"+e.id}},[n("div",{staticClass:"el-collapse-item__header",class:{focusing:e.focusing,"is-active":e.isActive},attrs:{role:"button",id:"el-collapse-head-"+e.id,tabindex:e.disabled?void 0:0},on:{click:e.handleHeaderClick,keyup:function(t){return"button"in t||!e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])||!e._k(t.keyCode,"enter",13,t.key,"Enter")?(t.stopPropagation(),e.handleEnterClick(t)):null},focus:e.handleFocus,blur:function(t){e.focusing=!1}}},[e._t("title",[e._v(e._s(e.title))]),n("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right",class:{"is-active":e.isActive}})],2)]),n("el-collapse-transition",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"el-collapse-item__wrap",attrs:{role:"tabpanel","aria-hidden":!e.isActive,"aria-labelledby":"el-collapse-head-"+e.id,id:"el-collapse-content-"+e.id}},[n("div",{staticClass:"el-collapse-item__content"},[e._t("default")],2)])])],1)};ul._withStripped=!0;var hl=i({name:"ElCollapseItem",componentName:"ElCollapseItem",mixins:[C.a],components:{ElCollapseTransition:ye.a},data:function(){return{contentWrapStyle:{height:"auto",display:"block"},contentHeight:0,focusing:!1,isClick:!1,id:Object(A.generateId)()}},inject:["collapse"],props:{title:String,name:{type:[String,Number],default:function(){return this._uid}},disabled:Boolean},computed:{isActive:function(){return this.collapse.activeNames.indexOf(this.name)>-1}},methods:{handleFocus:function(){var e=this;setTimeout(function(){e.isClick?e.isClick=!1:e.focusing=!0},50)},handleHeaderClick:function(){this.disabled||(this.dispatch("ElCollapse","item-click",this),this.focusing=!1,this.isClick=!0)},handleEnterClick:function(){this.dispatch("ElCollapse","item-click",this)}}},ul,[],!1,null,null,null);hl.options.__file="packages/collapse/src/collapse-item.vue";var dl=hl.exports;dl.install=function(e){e.component(dl.name,dl)};var fl=dl,pl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:function(){return e.toggleDropDownVisible(!1)},expression:"() => toggleDropDownVisible(false)"}],ref:"reference",class:["el-cascader",e.realSize&&"el-cascader--"+e.realSize,{"is-disabled":e.isDisabled}],on:{mouseenter:function(t){e.inputHover=!0},mouseleave:function(t){e.inputHover=!1},click:function(){return e.toggleDropDownVisible(!e.readonly||void 0)},keydown:e.handleKeyDown}},[n("el-input",{ref:"input",class:{"is-focus":e.dropDownVisible},attrs:{size:e.realSize,placeholder:e.placeholder,readonly:e.readonly,disabled:e.isDisabled,"validate-event":!1},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.handleInput},model:{value:e.multiple?e.presentText:e.inputValue,callback:function(t){e.multiple?e.presentText:e.inputValue=t},expression:"multiple ? presentText : inputValue"}},[n("template",{slot:"suffix"},[e.clearBtnVisible?n("i",{key:"clear",staticClass:"el-input__icon el-icon-circle-close",on:{click:function(t){return t.stopPropagation(),e.handleClear(t)}}}):n("i",{key:"arrow-down",class:["el-input__icon","el-icon-arrow-down",e.dropDownVisible&&"is-reverse"],on:{click:function(t){t.stopPropagation(),e.toggleDropDownVisible()}}})])],2),e.multiple?n("div",{staticClass:"el-cascader__tags"},[e._l(e.presentTags,function(t,r){return n("el-tag",{key:t.key,attrs:{type:"info",size:e.tagSize,hit:t.hitState,closable:t.closable,"disable-transitions":""},on:{close:function(t){e.deleteTag(r)}}},[n("span",[e._v(e._s(t.text))])])}),e.filterable&&!e.isDisabled?n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.inputValue,expression:"inputValue",modifiers:{trim:!0}}],staticClass:"el-cascader__search-input",attrs:{type:"text",placeholder:e.presentTags.length?"":e.placeholder},domProps:{value:e.inputValue},on:{input:[function(t){t.target.composing||(e.inputValue=t.target.value.trim())},function(t){return e.handleInput(e.inputValue,t)}],click:function(t){t.stopPropagation(),e.toggleDropDownVisible(!0)},keydown:function(t){return"button"in t||!e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?e.handleDelete(t):null},blur:function(t){e.$forceUpdate()}}}):e._e()],2):e._e(),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.handleDropdownLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.dropDownVisible,expression:"dropDownVisible"}],ref:"popper",class:["el-popper","el-cascader__dropdown",e.popperClass]},[n("el-cascader-panel",{directives:[{name:"show",rawName:"v-show",value:!e.filtering,expression:"!filtering"}],ref:"panel",attrs:{options:e.options,props:e.config,border:!1,"render-label":e.$scopedSlots.default},on:{"expand-change":e.handleExpandChange,close:function(t){e.toggleDropDownVisible(!1)}},model:{value:e.checkedValue,callback:function(t){e.checkedValue=t},expression:"checkedValue"}}),e.filterable?n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.filtering,expression:"filtering"}],ref:"suggestionPanel",staticClass:"el-cascader__suggestion-panel",attrs:{tag:"ul","view-class":"el-cascader__suggestion-list"},nativeOn:{keydown:function(t){return e.handleSuggestionKeyDown(t)}}},[e.suggestions.length?e._l(e.suggestions,function(t,r){return n("li",{key:t.uid,class:["el-cascader__suggestion-item",t.checked&&"is-checked"],attrs:{tabindex:-1},on:{click:function(t){e.handleSuggestionClick(r)}}},[n("span",[e._v(e._s(t.text))]),t.checked?n("i",{staticClass:"el-icon-check"}):e._e()])}):e._t("empty",[n("li",{staticClass:"el-cascader__empty-text"},[e._v(e._s(e.t("el.cascader.noMatch")))])])],2):e._e()],1)])],1)};pl._withStripped=!0;var Al=n(42),gl=n.n(Al),vl=n(34),ml=n.n(vl),yl=ml.a.keys,bl={expandTrigger:{newProp:"expandTrigger",type:String},changeOnSelect:{newProp:"checkStrictly",type:Boolean},hoverThreshold:{newProp:"hoverThreshold",type:Number}},_l={props:{placement:{type:String,default:"bottom-start"},appendToBody:P.a.props.appendToBody,visibleArrow:{type:Boolean,default:!0},arrowOffset:P.a.props.arrowOffset,offset:P.a.props.offset,boundariesPadding:P.a.props.boundariesPadding,popperOptions:P.a.props.popperOptions},methods:P.a.methods,data:P.a.data,beforeDestroy:P.a.beforeDestroy},wl={medium:36,small:32,mini:28},xl=i({name:"ElCascader",directives:{Clickoutside:O.a},mixins:[_l,C.a,p.a,w.a],inject:{elForm:{default:""},elFormItem:{default:""}},components:{ElInput:d.a,ElTag:Pt.a,ElScrollbar:R.a,ElCascaderPanel:gl.a},props:{value:{},options:Array,props:Object,size:String,placeholder:{type:String,default:function(){return Object(Li.t)("el.cascader.placeholder")}},disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:Function,separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,debounce:{type:Number,default:300},beforeFilter:{type:Function,default:function(){return function(){}}},popperClass:String},data:function(){return{dropDownVisible:!1,checkedValue:this.value||null,inputHover:!1,inputValue:null,presentText:null,presentTags:[],checkedNodes:[],filtering:!1,suggestions:[],inputInitialHeight:0,pressDeleteCount:0}},computed:{realSize:function(){var e=(this.elFormItem||{}).elFormItemSize;return this.size||e||(this.$ELEMENT||{}).size},tagSize:function(){return["small","mini"].indexOf(this.realSize)>-1?"mini":"small"},isDisabled:function(){return this.disabled||(this.elForm||{}).disabled},config:function(){var e=this.props||{},t=this.$attrs;return Object.keys(bl).forEach(function(n){var r=bl[n],i=r.newProp,o=r.type,a=t[n]||t[Object(A.kebabCase)(n)];Object(Qe.isDef)(n)&&!Object(Qe.isDef)(e[i])&&(o===Boolean&&""===a&&(a=!0),e[i]=a)}),e},multiple:function(){return this.config.multiple},leafOnly:function(){return!this.config.checkStrictly},readonly:function(){return!this.filterable||this.multiple},clearBtnVisible:function(){return!(!this.clearable||this.isDisabled||this.filtering||!this.inputHover)&&(this.multiple?!!this.checkedNodes.filter(function(e){return!e.isDisabled}).length:!!this.presentText)},panel:function(){return this.$refs.panel}},watch:{disabled:function(){this.computePresentContent()},value:function(e){Object(A.isEqual)(e,this.checkedValue)||(this.checkedValue=e,this.computePresentContent())},checkedValue:function(e){var t=this.value,n=this.dropDownVisible,r=this.config,i=r.checkStrictly,o=r.multiple;Object(A.isEqual)(e,t)&&!Object(Ls.isUndefined)(t)||(this.computePresentContent(),o||i||!n||this.toggleDropDownVisible(!1),this.$emit("input",e),this.$emit("change",e),this.dispatch("ElFormItem","el.form.change",[e]))},options:{handler:function(){this.$nextTick(this.computePresentContent)},deep:!0},presentText:function(e){this.inputValue=e},presentTags:function(e,t){this.multiple&&(e.length||t.length)&&this.$nextTick(this.updateStyle)},filtering:function(e){this.$nextTick(this.updatePopper)}},mounted:function(){var e=this,t=this.$refs.input;t&&t.$el&&(this.inputInitialHeight=t.$el.offsetHeight||wl[this.realSize]||40),Object(A.isEmpty)(this.value)||this.computePresentContent(),this.filterHandler=M()(this.debounce,function(){var t=e.inputValue;if(t){var n=e.beforeFilter(t);n&&n.then?n.then(e.getSuggestions):!1!==n?e.getSuggestions():e.filtering=!1}else e.filtering=!1}),Object(Ft.addResizeListener)(this.$el,this.updateStyle)},beforeDestroy:function(){Object(Ft.removeResizeListener)(this.$el,this.updateStyle)},methods:{getMigratingConfig:function(){return{props:{"expand-trigger":"expand-trigger is removed, use `props.expandTrigger` instead.","change-on-select":"change-on-select is removed, use `props.checkStrictly` instead.","hover-threshold":"hover-threshold is removed, use `props.hoverThreshold` instead"},events:{"active-item-change":"active-item-change is renamed to expand-change"}}},toggleDropDownVisible:function(e){var t=this;if(!this.isDisabled){var n=this.dropDownVisible,r=this.$refs.input;(e=Object(Qe.isDef)(e)?e:!n)!==n&&(this.dropDownVisible=e,e&&this.$nextTick(function(){t.updatePopper(),t.panel.scrollIntoView()}),r.$refs.input.setAttribute("aria-expanded",e),this.$emit("visible-change",e))}},handleDropdownLeave:function(){this.filtering=!1,this.inputValue=this.presentText},handleKeyDown:function(e){switch(e.keyCode){case yl.enter:this.toggleDropDownVisible();break;case yl.down:this.toggleDropDownVisible(!0),this.focusFirstNode(),e.preventDefault();break;case yl.esc:case yl.tab:this.toggleDropDownVisible(!1)}},handleFocus:function(e){this.$emit("focus",e)},handleBlur:function(e){this.$emit("blur",e)},handleInput:function(e,t){!this.dropDownVisible&&this.toggleDropDownVisible(!0),t&&t.isComposing||(e?this.filterHandler():this.filtering=!1)},handleClear:function(){this.presentText="",this.panel.clearCheckedNodes()},handleExpandChange:function(e){this.$nextTick(this.updatePopper.bind(this)),this.$emit("expand-change",e),this.$emit("active-item-change",e)},focusFirstNode:function(){var e=this;this.$nextTick(function(){var t=e.filtering,n=e.$refs,r=n.popper,i=n.suggestionPanel,o=null;t&&i?o=i.$el.querySelector(".el-cascader__suggestion-item"):o=r.querySelector(".el-cascader-menu").querySelector('.el-cascader-node[tabindex="-1"]');o&&(o.focus(),!t&&o.click())})},computePresentContent:function(){var e=this;this.$nextTick(function(){e.config.multiple?(e.computePresentTags(),e.presentText=e.presentTags.length?" ":null):e.computePresentText()})},computePresentText:function(){var e=this.checkedValue,t=this.config;if(!Object(A.isEmpty)(e)){var n=this.panel.getNodeByValue(e);if(n&&(t.checkStrictly||n.isLeaf))return void(this.presentText=n.getText(this.showAllLevels,this.separator))}this.presentText=null},computePresentTags:function(){var e=this.isDisabled,t=this.leafOnly,n=this.showAllLevels,r=this.separator,i=this.collapseTags,o=this.getCheckedNodes(t),a=[],s=function(t){return{node:t,key:t.uid,text:t.getText(n,r),hitState:!1,closable:!e&&!t.isDisabled}};if(o.length){var l=o[0],c=o.slice(1),u=c.length;a.push(s(l)),u&&(i?a.push({key:-1,text:"+ "+u,closable:!1}):c.forEach(function(e){return a.push(s(e))}))}this.checkedNodes=o,this.presentTags=a},getSuggestions:function(){var e=this,t=this.filterMethod;Object(Ls.isFunction)(t)||(t=function(e,t){return e.text.includes(t)});var n=this.panel.getFlattedNodes(this.leafOnly).filter(function(n){return!n.isDisabled&&(n.text=n.getText(e.showAllLevels,e.separator)||"",t(n,e.inputValue))});this.multiple?this.presentTags.forEach(function(e){e.hitState=!1}):n.forEach(function(t){t.checked=Object(A.isEqual)(e.checkedValue,t.getValueByOption())}),this.filtering=!0,this.suggestions=n,this.$nextTick(this.updatePopper)},handleSuggestionKeyDown:function(e){var t=e.keyCode,n=e.target;switch(t){case yl.enter:n.click();break;case yl.up:var r=n.previousElementSibling;r&&r.focus();break;case yl.down:var i=n.nextElementSibling;i&&i.focus();break;case yl.esc:case yl.tab:this.toggleDropDownVisible(!1)}},handleDelete:function(){var e=this.inputValue,t=this.pressDeleteCount,n=this.presentTags,r=n.length-1,i=n[r];this.pressDeleteCount=e?0:t+1,i&&this.pressDeleteCount&&(i.hitState?this.deleteTag(r):i.hitState=!0)},handleSuggestionClick:function(e){var t=this.multiple,n=this.suggestions[e];if(t){var r=n.checked;n.doCheck(!r),this.panel.calculateMultiCheckedValue()}else this.checkedValue=n.getValueByOption(),this.toggleDropDownVisible(!1)},deleteTag:function(e){var t=this.checkedValue,n=t[e];this.checkedValue=t.filter(function(t,n){return n!==e}),this.$emit("remove-tag",n)},updateStyle:function(){var e=this.$el,t=this.inputInitialHeight;if(!this.$isServer&&e){var n=this.$refs.suggestionPanel,r=e.querySelector(".el-input__inner");if(r){var i=e.querySelector(".el-cascader__tags"),o=null;if(n&&(o=n.$el))o.querySelector(".el-cascader__suggestion-list").style.minWidth=r.offsetWidth+"px";if(i){var a=i.offsetHeight,s=Math.max(a+6,t)+"px";r.style.height=s,this.updatePopper()}}}},getCheckedNodes:function(e){return this.panel.getCheckedNodes(e)}}},pl,[],!1,null,null,null);xl.options.__file="packages/cascader/src/cascader.vue";var Cl=xl.exports;Cl.install=function(e){e.component(Cl.name,Cl)};var Sl=Cl,Bl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.hide,expression:"hide"}],class:["el-color-picker",e.colorDisabled?"is-disabled":"",e.colorSize?"el-color-picker--"+e.colorSize:""]},[e.colorDisabled?n("div",{staticClass:"el-color-picker__mask"}):e._e(),n("div",{staticClass:"el-color-picker__trigger",on:{click:e.handleTrigger}},[n("span",{staticClass:"el-color-picker__color",class:{"is-alpha":e.showAlpha}},[n("span",{staticClass:"el-color-picker__color-inner",style:{backgroundColor:e.displayedColor}}),e.value||e.showPanelColor?e._e():n("span",{staticClass:"el-color-picker__empty el-icon-close"})]),n("span",{directives:[{name:"show",rawName:"v-show",value:e.value||e.showPanelColor,expression:"value || showPanelColor"}],staticClass:"el-color-picker__icon el-icon-arrow-down"})]),n("picker-dropdown",{ref:"dropdown",class:["el-color-picker__panel",e.popperClass||""],attrs:{color:e.color,"show-alpha":e.showAlpha,predefine:e.predefine},on:{pick:e.confirmValue,clear:e.clearValue},model:{value:e.showPicker,callback:function(t){e.showPicker=t},expression:"showPicker"}})],1)};Bl._withStripped=!0;var kl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var Tl=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},El=function(e,t){var n;"string"==typeof(n=e)&&-1!==n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)},Ml={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Dl={A:10,B:11,C:12,D:13,E:14,F:15},Ol=function(e){return 2===e.length?16*(Dl[e[0].toUpperCase()]||+e[0])+(Dl[e[1].toUpperCase()]||+e[1]):Dl[e[1].toUpperCase()]||+e[1]},Il=function(e,t,n){e=El(e,255),t=El(t,255),n=El(n,255);var r,i=Math.max(e,t,n),o=Math.min(e,t,n),a=void 0,s=i,l=i-o;if(r=0===i?0:l/i,i===o)a=0;else{switch(i){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4}a/=6}return{h:360*a,s:100*r,v:100*s}},Ll=function(e,t,n){e=6*El(e,360),t=El(t,100),n=El(n,100);var r=Math.floor(e),i=e-r,o=n*(1-t),a=n*(1-i*t),s=n*(1-(1-i)*t),l=r%6,c=[n,a,o,o,s,n][l],u=[s,n,n,a,o,o][l],h=[o,o,s,n,n,a][l];return{r:Math.round(255*c),g:Math.round(255*u),b:Math.round(255*h)}},Pl=function(){function e(t){for(var n in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="",t=t||{})t.hasOwnProperty(n)&&(this[n]=t[n]);this.doOnChange()}return e.prototype.set=function(e,t){if(1!==arguments.length||"object"!==(void 0===e?"undefined":kl(e)))this["_"+e]=t,this.doOnChange();else for(var n in e)e.hasOwnProperty(n)&&this.set(n,e[n])},e.prototype.get=function(e){return this["_"+e]},e.prototype.toRgb=function(){return Ll(this._hue,this._saturation,this._value)},e.prototype.fromString=function(e){var t=this;if(!e)return this._hue=0,this._saturation=100,this._value=100,void this.doOnChange();var n=function(e,n,r){t._hue=Math.max(0,Math.min(360,e)),t._saturation=Math.max(0,Math.min(100,n)),t._value=Math.max(0,Math.min(100,r)),t.doOnChange()};if(-1!==e.indexOf("hsl")){var r=e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(function(e){return""!==e}).map(function(e,t){return t>2?parseFloat(e):parseInt(e,10)});if(4===r.length?this._alpha=Math.floor(100*parseFloat(r[3])):3===r.length&&(this._alpha=100),r.length>=3){var i=function(e,t,n){n/=100;var r=t/=100,i=Math.max(n,.01);return t*=(n*=2)<=1?n:2-n,r*=i<=1?i:2-i,{h:e,s:100*(0===n?2*r/(i+r):2*t/(n+t)),v:(n+t)/2*100}}(r[0],r[1],r[2]);n(i.h,i.s,i.v)}}else if(-1!==e.indexOf("hsv")){var o=e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(function(e){return""!==e}).map(function(e,t){return t>2?parseFloat(e):parseInt(e,10)});4===o.length?this._alpha=Math.floor(100*parseFloat(o[3])):3===o.length&&(this._alpha=100),o.length>=3&&n(o[0],o[1],o[2])}else if(-1!==e.indexOf("rgb")){var a=e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(function(e){return""!==e}).map(function(e,t){return t>2?parseFloat(e):parseInt(e,10)});if(4===a.length?this._alpha=Math.floor(100*parseFloat(a[3])):3===a.length&&(this._alpha=100),a.length>=3){var s=Il(a[0],a[1],a[2]);n(s.h,s.s,s.v)}}else if(-1!==e.indexOf("#")){var l=e.replace("#","").trim();if(!/^(?:[0-9a-fA-F]{3}){1,2}|[0-9a-fA-F]{8}$/.test(l))return;var c=void 0,u=void 0,h=void 0;3===l.length?(c=Ol(l[0]+l[0]),u=Ol(l[1]+l[1]),h=Ol(l[2]+l[2])):6!==l.length&&8!==l.length||(c=Ol(l.substring(0,2)),u=Ol(l.substring(2,4)),h=Ol(l.substring(4,6))),8===l.length?this._alpha=Math.floor(Ol(l.substring(6))/255*100):3!==l.length&&6!==l.length||(this._alpha=100);var d=Il(c,u,h);n(d.h,d.s,d.v)}},e.prototype.compare=function(e){return Math.abs(e._hue-this._hue)<2&&Math.abs(e._saturation-this._saturation)<1&&Math.abs(e._value-this._value)<1&&Math.abs(e._alpha-this._alpha)<1},e.prototype.doOnChange=function(){var e=this._hue,t=this._saturation,n=this._value,r=this._alpha,i=this.format;if(this.enableAlpha)switch(i){case"hsl":var o=Tl(e,t/100,n/100);this.value="hsla("+e+", "+Math.round(100*o[1])+"%, "+Math.round(100*o[2])+"%, "+r/100+")";break;case"hsv":this.value="hsva("+e+", "+Math.round(t)+"%, "+Math.round(n)+"%, "+r/100+")";break;default:var a=Ll(e,t,n),s=a.r,l=a.g,c=a.b;this.value="rgba("+s+", "+l+", "+c+", "+r/100+")"}else switch(i){case"hsl":var u=Tl(e,t/100,n/100);this.value="hsl("+e+", "+Math.round(100*u[1])+"%, "+Math.round(100*u[2])+"%)";break;case"hsv":this.value="hsv("+e+", "+Math.round(t)+"%, "+Math.round(n)+"%)";break;case"rgb":var h=Ll(e,t,n),d=h.r,f=h.g,p=h.b;this.value="rgb("+d+", "+f+", "+p+")";break;default:this.value=function(e){var t=e.r,n=e.g,r=e.b,i=function(e){e=Math.min(Math.round(e),255);var t=Math.floor(e/16),n=e%16;return""+(Ml[t]||t)+(Ml[n]||n)};return isNaN(t)||isNaN(n)||isNaN(r)?"":"#"+i(t)+i(n)+i(r)}(Ll(e,t,n))}},e}(),Fl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-color-dropdown"},[n("div",{staticClass:"el-color-dropdown__main-wrapper"},[n("hue-slider",{ref:"hue",staticStyle:{float:"right"},attrs:{color:e.color,vertical:""}}),n("sv-panel",{ref:"sl",attrs:{color:e.color}})],1),e.showAlpha?n("alpha-slider",{ref:"alpha",attrs:{color:e.color}}):e._e(),e.predefine?n("predefine",{attrs:{color:e.color,colors:e.predefine}}):e._e(),n("div",{staticClass:"el-color-dropdown__btns"},[n("span",{staticClass:"el-color-dropdown__value"},[n("el-input",{attrs:{"validate-event":!1,size:"mini"},on:{blur:e.handleConfirm},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleConfirm(t):null}},model:{value:e.customInput,callback:function(t){e.customInput=t},expression:"customInput"}})],1),n("el-button",{staticClass:"el-color-dropdown__link-btn",attrs:{size:"mini",type:"text"},on:{click:function(t){e.$emit("clear")}}},[e._v("\n "+e._s(e.t("el.colorpicker.clear"))+"\n ")]),n("el-button",{staticClass:"el-color-dropdown__btn",attrs:{plain:"",size:"mini"},on:{click:e.confirmValue}},[e._v("\n "+e._s(e.t("el.colorpicker.confirm"))+"\n ")])],1)],1)])};Fl._withStripped=!0;var Rl=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"el-color-svpanel",style:{backgroundColor:this.background}},[t("div",{staticClass:"el-color-svpanel__white"}),t("div",{staticClass:"el-color-svpanel__black"}),t("div",{staticClass:"el-color-svpanel__cursor",style:{top:this.cursorTop+"px",left:this.cursorLeft+"px"}},[t("div")])])};Rl._withStripped=!0;var Nl=!1,Hl=function(e,t){if(!hn.a.prototype.$isServer){var n=function(e){t.drag&&t.drag(e)},r=function e(r){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",e),document.onselectstart=null,document.ondragstart=null,Nl=!1,t.end&&t.end(r)};e.addEventListener("mousedown",function(e){Nl||(document.onselectstart=function(){return!1},document.ondragstart=function(){return!1},document.addEventListener("mousemove",n),document.addEventListener("mouseup",r),Nl=!0,t.start&&t.start(e))})}},jl=i({name:"el-sl-panel",props:{color:{required:!0}},computed:{colorValue:function(){return{hue:this.color.get("hue"),value:this.color.get("value")}}},watch:{colorValue:function(){this.update()}},methods:{update:function(){var e=this.color.get("saturation"),t=this.color.get("value"),n=this.$el,r=n.clientWidth,i=n.clientHeight;this.cursorLeft=e*r/100,this.cursorTop=(100-t)*i/100,this.background="hsl("+this.color.get("hue")+", 100%, 50%)"},handleDrag:function(e){var t=this.$el.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;n=Math.max(0,n),n=Math.min(n,t.width),r=Math.max(0,r),r=Math.min(r,t.height),this.cursorLeft=n,this.cursorTop=r,this.color.set({saturation:n/t.width*100,value:100-r/t.height*100})}},mounted:function(){var e=this;Hl(this.$el,{drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}}),this.update()},data:function(){return{cursorTop:0,cursorLeft:0,background:"hsl(0, 100%, 50%)"}}},Rl,[],!1,null,null,null);jl.options.__file="packages/color-picker/src/components/sv-panel.vue";var Ul=jl.exports,Ql=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"el-color-hue-slider",class:{"is-vertical":this.vertical}},[t("div",{ref:"bar",staticClass:"el-color-hue-slider__bar",on:{click:this.handleClick}}),t("div",{ref:"thumb",staticClass:"el-color-hue-slider__thumb",style:{left:this.thumbLeft+"px",top:this.thumbTop+"px"}})])};Ql._withStripped=!0;var zl=i({name:"el-color-hue-slider",props:{color:{required:!0},vertical:Boolean},data:function(){return{thumbLeft:0,thumbTop:0}},computed:{hueValue:function(){return this.color.get("hue")}},watch:{hueValue:function(){this.update()}},methods:{handleClick:function(e){var t=this.$refs.thumb;e.target!==t&&this.handleDrag(e)},handleDrag:function(e){var t=this.$el.getBoundingClientRect(),n=this.$refs.thumb,r=void 0;if(this.vertical){var i=e.clientY-t.top;i=Math.min(i,t.height-n.offsetHeight/2),i=Math.max(n.offsetHeight/2,i),r=Math.round((i-n.offsetHeight/2)/(t.height-n.offsetHeight)*360)}else{var o=e.clientX-t.left;o=Math.min(o,t.width-n.offsetWidth/2),o=Math.max(n.offsetWidth/2,o),r=Math.round((o-n.offsetWidth/2)/(t.width-n.offsetWidth)*360)}this.color.set("hue",r)},getThumbLeft:function(){if(this.vertical)return 0;var e=this.$el,t=this.color.get("hue");if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetWidth-n.offsetWidth/2)/360)},getThumbTop:function(){if(!this.vertical)return 0;var e=this.$el,t=this.color.get("hue");if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetHeight-n.offsetHeight/2)/360)},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop()}},mounted:function(){var e=this,t=this.$refs,n=t.bar,r=t.thumb,i={drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}};Hl(n,i),Hl(r,i),this.update()}},Ql,[],!1,null,null,null);zl.options.__file="packages/color-picker/src/components/hue-slider.vue";var Yl=zl.exports,Vl=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"el-color-alpha-slider",class:{"is-vertical":this.vertical}},[t("div",{ref:"bar",staticClass:"el-color-alpha-slider__bar",style:{background:this.background},on:{click:this.handleClick}}),t("div",{ref:"thumb",staticClass:"el-color-alpha-slider__thumb",style:{left:this.thumbLeft+"px",top:this.thumbTop+"px"}})])};Vl._withStripped=!0;var Gl=i({name:"el-color-alpha-slider",props:{color:{required:!0},vertical:Boolean},watch:{"color._alpha":function(){this.update()},"color.value":function(){this.update()}},methods:{handleClick:function(e){var t=this.$refs.thumb;e.target!==t&&this.handleDrag(e)},handleDrag:function(e){var t=this.$el.getBoundingClientRect(),n=this.$refs.thumb;if(this.vertical){var r=e.clientY-t.top;r=Math.max(n.offsetHeight/2,r),r=Math.min(r,t.height-n.offsetHeight/2),this.color.set("alpha",Math.round((r-n.offsetHeight/2)/(t.height-n.offsetHeight)*100))}else{var i=e.clientX-t.left;i=Math.max(n.offsetWidth/2,i),i=Math.min(i,t.width-n.offsetWidth/2),this.color.set("alpha",Math.round((i-n.offsetWidth/2)/(t.width-n.offsetWidth)*100))}},getThumbLeft:function(){if(this.vertical)return 0;var e=this.$el,t=this.color._alpha;if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetWidth-n.offsetWidth/2)/100)},getThumbTop:function(){if(!this.vertical)return 0;var e=this.$el,t=this.color._alpha;if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetHeight-n.offsetHeight/2)/100)},getBackground:function(){if(this.color&&this.color.value){var e=this.color.toRgb(),t=e.r,n=e.g,r=e.b;return"linear-gradient(to right, rgba("+t+", "+n+", "+r+", 0) 0%, rgba("+t+", "+n+", "+r+", 1) 100%)"}return null},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop(),this.background=this.getBackground()}},data:function(){return{thumbLeft:0,thumbTop:0,background:null}},mounted:function(){var e=this,t=this.$refs,n=t.bar,r=t.thumb,i={drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}};Hl(n,i),Hl(r,i),this.update()}},Vl,[],!1,null,null,null);Gl.options.__file="packages/color-picker/src/components/alpha-slider.vue";var Wl=Gl.exports,Xl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-color-predefine"},[n("div",{staticClass:"el-color-predefine__colors"},e._l(e.rgbaColors,function(t,r){return n("div",{key:e.colors[r],staticClass:"el-color-predefine__color-selector",class:{selected:t.selected,"is-alpha":t._alpha<100},on:{click:function(t){e.handleSelect(r)}}},[n("div",{style:{"background-color":t.value}})])}),0)])};Xl._withStripped=!0;var Zl=i({props:{colors:{type:Array,required:!0},color:{required:!0}},data:function(){return{rgbaColors:this.parseColors(this.colors,this.color)}},methods:{handleSelect:function(e){this.color.fromString(this.colors[e])},parseColors:function(e,t){return e.map(function(e){var n=new Pl;return n.enableAlpha=!0,n.format="rgba",n.fromString(e),n.selected=n.value===t.value,n})}},watch:{"$parent.currentColor":function(e){var t=new Pl;t.fromString(e),this.rgbaColors.forEach(function(e){e.selected=t.compare(e)})},colors:function(e){this.rgbaColors=this.parseColors(e,this.color)},color:function(e){this.rgbaColors=this.parseColors(this.colors,e)}}},Xl,[],!1,null,null,null);Zl.options.__file="packages/color-picker/src/components/predefine.vue";var $l=Zl.exports,Kl=i({name:"el-color-picker-dropdown",mixins:[P.a,p.a],components:{SvPanel:Ul,HueSlider:Yl,AlphaSlider:Wl,ElInput:d.a,ElButton:G.a,Predefine:$l},props:{color:{required:!0},showAlpha:Boolean,predefine:Array},data:function(){return{customInput:""}},computed:{currentColor:function(){var e=this.$parent;return e.value||e.showPanelColor?e.color.value:""}},methods:{confirmValue:function(){this.$emit("pick")},handleConfirm:function(){this.color.fromString(this.customInput)}},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$el},watch:{showPopper:function(e){var t=this;!0===e&&this.$nextTick(function(){var e=t.$refs,n=e.sl,r=e.hue,i=e.alpha;n&&n.update(),r&&r.update(),i&&i.update()})},currentColor:{immediate:!0,handler:function(e){this.customInput=e}}}},Fl,[],!1,null,null,null);Kl.options.__file="packages/color-picker/src/components/picker-dropdown.vue";var Jl=Kl.exports,ql=i({name:"ElColorPicker",mixins:[C.a],props:{value:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:String,popperClass:String,predefine:Array},inject:{elForm:{default:""},elFormItem:{default:""}},directives:{Clickoutside:O.a},computed:{displayedColor:function(){return this.value||this.showPanelColor?this.displayedRgb(this.color,this.showAlpha):"transparent"},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},colorSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},colorDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{value:function(e){e?e&&e!==this.color.value&&this.color.fromString(e):this.showPanelColor=!1},color:{deep:!0,handler:function(){this.showPanelColor=!0}},displayedColor:function(e){if(this.showPicker){var t=new Pl({enableAlpha:this.showAlpha,format:this.colorFormat});t.fromString(this.value),e!==this.displayedRgb(t,this.showAlpha)&&this.$emit("active-change",e)}}},methods:{handleTrigger:function(){this.colorDisabled||(this.showPicker=!this.showPicker)},confirmValue:function(){var e=this.color.value;this.$emit("input",e),this.$emit("change",e),this.dispatch("ElFormItem","el.form.change",e),this.showPicker=!1},clearValue:function(){this.$emit("input",null),this.$emit("change",null),null!==this.value&&this.dispatch("ElFormItem","el.form.change",null),this.showPanelColor=!1,this.showPicker=!1,this.resetColor()},hide:function(){this.showPicker=!1,this.resetColor()},resetColor:function(){var e=this;this.$nextTick(function(t){e.value?e.color.fromString(e.value):e.showPanelColor=!1})},displayedRgb:function(e,t){if(!(e instanceof Pl))throw Error("color should be instance of Color Class");var n=e.toRgb(),r=n.r,i=n.g,o=n.b;return t?"rgba("+r+", "+i+", "+o+", "+e.get("alpha")/100+")":"rgb("+r+", "+i+", "+o+")"}},mounted:function(){var e=this.value;e&&this.color.fromString(e),this.popperElm=this.$refs.dropdown.$el},data:function(){return{color:new Pl({enableAlpha:this.showAlpha,format:this.colorFormat}),showPicker:!1,showPanelColor:!1}},components:{PickerDropdown:Jl}},Bl,[],!1,null,null,null);ql.options.__file="packages/color-picker/src/main.vue";var ec=ql.exports;ec.install=function(e){e.component(ec.name,ec)};var tc=ec,nc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-transfer"},[n("transfer-panel",e._b({ref:"leftPanel",attrs:{data:e.sourceData,title:e.titles[0]||e.t("el.transfer.titles.0"),"default-checked":e.leftDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onSourceCheckedChange}},"transfer-panel",e.$props,!1),[e._t("left-footer")],2),n("div",{staticClass:"el-transfer__buttons"},[n("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.rightChecked.length},nativeOn:{click:function(t){return e.addToLeft(t)}}},[n("i",{staticClass:"el-icon-arrow-left"}),void 0!==e.buttonTexts[0]?n("span",[e._v(e._s(e.buttonTexts[0]))]):e._e()]),n("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.leftChecked.length},nativeOn:{click:function(t){return e.addToRight(t)}}},[void 0!==e.buttonTexts[1]?n("span",[e._v(e._s(e.buttonTexts[1]))]):e._e(),n("i",{staticClass:"el-icon-arrow-right"})])],1),n("transfer-panel",e._b({ref:"rightPanel",attrs:{data:e.targetData,title:e.titles[1]||e.t("el.transfer.titles.1"),"default-checked":e.rightDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onTargetCheckedChange}},"transfer-panel",e.$props,!1),[e._t("right-footer")],2)],1)};nc._withStripped=!0;var rc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-transfer-panel"},[n("p",{staticClass:"el-transfer-panel__header"},[n("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleAllCheckedChange},model:{value:e.allChecked,callback:function(t){e.allChecked=t},expression:"allChecked"}},[e._v("\n "+e._s(e.title)+"\n "),n("span",[e._v(e._s(e.checkedSummary))])])],1),n("div",{class:["el-transfer-panel__body",e.hasFooter?"is-with-footer":""]},[e.filterable?n("el-input",{staticClass:"el-transfer-panel__filter",attrs:{size:"small",placeholder:e.placeholder},nativeOn:{mouseenter:function(t){e.inputHover=!0},mouseleave:function(t){e.inputHover=!1}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}},[n("i",{class:["el-input__icon","el-icon-"+e.inputIcon],attrs:{slot:"prefix"},on:{click:e.clearQuery},slot:"prefix"})]):e._e(),n("el-checkbox-group",{directives:[{name:"show",rawName:"v-show",value:!e.hasNoMatch&&e.data.length>0,expression:"!hasNoMatch && data.length > 0"}],staticClass:"el-transfer-panel__list",class:{"is-filterable":e.filterable},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}},e._l(e.filteredData,function(t){return n("el-checkbox",{key:t[e.keyProp],staticClass:"el-transfer-panel__item",attrs:{label:t[e.keyProp],disabled:t[e.disabledProp]}},[n("option-content",{attrs:{option:t}})],1)}),1),n("p",{directives:[{name:"show",rawName:"v-show",value:e.hasNoMatch,expression:"hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noMatch")))]),n("p",{directives:[{name:"show",rawName:"v-show",value:0===e.data.length&&!e.hasNoMatch,expression:"data.length === 0 && !hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noData")))])],1),e.hasFooter?n("p",{staticClass:"el-transfer-panel__footer"},[e._t("default")],2):e._e()])};rc._withStripped=!0;var ic=i({mixins:[p.a],name:"ElTransferPanel",componentName:"ElTransferPanel",components:{ElCheckboxGroup:Vn.a,ElCheckbox:rn.a,ElInput:d.a,OptionContent:{props:{option:Object},render:function(e){var t=function e(t){return"ElTransferPanel"===t.$options.componentName?t:t.$parent?e(t.$parent):t}(this),n=t.$parent||t;return t.renderContent?t.renderContent(e,this.option):n.$scopedSlots.default?n.$scopedSlots.default({option:this.option}):e("span",[this.option[t.labelProp]||this.option[t.keyProp]])}}},props:{data:{type:Array,default:function(){return[]}},renderContent:Function,placeholder:String,title:String,filterable:Boolean,format:Object,filterMethod:Function,defaultChecked:Array,props:Object},data:function(){return{checked:[],allChecked:!1,query:"",inputHover:!1,checkChangeByUser:!0}},watch:{checked:function(e,t){if(this.updateAllChecked(),this.checkChangeByUser){var n=e.concat(t).filter(function(n){return-1===e.indexOf(n)||-1===t.indexOf(n)});this.$emit("checked-change",e,n)}else this.$emit("checked-change",e),this.checkChangeByUser=!0},data:function(){var e=this,t=[],n=this.filteredData.map(function(t){return t[e.keyProp]});this.checked.forEach(function(e){n.indexOf(e)>-1&&t.push(e)}),this.checkChangeByUser=!1,this.checked=t},checkableData:function(){this.updateAllChecked()},defaultChecked:{immediate:!0,handler:function(e,t){var n=this;if(!t||e.length!==t.length||!e.every(function(e){return t.indexOf(e)>-1})){var r=[],i=this.checkableData.map(function(e){return e[n.keyProp]});e.forEach(function(e){i.indexOf(e)>-1&&r.push(e)}),this.checkChangeByUser=!1,this.checked=r}}}},computed:{filteredData:function(){var e=this;return this.data.filter(function(t){return"function"==typeof e.filterMethod?e.filterMethod(e.query,t):(t[e.labelProp]||t[e.keyProp].toString()).toLowerCase().indexOf(e.query.toLowerCase())>-1})},checkableData:function(){var e=this;return this.filteredData.filter(function(t){return!t[e.disabledProp]})},checkedSummary:function(){var e=this.checked.length,t=this.data.length,n=this.format,r=n.noChecked,i=n.hasChecked;return r&&i?e>0?i.replace(/\${checked}/g,e).replace(/\${total}/g,t):r.replace(/\${total}/g,t):e+"/"+t},isIndeterminate:function(){var e=this.checked.length;return e>0&&e<this.checkableData.length},hasNoMatch:function(){return this.query.length>0&&0===this.filteredData.length},inputIcon:function(){return this.query.length>0&&this.inputHover?"circle-close":"search"},labelProp:function(){return this.props.label||"label"},keyProp:function(){return this.props.key||"key"},disabledProp:function(){return this.props.disabled||"disabled"},hasFooter:function(){return!!this.$slots.default}},methods:{updateAllChecked:function(){var e=this,t=this.checkableData.map(function(t){return t[e.keyProp]});this.allChecked=t.length>0&&t.every(function(t){return e.checked.indexOf(t)>-1})},handleAllCheckedChange:function(e){var t=this;this.checked=e?this.checkableData.map(function(e){return e[t.keyProp]}):[]},clearQuery:function(){"circle-close"===this.inputIcon&&(this.query="")}}},rc,[],!1,null,null,null);ic.options.__file="packages/transfer/src/transfer-panel.vue";var oc=ic.exports,ac=i({name:"ElTransfer",mixins:[C.a,p.a,w.a],components:{TransferPanel:oc,ElButton:G.a},props:{data:{type:Array,default:function(){return[]}},titles:{type:Array,default:function(){return[]}},buttonTexts:{type:Array,default:function(){return[]}},filterPlaceholder:{type:String,default:""},filterMethod:Function,leftDefaultChecked:{type:Array,default:function(){return[]}},rightDefaultChecked:{type:Array,default:function(){return[]}},renderContent:Function,value:{type:Array,default:function(){return[]}},format:{type:Object,default:function(){return{}}},filterable:Boolean,props:{type:Object,default:function(){return{label:"label",key:"key",disabled:"disabled"}}},targetOrder:{type:String,default:"original"}},data:function(){return{leftChecked:[],rightChecked:[]}},computed:{dataObj:function(){var e=this.props.key;return this.data.reduce(function(t,n){return(t[n[e]]=n)&&t},{})},sourceData:function(){var e=this;return this.data.filter(function(t){return-1===e.value.indexOf(t[e.props.key])})},targetData:function(){var e=this;return"original"===this.targetOrder?this.data.filter(function(t){return e.value.indexOf(t[e.props.key])>-1}):this.value.reduce(function(t,n){var r=e.dataObj[n];return r&&t.push(r),t},[])},hasButtonTexts:function(){return 2===this.buttonTexts.length}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}},methods:{getMigratingConfig:function(){return{props:{"footer-format":"footer-format is renamed to format."}}},onSourceCheckedChange:function(e,t){this.leftChecked=e,void 0!==t&&this.$emit("left-check-change",e,t)},onTargetCheckedChange:function(e,t){this.rightChecked=e,void 0!==t&&this.$emit("right-check-change",e,t)},addToLeft:function(){var e=this.value.slice();this.rightChecked.forEach(function(t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}),this.$emit("input",e),this.$emit("change",e,"left",this.rightChecked)},addToRight:function(){var e=this,t=this.value.slice(),n=[],r=this.props.key;this.data.forEach(function(t){var i=t[r];e.leftChecked.indexOf(i)>-1&&-1===e.value.indexOf(i)&&n.push(i)}),t="unshift"===this.targetOrder?n.concat(t):t.concat(n),this.$emit("input",t),this.$emit("change",t,"right",this.leftChecked)},clearQuery:function(e){"left"===e?this.$refs.leftPanel.query="":"right"===e&&(this.$refs.rightPanel.query="")}}},nc,[],!1,null,null,null);ac.options.__file="packages/transfer/src/main.vue";var sc=ac.exports;sc.install=function(e){e.component(sc.name,sc)};var lc=sc,cc=function(){var e=this.$createElement;return(this._self._c||e)("section",{staticClass:"el-container",class:{"is-vertical":this.isVertical}},[this._t("default")],2)};cc._withStripped=!0;var uc=i({name:"ElContainer",componentName:"ElContainer",props:{direction:String},computed:{isVertical:function(){return"vertical"===this.direction||"horizontal"!==this.direction&&(!(!this.$slots||!this.$slots.default)&&this.$slots.default.some(function(e){var t=e.componentOptions&&e.componentOptions.tag;return"el-header"===t||"el-footer"===t}))}}},cc,[],!1,null,null,null);uc.options.__file="packages/container/src/main.vue";var hc=uc.exports;hc.install=function(e){e.component(hc.name,hc)};var dc=hc,fc=function(){var e=this.$createElement;return(this._self._c||e)("header",{staticClass:"el-header",style:{height:this.height}},[this._t("default")],2)};fc._withStripped=!0;var pc=i({name:"ElHeader",componentName:"ElHeader",props:{height:{type:String,default:"60px"}}},fc,[],!1,null,null,null);pc.options.__file="packages/header/src/main.vue";var Ac=pc.exports;Ac.install=function(e){e.component(Ac.name,Ac)};var gc=Ac,vc=function(){var e=this.$createElement;return(this._self._c||e)("aside",{staticClass:"el-aside",style:{width:this.width}},[this._t("default")],2)};vc._withStripped=!0;var mc=i({name:"ElAside",componentName:"ElAside",props:{width:{type:String,default:"300px"}}},vc,[],!1,null,null,null);mc.options.__file="packages/aside/src/main.vue";var yc=mc.exports;yc.install=function(e){e.component(yc.name,yc)};var bc=yc,_c=function(){var e=this.$createElement;return(this._self._c||e)("main",{staticClass:"el-main"},[this._t("default")],2)};_c._withStripped=!0;var wc=i({name:"ElMain",componentName:"ElMain"},_c,[],!1,null,null,null);wc.options.__file="packages/main/src/main.vue";var xc=wc.exports;xc.install=function(e){e.component(xc.name,xc)};var Cc=xc,Sc=function(){var e=this.$createElement;return(this._self._c||e)("footer",{staticClass:"el-footer",style:{height:this.height}},[this._t("default")],2)};Sc._withStripped=!0;var Bc=i({name:"ElFooter",componentName:"ElFooter",props:{height:{type:String,default:"60px"}}},Sc,[],!1,null,null,null);Bc.options.__file="packages/footer/src/main.vue";var kc=Bc.exports;kc.install=function(e){e.component(kc.name,kc)};var Tc=kc,Ec=i({name:"ElTimeline",props:{reverse:{type:Boolean,default:!1}},provide:function(){return{timeline:this}},render:function(){var e=arguments[0],t=this.reverse,n={"el-timeline":!0,"is-reverse":t},r=this.$slots.default||[];return t&&(r=r.reverse()),e("ul",{class:n},[r])}},void 0,void 0,!1,null,null,null);Ec.options.__file="packages/timeline/src/main.vue";var Mc=Ec.exports;Mc.install=function(e){e.component(Mc.name,Mc)};var Dc=Mc,Oc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-timeline-item"},[n("div",{staticClass:"el-timeline-item__tail"}),e.$slots.dot?e._e():n("div",{staticClass:"el-timeline-item__node",class:["el-timeline-item__node--"+(e.size||""),"el-timeline-item__node--"+(e.type||"")],style:{backgroundColor:e.color}},[e.icon?n("i",{staticClass:"el-timeline-item__icon",class:e.icon}):e._e()]),e.$slots.dot?n("div",{staticClass:"el-timeline-item__dot"},[e._t("dot")],2):e._e(),n("div",{staticClass:"el-timeline-item__wrapper"},[e.hideTimestamp||"top"!==e.placement?e._e():n("div",{staticClass:"el-timeline-item__timestamp is-top"},[e._v("\n "+e._s(e.timestamp)+"\n ")]),n("div",{staticClass:"el-timeline-item__content"},[e._t("default")],2),e.hideTimestamp||"bottom"!==e.placement?e._e():n("div",{staticClass:"el-timeline-item__timestamp is-bottom"},[e._v("\n "+e._s(e.timestamp)+"\n ")])])])};Oc._withStripped=!0;var Ic=i({name:"ElTimelineItem",inject:["timeline"],props:{timestamp:String,hideTimestamp:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},type:String,color:String,size:{type:String,default:"normal"},icon:String}},Oc,[],!1,null,null,null);Ic.options.__file="packages/timeline/src/item.vue";var Lc=Ic.exports;Lc.install=function(e){e.component(Lc.name,Lc)};var Pc=Lc,Fc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",e._b({class:["el-link",e.type?"el-link--"+e.type:"",e.disabled&&"is-disabled",e.underline&&!e.disabled&&"is-underline"],attrs:{href:e.disabled?null:e.href},on:{click:e.handleClick}},"a",e.$attrs,!1),[e.icon?n("i",{class:e.icon}):e._e(),e.$slots.default?n("span",{staticClass:"el-link--inner"},[e._t("default")],2):e._e(),e.$slots.icon?[e.$slots.icon?e._t("icon"):e._e()]:e._e()],2)};Fc._withStripped=!0;var Rc=i({name:"ElLink",props:{type:{type:String,default:"default"},underline:{type:Boolean,default:!0},disabled:Boolean,href:String,icon:String},methods:{handleClick:function(e){this.disabled||this.href||this.$emit("click",e)}}},Fc,[],!1,null,null,null);Rc.options.__file="packages/link/src/main.vue";var Nc=Rc.exports;Nc.install=function(e){e.component(Nc.name,Nc)};var Hc=Nc,jc=function(e,t){var n=t._c;return n("div",t._g(t._b({class:[t.data.staticClass,"el-divider","el-divider--"+t.props.direction]},"div",t.data.attrs,!1),t.listeners),[t.slots().default&&"vertical"!==t.props.direction?n("div",{class:["el-divider__text","is-"+t.props.contentPosition]},[t._t("default")],2):t._e()])};jc._withStripped=!0;var Uc=i({name:"ElDivider",props:{direction:{type:String,default:"horizontal",validator:function(e){return-1!==["horizontal","vertical"].indexOf(e)}},contentPosition:{type:String,default:"center",validator:function(e){return-1!==["left","center","right"].indexOf(e)}}}},jc,[],!0,null,null,null);Uc.options.__file="packages/divider/src/main.vue";var Qc=Uc.exports;Qc.install=function(e){e.component(Qc.name,Qc)};var zc=Qc,Yc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-image"},[e.loading?e._t("placeholder",[n("div",{staticClass:"el-image__placeholder"})]):e.error?e._t("error",[n("div",{staticClass:"el-image__error"},[e._v(e._s(e.t("el.image.error")))])]):n("img",e._g(e._b({staticClass:"el-image__inner",class:{"el-image__inner--center":e.alignCenter,"el-image__preview":e.preview},style:e.imageStyle,attrs:{src:e.src},on:{click:e.clickHandler}},"img",e.$attrs,!1),e.$listeners)),e.preview?[e.showViewer?n("image-viewer",{attrs:{"z-index":e.zIndex,"initial-index":e.imageIndex,"on-close":e.closeViewer,"url-list":e.previewSrcList}}):e._e()]:e._e()],2)};Yc._withStripped=!0;var Vc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"viewer-fade"}},[n("div",{ref:"el-image-viewer__wrapper",staticClass:"el-image-viewer__wrapper",style:{"z-index":e.zIndex},attrs:{tabindex:"-1"}},[n("div",{staticClass:"el-image-viewer__mask",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleMaskClick(t)}}}),n("span",{staticClass:"el-image-viewer__btn el-image-viewer__close",on:{click:e.hide}},[n("i",{staticClass:"el-icon-close"})]),e.isSingle?e._e():[n("span",{staticClass:"el-image-viewer__btn el-image-viewer__prev",class:{"is-disabled":!e.infinite&&e.isFirst},on:{click:e.prev}},[n("i",{staticClass:"el-icon-arrow-left"})]),n("span",{staticClass:"el-image-viewer__btn el-image-viewer__next",class:{"is-disabled":!e.infinite&&e.isLast},on:{click:e.next}},[n("i",{staticClass:"el-icon-arrow-right"})])],n("div",{staticClass:"el-image-viewer__btn el-image-viewer__actions"},[n("div",{staticClass:"el-image-viewer__actions__inner"},[n("i",{staticClass:"el-icon-zoom-out",on:{click:function(t){e.handleActions("zoomOut")}}}),n("i",{staticClass:"el-icon-zoom-in",on:{click:function(t){e.handleActions("zoomIn")}}}),n("i",{staticClass:"el-image-viewer__actions__divider"}),n("i",{class:e.mode.icon,on:{click:e.toggleMode}}),n("i",{staticClass:"el-image-viewer__actions__divider"}),n("i",{staticClass:"el-icon-refresh-left",on:{click:function(t){e.handleActions("anticlocelise")}}}),n("i",{staticClass:"el-icon-refresh-right",on:{click:function(t){e.handleActions("clocelise")}}})])]),n("div",{staticClass:"el-image-viewer__canvas"},e._l(e.urlList,function(t,r){return r===e.index?n("img",{key:t,ref:"img",refInFor:!0,staticClass:"el-image-viewer__img",style:e.imgStyle,attrs:{src:e.currentImg},on:{load:e.handleImgLoad,error:e.handleImgError,mousedown:e.handleMouseDown}}):e._e()}),0)],2)])};Vc._withStripped=!0;var Gc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wc={CONTAIN:{name:"contain",icon:"el-icon-full-screen"},ORIGINAL:{name:"original",icon:"el-icon-c-scale-to-original"}},Xc=Object(A.isFirefox)()?"DOMMouseScroll":"mousewheel",Zc=i({name:"elImageViewer",props:{urlList:{type:Array,default:function(){return[]}},zIndex:{type:Number,default:2e3},onSwitch:{type:Function,default:function(){}},onClose:{type:Function,default:function(){}},initialIndex:{type:Number,default:0},appendToBody:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0}},data:function(){return{index:this.initialIndex,isShow:!1,infinite:!0,loading:!1,mode:Wc.CONTAIN,transform:{scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}},computed:{isSingle:function(){return this.urlList.length<=1},isFirst:function(){return 0===this.index},isLast:function(){return this.index===this.urlList.length-1},currentImg:function(){return this.urlList[this.index]},imgStyle:function(){var e=this.transform,t=e.scale,n=e.deg,r=e.offsetX,i=e.offsetY,o={transform:"scale("+t+") rotate("+n+"deg)",transition:e.enableTransition?"transform .3s":"","margin-left":r+"px","margin-top":i+"px"};return this.mode===Wc.CONTAIN&&(o.maxWidth=o.maxHeight="100%"),o}},watch:{index:{handler:function(e){this.reset(),this.onSwitch(e)}},currentImg:function(e){var t=this;this.$nextTick(function(e){t.$refs.img[0].complete||(t.loading=!0)})}},methods:{hide:function(){this.deviceSupportUninstall(),this.onClose()},deviceSupportInstall:function(){var e=this;this._keyDownHandler=Object(A.rafThrottle)(function(t){switch(t.keyCode){case 27:e.hide();break;case 32:e.toggleMode();break;case 37:e.prev();break;case 38:e.handleActions("zoomIn");break;case 39:e.next();break;case 40:e.handleActions("zoomOut")}}),this._mouseWheelHandler=Object(A.rafThrottle)(function(t){(t.wheelDelta?t.wheelDelta:-t.detail)>0?e.handleActions("zoomIn",{zoomRate:.015,enableTransition:!1}):e.handleActions("zoomOut",{zoomRate:.015,enableTransition:!1})}),Object(pe.on)(document,"keydown",this._keyDownHandler),Object(pe.on)(document,Xc,this._mouseWheelHandler)},deviceSupportUninstall:function(){Object(pe.off)(document,"keydown",this._keyDownHandler),Object(pe.off)(document,Xc,this._mouseWheelHandler),this._keyDownHandler=null,this._mouseWheelHandler=null},handleImgLoad:function(e){this.loading=!1},handleImgError:function(e){this.loading=!1,e.target.alt="加载失败"},handleMouseDown:function(e){var t=this;if(!this.loading&&0===e.button){var n=this.transform,r=n.offsetX,i=n.offsetY,o=e.pageX,a=e.pageY;this._dragHandler=Object(A.rafThrottle)(function(e){t.transform.offsetX=r+e.pageX-o,t.transform.offsetY=i+e.pageY-a}),Object(pe.on)(document,"mousemove",this._dragHandler),Object(pe.on)(document,"mouseup",function(e){Object(pe.off)(document,"mousemove",t._dragHandler)}),e.preventDefault()}},handleMaskClick:function(){this.maskClosable&&this.hide()},reset:function(){this.transform={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}},toggleMode:function(){if(!this.loading){var e=Object.keys(Wc),t=(Object.values(Wc).indexOf(this.mode)+1)%e.length;this.mode=Wc[e[t]],this.reset()}},prev:function(){if(!this.isFirst||this.infinite){var e=this.urlList.length;this.index=(this.index-1+e)%e}},next:function(){if(!this.isLast||this.infinite){var e=this.urlList.length;this.index=(this.index+1)%e}},handleActions:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.loading){var n=Gc({zoomRate:.2,rotateDeg:90,enableTransition:!0},t),r=n.zoomRate,i=n.rotateDeg,o=n.enableTransition,a=this.transform;switch(e){case"zoomOut":a.scale>.2&&(a.scale=parseFloat((a.scale-r).toFixed(3)));break;case"zoomIn":a.scale=parseFloat((a.scale+r).toFixed(3));break;case"clocelise":a.deg+=i;break;case"anticlocelise":a.deg-=i}a.enableTransition=o}}},mounted:function(){this.deviceSupportInstall(),this.appendToBody&&document.body.appendChild(this.$el),this.$refs["el-image-viewer__wrapper"].focus()},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},Vc,[],!1,null,null,null);Zc.options.__file="packages/image/src/image-viewer.vue";var $c=Zc.exports,Kc=function(){return void 0!==document.documentElement.style.objectFit},Jc="none",qc="contain",eu="cover",tu="fill",nu="scale-down",ru="",iu=i({name:"ElImage",mixins:[p.a],inheritAttrs:!1,components:{ImageViewer:$c},props:{src:String,fit:String,lazy:Boolean,scrollContainer:{},previewSrcList:{type:Array,default:function(){return[]}},zIndex:{type:Number,default:2e3}},data:function(){return{loading:!0,error:!1,show:!this.lazy,imageWidth:0,imageHeight:0,showViewer:!1}},computed:{imageStyle:function(){var e=this.fit;return!this.$isServer&&e?Kc()?{"object-fit":e}:this.getImageStyle(e):{}},alignCenter:function(){return!this.$isServer&&!Kc()&&this.fit!==tu},preview:function(){var e=this.previewSrcList;return Array.isArray(e)&&e.length>0},imageIndex:function(){var e=0,t=this.previewSrcList.indexOf(this.src);return t>=0&&(e=t),e}},watch:{src:function(e){this.show&&this.loadImage()},show:function(e){e&&this.loadImage()}},mounted:function(){this.lazy?this.addLazyLoadListener():this.loadImage()},beforeDestroy:function(){this.lazy&&this.removeLazyLoadListener()},methods:{loadImage:function(){var e=this;if(!this.$isServer){this.loading=!0,this.error=!1;var t=new Image;t.onload=function(n){return e.handleLoad(n,t)},t.onerror=this.handleError.bind(this),Object.keys(this.$attrs).forEach(function(n){var r=e.$attrs[n];t.setAttribute(n,r)}),t.src=this.src}},handleLoad:function(e,t){this.imageWidth=t.width,this.imageHeight=t.height,this.loading=!1,this.error=!1},handleError:function(e){this.loading=!1,this.error=!0,this.$emit("error",e)},handleLazyLoad:function(){Object(pe.isInContainer)(this.$el,this._scrollContainer)&&(this.show=!0,this.removeLazyLoadListener())},addLazyLoadListener:function(){if(!this.$isServer){var e=this.scrollContainer,t=null;(t=Object(Ls.isHtmlElement)(e)?e:Object(Ls.isString)(e)?document.querySelector(e):Object(pe.getScrollContainer)(this.$el))&&(this._scrollContainer=t,this._lazyLoadHandler=Xs()(200,this.handleLazyLoad),Object(pe.on)(t,"scroll",this._lazyLoadHandler),this.handleLazyLoad())}},removeLazyLoadListener:function(){var e=this._scrollContainer,t=this._lazyLoadHandler;!this.$isServer&&e&&t&&(Object(pe.off)(e,"scroll",t),this._scrollContainer=null,this._lazyLoadHandler=null)},getImageStyle:function(e){var t=this.imageWidth,n=this.imageHeight,r=this.$el,i=r.clientWidth,o=r.clientHeight;if(!(t&&n&&i&&o))return{};var a=t/n,s=i/o;e===nu&&(e=t<i&&n<o?Jc:qc);switch(e){case Jc:return{width:"auto",height:"auto"};case qc:return a<s?{width:"auto"}:{height:"auto"};case eu:return a<s?{height:"auto"}:{width:"auto"};default:return{}}},clickHandler:function(){this.preview&&(ru=document.body.style.overflow,document.body.style.overflow="hidden",this.showViewer=!0)},closeViewer:function(){document.body.style.overflow=ru,this.showViewer=!1}}},Yc,[],!1,null,null,null);iu.options.__file="packages/image/src/main.vue";var ou=iu.exports;ou.install=function(e){e.component(ou.name,ou)};var au=ou,su=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-calendar"},[n("div",{staticClass:"el-calendar__header"},[n("div",{staticClass:"el-calendar__title"},[e._v("\n "+e._s(e.i18nDate)+"\n ")]),0===e.validatedRange.length?n("div",{staticClass:"el-calendar__button-group"},[n("el-button-group",[n("el-button",{attrs:{type:"plain",size:"mini"},on:{click:function(t){e.selectDate("prev-month")}}},[e._v("\n "+e._s(e.t("el.datepicker.prevMonth"))+"\n ")]),n("el-button",{attrs:{type:"plain",size:"mini"},on:{click:function(t){e.selectDate("today")}}},[e._v("\n "+e._s(e.t("el.datepicker.today"))+"\n ")]),n("el-button",{attrs:{type:"plain",size:"mini"},on:{click:function(t){e.selectDate("next-month")}}},[e._v("\n "+e._s(e.t("el.datepicker.nextMonth"))+"\n ")])],1)],1):e._e()]),0===e.validatedRange.length?n("div",{key:"no-range",staticClass:"el-calendar__body"},[n("date-table",{attrs:{date:e.date,"selected-day":e.realSelectedDay,"first-day-of-week":e.realFirstDayOfWeek},on:{pick:e.pickDay}})],1):n("div",{key:"has-range",staticClass:"el-calendar__body"},e._l(e.validatedRange,function(t,r){return n("date-table",{key:r,attrs:{date:t[0],"selected-day":e.realSelectedDay,range:t,"hide-header":0!==r,"first-day-of-week":e.realFirstDayOfWeek},on:{pick:e.pickDay}})}),1)])};su._withStripped=!0;var lu=n(20),cu=n.n(lu),uu=i({props:{selectedDay:String,range:{type:Array,validator:function(e){if(!e||!e.length)return!0;var t=e[0],n=e[1];return Object(dr.validateRangeInOneMonth)(t,n)}},date:Date,hideHeader:Boolean,firstDayOfWeek:Number},inject:["elCalendar"],methods:{toNestedArr:function(e){return Object(dr.range)(e.length/7).map(function(t,n){var r=7*n;return e.slice(r,r+7)})},getFormateDate:function(e,t){if(!e||-1===["prev","current","next"].indexOf(t))throw new Error("invalid day or type");var n=this.curMonthDatePrefix;return"prev"===t?n=this.prevMonthDatePrefix:"next"===t&&(n=this.nextMonthDatePrefix),n+"-"+(e=("00"+e).slice(-2))},getCellClass:function(e){var t=e.text,n=e.type,r=[n];if("current"===n){var i=this.getFormateDate(t,n);i===this.selectedDay&&r.push("is-selected"),i===this.formatedToday&&r.push("is-today")}return r},pickDay:function(e){var t=e.text,n=e.type,r=this.getFormateDate(t,n);this.$emit("pick",r)},cellRenderProxy:function(e){var t=e.text,n=e.type,r=this.$createElement,i=this.elCalendar.$scopedSlots.dateCell;if(!i)return r("span",[t]);var o=this.getFormateDate(t,n);return i({date:new Date(o),data:{isSelected:this.selectedDay===o,type:n+"-month",day:o}})}},computed:{WEEK_DAYS:function(){return Object(dr.getI18nSettings)().dayNames},prevMonthDatePrefix:function(){var e=new Date(this.date.getTime());return e.setDate(0),cu.a.format(e,"yyyy-MM")},curMonthDatePrefix:function(){return cu.a.format(this.date,"yyyy-MM")},nextMonthDatePrefix:function(){var e=new Date(this.date.getFullYear(),this.date.getMonth()+1,1);return cu.a.format(e,"yyyy-MM")},formatedToday:function(){return this.elCalendar.formatedToday},isInRange:function(){return this.range&&this.range.length},rows:function(){var e=[];if(this.isInRange){var t=this.range,n=t[0],r=t[1],i=Object(dr.range)(r.getDate()-n.getDate()+1).map(function(e,t){return{text:n.getDate()+t,type:"current"}}),o=i.length%7;o=0===o?0:7-o;var a=Object(dr.range)(o).map(function(e,t){return{text:t+1,type:"next"}});e=i.concat(a)}else{var s=this.date,l=Object(dr.getFirstDayOfMonth)(s);l=0===l?7:l;var c="number"==typeof this.firstDayOfWeek?this.firstDayOfWeek:1,u=Object(dr.getPrevMonthLastDays)(s,l-c).map(function(e){return{text:e,type:"prev"}}),h=Object(dr.getMonthDays)(s).map(function(e){return{text:e,type:"current"}});e=[].concat(u,h);var d=Object(dr.range)(42-e.length).map(function(e,t){return{text:t+1,type:"next"}});e=e.concat(d)}return this.toNestedArr(e)},weekDays:function(){var e=this.firstDayOfWeek,t=this.WEEK_DAYS;return"number"!=typeof e||0===e?t.slice():t.slice(e).concat(t.slice(0,e))}},render:function(){var e=this,t=arguments[0],n=this.hideHeader?null:t("thead",[this.weekDays.map(function(e){return t("th",{key:e},[e])})]);return t("table",{class:{"el-calendar-table":!0,"is-range":this.isInRange},attrs:{cellspacing:"0",cellpadding:"0"}},[n,t("tbody",[this.rows.map(function(n,r){return t("tr",{class:{"el-calendar-table__row":!0,"el-calendar-table__row--hide-border":0===r&&e.hideHeader},key:r},[n.map(function(n,r){return t("td",{key:r,class:e.getCellClass(n),on:{click:e.pickDay.bind(e,n)}},[t("div",{class:"el-calendar-day"},[e.cellRenderProxy(n)])])})])})])])}},void 0,void 0,!1,null,null,null);uu.options.__file="packages/calendar/src/date-table.vue";var hu=uu.exports,du=["prev-month","today","next-month"],fu=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],pu=i({name:"ElCalendar",mixins:[p.a],components:{DateTable:hu,ElButton:G.a,ElButtonGroup:X.a},props:{value:[Date,String,Number],range:{type:Array,validator:function(e){return!Array.isArray(e)||2===e.length&&e.every(function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date})}},firstDayOfWeek:{type:Number,default:1}},provide:function(){return{elCalendar:this}},methods:{pickDay:function(e){this.realSelectedDay=e},selectDate:function(e){if(-1===du.indexOf(e))throw new Error("invalid type "+e);var t="";(t="prev-month"===e?this.prevMonthDatePrefix+"-01":"next-month"===e?this.nextMonthDatePrefix+"-01":this.formatedToday)!==this.formatedDate&&this.pickDay(t)},toDate:function(e){if(!e)throw new Error("invalid val");return e instanceof Date?e:new Date(e)},rangeValidator:function(e,t){var n=this.realFirstDayOfWeek,r=t?n:0===n?6:n-1,i=(t?"start":"end")+" of range should be "+fu[r]+".";return e.getDay()===r||(console.warn("[ElementCalendar]",i,"Invalid range will be ignored."),!1)}},computed:{prevMonthDatePrefix:function(){var e=new Date(this.date.getTime());return e.setDate(0),cu.a.format(e,"yyyy-MM")},curMonthDatePrefix:function(){return cu.a.format(this.date,"yyyy-MM")},nextMonthDatePrefix:function(){var e=new Date(this.date.getFullYear(),this.date.getMonth()+1,1);return cu.a.format(e,"yyyy-MM")},formatedDate:function(){return cu.a.format(this.date,"yyyy-MM-dd")},i18nDate:function(){var e=this.date.getFullYear(),t=this.date.getMonth()+1;return e+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+t)},formatedToday:function(){return cu.a.format(this.now,"yyyy-MM-dd")},realSelectedDay:{get:function(){return this.value?this.formatedDate:this.selectedDay},set:function(e){this.selectedDay=e;var t=new Date(e);this.$emit("input",t)}},date:function(){if(this.value)return this.toDate(this.value);if(this.realSelectedDay){var e=this.selectedDay.split("-");return new Date(e[0],e[1]-1,e[2])}return this.validatedRange.length?this.validatedRange[0][0]:this.now},validatedRange:function(){var e=this,t=this.range;if(!t)return[];if(2===(t=t.reduce(function(t,n,r){var i=e.toDate(n);return e.rangeValidator(i,0===r)&&(t=t.concat(i)),t},[])).length){var n=t,r=n[0],i=n[1];if(r>i)return console.warn("[ElementCalendar]end time should be greater than start time"),[];if(Object(dr.validateRangeInOneMonth)(r,i))return[[r,i]];var o=[],a=new Date(r.getFullYear(),r.getMonth()+1,1),s=this.toDate(a.getTime()-864e5);if(!Object(dr.validateRangeInOneMonth)(a,i))return console.warn("[ElementCalendar]start time and end time interval must not exceed two months"),[];o.push([r,s]);var l=this.realFirstDayOfWeek,c=a.getDay(),u=0;return c!==l&&(u=0===l?7-c:(u=l-c)>0?u:7+u),(a=this.toDate(a.getTime()+864e5*u)).getDate()<i.getDate()&&o.push([a,i]),o}return[]},realFirstDayOfWeek:function(){return this.firstDayOfWeek<1||this.firstDayOfWeek>6?0:Math.floor(this.firstDayOfWeek)}},data:function(){return{selectedDay:"",now:new Date}}},su,[],!1,null,null,null);pu.options.__file="packages/calendar/src/main.vue";var Au=pu.exports;Au.install=function(e){e.component(Au.name,Au)};var gu=Au,vu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-fade-in"}},[e.visible?n("div",{staticClass:"el-backtop",style:{right:e.styleRight,bottom:e.styleBottom},on:{click:function(t){return t.stopPropagation(),e.handleClick(t)}}},[e._t("default",[n("el-icon",{attrs:{name:"caret-top"}})])],2):e._e()])};vu._withStripped=!0;var mu=function(e){return Math.pow(e,3)},yu=i({name:"ElBacktop",props:{visibilityHeight:{type:Number,default:200},target:[String],right:{type:Number,default:40},bottom:{type:Number,default:40}},data:function(){return{el:null,container:null,visible:!1}},computed:{styleBottom:function(){return this.bottom+"px"},styleRight:function(){return this.right+"px"}},mounted:function(){this.init(),this.throttledScrollHandler=Xs()(300,this.onScroll),this.container.addEventListener("scroll",this.throttledScrollHandler)},methods:{init:function(){if(this.container=document,this.el=document.documentElement,this.target){if(this.el=document.querySelector(this.target),!this.el)throw new Error("target is not existed: "+this.target);this.container=this.el}},onScroll:function(){var e=this.el.scrollTop;this.visible=e>=this.visibilityHeight},handleClick:function(e){this.scrollToTop(),this.$emit("click",e)},scrollToTop:function(){var e=this.el,t=Date.now(),n=e.scrollTop,r=window.requestAnimationFrame||function(e){return setTimeout(e,16)};r(function i(){var o,a=(Date.now()-t)/500;a<1?(e.scrollTop=n*(1-((o=a)<.5?mu(2*o)/2:1-mu(2*(1-o))/2)),r(i)):e.scrollTop=0})}},beforeDestroy:function(){this.container.removeEventListener("scroll",this.throttledScrollHandler)}},vu,[],!1,null,null,null);yu.options.__file="packages/backtop/src/main.vue";var bu=yu.exports;bu.install=function(e){e.component(bu.name,bu)};var _u=bu,wu=function(e,t){return e===window||e===document?document.documentElement[t]:e[t]},xu=function(e){return wu(e,"offsetHeight")},Cu="ElInfiniteScroll",Su={delay:{type:Number,default:200},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},Bu=function(e,t){return Object(Ls.isHtmlElement)(e)?(n=Su,Object.keys(n||{}).map(function(e){return[e,n[e]]})).reduce(function(n,r){var i=r[0],o=r[1],a=o.type,s=o.default,l=e.getAttribute("infinite-scroll-"+i);switch(l=Object(Ls.isUndefined)(t[l])?l:t[l],a){case Number:l=Number(l),l=Number.isNaN(l)?s:l;break;case Boolean:l=Object(Ls.isDefined)(l)?"false"!==l&&Boolean(l):s;break;default:l=a(l)}return n[i]=l,n},{}):{};var n},ku=function(e){return e.getBoundingClientRect().top},Tu=function(e){var t=this[Cu],n=t.el,r=t.vm,i=t.container,o=t.observer,a=Bu(n,r),s=a.distance;if(!a.disabled){var l=i.getBoundingClientRect();if(l.width||l.height){var c=!1;if(i===n){var u=i.scrollTop+function(e){return wu(e,"clientHeight")}(i);c=i.scrollHeight-u<=s}else{c=xu(n)+ku(n)-ku(i)-xu(i)+Number.parseFloat(function(e,t){if(e===window&&(e=document.documentElement),1!==e.nodeType)return[];var n=window.getComputedStyle(e,null);return t?n[t]:n}(i,"borderBottomWidth"))<=s}c&&Object(Ls.isFunction)(e)?e.call(r):o&&(o.disconnect(),this[Cu].observer=null)}}},Eu={name:"InfiniteScroll",inserted:function(e,t,n){var r=t.value,i=n.context,o=Object(pe.getScrollContainer)(e,!0),a=Bu(e,i),s=a.delay,l=a.immediate,c=M()(s,Tu.bind(e,r));(e[Cu]={el:e,vm:i,container:o,onScroll:c},o)&&(o.addEventListener("scroll",c),l&&((e[Cu].observer=new MutationObserver(c)).observe(o,{childList:!0,subtree:!0}),c()))},unbind:function(e){var t=e[Cu],n=t.container,r=t.onScroll;n&&n.removeEventListener("scroll",r)},install:function(e){e.directive(Eu.name,Eu)}},Mu=Eu,Du=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-page-header"},[n("div",{staticClass:"el-page-header__left",on:{click:function(t){e.$emit("back")}}},[n("i",{staticClass:"el-icon-back"}),n("div",{staticClass:"el-page-header__title"},[e._t("title",[e._v(e._s(e.title))])],2)]),n("div",{staticClass:"el-page-header__content"},[e._t("content",[e._v(e._s(e.content))])],2)])};Du._withStripped=!0;var Ou=i({name:"ElPageHeader",props:{title:{type:String,default:function(){return Object(Li.t)("el.pageHeader.title")}},content:String}},Du,[],!1,null,null,null);Ou.options.__file="packages/page-header/src/main.vue";var Iu=Ou.exports;Iu.install=function(e){e.component(Iu.name,Iu)};var Lu=Iu,Pu=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{class:["el-cascader-panel",this.border&&"is-bordered"],on:{keydown:this.handleKeyDown}},this._l(this.menus,function(e,n){return t("cascader-menu",{key:n,ref:"menu",refInFor:!0,attrs:{index:n,nodes:e}})}),1)};Pu._withStripped=!0;var Fu=n(43),Ru=n.n(Fu),Nu=function(e){return e.stopPropagation()},Hu=i({inject:["panel"],components:{ElCheckbox:rn.a,ElRadio:Ru.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some(function(t){return e.isInPath(t)})},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,r=this.isDisabled,i=this.config,o=i.multiple;!i.checkStrictly&&r||n.loading||(i.lazy&&!n.loaded?t.lazyLoad(n,function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var r=!!t&&n.checked;e.handleMultiCheckChange(r)}}):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node;return(e[t.level-1]||{}).uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,r=this.config,i=r.checkStrictly;return r.multiple?this.renderCheckbox(e):i?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,r=this.isDisabled,i={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(i.nativeOn.click=Nu),e("el-checkbox",Ja()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:r}},i]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,r=this.isDisabled;return Object(A.isEqual)(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:r},on:{change:this.handleCheckChange},nativeOn:{click:Nu}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,r=t.renderLabelFn;return e("span",{class:"el-cascader-node__label"},[(r?r({node:n,data:n.data}):null)||n.label])}},render:function(e){var t=this,n=this.inActivePath,r=this.inCheckedPath,i=this.isChecked,o=this.isLeaf,a=this.isDisabled,s=this.config,l=this.nodeId,c=s.expandTrigger,u=s.checkStrictly,h=s.multiple,d=!u&&a,f={on:{}};return"click"===c?f.on.click=this.handleExpand:(f.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},f.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||a||u||h||(f.on.click=this.handleCheckChange),e("li",Ja()([{attrs:{role:"menuitem",id:l,"aria-expanded":n,tabindex:d?null:-1},class:{"el-cascader-node":!0,"is-selectable":u,"in-active-path":n,"in-checked-path":r,"is-active":i,"is-disabled":d}},f]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},void 0,void 0,!1,null,null,null);Hu.options.__file="packages/cascader-panel/src/cascader-node.vue";var ju=Hu.exports,Uu=i({name:"ElCascaderMenu",mixins:[p.a],inject:["panel"],components:{ElScrollbar:R.a,CascaderNode:ju},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(A.generateId)()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,r=this.$refs.hoverZone;if(t&&r)if(t.contains(e.target)){clearTimeout(n);var i=this.$el.getBoundingClientRect().left,o=e.clientX-i,a=this.$el,s=a.offsetWidth,l=a.offsetHeight,c=t.offsetTop,u=c+t.offsetHeight;r.innerHTML='\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+c+" L"+s+" 0 V"+c+' Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+u+" L"+s+" "+l+" V"+u+' Z" />\n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,r={on:{}};n&&(r.on.expand=this.handleExpand);var i=this.nodes.map(function(n,i){var o=n.hasChildren;return e("cascader-node",Ja()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+i,"aria-haspopup":o,"aria-owns":o?t:null}},r]))});return[].concat(i,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,r={nativeOn:{}};return this.panel.isHoverMenu&&(r.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",Ja()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},r]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},void 0,void 0,!1,null,null,null);Uu.options.__file="packages/cascader-panel/src/cascader-menu.vue";var Qu=Uu.exports,zu=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var Yu=0,Vu=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.config=n,this.parent=r||null,this.level=this.parent?this.parent.level+1:1,this.uid=Yu++,this.initState(),this.initChildren()}return e.prototype.initState=function(){var e=this.config,t=e.value,n=e.label;this.value=this.data[t],this.label=this.data[n],this.pathNodes=this.calculatePathNodes(),this.path=this.pathNodes.map(function(e){return e.value}),this.pathLabels=this.pathNodes.map(function(e){return e.label}),this.loading=!1,this.loaded=!1},e.prototype.initChildren=function(){var t=this,n=this.config,r=n.children,i=this.data[r];this.hasChildren=Array.isArray(i),this.children=(i||[]).map(function(r){return new e(r,n,t)})},e.prototype.calculatePathNodes=function(){for(var e=[this],t=this.parent;t;)e.unshift(t),t=t.parent;return e},e.prototype.getPath=function(){return this.path},e.prototype.getValue=function(){return this.value},e.prototype.getValueByOption=function(){return this.config.emitPath?this.getPath():this.getValue()},e.prototype.getText=function(e,t){return e?this.pathLabels.join(t):this.label},e.prototype.isSameNode=function(e){var t=this.getValueByOption();return this.config.multiple&&Array.isArray(e)?e.some(function(e){return Object(A.isEqual)(e,t)}):Object(A.isEqual)(e,t)},e.prototype.broadcast=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i="onParent"+Object(A.capitalize)(e);this.children.forEach(function(t){t&&(t.broadcast.apply(t,[e].concat(n)),t[i]&&t[i].apply(t,n))})},e.prototype.emit=function(e){var t=this.parent,n="onChild"+Object(A.capitalize)(e);if(t){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];t[n]&&t[n].apply(t,i),t.emit.apply(t,[e].concat(i))}},e.prototype.onParentCheck=function(e){this.isDisabled||this.setCheckState(e)},e.prototype.onChildCheck=function(){var e=this.children.filter(function(e){return!e.isDisabled}),t=!!e.length&&e.every(function(e){return e.checked});this.setCheckState(t)},e.prototype.setCheckState=function(e){var t=this.children.length,n=this.children.reduce(function(e,t){return e+(t.checked?1:t.indeterminate?.5:0)},0);this.checked=e,this.indeterminate=n!==t&&n>0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},zu(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,r=n.disabled,i=n.checkStrictly;return e[r]||!i&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,r=this.children,i=this.config,o=i.lazy,a=i.leaf;if(o){var s=Object(Qe.isDef)(e[a])?e[a]:!!t&&!r.length;return this.hasChildren=!s,s}return!n}}]),e}();var Gu=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(A.coerceTruthyValueToArray)(e),this.nodes=e.map(function(e){return new Vu(e,t.config)}),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new Vu(e,this.config,t);(t?t.children:this.nodes).push(n)},e.prototype.appendNodes=function(e,t){var n=this;(e=Object(A.coerceTruthyValueToArray)(e)).forEach(function(e){return n.appendNode(e,t)})},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:function e(t,n){return t.reduce(function(t,r){return r.isLeaf?t.push(r):(!n&&t.push(r),t=t.concat(e(r.children,n))),t},[])}(this.nodes,e)},e.prototype.getNodeByValue=function(e){if(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter(function(t){return Object(A.valueEquals)(t.path,e)||t.value===e});return t&&t.length?t[0]:null}return null},e}(),Wu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xu=ml.a.keys,Zu={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:A.noop,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},$u=function(e){return!e.getAttribute("aria-owns")},Ku=function(e,t){var n=e.parentNode;if(n){var r=n.querySelectorAll('.el-cascader-node[tabindex="-1"]');return r[Array.prototype.indexOf.call(r,e)+t]||null}return null},Ju=function(e,t){if(e){var n=e.id.split("-");return Number(n[n.length-2])}},qu=function(e){e&&(e.focus(),!$u(e)&&e.click())},eh=i({name:"ElCascaderPanel",components:{CascaderMenu:Qu},props:{value:{},options:Array,props:Object,border:{type:Boolean,default:!0},renderLabel:Function},provide:function(){return{panel:this}},data:function(){return{checkedValue:null,checkedNodePaths:[],store:[],menus:[],activePath:[],loadCount:0}},computed:{config:function(){return Ue()(Wu({},Zu),this.props||{})},multiple:function(){return this.config.multiple},checkStrictly:function(){return this.config.checkStrictly},leafOnly:function(){return!this.checkStrictly},isHoverMenu:function(){return"hover"===this.config.expandTrigger},renderLabelFn:function(){return this.renderLabel||this.$scopedSlots.default}},watch:{options:{handler:function(){this.initStore()},immediate:!0,deep:!0},value:function(){this.syncCheckedValue(),this.checkStrictly&&this.calculateCheckedNodePaths()},checkedValue:function(e){Object(A.isEqual)(e,this.value)||(this.checkStrictly&&this.calculateCheckedNodePaths(),this.$emit("input",e),this.$emit("change",e))}},mounted:function(){Object(A.isEmpty)(this.value)||this.syncCheckedValue()},methods:{initStore:function(){var e=this.config,t=this.options;e.lazy&&Object(A.isEmpty)(t)?this.lazyLoad():(this.store=new Gu(t,e),this.menus=[this.store.getNodes()],this.syncMenuState())},syncCheckedValue:function(){var e=this.value,t=this.checkedValue;Object(A.isEqual)(e,t)||(this.activePath=[],this.checkedValue=e,this.syncMenuState())},syncMenuState:function(){var e=this.multiple,t=this.checkStrictly;this.syncActivePath(),e&&this.syncMultiCheckState(),t&&this.calculateCheckedNodePaths(),this.$nextTick(this.scrollIntoView)},syncMultiCheckState:function(){var e=this;this.getFlattedNodes(this.leafOnly).forEach(function(t){t.syncCheckState(e.checkedValue)})},syncActivePath:function(){var e=this,t=this.store,n=this.multiple,r=this.activePath,i=this.checkedValue;if(Object(A.isEmpty)(r))if(Object(A.isEmpty)(i))this.activePath=[],this.menus=[t.getNodes()];else{var o=n?i[0]:i,a=((this.getNodeByValue(o)||{}).pathNodes||[]).slice(0,-1);this.expandNodes(a)}else{var s=r.map(function(t){return e.getNodeByValue(t.getValue())});this.expandNodes(s)}},expandNodes:function(e){var t=this;e.forEach(function(e){return t.handleExpand(e,!0)})},calculateCheckedNodePaths:function(){var e=this,t=this.checkedValue,n=this.multiple?Object(A.coerceTruthyValueToArray)(t):[t];this.checkedNodePaths=n.map(function(t){var n=e.getNodeByValue(t);return n?n.pathNodes:[]})},handleKeyDown:function(e){var t=e.target;switch(e.keyCode){case Xu.up:var n=Ku(t,-1);qu(n);break;case Xu.down:var r=Ku(t,1);qu(r);break;case Xu.left:var i=this.$refs.menu[Ju(t)-1];if(i){var o=i.$el.querySelector('.el-cascader-node[aria-expanded="true"]');qu(o)}break;case Xu.right:var a=this.$refs.menu[Ju(t)+1];if(a){var s=a.$el.querySelector('.el-cascader-node[tabindex="-1"]');qu(s)}break;case Xu.enter:!function(e){if(e){var t=e.querySelector("input");t?t.click():$u(e)&&e.click()}}(t);break;case Xu.esc:case Xu.tab:this.$emit("close");break;default:return}},handleExpand:function(e,t){var n=this.activePath,r=e.level,i=n.slice(0,r-1),o=this.menus.slice(0,r);if(e.isLeaf||(i.push(e),o.push(e.children)),this.activePath=i,this.menus=o,!t){var a=i.map(function(e){return e.getValue()}),s=n.map(function(e){return e.getValue()});Object(A.valueEquals)(a,s)||(this.$emit("active-item-change",a),this.$emit("expand-change",a))}},handleCheckChange:function(e){this.checkedValue=e},lazyLoad:function(e,t){var n=this,r=this.config;e||(e=e||{root:!0,level:0},this.store=new Gu([],r),this.menus=[this.store.getNodes()]),e.loading=!0;r.lazyLoad(e,function(r){var i=e.root?null:e;if(r&&r.length&&n.store.appendNodes(r,i),e.loading=!1,e.loaded=!0,Array.isArray(n.checkedValue)){var o=n.checkedValue[n.loadCount++],a=n.config.value,s=n.config.leaf;if(Array.isArray(r)&&r.filter(function(e){return e[a]===o}).length>0){var l=n.store.getNodeByValue(o);l.data[s]||n.lazyLoad(l,function(){n.handleExpand(l)}),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(r)})},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map(function(e){return e.getValueByOption()})},scrollIntoView:function(){this.$isServer||(this.$refs.menu||[]).forEach(function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),r=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");Nt()(n,r)}})},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue;return this.multiple?this.getFlattedNodes(e).filter(function(e){return e.checked}):Object(A.isEmpty)(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,r=e.emitPath;n?(this.getCheckedNodes(t).filter(function(e){return!e.isDisabled}).forEach(function(e){return e.doCheck(!1)}),this.calculateMultiCheckedValue()):this.checkedValue=r?[]:null}}},Pu,[],!1,null,null,null);eh.options.__file="packages/cascader-panel/src/cascader-panel.vue";var th=eh.exports;th.install=function(e){e.component(th.name,th)};var nh=th,rh=i({name:"ElAvatar",props:{size:{type:[Number,String],validator:function(e){return"string"==typeof e?["large","medium","small"].includes(e):"number"==typeof e}},shape:{type:String,default:"circle",validator:function(e){return["circle","square"].includes(e)}},icon:String,src:String,alt:String,srcSet:String,error:Function,fit:{type:String,default:"cover"}},data:function(){return{isImageExist:!0}},computed:{avatarClass:function(){var e=this.size,t=this.icon,n=this.shape,r=["el-avatar"];return e&&"string"==typeof e&&r.push("el-avatar--"+e),t&&r.push("el-avatar--icon"),n&&r.push("el-avatar--"+n),r.join(" ")}},methods:{handleError:function(){var e=this.error;!1!==(e?e():void 0)&&(this.isImageExist=!1)},renderAvatar:function(){var e=this.$createElement,t=this.icon,n=this.src,r=this.alt,i=this.isImageExist,o=this.srcSet,a=this.fit;return i&&n?e("img",{attrs:{src:n,alt:r,srcSet:o},on:{error:this.handleError},style:{"object-fit":a}}):t?e("i",{class:t}):this.$slots.default}},render:function(){var e=arguments[0],t=this.avatarClass,n=this.size;return e("span",{class:t,style:"number"==typeof n?{height:n+"px",width:n+"px",lineHeight:n+"px"}:{}},[this.renderAvatar()])}},void 0,void 0,!1,null,null,null);rh.options.__file="packages/avatar/src/main.vue";var ih=rh.exports;ih.install=function(e){e.component(ih.name,ih)};var oh=ih,ah=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-drawer-fade"},on:{"after-enter":e.afterEnter,"after-leave":e.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-drawer__wrapper",attrs:{tabindex:"-1"}},[n("div",{staticClass:"el-drawer__container",class:e.visible&&"el-drawer__open",attrs:{role:"document",tabindex:"-1"},on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[n("div",{ref:"drawer",staticClass:"el-drawer",class:[e.direction,e.customClass],style:e.isHorizontal?"width: "+e.drawerSize:"height: "+e.drawerSize,attrs:{"aria-modal":"true","aria-labelledby":"el-drawer__title","aria-label":e.title,role:"dialog",tabindex:"-1"}},[e.withHeader?n("header",{staticClass:"el-drawer__header",attrs:{id:"el-drawer__title"}},[e._t("title",[n("span",{attrs:{role:"heading",title:e.title}},[e._v(e._s(e.title))])]),e.showClose?n("button",{staticClass:"el-drawer__close-btn",attrs:{"aria-label":"close "+(e.title||"drawer"),type:"button"},on:{click:e.closeDrawer}},[n("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):e._e()],2):e._e(),e.rendered?n("section",{staticClass:"el-drawer__body"},[e._t("default")],2):e._e()])])])])};ah._withStripped=!0;var sh=i({name:"ElDrawer",mixins:[b.a,C.a],props:{appendToBody:{type:Boolean,default:!1},beforeClose:{type:Function},customClass:{type:String,default:""},closeOnPressEscape:{type:Boolean,default:!0},destroyOnClose:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},direction:{type:String,default:"rtl",validator:function(e){return-1!==["ltr","rtl","ttb","btt"].indexOf(e)}},modalAppendToBody:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},size:{type:[Number,String],default:"30%"},title:{type:String,default:""},visible:{type:Boolean},wrapperClosable:{type:Boolean,default:!0},withHeader:{type:Boolean,default:!0}},computed:{isHorizontal:function(){return"rtl"===this.direction||"ltr"===this.direction},drawerSize:function(){return"number"==typeof this.size?this.size+"px":this.size}},data:function(){return{closed:!1,prevActiveElement:null}},watch:{visible:function(e){var t=this;e?(this.closed=!1,this.$emit("open"),this.appendToBody&&document.body.appendChild(this.$el),this.prevActiveElement=document.activeElement):(this.closed||this.$emit("close"),this.$nextTick(function(){t.prevActiveElement&&t.prevActiveElement.focus()}))}},methods:{afterEnter:function(){this.$emit("opened")},afterLeave:function(){this.$emit("closed")},hide:function(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),!0===this.destroyOnClose&&(this.rendered=!1),this.closed=!0)},handleWrapperClick:function(){this.wrapperClosable&&this.closeDrawer()},closeDrawer:function(){"function"==typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},handleClose:function(){this.closeDrawer()}},mounted:function(){this.visible&&(this.rendered=!0,this.open())},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},ah,[],!1,null,null,null);sh.options.__file="packages/drawer/src/main.vue";var lh=sh.exports;lh.install=function(e){e.component(lh.name,lh)};var ch=lh,uh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-popover",e._b({attrs:{trigger:"click"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},"el-popover",e.$attrs,!1),[n("div",{staticClass:"el-popconfirm"},[n("p",{staticClass:"el-popconfirm__main"},[e.hideIcon?e._e():n("i",{staticClass:"el-popconfirm__icon",class:e.icon,style:{color:e.iconColor}}),e._v("\n "+e._s(e.title)+"\n ")]),n("div",{staticClass:"el-popconfirm__action"},[n("el-button",{attrs:{size:"mini",type:e.cancelButtonType},on:{click:e.cancel}},[e._v("\n "+e._s(e.displayCancelButtonText)+"\n ")]),n("el-button",{attrs:{size:"mini",type:e.confirmButtonType},on:{click:e.confirm}},[e._v("\n "+e._s(e.displayConfirmButtonText)+"\n ")])],1)]),e._t("reference",null,{slot:"reference"})],2)};uh._withStripped=!0;var hh=n(44),dh=i({name:"ElPopconfirm",props:{title:{type:String},confirmButtonText:{type:String},cancelButtonText:{type:String},confirmButtonType:{type:String,default:"primary"},cancelButtonType:{type:String,default:"text"},icon:{type:String,default:"el-icon-question"},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1}},components:{ElPopover:n.n(hh).a,ElButton:G.a},data:function(){return{visible:!1}},computed:{displayConfirmButtonText:function(){return this.confirmButtonText||Object(Li.t)("el.popconfirm.confirmButtonText")},displayCancelButtonText:function(){return this.cancelButtonText||Object(Li.t)("el.popconfirm.cancelButtonText")}},methods:{confirm:function(){this.visible=!1,this.$emit("confirm")},cancel:function(){this.visible=!1,this.$emit("cancel")}}},uh,[],!1,null,null,null);dh.options.__file="packages/popconfirm/src/main.vue";var fh=dh.exports;fh.install=function(e){e.component(fh.name,fh)};var ph=fh,Ah=[v,k,Y,K,te,oe,ve,Ce,Me,Le,Ve,$e,et,ot,ct,ft,vt,_t,St,Ut,Qt,Gt,$t,en,rr,ur,si,Ai,Ci,Mi,Oi,no,ao,uo,yo,ko,Do,Lo,Jo,ra,xa,ja,Qa,Va,as,us,ps,Ts,Os,Rs,Us,Vs,Ks,tl,ol,cl,fl,Sl,tc,lc,dc,gc,bc,Cc,Tc,Dc,Pc,Hc,zc,au,gu,_u,Lu,nh,oh,ch,ph,ye.a],gh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Pi.a.use(t.locale),Pi.a.i18n(t.i18n),Ah.forEach(function(t){e.component(t.name,t)}),e.use(Mu),e.use(Fa.directive),e.prototype.$ELEMENT={size:t.size||"",zIndex:t.zIndex||2e3},e.prototype.$loading=Fa.service,e.prototype.$msgbox=Ji,e.prototype.$alert=Ji.alert,e.prototype.$confirm=Ji.confirm,e.prototype.$prompt=Ji.prompt,e.prototype.$notify=fa,e.prototype.$message=Cs};"undefined"!=typeof window&&window.Vue&&gh(window.Vue);t.default={version:"2.15.1",locale:Pi.a.use,i18n:Pi.a.i18n,install:gh,CollapseTransition:ye.a,Loading:Fa,Pagination:v,Dialog:k,Autocomplete:Y,Dropdown:K,DropdownMenu:te,DropdownItem:oe,Menu:ve,Submenu:Ce,MenuItem:Me,MenuItemGroup:Le,Input:Ve,InputNumber:$e,Radio:et,RadioGroup:ot,RadioButton:ct,Checkbox:ft,CheckboxButton:vt,CheckboxGroup:_t,Switch:St,Select:Ut,Option:Qt,OptionGroup:Gt,Button:$t,ButtonGroup:en,Table:rr,TableColumn:ur,DatePicker:si,TimeSelect:Ai,TimePicker:Ci,Popover:Mi,Tooltip:Oi,MessageBox:Ji,Breadcrumb:no,BreadcrumbItem:ao,Form:uo,FormItem:yo,Tabs:ko,TabPane:Do,Tag:Lo,Tree:Jo,Alert:ra,Notification:fa,Slider:xa,Icon:ja,Row:Qa,Col:Va,Upload:as,Progress:us,Spinner:ps,Message:Cs,Badge:Ts,Card:Os,Rate:Rs,Steps:Us,Step:Vs,Carousel:Ks,Scrollbar:tl,CarouselItem:ol,Collapse:cl,CollapseItem:fl,Cascader:Sl,ColorPicker:tc,Transfer:lc,Container:dc,Header:gc,Aside:bc,Main:Cc,Footer:Tc,Timeline:Dc,TimelineItem:Pc,Link:Hc,Divider:zc,Image:au,Calendar:gu,Backtop:_u,InfiniteScroll:Mu,PageHeader:Lu,CascaderPanel:nh,Avatar:oh,Drawer:ch,Popconfirm:ph}}]).default},zMj2:function(e,t,n){"use strict";var r=function(){return function(e){this.value=e}}(),i=function(){function e(){this._len=0}return e.prototype.insert=function(e){var t=new r(e);return this.insertEntry(t),t},e.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},e.prototype.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),o=function(){function e(e){this._list=new i,this._maxSize=10,this._map={},this._maxSize=e}return e.prototype.put=function(e,t){var n=this._list,i=this._map,o=null;if(null==i[e]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new r(t),s.key=e,n.insertEntry(s),i[e]=s}return o},e.prototype.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();t.a=o},zQR9:function(e,t,n){"use strict";var r=n("h65t")(!0);n("vIB/")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},zTCi:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(o.default.prototype.$isServer)return;if(!t)return void(e.scrollTop=0);var n=[],r=t.offsetParent;for(;r&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;var i=t.offsetTop+n.reduce(function(e,t){return e+t.offsetTop},0),a=i+t.offsetHeight,s=e.scrollTop,l=s+e.clientHeight;i<s?e.scrollTop=i:a>l&&(e.scrollTop=a-e.clientHeight)};var r,i=n("7+uW"),o=(r=i)&&r.__esModule?r:{default:r}}});
- //# sourceMappingURL=vendor.f1661c5ebfd33221b88f.js.map
|